Repository navigation
Admit the two medx boundary packets: origin metadata only, not a ratification - #345
Merged
Merged
Conversation
…ord lacked Brett ruled it on 2026-08-25, verbatim: "admit the two medx boundary packets". That ruling IS the governance act PR #344's STOP said was missing, so the two remaining proposal-origin errors discharge on it. WHY AN ACT WAS NEEDED, and it was measured twice before it was asked for. govern-openspec-corpus-membership's archived read-back found of MedxChart "The record names no ratification act ... no approver/approved_on pair at all ... tasks.md is implementation and verification throughout with no ratification task and no approval line ... No pull request exists for either packet", of MedxPractice "The same, on its own record", and of the three things that could establish ratification "None of those three exists here." PR #344 then STOPPED rather than declare an origin on that record: ad_hoc requires approved_by and approved_on, staged requires a staging topic, and neither existed. Brett's admission supplies exactly the approval that was absent. Both declarations quote the read-back and cite the STOP, so a future reader can reconstruct the whole chain from the metadata alone. AN ADMISSION, NOT A RATIFICATION, and the declarations say so in those words. The act supplies the origin/approval pair the proposal-origin contract requires and nothing more. Both packets remain Status: draft, carry no ratification citation, and owe none - the promoted lifecycle rule requires one only for Status: ratified. Whether their content is ratified is a separate act that has not happened. Verified: the proposal.md files are untouched, both still read Status: draft, and the only files this commit changes are the two .openspec.yaml. DERIVED, NOT ASSUMED, on all three fields that had a choice. - created: BOTH files already carried created: 2026-08-23, and both were verified against the packets' true first commits in git rather than trusted - 86f4372 for MedxChart, a324868 for MedxPractice, both dated 2026-08-23, matching the six-commit list the corpus-membership read-back recorded. Correct as they stood, so neither value was rewritten. - id: the date component is the CREATED date, not the approval date. Derived from the corpus rather than picked: existing ad_hoc ids track created:, and the case where the two differ settles it - an archived packet with created: 2026-08-10 carries id-date 2026-08-10 against approved_on 2026-08-11. So the ids read 2026-08-23 while approved_on reads 2026-08-25. - kind: ad_hoc, with NO staging origin claimed, because none exists - searched across ideation/staging/ and its INDEX for both packets in #344. NOTE FOR THE RECORD: these are MODIFIED files, not new ones. Both packets already carried .openspec.yaml with schema: and created: and were missing only the origin: block - unlike worker-credential in #344, which had no metadata file at all. So each diff is an append. EXIT PATH: the #323/#343/#344 mechanical class - metadata alignment carrying an authority the ruling now supplies, no OpenSpec packet. Nothing read demanded more: the field shape mirrors #344's, no spec requirement changes, and .openspec.yaml is outside the governed corpus so record-immutability cannot fire on it. Headline 7 error -> 5 error. Five lines out - the old headline, two finding lines, two ranked-plan lines - and one in, the new headline. Every other line byte-identical, and NO new finding appeared, so both declarations satisfy the contract cleanly rather than trading one finding for another. The proposal-origin family now exits 0 at --fail-on error: the error class is fully discharged, and the five remaining errors belong to location-conformance and status-validity. doc-health 889 passed / 7 skipped and openspec --all --strict 76 items, both unchanged from main. 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 records an explicit ad-hoc origin declaration for the two Medx boundary change packets so the proposal-origin doc-health contract can validate an approved_by/approved_on provenance pair—while keeping both packets’ lifecycle status unchanged (they remain Status: draft, with no ratification claim).
Changes:
- Append an
origin:block (kindad_hoc) tocreate-medxchart-overlay-boundary/.openspec.yaml. - Append an
origin:block (kindad_hoc) tocreate-medxpractice-overlay-boundary/.openspec.yaml.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| openspec/changes/create-medxpractice-overlay-boundary/.openspec.yaml | Adds an ad_hoc origin declaration with durable id, reason, and approval provenance to satisfy proposal-origin requirements. |
| openspec/changes/create-medxchart-overlay-boundary/.openspec.yaml | Adds an ad_hoc origin declaration with durable id, reason, and approval provenance to satisfy proposal-origin requirements. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
brettheap
pushed a commit
that referenced
this pull request
Aug 25, 2026
Brett ruled it on 2026-08-25, verbatim: "sweep the 23 derivable proposal-origin warnings". THE FRESH SPLIT IS 27/3, NOT 23/7, and the difference is my own earlier undercount rather than corpus movement. #344's outlook counted packets matching `^Ratified:` only. This corpus sanctions TWO ratification spellings, and four packets use `Ratified by:` - add-shared-identity-seeds, 2026-07-30-add-omnigent-semantic-wiring, 2026-07-30-add-ontology-term-lifecycle-enforcement and 2026-07-30-publish-semantic-kernel. 23 + 4 = 27. Re-derived at the branch point rather than trusted, exactly as asked, which is how the undercount surfaced. DERIVED, NEVER INVENTED, per packet. - kind: `staged` for THREE packets only, verified in BOTH directions - ideation/staging/INDEX.md names the change as the topic's EXIT, the topic folder still exists, and its primary fragment carries the matching Staging ID header. Those are add-worker-enrollment-broker (worker-enrollment-broker), 2026-07-14-add-github-app-identity-tiers (github-administration-plane) and 2026-07-23-add-hermes-domain-overlay-contract (layer-content-materialization). The other 24 are `ad_hoc`: none records a Staging ID header and no topic declares them as an exit. Four packets that merely APPEAR in INDEX.md were deliberately NOT declared staged - add-dispatch-credential-contract and add-doxchat-model-intake are named in collision notes, add-deployment-handoff-boundary in a coordination line recorded BY the change, add-domain-ontology-layer and add-workbench-integrated-editor-chat in prose - because the worker-credential lesson from #344 is that a topic merely mentioned is not an origin. - approved_by/approved_on: each packet's own Ratified:/Ratified by: citation, quoted verbatim in the declaration, with the approval DATE taken from the citation itself rather than the folder. Five of them differ from their folder date on purpose: add-deployment-handoff-boundary approved 2026-07-29 in a 2026-07-30 folder, add-domain-ontology-layer 2026-07-28 in 2026-07-30, add-workbench-integrated-editor-chat 2026-07-29 in 2026-08-02, adopt-neutral-utility-pack 2026-08-03 in 2026-08-04, adopt-neutral-tooling-home and add-consent-instrument 2026-08-03 in 2026-08-05/06. - created: seven packets already carried one; all seven were VERIFIED against their true first commit and none rewritten - each is at or before its first commit, which is what authoring-before-landing looks like. The other twenty take created from the packet's true first commit in git, never a folder name or a file timestamp. - id: adhoc ids carry the created date per the convention settled in #345; staged ids carry no date, which the corpus's 45 existing staged declarations establish. STOPPED - three packets, all Status: draft with no ratification citation: add-model-provider-broker, add-nightly-dashboard-refresh and add-omnigent-domain-terminology. add-model-provider-broker carries a `Ruling:` header, and it was read and rejected as approval provenance: it rules on the ARCHITECTURE ("the broker MINTS a short-lived token"), not on admitting the packet. Discharging these three needs an admission act like the one #345 recorded for the medx packets. Regenerated once after a real defect: the first pass wrapped folded YAML scalars with textwrap defaults, which broke identifiers across lines so `proposal-origin` parsed back as "proposal- origin". Folded scalars join lines with spaces, so the damage was in the VALUE, not just the file. Rewrapped with break_on_hyphens off and verified against the parsed values - zero split identifiers across all 27. .openspec.yaml is outside the governed corpus - re-verified at this branch point before writing, corpus.py still never references it - so record-immutability cannot fire on the twenty archived edits, and every edit to an existing file is an append. Headline 73 warning -> 46 warning, exactly the 27 swept. 55 lines out - one headline, 27 finding lines, 27 ranked-plan lines - and one in. Every other line byte-identical, no non-proposal-origin line moved, and NO NEW FINDING anywhere: proposal-origin warnings 30 -> 3 is the only count that moved, errors held at 5, so no declaration traded a warning for an error. All four self-checking gates exit 0. doc-health 889 passed / 7 skipped and openspec --all --strict 76 items, both unchanged from main. 27 files touched, all of them .openspec.yaml. Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap
pushed a commit
that referenced
this pull request
Aug 25, 2026
Brett ruled it on 2026-08-25, verbatim: "admit the three remaining packets" - the stop class PR #348 reported by name. Same act and same scope as #345: an ADMISSION into the proposal queue, NOT a ratification of content. WHY AN ACT WAS NEEDED, measured before it was asked for. #348 swept the 27 derivable warnings and stopped on exactly these three because each is Status: draft carrying no ratification citation in either sanctioned spelling, so ad_hoc could not be declared without fabricating approval provenance and staged was unavailable for want of a staging topic. Each declaration quotes that stop finding, so a future reader can reconstruct the chain from the metadata alone. AN ADMISSION, NOT A RATIFICATION. All three remain Status: draft, carry no ratification citation, and owe none - the promoted rule requires one only for Status: ratified. Verified: git diff over every proposal.md, tasks.md, design.md and spec delta is empty, and the only files this commit adds are three .openspec.yaml. add-nightly-dashboard-refresh GOT THE ADMISSION, NOT A DERIVATION - checked first, because a derivable origin beats an admission wherever the record supports one, and this change ships a delivery lane whose parts are largely built. The record does not support one: proposal and design both read Status: draft, target_release is implementation_pending, and its tasks say in terms at the still-unticked human gate 4.8 "GATE OPEN (awaiting ratification)". The rulings its tasks cite are design rulings about lane identity and grant subject, not an admission of the packet. Recorded in that packet's own reason. TWO NEAR-MISS APPROVAL ACTS READ AND REJECTED, with the reasoning recorded in the metadata so nobody re-derives the wrong way. - add-model-provider-broker carries "Ruling: Brett, 2026-08-08 - the broker MINTS a short-lived token and doxBench calls the provider directly; brokered dispatch 'would be too slow'". That rules on the ARCHITECTURE, not on admitting the packet. A header naming Brett and a date is not automatically an approval act; what it RULES ON is what decides. - add-omnigent-domain-terminology opens its Why on Brett stating the need ("i like that we have a neutral spine cross domain. but we also need..."). That is the forcing fact the proposal answers, not an act admitting it. Treating a quoted requirement as its own approval would let any packet approve itself by quoting the person who asked for the work. kind: ad_hoc for all three, re-verified in BOTH directions at this branch point because the staging queue moves: no Staging ID header on any of them, and INDEX.md declares no topic exit naming any of them. created dates DERIVED from true first commits in git - 02a6bad 2026-08-08, de63893 2026-08-22, c71d93b 2026-08-09 - never a folder or file date; none carried a .openspec.yaml, so all three files are created rather than appended. id dates track created per the settled convention. Parsed-value verification per the #348 lesson: every written identifier read back through the YAML parser, zero split identifiers, and every load-bearing phrase intact. Headline 46 warning -> 43, and the proposal-origin family now reads ZERO findings - the class opened by the FAMILY_IDS fix in #343 is fully discharged across #344, #345, #348 and this commit. Seven lines out - one headline, three finding lines, three ranked-plan lines - and two in: the new headline and the family's own "No findings." line, which renders only because #343 gave proposal-origin a report section in the first place. Every other line byte-identical, no non-proposal-origin line moved, no new finding anywhere, errors held at 5. All four self-checking gates exit 0. doc-health 889 passed / 7 skipped and openspec --all --strict 77 items, both unchanged from main. Co-Authored-By: Claude Fable 5 <[email protected]>
This was referenced Sep 3, 2026
brettheap
added a commit
that referenced
this pull request
Sep 9, 2026
…1/5.2 ticked on the D-2 evidence) (#832) Path A PR-5, the last of the 2026-09-06 plan memo's sequence, on Brett Heap's word "merge pr-5 when green" (2026-09-09). Authority: his ruling of 2026-09-05T23:38Z "rule path A, 4.5 is a deferred successor" (#656) and ruling D-2 (the live exercise). - tasks.md: § 4.4 / § 5.1 / § 5.2 ticked on the D-2 evidence (three `- [ ]` heads removed, every ratified sentence kept byte-identical); § 4.5 untouched as a DEFERRED SUCCESSOR (#714 → 3d1b8cc). - Archived WITH promotion via `scripts/proposal-support.py . archive --date 2026-09-09` under the pinned @fission-ai/[email protected] (never a bare `openspec archive`); origin retained (declaration unchanged since da1b0e9); six frozen files R100. - Promoted: `openspec/specs/ideation-intent-plane/spec.md` NEW (7 requirements / 11 scenarios, every block byte-identical to the archived delta) and `openspec/specs/document-lifecycle/spec.md` 18 → 19 requirements ("Gates happen on main"); the new capability's `## Purpose` written by this act (no SHALL; replaces the CLI's TBD stub). openspec/specs 60 → 61; floor regeneration OWED (GRACED covered-pending 1, `created_by_candidate`), `contracts/review-lane-floor-snapshot.yaml` deliberately not edited here. - README OpenSpec Records row → archived; sweep-ledger row re-seeded with the tool (`--seed-ledger --moved-by '#832'`, one line moved); no thirteenth archive-date disposition. - Evidence (merged + green): #718 d179cc0, #727 07624d5, #735 6d3237e, xFactory #304 b2db7e47, #313 ddd19650, #345 90435875, #781 450bb60, #808 2ef7d8c, #814 c991c0f, #816 8924230, xFactory #362 119280a8, #830 202c170, xFactory #369 c2313277; D-2 live exercise: act B refusal 36d07ec, act A apply e970dfe, first autonomous merge #176 → 7681e40 (codexfactory[bot] APPROVED 2026-09-09T06:37:22Z). - Copilot round 1: one factual finding taken (a missing "where" in Purpose); two wording findings answered and resolved. Refs #656 (stays OPEN). Rule 6 LANDING window observed. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012LiNG5Ume1boEfxSNeCmpu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The admission act
Brett ruled it on 2026-08-25, verbatim:
That ruling is the governance act PR #344's STOP said was missing. It supplies the approval the record lacked, so the two remaining
proposal-originerrors discharge on it.Stated plainly, and stated inside both declarations so it travels with the metadata:
proposal-origincontract requires.Status: draft, carry no ratification citation, and owe none — the promoted lifecycle rule requires one only forStatus: ratified.Verified, not just asserted:
git diffover bothproposal.mdfiles is empty, both still readStatus: draft, and the only files this PR changes are the two.openspec.yaml.Why an act was needed — measured twice before it was asked for
govern-openspec-corpus-membership's archived read-back, on MedxChart:on MedxPractice:
and of the three things that could have established ratification: "None of those three exists here."
PR #344 then STOPPED rather than declare an origin on that record —
ad_hocrequiresapproved_by/approved_on,stagedrequires a staging topic, and neither existed. Both declarations quote that chain so a future reader can reconstruct the whole thing from the metadata alone.The two declarations
create-medxchart-overlay-boundary/.openspec.yamlcreate-medxpractice-overlay-boundary/.openspec.yamlPer-field sources — derived, not assumed
kindad_hocideation/staging/+INDEX.mdin #344)iddatecreated:, not approval — settled by the case where they differ: an archived packet withcreated: 2026-08-10carries id-date2026-08-10againstapproved_on: 2026-08-11reasonapproved_by/approved_oncreatedFirst-commit verification
Both files already carried
created: 2026-08-23. Rather than trust that, it was verified in git:Both match the six-commit list the corpus-membership read-back recorded (
86f4372,a324868as the firsts). Correct as they stood, so neither value was rewritten.Note for the record: these are MODIFIED files, not new ones
Both packets already carried
.openspec.yamlwithschema:andcreated:, missing only theorigin:block — unlikeworker-credentialin #344, which had no metadata file at all. So each diff is an append, andcreated:needed verifying rather than authoring.Exit path determination
The #323/#343/#344 mechanical class — plain fix PR, no OpenSpec packet. Nothing read demanded more: the field shape mirrors what #344 wrote, no spec requirement changes, and
.openspec.yamlis outside the governed corpus (corpus.pynever references it) so record-immutability cannot fire on it.Verification
a90d6310python3 -m pytest tests/doc-healthopenspec validate --all --strict5 critical, 7 error, 73 warning, 4 info5 critical, 5 error, 73 warning, 4 infoEvery changed report line accounted:
No new finding appeared — so both declarations satisfy the contract cleanly rather than trading one finding for another (no
malformed-origin, no missingad_hocfield, no manifest disagreement).The
proposal-originerror class is now fully discharged:The five remaining errors belong to other families — two
location-conformance(staged material citing a proposal) and threestatus-validity(two missing status headers, one free-form status).Exit codes direct:
PYTEST_EXIT=0,ALL_STRICT_EXIT=0,HEALTH_EXIT=0.Branch point and collisions
Branched from
a90d6310(the #344 merge). Collision-checked before building and again before pushing — main carries noorigin:block for either packet, and no PR claims this admission.🤖 Generated with Claude Code