Skip to content

19.0.0 大版本:PROTOCOL_VERSION 升到 19.0.0(预发布模式进入之后) #37229

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

④ sub-issue of #36890 · Source: ruling 7153441862 on #36890 (the route to 19.0.0, maintainer 「A」), item 2: "A small PR moves PROTOCOL_VERSION to 19.0.0." Zone a4-S chose to file it as its own card rather than a second commit in #37223, because it moves a published @objectstack/spec constant (spec-lane surface) while #37223 is an i18n changeset. Part of #36890.

维护者速读

  • 下一版是 19.0.0 大版本(7153326968),走预发布模式、next 标签(7153441862「A」)。
  • @objectstack/spec 的 PROTOCOL_VERSION 现在是 18.0.0。测试要求它的大版本号和 spec 包的大版本号一致,所以要跟着升到 19.0.0。
  • 这一张只改这个常量和它的测试/文档,不跑发版,不进预发布模式。

What

  • packages/spec/src/kernel/protocol-version.ts:22: PROTOCOL_VERSION = '18.0.0' → '19.0.0', plus whatever the constant's own docblock and any derived baseline or doc that quotes the protocol major need. Measure every place that does; don't guess.
  • One changeset for @objectstack/spec. Read the level rule in check-changeset-no-major.mjs ("The LEVEL axis") and Metadata-protocol: / Clause-②: from scripts/pm/clause2-line.mjs. The protocol major moving is a semantic change to the protocol, so judge the line from the content and say why.
  • Before the PR leaves draft: run node scripts/check-changeset-no-major.mjs on the tree with .changeset/pre.json on main and 大版本声明:18.6.0 已发布、主干已删除的界面文案统一写入发版说明(约 35 条) #37223's '@object-ui/i18n': major pending. Confirm that "The protocol lockstep evidence" reads the fixed-group major as a pending @objectstack/spec major and admits the constant one major ahead. If it reads only a major written for @objectstack/spec itself, stop and report: then either this card or 大版本声明:18.6.0 已发布、主干已删除的界面文案统一写入发版说明(约 35 条) #37223 must also carry '@objectstack/spec': major, and that is the seat's call.

Done when

Notes

