Skip to content

Ratify amend-kill-switch-to-declared-test-companion on Brett Heap's selection "Ratify as filed" - #974

Merged
brettheap merged 3 commits into
mainfrom
change/ratify-amend-kill-switch-to-declared-test-companion
Sep 11, 2026
Merged

brettheap merged 3 commits into
mainfrom
change/ratify-amend-kill-switch-to-declared-test-companion

Conversation

@brettheap

@brettheap brettheap commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-2 (openXfactory-2)

Suggested title: Ratify amend-kill-switch-to-declared-test-companion on Brett Heap's selection "Ratify as filed"

RULING. Brett Heap, openxFactory repository owner, first-hand, in session —
THREE ACTS: TWO SELECTIONS and ONE TYPED LINE. All three are recorded in ONE
openxFactory #745 comment, 5634512736.

Word one — 2026-09-11 at approximately 11:58Z, via the lane's
multi-choice question: the option "Ratify as filed (Recommended)",
whose description read: "Ratify the text as landed. Realization (the
codexFactory companion) and archive stay separate later acts on your word,
per the three-act pattern."
Recorded on openxFactory #745 (comment
https://github.com/opensoft/openxFactory/issues/745#issuecomment-5634512736).

Word two — 2026-09-11 at approximately 12:16Z, via a second multi-choice
question asking whether word one's ratification covers the packet WITH
round 5's tightening (each declared companion artefact carries its own
regeneration command; the conformance test's equality check moves from an
existence check to asserting that the set of paths changed by regenerating
in the scratch tree equals the declared artefact set): the option "Yes,
ratify with the tightening (Recommended)"
. Recorded on openxFactory #745
(comment https://github.com/opensoft/openxFactory/issues/745#issuecomment-5634512736).

Word three — TYPED VERBATIM, not a selection; the record carries it in
full, and so does this body:

Word three — 2026-09-11 at approximately 12:34Z, typed verbatim "land it
when green and apply the ratify"
, given after the lane reported round 6's
three deltas (the allowlisted regeneration identifier is resolved only in
reviewed test code; the artefact diff is taken against a committed
post-withdrawal baseline; the requirement gains an explicit non-emptiness
clause with its own scenario) and reaffirmed verbatim through the afternoon;
the lane reads it as covering those deltas and every later fix round. Rounds
7 through 21 (ruled 2026-09-11 ~12:52Z through ~16:52Z; encoded by pushes
12:57Z through 16:55Z, the last being c6008f10; all Copilot findings RULED
accept by the lane) changed no mechanism: rounds 7–11 fixed the ORDER of the
conformance procedure (capture the declarations, commit a hermetic
post-withdrawal baseline, measure the whole pinning suite with the
conformance module excluded by path, regenerate every allowlisted artefact
one tool at a time with the index and worktree reset between runs and
compare (identifier, path) pairs against the baseline, record), DEFINED
applying the companion at the throw (re-target each declared assertion's
expectation, regenerate each declared artefact, remove the mapping and its
comments, nothing else), DEFINED the restore as a forward change by the same
procedure rather than a revert (so the golden digest records both
movements), HARDENED the declaration grammar (one lexical refusal set for
artefact paths, then containment before any open; allowlisted identifiers; a
scratch git repository with inherited GIT_
control variables cleared), and
STATED in D-2e that this packet fixes the invariants while the codexFactory
companion's design owns the exact commands; rounds 12–21 tightened the same
procedure's measurement invariants (the per-identifier inventory is the full
working-tree delta including untracked and ignored paths; a reset barrier
begins every tool run, the first included; every allowlisted invocation must
exit zero within a finite constant timeout taken from the trusted allowlist
before its delta is read; a control run on the committed pre-withdrawal tree
must produce empty inventories, so every allowlisted tool is a deterministic
byte-identical no-op run with interpreter caches suppressed; declared
artefacts are tracked paths and are refused otherwise; declared paths reach
git only as literal pathspecs after --, with a leading - and glob
characters refused; the hermetic environment always nulls global git config
and nulls or disables system config; the assertion run fails outright on any
collection, import or internal error, on any exit status other than 0 or 1,
or on timeout; the "nothing else" bound of the throw holds at both path and
assertion level; the § 4 observation boxes tick on their recording and § 5
gains prerequisite (e)). All three acts are recorded in ONE #745 comment,
5634512736.*

Recorded in review/ratification-2026-09-11.md.

WHAT IS RATIFIED. The proposal's text in full, at PR #959's final head
c6008f10 (committed 2026-09-11T16:55:31Z), ROUNDS 1–21 ENCODED, landed on
main as squash commit 07a8a45b62f063fe08625ad9c1fbb38762e6f85b, merged
2026-09-11T17:19:09Z (that squash commit committed 17:19:08Z) — the
amended requirement at specs/roles-authority-model/spec.md, and
design.md D-1 through D-6, ALL STANDING AS RECOMMENDED, NO VETO EXERCISED
ON ANY OF THEM. Decision N-4 of
extend-merge-master-envelope-to-floor-bot-lanes is amended by supersession
exactly as the packet states: the kill switch is now canon as the candidate
entry TOGETHER WITH its declared test companion.

WHAT IS NOT RATIFIED / NOT AUTHORIZED BY ANY OF THE THREE ACTS.

  • NO REALIZATION, in either repository — no envelope byte, no
    # companion: / # companion-artefact: comment, no regeneration command
    run, no conformance test authored. Realization is a codexFactory
    COMPANION change, authored by that repository's own lane, after
    ratification. Word three directs the landing and the application of the
    ratification, nothing more.
  • NO ARCHIVE — this packet archives only on merged-plus-green realization
    evidence (target_release: a code surface), not on this commit.
  • NO THROW of the kill switch, anywhere, by anyone.
  • THE PARENT's box 3.6 (extend-merge-master-envelope-to-floor-bot-lanes)
    STAYS OPEN — an OBSERVATION box, not an owed-successor box; none of the
    three acts ticks it.
  • NO MERGE by this pull request's author — landing is a separate act under
    this repository's Rule 6. This pull request was opened as a DRAFT (17:32Z)
    and marked ready for review at 18:25Z by the lane, on the recorded word;
    landing remains a separate Rule 6 act.

WHAT FLIPPED, IN ONE COMMIT.

  • proposal.md: Status: draft -> Status: ratified; a Ratified:
    paragraph added citing all three acts, word three in full; Proposed:
    kept as is.
  • design.md: Status: draft -> Status: ratified; a Ratified by: line
    added citing all three acts.
  • tasks.md: Status: draft -> Status: ratified; boxes 1.1, 1.2 and 1.3
    ticked with RULED annotations (1.1 the ratifying recording sentence
    citing all three acts; 1.2 all D-1..D-6 stand as recommended, confirmed
    to cover round 5's tightening and word three reaching rounds 6–21;
    1.3 done in this PR). No box in § 2-5 is ticked.
  • .openspec.yaml: origin.approved_by / origin.approved_on added beside
    the existing drafting-only proposed_by, citing all three acts; kind,
    id, reason and proposed_by unmoved, per document-lifecycle's
    Proposal origin declaration ("approval is a pure ADDITION").
  • README.md: the OpenSpec Records active-changes row moved
    Status: draft -> Status: ratified, citing all three acts (word three
    in full) and the record.
  • New: review/ratification-2026-09-11.md.

refs #745

🤖 Generated with Claude Code

Summary by Sourcery

Ratify the kill-switch amendment to require each candidate entry to include its declared test companion, while recording that realization and archival remain separate follow-up acts.

Enhancements:

  • Ratify the declared test-companion amendment and supersede the prior one-edit kill-switch decision so the candidate entry includes its declared companion.
  • Record the ratification authority, scope, and lifecycle boundaries across the OpenSpec metadata and active-changes index.

Documentation:

  • Add a formal ratification record documenting the three ratifying acts, the approved proposal head, and the fact that realization and archival remain separate actions.

Chores:

  • Mark the proposal, design, and task records as ratified while completing only the ratification tasks and leaving realization, archive, and parent observation work open.

…election "Ratify as filed"

Brett Heap, openxFactory repository owner, first-hand and in session, gave
THREE acts, all three recorded in ONE openxFactory #745 comment
(5634512736): word one, 2026-09-11 at approximately 11:58Z, a SELECTION —
the option "Ratify as filed (Recommended)", whose description read "Ratify
the text as landed. Realization (the codexFactory companion) and archive
stay separate later acts on your word, per the three-act pattern."; word
two, at approximately 12:16Z, a SECOND SELECTION — "Yes, ratify with the
tightening (Recommended)" — confirming that word one covers round 5's
tightening (each declared companion artefact carries its own regeneration
command, and the conformance test asserts that the set of paths changed by
regenerating equals the declared artefact set); and word three, at
approximately 12:34Z, TYPED VERBATIM — "land it when green and apply the
ratify" — given after the lane reported round 6's three deltas and
reaffirmed verbatim through the afternoon, which the lane reads as covering
rounds 6 through 21 (all Copilot findings ruled accept by the lane, none of
them a change of mechanism). What is ratified is the packet's text at the
final head 07a8a45 (2026-09-11T17:19:14Z),
rounds 1-21 encoded: the amended requirement and D-1 through D-6, all
standing as recommended with no veto exercised. No realization in either
repository, no archive, no throw of the kill switch, no tick of the
parent's box 3.6 and no box in sections 2-5 of this packet: those remain
separate later acts on Brett Heap's word. Record:
openspec/changes/amend-kill-switch-to-declared-test-companion/review/ratification-2026-09-11.md

refs #745

Lane: openxfactory-2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 11, 2026 17:32
@sourcery-ai

sourcery-ai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR ratifies the amend-kill-switch-to-declared-test-companion OpenSpec packet at the final rounds-1–21 head, records approval provenance and a complete review report, and updates the README index. It changes documentation and lifecycle state only; it does not realize the codexFactory companion, execute the kill switch, archive the packet, tick the parent observation, or authorize merge.

Sequence diagram for the three-act ratification flow

sequenceDiagram
    actor BrettHeap
    participant Lane as openXfactory2Lane
    participant Record as RatificationRecord
    participant Packet as OpenSpecPacket

    BrettHeap->>Lane: Select Ratify as filed
    Lane->>Record: Record word one in issue 745
    BrettHeap->>Lane: Select Yes, ratify with the tightening
    Lane->>Record: Record word two in issue 745
    BrettHeap->>Lane: Type land it when green and apply the ratify
    Lane->>Record: Record word three and rounds 6 through 21
    Record->>Packet: Mark proposal, design, and tasks ratified
    Note over Packet: Realization, archive, throw, and merge remain separate acts
Loading

File-Level Changes

Change Details Files
Promote the OpenSpec change packet from draft to ratified and record the three-part authorization trail.
  • Flip proposal, design, and task statuses to ratified.
  • Record the two selections and typed directive, including round-5 through round-21 scope and the explicit limits of ratification.
  • Mark pre-ratification tasks 1.1–1.3 complete while leaving realization, archive, throw, and parent observation work open.
  • Add approval provenance beside the existing proposal-origin metadata.
openspec/changes/amend-kill-switch-to-declared-test-companion/proposal.md
openspec/changes/amend-kill-switch-to-declared-test-companion/design.md
openspec/changes/amend-kill-switch-to-declared-test-companion/tasks.md
openspec/changes/amend-kill-switch-to-declared-test-companion/.openspec.yaml
Add a durable ratification report tying the accepted final head to the governing issue records.
  • Document the three acts, ratified decisions D-1 through D-6, N-4 supersession, event chronology, and final commit identity.
  • Explicitly distinguish ratification from realization, archive, kill-switch execution, parent-box observation, and merge authorization.
openspec/changes/amend-kill-switch-to-declared-test-companion/review/ratification-2026-09-11.md
Update the repository's active-change index to reflect the ratified state and its procedural boundaries.
  • Change the README entry from draft to ratified.
  • Link the ratification record and cite the final landed head and three-act authorization.
  • Preserve statements that realization, archive, throw, parent box 3.6, and merge remain separate actions.
README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The tasks lifecycle header is missing required ratification provenance, and two documentation inconsistencies remain.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR ratifies the OpenSpec amendment and records its approval while deferring realization and archival.

Changes:

  • Updates packet statuses and approval provenance.
  • Adds the three-act ratification record.
  • Updates README and task tracking.
File summaries
File Summary
README.md Marks the active change as ratified.
openspec/changes/amend-kill-switch-to-declared-test-companion/tasks.md Records ratification tasks; critical: the lifecycle header lacks ratification provenance.
openspec/changes/amend-kill-switch-to-declared-test-companion/review/ratification-2026-09-11.md Documents the ratification acts; nit: clarify the landing condition.
openspec/changes/amend-kill-switch-to-declared-test-companion/proposal.md Records ratification; nit: clarify the historical status of the original proposal text.
openspec/changes/amend-kill-switch-to-declared-test-companion/design.md Marks the design ratified.
openspec/changes/amend-kill-switch-to-declared-test-companion/.openspec.yaml Adds approval provenance.
Review details

Suppressed comments (2)

openspec/changes/amend-kill-switch-to-declared-test-companion/review/ratification-2026-09-11.md:140

  • This sentence says none of the three acts carries a condition on any later act, but word three is explicitly recorded as “land it when green,” which conditions the separate landing act. Distinguish that landing gate from the statement that realization and archive were not authorized, otherwise the record contradicts the ratifying word it quotes.
amendment" (that packet's own `review/ratification-2026-09-11.md`), none of
the three acts here carries a condition on any later act and none reopens
any decision: word one ratifies the text plainly and in full; word two only

openspec/changes/amend-kill-switch-to-declared-test-companion/tasks.md:28

  • After this PR ticks 1.1–1.3, the preceding filing-state paragraph still says the pull request ticks no box anywhere and that every box below is unchecked. That is now false and makes the current checklist contradict itself; qualify this as historical filing state and limit the remaining unchecked claim to sections 2–5.
- [x] **1.1 Ratify or refuse this packet's TEXT.** The ask is over the
  • Files reviewed: 6/6 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI review requested due to automatic review settings September 11, 2026 17:41
…l.md's at-filing block as history

Two Copilot findings on the ratifying commit, both wording of the record and
neither a change to what was ratified. (1) tasks.md carried `Status:
ratified` with no ratification citation inside the 15-line lifecycle header
window, the ruling text sitting far below it: a `Ratified by:` line now sits
beside the status, naming Brett Heap's three acts and the record path, and
saying in the same breath that the two paragraphs below it record the
at-filing state and that no box in sections 2 through 5 is ticked. (2)
proposal.md's `Proposed:` block still read in the present tense — "This
document is a PROPOSAL", "none has been given" — which after the status flip
contradicted the `Ratified:` paragraph above it: the block is kept VERBATIM
as history and a qualifier above it states that its negations were true at
filing and are superseded by the ratification, while realization and archive
remain separate later acts on Brett Heap's word with no word for either
given. No ruled text, no decision, no mechanism and no box moves.

refs #745

Lane: openxfactory-2
Co-Authored-By: Claude Fable 5.1 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The ratification spans multiple governance and lifecycle artifacts and warrants final human review.

Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap
brettheap marked this pull request as ready for review September 11, 2026 18:25

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 2 days and 23 hours by commenting @sourcery-ai review. Upgrade to get a review now.

… events and § 2 scope

Eight findings from the lane's independent verifier on head 5d0a7b1, all
RULED ACCEPT, encoded in one commit. No mechanism, no decision and no
ratifying act changes: every fix is a factual or wording correction inside
the record and its mirrors.

