Repository navigation
Flip promotion-fidelity to enforcing: both halves together, on a corpus measured at zero - #325
Conversation
…lation was discharged Brett ruled this family enforcing on 2026-08-24 and sequenced it — close the hermes-install and medx-roottruth header gaps first, then flip. The gaps are closed, so this is the flip. Both halves move in this commit because either alone is a family nobody chose. `promotion_fidelity._LAUNCH_SEVERITY` goes from WARNING to ERROR, so a run configured `--fail-on error` reds on a ratified delta that never reached canon. `families.FAMILY_RESOLUTION` gains `"promotion-fidelity": CONTESTED`, so a finding that stops being reported without a citation becomes an error under the uncited-resolution rule. Severity alone would gate without that discipline; the contested class alone would gate through a family name that does not say what happened. Both site comments now cite the ruling and say plainly that task 2.3's recorded reason for the absence was right for an advisory family and is wrong for an enforcing one. The discharge was re-measured today rather than read out of the PR bodies. openxFactory reports zero on both bases at 700c1a1 after PR #316 (51a875a); hermes-install reports zero at 2a4d719c (PR #42); medx-roottruth-install reports zero at 89dca824 (PR #1). A corpus-wide run over fourteen governed submodules with live mains fetched fresh reports zero findings, so the gate goes green on the commit that introduces it. The two structural tests that pinned the advisory launch now pin its opposite, which is a design fact and is recorded as one. Two end-to-end pins are added because the declaration and the application are different facts: one reads the severity and the resolution class off an emitted report line, and one measures the point of the whole exercise, a fixture that returned zero under `--fail-on error` through the entire advisory launch and now returns non-zero. Mutation-checked in both directions — reverting the severity alone fails five tests, removing the resolution row alone fails two. The delta is amended to match, because a flip that left the promoted requirement saying `warning` would make this family's own canon the next instance of the class it checks. Every scenario is restated: twelve before, twelve after. Nothing moved in this repository's own report. Whole-repo doc-health before and after is byte-identical at 4 critical, 8 error, 73 warning, 4 info, because the flip changes what a finding costs and openxFactory has none in this family. 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 changes promotion-fidelity from advisory to enforcing after clean corpus measurements.
Changes:
- Raises findings to
ERRORand classifies the family asCONTESTED. - Adds enforcement and fail-gate regression tests.
- Updates OpenSpec specifications, proposal history, and task evidence.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Summary |
|---|---|
tests/doc-health/test_promotion_fidelity.py |
Updates pins and adds enforcement tests. |
scripts/doc_health/promotion_fidelity.py |
Implements enforcing severity. |
scripts/doc_health/families.py |
Registers contested resolution. Moderate finding (2 votes): skipped families are not marked unavailable, causing prior-report-plus-skip runs to emit uncited-resolution. |
openspec/changes/add-promotion-fidelity-check/tasks.md |
Records the enforcement sequence and validation evidence. |
openspec/changes/add-promotion-fidelity-check/specs/document-lifecycle/spec.md |
Clarifies finding terminology. |
openspec/changes/add-promotion-fidelity-check/specs/doc-health/spec.md |
Documents enforcing behavior. |
openspec/changes/add-promotion-fidelity-check/proposal.md |
Records the realized ruling and implementation history. |
Suppressed comments (7)
openspec/changes/add-promotion-fidelity-check/proposal.md:2
- This
code_surfacemetadata is now stale: it still saysfamilies.pyrecords why the family is absent fromFAMILY_RESOLUTIONand that the tests pin the advisory launch, even though this PR makes the family enforcing. Please update the packet's current surface description and the active README record, which still repeats the old advisory state, so the governance index does not contradict the implementation.
code_surface: openxFactory (`scripts/doc_health/promotion_fidelity.py` — a new module owning the eighteenth deterministic family: the archived-delta parser, the promoted-spec reader, the latest-writer resolution and its tie-break, the ratification exemption, and the disposition read; `scripts/doc_health/families.py` — one registration line in `FAMILIES` and the note recording why the family is deliberately absent from `FAMILY_RESOLUTION`; `scripts/doc_health/__init__.py` — one entry in `FAMILY_IDS` so the family gets its own report section; `scripts/doc_health/corpus.py` — one new `RealGit` method, `first_commit_timestamp`, because `first_commit_date`'s day resolution cannot break a tie between two packets archived on the same day; `tests/doc-health/test_promotion_fidelity.py` plus `tests/doc-health/fixtures/promotion-fidelity*/` — the regression fixture reconstructing the historical true positive, the three known negatives, the structural pins on the advisory launch, and the tie-break's two-run disagreement; `tests/doc-health/conftest.py` — `FakeGit` gains the matching shim; `tests/doc-health/test_lifecycle_scan_set.py` — the eighteenth family classified as a non-reader of the lifecycle scan set, which is the loud failure that test was built to produce. NO change to the governed corpus, the lifecycle scan set, any existing family's behaviour, the report schema, the regression-diff rule, or any threshold. EXTENDED 2026-08-24 by task 4.1's two non-gate rulings (PR #315): `promotion_fidelity.py` gains the relaxed exemption (`declared_standing` / `_is_exempt_from_promotion`) and the two tree readers (`WorkingTree` / `GitRefTree`) the live-main basis needs; `corpus.py` gains `resolve_ref`, `ls_tree_paths` and `show_blob`, and an optional `ref` on `first_commit_timestamp`; `runner.py` gains the `--promotion-fidelity-basis` flag, the `Context` field, and the deviation line; `families.py` gains a one-entry `FAMILY_NOTES` registry; `__init__.py` gains `RunResult.notes`; `report.py`'s `render` gains an optional `family_notes` that prints under a family's own heading; `.github/workflows/doc-health-reusable.yml` gains a non-mutating live-main fetch step and passes the flag to the reporting run; `tests/doc-health/fixtures/promotion-fidelity-presumption/` and the new cases in `test_promotion_fidelity.py` / `test_workflow_contract.py` carry the evidence. STILL no change to the governed corpus, the lifecycle scan set, any OTHER family's behaviour or measurement basis, the report schema's finding and ranked-plan grammars, the regression-diff rule, or any threshold. EXTENDED AGAIN 2026-08-24 by task 4.2's flip to enforcing: `promotion_fidelity._LAUNCH_SEVERITY` moves `WARNING` → `ERROR` and `families.FAMILY_RESOLUTION` gains one row, `"promotion-fidelity": CONTESTED` — one commit, both halves, per the ruling; `tests/doc-health/test_promotion_fidelity.py`'s two structural launch pins are re-aimed at the enforcing state and two end-to-end pins are added (the resolution class read off an emitted finding, and a `--fail-on error` run that now reds where it returned 0 through the whole advisory launch). This moves NO finding in this repository — the family reads zero here — so the whole-repo severity counts are byte-identical before and after; what moves is what a finding WOULD cost anywhere it appears.)
openspec/changes/add-promotion-fidelity-check/proposal.md:190
- The proposal's new D3 amendment does not reconcile its still-current
What Changes/Impacttext: those sections continue to describe an advisory launch, predict+2 warning, and say--fail-on erroris unaffected. With this flip toERRORplus acontestedmapping, those claims are stale even if the current live-main corpus is clean; please update those sections or mark them explicitly as historical.
**D3 IS SPENT — the flip was ruled and is now taken (task 4.2).** The launch
was advisory and the flip was a ruling, exactly as this decision said it had
to be: Brett ruled "ENFORCING, SEQUENCED" on 2026-08-24 (task 4.1's
four-question round, PR #315) and the sequence was honoured before the flip
was built. `_LAUNCH_SEVERITY` is `error` and `FAMILY_RESOLUTION` carries
openspec/changes/add-promotion-fidelity-check/tasks.md:301
- This implementation closes the flip, but the ratified
design.md§D4 still says every finding iswarningand that the flip is carried as an open task. Unlike this task ledger's explicit historical notes, that design section has no current-state addendum, so the ratified design now contradicts the enforcement state implemented here. Please amend or supersede §D4 in this change.
**DONE — BOTH HALVES, ONE COMMIT, after 4.3's discharge was verified by
measurement rather than assumed.** `_LAUNCH_SEVERITY = ERROR` (the
identifier keeps its name: it records where the value STARTED, and a
rename would have cost the grep that ties every reader of the launch
decision together) and `FAMILY_RESOLUTION` gains one row. Both site
scripts/doc_health/families.py:71
- This flip leaves the active change summary in
README.mdstale: its entry still says “Advisory at launch,” every finding iswarning, the family is absent fromFAMILY_RESOLUTION, and the flip is an open task. After this new mapping row and_LAUNCH_SEVERITY = ERROR, that is the opposite of the behavior contributors will read; please update the entry or explicitly mark that paragraph as historical.
"promotion-fidelity": CONTESTED,
scripts/doc_health/families.py:71
- This row also activates contested-resolution tracking for findings that support
requirement:-scoped dispositions. Howeverrunner.mainreduces every cited disposition to(family, repo, path)before callinguncited_resolutions, and the report's resolution key is path-only. If one delta file has multiple findings, citing one requirement can consequently suppress the uncited-resolution error for other findings on that same path that disappear without citations. Carry the requirement identity through this resolution path (or otherwise define a correct per-file rule) and cover the multi-finding case before enabling the class.
"promotion-fidelity": CONTESTED,
scripts/doc_health/promotion_fidelity.py:113
- Once this family is contested, requirement-scoped dispositions are flattened away in the later resolution pass:
_load_dispositions()preserves(repo, path, requirement), butrunner.mainpasses only(family, repo, path)touncited_resolutions(). This family can emit multiple findings for one delta path, so a citation for one requirement can suppress the uncited error for another after both disappear. Preserve requirement identity through that pass before enabling this class.
# The family is ALSO registered `contested` in `families.FAMILY_RESOLUTION`,
# and that is the less obvious half of the SAME decision — the two cannot
# move apart. `report.uncited_resolutions` turns a contested finding that
# VANISHES between reports into an ERROR under the `uncited-resolution`
tests/doc-health/test_promotion_fidelity.py:246
- This says that three tests changed meaning, but the advisory section contained only the two
test_launch_is_advisory_by_*tests; the two end-to-end tests below are new. Correct the count so the test-history description matches the actual changes.
# THESE THREE TESTS CHANGED MEANING on 2026-08-24, and that is a design fact
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "record-immutability": CONTESTED, | ||
| "staged-candidate-aging": CONTESTED, | ||
| "uncited-resolution": CONTESTED, | ||
| "promotion-fidelity": CONTESTED, |
…scope Code review of PR #325 (add-promotion-fidelity-check task 4.2's CONTESTED flip) found that runner.main's unavailable_families set fed into report.uncited_resolutions only from semantic/readiness/neutrality availability, never from run configuration, so a --skip-family run (or a single --family run's implicit omission of every other family) read that family's prior contested findings as resolved and manufactured spurious uncited-resolution errors. The gap predates this flip and already applied to record-immutability, location-conformance, and every other contested family; promotion-fidelity's move to CONTESTED just gave a live instance the nightly could actually hit. Fixed by joining args.skip_family, and every non-selected family on a --family run, into unavailable_families. Added three tests/doc-health/test_suite.py cases (skip-family, single- family, and the genuinely-resolved case that must still fire) and recorded the fix in tasks.md's §4.2 read-back. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Suppressed comments (4)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/changes/add-promotion-fidelity-check/proposal.md:2
- This
code_surfacemetadata still describes the family as having structural pins on the advisory launch and saysfamilies.pyrecords why it is absent fromFAMILY_RESOLUTION. The same PR re-aims those tests to enforcement and adds thepromotion-fidelity: CONTESTEDrow, so the authoritative scope declaration now contradicts the implementation; update these descriptions to the enforcing state.
code_surface: openxFactory (`scripts/doc_health/promotion_fidelity.py` — a new module owning the eighteenth deterministic family: the archived-delta parser, the promoted-spec reader, the latest-writer resolution and its tie-break, the ratification exemption, and the disposition read; `scripts/doc_health/families.py` — one registration line in `FAMILIES` and the note recording why the family is deliberately absent from `FAMILY_RESOLUTION`; `scripts/doc_health/__init__.py` — one entry in `FAMILY_IDS` so the family gets its own report section; `scripts/doc_health/corpus.py` — one new `RealGit` method, `first_commit_timestamp`, because `first_commit_date`'s day resolution cannot break a tie between two packets archived on the same day; `tests/doc-health/test_promotion_fidelity.py` plus `tests/doc-health/fixtures/promotion-fidelity*/` — the regression fixture reconstructing the historical true positive, the three known negatives, the structural pins on the advisory launch, and the tie-break's two-run disagreement; `tests/doc-health/conftest.py` — `FakeGit` gains the matching shim; `tests/doc-health/test_lifecycle_scan_set.py` — the eighteenth family classified as a non-reader of the lifecycle scan set, which is the loud failure that test was built to produce. NO change to the governed corpus, the lifecycle scan set, any existing family's behaviour, the report schema, the regression-diff rule, or any threshold. EXTENDED 2026-08-24 by task 4.1's two non-gate rulings (PR #315): `promotion_fidelity.py` gains the relaxed exemption (`declared_standing` / `_is_exempt_from_promotion`) and the two tree readers (`WorkingTree` / `GitRefTree`) the live-main basis needs; `corpus.py` gains `resolve_ref`, `ls_tree_paths` and `show_blob`, and an optional `ref` on `first_commit_timestamp`; `runner.py` gains the `--promotion-fidelity-basis` flag, the `Context` field, and the deviation line; `families.py` gains a one-entry `FAMILY_NOTES` registry; `__init__.py` gains `RunResult.notes`; `report.py`'s `render` gains an optional `family_notes` that prints under a family's own heading; `.github/workflows/doc-health-reusable.yml` gains a non-mutating live-main fetch step and passes the flag to the reporting run; `tests/doc-health/fixtures/promotion-fidelity-presumption/` and the new cases in `test_promotion_fidelity.py` / `test_workflow_contract.py` carry the evidence. STILL no change to the governed corpus, the lifecycle scan set, any OTHER family's behaviour or measurement basis, the report schema's finding and ranked-plan grammars, the regression-diff rule, or any threshold. EXTENDED AGAIN 2026-08-24 by task 4.2's flip to enforcing: `promotion_fidelity._LAUNCH_SEVERITY` moves `WARNING` → `ERROR` and `families.FAMILY_RESOLUTION` gains one row, `"promotion-fidelity": CONTESTED` — one commit, both halves, per the ruling; `tests/doc-health/test_promotion_fidelity.py`'s two structural launch pins are re-aimed at the enforcing state and two end-to-end pins are added (the resolution class read off an emitted finding, and a `--fail-on error` run that now reds where it returned 0 through the whole advisory launch). This moves NO finding in this repository — the family reads zero here — so the whole-repo severity counts are byte-identical before and after; what moves is what a finding WOULD cost anywhere it appears.)
openspec/changes/add-promotion-fidelity-check/tasks.md:301
- The completion note now says the flip is taken, but the surrounding artifact set still contains contradictory current-state text:
tasks.md§4.1 ends with “Both boxes stay open deliberately” anddesign.mdD4 still says the flip is an open box and the family is advisory. Please mark those passages explicitly as historical or add a superseding final-state note so the ratified design does not claim the opposite of this completed task.
**DONE — BOTH HALVES, ONE COMMIT, after 4.3's discharge was verified by
measurement rather than assumed.** `_LAUNCH_SEVERITY = ERROR` (the
identifier keeps its name: it records where the value STARTED, and a
rename would have cost the grep that ties every reader of the launch
decision together) and `FAMILY_RESOLUTION` gains one row. Both site
scripts/doc_health/families.py:71
- Making this family
contestedactivates the cross-run resolution path, but previous-report identity has no measurement-basis dimension:report.parse_previous()anduncited_resolutions()compare only(family, repo, path). A pinned run with a finding followed by alive-mainrun where that path is clean will therefore manufacture anuncited-resolutionERROR even though only the selected tree changed and no governance disposition is missing. Since this feature explicitly supports both bases, carry the basis into the previous-report comparison or suppress resolution checks across a basis transition, and add a pinned-to-live-main regression test.
"promotion-fidelity": CONTESTED,
scripts/doc_health/runner.py:680
- This excludes only the deterministic
FAMILIES; the semantic families are rendered and can also have priorcontestedentries, but they are not in that set. A--family tag-hygienerun without--semantic-sweeptherefore omitssemantic-normative-prose/semantic-contradictionand still manufacturesuncited-resolutionerrors for their vanished findings (and a plain run with no semantic flags has the same gap). Treat semantic families as unavailable whenever the semantic pass was not run or was skipped.
if args.family:
unavailable_families.update(set(FAMILIES) - {args.family})
| unavailable_families.update(args.skip_family) | ||
| if args.family: | ||
| unavailable_families.update(set(FAMILIES) - {args.family}) |
…igation is canon The five realization merges are all on main and each was re-verified an ancestor of it at this gate - PRs #310 73766b4, #315 1274b9b, #316 51a875a, #320 055a514, #325 44505d1 - so the merge-plus-green rule the packet declared is satisfied and the archive act is this separate later commit, following govern-openspec-corpus-membership. The gate halted twice before it ran. The first halt found this packet's own doc-health delta restating one scenario of an eight-scenario MODIFIED requirement, which would have destroyed the other seven on promotion. While that was being repaired, main archived add-release-inventory-drift-check (b03b999) - the same defect, found independently the same day and ruled on by Brett, whose account now stands in canon as the CORRECTED 2026-08-25 paragraph. That sibling's delta had been written on top of this change's text, so canon moved: nineteen families, not eighteen, with this change's own amendments already inside it. The branch was reset to the new origin/main and every artefact re-derived against it rather than merged. The faithful MODIFIED block is therefore current canon verbatim - SHA-256 57cfc188905dc9926ebb9a9570db98d5bd419184409a91b83e56045fba27bf0b, all eight scenarios identical scenario-by-scenario and in canon's order. Archived as drafted it would have destroyed the seven scenarios and regressed the enumeration to eighteen, dropping release-inventory drift, its paragraph, its AND bullet, and Brett's CORRECTED paragraph. The act is verified by requirement map rather than by the CLI's summary: doc-health 26 -> 28 requirements and 105 -> 116 scenarios; document-lifecycle 14 -> 15 and 63 -> 68. Nothing removed from either, all 26 and all 14 pre-existing requirements byte-for-byte identical across the act, both promoted files pure additions with zero deletions. Closing symmetry: the enforcing family over openxFactory at --fail-on error reads 0 findings, exit 0, both before and after - the family that reports an unarrived delta says nothing about the delta this act just landed - and the packet's header still parses at its new archived path, Status: ratified with the record-citing Ratified: line clearing approver and date inside the 15-line window. Post-archive gates: openspec validate --all --strict 76 passed 0 failed (one fewer active), pytest tests/doc-health 874 passed 1 failed (the enumerated environment artifact, unmoved), pytest -k workbench 140 passed. The full single-repo report's findings are byte-identical to the baseline and exactly two per-stage numbers moved, both predicted: standard 10851 -> 11102 for docs/doc-health.md's own new words, and promoted specs 121304 -> 123563 for the census taking in what this act promoted. Task 5.2 ticks with its three arrivals; task 5.5 records that promotion fidelity is structurally blind to this damage class, because latest-writer-wins makes a destroying delta look faithful the instant it lands - a named candidate for a pre-archive restatement-completeness check, not built here. Also named, not fixed, and owed to the codex-archive lane rather than to this one: ideation/cross-reference.yaml pins source_revision f13a3b6, PR #322's branch tip, which is not an ancestor of main. The merged commit is 4e57009. Co-Authored-By: Claude Fable 5 <[email protected]>
…ycle: his four ticks, the lane's two rulings, and the re-pin half promoted into review-lane-floor-mirror (#894) * Take Brett Heap's word over the mirror's six boxes: his four ticks, the lane's two rulings His word of 2026-09-10, verbatim "same word for the mirror's six on #745", extending "tick 6.1, 6.2, 6.4 and 6.3; rule on the rest" (#745 (comment)). HIS ACTS, the lane's pen on the [x]: 6.1 (ratified 2026-09-06, PR #708, record review/ratification-2026-09-06.md), 6.2 (M-1..M-7 stood, no veto in four days, M-1's schedule location exercised on every hourly firing), 6.3 (successor NAMED and filed — extend-merge-master-envelope-to-floor-bot-lanes, active, governed by #745 — and the default it names, a human merge word on the re-pin pull request, HOLDS, the arming INERT by ruling until the enrolment successor admit-review-lane-repin-to-merge-approval-envelope is filed and realized), 6.4 (the App grant installed three times over, proven by use, most recently on run 34477749947 at 12:37:16Z). THE LANE'S RULINGS on his delegation: 5.5 TICKED, both clauses observed on cycle three — (a) #883 merged on his word "merge both" at e916f0e (11:57:17Z), the codexFactory half's human word SUPERSEDED by the ratified amend-floor-regeneration-merge-authority (cxF #325 -> df42f803, mergedBy app/openxfactory); (b) run 34475347536 (12:11:42Z, pinned core b594ef2a) reads "covered-pending: 0 (tolerance 3, pin measured)", repeated on 34475672967 and 34477475011. 5.6 TICKED ON THE RECORDING, with the figure it asks for named as structurally owed to the enrolment successor: 11 h 18 min 50 s end to end, 10 h 24 min 19 s on Section Why's own measure, against 55 min and 77 min — but the regeneration half was unattended (22 min 16 s) while the re-pin half was structurally refused for ten hours on the one-time floor relocation (twelve firings, 00:58:18Z to 11:24:25Z) and then hand-produced. NO REPAIR-FREE UNATTENDED TWO-REPOSITORY WALL TIME EXISTS YET, and the note says so. Every existing byte is preserved: 256 insertions, 6 deletions, and the six deletions are the six checkbox characters. Nothing is deleted, the superseded human-word clause at 5.5 (a) and the 2026-09-09 "NOT ARCHIVED" heading stand. Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> * Archive mirror-floor-regeneration-automation: the re-pin half promotes into review-lane-floor-mirror Taken through the sanctioned wrapper at the repository root, never a bare `openspec archive`: python3 scripts/proposal-support.py . archive mirror-floor-regeneration-automation --yes Every gate line, verbatim: ORIGIN RETAINED mirror-floor-regeneration-automation (declaration unchanged since the ratifying commit 7b8460f) proposal-support: @fission-ai/[email protected] from the pinned artifact (...); integrity sha512-oFE2Lj7WVSc87nSi... verified, over the pinned dependency closure openspec-cli-pin.1.12.0.package-lock.json (80 packages, lockfile_integrity sha512-aw5lIN45tQq2WZll..., installed with `npm ci --ignore-scripts`) Totals: 1 passed, 0 failed (1 items) Task status: Complete Specs to update: review-lane-floor-mirror: update Applying changes to openspec/specs/review-lane-floor-mirror/spec.md: + 8 added Totals: + 8, ~ 0, - 0, -> 0 Specs updated successfully. Change 'mirror-floor-regeneration-automation' archived as '2026-09-10-mirror-floor-regeneration-automation'. OK openspec-cli-pin: @fission-ai/[email protected] verified against its content address and every target validated --strict clean NO SUPPORTING DOCS ... (origin retained, nothing to package) Exit 0. The only non-blocking warning is proposal.md's Why section length. WHAT MOVED: all six packet files, byte-identical (sha256 compared against HEAD), into openspec/changes/archive/2026-09-10-mirror-floor-regeneration-automation/. WHAT WAS PROMOTED: the eight `## ADDED Requirements` of specs/review-lane-floor-mirror/ into openspec/specs/review-lane-floor-mirror/spec.md — 7 requirements / 28 scenarios before, 15 / 52 after; +168 lines, ZERO deletions, so nothing already in canon was rewritten. NOT TOUCHED: amend-mirror-floor-regeneration-merge-authority stays active on its own gate. No origin-disposition entry is written — none was needed; the origin-retention gate passed on the first read. Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> * Move the OpenSpec Records entry to Archived, and the packet's sweep-ledger row with it README: the `mirror-floor-regeneration-automation` entry leaves "Active changes:" and a new entry heads "Archived changes:", in the form the two precedent archives of this day used (#884, #879) — the archive date and pull request, the ratification word with its head and record, the `release-realization` ground for a NON-EMPTY code surface, the cycle-three evidence `target_release:` demanded, what is now canon, and what the archive explicitly does NOT claim. tests/sequenced_after/corpus-ledger.yaml: ONE row moved, by the sanctioned tool and not by hand — python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#894' wrote tests/sequenced_after/corpus-ledger.yaml (192 rows, 1 moved by #894). - mirror-floor-regeneration-automation state active -> archived, moved_by #807 -> #894, moved_on 2026-09-08 -> 2026-09-10. Every other row's provenance is untouched. NOT TAKEN, AND NAMED RATHER THAN LEFT TO BE FOUND: five other README mentions of this change survive. Three are accurate as written (the two `sequenced_after:` declaration quotes, and "ratified here 2026-09-06 by ..."), one is an explicit record of a past state that this repository's house rule keeps rather than smooths (the "still-active" clause inside relocate-review-authority-floor-mirror's entry, which narrates why its word's "when green" condition was unmet at the time), and ONE IS NOW STALE — the clause in `amend-mirror-floor-regeneration-merge-authority`'s entry reading "the archive waits on that change promoting", whose condition this pull request has just met. It is left alone deliberately: that packet is out of scope by standing instruction, it stays ACTIVE on its own gate (box 4.1 waits on the enrolment successor `admit-review-lane-repin-to-merge-approval-envelope`), and editing its index entry is that lane's act, not this one's. Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> * Name the two superseded "STAYS OPEN" sentences at 5.5 and 5.6 instead of leaving the reader to infer it Copilot's review of the first commit read box 5.5's `[x]` against the 2026-09-06 and 2026-09-09 notes still saying "STAYS OPEN" and called the box internally contradictory. The observation is fair about READING ORDER: this file's own precedent at 5.1 puts the superseding observation FIRST and marks the kept record explicitly, while these two notes were appended at the end, so a reader met "STAYS OPEN" before the date that supersedes it. Fixed the way this file fixes things — by NAMING, not deleting. Each of the two 2026-09-10 notes now opens by saying that everything above it is the record of 2026-09-06 and 2026-09-09, kept verbatim, and quotes the exactly two sentences that are superseded: at 5.5, "HALF OBSERVED, HALF NOT OBSERVABLE ON THIS CYCLE — STAYS OPEN" and "THE BOX STAYS OPEN"; at 5.6, "MEASURED AND RECORDED — NOT YET THE FIGURE THE BOX ASKS FOR, SO IT STAYS OPEN" and "THE BOX STAYS OPEN". 5.6's note also says which earlier finding is NOT superseded but CARRIED — that the figure asked for is still owed — because that is the whole substance of its tick. Only text this pull request itself authored is edited; not one byte of the 2026-09-06 or 2026-09-09 record moves. Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> * Carry two review-lane-floor-mirror self-gate tests across this PR's own archive act `pytest-suite` run 34484173069 failed on exactly these two, both because this PR's own archive of `mirror-floor-regeneration-automation` moved the ground under them rather than because either test's claim stopped holding. `tests/doc-health/test_modified_block_currency_self_gate.py::test_every_carriage_ledger_finding_over_the_real_tree_is_named` — the archive promoted `review-lane-floor-mirror` into canon, so the two still-active siblings that already restate its requirements (`amend-mirror-floor-regeneration-merge-authority`, `relocate-review-authority-floor-mirror`) became comparable against canon for the first time instead of against nothing. Re-measured with `python3 scripts/doc-health.py --single-repo . --family modified-block-currency` (carriage ledger 9 -> 11) and added both named subjects to `_LEDGER_SUBJECTS`, dated, naming the mechanism and the exact uncarried units. `tests/review_lane_pin/test_repin_lane.py::EveryRatifiedScenarioHasATest::test_every_ratified_scenario_has_a_test` — `RATIFIED_DELTA` named the pre-archive active path, which this PR's commit `242e8e08` moved. Repointed at the archived copy rather than at canon (`git show --stat 242e8e0` shows a 100%-similarity rename, so the archived copy still carries exactly the 24 scenarios this file's docstrings claim coverage for; canon now also carries the seven `mirror-floor-addition-grace` requirements this packet composes with, which reading canon directly would have silently folded into the claim). Both edits are confined to the two test modules: no OpenSpec packet, canon spec, floor document, workflow, or `health/dispositions.yaml` entry moves. Lane: openxfactory-2 Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
Two review findings, both valid and both inside the record's remit. The § 3.1 table was broken: the #314 heads paragraph sat between the two data rows, so the 2026-09-10 #325 row rendered as prose rather than as part of the table. The rows are now contiguous and the note follows the table, which is where an explanatory note belongs. `tasks.md` § 3.1's 2026-09-10 note could be read as putting the signing before the approving. It now states the order out loud: both approvals (2026-09-09T22:49:36Z, 2026-09-10T01:54:56Z) predate the signature (~17:2xZ), and the enrolment merge predates both (codexFactory `4c0053c3`, 2026-09-07T21:16:37Z), so the signature ratifies approvals already given. That is the record's own § 0.2 reading, said in the second place a reader meets it rather than left to be inferred. Two measured corrections found while re-reading the API for these: ruleset 22655338's name is `xFactory Tier-1 main protection (require PR + 1 approval)` and was quoted truncated in both files, and its bypass list is recorded alongside 22655341's; and the org carries exactly THREE active rulesets, so the record now says the two-ruleset enumeration is complete and names the third (22655344 `Copilot Auto-Review All PRs`, `non_fast_forward` + `copilot_code_review`, no `pull_request` rule) as bearing on nothing here. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…7 precondition § 3.2 is the one box this work ticks, and its clause is "no human click" — a claim about an ABSENCE, which is only proven by enumerating what IS there. It was argued instead from the ruleset bypass lists. The timeline API now supplies the direct proof, read on 2026-09-10. Every event on codexFactory #325 between opening (01:32:58Z) and merge (01:55:14Z): `committed`; `auto_merge_enabled` by `openxfactory[bot]` at 01:33:02Z; `commented` by `github-actions[bot]` 01:33:22Z; `commented` by `sonarqubecloud[bot]` 01:54:32Z; `reviewed` (5161853361, `codexfactory[bot]`, APPROVED, 01:54:56Z); `merged` and `closed` by `openxfactory[bot]` 01:55:14Z. Four actors, every one a Bot. The one human login on the pull request is `brettheap`, first at 02:13:57Z — eighteen minutes AFTER the merge — and only in `referenced` / `cross-referenced` events, which are the side effect of linking the pull request from elsewhere and not acts upon it. The same read-out answers the one precondition this box carries and had been passing over. § 3.1's 2026-09-07 note says "§ 3.2's unattended merge additionally waits on § 2.7", and § 2.7 is unticked. What § 2.7 asks is that auto-merge BE ARMED; the `auto_merge_enabled` event proves it was, four seconds after opening, under the successor packet § 2.7's own note names. The arming is a fact about the world; § 2.7's box is a claim about what THIS packet performed, and it performed none of it — so the box stays unticked because the act was a successor's, not because the arming is absent. Also precise now: "both org rulesets" reads "both approval-bearing org rulesets", the org having three. BOXES RE-JUDGED AGAINST THEIR OWN LITERAL TEXT, NOTHING CHANGED: § 4.2 requires the figure "over at least three consecutive cycles" and two merged cycles exist (#302 parked and was closed), so it stays open. § 5.3 and § 5.4 are group-5 owner's-act boxes and this file's head rule is that "an agent may not tick an owner's-act box at all", so both stay unticked with their acts carried in dated notes. The ask to the owner is one line: tick 5.3 and 5.4. `openspec validate --change … --strict` clean at the pinned CLI; doc-health 100 findings, byte-for-byte `origin/main`'s set. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…live tree (#912) * Sign the Gate-Rules Council admitting record, reconciled against the live tree The record OQ-2 selects is SIGNED — verdict ADMIT, Brett Heap 2026-09-10, verbatim "do 1 and 2, sign, file it, do 744" (openxFactory #745 comment 5622848416, item 3). His act, the lane's pen; a direct convener disposition with no seat run, on the precedent of codexFactory records/2026-09-04-gate-rules-packaged-contract-floor-widening.md § 0. The 2026-09-07 DRAFT is stale in eight named places and the record rewrites what IS rather than editing silently (its § 7). The two that matter: NO governance ground was spent — decision N-1 (e) was taken, the artifact was relocated to floor/ where no CODEOWNERS entry reaches it, and codexFactory's promoted `Bounded autonomous surface` is unnarrowed on main — and the signature ratifies an act already taken, the enrolment having merged at codexFactory 4c0053c3 on 2026-09-07. tasks.md § 3.2 ticks on codexFactory #325 -> df42f803, merged by openxfactory[bot] 22 min 16 s after opening with no human act. Every other box is left open with the clause of its own text that is not yet met named: 3.1 on `Candidate class: unrecorded`, 3.3 on the missing constructed control, 3.4 on the absent re-pin artifact, 4.2 on two cycles where three are required. § 5.3 and § 5.4 are DISCHARGED and stay UNTICKED — an agent may not tick an owner's-act box. Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Answer both review threads: contiguous table, the order said out loud Two review findings, both valid and both inside the record's remit. The § 3.1 table was broken: the #314 heads paragraph sat between the two data rows, so the 2026-09-10 #325 row rendered as prose rather than as part of the table. The rows are now contiguous and the note follows the table, which is where an explanatory note belongs. `tasks.md` § 3.1's 2026-09-10 note could be read as putting the signing before the approving. It now states the order out loud: both approvals (2026-09-09T22:49:36Z, 2026-09-10T01:54:56Z) predate the signature (~17:2xZ), and the enrolment merge predates both (codexFactory `4c0053c3`, 2026-09-07T21:16:37Z), so the signature ratifies approvals already given. That is the record's own § 0.2 reading, said in the second place a reader meets it rather than left to be inferred. Two measured corrections found while re-reading the API for these: ruleset 22655338's name is `xFactory Tier-1 main protection (require PR + 1 approval)` and was quoted truncated in both files, and its bypass list is recorded alongside 22655341's; and the org carries exactly THREE active rulesets, so the record now says the two-ruleset enumeration is complete and names the third (22655344 `Copilot Auto-Review All PRs`, `non_fast_forward` + `copilot_code_review`, no `pull_request` rule) as bearing on nothing here. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Close three form gaps against the precedent this record names as its form The record claims codexFactory `records/2026-09-04-gate-rules-packaged-contract-floor-widening.md` as the form it reproduces. Read against that record, three elements were missing, and Brett Heap's word was that "the record's own form governs how the signature is written" — so the form is the obligation. 1. `missing_required_seat: refused` was not addressed at all. It is the strongest objection available against a record with no seats in it, the charter carries it beside the disposition clause (`failure_semantics.missing_required_seat: refused`, read at `gate-rules.yaml` today), and the precedent's own § 7.4 treats being silent about it as the defect: "with no convening run there was no seat to be missing from one. A future act that needs seats is not licensed by this record to skip them." That answer is reproduced rather than paraphrased, and no wider licence is claimed. Beside it, § 0.1 now records THE GROUNDS for disposing this act directly — for this act and not as a general precedent, which is the form § 7.4 put them in. 2. The signature did not name the signatory's capacity. The precedent signs "by Brett Heap (repository owner, convener)"; the capacity was in this record's header but not in the block a reader quotes. It is now on the `Signed:` line. 3. The dispositions NOT taken were not enumerated. New § 5.1 puts all four branches — ADMIT taken, ADMIT AS AMENDED not taken, REFUSE not taken, PARK FOR LIAISON not reached because `failure_semantics.split_vote: park_for_liaison` needs a split and with no seat returns there is none. Both charter clauses were read from `gate-rules.yaml` rather than recalled. No fact, figure or verdict changed. The one reference the new § 5.1 made ambiguous — "the dated form 5.1, 5.2 and 5.5 already use", which means `tasks.md`'s boxes — now says so. `openspec validate --strict` clean at the pinned CLI (1.12.0, content address verified); doc-health's 100-finding set is byte-for-byte what `origin/main` reports, so the record adds none. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Prove box 3.2's tick by enumerating the timeline, and answer its § 2.7 precondition § 3.2 is the one box this work ticks, and its clause is "no human click" — a claim about an ABSENCE, which is only proven by enumerating what IS there. It was argued instead from the ruleset bypass lists. The timeline API now supplies the direct proof, read on 2026-09-10. Every event on codexFactory #325 between opening (01:32:58Z) and merge (01:55:14Z): `committed`; `auto_merge_enabled` by `openxfactory[bot]` at 01:33:02Z; `commented` by `github-actions[bot]` 01:33:22Z; `commented` by `sonarqubecloud[bot]` 01:54:32Z; `reviewed` (5161853361, `codexfactory[bot]`, APPROVED, 01:54:56Z); `merged` and `closed` by `openxfactory[bot]` 01:55:14Z. Four actors, every one a Bot. The one human login on the pull request is `brettheap`, first at 02:13:57Z — eighteen minutes AFTER the merge — and only in `referenced` / `cross-referenced` events, which are the side effect of linking the pull request from elsewhere and not acts upon it. The same read-out answers the one precondition this box carries and had been passing over. § 3.1's 2026-09-07 note says "§ 3.2's unattended merge additionally waits on § 2.7", and § 2.7 is unticked. What § 2.7 asks is that auto-merge BE ARMED; the `auto_merge_enabled` event proves it was, four seconds after opening, under the successor packet § 2.7's own note names. The arming is a fact about the world; § 2.7's box is a claim about what THIS packet performed, and it performed none of it — so the box stays unticked because the act was a successor's, not because the arming is absent. Also precise now: "both org rulesets" reads "both approval-bearing org rulesets", the org having three. BOXES RE-JUDGED AGAINST THEIR OWN LITERAL TEXT, NOTHING CHANGED: § 4.2 requires the figure "over at least three consecutive cycles" and two merged cycles exist (#302 parked and was closed), so it stays open. § 5.3 and § 5.4 are group-5 owner's-act boxes and this file's head rule is that "an agent may not tick an owner's-act box at all", so both stay unticked with their acts carried in dated notes. The ask to the owner is one line: tick 5.3 and 5.4. `openspec validate --change … --strict` clean at the pinned CLI; doc-health 100 findings, byte-for-byte `origin/main`'s set. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
…not restate box 4.2 as if it already carried one The prior fix-round commit (26a272b) resolved Copilot's first tasks.md thread by making 1.5.a quote parent box 4.2 verbatim "so the two gates are the same gate" -- but box 4.2 only requires three consecutive MEASURED cycles (it counts codexFactory #314 toward its three despite #314's one hand-dispatched approval leg). Brett Heap's ratified selection said "the third UNATTENDED codexFactory cycle" -- stricter than box 4.2. Making the two gates literally identical silently dropped the unattended condition: a third hand-dispatched cycle would have satisfied 1.5.a as it stood. Copilot caught this immediately on the new head, in four more threads (README.md:549, design.md:285, review/ratification-2026-09-11.md:91, tasks.md:103) plus one pre-existing, unrelated thread on proposal.md:29. THE FIX, the same criterion in every place that states it: Sub-box 1.5.a holds until a third consecutive measured cycle exists (box 4.2's own count -- codexFactory #314 and #325 are the first two) AND that third cycle is itself fully unattended: opened by openxfactory[bot], approved by the merge-master App, and merged by app/openxfactory, with ZERO human acts on it -- no workflow_dispatch, no click, no admin merge -- evidenced by the PR number, the merge sha, the approval URL, and the absence of any human event on its timeline. #314 counts toward box 4.2's three but does NOT itself satisfy the unattended condition, on its one hand-dispatched approval leg; #325 does, carrying no human act at all. Applied in all five places named across the four threads: - tasks.md 1.5.a: rewritten with the criterion above; box 4.2 is quoted only to show what it does NOT require, and the added condition is stated as this box's own, layered on top. Section 3's intro echo (same file) updated in lockstep so the file does not contradict itself between the box and its own section header, as the prior round did for the previous wording. - design.md D-3 "Amended at ratification" item 1: restated so the heading and body agree that the unattended condition is this amendment's own addition, not something box 4.2 already carries. - review/ratification-2026-09-11.md: the same criterion, replacing the sentence that called box 4.2 itself "the THIRD consecutive unattended codexFactory cycle". - README.md OpenSpec Records row (two sentences, lines ~544 and ~565): summarised in the same terms -- "a third cycle, itself fully unattended" -- rather than attributing the unattended condition to box 4.2's own count. - proposal.md "What is NOT proposed": the "No ratification ... every document is Status: draft" bullet is now prefixed "At filing (2026-09-10, PR #910):" and gains one sentence, "Ratified with amendment 2026-09-11 -- see review/ratification-2026-09-11.md.", per the fifth thread (proposal.md:29). The bullet is kept, not deleted. The ratification record's RULED form is unchanged: Status: ratified, one Ratified: citation line. GATES, RUN ON THIS COMMIT. - OPENSPEC_TELEMETRY=0 openspec validate admit-review-lane-repin-to-merge-approval-envelope --strict -> "Change 'admit-review-lane-repin-to-merge-approval-envelope' is valid". - OPENSPEC_TELEMETRY=0 openspec validate --all --strict -> 97 passed, 3 failed (100 items). Verified IDENTICAL on origin/main (fa94dfb) via a side-by-side worktree run: same 97/3 split, same three failing items (change/disposition-codexfactory-declared-renames, change/disposition-codexfactory-floor-relocation-retitle, spec/repo-boundary-governance) -- pre-existing, unrelated to this diff. - python3 -m pytest -q tests/doc-health -p no:cacheprovider -> 1689 passed, 7 warnings (unrelated tarfile DeprecationWarning), 381.76s. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Sonnet 5 <[email protected]>
…e contradicts; the counted unit is box 4.2's, the codexFactory merge alone Copilot review thread (PRRT_kwDOTAvnrs6hVWih, tasks.md:116, posted 03:52:30Z on head e88687a): 1.5.a's "What counts as a cycle" sentence defined a cycle as "one codexFactory regeneration pull request merging, paired with its openxFactory re-pin half" -- but the parent's own box 3.4 (extend-merge-master-envelope-to-floor-bot-lanes/tasks.md) records that the re-pin lane's last pull request is #764 (merged 2026-09-07) and "no bot/review-lane-repin pull request has been opened since", so the 2026-09-09/10 cycles (#314, #325) have no re-pin artifact of "that same cycle" at all. 1.5.a nevertheless counted #314 and #325 as its first two under the pairing definition it stated, which its own cited evidence does not support. THE FIX, as directed: remove the pairing requirement rather than stop counting #314/#325 -- the unit is exactly what the parent's box 4.2 counts, quoted in the same box one sentence earlier: "merges per advance of the pinned core". One codexFactory regeneration pull request merging IS one cycle; no paired openxFactory re-pin pull request is required or implied. The rewritten sentence cites box 3.4's own no-re-pin-artifact finding directly, so the box states why #314/#325 still validly count rather than leaving the reader to take it on faith. The "Evidence needed to tick" sentence's "the approval URL for that cycle's re-pin advance" -- the same pairing assumption smuggled into the evidence list -- is corrected to "the merge-master App's approval URL on that same pull request", matching the "approved by the merge-master App" condition already stated earlier in the box. UNTOUCHED, on purpose: the amendment's unattended-on-top-of-4.2 strengthening (the qualifying third cycle must itself be bot-opened, App-approved, app-merged, zero human acts; #314 counts toward box 4.2's three but is not unattended, on its hand dispatch; #325 is) -- that is the prior fix-round's (e88687a) correct resolution of Copilot's earlier threads and this round does not touch it. Checked design.md's D-3 note, review/ratification- 2026-09-11.md and the README row for the same "paired"/"re-pin half" wording: none of the three restates a cycle-counting unit at all (each just says "a third consecutive [...] cycle" without defining "cycle"), so none needed edit -- grep confirms zero remaining "paired"/"re-pin half" hits anywhere in the packet or README.md. proposal.md:119 and .openspec.yaml:31 keep their own "the openxFactory re-pin half was driver-produced by hand" sentence unedited: that is a true historical narration of one specific cycle (#325 codexFactory + #883 openxFactory, the "why now" figure that justified filing this packet, comment 5618883586) and never asserted the 1.5.a pairing requirement in the first place. The ratification record's RULED form is unchanged: Status: ratified, one Ratified: citation line. GATES, RUN ON THIS COMMIT. - OPENSPEC_TELEMETRY=0 openspec validate admit-review-lane-repin-to-merge-approval-envelope --strict -> "Change 'admit-review-lane-repin-to-merge-approval-envelope' is valid". - OPENSPEC_TELEMETRY=0 openspec validate --all --strict -> 97 passed, 3 failed (100 items); the three failures (change/disposition-codexfactory- declared-renames, change/disposition-codexfactory-floor-relocation- retitle, spec/repo-boundary-governance) are the same pre-existing, unrelated set the prior fix-round (e88687a) verified identical to origin/main. - python3 -m pytest -q tests/doc-health -p no:cacheprovider -> 1689 passed, 7 warnings (unrelated tarfile DeprecationWarning), 403.71s. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Sonnet 5 <[email protected]>
…ENT: realization held until the third unattended cycle and the unrecorded-class fix are observed (#943) * Ratify admit-review-lane-repin-to-merge-approval-envelope WITH AMENDMENT (Brett Heap, 2026-09-11 ~01:15Z, selection "Ratify with amendment") RULING. Brett Heap, openxFactory repository owner, first-hand, in session, 2026-09-11T01:15Z (approx.). A SELECTION, NOT A TYPED SENTENCE: presented with the lane's multi-choice question, he chose the option "Ratify with amendment", whose text read: "Ratify the text now; hold realization until the third unattended codexFactory cycle is measured and the unrecorded-class fix is observed on a live approval." Recorded on openxFactory #745 (the CLAIMED comment, #745 (comment)) — this selection has no separate codexFactory #232 posting, unlike the earlier filing word. Recorded in review/ratification-2026-09-11.md. WHAT FLIPPED. - proposal.md: Status: draft -> ratified; added a Ratified: citation line (approver + date + record path). The stale "RATIFICATION IS OWED"-style prose ("THE WORD AUTHORIZED THE FILING, NOT THE CONTENT...", "UNTIL THIS PROPOSAL IS RATIFIED, N-1 STANDS...", "NOTHING IN THIS PACKET DISTURBS EITHER RULING...") corrected in place to say ratification happened and what it changed, on the accept-sequenced-after-header-line 208f88d precedent. - design.md: Status: draft -> ratified; added a self-citing Ratified by: line; D-3 gains an "Amended at ratification" subsection stating the two held preconditions verbatim; D-1 through D-8 otherwise STAND AS RECOMMENDED. - tasks.md: lead paragraph updated to record the ruling; 1.1, 1.2, 1.3 ticked with dated RULED annotations quoting the disposition; 1.4 left unticked with a "stand as recommended" note (not named individually by the word, per the accept-sequenced-after-header-line 0.4/0.5 precedent); 1.5 rewritten as the amended gate with two evidence sub-boxes (1.5.a the third unattended cycle, 1.5.b codeXfactory/codexFactory PR #369 observed fixed on a live approval); Section 3's heading and lead note the additional hold. - .openspec.yaml: origin.approved_by / origin.approved_on added beside the existing drafting-only proposed_by, per add-drafted-proposal-origin's "approval is a pure ADDITION" rule. - README.md: the OpenSpec Records active-changes row moved DRAFT -> RATIFIED WITH AMENDMENT, citing the record; the now-stale "filing is not ratifying" / "UNTIL THIS PROPOSAL IS RATIFIED" sentences corrected in place. - New: review/ratification-2026-09-11.md — Status: ratified, Kind: report, Decision date, Ratifier, and exactly one Ratified: citation line (matched to disposition-codexfactory-floor-relocation-retitle's and accept-sequenced-after-header-line's form); records the selection, the three acts in one selection, what is ratified (D-1..D-8, N-1 re-opened toward N-1(b)), what this ratification does NOT do (no realization, no merge), the order of events, and citations. THE AMENDMENT, ENCODED EXACTLY. D-3's own recommendation (land the enrolment INERT) is NOT reversed. What is added: REALIZATION (tasks.md Section 3 -- the envelope entry, the sole_candidate() replacement, the witness edit) is HELD, beyond this packet's own Section 4 preconditions, until BOTH: 1.5.a the third consecutive unattended codexFactory cycle is measured (extend-merge-master-envelope-to-floor-bot-lanes tasks.md box 4.2; two of three measured as of this ruling: codexFactory #314 -> b08958ae, #325 -> df42f803); 1.5.b the "Candidate class: unrecorded" rendering defect (extend-merge-master-envelope-to-floor-bot-lanes review/gate-rules-council-admitting-record-2026-09-10.md Section 3.5) is fixed (codeXfactory/codexFactory PR #369) AND observed fixed on one live approval. GATES, RUN ON THIS COMMIT (pinned CLI @fission-ai/[email protected], per contracts/openspec-cli-pin.yaml). - OPENSPEC_TELEMETRY=0 openspec validate admit-review-lane-repin-to-merge-approval-envelope --strict -> "Change ... is valid", exit 0. - OPENSPEC_TELEMETRY=0 openspec validate --all --strict -> 98 passed, 2 failed (100 items), exit 1 -- IDENTICAL before/after via git-stash on this same tree; the two failures (add-chain-attestation, add-composed-view-authoring) are pre-existing and unrelated. - python3 scripts/doc-health.py --single-repo . --family ratified-provenance / --family status-validity: zero findings naming this packet in either family (a first pass found ONE -- the checker reads only the first PHYSICAL line after "Ratified:" for its approver/date/path floor, and this packet's own line-wrap had pushed "by Brett Heap" past line one; fixed by keeping the approver clause on line one, matching the two precedent files' shape). - python3 scripts/doc-health.py --single-repo . (full sweep, all families): 32 critical, 5 error, 47 warning, 16 info, IDENTICAL before/after via git-stash on this same tree ("New regressions vs previous report: 0" both times). - python3 -m pytest -q tests/doc-health -p no:cacheprovider -> 1689 passed, 7 warnings. NOTHING IS REALIZED BY THIS RATIFICATION. No envelope byte, no workflow, no test, no ruleset, no floor, no pin byte moves, in this commit. Every box in tasks.md Section 3 stays unticked and -- by the amendment -- may not be started by an agent until 1.5.a and 1.5.b both tick. This commit does not merge the pull request; the merge follows on a separate landing act under this repository's Rule 6. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Sonnet 5 <[email protected]> * Fix-round: align 1.5.a with parent box 4.2's literal criterion; correct README's stale "only tick" sentence Two Copilot review threads on PR #943: (a) tasks.md 1.5.a cited extend-merge-master-envelope-to-floor-bot-lanes box 4.2 as requiring "the third consecutive unattended cycle", but 4.2's own text only requires a third consecutive cycle's per-cycle human cost to be measured (it counts codexFactory #314 despite its one hand-dispatched leg). 1.5.a now quotes 4.2 verbatim and states what is measured, over how many cycles, and what counts as a cycle, so the two gates are literally the same gate. The section-3 intro's echo of the same criterion is updated in lockstep (same file, same box). 1.5.b is untouched. (b) The README OpenSpec Records row still said this change's only tick anywhere was the mirror amendment's box 4.3 (true of the filing, PR #910, alone) after the ratifying diff (this PR, #943) also ticked tasks.md 1.1-1.3 locally. The row now attributes 4.3's tick to PR #910 by name and states the local 1.1-1.3 ticks and the 1.5 hold. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Sonnet 5 <[email protected]> * Fix-round: 1.5.a must add an unattended condition ON TOP of box 4.2, not restate box 4.2 as if it already carried one The prior fix-round commit (26a272b) resolved Copilot's first tasks.md thread by making 1.5.a quote parent box 4.2 verbatim "so the two gates are the same gate" -- but box 4.2 only requires three consecutive MEASURED cycles (it counts codexFactory #314 toward its three despite #314's one hand-dispatched approval leg). Brett Heap's ratified selection said "the third UNATTENDED codexFactory cycle" -- stricter than box 4.2. Making the two gates literally identical silently dropped the unattended condition: a third hand-dispatched cycle would have satisfied 1.5.a as it stood. Copilot caught this immediately on the new head, in four more threads (README.md:549, design.md:285, review/ratification-2026-09-11.md:91, tasks.md:103) plus one pre-existing, unrelated thread on proposal.md:29. THE FIX, the same criterion in every place that states it: Sub-box 1.5.a holds until a third consecutive measured cycle exists (box 4.2's own count -- codexFactory #314 and #325 are the first two) AND that third cycle is itself fully unattended: opened by openxfactory[bot], approved by the merge-master App, and merged by app/openxfactory, with ZERO human acts on it -- no workflow_dispatch, no click, no admin merge -- evidenced by the PR number, the merge sha, the approval URL, and the absence of any human event on its timeline. #314 counts toward box 4.2's three but does NOT itself satisfy the unattended condition, on its one hand-dispatched approval leg; #325 does, carrying no human act at all. Applied in all five places named across the four threads: - tasks.md 1.5.a: rewritten with the criterion above; box 4.2 is quoted only to show what it does NOT require, and the added condition is stated as this box's own, layered on top. Section 3's intro echo (same file) updated in lockstep so the file does not contradict itself between the box and its own section header, as the prior round did for the previous wording. - design.md D-3 "Amended at ratification" item 1: restated so the heading and body agree that the unattended condition is this amendment's own addition, not something box 4.2 already carries. - review/ratification-2026-09-11.md: the same criterion, replacing the sentence that called box 4.2 itself "the THIRD consecutive unattended codexFactory cycle". - README.md OpenSpec Records row (two sentences, lines ~544 and ~565): summarised in the same terms -- "a third cycle, itself fully unattended" -- rather than attributing the unattended condition to box 4.2's own count. - proposal.md "What is NOT proposed": the "No ratification ... every document is Status: draft" bullet is now prefixed "At filing (2026-09-10, PR #910):" and gains one sentence, "Ratified with amendment 2026-09-11 -- see review/ratification-2026-09-11.md.", per the fifth thread (proposal.md:29). The bullet is kept, not deleted. The ratification record's RULED form is unchanged: Status: ratified, one Ratified: citation line. GATES, RUN ON THIS COMMIT. - OPENSPEC_TELEMETRY=0 openspec validate admit-review-lane-repin-to-merge-approval-envelope --strict -> "Change 'admit-review-lane-repin-to-merge-approval-envelope' is valid". - OPENSPEC_TELEMETRY=0 openspec validate --all --strict -> 97 passed, 3 failed (100 items). Verified IDENTICAL on origin/main (fa94dfb) via a side-by-side worktree run: same 97/3 split, same three failing items (change/disposition-codexfactory-declared-renames, change/disposition-codexfactory-floor-relocation-retitle, spec/repo-boundary-governance) -- pre-existing, unrelated to this diff. - python3 -m pytest -q tests/doc-health -p no:cacheprovider -> 1689 passed, 7 warnings (unrelated tarfile DeprecationWarning), 381.76s. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Sonnet 5 <[email protected]> * Fix-round: 1.5.a drops the re-pin pairing requirement its own evidence contradicts; the counted unit is box 4.2's, the codexFactory merge alone Copilot review thread (PRRT_kwDOTAvnrs6hVWih, tasks.md:116, posted 03:52:30Z on head e88687a): 1.5.a's "What counts as a cycle" sentence defined a cycle as "one codexFactory regeneration pull request merging, paired with its openxFactory re-pin half" -- but the parent's own box 3.4 (extend-merge-master-envelope-to-floor-bot-lanes/tasks.md) records that the re-pin lane's last pull request is #764 (merged 2026-09-07) and "no bot/review-lane-repin pull request has been opened since", so the 2026-09-09/10 cycles (#314, #325) have no re-pin artifact of "that same cycle" at all. 1.5.a nevertheless counted #314 and #325 as its first two under the pairing definition it stated, which its own cited evidence does not support. THE FIX, as directed: remove the pairing requirement rather than stop counting #314/#325 -- the unit is exactly what the parent's box 4.2 counts, quoted in the same box one sentence earlier: "merges per advance of the pinned core". One codexFactory regeneration pull request merging IS one cycle; no paired openxFactory re-pin pull request is required or implied. The rewritten sentence cites box 3.4's own no-re-pin-artifact finding directly, so the box states why #314/#325 still validly count rather than leaving the reader to take it on faith. The "Evidence needed to tick" sentence's "the approval URL for that cycle's re-pin advance" -- the same pairing assumption smuggled into the evidence list -- is corrected to "the merge-master App's approval URL on that same pull request", matching the "approved by the merge-master App" condition already stated earlier in the box. UNTOUCHED, on purpose: the amendment's unattended-on-top-of-4.2 strengthening (the qualifying third cycle must itself be bot-opened, App-approved, app-merged, zero human acts; #314 counts toward box 4.2's three but is not unattended, on its hand dispatch; #325 is) -- that is the prior fix-round's (e88687a) correct resolution of Copilot's earlier threads and this round does not touch it. Checked design.md's D-3 note, review/ratification- 2026-09-11.md and the README row for the same "paired"/"re-pin half" wording: none of the three restates a cycle-counting unit at all (each just says "a third consecutive [...] cycle" without defining "cycle"), so none needed edit -- grep confirms zero remaining "paired"/"re-pin half" hits anywhere in the packet or README.md. proposal.md:119 and .openspec.yaml:31 keep their own "the openxFactory re-pin half was driver-produced by hand" sentence unedited: that is a true historical narration of one specific cycle (#325 codexFactory + #883 openxFactory, the "why now" figure that justified filing this packet, comment 5618883586) and never asserted the 1.5.a pairing requirement in the first place. The ratification record's RULED form is unchanged: Status: ratified, one Ratified: citation line. GATES, RUN ON THIS COMMIT. - OPENSPEC_TELEMETRY=0 openspec validate admit-review-lane-repin-to-merge-approval-envelope --strict -> "Change 'admit-review-lane-repin-to-merge-approval-envelope' is valid". - OPENSPEC_TELEMETRY=0 openspec validate --all --strict -> 97 passed, 3 failed (100 items); the three failures (change/disposition-codexfactory- declared-renames, change/disposition-codexfactory-floor-relocation- retitle, spec/repo-boundary-governance) are the same pre-existing, unrelated set the prior fix-round (e88687a) verified identical to origin/main. - python3 -m pytest -q tests/doc-health -p no:cacheprovider -> 1689 passed, 7 warnings (unrelated tarfile DeprecationWarning), 403.71s. Refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5 <[email protected]>
…ured from the API (#1127) Lane: openxfactory-2 (openXfactory-2) **THE WORD, verbatim: "do 1 and 2, claim 5"** — Brett Heap, 2026-09-21T20:24:51Z, in session to lane `openxfactory-2` (display `openXfactory-2`), recorded on openxFactory [#745](#745 (comment)) (comment 5767008640). **Item 1 is this box**: measure the THIRD consecutive cycle for `extend-merge-master-envelope-to-floor-bot-lanes` § 4.2 and record it. **THE RESULT: THE THIRD CYCLE EXISTS, IT WAS FULLY UNATTENDED, AND THE BOX TICKS.** The brief allowed for the opposite outcome — that `floor-regeneration` had reported "nothing owed" hourly since 2026-09-10T17:22Z and there had been no third cycle, in which case the box stays open with a dated "still two" annotation. That is not what the API says: the lane owed nothing until **2026-09-18**, and then ran. ## The measurement — codexFactory half, three consecutive cycles | # | pull request → merge | merged at | merged by | human acts | |---|---|---|---|---| | 1 | [#314](codeXfactory/codeXfactory#314) → `b08958ae` | 2026-09-09T23:27:22Z | `openxfactory[bot]` | **ONE** — `brettheap` re-dispatched the approval leg (run `34407492987`, `run_attempt` **2**, `triggering_actor` `brettheap`). The 2026-09-10 note's "one hand dispatch", now verified independently | | 2 | [#325](codeXfactory/codeXfactory#325) → `df42f803` | 2026-09-10T01:55:14Z | `openxfactory[bot]` | **NONE** | | 3 | [#491](codeXfactory/codeXfactory#491) → `b21f0100` | 2026-09-18T22:50:17Z | `openxfactory[bot]` | **NONE** | **Cycle 3 in full.** codexFactory #491, head `floor/bot-regeneration` at `2e45de457b543e14edbfc9188b7f007696ed7c73`, author `openxfactory[bot]`, base `main`, opened 2026-09-18T22:23:53Z, merged 26 min 24 s later, changing exactly one path — `floor/openxfactory-review-authority-floor.yaml` (+4 −3). Auto-merge enabled by `openxfactory[bot]` three seconds after opening. Every timeline actor a bot (`openxfactory[bot]`, `github-actions[bot]`, `sonarqubecloud[bot]`, `codexfactory[bot]`), no human among them. All four head runs at `run_attempt` 1, `triggering_actor` `openxfactory[bot]`, on `pull_request`/`pull_request_target`. Approving evaluation run [`35403220985`](https://github.com/codeXfactory/codexFactory/actions/runs/35403220985) (`check_suite`, `triggering_actor` `openxfactory[bot]`) submitted review `5253277461` as `codexfactory[bot]` at 22:50:04Z. **The decisive negative: every one of the 128 `floor-regeneration` runs in codexFactory since 2026-09-10 fired on the `schedule` event, and NOT ONE on `workflow_dispatch`.** No approval leg was hand-dispatched anywhere in the window covering cycles two and three. (A scheduled run renders `triggering_actor: brettheap` because GitHub attributes cron to the workflow's last committer; the `event` is `schedule` and it is not a human act. Stated out loud because the field invites the opposite reading.) **Consecutive, proved rather than assumed.** The only commit on codexFactory `main` touching `floor/openxfactory-review-authority-floor.yaml` since 2026-09-10T02:00Z is `2e45de45` (#491's own). The only other `floor/bot-regeneration` pull request in the eight-day gap is **#382**, box 3.3's constructed negative control — authored by `brettheap`, titled "NEVER MERGE", closed unmerged. No cycle was skipped, parked, or human-merged between #325 and #491. ## The before/after figure **BEFORE, re-measured the same way rather than quoted forward:** codexFactory #248 (`7f147070`), #254 (`307d38f1`), #265 (`aced582b`), #273 (`4b12ba83`) were each merged by `brettheap`, and so was each paired openxFactory re-pin — #732 (`9ffc6252`), #747 (`d5a549e4`), #764 (`8d92bfaf`). #273 → `4b12ba83` and #764's title *"Advance the pinned decision core to `4b12ba83…`"* are one matched pair, which is what makes the pairing a measurement. **Two human merges per advance of the pinned core, one per repository.** **AFTER — human MERGES per advance: ZERO**, across all three cycles and, as of cycle three, in both repositories. **Human ACTS per advance: ONE**, and it is the openxFactory re-pin half's **approving review** — the half decision N-1's recommended scope deliberately left under a human word. Cycle three is the first cycle in which that half ran as a bot pull request at all, so it is the first whose figure is readable end to end: openxFactory [#1122](#1122), head `bot/review-lane-repin` at `7fd34286`, author `openxfactory[bot]`, titled *"Advance the pinned decision core to `b21f010013fa51960c77377a8582943435b6db32`"* — **#491's own merge sha, which is what ties the two halves into ONE cycle rather than two coincidences** — opened 2026-09-18T23:24:43Z with auto-squash enabled by the bot, **APPROVED by `brettheap` at 2026-09-19T00:53:32Z** after waiting 1 h 28 min 49 s, merged by `openxfactory[bot]` **five seconds after that approval** at 2026-09-19T00:53:37Z, merge `38f826c2`. `contracts/review-lane-pin.yaml:60` on `main` now reads `core_commit: "b21f010013fa51960c77377a8582943435b6db32"` — the cycle is closed end to end. **The cost fell from two human merges to one human approving review, and the button itself is now bot-pressed in both repositories.** Cycles one and two have no re-pin artifact of their own (§ 3.4's standing finding); their pin advance was folded into hand-authored openxFactory #922, authored *and* merged by `brettheap` 2026-09-10T21:55:20Z. That is why the end-to-end figure is measured over one cycle while the **admitted** lane's own half — all this packet changed — is measured over three, which is what the box's text asks for. ## Two things this hands other boxes — named, not performed 1. **#491's approval record renders `Candidate class: openxfactory-floor-regeneration` in full**, with the kill-switch sentence beside it. The `unrecorded` rendering that § 3.1 and the council record's **R-7** stay open on is **FIXED on the live approval path**. § 3.1 is not this box's to tick and is left open for its own author to read the run. 2. The sibling packet `admit-review-lane-repin-to-merge-approval-envelope` was RATIFIED WITH AMENDMENT holding realization until *"the third unattended codexFactory cycle is measured and the unrecorded-class fix is observed on a live approval"*. **Both preconditions are met by the evidence above.** Recorded for that packet's author rather than acted on here. Its enrolment is still absent from openxFactory `.github/merge-approval-envelope.yml` (sole candidate remains `expected_head_ref: intents/rolling`) — which is *why* #1122 needed the human review, so the reading is consistent rather than merely compatible. Also superseded: `amend-kill-switch-to-declared-test-companion`'s premise that no bot cycle exists to observe ("nothing owed" since 2026-09-10T17:22Z) was true when written and is not any more. Named, not acted on. ## What this pull request changes **One file, 135 insertions, 1 deletion:** `openspec/changes/extend-merge-master-envelope-to-floor-bot-lanes/tasks.md`. - § 4.2 ticked `[x]` with a dated **2026-09-21** annotation carrying the whole measurement. - A dated **2026-09-21** superseding section appended at the end, stating the 2026-09-10 addendum table's row `| § 4.2 human cost after | OPEN | two consecutive cycles measured; the box requires three |` as **history** and giving its current state as **TICKED**. **A JUDGMENT, STATED RATHER THAN BURIED.** The brief directed the summary table row to be edited. That row exists in exactly one place in the repository — `tasks.md:830` — and it sits inside a table the file's own rule opens with: *"APPENDED, NOT A REWRITE."* Editing a dated record in place would break the discipline every prior act in this file kept. So the row is **superseded by a later dated section** — the same form PR #927's superseding paragraph and the 2026-09-11 sections used, and for the same reason. Nothing dated is rewritten. **The checklist state after this PR:** open by their own text — 3.1, 3.4, 3.6, 4.1, 4.4 (`grep -n '^- \[ \]'` confirms exactly these five). § 4.2 leaves that list; 29 boxes ticked. **The packet is NOT archived** — § 4.4 is separately open by its own text and this PR does not touch it, and § 4.1's evidence set is not assembled while 3.1, 3.4 and 3.6 stand open. ## Validation, all run in the foreground on this head | command | result | |---|---| | `OPENSPEC_TELEMETRY=0 openspec validate extend-merge-master-envelope-to-floor-bot-lanes --strict` | **valid** | | `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` | **106 passed, 1 failed** (107 items). The one failure is `add-chain-attestation` (`signed-execution-chain/spec.md`, a MODIFIED block omitting a scenario) — pre-existing on `origin/main` and untouched by this PR, whose diff is one file in a different change directory. Note for the record: COMMON.md expects *two* pre-existing failures; `add-composed-view-authoring` is no longer among the active changes, so only one remains | | `python3 scripts/proposal-support.py . verify` | **proposal support verification ok** | | `python3 scripts/validate-sequenced-after.py . --ledger-diff` | **per-change sweep ledger consistent with the corpus (222 rows)**; 44 active + 178 archived; deepest declared chain 4 hops | | `python3 scripts/doc-health.py --single-repo . --family modified-block-currency` | **exit 0**, 12 findings, all `severity=info class=contested`, **0 naming this packet** — all pre-existing in other change packets. This PR adds no spec delta, so it cannot move this family | Lands under Rule 6 on Brett Heap's landing word when the eight required checks are green and Copilot is clean. refs #745 🤖 Generated with [Claude Code](https://claude.com/claude-code) ## Summary by Sourcery Complete the § 4.2 measurement by documenting three consecutive API-verified cycles and the resulting reduction in human intervention. Enhancements: - Record the third consecutive post-change cycle and confirm the per-cycle human cost decreased from two human merges to zero, with one approving review remaining in the end-to-end cycle. Chores: - Mark checklist item § 4.2 complete while preserving dated historical entries through an appended superseding record.
Task 4.2 of
add-promotion-fidelity-check— the last act of Brett's ruled sequence (task 4.1's read-back, PR #315): the header discharges landed (hermes-install #42, medx-roottruth #1), the standing population is discharged (#316), and the corpus reads ZERO findings on live mains across 14 governed submodules, re-measured at exact shas rather than read from PR bodies._LAUNCH_SEVERITY→ error,FAMILY_RESOLUTIONgainspromotion-fidelity: CONTESTED; both site comments supersede task 2.3's recorded absence-reason in words rather than deleting it. Mutation-pinned as an invariant: reverting severity alone fails 5 tests; removing the resolution row alone fails 2.--fail-on error).installs/repos are structurally outside aggregation runs (their zeros are single-repo measurements; pre-existing, shared by all 18 families).Gates, exit codes direct:
tests/doc-health805;-k workbench140;openspec validate --all --strict76/76; whole-repo doc-health byte-identical at the branch base (the merged head carries one unrelated critical from #322's evidence doc, zero promotion-fidelity findings).🤖 Generated with Claude Code