Activity

  1. added
    priority:p2
    domain:spec
    pm:blocked
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Scope update · 2026-11-25T06:43Z · from #37223's os-dev report 7155025948, measured on PR #37230 at e43e989948

    • Still needed: yes. The version step does sync the constant: in a throwaway worktree, scripts/sync-protocol-version.mjs prints PROTOCOL_VERSION 18.0.0 -> 19.0.0. But release.yml's version-PR validation flags any version pass that rewrites protocol-version.ts as UNVALIDATED and refuses it. The reason: examples/app-crm, examples/app-showcase and examples/app-todo declare engines.protocol: '^18', and the ADR-0087 D1 handshake would refuse them under 19.
    • So this card's surface widens. In one reviewed PR, move PROTOCOL_VERSION to 19.0.0 AND those three engines.protocol ranges. Measure on claim every other engines.protocol declaration in the tree (examples, templates, docs snippets, test fixtures), and every reader that compares it, and move or pin each.
    • Landing order is unchanged: after 大版本声明:18.6.0 已发布、主干已删除的界面文案统一写入发版说明(约 35 条) #37223 (PR chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230: pre.json plus the pending @objectstack/spec major) merges. With both present the protocol lockstep admits the constant one major ahead. Re-run check-changeset-no-major and protocol-version.test.ts on the claim's tree to confirm.
  3. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Claim: PM loop round 2
    Session: session_01QSeKYkkwuF6UuFtu85Yd5H
    Account: os-justin
    Branch: claude/issue-37229-protocol-version-19
    Worktree: cloud session (its own container)
    Domain: domain:spec
    Seat: repo:objectstack#4
    Area: a4-S
    File surface: packages/spec/src/kernel/protocol-version.ts (PROTOCOL_VERSION → '19.0.0'), its docblock and any baseline or doc that quotes the protocol major; engines.protocol: '^18' → '^19' in examples/app-crm/objectstack.config.ts:47, examples/app-showcase/objectstack.config.ts:90 and examples/app-todo/objectstack.config.ts:48, plus every other engines.protocol declaration and comparing reader measured on claim; one changeset; and, carried from #37230's L1 (once #37230 is on main), N1 — reword .changeset/37223-v19-line-opens.md's 「The first is @object-ui/i18n's retirement」 to say the first graded major — and N3 — ui/packages/i18n/scripts/released-keys-removed.mjs refuses an unknown argument and prints the tag's commit, not the tag object. ⛔ No .changeset/pre.json edit, no guard or workflow edit, no changeset version output (stop on breach; explain in the report)
    Container & model: S, mode:cloud, model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate", effort: medium
    Clause-②: yes (narrowing)
    Metadata-protocol: narrowed
    Responsibility: n/a — not a defect card
    Thread-read: 7155098947
    Premise: holds for the build. #37230 (pre mode + the @objectstack/spec major marker) is approved and with the maintainer, not yet merged. Seat 4 approved building now against main, with the local proof on a tree that has #37230 merged in; with both present the protocol lockstep admits the constant one major ahead.
    Pre-claim lane: repo:objectstack seat 4 zone a4-S (seat 4 kept #37229 in a4-S; route ruling 7153441862; contract review at CONTRACT_REVIEW_TIER)
    Pre-claim deps: #37230 is the LANDING gate (Blocked-by: #37230 stays), not a build gate. The PR stays draft, merges main once #37230 lands, and only then goes to seat 4 for L1 + contract review at CONTRACT_REVIEW_TIER.
    Prior rulings read: 7153326968 (19.0.0), 7153441862 (route 「A」, item 2), 7158089101 (allow-major at merge), and the scope note 7155098947 (release.yml refuses a version pass that rewrites protocol-version.ts while the examples declare '^18').
    Serial constraints cleared: no zone PR touches packages/spec/src/kernel/** or the example configs.
    Size: S.

  4. added
    pm:dispatched
    and removed
    pm:blocked
    on Nov 25, 2026
  5. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnifYCP3yu5CFFG6DC

    os-dev-report

    {
      "issue": 37229,
      "status": "blocked",
      "branch": "claude/issue-37229-protocol-version-19",
      "pr": null,
      "session": "session_01QSeKYnifYCP3yu5CFFG6DC",
      "premise_still_valid": true,
      "summary": "Stopped on the dispatch's own size rule ('if the change grows past S, for example many fixtures, stop and report'). Moving the constant is right. With #37230 merged into a throwaway tree, protocol-version.test.ts passes, the no-major guard's protocol lockstep admits 19, and the three example apps validate. But a 19 runtime refuses every manifest that declares engines.protocol '^18' (OS_PROTOCOL_INCOMPATIBLE), and 74 tracked files declare it: the 3 examples named in the card, plus 71 more. In the CLI alone, 11 of 38 '^18' fixture files go red (25 tests). The v18 precedent for the same move (#22215, commit 4e9fe9f) touched 52 files and declared Clause-② 'yes (narrowing)', not 'no'. Three of the 74 files are under skills/**, a Tier H governed surface. Nothing was committed or pushed. N1/N3 were not done: #37230 is still open, draft, unmerged.",
      "tests": "Throwaway detached worktree = origin/main f9fda2a4 + a local merge of pull/37230/head (61ebadaa, never pushed), with the 4-line core edit (PROTOCOL_VERSION '19.0.0'; '^19' in app-crm, app-showcase, app-todo). (1) pnpm --filter @objectstack/spec build: lock VERDICT command-exit 0. (2) vitest src/kernel/protocol-version.test.ts: Test Files 1 passed (1), Tests 3 passed (3). (3) node scripts/check-changeset-no-major.mjs --base origin/main: exit 0, '✓ Protocol lockstep: PROTOCOL_VERSION major 19, @objectstack/spec@18.6.0 — the one exception, evidenced: pre mode (tag `next`) and a pending `major` for @objectstack/spec (.changeset/37223-v19-line-opens.md).' (4) spec check:spec-changes exit 0 and check:upgrade-guide exit 0 ('protocol 19.0.0'; no on-disk artefact to regenerate). (5) pnpm --filter @objectstack/example-{crm,todo,showcase} validate: all exit 0. (6) Blast radius: built the closure of cli and dogfood (turbo, 71 tasks, VERDICT 0), then ran the 38 CLI test files that declare '^18' (41 file paths): Test Files 11 failed | 27 passed (38), Tests 25 failed | 236 passed (261), lock VERDICT command-exit 1. 19 log lines carry 'targets protocol ^18 (engines.protocol) but this runtime is protocol 19.0.0 … OS_PROTOCOL_INCOMPATIBLE'. The failing files are verify-* (dashboard-windows, delete-behaviors, host-root, json-stdout, parent-write-reach, reference-shapes, seed-outcome, unique-scopes, author-time-stage), capability-edition-advisory and migrate/plan.declared-default-datasource. NOT MEASURED: the dogfood (9 files), metadata, lint, runtime and spec '^18' fixtures, and the full changeset version plus release.yml version-pass step 5d. The throwaway worktree was removed; the temp ref was deleted.",
      "gates": "No push, so no pre-push gates and no CI. check:test-source-alias and overlap-check were not run: nothing was pushed. release.yml version-pass reading, not run: its 'Validate the post-version tree' step adds protocol-version.ts to UNVALIDATED only when the version pass MOVES that file (grep -qxF on MOVED_FILE). Once main already holds PROTOCOL_VERSION '19.0.0', sync-protocol-version.mjs writes the same bytes, the file is absent from MOVED_FILE, and the step reaches its content gates. Those include protocol-version.test.ts, check:spec-changes and check:upgrade-guide, and all three are green on the probe tree.",
      "dogfood_battery": "n/a — no PR",
      "mcp_calls": "3 — mcp__github__issue_read get #37229, issue_read get_comments #37229, pull_request_read get #37230; no write tool",
      "api_writes": "1 — this os-dev-report comment on #37229 through post-stamped.mjs (relay). Deviation: 2 read-only `gh api` calls (issues/comments/{7153326968,7153441862,7158089101,7160281044,7160264871} and commits/4e9fe9f), where the environment reserves gh for search; no write.",
      "open_questions": [
        {
          "question": "Scope: a 19 runtime refuses every '^18' manifest, and 74 tracked files declare one. The card was sized S around 4 files plus a changeset. How should the move land?",
          "options": [
            "A: Re-size to M on the #22215 shape. One PR moves the constant and every '^18' declaration to '^19': 3 example configs, app-multi-package (2), packages/apps connectors (3), the create-objectstack blank template, 41 CLI tests, 9 dogfood tests, metadata (3), lint (2), metadata-core (1), spec (1), mcp README, docs/qa scenario fixture, 3 content/docs pages, plus every pin quoting '18.0.0' as the runtime protocol. The skills/** files go to a separate Tier H PR, or this PR becomes Tier H. Roughly 75–80 files, mechanical.",
            "B: Narrow PR (constant, the 3 examples, app-multi-package, connectors, template, and only the fixtures that go red under 19), plus a follow-up card for the advisory-only '^18' fixtures and docs/skills. Each fixture needs a red/green reading to decide which group it is in.",
            "C: Keep the card at S and leave the constant to the version pass. That needs a release.yml change, which this dispatch forbids, so it is the maintainer's call."
          ],
          "recommendation": "A, minus skills/**, with the 3 skills files as a sibling Tier H PR that lands with or right after it. It is the precedent's shape (#22215). A partial move leaves '^18' fixtures that a later protocol test reds or that teach authors the wrong major. The edit is one mechanical rewrite, measured by a full CLI and dogfood run."
        },
        {
          "question": "Clause-②: the claim says 'no' and 'Metadata-protocol: semantic'. The v18 move (#22215) declared 'Clause-②: yes (narrowing: the handshake refuses a manifest pinned to protocol 17 …)'. Moving the handshake refuses '^18' manifests, the same narrowing. Which line does this PR carry?",
          "options": [
            "A: 'Clause-②: yes (narrowing)' + 'Metadata-protocol: narrowed' (a declared value is refused), like the precedent. The PR title takes '!' and owes a dogfood battery on its final head.",
            "B: Keep the claim's 'no' + 'semantic'."
          ],
          "recommendation": "A. The handshake refuses an authored value ('^18') that was admitted before, which is the clause-② narrowing face. The precedent declared it that way. The level stays minor under the LEVEL axis, because #37230 already carries the spec major."
        }
      ],
      "security_findings": "withheld",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: the card and the scope note list three example apps, but examples/app-multi-package (src/packages/core/index.ts:22, src/packages/orders/index.ts:61) and packages/apps/connector-{docusign,github,stripe}/objectstack.config.ts also declare '^18' and would be refused at boot under 19"
      ]
    }
  6. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Seat direction and claim amendment · 2026-11-25T11:47Z · #37229

    Seat direction (seat repo:objectstack#4, relayed to zone a4-S): option A, on the shape of #22215, the v18 precedent (commit 4e9fe9f, 52 files, Clause-②: yes (narrowing)).

    Claim amendment.

    • PR 1 is re-sized from S to M: cloud, default tier (dispatch-gates.mjs --tier reads "no path-derived mandate" on the surface, skills excluded), effort high. It runs in a new cloud session, because the first one ended on its size rule.
    • PR 2 is S: cloud, model claude-fable-5-2 (dispatch-gates.mjs --tier on the 3 skills paths: "Model tier — MANDATORY: claude-fable-5-2"), effort medium. Its own cloud session.
    • The landing gate Blocked-by: #37230 stands for both. Seat 4 does L1 and the contract review at CONTRACT_REVIEW_TIER on each.
  7. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

    os-dev-report

    {
      "issue": 37229,
      "status": "needs_decision",
      "branch": "claude/issue-37229-protocol-version-19",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37314",
      "session": "session_01QSeKYpEsWWE9Y5YtSsDgqZ",
      "premise_still_valid": true,
      "summary": "Rework round 1 pushed: e05fdf6f18 → 43133e8ce50 (4 commits, fast-forward, no merge of origin/main: merge-tree against dbc1765a24 is clean and nothing the rework needed is on main). M1: the five prescriptions stamped after 18.6.0 (object-grid singleClickEdit, field inlineEdit boolean, listView/view columnState, seed.mode insert/replace) now name @objectstack/spec 19.0.0; none is in the published 18.6.0 (read off the tag's tree). Their text pins, the regenerated ui references, seed-data.mdx, the seed-mode checklist item (rev 10), the metadata-protocol seed pin and the pending .changeset/37042 note follow. Test Core is now 10/10 green. M2: '@objectstack/mcp': patch added and its README named. S1: the step-19 entry and the changeset now say --write rewrites a root defineStack manifest and, for a composeStacks manifest, writes nothing and lists the range for a hand edit in each package manifest (measured, see tests). S2: platform-core.protocol-18-handshake-and-stored-replay revised in place to protocol 19 (rev 6; id kept, ids are immutable). Coordinator item: travel_expense.provenance.json sha256 refreshed to the loader's fileSha256 and the edit recorded as a second amended entry; cardSha256 untouched, and a merge-file against #37339's cardSha256 line is clean. Nits N2, N3, N5 taken; N6 tried and reverted (it pulls the file under check:test-source-alias's edited-file half, 13 imports). NEW BLOCKER, the reason for needs_decision: CI 'Type Check · source gates' (required roll-up 'TypeScript Type Check') is red on check-future-spec-major, 14 sites: it refuses any @objectstack/spec citation above the package label's major (18.6.0 → 18), while retired-key-removal-version.pin.test.ts requires those same prescriptions to name PROTOCOL_MAJOR (19). With PROTOCOL_VERSION one major ahead of the label in pre mode, no spelling of a tombstone release satisfies both gates; at e05fdf6 the pin was red, at this head the prose gate is. Options in open_questions.",
      "tests": "All at head 3a05ac44aa9 or later; src of packages/spec unchanged after 3a05ac44aa9. (1) pnpm --filter @objectstack/spec build + check:generated: 1 of 14 stale (check:docs), --fix regenerated content/docs/references/ui/{component,view}.mdx, lock VERDICT command-exit 0. (2) WHOLE spec suite, pnpm --filter @objectstack/spec test: Test Files 891 passed (891), Tests 28371 passed | 1 todo (28372), VERDICT command-exit 0 (at e05fdf6 the seat measured 3 failed | 62 passed in the pin). (3) tree reporter on the touched pins: retired-key-removal-version.pin (object-grid-single-click-edit-removed, field-inline-edit-boolean-removed, view-column-state-removed all pass), seed.test, view-column-state-retirement, object-grid-single-click-edit.pin, field-inline-edit-boolean.pin, protocol-version.test: Test Files 6 passed (6), Tests 156 passed (156). (4) spec typecheck: VERDICT command-exit 0. (5) metadata-protocol protocol.seed-external-id-refusal.test.ts: 30/30, both retired-mode cases pass (CI 9/10 had them red at 8852bcb). (6) S1 measured with the built CLI at 8852bcb, examples mutated through ablation-replace and proven landed (n18=1 each; a first attempt with the wrong argument shape was a no-op, n18=0, and was discarded): app-multi-package with both packages at '^18' → --write wrote nothing, packages still n18=1, printed 'The declared protocol range was left for you to change by hand … manifest.engines.protocol: '^18' → '^19' … not written [helper]: manifest is composed by composeStacks(…) from all of its inputs'; app-todo → 'Rewrote … objectstack.config.ts:48 manifest.engines.protocol: '^18' → '^19''. The CLI advisory printed the new entry text. Restore: git checkout HEAD -- the three paths, git diff HEAD empty, status clean, each file's hash-object equals its HEAD blob. (7) Provenance: fileSha256 of travel_expense.json = cc035a919bf5… (node createHash over the raw bytes, equals sha256sum); base bytes hash to 4ab7e603…, the recorded value. No ablation: the behavioural change is text only; before/after is the pin red at e05fdf6, green here.",
      "gates": "dispatch-gates --commands (stderr: tree objectstack-ai/objectstack at 3a05ac44aa9; re-derived at 8852bcb5b3b and 43133e8ce50, identical 131). All 131 run, exit codes recorded; --ran reconciliation: '131 derived famil(ies) accounted for — 131 run, 0 NOT-MEASURED (a DERIVED zero)'. 130 exit 0. Red: node scripts/check-empty-changeset.mjs --base origin/main :: exit 1, by design, DELIBERATE CORRECTION of .changeset/37042-skills-inline-edit-boolean.md and .changeset/37223-v19-line-opens.md. Ten families first exited 3 (PREREQUISITE NOT MET: unbuilt formula, client-react, cli deps) or 1 (cli vitest global setup could not build oclif.manifest) and were re-run after a full pnpm build --concurrency=2 (VERDICT command-exit 0): all exit 0. check:test-source-alias exited 1 on the N6 edit and 0 after its revert. The families ran on 3a05ac44aa9; 8852bcb and 43133e8 changed only a reverted comment, one test regex and two docs JSON files, and test-source-alias, nul-bytes, cross-package-test-inputs, issue-citations, changeset-no-major, type-check-debt, type-check-coverage, liveness, strictness-ledger, durability-log-level, adr-0087-registration, platform-checklist and doc-authoring were re-run on the later heads: exit 0 each. check-changeset-no-major with the mcp entry: '✓ Protocol lockstep: PROTOCOL_VERSION major 19, @objectstack/spec@18.6.0 — the one exception'. check:adr-0087-registration: 'registered protocol-18-range-refused'. Not derived but red in CI: node scripts/check-future-spec-major.mjs :: exit 1 locally at 43133e8 ('✗ check-future-spec-major: 14 problem(s)'), the 14 sites listed in open_questions. CI at 43133e8ce50 (read after the battery): 70 runs, 58 success, 9 skipped, 3 failure: Check Changeset (by design), Type Check · source gates and TypeScript Type Check (check-future-spec-major). Test Core 1-10/10 success, Lint & Repo Gates success, Build Core success, Test UI 16/16 success, Dogfood Regression Gate success.",
      "dogfood_battery": "43133e8ce5093a29ef8587213c3d2266651731fc · os-verify-lock: VERDICT command-exit 0 (held 35m21s) · Test Files 487 passed | 3 skipped (490) · Tests 4128 passed | 68 skipped (4196) · no failures. Built closure: full pnpm build at 3a05ac44aa9; no package src changed after it.",
      "mcp_calls": "0",
      "api_writes": "1 — the os-dev-report comment on #37229 through post-stamped (relay). git push x4 to claude/issue-37229-protocol-version-19 is not a REST write. PR body not edited.",
      "open_questions": [
        {
          "question": "check-future-spec-major and retired-key-removal-version.pin.test.ts disagree whenever PROTOCOL_VERSION is a major ahead of the @objectstack/spec label (pre mode with a pending major). The prose gate refuses '@objectstack/spec 19.0.0' because the label is 18.6.0; the pin refuses anything but 19 because it derives PROTOCOL_MAJOR. Which gate moves? The 14 sites: field.zod.ts:1674, seed.zod.ts:50 and :54, component.zod.ts:5469, view.zod.ts:3497 and :6392, references ui/component.mdx:850, ui/view.mdx:2542 and :2642, seed-data.mdx:147 and :175, platform-core.json:3260 and its rev-10 history line, metadata-protocol seed pin:356. The dispatch carried no axis set, so the costs below are per option, not graded on axes; the seat supplies the axes if it wants them graded.",
          "options": [
            "A — teach check-future-spec-major the same pre-mode exception protocol-version.ts and check-changeset-no-major already read: with .changeset/pre.json at mode pre and a pending major for @objectstack/spec (or its fixed group), the published-next major is label+1, and a citation of it names the carrier (the next cut is 19.0.0-next.0, which the gate's own roll self-test already reads as 0 problems). Cost: one gate script plus self-test cases, here or in a sibling PR landed first; the prescriptions stay at 19.0.0, which is the release they ship in. Effort: S-M.",
            "B — derive the pin from the package label's major instead of PROTOCOL_MAJOR, and name '18' (bare) in the five prescriptions. Cost: the text names a major no published release carries them in (no 18.x after 18.6.0 is planned; the next cut is 19.0.0-next.0), and it reverses the pre-mode clause in the pin's own docblock. Effort: S.",
            "C — spell the release as 'protocol 19' (the pin's regex accepts it; the prose gate ignores protocol numbers). Cost: contradicts ADR-0087's amended rule that a tombstone names the npm release, never the protocol major. Effort: S. Not recommended.",
            "D — restore the prescriptions to 18.7.0 and let the pin stay red until the version pass moves the label to 19.0.0-next.0. Cost: Test Core red on this PR, and 18.7.0 names a release that will not be cut. Not recommended."
          ],
          "recommendation": "A, because the release these retirements ship in is 19.0.0-next.N and 19.0.0, the pin already encodes that pre-mode reading, and the prose gate's gloss ('a pre-GA retirement ships minor, in the current major') is false only in exactly the pre-mode window it does not model. It is a gate semantic change, so it is the seat's or the maintainer's to order, not mine to make unasked."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: none (observation) · reach: n/a · the composeStacks hand-edit report names one composed path (manifest.engines.protocol) and not the package manifest files to edit; measured on examples/app-multi-package · carrier: none · noted, not filed",
        "class: none (tooling observation) · dispatch-gates --commands derived 131 families for this diff and did not name check-future-spec-major, which CI runs in 'Type Check · source gates' and which reads the edited prescriptions · carrier: seat · noted, not filed",
        "carrier: seat (already owned, from the L1) · the step-18 entries registered on main after the 18.6.0 tag and not replayed by --from 18 once step 19 exists · not filed here"
      ]
    }
  8. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

    Ruled · 2026-11-25T22:54Z · A, on the gate conflict in os-dev-report 7172541390

    The maintainer's words, in seat repo:objectstack#4's session, verbatim: 「以上同意」. This answered the seat's presentation, which recommended A for needs_decision in 7172541390.

    The conflict: at PR #37314's head 43133e8c, check-future-spec-major refuses any @objectstack/spec version above the package label's major (18). The pin in retired-key-removal-version.pin.test.ts requires the same retirement messages to name PROTOCOL_MAJOR (19).

    State: unchanged (pm:dispatched). Under the maintainer's wind-down order, the gate change is the next round's first act on this card.

  9. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

    os-dev-report

    {
      "issue": 37229,
      "status": "done",
      "branch": "claude/issue-37229-protocol-version-19",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37314",
      "session": "session_01QSeKYpEsWWE9Y5YtSsDgqZ",
      "premise_still_valid": true,
      "summary": "Ruling A (record 7176929521) implemented. 43133e8ce50 to 9ed0f5e41f6, 3 commits, plain push, no rebase or force: (1) c871272e476 merges origin/main db77cc493a by hand (clean text merge; the two os-regen paths content/docs/references/ui/{component,view}.mdx taken from main in the worktree, deferral recorded by the hook); (2) e5a7e35bffe regenerates those two pages from the merged tree with check:generated --fix (1 of 14 stale; the result carries main's kanban-summary text and this branch's 19.0.0 prescriptions, 3 lines differ from main's side); (3) 9ed0f5e41f6 is the gate change. scripts/check-future-spec-major.mjs now judges citations against label + 1 when the label is STABLE, .changeset/pre.json is in pre mode and a pending changeset declares @objectstack/spec major. The window is read through check-changeset-no-major.mjs's own exported readProtocolLockstepInputs (readPre and the spec-major filter over readChangesets), so there is no second parser. Label + 2, pre mode without a pending spec major, a pending spec major outside pre mode, a prerelease label and an unreadable .changeset/ all open nothing. Refusal text, the pass line, --census and the roll control name the window. The 14 sites stay at 19.0.0. One addition beyond the ruling's words: the stable-label guard. On 19.0.0-next.N the label's own major is already the carrier, and a pending spec major there still publishes 19.0.0-next.N+1, so label + 1 would wrongly admit 20; a self-test row pins it. Re-check after the merge: main added 0 lines matching '^18' (the diff from merge base dfdebfadd5 to db77cc493a over 621 files) and 0 lines naming engines.protocol, PROTOCOL_VERSION or PROTOCOL_MAJOR. So no new current-protocol handshake moved to '^19', and every Judgments row still holds as written. The PR body was not edited; the changes the seat should make are in pr_body_changes.",
      "tests": "All at 9ed0f5e41f6 (spec src unchanged after the merge; c871272e476 was the spec build input). (1) node scripts/check-future-spec-major.mjs :: exit 0: 'no @objectstack/spec citation names a major above 19 / pre-mode window: label major 18, pre mode next, pending major for @objectstack/spec in .changeset/37223-v19-line-opens.md, the next publish carries 19 / 27699 scanned, 9659 mentioning / control bare 18: 587 sites, 268 files'. (2) --self-test :: exit 0, '39 cases pass' (34 before). The roll row reads '0 at 19 [label 18, pre-mode window open], 0 at 19.0.0-next.0'. New rows: pre + pending spec major, 19.0.0 on 18.6.0 GREEN; pre mode with only an @object-ui/i18n major (spec minor), 19.0.0 RED; pending spec major without pre.json, 19.0.0 RED; label + 2, 20.0.0 RED with the window named in the message; 19.0.0-next.0 label, 20.0.0 RED. Each row writes a real scratch .changeset/ and reads it back through the shared reader. (3) Reverse verification, committed first, then ablate: node scripts/ablation-replace.mjs --anchor window?.pre?.mode === 'pre' --replacement ...'ablated'. Gate :: exit 1, '14 problem(s)' (the 14 sites). Self-test :: exit 1, 2 failures (the GREEN window row, and the label+2 row red for the wrong reason). The tool restored the file: blob after restore 38f33ec517b9 == HEAD blob, git diff HEAD empty; the anchor counts 1 afterwards. No permanent test file. (4) Pin: pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 src/shared/retired-key-removal-version.pin.test.ts :: Test Files 1 passed (1), Tests 65 passed (65), lock VERDICT command-exit 0. (5) WHOLE spec suite, pnpm --filter @objectstack/spec test :: Test Files 895 passed (895), Tests 28419 passed | 1 todo (28420), VERDICT command-exit 0. (6) spec build VERDICT 0; check:generated 1 stale (check:docs), then --fix VERDICT 0. (7) node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0, 'This diff introduces no major bump' and 'Protocol lockstep: PROTOCOL_VERSION major 19, @objectstack/spec@18.6.0, the one exception, evidenced: pre mode (tag next) and a pending major for @objectstack/spec (.changeset/37223-v19-line-opens.md)'. (8) pnpm check:adr-0087-registration :: exit 0, self-test 819 assertions; '.changeset/37229-protocol-19.md [BREAKING+clause-②-narrowing+metadata-protocol-narrowed] registered protocol-18-range-refused (new here)'. (9) eslint --no-inline-config on the gate :: exit 0. check-nul-bytes :: exit 0. (10) Full pnpm build --concurrency=2 at 9ed0f5e41f6 :: 122/122 tasks, VERDICT command-exit 0.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack (stderr: tree objectstack-ai/objectstack at 9ed0f5e41f6; 90 paths vs merge base db77cc493): 150 families, all run after the full build. Exit codes were captured per command before any pipe (each command redirected to its own log, then ec=$?). 149 :: exit 0. Red, 2: (a) node scripts/check-empty-changeset.mjs --base origin/main :: exit 1, by design: DELIBERATE CORRECTION of .changeset/37042-skills-inline-edit-boolean.md and .changeset/37223-v19-line-opens.md. (b) pnpm check:platform-checklist :: exit 1, 1 problem: 'areas/automation.json: ABSENT SYMBOL ui/packages/app-shell/src/views/studio-design/FlowItemMoreMenu.tsx#FlowItemMoreMenu'. Main caused it: this diff touches neither path (0 of 90), and on origin/main the symbol appears only in that file's comment. Lint & Repo Gates is green in CI at this head. The family is pnpm check:future-spec-major :: exit 0 (self-test then scan). Reconciliation, dispatch-gates --ran with each line 'CMD :: exit N': '150 derived famil(ies) accounted for, 150 run, 0 NOT-MEASURED (a DERIVED zero, all 150 recorded an exit code and none of them is 3)'. That run warned the tree is 8 commits behind a newer origin/main ff6f9768d29, and that 1 derivation input changed there (scripts/pm/check-skill-line-ratchet.mjs). I did not merge again: no conflict was reported and main caused no red. Edited-script suites: check-future-spec-major has no *.test.* naming it; its --self-test is item (2) under tests. overlap-check --branch=HEAD :: exit 1. origin/main merges cleanly, and so do #37382 and #37366. #35129 conflicts in .changeset/37042-skills-inline-edit-boolean.md; that is the bot's 'chore: version packages' PR, which release.yml regenerates, so nothing queues behind it. CI check-runs at 9ed0f5e41f6, read after the battery: 70 runs, 60 success, 9 skipped, 1 failure. The failure is Check Changeset, by design: its annotations name the two DELIBERATE CORRECTION notes. All eleven required contexts are success: Lint & Repo Gates, TypeScript Type Check, Test Core (10/10 shards), Build Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI, Build & E2E UI, Live E2E UI and Dogfood Regression Gate. Type Check · source gates is success as well, so the check-future-spec-major red at 43133e8 is gone.",
      "dogfood_battery": "9ed0f5e41f6cd64be1b27646b1c8208302697244 · os-verify-lock: VERDICT command-exit 0 (held 35m38s, waited 0s) · pnpm --filter @objectstack/dogfood test, no OS_TEST_SHARD, no path · Test Files 487 passed | 3 skipped (490) · Tests 4128 passed | 68 skipped (4196) · no failures. Built closure: full pnpm build at 9ed0f5e41f6. The harness noted that the kernel OOM-killed at least one process in the shared container while the battery ran; the battery's counts and exit are complete as quoted.",
      "mcp_calls": "0",
      "api_writes": "1 — this os-dev-report comment on #37229 through post-stamped (relay). git push x2 to claude/issue-37229-protocol-version-19 (e5a7e35bffe, 9ed0f5e41f6), plain, not REST writes. PR body not edited. REST reads only: 4 comments, the PR, check-runs, one check-run's annotations, PR #35129 metadata.",
      "pr_body_changes": [
        "Line 5: replace the Skills-docs line with 'Skills-docs: follow-up #37298' (N7).",
        "Acceptance notes, Size: '90 files, +432 / −156 against main (GitHub at 9ed0f5e41f6), under the 3,000-line threshold.' The old '74 files, +210 / −95' is stale twice (N1, then the rework and merge).",
        "New 'What changes' paragraph, the gate: '**`scripts/check-future-spec-major.mjs` reads the pre-mode window (ruling record 7176929521, option A).** On a stable `@objectstack/spec` label, with `.changeset/pre.json` at `\"mode\": \"pre\"` and a pending changeset declaring `\"@objectstack/spec\": major`, the next publish is label + 1, so the gate judges citations against 19 here. That is why the removal prescriptions name `@objectstack/spec 19.0.0`. The window is read through `check-changeset-no-major.mjs`'s `readProtocolLockstepInputs`, the reader the protocol lockstep already uses; there is no second parser. Label + 2, pre mode without a pending spec major, a pending spec major outside pre mode, a prerelease label and an unreadable `.changeset/` each open nothing. Five self-test rows pin them (34 → 39 batteries). Reverse verification: with the window condition ablated the gate reads 14 problems, the 14 sites.'",
        "Judgments table, new row: '`docs/qa/platform-checklist/areas/platform-core.json`, item `platform-core.protocol-18-handshake-and-stored-replay` | Revised in place to protocol 19 (rev 6; the id is kept because ids are immutable): `^18` is refused 422 naming `--from 18`, `^19` is admitted, and the artifact step edits the range to `>=18.0.0` as the option-B fixture does (S2).'",
        "Carried items, DELIBERATE CORRECTION, two notes now. (1) `.changeset/37223-v19-line-opens.md`: two sentences. 'The first change graded `major` is …' (the existing N1 text), and 'PROTOCOL_VERSION follows `@objectstack/spec`'s major at version time.' became '`PROTOCOL_VERSION` moves to 19 ahead of the version pass, in its own changeset.' (N3). (2) `.changeset/37042-skills-inline-edit-boolean.md`: 'The spec parse refuses `true` and `false` on a relationship field's `inlineEdit` since 18.7.0' became '… since 19.0.0' (M1). Check Changeset stays red on both by design.",
        "Stale and to correct: the Acceptance note on #37287 ('Noted for that PR's seat; not filed') should point at the step-18-after-tag follow-up card the L1 said is owed; main has since added another member of that family (out_of_scope_findings). The Readings block cites the dev's 9da4c1d4 run, and the new readings are on 9ed0f5e41f6: dogfood 487 passed | 3 skipped files and 4128 passed | 68 skipped tests; spec 895 files and 28419 tests; dispatch-gates 150 families, 149 exit 0 and 2 red (one by design, one main-inherited). In Provenance, 'Branch … @ e05fdf6f' is now 9ed0f5e41f6. 'What changes' should also say the prescriptions stamped after 18.6.0 name 19.0.0 (the five M1 sites), if the round-1 body edit did not already add it."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: named producer — packages/spec/src/ai/knowledge-document.zod.ts:61, the KnowledgeChunk.metadata tombstone that main added after this branch forked · evidence: the refusal and the generated reference row say 'was removed in @objectstack/spec 18'. The key is registered under step 18 (entries/retired-keys/18.ai__KnowledgeChunk__metadata.ts, semantic 18.knowledge-chunk-metadata-retired), and it is not in the published 18.6.0. With PROTOCOL_VERSION 19 and the v19 line open, the release that carries it is 19.0.0, and os migrate meta --from 18 replays step 19 only. The retired-key-removal-version pin cannot reach it: no D2 conversion, so no retiredAfter. Seam: spec:KnowledgeChunk.metadata retiredKey → runtime: parse refusal text and the step-18 registry · carrier: the seat's owed family card for step-18 entries registered on main after the 18.6.0 tag (L1 7170046632, seat-side items). Fold it in there; do not file it singly · dedupe words: step-18 after tag, KnowledgeChunk.metadata, removed in @objectstack/spec 18, migrate meta --from 18",
        "class: a · reach: pnpm check:platform-checklist exits 1 on a tree whose relevant files equal origin/main db77cc493a · evidence: 'areas/automation.json: ABSENT SYMBOL ui/packages/app-shell/src/views/studio-design/FlowItemMoreMenu.tsx#FlowItemMoreMenu'; on main that name appears only in the file's docblock comment. CI's Lint & Repo Gates is green at 9ed0f5e41f6, so CI may run the scoped mode on PRs; a full-corpus run on main is NOT MEASURED here · carrier: seat, main-red triage · dedupe words: FlowItemMoreMenu, ABSENT SYMBOL, automation.json, platform-checklist",
        "carrier: seat · noted, not filed · the composeStacks hand-edit report names one composed path, not the package manifest files (carried from round 1)"
      ]
    }
  10. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

    os-dev-report

    {
      "issue": 37229,
      "status": "done",
      "branch": "claude/issue-37229-protocol-version-19",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37314",
      "session": "session_01QSeKYpEsWWE9Y5YtSsDgqZ",
      "premise_still_valid": true,
      "summary": "Rework round 2 (L1 7181615974 REWORK, L2 7181629335 FAIL). 9ed0f5e41f6 to 3811cd10f5a, 2 commits, plain push, no rebase or force. (1) d47c169db75 merges origin/main da7c559990 by hand. The merge was clean and the os-regen driver deferred nothing (no os-regen-pending), so os-regen-merge's regeneration step had nothing to do. (2) 3811cd10f5a carries three changes. M1: examples/app-starter/objectstack.config.ts:32 (new on main, #37399) moves from '^18' to '^19'. S2: in packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts, acceptanceCriteria drops 'objectstack validate passes … and every package installs'. It now says that once every range admits 19 no door refuses the manifest with OS_PROTOCOL_INCOMPATIBLE, and that the hop edits or refuses the range and nothing else: a key retired in this release is refused at parse by its own message, which names its own remedy. Step-18 entries were not moved. N1: the check-changeset-no-major.mjs note 'Nothing imports this file today' was already false before this PR. It now names the three importers: check-docs-image-tag (readPre), check-future-spec-major (readProtocolLockstepInputs) and pm/l1-face (entriesIn). Re-grep of main since db77cc493a, using the last round's patterns over 207 changed files, excluding CHANGELOG, releases and the lockfile: 1 added line matched '^18', the app-starter site; 0 matched double-quoted or backticked ^18; 0 added lines named PROTOCOL_VERSION, PROTOCOL_MAJOR or 'protocol 18'; 0 added '@objectstack/spec 18/19' prose. No spec pin quotes the entry's acceptance text: git grep for the old phrases and for the entry id finds only the entry itself (the changeset and the checklist item name the id, not the text). So no pin moved, and the whole spec suite is the check. Correction to my last report: dispatch-gates was 148 exit 0 plus 2 red at 9ed0f5e41f6, not 149.",
      "tests": "All at 3811cd10f5a after a full pnpm build --concurrency=2 (123/123 tasks, lock VERDICT command-exit 0). (1) app-starter boot test: pnpm --filter @objectstack/example-starter exec vitest run --maxWorkers=2 test/boot.test.ts :: Test Files 1 passed (1), Tests 5 passed (5), VERDICT command-exit 0. Control leg: ablation-replace put the anchor back to '^18'. The same run then read Tests 3 failed | 2 passed (5), VERDICT command-exit 1, with OS_PROTOCOL_INCOMPATIBLE in the output. Restore: blob a9f53fd9b0ea == HEAD blob, git diff HEAD empty, and git hash-object matches. (2) WHOLE spec suite, pnpm --filter @objectstack/spec test :: Test Files 896 passed (896), Tests 28442 passed | 1 todo (28443), VERDICT command-exit 0. (3) node scripts/check-future-spec-major.mjs --self-test :: exit 0, '39 cases pass'. The scan :: exit 0, 'no @objectstack/spec citation names a major above 19 / pre-mode window: label major 18, pre mode next, pending major for @objectstack/spec in .changeset/37223-v19-line-opens.md, the next publish carries 19'. (4) node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0, 'This diff introduces no major bump' and 'Protocol lockstep: PROTOCOL_VERSION major 19, @objectstack/spec@18.6.0, the one exception, evidenced: pre mode (tag next) and a pending major for @objectstack/spec (.changeset/37223-v19-line-opens.md)'. No ablation of the S2 text: it is prose with no behaviour under test.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack (stderr: tree objectstack-ai/objectstack at 3811cd10f5a; 92 paths vs merge base da7c55999, +440 / -161): 150 families, the same command set as at 9ed0f5e41f6. All were run after the full build, each exit captured before any pipe: 148 :: exit 0, and 2 :: exit 1. Red (a): node scripts/check-empty-changeset.mjs --base origin/main, by design, the DELIBERATE CORRECTION of .changeset/37042-skills-inline-edit-boolean.md and .changeset/37223-v19-line-opens.md. Red (b): pnpm check:platform-checklist, 'areas/automation.json: ABSENT SYMBOL … FlowItemMoreMenu.tsx#FlowItemMoreMenu', main-inherited; this diff touches neither path. pnpm check:future-spec-major :: exit 0. Reconciliation, --ran with 'CMD :: exit N' lines: '150 derived famil(ies) accounted for, 150 run, 0 NOT-MEASURED (a DERIVED zero, all 150 recorded an exit code)'; no stale-tree warning this time, origin/main still da7c559990. Edited-script suites: the check-changeset-no-major edit is a comment only, and its self-test runs inside the derived pnpm check:changeset-gate-self-tests :: exit 0. CI check-runs at 3811cd10f5a, read after the battery: 70 runs, 60 success, 9 skipped, 1 failure. The failure is Check Changeset, by design; its annotations name the same two notes. All eleven required contexts are success, Test Core 10/10 shards included, and so is Type Check · source gates.",
      "dogfood_battery": "3811cd10f5ac58e39fcde695911503c06ba1e872 · os-verify-lock: VERDICT command-exit 0 (held 38m04s, waited 0s) · pnpm --filter @objectstack/dogfood test, no OS_TEST_SHARD, no path · Test Files 487 passed | 3 skipped (490) · Tests 4129 passed | 68 skipped (4197) · no failures. Built closure: full pnpm build at 3811cd10f5a.",
      "mcp_calls": "0",
      "api_writes": "1 — this os-dev-report comment on #37229 through post-stamped (relay). git push x2 to claude/issue-37229-protocol-version-19 (d47c169db75, 3811cd10f5a), plain, not REST writes. PR body not edited; body4.md read, not edited. REST reads only: the PR, check-runs, one check-run's annotations.",
      "pr_body_changes": [
        "Handshake table, the examples/ row: '`examples/` (crm, showcase, todo, starter, multi-package ×2) | 6 | 6'. The Handshakes sentence goes from '84 sites in 66 files' to '85 sites in 67 files'. A note can say examples/app-starter arrived from main (#37399) and moves with the merge, and that its boot test is 5/5 at '^19' and 3 failed | 2 passed at '^18', refused OS_PROTOCOL_INCOMPATIBLE.",
        "The step-19 migration bullet, after the --write sentence: 'Its acceptance text claims only what the hop does: it edits or refuses the range. A key retired in this release that the metadata still carries is refused at parse by its own message, which names its own remedy. It no longer says that validate passes or that every package installs (L2 S2).'",
        "Size: '92 files, +440 / −161 against `main` (GitHub at `3811cd10f5a`), under the 3,000-line threshold.'",
        "Readings summary: 'Readings at 3811cd10f5a' replaces 9ed0f5e41f6. CI: 70 check-runs, 60 success, 9 skipped, 1 failure (Check Changeset, by design); all eleven required contexts success, Test Core 10/10. Dogfood: Test Files 487 passed | 3 skipped (490), Tests 4129 passed | 68 skipped (4197), VERDICT command-exit 0 (this report). Spec suite: Test Files 896 passed (896), Tests 28442 passed | 1 todo (28443). app-starter boot test: 5/5. check-future-spec-major: 39 cases, scan exit 0. check-changeset-no-major: exit 0. dispatch-gates: 150 families, 148 exit 0 and the same two red. The 'Earlier readings' line 'this PR changed only the step-19 entry's text after them' now also covers the app-starter literal.",
        "Provenance: branch head 3811cd10f5a."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat · noted, not filed · examples/app-starter is a new current-protocol manifest that main landed with '^18' after the v19 line opened (pre mode, PROTOCOL_VERSION 19 pending in this PR). Until this PR lands, any example main adds will copy '^18' from its neighbours. No gate ties an example manifest's range to PROTOCOL_MAJOR, beyond the boot tests that some examples carry.",
        "carrier: seat (unchanged from the last report) · the step-18-after-tag family card and the main-inherited check:platform-checklist FlowItemMoreMenu red"
      ]
    }
  11. removed
    pm:dispatched
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:specpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions