You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cli: on 19, os build exits 0 on a manifest whose engines.protocol admits 18 and not 19, while the boot refuses it #39098
Filing gate: ① (a product defect with a named landing point and a measured reproduction) · Source: fleet — measured by the #38928 dev on its branch (PR #39090), reported by the build zone of seat repo:objectstack@os-justin (mailbox PR #38811, comment 7339423199, out-of-scope class a). ⛔ Not a claim.
os build on a 19 toolchain refuses a manifest range that admits 18 and not 19, with the same code and prescription as the boot and os validate: OS_PROTOCOL_INCOMPATIBLE, the registered entry protocol-18-range-refused, and the os migrate meta --from 18 step. Pin: a '^18' manifest on 19 exits non-zero from os build.
Prior ruling: #38928 ruling A (comment 7337736429): validate and boot agree on the one refusal that happens before any metadata loads. This card asks the same of os build.
Dedupe: searched os build protocol range, engines.protocol os build (open and closed). Only #38928 (validate, in flight) and #39009 (the CI gate) are related. No card covers os build.
Grading: area:build · Bug · Suggested-grade: p1 (same path as #38928, a GA upgrade line on #38907 section B) · reach: every 18.x project whose range is not moved.
Triage: first-touch audit (lane self-triage) · area:build · Bug · p1 kept as labelled · pm:queue · domain:server kept.
Ruling-ref: triage-duties.md lane self-triage ③, verbatim: "card-pick.mjs 报 no triage audit 而已带 area、type、级 ⇒ 只补审计,⛔ 不改级"
Landing point read on origin/main006a607: os build runs packages/cli/src/commands/compile.ts, which calls only the advisory checkProtocolVersionGap (:1500); the boot-parity judge findProtocolRangeRefusal (packages/cli/src/utils/protocol-version-gap.ts:281) is wired into os validate only (#39090). Direction: #38928 ruling A (comment 7337736429).
Review: triage
Claim: PM loop round 1 (zone build)
Session: session_01QSeKYoSKoNUygbCoMBTbGc
Account: os-justin
Area: build
Branch: claude/issue-39098-build-protocol-range
Worktree: objectstack-issue-39098
Domain: domain:server
Seat: repo:objectstack@os-justin
Ruling-ref: 7337736429 (#38928 ruling A, maintainer 「38928 选 A」) — inherited for this branch on the seat's call ("It follows #38928 ruling A, so no new ruling is needed", seat session session_01QSeKYnrQ7UMtHofKQVjcH2, cross-session message 2026-12-02T08:28Z), per SKILL.md meta-rule ① "新支复用母单裁决直接入队"
File surface: packages/cli/src/commands/compile.ts (the protocol-range site, today the advisory checkProtocolVersionGap at :1500), packages/cli/src/utils/protocol-version-gap.ts (header prose naming os validate as the only exception), packages/cli/test/validate-build-gate-parity.test.ts (the VALIDATE_ONLY_GATES row #39090 added moves to shared), new per-card test file packages/cli/src/commands/build-protocol-range-refusal.test.ts
Container & model: M, mode:subagent, model: default judgement tier — dispatch-gates --tier: "no path-derived mandate" (same cli surface), effort: high (reuse #39090's judge in the build path, refuse before the artifact is written)
Clause-②: no
Metadata-protocol: none — the boot already refuses this range; only the point of failure moves earlier (ruling 7337736429's consequence statement)
Responsibility: packages/clios build in objectstack | the boot (OS_PROTOCOL_INCOMPATIBLE) and, since #39090 (006a607d55), os validate refuse; os build does not | every 18.x project whose range did not move: a green build that then fails to boot
Thread-read: 7340414374
Premise: holds — measured by the #38928 dev on #39090's branch (card body); on origin/main006a607compile.ts:1500 still calls only the advisory checkProtocolVersionGap; the dev reproduces before writing code
Pre-claim lane: domain:server (file ownership only) — packages/cli/** inside zone build's lease
Pre-claim deps: no Blocked-by:; #39090 merged (006a607d55). overlap-check.mjs: run at first push. check-handover.mjs --inflight: OVERLAP (a) #39053 (claim 7337213513, p2, os-support-ai) on compile.ts, which edits its nav-group headline block only; compile.ts is not in SINGLE_CLAIM_PATHS, so this is ordinary concurrency (the later lander merges); Notify: serial. (b) #38922 (this zone's own claim) matches only through its packages/cli/src/utils/ new-sibling-module clause; that card does not touch protocol-version-gap.ts.
Prior rulings read: check-prior-rulings.mjs --card 39098: ruling 9 · maintainer 2 · ⛔ 24 on the surface. The compile.ts "⛔ REPORTS, NEVER REFUSES" lines (:68–73, :827–833, :855) govern the nav-group and permission-set diagnostics only, not the protocol range. protocol-version-gap.ts:34 cites ruling 7337736429. No conflict.
Fold-or-serial: no fold (only card on the build path); runs in parallel with #38922 (no shared file).
Serial constraints cleared: #39053 named above
{
"issue": 39098,
"status": "done",
"branch": "claude/issue-39098-build-protocol-range",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39115",
"session": "session_01QSeKYoSKoNUygbCoMBTbGc",
"premise_still_valid": true,
"summary": "os build (and os compile, which os dev runs at boot) now calls findProtocolRangeRefusal, the same judge os validate calls at its step 1b', as its own step 1b': right after the config loads and the producer conversions are folded, ahead of every other check and of every write. On a refused range it exits 1 with OS_PROTOCOL_INCOMPATIBLE, the boot's message with its migrate meta --from 18 step and protocol-18-range-refused; --json answers success:false with the same errors[] row os validate emits. Measured write order: makeDirectorySync (step 4), access-matrix snapshot, runtime bundle, then dist/objectstack.json; the advisory ran after the last write. A refused build now leaves no dist/ at all. The parity test's findProtocolRangeRefusal row moved from VALIDATE_ONLY_GATES to SHARED_NON_REGISTRY_GATES (the test's own pruning case demands it). Premise reproduced on origin/main 9da8804fcc (descends from 006a607d55): os build '^18' exited 0 on both faces and wrote the artifact; os validate exited 1. Worktree base is 9da8804fcc, not 006a607d55: origin/main had moved by one unrelated commit (#39061, spec subforms).",
"tests": "New packages/cli/src/commands/build-protocol-range-refusal.test.ts, 7 tests, 5 CLI spawns, file tests-wall 6.23 s (shared box). At 3495f7fdc9: new file 7/7 passed; compile-child-failure-line.pin + new file + validate-build-gate-parity + build-text-face-advisory-count: 4 files / 60 tests passed; OS_TEST_TIERS=nightly compile-artifact-packages.e2e + build-json-failure-conversions.e2e + build-json-failure-warnings.e2e + build-json-advisory-parity.e2e: 4 files / 39 tests passed. At 1a2e0092d9: new file + validate-protocol-range-refusal + protocol-version-gap + validate-build-gate-parity: 4 files / 81 passed. pnpm --filter @objectstack/cli typecheck exit 0; pnpm --filter @objectstack/cli build exit 0. Ablation via scripts/ablation-replace.mjs (cli runs from src through bin/run-dev.js, no dist hop): anchor 'if (protocolRefusal) {' in compile.ts, landed 1->0, blob 8ee4e413->68da5519: 3 of 7 red (THE PIN, text face, '^18' parity); premise, control, '^19' parity, vacuity green; restored blob == HEAD, git diff HEAD empty. A first draft with a third parity range '^20' measured 11.3 s file wall, over the 10 s line; trimmed to two ranges (the range battery stays at the judge in validate-protocol-range-refusal.test.ts).",
"gates": "dispatch-gates --commands at 3495f7fdc9 (repo objectstack-ai/objectstack asserted): 71 derived. --ran reconciliation: 71 derived, 65 run, 6 NOT-MEASURED, 0 UNRUN; all 65 run exit 0 (exit captured per command before any pipe). NOT-MEASURED: check:query-options-erasure (timeout 280s) and check:slot-lookup (timeout 120s), repo-wide ESLint ratchet scans whose self-tests passed; check:dual-build-cjs-loads, check:i18n, check:i18n-coverage, check:i18n-walk-parity exit 3 PREREQUISITE NOT MET (built dist / example closures not built here) -> CI Lint & Repo Gates. overlap-check.mjs before each push: VERDICT clean exit 0 (origin/main and PR #39092 sharing compile.ts). PR check-runs: not yet read at report time; CI convergence is the PM's.",
"mcp_calls": "0",
"api_writes": "3 — relay stroke 1 (pr_create: POST /repos/objectstack-ai/objectstack/pulls draft + POST /repos/objectstack-ai/objectstack/issues/39115/assignees os-justin; read-back identical 8406 bytes); post-stamped 1 (POST /repos/objectstack-ai/objectstack/issues/39098/comments, this report). Plus git push x3 (empty-branch probe, 1a2e0092d9, 3495f7fdc9), not REST.",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"deviations": "(1) The derived gate loop was auto-moved to background by the harness at the 600 s foreground cap after 33 of 71 commands; it was stopped (TaskStop) and the remaining 38 were run in foreground chunks, results reconciled with --ran. (2) Commit trailers use the model-free pair per AGENTS.md, not the harness's model-bearing Co-Authored-By line. (3) PR footer uses the AGENTS.md session-URL form instead of the harness's robot-emoji line.",
"files_changed": [
"packages/cli/src/commands/compile.ts",
"packages/cli/src/utils/protocol-version-gap.ts",
"packages/cli/test/validate-build-gate-parity.test.ts",
"packages/cli/src/commands/build-protocol-range-refusal.test.ts",
".changeset/39098-build-protocol-range.md"
],
"line_budget": "5 files, +346 / -24 vs 9da8804fcc (well under 3,000)"
}
Delivered · 2026-12-02T11:08Z · PR #39115 merged as 06d9353705 (L1 ACCEPT 7342836842, landing 7342860673). Card closed by Fixes #39098; pm:dispatched removed with this note. os build, os compile (so os dev's compile step) and os validate now refuse a range the boot refuses, with OS_PROTOCOL_INCOMPATIBLE.
Activity
objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYoSKoNUygbCoMBTbGc
Triage: first-touch audit (lane self-triage) · area:build · Bug · p1 kept as labelled ·
pm:queue· domain:server kept.Ruling-ref:
triage-duties.mdlane self-triage ③, verbatim: "card-pick.mjs报no triage audit而已带 area、type、级 ⇒ 只补审计,⛔ 不改级"Landing point read on
origin/main006a607:os buildrunspackages/cli/src/commands/compile.ts, which calls only the advisorycheckProtocolVersionGap(:1500); the boot-parity judgefindProtocolRangeRefusal(packages/cli/src/utils/protocol-version-gap.ts:281) is wired intoos validateonly (#39090). Direction: #38928 ruling A (comment 7337736429).Review: triage
objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYoSKoNUygbCoMBTbGc
Claim: PM loop round 1 (zone build)
Session:
session_01QSeKYoSKoNUygbCoMBTbGcAccount:
os-justinArea: build
Branch:
claude/issue-39098-build-protocol-rangeWorktree:
objectstack-issue-39098Domain:
domain:serverSeat:
repo:objectstack@os-justinRuling-ref: 7337736429 (#38928 ruling A, maintainer 「38928 选 A」) — inherited for this branch on the seat's call ("It follows #38928 ruling A, so no new ruling is needed", seat session
session_01QSeKYnrQ7UMtHofKQVjcH2, cross-session message 2026-12-02T08:28Z), per SKILL.md meta-rule ① "新支复用母单裁决直接入队"File surface:
packages/cli/src/commands/compile.ts(the protocol-range site, today the advisorycheckProtocolVersionGapat :1500),packages/cli/src/utils/protocol-version-gap.ts(header prose namingos validateas the only exception),packages/cli/test/validate-build-gate-parity.test.ts(theVALIDATE_ONLY_GATESrow #39090 added moves to shared), new per-card test filepackages/cli/src/commands/build-protocol-range-refusal.test.tsContainer & model:
M,mode:subagent,model: default judgement tier — dispatch-gates --tier: "no path-derived mandate" (same cli surface),effort: high(reuse #39090's judge in the build path, refuse before the artifact is written)Clause-②: no
Metadata-protocol: none — the boot already refuses this range; only the point of failure moves earlier (ruling 7337736429's consequence statement)
Responsibility:
packages/clios buildin objectstack | the boot (OS_PROTOCOL_INCOMPATIBLE) and, since #39090 (006a607d55),os validaterefuse;os builddoes not | every 18.x project whose range did not move: a green build that then fails to bootThread-read: 7340414374
Premise: holds — measured by the #38928 dev on #39090's branch (card body); on
origin/main006a607compile.ts:1500still calls only the advisorycheckProtocolVersionGap; the dev reproduces before writing codePre-claim lane:
domain:server(file ownership only) —packages/cli/**inside zone build's leasePre-claim deps: no
Blocked-by:; #39090 merged (006a607d55).overlap-check.mjs: run at first push.check-handover.mjs --inflight: OVERLAP (a) #39053 (claim 7337213513, p2, os-support-ai) oncompile.ts, which edits its nav-group headline block only;compile.tsis not inSINGLE_CLAIM_PATHS, so this is ordinary concurrency (the later lander merges); Notify: serial. (b) #38922 (this zone's own claim) matches only through itspackages/cli/src/utils/new-sibling-module clause; that card does not touchprotocol-version-gap.ts.Prior rulings read:
check-prior-rulings.mjs --card 39098:ruling9 ·maintainer2 ·⛔24 on the surface. Thecompile.ts"⛔ REPORTS, NEVER REFUSES" lines (:68–73, :827–833, :855) govern the nav-group and permission-set diagnostics only, not the protocol range.protocol-version-gap.ts:34cites ruling 7337736429. No conflict.Fold-or-serial: no fold (only card on the build path); runs in parallel with #38922 (no shared file).
Serial constraints cleared: #39053 named above
objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYoSKoNUygbCoMBTbGc
os-dev-report
{ "issue": 39098, "status": "done", "branch": "claude/issue-39098-build-protocol-range", "pr": "https://github.com/objectstack-ai/objectstack/pull/39115", "session": "session_01QSeKYoSKoNUygbCoMBTbGc", "premise_still_valid": true, "summary": "os build (and os compile, which os dev runs at boot) now calls findProtocolRangeRefusal, the same judge os validate calls at its step 1b', as its own step 1b': right after the config loads and the producer conversions are folded, ahead of every other check and of every write. On a refused range it exits 1 with OS_PROTOCOL_INCOMPATIBLE, the boot's message with its migrate meta --from 18 step and protocol-18-range-refused; --json answers success:false with the same errors[] row os validate emits. Measured write order: makeDirectorySync (step 4), access-matrix snapshot, runtime bundle, then dist/objectstack.json; the advisory ran after the last write. A refused build now leaves no dist/ at all. The parity test's findProtocolRangeRefusal row moved from VALIDATE_ONLY_GATES to SHARED_NON_REGISTRY_GATES (the test's own pruning case demands it). Premise reproduced on origin/main 9da8804fcc (descends from 006a607d55): os build '^18' exited 0 on both faces and wrote the artifact; os validate exited 1. Worktree base is 9da8804fcc, not 006a607d55: origin/main had moved by one unrelated commit (#39061, spec subforms).", "tests": "New packages/cli/src/commands/build-protocol-range-refusal.test.ts, 7 tests, 5 CLI spawns, file tests-wall 6.23 s (shared box). At 3495f7fdc9: new file 7/7 passed; compile-child-failure-line.pin + new file + validate-build-gate-parity + build-text-face-advisory-count: 4 files / 60 tests passed; OS_TEST_TIERS=nightly compile-artifact-packages.e2e + build-json-failure-conversions.e2e + build-json-failure-warnings.e2e + build-json-advisory-parity.e2e: 4 files / 39 tests passed. At 1a2e0092d9: new file + validate-protocol-range-refusal + protocol-version-gap + validate-build-gate-parity: 4 files / 81 passed. pnpm --filter @objectstack/cli typecheck exit 0; pnpm --filter @objectstack/cli build exit 0. Ablation via scripts/ablation-replace.mjs (cli runs from src through bin/run-dev.js, no dist hop): anchor 'if (protocolRefusal) {' in compile.ts, landed 1->0, blob 8ee4e413->68da5519: 3 of 7 red (THE PIN, text face, '^18' parity); premise, control, '^19' parity, vacuity green; restored blob == HEAD, git diff HEAD empty. A first draft with a third parity range '^20' measured 11.3 s file wall, over the 10 s line; trimmed to two ranges (the range battery stays at the judge in validate-protocol-range-refusal.test.ts).", "gates": "dispatch-gates --commands at 3495f7fdc9 (repo objectstack-ai/objectstack asserted): 71 derived. --ran reconciliation: 71 derived, 65 run, 6 NOT-MEASURED, 0 UNRUN; all 65 run exit 0 (exit captured per command before any pipe). NOT-MEASURED: check:query-options-erasure (timeout 280s) and check:slot-lookup (timeout 120s), repo-wide ESLint ratchet scans whose self-tests passed; check:dual-build-cjs-loads, check:i18n, check:i18n-coverage, check:i18n-walk-parity exit 3 PREREQUISITE NOT MET (built dist / example closures not built here) -> CI Lint & Repo Gates. overlap-check.mjs before each push: VERDICT clean exit 0 (origin/main and PR #39092 sharing compile.ts). PR check-runs: not yet read at report time; CI convergence is the PM's.", "mcp_calls": "0", "api_writes": "3 — relay stroke 1 (pr_create: POST /repos/objectstack-ai/objectstack/pulls draft + POST /repos/objectstack-ai/objectstack/issues/39115/assignees os-justin; read-back identical 8406 bytes); post-stamped 1 (POST /repos/objectstack-ai/objectstack/issues/39098/comments, this report). Plus git push x3 (empty-branch probe, 1a2e0092d9, 3495f7fdc9), not REST.", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "deviations": "(1) The derived gate loop was auto-moved to background by the harness at the 600 s foreground cap after 33 of 71 commands; it was stopped (TaskStop) and the remaining 38 were run in foreground chunks, results reconciled with --ran. (2) Commit trailers use the model-free pair per AGENTS.md, not the harness's model-bearing Co-Authored-By line. (3) PR footer uses the AGENTS.md session-URL form instead of the harness's robot-emoji line.", "files_changed": [ "packages/cli/src/commands/compile.ts", "packages/cli/src/utils/protocol-version-gap.ts", "packages/cli/test/validate-build-gate-parity.test.ts", "packages/cli/src/commands/build-protocol-range-refusal.test.ts", ".changeset/39098-build-protocol-range.md" ], "line_budget": "5 files, +346 / -24 vs 9da8804fcc (well under 3,000)" }objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYoSKoNUygbCoMBTbGc
Delivered · 2026-12-02T11:08Z · PR #39115 merged as
06d9353705(L1 ACCEPT 7342836842, landing 7342860673). Card closed byFixes #39098;pm:dispatchedremoved with this note.os build,os compile(soos dev's compile step) andos validatenow refuse a range the boot refuses, withOS_PROTOCOL_INCOMPATIBLE.