- V1 LANDING TIME. PR #959 merged 2026-09-11T17:19:09Z and its squash
  commit 07a8a45 carries committer date 17:19:08Z. The figure
  2026-09-11T17:19:14Z that this packet carried is the LANDER'S OBSERVATION
  time - the moment the landing script read the merge back. Corrected at
  review/ratification-2026-09-11.md, README.md's packet row and the pull
  request body, and the Records section now states what 17:19:14Z is, so
  the FILED landing records that carry it (openxFactory #745 comment
  5638082322, codexFactory #232 comment 5638082613) stand as filed.
  Corrects the landing time recorded in 819d7f4's message: PR #959 merged
  at 17:19:09Z; 17:19:14Z was the lander's observation time. That message
  is not rewritten - no history rewrite, no force push.
- V2 NO MERGE. The "Landing PR #959 ... is a SEPARATE act" bullet was
  prospective about a pull request item 10 of the same record says already
  landed; it now reads NO MERGE BY THIS RECORD and states #959's landing in
  the past, with the Rule 6 act owed by the pull request carrying this
  ratifying commit named separately.
- V3 ROUND SPAN. "Rounds 7 through 21 (2026-09-11 12:58Z-16:52Z)" matched
  neither the rulings' span nor the encodes'; every mirror (record, README
  row, proposal.md's Ratified: paragraph, pull request body) now reads
  "ruled ~12:52Z through ~16:52Z; encoded by pushes 12:57Z through 16:55Z,
  the last being c6008f1".
- V4 FINAL HEAD. "the final head" was applied to the squash commit and
  #959's actual final head was named nowhere. Every site now names PR
  #959's final head c6008f1 (committed 2026-09-11T16:55:31Z; rounds 1-21
  encoded) and says it landed on main as squash commit 07a8a45.
- V5 SECTION 2. "Every box in tasks.md § 3, § 4 and § 5 stays unticked"
  omitted § 2; it now reads § 2, § 3, § 4 and § 5, matching tasks.md's own
  header and the pull request body.
- V6 ORDER OF EVENTS. Items 7 and 8 were out of sequence against round 6's
  encode commit 62d9c99 (12:35:51Z, after the 12:34Z typed word). Item 7 is
  now the RULING and the REPORT to Brett Heap (~12:30Z), item 8 the typed
  word given after that report, and item 9 opens with round 6's encode.
- V7 DRAFT STATE. The pull request body's "is opened as a DRAFT" was stale;
  it now records the draft opening (17:32Z) and the ready-for-review mark
  (18:25Z), with landing still a separate Rule 6 act.
- V8 DOUBLED HEDGE. "at approximately 11:58Z (approx.)" and the 12:16Z twin
  drop the redundant parenthetical in the record and in design.md.

Validation: openspec validate amend-kill-switch-to-declared-test-companion
--strict passes; --all --strict fails on exactly origin/main's two
pre-existing items (disposition-codexfactory-declared-renames,
disposition-codexfactory-floor-relocation-retitle); doc-health
proposal-origin / ratified-provenance / status-validity name this packet in
0 lines each, unchanged from head 5d0a7b1; every packet file's Status: line
sits within its first 15 lines; validate-sequenced-after.py exits 0.

Lane: openxfactory-2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 11, 2026 18:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The ratification records and metadata are complete, with follow-up realization and archival explicitly left separate.

Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-2 (openXfactory-2)
LANDING — lane openxfactory-2 (openXfactory-2), session 3ea0262c, 2026-09-11T18:59:49Z, PR #974 into openxFactory main
Pre-flight PASS at head 34cc81c: required checks success, 0 unresolved threads, closingIssuesReferences 0, no open LANDING for this repo. Brett Heap ${WORD_WHEN:-2026-09-11, in session, multi-choice SELECTION}, verbatim: "Ratify as filed".

@brettheap
brettheap merged commit c521504 into main Sep 11, 2026
14 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-2 (openXfactory-2)
LANDED — lane openxfactory-2 (openXfactory-2), 2026-09-11T19:00:29Z, PR #974 → c521504 (window closed)
Brett Heap ${WORD_WHEN:-2026-09-11, in session, multi-choice SELECTION}, verbatim: "Ratify as filed". --squash --admin at head 34cc81c (code-owner review cannot clear on a self-authored PR; admin merge on his word, B2 pattern).

brettheap added a commit that referenced this pull request Sep 11, 2026
Brings in c521504 (Ratify amend-kill-switch-to-declared-test-companion,
#974) — README.md and openspec/changes/... only; no touch to
docs/doc-health.md, no conflict.

refs #967

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Oct 6, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants