Skip to content

feat(spec,objectql): the closed-state refusal's own sentences, in every locale (closedStates slice C, ADR-0162 D8) - #38516

Open
objectstack-fleet[bot] wants to merge 14 commits into
claude/o5-data-approvals-trunkfrom
claude/project-thread-vjkpld
Open

objectstack-fleet[bot] wants to merge 14 commits into
claude/o5-data-approvals-trunkfrom
claude/project-thread-vjkpld

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread

Part of #37768

Clause-②: yes (widening: new keys in the published Operation Message Catalog and the upload-link copy; contract-review-tier review owed)
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:业务用户改动、删除一张已关闭(已结清、已完成)的单据或它的明细时,看到的是用自己语言写的一句话,说清是哪张单据、为什么改不了。
  • 为什么做:这是「单据关闭后锁定」这项能力的第三部分,补上用户看到的提示文字;前两部分(锁本身、审批状态写回)已在同一主干上。
  • 出错会怎样:最坏是提示句措辞不准或落成笼统说法,锁本身照常拦截、数据不受影响;本改动只换文字,可整体撤回。
  • 要你做什么:无(合同层评审由席位按档安排)。

What changes

This slice gives the closed-state refusal (409 RECORD_LOCKED, ADR-0162) the person-facing sentence D8 rules, in every locale each surface carries. Lands on the trunk claude/o5-data-approvals-trunk (978bb2b: bfe2df8 plus #37766 slices C and B, the opening-refusal lead #38546 and #37767 piece 3 #38540, merged into this branch with --no-ff at 26b9eec, 470235d, 63d1e62 and 8b1644b); the trunk's own PR carries the card.

New catalog keys (packages/spec/src/system/operation-message.ts, BUILTIN_OPERATION_MESSAGES), in en, zh-CN, ja-JP and es-ES. The en sentences, for review:

key en
record_closed {{object}} '{{title}}' is closed, so it and its lines can no longer be changed or deleted
record_closed_unlabeled '{{title}}' is closed, so it and its lines can no longer be changed or deleted
record_closed_untitled This {{object}} is closed, so it and its lines can no longer be changed or deleted
record_closed_opaque This record is closed, so it and its lines can no longer be changed or deleted
record_closed_delete_blocked {{object}} '{{title}}' cannot be deleted: deleting it would also remove a closed {{blockingObject}} or one of its lines
record_closed_delete_blocked_untitled This {{object}} cannot be deleted: deleting it would also remove a closed {{blockingObject}} or one of its lines
record_closed_delete_blocked_opaque This record cannot be deleted: deleting it would also remove a closed record or one of its lines

Upload-link page: a closed-state refusal reaches the page with the engine's declared catalog sentence as its userMessage, and the page shows that sentence (storage-routes.ts relayUploadLinkRefusal). The page's recordLocked answers only a RECORD_LOCKED with no declared sentence. upload-link-copy.ts also gains recordClosed in all 11 languages, en: Nothing was attached: the record is closed, so no file can be added to it.; choosing it by the lock read's reason stays with item 2.

The engine words the refusal (packages/objectql/src/closed-state-lock.ts):

  • The refusal names a title only from a field that holds display text and that the writer's generic read returns: the display field gives no title when it is a field the generic read withholds (internal, or a credential type: collectInternalReadFields, collectCredentialFields), a reference field (REFERENCE_VALUE_TYPES), or a field the object's closedStates names.
  • The title is also one the writer is served: the security service's getReadableFields and getQueryableFields for the writer both hold the field. The service comes from the engine's existing security-service slot (the one ObjectQLPlugin fills). An empty slot, or a source that answers null or nothing, is no field-level security, so the title is served. So it is when the source throws and no security service is registered at all: ObjectQLPlugin fills a second slot beside the source (SECURITY_SERVICE_REGISTERED_SLOT, not public surface) with a probe that answers whether one is registered, read without building one, and only this title rule reads it. A source that throws for a service that is registered (a factory that throws, or one the sync accessor does not build), a service that cannot say, or a field the writer is not served or is served masked, gives the label form. The rules on which field a title is read from apply first, on every kernel.
  • A record's own write (by id): titled, or the label form. A predicate write: the label form.
  • A line's write, a new line, a line moved, a line restored: the master's label alone (record_closed_untitled of the master).
  • A delete refused for what it would also remove: the record asked to be deleted, plus the label of the object in the way. The root's title is used only when the delete names exactly one record by id and its title is served; a delete that names its rows by a predicate, one row matched or many, takes the untitled form.
  • An object with no label: the _unlabeled / _opaque forms. Never the API name.
  • On the error: userMessage = the sentence; message = RECORD_LOCKED: followed by the sentence (the pending lock's shape); developerMessage = the developer sentence (API names), which the REST layer does not relay. No new member on the published error body; ClosedStateRefusalWording is module-internal (not exported from the package index).
  • packages/objectql/src/plugin.ts sets the registration probe beside the security source. The probe answers false only on the kernel's branded "never registered" rejection (isServiceNotRegisteredError); a factory-registered service the sync accessor refuses ("is async") counts as registered and is not built. Every other reader of the source slot (the ReadableIds resolution, the search's queryable-field read) reads only the source and answers as before.
  • Plumbing only: engine-cascade-planning.ts, engine-delete-and-aggregate.ts and engine.ts pass facade, validationMessageContext and logger into the hosts that judge the cascade and the delete, and the by-id delete passes the id it names to the cascade. engine.ts keeps its line count (the facade ceiling).

Measured answers to the four mechanism assumptions

  1. Held. At the trunk tip (bfe2df8) the refusal carried only the developer message, with no userMessage. REST mapDataError writes the message (without its CODE: head) to the body's error, which the Console toast shows. Pinned on the wire now (closed-state-refusal-wire.dogfood.test.ts): error and userMessage both carry the catalog sentence; developerMessage, reason, lockReason and blockingObject are not in the body.
  2. Held in part; no new seam needed. The pending lock (plugin-approvals lifecycle-hooks.ts, lockedError + recordTitleOf) carries its sentence as userMessage and RECORD_LOCKED: sentence as message, and REST relays a declared userMessage (withDeclaredUserMessage). The engine reaches the same field-permission reading through the security-service slot objectql already owns (SECURITY_SERVICE_SOURCE_SLOT), with a registration probe beside it in a second internal slot (SECURITY_SERVICE_REGISTERED_SLOT, not public surface). No dependency on plugin-approvals, no new service, no new published type or error member. So no needs_decision.
  3. Counted from the tree. The catalog carries 4 locales (en, zh-CN, ja-JP, es-ES), and each new key is in all 4. The upload-link copy carries 11 (one per platform locale tag, as its test pins), and recordClosed is in all 11.
  4. Approval mirror held; assignment rules: there is no write to exempt. The approval status mirror's pending (on opening) and approved (on decision) both land on a record closed by another field. They are system writes, and the caller's own write is refused 409 between and after (closed-state-system-writes.test.ts). The assignment rules write no stored record: the engine evaluates them only on a row it is inserting, before the write, and an update never evaluates a rule (assignment-rules.ts docblock, "An update never evaluates a rule"). A caller inserting a row already in its closed state has it routed, and the insert lands (an insert of the record itself is not judged). The caller's later write is refused, and the refused update ran no rule.

Tests

  • packages/spec/src/system/operation-message.test.ts, new describe for the D8 keys. Checks: each key in every locale with placeholder parity; translations differ from en; each form differs from its pending twin and carries no approval word; no RECORD_LOCKED, closedStates, master_detail, _id or cascade wording; distinct from every other key; zh and ja render, de falls back to en; a deployment override wins.
  • packages/services/service-storage/src/upload-link-copy.test.ts: recordClosed exists in every platform locale and differs from recordLocked; a RECORD_LOCKED with no declared sentence reads recordLocked; the table's locales equal the platform's.
  • packages/qa/dogfood/test/closed-state-refusal-sentence.test.ts, engine over SQLite with a field-security stand-in in the engine slot. Covers:
    • titled, unread-field and masked-field forms, and no service at all;
    • a security-service source that throws gives the label form, and one that answers null gives the title;
    • a title field the generic read withholds (internal, credential), a reference title field, and a title field closedStates names: the label form on the record's update, its delete, and a cascade-delete root, with a display-text control;
    • a delete that names its rows by a predicate takes the cascade's label form, one row matched or many;
    • a service lacking getQueryableFields falls to the label form;
    • predicate writes;
    • line update, delete, create and move, all with the master label;
    • cascade titled and untitled, and a cascade through a lookup reaching a closed invoice's line;
    • many-root delete;
    • unlabeled and opaque forms;
    • zh-CN and es-ES;
    • restore;
    • developerMessage keeps the API name;
    • could-not-judge carries no userMessage;
    • a title read that fails on the refusal path is reported at warn and the refusal stands in the label form (ablation: with the report removed from the rebuilt dist, this case goes red with expected [] to have a length of 1);
    • ablation for the title-field, source and named-ids rules: with the three rules reverted in a rebuilt dist, the 6 cases above go red, and they are green with the rules restored.
    • Every case asserts code + status, and every person-facing string is checked for the absence of every API name, record id and state value.
  • packages/qa/dogfood/test/closed-state-refusal-wire.dogfood.test.ts, bootStack with the real SecurityPlugin. Covers:
    • titled update;
    • the field-withheld writer gets the label form (control: its read carries no title field);
    • closed delete;
    • line update and create;
    • cascade delete, titled;
    • zh-CN;
    • what the wire does not relay;
    • D10 at the security layer: object permission refuses, so the closed and open records give the same status and body (403 PERMISSION_DENIED); row access refuses, so the same body with the ids normalized (control: the owner gets 409).
  • packages/qa/dogfood/test/closed-state-system-writes.test.ts: the approval mirror and assignment-rule results above. The host runs the approvals sweeps (noteSweepClockScheduled), as Approvals: refuse an approval that cannot show itself on a closing field when it opens, and never write a closed value for an abandoned request (ADR-0162 item 7) #37766 slice B's opening check requires. It registers no security service, so the caller's refusal there names the record's title.
  • packages/qa/dogfood/test/closed-state-refusal-security-source.test.ts, real ObjectKernel with ObjectQLPlugin, by what the kernel registers under security. Covers:
    • no security service registered: the title on update, delete and a cascade-delete root;
    • on that kernel, a title field the generic read withholds (internal, credential), a reference title field and a title field closedStates names: the label form, on update, delete and a cascade-delete root;
    • a security service registered as a factory that throws: the label form;
    • a security service registered as a factory the sync accessor does not build: the label form, and the refusal builds nothing (the factory's call count and the other readers' answers are the same before and after);
    • the other readers of the source (resolveReadableIdsSecurity, resolveSearchQueryableFields) give the same answer before and after a refusal, with no service registered and with a factory that throws;
    • a source that throws with no probe beside it: the label form.
    • Ablation: with the probe read removed from the rebuilt dist, the no-security title case here and both system-writes cases go red (3 failed, 8 passed). With the "is async" line removed from the probe, the builds-nothing case goes red. All are green with the source restored.
Suite readings (head 8b1644b, the merge of trunk 978bb2b; the slice's 14 paths are byte-identical to 37e4afa)
  • On the merged tree 8b1644b, closure rebuilt first: plugin-approvals full suite (138 files / 2142 passed) and typecheck; the slice's dogfood files with closed-state-lock.test.ts (5 files / 108 passed, closed-state-system-writes 2/2) and dogfood typecheck; objectql registry-closed-state-fold.test.ts and federated-injected-column-readers.test.ts (2 files / 18 passed) and typecheck; spec operation-message.test.ts (112 passed) and typecheck; service-storage upload-link-copy.test.ts (7 passed). Every run VERDICT command-exit 0.

  • On the earlier merged tree 63d1e62 (trunk d313098), closure rebuilt first: plugin-approvals approval-opening-refusal.test.ts and approval-opening-check-37766.integration.test.ts (2 files / 15 passed) and typecheck; objectql registry-closed-state-fold.test.ts and federated-injected-column-readers.test.ts (2 files / 18 passed) and typecheck; spec operation-message.test.ts (112 passed) and typecheck; service-storage upload-link-copy.test.ts (7 passed); the slice's dogfood files with closed-state-lock.test.ts (5 files / 108 passed). Every run VERDICT command-exit 0.

  • The readings below were taken at 37e4afa (the 7f9538f tree plus the changeset), before the merge.

  • pnpm --filter @objectstack/objectql typecheck then the full objectql vitest run: Test Files 644 passed (644) · Tests 14559 passed. VERDICT command-exit 0, at 7f9538f's tree.

  • Dogfood: closed-state-refusal-security-source (9), closed-state-refusal-sentence (19), closed-state-refusal-wire.dogfood (9), closed-state-system-writes (2) and the trunk's closed-state-lock.test.ts: 5 files / 108 tests passed, then dogfood typecheck. VERDICT command-exit 0. The closure (@objectstack/dogfood^...) was rebuilt from this tree first.

  • service-storage upload-link-copy.test.ts (7 passed) and typecheck; spec operation-message.test.ts (112 passed) and typecheck. VERDICT command-exit 0. This round changed only docblocks in those two packages.

  • Earlier rounds, sources unchanged since: service-storage full test (88 files, 1745 passed, 1 skipped); spec full test (915 files, 28942 passed, 1 todo, at 67dd8de); plugin-approvals opening-check and status-mirror integration files (4 files / 112 tests).

Acceptance notes

Verification

Read first, by risk:

  1. packages/objectql/src/closed-state-lock.ts, titleFieldOf, titleFieldIsServed and servedTitleOf, with packages/objectql/src/plugin.ts securityServiceRegistered: the rules that decide whether a title appears.
  2. closed-state-lock.ts, judgeClosedStateCascadeSet, and engine-cascade-planning.ts cascadeDeleteRelations: the named ids decide titled versus untitled for a cascade.
  3. packages/spec/src/system/operation-message.ts: the seven new keys in four locales.

Two-minute check: pnpm --filter @objectstack/dogfood exec vitest run --maxWorkers=2 test/closed-state-refusal-wire.dogfood.test.ts. Expect 9 passed, including "a writer whose field permissions withhold the title field is told the label form, never the stored title".

Gates (run at 37e4afa; reconciled at 8b1644b)
  • node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack was given this slice's 14 paths (the diff against the trunk, then 4cc09b1; the same 14 paths against 978bb2b) and derived 101 commands (the 98 of last round plus check:init-service-contract, check:startup-registry-verdict and check:wildcard-fallthrough, from plugin.ts). All 101 ran unlocked at 7f9538f, one after another, each exit code captured before any pipe: 100 exited 0, and check:dual-build-cjs-loads answered PREREQUISITE NOT MET (exit 3, three packages had no dist in this worktree). After building those three it exited 0. The 21 families the changeset path derives were re-run at 37e4afa, the changeset's own commit, and all 21 exited 0.
  • --ran reconciliation, derived at 8b1644b against 978bb2b: ✓ dispatch-gates --ran: 101 derived famil(ies) accounted for — 101 run, 0 NOT-MEASURED (a DERIVED zero — all 101 recorded an exit code and none of them is 3).
  • The derivation warns that this tree is behind origin/main (by order, the trunk is not merged with main). Families CI runs on the PR are read from the PR's check-runs, not re-run here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw

…every locale (ADR-0162 D8)

Two sentence families in the Operation Message Catalog for the engine's
closed-state lock (record_closed, four forms; record_closed_delete_blocked,
three forms) in en, zh-CN, ja-JP and es-ES, and a closed-state sentence on
the upload-link page in its eleven languages. Selection on the upload-link
door stays with the one lock read.

Claude-Session: https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw
Co-Authored-By: Claude <noreply@anthropic.com>
…e, titled as the writer is served (ADR-0162 D8)

The lock's refusal now carries the Operation Message Catalog's sentence as
userMessage and as its message behind the code: the record's own write names
the object's label and the title the writer would be served under its own
field permissions (asked of the security service, never the stored title),
a predicate write and a line write take the label form (a line names its
master), and a delete refused for what it would also remove names the record
asked to be deleted and the label of the object in the way. The developer's
sentence moves to developerMessage. A refusal that could not judge the write
keeps its developer message.

Claude-Session: https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw
Co-Authored-By: Claude <noreply@anthropic.com>
…on the wire (ADR-0162 D8, D10)

Claude-Session: https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw
Co-Authored-By: Claude <noreply@anthropic.com>
… a closed record (ADR-0162 D5, D7)

Claude-Session: https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw
Co-Authored-By: Claude <noreply@anthropic.com>
…th is reported (ADR-0162 D8)

Claude-Session: https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation protocol:system 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/objectql, @objectstack/service-storage, @objectstack/spec, touching 99 documentable anchor(s).

22 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 97f9f1f236d67647b8521f0bdd500d430afbe063.

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

What this run could not see
  • 2 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 69 of 253 client-bound route-ledger rows — the other 184 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 184: 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; 125 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 — 185 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 97f9f1f236d67647b8521f0bdd500d430afbe063 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from d8ec52a849c3e4a83e34cba81f787a1fbb78b4e1 — the merge of head 8b1644b9ba4fa934bdfaff0288150cfdfff5e9aa into base 97f9f1f236d67647b8521f0bdd500d430afbe063, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older claude/o5-data-approvals-trunk 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 d8ec52a849c3e4a83e34cba81f787a1fbb78b4e1 && git checkout d8ec52a849c3e4a83e34cba81f787a1fbb78b4e1
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 97f9f1f236d67647b8521f0bdd500d430afbe063 8b1644b9ba4fa934bdfaff0288150cfdfff5e9aa && git checkout -B drift-repro 97f9f1f236d67647b8521f0bdd500d430afbe063 && git merge --no-ff 8b1644b9ba4fa934bdfaff0288150cfdfff5e9aa

node scripts/docs-audit/affected-docs.mjs --json 97f9f1f236d67647b8521f0bdd500d430afbe063

⚠️ 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 97f9f1f236d67647b8521f0bdd500d430afbe063 → 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#5 · os-project-manager · session_01FEkQ5nGQtUA88SthJbYyRw
Contract-review-claim: session_01FEkQ5nGQtUA88SthJbYyRw · head 088d94c · 2026-11-29T06:57Z

Contract-tier review (isolated sub-agent of this card thread) of slice C at this head; the record follows on this PR.

…ate slice C (ADR-0162 D8)

Claude-Session: https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw
Co-Authored-By: Claude <noreply@anthropic.com>
…he opening check now requires (ADR-0162 item 7)

Claude-Session: https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw
Co-Authored-By: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5nGQtUA88SthJbYyRw

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 088d94cb956a9bb8cdf77583468c966f8a075c01
Local-runs: none
Scope: packages/spec/src/system/operation-message.ts + packages/objectql/src/closed-state-lock.ts, packages/objectql/src/engine-cascade-planning.ts, packages/objectql/src/engine-delete-and-aggregate.ts, packages/objectql/src/engine.ts, packages/services/service-storage/src/upload-link-copy.ts
Security-touching: yes
Rule-change-verified: none

Reviewed: PR #38516 (slice C of card #37768, ADR-0162 D8), the net diff of 088d94cb95 against its base, the trunk claude/o5-data-approvals-trunk at 07f0923c5c (12 files, +1352 / -27). Read: the card body and its 12 comments, the PR body and file list, ADR-0162 D4, D6, D8, D9, D10 at the head, and the head's check-runs. The trunk's own diff against main (slices A and B) is not in scope. The tests and the changeset are the lane seat's ACCEPT at TIER_DEFAULT; code outside the diff was read to judge, not reviewed.

Check-runs on this head, as last read (69 runs). The suite did not finish: the branch moved to b95bcb4bfe at 2026-11-29T07:10Z (a merge of the trunk and one test commit) and the runs still going on this head were cancelled.

  • success (31): Build Core, Build UI Deps, Check Changeset, Check PR Size, Dogfood Regression Gate, Governed Surface Queue Guard, PR-body guards, Spec property liveness, Lint & Repo Gates, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · repo & tooling gates, the three Lint · scoped runs, Type Check · source gates, Type Check · consumer gates, Type Check · debt ledger, Live E2E UI, Test Core 2, 3, 7, 9 and 12 of 12, Flag docs affected by code changes, Auto Label, filter, both shard plans.
  • cancelled, so no verdict on this head (26): Test Core 1, 4, 5, 6, 8, 10 and 11 of 12, Type Check · workspace, Type Check UI, Build & E2E UI, Test UI 1 to 16 of 16.
  • failure (2): the roll-ups TypeScript Type Check and Test UI. Each failed on a cancelled lane and names it ("type-check lane typecheck-workspace concluded cancelled", "the Test UI shards concluded cancelled"). No lane failed on a test or a type error.
  • in progress (1): the Test Core roll-up.
  • skipped (9): Queue verdict, Borrowed queue verdict, Build Docs, Dogfood Verify CLI, the Dogfood Regression Gate matrix placeholder, Lint UI, Schedule gate, Temporal Conformance, UI Published Artifacts.

So the full Test Core and the workspace type check have no verdict on 088d94cb95. This record covers that head alone. The six files in Scope: and the changeset are byte-identical at b95bcb4bfe (git diff of the two heads over those paths is empty), so the findings below describe the new head's code too, but a record for the new head is a new record, and the cancelled gates are read there.

① Derived judgments

  • Catalog accept-set: right. BUILTIN_OPERATION_MESSAGES gains seven keys in each of the four locales the catalog carries (en, zh-CN, ja-JP, es-ES; 28 entries counted at the head): record_closed, record_closed_unlabeled, record_closed_untitled, record_closed_opaque, record_closed_delete_blocked, record_closed_delete_blocked_untitled, record_closed_delete_blocked_opaque. Each locale's placeholders match the en set for the same key. No existing entry is edited. This is D8's four forms plus the cascade's own sentence. Additive, and overridable per deployment under errors.KEY like every other key.
  • Upload-link copy: right. UploadLinkRefusalCopy gains the required member recordClosed, written in all 11 CopyLocale entries (the table's type forces every locale). The module is not exported from the package index, so no outside implementer breaks. REFUSAL_BY_CODE is unchanged, which is the card's own split (selection is item 2).
  • Error shape: right, relative to the trunk only. A closed-state refusal's message moves from the developer sentence to RECORD_LOCKED: plus the catalog sentence, and it gains userMessage and developerMessage. The lock is unreleased (slices A and B are on the trunk), so nothing published moves. code, status, reason, object, blockingObject and lockReason are untouched. On the data door the generic declared-status arm relays error, code and userMessage and none of the other members (packages/types/src/data-error-classification.ts), so D8's "nothing machine-readable names the producer" holds on the wire.
  • Package surface: right. closed-state-lock.ts is exported from neither index.ts nor core.ts of @objectstack/objectql, so servedTitleOf, closedStateRefusalSentence and ClosedStateRefusalWording publish nothing. The two host interfaces that gain facade and validationMessageContext are internal. engine.ts changes two lines in place.
  • Wiring: right. The update, insert, delete, cascade-planning and restore hosts all carry validationMessageContext, and the update, delete and cascade-planning hosts carry facade (read in engine.ts at the head). The new members are optional on ClosedStateLockHost, so a host that loses one compiles and degrades to English or to the label form; the dogfood cases pin both.
  • "The title is the one the writer would be served": wrong in one case. See S1.
  • "The page still answers RECORD_LOCKED with the approval sentence": incomplete. See N2.

② Semver level

.changeset/37768-closed-state-refusal-sentences.md takes patch on @objectstack/spec, @objectstack/objectql and @objectstack/service-storage. That matches: the three packages are the ones the source diff moves, and the kind is Metadata-protocol: none (new catalog keys and copy, no new authorable metadata key), which AGENTS.md sets at patch. The two earlier catalog-key changesets on this tree (37864, pre/37273) declare the same level and the same kind. Check Changeset is green.

Clause-②: yes (widening: new keys in the published Operation Message Catalog and the upload-link copy; contract-review-tier review owed), the same line on the PR body and in the changeset body. It matches the diff: keys are added, nothing an existing app wrote is refused, no existing sentence changes.

One sentence of the changeset body does not hold as written (N2). The changeset is a prose face and can be amended without moving what this record covers.

③ Boundary flags

  • Open question: a could-not-judge refusal keeps the developer sentence (API names on the wire's error). Answer: A for this slice, B escalated. A follows the pending lock's own split (lifecycle-hooks.ts#lockedError: its bound refusal marks no userMessage), and D8's family has four forms and none for this case, so a fifth key is a catalog widening that needs a ruling. One correction to the dev's framing: "rare and author-side" fits two of D4's three cases; the third, a state read that fails, is reached by an ordinary edit of a line. The seat files B as a decision card before the trunk lands; it does not block this slice.
  • Out-of-scope finding: a writer whose permission set withholds the title field is refused its own by-id DELETE with 403 record_access_denied. Not reproduced here (read-only). Carrier stands: the plugin-security lease seat. Its consequence for this slice is that the untitled cascade form has no wire-level pin, only the engine-level one.
  • Out-of-scope item from this review: carried by the security channel (GHSA-h2hw-3fxj-q7p5); not in this slice.
  • Deviations, each answered. The worktree branch re-created with -B, the first push ahead of overlap-check, and the two discarded gate runs are process and change nothing in the tree. Giving dispatch-gates the slice's 12 paths is correct for a PR whose base is the trunk. Pinning the untitled cascade form at the engine instead of the wire is accepted, for the reason above.
  • Measured answers. 1 and 2 hold by the code read here: the trunk's refusal had no userMessage, and the engine now reaches field visibility through the security-service slot it already owns, with no new published type. 3 holds by count (4 catalog locales, 11 upload-link locales). 4: the assignment-rule docblock at the head does say an update never evaluates a rule; the two tests behind it are the lane seat's to accept.
  • Card Done-when, slice C line. The ledger row is on the trunk, and both sentence families and the upload-link sentence exist in every locale. "No refusal carries a title the writer may not be served" holds for field permissions and masking; S1 adds the hardening rule that closes it.
  • SQL push-down: no finding. The diff adds one read, storedTitleRow: one row by id, two columns, on the refusal path only, inside the caller's organization scope and unit of work. It materialises no id set and joins nothing in the application.
  • Security line. yes: the changed hunks state and implement a field-permission rule (which writer may be shown a record's title). No hits path is under skills/**, so no label follows from it.

④ Design judgment

packages/spec/src/system/operation-message.ts (hits): holds. Against D8, sentence by sentence: its own family, apart from record_locked*, with no "wait for the approval" clause; the same four forms; the cascade sentence names the record asked to be deleted and the label of the object in the way, and covers both of D6's cases in one wording ("a closed X or one of its lines"); no key carries an id, an API name or a state value. The docblock's placeholder contract agrees with its first consumer, closedStateRefusalSentence: _untitled for an unserved title, a predicate write and a line write (the master's label); _unlabeled for an object with no label; delete_blocked_opaque where either object has no label. The four translations say the same thing as en and follow each locale's existing record_locked* phrasing.

packages/objectql/src/closed-state-lock.ts: holds against D6, D8 and D10, with one should-fix. What was checked and holds:

  • The title rule asks the writer's own field permissions: readable and in getQueryableFields, asked with the writer's own context; a non-list answer from either question names no title.
  • A line write, a line create, a move and a restore name the master by label and read nothing of it.
  • A predicate write names no title.
  • The cascade names the root's title only for one root and only when served, plus the blocking object's label; it carries no title, id or count of the closed records.
  • An unlabeled object never falls to its API name (objectLabelOf drops the last rung of objectDisplayLabel).
  • Wording cannot turn the 409 into a 500: every read on the wording path is caught and falls to a label or opaque form.
  • Placement is unchanged from slice B; the wording runs only after a refusal is decided.

S1 (should-fix) — hardening rule for closed-state-lock.ts (servedTitleOf and the title field choice): the refusal names a title only from a field the writer's generic data read returns. A field in collectInternalReadFields or collectCredentialFields (secret-fields.ts, the two sets engine-find.ts withholds together) gives no title, and the sentence takes the label form. A test for each path that reads a title (record update, record delete, cascade root). This is D8's "never the title as stored" and the card's "no refusal carries a title the writer may not be served". Graded should-fix: the lock is unreleased on the trunk; it closes here before the key is released.

N1 (nit) — titleFieldIsServed reads every throw from the slot's source as "no security service", and serves the title. The kernel also throws for a security service that is registered behind a factory (Service 'security' is async - use await), which is a service that exists. The slot's own docblock says a throwing source fails closed, and resolveReadableIdsSecurity does. No composition in this repo registers security that way, so nothing shipped is affected. Left as a follow-up or an accepted deviation.

N2 (nit) — the upload-link page no longer shows the approval sentence for the engine's closed-state refusal. relayUploadLinkRefusal prefers a producer's declared userMessage, and this slice makes the engine declare one, so a PUT that the closed-state lock refuses now shows the catalog sentence (object label, and the title for a by-id write), worded in the link user's resolved context and not in the page's request language. That is truer than the approval sentence it replaces, and the pending lock's hook already reaches the page the same way. But the new docblock on recordClosed ("Until then the code answers recordLocked"), the changeset and the PR body describe only the code-to-sentence map. recordLocked now answers only a RECORD_LOCKED with no declared sentence: the mint door's own approval refusal and a could-not-judge. Amend the changeset sentence, and hand the fact to item 2, which decides where recordClosed is read.

N3 (nit) — the cascade judge is given fresh, not the ids the delete named. A nested delete that names several records, all but one already in an ambient cascade set, gets the titled form, where D8 asks for the label form when the delete names many records. Reached only from a hook's own multi-record delete inside a running cascade.

N4 (nit) — hardening rule: a title is named only from a field whose value is display text; an explicit nameField that is a reference field or the field a closedStates entry names gives no title (D8: no record id, no state value in the sentence). The S1 fix is the natural place for it.

packages/objectql/src/engine-cascade-planning.ts, engine-delete-and-aggregate.ts, engine.ts: hold. Plumbing only: the cascade-planning and delete hosts gain the members the wording reads, and the cascade judge is called at the same point as on the trunk (after the restricts, before the first row is removed), now with the root ids. No judgement moved.

packages/services/service-storage/src/upload-link-copy.ts: holds against the card. The door gains its closed-state sentence in every locale it carries, it names no record, object or field, and choosing between the two is left to item 2 as the card says. N2 is the one sentence to correct.

Implemented-by: claude/project-thread-vjkpld
Reviewed-by: session_01FEkQ5nGQtUA88SthJbYyRw

VERDICT: PASS

…play-text field the writer's generic read returns (ADR-0162 D8)

The title field gives no title when the generic read withholds it (internal
or credential), when it is a reference field, or when the object's
closedStates names it. A security-service source that throws names no title.
The cascade's title form reads the ids the delete named. The upload-link copy
and the changeset state what the page shows.

Claude-Session: https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw
Co-Authored-By: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5nGQtUA88SthJbYyRw
Contract-review-claim: session_01FEkQ5nGQtUA88SthJbYyRw · head f993641 · 2026-11-29T08:08Z

Delta contract-tier review of round-1 record 7252370003 (S1, N1–N4) at this head; isolated sub-agent of this card thread.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5nGQtUA88SthJbYyRw

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: f9936414b0484149fe95415e232021dbec3eba68
Local-runs: none
Scope: packages/spec/src/system/operation-message.ts + packages/objectql/src/closed-state-lock.ts, packages/objectql/src/engine-cascade-planning.ts, packages/objectql/src/engine-delete-and-aggregate.ts, packages/objectql/src/engine.ts, packages/services/service-storage/src/upload-link-copy.ts
Security-touching: yes
Rule-change-verified: none

Delta round of record 7252370003 (head 088d94cb95, PASS with S1 and N1 to N4) on PR #38516, slice C of card #37768 (ADR-0162 D8). Read: the card body and its 14 comments, the PR body, its 12-file list and its 4 comments, ADR-0162 D6, D8 and D10 at the head (the ADR file is unchanged since round 1), and the head's check-runs. The slice delta is git diff 470235dada f9936414b0: 9 files, +201 / -44, two commits, b95bcb4bfe (one test file, +4) and f9936414b0. The net diff against the base, the trunk claude/o5-data-approvals-trunk at 4cc09b16f4, is 12 files, +1513 / -31, and every one is one of the slice's 12 paths. The two trunk merges moved none of the 12 paths (git diff 088d94cb95 470235dada over them is empty). The hits file operation-message.ts, its test and the wire dogfood test are byte-identical to round 1. The tests and the changeset are the lane seat's ACCEPT at TIER_DEFAULT; code outside the diff was read to judge, not reviewed.

Check-runs on this head, as read at 2026-11-29T08:17Z (70 runs). The suite has not finished.

  • success (26): Build UI Deps, Check Changeset (both runs), Check PR Size, Dogfood Regression Gate, Governed Surface Queue Guard, PR-body guards (both runs), Spec property liveness, Lint & Repo Gates, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · repo & tooling gates, the three Lint · scoped runs, Type Check · source gates, Type Check · debt ledger, Live E2E UI, Flag docs affected by code changes, Auto Label, filter, both shard plans.
  • still running, so no verdict yet (33): Build Core, Test Core 1 to 12 of 12, Type Check · workspace, Type Check · consumer gates, Type Check UI, Build & E2E UI, Test UI 1 to 16 of 16.
  • skipped (11): Queue verdict, Borrowed queue verdict, Build Docs, Dogfood Verify CLI, the Dogfood Regression Gate matrix placeholder, Lint UI, Schedule gate, Temporal Conformance, UI Published Artifacts, and the skipped twins of Auto Label and Check PR Size.
  • failure: none.

So Test Core (which carries the spec, objectql and service-storage suites) and the workspace type check have no verdict on f9936414b0 yet. The slice's dogfood test files, which pin every rule judged below, are not in any of these runs: ci.yml keeps the dogfood shards off the pull_request path, and the green Dogfood Regression Gate is the roll-up of a skipped matrix. Their one reading on this head is the dev's local run (report 7252899591: 4 files, 99 tests, and the ablation of the three new rules). This record judges the contract; the seat reads the running lanes before the slice merges.

① Derived judgments

Round-1 findings, each judged on the new head:

  • S1: closed — the refusal names a title only from a field the writer's generic read returns. titleFieldOf gives no title field when the display field is in collectInternalReadFields or collectCredentialFields, and both readers of a title go through it (servedTitleOf for the record's own write, storedTitleRow for the cascade root, which then reads nothing). There is a test for each path that reads a title (record update, record delete, cascade-delete root) for an internal and for a credential title field, with a display-text control.
  • N1: fixed — a security-service source that throws names no title; a test pins the throwing source (label form) beside a source that answers null (title). The fix reaches one case further than the nit asked: see S2.
  • N2: fixed — the recordLocked and recordClosed docblocks, the test name, the changeset and the PR body now say that a closed-state refusal reaches the upload-link page with the engine's declared sentence, that recordLocked answers only a RECORD_LOCKED with no declared sentence, and that choosing recordClosed stays with item 2. This agrees with relayUploadLinkRefusal at the head. One clause of the new docblock does not: N5.
  • N3: fixed — the cascade's title form reads the ids the delete named. cascadeDeleteRelations has two callers: the by-id delete passes the one id it names, the predicate delete passes none. judgeClosedStateCascadeSet reads named, never the set planned so far. A test pins a predicate delete at the label form, one row matched or many.
  • N4: fixed — a title is named only from a field whose value is display text: a display field of a REFERENCE_VALUE_TYPES type, or one the object's closedStates names, gives no title. Tested on the same three paths.

The delta's own judgments:

  • The titled form where the title is served: right on two hosts, wrong on one. A kernel with the real SecurityPlugin names the title for a writer served the field (the wire test, unchanged). An engine whose slot is empty, or whose source answers null, names it. A kernel that registers no security service does not: S2.
  • A predicate delete takes the label form whatever it matched: right. It is the rule the record's own predicate write already follows, and D8 gives the label form to a delete that does not name one record.
  • Package surface: right, unchanged. closed-state-lock.ts is still exported from neither entry. The delta imports REFERENCE_VALUE_TYPES (already published by @objectstack/spec/data) and two collectors of secret-fields.ts. cascadeDeleteRelations is a private method; its new last parameter named is optional and defaults to none, so a caller that omits it gets the label form.
  • Error shape, catalog accept-set, upload-link copy: unchanged since round 1. No key, member or locale entry moved in the delta.

② Semver level

Unchanged: patch on @objectstack/spec, @objectstack/objectql and @objectstack/service-storage, Metadata-protocol: none. Check Changeset is green on this head. Clause-②: yes (widening: …) reads the same on the PR body and in the changeset, and still matches the diff: keys are added, no existing sentence changes.

The changeset body was amended in the delta. Each amended sentence was read against the head and holds: the title rule (display text, returned by the generic read, served under the writer's field permissions), the cascade rule ("the title only when the delete names exactly one record by id"), and the upload-link paragraph, which closes round 1's N2. The clause "and so it does when the security service cannot be asked" is true of the head, and stays true if S2 is fixed.

③ Boundary flags

  • Dev report 7252899591 (this round): no open_questions entry. Its two flags:
    • "A kernel with no security service registered names no title": this is S2. It is stated in the PR body's acceptance notes, so it is declared, but it is a deviation from D8 and is graded below.
    • "The case where the named ids differ from the set planned so far inside a running cascade was not reached from a test harness": accepted. The rule is structural (two callers, read at the head: one passes its id, the other passes nothing), and the predicate case is pinned.
  • Dev report 7252481780 (the trunk-merge patch): one out-of-scope observation, the opening refusal's lead sentence on an object that closes on a different field. Carrier: the Approvals: refuse an approval that cannot show itself on a closing field when it opens, and never write a closed value for an abandoned request (ADR-0162 item 7) #37766 slice B seat. It reads "not filed"; the seat files it or hands it over. Not this slice.
  • b95bcb4bfe is a fixture line in one dogfood test (noteSweepClockScheduled), needed after the trunk merge. Test only; the lane seat's.
  • Where the slice's pins run. The three files of this slice that pin the title rules, the wire shape and the system writes are dogfood tests, and no pull-request run executes them (see the check-runs above). The seat's ACCEPT of the tests rests on the dev's local reading until a run that carries the dogfood shards (a queue build, a push run or a dispatch) reads them. Named for the seat; not a finding on the diff.
  • Round-1 answers that stand. The could-not-judge open question: A for this slice, B to the maintainer as a decision card before the trunk lands. The 403 on a by-id delete by a writer whose permission set withholds the title field: carrier the plugin-security lease seat. Out-of-scope item from round 1: carried by the security channel (GHSA-h2hw-3fxj-q7p5).
  • S2's fix reaches outside the slice's 12 paths. "No service registered" and "a service that cannot be resolved" reach titleFieldIsServed as the same throw, because the source ObjectQLPlugin puts in the slot is a function that calls ctx.getService('security') (packages/objectql/src/plugin.ts). The kernel tells the two apart from its registry (packages/core/src/kernel.ts). A fix that tells them apart is most likely a change in plugin.ts, which the slice does not claim. Whether it lands here with a claim amendment, or on the trunk before the key is released, is the seat's call.
  • SQL push-down: no finding. The delta adds no read. named carries an id the delete already holds, and a title field the new rules refuse is not read at all.
  • Security line. yes: the changed hunks state and implement which field a refusal may name a title from, under the writer's field permissions. No path is under .claude/, so Rule-change-verified: none.
  • Card Done-when, slice C line. "No refusal carries a title the writer may not be served" holds at the head, with S1 closed.

④ Design judgment

packages/spec/src/system/operation-message.ts (hits): holds, unchanged. The seven keys, their placeholders and the four locales are as judged in round 1, and the first consumer still fills each key with the placeholders it declares. The delta gives the consumer three more cases that take an _untitled key; the docblock's lists of when each form is used do not name them (N7).

packages/objectql/src/closed-state-lock.ts: holds against D8 and D10 for every rule that withholds a title, with one should-fix on the rule that serves one.

  • titleFieldOf: the rules agree with D8. No title from the id, from a field the generic read does not return the value of, from a reference field (D8: no record id), or from a field closedStates names (D8: no state value). A display-text field passes, and the control pins it.
  • titleFieldIsServed: the writer's own context is asked both questions, and every answer short of two lists holding the field names no title. Unchanged, except the throw arm (N1, S2).
  • judgeClosedStateCascadeSet: the title is read only when named holds exactly one id, and only as the writer is served it. Agrees with D6 and D8.
  • D10: unchanged. The wording still runs only after a refusal is decided, and the delta adds no read ahead of a gate.

S2 (should-fix) — rule for titleFieldIsServed: on a host that registers no security service there is no field-level security, the writer's generic read returns the title field, and the refusal names the title. At the head it takes the label form there. On a kernel composed with ObjectQLPlugin and no security plugin the slot's source throws, and the new arm answers "no title" for every throw. This is a composition the tree supports (packages/cli/src/commands/serve.ts mounts the security plugin as optional), and the slice's own closed-state-system-writes.test.ts now expects the label form on it, where round 1's head expected the title. D8 gives the title "the way the pending lock picks its title", and on the same host the pending lock names it (plugin-approvals approvals-plugin.ts#fieldVisibility reads an unregistered service as no field-visibility authority, and the title passes through). The function also splits one state three ways: an empty slot and a source that answers null name the title, and the in-repo kernel's spelling of the same state does not. Its docblock opens "With no security service registered … the stored title is the served one", which the kernel path does not do. The label form belongs to a service that is registered and cannot be asked. Graded should-fix: no sentence is false and no D8 prohibition is touched, D8's titled form holds on a host that runs the security plugin, and the lock is unreleased on the trunk. It closes before the key is released, with the system-writes test moved back to the titled form.

N5 (nit) — the new recordClosed docblock says the engine's declared sentence reaches the page "in the request's language". The engine words it in the locale of the context the write runs in, and on this door that is the link user's resolved context (record-file-access.ts#consumeUploadLinkFiles, resolveUserContext(userId, organizationId)), which the request's Accept-Language does not reach. The page's own sentences follow the request (uploadLinkCopyFor). Prose only; correct the clause, and item 2 inherits the fact.

N6 (nit) — the titleFieldOf docblock cites collectInternalReadFields and collectCredentialFields as "the two sets engine-find.ts leaves out of every row it returns". At the head engine-find.ts unions the two for the search scan; the row read omits an internal field and masks a credential type (engine-secret-internal-fields.ts). Neither value is returned, so the rule stands; the cite is what to correct. The rule is also stricter than the read in one case nothing declares today: a password title field on a managedBy: 'better-auth' object gives no title.

N7 (nit) — the catalog docblock lists when record_closed_untitled and record_closed_delete_blocked_untitled are used. After the delta the consumer also uses them for a title field that is not display text, for a security service that cannot be asked, and for a delete that names its rows by a predicate. The keys and their placeholders are unaffected. A follow-up, or one line in the docblock.

packages/objectql/src/engine-cascade-planning.ts, engine-delete-and-aggregate.ts, engine.ts: hold. Plumbing for N3 only: the by-id delete passes the id it names, the planner hands named to the judge in place of the set planned so far, and the facade forwards it. The judge runs at the same point as in round 1. No judgement moved.

packages/services/service-storage/src/upload-link-copy.ts: holds against the card. Docblocks only in the delta; REFUSAL_BY_CODE and the 11 locale entries are untouched. N5 is the one clause to correct.

No must-fix. One should-fix (S2), three nits (N5, N6, N7).

Implemented-by: claude/project-thread-vjkpld
Reviewed-by: session_01FEkQ5nGQtUA88SthJbYyRw

VERDICT: PASS

…refusal names its title (ADR-0162 D8)

The title rule asks a probe, beside the security source, whether a
`security` service is registered at all, read without building one. When
the source throws and the probe answers that nothing is registered, there is
no field-level security and the refusal names the title D8 gives; the rules
on which field a title is read from still apply first. A service that is
registered and cannot be resolved still names no title. Only the title rule
reads the probe: every other reader of the source answers as before.

Docblocks: the upload-link sentence is worded in the link user's resolved
context; the title-field rule cites the generic read (internal fields
omitted, credentials masked); the catalog's `_untitled` when-lists name the
new cases.

Claude-Session: https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw
Co-Authored-By: Claude <noreply@anthropic.com>
…urity service is registered (ADR-0162 D8)

Claude-Session: https://claude.ai/code/session_01FEkQ5nGQtUA88SthJbYyRw
Co-Authored-By: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5nGQtUA88SthJbYyRw
Contract-review-claim: session_01FEkQ5nGQtUA88SthJbYyRw · head 37e4afa · 2026-11-29T09:22Z

Second delta contract-tier review (of record 7253027593, S2 and N5–N7) at this head; isolated sub-agent of this card thread.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5nGQtUA88SthJbYyRw

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 37e4afad98521096127aec7f651084d3a3e845cb
Local-runs: none
Scope: packages/spec/src/system/operation-message.ts + packages/objectql/src/closed-state-lock.ts, packages/objectql/src/plugin.ts, packages/objectql/src/engine-cascade-planning.ts, packages/objectql/src/engine-delete-and-aggregate.ts, packages/objectql/src/engine.ts, packages/services/service-storage/src/upload-link-copy.ts
Security-touching: yes
Rule-change-verified: none

Second delta round, of record 7253027593 (head f9936414b0, PASS with S2 and N5 to N7) on PR #38516, slice C of card #37768 (ADR-0162 D8). Read: the card body and its 16 comments, claim amendment 7253035142 among them; the PR body, its 14-file list and its 6 comments; ADR-0162 D8 and D10 at the head (the ADR file is not in the diff and is unchanged since round 1); and the head's check-runs. The delta is git diff f9936414b0 37e4afad98: 7 files, +328 / -27, two commits, 7f9538fc02 and 37e4afad98 (the changeset alone). The net diff against the base, the trunk claude/o5-data-approvals-trunk at 4cc09b16f4, is 14 files, +1815 / -32, and every one is one of the slice's 14 paths: the 12 earlier ones, packages/objectql/src/plugin.ts, and the new packages/qa/dogfood/test/closed-state-refusal-security-source.test.ts. The trunk has not moved: its tip is still 4cc09b16f4, which is also the merge base. engine-cascade-planning.ts, engine-delete-and-aggregate.ts, engine.ts, the two other readers of the security source (engine-security-resolvers.ts, engine-query-lowering.ts), packages/core and the sentence and wire dogfood tests are byte-identical to delta 1. The tests and the changeset are the lane seat's ACCEPT at TIER_DEFAULT; code outside the diff was read to judge, not reviewed.

Check-runs on this head, as read at 2026-11-29T09:29Z (70 runs). The suite has not finished.

  • success (26): Build UI Deps, Check Changeset (both runs), Check PR Size, Dogfood Regression Gate, Governed Surface Queue Guard, PR-body guards (both runs), Spec property liveness, Lint & Repo Gates, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · repo & tooling gates, the three Lint · scoped runs, Type Check · source gates, Type Check · consumer gates, Type Check · debt ledger, Flag docs affected by code changes, Auto Label, filter, both shard plans.
  • still running, so no verdict yet (33): Build Core, Test Core 1 to 12 of 12, Type Check · workspace, Type Check UI, Build & E2E UI, Live E2E UI, Test UI 1 to 16 of 16.
  • skipped (11): Queue verdict, Borrowed queue verdict, Build Docs, Dogfood Verify CLI, the Dogfood Regression Gate matrix placeholder, Lint UI, Schedule gate, Temporal Conformance, UI Published Artifacts, and the skipped twins of Auto Label and Check PR Size.
  • failure: none.

So Test Core (the spec, objectql, service-storage and core suites) and the workspace type check have no verdict on 37e4afad98 yet. Every lint lane is green, the three that plugin.ts adds to the derivation among them. This record judges the contract; the seat reads the running lanes before the slice merges.

① Derived judgments

Delta-1 findings, each judged on the new head:

  • S2: closed — on a host that registers no security service there is no field-level security, and the refusal names the title D8 gives. titleFieldIsServed keeps "a source that throws names no title" and adds one exception: the registration probe beside the source answers that nothing is registered under the name. On a kernel composed with ObjectQLPlugin and no security plugin the source throws, the probe answers false, and the title is served. The three spellings of the one state now answer alike: an empty slot, a source that answers null, and the in-repo kernel's throw on a name nothing registered. The label form belongs to a service that is registered and cannot be resolved, and to a source that throws with no probe beside it. closed-state-system-writes.test.ts is back at the titled form, and the new real-kernel file pins the title on the record's update, its by-id delete and a cascade-delete root.
  • N5: fixed — the recordClosed docblock now says the engine's sentence is worded in the link user's resolved context and cites record-file-access.ts consumeUploadLinkFiles, which is where that context is resolved at the head.
  • N6: fixed — the titleFieldOf docblock now says the generic read omits an internal field and serves a credential type masked, and that the search scan in engine-find.ts skips the union of the two. Both statements agree with the head. The rule itself did not move.
  • N7: fixed — the catalog docblock's two _untitled when-lists now name a title field the generic read does not return, a title field that is not display text, and a security service that is registered and cannot be resolved; the delete list also names a delete that names its rows by a predicate. Each matches a case the consumer takes that key for.

The delta's own judgments:

  • plugin.ts stays inside the claim amendment: right. Its whole diff is one module-private function (securityServiceRegistered), one slot assignment beside the source's, and two import lines. Nothing else in the file moved, and the source's own assignment is untouched.
  • Package surface: right. SECURITY_SERVICE_REGISTERED_SLOT is exported from closed-state-lock.ts, which neither index.ts nor core.ts of @objectstack/objectql re-exports, so it publishes nothing. It is a Symbol.for key, the shape the source slot has, so every bundle names the one slot. isServiceNotRegisteredError is already published by @objectstack/core.
  • One reader: right. The probe slot is read in one place, the throw arm of titleFieldIsServed. resolveReadableIdsSecurity and resolveSearchQueryableFields are unchanged files and read only the source.
  • Error shape, catalog accept-set, upload-link copy: unchanged since round 1. No key, member or locale entry moved; operation-message.ts and upload-link-copy.ts change docblocks only.

② Semver level

Unchanged: patch on @objectstack/spec, @objectstack/objectql and @objectstack/service-storage, Metadata-protocol: none. Check Changeset is green on this head, both runs. Clause-②: yes (widening: …) reads the same on the PR body and in the changeset, and still matches the diff: keys are added, no existing sentence changes. plugin.ts adds no published member, so it moves no level.

The one changeset sentence amended in the delta was read against the head and holds: the label form "when a registered security service cannot be resolved", and "with no security service registered there is no field-level security, and the title is named".

③ Boundary flags

  • Dev report 7253705270 (this round): open_questions is empty. Its one out-of-scope observation: the core kernel offers no public read of whether a name is registered that builds nothing, so the probe reads the sync accessor's "is async" message; "carrier: none, not filed". Answer: accepted for this slice, judged in ④. The observation needs a carrier, which is N10.
  • Claim amendment 7253035142 adds packages/objectql/src/plugin.ts to the file surface "only as far as S2 needs", with "no other reader of the security-service slot changes behaviour". Held: see the first judgment above and line (b) in ④.
  • Where the slice's pins run. The new closed-state-refusal-security-source.test.ts and the amended closed-state-system-writes.test.ts are dogfood tests. ci.yml runs the dogfood shards on merge_group, push and schedule, not on pull_request, and the green Dogfood Regression Gate here is the roll-up of a skipped matrix. Their one reading on this head is the dev's local run (report 7253705270: 5 files, 108 tests, and the two ablations). The kernel message the probe reads is pinned on the pull-request path by core's own kernel.test.ts, inside Test Core, which is still running. Named for the seat; not a finding on the diff.
  • Two local readings to reconcile, for the seat. The dev's objectql suite reads 643 files and 14554 tests at f9936414b0 and 644 files and 14559 tests here, and the delta holds no objectql test file. Test Core's verdict on this head settles which reading stands.
  • Round answers that stand. The could-not-judge open question: A for this slice, B to the maintainer as a decision card before the trunk lands. The 403 on a by-id delete by a writer whose permission set withholds the title field: carrier the plugin-security lease seat. Out-of-scope item from round 1: carried by the security channel (GHSA-h2hw-3fxj-q7p5). The opening refusal's lead sentence (report 7252481780): carrier the Approvals: refuse an approval that cannot show itself on a closing field when it opens, and never write a closed value for an abandoned request (ADR-0162 item 7) #37766 slice B seat.
  • SQL push-down: no finding. The delta adds no store read. The probe reads the kernel's service registry, on the refusal path only, and only when the source throws.
  • Security line. yes: the changed hunks state and implement when a refusal may name a record's title under the writer's field permissions. No path is under .claude/, so Rule-change-verified: none.
  • Card Done-when, slice C line. "No refusal carries a title the writer may not be served" holds at the head, with S1 and S2 closed.

④ Design judgment

packages/spec/src/system/operation-message.ts (hits): holds. Docblock only in the delta (N7). The seven keys, their placeholders and the four locales are as judged in round 1, and the when-lists now agree with every case the first consumer, closedStateRefusalSentence, takes each key for.

packages/objectql/src/closed-state-lock.ts: holds against D8 and D10. The seat's two checks, each on its own line:

  • (a) holds. On a kernel with no security service registered, the rules on which field a title is read from still apply first. Both readers of a title call titleFieldOf before anything asks about the security service: servedTitleOf for the record's own write, and storedTitleRow for a cascade-delete root, which then reads nothing. titleFieldOf reads the registry alone, so it answers the same on every kernel: no title from a field in collectInternalReadFields or collectCredentialFields, from a field of a REFERENCE_VALUE_TYPES type, or from a field the object's closedStates names. The probe is reached only for a field those rules let through. The new file pins all four kinds on a real ObjectKernel with no security service, each on update, by-id delete and a cascade-delete root, at the label form.
  • (b) holds. A security-service source that throws names no title, except where the probe answers false, and the probe answers false exactly when nothing is registered under the name. noSecurityServiceRegistered reads a missing probe, a probe that throws and every answer but false as "no title". On ObjectKernel the probe returns false on one path only: the sync accessor refuses without "is async", the service map lacks the name, and the async accessor rejects with the branded never-registered error, which PluginLoader.getService raises before it builds anything and only for a name with no factory and no instance to return. On LiteKernel it returns false only when the sync accessor refuses and the service map lacks the name; that kernel has no factories. A name registered as a factory, whatever its lifecycle and whether or not its factory would throw, is answered "registered" at the sync accessor's refusal, and the probe goes no further. The probe builds nothing on either kernel: its sync call is the call the source already made, getServices() returns a copy, and the async accessor is reached only for a name with nothing to build. No other reader changes its answer: resolveReadableIdsSecurity and resolveSearchQueryableFields read the source alone, their files are unchanged, and the registry is the same before and after a refusal on a no-service kernel, with a throwing source, and with a factory-registered service. The new file pins the factory's call count and both readers' answers before and after a refusal.
  • The probe's reading of the kernel's "is async" message: sound, and acceptable as written. Sound: every answer the message read can give is "registered", which names no title, and a message that did not match would still be answered "registered" by the async accessor. No answer of the message read names a title, so the title rule does not rest on the text. The "builds nothing" rule does rest on it. Acceptable, for four reasons read at the head. The kernel keeps the message verbatim for callers that match on it, in so many words (packages/core/src/kernel.ts), and core's own test asserts it (kernel.test.ts, "reports a registered-but-uninstantiated factory as async"). "Never registered" is read off the brand, as service-not-registered.ts asks, not off text. Core publishes no registration read that builds nothing (hasAnyService is private), and adding one is a change to a published contract outside this slice's surface. And the reliance is written down where it is made, in the probe's docblock and the PR body. Its follow-up is N10.
  • D10: unchanged. The wording still runs only after a refusal is decided; the delta adds no read ahead of a gate.

N8 (nit) — rule: the registration probe answers for the source that sits in the slot beside it. At the head this holds because ObjectQLPlugin.init writes the two together over the same context. The source slot's docblock says it is written by assignment and the last writer wins, and nothing says a second writer of the source also replaces or clears the probe. No composition in the tree writes the source on an engine the plugin initialised (the rigs that write it use a bare engine, which has no probe and so names no title on a throw). One sentence in the probe slot's docblock, or a follow-up.

N9 (nit) — the probe's arm for a host with no async accessor has no test: both files that pin the titled form boot ObjectKernel. The arm is correct by the code read in (b). A case on LiteKernel with ObjectQLPlugin and no security service would pin it; the lane seat's to take or leave.

N10 (nit) — the dev's observation in report 7253705270 is filed as "carrier: none". A public read on the kernel or the plugin context of whether a name is registered, which builds nothing, would let the probe drop its message read. Carrier: the core lease seat, as a follow-up card. Nothing in this slice waits for it.

packages/objectql/src/plugin.ts: holds. securityServiceRegistered does what its docblock says, statement by statement, against kernel.ts, plugin-loader.ts and kernel-base.ts at the head. The assignment sits beside the source's and is read at use, never at init, so plugin-registration order decides nothing, the rule the source slot already follows. plugin-security registers its service and its engine middleware in the same start(), so "no security service registered" and "no field-level security on the read door" are one state at any moment the probe is read.

packages/objectql/src/engine-cascade-planning.ts, engine-delete-and-aggregate.ts, engine.ts: hold, unchanged since delta 1.

packages/services/service-storage/src/upload-link-copy.ts: holds against the card. One docblock clause in the delta (N5). REFUSAL_BY_CODE and the 11 locale entries are untouched.

No must-fix and no should-fix. Three nits (N8, N9, N10).

Implemented-by: claude/project-thread-vjkpld
Reviewed-by: session_01FEkQ5nGQtUA88SthJbYyRw

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5nGQtUA88SthJbYyRw

Regen-provenance: 7253826796 · 37e4afad98521096127aec7f651084d3a3e845cb → 63d1e62ea65af9d3e750a2c4d9134cdc39bbbc4d · diff <(git diff 4cc09b16f4 37e4afad98) <(git diff d31309867d 63d1e62ea6) → (empty)

The head moved by one merge-forward and nothing else: area o5-data advanced the trunk claude/o5-data-approvals-trunk from 4cc09b16f4 to d31309867d (#38546, plugin-approvals only), and 63d1e62ea6 is git merge --no-ff d31309867d on top of 37e4afad98. The merge brings in only the trunk's six files (.changeset/37766-opening-lead.md, approval-opening-refusal.ts and its test, approval-service.ts, translations/messages.ts, approval-opening-check-37766.integration.test.ts). None of them is one of the slice's 14 paths, and git diff 37e4afad98 63d1e62ea6 over those 14 paths is empty. The PR's net diff against its base is byte-identical before and after the move, so contract-review record 7253826796 (PASS at 37e4afad98) carries to this head. Re-run on the committed trees, not on this line.

Local re-runs on the merged tree, all exit 0: plugin-approvals 2 files / 15 tests and its typecheck; spec operation-message 112 tests; objectql 2 files / 18 tests; service-storage upload-link-copy 7 tests; the slice's dogfood files plus closed-state-lock 5 files / 108 tests; dispatch-gates --ran reconciled at 63d1e62ea6, 101 families, 0 not measured. Check-runs on this head are still running; the green head is declared separately.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5nGQtUA88SthJbYyRw

Regen-provenance: 7253826796 · 63d1e62ea65af9d3e750a2c4d9134cdc39bbbc4d → 8b1644b9ba4fa934bdfaff0288150cfdfff5e9aa · diff <(git diff 4cc09b16f4 37e4afad98) <(git diff 978bb2b1d7 8b1644b9ba) → (empty)

A second merge-forward, and nothing else: area o5-data advanced the trunk to 978bb2b1d7 (#38540, #37767 piece 3, plugin-approvals and its changeset only), and 8b1644b9ba is git merge --no-ff 978bb2b1d7 on top of 63d1e62ea6. The 20 incoming files are the trunk's; none is one of the slice's 14 paths, and the slice paths are byte-identical to 37e4afad98. The PR's net diff against 978bb2b1d7 equals the net diff record 7253826796 reviewed against 4cc09b16f4, so that PASS carries on from the hop in comment 7253965261. Re-run on the committed trees, not on this line.

Local re-runs on the merged tree, all exit 0: plugin-approvals full suite 138 files / 2142 tests and its typecheck (approval-service moved by this merge); the slice's dogfood files plus closed-state-lock 5 files / 108 tests, the approval-status-mirror system-write test among them; spec operation-message 112; objectql 2 files / 18; service-storage upload-link-copy 7; dogfood, objectql and spec typechecks; dispatch-gates --ran reconciled at 8b1644b9ba, 101 families, 0 not measured.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5nGQtUA88SthJbYyRw

Green head declared: 8b1644b9ba4fa934bdfaff0288150cfdfff5e9aa, base claude/o5-data-approvals-trunk at 978bb2b1d7, mergeable state clean.

Check-runs on this head, read at 2026-11-29T10:55Z: 61 success, 11 skipped, 0 failure. The one cancelled run is the earlier of two PR-body guards runs, superseded by the body edit; its rerun on this head is success.

Contract review: PASS record 7253826796 at 37e4afad98, carried to this head over two merge-forward hops (7253965261, 7254439120); the slice's 14 paths are byte-identical across both. Dev reports: 7253705270 (round 3) and the two merge rounds recorded in the hops. The dogfood shards do not run on pull_request, so the dogfood readings are local (5 files / 108 tests on the merged tree).

The trunk has since moved docs-only to 97f9f1f236 (the approvals guide's closed-states section); it merges clean with this head and area o5-data takes it at its --no-ff merge. Next: L1-b at this head.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB

席位核对 — REWORK · L1-b · area o5-data · Head-sha 8b1644b9ba4fa934bdfaff0288150cfdfff5e9aa · 2026-11-29T10:58Z

This is the L1 of PR #38516 (#37768 slice C; claim 7250989023, amended 7253035142). It reviews the net diff from trunk claude/o5-data-approvals-trunk at merge-base 978bb2b1d745334860b77a66796977edef5e45cc: 14 files, +1815/−32.

The contract-tier L2 chain is 7252370003, then 7253027593, then 7253826796 (PASS at 37e4afad). It carries to this head through two merge-forward records, 7253965261 and 7254439120. I do not reopen the L2's design reading.

One body item. The fix does not move the head.

Checklist (l1-face --pr 38516 at 8b1644b: 2 flags, read below)

  • Shape flag: the base is the trunk. This is expected for a trunk slice. The body says Part of #37768 with no closing keyword.
  • All-checks flag: PR-body guards reads cancelled. That run (10:24:40Z) was superseded by a run of the same guard on this head that concluded success (10:25:15Z–10:25:31Z). The real tally is 62 success, 11 expected skip, 0 failed, 0 pending, mergeable_state clean.
  • Changeset. It moves @objectstack/spec, @objectstack/objectql and @objectstack/service-storage, all at patch. It declares Clause-②: yes (widening) and Metadata-protocol: none. I read it sentence by sentence against the code:
    • the seven catalog keys, in en, zh-CN, ja-JP and es-ES, with the placeholder contract the spec docblock states;
    • the error's userMessage, message and developerMessage, via sayClosed;
    • could-not-judge sets no userMessage;
    • recordClosed in all 11 upload-link languages, with the page's recordLocked narrowed in its docblock only.
  • Scope. plugin.ts is on the amended surface. The other 13 paths are on the claim.
  • Tier. A packages/spec/src face, contract-tier L2 owed and present. The slice lands into the trunk on the area's merge. Any Tier H hand-off belongs to the trunk's own PR to main.

My readings, at this head

  • Every raise of the lock now goes through one wording seam. Every closedStateLockError throw (own record, master by id, master by predicate, create, and the three cascade arms) goes through sayClosed. The record wording passes the stored prior row. The master wording names a label only. The delete-blocked wording reads a title row only when the delete named exactly one id, via named, which is threaded from the by-id delete into cascadeDeleteRelations and nowhere else.
  • The title rules fail toward no title. titleFieldOf drops the display field when it is id, an internal read field, a credential field, a reference, or a field closedStates names. servedTitleOf drops a title that equals the id. titleFieldIsServed needs the field in both the readable and the queryable list. Every exception falls to the label or the opaque form. This matches the seat's rulings as the L2 chain records them.
  • Tests. There are four dogfood files: 9, 19, 9 and 2 cases, plus the trunk's lock test, 108 in all on the merged tree. Ablations are named for the title-field, source and named-ids rules, for the warn report, for the probe read and for the "is async" line, each with its red set.
  • Carriers. core: a public, non-building way to ask whether a service is registered (follow-up of #37768 slice C) #38559 is cited for the probe's message read.

REWORK (body only, no head move)

  1. Two residuals are named with no #N. Under "Acceptance notes":

    Cite each beside its bullet, next to no closing keyword, as core: a public, non-building way to ask whether a service is registered (follow-up of #37768 slice C) #38559 already is.

Send me the body edit and I will read the delta only. After ACCEPT the area merges the slice into the trunk with --no-ff, taking the trunk's docs-only move to 97f9f1f2 at that merge.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB

席位核对 — ACCEPT · L1-b · area o5-data · Head-sha 8b1644b9ba4fa934bdfaff0288150cfdfff5e9aa · 2026-11-29T11:00Z

Delta of REWORK 7254793368. This round edited the body only; the head is the same commit.

The area then merges the slice into the trunk with --no-ff, which also brings in the trunk's docs-only move to 97f9f1f2.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a

席位核对 — ACCEPT · seat 1 re-read after takeover · Head-sha 8b1644b9ba4fa934bdfaff0288150cfdfff5e9aa · 2026-11-29T12:27Z

Seat 1 holds this card by takeover 7255622409 on #37768, which left the picked-up work unverified until re-read at this head. This is that re-read, of the net diff against the trunk claude/o5-data-approvals-trunk (14 files, +1815 / -32). It confirms L1-b's ACCEPT 7254821739 and lands the slice into the trunk.

reading value
pr-state.mjs --pr 38516 draft · mergeable_state clean · 63 success · 13 expected skip · 0 unexpected skip · 0 pending · 1 cancelled
the cancelled run PR-body guards, started 2026-11-29T10:24:40Z; two later runs of the same guard on this head concluded success (2026-11-29T10:25:31Z and 2026-11-29T11:00:38Z). A superseded run, not a red
check-expected-skips.mjs --pr 38516, run from a checkout of the trunk tip OK — 13 skipped check-run(s), every one in claude/o5-data-approvals-trunk's roster
check-governed-merges.mjs --pr 38516 NOT governed, 0 of 14 paths on the register; 1847 changed lines
dispatch-gates.mjs --tier on the 14 paths no path-derived mandate; clause-② suspect packages/spec/src/system/operation-message.ts

Contract review. The face is schema (operation-message.ts), so a contract-tier record is owed. Record 7253826796 is a PASS at 37e4afad98 with no must-fix and no should-fix (S1 and S2 closed; nits N8 to N10). It reaches this head over the two Regen-provenance: hops 7253965261 and 7254439120. I re-ran the carry on the committed trees: git diff --name-only --no-renames 37e4afad98 8b1644b9ba over the slice's 14 paths is empty, the 24 paths that did move are all the trunk's, and diff <(git diff 4cc09b16f4 37e4afad98) <(git diff 978bb2b1d7 8b1644b9ba) is empty. Both hops are merges of the base branch, the carry-over arm of the rule, so the record stands on this head and no further round is owed.

Checklist, the items the face does not read.

Residue, one line each.

Trunk moved under the PR, read before landing. The trunk tip is 1b5824c01e now (two first-parent commits past the PR's base 978bb2b1d7: the approvals guide, and #38562). Neither touches one of the 14 paths, git merge-tree of the tip and this head is clean, and @objectstack/plugin-approvals still exports what closed-state-system-writes.test.ts imports. The trunk's own PR #38497 runs CI on the merged tree, and that PR, not this one, carries the card's size and its human merge.

Landing: ready, then auto-merge into the trunk (squash, the repository's one merge method). #37768 keeps pm:dispatched until the trunk lands.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 29, 2026 12:28

This branch has not been deployed

No deployments
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 protocol:system size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant