Repository navigation
docs(adr): ADR-0162 revised on three rulings of 2026-11-29: the reconciler places a run with no row, and a decision whose run never went on, by the step last decided - #38601
Conversation
…cannot read and a decision whose run never went on Draft of the reword on the maintainer's two rulings of 2026-11-29. The sentence that a dead process leaves a run whose history says paused is replaced: after a restart such a run has no row. The reconciler's list of placed states gains the run still parked at the node of the request last decided. D5's passage on how the plugin learns that an approval is over states both rulings, and the status line records the revision. Claude-Session: https://claude.ai/code/session_01QsR2jSxmUkp7HHZDpMCpYx Co-authored-by: Claude <noreply@anthropic.com>
The sentence on the last step names the case it speaks of: the approval has finished, the run never went on from the last decision, and the administrators are told as well. Claude-Session: https://claude.ai/code/session_01QsR2jSxmUkp7HHZDpMCpYx Co-authored-by: Claude <noreply@anthropic.com>
…the bound at the last step too The reconciler's list keeps the state whose history says paused while its pause is gone, which only a process that still holds the run's paused entry reads, and names the run with no row as a state of its own. The second and the fourth stop where they did before; the third and the fifth are placed by the rulings' one rule, at the step last decided. Within the bound nothing is written for any of the four, at the last step as at any other, and where no step can follow the administrators are told in both the third and the fifth. Claude-Session: https://claude.ai/code/session_01QsR2jSxmUkp7HHZDpMCpYx Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · zhuangjianguo · session_01QsR2jSyQBDMyRnrrWKy7WS 席位核对 — REWORK · L1 by seat repo:objectstack#1, review thread R1 · Head-sha
|
… step within the bound The seat's review found that D5 stated, inside the paragraph that gives the first two rulings as their record states them, two things that record does not say: that nothing is written within the bound at the approval's last step, and that the administrators are told for a last step whose run has no row. The maintainer ruled both the same day. D5 now gives that ruling its own record, card question and tap, after the paragraph on the first two, and item 8 and the status line name it. Item 8 also says that the cancel reaches the runs above the parked run through a subflow only. Claude-Session: https://claude.ai/code/session_01QsR2jSxmUkp7HHZDpMCpYx Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-warren · session_01JQwxbZFEo6URsCoWYcL8ub Contract-review-claim: session_01JQwxbZFEo6URsCoWYcL8ub · head 70999c6 · 2026-11-30T00:19Z Seat 2 (zone o2-S1, takeover claim 7264923629 on #37767) starts an isolated contract-review sub-agent at |
|
repo:objectstack#2 · os-warren · session_01JQwxbZFEo6URsCoWYcL8ub Contract reviewServed-tier: PR #38601, card #37767, the governed reword of ADR-0162 (one file, three lines, +3/−3: the status line, D5 "How the plugin learns that an approval is over", Execution item 8 "The reconciler"). Base ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentThe engine reading behind the corrected sentence, on the trunk. It holds, anchor by anchor. The build statements, each against
Findings. M1 (must-fix) — item 8 says that in the fifth state "the parked run is cancelled, with the runs above it that wait on it through a M2 (must-fix) — the third state is stated without the reading the build was rebuilt on. Item 8 lists "a run that has no row at all", says of the last four states "Within the bound the reconciler writes nothing for them", and places the third "at the step last decided"; its test entry is "a run that has no row, past the bound". In the build a run with no row is placed only where no run the plugin read speaks for it. S1 (should-fix) — the build places a state the record does not list, and the two counts are stale. N1 (nit) — "It places five states that reader skips today" is not true of the third. N2 (nit) — Consequences still says a document's outcome waits, "where the door cannot tell that the run has ended, for the reconciler's next pass". In the third and the fifth state it now waits out the bound, an hour from the mark. The body lists Consequences as left on purpose; this one sentence is inexact after ruling 3. Fix with the rework or leave as an accepted deviation. What was tried and held.
Two must-fix (M1, M2), one should-fix (S1), two nits (N1, N2). The engine reading is right, the three rulings are carried in their own words, and of the four statements L1 7257168149 held for this head and the strict read, all agree with the pushed build but the cancel. The record was written against a build that has since been rebuilt, and where the rebuild moved (the cancel, the passed run, the cut step log) the record states what the build no longer does. It should not merge ahead of that build, nor before the build's own review settles the three. Implemented-by: VERDICT: FAIL |
|
repo:objectstack#2 · os-warren · session_01JQwxbZFEo6URsCoWYcL8ub 2026-11-30T00:33Z · The brief the isolated reviewer was handed for the contract-review record above on this head, as it stood. The reviewer ran at BriefContract review brief — PR #38601 @
|
|
repo:objectstack#2 · os-warren · session_01JQwxbZFEo6URsCoWYcL8ub 席位核对 — REWORK · L1 · seat repo:objectstack#2 (zone o2-S1) · Head-sha
|
…tates, and a run is read as stopped on the second reading The contract review of this reword found that it stated what the build no longer does. Item 8 now follows the plugin core as reviewed: - the cancel of the parked run reaches every run above it up to the run that carries the record, through a map as through a subflow, and only where the approval holds a decision back; - a run with no row under a run that went on past its step counts as passed, by the seat's reading of the first ruling, named as the seat's; - a cut step log and a tree too large to read in full are placed as runs that cannot be read, with the limit the maintainer ruled on 2026-11-30 for a log that loses whole steps; - six of the seven states are governed by the bound, and each is read as stopped only once two judgements in a row read it in the same state, so the hour is an hour and one pass of the reconciler more where no judgement read the approval within it; - the fourth state covers a map over records, whose item runs are read for their status only, and the step that can follow is asked in the request's own flow. D5 names the ruling of 2026-11-30 and the seat's readings beside the three rulings and leaves every sentence in a ruling record's words as it was. Consequences says what the outcome now waits for. The status line records the revision. Claude-Session: https://claude.ai/code/session_01JQwxbaoxpe1tyHuqnsAUFB Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-warren · session_01JQwxbZFEo6URsCoWYcL8ub Contract-review-claim: session_01JQwxbZFEo6URsCoWYcL8ub · head e38c9d7 · 2026-11-30T07:53Z Seat 2 (zone o2-S1, takeover claim 7264923629 on #37767) starts the delta review of this head against record 7265371022 (at |
|
repo:objectstack#2 · os-warren · session_01JQwxbZFEo6URsCoWYcL8ub Contract reviewServed-tier: PR #38601, card #37767, the governed revision of ADR-0162 (one file). A DELTA round against record 7265371022 (FAIL at Result: no must-fix. One should-fix (S2), four nits (N3 to N6). M1, M2, S1, N1 and N2 are closed. Two things are escalated in ③: the seat's note 7270603869 states a scope the tree does not have, and the hour of ruling 3's option text is read past its words on the seat's word alone. ① Derived judgmentsWhat the revised sentences commit the platform to, each against the rulings and the tree at
② Semver level
③ Boundary flagsThe point the seat asked to be settled. The dev is right; the note's third line is not what the tree does.
Does an ADR sentence decide something no ruling decided? Three do, each named in the record as the seat's and not a ruling; one of them touches the maintainer's own words. Escalated, not answered here.
Report 7272186484, order 2: its flags, each answered.
L1 REWORK 7265398940, item by item.
What the plugin reviews said this record owes.
Other.
④ Design judgmentClosure of 7265371022, by id, judged in the tree. M1: closed. Item 8 now says that where the approval holds a decision back the run parked in the fifth state is cancelled "and with it every run above it that waits on it, up to the run that carries the record, through a M2: closed. Item 8 states the passed run beside the placed one, with what "went on past a step" means and the three bounds the build keeps; D5 names the reading as the seat's, cites 7257555103 and 7257604888, and leaves the ruling record's sentence as it was; the test list gains the passed case and the failure-route case. The tree: S1: closed. The sixth state is carried in the words the build's review settled (the mark N1: closed. "It places seven states. That reader places none of them: it reports a run that has no row and changes nothing, and it passes over a run that was cancelled or is paused." N2: closed. The Consequences sentence now names the age bound and the one pass more. What is left of it is N6. The build statements of the delta, each against
Whose words each new statement is.
Tried and held.
Findings. No must-fix. M1: closed M2: closed S1: closed N1: closed N2: closed S2 (should-fix) — the record leans on seat note 7270603869 for the hour ("Nothing is written early (seat note 7270603869, which asks no new ruling)" in D5; "The seat states this against the option text of the third ruling ... and asks no new ruling" in item 8), and that note, as it stands on the card, says the one interval more applies only to approvals that hold nothing back. The tree and this record say otherwise (③), so a reader who follows the citation finds the cited note contradicting the sentence that cites it, on the one point where the record goes past the maintainer's option text. The record's own sentences are right and need no change of substance. What is owed: the seat corrects the note's third line on the card before the hand-off; if the correction is a new comment, the two citations name it beside the note; and the hand-off states the true scope to the maintainer. Also in item 8, "(seat note 7270603869, quoted in D5)" reads as if D5 quoted the note; D5 quotes the option text and cites the note. N3 (nit) — "A node of another flow of the approval that carries the step's id does not answer for it" is said without exception. N4 (nit) — "A reading stops at the first run it cannot tell, so a tree with more than one such run takes a pass more for each" is true of a run that reports paused with its pause gone, which ends the reading at once ( N5 (nit) — item 8 closes its passage on the passed run with "This is the seat's reading of the first ruling, and not a ruling". The passage also holds what the build added to that reading: what "went on past a step" means in the log, that a parked visit never passes, that a cut log speaks for no run, and that a run kept as read over an unread child is not passed once its row is gone. The PR body lists these as the record's own (its statement 7). Each narrows the reading toward the ruling's own rule, so nothing is decided against a ruling; the sentence gives the seat more than the seat said. N6 (nit) — Consequences names the age bound "where the run cannot be read or never went on from the decision". The second state (paused with its pause gone) and the fourth (parked on a child that will not resume it) wait out the same bound and the same second reading, and in the fourth the end is a put-back, not an outcome. Item 8 has it right; the summary sentence is short by two states. One should-fix (S2), four nits (N3 to N6), no must-fix. The delta carries every finding of 7265371022 and every item of 7265398940, and where it states the build it states the tree at Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-warren · session_01JQwxbZFEo6URsCoWYcL8ub 2026-11-30T08:05Z · The brief the isolated reviewer was handed for the delta review record above on this head (7272459600), as it stood. The reviewer was served at BriefContract review brief — PR #38601 @
|
…r sentences of item 8 and Consequences say what the build does The delta review of this record passed it with one should-fix and four nits, all in sentences this revision added. - D5 and item 8 cite, beside the seat's note on the hour, the comment that corrects its scope: the pass more can fall on any marked approval, one that holds a decision back included. Item 8 no longer reads as if D5 quoted the note: D5 quotes the option text of the third ruling. - A node of another flow does not answer for the step last decided where the set the request carries names the request's flow; where it names none, the id alone decides. - A reading ends early only at a run that reports paused with its pause gone; the other states of a tree stand together. The oldest marks are read on every pass. - The passed run: what is the seat's reading, what is the pin of the ruling record, and what the build added. - Consequences names all six states under the bound, and the put-back. No sentence in a ruling record's words changes. Claude-Session: https://claude.ai/code/session_01JQwxbaoxpe1tyHuqnsAUFB Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract reviewServed-tier: PR #38601, card #37767, the governed revision of ADR-0162 (one file). A DELTA round against record 7272459600 (PASS at What moved under the record since 7272459600: the build it describes is now on the trunk. PR #38618 merged as Result: no must-fix and nothing graded above a nit. S2 is closed, N3 to N6 are closed, and two new nits (N7, N8) are left as accepted deviations. No changed sentence is false against the trunk. One escalation is carried to the hand-off (③), and the PR body must be brought up to this head before the maintainer is asked (③). ① Derived judgments
② Semver level
③ Boundary flagsThe escalation the seat carries at hand-off. Not answered here; it is the maintainer's.
The PR body is stale and must change before hand-off. The tree was judged, not the body. What the os-dev report 7273124645 lists, confirmed, and three points it does not list:
Report 7273124645, its flags.
Other.
④ Design judgment(1) S2. S2: closed
(2) N3 to N6. N3: closed. "Where the set of nodes the request carries (D5) names that flow, a node of another flow of the approval that carries the step's id does not answer for it. Where the set names no such flow, or the request records none, the id alone decides, which can only cost a resubmission." This is N4: closed. "… where more requests are marked than one pass reads, the oldest marks are still read on every pass and the others once in each turn of the scan": N5: closed. The seat is given its own point only (7257555103, point 2: "A run the plugin read speaks for the children it went past"); the failure route is given to ruling record 7257604888, whose words are "plus one pin: 'went on past the step' never covers a continuation along a failure route"; what going on past a step means in the log and the two bounds are named as the build's. Each attribution matches its record. N6: closed. Consequences names "the six states Execution item 8 holds to its age bound" and adds "What ends the wait there is the outcome, or the put-back where the approval ended between two steps". Six is item 8's own count, and the two ends are the two arms of (3) Does a changed sentence become false against the trunk at Tried and held.
Findings. No must-fix, no should-fix. N7 (nit) — both new citations say the correction replaces the note's "third line". The correction says "its third bullet", and the third line of the note as posted is its heading, which carries "No new ruling is asked". The clause after each colon says what was replaced, so no reader is misled on substance. Left as an accepted deviation; "third point" would be exact if the line is ever touched again. N8 (nit) — "A reading ends at a run that reports paused with its pause gone" is said without its condition. It is true of a reading within the bound and of the first aged reading of that run; the reading that finds the state stood before goes on past the run and places it ( S2 and N3 to N6 are closed, and nothing above a nit is open on this head. The delta says of the build what the trunk does, sentence by sentence, and it adds or moves no word of a ruling record. What remains is not in the tree: the maintainer is asked the one sentence in ③ at hand-off, and the PR body is brought to this head first. Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB 席位核对REWORK @ 9943499 (card #37767; draft; base Must-fix
Not must-fix (the ADR text; the seat's call)
Everything else passed
Checks at this head (read before writing, latest per name): 25 success, 20 expected skips, 0 failure, 0 pending; Lint & Repo Gates and TypeScript Type Check |
|
repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB 席位核对ACCEPT @ 9943499 (delta from REWORK 7273650149; same head, the PR body only)
Checks at this head: 25 success, 20 expected skips, 0 failure (unchanged head; the body edit's |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z 维护者速读
Seat opinion: land as is, once the maintainer has answered the question above. D5's "the hour and one pass of the reconciler more" and the matching Consequences bullet are loose by one sweep against item 8, which is exact; the seat leaves both as written this round and aligns them with whichever answer the maintainer gives. 席位核对ACCEPT at head
ACCEPT → PR #38601 comment 7273701299 · Contract review → comment 7273449137 |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Merged 2026-11-30T09:08Z: into the approvals trunk |
…d to change and held for its whole approval (closedStates, ADR-0162) (objectstack-ai#38810) <!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9HqHpbnZfMBnSP27W5MzeEY)_ Part of objectstack-ai#37768 Part of objectstack-ai#37766 Part of objectstack-ai#37767 Clause-②: yes (narrowing) Metadata-protocol: semantic Skills-docs: follow-up objectstack-ai#38425 **This PR supersedes objectstack-ai#38497** (the approvals trunk `claude/o5-data-approvals-trunk` → `main`). The trunk took its two `main` refreshes as squashes, which left its history without `main` and objectstack-ai#38497 in conflict with `main` again. This branch is the trunk with its history joined to `main`: it carries every commit on the trunk, and `main` up to `2fba83493b`. The Part-of lines and the two declarations above are objectstack-ai#38497's; Clause-② carries the narrowing arm of piece 5 (objectstack-ai#38746, `feat(approvals)!`), which landed on the trunk after objectstack-ai#38497's body was written. objectstack-ai#38497's description follows unchanged below, under "The trunk (from objectstack-ai#38497)". ## 维护者速读 - 改了什么:objectstack-ai#38497 的全部内容(单据关闭态锁定 ADR-0162 的 A/B/C 各片、objectstack-ai#37766 各片、审批 objectstack-ai#37767 各块,含第 5 块「审批全程锁单」),改由这个 PR 落到 main;objectstack-ai#38497 由席位关闭。 - 为什么换 PR:主干两次刷新都被 squash 合入,主干和 main 的历史断开,objectstack-ai#38497 又与 main 冲突;这条分支内容等于主干加最新 main,历史里带着 main,所以对 main 是干净的。 - 谁受影响:同 objectstack-ai#38497 下文说明;声明了 `closedStates` 的对象受影响,没声明的照旧。 - 要你做什么:待 battery、L1 与非实现方契约复审之后,由席位交棒。 ## How this branch is built - Trunk head `a5f33621e3` (objectstack-ai#38797, squashed; its tree is `85aea4d1c2`). - `77e94868d0` merges `8ff2442358`, the gated head objectstack-ai#38797 squashed: same tree `85aea4d1c2`, no content change; it puts `main` up to `fc198b2847` into the history. - `2f344f7b1d` merges `origin/main` at `2fba83493b` (7 commits after `fc198b2847`) through `scripts/pm/os-regen-merge.sh`: no conflict, and none of the 7 commits touches a file the trunk's own changes touch. ## Trunk refreshes with `main`, and their records - objectstack-ai#38791 (`main` at `59faf74c6f`): L1-b ACCEPT 7284982294, contract review PASS 7285519382, seat record 7285551596; DELIBERATE CORRECTION declaration 7284894883. - objectstack-ai#38797 (`main` at `fc198b2847`): L1-b ACCEPT 7289462740, contract review PASS 7289911344, seat record 7289942965; DELIBERATE CORRECTION declaration 7289249692. ## Measured on this head - `scripts/pm/dispatch-gates.mjs` against `main`: 147 derived, 147 run, 0 NOT-MEASURED, all exit 0. - Regeneration from this tree (`gen:schema`, `gen:docs`, `gen:liveness-counts`, then `check:generated` and `check-system-context-census.mjs`): exit 0, and the tree was unchanged after it. - Tests and typecheck green: objectql, metadata-protocol, platform-objects, plugin-approvals, core, service-automation, spec, runtime; cli tests green; dogfood 500 files / 4295 tests passed. - A trial merge of this head with `main` at `0fc9eab900` has no conflict. ## The trunk (from objectstack-ai#38497) > **Trunk moved (seat repo:objectstack#5, area o5-data).** This PR replaces objectstack-ai#38421, the same closed-state trunk handed back by seat 2 (clock-out brief 7250342397 on objectstack-ai#34478). The trunk branch is now `claude/o5-data-approvals-trunk`, cut from `claude/project-thread-yxheps` at `bfe2df88b` and written only by area `o5-data`. Since the hand-back it carries objectstack-ai#37766 slice C (PR objectstack-ai#38485, merged into this trunk as `07f0923c5c` with `--no-ff`). Still to land on this trunk before it leaves draft: objectstack-ai#37766 slices B and D, objectstack-ai#37767 pieces 3–5, objectstack-ai#37768 slice C (Release-order lines on those cards). The sections below are objectstack-ai#38421's, for slices A and B of objectstack-ai#37768 and piece 2 of objectstack-ai#37767; the slices added since are described in their own PRs. > **Since landed on this trunk** (all in this PR's diff): objectstack-ai#37766 slices B and D: objectstack-ai#38499, objectstack-ai#38546, objectstack-ai#38562, objectstack-ai#38563; objectstack-ai#37767 pieces 3–5: objectstack-ai#38540 (piece 3), objectstack-ai#38618 (piece 4), objectstack-ai#38746 (piece 5), with the ADR-0162 revision objectstack-ai#38601; objectstack-ai#37768 slice C: objectstack-ai#38516. Two refreshes with `main`: objectstack-ai#38791, objectstack-ai#38797. > (objectstack-ai#38497 as written) Clause-②: yes (widening: one new optional authorable key, `ObjectSchema.closedStates`, and the engine's enforcement of it) > (objectstack-ai#38497 as written) Metadata-protocol: added > (objectstack-ai#38497 as written) Skills-docs: follow-up objectstack-ai#38425 ### 维护者速读 - 用户能看到什么变化:对象上写了「哪些状态算已关闭」后,单据一旦进入这些状态(比如发票已付款、已作废),它和它的明细行就不能再被普通用户改、删、挪动明细或加明细,系统返回 409「记录已锁定」;批量操作只要碰到一条已关闭的单据就整批不执行。系统自身的写(汇总重算、审批回写状态)照常落地。没写这个键的对象完全不变。 - 为什么做:单据关闭态锁定(ADR-0162)的第一、二部分:A 定下这个键和编写规则,B(本次新增)让平台真正按它锁单据,应用不用再手写锁定代码,也第一次能挡住「删一条明细」这种以前挡不住的改动。 - 出错会怎样:只影响写了这个新键的对象。最坏情况是该锁的没锁(回到今天的样子),或者某个平台内部写被误锁(已逐条列出并测试)。分支在拒绝文案(C 部分)和审批两张卡落地前不合并,所以不会单独发布。 - 要你做什么:无。有一条覆盖层的发现交座位判断是否要上决策卡(见 Acceptance notes「Overlay」)。 ### What changes #### Slice A — the key (ADR-0162 D1) Slice A of objectstack-ai#37768 (ADR-0162 D1, the key), on the card's trunk branch. Slices B (the engine's judgement, D2–D7, D10) and C (the refusal, D8) land on this same branch; it does not merge before the card's `Release-order` line is met, so the key is never published without its enforcement (ADR-0078, ADR-0162 D10). **Spec (`packages/spec`)** - `ObjectSchema.closedStates`: optional map from a field of the object to the list of that field's values that close a record, e.g. `{ status: ['paid', 'void'], approval_status: ['approved'] }`. The record is guarded against a `__proto__` key like `fields`. No default, so no parsed object grows a key. TSDoc and `.describe()` state the contract D1–D5 give. - `refuseDishonestClosedStates` (`src/data/closed-states.ts`, outside the barrel, the `stage-field-kinds.ts` precedent), called from the object's `superRefine`. One located `custom` issue each, at `['closedStates', FIELD]` or `['closedStates', FIELD, i]`: a key naming no field of the object; a field that is not a single-value `select` (another type, `radio` included, or `multiple: true`); a select with no inline `options` (a `picklist`-backed one); an empty list; a value that is not one of the field's options; a repeated value. Because the object document is judged whole, the same refusals cover removing or retyping a named field and removing a listed option: the next version leaves a declaration that names what the edit took away. - Studio object form row (Advanced section, JSON row beside `uiReadonlyWhen`). - Liveness row `object.closedStates`: **`planned`**, evidence `closed-states.ts#refuseDishonestClosedStates` (the refusals, live at parse) — the `enable.aiReadable` precedent. It turns `live`, with its runtime proof, in slice B: nothing on this branch reads the key at runtime yet. See Acceptance notes. - Regenerated: reference docs (`content/docs/references/data/object.mdx`, `packages/spec/docs/references/**`), the authorable-surface record (`data/Object:closedStates`), liveness state counts (object: planned 1 → 2). **Other packages** - `metadata-core` FLS scrub: `closedStates` classified as a map keyed by this object's fields (`recordOf(keep, true)`): an entry whose field is denied to the caller is left out of the served definition, an emptied map is deleted, and the values (option codes) are literals, never read as references. - `platform-objects`: the form row's label and help text authored in all ten translated metadata-forms locales (ar, de, es-ES, fr, ja-JP, ko, pt-BR, ru, zh-CN, zh-Hant), `en` regenerated by `check-i18n-bundles --write`; two derived leaf-count pins moved (+2 leaves in `advanced`, +1 translated label). - Three changesets: `@objectstack/spec` minor, `@objectstack/metadata-core` patch, `@objectstack/platform-objects` patch (the `uiReadonlyWhen` precedent). #### Slice B — the engine's judgement (ADR-0162 D2–D7, D10) **Engine (`packages/objectql`)** - `closed-state-lock.ts` (new): the one judgement every write door calls. A record is closed when its STORED row holds a listed value (D2); its unit is the record plus its direct `master_detail` lines, and a junction row is a line of both masters (D3). Every write a system context does not make is bound, and a write with no context is bound (D5). The refusal is `409 RECORD_LOCKED` with `reason` (`record_closed` · `master_closed` · `cascade_reaches_closed` · `cannot_judge`), `object`, `blockingObject`, `lockReason: 'closed_state'`; the message names no id and no state value. D8's sentences are slice C. - Wired doors: by-id update and delete (`engine-update.ts`, `engine-delete-and-aggregate.ts`, judged against the prior row the write already reads); predicate update and delete (refused whole before any row is written: one existence probe on the record, and for lines one semi-join probe where the store compiles the composed `ReadableIds` leaf, else the write's one read of its matched rows under `MAX_BULK_PER_ROW_HOOK_ROWS`); insert and insertMany (a line under a closed master; partial-mode insertMany is refused whole); the cascade set where it is planned (`engine-cascade-planning.ts`, D6); restore (`recycle-bin/restore.ts`, D7). - Placement (D10): after the middleware gates, before the before-hooks. A master the write NAMES goes through the caller's own read door first (`masterDetailHeadersCallerReads`), so an unreadable master answers as before and the lock never confirms that a record the caller cannot read exists; a STORED master is read by the engine. - `closed-state-values.ts` (new): `closedValuesOf`, split out so the registry does not import the write path. **Registry fold (seat review S1, `registry-closed-state-fold.ts`, new)** - An extension that redeclares a field the served `closedStates` names, and removes it, retypes it, makes it multi-value or narrows its options past a listed value (or leaves it with no inline options), has THAT redeclaration refused: the field stands as the fold had it, the fold logs it once naming the package, and the rest of the extension lands. One test per case. The four guarantee sentences of slice A stand as written. - A tenant overlay (the fold's base) may ADD closed values; the served declaration is the package's list with the overlay's added, and a field the package's list names keeps the package's definition where the overlay broke it. **Other** - Liveness `object.closedStates` → **`live`**, evidence the engine's reads and the dogfood suite; state counts regenerated. - Error-code ledger: `RECORD_LOCKED` registered under `@objectstack/objectql` (third emitter beside plugin-approvals and rest). This is a D8 ledger line pulled forward because B already throws the code; C keeps the sentences. - Changeset `@objectstack/objectql` minor; the spec changeset gains the ledger line. **After the seat's delta review (7249320091, PASS), head 8e95b36** - S2: every master check is asked of the store: one existence probe per chunk of ids with the closed predicate in its `where` and `fields: ['id']` (`anyClosedAmong`), never a read of state columns tested in process. The cascade set is judged the same way: one probe per chunk for its own state, and for its lines the predicate door's semi-join where `lineProbeServes` says the store runs it; only a store that cannot keeps the read of the lines' keys, then one probe of their masters (D4's stated fallback). Pinned per shape by `a cascade that reaches a line of a closed record is refused …` (probe store: no read of the master; no-probe store: one probe carrying the predicate, `fields: ['id']`). - N2: where the fold restores the package's field over an overlay that broke it, the overlay's added closed values for that field are served only where the package's field declares them. - CI on a0d9493: the system-context census row for `boundByClosedStates` (row 29g on `content/docs/permissions/system-context.mdx`, register regenerated). The local census had passed before the commit because it walks tracked files only. - Carried to slice C by the seat: tests for the assignment-rule and approval-mirror system writes, a plugin-security-level D10 test, and the API names in the developer `message`. #### Engine-derived writes (Done-when list) | Write | Context it runs in | What the lock does | Test | |---|---|---|---| | Referential clear of a deleted record's references (`set_null`) | system (reference-cleanup elevates; the clear also carries the referential-clear marker) | lands: exactly the cleared field | `a referential clear lands on a closed record` | | Recycle-bin relink on restore | caller, carrying `REFERENTIAL_CLEAR_OPTION` | lands (a bare reference restore, the clear's inverse) | `the recycle-bin relink puts a cleared reference back on a closed record, for the caller` | | Roll-up summary recompute | `{ ...caller, isSystem: true }` | lands | `the summary recompute writes the closed invoice in a system context, and lands` | | Cascade legs of a planned delete | caller | judged ONCE, at the planned set (D6); legs are not judged again | `a delete whose cascade reaches a closed record removes no row`, with and without transactions | | Change Owner (`changeRecordsOwner`) | **caller** | bound: each closed record (and line) is a `RECORD_LOCKED` failure, the open ones move | Change Owner block (4 tests) | | Banned-user hand-over (`transferUserAssignedWork`) | **caller** | bound: closed records stay with the user, counted as failures | `the hand-over of a user's work leaves the closed records …` | | Assignment rules | system | lands | not added here (system, unbound by D5) | | Approval status mirror | system, attributed | lands | measured below | The two writes that run in the CALLER's context (Change Owner and the hand-over) are bound, not exempted, and are reported to the seat as the card asks. #### Measured: the approval mirror and the request's finalisation They do **not** share one unit of work. `ApprovalService` finalises the request (`engine.update('sys_approval_request', …, { context: SYSTEM_CTX })`, `approval-service.ts` ~6305) and then calls `mirrorStatusField` (~6312), which issues its own `engine.update` with no transaction handle and swallows a failure into a warning (`approval-service.ts` ~4989–5015). The same order holds at recall, reject, return and the dead-run abandon (~7110, ~7726, ~7768, ~9810). A mirror that fails leaves a finalised request and an unmirrored record. The lock does not change this: the mirror is a system write and lands on a closed record. #### Hook-supplied master (N14) A master a `beforeInsert` / `beforeUpdate` hook supplies is **not** judged: the lock runs before the before-hooks (D10), so it judges the master the caller named. Pinned by `a master a beforeInsert hook supplies is not judged by the lock`. ### Why ADR-0162 (merged as `972114df`), Execution item 1, on the maintainer's rulings recorded on objectstack-ai#32004 (7073676422) and objectstack-ai#36253 (7200732942, 7201405662, 7205949718). Apps that must freeze a decided document hand-code it today and cannot guard the removal of a line at all. ### Tests **Slice B** - `packages/qa/dogfood/test/closed-state-lock.test.ts` (new, 69): on SQLite in two store shapes, each pinned, a store that runs the line probe and one that declares `readableIdsLeaf: false` (the MongoDB / OData shape). Every row of D4's table, for a record and for a line, single-row and many-row, on both shapes; the read shape of each (probe: one statement on the line table; no probe: the matched rows plus one read of their masters); the three cannot-judge cases (a master named by something that is not one id, a state read that fails, a many-row line write past the per-row ceiling with 10,001 seeded lines, with the probe-store control that lands); the closing write lands whole and the next is refused; no context refused; system writes, deletes and restores; the cascade removes no row with and without transactions; restore; engine-derived writes; a refused write runs no before-hook; an object that declares nothing reads nothing extra; Change Owner and the hand-over. - `packages/objectql/src/registry-closed-state-fold.test.ts` (new, 13): the four extension breaches each refused with the rest of the extension applied, two controls; overlay may add, may add to an object with none, may not shorten (key left out, fewer values), may not break a named field, relabel control, and an overlay's added value for a field the package's version of which is restored is not served (N2). Measured: with the two guards disabled, 7 of the first 12 fail. **Slice A** - `packages/spec/src/data/closed-states.test.ts` (new, 22 cases): the ADR example parses and keeps its value; absent stays absent; no tie to a `state_machine` rule either way; `create()` keeps it; each refusal above, one located issue each, with its message's subject; one issue per offending entry with a sound entry untouched; removing the field, retyping it, making it multi-value and removing a listed option each refused, with the control that removing an unlisted option lands; the save and publish door (`getMetadataTypeSchema('object')`) and the stack door refuse at the same path; a line object needs no declaration and may declare its own. - `metadata-core` `object-schema-fls-references.test.ts`: a denied field's entry dropped and the readable one kept; a map left empty deleted; CONTROL: a value spelled like the denied field is served as written. - Moved pins, each with a history line: `compose-stacks-merge-collection-refusal.test.ts` and `compose-stacks-collection-pipe-arm.test.ts` — `closedStates` is an object-level collection, so `composeStacks` `objectConflict: 'merge'` refuses two stacks that declare it differently (new `it.each` row), and it is the first collection key on the real shape behind a preprocess stage, which the landed reading carries and the in-only reading does not (the invariance case now pins exactly that); `protocol.meta-types-degenerate-derivation.test.ts` object 53 → 54 top-level properties; the two `platform-objects` echo-decision counts. <details><summary>Slice A local runs (head 5d8b45b)</summary> - `pnpm --filter @objectstack/spec test`: 913/915 files on the first run; the two red files were the composeStacks pins above, re-run green after the move (92/92). - `pnpm --filter @objectstack/metadata-core --filter @objectstack/platform-objects test`: 29/29 files, 1121 tests; 130/130 files, 2218 tests. - `pnpm --filter @objectstack/metadata-protocol exec vitest run src/protocol.meta-types-degenerate-derivation.test.ts`: 18/18. - `typecheck` of spec, metadata-core, platform-objects: exit 0. - `pnpm --filter @objectstack/spec check:generated`: all artifacts up to date (after `--fix` rebuilt the dist; it wrote nothing). - `pnpm check:i18n`: OK, all bundles in sync. - `node scripts/pm/dispatch-gates.mjs --ran`: 122 derived, 120 run, every one exit 0; 2 NOT MEASURED (exit 3, prerequisite: other packages' builds) — `check:skill-examples` (client SDK dist) and `check:dual-build-cjs-loads` (a full build); CI runs both. - `node scripts/pm/overlap-check.mjs`: clean against `origin/main`, no open PR shares a file. - No full dogfood battery: no `!` in the title and no `(narrowing)` arm. </details> <details><summary>Slice B local runs</summary> On 8e95b36: objectql full suite 644/644 files, 14559/14559 tests; dogfood `closed-state-lock.test.ts` 69/69 on a rebuilt dist; fold 13/13; typecheck objectql and dogfood, `check:facade-delegation-only`, `check:system-context-census` green. Head 1f399d9. - `pnpm --filter @objectstack/objectql exec vitest run`: 643/644 files, 14557/14558 tests on the first run; the red file was `federated-injected-column-readers.test.ts`, which asks every engine use of `isFederatedObject()` for a disposition: the line probe's federated-master decline got its row (`exempt`, reads no row) and the file re-ran green (5/5). - `pnpm --filter @objectstack/dogfood exec vitest run test/closed-state-lock.test.ts` against a rebuilt objectql dist: 67/67. - `pnpm --filter @objectstack/objectql exec vitest run src/registry-closed-state-fold.test.ts`: 12/12; with the two fold guards disabled, 7 of 12 fail. - `typecheck` of objectql (with `check:test-typecheck`) and dogfood: exit 0. - `node scripts/pm/dispatch-gates.mjs --ran`: 101 derived, 101 run, every one recorded `exit 0`. First run: 94 green, 7 red, each re-run after its fix: five spec dist-reading gates and `check:generated` answered exit 3 / 1 on a spec dist older than the ledger edit (green after `pnpm --filter @objectstack/spec build`); `check:facade-delegation-only` was red because `engine.ts` grew 7 lines past its ceiling (the new host members now share existing lines, 6856 ≤ 6857). - `pnpm check:system-context-census`: OK (the lock reads `isSystem` through `boundByClosedStates`, inside the census). - `node scripts/pm/overlap-check.mjs`: clean against `origin/main`, no open PR shares a file. - No full dogfood battery: no `!` in the title and no `(narrowing)` arm. </details> Slice A CI on 5d8b45b: 65 checks passed, 11 skipped, none failed. ### Acceptance notes - **Overlay (card Done-when, for the seat).** Verified and pinned: an overlay may ADD `closedStates`, and before this branch it already could (an overlay body is a full object document, and the fold serves it as the base), so a subscriber's admin can freeze records of a packaged object in states the package did not close. Before the guard an overlay could also SHORTEN the package's list (leave the key out or list fewer values), which unlocked what the package locks; it no longer can. Whether "may add" stays is a product question: if it changes what a subscriber may do to a packaged document, it goes back to the seat as a decision card, as the card says. The pin is `may ADD: an overlay that declares closed values of its own is served with them`. - **The fold "refuses" by keeping the field, not by failing registration.** An extension is a separate package that may load in any order; failing its whole registration over one field would take its other objects and fields down with it. The redeclaration of the named field is dropped, the fold logs it once with the package id, and the rest applies. - **D10 gate placement** is proven in the engine by order (the lock runs inside the write after the middleware chain and before the before-hooks, pinned by `a refused write runs no before-phase hook`); no plugin-security-level test was added for "a caller denied the object gets the same answer on a closed record". - **Liveness (slice A: `planned`; slice B: `live`)** (confirmed by the seat, claim revision 7248339226). The claim's file surface names "the liveness ledger row with its runtime proof (ADR-0054)". On this slice there is no runtime reader to prove: the engine's judgement is slice B. A `live` row now would cite a consumer that does not exist. Slice A set the row `planned`; slice B flips it to `live` with the engine reads and the dogfood suite as evidence. - **Narrow readings of D1, decided here (small, listed for the seat):** `radio` is refused (D1 says `select`); a `picklist`-backed select is refused because its options are not on the object and this is the one door every save passes (the `stageField` precedent); an empty map `closedStates: {}` is accepted and closes nothing (D1 refuses an empty list, not an empty map). "Stored" needs no check of its own: a computed value is a `formula` field, never a `select`. - **Publish door.** The removal and retype refusals ride the object's whole-document parse, which the save and publish door runs (pinned at `getMetadataTypeSchema('object')`). A field removed through a tool that rewrites the object document reaches the same parse. - **Not in this slice (the card's other Done-when lines):** the overlay question moved to slice B (claim revision 7248339226) and is answered above. The `skills/**` follow-up is objectstack-ai#38425; the docs card (item 5) and an eval that exercises a declaration are owed by the card, named here as the card asks. - The Metadata-protocol line was `added` on objectstack-ai#38497, the card's own value for the key (the seat's claim revision 7248339226). This PR declares `semantic`: it also carries objectstack-ai#38746, whose changeset `.changeset/37767-hold.md` declares `Metadata-protocol: semantic` (a record that declares `closedStates` is now held for its whole approval, with no change to what an author writes), and AGENTS.md takes the strongest of several kinds, `narrowed` over `semantic` over `added`. - Branch is the trunk `claude/o5-data-approvals-trunk` (cut from seat 2's `claude/project-thread-yxheps`), not `claude/issue-37768-*`. ### Verification Two-minute check: `pnpm --filter @objectstack/spec exec vitest run src/data/closed-states.test.ts` — expect 22 passed; `pnpm --filter @objectstack/objectql exec vitest run src/registry-closed-state-fold.test.ts` — expect 13 passed; after `pnpm --filter @objectstack/objectql build`, `pnpm --filter @objectstack/dogfood exec vitest run test/closed-state-lock.test.ts` — expect 69 passed. ### Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` passes (CI). - [x] 4. One issue, one branch off an up-to-date `main`, one pull request (the card's trunk branch). - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01ADHkmPpwJymVUdp5AnRPBq <!-- signed: repo:objectstack@os-steve · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z --> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: objectstack-fleet[bot] <332303061+objectstack-fleet[bot]@users.noreply.github.com>
Requested by Jianguo · project thread
Part of #37767
Clause-②: no — ADR prose only, no published key or answer changes
Metadata-protocol: none
This pull request carries the wording of ADR-0162 only. The card's other work stays open: piece 5 (the hold). The build of piece 4 (the engine half and the plugin core) is on the trunk: PR #38618 merged as
99a6524361.维护者速读
What changes
One file:
docs/adr/0162-an-object-declares-its-closed-states-the-record-and-its-lines-are-closed-to-change.md, four long lines changed against the trunk (+4 / −4): the status line, D5 "How the plugin learns that an approval is over", Execution item 8 "The reconciler", and one sentence of Consequences. No code, no generated file, no changeset. The record's row indocs/adr/README.mddoes not change, because the status line keeps its opening words.The revision writes in three rulings the maintainer made on 2026-11-29 on piece 4 of the card. The first two are as ruling record
7256254988states them:The third was made on the seat's review of this pull request, and ruling record
7257388557states it:The maintainer's own words are the three taps the record carries, 「审批插件自己记下结论」, 「一小时后退回重提并通知」 and 「满一小时后结果通知一起写」. The revision quotes each with the question it answered, and leaves them untranslated.
This round: the text round on contract review 7272459600
Head
9943499b97, one commit one38c9d78f8, three lines of the one file (205, 423 and 559). The round answers contract review7272459600(PASS ate38c9d78f8: S2, and the nits N3 to N6). The delta review of this head is record7273449137: PASS, S2 and N3 to N6 closed, two nits left as accepted deviations (N7, N8). No sentence in the words of a ruling record changes, and no quotation is added or moved.7270603869, the seat's correction7272498941of its third point, and state the corrected scope: the one pass more can fall on any marked approval, one that holds a decision back included. Item 8 no longer says the note is quoted in D5: it is the option text of the third ruling that D5 quotes.7257555103, its second point); the failure route is the pin with which ruling record7257604888lists the reading; what going on past a step means in a run's log, and the two bounds on a cut log and on a run whose own row is gone, are named as the build's.For the maintainer at hand-off. The record reads the "at most one hour" of ruling record
7257388557's option text as one hour, plus at most one sweep interval (five minutes by default) where no judgement read the approval within the hour, for every marked approval including one that holds a decision back, and more only in the cases item 8 names. That reading is the seat's (note7270603869with correction7272498941; note7269166540for the two readings in a row; reading7257555103and seat ruling7258590209for the passed run and the cut log) and not a ruling. The question is put in the summary above, and the merge of this record is what accepts it.The round before: the rework on contract review 7265371022
Head
e38c9d78f8, one commit on70999c611b. The rows below are that round's; where this round reworded a passage, the row says so. The round answers contract review7265371022(FAIL: M1, M2, S1, N1, N2), the seat's record7265398940on it, and what the review of the build asks of this record (7270552441, its out-of-scope notes). The record now follows the plugin core as reviewed:packages/plugins/plugin-approvals/src/approval-service.tsatb048058186, the head of PR #38634, which was merged into the branch of PR #38618 as875b62d0c2with that file byte-identical. PR #38618 has since merged into the trunk as99a6524361, where the file is the same blob.mapas through asubflow. Amapin that chain has items that are not records, so the batch is cancelled with its item. The cancel is not tried again once the put-back has landed. Where the approval holds nothing back, nothing is written, told or cancelled, and the run stays parked.7257555103of the first ruling, listed for the rebuild in ruling record7257604888, and not as a ruling. D5's sentence on a run the plugin never read stays in the ruling record's words.childRunIdsTruncated, or the log of a run that has ended whose history row cannot be shown to keep every step. The plugin cannot tell within the bound, and past it the approval is placed by the step last decided, with the notice at a last step (seat ruling7258590209). Beside it stands the limit the maintainer ruled on 2026-11-30 (ruling record7268216330, 「A 维持现状,只写进文档」): a log that loses whole steps to the engine's compaction carries no mark, and the plugin reads what the log kept.7269166540.72706038697257388557that named one hour, once and whole, and gives the reading to the seat's note with its correction7272498941, for every marked approval (this round, S2).mapwhose items are records. The plugin reads of such an item run only whether it has ended, and none of its steps. "Which nothing will resume" is gone: it is concluded from two readings.map.The pull request as a whole, against the trunk
packages/services/service-automation/src/run-resume.ts#resumeInternal), and the history keeps a lasting row only for a run that has ended (packages/services/service-automation/src/run-history.ts#recordLog), so after a restart the run has no row at all (#getRun). The item says so and keeps the old description as what it first said.Left as written, on purpose
Statements that are this record's own
No ruling record states these. They are for the review to confirm or send back. Each was read in the plugin core at
b048058186, and that file is on the trunk at99a6524361as the same blob.packages/services/service-automation/src/suspended-run-store.ts#DEFAULT_MAX_TERMINAL_RUNS_PER_FLOW). Read on the trunk at37e97a8366, not run. Confirmed by review 7265371022.approval.flow_not_continued, what the notice says ("could not be seen through to its end"), and that it goes only on the pass whose write of the outcome landed.packages/plugins/plugin-approvals/src/approval-service.ts#ESCALATION_SCAN_INTERVAL_MS, on the trunk).Why
The contract review of piece 4 (
7255916895, M2 and S1) found that the reconciler's first case does not exist after a restart, and that a decision whose run was never resumed stays in progress for good. The maintainer ruled both on 2026-11-29, and a third question on this pull request's review. The plugin core was then rebuilt and reviewed on its own pull request, and the first contract review of this record found it describing the build before the rebuild. The build cards cut from this record pin its statements in tests, so the record follows the build its review passed.Tests
None: the diff is one Markdown file under
docs/adr/. The code the revision cites was read and not run in this round. The suite cases the new test entries stand for exist on the trunk at99a6524361inpackages/plugins/plugin-approvals/src/approval-reconciler-37767.integration.test.ts(the cases marked[S7 point 2],[S7, the failure route],[S1, N8],[M5],[S11],[S12],[S14],[N20]and[N9]); they ran green in that pull request's own rounds.pnpm check:adr-symbol-anchorsresolves every anchor of the record; this round adds none.Acceptance notes
e38c9d78f8) only lines 205, 423 and 559 differ; against the trunk, lines 3, 205, 423 and 559 (+4 / −4). The file keeps its 762 lines.37e97a8366: the 14 distinct 「…」 quotations of the base all stand, each as many times as before (26 occurrences), and the 25 blockquote lines are identical. The round before added two, each copied from its record by script: the tap of ruling record 7268216330 (twice, in the status line and in D5) and the option text of ruling record 7257388557 (once, in D5). Against the head before this round: its 22 distinct quotations (38 occurrences) all stand, and this round adds none (as measured in report7273124645).7272498941: it applies to every marked approval, one that holds a decision back included, as the build has it (the case[S14] where the approval holds a decision back, the judgement that first reads a run as stopped past the bound writes nothing, and the next one puts the record backpins it). D5 and item 8 cite the note with its correction. What exists only where nothing is held back is the wait between two steps by design.99a6524361;approval-service.tsthere is the blob the reviews read at875b62d0c2.b048058186and875b62d0c2, and by the delta review on the trunk at99a6524361(one blob throughout). Its tests were not run in this round.session_01QsR2jSxmUkp7HHZDpMCpYx's, on seat 1's thread. The commits of the last two rounds (e38c9d78f8,9943499b97) are sessionsession_01ADHkmSAjFEZHRpRq3WCj6z's, for seatrepo:objectstack#2. The topic then passed to seatrepo:objectstack#3(release 7272899889), and this body is that seat's:repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z.docs/adr/**is Tier H, so this stays a draft and lands by the maintainer's hand.Verification
Read first (by risk):
Two-minute verification:
pnpm check:adr-symbol-anchorson this head. Expected:✅ check-adr-symbol-anchors: 4541 anchors across 164 records resolve — 1682 symbol (1653 declaration, 29 literal), 2807 file-level, 52 cross-repo, 6 exempt, 127 continuation.Gates on head
9943499b97, as run by the session that pushed it and reported in7273124645. The list isnode scripts/pm/dispatch-gates.mjs --commandsfor the one changed path: 21 commands, the same list as at the head before. The path is passed by name because the base is the trunk: the default derivation takes its change set from the merge base withmain, which would count the trunk's own commits. Each command ran on that head with its exit code captured before any pipe.21 of 21 exit 0, and none is exit 3.
node scripts/pm/dispatch-gates.mjs --ranfor the same path:✓ dispatch-gates --ran: 21 derived famil(ies) accounted for — 21 run, 0 NOT-MEASURED. The@objectstack/lintpackage and its dependencies were built first, under the verify lock (VERDICT command-exit 0), because the doc-formula gate reads their build. The derivation prints a staleness note, because this checkout sits behindmain: its base is the trunk. The families CI runs beyond the derived list are CI's to run on this pull request.node scripts/pm/overlap-check.mjs --base=origin/claude/o5-data-approvals-trunkon this head:VERDICT clean exit 0.CI on this head, read at 2026-11-30T08:48Z by the delta review: 41 check-runs, 24 success, 17 skipped, none failed, none pending, every one on
9943499b97.Governed Surface Queue Guard,Lint · docs & code guards,Lint · PM dispatch-gates,PR-body guards,Test CoreandDogfood Regression Gateconcluded success;Check Changesetconcluded skipped, as the pull request carriesskip-changeset. Mergeable state: clean. The body guards run again on a body edit; their verdict after this edit is thePR-body guardscheck-run on the pull request.Local gates (21 commands, exit code beside each)
Human Minimum
packages/specholds no runtime logic. (No schema and no code in this diff.)pnpm lintpasses. (No formatter ran. The diff holds no filepnpm lintreads; CI runs it.)docs/adr/**ships in no package, so the pull request carriesskip-changeset. Both lines are filled in above.)packages/spectouched: its generated artifacts are regenerated and committed. (Not touched.)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code