Skip to content

fix(automation): status rows of a flow name two packages hold carry their package; the toggle reads back the switched slot - #38652

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-34891-status-row-package
Nov 30, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-34891-status-row-package

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread
Fixes #34891
Clause-②: yes (widening)
Metadata-protocol: none

维护者速读

  • 管理员在自动化页面开关一个由两个已安装包同名持有的流程时,开关回显的状态从"照抄请求"变为"读回该包流程实际存储的状态";状态接口每行多带所属包。
  • 属于"一个名字多个包各自持有"的包作用域收口,替管理员解决开关显示与流程实际是否运行不一致的问题。
  • 若出错,影响面是这类同名流程的开关回显,流程本身的开关写入不变;可直接撤回本改动。
  • 无

What changes

  • FlowRuntimeState (@objectstack/spec/contracts) gains an optional packageId: the package of the engine slot the row reads (ADR-0150 D4, one slot per package and name), absent for a flow no package holds. The spelling is the slot's own (FlowSlot.packageId, FlowContender.packageId, the activation ledger row's packageId).
  • getFlowRuntimeStates (service-automation flow-definitions.ts) stamps it on every row of a package-held slot, read from the engine's flowSlotPackage(key). The engine wrapper's duplicated inline return type is replaced by one FlowRuntimeStateRow type (FlowRuntimeState plus the shadowing receipt), and the wrapper's host passes flowSlotPackage.
  • The toggle door (packages/runtime/src/domains/automation.ts) records the package of the slot it serves when the admission hands it a flowSlotView, and reads back the row of (that package, name). The two-or-more-rows echo is gone for that case. The request is still echoed in three cases, the same three the route table, the door comment and the changeset name: a service that does not implement getFlowRuntimeStates; a reading that holds no row of the switched flow; and two or more rows of the name on a door serving no slot, which the composed runtime cannot reach because the bare toggleFlow refuses a shared name (see Acceptance notes).
  • Landing point is the claim's file surface. One test file outside the literal surface: the producer pins went into packages/services/service-automation/src/flow-slots-per-package.test.ts as a new top-level describe, because that file is the engine's per-slot harness and a pin for a component with a shared harness goes there. Test-only.

Read first, by risk:

  1. packages/runtime/src/domains/automation.ts, the toggle arm's read-back filter (the flowSlotPackage capture at the admission block and the rows filter).
  2. packages/services/service-automation/src/flow-definitions.ts, getFlowRuntimeStates (the packageOf spread).
  3. packages/spec/src/contracts/automation-service.ts, the new packageId member.

Tests

  • Door (automation-addressed-route.test.ts, the co-held toggle suite): the double now reads rows the engine's way, each carrying its slot's packageId, and composes a status that keeps a slot off apart from the switch. New red line: the switched slot is republished obsolete while the switch awaits its durable write; the door answers 200 { enabled: false }. The three existing co-held cases now pass by read-back, not by echo.
  • Engine (flow-slots-per-package.test.ts, new describe "the status rows carry their slot's package"): a co-held name's two rows each carry their own package and own state; a one-holder name's row carries its package and a package-less flow's row has no packageId key; and the race measured on the real engine: with the activation store's write held open, P2's flow republished obsolete mid-switch, toggleFlowSlot resolves, two rows of the name exist, P2's own row reads enabled: false, status: 'obsolete', and executeSlot refuses FLOW_DISABLED. The race the card describes can be reached as written.
  • Spec type pin: FlowRuntimeState['packageId'] is string | undefined.
  • automation-toggle-caller.test.ts is unchanged: the no-read echo stays pinned there.
Ablations (each restored: blob equals HEAD, git diff HEAD empty)
  • Producer: deleted the ...packageOf(this.flowSlotPackage(name)), line (scripts/ablation-replace.mjs, mutation landed: anchor 1 to 0). flow-slots-per-package.test.ts -t 'status rows carry': Tests 3 failed | 92 skipped (95), all three new engine cases red.
  • Door: replaced the package filter with true (mutation landed: anchor 1 to 0). Runtime toggle files: Tests 1 failed | 65 passed (66). The red is the obsolete-republish case, answering {"name":"convert","enabled":true}, which is the card's defect. A first attempt used replacement text that already occurred in the file; the tool refused it and restored before running anything, so that attempt measured nothing.
Suites (head 72f56b4)
  • pnpm --filter @objectstack/service-automation test: Test Files 299 passed (299), Tests 4442 passed (4442), exit 0.
  • pnpm --filter @objectstack/runtime test: Test Files 656 passed (656), Tests 12522 passed, 25 skipped (12547), exit 0.
  • pnpm --filter @objectstack/spec test: Test Files 913 passed (913), Tests 28893 passed, 1 todo (28894), exit 0.
  • turbo run typecheck for spec, service-automation and runtime: 44 tasks successful. The runtime test layer first failed TS2307 on @objectstack/driver-turso in three files this diff does not touch, because that devDependency was not built in this worktree. After building it: check:test-typecheck: OK for both packages.

Acceptance notes

  • The echo that remains: a service whose reading holds NO row of the switched flow. For the engine on the co-held path that happens only if the slot is withdrawn while the switch is in flight, which is another race than this card's. That arm was already the behaviour before this change and is pinned by other suites in the same file, whose doubles read no rows. Left as it is.
  • A bare toggle (no slot view) still reads the name's one row. Two rows on a bare door would need an engine with a name resolver but a door with no registry. Bare toggleFlow refuses a shared name otherwise, so that case is not reachable in the composed runtime.
  • flowRuntimeStateOf (packages/types/src/flow-runtime-state.ts, the MCP definition reader's switch) still answers undefined on two rows of one name. It could pick by packageId once its callers pass the item's package. Not changed here: it is outside this card's surface, and it fails closed ("unknown is answered as absent, never as enabled").
  • Other row readers are untouched, because the field is optional: packages/client (getRuntimeStatus docblock lists the optional members and does not yet name packageId), packages/cli serve.ts, and the Console under ui/. A Console status badge for a co-held name could pick its row by (packageId, name). No ui/ change is in this PR.

Verification

Two-minute check: pnpm --filter @objectstack/runtime exec vitest run --maxWorkers=2 src/domains/automation-addressed-route.test.ts -t 'republished'. Expected: 1 passed. The obsolete-republish case answers { enabled: false }.

Local gates (derived from dispatch-gates --commands at 72f56b4)
  • 100 derived families run. dispatch-gates --ran with exit codes recorded: 100 derived famil(ies) accounted for — 98 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3).
  • NOT MEASURED: check:dual-build-cjs-loads, reason: PREREQUISITE NOT MET, it reads every package's built output and 38 packages have no dist/ in this worktree. check:published-readme-exports, reason: PREREQUISITE NOT MET, 32 packages' built type entries are missing. Both are left to CI.
  • Every other derived family exited 0, among them check:api-surface, check:authorable-surface, check:docs, check:export-origins, check:engine-double-contract, check:nul-bytes, check:cross-package-test-inputs and check:test-source-alias.
  • overlap-check.mjs before each push: VERDICT clean exit 0 against origin/main and feat(approvals): piece 4 — a step records the child runs it started, and the reconciler finishes an approval whose flow stopped (ADR-0162 item 8) #38618, which shares engine.ts and merges cleanly.

Generated by Claude Code

…eads back the switched slot

FlowRuntimeState gains an optional packageId (ADR-0150 D4: one slot per
package and name). getFlowRuntimeStates stamps it on every row of a
package-held slot, and the toggle door, serving a slot through
flowSlotView, reads back the row of (package, name) instead of echoing
the request whenever the name has two rows.

Claude-Session: https://claude.ai/code/session_01ADHkmQJUGAAa5rz9Yi2DvW
Co-authored-by: Claude <noreply@anthropic.com>
…read-back under a concurrent obsolete republish

Claude-Session: https://claude.ai/code/session_01ADHkmQJUGAAa5rz9Yi2DvW
Co-authored-by: Claude <noreply@anthropic.com>
…back the switched slot

Claude-Session: https://claude.ai/code/session_01ADHkmQJUGAAa5rz9Yi2DvW
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 29, 2026
@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 3 package(s): @objectstack/runtime, @objectstack/service-automation, @objectstack/spec, touching 22 documentable anchor(s).

21 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: node scripts/docs-audit/affected-docs.mjs --json f5da514b07bcbb402e3b17790465615ca726b3b3.

⛔ 12 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails.

What this run could not see
  • the SDK route bridge reached 69 of 252 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 187 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json f5da514b07bcbb402e3b17790465615ca726b3b3 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 1f2440017b1e842efb3c5cca20e931d7684b00c9 — the merge of head 000ed6617e773168c768d6d7d142795da3495ac8 into base f5da514b07bcbb402e3b17790465615ca726b3b3, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 1f2440017b1e842efb3c5cca20e931d7684b00c9 && git checkout 1f2440017b1e842efb3c5cca20e931d7684b00c9
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin f5da514b07bcbb402e3b17790465615ca726b3b3 000ed6617e773168c768d6d7d142795da3495ac8 && git checkout -B drift-repro f5da514b07bcbb402e3b17790465615ca726b3b3 && git merge --no-ff 000ed6617e773168c768d6d7d142795da3495ac8

node scripts/docs-audit/affected-docs.mjs --json f5da514b07bcbb402e3b17790465615ca726b3b3

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs f5da514b07bcbb402e3b17790465615ca726b3b3 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmQm8PTU4AkVU5kdwEv
L1-a, the seat's L1 thread · 2026-11-29T23:21Z · first review

席位核对

ACCEPT @ 72f56b41760d1e24a27829f99d2fde849c86829b (card #34891, Fixes, zone o3-P). L2 is owed at CONTRACT_REVIEW_TIER, because a non-test packages/spec/src file changes (contracts/automation-service.ts, FlowRuntimeState.packageId?). The seat routes it, and the PR stays draft. Two things are owed before landing, and neither is a code change:

  1. a claim amendment for the out-of-surface test file (below);
  2. CI green at this head. At 23:20Z it read 24 success, 11 expected skip, 0 failed and 33 pending. TypeScript Type Check was not yet reported.

Read at head:

  • The producer. flow-definitions.ts getFlowRuntimeStates now stamps ...packageOf(this.flowSlotPackage(name)) on each slot's row.
    • The key is absent, not undefined-valued, for a slot no package holds.
    • engine.ts:5563 flowSlotPackage(key) reads flowSlots.slot(key)?.packageId. That covers an unshared name's single slot too, so a single holder's row also carries its package.
    • The engine wrapper's inline return type is replaced by FlowRuntimeStateRow = FlowRuntimeState & { armedFrom?, shadowed? }, the same members as before plus packageId.
  • The wire. GET /automation/_status (automation.ts:4441-4453) passes getFlowRuntimeStates() through verbatim, so packageId reaches the answer.
  • The consumer. The toggle door records flowSlotPackage = admission.packageId only on the branch where flowSlotView served a slot. The read-back then filters rows by (packageId, name).
    • A bare door that served no slot keeps the by-name read, with exactly one row.
    • The echo stays only where nothing can name the switched flow: no getFlowRuntimeStates, or no row.
    • That closes the card's gap. A slot republished obsolete while its switch awaited the durable write now reads off, and the answer follows it.
  • My own runs, in a clean worktree at this head, after building the @objectstack/runtime^... closure:
    • runtime automation-addressed-route plus automation-toggle-caller: 66 passed (66).
    • service-automation flow-slots-per-package: 95 passed (95).
    • spec contracts/automation-service.test.ts: 20 passed (20).
  • My ablation, in one pass. I put back the by-name filter in the door and removed the packageOf stamp in the producer.
    • runtime: 1 failed | 65 passed. The red line is the concurrent obsolete republish, answering { enabled: true } over a flow that is off.
    • service-automation: 3 failed | 92 passed. They are the two-holder rows, the single-holder and package-less key, and the measured republish.
    • Restored, tree clean.
  • Declarations. Clause-②: yes (widening) and Metadata-protocol: none are right. The change is one optional member on a service contract's row and an answer that is truer than before. Authors can write nothing new or less. AGENTS.md's level rule makes a non-protocol widening patch, which is what all three packages take.
  • Changeset, read sentence by sentence. It is true against the code:
    • FlowRuntimeState gains the optional packageId, absent for a package-less flow.
    • getFlowRuntimeStates() and so _status stamp it, verbatim as above.
    • The toggle and its namespaced address answer the switched slot's stored state.
    • "It used to echo whenever the name had two rows" matches the base door's rows.length === 1 read.
    • The two echo cases that remain are exactly the code's.
    • The reader guidance matches the spec TSDoc.
    • The spec TSDoc on packageId ships in .d.ts, and it says the same.
  • Out of the claim's file surface (the dev's own deviation). packages/services/service-automation/src/flow-slots-per-package.test.ts (+60) is test-only and carries the producer pins. The claim (7263287844) lists the runtime toggle tests and the spec type test, but not this file.
    • It is the right home for the pins: it is the engine's shared per-slot harness.
    • It still needs a claim amendment on the card, on the seat's word, recorded before landing. The claim said "stop on breach", and the dev reported it instead of stopping.
  • No docs are owed. flows.mdx:3109 ("one row per flow") predates this PR and is not made false by it. No content/docs or skills/** page lists the row's members.
  • Mechanical face. shape, first-line, relation, changeset (all three published packages carry an entry), declarations and skills-docs (not owed) are all ok. dogfood is not owed (no !, no narrowing). The checks are as noted above. mergeable_state is blocked while checks run. Fixes is right: the card's Expected (rows carry their package, and the toggle reads back the switched slot) is delivered and pinned.
  • Local gates. The report's 2 NOT MEASURED (check:dual-build-cjs-loads, check:published-readme-exports, both lacking a full dist) are CI families. Read them from this head's check-runs when green.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract-review-handoff: repo:objectstack#1 — CONTRACT_REVIEW_TIER unavailable (project rule: the maintainer bars the ceiling tier in this seat, 「契约复审交 review 席位,不用 fable」; no l2-review or review seat is seated, mailbox list read 2026-11-29T23:22Z) · head 72f56b4

Faces: Clause-②: yes (widening) and published schema (FlowRuntimeState.packageId? in packages/spec/src/** contracts, #34891). Metadata-protocol: none. L1 ACCEPT 7264404718. The PR takes needs:contract-review in this stroke.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract-review-claim: session_01ADHkmSAjFEZHRpRq3WCj6z · head 72f56b4 · 2026-11-30T00:12Z

The seat takes the tier itself from here (the maintainer, 2026-11-30 「你现在有fable」); the earlier handoff to repo:objectstack#1 is withdrawn on its mailbox #38524.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 72f56b41760d1e24a27829f99d2fde849c86829b
Local-runs: none
Scope: packages/spec/src/contracts/automation-service.ts + packages/services/service-automation/src/flow-definitions.ts, packages/services/service-automation/src/engine.ts, packages/runtime/src/domains/automation.ts
Security-touching: no
Rule-change-verified: none

PR #38652, card #34891. Inputs read: the card body and its five comments (two triage records, claim 7263287844, os-dev-report 7264251824, claim amendment 7264451797), the PR body and its eight-file list, the net diff against the merge base 0ba5e06ae735cff3fe387347df66b22b49a7dd41, and the check-runs on the head. The remainder of the diff (the three test files and the changeset body as prose) is the lane seat's ACCEPT at TIER_DEFAULT.

① Derived judgments

  • FlowRuntimeState.packageId?: string (@objectstack/spec/contracts) — a public-surface widening of a service contract's row type: one optional member, no member removed, renamed or narrowed. A minimal row { name, enabled, bound } still satisfies the interface, so every existing implementer of IAutomationService.getFlowRuntimeStates compiles unchanged. Right. No parallel declaration needs the same member: packages/spec/src holds no Zod schema or response schema for the status row (the interface is the only declaration), and packages/client types getRuntimeStatus as FlowRuntimeState[], so it inherits the member.
  • Accept set — nothing an author can write changes; the row is produced by the engine, never authored. Metadata-protocol: none is right.
  • AutomationEngine.getFlowRuntimeStates() return type — the inline row type becomes FlowRuntimeStateRow (FlowRuntimeState and the two shadowing members). Member for member this is the old inline type plus packageId: a widening of the service-automation public method's answer. Right. packages/verify derives its row type from the method (ReturnType), so it follows.
  • Wire: GET /automation/_status — passes the rows through verbatim (automation.ts, the _status arm), so each row of a package-held slot gains a packageId key and a package-less slot's row gains none (packageOf spreads an empty object, never an undefined-valued key). Additive on the wire. Right.
  • Wire: POST /automation/NAME/toggle and its namespaced address — the 200 body keeps its shape { name, enabled }; on a name two packages hold, enabled is now the switched slot's stored state where it was the request. An answer that is truer, with no status or shape change. Right, and a behaviour fix, not a narrowing.
  • Gate verdicts — every check-run on the head concluded success or an expected skipped; none failed. That includes TypeScript Type Check, Type Check · source gates, Type Check · consumer gates, Lint · CI, release & engine gates, Lint · repo & tooling gates, Spec property liveness, Check Changeset, Build Core, Test Core (12 of 12 shards) and Governed Surface Queue Guard. The two families the dev left NOT MEASURED locally (check:dual-build-cjs-loads, check:published-readme-exports) are answered by those CI runs.

② Semver level

Clause-②: yes (widening) — declared on the PR body and in the changeset body, and it matches the diff: an optional member on a published contract type and a truer answer at one door.

.changeset/34891-status-row-package.md takes patch on @objectstack/spec, @objectstack/service-automation and @objectstack/runtime: exactly the three released packages whose src the diff moves. AGENTS.md's level rule gives Metadata-protocol: none a patch, and a non-protocol widening ships patch. The level is right. No BREAKING banner or ADR-0087 disposition is owed: nothing is removed or narrowed.

③ Boundary flags

  • open_questions: none raised (the report's list is empty).
  • Deviation, test file outside the claim's literal surface (flow-slots-per-package.test.ts): answered by the claim amendment 7264451797 on the card, on the seat's word. Test-only; not in this review's scope.
  • Deviation, the echo kept for a reading that holds no row of the switched flow: accepted. With a slot view the door has already answered 404 when getFlowSlot(package, name) holds nothing, so a zero-row reading is reachable only if the slot is withdrawn while the switch is in flight. Before this change that case read back the OTHER holder's lone row; the echo is no worse, and it is stated in the changeset.
  • Out-of-scope note, ADR-0150 D4 carries no sentence on the status rows: accepted as a follow-up for the seat's ADR revisions card. The contract cites D4 only for the slot model (one slot per package and name), which the ADR does state.
  • Out-of-scope note, flowRuntimeStateOf (packages/types) answers undefined on two rows of one name: accepted, it fails closed. One more by-name reader the dev did not list: packages/verify/src/flow-run.ts picks its row with find on name alone. Both are outside the diff (read, not reviewed) and belong on one follow-up card for the by-name readers, since the contract now tells a reader of a co-held name to pick by both members.
  • Out-of-scope note, packages/client docblock, packages/cli and the Console do not yet read packageId: accepted, the member is optional and those readers are unchanged.
  • SQL push-down: not touched. The diff adds no query, no id materialisation and no in-app join; the rows are read from the engine's in-memory slot table.

④ Design judgment

packages/spec/src/contracts/automation-service.ts (hits). The new member holds against the code it describes and against its first consumer.

  • "The package of the engine slot the row is one of, absent for a flow no package holds": the producer reads flowSlots.slot(key)?.packageId for the key each row is built from, and a null slot package becomes an absent key. True.
  • "(packageId, name) names exactly one row": the slot table files at most one key per (name, package) (FlowSlotTable.byName is name, then package, then key), and D4's invariant keeps a package-less slot from sitting beside a package slot of the same name. True for the engine, the one producer with slots.
  • "The spelling is the slot's own": FlowSlot.packageId (service-automation flow-slots.ts) and MetadataActivationRow.packageId (packages/core) both spell it so. True.
  • First consumer, the toggle door: it compares the row's packageId with the admission's package by string equality. The admission's package is the same string flowSlotView passes to toggleFlowSlot, which looks the slot up by it, and the row's value is that slot's own packageId. So the row the door picks is the slot it switched, by construction.
  • The method docblock in the same file (getFlowRuntimeStates, "One entry per registered flow") still holds: each slot is one registered flow.

packages/services/service-automation/src/flow-definitions.ts and engine.ts (implementing). The code agrees with the contract. The stamp is on every row, a one-holder name's included, so a reader may always pick by both members. FlowRuntimeStateRow replaces two copies of one inline type with the contract's own type; the wrapper's host passes flowSlotPackage. The engine docblock's new paragraph says what the body does.

packages/runtime/src/domains/automation.ts (implementing). The read-back is right, and I could not break it:

  • The package is recorded only on the branch where flowSlotView actually served a slot, so a bare door with no slot entries keeps the by-name read of one row.
  • A slot admission is built only for a name two packages hold (automation-address.ts), so a name one package holds never takes the package filter and cannot lose its read-back to a package-less slot's row.
  • A key that moves in flight (the other holder withdrawn, the slot re-filed under the bare name) does not matter: the filter reads the slot's package, never its key.
  • The card's race: the switch awaits its durable write, the slot is republished obsolete, the row then reads enabled: false, and the answer follows the row. Closed.

Findings:

  • S1 (should-fix) — packages/runtime/src/domains/automation.ts, the route table above handleAutomationRequest (the POST /:name/toggle entry, about lines 3890 to 3896 at this head) still says the 200 answer is read back "while the name has one row there (echoed by a service that does not implement that read, and for a name two packages hold, which reads one row per holder)". This PR removes exactly that echo, and the card's Expected says it goes. The file's own written contract for the door now contradicts the code forty lines of logic below it. Fix: reword the entry to the new rule (read back from the switched flow's row, picked by package and name where a slot is served; echoed only by a service without the read or a reading that holds no row of the switched flow).
  • N1 (nit) — the door's new comment and the changeset each name two echo cases, and the code has a third: rows.length === 1 also echoes when two or more rows match, which a door serving no slot meets on a name with two rows. The PR body argues that case is not reachable in the composed runtime (the bare toggleFlow refuses a shared name), and I agree, so the wording is incomplete, not wrong in practice. May be folded into the S1 rewording, or left.

No must-fix. The verdict is PASS; S1 earns a delta review of its fix on the new head.

Implemented-by: claude/issue-34891-status-row-package
Reviewed-by: session_01ADHkmSAjFEZHRpRq3WCj6z

VERDICT: PASS

…name the same echo cases

The route table's POST /:name/toggle entry still described the echo for a
name two packages hold, which this branch removed. All three texts now say:
read back from the switched flow's row, by (packageId, name) where a slot
is served; echoed only without the read, with no row of the switched flow,
or with two or more rows on a door serving no slot (unreachable: the bare
toggleFlow refuses a shared name). No logic change.

Claude-Session: https://claude.ai/code/session_01ADHkmQJUGAAa5rz9Yi2DvW
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmQm8PTU4AkVU5kdwEv
L1-a, the seat's L1 thread · 2026-11-30T00:38Z · delta review

席位核对

ACCEPT @ 000ed6617e773168c768d6d7d142795da3495ac8 (card #34891, Fixes, zone o3-P). ACCEPT 7264404718 carries over to this head. This round carries the seat's L2 PASS 7265066590, item S1 with N1 inside it.

  • The delta is one commit, text only. Its parent is 72f56b41, the head ACCEPT 7264404718 judged. The filter and the rows.length === 1 read do not change.
  • The three places now name the same three echo cases. They are the route table's toggle row (automation.ts:3893-3902), the door comment (:4574-4580) and the changeset's second paragraph. Each case is true against the code:
    • a service with no getFlowRuntimeStates gives rows = [];
    • a reading with no row of the switched flow also gives [];
    • on a door serving no slot, two or more rows of the name give rows.length !== 1, so state is undefined and the request is echoed.
  • "The composed runtime never reaches that last case" is true. The engine's bare toggleFlow (engine.ts:7831-7844) resolves servedBareFlowKey(name), and per its own comment a name two packages hold is refused with 409 naming both. One served holder is switched, and none is not found. A name two packages hold reaches the door's read-back through a slot (flowSlotView), where the (packageId, name) filter applies.
  • Changeset, re-read sentence by sentence. Only the second paragraph's last sentence changed, and it is true as above. The rest stands as read in 7264404718.
  • Still owed before landing, unchanged from 7264404718: the claim amendment for flow-slots-per-package.test.ts, if it is not yet recorded, and CI green at this head. CI was still running when the zone wrote at 00:37Z.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract-review-claim: session_01ADHkmSAjFEZHRpRq3WCj6z · head 000ed66 · 2026-11-30T01:08Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 000ed6617e773168c768d6d7d142795da3495ac8
Local-runs: none
Scope: packages/spec/src/contracts/automation-service.ts + packages/services/service-automation/src/flow-definitions.ts, packages/services/service-automation/src/engine.ts, packages/runtime/src/domains/automation.ts
Security-touching: no
Rule-change-verified: none

Delta round over 72f56b41760d1e24a27829f99d2fde849c86829b (my record on that head: PASS with S1 and N1). PR #38652, card #34891. Read this round: the one commit between the two heads (000ed6617e, "docs(automation): the toggle route entry, door comment and changeset name the same echo cases"), its two files at the new head, the PR body as it now reads, and the check-runs on the new head. Everything the first record judged outside these two hunks is byte-identical between the heads and stands as judged there.

  • S1: closed
  • N1: closed

① Derived judgments

  • The delta moves no executable line. packages/runtime/src/domains/automation.ts changes in two places, +15 -5: the POST /:name/toggle entry of the route table (a block comment above handleAutomationRequest) and the line comment above the read-back in the toggle arm. Every added and removed line is comment text; the rows filter, the rows.length === 1 read and the response line are untouched. The other file is the changeset body, one sentence.
  • Accept set and public surface: unchanged from the first record. FlowRuntimeState.packageId? stays the one optional member; the _status wire and the toggle's 200 shape are as judged. Nothing new is published by this commit. Right.
  • Gate verdicts on the new head: 62 check-runs success, 13 skipped, none failed, none pending.

② Semver level

Clause-②: yes (widening) — unchanged on the PR body and in the changeset, and still what the diff publishes.

The changeset frontmatter is untouched: patch on @objectstack/spec, @objectstack/service-automation and @objectstack/runtime, the level Metadata-protocol: none takes. The edited sentence changes wording only and adds no claim that would move the level.

③ Boundary flags

  • No new dev flag and no open_questions entry arrived with this commit. The first record's answers stand.
  • SQL push-down: not touched; the commit holds no code.

④ Design judgment

packages/spec/src/contracts/automation-service.ts (hits). Not touched by the delta. The first record's judgment stands on this head.

packages/runtime/src/domains/automation.ts (implementing), the delta. Read sentence by sentence against the code at this head:

  • Route table: "read back from the switched flow's getFlowRuntimeStates row: where the door serves one package's slot, the row of (packageId, name); elsewhere the name's one row." That is the filter: by name, and by flowSlotPackage when the door recorded one. True. This is the rule S1 asked for, and the removed text (the co-held echo) is gone.
  • Route table, door comment and changeset now name the same three echo cases: a service without the read; a reading that holds no row of the switched flow; two or more rows of the name on a door serving no slot. Those are exactly the cases in which rows.length === 1 is false or the read is absent. The three texts agree with each other and with the code. N1 is closed by that.
  • The PR body's "What changes" bullet names the same three.

Finding:

  • N2 (nit) — the reason given for "the composed runtime never reaches the third case" is shortened in two of the three texts. The route table and the changeset say only that the bare toggleFlow refuses a name two packages hold. The engine's bare toggleFlow judges the name over the served holders (servedBareFlowKey, ADR-0150: the flow doors held at main under R4-G judge the served holders (what a disabled holder's flow slot answers) #33386): with one served holder left it switches that holder's slot and refuses nothing, while the disabled holder's slot keeps its row. What keeps the case unreached there is the other half, which only the door comment states: with a registry the bare door takes a slot admission for such a name and serves it through flowSlotView. The conclusion is true in all three texts; the stated reason is complete in one. No effect on behaviour or on the contract. May be left as it is, or fixed with the next change to these lines.

No must-fix, no should-fix.

Implemented-by: claude/issue-34891-status-row-package
Reviewed-by: session_01ADHkmSAjFEZHRpRq3WCj6z

VERDICT: PASS

@objectstack-fleet objectstack-fleet Bot removed the needs:contract-review Marker only — PR awaits its at-tier Contract review PASS; no check reads it, the record decides label Nov 30, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmQJUGAAa5rz9Yi2DvW

Landing · 2026-11-30T01:15Z · head 000ed6617e773168c768d6d7d142795da3495ac8 · ACCEPT → PR #38652 comment 7265458606 (delta; first review 7264404718) · Contract review PASS 7265910828 (delta; first 7265066590)

Probe Reading
check-governed-merges.mjs --pr 38652 NOT governed (0 of 8 paths hit the register); 241 changed lines ≤ 3000
landing-k.mjs --pr 38652 K = 6 < 15; no locale pack; no shared book moved

Checks: every check-run at this head is green or an expected skip, with 0 failed (pr-state.mjs). mergeable_state was clean before the label-triggered Check Changeset re-run. The seat routed the landing (2026-11-30T01:11Z): not governed, widening limb only, so no four-piece handoff; the zone readies the PR and arms auto-merge. State: ready + auto-merge armed through the relay; Fixes #34891 closes the card on merge. Carrier owed after merge: the ADR-0150 D4 row on the weekly ADR card #38438.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 30, 2026 01:15
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit 4d5cfa9 Nov 30, 2026
79 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-34891-status-row-package branch November 30, 2026 01:42
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…s five records) (objectstack-ai#38774)

<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBHuLciv5hYVYUu4pypDP48J)_

Part of objectstack-ai#38438

Clause-②: no
Metadata-protocol: none

This pull request carries seven of the card's nine rows. The two
ADR-0161 rows stay on the card; see "Rows not carried".

## 维护者速读

- 用户能看到什么变化:用户无感;只在五份设计记录里补了七条带日期的说明,写明主线现在实际怎么做,原有的决定文字一个字没动。
- 为什么做:属于「每周设计记录修订」滚动清单(11 月 29
日这一周);清单每一行指出一处「记录写的和主线不一致」或「记录留给某项工作回答、那项工作已经做完」,这次把代码已在主线的七行一并补齐。
- 出错会怎样:最坏是某条说明写得不准,照着设计记录干活的人会被带偏;纯文档、只增不删,可以直接撤回,不影响任何功能。
- 要你做什么:请审这七条说明并批准一次(设计记录须由你本人批)。

## What changes

Five ADR files gain seven notes dated 2026-11-30. Every diff line is an
addition: 62 lines added, 0 removed. No original decision text is
rewritten, and no decision changes. Each note follows the note
convention its own record already uses, and each says that the passage
it is read with is left as written.

Each row's "what is true now" was read against the code on `main` before
its note was written. Where a row's wording did not match the tree, the
note says what `main` does; the last column says so and the list under
the table gives the detail.

| ADR · section | Was (the record's words) | Now (what the note records)
| Source PR | Row on the card · result |
|:---|:---|:---|:---|:---|
| ADR-0084 · amendment of 2026-11-28, item (3) | "one landing for every
door is not ruled"; the command palette's package entries, an app's
design-in-Studio entry, the empty menu's entry and Setup's doors "still
open the object list" | One landing is ruled: ruling record 7247357556
on objectstack-ai#37958, the maintainer's 「OK」, quoted with its question. Every door
lands on the package's overview, `/studio/PACKAGE/overview`.
`/studio/PACKAGE/data` stays a working address for the object list. The
review-changes deep link still opens the Changes drawer over the object
list and is read as no door, by a seat reading and not by a ruling |
objectstack-ai#38501 | Card body row and 7252442785 · **written, corrected to the
tree** (two labels, the date) |
| ADR-0084 · the note of 2026-11-29 on the `form` row (near line 219) |
"The same change takes the type off the directory's hidden types and
brings its designer" | True of card objectstack-ai#37087, loose for the change: objectstack-ai#38484
brought the designer, and objectstack-ai#38619, which wrote the row, lists the type
(off the hidden types, a place in the menu) | objectstack-ai#38484, objectstack-ai#38619 |
7258423977 · **written as an added note** (the row says "Reword") |
| ADR-0037 · TL;DR item 2 and the "What already exists" table | "the
streaming build tree (`data-build-progress` parts)", and a table row
that marks "`data-build-progress` stream parts" shipped | The
build-progress stream frame is retired. Its reader left with the build
chat frontend, its producer with the cloud build loop, and its
declaration left `@objectstack/spec/ai`. The upgrade guidance is the
migration entry `ai-build-progress-frame-retired` | objectstack-ai#38398 (reader:
objectstack-ai#37720) | 7250363289 · **written** (one sentence beyond the row) |
| ADR-0150 · the note of 2026-11-26, bullet "Reads stay the missing
name" | "Three reads at `_env` still answer `409` at this head
(`?state=draft`, `?preview=draft`, `?layers=true`), and card objectstack-ai#34261
carries their move to `404`." | The move has landed. For a name only
disabled packages hold, each of the three answers its own `404` and
names no package, on both transports. An enabled package's stored draft
that the plain read does not see keeps the `409` for the two draft reads
| objectstack-ai#38633 | 7259890438 · **written, corrected to the tree** (codes and
callers made exact) |
| ADR-0150 · D4, the engine's flow-map row | The table keys the engine's
flow map by `(package, name)` and says nothing of the status rows read
from it | Each status row carries the `packageId` of the engine slot it
reads, so `(packageId, name)` names one row. The toggle door reads back
the row of the slot it switched, and echoes the request only where the
reading cannot name that flow | objectstack-ai#38652 | 7266385586 · **written** |
| ADR-0085 · the note of 2026-11-27 | "Neither key is in the spec yet:
`ObjectSchema` is strict and refuses both until objectstack-ai#37792 lands
`pinOverview` and objectstack-ai#37802 lands `fieldTabs`." | `pinOverview` is in the
spec, an optional boolean on `ObjectSchema`; `false` means the desktop
full record page never pins. An object extension does not carry the key.
`fieldTabs` is still refused | objectstack-ai#38679 | 7271302663 · **written**, no
`fieldTabs` line |
| ADR-0146 · the note of 2026-11-24 (near line 908) | "A `.custom`
package that is not the object's pair is not applied, and the boot log
names it." | Maintainer ruling 7268226134 on objectstack-ai#36548, item 5, arm (c),
verbatim 「保存和安装都拒绝」. A non-pair `.custom` package that writes
`fieldGroups`, `relatedLists` or `actionLayout` on an object extension
is refused at the save, the restore, the draft promotion, a package
duplicate and marketplace install. Where no door can read the installed
packages, the sentence stands | objectstack-ai#38706 | 7272564306 · **written,
corrected to the tree** (statuses; the duplicate's answer corrected in
patch round 1) |

### Rows not carried

- **ADR-0161, two rows** (Consequences, "The service keeps none of its
own"; K7 components table, "Split algorithm version"). The claim for
this pull request leaves that file out, because pull request objectstack-ai#38764 was
open on the same record when the claim was written. objectstack-ai#38764 merged at
2026-11-30T13:15:16Z, while this branch was being verified, and the
prerequisites both rows name (objectstack-ai#38307, objectstack-ai#38401, objectstack-ai#38375, objectstack-ai#38452) are
merged. Pull requests objectstack-ai#38730 and objectstack-ai#38732 (card objectstack-ai#38692) are still open and
both write ADR-0161, so that record still has other writers. By the
seat's call on the card (comment 7280598106) the two rows stay on objectstack-ai#38438
behind them, and this pull request is `Part of objectstack-ai#38438`.
- **ADR-0085, a `fieldTabs` line.** Its pull request, objectstack-ai#38742, was open
and a draft when this was opened (read at 2026-11-30, head
`59220bf331`). The card says that line follows when it merges.

Every prerequisite of the seven rows is merged on `main`: objectstack-ai#38398,
objectstack-ai#38501, objectstack-ai#38484, objectstack-ai#38619, objectstack-ai#38633, objectstack-ai#38652, objectstack-ai#38679 and objectstack-ai#38706. The newest
comment on the card when this was opened is the claim, 7279134045; a row
added after it is not in this pull request.

### Where a note differs from its row

- **ADR-0084, item (3).** The row names Setup's doors "Open in Studio"
and "Customize in Studio". The labels on `main` are "Open in App Studio"
and "Customize in App Studio", and the note uses them. The proposed text
was dated 2026-11-29; the note is dated 2026-11-30, the day it was
written into the record. The note names the three Setup doors one by one
and says of the review-changes deep link what the row says: no door, by
a seat reading, not by a ruling.
- **ADR-0084, the `form` row.** The row says "Reword". The card's rule
is that a row lands as an added dated note, so the 2026-11-29 note stays
as written and a note under it says which pull request did which half.
- **ADR-0037.** One sentence goes beyond the row: Phase 2's first
invalidation source, the `buildProgress.items` diffs, was the same
signal as the chat held it, and no code under `ui/` holds it any more.
Cut it if the note should carry the row alone. The note also names the
producer's retirement in the cloud repository and what a host does that
still streams a progress part of its own.
- **ADR-0150, the reads.** The row's proposed sentence gives `404` for
`?preview=draft` and `?layers=true`. The note gives the code the tree
answers, `404 RESOURCE_NOT_FOUND`, says that these are the answers to a
caller admitted to the switch, and that a caller who is not admitted
gets the plain read's `404`. It adds two facts from the tree: a
package-less draft is withheld while a disabled package holds the name,
and the layered view answers `404` under the leak guard.
- **ADR-0150, D4.** The note spells out the three cases where the toggle
door still echoes the request. The row's proposed sentence leaves them
out.
- **ADR-0085.** The row offers a "Built by" line in the style of an
earlier note. The note carries it and also restates what `false` does
and why an object extension does not carry the key, both from the row's
own "what is true now".
- **ADR-0146.** The row gives one code for every door. The tree answers
`VALIDATION_ERROR` with status 400 at the save, the restore and the
draft promotion, and with status 422 at marketplace install, with
nothing installed. A package duplicate saves each copied row through the
save door and lists a refused row in its own `failed[]`, with the save
door's sentence and no code, storing nothing for that row. The note says
all three, and that no error code is minted.

## Patch round 1 (head `04cc5911`)

The contract review at `947b7e64` (comment 7280965486) passed with one
should-fix: the ADR-0146 note put `VALIDATION_ERROR` / 400 on the
package duplicate. Commit `04cc5911` corrects this branch's own
2026-11-30 note to the tree (`duplicatePackage` reports the refused row
in `failed[]`) and adds one sentence from item 3 of ruling 7268226134 (a
target whose owner the door does not know is not judged by role). Only
that note moves: +9 / -3 inside it, and the branch is still +62 / -0
against `main`. Dev report: card comment 7281379369. Sections below that
name `947b7e64` record the first round.

## Tests

Docs only. No package source is touched, so no package test and no type
check is owed for the change. No tested behaviour changed, so there is
no ablation.

Checked on the committed text at `947b7e64`:

- Each phrase a note quotes from its ADR is in that file as it stands on
`main`. A script compared them. One quotation, in the ADR-0085 note,
reads as the sentence renders: the record links its two card references
and the quotation does not.
- Each verbatim maintainer quotation was compared with its record on
GitHub (7247357556 and 7268226134).
- Each path a note cites exists on the tree. The one exception is
deliberate: the ADR-0037 note names
`packages/spec/src/ai/build-progress.zod.ts` to say that the module is
gone.
- Each test title a note quotes is in the test file the note names.
- A probe on the spec source: `ObjectSchema` accepts `pinOverview:
false`, refuses `pinOverview: "no"`, and refuses `fieldTabs` as an
unrecognised key; `ObjectExtensionSchema` refuses `pinOverview` as an
unrecognised key, with its guidance.
- Upstream moved four commits while this was written. The branch merges
`main` at `f576dee5`; none of the four touches one of the five files or
a path a note cites. `overlap-check` answers `VERDICT clean exit 0`
against that `main`, and no open pull request shares a file with this
branch.

Two tests read these records from disk. Both were run on `947b7e64`
under the verify lock, after building what each needs:

-
`ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.test.ts`
reads ADR-0084's type table: `Test Files 1 passed (1)`, `Tests 21 passed
(21)`.
- `packages/qa/scenarios/test/score/entry.test.ts` reads ADR-0150's D1
table: `Test Files 1 passed (1)`, `Tests 14 passed (14)`. Its first run
answered `Failed to resolve entry for package "@objectstack/types"`, a
missing build in the fresh worktree and no verdict on this change; it
passed once that package's build closure was built.

The local gate set is the `dispatch-gates --commands` derivation for
this change set, 21 commands, run on commit `947b7e64` (patch round 1
ran the same 21 on `04cc5911`, all exit 0). Each exit code was captured
before any pipe. Reconciliation: `Run reconciliation — 21 derived, 21
run, 0 NOT-MEASURED, 0 UNRUN`. The same 21 were derived and run on the
commit before the merge, with the same result.

<details><summary>ADR gates on 947b7e6 (all exit 0)</summary>

| Command | Exit | Verdict line |
|:---|:---|:---|
| `pnpm check:adr-symbol-anchors` | 0 | `check-adr-symbol-anchors: 4597
anchors across 165 records resolve`, 0 line anchors survive. On the base
commit the gate read 4570, and 4593 with this change alone; the other
four come with `main`. |
| `node scripts/check-adr-links.mjs` | 0 | `check-adr-links: 1284
relative link destination(s) under docs/adr/ resolve` |
| `node scripts/check-adr-links.mjs --self-test` | 0 | |
| `pnpm check:adr-anchors` | 0 | `check-adr-anchors: OK (135 anchored
file(s), every governing ADR still referenced` |
| `pnpm check:adr-index` | 0 | `adr-index --report: OK —
docs/adr/README.md is current, every record parsed` |
| `pnpm check:doc-authoring` | 0 | |
| `pnpm check:nul-bytes` | 0 | `check-nul-bytes: OK (scanned 29015 text
file(s)`, no raw control bytes |
| `pnpm check:closed-ceremony-text` | 0 | |
| `pnpm check:pm-governed-merges` | 0 | |
| `pnpm --filter @objectstack/lint run check:doc-formula-expressions` |
0 | run after building `@objectstack/spec`, `@objectstack/formula` and
`@objectstack/lint` under the verify lock |

</details>

<details><summary>The other derived families on 947b7e6 (all exit
0)</summary>

`node scripts/check-closing-keyword-parity.mjs` and its `--self-test`,
`node scripts/check-comment-mask-corpus.mjs`, `node
scripts/ci/plan-test-core-shards.mjs --self-test`, `pnpm
check:ci-filter-parity`, `pnpm check:cross-package-test-inputs`, `pnpm
check:driver-memory-census`, `pnpm check:gitlink-declared`, `pnpm
check:pm-prior-rulings`, `pnpm check:refd-timer-probe`, `pnpm
check:watch-hint-literal`.

Before the last push: `node scripts/check-commit-card-trailers.mjs
--range origin/main..HEAD` exit 0, two commit messages (three after
patch round 1, also exit 0), no card relation and no model identifier in
the trailer pair.

</details>

<details><summary>A local-only reading that is red for a reason outside
this change</summary>

`pnpm check:dev-prereqs` exits 1 in this worktree: "The workspace is not
built", 105 of 110 workspace packages have no build output. It judges
the machine and not the diff, CI does not run its scan, and a fresh
worktree that builds only what a docs change needs reads this way. It is
not in the derived list.

</details>

Not run locally: the repository test project behind `test:repo`, and
every package suite. CI runs them on the pull request and on the merge
group. Every other family CI runs is read from this pull request's check
runs, not re-run here.

## Acceptance notes

- **Changeset.** None, and the pull request carries `skip-changeset`.
`docs/adr/**` ships in no package.
- **Governed surface.** `docs/adr/**` lands on the maintainer's
approval. This pull request stays a draft; the seat arranges the review
at the tier this surface owes and hands it over.
- **Why "Part of".** The card says it ends when its pull request merges.
Two of its rows are not here, so merging this one must leave the card
open.
- **Seen and left alone.** These are outside the seven rows and are not
changed here.
- ADR-0037's Status line says all four phases are implemented. On this
tree the console's canvas-invalidate signal has a subscriber and no
publisher: nothing calls the bus function that emits it. It is a
candidate row for the card of this name.
- ADR-0150's D4 note of 2026-11-10 gives its own end condition, an
earlier card landing. That card ended on 2026-11-12, and the record
carries no line that says so. A possible row; not judged here.
- Comments in the chat plugin still name the retired build-progress
part, and one test fixture uses the name as an open `data-` part. Not a
record, so not a row.

## Verification

### Read first

1.
`docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md`,
the note of 2026-11-30 under the note of 2026-11-24. The highest-risk
hunk: it quotes a maintainer ruling, and it draws the line between the
doors that refuse and the places where the old sentence still stands.
Check the two statuses and the list of places with no door.
2. `docs/adr/0084-application-builder-information-architecture.md`, the
amendment of 2026-11-30 under the amendment of 2026-11-28. It quotes a
maintainer ruling and lists every door; check the list, and the sentence
on the review-changes deep link, which records a seat reading and says
so.
3.
`docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md`,
the first amendment note of 2026-11-30. Check the three answers, who
gets which, and the leak-guard paragraph against the tests it names.

### Two-minute check

Run `git diff --numstat origin/main...HEAD` on this branch. Expect five
rows under `docs/adr/`, each with `0` in the removed column, and 62
added lines in total (2, 4, 18, 28 and 10). Then run `pnpm
check:adr-symbol-anchors` and expect exit 0 with a line that contains
`anchors across 165 records resolve`.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01WGufzhPdWmTd47Fi2bKYZS)_

<!-- signed: repo:objectstack@os-support-ai · os-support-ai ·
session_01WGufzhPdWmTd47Fi2bKYZS -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants