Skip to content

Commit d62f9e9

Browse files
docs(adr): ADR-0159 records the major-release rulings (one major, convert then switch, internal forms removed) (#37206)
repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH Fixes #37113 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:用户无感;这是把您 11 月 24 日关于"表单独立成 form 类型"发版方式的五条裁决写进决策记录。 - 为什么做:属于"表单从视图拆成独立类型"这件事;后面做升级转换和大版本切换的开发任务都按这份记录施工,记录和裁决必须一致。 - 出错会怎样:如果记录写错,后续开发会按错误的发版顺序或删除范围去做;本次只改文字,合并后可以直接撤回。 - 要你做什么:审阅并亲手合并这一个 PR(决策记录只能由您合并)。 ## What changes One file: `docs/adr/0159-forms-are-their-own-metadata-type-public-forms-are-form-items-view-is-lists-only.md` (+49 / -21). No code, no schema, no changeset. The revision enters ruling record 7142585849 on #36868 and its addendum 7142658348 into ADR-0159. Each revised sentence carries the record id and the ruling's number. The five rulings are quoted verbatim and untranslated, once, under "Decided by"; the two seat decisions are marked as the seat's. - **Status, "Decided by", TL;DR**: a dated line (2026-11-25) on the Status paragraph; the five rulings and the two seat decisions under "Decided by"; a new TL;DR entry 11 that names the four changes; TL;DR 3 revised. - **A. One major (rulings 1 and 2)**: D5's opening line, one bullet under D5's three "until the major" rules, D8's fallback sentence, D7's Schedule, the Execution plan (table rows, the ②, ④ and ⑤ bullets) and two Consequences bullets now say that the type is added in major 19 and the dual-read exists on `main` only. - **B. Convert, then switch (ruling 2; the all-or-nothing rule is a seat decision)**: D7 "Stored rows", the upgrade bullet, a new bullet marked as a seat decision, five sentences of D7-c, a paragraph on rule 7's boot line, and one Consequences bullet. - **C. The upgrade removes stored internal record forms (ruling 3)**: the D7 bullet on internal record forms, the upgrade bullet, the "precheck refuses" pin, one new pin, and a footnote under the table "What keeps a public address closed today". - **D. Release notes (ruling 4)**: one new bullet in the Execution plan, on the major-19 card. - **E. HotCRM (ruling 5)**: the Execution plan table and the ④ bullet. Cards that read the revised text: #37086 (card ②), #37087 (card ③), #37088 (card ④, this repository's sources and docs), #37111 (card ⑤a, the ceremony and the precheck report) and #37112 (card ⑤b, the major). ## Tests No test: the diff is ADR text. No behaviour changed, so no ablation. ## Acceptance notes - **Rule 7 of D6 is revised beside the rules, not inside them.** The card's table B asks for a revised reading of rule 7's boot line, and its "Done when" asks for no diff inside D6's rules 1 to 11. Both hold: the new reading is a paragraph after rule 11, marked as revised, and rule 7's own text is byte-identical. If the maintainer wants rule 7's sentence itself rewritten, that is a one-line follow-up. - **No diff inside the protected blocks.** `git diff -U0` shows no hunk in D6's rules 1 to 11, D7-a, D7-b, D7-d, D7-e, the five ruled question blocks, or the later-ruling paragraph beside question 4. - **Sentences the tables do not name were left as written.** Reported, not edited: - "Five cards, in this order" (Execution plan) and TL;DR 9's "Five cards, in order" still count five; the table now has eight rows. A revision paragraph under the opening line says how ④ and ⑤ are cut. - "card ②'s release" stands in TL;DR 10, D5 and the Consequences. Under ruling 2 that release is major 19. - TL;DR 7 ("read as a fallback until the major") stands; D8 carries the revised sentence. - D7-d and the fold pins still say "after `--apply`". The write still exists; by the seat decision only the upgrade command reaches it. - The Status keyword still reads `Proposed` although PR #36957 is merged. The status flip is not in this card. - **The index row is unchanged.** `docs/adr/README.md` is generated from the Status line's first words, which this PR does not move; `pnpm check:adr-index` reports it current. - **Changeset**: none. `docs/adr/**` ships in no package, so the PR carries `skip-changeset`. - **Governed surface**: `docs/adr/**` is Tier H. This PR is pushed, opened as a draft and left for the maintainer's merge. No seat readies, queues or arms it. ## Verification Read first, by risk: 1. D7, the bullet "Internal record forms in stored rows are removed by the upgrade" and the bullet after the two "Not counted" kinds (the seat decision). These carry ruling 3's conditions. 2. D7-c, five revised sentences: where the row stays, what both doors answer for it on the pre-upgrade release, and where the repair is made. 3. The Execution plan table: the rows for ④, ⑤a and ⑤b, and what blocks ⑤b. Two-minute check: `git diff -U0 origin/main...HEAD -- docs/adr | grep '^@@'` prints 21 hunks; none starts inside old lines 210 to 221 (D6's rules), 246 to 253 (D7-a, D7-b), 263 to 271 (D7-d), 277 (D7-e) or 496 to 501 (the later ruling). Head `d7f307a6a57` (patch round at effort xhigh, after seat record 7152627871): S1 fixed (D7-c fourth sub-bullet now says both doors answer for the row as they do today on the pre-upgrade release; rule 7 runs on `main` and on the major), N1 fixed (four ruling-5 citations name addendum `7142658348`), `origin/main` merged as `54e058c8c1c`. Diff vs main still +49/-21 in 21 hunks; the 19 protected-block hashes equal main's. Every first-pass sentence was re-read at the floor; none else is false under ruling 2. Local gate sweep re-run by the seat at `d7f307a6a57`: the same 21 commands, 20 exit 0, `check:doc-formula-expressions` exit 3 PREREQUISITE NOT MET (CI runs it in `Type Check · consumer gates`). <details><summary>Local gates at earlier head 9a569b8 (derived by dispatch-gates --commands, reconciled by --ran)</summary> ```text Run reconciliation — 21 derived, 20 run, 1 NOT-MEASURED, 0 UNRUN. ✓ dispatch-gates --ran: 21 derived famil(ies) accounted for — 20 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3). exit 0 node scripts/check-adr-links.mjs (1215 relative link destinations under docs/adr/ resolve) exit 0 node scripts/check-adr-links.mjs --self-test exit 0 pnpm check:adr-anchors exit 0 pnpm check:adr-index (docs/adr/README.md is current, every record parsed) exit 0 pnpm check:adr-symbol-anchors (4170 anchors across 163 records resolve) exit 0 pnpm check:doc-authoring exit 0 pnpm check:nul-bytes exit 0 pnpm check:pm-governed-merges exit 0 pnpm check:pm-prior-rulings exit 0 the other 11 derived commands (closing-keyword-parity and its self-test, comment-mask-corpus, plan-test-core-shards self-test, ci-filter-parity, closed-ceremony-text, cross-package-test-inputs, driver-memory-census, gitlink-declared, refd-timer-probe, watch-hint-literal) exit 3 pnpm --filter @objectstack/lint run check:doc-formula-expressions NOT MEASURED: doc-formula-expressions, reason: PREREQUISITE NOT MET, the lint package is not built in this worktree. Declared narrowing: the diff adds no formula expression, and CI runs the family. ``` </details> --- _Generated by [Claude Code](https://claude.ai/code/session_011y7As5bdhV5T4N9vpjmZzH)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent cf4b06f commit d62f9e9

1 file changed

Lines changed: 49 additions & 21 deletions

File tree

0 commit comments

Comments
 (0)