Repository navigation
Commit 1282a46
docs(adr): ADR-0150's status line reads Accepted; the stale counts and the ADR-0048 and ADR-0028 pointers follow (#35013)
Fixes #34704
repo:objectstack#3 · os-support-ai · session_01WGufzgwLiKcfujYUug7sPs
Clause-②: no — a recorded decision's status and three counting errors;
no published schema, export or accept set moves
Metadata-protocol: none — no metadata key is touched
Tier H: every changed path is under `docs/adr/**`. After L1 this PR goes
to os-zhuang; this area never readies, queues or arms it.
## 维护者速读
- **改了什么**:ADR-0150 的状态行由 `Proposed` 改为 `Accepted (2026-11-08, merged in
#31586)`,原有的各条 `Amended` 记录全部保留,并新增一条 2026-11-17 的 `Amended`
记录说明本次改动。执行计划里三个过期的数字改正:`B1…B13` 改为 `B1…B14`,“For the other 10” 与紧随其后的
“those 10 types” 都改为 9。ADR-0048 与 ADR-0028 状态行里 “ADR-0150 接受后生效”
一句改为已接受的事实与日期。`docs/adr/README.md` 由 `scripts/adr-index.mjs` 重新生成。
- **为什么改**:ADR-0150 自己写明“维护者合并即为 Accepted”,而它已于 2026-11-08 由你在 #31586
合并;状态行仍写 Proposed,读的人(包括 AI)会以为它还没生效,epic #31527 的收尾行也因此完不成。
- **风险与回滚**:纯文档,不含代码、不含发布内容,没有任何一条裁决或决定被改写;没有写
“implemented”,因为子卡仍在进行。回滚即 revert。
- **先看**:①
`docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md`
第 3 行(状态行开头一句与末尾新增的 `Amended` 记录);② 同一文件第 350、352 行的两个 9(卡片只点名了第 350 行,第
352 行是我按同一处错误一并改的);③
`docs/adr/0028-metadata-naming-and-namespace-isolation.md` 第 3
行末句(卡片没有点名这个文件,它与 ADR-0048 是同一句话)。
- **两分钟验证**:运行 `node scripts/adr-index.mjs --check`,预期输出 `adr-index: OK
— docs/adr/README.md is current and every record parsed.`;再看 README 索引里
ADR-0150 一行,状态列以 `Accepted — 2026-11-08, merged in #31586` 开头。
- **需要你做的**:审阅并批准(Tier H,批准后由席位落地)。
## What changes
`docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md`
- Line 3, the opening of the status line. FROM "Proposed (2026-11-08).
`docs/adr/` is Tier H (Prime Directive #14): this record becomes
**Accepted** by the maintainer's merge." TO "Accepted (2026-11-08,
merged in #31586). `docs/adr/` is Tier H (Prime Directive #14): this
record became **Accepted** by the maintainer's merge of #31586 (commit
`5d1382a54c`), on the day it was proposed." Every other clause of the
line stays as it was: the epic ruling, "no child lands before this
record is accepted", "This record declares; it implements nothing", the
supersedes, amends and withdraws clauses, and both `Amended` entries.
- Line 3, one new entry at the end of the status line: "**Amended**
(2026-11-17, #34704)", which names the status keyword and the corrected
counts.
- Line 393: the row label `B1…B13` becomes `B1…B14`. Line 404 already
says "14 in all".
- Line 350: "For the other 10" becomes "For the other 9". The paragraph
above lists 11 uncovered types and says two of them (hook and job)
change no bare answer.
- Line 352: "those 10 types" becomes "those 9 types". This one is not on
the card; see the acceptance notes.
`docs/adr/0048-cross-package-metadata-collision.md`, line 3, inside the
existing "Amended by ADR-0150" entry only
- "(proposed 2026-11-08)" becomes "(accepted 2026-11-08)".
- "This line takes effect when ADR-0150 is accepted." becomes "This line
has been in effect since 2026-11-08, when ADR-0150 was accepted by the
maintainer's merge of #31586."
`docs/adr/0028-metadata-naming-and-namespace-isolation.md`, line 3,
inside the existing "Superseded in part by ADR-0150" entry only. This
file is not on the card; see the acceptance notes.
- "(proposed 2026-11-08, maintainer rulings of 2026-11-08 on #30806 and
#31527)" becomes "(accepted 2026-11-08, maintainer rulings of 2026-11-08
on #30806 and #31527)".
- "This line takes effect when ADR-0150 is accepted." becomes the same
sentence as in ADR-0048.
`docs/adr/README.md`, regenerated by `node scripts/adr-index.mjs`, not
edited by hand
- The ADR-0150 row's status cell now starts "Accepted — 2026-11-08,
merged in #31586".
- The summary table: Accepted 135 becomes 136, Proposed 8 becomes 7.
The diff is 4 files, 9 lines added and 9 removed.
## Tests
None: a docs-only diff. No package is touched, so there is no build
closure and no package test to run.
## Acceptance notes
**The premise, measured on `origin/main` `4443014630`.**
- PR #31586 merged on 2026-11-08 (merged by os-zhuang, merge commit
`5d1382a54c`), and the record's own status line said the maintainer's
merge accepts it. So "Accepted" states a fact the record already ruled;
it is not a new ruling.
- The counts went stale in one step. The first text of the record had 12
uncovered types ("The other 12 … and tool"), 10 after hook and job, and
13 B children. Child A (PR #31841) moved `tool` into phase 1: it wrote
"The other 11" and "14 in all", and left "the other 10", "those 10
types" and `B1…B13` behind. 11 less hook and job is 9, and the B
children are 14.
**How I judged the ADR amendment conventions.**
- The add-only reading (`addOnlyNoteReasons` in
`scripts/pm/check-governed-merges.mjs`) is the test for the Tier S arm,
not a rule against editing a line. A diff that rewrites an existing
line, or touches a status line, is read as Tier H. This diff does both,
so it is Tier H, as the claim says.
- This record has two practices of its own. Child A rewrote sentences in
place and named the places in a dated `Amended` entry on the status
line. The 2026-11-10 amendment added dated notes where a ruled sentence
had to stay as written. The edits here are the first kind: a status
keyword that states a fact, and counts that follow by arithmetic from
the record's own list. No decision (D1 to D10), no red line, no quoted
ruling and no row's content changes. So they are corrected in place, and
the status line gets one dated `Amended` entry that says so. I added no
note in the body of the record.
- In ADR-0048 and ADR-0028 the change stays inside the entry that
already points at ADR-0150 and already carried its own date. The
conditional sentence is replaced by the fact, so neither record gets a
new entry.
**Three things here are not on the card.** Each is in the second commit
(`fbabe97b66`) or in the status entry, so each can be dropped by itself.
1. "those 10 types" (line 352). It refers back to "For the other 10" on
line 350, so correcting only line 350 would leave the two sentences in
disagreement.
2. ADR-0028's pointer. It carried the same sentence as ADR-0048's ("This
line takes effect when ADR-0150 is accepted"). The claim's file surface
does not list this file. `scripts/pm/overlap-check.mjs` at this head
reads 0 open PR heads sharing a file with this branch. After this PR,
`git grep` under `docs/adr` finds no "takes effect when ADR-0150" and no
"(proposed 2026-11-08" (control: "has been in effect since 2026-11-08"
is found in ADR-0028 and ADR-0048, one each).
3. The dated `Amended` entry on ADR-0150's status line, for the reason
given above.
**Read and left as written.**
- Line 356, "it extends a refusal the maintainer scoped to 12 types".
Phase 1 covers 13 types since `tool` joined it. Whether this reason
should say 12 or 13 depends on what the maintainer scoped, not on
arithmetic inside the record, so I did not change it.
- "⛔ no child lands before this record is accepted" (line 3), "⛔ none
lands before this record is accepted" (line 337) and the heading
"Execution plan (after acceptance)". They are rules and an anchor, and
they still read true.
- The record does not say "implemented": children are still in flight.
`skip-changeset`: no published package ships `docs/adr`.
## Verification
At head `fbabe97b66`, off `origin/main` `4443014630`.
<details>
<summary>Derived gates: 21 derived, 21 run, 0 NOT-MEASURED</summary>
`node scripts/pm/dispatch-gates.mjs --commands` derived 21 commands for
the 4 changed paths. Each exit code was captured before any pipe.
```text
node scripts/check-adr-links.mjs :: exit 0
node scripts/check-adr-links.mjs --self-test :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:adr-index :: exit 0
pnpm check:adr-symbol-anchors :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-prior-rulings :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:watch-hint-literal :: exit 0
```
`node scripts/pm/dispatch-gates.mjs --ran`: "21 derived famil(ies)
accounted for — 21 run, 0 NOT-MEASURED (a DERIVED zero — all 21 recorded
an exit code and none of them is 3)".
`check:doc-formula-expressions` first exited 3 (PREREQUISITE NOT MET:
`@objectstack/formula` and `@objectstack/lint` were not built). I built
the two packages under the shared verify lock (`VERDICT command-exit 0`)
and ran the gate again: exit 0. The list above records the second run.
</details>
<details>
<summary>ADR gates: the verdict lines</summary>
```text
adr-index: OK — docs/adr/README.md is current and every record parsed. (node scripts/adr-index.mjs --check, exit 0)
adr-index --report: OK — docs/adr/README.md is current, every record parsed, self-test 60 assertions green.
✅ check-adr-links: 1150 relative link destination(s) under docs/adr/ resolve
✅ check-adr-symbol-anchors: 3751 anchors across 158 records resolve — 1158 symbol (1129 declaration, 29 literal), 2541 file-level, 52 cross-repo, 6 exempt, 75 continuation.
check-nul-bytes: OK (scanned 26097 text file(s) -- 26097 tracked, 0 untracked-not-ignored; skipped 101 binary; no raw ASCII control bytes).
```
</details>
<details>
<summary>Overlap check</summary>
```text
overlap-check: claude/issue-34704-adr-0150-status (fbabe97) changes 4 file(s); against origin/main (4443014) and 0 PR head(s)
✓ origin/main: merges cleanly
VERDICT clean exit 0
```
</details>
Not measured locally: the CI-owned families (repo lint, type check, the
test batteries). They are read from this PR's check runs.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01WGufzgwLiKcfujYUug7sPs)_
<!-- signed: repo:objectstack#3 · os-support-ai ·
session_01WGufzgwLiKcfujYUug7sPs -->
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 62da8a3 commit 1282a46
4 files changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments