Repository navigation
Apply add-workbench-branch-sessions' two unpromoted ratified deltas (promotion-fidelity 5.1) - #316
Conversation
…delta reaches canon Two requirement-deltas ratified 2026-07-26 and archived 2026-07-31 by add-workbench-branch-sessions had never been applied to the promoted spec. Its lifecycle-notebook-projection delta carried an ADDED requirement, "Branch-session notebooks" with five scenarios, that was absent from openspec/specs/lifecycle-notebook-projection/spec.md entirely, and a MODIFIED "Corpus scan scope" that reached canon carrying its PREVIOUS writer's text: three scenarios where the ratified text says four, and none of the amendment that scopes the exclusion to the three lifecycle books, names branch-session worktrees inside it, and makes session notebooks the only notebook surface permitted to read a worktree while never contributing a source, a title, or a repository name to a lifecycle book. Archive commit a0ea766 moved the packet and edited the README; it never touched the promoted spec. Both gaps are the promotion-fidelity family's first live catch, reported against this repository's own archive and deliberately left unfixed by the change that found them, because applying a ratified delta to canon is a governance act belonging to its own change. Brett ruled the first of the two exits that finding named, recorded in add-promotion-fidelity-check task 5.1: "apply via a proper change". That ruling is this packet's ratification act, and this landing ticks the box the note said it would. Applied byte-for-byte, which is the whole point: the packet's delta file is a copy of the 2026-08-01 delta with the identical SHA-256: delta file, both packets: f6ffd39abeab7a1548a93ed78fda9a24d8da19606fbc5f30dc85fe013b0361cd requirement blocks, ratified delta and promoted spec alike: Corpus scan scope 99fa2a84f1a59d6db20491de2a3cab17d8368228a96fa27ff55b38b62d66dc8c Branch-session notebooks 107ede785f5ff13cee0fabb512e2883eafe2d540b547e07cdbde5a7c8d42057e No rewording, no re-derivation, no reconciliation with anything learned since 2026-07-26. Canon had not drifted, checked before applying. Three commits touched the promoted spec after the 2026-07-31 archive: d5e6d42 edited "Projection implementation ownership", e9a4be6 rewrote "Derived notebook membership" and appended "Projection capacity guard", and 18a4ffc appended "The session namespace is reconciled against live sessions". None touched either affected title. The "Corpus scan scope" region hashes to bbb402c4eecb4f9ddee7dfec161ed 407d8910fe76536ea10aa38438d447e3d57 at its 2026-07-12 introduction (1efa575), at the source archive (a0ea766), at all three of those commits, and at the pre-apply head; "Branch-session notebooks" had never been in canon at any commit, so nothing could be overwritten. No archived delta for this capability carries a RENAMED block, and the 2026-08-01 packet is the latest archived writer of both titles. The 2026-08-13 session-reconciliation requirement is additive to the one restored here rather than a successor to it: it governs the xf-session- namespace that "Branch-session notebooks" declares, so this promotion supplies the premise it has been standing on. Behavior moves nowhere. The branch-session realization landed in 2026-07 and has been live since; only the text lagged. Gates: openspec validate --all --strict green in both states, 76 items with the change active (27 changes, 49 specs) and 75 after it archived (26, 49). python3 -m pytest tests/doc-health 771 passed, and tests/ideation-dashboard -k workbench 140 passed, both at baseline. The single-repo doc-health report moves on exactly one line: warnings 75 to 73, the promotion-fidelity family going 2 findings to 0. Criticals stay 4, errors stay 8, infos stay 4, and every other family's count is unchanged. 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
Promotes two previously ratified-but-unpromoted lifecycle-notebook-projection deltas into canon to close openxFactory’s two promotion-fidelity findings, records the governance packet as an archived change, updates the repo’s OpenSpec records, and ticks the corresponding box in add-promotion-fidelity-check.
Changes:
- Promote the missing
Branch-session notebooksrequirement (and scenarios) intoopenspec/specs/lifecycle-notebook-projection/spec.md. - Promote the amended
Corpus scan scopetext (including the previously missing 4th scenario) into canon. - Archive the governance-only change packet, update README’s archived-changes list, and tick task 5.1 as landed.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds an archived-change record entry describing the promotion-fidelity discharge for this packet. |
| openspec/specs/lifecycle-notebook-projection/spec.md | Applies the ratified deltas into the promoted spec (adds Branch-session notebooks, amends Corpus scan scope, adds missing scenario). |
| openspec/changes/archive/2026-08-25-apply-branch-sessions-deltas/tasks.md | Adds the archived change’s execution/validation checklist and evidence notes. |
| openspec/changes/archive/2026-08-25-apply-branch-sessions-deltas/specs/lifecycle-notebook-projection/spec.md | Adds the archived delta file that is promoted into canon. |
| openspec/changes/archive/2026-08-25-apply-branch-sessions-deltas/proposal.md | Adds the governance proposal documenting rationale, drift checks, and fidelity claims. |
| openspec/changes/archive/2026-08-25-apply-branch-sessions-deltas/.openspec.yaml | Adds the change metadata (origin/ruling, approval, created date). |
| openspec/changes/add-promotion-fidelity-check/tasks.md | Marks task 5.1 complete and records the landing evidence. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| verified untouched before the ratified text lands). Box stays open | ||
| until that change lands; this note records the ruling so the | ||
| executing slice needs no new one. | ||
| **LANDED AND TICKED 2026-08-24.** `apply-branch-sessions-deltas` |
Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.
Suppressed comments (2)
Previously missed (2) — in code that hasn't changed since the last review.
openspec/changes/archive/2026-08-25-apply-branch-sessions-deltas/tasks.md:7
- Inline code spans a newline here (opening backtick on one line, closing on the next), which is invalid Markdown and renders inconsistently. Keep the command on a single line (or switch to a fenced code block) so it remains copy/pasteable.
rather than by eye: `python3 scripts/doc-health.py --single-repo .
--family promotion-fidelity` reports exactly two findings, both against
openspec/changes/archive/2026-08-25-apply-branch-sessions-deltas/proposal.md:44
- This inline code span is split across two lines (backtick starts on the previous line and closes on the next), which is invalid Markdown. Put the full command in a single inline-code span (or use a fenced code block) to avoid broken rendering.
did not touch the promoted spec — `git show a0ea7666 --
openspec/specs/lifecycle-notebook-projection/spec.md` is empty.
…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]>
…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]>
The PR #85 equivalent for openxFactory's own two promotion-fidelity findings, ruled by Brett 2026-08-24 (recorded at add-promotion-fidelity-check tasks 5.1, PR #315):
2026-08-01-add-workbench-branch-sessionsarchived without its ADDEDBranch-session notebooksrequirement (absent from canon entirely, five scenarios) or its MODIFIEDCorpus scan scopeamendment (canon held the previous writer's text, 3 of 4 scenarios) — root cause the same class as #301: archive commita0ea7666moved the packet and never touched the promoted spec.Corpus scan scoperegion hashes byte-identical from its 2026-07-12 introduction through all three later spec commits to the pre-apply head;Branch-session notebooksabsent at every one; the 2026-08-13 session-reconciliation requirement is additive and gains its premise from this promotion. No stop condition.openspec archive(the precedent's mechanism), archived on landing as2026-08-25-apply-branch-sessions-deltas(CLI UTC stamp; act 2026-08-24 local), README row moved, task 5.1 ticked LANDED.Gates, exit codes direct:
openspec validate --all --strict75/75 (76 while the change was active, 75 after archive, 0 failed in every state);tests/doc-health771;-k workbench140; presence sweep exact.🤖 Generated with Claude Code