Skip to content

Discharge slice 5A: the thirteen active lifecycle-header defects, plus the review's corrections - #279

Merged
brettheap merged 3 commits into
mainfrom
change/lifecycle-discharge-5a
Aug 23, 2026
Merged

brettheap merged 3 commits into
mainfrom
change/lifecycle-discharge-5a

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

First discharge slice of govern-openspec-corpus-membership (ratified 2026-08-23). Clears every lifecycle-header finding on ACTIVE documents — 13 at the base, all edited:

  • Six Ratified by: → Ratified: respells (OQ-4), suffix bytes proven identical, each clearing the floor on its recorded date.
  • Two active review records gain a conforming Ratified: line derived from their own Ratifier:/Decision date: pair (OQ-5); the archived roster-device record is handed to slice 5B with its count updated (12, not 11).
  • Three headerless active proposals get derived statuses: add-ideation-intent-plane ratified (cf1c3d0), add-worker-enrollment-broker ratified (e535a3a — the review verified this one stronger than claimed), and add-dispatch-credential-contract — first derived draft on an incomplete hunt, CORRECTED to ratified 2026-08-13 under Brett's in-session ruling after the adversarial review demonstrated the missed record (PR openXdox naming + dispatch-credential contract + 4.2 close #168's merge was the approval act its own task 1.2 conditioned on; realization PRs Realize add-dispatch-credential-contract (contract side): examples + validator + naming ratified #171/Self-hosted binding runbook for the openXdox dispatch credential (3.4) #172; the naming doc's reciprocal sentence). The correction trail is on the record in the 5A read-back.
  • The wallet free-form status split into Status + citation (5A.4's own directive).
  • Review extras encoded: the 16 self-citing Ratified by: lines (a change naming its own id as approver — passing by self-reference) enumerated and ruled into OQ-4's extension (5B grows to 28: 12 live + 16 latent corrective); six per-change justification notes added per 5A.1's letter; 5D gains the moving-target note (two new headerless actives landed from the MedxChart/MedxPractice session mid-slice — 5D re-measures at enforcement, their files untouched).

Census on the merged tree: scan set 123 docs, 12 CRITICAL + 46 ERROR = 58 remaining, exactly 2 on active documents (the named 5D stragglers), the rest archive-side for 5B/5C. Gates, exit codes direct: openspec validate --all --strict 72/72; tests/doc-health 724; -k workbench 140; whole-repo doc-health byte-identical to the merged base (4/8/68/4 — the +2 errors are the merge's own new packets, recorded).

🤖 Generated with Claude Code

brettheap and others added 3 commits August 23, 2026 16:29
… active lifecycle-header defects

The scoped scan set the 2026-08-23 ruling declared — openspec/changes/**/proposal.md
plus openspec/changes/**/review/*.md, read by status-validity, standard-backing,
ratified-provenance and succession-integrity — carries 69 findings at this branch's
head, not the 68 the proposal measured: the set has grown from 119 documents to 121
and one of the new ones, add-notebook-projection-identity's ratification record,
carries the same third-vocabulary shape OQ-5 ruled on. Thirteen of the 69 sit on
ACTIVE documents, and this commit clears all thirteen. The remaining 56 are every
one of them under archive/ and belong to 5B and 5C.

Six prefix respells (5A.1, OQ-4). add-composed-view-authoring, add-lens-document-selection,
add-trust-anchor, admit-install-repos-to-aggregation, implement-keycloak-install-repo and
implement-openxpki-install-repo each cited a person and a date under the primary spelling,
which document-lifecycle reserves for a named approving change. Ratified by: becomes
Ratified:, and the bytes after the prefix are asserted identical before and after — the
verbatim rule enforced mechanically rather than by care. Each line's own record justifies
it: Brett's 2026-08-08 in-session direction on drafting from a project view; his three
2026-08-08 lens annotations; his 2026-08-21 "ratify both proposals"; his 2026-08-21 "do the
aggregation admission change"; and his 2026-08-21 "do both install repos" for the two
install-repo changes. None of the six names a resolvable change — the family's own
change-id resolution had already rejected all six, so the latent-eighteenth class
add-identity-brokering belongs to stays a class of one. Each clears the three-way floor on
the date axis alone, because _CITATION_APPROVER recognizes only the by <Name> form and
inserting "by" would rephrase content the ruling requires be carried verbatim.

Three review records gain a conforming line (5A.2, OQ-5). add-notebook-projection-identity,
add-roster-directory-admission-surface and add-substantive-review-lane each carried
Ratifier: and Decision date: in a spelling no rule knows. Each gains one Ratified: line
derived from those two headers and inventing nothing; both pairs stay standing. The
archived record 5A.2 listed third is NOT edited here — its discipline is 5B's, so it is
handed over and 5B now clears twelve criticals rather than eleven.

Three headerless proposals gain a status (5A.3, OQ-6), and only two of them are ratified.
add-ideation-intent-plane takes ratified on its proposal commit cf1c3d0, which records
"Ratified by Brett 2026-07-23 ('we are there, this is ready now to lock')"; its
origin-nested approved_by pair was deliberately not used, because C2 ruled that pair
records permission to author, and here it merely agrees by coincidence.
add-worker-enrollment-broker takes ratified on commit e535a3a, "Record Brett's approval of
add-worker-enrollment-broker (D1-D10 adopted)", the commit that wrote the Approved: line
the proposal already carried — a decision on content, not permission to author.
add-dispatch-credential-contract takes draft, and that is the finding rather than the
shortcut: its authoring commit calls it a draft, its README row says only "authored", its
own task 4.2 lists ratification as still ahead, it carries no .openspec.yaml, and a
repo-wide grep for the change id turns up no ratifier and no date anywhere. A draft needs
no citation, so none was invented. One thing this surfaced and did not fix, because it is
outside this change's scope: docs/openxdox-naming.md cites
Ratified by: add-dispatch-credential-contract, a governed document depending on an act that
has not happened.

One free-form value split (5A.4). add-wallet-carried-review-authority's Status: at real
line 8 swallowed the first physical line of a three-line ratification sentence, because
STATUS_RE takes everything to end of line. Split into Status: ratified plus a Ratified:
line carrying the same sentence with "by" before the name so the approver axis reads it.
This is the coupling the recount warns about, demonstrated on one document:
fam_ratified_provenance guards on status == "ratified" and had never looked at this file,
so fixing the ERROR is the act that exposes it to the citation rule. Both lines landed in
one edit; splitting them across two would have traded an ERROR for a CRITICAL.

Verified through the real helpers in scripts/doc_health/ rather than by reading: all
thirteen report exactly one citation line via families._header_lines, every citation sits
inside corpus.STATUS_SCAN_LINES, and each floor axis is recorded per document in the 5A
read-back. Re-measured, the scan set falls 69 -> 56 (21C+48E -> 12C+44E) with zero findings
left on any active document.

Gates: openspec validate --all --strict 70/70; pytest tests/doc-health 724 passed; pytest
tests/ideation-dashboard -k workbench 140 passed. The whole-repo single-repo doc-health
report is BYTE-IDENTICAL to the pre-edit baseline — 4 critical / 6 error / 68 warning /
4 info, canon share 31.2%, 327 documents — which is the predicted result and also the
check that matters, since the scan set is not yet enforced and an edit inside openspec/
that moved the whole-repo report would mean something else had changed.

Co-Authored-By: Claude Fable 5 <[email protected]>
…he sixteen self-citers

An adversarial review of slice 5A returned FIX FIRST on two substantive points and
five smaller ones. Brett ruled both substantive points in-session on 2026-08-23 and
this commit executes the rulings. No history is rewritten; every correction is an
append beside the text it corrects.

M1. add-dispatch-credential-contract is ratified 2026-08-13, not draft. Slice 5A
derived draft and argued that "everything the record carries points AWAY from
ratified". That was false. The hunt missed PR 168, merged 2026-08-13T18:46:52Z as
the very commit 4e4190c the slice DID cite, whose body states "Merging this ratifies
the openXdox naming record (draft to ratified, its task 1.2)"; it missed that the
change's own task 1.2 is ticked; it read docs/openxdox-naming.md and treated its
"landing that change is its lifecycle ratification" as a dangling dependency rather
than as the sentence that says what the landing means; and it missed realization PRs
171 and 172 on main. The one ground the slice did cite is not evidence at all: task
4.2's "current through ratification, realization, and archive" is README-currency
boilerplate, and the same slice ruled add-ideation-intent-plane ratified while its
task 5.2 carries the identical unticked line. Brett ruled that the PR 168 landing WAS
the approval act task 1.2 conditioned on. The proposal now carries Status: ratified
and a record-citing Ratified: line at real line 5 that names all four record points
and states plainly that the value was first derived draft on an incomplete hunt and
corrected under this ruling. Measured through the real helpers: one citation line,
in window, clearing the three-way floor on all three axes.

OQ-4 grows from 17 to 33. The review found sixteen documents whose Ratified by: line
names the document's OWN change id, passing fam_ratified_provenance by
self-reference. A change is not its own approving change. Brett ruled them the same
class with the same remedy, so they join slice 5B. The list was re-derived here by
replaying the primary-spelling resolution over the ruled scan set rather than taken
on trust, which corrects the review's own shape: 15 archived and 1 active
(add-hermes-customer-subject-runtime-contract), not 16 archived. The distinction 5B
must keep is that these sixteen are LATENT — they clear no finding, they do not move
5D.1's census, and their respell is corrective rather than finding-driven. 5B now
reads 28 documents, 12 CRITICAL cleared, 27 archived records for 5B.4's register
entry. Four further documents that pass by naming some other change in passing prose
are measured and deliberately left out, named so a later reader who counts 37 by eye
knows which set was ruled.

5D gains the moving-target note the review asked for. The zero gate sits over
openspec/changes/**, the busiest directory in the repository, and it moved during
5A: merging origin/main carried in two headerless ACTIVE proposals from another
session's MedxChart and MedxPractice boundary work. Neither file is edited here —
they are another session's in-flight work — and discharging whatever stragglers
exist at enforcement time belongs to whoever lands the code.

The smaller items. Each of the six respelled changes now carries its own one-line
justification note quoting the record that justifies its line, five as a trailing
section and add-trust-anchor inline under its task 3.2, so 5A.1's tick is honest
(S3). The read-back's "the only member of that class" claim is narrowed to the six
that were actually checked (S4). 5A.2's tick states the handover to 5B inline (N1).
The unsourced "327 documents" figure is given its provenance — the report prints no
such field; the Per-Stage Counts Docs column sums to it (N2). Two errors in 5A's
pushed commit message are recorded here because that message cannot be edited: it
claimed all thirteen documents reported exactly one citation line when twelve did,
add-dispatch-credential-contract having none, and it said "both pairs" of three
Ratifier/Decision date pairs (S2, N3). After this fix all thirteen genuinely do
report exactly one, re-measured through families._header_lines.

Census on the merged tree, through the real helpers over the ruled globs and the
four ruled families: 123 documents, 12 CRITICAL + 46 ERROR = 58, of which 2 are on
active documents and both are the new MedxChart/MedxPractice proposals. The runs
before and after this lap's edits are byte-identical — the whole +2 against 5A's 56
is the merge's. Scan-set documents that are ratified and cited go 64 to 65.

Gates: openspec validate --all --strict 72 passed 0 failed; pytest tests/doc-health
724 passed; pytest tests/ideation-dashboard -k workbench 140 passed, 3858 deselected;
the whole-repo single-repo doc-health report byte-identical to the merged base at
4 critical / 8 error / 68 warning / 4 info (the two extra errors against 5A's
recorded 6 are the merge's proposal-origin findings on the two new packets, not this
lap's); no upper-cased HTTP write verb in any added line.

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

@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 ✨

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 PR implements “discharge slice 5A” for govern-openspec-corpus-membership, normalizing lifecycle header vocabulary on active OpenSpec documents by respelling Ratified by: → Ratified: where the line is record-citing (not change-citing), and backfilling missing conforming Status: / Ratified: headers for a small set of active proposals and review ratification records.

Changes:

  • Respell six active proposals’ ratification citation prefix from Ratified by: to Ratified: while preserving the post-colon bytes.
  • Backfill conforming Ratified: lines into three active review/ratification-*.md records derived from their existing Ratifier: / Decision date: headers.
  • Derive and add missing Status: (and Ratified: when applicable) for previously headerless active proposals, plus split a free-form Status: into Status: + Ratified:.

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.

Show a summary per file
File Description
openspec/changes/implement-openxpki-install-repo/tasks.md Adds per-change note justifying the Ratified: respell per slice 5A.1.
openspec/changes/implement-openxpki-install-repo/proposal.md Respell Ratified by: → Ratified: in front matter.
openspec/changes/implement-keycloak-install-repo/tasks.md Adds per-change note justifying the Ratified: respell per slice 5A.1.
openspec/changes/implement-keycloak-install-repo/proposal.md Respell Ratified by: → Ratified: in front matter.
openspec/changes/govern-openspec-corpus-membership/tasks.md Marks slice 5A done and records the measured census + corrections and handoffs.
openspec/changes/govern-openspec-corpus-membership/proposal.md Extends OQ-4 scope notes to include the ruled self-citer class and updated counts.
openspec/changes/admit-install-repos-to-aggregation/tasks.md Adds per-change note justifying the Ratified: respell per slice 5A.1.
openspec/changes/admit-install-repos-to-aggregation/proposal.md Respell Ratified by: → Ratified: in front matter.
openspec/changes/add-worker-enrollment-broker/proposal.md Adds derived Status: ratified and conforming Ratified: header.
openspec/changes/add-wallet-carried-review-authority/proposal.md Splits free-form Status: into Status: + Ratified: headers.
openspec/changes/add-trust-anchor/tasks.md Adds inline per-change justification note for the Ratified: respell.
openspec/changes/add-trust-anchor/proposal.md Respell Ratified by: → Ratified: in front matter.
openspec/changes/add-substantive-review-lane/review/ratification-2026-08-22.md Adds conforming Ratified: line derived from existing headers.
openspec/changes/add-roster-directory-admission-surface/review/ratification-2026-08-22.md Adds conforming Ratified: line derived from existing headers.
openspec/changes/add-notebook-projection-identity/review/ratification-2026-08-23.md Adds conforming Ratified: line derived from existing headers.
openspec/changes/add-lens-document-selection/tasks.md Adds per-change note justifying the Ratified: respell per slice 5A.1.
openspec/changes/add-lens-document-selection/proposal.md Respell Ratified by: → Ratified: in front matter.
openspec/changes/add-ideation-intent-plane/proposal.md Adds derived Status: ratified and conforming Ratified: header.
openspec/changes/add-dispatch-credential-contract/proposal.md Adds derived Status: ratified and record-citing Ratified: header with correction context.
openspec/changes/add-composed-view-authoring/tasks.md Adds per-change note justifying the Ratified: respell per slice 5A.1.
openspec/changes/add-composed-view-authoring/proposal.md Respell Ratified by: → Ratified: in front matter.

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

@brettheap
brettheap merged commit 450735f into main Aug 23, 2026
2 checks passed
@brettheap
brettheap deleted the change/lifecycle-discharge-5a branch August 23, 2026 21:15
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 11, 2026
…es_council

The R8 five-field record for the act in a30b823, written against
docs/governed-reissuance-runbook.md steps 5 / 5.1 / 5b / 7, in the form of
the one completed precedent (walk-2026-09-02-register-act.md).

THIS FILE'S PATH IS THE RECORD ID the operational hold cites. The hold (#279
comment 5626749744, PR #374 comment 5626750445) lifts on "the group-3 governed
re-issuance record ... cited by id". § 1 states the path, and names the one
wording difference between the hold's phrasing and the ruled filing location
rather than papering over it.

What it carries: the roles table (three capacities in one human, two
machine-held, disclosed not collapsed); § 3 T1 filled — codexFactory #374 ->
02e14c08, merged 2026-09-10T23:34:23Z, with all five digests before/after;
§ 5 the three writes and the non-write verbatim, plus § 5.5 the three OTHER
non-writes enumerated so their absence reads as a decision; § 6 the R8 five
fields with the composition hash a LABELLED substitute; § 6.5 the measured
gate result including the explicit re-proof that register-no-active-row does
not recur at wallet-v1.5; § 6.6 the openspec baseline taken BEFORE the edits.

§ 9.5 names the two instants and refuses to conflate them: the EFFECTIVE
INSTANT (2026-09-11T02:12:30Z, compose time, the precedent's convention) and
T2 the window boundary (the merge of this PR). They differ, the gap is real,
and the hold — not the timestamp — is what covers it.

STUBBED for Part C, each saying what it waits on: § 8 step 5b projection
re-derivation; § 9.2 the 3.8 window check T1 -> T2; § 9.3 the proof convening
run id; § 9.4 the hold lift.

openspec validate --all --strict: change/register-gate-rules-council-seats OK;
totals 97 passed / 3 failed, byte-identical to the pre-edit baseline.

Lane: hermes-wallet-exercise
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 14, 2026
… three places the hold was, mismatches named

LIFT posted on cxF #279 (5661634651), PR #439 (5661635340) and LANES.md (837c9e9) after § 13.1 (EMPTY) and § 13.2 (ahead). § 9 carries a dated pointer; § 13.6 row closed; § 13.2 gains its 'posted in full at' line (#279 5661631470). Releases the gate_rules_council hold only; the two 2026-09-11 C2 words stay owed at 6.25–6.26.

Lane: codexfactory-2 (codeXfactory-2)

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