Skip to content

review follow-ups of PR #37557 #37587

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (out-of-diff notes of the Contract review record 7194561170 on PR #37557, adopted at ACCEPT 7194640440)

What happens

PR #37557 (Fixes #37549) cleared the three tests that red the 19 Version tree. Its contract review read three more things on main (origin/main 1af67b2-era, read 11-26) that leave the next major boundary partly unguarded:

  • Version-step gate list. .github/workflows/release.yml:825: the post-version validation runs only src/kernel/protocol-version.test.ts from the spec package. None of spec: the registry template has no <os-generated retired-key:19> region, so Test Core fails on the 19.0.0-next.0 version tree and the first 19 pre-release cannot merge #37549's three failing files are in that list, and neither is the new region pin in packages/spec/scripts/build-migration-registry-entry.test.ts. If PROTOCOL_VERSION is moved by scripts/sync-protocol-version.mjs inside the version pass, rather than first on main, the missing-region gap reds first on the Version PR again (L2 nit N1). Expected: the version pass runs the region pin, or the three tests, before it opens the Version PR.
  • Refusal text names a fixed major. packages/runtime/src/domains/mcp-authoring.ts:206: the non-SemVer refusal reads "in SemVer form (e.g. 18.6.0)". On the 19 line that example names the previous major, which a client is refused for. Expected: the example is derived from the server's own spec version, or names no major.
  • Standalone objectui layout. ui/scripts/__tests__/doc-version-claims.test.ts now reads packages/spec/package.json under workspaceRoot() at module scope. In a standalone objectui checkout that path doesn't exist, so the file throws on load. The row it serves already presumes the monorepo, so this is low risk. Expected: guard the read, or record why the monorepo is assumed.

Category ①: each item is a named place where the next release step can red again, or a user-visible sentence that is wrong on the 19 line.
Priority: p2. The release step is maintainer-visible and blocked the 19 prerelease once today; the other two items are small.
Business reason: the maintainer's first 19 prerelease (next channel) was blocked by tests the version pass never ran before opening its PR. Without the first item, the next major can block the same way.
Reader: the release/build seat that owns .github/workflows/release.yml (area:build). Seat 2 closed its build intake 11-26, so triage routes this card.
Dedupe: searched review follow-ups of PR #37557 and release.yml post-version validation protocol-version.test.ts (open issues), 0 hits.
Related: #37549, PR #37557, #35129.

Activity

  1. added
    bug
    priority:p2
    domain:spec
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:build · domain:spec · Bug · priority:p2 · pm:queue · size S; rationale: review follow-ups of PR #37557 (the version-tree fix for #37549). Nits on landed test and template code, so p2.

  3. added
    pm:queue
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibxRSo4RBpRknKqBLmy
    Account: os-tesla
    Branch: claude/project-thread-8fcc2p
    Worktree: objectstack-issue-37587
    Domain: devx
    Area: o3-build (area:build, a seat card thread)
    Seat: repo:objectstack#3
    File surface (two PRs, in order on the same branch):

    • PR A: ui/scripts/__tests__/doc-version-claims.test.ts. Item 3: the module-top read of workspaceRoot()/packages/spec/package.json (~l.1056) resolves @objectstack/spec/package.json through createRequire, plus one pin. In the monorepo this resolves to the same file, measured.
    • PR B, after PR A lands and the branch is reopened: .github/workflows/release.yml. Item 1 adds only the region pin (7/7, 2.3 s measured) beside protocol-version.test.ts (~l.825), and updates the header comment. The PR states the affected job's before and after time. It is Tier H by path (check-governed-merges.mjs l.1820), so it lands through GOVERNED_APPROVERS.
    • Item 2 (mcp-authoring.ts hard-coded 18.6.0) is already fixed by PR fix(runtime): save_metadata_draft's clientSpecVersion example names the server's own spec version #37821 (Fixes save_metadata_draft 的 clientSpecVersion 示例写死 18.6.0:智能体照抄旧版本号 #37755, 5e1d58a); nothing to do.
      NOT the retired-keys test (132 s) or the runtime mcp-authoring test in the release job. Neither PR needs a changeset. Stop on breach and explain in the report.
      Container & model: S, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate", effort: high, reason: the thread session serves effort high
      Clause-②: no
      Metadata-protocol: none
      Responsibility: the doc-version-claims gate reads the spec version from the package it resolves, not from a fixed workspace path. The release job's protocol check also runs the region pin, so a boundary run reports a missing region in the same run.
      Thread-read: none
      Premise: item 1 holds (release.yml l.825 runs only protocol-version.test.ts), item 2 is already done, item 3 holds (l.1056). Measured on origin/main 815e882. Full report: /mnt/project-files/card-37587/pre-claim-report-815e882b.md.
      Serial constraints cleared: none — no open PR touches these files; never touches a release PR
  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  6. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibxRSo4RBpRknKqBLmy
    os-dev-report

    {
      "issue": 37587,
      "status": "done",
      "branch": "claude/project-thread-8fcc2p",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38089",
      "session": "session_01L9qibxRSo4RBpRknKqBLmy",
      "premise_still_valid": true,
      "summary": "PR A of two, item 3 only (Part of #37587). ui/scripts/__tests__/doc-version-claims.test.ts reads SPEC_MAJOR from createRequire(import.meta.url).resolve('@objectstack/spec/package.json') instead of workspaceRoot()/packages/spec/package.json, so a standalone objectui checkout no longer throws on load; under the monorepo it resolves to the same file (realpath equal, 19.0.0-next.1). New top-level describe pins the resolution (monorepo: realpath == workspace manifest; standalone: under node_modules) and that the version read starts with SPEC_MAJOR. Item 2 already fixed by PR #37821 (Fixes #37755). Item 1 (release.yml region pin, Tier H) follows as PR B on this branch after PR A lands. No changeset (skip-changeset label on create). Clause-② no, Metadata-protocol none. Head 1ea01963 (fix 5508f9f5 + merge of origin/main f72f3353).",
      "tests": "Premise at 815e882b: module-top read of workspaceRoot()/packages/spec/package.json at l.1056-1059. doc-version-claims.test.ts: Tests 31 passed (31), 29 before + 2 new. Ablation on the committed fix: SPEC_MANIFEST pointed at a byte-identical copy in a temp dir -> 1 failed | 30 passed (the monorepo resolution pin); restored with git checkout HEAD, status clean. Not measured: a real standalone objectui checkout (standalone arm checked by reading).",
      "gates": "dispatch-gates --ran at 5508f9f5: 21 derived, 21 run, all exit 0, 0 NOT-MEASURED (derived zero), 0 unrun; includes pnpm --dir ui exec vitest run scripts/: Test Files 172 passed | 2 skipped (174), Tests 5144 passed | 2 skipped. ui type-check:scripts exit 0; eslint exit 0. After merging origin/main f72f3353 (no overlap) the file re-reads 31/31. PR CI not yet concluded.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0 GitHub MCP write calls (1 PR-activity subscription)",
      "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees + labels legs, read-back 4440 bytes identical); this os-dev-report comment via post-stamped",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [],
      "deviations": [
        "Branch is claude/project-thread-8fcc2p (the only branch this session may push), not claude/issue-37587-*, as named in the claim."
      ]
    }
  7. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibxRSo4RBpRknKqBLmy
    os-dev-report

    {
      "issue": 37587,
      "status": "done",
      "branch": "claude/project-thread-8fcc2p",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38119",
      "session": "session_01L9qibxRSo4RBpRknKqBLmy",
      "premise_still_valid": true,
      "summary": "PR B of two (Fixes #37587), Tier H by path. .github/workflows/release.yml 'Validate the post-version tree' gains one content gate after protocol-version.test.ts: pnpm --filter @objectstack/spec --fail-if-no-match exec vitest run --project local scripts/build-migration-registry-entry.test.ts (the registry template region pin: a region per kind for the spec major and PROTOCOL_MAJOR). Header 'WHAT IS CHECKED' gains its entry: why it runs here, what it adds beside the moved-protocol-version.ts refusal, and why the retired-keys test (132 s), runtime mcp-authoring test (needs build) and ui doc-version-claims (skill pin already judged by check:skill-compatibility) are not added. PR A #38089 merged 447757d0; item 2 by #37821. Branch restarted from 447757d0; head dc29936f. No changeset (skip-changeset). Clause-② no, Metadata-protocol none.",
      "tests": "New gate command, install and no build (the job's state): Tests 7 passed (7), 2.2 s; re-read 7/7 at dc29936f. Ablation: retired-key:19 region deleted from registry.ts.template -> exit 1, 'opens and closes retired-key:19' fails naming the region and both majors, 1 failed | 6 passed; restored via git checkout HEAD, status clean. release.yml parses (yaml.safe_load).",
      "gates": "dispatch-gates --ran on .github/workflows/release.yml at 5746ba60 (base 6e06729a): 40 derived, 40 run, all exit 0, 0 NOT-MEASURED (derived zero), 0 unrun. Affected step before: 33/27/33/27/33 s (median 33 s) on the last 4 scheduled + 1 dispatch runs; after: about +2-3 s. PR CI not yet concluded.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0 GitHub MCP write calls (1 PR-activity subscription)",
      "api_writes": "2 — fleet-write relay pr_create (pulls + assignees + labels legs, read-back 4798 bytes identical); this os-dev-report comment via post-stamped",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [],
      "deviations": [
        "The merge queue deleted the head branch after #38089 merged, so the restarted branch was pushed as a new branch (no force push)."
      ]
    }
  8. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Closed-card tidy · 2026-11-28T04:23Z: the card closed when its PR merged; pm:dispatched comes off.

  9. removed
    pm:dispatched
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:buildbugdomain:specpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions