Skip to content

Land the lifecycle enforcement: four families read the OpenSpec scan set live - #284

Merged
brettheap merged 3 commits into
mainfrom
change/lifecycle-enforcement
Aug 24, 2026
Merged

brettheap merged 3 commits into
mainfrom
change/lifecycle-enforcement

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

The slice govern-openspec-corpus-membership exists for. LIFECYCLE_SCAN (the two ruled globs) joins corpus.py; Context.lifecycle_docs is walled off from inventory, catalog, census, and canon-share (proven by rendered-byte invariance tests); the four ruled families read the union through one auditable accessor; no severity special-casing of any kind, per OQ-6's negative instruction.

  • The 5D.2 gate reads ZERO through the real code path: 126 scan-set docs, 0 CRITICAL / 0 ERROR across all four families; whole-repo report identical to base except three named non-finding census lines. Run against the undischarged base it reads exactly the four stragglers and no fifth — the discharge-before-enforcement ordering demonstrated.
  • Four stragglers discharged (two landed mid-build): one ratified via its own in-value ratification sentence (5A.4's defect shape reborn — the enforcement's reason for existing), two honest drafts with no ratification act on any route (re-hunted adversarially, confirmed), one review record's derived citation (OQ-5's shape, fourth occurrence).
  • 17 new tests (744 total), 16+ mutations killed — including a genuine platform-inert survivor caught and double-pinned with live bait fixtures, and the two frozen historical-defect fixtures (phase-b's uncited header; roster-device's out-of-window one, equivalence to the full blobs measured across all seventeen families).
  • Brett's two rulings encoded: enforcement lands with the domain repos' findings surfacing as ADVISORY — the pinned-SHA per-repo table (domain subtotal 36 CRITICAL / 75 ERROR over 159 docs in seven repos) is recorded in 5D and the register, with seven named per-domain follow-ups owed to their own governance; and the raw review-glob stands with the delta text widened (taxonomy reaches every review record; the citation rule binds only ratified — openxFactory's 8 non-ratification records already conform, zero cost).
  • Review fixes: the membership guard the byte-exact-evidence scenario's MUST demands (segment filter, four probe fixtures, four mutation kills); the seventeen-family count corrected inside the MODIFIED block this change authors; the second independent pins for the runner-wiring mutations; read-back corrections per the adversarial review.

Gates, exit codes direct: openspec validate --all --strict 74/74; tests/doc-health 744; -k workbench 140; whole-repo doc-health 4/8/68/4, 0 regressions, three moved census lines each named and summed to the doc edits' own word counts.

🤖 Generated with Claude Code

brettheap and others added 3 commits August 23, 2026 21:53
…e slice 5C

Slice 5D of govern-openspec-corpus-membership owns the delta the discharge
slices could not enumerate: whatever landed on main after they closed. 5C's
census predicted two. There were three at 4246592 and four at ded0826, which
arrived mid-build. Each is another session's ACTIVE packet, so each took the
smallest edit that discharges its finding and nothing else in those packets
was touched.

declare-client-standing-policy-contract carried the whole ratification
sentence inside its Status: value -- the same free-form shape slice 5A.4
fixed on add-wallet-carried-review-authority, reborn on a new document three
commits later by an author with no way to know the rule. Split into
Status: ratified plus one Ratified: line at real line 5, `by` before the name
so the approver axis reads it, every word of the clause kept, clearing the
floor on approver and date.

create-medxchart-overlay-boundary and create-medxpractice-overlay-boundary
derive to Status: draft with no citation, and that is a derivation rather
than a fallback. Neither record names a ratification act anywhere: the
.openspec.yaml files carry schema and created only -- no approved_by pair at
all -- the tasks.md files are implementation and verification throughout with
no ratification task, the five landing commits are single-line implementation
messages, no pull request exists, and the README rows say "local topology
realization completed" and never "ratified". Route (b), the archive act and
the promotion it performed, does not reach either: both are active and
neither's deltas are promoted. Completed realization is not ratification --
5A.3 settled that, and 5A's own correction shows what the opposite evidence
looks like when it exists.

add-notebook-hosting-credential-custody's review record is OQ-5's shape for
the fourth time, landed in ded0826 while this slice was being built. Slice
5A.2 predicted exactly this: it ruled on a live convention, not a closed set
of three. Discharged by 5A.2's own remedy -- one conforming Ratified: line
derived from the page's own Ratifier:/Decision date: pair, inserted beneath
the line it derives from, that pair left standing.

Measured through the real helpers before the commit: each edited document
reports exactly ONE citation line through families._header_lines, every
header lands inside corpus.STATUS_SCAN_LINES, and code_surface/target_release
stay in the window the dashboard reads them from. The scoped scan over the
four ruled families falls from 4 findings to 0.

This lands BEFORE the enforcement commit on purpose. A gate that goes red on
the commit that introduces it teaches everyone to route around the gate.

Co-Authored-By: Claude Fable 5 <[email protected]>
…can set

This is the slice govern-openspec-corpus-membership exists for. A change
packet's proposal.md and its review/ records now carry the lifecycle header
rules that every governed document carries, and the corpus measurements do
not move an inch because of it.

corpus.py declares LIFECYCLE_SCAN as the two globs OQ-2 ruled, and
load_lifecycle_docs beside load_docs -- the same Doc, the same _excluded, the
same parse_status and parse_kind. No eighth header reader was written;
align-status-reader-to-real-lines exists because this corpus grew seven of
them and they disagreed. runner.py gains one Context field, populated by the
loop that builds docs and joined to nothing: the inventory, the catalog, the
per-stage census and the canon share all read ctx.docs, and the scan set is
kept apart at the point of construction rather than filtered out downstream.
families.py gains ONE accessor, _lifecycle_scope, with exactly four call
sites; the four ruled families differ from their pre-change selves by one
token each and nothing else in the module changed.

No severity special-casing of any kind, per 2.4's negative instruction. A
headerless proposal is a full-severity ERROR whenever it was authored and an
uncited ratified header is a full-severity CRITICAL whenever it was written.
proposal_origin.py's pre-contract-legacy tier sits three lines away in the
same package and was deliberately not copied.

Seventeen tests in one new module, over two new fixture corpora. Membership
is asserted as the resolved path LIST, with the six excluded packet files
asserted present-on-disk and absent-from-the-set, because a count passes for
the wrong set. The invariance test compares RENDERED BYTES -- the canon-share
line, the whole per-stage section, both inventory shapes, the catalog
snapshot through catalog.render -- and then asserts the two reports DIFFER,
so it cannot pass over a build where nothing was wired. The two historical
defects are frozen as the real pre-fix records: roster-device byte-exact and
whole, because its defect IS a line number, and phase-b as its byte-exact
fifteen-line header window with the elision stated in the fixture and the
equivalence measured against the live blob.

Twelve mutations, every one killed, and ONE SURVIVED FIRST -- which is the
most useful thing in this commit. Adding location-conformance to the reader
list changed nothing observable, because no fixture document happened to
violate a location rule: the platform-inert class wearing a different hat.
Two fixes, both kept. The fixture gained bait documents that three
non-readers would report and all four readers ignore, with a test asserting
the bait really fires; and the reader list is now pinned structurally through
inspect.getsource over FAMILIES itself. Two further mutations were added
after the fact for the runner wiring, which no test had reached.

Slice 5D's gate, measured through this code path rather than through the
replay script the discharge slices had to use: 328 governed documents, 126
scan-set documents, zero overlap, and ZERO CRITICAL and ZERO ERROR across all
four ruled families over the scan set. The whole-repo run reads its baseline
measured at ded0826 -- 4 critical, 8 error, 68 warning, 4 info, 0 new
regressions -- with exactly two lines moved and both named: canon share 31.2%
to 31.3% and the standard stage's word total up 308, which is precisely the
308 words the document-lifecycle rule text gained. Documents examined is 328
on both sides.

One tension to report rather than smooth over: FAMILIES holds seventeen
entries and the promoted doc-health requirement says sixteen. staged-topic-
template was registered on 2026-08-15 and the count sentence never caught up,
so this change's own delta carries the stale number forward and its tasks
say "the other twelve" where the code has thirteen. Which four families read
the scan set is not ambiguous and is implemented exactly as ruled; the total
is wrong in a promoted requirement and needs its own correction.

Gates, exit codes taken directly: openspec validate --all --strict 74 passed
0 failed, exit 0; pytest tests/doc-health 741 passed (724 + 17), exit 0;
pytest tests/ideation-dashboard -k workbench 140 passed, exit 0. No
pre-existing test was edited, and conftest.py is untouched.

Co-Authored-By: Claude Fable 5 <[email protected]>
…s, the delta widens to its glob

The adversarial review on the enforcement slice returned FIX FIRST. Brett
ruled its two open points in session on 2026-08-23 and this commit encodes
and executes both, plus the review's four mechanical fixes and its nits.

M1, the domain populations. The review measured a large lifecycle-header
population across the domain repos' own OpenSpec packets, surfaced for the
first time by this enforcement, and offered it as a reason to hold. Brett
ruled the opposite: land it, because the findings are true and each domain
owes its own discharge under its own governance. The measurement was redone
at the aggregation repo's pinned submodule SHAs rather than at the local
checkouts, which are ahead of the pins and so report a number CI would not
reproduce. Every pinned SHA was reachable, so no row is a substitute state.
The per-repo table and seven named per-domain follow-ups are recorded in the
5D.4 read-back and, durably, in a dated addendum to the archive-record
discrepancies register, so they do not evaporate when this change archives.

S1, the review-record rule. The ruled glob reaches every review record; the
spec delta had narrowed it in prose to ratification records alone, while the
document-lifecycle prose had already been written wide. Brett ruled the wide
reading: the raw glob stands and the delta text widens. Both deltas and the
prose now say the same thing, and they say something none of them said
before, because widening a rule without stating its reach would be the same
error in the other direction: every review record owes a taxonomy status;
only a ratified one owes a citation. Measured before relying on it, since a
widening that moved the gate would be a different ruling. All eight of
openxFactory's non-ratification review records already carry Status: record,
so the widened rule produces zero new findings and the gate stays at zero.

The byte-exact-evidence rule is now enforced on membership rather than
disclosed as an open gap. The capability states it as a MUST NOT, and the
first cut answered it with a census of today's file names. A segment filter
excludes any path carrying supporting-docs, source-snapshots or evidence,
applied after the ruled globs resolve, so the globs themselves are untouched.
Four probe fixtures pin it, each matching a ruled glob and each carrying a
live defect, so the mutation dies behaviourally and not only on a path list.
One of the four exists because the segment-by-segment assertion caught the
source-snapshots clause being unpinned by the corpus's own layout.

The two runner mutations had one killer between them, which means one test
edit hid both. The invariance test gained an arm built through build_context
that states the governed corpus positively, and each mutation now fails two
named tests.

The stale sixteen-family count is corrected inside the MODIFIED block this
change authors, because landing that block would have re-ratified the error
under this change's name. The count moves to seventeen, the enumeration gains
staged-topic template, and the other twelve becomes thirteen.

Nits taken. The scoped doc-health comment that said both families read only
ctx.docs is corrected truthfully rather than deleted. The straggler read-back
is corrected on six points: six landing commits rather than five, the missed
one and why a packet-scoped git log could not see it, the README sentence
belonging to MedxChart alone, two README lines rather than one, this
campaign's own merged PRs cited as corroboration, and three stragglers
corrected to four. The claim that every word of one clause was kept is
replaced by what actually happened: reordered and repunctuated, disclosed.

Gates, exit codes read directly. The scoped gate through the enforcement code
path reads zero critical and zero error over openxFactory's 126-document scan
set. Whole-repo doc-health reads its base numbers unchanged, with exactly
three moved lines, none a finding, each attributable by measured word count
to one of the two edited governed documents. openspec validate --all --strict
74 of 74. tests/doc-health 744. The workbench directory gate 140. No
uppercase POST added in prose.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 24, 2026 02:44

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap
brettheap merged commit bf0bda0 into main Aug 24, 2026
2 checks passed
@brettheap
brettheap deleted the change/lifecycle-enforcement branch August 24, 2026 02:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds live lifecycle scanning for OpenSpec documents while preserving existing corpus metrics and inventory behavior.

Changes:

  • Adds an evidence-filtered lifecycle scan set and shared runtime accessor.
  • Wires four doc-health families to lifecycle documents.
  • Adds fixtures, regression tests, specifications, and lifecycle documentation.
  • Three review follow-ups remain: one moderate scope clarification and two nit-level count corrections.

Reviewed changes

Copilot reviewed 42 out of 42 changed files in this pull request and generated 3 comments.

Show a summary per file
File Summary
tests/doc-health/test_lifecycle_scan_set.py Tests lifecycle membership, wiring, invariance, mutation coverage, and historical regressions. Unresolved nit: update the stale “twelve” non-reader docstring to 13 (2 votes).
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/specs/widget/spec.md Lifecycle scan fixture for the governed widget specification.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/theta-record-bait/proposal.md Lifecycle proposal fixture covering record-bait behavior.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/gamma-free-form-status/proposal.md Lifecycle fixture for free-form status handling.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/eta-non-reader-bait/proposal.md Boundary fixture for non-reader behavior.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/epsilon-superseded/proposal.md Superseded lifecycle proposal fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/delta-unbacked-standard/proposal.md Unbacked-standard lifecycle proposal fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/beta-out-of-window/proposal.md Out-of-window lifecycle proposal fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/archive/2026-01-01-zeta-archived/proposal.md Archived lifecycle proposal fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/tasks.md Task fixture for the uncited-ratified scenario.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/supporting-docs/source-snapshots/proposal.md Supporting source-snapshot proposal fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/supporting-docs/source-snapshots/fragment.md Supporting source-snapshot fragment fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/supporting-docs/review/frozen-review-2026-01-02.md Frozen review-record fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/supporting-docs/fragment.md Supporting document fragment fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/specs/widget/spec.md Lifecycle specification fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/source-snapshots/proposal.md Source-snapshot proposal fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/review/ratification-2026-01-03.md Ratification record fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/review/finding-2026-01-04.md Review finding fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/proposal.md Ratified lifecycle proposal fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/evidence/run-record.md Evidence run-record fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/evidence/proposal.md Evidence proposal fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/openspec/changes/alpha-uncited-ratified/design.md Evidence design fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/docs/governed-standard.md Governed standard lifecycle fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/docs/governed-ratified.md Governed ratified lifecycle fixture.
tests/doc-health/fixtures/lifecycle-scan/openxFactory/docs/governed-draft.md Governed draft lifecycle fixture.
tests/doc-health/fixtures/lifecycle-historical/openxFactory/openspec/changes/archive/2026-08-22-add-roster-device-admission-surface/proposal.md Historical out-of-window defect fixture.
tests/doc-health/fixtures/lifecycle-historical/openxFactory/openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/proposal.md Historical uncited-header defect fixture.
scripts/ideation_dashboard/workbench.py Documents scoped doc-health behavior.
scripts/doc_health/runner.py Carries lifecycle documents in the runtime context.
scripts/doc_health/families.py Routes four families through the lifecycle scope. Unresolved nit: update the stale non-reader count to 13 (2 votes).
scripts/doc_health/corpus.py Defines and loads lifecycle scan paths with evidence filtering.
openspec/changes/govern-openspec-corpus-membership/tasks.md Records implementation tasks and gate evidence.
openspec/changes/govern-openspec-corpus-membership/specs/document-lifecycle/spec.md Defines lifecycle requirements for proposals and reviews.
openspec/changes/govern-openspec-corpus-membership/specs/doc-health/spec.md Defines scan-set scope and family invariants. Unresolved moderate finding: clarify that only ratification citation checks are conditional on ratified, or narrow the family scope/tests (2 votes).
openspec/changes/govern-openspec-corpus-membership/proposal.md Describes the lifecycle enforcement change.
openspec/changes/govern-openspec-corpus-membership/design.md Documents design decisions and measurements.
openspec/changes/declare-client-standing-policy-contract/proposal.md Lifecycle discharge proposal.
openspec/changes/create-medxpractice-overlay-boundary/proposal.md Lifecycle discharge proposal.
openspec/changes/create-medxchart-overlay-boundary/proposal.md Lifecycle discharge proposal.
openspec/changes/add-notebook-hosting-credential-custody/review/ratification-2026-08-23.md Adds the derived ratification citation.
docs/document-lifecycle.md Documents lifecycle obligations and scan-set rules.
docs/archive-record-discrepancies.md Records findings, measurements, and follow-ups.
Suppressed comments (7)

openspec/changes/govern-openspec-corpus-membership/tasks.md:603

  • The fix-lap read-back above records a +1,537 governance-word delta and three expected report-line changes from the two edited governed documents, but task 4.4 remains unchecked while still requiring the governance word total to be unchanged from baseline. That acceptance condition cannot be met by the result documented here; update 4.4 to the actual scan-set-vs-empty-set invariant (or explicitly account for the permitted document-edit delta) before treating the task plan as complete.
      **SUPERSEDED BY THE FIX LAP, and the earlier figures stand as what was
      true at `abc26d1`.** The lap edits a SECOND governed-corpus file
      (`docs/archive-record-discrepancies.md`, the M1 addendum), so the
      base-to-tip comparison is now THREE moved lines rather than two: the
      canon-share line, `| standard |` at +447, and `| record |` at +1090.
      The findings line is unchanged at `4 / 8 / 68 / 4, 0 new regressions`,
      documents examined stays 328, and the scan set stays 126. The full
      line-by-line account, with the word deltas measured per file, is in
      5D.4.

openspec/changes/govern-openspec-corpus-membership/tasks.md:430

  • The mutation matrix immediately below lists 17 mutation IDs (M1 through M7d), not twelve. Because this is the recorded mutation evidence for the gate, the heading should match the mutations actually pinned.
      **DONE — twelve mutations, every one killed, and ONE SURVIVED FIRST

openspec/changes/govern-openspec-corpus-membership/tasks.md:540

  • The gate checklist still records tests/doc-health as 741 (724 + 17), while this task's fix-lap record and final gate report 744 (724 + 20). Since 4.2 is the active gate checklist and is not marked as superseded, update its evidence to the final count.
      **DONE — `tests/doc-health` 741 passed, exit 0** (724 + the 17 this
      slice adds); **`tests/ideation-dashboard -k workbench` 140 passed,
      3858 deselected, exit 0.** No upper-cased HTTP write verb appears in

openspec/changes/govern-openspec-corpus-membership/tasks.md:2010

  • This 5D.2 read-back still says exactly two non-finding report lines moved, but the final gate read-back below records three (Canon share, standard, and record) and attributes +447/+1090 words. Align this gate evidence with the final measured result so the task does not contain two contradictory baseline comparisons.
        **The whole-repo run reads its measured baseline, `4 critical /
        8 error / 68 warning / 4 info, 0 new regressions`**, with exactly two
        non-finding lines moved and both attributed to §2.5's 308 words —
        the full line-by-line account is in §4.3's read-back.

tests/doc-health/test_lifecycle_scan_set.py:188

  • EVIDENCE_PROBES contains four entries, not three; this explanation omits the supporting-docs/review probe that the assertions below also protect.
    tests/doc-health/test_lifecycle_scan_set.py:734
  • These checks do not actually pin either fixture to the referenced historical blob: an unrelated phase-b file could contain 02a71d6 and the title, and any 130-line roster file could contain the banner while preserving the assertions. Because the defect depends on exact header placement and this test calls the files evidence, pin the expected bytes (for example, a SHA-256 of the verified blob/prefix) or compare against a checked-in canonical prefix.
    tests/doc-health/test_lifecycle_scan_set.py:521
  • This docstring says the bait runs two families, but the bait mapping below runs three: location-conformance, tag-hygiene, and record-immutability. The description should match the actual boundary coverage.

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

Comment on lines +91 to +95
A document in the lifecycle scan set is subject to the `document-lifecycle`
status and ratification-citation rules and to no other family's rules; the
citation half of that pair binds only a document whose status is `ratified`,
so a `review/` record carrying another taxonomy value is checked for its
status and for nothing else.
Comment on lines +168 to +169
which is what makes the "the other twelve families do not read the scan
set" test enforceable rather than aspirational.
def test_only_the_four_declared_families_read_the_scan_set(tmp_path):
"""§3.3. Driven from `FAMILIES`, both directions asserted.

The twelve non-readers must return the IDENTICAL findings whether the scan
brettheap pushed a commit that referenced this pull request Aug 24, 2026
The change was authored, ratified and fully realized on 2026-08-23, and its
record still read as though the campaign were ahead of it. This closes the
archive gate on the whole lifecycle-enforcement campaign.

REALIZATION, verified here rather than inherited. Four merged PRs, every one
REBASE-merged, so the branch commits are unreachable on main and are not
cited; what main carries, each confirmed an ancestor of origin/main, is
PR #279 (da1b0e9, 450735f) slice 5A, the thirteen active lifecycle-header
defects; PR #280 (d615da5) slice 5B, twenty-eight archived-record citations;
PR #283 (64d8087, 4246592) slice 5C, forty-four archived backfills; and
PR #284 (d4ab3ba, 7157fa3, bf0bda0) slice 5D, the four accumulated stragglers
discharged first on a tree with no gate, then the enforcement, then the review
fix lap. 5D.3's branch-local c8356cd and abc26d1 are the pre-rebase spellings
of d4ab3ba and 7157fa3 and were checked as not ancestors. The realized surface
was read on the base before anything moved: LIFECYCLE_SCAN, EVIDENCE_PARTS and
load_lifecycle_docs in corpus.py, the lifecycle_docs field in runner.py, and
_lifecycle_scope at exactly four call sites in families.py.

target_release names no contract bundle and no release tag is owed, so the
gate is merge plus green. Nothing under contracts/schemas/ moved in any of the
eight realization commits, checked one at a time. Base gates on bf0bda0, exit
codes read directly: openspec validate --all --strict 74/74 exit 0,
tests/doc-health 744 passed, workbench 140 passed, doc-health --single-repo at
4 critical / 8 error / 68 warning / 4 info, and the 5D.2 zero gate through
runner.build_context at 0 CRITICAL / 0 ERROR over a 126-document scan set.

BARE CLI, on the checked predicate. .openspec.yaml declares origin.kind
ad_hoc with no staging topic and the packet owns no supporting-docs, so
document-lifecycle's retention requirement, scoped in its own first clause to
a change WITH proposal supporting documents, has nothing to bind. Followed
sanction-ratified-record-spelling. All six files hash identically either side
of the move. The folder is dated 2026-08-24 because the CLI stamps UTC and the
act ran at 22:57 local; the same one-day-ahead spelling is already on record
for add-roster-device-admission-surface and add-dashboard-account-menu, so the
folder was not renamed to look tidier.

The packet stays inside its own gate, which is measured rather than assumed:
the glob matches at any depth, the scan set holds 126 documents before and
after, and the count under openspec/changes/archive/ moves 96 to 97 as this
proposal joins it, still parsing Status ratified with a floor-clearing
citation.

PROMOTION VERIFIED by requirement-map diff per requirement and by name,
captured before the archive and re-captured after, not by reading the CLI
summary. document-lifecycle: 13 to 14 requirements, zero dropped, 57 to 63
scenarios, the added requirement arriving with its six, and all thirteen
pre-existing requirements byte-identical. doc-health: 24 to 25 requirements,
zero dropped, 93 to 98 scenarios, the added requirement arriving with its
five, the modified Deterministic check families keeping all eight of its
scenarios while growing 5194 to 5980 bytes for the sixteen-to-seventeen
correction and the four scan-set readers, and its other twenty-three
requirements byte-identical. All three promoted bodies compare byte-identical
to their delta text.

README's row moves from Active to the head of the Archived block. Six
falsehoods are corrected on the move rather than carried across: the 118/119
scan-set count, the plus-68 finding cost that section 5 discharged to zero,
OQ-4's seventeen before its same-day extension to thirty-three, the missing
OQ-2 second ruling and EVIDENCE_PARTS correction, the future tense on a
realization now done, and the framing of a ruled option as a recommendation.
One unrelated defect is fixed on the way past and disclosed:
create-medxchart-overlay-boundary appeared twice in the Active block, the
duplication 5D.1 had already named, and the malformed one-space-indented copy
is removed so the presence sweep can be exact. That sweep is now exact both
directions: 24 active directories to 24 active rows, 89 archive directories to
89 archived rows, no orphans and no duplicates either way, newest-first order
intact.

Gates after the archive, exit codes read directly: openspec validate --all
--strict 73/73 exit 0, down exactly one; tests/doc-health 744 passed;
workbench 140 passed; the 5D.2 zero gate still 0 CRITICAL / 0 ERROR over 126
scan-set documents. The doc-health --single-repo run holds its findings line
at 4 critical / 8 error / 68 warning / 4 info with zero findings moved and 328
documents examined; exactly two lines move and both are the same plus-1695
words the promotion adds, canon share 31.2 to 31.4 percent and the promoted
specs row 116827 to 118522, measured as plus-918 on document-lifecycle and
plus-777 on doc-health rather than inferred.

Task 4.4's invariance claim is measured at byte granularity rather than on
three figures: the whole single-repo report is byte-identical with the
lifecycle scan set present and with it neutralized in memory, and the harness
is proved live by a positive control that moves the same report to 118 errors.

Tasks 4.4 through 4.7 are ticked with their read-backs. Section 6 stays
unticked as a recorded scope boundary, not a gap. Task 5.1 of
sanction-ratified-record-spelling is ticked with a dated inline discharge
suffix under that change's own append discipline, leaving its original
sentence standing word for word; it was that change's last unticked box, so
sanction-ratified-record-spelling is now fully discharged.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 6, 2026
…endant names registered, § 1 ticked with evidence (#716)

Group 1 bookkeeping for the ratified split-opendox-two-layer-product packet. docs/openxdox-naming.md gains Amendment 3 (the § D8 draft, dated 2026-09-06, in Amendment 2's format; Status: ratified untouched): openDox is taken knowingly (RULING C1), the six repository names openDox/-spec/-code and openXdox/-spec/-code with the election that produced them, the leg-suffix rule, and the fifteen descendant names plus openXdox-Install registered with no repository created (§ 1.6, § 1.7). tasks.md § 1 ticked with evidence read live from GitHub: 1.1 (openDox scaffolded at the pinned openRepoShape e9c4827b, root bad2d2ad → 1f0a7693), 1.1a (re-pin #700 landed), 1.2 (openXdox scaffolded, root 460f2692 → 0365cea5, pins openDox@bad2d2ad), 1.3 and 1.4 (posture, checks, tests, OpenSpec instances, contracts skeletons, lockstep bumps in all six via PRs), 1.5 (all six 'Require validate check' rulesets ACTIVE — openXdox's promoted on Brett Heap's ruling 2026-09-06T08:56Z), 1.6, 1.7, 1.10. 1.8 realized by xFactory #284; 1.9 waits for § 5.8. Doc-health delta zero; strict valid; proposal-support verify ok; 1807 tests; two Copilot rounds taken (wrapped code spans joined, sixteen names, PR body reconciled).

Landed on Brett Heap's word, 2026-09-06, verbatim "merge 284, 714 and 716 when green" (#656). Admin squash because brettheap-authored PRs cannot self-clear the code-owner review.

Refs #656

Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_014E8Yr24V2TUSpcD8ixK1HJ
brettheap added a commit that referenced this pull request Sep 10, 2026
…oxes — bookkeeping on Brett Heap's word (#897)

Bookkeeping on Brett Heap's word "tick the carve boxes" (2026-09-10): the split-opendox-two-layer-product § 3 boxes whose acceptance text is fully met by landed evidence are ticked, each with its citation — § 3.1 (manifest #865 → 1716748 + #889 → 15ebb37), § 3.2 (openDox-code #6 → ce53b489; all 24 design § D3 modules present), § 3.3 (the serve.py/cli.py app-server and neutral halves with the § 2.4 extension points, live in openDox-code). Boxes only partly met (the openXdox legs are not yet carved) and the BUILD-arc, runtime, repository-creation, FLOOR PART 3 and tag boxes stay open. Evidence, all on #656: the mapping manifest #865 → 1716748 and its amendments #889 → 15ebb37; the cutover runbook and arrival verifier #875 → a970fd9; leg 1 openDox-code #6 → ce53b489 (123 rows); leg 2 openDox-spec #4 → fc67332d (56 rows); the openDox root pin openDox #4 → 49a99df2 (gitlinks, pins, carved_from). On the word "tick 0.6, 1.8, 1.9 and 2.5 too when green": § 0.6 (PR-5 #832 → 56e69a1, archived with promotion), § 1.8 (opensoft/xFactory #284 → 05cb5abf, rule 1 confirmed live) and § 2.5 (the D-2 exercise: dispatch PR #176 → 7681e40, refusal 36d07ec; the box names no Omnigent-Install act, so its `[OmI]` tag is a repo tag without a clause) are ticked; § 1.9 stays open because its project-register rows land with § 5.8, still open. No manifest, validator or runbook change; landed under a Rule 6 window.

Refs #656 (stays OPEN).

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
…7 texts that R-5's "two direct upstreams" collides with, named and reconciled against a live measurement

Review at `a2aa224d`: two suppressed findings, no threads, both on § 5.1's R-5
amendment from two sides.

(i) § 1.8 — `[x]`, DONE — QUOTES the sentence xFactory #284 → `05cb5abf` appended
to the aggregation's CLAUDE.md, which says openxFactory pins openXdox ONLY and
reads openDox through openXdox's pin. The box is a record of what landed and
stays verbatim; what is overtaken is the aggregation's own file, and repairing it
is an act on `opensoft/xFactory` of the same class as the § 8.7 re-point.

(ii) This packet's own `neutral-product-pin` delta — its RULED OQ-2 narrative
(:61-73) still reads as ruling out a direct openDox pin, and its chain scenario
(:220-223) refuses a second declaration of a transitive upstream's commit. The
NORMATIVE rule is not contradicted: :195-199 forbids re-declaring a TRANSITIVE
upstream and requires each level to declare its own DIRECT one, and Q7 made
openDox direct — a mounted submodule openxFactory consumes. The :225-227 refusal
shape cannot fire, measured live at `main` `d5dd1ca5`: openxFactory's
`contracts/opendox-pin.yaml` `3819625e`, its `openDox` gitlink `3819625e`, and
openXdox's own `contracts/opendox-pin.yaml` at the pinned `a6500141` `3819625e` —
three declarations, one answer, kept equal by the lockstep act (#1054 →
`3c614d34`, openDox #8, openXdox #10).

What is owed — a dated amendment to the delta's OQ-2 narrative — is filed where
it belongs: with the act that CLAIMS that spec, not with a tasks.md amendment, on
the same rule this amendment applies to design.md, proposal.md and the scenario-4
defect at § 7.1.

Ledger unchanged: 47 [x] / 23 [ ] / 1 [~].
`openspec validate split-opendox-two-layer-product --strict` → valid.
Targeted suite at `a2aa224d`: 2891 passed, 289 subtests, 0 failed (532s).

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants