Repository navigation
feat(cli): os migrate stored-forms — the read-only census and upgrade precheck of stored forms - #38613
Conversation
… of the stored-form ceremony ADR-0159 D7, card 5a PR 1: listStoredForms() classifies every active stored row that holds a form in an old shape, per form name and package address (keep, move, fold, remove an internal record form, hold, left in place), and answers whether the upgrade to the next major may switch. The command prints it and writes nothing. orderedFormRowsAt is the served-row order the form read already used; the start-up message for an unreadable body names the command. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibzWj7MTrb8KnuXA6YP
…l form ahead of a linked row ADR-0159 D7-d gains the ruled "not counted" kind: an internal record form served ahead of a same-named row that declares a public link (switched on or off) moves and deletes nothing, both rows are reported as left in place, and the upgrade is not held. The planner's one deciding constant cites the ruling, and the twin fixture (the link switched off) is pinned. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibzWj7MTrb8KnuXA6YP
The facade-delegation gate caps protocol.ts, so the census entry point is listStoredFormsOf(protocol) in its own module and the command calls it. The integration test pays its dist-resolved loads at module top, and the handwritten-docs roster lists the new operations page. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibzWj7MTrb8KnuXA6YP
ADR-0159 D7-d and the precheck sentence now say the maintainer ruled the package-less row behind, and the wider predicate is this record's reading. The operations page no longer sends the per-package pair to a command that cannot clear it, and drops a kernel claim the hold does not rest on. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibzWj7MTrb8KnuXA6YP
The command boots through bootSchemaStack, so the family table names it: report-only, its one mode leaves the database byte-identical and creates no missing SQLite file. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibzWj7MTrb8KnuXA6YP
…rulings A package-less row read at several addresses is removed only where it is internal at every one, and moves at each otherwise; a plan names the rows another address reads with that address's outcome. A pair's stored view override keeps its pair and basedOn without asking the ensure door. List rows behind the served row are left as stored and not folded. A list alone over a base that ships the form is reported left in place. The carried withdrawal names the kept body's slug. The maintainer's rulings: a form row bound to a read-only package that ships no form of the name moves into that package's pair as its own form item, and the name has no environment address while such a row stands; old-shape drafts are listed, neither moved nor deleted, with a warning that they cannot be published after the upgrade; the earlier per-package pair hold says no command on this release clears it. ADR-0159 records them and syncs its summaries. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibzWj7MTrb8KnuXA6YP
…beside a bound row Where no package ships a form of a name, a row bound to a read-only base and a pair's declared override of that base were planned at two addresses, and both could move to the pair's own form: the bound row's body, which the read serves nowhere today, became a served form. The read serves the override at the base's address whenever a stored row seats it, so the planner now reads the served pair's overrides there: the override is the served row, the bound row folds behind it, and one move goes to the pair the override stands in. Another pair's override of the same base stays at its own pair's address, where the read serves it. A row behind a removed form that is the served row at another address is no longer listed or counted under the removal: the plan names it apart (servedElsewhere) and the report says it is not removed with the form in front of it. The report's closing line sends the operator to the action printed for each hold, since not every cause can be removed on this release. StoredFormDraft is exported with the other census shapes. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5nKeNC91jfN3AY3HKz
…our summaries ADR-0159 D7's destination bullet now says what D7-d decides where a row bound to a base that ships no form of the name stands beside a pair's declared override of it: the override's body is the one kept, in the pair it stands in, and the bound row folds into it. The clause is marked as D7-d's, not the ruling's, and the second-pair half as this record's reading. The pair-form pin is a pin of its own and no longer a seventh fold fixture. The two paragraphs beside question 4 and the Consequences bullet credit the ruling of 2026-11-29 with the package-less row only, and no longer call the kind a third. A stray clause in D7-c and a trailing semicolon are fixed. The operations page says the start-up log line is the next major's, and that a row behind a removed form which another package serves is not removed. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5nKeNC91jfN3AY3HKz
…ipped base The module header said a pair's override is read at its base beside a bound row. Where two pairs of one base each hold an override, only the pair the read serves at the base is read there; the other keeps its own address. The header now says so, as the function's own docblock and the planner do. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5nKeNC91jfN3AY3HKz
…s amended ADR-0159 D7 gains the reach of the destination ruling (ruling record 7254350842): a row the read serves at another package's address is classed by the base it stands over there and takes the destination D7 gives a row bound to that base, with D7-c's hold where its pair cannot be ensured. The planner asks the served-row order the served reads take, and places such a row at that address. The second pair's override reading now follows from D7-d in the text (S8); the pair_form pin names the ablation of its second half (N17); the operations page says where such a row moves. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV1UG1Uoq28xMDt6gk
…address that serves it ADR-0159 D7 as amended (ruling record 7254350842): a row the read serves at another address than the package it is bound to is classed by the base it stands over there. The planner asks the served-row order at every package that ships the form, so a row two of them serve is planned at each; where the read serves neither of two rows that could follow the name, each keeps its own address and is still named. A withdrawal carried from such a row is read today in its own package's layer, so the plan does not name it newly closed. The rule is decided in one place, servedAtAnotherAddress. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV1UG1Uoq28xMDt6gk
…ther address Two more cases over the real protocol and engine: a row two modules serve is planned at each address, and a withdrawal such a row holds behind the module's own open override is read today in the per-package layer, so the census carries it without naming the form newly closed. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV1UG1Uoq28xMDt6gk
… read serves it, and nowhere else ADR-0159 D7 as amended (ruling record 7254350842) speaks of a row the read serves at another address than the package it is bound to. The planner now asks that as the served `view` list asks it, in the `view` type, so the two agree by construction: - a row the read serves at the package it is bound to (the name is shipped as a `form` item only, or the row is a stored `form` row) keeps the destination ruling record 7250977204 gives it; - a row the read serves at its own package as well is planned at both. The planner's input names the packages that ship the name in the `view` type (`shipsView`), in place of the either-type reading it took before. Pinned in the planner's tests and over the real protocol. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV1UG1Uoq28xMDt6gk
…n no longer reach A row the read serves at another address is a stored `view` row, so it is never a stored `form` row already at its destination: the destination check reads as it did before the amendment. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV1UG1Uoq28xMDt6gk
…e sentence The sentence uses the ruling record's own words (7254350842): the ruling holds on its stated premise, and stands for every row that premise holds for. The second pair's override is stated as following from D7-d, and the pin names the ablation for a row the read serves at another address. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV1UG1Uoq28xMDt6gk
📓 Docs Drift CheckThis PR changes 2 package(s): 44 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: ⛔ 17 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails. What this run could not see
Coarse fallback — 47 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin d4a0fe3d53adbc882ee906cec882a4fad4ce8b1b && git checkout d4a0fe3d53adbc882ee906cec882a4fad4ce8b1b
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin d2caaec40d73a6e8a5bc88554518f5333715ef63 24ab30abefaa7a0c6b6a59f762257d13cd5087e3 && git checkout -B drift-repro d2caaec40d73a6e8a5bc88554518f5333715ef63 && git merge --no-ff 24ab30abefaa7a0c6b6a59f762257d13cd5087e3
node scripts/docs-audit/affected-docs.mjs --json d2caaec40d73a6e8a5bc88554518f5333715ef63
|
|
repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a Contract-tier delta review (rules face: ADR-0159 and its implementing files) at this head, against record 7253682863 on the superseded PR #38464, by an isolated sub-agent of seat 1's L1 thread; the record follows on this PR. |
|
repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a Contract reviewServed-tier: PR #38613, Check-runs on the head, read at 2026-11-29T15:01Z and last at 2026-11-29T15:18Z: 62 runs, 43 success, 19 skipped, none failed, none without a verdict. ① Derived judgments
② Semver levelThe changeset is the same blob at both heads: ③ Boundary flags
④ Design judgmentThe delta on FAIL 7253682863.
Tried and held. A row bound to a former owner; a pair's override that declares one; both at one name (one plan, the override served, the bound row behind); either behind a package-less row; the row's own package shipping the name as a The ADR (
The two pin files. They hold what they assert. The new blocks do not seed the shape of M5, which is why it passes them. The engine block's two-address tests pin the plan S9 is about. Implemented-by: VERDICT: FAIL |
|
repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a 席位核对 — REWORK · L1 · seat repo:objectstack#1, review thread R2 · Head-sha
|
| reading | value |
|---|---|
pr-state.mjs --pr 38613 |
draft · 43 success · 19 expected skip · 0 unexpected skip · 0 failed · 0 pending |
l1-face.mjs --pr 38613 |
Part of #37111, no closing keyword, Clause-②: yes, Metadata-protocol: none; one flag, the changeset, read below; dogfood not owed by the face |
check-governed-merges.mjs --pr 38613 |
GOVERNED, Tier H: docs/adr/** ×1, more than an add-only note; 3,130 changed lines, over the human-merge threshold |
| author tier | verify-review-tier.mjs on the dev's transcript: PASS, 223 turns, every one at CONTRACT_REVIEW_TIER, as the claim's Container & model line requires for a round that touches docs/adr/** |
| dogfood battery | report 7257650260: 793f6688, VERDICT command-exit 0, 495 files and 4187 tests passed, no failure |
Rework items
- M5 (must-fix), record 7258026145. For one stored row shape that neither pin block seeds, the planner's answer to "the read serves this row at another address" is not the read's own (
protocol-form-reads.tslines 322 to 327, reached fromprotocol-stored-form-migration.tslines 502 to 516), so D7 as amended, D7-d and the last sentence of the ADR'spair_formpin do not hold for it. The delta introduced it. The detail reaches the dev from the owner seat, not from this thread. The fix owes a planner test and an engine test over the real read, each red before it, and a delta review at the new head. - S9 (should-fix), record 7258026145, prose face. A row the read serves at two addresses is planned as a move at each, into the same pair under one name; a pair holds one row of a type and name, so the pin's byte-equal sentence (ADR line 339) cannot hold at both. The ADR states the pin's claim for a row served at one such address, and D7 names the two-address case as one no ruling gives a destination for yet. The decision itself is the maintainer's and goes through the seat before PR 2 writes; this PR does not pick.
- The PR body. "The PR as a whole" still says four rulings and two pins; the head records five rulings. The line that carries the two-address case to PR 2 as "the order of those writes" is reworded once item 2 is in the ADR.
- N18 (nit), optional in the same commit. D7's new sentence does not say the plan stops short of a package that ships only a list of the name; one clause in the pin PR 2 owes would do. No outcome differs.
- Wording. Any rewording of public texts the owner seat asks for rides the commit that fixes M5.
Read and settled here
- The changeset flag:
@objectstack/objectqland@objectstack/resteach move by one test file across the whole PR and neither ships; no entry is owed, as the earlier records read it. The changeset itself is the same blob as at the old head. - File surface: the 17 files are the claim's; this round adds none.
Part of #37111is right, and the card keepspm:dispatchedfor PR 2. - The report's
security_findings: withheldis with the owner seat. Its out-of-scope note with no carrier (the engine tests' memory driver does not enforce the overlay unique index) bears on item 2; the seat decides its carrier with that question. - The record reads
Security-touching: yes, and thesecuritylabel is on the PR.
Nothing is handed to the maintainer on this head. The Tier H brief and the hand-off follow a delta PASS.
…ember at the package the container is bound to ADR-0159 D7 as amended speaks of a row the read serves at another address than the package it is bound to. Such a row is an item row: the list serves a container's expansion in its own package's slot, or as a package-less stand-in. The planner now asks the question of item rows only, so a member of a stored container keeps the address of the package the container is bound to. Pinned in the planner's tests and over the real protocol, each red before the change. Test names and one docblock are restated in the ruling record's own words (GHSA-4m68-3464-prgc). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV1UG1Uoq28xMDt6gk
…t two addresses One pair holds one row of a type and name, so the destination D7 gives a row the read serves at another address is given at one such address. D7 names the two-address case as one no ruling gives a destination for yet, and the pin states its byte-equal claim for one address, with the case of a package that ships only a list of the name named beside it. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jV1UG1Uoq28xMDt6gk
… as the seat's step The check now counts the form rows behind an internal record form that an address leaves in place as kept at that address. Where another address serves such a row and would move or remove it, every address that serves it or keeps it holds, and both rows stay as stored. - Status, "Decided by", "What is held", "Against D7-d", D7-d's bullet on the internal form ahead of a linked row, and the switch bullet say so. Each marks it as the owning seat's reading of ruling record 7249158572 together with ruling record 7265816895, not the maintainer's words, and as an exception to the first record's "The upgrade is not blocked", for the approver to accept with the record or strike. The ruled words are untouched; the reading stands beside them. - "Against D7-c": a plan waits on another hold of its row only where clearing that hold would let every other address move the row; and the one measured exit is stated only for a row read at addresses of one App and nowhere else, kept behind no internal form, with no plan of it already holding. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxba7sJxPLc8kzW8QTyd
…not on one its address took for another row Where an address keeps one row behind an internal form left in place and holds for the row it serves, the row kept behind is read as left in place there: it holds on its own, with its own precheck entry and no exit named. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxba7sJxPLc8kzW8QTyd
|
repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu Contract-review-claim: session_01JQwxbXyLoBzNYY1U8SNPFu · head dd1ab29 · 2026-11-30T05:49Z |
|
repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu Contract reviewServed-tier: PR #38613 ( Read for this record: card #37111 (its 26 comments, with dev report 7269697485 and ruling record 7249158572); ruling record 7265816895 on #38661; record 7269115759; Check-runs on the head, read at 2026-11-30T05:51Z: 61 runs, 44 ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentThe delta on PASS 7269115759, by id.
The per-row waiting (
New on this head. No must-fix.
The ADR (
The page, the CLI and the two pin files. The page's "left in place" row and the changeset say the row behind holds where another package would move it. The CLI's one changed sentence is N29's. The pin files hold what they assert; neither seeds S14's arrangement. Implemented-by: VERDICT: PASS |
…ace is folded, moved or removed at no address The rows an address keeps as stored under ruling 7249158572 (the internal form left in place and every form row behind it) are now kept so at every address: a plan that would fold, move or remove one holds, lists it apart and names no exit. One predicate decides it. A waiting refusal no longer says what clearing another hold alone would do, and a refusal names an address that only keeps a row behind as keeping it, not as serving it. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxba7sJxPLc8kzW8QTyd
…measured clearing claim The check now keeps a row left as stored beside an internal record form at every address: a plan elsewhere that would fold it, remove it with its served row, or write a folded row's withdrawal into it holds the upgrade. - "Against D7-d": one sentence says so inside the second exception, under the mark that is already there (the owning seat's reading of ruling record 7249158572 with ruling record 7265816895, not the maintainer's words, for the approver to accept with the record or strike). The ruled words are untouched. - "Against D7-c": a plan waits where every other address would move the row, and the two sentences no longer say what clearing the other hold would or would not bring, which was not measured; the refusal no longer says it either. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxba7sJxPLc8kzW8QTyd
…s it spans, and the report lists kept rows apart on hold lines Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxba7sJxPLc8kzW8QTyd
|
repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu Contract-review-claim: session_01JQwxbXyLoBzNYY1U8SNPFu · head 944aa67 · 2026-11-30T06:53Z |
|
repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu Contract reviewServed-tier: PR #38613 ( Read for this record: card #37111 (its 27 comments, with dev report 7270634803 and ruling record 7249158572); ruling record 7265816895 on #38661; record 7270096541; Check-runs on the head, read at 2026-11-30T06:55Z: 61 runs, 44 ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentThe delta on PASS 7270096541, by id.
The single predicate, tried: does any path that changes a kept row escape it? Within one form name, none was found. Each way a plan changes a stored row was put against a kept row:
One bound is the ruling's own and is not an escape: the rule is read per form name. A stored container can be kept for one member name and have another member moved or removed under that member's name, which re-saves the stored row without that member. Ruling record 7249158572 reads "under that name", and the kept member is not touched. N33. New on this head. No must-fix.
The ADR (
The page, the CLI and the pin files. The page's "left in place" row states the rule for a move or removal at another package. The CLI lists kept rows apart on hold lines. The pin files hold what they assert. Implemented-by: VERDICT: PASS |
…tep is marked The row-wide rule holds a different row than the case it widens: the row a further address serves, where its plan would fold, move or remove a row another address keeps as stored, or write a folded row's withdrawal into it. It was stated under "Against D7-d" only. - Status, "Decided by", D7-d's bullet on the internal form ahead of a linked row, the switch bullet and the "precheck refuses" pin each gain one clause that states it, marked as the owning seat's step and as an exception to ruling record 7249158572's "The upgrade is not blocked", as the first case is. The switch bullet's count of exceptions follows. - "Against D7-d": the kept rows stay as stored at every address under that name, as the ruling record reads. The ruled words are untouched. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxba7sJxPLc8kzW8QTyd
|
repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu Contract-review-claim: session_01JQwxbXyLoBzNYY1U8SNPFu · head 24ab30a · 2026-11-30T07:29Z |
|
repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu Contract reviewServed-tier: PR #38613 ( Read for this record: card #37111 (its 28 comments, with dev report 7271395688); record 7271195568; Check-runs on the head, read at 2026-11-30T07:30Z: 61 runs, 44 ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentThe delta on PASS 7271195568, by id.
New on this head. No must-fix, no should-fix.
The ADR ( Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu 维护者速读
席位核对ACCEPT · L1 · area o2-S1 (seat-1 takeover) · Head-sha
|
|
repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu 2026-11-30T07:33Z · L1 ACCEPT and hand-off · #37111 PR 1 (the read-only stored-forms census and upgrade precheck, plus the ADR-0159 D7 revision) at its current head.
|
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 46374849787 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
…-apply the next major's upgrade command runs (objectstack-ai#38748) <!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9SSdM6AYsxMukn8uhMeGEh7)_ Part of objectstack-ai#37111 — PR 2 of 2 (the write half). PR 1 is objectstack-ai#38613 (merged as `1d959b0910`). Two owed items stay, each with its reason in the table below, so this PR does not close the card. Clause-②: yes (widening) Metadata-protocol: none Skills-docs: none — stored-row ceremony, nothing an author writes changes ## 维护者速读 - 用户能看到什么变化:升级到下一个大版本时,升级命令会把数据库里按旧写法存的表单真正迁成表单行(搬移、合并、删除内部记录表单),公开表单的两扇门在迁移前后应答不变。 - 全有或全无:只要预检还有一行拦着,升级命令一行都不写,所有行逐字节不变;写入在一个事务里做完。不能回滚事务的库上,升级命令在写任何东西之前就拒绝,点名驱动并告诉运维怎么做(换支持事务的库跑,或留在当前版本);`os migrate stored-forms` 在这种库上也会提前说明升级会被拒。 - 独立的 `os migrate stored-forms` 仍然只读,没有 `--apply`(裁决 7142585849)。 - 要你做什么:本 PR 是 Tier H 的 draft,审核后按受管流程批准。你 2026-11-30 的裁决(7277149723)在本 PR 按规则全量落地:今天没有任何一扇门服务的表单,无论绑在哪个包,升级时都原地不动;ADR-0159 D7 单列一条写明「没有门服务」的含义。 - **需要你在批准时定**(席位 L2 7280142300 上报,不评级):上面这条拒绝意味着「默认驱动不能回滚事务、又有要搬的存量表单」的部署拿不到这个大版本,除非换库。批准本 PR 即接受这一点;否则请指示别的做法。 - 风险:写入走仓储底层(不经保存门),所以每条写入都由两门前后钉子和 ablation 守着;Tier H,draft 不转 ready。 - 卡上还剩:两条欠单写明原因留着(见下表);L2 记录 7277980228 与其 delta 7280142300、L1-b delta 7280063801 的各项已在本 PR 修好(见下)。 ## What changes - **`applyStoredFormsOf(protocol, { actor })`** (`protocol-stored-form-apply.ts`, exported for the major's upgrade command only). It runs the census and acts on it: - **All or nothing.** If the precheck counts any row, it writes nothing; every stored row stays byte-equal. - **Order.** Each destination `form` row is written and read back at its own address. Only then are the old rows deleted or re-saved: - a view item row is deleted; - a container is re-saved without the forms that left it (through the `form` write door's own member removal), its lists byte-equal; - a container left with nothing is deleted. - **One transaction.** The `.custom` pairs the moves land in are ensured first, before it, and stay after a rollback (an empty pair changes no answer; the next run reuses it). The registry is healed after the commit. - **Refused where the database cannot roll back.** On an engine whose default driver cannot roll a transaction back, a run that would write or take a row throws before anything is written (no pair is ensured), naming the driver and the operator's choice: run against a database whose driver supports transactions, or stay on the current release. A run with nothing to write is not refused. - **Idempotent.** A second run writes nothing. - **What a moved row carries.** Its stored body, without the provenance a container's expansion wears from the shipping package. A declared override is written as its pair's own row (the store's runtime intent, as the save door gives it). - **Planner readings owed by PR 1:** - N4 and N16: the fold reads a withdrawal the `view` list or another pair's layer reads today, so it does not name the form newly closed. - N14: the pair's own item needs no `basedOn`. - N5: the refusal names in words why no pair id can be derived. - **The census and `--apply` agree:** - **A sealed destination holds the upgrade.** Every destination but a declared override is written as an edit of the item a package ships at the name, and the store seals a `form` a managed package ships (ADR-0131 D6). The census now reads that seal the way the run's write meets it: such a move, or a kept `form` row the run writes because it carries a withdrawal, holds the upgrade (cause `app_author`), naming the shipping package, instead of planning a write the run then refuses inside its transaction. - **A form no door serves today is left in place by the upgrade**, whatever package its row is bound to (maintainer ruling record 7277149723). Every plan that would move a row asks the effective `form` read whether it lists a form of the name at the address the plan is made at; where it does not, the move is `left_in_place` with reason `served_by_no_door`: nothing of it moves, nothing is written, and it is not counted. A hold the plan takes part in still stands. ADR-0159 D7 states the rule as its own bullet; `os migrate stored-forms` prints the reason. `StoredFormLeftReason` (an exported output union) gains `served_by_no_door`: the widening the `Clause-②` arm declares. - **Census pins forced by the new writers:** - `protocol.view-expansion-reconcile-call-sites.test.ts` records the three writes, which use the `module callers` route, healed by `healStoredFormRows`. - `protocol.object-registry-write-through-spelling.test.ts` records the write-through's tenth caller. - Both files are in the File surface by claim amendment 3 (7276366326). - **Docs.** `content/docs/deployment/stored-forms-upgrade.mdx` gains "What the upgrade command writes", the L1 nit's wording for the fold, the served-today rule for every address, the left-in-place sentence, the pairs created before the transaction, the refusal on a database that cannot roll back, and a clearing-table row for a sealed destination. - **A rest test's budget.** The first served `view` read in a worker loads `@objectstack/lint` lazily (`metadata-diagnostics.ts`), about 1s on an idle box and past 5s on a loaded CI runner (Test Core 8/12 at `5ed2329e`). In `public-form-two-type-withdrawal.test.ts` that read was the `/meta/form` audience test's first `/meta` read. The describe now takes the load once in `beforeAll`; the test's own reads measure 55ms. The same file's base and head measured alike for that test (1431–1544ms at the merge base, 845–1113ms at the head), so the timeout was not this PR's change to the read. ## Owed by PR 2 (from objectstack-ai#38613), reconciled | Item | Status | |---|---| | `pair_form` byte-equal pin (ruling 7250977204), destination drops `overrides` | done at `68b146c3` — rest "the pair's own item (ruling 7250977204)…" | | …and seed N11's case | done at `d8c26159` — a form no door serves today is left in place by the upgrade (maintainer ruling of 2026-11-30): planner, engine and rest pins (red first; ablation turns all three red); ADR-0159 D7 sentence; one PR 1 engine pin that planned such a member as a move now reads it left in place | | N4 | done at `4c77a1e5` — planner "N4: a `view` row a `form` row outranks…" (red first; ablation turns exactly it red) | | N5 | done at `ae532d45` — planner "N5: where no pair id can be derived…" (red first) | | N13 / L1-b item 1 | done at `e5dd21b2` — engine "N13: the pair door's refusals and the draft read, through the real protocol" (the earlier pair's 409 read as that pair, the other owner's 422, a positive control, the draft read) | | N14 | done at `4c77a1e5` — planner "N14: …" (red first; ablation) | | M3 through both doors | done at `3093ce7e` — rest "M3 through both doors" (two shapes) | | N16 | done at `4c77a1e5` — planner "a second pair's override that withdraws the form…" (red first; ablation) | | ③ a pair held as booted code | stays — not built this round; not measured | | L1 nit (fold wording) | done at `a5985f41` — the page's `kept` and `moves` rows | | Both-doors pin for a row served at another address | done at `3093ce7e` — rest "a row the read serves at another address than the package it is bound to…" (switched off and open) | | Ruling 7265816895 step 5 | done at `e5dd21b2` — engine "a held row: applyStoredForms writes nothing at any address" (every stored row byte-equal; every address's served read equal before and after); rest "all or nothing" for the two doors at one address | | Step 6 (clearing-table row for the contested slot) | done in PR 1 (`1d959b0910`); unchanged here | | Step 7 (a store that enforces one row per slot) | stays — not built; the engine pins hold the contested slot before any write | | N32 | done at `e5dd21b2` — engine "S14 over the real read…" (the first S14 shape); the second shape's engine half is not built separately | | N33 | done at `e5dd21b2` — engine "N33: a container member kept as stored beside a sibling member that moves" | | N29 | done at `e5dd21b2` — engine "the third-address shape…" | | List-only labeling note | done at `a5985f41`; re-read after M1 and replaced at `9ecc15b5` by the served-today rule for every address (L2 N2) | ## Last round's finding, fixed here - **A destination the store seals** (done at `bedc74f7`): planner pin and controls, rest pin through `listStoredFormsOf` and `--apply` (red first: the census planned a move); ablating the census read turns the planner, engine and rest pins red. One PR 1 engine pin planned such a row as a move the run could not write; it now reads the hold. ## L2 record 7277980228 (FAIL at `4a67c9f2`), fixed here | Item | Commit | Pins (red first; ablation) | |---|---|---| | M1 — the left-in-place rule for every plan that would move a row | `906d10a8` | planner "a form no door serves today is left in place by the upgrade, whatever package its row is bound to" (4 shapes + 4 controls) and "a hold stands where no door serves the row today"; rest "…whatever package its row is bound to: …" (3 shapes, both doors 404 before and after). Red on `4a67c9f2`: planner 4, rest 3. Ablating the census read at every plan: planner 5, engine 1, rest 4 red. | | S2 — a kept row the run writes reads the seal | `d61a32a4` | planner "a kept `form` row the run writes … reads the seal too" + 2 controls; rest "the census and the run agree where the store seals a kept row the run writes". Red on `906d10a8`: planner 1, rest 1. Ablation: exactly those two red. | | S3 — refuse `--apply` on an engine that cannot roll back | `85c7eebd` | rest "on a database that cannot roll back a transaction, --apply is refused before anything is written" (the refusal names the driver and what to do; no pair ensured; rows byte-equal; doors unchanged) + a control (nothing to write is not refused). Red on `d61a32a4`; ablation turns exactly it red. No undo. | | S1 — the ADR D7 sentence | `9ecc15b5` | its own bullet: what "no door serves" means, apart from a withdrawn form and an internal record form, what "its rows stay as stored" covers, cites `7277149723` | | N1 — pairs before the transaction | `9ecc15b5` | the page and the module header | | N2 — the list-only paragraph | `9ecc15b5` | replaced by the served-today rule for every address | | N3 — `Clause-②: yes (widening)` | `9ecc15b5` | this body and the changeset | ## L1-b delta 7280063801 and L2 delta 7280142300, fixed here | Item | Commit | Pins (red first; ablation) | |---|---|---| | L1-b must-fix 1 / L2 S5 — what the environment's address reads | `bf56df4e` (pin), `7831394d` (D7 and page) | Measured, then reported as a fork and accepted: a form stored with no package is served by both doors where the read seats it, under a package that ships only a list of the name included, so the census reads every such slot at the environment's address. Rest "a package-less form at the environment's own address is served today where the read seats it" (0, 1 and 2 list-shipping packages: both doors serve it before, it moves, both doors answer the same after). Ablating to "the environment only": the 1- and 2-package pins and one engine pin red, the 0-package control green. | | L2 S4 — an unserved form does not hold at the pair door or a sealed destination | `11338180` | planner "a form no door serves today is left in place before a hold its move would take" (pair door; sealed destination). Red on the previous head: 2. Ablation: exactly those 2 red. | | L2 N5 — a row another address serves and moves | `7831394d` | the D7 sentence: such a row goes with that move | | L2 N6 — the report names a database where the run will be refused | `74b1cfc8` (pin made load-free at `5f0b99fe` | cli "the census report says where the upgrade's run will be refused" + 2 controls (`runRefused` in `--json`). Ablation: exactly the first red. | | L2 ③ — refusing a deployment that cannot roll back | — | escalated to the maintainer by the seat, decided at the Tier H approval; named in the summary above. Nothing built. | ## Verification Head `5f0b99fe`. - **This round** (L1-b delta 7280063801, L2 delta 7280142300), at the head's tree: the planner file 106/106 (with the two census pin files, 131/131), engine 38/38, rest 94/94, cli `stored-forms.test.ts` 3/3. Derived gates: the same 109 commands; 108 exit 0 on the first run and `check:test-source-alias` exit 1 on the new cli test (it reached the stack's dynamic imports); the test now mocks those packages, and that gate exits 0 at the head; `dispatch-gates --ran` on the final record: 109 run, 0 NOT-MEASURED. `overlap-check` at the head's tree: clean against `origin/main` (`95a49adb80`); no open pull shares a file. The change set is 13 paths: the 12 before plus the cli command's own test file. Previous round, at `9ecc15b5`: - **That round** (L2 record 7277980228), at the head's tree: the planner file 104/104 (with the two census pin files, 129/129), engine 38/38, rest 91/91; metadata-protocol type-check clean. Derived gates: `dispatch-gates --commands` derived 109 commands (the same list as last round); all 109 exit 0, each run with `< /dev/null`; `dispatch-gates --ran`: 109 run, 0 NOT-MEASURED. `overlap-check` at the head's tree: clean against `origin/main` (`8426fa0c89`); no open pull shares a file. Earlier, at `4a67c9f2`: - **This round** (the sealed destination, the rest test's budget, the left-in-place rule), at the head's tree: - The three changed test files: planner 92/92, engine 38/38, rest 85/85; metadata-protocol and CLI type-check clean. - **Red first:** the sealed-destination planner pin and rest pin failed on the old source (the census planned a move); the left-in-place planner pin and rest pin failed on the old source (the census planned a move). - **Ablations**, each with `scripts/ablation-replace.mjs`, restored to `HEAD`: - The census read of the store's seal: the planner pin, the PR 1 engine pin it now reads, and the rest pin. - The census read of the forms served today: the planner pin, the PR 1 engine pin it now reads, and the rest pin. - The rest audience test measured 55ms with the load taken in the hook (1974ms before, in the same file run). - **Derived gates at `d8c26159`:** `dispatch-gates --commands` derived 109 commands; all 109 exit 0, each run with `< /dev/null`. `dispatch-gates --ran`: 109 run, 0 NOT-MEASURED. The changeset commit after it changes no path in the change set. - **`overlap-check`** at `4a67c9f2`: clean against `origin/main` (`db2273d5c4`); no open pull shares a file. - **Earlier rounds** (head `5ed2329e`): 97 derived gates, all exit 0; the ablations listed below each turned exactly their own pins red: - Ignoring the precheck: exactly the 10 all-or-nothing pins (9 engine, 1 rest). - Keeping the read's provenance on the moved body: the container withdrawal pin. - Keeping an emptied container: the same pin, through its second run. - Judging a declared override's write as an edit of the shipped item: the base-ships-a-`form`-item pin. - Dropping the folded row's switch: the three fold pins. - N4, N16 and N14 each: exactly its own planner pin. - Reading a row only at the package it is bound to: the two "another address" pins. - Planning the pair's override at the pair's own address: the two M3 pins. - **Not measured locally, CI owns:** the CLI integration tier, the type-check lanes, and the dogfood and live-database jobs the derivation names as CI-only. ## Deviations - **File surface.** The two census pin files and the ADR file were outside the claim; claim amendment 3 (7276366326) names them. The rounds after the claim add no path but the cli command's own test file (`stored-forms.test.ts`). The census pins are forced (each new stored-row writer is recorded there); the ADR file carries the D7 sentence of the 2026-11-30 ruling. - **Two PR 1 engine pins change their expected plan.** Each planned a row as a move that the rules of this round do not move: one into a destination the store seals (now a hold), one a form no door serves today (now left in place). Their reads of today are unchanged. - **Changeset.** It names `@objectstack/metadata-protocol` and `@objectstack/cli` (the CLI prints the new left-in-place reason); every other change is tests and docs. - **No `protocol-stored-form-apply.test.ts`.** The write half is pinned over the real protocol in `objectql` and through both doors in `rest`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01ADHkmQrGTjSRSiwWSe6AhK <!-- signed: repo:objectstack#3 · os-steve · session_01ADHkmQrGTjSRSiwWSe6AhK --> --------- Co-authored-by: Claude <noreply@anthropic.com>
…ooted code as a pair (objectstack-ai#38803) _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9SSdM6AYsxMukn8uhMeGEh7)_ Part of objectstack-ai#37111 — PR 3 (the card's two remaining acceptance items). PR 1 is objectstack-ai#38613 (`1d959b0910`) and PR 2 is objectstack-ai#38748 (`c4472c8631`). The seat closes the card once this PR merges. Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:把 `.custom` 定制包当作代码启动的部署,升级时定制包自己那张旧写法表单会搬成它自己的表单行,不再被误拦住;定制包代码里自己也带这个表单名时同样如此。公开地址前后应答不变。 - 另一项只加钉子:在一个真正强制「一槽一行」的存储上,证明两个计划抢同一槽时升级照旧被拦,什么都不写。 - 要你做什么:Tier H 的 draft,审核后按受管流程批准。 - 风险:小。普查只多认出一种已知形状;其余计划不变(planner、引擎、rest 全套件绿)。 ## What changes - **③ a pair held as booted code** (`protocol-stored-form-migration.ts`). A `.custom` pair registered as code is read-only, so the census reads it at a `base` address. It then asked the pair door for a pair of the pair, which ADR-0146 D3 never gives. Measured before the change: the pair's own old-shape row held the upgrade with the refusal "is itself a paired customization package". The census now reads the pair by what its package is (`customizationBasePackageId`), not by the address kind: - the pair's own old-shape row moves into the pair's own `form` row (`pair_form`, no `overrides`), as ADR-0159 D7 already states for the pair's own row; - a stored `form` row already there is kept. This holds on both destination routes: where the pair's code ships no form of the name, and where it ships the name itself (an old-shape form among its items; review 7292231403 S1). On the second route the store's seal is still read first: where the pair ships the name as a sealed `form` item, the hold is the seal's, naming the pair. The pair door is not asked. Two other shapes were measured over the same booted pair and were already right, so they are unchanged: a declared override in the pair, and a row bound to the base. - **Step 7 of ruling record 7265816895: one slot, one row, on a store that enforces it.** Measured first: neither the engine tests' memory store nor the rest tests' SQL store refuses a second active row in a slot as booted, because the overlay unique index is built by `ensureOverlayIndex`. The new rest pin builds that index and proves the store refuses a second active row in a pair's slot (control). Then, with the pair's own `form` row beside a row planned into that pair, it asserts that the census holds both, `--apply` writes nothing, the slot keeps its one row byte-equal, every stored row is byte-equal, and both doors answer the same. ## Why These are the two acceptance items objectstack-ai#38748 left owed on objectstack-ai#37111, with their reasons (the `③` note of record 7253682863 on `pairFormDestination`, and step 7 of ruling record 7265816895). The seat's ruling of 2026-11-30T20:09Z puts them on this card as PR 3 (claim amendment 6, 7290758981). N7 of contract review 7282065700 does not fit here: the early route has no destination that could be read as a move. It stays where the seat put it. The operator page (`content/docs/deployment/stored-forms-upgrade.mdx`) gains one clause (review 7292231403 N1): a row of a `.custom` package the deployment holds as code stays in that package as its own form. ## Verification Head `0a1bb19fd8`. - **Red first** (the pins run against `origin/main`'s planner): planner "③ a pair held as booted code…" 2 red; rest "③ a pair held as booted code…" red. For S1 (the pins run against `5a6cb82666`'s planner): planner "where the pair's code ships the name itself…" 3 red (the first two held, the third named the pair door's refusal instead of the seal); rest "③ a pair held as booted code that ships the name itself…" red (it held). The step 7 pin pins behaviour that already held, so the ablation below is its proof. - **Ablations** (`scripts/ablation-replace.mjs`, each restored to `HEAD`): - Reading the pair from the address kind where the pair ships no form of the name: the two ③ planner pins and the ③ rest pin red; engine 38/38. - Reading the pair from the address kind where the pair ships the name itself: exactly the three S1 planner pins and the S1 rest pin red; engine 38/38. - Not keeping the pair's own `form` row where it stands: exactly the planner "its stored `form` row is kept" pin red. - Dropping the hold of a pair slot two plans claim: the step 7 rest pin red, with 9 planner and 7 engine contested-slot pins. - **Suites at the head:** planner 112/112, engine 38/38, rest 97/97; metadata-protocol type-check clean. - **Derived gates:** `dispatch-gates --commands` derived 95 commands; all 95 exit 0, each run with `< /dev/null`; `dispatch-gates --ran`: 95 run, 0 NOT-MEASURED. - **`overlap-check`:** clean against `origin/main`. Two open trunk pulls of the approvals lane are named. objectstack-ai#38797 merges cleanly. objectstack-ai#38497 conflicts in the planner test file only because its head predates objectstack-ai#38748, which those files came from; neither authors a change to these files. - **Not measured locally, CI owns:** the type-check lanes and the CI-only jobs the derivation names. ## Deviations - **File surface** (claim amendment 6): the planner and the rest pin file; the planner's own test file and the changeset are implicit. The operator page is added by the seat's order on review 7292231403 (N1). No other path. - **`Clause-②: no`** differs from the claim's standing `yes`, which was written for PR 2's exports (review 7292231403 N2). This PR changes no export, type, route or schema, so nothing an author writes or a consumer imports changes. - **No ADR change.** ADR-0159 D7 already says the pair's own row moves into the pair's own `form` row; the code now agrees with it for a pair held as booted code. - **N7 of record 7282065700 is not built.** The seat records it as an accepted deviation when it closes the card. ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (No `packages/spec` change.) - [x] 2. Every name I added uses the casing for its kind. - [ ] 3. No formatter ran; `pnpm lint` was not run locally (CI's lint lane owns it). - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [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: n/a. - [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_01ADHkmQrGTjSRSiwWSe6AhK <!-- signed: repo:objectstack#3 · os-steve · session_01ADHkmQrGTjSRSiwWSe6AhK --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Jianguo · project thread
Rework round M6 and ruling 7265816895 step 3 requested by Warren · project thread
Part of #37111 — PR 1 of 2 (the read-only half). PR 2 (
--apply: the move, the fold and the removal, inside the upgrade command, with the security pins on both doors) closes the card.Supersedes #38464 (its branch
claude/project-thread-zmwgywat4c8f7dbbis this branch's start; the dev who held it ran out of tokens, and this card thread took the work over under takeover Claim 7255642518).Clause-②: yes
Metadata-protocol: none
Skills-docs: none — stored-row ceremony, nothing an author writes changes
维护者速读
What changes
The delta at this head (
24ab30abef; the round on delta review PASS 7271195568 is the ADR24ab30abef; the round on delta review PASS 7270096541 is91ab3f3565, the ADRde6086d289and944aa67cb8; the round on delta review PASS 7269115759 is7e825b6de1, the ADR53ddab680eanddd1ab297bc; the patch round on delta review FAIL 7268307582 is4d69b3fccb,2484041cc0with the ADR76581c1e88,622c806f7d; before it, code rounde6c48803c3, then the hold's second readinga909cc2b4eand34aaf95bd4, the split removal5d073e6171, the per-row hold over every address379a62b7b4and its action wording7294c1d592, and the ADR79126e6573,dcb87dc337,d58359ae3c,e956a57d36,2871ae2d07) answers Contract review FAIL 7265481017 and L1 7265512812 (at04ffc859), and carries step 3 of the maintainer's ruling on #38661:M6 (D7-d). Where the read's own order at the address of a package a row is bound to is headed by a row the plan reads at another address, every row bound to that address now folds behind that row where it is planned, and the address gets no plan of its own (
servedAheadFromElsewhere, the one place the case is decided). A withdrawal carried from such a row is newly closing unless that package's own per-package layer reads it today, which is measured on the real read for both shapes the pins seed. Pins: three planner tests and four engine tests over the real read, each engine test asserting what the read serves today before the plan; all seven were red at04ffc859's planner and are green now.Ruling A on [Decision] What the upgrade to the next major does with a stored form row that is served today at two package addresses of one App (ADR-0159 D7, card #37111) #38661 (「A 拦住升级·同类全覆盖」, ruling record 7265816895), step 3: a slot of a pair that more than one plan of a name claims holds the upgrade at every claimant's address (
holdContestedPairSlots, the one place the case is decided), causeapp_author(no administrator's exit that leaves every address's answer as it is was measured). The precheck names each claimant's row once, with every address it is read at, andcanSwitchis false. That covers a row the read serves at two addresses of one App and two rows whose plans land in one pair. No new cause value, plan kind, "not counted" kind or protocol key. The four tests that pinned two moves (planner: "a row two packages serve…", "a row the read serves at its own package as well…"; engine: "served at two modules…", "served at its own package as well…") and the planner test of the sibling case are re-pinned; an ablation of the hold's predicate brings the moves back and turns exactly those five red.The hold reads served addresses per row too (
a909cc2b4e,34aaf95bd4, on the seat's order under the same ruling, "moved at neither"): where one address of the App leaves a row in place (an internal form ahead of a linked row) and another would move it into the App's pair, both plans hold and the precheck names the row once; a base whose pair the ensure door refuses is read as the App's by its App. The contested hold's action names the App (D7-c), and its sentences say only what is planned. Three planner pins and one engine pin, each red before its commit; an ablation of each new reading turns exactly its pins red.A removal asks every address that serves the row (
5d073e6171, on the seat's order under the same ruling, "changed at neither"): where one address would remove a row (an internal record form) and another address that serves it gives it anything else (an internal form left in place ahead of a linked row), the row is removed at neither, every plan of it holds (app_author) and the precheck names it once with every address (holdSplitRemovals, run after the contested-slot hold). One planner pin and one engine pin (two holds,counts.remove0), each red at34aaf95bd4's source; disabling the new check turns exactly those two red.The hold is decided per stored row over every address that serves it, whatever App (
379a62b7b4, on the seat's order under the same ruling):holdRowsServedApartreplaces the second-address reading of the contested slot and the split-removal check. Where one address would move or remove a row and another keeps it (left in place, already at its destination, or holding; a base whose App cannot be read among them), or one would move it and another remove it, every plan of the row holds and the precheck names it once. Addresses of two Apps count as two packages of one App do. Moves at every address (each into its own pair) and removals at every address are unchanged; the slot rule keeps only a slot claimed more than once. Three planner pins (moved at one App's base and left in place at another's; the same where the other base's App cannot be read; moved at one and held at the other) and a control (moved at both, into two pairs), and one engine pin over the real read; each red ate956a57d36's source. Restricting the hold to addresses of one readable App turns exactly the three cross-App planner pins and the engine pin red; not counting a holding address as keeping the row turns exactly the third planner pin red.The round on delta review PASS 7271195568 (ADR prose only,
24ab30abef, sameos-devseat, effort xhigh): S15, the row-wide rule holds the row a further address serves, not the row S13's case holds, so one clause states it in Status, "Decided by", the D7-d bullet, the switch bullet (now three exceptions) and the "precheck refuses" pin, each marked the seat's step and an exception to "The upgrade is not blocked"; N33, "stay as stored at every address under that name". No code, no pins. N32 (the engine half of the S14 pins) is carried to PR 2.The round on delta review PASS 7270096541 (
91ab3f3565, ADRde6086d289,944aa67cb8):app_author, the refusal cites 7249158572 and names the kept row, the address that keeps it and what the plan would do; the action names no exit), and lists the kept row inheldApart(now also on hold plans), not inbehind; the precheck names that plan's served row once. One rule over the row (holdChangesToKeptRows, one predicatekeptRowsChanged; the kept rows are read bykeptRowsOfbefore any hold is given). Planner pins: the reviewer's shape (a package-less internal row ahead of a package-less linked container, kept at one base, behind a row bound to a further base) and the kept rows behind the rows of two further bases; both red atdd1ab297bc's planner, and the predicate made empty turns exactly them red. The address that keeps the rows stays left in place.dd1ab297bc.944aa67cb8, from the ADR seat's reading: the kept-row hold's action says which addresses the cause spans, instead of "This row is served at" an address that only keeps the other row (assertion on the reviewer's-shape pin, red atde6086d289); the report's hold line lists the kept rows apart.de6086d289, sameos-devseat, effort xhigh): one sentence under the S13 seat-step mark in "Against D7-d" states the keeping row-wide; "Against D7-c" drops the unmeasured clearing claim. TL;DR 10 stays at six.The round on delta review PASS 7269115759 (
7e825b6de1, ADR53ddab680e,dd1ab297bc):app_author, the refusal cites ruling 7249158572 and the action names no exit. Planner pin (a package-less internal row served at the module ahead of the row bound to the App, which the App's own address serves linked) and engine pin over the real read (both addresses answer as before, the census writes nothing), each red at622c806f7d's planner; counting the row kept behind as served elsewhere turns exactly them red.dd1ab297bc): where that module's plan also holds for the row it serves (a third address serves that row apart), the row kept behind still holds on its own at the App's address, with its own precheck entry and no exit, instead of waiting on a hold that is another row's. Planner pin, red at53ddab680e's planner; reading any hold of the plan as the row's own turns exactly it red. D7 stands as53ddab680estates it.heldApartsays it stands only while that hold does. PR 2's plan notes that its "writes nothing" pin seeds the third-address shape.53ddab680e, sameos-devseat, effort xhigh): Status, "Decided by", D7 and D7-d mark S13 as the seat's step and as an exception to "The upgrade is not blocked"; the switch bullet and "Against D7-c" carry N27 and N28. TL;DR 10 stays at six.The patch round on delta review 7268307582 (
4d69b3fccb,2484041cc0; ADR76581c1e88,622c806f7d):overrides), read at the pair's own address (package_forminto the pair, kept or moved), claims the slot beside a row another address plans into that pair, and both hold. Planner pin (old-shapeviewrow and storedformrow) and control; engine pin over the real read, asserting first that the module serves the bound row and the pair's per-package layer reads its own row. Both red at2871ae2d07's planner; removing the pair's own reading turns exactly them red, and disabling the slot predicate turns them red with the other slot pins.2871ae2d07; ablating the waiting turns exactly its pin red.heldApart(notbehind) and reads the fold without it; the report prints it apart. Planner pin (its withdrawal not carried); red at2871ae2d07, and ablating the pass turns exactly it red.The action names each App (
7294c1d592): where the addresses that serve a held row are of more than one App, or one is a base whose App cannot be read, the action says the row is served at packages of more than one App and names each App that can be read, instead of reading as if one App could clear it. Two planner assertions and one engine assertion, red at379a62b7b4's source; the planner pin for a base whose App cannot be read now builds that base with two Apps and no namespace.ADR-0159 D7 at
2871ae2d07(sameos-devseat, effort xhigh): D7 states the hold per stored row over every address that serves it, whatever App, a base whose App cannot be read among them; the slot more than one plan claims stays its own case; D7-c and "Against D7-c" state the action for more than one App. Still marked as the owning seat's step; TL;DR 10 stays at six.ADR-0159 (step 2 of the ruling, by an
os-devatCONTRACT_REVIEW_TIER, effort xhigh, its own order): D7 records the ruling and its reach against D7-b, D7-c, D7-d and D7-e, thepair_formpin says what holds instead of a move, "Decided by" gains the item, Status dates the revision of 2026-11-30, and three more D7 sentences that the ruling made false are corrected (the switch bullet, the precheck-refuses pin, the per-row deletion sentence). Ate956a57d36D7 states the third held case (a row one address would remove and another that serves it would not) where it states the removal, under "What is held", against D7-b, D7-c and D7-d, in the switch bullet and in both pins. The hold's cause class and the split-removal hold are entered as the owning seat's steps; TL;DR 10 stays at six points.Step 8's premise, verified before the edit: once one package of the App ships the form, the row is read at that address alone and moves there (the planner control and the engine test "bound to the App: the read serves it at the module…", one
moveeach). The hold's action sentence says that for a row read at two addresses, and nothing it did not measure.N19. The operations page bounds the move of a row served at another package's address to one address, and says a row read at two packages of one App, or a slot two moves would land in, holds the upgrade. The clearing-table row is step 6, PR 2's.
The M2 planner fixture gives each of its two bases (two Apps) a pair of its own: its subject is the per-row deletion, and with one shared pair the new hold applied.
The changeset names the contested slot among the holds.
Main merged at
f5da514b(clean).The rounds before it, in brief: at
04ffc859(records 7258026145 and 7258039491) M5 (a container's member is read at the package the container is bound to), S9 and N18; at793f6688M4 (ruling record 7254350842: a row the read serves at another address is classed by the base it stands over there), S8 and N17; at4c8f7dbb(PR #38464) M3, S6, S7, N15 and the ADR fixes the earlier records asked for. Each is in the records on the card.The PR as a whole:
packages/metadata-protocol/src/protocol-stored-form-migration.ts(new). The read-only half of the ADR-0159 D7 ceremony.planStoredForms(input)is a pure planner: for each form name at each package address that can serve it (each read-only package shipping it in either type, each writable package shipping it or holding its own row, else the environment), it takes the stored rows in the served-row order and answers one outcome:keep(already a storedformrow at the destination),move(to the pair's declared override at a read-only base, a pair's ownviewoverride keeping its pair andbasedOnwithout asking the ensure door, the pair's ownformitem for a row bound to a package that ships no form of the name (pair_form, ruling 7250977204), the package's ownformrow at a writable package, a package-lessformrow in the environment),remove(an internal record form, all three parts of D7, decided per row: a package-less row read at several addresses is removed only where it is internal at every one),hold(the pair cannot be ensured, D7-c, classedadministrator/app_author/kernel, the ensure door's refusal repeated with the action for its cause; the earlier per-package pair's action says no command on this release clears it, ruling 7250982640; and a slot of a pair more than one plan claims,app_author, ruling record 7265816895 on [Decision] What the upgrade to the next major does with a stored form row that is served today at two package addresses of one App (ADR-0159 D7, card #37111) #38661) orleft_in_place(served_no_form, D7-d, a lone list over a base that ships the form included;internal_ahead_of_linked_row, ruled below). The form rows behind the served one fold into it, a list row behind is left as stored (untouched), and each plan names the rows another address reads too, with that address's outcome (alsoReadAt); a carried withdrawal no layer reads today is flaggednewlyClosed, with the kept body's own slug. The name has the environment's address only while no stored row of it is bound to a package. Old-shape drafts are listed, and a move names the drafts it leaves behind (draftsLeftBehind, ruling 7250982640). Every unreadable stored body holds the upgrade (D7-c, rule 7).listStoredForms(host)reads the stored rows, the registry (shipped forms through the projection,type: 'form'action targets,fieldGroups) and the ensure door's judgement, and hands them to the planner;listStoredFormsOf(protocol)is that census over a protocol instance. The precheck is part of the census (precheck.canSwitch,precheck.holds,precheck.counts), so Major 19:viewis lists only, the old form shapes are refused with a prescription, and the upgrade command converts stored forms, then switches (ADR-0159, card ⑤b) #37112 reads the same words.INTERNAL_AHEAD_OF_LINKED_ROW: an internal record form served ahead of a same-named row that declares a link (switch on or off) moves nothing and deletes nothing, and both rows are reported left in place. Maintainer ruling 「两行都不动,写进报告」, ruling record 7249158572, for the package-less row behind; any other linked row behind is ADR-0159's own reading, marked as such. ADR-0159 D7-d and the precheck's "Not counted" sentence carry it.pair_formdestination, drafts, the earlier per-package pair's text), syncs Status, TL;DR 10 (six points past the rulings' words), the question 4 paragraphs and Consequences with the new uncounted kind, states the per-row deletion, and adds two pins to the ones card ⑤ owes (the internal form ahead of a linked row; the row bound to a package that ships no form of its name, byte-equal before and after).protocol-form-reads.ts.orderedFormRowsAt(places, name, packageId | null, installed, admits?)is the served-row order over both types, every row in order;servedFormHoldingis now its first row, so theformread and the census read one order (the read serves what it served: 227/227public-form*tests).StoredFormPlaceandstoredFormPlacesare exported for the census. The start-up message for an unreadable body now namesos migrate stored-forms(item 3).os migrate stored-forms(new,packages/cli). Read-only, no--apply: boots asos servecomposes (deferSchemaDdl+readOnlyProbe), prints one line per form and address, the unreadable bodies, the old-shape drafts (which cannot be published after the upgrade) and the shared slugs, then the counts and the switch verdict;--jsonemits the census. Exit 0 whenever the census ran.content/docs/deployment/stored-forms-upgrade.mdx(inmeta.json, and inscripts/docs-audit/handwritten-docs.jsonascheck:docs-audit-scopeasks), thecli.mdxcommand row and occupancy row, and a platform-checklist itemcli.stored-forms-census-and-precheck.Read first (by risk):
packages/metadata-protocol/src/protocol-stored-form-migration.ts:servedAheadFromElsewhereand the fold step inplanStoredFormsafter the rows of each address are read, thenholdContestedPairSlots(a slot claimed more than once) andholdRowsServedApart(a row served at several addresses that would not all do the same) and where they run (beforealsoReadAtis filled), thenfoldOf'sfoldedreading.docs/adr/0159-forms-are-their-own-metadata-type-public-forms-are-form-items-view-is-lists-only.md: Status, "Decided by", D7's destination bullet and its five sub-bullets, and thepair_formpin.Two-minute check:
pnpm --filter @objectstack/metadata-protocol exec vitest run src/protocol-stored-form-migration.test.tsprintsTests 82 passed (82).Tests
packages/metadata-protocol/src/protocol-stored-form-migration.test.ts(82; 80 atdd1ab297bc, 79 at7e825b6de1, 76 at622c806f7d, 71 at2871ae2d07, 67 ate956a57d36, 66 at34aaf95bd4, 63 ate6c48803c3, 59 at04ffc859, 58 at793f6688, 45 at4c8f7dbb, 37 before that). This round: three tests for M6 (the row folds behind the row served ahead of it, in both shapes; its withdrawal newly closing only where its own package's layer does not read it; beside a package-less row), three re-pinned to the hold of ruling record 7265816895 and one control (one serving package moves; two pairs move); then three for a row held at two addresses where one leaves it in place (with a control for a package-less row, and a base whose pair door refuses); then one for a row removed at one address and left in place at another (both hold); then four for a row served at addresses of two Apps (three holds, one control). Before: every outcome and every hold cause on its own seed fixture, the ruled case and its twin (the link switched off), the fold'snewlyClosedboth ways and its slug, the served body kept, the package-less row read at every address, the shared slug; for the first L2 round: M1, M2, S1, S2, S3, thepair_formdestination (moved, held when the pair cannot be ensured, the pair's override needing no ensure, a package-less row folding behind it, an internal one removed), the drafts left behind, and the earlier pair's action. At4c8f7dbb: M3 with the override switching the form off, carrying no link, and already a storedformrow (one plan at the base's address,pair_forminto the override's pair, the open bound row behind, nothing carried, a refusing ensure door holding nothing); M3 with a withdrawal in the bound row (carried, not newly closed: the base's own layer reads it today); M3 with aviewand aformoverride in one pair (read together, onekeep); M3 with the override in an earlier per-package pair (one plan, into that pair, not a second form of the App's pair); M3 with an override in each pair (two plans, each body in its own pair); S6 (the row behind isservedElsewhere,behindis empty, the other address moves it) and its control (with no other address the row goes with the removal). This round: thirteen tests named for ruling 7254350842, stating the rule only: the planner follows D7 as amended, with the hold where the pair cannot be ensured, the internal test at that base, and controls where the row stays at its own address.packages/objectql/src/protocol-stored-form-migration.test.ts(22; 21 at622c806f7d, 20 at2871ae2d07, 19 ate956a57d36, 18 at34aaf95bd4, 17 ate6c48803c3, 13 at04ffc859, 12 at793f6688, 5 at4c8f7dbb). This round: four tests for M6 over the real read, two re-pinned to the hold, one for a row left in place at one module and moved at the other, one for a row removed at one module and left in place at the other, and one for a package-less row moved at one App's base and left in place at another App's module (each asserting what the read serves today, that the census writes nothing, and that both addresses answer as before). Before: the census over the real protocol and engine: a move to the pair withbasedOnand no write (no row, no pair), an unreadable body holding, a no-namespace App holding as the App author's cause with the door's refusal, an internal record form listed for removal. At4c8f7dbb: M3 over the real read: the effectiveformlist serves the override's body under the base and under the pair and the bound row's nowhere, and the census plans one move with the bound row behind it, writing nothing. This round: seven tests named for ruling 7254350842. Each asserts what the real read serves today before it asserts the plan, and that the census writes nothing.packages/cli/src/commands/migrate/stored-forms.integration.test.ts(3, integration tier; its dist-resolved loads are paid at module top): the empty census, the move listed with the store unchanged byte for byte, the unreadable hold.packages/cli/src/utils/schema-migrate.one-shot-family.integration.test.ts: thebootSchemaStackfamily table declares the command, report-only (its one mode leaves the database byte-identical and creates no missing SQLite file).packages/rest/src/public-form-two-type-withdrawal.test.tspin 6: the start-up line names the command.packages/cli/test/json-stdout-purity.e2e.test.ts: the command joins the roster (its--jsonstdout is one document).4c8f7dbbround changed are not text-pinned (prose a consumer does not parse). Printed from the realstoredFormPlanTextfor the S6 plan: "will be removed: view "crm_lead.form", package 'com.acme.crm' is an internal record form (no public link, no action opens it); not removed with it, because another address serves it: view "crm_lead.form", no package. New and Edit of 'crm_lead' follow its field groups, which it declares; view "crm_lead.form", no package is also read at read-only package 'com.acme.other', where it is served and moves".Acceptance notes
origin/main(merge basef5da514b): over the 3,000-line threshold, which the Claim's Tier H note already counts for the card.protocol.tsis unchanged: a facade method there breachedcheck:facade-delegation-only's line ceiling (11723 over 11705; raising it is maintainer-only), so the census islistStoredFormsOf(protocol)beside the facade and the CLI calls it; (2) the engine-level census test sits inpackages/objectql/src/, where the precedent ceremony's protocol test sits; (3)scripts/docs-audit/handwritten-docs.jsongains the new page, regenerated bycheck-audit-scope.mjs --write; (4) ADR-0159 D7-d carries the Q1 reading, as the seat asked on the ruling.viewrows are listed, neither moved nor deleted, with the warning that they cannot be published after the upgrade; a move names the draft it leaves behind;formdrafts are not listed.administrator; the per-row action, D7-c, the page and now the closing line all say no command on this release clears it.alsoReadAt); it is removed only where it is internal at every address, so it is either removed at each or moved at each; behind a removed form it is named apart when another address serves it (servedElsewhere). PR 2 owes the order of the moves (a copy per pair, the row deleted once every copy reads back).pair_formmove (ruling 7250977204). It should state that the destination drops theoverridesdeclaration, so that if the base ships that name again later the pair's own form no longer replaces the base's; and it should seed N11's case;newlyClosedfor aviewrow outranked by aformrow at the same place, reachable only by an out-of-band pair of rows;pairOffails, not the door's text;storedFormPairFix's earlier-pair 409 and other-owner 422 through the real ensure door, or read the owner structurally with a positive control; and pin the draft read over the real protocol;pairFormDestinationholds when the base records no version, for abasedOnthepair_formitem never declares.4c8f7dbbround's reading (not in either record): the M3 arrangement through both doors, before--applyand after it; the ADR'spair_formpin now names it.newlyClosed: true, though that pair's own per-package layer reads it today;pairFormDestinationreads a pair's destination from the address kind, so a pair held as booted code would be sent to the ensure door;movesrow says "Older rows of the same form fold into it", and the row that folds is the one the order serves second;--applywrites nothing, every stored row is byte-equal, both doors answer the same at both addresses before the refused run and after it); the operations page's clearing-table row for the contested slot; the dev's note that the engine tests' store does not enforce one row per slot, so the pin of one slot, one row needs a store that does;--apply;793f6688, not re-run this round:git grep -lE "formViews|viewKind: 'form'|viewKind === 'form'" -- packages/platform-objects packages/plugins packages/services packages/triggers packages/drivers packages/connectors packages/appsfindspackages/platform-objects/CHANGELOG.mdandpackages/plugins/plugin-auth/CHANGELOG.md, no source: the kernel hold is empty.Verification
Head
24ab30abef: the merge ofmain(9b318da210), the fix (8a38a0ba16), the changeset sentence (e6c48803c3), the ADR (79126e6573,dcb87dc337,d58359ae3c,e956a57d36), the hold's second reading (a909cc2b4e,34aaf95bd4), the split removal (5d073e6171) the per-row hold over every address (379a62b7b4,7294c1d592), the ADR's fourth round (2871ae2d07), the patch round on review 7268307582 (4d69b3fccb,76581c1e88,2484041cc0,622c806f7d), the round on review 7269115759 (7e825b6de1,53ddab680e,dd1ab297bc), the round on review 7270096541 (91ab3f3565,de6086d289,944aa67cb8), and the ADR round on review 7271195568 (24ab30abef).e6c48803c344 success, 17 skipped, 0 failed. Atdd1ab297bcand at944aa67cb8: 61 check runs each, success or skipped, 0 failed. At this head: running when this body was written; the seat reads the check-runs.pnpm --filter '@objectstack/metadata-protocol^...' buildafter the merge, exit 0;@objectstack/metadata-protocolrebuilt on the final source before the engine runs.pnpm --filter @objectstack/metadata-protocol typecheck, inside the locked run below.24ab30abefchanges only the ADR (its gates exit 0); the code is944aa67cb8's. At944aa67cb8, under the verify lock: metadata-protocol test + typecheck and objectql test on the rebuilt package, VERDICT command-exit 0: 374 files passed and 9 skipped, 23744 passed and 45 skipped; objectql 641/641 files, 14566/14566 tests; the planner file 82/82, the engine file 22/22 (the same at91ab3f3565). eslint on the three changed code files exit 0; the CLI'stscis not measurable on this box (the workspace packages it imports are not built here; no error is instored-forms.ts), CI's Type Check owns it. Red before (this round): atdd1ab297bc's planner 4 of 82 failed (the two S14 pins, the N31 assertions on the S13 and N27 pins); atde6086d289's planner 1 of 82 (the action assertion). Ablation:keptRowsChangedmade to return nothing turns exactly the two S14 pins red.de6086d289changes only the ADR (its gates exit 0).dd1ab297bc, under the verify lock: metadata-protocol test + typecheck and objectql test on the rebuilt package, VERDICT command-exit 0: metadata-protocol 374 files passed and 9 skipped, 23742 passed and 45 skipped; objectql 641/641 files, 14566/14566 tests; the planner file 80/80, the engine file 22/22. eslint and the metadata-protocol typecheck on the two changed code files exit 0. Red before (this round): at622c806f7d's planner 4 of 80 failed (S13, N27, N28, and the per-row waiting pin) and the S13 engine pin failed; at53ddab680e's planner 1 of 80 (the per-row waiting pin). Ablations: counting the row kept behind as served elsewhere turns exactly the S13 pins red; reading any hold of a plan as the row's own turns exactly the per-row waiting pin red; the N27 and N28 conditions each turn exactly their own pin red.53ddab680echanges only the ADR.2484041cc0, under the verify lock: metadata-protocol build + test + typecheck and objectql test, VERDICT command-exit 0: metadata-protocol 374 files passed and 9 skipped, 23738 passed and 45 skipped; objectql 641/641 files, 14565/14565 tests; the planner file 76/76, the engine file 21/21.622c806f7dchanges only the ADR (its gates exit 0). At4d69b3fccb, under the verify lock: 23736 passed and 45 skipped; objectql 14565/14565. eslint on the four changed code files exit 0; the docs and repo gates above exit 0. Red before (this round): at2871ae2d07's planner, the M7, S10 (waiting, writable package), S11 (slot exit) and S12 pins failed (5 of 74), the M7 engine pin failed (1 of 21); at4d69b3fccb's planner the three pins of2484041cc0failed (3 of 76). Ablations: each new condition disabled alone turns exactly its own pins red (the pair's own claim: its planner and engine pins; the waiting hold; the held-apart pass; the slot's exit bound; the named-once check; the waiting refusal), and the slot predicate turns the slot pins red with M7's. At7294c1d592, under the verify lock: metadata-protocol build + test + typecheck and objectql test, VERDICT command-exit 0: 23733 passed and 45 skipped; objectql 641/641 files, 14564/14564 tests; the planner file 71/71, the engine file 20/20.2871ae2d07changes only the ADR (its gates exit 0). At379a62b7b4's tree, under the verify lock: metadata-protocol build + test + typecheck and objectql test, VERDICT command-exit 0: metadata-protocol 374 files passed and 9 skipped, 23733 passed and 45 skipped; objectql 641/641 files, 14564/14564 tests; the planner file 71/71, the engine file 20/20. eslint on the three changed code files exit 0;check:nul-bytes,check:doc-authoring,check:doc-anchors,check:docs-single-h1,check:doc-frontmatter,check:closed-ceremony-text,check:role-word,check:corpus-claim-drift,check:issue-citations,check:scripts-symbol-anchors,check:adr-symbol-anchors,check-affected-docs.mjs,check-drift-comment.mjsexit 0. At5d073e6171, under the verify lock: metadata-protocol test + typecheck, VERDICT command-exit 0 (374 files passed and 9 skipped; 23729 passed, 45 skipped); objectql test, VERDICT command-exit 0 (641/641 files, 14563/14563 tests); the planner file 67/67, the engine file 19/19 on the rebuilt package.e956a57d36changes only the ADR. Ata909cc2b4e, under the verify lock: metadata-protocol test + typecheck, VERDICT command-exit 0 (23727 passed, 45 skipped); objectql test, VERDICT command-exit 0 (641/641 files, 14562/14562 tests). At34aaf95bd4: the planner file 66/66, the engine file 18/18 on the rebuilt package, metadata-protocol typecheck exit 0. Ate6c48803c3, under the verify lock:pnpm --filter @objectstack/metadata-protocol test && pnpm --filter @objectstack/metadata-protocol typecheck && pnpm --filter @objectstack/objectql test, VERDICT command-exit 0: metadata-protocol 374 files passed and 9 skipped, 23725 tests passed and 45 skipped; objectql 641/641 files, 14561/14561 tests. The planner file 63/63, the engine file 17/17.04ffc859's planner, the three new planner tests failed (3 failed / 59 passed) and the four new engine tests failed (4 failed / 13 passed), each engine test at its plan assertion with the assertions on what the read serves today passing.claimants.length < 2made never true): planner 3 failed / 60 passed, engine 2 failed / 15 passed, exactly the five re-pinned tests, each showing amoveagain where the pin asks a hold; restored from the saved source, rebuilt, and green. With the hold disabled the planner answers as04ffc859's did for those rows, so this is also their red-first reading.dcb87dc337's source the new planner pin and engine pin failed (1 of 65, 1 of 18); with the served-address reading disabled, the same two failed; ata909cc2b4e's source the pair-door pin failed (1 of 66), and with the App reading disabled it failed again; at34aaf95bd4's source the split-removal pins failed (1 of 67, 1 of 19), and with the new check disabled the same two failed; ate956a57d36's source the cross-App pins failed (3 of 71, 1 of 20), and the two ablations named above turned exactly their pins red; each restored, rebuilt and green.restpublic-form*(no file of theformread changed this round), the CLI integration tier, the dogfood battery (no!in the title, no narrowing arm).Derived gates: 119 derived; 15 run locally on the 4 files this round changed, the rest to CI
node scripts/pm/dispatch-gates.mjs --commandsat9b318da210derives 119 commands from the branch's 17 paths against merge basef5da514b. Narrowed locally to the families that read this round's four files (the docs page, the planner and the two test files), at the final tree, each exit captured before any pipe, all exit 0:check:nul-bytes,check:doc-authoring,check:doc-anchors,check:docs-single-h1,check:doc-frontmatter,docs-audit/check-affected-docs.mjs,docs-audit/check-drift-comment.mjs,check:issue-citations(and the script directly),check:adr-symbol-anchors,check:scripts-symbol-anchors,check:closed-ceremony-text,check:role-word,check-closing-keyword-parity.mjs,check:corpus-claim-drift. The other 104 areLint & Repo Gateson this head.🤖 Generated with Claude Code
https://claude.ai/code/session_01JQwxba7sJxPLc8kzW8QTyd