Repository navigation
Amendment 1: the section-patching verb is edit-document, not edit-apply - #198
Merged
Merged
Conversation
Brett's ruling, in session, verbatim: "amend to edit-document".
Q4 was accepted as recommended on the strength of a stated context that does not
hold — "the workbench/doxBench branch-session model already exposes an
`edit-apply` intent verb for content changes on a session branch".
`edit_apply(gate, change_id, document, redline)` is the gate console's
MAIN-RESIDENT redline verb: it requires `--change-id` ("the change owning the
document") and applies to CHANGE DOCUMENTS. A staged topic's fragment is not
one. The intent-plane change references that same gate-console verb; there is no
second, session-scoped `edit-apply`.
The two states are mutually exclusive besides. `edit-apply` needs a change id,
but doc-health's `location-conformance` fires the moment a staged fragment cites
a live change, and its remedy is to move the material OUT of staging —
performed on this very topic the same day. A fragment whose topic has an owning
change is no longer in staging to be patched.
Q4'S INTENT IS UNCHANGED, and is exactly what the amendment preserves: no second
write verb, reuse of the existing session path, and section scoping as a
patch-TARGETING detail rather than a different kind of action. `edit-document` —
the verb the ratified buffer contract already uses for session content —
satisfies all three. Only the verb name was wrong, and it was wrong because I
carried the question's premise into the delta without reading the
implementation.
Amended in three places, each carrying the reason rather than a silent swap:
the spec delta, `docs/document-lifecycle.md`, and the proposal (as a dated
Amendment 1 section, the shape `openxdox-naming.md` established). Task 3.2 is
unblocked, and tasks 4.4, 5.5 and 6.3 follow the verb.
THE SUPPORTING-DOCS COPIES ARE DELIBERATELY NOT AMENDED — zero files staged
under `supporting-docs/`. They record the question as it was asked and ruled,
and the `source-snapshots/` copy is checksum-protected by the bundle manifest;
rewriting either would falsify a record to make it agree with a later
correction. The bundle still verifies (exit 0) precisely because they were left
alone.
Gates: `openspec validate add-staged-topic-outline-template --strict` valid;
`--all --strict` 60/60; doc-health exit 0; `proposal-support verify` exit 0;
`pytest tests/doc-health` 657 passed.
Co-Authored-By: Claude Opus 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 amends the staged-topic outline template documentation to correct the section-patching/write verb from edit-apply to edit-document, aligning the spec delta and lifecycle docs with the existing branch-session editing model and avoiding implying a non-existent session-scoped edit-apply.
Changes:
- Update the add-section/section-patching verb from
edit-applytoedit-documentacross the change bundle’s tasks/spec/proposal docs. - Add explicit Amendment 1 rationale (dated 2026-08-15) explaining why
edit-applycannot apply to staged fragments on session branches. - Update
docs/document-lifecycle.mdto reflect the corrected verb and record the amendment in-place.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| openspec/changes/add-staged-topic-outline-template/tasks.md | Unblocks and updates task references to use edit-document for section writes on branch sessions. |
| openspec/changes/add-staged-topic-outline-template/specs/ideation-dashboard/spec.md | Corrects the normative requirement to use edit-document and records the amendment rationale. |
| openspec/changes/add-staged-topic-outline-template/proposal.md | Updates Q4 and adds an “Amendment 1” section documenting the corrected verb and reasoning. |
| docs/document-lifecycle.md | Updates lifecycle rule text to use edit-document and records the amendment via an inline blockquote note. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
brettheap
pushed a commit
that referenced
this pull request
Aug 21, 2026
The README row and the PR description disagreed about which PRs realized this change. Neither list was right, so neither was adopted: the answer was re-derived mechanically from gh pr view --json files, asking of every candidate whether it edits a file under openspec/changes/add-staged-topic-outline-template/. Eight PRs pass that test and are this change's own chain: #193, #195, #198, #208, #211, #217, #224, #227. The PR description omitted the first three - they predate the session handoff it was written from - and wrongly claimed #215, #221 and #222, which fail the test: each touches only its own change's documents and code, so each belongs to align-demote-to-round-trip-rule, refine-demote-round-trip-mechanics and align-status-reader-to-real-lines respectively, all three of which already have archive records carrying their own evidence. What #217 contributes here is task 4.2 and the archiving of the first of them, not the fix. The README row, the proposal banner and the tasks.md evidence section now state the two categories explicitly and name the test, so the chain can be re-derived rather than trusted. One exception is recorded rather than left to surprise a reader: #228 also edited this change's tasks.md, to repoint 5.3 and 6.3 after the doxbench topic exited staging - a cross-change bookkeeping repoint that discharges no task here. Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap
pushed a commit
that referenced
this pull request
Aug 21, 2026
The README row and the PR description disagreed about which PRs realized this change. Neither list was right, so neither was adopted: the answer was re-derived mechanically from gh pr view --json files, asking of every candidate whether it edits a file under openspec/changes/add-staged-topic-outline-template/. Eight PRs pass that test and are this change's own chain: #193, #195, #198, #208, #211, #217, #224, #227. The PR description omitted the first three - they predate the session handoff it was written from - and wrongly claimed #215, #221 and #222, which fail the test: each touches only its own change's documents and code, so each belongs to align-demote-to-round-trip-rule, refine-demote-round-trip-mechanics and align-status-reader-to-real-lines respectively, all three of which already have archive records carrying their own evidence. What #217 contributes here is task 4.2 and the archiving of the first of them, not the fix. The README row, the proposal banner and the tasks.md evidence section now state the two categories explicitly and name the test, so the chain can be re-derived rather than trusted. One exception is recorded rather than left to surprise a reader: #228 also edited this change's tasks.md, to repoint 5.3 and 6.3 after the doxbench topic exited staging - a cross-change bookkeeping repoint that discharges no task here. Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 4, 2026
…dxpractice-overlay-boundary (65 -> 66)
Lane: openxfactory-max001
STEP (2) OF THE TWO-REPOSITORY ACT THIS PACKET'S OWN PROMOTION FORCED — the
THIRD such repair of one afternoon, and the one the previous note predicted BY
NAME ("the sibling … will take the floor 65 -> 66").
Archiving `create-medxpractice-overlay-boundary` promotes
`openspec/specs/medxpractice-overlay-boundary/spec.md`, and codexFactory's
`repository_gate_floor` ENUMERATES that surface exactly, so the new spec
arrived OFF the floor and reddened the REQUIRED `pytest-suite` by way of
`tests/review_lane_pin/test_floor_snapshot.py` (the LQ-A7 coverage assertion
plus its two negative controls) and the advisory `merge-master-approval` lane
at stage `floor_incomplete`.
THE ORDER IS THE RUNBOOK'S. codexFactory PR #198, MERGE COMMIT (not squash)
`6d35c4fecaa4af7a23134678f9239e409ff5215f`, 2026-09-04T16:02:21Z, regenerated
at openxFactory `0ae74086` — this pull request's own pushed head after its
archive and ledger commits, the first tree carrying the new path.
FIVE SITES MOVE IN ONE LOGICAL CHANGE:
contracts/review-lane-pin.yaml core_commit bfb8bde3 -> 6d35c4fe
.github/workflows/merge-master-approval.yml PINNED_CORE_COMMIT (same)
.github/workflows/merge-master-approval.yml core checkout ref: (same)
.github/workflows/pytest-suite.yml core checkout ref: (same)
contracts/review-lane-floor-snapshot.yaml re-copied at the new commit
and the snapshot's declared witnesses move with it: `entry_count` 65 -> 66,
`sha256` 13f650b6... ->
b890cf1de154fef4f8b91badaf9c41ff492f2abc25d1c4fe058c23b8a10961d6.
THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED (CSC-C7). Byte identity was
GATED, not asserted: the advance refuses unless (a) `6d35c4fe` is an ancestor
of codexFactory `origin/main` and (b) the sha256 of
`git show <sha>:scripts/merge_master/openxfactory-review-authority-floor.yaml`
equals the recorded value. Both passed. Verified three ways: sha256 as above
over 12658 bytes; GIT'S OWN CONTENT ADDRESSING — the vendored file's blob sha
equals codexFactory's at that path and commit,
`466a5f19234007bacfed67d87b615b8820ea1f97`; and the freshness comparison in
`test_floor_snapshot.py`, which SKIPS when the core is absent, run WITH the
core on disk (`PINNED_CORE_CHECKOUT=...`): 56 passed, ZERO skipped.
THE FLOOR GREW BY EXACTLY ONE AND IT IS THE SPEC. The whole diff against
`bfb8bde3`: one added entry line, the generated block's three regeneration
fields (`generated_at` and its `--ref` `2a3b29c8` -> `0ae74086`, `entry_count`
57 -> 58), and the document's two "8 + 1" self-descriptions moving 65 -> 66.
The EIGHT hand-reasoned chokepoints are untouched. Coverage measured on this
tree: 58 tracked paths under `openspec/specs`, all 58 floored, 0 uncovered,
0 dead.
NO COLLISION, MEASURED. `main` (`2ba666ee`) carries 57 tracked spec paths and
this branch 58 — a PROPER SUBSET, so no spec exists on main that `0ae74086`
failed to enumerate. The commit main gained since this branch was cut (#658,
two stale-sentence repairs) promotes no capability and adds no spec, so it
cannot shorten the floor. The second-lander remedy is not engaged.
HISTORICAL PROSE PRESERVED; LIVE CLAIMS RE-MEASURED. The four live literals
moved; every remaining `bfb8bde3` in these files is history describing the
14:05 advance. The live counts move with the pin (`pinned_members` SIXTY-FIVE
-> SIXTY-SIX and FIFTY-SEVEN -> FIFTY-EIGHT, the divergence paragraph, the
snapshot's `generated_at` non-member note `2a3b29c8` -> `0ae74086`, and "THE
EIGHT ARE UNCHANGED BY ALL THREE 2026-09-04 ADVANCES"). Historical sentences do
not.
LOCKSTEP RE-MEASURED AT THIS ADVANCE, not carried over: both xFactory judging
surfaces still name `f4702f64`, read 2026-09-04 directly off xFactory `main`
(`merge-master-approval.yml` line 146, `council-convening-lane.yml` line 302),
so `lockstep.status` stays `diverged` and the convergence obligation stands
undischarged — now against a floor that has moved SIX times, three of them this
afternoon. That value stays SHORT in the prose on purpose: this file's own guard
`test_the_pin_carries_exactly_one_commit_shaped_value` permits exactly ONE
40-hex token, and that one is `core_commit`. Measured after writing: one
distinct 40-hex value in the file.
THE FAMILY CLOSES HERE AND THE RULE OUTLIVES IT. Three advances in one
afternoon — `subject-establishment` 12:25:19Z, `medxchart-overlay-boundary`
14:05:07Z, `medxpractice-overlay-boundary` 16:02:21Z — each owed because an
EXACT ENUMERATION owes an advance to every promotion of a NEW capability. No
openxFactory change now in flight promotes one, so the next advance belongs to
whichever future archive first does; what carries forward is the rule and the
runbook's order, never the count.
Validated: `pytest tests/review_lane_pin` 55 passed / 1 skipped / 18 subtests,
and 56 passed / ZERO skipped with the core present; `openspec validate --all
--strict` 89 passed, 0 failed; `validate-sequenced-after.py .` passed;
`--ledger-diff` consistent (165 rows); `pytest tests/sequenced_after` 162
passed; all four YAML files re-parse.
Refs #609
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
Lane: openxfactory-max001
brettheap
added a commit
that referenced
this pull request
Sep 4, 2026
…alized by MedxPractice PR #1 (f7fd8364), gated by ruleset 22273105 (run 33876124444) (#660) Lane: openxfactory-max001 Archive of create-medxpractice-overlay-boundary (ratified 2026-09-03 "ratify both, 1 and 1", #609 0bf37d1): § 5.1–5.2 realized by opensoft/MedxPractice PR #1 (f7fd8364); § 5.3 ruleset 22273105 (Brett's console act, API-verified); § 5.4 green run under it 33876124444 (attempt 2); § 5.5 recorded SPENT on Brett's word "option 1, land it when green". Promotes the three ADDED requirements into the new openspec/specs/medxpractice-overlay-boundary/spec.md (byte-identical to the delta); no MODIFIED; R3 text as ratified, the MedxChart delta's archive path recorded as historical. Floor advance: codexFactory #198 → 6d35c4fe (65→66), pin sites in lockstep. One ledger row moved (class sole); no MOVEMENT LOG entry owed. Landed on the three required contexts; merge-master-approval red by design on a pin-repair PR (runbook CPL-C2; precedents #647, #654), green confirmed by workflow_dispatch re-evaluation after merge. Admin merge: self-authored PR (standing pattern B2). Refs #609 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
brettheap
added a commit
that referenced
this pull request
Sep 5, 2026
…anchoring) Archiving `add-chain-anchoring` promotes `openspec/specs/chain-anchoring/spec.md`. codexFactory's `repository_gate_floor` for this repository is an EXACT ENUMERATION of that surface, so the new spec arrived OFF the floor for the same structural reason as the three promotions before it on this same day. The fourth advance of the day, eight hours after the prior note called itself the last of the family — which was accurate when written, and this is exactly the "whichever future archive first does" it named. Five sites move in this one commit, per the runbook and openxFactory PR #569: 1. contracts/review-lane-pin.yaml core_commit 2. .github/workflows/merge-master-approval.yml PINNED_CORE_COMMIT 3. .github/workflows/merge-master-approval.yml core checkout `ref:` 4. .github/workflows/pytest-suite.yml core checkout `ref:` 5. contracts/review-lane-floor-snapshot.yaml byte copy at the new commit `6d35c4fecaa4af7a23134678f9239e409ff5215f` (codexFactory PR #198) -> `76fa501cd1c846ca9676d901e41e33ae1e730733` (codexFactory PR #204, MERGE COMMIT, 2026-09-04T23:47:59Z, verified an ancestor of codexFactory origin/main immediately before this advance). entry_count 66 -> 67; sha256 b890cf1d... -> c4a386dbbfff3b35c0ef0afd1b36932e181effb551a69434cb02b25332a59e78. SNAPSHOT BYTE IDENTITY, measured three independent ways: (a) sha256 over the 12809-byte file matches; (b) `git hash-object` on the vendored copy equals the blob id codexFactory's own tree carries for that path at 76fa501c (`4dffee49`); (c) the pin suite's freshness comparison ran with the pinned core checked out beside it: 56 passed, ZERO skipped. THE FLOOR GREW BY EXACTLY ONE, AND IT IS THE SPEC. Whole diff against 6d35c4fe: one added entry line, the generated block's three regeneration fields (generated_at / --ref 0ae7408 -> 3afd8a8, entry_count 58 -> 59), and the document's two "8 + 1" self-descriptions moving 66 -> 67. PR #204 regenerated at openxFactory 3afd8a8 — THIS branch's own pushed head, EXACTLY, the ledger commit that closes the archive — so the snapshot's `generated_at` non-member value is the immediate parent of this commit. NO COLLISION, measured directly: `git merge-base --is-ancestor origin/main HEAD` holds on this branch (main 9420472 is an ancestor of 3afd8a8), so no commit main gained after the branch was cut needed reconciling. main carries 58 tracked paths under openspec/specs, this branch 59; the one addition is this packet's own promotion. One regeneration at one tree suffices; the second-lander remedy is not engaged. HISTORY PRESERVED, LIVE CLAIMS RE-MEASURED: every remaining `6d35c4fe` in the pin file and the caller header is prose describing the 16:02 advance, retained as history. Live counts moved with the pin: pinned_members SIXTY-SIX -> SIXTY-SEVEN and FIFTY-EIGHT -> FIFTY-NINE, "ALL THREE" -> "ALL FOUR 2026-09-04 ADVANCES", the caller header's sixty-six / fifty-eight, the snapshot generated_at note 0ae7408 -> 3afd8a8, and a seventh regeneration appended to the block's provenance list. LOCKSTEP RE-MEASURED, STILL DIVERGED: both xFactory judging surfaces were read directly off xFactory main (f0ca0365, 2026-09-04T23:09:53Z) — merge-master-approval.yml line 146 and council-convening-lane.yml line 302 — and both still name f4702f64 verbatim. Cause unchanged since 2026-09-01 and forced by the feature; the convergence obligation stands undischarged, now owed against a floor moved SEVEN times, four of them this one day. Validated on this tree: pytest tests/review_lane_pin 55 passed, 1 skipped, 18 subtests ... with PINNED_CORE_CHECKOUT present 56 passed, ZERO skipped pytest tests/doc-health 1552 passed pytest tests/sequenced_after 162 passed openspec validate --all --strict 89 passed, 0 failed validate-sequenced-after.py --ledger-diff consistent, 165 rows all four YAML files re-parse Refs #669 Lane: openxfactory-1d Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 5, 2026
…, published at contract-v3.4 — tranche three is canon (#669) * Archive add-chain-anchoring: ratified (#513), realized (#629 11feff7), published at contract-v3.4 — tranche three is canon Brett Heap ordered the archive 2026-09-04 in session, verbatim "archive chain-anchoring", and ordered it as a PAIR: this packet FIRST because its archive CREATES the capability the amendment's archive writes into. Every leg of the evidence chain is read off `main` and none is assumed. - RATIFIED 2026-08-30 by Brett Heap, repository owner, ruling item 2 of six, verbatim "2 yes with note". PR #513. Record `review/ratification-2026-08-30.md`, archived with the packet. - REALIZED: PR #629, squash `11feff75` — twelve schemas, the canonical refusing reader, and twelve manifest rows registered AT REALIZATION on the owner's overruling of task 4.11's own timing ("merge 629, register now"). - COMPLETED BEFORE PUBLICATION: PR #657, squash `e65dcc48`, the amendment's realization the owner ordered to land before these schemas shipped in a tagged bundle. - PUBLISHED: `contract-v3.4`, PR #653, squash `807a4f47`, annotated tag object `a3309921` — verified here by `git rev-list -n1 contract-v3.4` peeling to `807a4f47` rather than by reading the release note. ## Archive method — the recorded escape, disclosed in the packet `python3 scripts/proposal-support.py . archive add-chain-anchoring` was tried FIRST and REFUSED: exit 1, "change has incomplete tasks". Its gate is tasks.is_file() and re.search(r"^- \[ \]", tasks.read_text(), re.M) (scripts/proposal-support.py:1079-1081) read off those three lines rather than remembered — UNCONDITIONAL on WHICH box. `OPENSPEC_TELEMETRY=0 openspec archive add-chain-anchoring --yes` was run instead, following `declare-spent-bundle-state` § 5.1 (PR #611, `7af2725c`) as most recently applied by `add-subject-establishment` (PR #647, `e4ff4fb3`). It reported `Task status: 24/40 tasks`, `Warning: 16 incomplete task(s) found. Continuing due to --yes flag.`, created the spec (`+ 9 added, ~ 0, - 0`), and moved the packet. THE SIXTEEN OPEN BOXES ARE DISCLOSED AND CLASSIFIED in the archived tasks.md's new closing section, because they span four sections rather than one § Open and a reader should not have to reconstruct which class each falls in: (a) OPERATOR INFRASTRUCTURE — 4.5, 4.6, 4.7, 4.9, 4.10. Four carry `[OPERATOR]` in their own first words and `proposal.md`'s `code_surface` declares the anchoring RUNTIME NOT THIS CHANGE'S SURFACE. Ticked box 4.8 already says so in the packet's voice, and `contract-v3.4`'s own contract-index row says it in canon: no witness is configured, nothing is on any chain. (b) SETTLEMENTS THE RATIFIED REQUIREMENTS DELIBERATELY LEAVE OPEN — 5.1, 5.2, 5.4, 5.5. Requirement 1 fixes the receipt SHAPE and not the unit; requirement 3 requires horizons be DECLARED and names no numbers; requirement 8 fixes the shape and the refusals and not the construction. (c) DISCHARGED ELSEWHERE, DELIBERATELY NOT TICKED HERE — 3.2 and 4.12. 4.12 says of itself "The CUTTING SESSION's act ... and not this realization's", and the cutting session performed it: `contracts/README.md`'s own row reads "PUBLISHED at contract-v3.4, the cut that discharged task 4.12's half". An archive act is not the place to close another lane's boxes, and ticking them moves this gate not at all — fourteen would remain. (d) SUCCESSORS AND DEPENDENCIES — 6.1 … 6.5, under a heading that already reads NAMED, NOT DRAFTED. Not one is undone realization of this change, and ticking any to satisfy the wrapper would be writing a false completion past a gate that cannot tell "open by omission" from "open by design" apart. ## The promotion was byte-checked, not trusted `openspec/specs/chain-anchoring/spec.md` NEW. Both sides extracted from their first `### Requirement:` line and diffed: IDENTICAL but for one trailing blank line the archiver emits — 95509 bytes against 95510. NINE requirements / 89 SCENARIOS on both sides, the count `proposal.md` and the README record have declared since the 2026-08-30 fix round. `git status --porcelain -uall openspec/specs/` names that one file and nothing else, so no promoted requirement in any other capability moved a word. The packet-side move is R100 on fourteen of fifteen files; tasks.md is R087 and its whole delta is the disclosure above. `openspec validate --all --strict`: 89 passed, 0 failed — and the TOTAL IS UNCHANGED, measured on both sides rather than assumed: `origin/main` is 31 active + 58 specs, this tree is 30 active + 59 specs. An archive trades an active change for a promoted capability and the item count does not move. ## Bookkeeping - README "OpenSpec Records": the active entry (101 lines) removed, an archived entry added at the head of `Archived changes:`. - `docs/domain-neutralization-candidate-register.md`: NO EDIT OWED — verified by enumeration, the packet names no DTN candidate and the register names no `chain-anchoring` row. - `ideation/README.md`: NO EDIT OWED — verified, it carries no pointer to this packet. - `ideation/staging/INDEX.md`: three path references to the active packet (lines 1996-2025) go stale with this move and are repointed in the follow-on commit alongside the ledger row, so this commit is the archive act and nothing else. The corpus-ledger row follows in the next commit, the ledger's `moved_by` needing this pull request's own number. Lane: openxfactory-1d Co-Authored-By: Claude Fable 5.1 <[email protected]> * Move the one ledger row the archive moves, and follow the four ideation paths to the packet's new home Both halves are consequences of the move in the previous commit. Neither is a re-baseline to make a check pass. ## The corpus-ledger row — moved by the tool, never by hand `python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#669' --moved-on 2026-09-04` → `wrote tests/sequenced_after/corpus-ledger.yaml (165 rows, 1 moved by #669)`, and the row it names is `add-chain-anchoring`. - add-chain-anchoring: {state: active, ... moved_by: "#623", ...} + add-chain-anchoring: {state: archived, ... moved_by: "#669", ...} ONE LINE. `class: sole`, `declares: absent` and `prose: false` are unchanged and NO PARTNER FLIPPED, so **no MOVEMENT LOG entry is owed** — `add-per-change-sweep-ledger`'s restated rule reserves an entry for a move the row diff does NOT state, and this move is entirely stated by the row diff. `--ledger-diff` had reported the staleness in advance and named its whole extent: one stale row plus the three derived totals that follow from it (active 31→30, archived 134→135, active_sole 12→11). It now reads `per-change sweep ledger consistent with the corpus (165 rows)`, exit 0, and `pytest tests/sequenced_after` is 162 passed where it was 3 failed. ## The four ideation paths, repointed — three stale, one that was ALREADY a declared dead reference `ideation/staging/INDEX.md` (three sites, the staged topic's Exit-3 record) and `ideation/brainstorm/medxchain-blockchain-medical-records.md` (one site) named `openspec/changes/add-chain-anchoring/…`, which the move dissolved. Each now names the archive path. The brainstorm site is the interesting one: its own sentence already declared the reference dead — *"That path resolves once #513 lands and is a dead reference before then"* — so this repoint DISCHARGES a disclosure the source made about itself rather than repairing an oversight, and the sentence's historical framing is left exactly as written. The INDEX also carried a claim the archive falsifies: **EXIT 3 IS THEREFORE RATIFIED AND NOT REALIZED**; the contract family and its validator are a later commission. That sentence was true when written and is not now. It is KEPT and answered rather than rewritten — the lifecycle's rule for a superseded statement — with the closing act named: realized #629 `11feff75`, completed #657 `e65dcc48`, published `contract-v3.4` `807a4f47` / tag `a3309921`, archived 2026-09-04. ## The sentinel pin — 70 -> 70, and the equality is why nothing else moved RE-ENUMERATED WITH `pin_class.verify()` ON BOTH TREES rather than reasoned about: `origin/main` and this branch each report **70 sites / 24 members**, verdicts `pass` 53 / `not-applicable` 16 / `lost` 1, with `lost_awaiting_record` 0, `uncovered` `()` and `clean` true — IDENTICAL. Unlike PR #647, whose `supporting-docs/manifest.yaml` travelled into the archive and so moved a pin site under a new path, this packet has NO `supporting-docs/` directory at all, so no site travelled and no comment in `tests/doc-health/test_sentinel_vocabulary.py` goes stale. The measurement is recorded because "nothing moved" is a claim like any other. ## Gates at this head `openspec validate --all --strict` 89 passed / 0 failed (unchanged from `origin/main`'s 89 — 31 active + 58 specs becomes 30 active + 59 specs); `proposal-support.py . verify` ok; `validate-sequenced-after.py . --ledger-diff` consistent, 165 rows; `pytest tests/sequenced_after` 162 passed; `pytest tests/doc-health` **1552 passed**; and `doc-health.py --single-repo` taken at `origin/main` (`9420472e`, a detached worktree) and at this branch's head gives a finding set that is IDENTICAL LINE FOR LINE once the directory-derived repo identity is normalized — 6 critical / 4 error / 27 warning / 13 info on both sides, `diff` exit 0. The one headline number that moves is the canon share, 35.4% → 36.6%, which is the promotion doing exactly what a promotion does. EXPECTED AND NOT THIS BRANCH'S DEFECT: `pytest tests/review_lane_pin` is 3 failed / 52 passed / 1 skipped, the three being `test_floor_snapshot.py`'s `test_every_tracked_openspec_spec_path_is_on_the_floor` and its two negative controls, each naming exactly one path — `openspec/specs/chain-anchoring/spec.md`. The remedy is the two-repository act the runbook fixes the order of, and it lands as a companion codexFactory pull request before this pin advances onto it. Lane: openxfactory-1d Co-Authored-By: Claude Fable 5.1 <[email protected]> * Re-pin merge-master core 6d35c4fe -> 76fa501c; floor 66 -> 67 (chain-anchoring) Archiving `add-chain-anchoring` promotes `openspec/specs/chain-anchoring/spec.md`. codexFactory's `repository_gate_floor` for this repository is an EXACT ENUMERATION of that surface, so the new spec arrived OFF the floor for the same structural reason as the three promotions before it on this same day. The fourth advance of the day, eight hours after the prior note called itself the last of the family — which was accurate when written, and this is exactly the "whichever future archive first does" it named. Five sites move in this one commit, per the runbook and openxFactory PR #569: 1. contracts/review-lane-pin.yaml core_commit 2. .github/workflows/merge-master-approval.yml PINNED_CORE_COMMIT 3. .github/workflows/merge-master-approval.yml core checkout `ref:` 4. .github/workflows/pytest-suite.yml core checkout `ref:` 5. contracts/review-lane-floor-snapshot.yaml byte copy at the new commit `6d35c4fecaa4af7a23134678f9239e409ff5215f` (codexFactory PR #198) -> `76fa501cd1c846ca9676d901e41e33ae1e730733` (codexFactory PR #204, MERGE COMMIT, 2026-09-04T23:47:59Z, verified an ancestor of codexFactory origin/main immediately before this advance). entry_count 66 -> 67; sha256 b890cf1d... -> c4a386dbbfff3b35c0ef0afd1b36932e181effb551a69434cb02b25332a59e78. SNAPSHOT BYTE IDENTITY, measured three independent ways: (a) sha256 over the 12809-byte file matches; (b) `git hash-object` on the vendored copy equals the blob id codexFactory's own tree carries for that path at 76fa501c (`4dffee49`); (c) the pin suite's freshness comparison ran with the pinned core checked out beside it: 56 passed, ZERO skipped. THE FLOOR GREW BY EXACTLY ONE, AND IT IS THE SPEC. Whole diff against 6d35c4fe: one added entry line, the generated block's three regeneration fields (generated_at / --ref 0ae7408 -> 3afd8a8, entry_count 58 -> 59), and the document's two "8 + 1" self-descriptions moving 66 -> 67. PR #204 regenerated at openxFactory 3afd8a8 — THIS branch's own pushed head, EXACTLY, the ledger commit that closes the archive — so the snapshot's `generated_at` non-member value is the immediate parent of this commit. NO COLLISION, measured directly: `git merge-base --is-ancestor origin/main HEAD` holds on this branch (main 9420472 is an ancestor of 3afd8a8), so no commit main gained after the branch was cut needed reconciling. main carries 58 tracked paths under openspec/specs, this branch 59; the one addition is this packet's own promotion. One regeneration at one tree suffices; the second-lander remedy is not engaged. HISTORY PRESERVED, LIVE CLAIMS RE-MEASURED: every remaining `6d35c4fe` in the pin file and the caller header is prose describing the 16:02 advance, retained as history. Live counts moved with the pin: pinned_members SIXTY-SIX -> SIXTY-SEVEN and FIFTY-EIGHT -> FIFTY-NINE, "ALL THREE" -> "ALL FOUR 2026-09-04 ADVANCES", the caller header's sixty-six / fifty-eight, the snapshot generated_at note 0ae7408 -> 3afd8a8, and a seventh regeneration appended to the block's provenance list. LOCKSTEP RE-MEASURED, STILL DIVERGED: both xFactory judging surfaces were read directly off xFactory main (f0ca0365, 2026-09-04T23:09:53Z) — merge-master-approval.yml line 146 and council-convening-lane.yml line 302 — and both still name f4702f64 verbatim. Cause unchanged since 2026-09-01 and forced by the feature; the convergence obligation stands undischarged, now owed against a floor moved SEVEN times, four of them this one day. Validated on this tree: pytest tests/review_lane_pin 55 passed, 1 skipped, 18 subtests ... with PINNED_CORE_CHECKOUT present 56 passed, ZERO skipped pytest tests/doc-health 1552 passed pytest tests/sequenced_after 162 passed openspec validate --all --strict 89 passed, 0 failed validate-sequenced-after.py --ledger-diff consistent, 165 rows all four YAML files re-parse Refs #669 Lane: openxfactory-1d Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 5, 2026
…r lanes (proposal, draft) (#676) * Author openxFactory's half of the floor addition grace as a draft proposal codexFactory's `add-floor-addition-grace` is RATIFIED and REALIZED (issue #203 ruled option (c), "rule c, this lane authors it"; "ratify 205, B1 stands"; PR #206, merge `712fc8ca`). Its ratified requirement *"The blocking check and the reporting lane implement one completeness rule"* has a second lane, and the second lane is this repository's — NAMED there as the companion change `openxFactory: mirror-floor-addition-grace` and deliberately not authored there (its tasks 4.1-4.3). This is that companion, as a PROPOSAL ONLY. ## What is refused today, and where it blocks The `repository_gate_floor` for `opensoft/openxFactory` is an EXACT SET: 59 generated spec paths inside a 67-entry floor. So promoting a capability is an ADDITION to the set the floor enumerates, and `surface - entries` reports the new path as uncovered in two places at once — the REQUIRED `pytest-suite` assertion `test_every_tracked_openspec_spec_path_is_on_the_floor` (org ruleset 21538893) with the two negative controls that fail with it by construction, and `merge-master-approval.yml` step 8 at stage `floor_incomplete`. The repair was paid FIVE TIMES IN TWO DAYS (codexFactory PRs #183, #195, #197, #198, #204 - four on 2026-09-04 alone), each matched here by an advance moving five pin sites in lockstep. Until this companion lands, the ratified grace is INERT IN THE ONLY LANE THAT BLOCKS. ## The measured defect this retires, re-measured here rather than quoted Re-measured on this branch against `origin/main` (`55c95dc1`), 2026-09-05: 3afd8a8 (THE LIVE PIN) NOT an ancestor of main c236c6b NOT an ancestor of main 8d893a0 NOT an ancestor of main 0ae7408 ancestor 2a3b29c ancestor THREE OF THE LAST FIVE declared `generated_at` pins are not ancestors of `main`, the live one among them, because the old order forced regeneration at an openxFactory PULL-REQUEST HEAD. With the addition graced the regeneration FOLLOWS the landing and can pin at a landed commit. ## The packet SEVEN `## ADDED Requirements`, 28 scenarios, in a NEW capability `review-lane-floor-mirror`. No `MODIFIED` and no `REMOVED` block anywhere in the delta: `grep -rl "review-lane-pin\|LQ-A7\|floor_snapshot" openspec/specs` returns NOTHING across all 59 promoted capabilities, so there is no requirement text to modify and no sibling-delta hazard to walk into. Decision A, the packet's one real design choice: the REQUIRED lane MIRRORS the rule and is falsified by replaying the core's 16 exported vectors plus its 5 refused ones; the ADVISORY lane IMPORTS `evaluate_floor_completeness` outright. The asymmetry is measured, not stylistic - the pinned core checkout is `continue-on-error: true` in `pytest-suite.yml` on purpose ("a required check that fails for reasons the candidate cannot fix blocks everything"), so an IMPORTING blocking assertion could only skip (the blocking check silently ceasing to block - the CSC-F16 shape inside the guard against CSC-F16) or fail for a cause no candidate can fix. Step 8 already treats an unreadable core as fatal and has nothing to protect by keeping a second copy of the rule. Decision B: a NEW capability rather than `neutral-product-pin`, on that pin file's OWN written ground - `contracts/review-lane-pin.yaml` declares `kind: pinned_workflow` and says why, "Reusing `pinned_contract_manifest` would have claimed a digest discipline this pin does not have and cannot have". Decision D: `sequenced_after: [codexFactory:add-floor-addition-grace]` - the FIRST cross-repository entry in this corpus. The grammar accepts `<repository>:<change-id>` and checks a qualified foreign entry for well-formedness only, which is exactly the disposition this dependency has. ## Validation openspec validate mirror-floor-addition-grace --strict valid openspec validate --all --strict 90 passed, 0 failed (was 89) scripts/proposal-support.py . verify ok scripts/validate-sequenced-after.py . passed (31 active, 2 declaring) pytest tests/review_lane_pin -q 55 passed, 1 skipped (unchanged) `--ledger-diff` is STALE by exactly this change's one missing row and the six derived totals that follow from it; the row is seeded in the next commit, once the pull request number this ledger records exists. RATIFICATION IS OWED AND IS BRETT HEAP'S ACT. His word of 2026-09-05, "companion", authorized the AUTHORING and not the content; nothing here is ratified by being authored. No realization code, no pin advance, no regeneration, no D-3 tolerance value, and no codexFactory file touched. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Move the one ledger row this packet's arrival moves A consequence of the previous commit, not a re-baseline to make a check pass. ## The row — moved by the tool, never by hand `python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#676' --moved-on 2026-09-05` -> `wrote tests/sequenced_after/corpus-ledger.yaml (168 rows, 1 moved by #676)`, and the row it names is `mirror-floor-addition-grace`. + mirror-floor-addition-grace: {state: active, class: sole, + declares: [codexFactory:add-floor-addition-grace], depth: 0, + prose: false, moved_by: "#676", moved_on: "2026-09-05"} ONE LINE, ONE INSERTION, ZERO DELETIONS — `git diff --stat` reads `1 file changed, 1 insertion(+)`. **NO PARTNER FLIPPED**: the packet's delta opens a NEW capability (`review-lane-floor-mirror`), so it shares no requirement key with any change in the corpus and lands `class: sole` without moving anybody else's class. **No MOVEMENT LOG entry is owed** — `add-per-change-sweep-ledger`'s restated rule reserves an entry for a move the row diff does NOT state, and this move is entirely stated by the row diff. `--ledger-diff` had reported the staleness in advance and named its whole extent: one missing row plus the six derived totals that follow from it (change_ids 167->168, active 30->31, sole_modifiers 52->53, active_sole 10->11, declaring 3->4, and the declaring_ids tuple). It now reads `per-change sweep ledger consistent with the corpus (168 rows)`, exit 0, and `pytest tests/sequenced_after` is **162 passed** where it was 4 failed. ## One honest finding about `depth: 0`, recorded rather than smoothed over This is the corpus's FIRST cross-repository `sequenced_after:` declaration, and the derived `depth` it produces is **`0`** — because the sweep measures "the longest RESOLVABLE declared chain from this change", a qualified FOREIGN entry resolves for no validator by design (*"the neutral validator cannot read another repository's corpus and MUST NOT pretend to"*), and no hop is therefore walkable. The ledger's own header says `0` is the value it wanted to keep away from a non-declaring row because *"`0` would read as a resolved root"*. Here the row DOES declare — `declares:` carries the foreign parent verbatim, so the two keys read together say exactly what is true — but a reader keying on `depth` ALONE would read this row as a root, which it is not. The value is what the tool derived and it is not hand-corrected here; the observation is recorded so the first instance of the shape is on the record rather than rediscovered by whoever files the second one. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Record the depth: 0 reading the first cross-repository declaration produces The observation was in the ledger commit's message and nowhere a future author would look. `design.md` gains § 7, so the shape is on the record at its FIRST instance rather than rediscovered at its second. `sequenced_after: [codexFactory:add-floor-addition-grace]` is the corpus's first QUALIFIED FOREIGN entry — measured 2026-09-05, three changes declare the field and all three declare bare local parents. The sweep derives `depth: 0` for it, and the value is TRUE: `depth` is "the longest RESOLVABLE declared chain", and a qualified foreign entry resolves for no validator BY DESIGN (`validate_resolvable` checks well-formedness only, because "the neutral validator cannot read another repository's corpus and MUST NOT pretend to"). But the ledger's own header keeps `depth` off a non-declaring row for exactly this reason — "`0` would read as a resolved root" — and `[]`, the POSITIVE root claim, is a fact the ledger goes to trouble elsewhere to keep apart from absence. Read together with `declares:` the row is exact; read on `depth` alone it is misleading. Nothing is hand-corrected: hand-editing a derived key is the defect "moved by the tool, never by hand" exists to prevent. Whether `depth` should distinguish "no resolvable hop" from "resolved root" is left as a question somebody can take up deliberately, in its own change, now against a real example. `openspec validate mirror-floor-addition-grace --strict` still valid; no requirement, scenario or front-matter field moves. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Copilot round 1: the pin-window command is the core's own, argument for argument FINDING ACCEPTED, AND IT IS A REAL DEFECT rather than a style note. Copilot found the same fault at two of the three sites that write the command (`proposal.md` § What Changes, `tasks.md` 2.2); the third (`design.md` § 3) had `--name-only` but not `--pretty=format:` and carried HALF the same fault, so all three are corrected in one act rather than only the two that were reported. WHAT WAS WRONG. The packet wrote the B1 window as git log --diff-filter=A <generated_at>..<base> -- openspec/specs which emits COMMIT HEADERS interleaved with nothing else — no path list at all without `--name-only`, and commit metadata mixed into the paths even with it unless `--pretty=format:` empties the header. A realization following the written command would have parsed a different thing from the one the pinned core parses, in a packet whose entire object is that the two lanes must not diverge. THE FIX IS NOT "ADD A FLAG", IT IS "COPY THE CORE'S INVOCATION". All three sites now carry `specs_floor_block.paths_added_after_pin`'s exact argument list: git log --diff-filter=A --name-only --pretty=format: \ <generated_at>..<base> -- <prefix> and each says why the two flags are load-bearing. `design.md` § 3 states the principle the correction actually follows: copying the invocation is the same discipline as replaying the core's vectors — the rule has one home, and so does the command that feeds it. No requirement, no scenario and no front-matter field moves; the spec delta is byte-unchanged. `openspec validate mirror-floor-addition-grace --strict` valid; `--all --strict` 91 passed / 0 failed; `proposal-support.py . verify` ok. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Record Brett's ratification of mirror-floor-addition-grace: "ratify the companion when green, then realize it" Brett Heap (repository owner), in session, verbatim: "ratify the companion when green, then realize it" — a standing word given while the packet was being authored, applied at the first head where the condition held, ce9a81e (all ten checks green, three Copilot threads resolved, Copilot Approval recommended, Codex quota-refused). Recorded on PR #676 (comment beginning "RULING — Brett Heap") and issue #675 (comment beginning "RATIFIED — Brett Heap"). RATIFIED: the seven `## ADDED Requirements` (28 scenarios) on the new capability `review-lane-floor-mirror`, as written. Because the word preceded the authoring's completion, authoring decisions A-F stand as recommended and none is separately ruled; the owner may veto any by follow-up. Nothing in the spec delta changes between the ruled head and this commit: `git diff ce9a81e -- specs/ design.md tasks.md .openspec.yaml` is empty. Ratification authorizes promotion of the delta and performs no realization; realization is the next act on the same word. Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> Lane: openxfactory-2 (openXfactory-2) * Copilot round 2: the origin field answers its own "has not happened" .openspec.yaml's origin.approved_by note said the packet's content ratification "has not happened" — true when authored, stale after the ratifying commit. Append, in the same field, the house precedent's shape (amend-chain-anchoring-readiness-and-durability's .openspec.yaml): the field still records authorization to file only, and a separate dated statement records that the packet has since been ratified, citing the verbatim word, the head it applied at, and the ratification record. Nothing in the field's original text moves. Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> Lane: openxfactory-2 (openXfactory-2) --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brett's ruling, in session, verbatim: "amend to edit-document".
Q4 was accepted as recommended on the strength of a stated context that does not
hold — "the workbench/doxBench branch-session model already exposes an
edit-applyintent verb for content changes on a session branch".edit_apply(gate, change_id, document, redline)is the gate console'sMAIN-RESIDENT redline verb: it requires
--change-id("the change owning thedocument") and applies to CHANGE DOCUMENTS. A staged topic's fragment is not
one. The intent-plane change references that same gate-console verb; there is no
second, session-scoped
edit-apply.The two states are mutually exclusive besides.
edit-applyneeds a change id,but doc-health's
location-conformancefires the moment a staged fragment citesa live change, and its remedy is to move the material OUT of staging —
performed on this very topic the same day. A fragment whose topic has an owning
change is no longer in staging to be patched.
Q4'S INTENT IS UNCHANGED, and is exactly what the amendment preserves: no second
write verb, reuse of the existing session path, and section scoping as a
patch-TARGETING detail rather than a different kind of action.
edit-document—the verb the ratified buffer contract already uses for session content —
satisfies all three. Only the verb name was wrong, and it was wrong because I
carried the question's premise into the delta without reading the
implementation.
Amended in three places, each carrying the reason rather than a silent swap:
the spec delta,
docs/document-lifecycle.md, and the proposal (as a datedAmendment 1 section, the shape
openxdox-naming.mdestablished). Task 3.2 isunblocked, and tasks 4.4, 5.5 and 6.3 follow the verb.
THE SUPPORTING-DOCS COPIES ARE DELIBERATELY NOT AMENDED — zero files staged
under
supporting-docs/. They record the question as it was asked and ruled,and the
source-snapshots/copy is checksum-protected by the bundle manifest;rewriting either would falsify a record to make it agree with a later
correction. The bundle still verifies (exit 0) precisely because they were left
alone.
Gates:
openspec validate add-staged-topic-outline-template --strictvalid;--all --strict60/60; doc-health exit 0;proposal-support verifyexit 0;pytest tests/doc-health657 passed.Co-Authored-By: Claude Opus 5 [email protected]
🤖 Generated with Claude Code