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
metadata-protocol: registry-question.ts header says the record-currency follow door is asked by nothing else, which the batch writers (#32474) and package registration (#32483) both falsify #32934
(N3) A follow amount contributed by an extend layer is judged by neither asker (the door's partial rule, unchanged from main): a package extending a parent or child with a following amount can register a pair the door never sees. Measure whether this is reachable from an install, and either pin it as intended (with the reason) or close it.
Do
Item 1: correct the header to name every asker (single save/publish, batch writers, registration run end). Prose only, Clause-②: no.
Item 2: measure first; if it is a real gap, it is a narrowing and owes its own contract review and changeset.
{
"issue": 32934,
"status": "needs_decision",
"branch": "claude/area-E2b-32934",
"pr": "https://github.com/objectstack-ai/objectstack/pull/33590",
"pr_number": 33590,
"head_sha": "0e0ddc79bbba0a96f3a000095d6ed3ed827e5b1b",
"changed_lines": "+18 / -3 (21), 1 file: packages/metadata-protocol/src/registry-question.ts (PR API: additions 18, deletions 3, changed_files 1)",
"closing_line": "Part of #32934 (not Fixes): item 1 lands here; item 2 is a reachable gap whose close is a narrowing that owes its own card, contract review and changeset, so the card stays open until the seat files that card",
"session": "session_016WV4cz4f7zEQZ2C9GTG382",
"premise_still_valid": true,
"summary": "Item 1 (prose only): the registry-question.ts header no longer says the follow door is asked by nothing but the single save; it names all three askers (single save/publish via againstRegistry, batch writers via batch-object-registration.ts, the registration run end via SchemaRegistry.restoringOnRefusal for a running install/upgrade/reload), says registerObject never asks it, and says an extend layer is asked only of its own roll-ups (the partial rule). Item 2 (N3) MEASURED: a following amount contributed by an extend layer is reachable from a running install with no asker judging it (M1-M3 admitted), so closing it is a narrowing and is NOT implemented here; it is reported under open_questions for its own card.",
"item2_measurement": "objectstack-ai/objectstack at 0e0ddc79b (base 4bba8b8f0; objectql untouched by this branch). Throwaway probe, not committed (copy kept at the scratchpad issue-32934/probe.test.ts.txt), on the harness of packages/objectql/src/manifest-service-artifact-refusal-restores.test.ts: running kernel, manifest.register(artifact, {source: 'marketplace'}) after start(), the way the marketplace install door hands an artifact over. Package ledger owns led_invoice (currency_code with valueDomain iso_4217_currency, plus a plain text title) and led_line (master_detail invoice to led_invoice). M1: an extension-only package adds led_line.ext_amount, currencyMode record following invoice.title -> ADMITTED, the served led_line carries it. M2: following invoice.no_such_field -> ADMITTED. M3: the extension adds its own master_detail inv2 and an amount following inv2.title -> ADMITTED. M4: the same install also registers the parent as an own object -> REFUSED RecordCurrencyFollowRefusedError INVALID_METADATA 422 (the parent's other-ends loop reads the served, folded child). C1 control: the same amount in an own object body -> REFUSED 422. C2 consequence: after M1's package is installed, the ledger owner re-registers unchanged (patch upgrade) -> REFUSED 422 on led_line.ext_amount: an innocent owner's upgrade is refused over another package's extension. A1: defineStack of the extension-only package -> ADMITTED (it holds neither end, skipped as documented); A2 control holding both ends -> REFUSED. Mechanism: recordCurrencyFollowRefusalOfRun asks the extend layer with partial: true, which judges only its own roll-ups and returns before both the following-amount half and the other-ends half. NOT MEASURED: what a write of the admitted amount does (the probe kernel had no driver), and whether a single save of an object_extension item reaches the same partial path.",
"clause_2": "Clause-②: no (taken from the card body for item 1; the claim carried no Clause-② or Metadata-protocol line, so no Metadata-protocol line was written). Closing item 2 would be Clause-②: no (narrowing) on its own card.",
"needs_decision": "yes: item 2, whether and how to judge an extend layer's following amounts (see open_questions)",
"tests": "No test added (comment-only diff; prose is not pinned). On head 0e0ddc79b: `pnpm --filter @objectstack/metadata-protocol typecheck` (tsc --noEmit) exit 0; `pnpm --filter @objectstack/metadata-protocol exec vitest run --maxWorkers=2` Test Files 340 passed | 9 skipped (349), Tests 22877 passed | 43 skipped (22920), lock VERDICT command-exit 0; `eslint --no-inline-config packages/metadata-protocol/src/registry-question.ts` exit 0. Item-2 probe: `pnpm --filter @objectstack/objectql exec vitest run --maxWorkers=2 src/zz-probe-e2b-extend-follow.test.ts` Tests 9 passed (outcomes printed per case), lock VERDICT command-exit 0; the file was deleted and the tree is clean. No ablation (no tested behaviour changed).",
"gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack derived 44 commands at 0e0ddc79b; all 44 run, each exit captured before any pipe: 43 exit 0 (check:lean-entry-closure first exited 3 PREREQUISITE NOT MET, then 0 after `pnpm --filter @objectstack/objectql build`); check:dual-build-cjs-loads exited 3 PREREQUISITE NOT MET (it reads every package's dist) = NOT MEASURED locally, declared to CI. --ran reconciliation: 44 derived, 44 run, 0 NOT-MEASURED, 0 UNRUN (runner-declared). CI at report time on 0e0ddc79b: every gate-carrying check-run in_progress (Check Changeset, Check PR Size, Lint · ESLint, Lint · repo & tooling gates, Lint · docs & code guards, Lint · CI, release & engine gates, Lint · PM dispatch-gates, Lint · scoped x3, Type Check · workspace / source gates / consumer gates / debt ledger, Governed Surface Queue Guard, PR-body guards); not waited on.",
"dogfood_battery": "n/a: no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "3: post-stamped comment on issue 32934 (the claim the order asked for, comment 6887508868); fleet-write pr_create (PR 33590, no labels, no assignees, read back identical 7149 bytes); post-stamped os-dev-report comment on issue 32934. The git push is not counted.",
"open_questions": [
{
"question": "Item 2 (N3): a following amount contributed by an `extend` layer is judged by none of the three askers (measured reachable from a running install). Close it, and how?",
"options": [
"A: file its own card; the run end (and the batch writer) judge an extend layer's following amounts against the served fold of the object it extends (base plus every extension), not the partial body. Narrowing (Clause-②: no (narrowing), Metadata-protocol: narrowed), owes a contract review and a minor changeset with its migration line. Cost: objectql registry.ts (an E1 no-edit file) plus record-currency-aggregate-door.ts, about a day with pins for install, upgrade and reload.",
"B: pin it as intended; document that an extension's following amount is judged only when its parent registers (incidental, as M4 and C2 show). Cheap (a pin plus prose), but keeps the C2 consequence: the bad amount serves meanwhile, and an innocent owner's later upgrade is refused over another package's extension.",
"C: refuse record-mode following amounts in `extend` bodies outright at the extend door (extendContributionRefusal). Simplest enforcement, but a wider narrowing: it also refuses correct pairs an extension legitimately adds."
],
"recommendation": "A, because the measurement shows the gap serves a pair no door admits and later blames the wrong package (C2); judging the served fold matches how the parent-side ask already reads the child (M4) and refuses only bad pairs. It touches E1's no-edit registry.ts, so it needs its own card and lane."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: a running install through the manifest service (marketplace source) admits an extension-only package whose amount follows a parent field holding no ISO 4217 code (M1-M3), and a later unchanged upgrade of the parent's owner is refused 422 over it (C2) · evidence: item2_measurement · dedupe words: extend layer follow door partial; objectExtensions record currency follow; recordCurrencyFollowRefusal partial; extension following amount unjudged · the seat files it (it is item 2 of this card, moved to its own card)",
"carrier: none · noted, not filed: protocol-package-commits.ts (two sites) and protocol-save.ts call the follow door one 'which no registration asks'; true of registerObject, false of the registration run end since the run-end change merged. Stale prose outside this card's named surface, recorded in the PR's Acceptance notes"
],
"deviations": "1) Draft PR opened after the item-2 measurement (about 15 minutes after the first push), not at the first pushed commit, so the body could carry the measured outcome and the right closing line; the dev contract forbids editing the body after create. 2) skip-changeset is due (comment-only diff, publishes nothing) but the order forbids label writes, so none was sent: Check Changeset may go red until the seat applies it. 3) No PR assignee sent (the order forbids assignee writes); the seat owns that. 4) Commit trailer used the order's model-free Co-Authored-By: Claude pair, not the harness reminder's model-named one. 5) Worked in the harness-provided worktree (branch cut there from origin/main), not a new sibling worktree, as the harness isolation requires; node_modules removed at the end, the worktree itself left for the harness. 6) The PR body ends with the order's robot line, with the session URL in prose above it, instead of the rule-plus-footer block.",
"split_out": [],
"still_red": "nothing red locally; check:dual-build-cjs-loads NOT MEASURED locally (prerequisite); CI in_progress; Check Changeset expected red until the seat applies skip-changeset"
}
Activity
objectstack-fleet commentedon Nov 13, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Unblocked →
pm:queue· 2026-11-13T03:47ZBlocked-by: #32927is closed. The grade is unchanged.Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · os-elon-musk · session_016WV4cz4f7zEQZ2C9GTG382
Claim: area-lease pilot #33059, area E2b · 2026-11-15T01:46Z
Branch:
claude/area-E2b-32934Account:
os-elon-muskobjectstack-fleet commentedon Nov 15, 2026
domain:server#5 · os-elon-musk · session_016WV4cz4f7zEQZ2C9GTG382
os-dev-report
{ "issue": 32934, "status": "needs_decision", "branch": "claude/area-E2b-32934", "pr": "https://github.com/objectstack-ai/objectstack/pull/33590", "pr_number": 33590, "head_sha": "0e0ddc79bbba0a96f3a000095d6ed3ed827e5b1b", "changed_lines": "+18 / -3 (21), 1 file: packages/metadata-protocol/src/registry-question.ts (PR API: additions 18, deletions 3, changed_files 1)", "closing_line": "Part of #32934 (not Fixes): item 1 lands here; item 2 is a reachable gap whose close is a narrowing that owes its own card, contract review and changeset, so the card stays open until the seat files that card", "session": "session_016WV4cz4f7zEQZ2C9GTG382", "premise_still_valid": true, "summary": "Item 1 (prose only): the registry-question.ts header no longer says the follow door is asked by nothing but the single save; it names all three askers (single save/publish via againstRegistry, batch writers via batch-object-registration.ts, the registration run end via SchemaRegistry.restoringOnRefusal for a running install/upgrade/reload), says registerObject never asks it, and says an extend layer is asked only of its own roll-ups (the partial rule). Item 2 (N3) MEASURED: a following amount contributed by an extend layer is reachable from a running install with no asker judging it (M1-M3 admitted), so closing it is a narrowing and is NOT implemented here; it is reported under open_questions for its own card.", "item2_measurement": "objectstack-ai/objectstack at 0e0ddc79b (base 4bba8b8f0; objectql untouched by this branch). Throwaway probe, not committed (copy kept at the scratchpad issue-32934/probe.test.ts.txt), on the harness of packages/objectql/src/manifest-service-artifact-refusal-restores.test.ts: running kernel, manifest.register(artifact, {source: 'marketplace'}) after start(), the way the marketplace install door hands an artifact over. Package ledger owns led_invoice (currency_code with valueDomain iso_4217_currency, plus a plain text title) and led_line (master_detail invoice to led_invoice). M1: an extension-only package adds led_line.ext_amount, currencyMode record following invoice.title -> ADMITTED, the served led_line carries it. M2: following invoice.no_such_field -> ADMITTED. M3: the extension adds its own master_detail inv2 and an amount following inv2.title -> ADMITTED. M4: the same install also registers the parent as an own object -> REFUSED RecordCurrencyFollowRefusedError INVALID_METADATA 422 (the parent's other-ends loop reads the served, folded child). C1 control: the same amount in an own object body -> REFUSED 422. C2 consequence: after M1's package is installed, the ledger owner re-registers unchanged (patch upgrade) -> REFUSED 422 on led_line.ext_amount: an innocent owner's upgrade is refused over another package's extension. A1: defineStack of the extension-only package -> ADMITTED (it holds neither end, skipped as documented); A2 control holding both ends -> REFUSED. Mechanism: recordCurrencyFollowRefusalOfRun asks the extend layer with partial: true, which judges only its own roll-ups and returns before both the following-amount half and the other-ends half. NOT MEASURED: what a write of the admitted amount does (the probe kernel had no driver), and whether a single save of an object_extension item reaches the same partial path.", "clause_2": "Clause-②: no (taken from the card body for item 1; the claim carried no Clause-② or Metadata-protocol line, so no Metadata-protocol line was written). Closing item 2 would be Clause-②: no (narrowing) on its own card.", "needs_decision": "yes: item 2, whether and how to judge an extend layer's following amounts (see open_questions)", "tests": "No test added (comment-only diff; prose is not pinned). On head 0e0ddc79b: `pnpm --filter @objectstack/metadata-protocol typecheck` (tsc --noEmit) exit 0; `pnpm --filter @objectstack/metadata-protocol exec vitest run --maxWorkers=2` Test Files 340 passed | 9 skipped (349), Tests 22877 passed | 43 skipped (22920), lock VERDICT command-exit 0; `eslint --no-inline-config packages/metadata-protocol/src/registry-question.ts` exit 0. Item-2 probe: `pnpm --filter @objectstack/objectql exec vitest run --maxWorkers=2 src/zz-probe-e2b-extend-follow.test.ts` Tests 9 passed (outcomes printed per case), lock VERDICT command-exit 0; the file was deleted and the tree is clean. No ablation (no tested behaviour changed).", "gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack derived 44 commands at 0e0ddc79b; all 44 run, each exit captured before any pipe: 43 exit 0 (check:lean-entry-closure first exited 3 PREREQUISITE NOT MET, then 0 after `pnpm --filter @objectstack/objectql build`); check:dual-build-cjs-loads exited 3 PREREQUISITE NOT MET (it reads every package's dist) = NOT MEASURED locally, declared to CI. --ran reconciliation: 44 derived, 44 run, 0 NOT-MEASURED, 0 UNRUN (runner-declared). CI at report time on 0e0ddc79b: every gate-carrying check-run in_progress (Check Changeset, Check PR Size, Lint · ESLint, Lint · repo & tooling gates, Lint · docs & code guards, Lint · CI, release & engine gates, Lint · PM dispatch-gates, Lint · scoped x3, Type Check · workspace / source gates / consumer gates / debt ledger, Governed Surface Queue Guard, PR-body guards); not waited on.", "dogfood_battery": "n/a: no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3: post-stamped comment on issue 32934 (the claim the order asked for, comment 6887508868); fleet-write pr_create (PR 33590, no labels, no assignees, read back identical 7149 bytes); post-stamped os-dev-report comment on issue 32934. The git push is not counted.", "open_questions": [ { "question": "Item 2 (N3): a following amount contributed by an `extend` layer is judged by none of the three askers (measured reachable from a running install). Close it, and how?", "options": [ "A: file its own card; the run end (and the batch writer) judge an extend layer's following amounts against the served fold of the object it extends (base plus every extension), not the partial body. Narrowing (Clause-②: no (narrowing), Metadata-protocol: narrowed), owes a contract review and a minor changeset with its migration line. Cost: objectql registry.ts (an E1 no-edit file) plus record-currency-aggregate-door.ts, about a day with pins for install, upgrade and reload.", "B: pin it as intended; document that an extension's following amount is judged only when its parent registers (incidental, as M4 and C2 show). Cheap (a pin plus prose), but keeps the C2 consequence: the bad amount serves meanwhile, and an innocent owner's later upgrade is refused over another package's extension.", "C: refuse record-mode following amounts in `extend` bodies outright at the extend door (extendContributionRefusal). Simplest enforcement, but a wider narrowing: it also refuses correct pairs an extension legitimately adds." ], "recommendation": "A, because the measurement shows the gap serves a pair no door admits and later blames the wrong package (C2); judging the served fold matches how the parent-side ask already reads the child (M4) and refuses only bad pairs. It touches E1's no-edit registry.ts, so it needs its own card and lane." } ], "security_findings": "none", "out_of_scope_findings": [ "class: a · reach: a running install through the manifest service (marketplace source) admits an extension-only package whose amount follows a parent field holding no ISO 4217 code (M1-M3), and a later unchanged upgrade of the parent's owner is refused 422 over it (C2) · evidence: item2_measurement · dedupe words: extend layer follow door partial; objectExtensions record currency follow; recordCurrencyFollowRefusal partial; extension following amount unjudged · the seat files it (it is item 2 of this card, moved to its own card)", "carrier: none · noted, not filed: protocol-package-commits.ts (two sites) and protocol-save.ts call the follow door one 'which no registration asks'; true of registerObject, false of the registration run end since the run-end change merged. Stale prose outside this card's named surface, recorded in the PR's Acceptance notes" ], "deviations": "1) Draft PR opened after the item-2 measurement (about 15 minutes after the first push), not at the first pushed commit, so the body could carry the measured outcome and the right closing line; the dev contract forbids editing the body after create. 2) skip-changeset is due (comment-only diff, publishes nothing) but the order forbids label writes, so none was sent: Check Changeset may go red until the seat applies it. 3) No PR assignee sent (the order forbids assignee writes); the seat owns that. 4) Commit trailer used the order's model-free Co-Authored-By: Claude pair, not the harness reminder's model-named one. 5) Worked in the harness-provided worktree (branch cut there from origin/main), not a new sibling worktree, as the harness isolation requires; node_modules removed at the end, the worktree itself left for the harness. 6) The PR body ends with the order's robot line, with the session URL in prose above it, instead of the rule-plus-footer block.", "split_out": [], "still_red": "nothing red locally; check:dual-build-cjs-loads NOT MEASURED locally (prerequisite); CI in_progress; Check Changeset expected red until the seat applies skip-changeset" }docs(metadata-protocol): name every asker of the record-currency foll…