Repository navigation
Propose and ratify sanction-ratified-record-spelling: the record-citing Ratified: header joins the lifecycle rule - #267
Conversation
…s already writes The document-lifecycle Status Claim Rules sanction one ratification citation, "Ratified by: <change>", but the corpus has grown a second: a bare "Ratified:" line that cites a record where no approving OpenSpec change exists to name. Measured in this tree at ca0b905 rather than taken from the review that raised the flag: under the governed roots, 29 documents carry "Ratified by:", all 29 naming a resolvable change id and 13 naming only that; zero carry a "Ratified:" header. Under openspec/, which GOVERNED_ROOTS excludes, 42 of 86 archived proposals plus 11 active ones carry Status: ratified, split 38 "Ratified by:" and 15 "Ratified:", and only 20 of the 38 name a resolvable change id. Not one of those 53 lines fails an approver-or-date-or-record test. The trap is latent, not live. fam_ratified_provenance reads a single prefix through _header_line's startswith, so any "Ratified:" line returns None and emits a CRITICAL. Nothing fires today only because the 15 such lines all sit under openspec/. Either openspec/ entering the governed roots or one such header appearing in docs/ would report as CRITICAL text recent sessions wrote deliberately, on the instruction Brett's own 2026-08-22 C2 ruling gave. The proposal keeps "Ratified by:" primary wherever an approving change exists, sanctions "Ratified:" as the record-citing alternative only where none does, and puts a three-way floor on that form alone: it must name an approver, a date, or a resolvable record path. Scoping the floor to that form is load-bearing, since applying it to "Ratified by:" would turn 13 sound governed documents CRITICAL in one commit. Two spec deltas. document-lifecycle's Controlled document status taxonomy is MODIFIED, which promotes the citation rule for the first time - the promoted spec today carries scenarios for three of the four Status Claim Rules bullets and none for the ratified one - restating all three existing scenarios and adding four. doc-health's Deterministic check families is MODIFIED with its body and all eight scenarios verbatim and one widened WHEN bullet, because the realization emits two violation kinds its enumeration does not carry; whether that second delta rides here is open question 1. target_release is implemented, not the bare implementation_pending token the register's C1 records as undefined on the axis: the surface is code-only, cuts no contract bundle, and its gate is merge-plus-green on main. Authoring only. No realization edit to docs/document-lifecycle.md or to scripts/doc_health/families.py, and no existing citation line is rewritten. openspec validate --strict passes on the change and --all --strict reads 67 passed (was 66). tests/doc-health 704 passed, -k workbench 140 passed. Co-Authored-By: Claude Fable 5 <[email protected]>
…uestions in an in-session multiple-choice round, every recommendation adopted. Status flips to ratified in proposal.md front matter, with a Ratified: line citing the change itself since no approving OpenSpec change exists for it — the record-citing spelling it sanctions, satisfying its own three-way floor. Each Open Question in proposal.md, and the two spots in design.md that discuss OQ-1 and OQ-3, carry a RULED note in place beside the existing text. tasks.md ticks the ratification task (1.1, 1.2, 1.4) with a read-back note and marks the OQ-1 defer path (1.3) not taken, since OQ-1 was ruled keep. Realization tasks stay unticked. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
This PR ratifies an OpenSpec change sanctioning Ratified: record citations alongside Ratified by:, updates lifecycle and doc-health specifications, and defers runtime realization.
Changes:
- Defines citation spelling, provenance, and exactly-one-line rules.
- Adds proposal, design, metadata, tasks, and README registration.
- Extends doc-health lifecycle requirements and records validation gates.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Review findings |
|---|---|
README.md |
Nit (3 votes): Update the index row from NOT YET RATIFIED/Status: draft to the ratified, realization-pending state. |
openspec/changes/sanction-ratified-record-spelling/tasks.md |
Moderate (2 votes): Add negative tests for exactly-one citation lines and invalid Ratified: usage when an approving change exists. |
openspec/changes/sanction-ratified-record-spelling/specs/document-lifecycle/spec.md |
No final comments. |
openspec/changes/sanction-ratified-record-spelling/specs/doc-health/spec.md |
Moderate (2 votes): Enumerate mixed/multiple citation lines and the invalid condition of using Ratified: when an approving change exists, with realization-test coverage. |
openspec/changes/sanction-ratified-record-spelling/proposal.md |
Critical (1 vote): Resolve the conflict with Principle III through an explicit constitution change, or keep this proposal draft. |
openspec/changes/sanction-ratified-record-spelling/design.md |
No final comments. |
openspec/changes/sanction-ratified-record-spelling/.openspec.yaml |
Nit (2 votes): Update origin metadata to acknowledge ratification while retaining the ad-hoc approved_by attribution. |
Suppressed comments (10)
README.md:311
- This sentence has a duplicated article: it reads “the two the corpus writes” rather than “the two spellings the corpus writes.”
(`Ratified by: <change>`) and the two the corpus writes, which the
openspec/changes/sanction-ratified-record-spelling/proposal.md:174
- Despite this claim, the existing human-ratification flow is an affected writer:
scripts/ideation_dashboard/gate_console.py:1451-1457instructs the human to applyRatified by: {ratifier}. For a proposal with no approving OpenSpec change, this rule requiresRatified:instead, so the normal ratify action will continue producing nonconforming metadata. Include that writer in realization or explicitly scope proposal packets out of the promoted rule.
- **Downstream readers:** none. `ideation_dashboard.generator` derives a
change's ratifier from `.openspec.yaml` `ratified_by`/`ratifier`,
"deliberately NOT the `Ratified by:` proposal header"
(`docs/archive-record-discrepancies.md`, "What the tooling does and does
not enforce here"), so no projection moves.
openspec/changes/sanction-ratified-record-spelling/specs/document-lifecycle/spec.md:14
approved_by/approved_onin.openspec.yamlis normally the ad-hoc origin authorization, not ratification; this change's own metadata explicitly says so at.openspec.yaml:32-35, and the register distinguishes the exceptional Phase A case from ordinary authoring approval. Treating any approval pair as a validRatified:record lets an unratified proposal self-certify from its origin metadata. Qualify this example so only an explicit substantive ratification pair counts.
- `Ratified:` is the RECORD-CITING alternative and SHALL be used only where no approving OpenSpec change exists to name — an in-session ruling, a disposition, an `.openspec.yaml` approval pair, an archive or ratification commit, or another durable record. Reaching for the primary spelling in that situation would mean naming a change that does not exist.
openspec/changes/sanction-ratified-record-spelling/specs/document-lifecycle/spec.md:46
- The promoted requirement also says a
Ratified:citation MUST NOT name a nonexistent change, but this realization task only applies the approver/date/record floor. A line with a valid date plus an explicit dangling change id would therefore pass one floor axis without checking the separate prohibition. Add change-reference resolution (or a precise parsing rule) for the record-citing form and pin it with a negative test.
- **THEN** it MUST cite that record with `Ratified:` naming at least one of an approver, a date, or a resolvable record path
- **AND** the citation MUST NOT name a change that does not exist, and MUST NOT invent an approver, a date, or a record the evidence does not carry
openspec/changes/sanction-ratified-record-spelling/specs/document-lifecycle/spec.md:18
- The promoted contract requires a deterministic pass/fail decision for an approver, a date, or a resolvable record, but it never defines how an approver or date is recognized (or what qualifies as a record path beyond existence). Without machine-checkable forms, implementations can disagree and arbitrary prose can satisfy the floor.
**The three-way floor on the record-citing form.** A `Ratified:` citation SHALL name at least one of three things: an approver, a date, or a resolvable record path. Naming none of the three is a finding, because such a line asserts a ratification nothing can be checked against — the bare uncited header's defect, differently spelled. The floor is deliberately a floor and not a fixed field set: the corpus's honest citations name different subsets (approver plus date plus a verbatim instruction; date plus a record pointer with no approver named; date alone where the record names no ratifier), and a rule demanding all three would force the invention of provenance the record does not carry, which is the failure mode this rule exists to prevent.
openspec/changes/sanction-ratified-record-spelling/specs/document-lifecycle/spec.md:22
- The requirement says body prose and section-level labels are not citations, but the planned reader matches every first-15-line string starting with
Ratified:. The existing body labeldocs/domain-ontology-semantic-decisions.md:201is exactlyRatified: YAML-serialized...; if such prose appears in the header window it is indistinguishable from a citation, and the two-prefix rule does not prevent that false positive. Define a structural header/placement discriminator before implementing this boundary.
A ratification citation is read in the document's lifecycle header, alongside the `Status:` header it justifies. Prose elsewhere in a document that begins with the same word — a section-level decision label, a sentence starting "Ratified together with…" — is body text and is NOT a ratification citation.
openspec/changes/sanction-ratified-record-spelling/specs/document-lifecycle/spec.md:14
- This scenario makes
Status: ratifiedvalid without an approving OpenSpec change, but the canonical lifecycle table still defines ratified as “Backed by an approved OpenSpec change; header names it” (docs/document-lifecycle.md:44-45). The proposal itself now has exactly this shape. Update the canonical taxonomy in the realization work, not only the Status Claim Rules bullet, or the change contradicts the lifecycle contract it modifies.
- `Ratified:` is the RECORD-CITING alternative and SHALL be used only where no approving OpenSpec change exists to name — an in-session ruling, a disposition, an `.openspec.yaml` approval pair, an archive or ratification commit, or another durable record. Reaching for the primary spelling in that situation would mean naming a change that does not exist.
openspec/changes/sanction-ratified-record-spelling/tasks.md:60
- The new requirement says exactly one citation line, but these tasks only widen a first-match reader and never specify counting all matches. With the current
_header_linesemantics, a document with two validRatified by:lines, twoRatified:lines, or one of each can pass based on the first line, despite OQ-4 making that a finding. Add an all-prefix cardinality check, include it in the doc-health violation list, and add mutation-backed tests.
- [ ] 3.1 Widen the read to TWO prefixes, `Ratified by:` and `Ratified:`.
Per design D2, do NOT collapse them into `_header_line(doc, "Ratified")`
— that matches body prose and would pass every test written against
today's corpus while breaking on the first document whose header window
opens with such a line.
openspec/changes/sanction-ratified-record-spelling/tasks.md:65
- Preserving the existing
_link_targetsfallback also preserves an unintended acceptance of arbitrary paths:_resolvesreturns true for any existing repo-relative file, soRatified by: docs/archive-record-discrepancies.mdwould pass without naming an OpenSpec change. The new condition makes the two spellings non-interchangeable; constrain this fallback to a real active/archived change target, or report the line and requireRatified:for record-only provenance.
- [ ] 3.2 Leave the `Ratified by:` path byte-for-byte behaviourally
unchanged: change-id intersection, then `_link_targets` resolution,
then the cross-repo `openxFactory` escape hatch.
- [ ] 3.3 Implement the floor for the `Ratified:` path: pass when the line
names an approver, a date, or a resolvable record path; fail when it
openspec/changes/sanction-ratified-record-spelling/tasks.md:67
- §3.3 only specifies the three-way floor and record resolution; it never enforces the other half of the rule, that
Ratified:is allowed only when no approving OpenSpec change exists. ARatified:line with a date or approver would pass even when the approving change is present inctx.change_ids. Add an explicit rejection path and negative test.
- [ ] 3.3 Implement the floor for the `Ratified:` path: pass when the line
names an approver, a date, or a resolvable record path; fail when it
names none. Reuse `_resolves`/`_link_targets` for the record axis
rather than adding a second resolution rule.
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| Active changes: | ||
|
|
||
| - [sanction-ratified-record-spelling](openspec/changes/sanction-ratified-record-spelling/proposal.md) | ||
| — authored 2026-08-22, **NOT YET RATIFIED** (`Status: draft`). Closes the |
| It is NOT ratification of this change: no ruling has been taken on the | ||
| two-spelling rule, the three-way floor, or any of the five open questions, | ||
| and `proposal.md` carries `Status: draft` accordingly. |
| code_surface: openxFactory (`scripts/doc_health/families.py` — `fam_ratified_provenance` learns the second, record-citing citation spelling and gains the three-way floor check on it, and its `_header_line` read widens from one prefix to two WITHOUT becoming a prefix match on the bare word "Ratified", which would swallow body prose; `tests/doc-health/` — positive and negative cases for both spellings, for the floor, and for the body-prose boundary, mutation-validated. `docs/document-lifecycle.md` § Status Claim Rules is prose rather than runtime code, but it is the text the family implements and it lands in the same slice.) | ||
| target_release: implemented — the openxFactory main line. This surface cuts NO contract bundle: no schema under `contracts/schemas/` changes, no digest set moves, and no release tag is owed. The archive gate is therefore merge-plus-green on main, full stop — `python3 -m pytest tests/doc-health` and `-k workbench` green, `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` green, and a doc-health run whose severity counts are unchanged against the pre-change baseline. The bare `implementation_pending` token is deliberately NOT used: `docs/archive-record-discrepancies.md` C1 records that it is a house token the realization axis does not define, and Brett's 2026-08-22 ruling rewrote four archived proposals off it; its legality on the ACTIVE phase was left open by that ruling and this change does not presume an answer. | ||
| Status: ratified | ||
| Ratified: 2026-08-22 by Brett Heap — in-session, multiple-choice ruling round over all five Open Questions (every recommended option adopted, OQ-3 unopposed in prose), recorded in this proposal's Open Questions section and in design.md; this change has no approving OpenSpec change to name, so it cites itself in the record-citing spelling it here sanctions. |
| - **WHEN** a governance document violates a `document-lifecycle` rule — a free-form or missing `Status:` value, an unbacked `standard` claim, a `ratified` document whose lifecycle header carries no ratification citation in either sanctioned spelling, a dangling `Ratified by:` reference, a record-citing `Ratified:` line naming none of an approver, a date, or a resolvable record path, a `superseded` doc without a successor, a `brainstorm` doc outside `ideation/brainstorm/`, a `staged` doc that is outside `ideation/staging/` and is not a candidate register (`Kind: register`), or a content edit to a `record` doc after capture | ||
| - **THEN** the run MUST emit a finding naming the check family, the repo, the path, and the violated rule |
| - [ ] 3.6 Tests in `tests/doc-health/`, each pinning one boundary: | ||
| (a) `Ratified by:` naming a change id — pass, unchanged; | ||
| (b) `Ratified by:` naming a change id and nothing else — pass, the | ||
| floor does not reach it (this is the 13-document regression guard); | ||
| (c) `Ratified by:` dangling — CRITICAL, unchanged; |
The change was authored, ratified and realized on 2026-08-22, and its record still read as though the work were ahead of it. This closes the archive gate. REALIZATION, verified here rather than inherited. PR #268 merged 2026-08-22T23:33:13Z. It was REBASE-merged, so its four branch commits (aca8692, 40ec1d9, 648702d, c9d6f12) are not reachable on main and are not cited; what main carries, each confirmed an ancestor of origin/main, is c854814 (the widened fam_ratified_provenance, the Status Claim Rules rewrite, and tests/doc-health/test_ratified_citation_spellings.py), 8b874a0 (six adversarial-review fixes, two of them amending the change's own deltas to transcribe the OQ-4 ruling the realization already obeyed), e8dc70b (Copilot's count-not-pair note) and 93d6216, the archive base. The ratification landed earlier the same day as PR #267, merge a316a10. The realized code and prose were read on the base before anything moved: two disjoint prefix constants and _header_lines in families.py, and the two-spelling rule with its three-way floor in docs/document-lifecycle.md. target_release names no contract bundle and no release tag is owed, so the gate is merge plus green. Base gates on 93d6216, exit codes read directly: openspec validate --all --strict 68/68 exit 0, tests/doc-health 724 passed, workbench 140 passed, doc-health --single-repo at 4 critical / 6 error / 68 warning / 4 info. BARE CLI, on the checked predicate. This change owns no supporting-docs — its origin is ad_hoc and there is no staging topic to carry — so document-lifecycle's retention requirement, scoped in its own first clause to a change WITH proposal supporting documents, has nothing to bind. Followed add-roster-device-admission-surface rather than add-doxbench-editing-phase-b. All six files hash identically either side of the move, .openspec.yaml at 07a1ae0. PROMOTION VERIFIED by diffing the promoted specs' requirement maps captured before the archive against the same maps after, not by reading the CLI summary. document-lifecycle: 13 requirements unchanged, zero dropped and zero added, 52 to 57 scenarios, the modified requirement 3 to 8 so all three pre-existing scenarios survive, and the twelve requirements the delta does not name show zero drift byte for byte. doc-health: 24 requirements and 93 scenarios unchanged, its other twenty-three requirements byte-identical, and the whole diff is the one widened WHEN bullet, now naming four ratification violation kinds where it named one. Both promoted requirement bodies compare byte-identical to their delta text. README's row moves from Active to Archived at the head of the 2026-08-22 block. Two falsehoods were corrected on the move rather than carried across: the row still claimed NOT YET RATIFIED with Status draft, and it still said four added scenarios and two unenumerated violation kinds, which the fix lap's fifth scenario and fourth bullet made wrong. Presence sweep after the move is exact both directions: 18 active directories to 18 active rows, 88 archive directories to 88 archived rows, no orphans either way. Gates after the archive, exit codes read directly: openspec validate --all --strict 67/67 exit 0, down exactly one; tests/doc-health 724 passed; tests/ideation-dashboard -k workbench 140 passed. The doc-health --single-repo run holds at 4 critical / 6 error / 68 warning / 4 info with zero findings moved; the only movement in the whole report is the word census, promoted specs plus 830 words, which is 779 from the document-lifecycle promotion and 51 from the doc-health bullet, counted rather than assumed. Governed roots are untouched, since openspec/changes is not one. Tasks 4.3 to 4.5 are ticked with their read-backs. Section 5 stays unticked as a recorded scope boundary, not a gap. Co-Authored-By: Claude Fable 5 <[email protected]>
…as they stand' (#1250) Lane: openxfactory-1 ## The two words Brett Heap gave both words on 2026-10-06, in session to lane `openxfactory-1`. Both are RULED lines on the estate's lane register, with object `opensoft/openxFactory:openspec/changes/add-worker-input-budget`. 1. **The ratification.** > 0.4: (a) ratify as they stand It answers `tasks.md` 0.4, *"Ratify or amend the two spec deltas"*. The question was put to him as *"task 0.4: (a) ratify the two doc-health deltas as they stand, or (b) amend first"*, and he chose (a). RULED at **2026-10-06T13:55:03Z** (`opensoft/brett-wip` commit `06709554`, `lanes/log/openxfactory-1.md`). 2. **The origin file.** > #1250: (i) add the origin file It answers the RULING NEEDED this PR raised on Copilot's finding `r4196698454`. Option (i) was put to him as adding `.openspec.yaml` in the ratifying commit, with values following the 2026-08-25 origin sweep `b7513733`. RULED at **2026-10-06T17:24:57Z** (`opensoft/brett-wip` commit `f739ab74`). This lane has held the change's claim since 2026-09-24T16:33:03Z. ## What is ratified `add-worker-input-budget`'s two `doc-health` spec deltas, as they stand and with no amendment: - **MODIFIED: *Sweep sequencing and snapshot consistency*** (three scenarios); - **ADDED: *Bounded worker input budget*** (six scenarios). The ratified text is `specs/doc-health/spec.md` blob `9a817d65`. That blob is the same at #1137's merge commit `9da52e31` and on `main`. **No requirement or scenario text moves in this PR.** ## The origin declaration, on the second word **Why it is needed.** `document-lifecycle` § *Proposal origin declaration* says: > A proposal whose own `Status:` declares `ratified`, or any standing beyond it, SHALL carry approval provenance in its origin. This packet had no `.openspec.yaml`, and it was the only active change without one. **What it declares.** The new `openspec/changes/add-worker-input-budget/.openspec.yaml` is hand-written in the form of sweep `b7513733`. Every value is derived from the packet's own record and is folded or plain, so the file parses: - `schema: spec-driven`; - `created: 2026-09-22`, from the packet's true first commit, `ee2185d6` (2026-09-22T01:26:47Z); - `origin.kind: ad_hoc`. No `Staging ID:` header and no staging topic's exit names this change, checked in both directions; - `origin.id: openxFactory:adhoc:2026-09-22-add-worker-input-budget`; - a folded `reason` that quotes the second word; - the drafting pair: lane `openxfactory-1`, on *"brief a writer to add the input-size guard"*, `proposed_on: 2026-09-22`; - the approval pair: Brett Heap, *"0.4: (a) ratify as they stand"*, `approved_on: 2026-10-06`. **What it changes.** - `proposal-support.py verify add-worker-input-budget` now **passes**, where `main` refuses it with *"no origin declaration"*. - `proposal-origin`'s WARNING for the missing origin is gone. - No other finding moves. ## What this PR does not do - **Group 4's 4.1 sequencing question stays open.** The *"Sequencing tension, named rather than hidden"* note in `tasks.md` asks Brett Heap a question. Was *"land the input-size guard when green"* the approved exception, or should 0.4 have gated 4.1? Neither word answers that question, and the note does not move. - **No archive.** The archive is a separate act. - **No other substance moves.** That covers proposal substance, `code_surface:`, `target_release:`, realization and the sequenced-after ledger row. - **It lands by SQUASH.** The lane's coordinator lands it in a Rule 6 window. The archive PR is a separate landing, as a merge commit. ## Every changed line, file by file **`openspec/changes/add-worker-input-budget/proposal.md`** (the front-matter header): - `Status: draft` becomes `Status: ratified`. - One line is added after it: `Ratified: 2026-10-06 by Brett Heap (openxFactory repository owner) — …`. The line carries: - the 0.4 word, verbatim, and the question as it was put; - the register RULED line; - both requirement names; - the #1137 `9da52e31` baseline; - "archives nothing" and "does not answer the Group 4 sequencing question on 4.1"; - the record path. **`openspec/changes/add-worker-input-budget/tasks.md`:** - `- [ ] 0.4 Ratify or amend the two spec deltas.` becomes `- [x] 0.4 …`. - Ten record lines follow it: the word, the question, the RULED line, both requirement names, the 4.1 question staying open, no archive, and the record. **New: `openspec/changes/add-worker-input-budget/.openspec.yaml`** (52 lines): the declaration described above. **`README.md`** (*OpenSpec Records* > *Active changes*, the `add-worker-input-budget` entry only): - `` `Status: draft` `` becomes **`` `Status: ratified` ``**. A parenthetical gives: - the date, Brett Heap, the 0.4 word, "no amendment" and the RULED time; - the link to the record; - *"the origin declaration `.openspec.yaml` added on his second word, verbatim "#1250: (i) add the origin file", RULED 2026-10-06T17:24:57Z"*. - The closing sentence changes. It read: "`Status: draft` is unchanged: …". It now reads: "Resolving the questions ratified neither spec delta; the 2026-10-06 word did (task 0.4). **RATIFICATION ONLY** — the archive is a separate later act on Brett Heap's word, and the Group 4 sequencing question on 4.1 stays open." **New: `openspec/changes/add-worker-input-budget/review/ratification-2026-10-06.md`:** - The header: `Status: ratified`, `Kind: report`, `Decision date:`, `Ratifier:`, one `Ratified:` citation and the ratified baseline. - The sections: - Decision; - 1, the word; - 2, what the word does not decide; - 3, what this pull request changes, including the origin file and the second word, verbatim; - 4, a disclosure; - 5, the measurements, and the statement that this PR lands by squash. **`ideation/staging/doc-health-sweep-carry-over/doc-health-sweep-carry-over.md`** (Copilot `r4198710846`, the first Conflicts bullet only): - The status clause *"`add-worker-input-budget` is `Status: draft`, its two deltas unratified (its task 0.4)"* now says the packet is `Status: ratified` (task 0.4, Brett Heap's word of 2026-10-06) but still ACTIVE, not archived. - A parenthesis records what the clause read before. The sequencing constraint, proposing this topic's change after that packet archives, is unchanged. **Not moved:** - `specs/doc-health/spec.md`; - the Group 4 4.1 note; - `tests/sequenced_after/corpus-ledger.yaml`. ## Precedent followed - **#974** (`c521504c`): - `Status: draft` becomes `Status: ratified`, with one citation line in the lifecycle header; - the ruled box is ticked with its record; - the README row is moved in place, with a bold `Status: ratified` and the word and the record link; - a **RATIFICATION ONLY** tail; - a `review/ratification-<date>.md` record carries `Status: ratified` and ONE citation. - **#1151** (`cd494e4c`): the closest case, an in-place ratification of a draft already on `main`. Copied: the one-line `Ratified:` form inside the front-matter, and the record's sections. - **#1028**: the record header. `Decision date:` and `Ratifier:` accompany the citation. - **#267**: the record-citing `Ratified:` spelling for an in-session ruling. Both citations clear the three-way floor, and each document carries exactly one citation in its 15-line window. - **Sweep `b7513733`**: the `.openspec.yaml` form, on the second word: - `created` from the true first commit; - an `ad_hoc` id carrying the created date; - a folded `reason` derived from the record and checked in both directions; - the approval quoted from the packet's own citation. - **Not copied:** `Status:` and `Ratified by:` on `tasks.md` and `design.md`. The packet has no `design.md`. Its `tasks.md` carries no `Status:` header to move, and `document-lifecycle` does not rule `tasks.md`. ## Landing: squash **This PR lands by SQUASH, and only a squash landing conforms to the second word.** Option (i) was put as adding the origin file *in the ratifying commit*. On this branch the ratification is `a93865f0` and the origin file is the later commit `b3b7db42`, so only a squash puts the two into one commit on `main`. The record's § 5 says the same. The archive gate's origin-retention walk takes the FIRST commit whose `proposal.md` declares `Status: ratified` as the ratifying commit. A probe on throwaway copies measured two landings: - **Squash, the conforming landing:** the squash commit is the ratifying commit and carries the origin. The walk reads *"ORIGIN RETAINED … declaration unchanged since the ratifying commit"*. #974 and #1151 also landed by squash. - **Merge, not conforming:** the walk takes `a93865f0`, which has no origin, as the ratifying commit, and reads *"ORIGIN RETENTION NOT COMPARABLE"*. The gate does not refuse that, but it leaves no retention baseline. - **Rebase, not conforming and not run:** it would also land `a93865f0` as a commit of its own, ahead of the origin file. ## Observation (no change made) `proposal.md` § Impact says *"two requirements MODIFIED, one ADDED"*. The delta has carried one MODIFIED and one ADDED requirement since its first commit, `ee2185d6`. The record's § 4 discloses this. It is not corrected here, because it is proposal text. ## How it was verified All runs used full clones named `openxFactory`. The full set ran at the same time in two same-kind clones: `main` `51456835`, and this branch merged with it (`9e67f838`). The gates and doc-health then ran again on `main` `e6380965` and on `cc0fc853`. After that, the full set ran a third time on `main` `e6380965` and on `60c38a56`. All three runs gave the same results. The record's § 5 names each measured tree by sha (Copilot `r4198710942`). Copilot's review `5433270341` at `60c38a56` raised no inline finding. Its "previously missed" note on record § 5 is answered in `7229fde4`, which rewrites only the record's landing paragraph to say this PR lands by squash. The gates and doc-health ran again on that tree against `main` `e6380965`, with identical results. The branch then merged `main` `c44c1610`, which archived `add-factory-mcp-conformance` (#1252) and touched no byte of this packet. The gates and doc-health ran once more, on `main` `c44c1610` and on that merge, `8dbb011e`. The results were again identical: `verify` exits 1 on `main` and 0 on the branch, and doc-health reports 284 against 282 finding lines, the difference being only the `proposal-origin` WARNING. Copilot's review `5433389325` at `8dbb011e` (thread `r4199425241`) asked that record § 5 list every tree measured. `6f4e98d1` rewrites that list as six runs, each named by sha. The gates and doc-health ran on it against `main` `c44c1610`, with identical results. Last, the branch merged `main` `a2dc658d` (#1254, no byte of this packet) as `35b17c30`, and the gates and doc-health on that merge against `main` `a2dc658d` were again identical. Its other note asks to put the Group 4 sentence *"is still open even as this line is written"* in the past tense. That note is left as it stands, because both briefs keep the Group 4 note untouched and the sentence is anchored to when it was written. Because the carry-over topic changed, `tests/ideation_routing` and `tests/document_catalog` also ran on `main` `e6380965` and on `60c38a56`: 86 passed on each. `tests/ideation-dashboard` cannot be collected in a clone without the openDox and openXdox legs; CI runs it. | gate | `main` | this PR | | --- | --- | --- | | `validate-openspec-cli-pin.py --all --strict` | exit 0; 1 failed item, `add-chain-attestation`'s accepted exception; 0 UNDISPOSITIONED | the same | | `validate-openspec-cli-pin.py --change add-worker-input-budget` | exit 0; 1 passed | the same | | `validate-code-surface.py`, `validate-target-release.py`, `validate-scope-globs.py` | exit 0 | the same output | | `validate-sequenced-after.py .`, and with `--ledger-diff` | exit 0 | the same output; the ledger row does not move | | `proposal-support.py . verify add-worker-input-budget` | **exit 1**, "no origin declaration" | **exit 0**, "proposal support verification ok" | | `doc-health.py --single-repo . --as-of 2026-10-06` | 284 finding lines | 282: the same set without the `proposal-origin` WARNING's two lines. **No new finding.** The `modified-block-currency` INFO, which records the delta's deliberate rewording of canon's "is exactly" bullet, stays | | `pytest` over `tests/doc-health`, `sequenced_after`, `review_lane_pin`, `proposal-support`, `code_surface`, `target_release`, `packet_reference`, `citation_remainder`, `scope_globs`, `former_id_arrival` and `openspec_cli_pin` | 3581 passed, 7 failed and 3 skipped | the same, with the same 7 tests failing. All 7 come from the clone, whose `openDox` and `openXdox` legs were not initialized. CI runs the full suite | **The citation checks were proven to read both files, on a throwaway copy:** - damaging either `Ratified:` line raised a CRITICAL `ratified-provenance` finding naming the damaged file; - removing the proposal's citation raised one; - giving the record `Status: record` raised one. The intact files raise none. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-1 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Authors and ratifies the OpenSpec change the archive-register review flagged:
docs/document-lifecycle.md's Status Claim Rules sanction onlyRatified by: <change>, while the corpus has grown a second, record-citingRatified:spelling (13 archived + 2 active instances) used precisely where no approving change exists to name — and doc-health'sratified-provenancefamily enforces the single-spelling rule at CRITICAL despite the rule never having been promoted into any spec.document-lifecycle/ Controlled document status taxonomy: promotes the ratification-citation rule for the first time and widens it —Ratified by: <change>primary wherever an approving change exists;Ratified:sanctioned only where none does, subject to a three-way floor (MUST name an approver, a date, or a resolvable record); exactly one citation line per document; a bare uncitedStatus: ratifiedstays illegal. All three existing scenarios restated unchanged; four added.doc-health/ Deterministic check families: the lifecycle-violation enumeration widens by one WHEN bullet so the realization cannot contradict a promoted list (all eight scenarios restated byte-identical).Ratified by:/ 13Ratified:archived, zero governed-rootRatified:headers; 18 of 38Ratified by:lines are already record-citing in practice. Three adjacent defects parked out of scope in tasks §5 (phase-b's missing citation, roster-device's out-of-window line, GOVERNED_ROOTS membership).Realization (the lifecycle-doc prose + the family widening + mutation-validated tests) follows as its own slice per tasks §2–§4;
target_releasestates no contract bundle is owed.Gates:
openspec validate --all --strict67/67;tests/doc-health704 passed;tests/ideation-dashboard -k workbench140 passed; no uppercase-POST in added prose.🤖 Generated with Claude Code