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
dispatch-gates: a new FieldSchema key does not derive the driver-sql and metadata-core closure suites, so the local sweep is green and CI is red #36483
Found twice on 2026-11-22 (PR #36449 and PR #36399). Filed by the seat.
What happens
Adding a key to FieldSchema owes two closure rows outside packages/spec: FIELD_KEY_STORAGE_CLASS in @objectstack/driver-sql and FIELD_REFERENCE_POSITIONS in @objectstack/metadata-core, plus the field-count pin in metadata-protocol. node scripts/pm/dispatch-gates.mjs --commands derives none of those packages' suites from a diff that only touches packages/spec/src/data/field.zod.ts, so a dev's local sweep is green and CI's Test Core shards go red. Both PRs lost a CI round to it.
What should happen
A diff that changes FieldSchema's key set derives the two closure suites (and the count pin) the way it derives spec's own, or the closure pins move next to the schema so the spec suite catches them.
Notes
See also the memory-recorded class "CI reds a green dispatch-gate sweep misses".
Shipped source changes in those two packages also owe a changeset entry each (L1 reworks 7079997817 and 7080045587).
Triage: lands in domain:devx (dispatch-gates) · pm:queue; rationale: area:fleet · Bug · a new FieldSchema key does not derive the driver-sql and metadata-core closure suite, so a gate is green without running the suites that guard it → p2 as filed · size S.
Claim: PM loop round 1 · 2026-11-24T15:40Z
Session: session_01J8VVAnRb4CkaDphxuAQgMn
Account: huangyiirene
Branch: claude/project-thread-nwrrxq
Worktree: objectstack-issue-36483
Domain: domain:devx
Seat: repo:objectstack#2
Area: f2-D
File surface: scripts/pm/dispatch-gates.mjs and its two sibling halves scripts/pm/dispatch-gates.data.mjs (the change-kind rows) and scripts/pm/dispatch-gates.self-test.mjs (the battery) — the one instrument; no package source, no test outside the instrument (stop on breach; explain in the report)
Container & model: S–M, mode:subagent, model: default — quoting this run's --tier: "Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s), derived here, not recalled." (floor sonnet · default opus · ceiling fable), effort: high, reason: not mechanical (which reader names the FieldSchema closure pins, a fixed row or a content-derived net, is a design reading on a guard instrument) and the area order f2-D sets effort high
Clause-②: no
Metadata-protocol: none
Responsibility: this repo's scripts/pm/dispatch-gates.mjs: a diff touching packages/spec/src/data/field.zod.ts derives no package test outside spec, while three tests pin FieldSchema's key set elsewhere | none: CI's Test Core shards are the only catcher, one round later | every dev and seat sweeping a FieldSchema change locally; measured on PR #36449 and PR #36399, both merged
Thread-read: 7080802379
Premise: holds — at origin/main a73edb3, node scripts/pm/dispatch-gates.mjs --commands packages/spec/src/data/field.zod.ts prints 62+ families and no @objectstack/driver-sql, @objectstack/metadata-core or @objectstack/metadata-protocol test; the pins live at packages/drivers/driver-sql/src/builtin-column-collision.test.ts ("classifies EVERY FieldSchema key, and invents none", over Object.keys(FieldSchema.shape) against FIELD_KEY_STORAGE_CLASS), packages/metadata-core/src/object-schema-fls-references.test.ts ("classifies every FieldSchema key", against FIELD_REFERENCE_POSITIONS) and packages/metadata-protocol/src/protocol.meta-types-degenerate-derivation.test.ts (CARD_PROPERTY_COUNTS, field: 85), the three files PR #36449 had to touch. Correction to one word of the body: the tool derives no spec package test either (it names check:* families and change-kind gates); the precedent the fix follows is the spec-migration-entry change-kind row, a package-test subset gate bound by ciJob/ciRunner/ciSubset.
Pre-claim lane: repo:objectstack seat 2, area f2-D, lease scripts/pm/dispatch-gates.mjs; the data and self-test halves are the same instrument and no other area leases them. Guard instrument ⇒ Tier H; governed, handed to the seat after PASS.
Pre-claim deps: the card names no Blocked-by: and no "after #N"; node scripts/pm/overlap-check.mjs at a73edb3: VERDICT clean exit 0 (empty change set before the claim; re-run before every push).
Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 36483 --paths scripts/pm/dispatch-gates.mjs,scripts/pm/dispatch-gates.data.mjs,scripts/pm/dispatch-gates.self-test.mjs — 0 ruling comments on the card thread; ADR candidates (53) hit on title words only; 427 hit lines across the three files. Binding text read for this card: the change-kind docblock in dispatch-gates.data.mjs — the ui-scripts entry 「⛔ A path predicate that narrows the four roots to the files each test "really" reads does NOT qualify: that map is a second thing that goes stale」 and the spec-migration-entry entry 「⛔ Widening it to every cli test that imports the published migrations subpath does NOT qualify」; both constrain the route, neither forbids a row.
Serial constraints cleared: no open PR touches the three files (searched open PRs naming dispatch-gates; #36954 and #36802 read, neither does); last change c292607, merged today. Same-day churn: 基于合并后的代码工作,issue 引用的片段可能已变,先核对当前 main。
{
"issue": 36483,
"status": "done",
"branch": "claude/project-thread-nwrrxq",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37046",
"head": "81d3d6618",
"session": "session_01J8VVAnRb4CkaDphxuAQgMn",
"premise_still_valid": true,
"summary": "A new change-kind row (field-schema-key-set) names the three FieldSchema closure pins (driver-sql builtin-column-collision, metadata-core object-schema-fls-references, metadata-protocol degenerate-derivation) as package-test subset gates bound to Test Core, following the spec-migration-entry precedent. Its predicate reads the DIFF: top-level members of FieldSchema's strictObject shape, and of the spread MetadataProtectionFields, at the merge base against the working tree. Replayed over the 48 first-parent commits that touched field.zod.ts in the month to a73edb3c, it fires on exactly the 9 that changed the key set (each also moved the driver-sql table, which pins the set both ways), where a path match would fire 48 times. Premise held at a73edb3c: 77 commands derived for field.zod.ts, none of the three tests.",
"tests": "At head 81d3d6618. pnpm check:pm-dispatch-gates (detached): fast tier 2313 cases pass, EXIT=0; the slow tier is deferred on a dev box by design and CI runs it. The new section's cases are all fast tier. The three gates run through os-verify-lock: driver-sql on a tree with no dist at all, 11/11, exit 0 (so no build needed); metadata-core unbuilt, Cannot find package '@objectstack/spec/data', exit 1 (so it reads the built dist); after building the metadata-protocol closure (exit 0), metadata-core 63/63 exit 0 and metadata-protocol 18/18 exit 0. Mutation via ablation-replace, restored to HEAD (git diff HEAD empty): a FieldSchema key added gives 80 commands with the three lines, 77 without; in the same leg the driver-sql pin reds ('unclassified FieldSchema key(s)'); a comment-only edit gives 77 commands and no pin lines.",
"gates": "Local: --commands (no paths) derived 63 commands; all 63 ran with exit 0. check:i18n-coverage first answered exit 3 PREREQUISITE NOT MET, then OK after the build it names. --ran: 63 derived, 63 run, 0 NOT-MEASURED, 0 UNRUN. check-commit-card-trailers exit 0; overlap-check VERDICT clean (before each push and before pr_create); check-nul-bytes OK. CI at report time: Governed Surface Queue Guard success, Check Changeset success, Lint and Type Check lanes in_progress.",
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
"line_budget": "+297/-1 across 3 files (data +61, engine +121, self-test +115/-1)",
"files_changed": ["scripts/pm/dispatch-gates.mjs", "scripts/pm/dispatch-gates.data.mjs", "scripts/pm/dispatch-gates.self-test.mjs"],
"deviations": "Diff-read predicate rather than the suggested path match (the replay measured 48 path hits against 9 owed). At dispatch time, when the file is unchanged, the row is deliberately quiet; this is stated in the PR. The census line pin in the self-test moved 753 -> 755 because of the two new import lines. The PR body footer uses the AGENTS.md session-URL form rather than the harness reminder's form.",
"mcp_calls": "0",
"api_writes": "2: relay pr_create (POST pulls, draft, plus the assignees and skip-changeset label legs, read back identical) and this post-stamped comment",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": ["carrier: none · noted in PR Acceptance notes, not filed: CARD_PROPERTY_COUNTS in metadata-protocol also counts object/flow/page/agent/... keys, and a key added to those schemas derives the control nowhere either (the wider family; three replayed commits were object-key changes of this shape)"]
}
Left untouched: bug, priority:p2, domain:devx, area:fleet — ownership, priority and outcome are not state claims.
The label set was read back after the write and matched.
A state label claims work is in flight. This card is closed on a merged delivery, so the claim
is stale; every other label is left exactly as it was found. Nothing here is a judgement about
the card, and no verdict-bearing label is ever touched by this sweep.
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:devx(dispatch-gates) ·pm:queue; rationale: area:fleet · Bug · a newFieldSchemakey does not derive the driver-sql and metadata-core closure suite, so a gate is green without running the suites that guard it → p2 as filed · size S.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#2 · huangyiirene · session_01J8VVAnRb4CkaDphxuAQgMn
Claim: PM loop round 1 · 2026-11-24T15:40Z
Session:
session_01J8VVAnRb4CkaDphxuAQgMnAccount:
huangyiireneBranch:
claude/project-thread-nwrrxqWorktree:
objectstack-issue-36483Domain:
domain:devxSeat:
repo:objectstack#2Area: f2-D
File surface:
scripts/pm/dispatch-gates.mjsand its two sibling halvesscripts/pm/dispatch-gates.data.mjs(the change-kind rows) andscripts/pm/dispatch-gates.self-test.mjs(the battery) — the one instrument; no package source, no test outside the instrument (stop on breach; explain in the report)Container & model:
S–M,mode:subagent,model: default — quoting this run's --tier: "Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s), derived here, not recalled." (floor sonnet · default opus · ceiling fable),effort: high, reason: not mechanical (which reader names the FieldSchema closure pins, a fixed row or a content-derived net, is a design reading on a guard instrument) and the area order f2-D sets effort highClause-②: no
Metadata-protocol: none
Responsibility:
this repo's scripts/pm/dispatch-gates.mjs: a diff touching packages/spec/src/data/field.zod.ts derives no package test outside spec, while three tests pin FieldSchema's key set elsewhere | none: CI's Test Core shards are the only catcher, one round later | every dev and seat sweeping a FieldSchema change locally; measured on PR #36449 and PR #36399, both mergedThread-read: 7080802379
Premise: holds — at origin/main a73edb3,
node scripts/pm/dispatch-gates.mjs --commands packages/spec/src/data/field.zod.tsprints 62+ families and no@objectstack/driver-sql,@objectstack/metadata-coreor@objectstack/metadata-protocoltest; the pins live atpackages/drivers/driver-sql/src/builtin-column-collision.test.ts("classifies EVERY FieldSchema key, and invents none", overObject.keys(FieldSchema.shape)againstFIELD_KEY_STORAGE_CLASS),packages/metadata-core/src/object-schema-fls-references.test.ts("classifies every FieldSchema key", againstFIELD_REFERENCE_POSITIONS) andpackages/metadata-protocol/src/protocol.meta-types-degenerate-derivation.test.ts(CARD_PROPERTY_COUNTS,field: 85), the three files PR #36449 had to touch. Correction to one word of the body: the tool derives no spec package test either (it namescheck:*families and change-kind gates); the precedent the fix follows is thespec-migration-entrychange-kind row, a package-test subset gate bound byciJob/ciRunner/ciSubset.Pre-claim lane: repo:objectstack seat 2, area f2-D, lease
scripts/pm/dispatch-gates.mjs; the data and self-test halves are the same instrument and no other area leases them. Guard instrument ⇒ Tier H; governed, handed to the seat after PASS.Pre-claim deps: the card names no
Blocked-by:and no "after #N";node scripts/pm/overlap-check.mjsat a73edb3: VERDICT clean exit 0 (empty change set before the claim; re-run before every push).Prior rulings read:
node scripts/pm/check-prior-rulings.mjs --card 36483 --paths scripts/pm/dispatch-gates.mjs,scripts/pm/dispatch-gates.data.mjs,scripts/pm/dispatch-gates.self-test.mjs— 0 ruling comments on the card thread; ADR candidates (53) hit on title words only; 427 hit lines across the three files. Binding text read for this card: the change-kind docblock indispatch-gates.data.mjs— the ui-scripts entry 「⛔ A path predicate that narrows the four roots to the files each test "really" reads does NOT qualify: that map is a second thing that goes stale」 and the spec-migration-entry entry 「⛔ Widening it to every cli test that imports the published migrations subpath does NOT qualify」; both constrain the route, neither forbids a row.Serial constraints cleared: no open PR touches the three files (searched open PRs naming dispatch-gates; #36954 and #36802 read, neither does); last change c292607, merged today. Same-day churn: 基于合并后的代码工作,issue 引用的片段可能已变,先核对当前 main。
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#2 · huangyiirene · session_01J8VVAnRb4CkaDphxuAQgMn
os-dev-report
{ "issue": 36483, "status": "done", "branch": "claude/project-thread-nwrrxq", "pr": "https://github.com/objectstack-ai/objectstack/pull/37046", "head": "81d3d6618", "session": "session_01J8VVAnRb4CkaDphxuAQgMn", "premise_still_valid": true, "summary": "A new change-kind row (field-schema-key-set) names the three FieldSchema closure pins (driver-sql builtin-column-collision, metadata-core object-schema-fls-references, metadata-protocol degenerate-derivation) as package-test subset gates bound to Test Core, following the spec-migration-entry precedent. Its predicate reads the DIFF: top-level members of FieldSchema's strictObject shape, and of the spread MetadataProtectionFields, at the merge base against the working tree. Replayed over the 48 first-parent commits that touched field.zod.ts in the month to a73edb3c, it fires on exactly the 9 that changed the key set (each also moved the driver-sql table, which pins the set both ways), where a path match would fire 48 times. Premise held at a73edb3c: 77 commands derived for field.zod.ts, none of the three tests.", "tests": "At head 81d3d6618. pnpm check:pm-dispatch-gates (detached): fast tier 2313 cases pass, EXIT=0; the slow tier is deferred on a dev box by design and CI runs it. The new section's cases are all fast tier. The three gates run through os-verify-lock: driver-sql on a tree with no dist at all, 11/11, exit 0 (so no build needed); metadata-core unbuilt, Cannot find package '@objectstack/spec/data', exit 1 (so it reads the built dist); after building the metadata-protocol closure (exit 0), metadata-core 63/63 exit 0 and metadata-protocol 18/18 exit 0. Mutation via ablation-replace, restored to HEAD (git diff HEAD empty): a FieldSchema key added gives 80 commands with the three lines, 77 without; in the same leg the driver-sql pin reds ('unclassified FieldSchema key(s)'); a comment-only edit gives 77 commands and no pin lines.", "gates": "Local: --commands (no paths) derived 63 commands; all 63 ran with exit 0. check:i18n-coverage first answered exit 3 PREREQUISITE NOT MET, then OK after the build it names. --ran: 63 derived, 63 run, 0 NOT-MEASURED, 0 UNRUN. check-commit-card-trailers exit 0; overlap-check VERDICT clean (before each push and before pr_create); check-nul-bytes OK. CI at report time: Governed Surface Queue Guard success, Check Changeset success, Lint and Type Check lanes in_progress.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "line_budget": "+297/-1 across 3 files (data +61, engine +121, self-test +115/-1)", "files_changed": ["scripts/pm/dispatch-gates.mjs", "scripts/pm/dispatch-gates.data.mjs", "scripts/pm/dispatch-gates.self-test.mjs"], "deviations": "Diff-read predicate rather than the suggested path match (the replay measured 48 path hits against 9 owed). At dispatch time, when the file is unchanged, the row is deliberately quiet; this is stated in the PR. The census line pin in the self-test moved 753 -> 755 because of the two new import lines. The PR body footer uses the AGENTS.md session-URL form rather than the harness reminder's form.", "mcp_calls": "0", "api_writes": "2: relay pr_create (POST pulls, draft, plus the assignees and skip-changeset label legs, read back identical) and this post-stamped comment", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: none · noted in PR Acceptance notes, not filed: CARD_PROPERTY_COUNTS in metadata-protocol also counts object/flow/page/agent/... keys, and a key added to those schemas derives the control nowhere either (the wider family; three replayed commits were object-key changes of this shape)"] }os-justin commentedon Nov 24, 2026
os-closed-card-sweep — machine-findable marker for this generated comment.
Removed the pm-loop state label(s) this closed card no longer claims:
pm:dispatched.4db6fd74c2, merged intomain.bug,priority:p2,domain:devx,area:fleet— ownership, priority and outcome are not state claims.A state label claims work is in flight. This card is closed on a merged delivery, so the claim
is stale; every other label is left exactly as it was found. Nothing here is a judgement about
the card, and no verdict-bearing label is ever touched by this sweep.
seat repo:objectstack#4 close-out sweep
Generated by Claude Code
Generated by Claude Code