Skip to content

Ratify create-medxpractice-overlay-boundary: the delta narrowed to what is MedxPractice-specific, the placement cited from its one writer, the front-matter declared, and the empty boundary reported - #609

Merged
brettheap merged 6 commits into
mainfrom
change/ratify-create-medxpractice-overlay-boundary
Sep 3, 2026

Conversation

@brettheap

@brettheap brettheap commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-max001 (max-001, session 5e783e4d)

RETARGETED to main 2026-09-03 after #608 merged (0f1edc0); merges SECOND.
The base of this pull request is now main.
The order is not courtesy: the sibling carries the domain-descendant-boundary
placement delta and this packet carries none, so the amendment has to be on
the base branch before the packet that cites it can be read against it. Archive
order follows merge order — MedxChart first.

And the order is protected by nothing but that. No sequenced_after:
declaration is owed here, because the substrate keys on CO-MODIFICATION at
requirement granularity and these two packets co-modify nothing — so the sweep
has no hook to catch a wrong merge order, and no other check does either.
Merging this one first would leave promoted
domain-descendant-boundary:80-85 still reading "REALIZED BUT NOT YET
RATIFIED … still Status: draft"
while this packet's ratified spec asserts
the placement IS ratified: a ratified change contradicting promoted canon,
not merely a dangling path. The order rests on this paragraph, on tasks.md
6.2, and on the coordinator who merges.

The base branch moved and was merged in, not rebased over. #608's own fix
round landed while this one was in flight (c39d29bc → 4cb31b17), so it was
merged into this branch — no conflict — before this fix round was written, and
every citation here is read against the sibling's current delta. This pull
request is therefore four commits: the ratification (df8bd27a), that merge
(d56d89ca), the fix round (bf7393a4), and one follow-on correction
(4fee15ce) clearing a cross-reference the fix round had made stale. Nothing
was force-pushed.

The ruling

"ratify both, 1 and 1."
— Brett Heap, in session 2026-09-03 (openxFactory operator authority)

  • "ratify both" — both Medx overlay-boundary packets are ratified, in two
    separate acts recorded in two separate pull requests.
  • Decision 1, option 1 — both boundaries are recorded as REPORTED EMPTY
    BOUNDARIES
    , explicitly not citable as precedent for creating more, and each
    descendant's pin validator plus required check is commissioned as a BOUND
    FOLLOW-ON gating ARCHIVE, not ratification
    .
  • Decision 2, option 1 — THIS packet performs it. This change's spec delta
    is NARROWED to what is genuinely MedxPractice-specific, and the placement
    delta the MedxChart ratification carries is CITED by path rather than
    duplicated.

Record: openspec/changes/create-medxpractice-overlay-boundary/review/ratification-2026-09-03.md
(Status: record). Verification: review/verification-2026-09-03.md
(Status: record).

Per-finding disposition

# Finding Disposition
P1-1 No realization front-matter — proposal.md:1 a bare Status: draft, no --- block FIXED. Front-matter written where there was none, so both declarations release-realization requires are made, not corrected. code_surface names the real three-repository surface with commits (opensoft/MedxPractice created at d8d73195; the aggregation's .gitmodules/gitlink/README.md/CLAUDE.md/project-register.yaml at 3a365206; MedxFactory README.md, +5/-0, at ccd40789) and states that the pin validator and required check DO NOT YET EXIST. target_release: implemented, evidenced: MedxPractice's main is the aggregation's gitlink.
P1-2 The three ADDED requirements restated promoted domain-descendant-boundary FIXED — NARROWED under decision 2 option 1. Three requirements survive, each keeping only what this packet alone can say: the identity of the pin, the relocation of the standalone checkout, and the placement with its rule CITED. proposal.md's "No existing openxFactory capability requirements change" is CORRECTED, not deleted. NO ## MODIFIED Requirements block anywhere in this packet. All five promoted requirements this change RELIES ON WITHOUT MODIFYING are named under the Explicit delta rule.
P1-3 No validator / workflow / branch protection in opensoft/MedxPractice VERIFIED, then commissioned. actions/workflows → {"total_count":0,"workflows":[]}; rulesets → two, both "source_type":"Organization", neither a status check. tasks.md § 5 (unchecked) mirrors the sibling on LedgerxWallet's pattern — validator, workflow, [OPERATOR] ruleset, evidence — and ARCHIVE WAITS ON IT. It also ANSWERS the sibling's open 5.5: MedxPractice takes the same validator shape, one answer for one pin shape.
P2-4 Placement sequencing RECORDED. Ratification record § 7 and tasks.md 6.2: this change ratifies SECOND, the placement delta lives in the sibling, archive order is MedxChart first. (The note's account of what an out-of-order merge would cost was understated and is corrected in the fix round below — it is a contradiction with promoted canon, not a broken reference.)
P2-5 Empty boundary RECORDED. Ratification record § 4 and tasks.md 6.1, with the five-entry tracked-file list that makes the report checkable.
P2-6 Pin two commits behind upstream NOTED, NOT TASKED. design.md Decision 2: main is 0ec9fca7, the pin 9526bd9e, two commits apart — which is what an immutable pin IS. Re-pinning is a deliberate act under the same-commit rule, and no re-pin runbook exists; the note exists so the distance is not read as neglect and no procedure is invented for it. The sibling recorded none either.
P3-7 .gitmodules SSH URL for a public upstream KNOWN LIMITATION in design.md, with its cost named (small — MedxPractice is itself private, so every clone is authenticated) and NOT changed from here; carried to tasks.md 5.5 so the next act on that tree does not rediscover it.
P3-8 3a365206 bundled the openxFactory gitlink move DISCLOSED by an append-only note at tasks.md 2.3 — no checkbox flipped, no task text edited. The note also records that "remove any direct public openPractice aggregate entry" was a NO-OP by construction.
P3-9 README row REWRITTEN to RATIFIED 2026-09-03 with the ruling quoted, the narrowing and citation named, sequencing after MedxChart, and the archive gate.
P3-10 .gitkeep asymmetry NOT ACTED ON, deliberately, and said so on the record so its absence is a decision rather than an oversight.

One item the review did not raise is fixed because the ratified text made it a
contradiction: design.md's relative-submodule-URL risk materialized — the
entry landed as ../MedxPractice and killed every nightly from 2026-08-24 until
opensoft/xFactory 386e7ee2 normalized both Medx entries. Leaving it as an
open risk while the spec now obliges the absolute form would be a contradiction
inside one packet.

Fix round on this pull request — the records CORRECTED PRE-CAPTURE

The adversarial review of this pull request found the packet sound and
well-evidenced and raised one P1 and several P2/P3 items to fix before merge.
Capture is the MERGE, not the first push, so the two Status: record
documents were corrected ON THE BRANCH, before capture, and the ratification
record carries a dated "Corrected pre-capture" paragraph listing every item
below by number. This numbering is the FIX ROUND's, and is not the same series
as the ratification table above.

# Finding Fix
P1-1 Requirement 3 restated in its BODY the placement path, the absolute remote and the gitlink that the sibling's MODIFIED delta already states normatively — then declared "NOT RESTATED HERE", while its own third scenario swore "this change states no second version of that rule". The scenario was false. FIXED. The body now obliges only "the placement the cited delta ratifies, at the gitlink and remote form that delta records". All three concrete values live in that requirement's scenarios ONLY, as EVIDENCE that the cited rule holds of this descendant today; the gitlink literal moved into the first scenario so the evidence is complete. The scenario is now true.
P2-2 Requirement 2 obliged where a developer's standalone openPractice checkout sits on a local filesystem — unverifiable by any remote or by CI, and this packet's own verification record § 9 says the relocation "leaves no trace in Git" by design. A SHALL nothing can enforce or falsify. FIXED. It now obliges only the half a remote reading settles — the aggregation reaches openPractice ONLY through MedxPractice's nested gitlink, and no direct xFactories/openPractice entry exists (verification § 5 confirms both) — and its title says so: "The aggregation reaches openPractice only through MedxPractice". The workspace-root sentence moved to design.md Decision 4 as a recorded local convention. Both scenarios rewritten to the checkable form.
P2-3 Requirement 1 listed the pin manifest's eight fields as though all were top-level. FIXED against the live file. Read from a fresh shallow clone of opensoft/MedxPractice at d8d73195: contracts/openpractice-pin.yaml carries schema_version and kind at the top and NESTS the other six under pin: — which is why the scenario beneath already read pin.revision. The requirement states the nested shape, and tasks.md 5.1's validator wording was corrected to match: a validator written to the flat shape would pass a file that does not exist.
P2-4 The record said "four" promoted requirements were relied on. FIXED to FIVE, which is what the spec delta's head, proposal.md and § 4 of the record all say.
P2-5 The answer recorded to the sibling's open tasks.md 5.5 did not say what it could not do. FIXED in both places that carry the answer: "This paragraph is the answer; the sibling's 5.5 checkbox cannot be ticked from this pull request and is left for the sibling's own pass to tick with a pointer here."
P2-6 tasks.md 6.2 called an out-of-order merge "a broken reference, not a wrong rule". That understated it. FIXED with the accurate analysis. Merging this packet onto main before the sibling's delta would leave promoted domain-descendant-boundary:80-85 still reading "still Status: draft" while this packet's ratified spec asserts the placement ratified — a ratified change contradicting promoted canon, the Explicit delta rule's own defect, repaired only by merging the sibling. The note now also states that nothing in the repository gates the order (no sequenced_after: is owed, because the two packets co-modify nothing), so it rests on prose, this body and the coordinator — said plainly rather than leaving a reader to assume a machine is watching.
P3-7 The record cited proposal.md:30-32 for a comment present only in the file as authored. FIXED — the comment is quoted, and the head line range given is the one that holds the correction.
P3-8 Three console blocks in the verification record printed filtered or composite output as though it were raw. FIXED to § 2's … convention. § 4's compare block is split into the two commands that actually produced it; § 5's .gitmodules block carries an excerpt marker (2 of 20 stanzas, the two Medx ones adjacent) plus a grep -c 'openPractice' returning 0; § 6's sweep block regains the two header lines the command prints.
P3-9 This body reported "13 info" from doc-health.py. FIXED to 14, re-measured on this tree and on the base branch alike.
P3-10 ideation/staging/INDEX.md quote range was :2400-2405. FIXED to :2399-2403, the lines the quoted sentence actually spans.
P3-11 Requirement 3's title named only the aggregation half of what its body obliges. FIXED — "MedxPractice is aggregated at the cited placement and named by MedxFactory".

One follow-on correction, 4fee15ce. P2-2's narrowing made the closing
sentence of the verification record's § 9 stale — that section reports the
relocation as UNREPRODUCIBLE, yet still described the second requirement as
obliging that "the checkout lives at the workspace root". § 9 now says why the
requirement obliges only half of it: the workspace-root half is precisely what
that section reports as unverifiable, so swearing it as a SHALL contradicted
this very record.

Two consequences of the base moving, recorded rather than glossed. First,
the sibling's record now states 86/86 where it once stated 85, which made
this packet's verification § 2 parenthetical stale — corrected there. Second,
that delta's head says the citation from this packet "does not yet exist …
that packet carries zero references to this file"
— a sentence written against
the sibling's head and true there. It is not edited from here: that
delta has one writer and this is not it. It is named in the record so a reader
meeting both files on main knows the sentence is dated to its own branch
rather than wrong about this one.

The human ratification

This change is ratified by a human being, on the record, and the record says
so in one citation line.
proposal.md carries
Ratified: 2026-09-03 by Brett Heap (openxFactory operator authority) — "ratify both, 1 and 1"; record at review/ratification-2026-09-03.md
— the record-citing spelling, legal here precisely because no approving
OpenSpec change exists to name and Ratified by: is therefore unavailable. The
2026-08-25 admission (PR #345, f90f3a08) was origin metadata, not a
ratification
, and .openspec.yaml is untouched so the archive gate finds that
declaration unchanged. Issue #318 stays OPEN and unclaimed; nothing here
closes it. What IS discharged is split-openxwallet-repo's recorded conflict at
ideation/staging/INDEX.md:2399-2403 — "TWO of the three descendant precedents
are NOT ratified in this repo"
— half by the sibling and the rest by this.
The INDEX line is not edited: a dated observation is discharged by the act that
answers it, not by rewriting the observation.

Validation

  • OPENSPEC_TELEMETRY=0 openspec validate create-medxpractice-overlay-boundary --strict → valid
  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict → 86 passed, 0 failed (86 items), re-run on the tree merged with main at 0f1edc0e after Ratify create-medxchart-overlay-boundary: the placement delta domain-descendant-boundary asked for, the reversed relative-URL decision recorded, the remote acknowledged, and the empty boundary reported #608 landed; main itself reads 86, so this ratification adds no item and removes none; it narrows ones already counted.
  • python3 scripts/doc-health.py --single-repo . → 6 critical, 6 error, 29 warning, 14 info, 0 new regressions — re-run on the tree merged with main at 0f1edc0e, byte-identical (normalizing only the checkout directory name) to the same run on origin/main at 0f1edc0e itself, and ZERO findings naming this change. (This line read "13 info" before the fix round; 14 is the measured figure, on every tree checked since. P3-9.)
  • python3 -m pytest tests/sequenced_after -q → 118 passed on the merged tree, against the pin below — this is what the pin correctness turns on. python3 -m pytest tests/doc-health tests/sequenced_after -q → 1618 passed, 7 warnings on the merged tree (462s), up from the earlier fix round's 1529 — main gained test files in the same window (tests/manifest_digests/, tests/notebooklm/, tests/test_standards_body_registry.py among them), not a regression.
  • python3 scripts/validate-sequenced-after.py . --sweep → 158 change ids (33 active + 125 archived), 109 co-modified, 49 sole modifiers, 21 / 12 active co-modified/sole on the tree merged with main at 0f1edc0e — IDENTICAL, reading for reading, to main's own pin; the pre-merge head reading was 157 / 109 / 48 / 22 / 11, and every corpus-wide move between the two is main's (Ratify create-medxchart-overlay-boundary: the placement delta domain-descendant-boundary asked for, the reversed relative-URL decision recorded, the remote acknowledged, and the empty boundary reported #608's own landing plus what merged beside it), NOT this packet's. This packet still moves the pin NOT AT ALL: its delta is ADDED-only both before and after the narrowing and medxpractice-overlay-boundary has exactly one writer, so the change was a SOLE modifier before today and is one after, on either tree. tests/sequenced_after/test_sweep.py is therefore NOT touched by this branch's own commits — the contrast with the sibling is the point: adding a MODIFIED block moved four readings there; narrowing an ADDED-only delta moves none here.
  • Pin agreement re-read from an INDEPENDENT shallow clone of opensoft/MedxPractice, and the aggregation entry and gitlink through the GitHub API, not from any shared working tree. git grep '/home/' clean in the packet and in the descendant.
  • Re-derived a second time, pre-capture, after main merge: every reading above is now stated against the tree merged with origin/main at 0f1edc0e (merge commit 2615f146), taken after Ratify create-medxchart-overlay-boundary: the placement delta domain-descendant-boundary asked for, the reversed relative-URL decision recorded, the remote acknowledged, and the empty boundary reported #608 landed and this branch was retargeted from the sibling's branch straight to main; the record's own dated correction paragraphs are ratification-2026-09-03.md's "RE-DERIVED AFTER MERGING main" paragraph and verification-2026-09-03.md § 10.
  • Every reading above was re-run after the fix round, on the tree that carries the merged base. The fix commit touches only this change's files and the one README row.

🤖 Generated with Claude Code

https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at

…at is MedxPractice-specific, the placement cited from its one writer, the front-matter declared, and the empty boundary reported

Brett Heap, in session 2026-09-03: "ratify both, 1 and 1". Decision 1 option 1 —
both Medx boundaries are recorded as REPORTED EMPTY BOUNDARIES, not citable
precedent, and each descendant's pin validator plus required check is
commissioned as a BOUND FOLLOW-ON gating ARCHIVE rather than ratification.
DECISION 2 OPTION 1 IS THIS PACKET'S OWN, AND IT IS EXECUTED HERE.

THE DELTA IS NARROWED, NOT DELETED. The three ADDED requirements as authored
restated promoted `domain-descendant-boundary` in differing words: "MedxPractice
owns the branded practice-operations boundary" restated rules 1 (:6-16) and 3
(:55-62); "The upstream revision is immutable and reviewable" restated rule 2
(:30-41) near-verbatim; "Aggregate and domain references use MedxPractice"
restated rule 4 (:76-85). Restatement in differing words is a DEFECT under
`document-lifecycle`'s Explicit delta rule, not a strengthening of it. Three
requirements survive, each carrying only what this packet alone can say: the
IDENTITY of the pin (`opensoft/openPractice` at 9526bd9e,
`contracts/openpractice-pin.yaml`, `kind: medxpractice_openpractice_pin`,
`relationship: pinned_upstream_composition`) plus the PRIVATE-over-PUBLIC
visibility asymmetry that is the boundary's reason for existing; the RELOCATION
of the standalone openPractice checkout, which no promoted requirement covers;
and the `xFactories/MedxPractice` PLACEMENT with its rule CITED by path rather
than restated. The file's head maps every retired requirement to the promoted
one it restated and names all five promoted requirements this change RELIES ON
WITHOUT MODIFYING.

ONE REQUIREMENT, ONE WRITER. This change carries NO `## MODIFIED Requirements`
block. The placement amendment is written once, by the sibling
`create-medxchart-overlay-boundary`, at
`openspec/changes/create-medxchart-overlay-boundary/specs/domain-descendant-boundary/spec.md`
— which names `xFactories/MedxPractice` at gitlink `d8d73195` among its realized
placements — and this packet is the ratification packet that CITES it, by path,
in the spec delta twice and in the proposal. `proposal.md`'s "No existing
openxFactory capability requirements change" is CORRECTED rather than deleted:
the placement requirement does change, and the correction says where.

FRONT-MATTER WHERE THERE WAS NONE. `proposal.md:1` was a bare `Status: draft`
with no `---` block at all, so NEITHER declaration `release-realization`
requires existed — two missing declarations made, not a wrong value corrected.
`code_surface` names the real three-repository surface with its commits
(`opensoft/MedxPractice` created at d8d73195; the aggregation's `.gitmodules`,
gitlink, README, CLAUDE.md and project-register at 3a365206; MedxFactory
README, five lines, at ccd40789) and states that the pin validator and its
required check DO NOT YET EXIST. `target_release: implemented` is true and
evidenced: MedxPractice's `main` IS the aggregation's gitlink.

THE BOUND FOLLOW-ON, MEASURED FIRST. `gh api repos/opensoft/MedxPractice/actions/workflows`
returns `{"total_count":0,"workflows":[]}`, and the repository's only two
rulesets are ORGANIZATION-sourced with no status check — so nothing re-reads the
two pins a human read once. `tasks.md` § 5 commissions the LedgerxWallet shape:
fail-closed `tests/validate_pin.py`, the `pin-validation` workflow, the
[OPERATOR] ruleset, the realization evidence that opens the archive gate, and
the SSH-URL limitation to close while that tree is open. It also ANSWERS the
sibling's open 5.5 — MedxPractice takes the same validator shape, one answer for
one pin shape — recorded in the packet that owns the repository it is about.

SEQUENCING. This change ratifies SECOND and merges SECOND, after #608, and
archives after it: the amendment must be on the base branch before the packet
citing it can be read against it. `tasks.md` 6.2 says so and says what a
merge out of order would break (a reference, not a rule) and how it is repaired
(by merging the sibling, never by writing a second delta here).

`.openspec.yaml` is untouched: it records the 2026-08-25 ADMISSION (PR #345,
f90f3a0), which is not a ratification, and `release-realization`'s
origin-retention rule requires the archive gate to find it unchanged. Issue #318
remains OPEN and unclaimed; this record does not close it. What IS discharged is
`split-openxwallet-repo`'s recorded conflict at `ideation/staging/INDEX.md:2400-2405`
— "TWO of the three descendant precedents are NOT ratified in this repo" — half
by the sibling and the rest by this; the INDEX line is not edited, a dated
observation being discharged by the act that answers it.

`tests/sequenced_after/test_sweep.py` is NOT touched, and that is measured
rather than assumed: 157 change ids, 109 co-modified, 48 sole modifiers, 22 / 11
active co-modified/sole — identical before and after. This packet's delta is
ADDED-only both before and after the narrowing and `medxpractice-overlay-boundary`
has exactly one writer, so it was a SOLE modifier before today and is one after,
and renaming its requirement titles cannot make it share a key. The contrast
with the sibling is the point: adding a MODIFIED block moved four readings
there; narrowing an ADDED-only delta moves none here.

Validation: openspec validate --strict green; --all --strict 86/86 (the same
command reads 86 on the base branch too, so this ratification adds no item);
doc-health --single-repo identical to the base branch (6 critical, 6 error, 29
warning, 13 info, 0 new regressions) with ZERO findings naming this change;
tests/doc-health + tests/sequenced_after 1529 passed.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at
Lane: openxfactory-max001
Copilot AI lite review requested due to automatic review settings September 3, 2026 03:36

@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

Copy link
Copy Markdown
Contributor Author

CLAIMED — lane openxfactory-max001, session 5e783e4d, 2026-09-03T03:36:58Z, for this PR through merge.

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.

🟡 Changes recommended

It introduces at least one broken README citation path and embeds transient upstream HEAD details into the spec delta, both of which should be corrected before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This pull request ratifies the create-medxpractice-overlay-boundary OpenSpec change packet, narrowing its spec delta to MedxPractice-specific statements, recording the operator ratification and verification evidence, and updating the repository’s active-change index to reflect the ratified state.

Changes:

  • Rewrites the MedxPractice spec delta to avoid restating promoted domain-descendant-boundary policy and instead cite the sibling packet’s placement amendment by path.
  • Adds captured ratification and verification records (and extends tasks.md) to document the ruling, empty-boundary standing, and the commissioned archive-gating follow-on validator work.
  • Updates the README “Active changes” row for create-medxpractice-overlay-boundary to reflect ratification and the narrowed/cited delta.
File summaries
File Description
README.md Updates the Active changes entry for the MedxPractice packet to reflect ratification and the archive-gated follow-on.
openspec/changes/create-medxpractice-overlay-boundary/tasks.md Appends evidence notes and adds commissioned follow-on tasks that gate archive (validator/workflow/ruleset), plus empty-boundary and sequencing recording.
openspec/changes/create-medxpractice-overlay-boundary/specs/medxpractice-overlay-boundary/spec.md Replaces the spec delta with a narrowed ADDED-only delta and explicit citations to promoted policy and the sibling placement delta.
openspec/changes/create-medxpractice-overlay-boundary/review/verification-2026-09-03.md Adds a captured verification report with reproducible commands/output and re-verification evidence.
openspec/changes/create-medxpractice-overlay-boundary/review/ratification-2026-09-03.md Adds a captured ratification record documenting the ruling, dispositions, and sequencing/standing rationale.
openspec/changes/create-medxpractice-overlay-boundary/proposal.md Adds required realization front-matter, updates status to ratified with citation line, and records the narrowing/citation rationale in Capabilities.
openspec/changes/create-medxpractice-overlay-boundary/design.md Records the re-pin note, discharges/measures risks, and captures known limitations and the relative-URL reversal narrative via citation.
Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 3
  • Review effort level: Lite

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

Comment on lines +69 to +71
- **WHEN** `opensoft/openPractice`'s `main` moves ahead of the pinned revision —
as it has, reading `0ec9fca72ecf493e2520e676387f0c3f327cc6e6`, two commits
ahead, on 2026-09-03
Comment thread README.md
— MedxPractice owns the private practice-operations composition boundary and
pins the independent public openPractice application at an immutable commit.
— **RATIFIED 2026-09-03** (Brett Heap, in-session: *"ratify both, 1 and 1"*;
record at `review/ratification-2026-09-03.md`). MedxPractice owns the PRIVATE
Comment on lines +80 to +81
The canonical standalone `openPractice` checkout SHALL live at the projects
workspace root rather than inside the xFactory aggregation workspace, with its
brettheap added a commit that referenced this pull request Sep 3, 2026
…t is wider than one pull request

998a31b's closing "STANDING RACE" paragraph asserts that openxFactory #599
carries a `## MODIFIED Requirements` block and would move the live corpus pin
ahead of this branch. THAT WAS WRITTEN WITHOUT BEING MEASURED, AND IT IS FALSE.
Measured now:

  $ gh api repos/opensoft/openxFactory/pulls/599/files \
      --jq '.[] | "\(.status) \(.filename) +\(.additions) -\(.deletions)"'
  modified openspec/changes/add-credential-escrow-checkout/tasks.md +25 -2

One `tasks.md` edit. It adds no requirement block, no packet and no spec delta,
so it moves no reading of `scripts/validate-sequenced-after.py --sweep`.

The race itself is real and wider: any open change that ADDS a packet or a spec
delta moves `change_ids` / `active`, and any that adds or drops a
`## MODIFIED Requirements` block moves the co-modified and sole sets. Measured
against the open queue on 2026-09-03, SEVEN pull requests touch a `proposal.md`
or a `specs/**/spec.md` under `openspec/changes/` — #609 (this change's own
MedxPractice sibling), #595, #594, #593, #548, #491 and #447 — and whichever
lands first re-breaks this branch's pin.

This is the second fix commit rather than an amendment of the first, for the
same reason the first is not an amendment of c39d29b: force-pushing is
forbidden here (GH013), so a wrong statement in a pushed commit message is
corrected in the durable record and named there, never rewritten. The
correction lands in `review/verification-2026-09-03.md` § 9, beside the
paragraph that supersedes c39d29b's message by the same mechanism. Correcting
an evidentiary defect this round exists to remove, in the round's own commit,
is not an exception to the round — it is the round.

Validation, measured on this commit's tree:
  openspec validate create-medxchart-overlay-boundary --strict
    -> Change 'create-medxchart-overlay-boundary' is valid
  openspec validate --all --strict -> Totals: 86 passed, 0 failed (86 items)
  scripts/doc-health.py --single-repo .
    -> Findings: 6 critical, 6 error, 29 warning, 14 info. New regressions: 0.
       Finding lines BYTE-IDENTICAL to the c39d29b baseline; ZERO findings
       name this change.
  scripts/validate-sequenced-after.py . --sweep -> 157 / 109 / 48 / 22 / 11
  pytest tests/sequenced_after -q -> 118 passed

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at
Lane: openxfactory-max001
brettheap and others added 2 commits September 3, 2026 00:03
…verlay-boundary' into change/ratify-create-medxpractice-overlay-boundary
…acts no longer restated, the relocation SHALL made checkable, the manifest shape stated as nested, and the record's counts and ranges corrected pre-capture

The adversarial review of pull request #609 found the packet sound and
well-evidenced, and raised one P1 and several P2/P3 defects to fix before
merge. Capture is the merge, so the records are corrected ON THE BRANCH,
BEFORE capture, and the ratification record now carries a dated "Corrected
pre-capture" paragraph listing every item below by the review's own number.
No force-push; the base branch's own fix round was merged in first.

P1-1 — THE PLACEMENT FACTS ARE NO LONGER RESTATED. Requirement 3's body
asserted the placement path, the ABSOLUTE `[email protected]:opensoft/MedxPractice.git`
remote and the gitlink `d8d73195` — the three things the sibling's MODIFIED
delta already states normatively — and then declared "NOT RESTATED HERE",
while its own third scenario swore that "this change states no second version
of that rule". The scenario was false. The body now reads: the aggregation
SHALL carry MedxPractice "at the placement the cited delta ratifies, at the
gitlink and remote form that delta records". The three concrete values survive
in that requirement's scenarios ONLY, as EVIDENCE that the cited rule holds of
this descendant today, and the gitlink literal was moved into the first
scenario so the evidence is complete. The scenario is now true.

P2-2 — THE RELOCATION SHALL IS MADE CHECKABLE. Requirement 2 obliged where a
developer's standalone `openPractice` checkout sits ON A LOCAL FILESYSTEM. No
remote and no CI can settle that; this packet's own verification record § 9
says the relocation "leaves no trace in Git" BY DESIGN, so the requirement was
a SHALL nothing could enforce or falsify. It now obliges only the half a remote
reading does settle — the aggregation reaches openPractice ONLY through
MedxPractice's nested gitlink and no direct `xFactories/openPractice` entry
exists, which verification § 5 confirms — and its title says so. The
workspace-root sentence moved to `design.md` Decision 4 as a recorded LOCAL
CONVENTION. Both scenarios were rewritten to the checkable form.

P2-3 — THE MANIFEST SHAPE IS STATED AS NESTED. Requirement 1 listed the pin
manifest's eight fields as though all sat at the top level. Read from a fresh
shallow clone of `opensoft/MedxPractice` at `d8d73195`, the live
`contracts/openpractice-pin.yaml` NESTS six of them under `pin:` — which is
why the scenario beneath it already read `pin.revision`. The requirement now
states two top-level declaration fields and six under `pin:`, and `tasks.md`
5.1's validator wording was corrected to match: a validator written to the flat
shape would pass a file that does not exist.

P2-4 — "four" promoted requirements became FIVE, which is what the spec
delta's head, `proposal.md` and § 4 of the record all say.

P2-5 — the answer this packet records to the sibling's open `tasks.md` 5.5 now
says what it cannot do: this paragraph is the answer, the sibling's checkbox
cannot be ticked from this pull request, and it is left for the sibling's own
pass to tick with a pointer here. Stated in both places that carry the answer.

P2-6 — WHAT AN OUT-OF-ORDER MERGE WOULD ACTUALLY COST. `tasks.md` 6.2 called
it "a broken reference, not a wrong rule". That understated it. Merging this
packet onto `main` before the sibling's delta would leave promoted
`domain-descendant-boundary:80-85` still reading "REALIZED BUT NOT YET
RATIFIED … still `Status: draft`" at the same moment this packet's ratified
spec asserts the placement IS ratified — a ratified change CONTRADICTING
promoted canon, the Explicit delta rule's own defect, repaired only by merging
the sibling. And NOTHING IN THE REPOSITORY GATES THE ORDER: no
`sequenced_after:` is owed because the two packets co-modify nothing, so the
sweep has no hook to catch it. The order is protected by this prose, the pull
request body and the coordinator, and by nothing else. Said plainly rather than
leaving a reader to assume a machine is watching.

P3-7 — the record cited `proposal.md:30-32` for a comment that exists only in
the file AS AUTHORED; it is quoted instead. P3-8 — three console blocks in the
verification record printed filtered or composite output as raw: § 4's compare
reading is split into the two commands that produced it, § 5's `.gitmodules`
reading carries an excerpt marker (2 of 20 stanzas) plus a `grep -c openPractice`
returning 0, and § 6's sweep block regains the two header lines the command
prints. P3-10 — the INDEX quote range is `:2399-2403`, not `:2400-2405`.
P3-11 — Requirement 3's title named only half of what its body obliges and now
reads "MedxPractice is aggregated at the cited placement and named by
MedxFactory".

TWO CONSEQUENCES OF THE BASE MOVING, recorded rather than glossed. The
sibling's fix round landed while this one was in flight, so
`change/ratify-create-medxchart-overlay-boundary` advanced c39d29b → 4cb31b1
and was merged into this branch (no conflict) before these fixes were written,
so every citation is read against the sibling's current delta. First, the
sibling's record now states 86/86 where it once stated 85, which made this
packet's verification § 2 parenthetical stale; it is corrected. Second, that
delta's head says the citation from this packet "does not yet exist" — a
sentence written against the SIBLING's head and true there. It is NOT edited
from here: that delta has one writer and this is not it. It is named so a
reader meeting both files on `main` knows the sentence is dated to its own
branch rather than wrong about this one.

VERIFIED. `openspec validate create-medxpractice-overlay-boundary --strict`
valid; `--all --strict` 86 passed, 0 failed. `validate-sequenced-after.py
--sweep` UNCHANGED at 157 / 109 / 48 / 22 / 11 — the narrowing and the two
title changes created no shared key, which is structural rather than lucky:
this delta is ADDED-only and `medxpractice-overlay-boundary` has exactly one
writer in the corpus. `doc-health.py --single-repo .` 6 critical, 6 error,
29 warning, 14 info, 0 new regressions — IDENTICAL LINE FOR LINE to the same
run on the base branch, and ZERO findings name this change. 118 passed in
`tests/sequenced_after`; `tests/sequenced_after/test_sweep.py` is not touched.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at
Lane: openxfactory-max001
Copilot AI review requested due to automatic review settings September 3, 2026 04:17

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.

🟡 Changes recommended

The new verification record includes a console block with non-literal git grep output (“(no matches)”), and the spec text contains an internal contradiction about not stating pin “form” while normatively specifying manifest shape/fields.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment on lines +252 to +255
$ git grep -n '/home/' -- openspec/changes/create-medxpractice-overlay-boundary
(no matches)
$ git -C mpverify grep -n '/home/'
(no matches)
Comment on lines +71 to +78
without forking it. This requirement states the IDENTITY of one pin and says
nothing about the FORM pins take: the twice-pinned obligation, the
`contracts/<product>-pin.yaml` location, the
`<descendant_repo_snake>_<product_snake>_pin` kind grammar, the
`relationship:` field and the same-commit discipline are all stated once by the
promoted **A descendant pins the product by commit, twice**
(`openspec/specs/domain-descendant-boundary/spec.md:30-41`), which this change
relies on and does not restate.
…2 narrowed away

§ 9 is the section that reports the relocation as UNREPRODUCIBLE — "a local
filesystem move of a repository whose history, origin and tracked content are
unchanged BY DESIGN — the act's own success criterion is that it leaves no
trace in Git". Its closing sentence then said the spec delta's second
requirement "states the resulting obligation (the checkout lives at the
workspace root and the aggregation reaches openPractice only through
MedxPractice's gitlink)". After P2-2 that is no longer what the requirement
says, and leaving it would have left this record describing a SHALL the packet
had just stopped making — the same class of stale cross-reference the fix round
exists to clear.

Corrected pre-capture, in the same round and by the same rule. § 9 now says why
the requirement obliges only half of it: the workspace-root half is precisely
what this section reports as unverifiable, so swearing it as a SHALL
contradicted this very record; it is a LOCAL CONVENTION at `design.md`
Decision 4, and the retitled requirement keeps the remotely checkable half that
§ 5 confirms — the entry is `xFactories/MedxPractice` at its
`[email protected]:opensoft/` remote and `grep -c 'openPractice'` over the
aggregation's `.gitmodules` returns `0`.

RE-VERIFIED after the edit: `openspec validate
create-medxpractice-overlay-boundary --strict` valid; `--all --strict` 86
passed, 0 failed; `doc-health.py --single-repo .` 6 critical, 6 error, 29
warning, 14 info, 0 new regressions; sweep UNMOVED at 157 / 109 / 48 / 22 / 11.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at
Lane: openxfactory-max001
Copilot AI review requested due to automatic review settings September 3, 2026 04:25

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.

🔵 Needs a closer look

The new verification record’s “host-absolute paths” console block reports “(no matches)” despite the file itself containing /home/ in the recorded commands, making the evidence as written internally inconsistent.

Review details

Suppressed comments (1)

openspec/changes/create-medxpractice-overlay-boundary/review/verification-2026-09-03.md:255

  • The “host-absolute paths” check reports “(no matches)”, but the file itself contains the string /home/ in the recorded commands, so git grep -n '/home/' over the packet cannot return no matches as written. Either exclude the review/ directory from the grep (as done in the sibling packet) or record the actual matches and explain why they are not host-absolute paths.
```console
$ git grep -n '/home/' -- openspec/changes/create-medxpractice-overlay-boundary
(no matches)
$ git -C mpverify grep -n '/home/'
(no matches)
  • Files reviewed: 7/7 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap
brettheap changed the base branch from change/ratify-create-medxchart-overlay-boundary to main September 3, 2026 15:13
brettheap and others added 2 commits September 3, 2026 11:22
Copilot AI review requested due to automatic review settings September 3, 2026 15:22

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.

🟡 Changes recommended

The review/verification record contains a self-inconsistent “no matches” git grep console block, and design.md contradicts tasks.md by labeling a limitation as “not tasked” while it is explicitly tasked in §5.5.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (1)

openspec/changes/create-medxpractice-overlay-boundary/review/verification-2026-09-03.md:265

  • The git grep -n '/home/' console block cannot be raw output as written: the pattern appears in the command line itself (so git grep would match this file unless review/ is excluded), and git grep doesn’t print “(no matches)” on its own. To keep the record self-consistent, exclude review/ (or explicitly || echo '(no matches)') and show the exit status for the no-match case.
```console
$ git grep -n '/home/' -- openspec/changes/create-medxpractice-overlay-boundary
(no matches)
$ git -C mpverify grep -n '/home/'
(no matches)
  • Files reviewed: 7/7 changed files
  • Comments generated: 1
  • Review effort level: Lite

`openspec/changes/create-medxchart-overlay-boundary/design.md` § Decision 2;
it is cited here rather than restated.

## Known limitations (recorded 2026-09-03, not tasked)
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-max001 (session 5e783e4d)

Provenance for the admin merge of #609.

  • Ratification word: Brett Heap, in the coordinator session, 2026-09-03 — "ratify both, 1 and 1" (decision 1 option 1: MedxChart/MedxPractice recorded as REPORTED EMPTY BOUNDARIES, not precedent; descendant pin validator + required check as bound follow-on gating ARCHIVE, not ratification; decision 2 option 1: MedxPractice's delta narrowed, placement cited from create-medxchart-overlay-boundary's delta as the one writer).
  • Merge word: Brett Heap, same session, 2026-09-03 — "merge 609".
  • Head merged: 894c89f3 on base main; MERGEABLE.
  • Checks at head: merge-master-approval, openreposhape-pin, wallet-validation, pytest-suite (run 33772243342), signed-execution-chain-gate — all five SUCCESS.
  • Why admin: this PR is authored by the coordinator's gh identity (brettheap), so the code-owner-review ruleset can never clear on Brett's own click. REVIEW_REQUIRED is structural, not a missing review. Standing pattern (B2), confirmed 2026-09-02: "we always have this, do admin bypass".
  • Codex: no review obtained — bot rate-limited/no budget on every request. Recorded as absence, not clearance.
  • Sibling: create-medxchart-overlay-boundary ratified first, Ratify create-medxchart-overlay-boundary: the placement delta domain-descendant-boundary asked for, the reversed relative-URL decision recorded, the remote acknowledged, and the empty boundary reported #608 → 0f1edc0e. This PR's R3 cites that delta by path; it carries no MODIFIED of its own.
  • Records: review/ratification-2026-09-03.md + review/verification-2026-09-03.md are captured at this merge (re-derived pre-capture after merging main at 0f1edc0e): strict 86/86; sweep 158/109/49/21/12 = main's pin verbatim; doc-health 6/6/29/14; 1618 tests.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv

@brettheap
brettheap merged commit 0bf37d1 into main Sep 3, 2026
6 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-max001 (session 5e783e4d)

LANDED-BOTH.

The hold on openxFactory main requested of lane repo-shape (session xfactory-bc) is lifted as of this comment; #616 may take its merge-from-main now.

Bound follow-on before either can archive (not performed by this lane; needs Brett's word): descendant pin validator + pin-validation required check in opensoft/MedxChart and opensoft/MedxPractice (LedgerxWallet tests/validate_pin.py pattern), plus the [OPERATOR] rulesets. Archive MedxChart first, MedxPractice second.

Known stale sentence: #608's delta preamble says the placement requirement "carries zero references … yet" — false as of 0bf37d14, since #609's R3 now cites it by path. Named in #609's ratification record; to be corrected in MedxChart's archive delta or a one-line follow-on, not silently.

brettheap added a commit that referenced this pull request Sep 3, 2026
This branch was authored against `origin/main` at `7af2725c`, which is the
real merge base — not `2b0615da`, which is itself a later `main` commit. Main
moved on by the ratifications of `create-medxchart-overlay-boundary` (#608)
and `create-medxpractice-overlay-boundary` (#609) — BOTH RATIFIED AND STILL
ACTIVE, neither archived — and by #614, #602, #604, #601, #599 and #603.

TWO CONFLICT POINTS, both named in advance by this branch's own README block
and sweep docstring, and both resolved by KEEPING BOTH SIDES rather than by
taking either wholesale.

README.md — the "OpenSpec Records" block auto-merged, the two sides having
touched disjoint regions, and the result was checked rather than assumed:
main's expanded RATIFIED entries for both overlay-boundary packets stand under
"Active changes", and this branch's move of `add-project-repo-schema` out of
that list and into "Archived changes" stands as well. This branch's "NOTE FOR
THE NEXT REBASE" paragraph is rewritten to RECORD its own discharge instead of
still demanding it.

tests/sequenced_after/test_sweep.py — the corpus pin, the one textual
conflict. `active_co_modified` resolves to 20, WHICH IS NEITHER SIDE'S NUMBER:
#608's ratification made an already-active change a co-modifier and raised it
20 -> 21, this branch's archive of `add-project-repo-schema` moved a
co-modified active change out of the active corpus and lowered it 20 -> 19,
and on the merged tree both are true at once so the two moves cancel at 20.
MEASURED, not netted by arithmetic, on both trees via
`python3 scripts/validate-sequenced-after.py . --sweep`: `origin/main` at
`0bf37d14` reads 33 active + 125 archived = 158 change ids, 109 co-modified,
49 sole modifiers, 21 / 12 active co-modified/sole; the merged tree reads
32 active + 126 archived = 158, 109, 49, 20 / 12. EXACTLY ONE READING DIFFERS,
main's own reading being the by-exclusion control since this archive is the
only difference between the two trees. Every other pin therefore keeps MAIN'S
post-#608/#609 value — `co_modified` 109, `sole_modifiers - 1` 48,
`active_sole - 1` 11, `change_ids - 1` 157 — and BOTH movement-log bullets are
kept, main's and this branch's, with a third recording the merged reading.
#609 moves no pin at all: its delta carries no `## MODIFIED Requirements`
block, so it was and remains a sole modifier.

NO `contract-v3.1` INVENTORY MEMBER MOVED. The 283 registered paths were
intersected with everything `main` touched across `7af2725c..0bf37d1`: main's
only edits under `contracts/`, `scripts/` or `docs/` are
`scripts/nlm_auth.py`, `scripts/sync-notebooklm-books.py`,
`scripts/validate-manifest-digests.py` and four `docs/notebook*` /
`docs/lifecycle-notebook-projection.md` files, and NONE of the seven is a
registered row. The inventory therefore stands as cut and is not rebuilt.

Lane: repo-shape
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T
brettheap added a commit that referenced this pull request Sep 3, 2026
* Cut contract-v3.1: add-project-repo-schema's project-register election is realized

Realizes add-project-repo-schema tasks.md 9.3 -- the archive blocker that
packet's own realization left to the cutting session. contract-v3.0 is the
declared+tagged bundle and contracts/releases/ holds inventories through it
with no member for this family, so the next additive number is contract-v3.1,
taken here.

Change class: ADDITIVE (minor). git diff --name-status contract-v3.0 HEAD --
contracts/schemas/project-register.schema.yaml
scripts/validate-ideation-dashboard-contracts.py shows the schema gaining
three OPTIONAL fields (schema, reference, repository_roles) and the validator
gaining four new rules over those fields alone, with repositories unchanged
as strings and every existing rule's behaviour untouched -- no consumer
pinned at contract-v3.0 is made non-conformant.

contracts/manifest.yaml: contract_bundle_version contract-v3.0 -> contract-v3.1.
contracts/CHANGELOG.md: the contract-v3.1 entry, naming the four realized
artifacts (docs/project-repo-schema.md, contracts/openreposhape-pin.yaml,
scripts/validate-openreposhape-pin.py + its gate workflow, and the ONE
registered row that actually moves -- scripts/validate-ideation-dashboard-
contracts.py, row 1417 of the v3.0 inventory), and disclosing an unrelated
re-baseline: docs/contract-versioning-policy.md drifted since v3.0 via PR
#577 (the contract-v2.6 Instance Six recording), carried forward unchanged.
contracts/README.md: the project-register.schema.yaml row's editorial
description grown to name the new fields and add-project-repo-schema.
contracts/releases/contract-v3.1.digests.yaml: built LAST via
scripts/validate-contract-release.py build --tag contract-v3.1, 283 entries
in, 283 out -- the closed release surface gains and loses no member; only the
two named files' bytes moved.

NOT HERE, deliberately: the contract-v3.1 annotated tag. Policy step 5
publishes it against the commit that actually lands on main; the post-merge
commands are in the pull request body.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ

* Tick add-project-repo-schema 9.2-9.4: archive preflight complete

9.2: re-verified contracts/openreposhape-pin.yaml against the real
opensoft/openRepoShape bytes at deacbdcce4f52af427bcb4edd075fcc992e3dabe via
scripts/validate-openreposhape-pin.py --from-gh (16 digests recomputed, 18
members present, 34 files declared, none undeclared, exit 0), and re-ran the
four validator lines slices 4 and 5 recorded -- all green.

9.3: DONE, AS contract-v3.1, in the prior commit of this pull request.

9.4: python3 scripts/proposal-support.py . package add-project-repo-schema
--date 2026-09-03 --apply converts supporting-docs/ into
supporting-docs.tar.gz + supporting-docs.manifest.yaml, a verified
deterministic bundle (proposal-support.py . verify -> "proposal support
verification ok"), satisfying release-realization's proposal-support archive
gate ahead of openspec archive.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ

* Archive add-project-repo-schema: realized at contract-v3.1, promoted

openspec archive add-project-repo-schema --yes: merged-plus-green realization
evidence exists (contract-v3.1, cut in this pull request), so the
release-realization archive gate opens. Moved to
openspec/changes/archive/2026-09-03-add-project-repo-schema/. Promotes:
project-repo-schema (11 ADDED requirements, new capability) and
ideation-dashboard's "Project grouping hierarchy" (1 MODIFIED requirement --
the register's optional schema/reference/repository_roles election, carried
verbatim with every original scenario retained).

openspec/specs/project-repo-schema/spec.md: Purpose set from the proposal
(elective, confers nothing, the double pin, the manifest-is-the-source rule,
the ownership split with openRepoShape) rather than left TBD.

README.md: moved the OpenSpec Records entry from Active to Archived, per the
README's own convention, with the realization evidence (contract-v3.1,
the MedxScribe pilot, and the real MedxEHR/MedxGlass adoptions) and the
sequenced-after pin's movement recorded.

ideation/README.md: the promoted-from-staging pointer now names the archive
path; docs/project-repo-schema.md's own inline references to the pre-archive
proposal.md path are left as originally written, mirroring this repository's
own precedent (docs/contract-versioning-policy.md:341 still cites
openspec/changes/add-release-inventory-drift-check/proposal.md, archived
2026-08-25, uncorrected) -- a record is not rewritten to match today's state.

tests/sequenced_after/test_sweep.py: the live corpus pin moves in this same
commit, its own protocol. Archiving this co-modified ACTIVE change moves
active_co_modified alone, 20 -> 19 (measured: origin/main at 7af2725 reads
33 active + 125 archived = 158, 108, 50, 20/13; this commit reads
32 active + 126 archived = 158, 108, 50, 19/13) -- co_modified, sole_modifiers
and active_sole are untouched, exactly the shape #563's, #571's and
declare-spent-bundle-state's own archives moved.

NOTE: this branch was authored against origin/main at 7af2725 while PRs
#608 and #609 were landing separately per the coordinating session's
instruction not to rebase repeatedly. The README OpenSpec Records block and
this sequenced-after pin are the expected conflict points and must be
re-measured against main's post-#608/#609 state before merge.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ

* Floor pin: advance the merge-master core to codexFactory 605d48a — the floor now enumerates project-repo-schema (57 → 58)

codexFactory PR #183 merged as 605d48acd129d25e5dd5dac48201f53c11de08ae
(codexFactory main tip), regenerating
scripts/merge_master/openxfactory-review-authority-floor.yaml's
machine-generated block at openxFactory 6f80e67 — this pull request's own
branch tip, where add-project-repo-schema was archived, realized at
contract-v3.1, promoted — to carry openspec/specs/project-repo-schema/spec.md
onto the floor. Generated block: 53 -> 54 tracked paths. Floor total
(four hand-reasoned chokepoints + the generated block): 57 -> 58
never-clearable paths.

Per codexFactory docs/repository-gate-floor-repair-runbook.md and
openxFactory PR #569 (47f9008), every site that names the core commit moves
together, in one commit:

* contracts/review-lane-pin.yaml: core_commit db157dbb -> 605d48ac;
  declared_at/declared_from restated; the floor_snapshot sha256
  bf7a6b69... -> 6ab79400..., entry_count 57 -> 58; prose restated to 58
  entries and the PR #183 regeneration.
* .github/workflows/merge-master-approval.yml: PINNED_CORE_COMMIT and the
  core checkout ref: literals advance to 605d48ac; a dated note records the
  advance beside the existing divergence note.
* .github/workflows/pytest-suite.yml: the pinned-core checkout ref: (the
  fourth site the core commit is written, per
  tests/review_lane_pin/test_floor_snapshot.py::
  test_the_required_suite_checks_out_the_pinned_core) advances to 605d48ac.
* contracts/review-lane-floor-snapshot.yaml: re-copied byte-for-byte from
  codexFactory's floor document at 605d48a (sha256
  6ab7940009e0d15117bf749266beb29bfbe4bf10be3c93cd5c6a0ea8362ea819),
  never hand-edited.

Verified: `tests/review_lane_pin` 55 passed / 1 skipped locally (legitimate
skip, no core checkout on disk), 56 passed / 0 skipped with a real
codexFactory checkout at 605d48a supplied via PINNED_CORE_COMMIT (the
byte-identity and freshness-verifier-by-name tests both ran and passed for
real). `doc-health.py --single-repo .` run before and after this edit is
identical modulo repo-identity naming and one run's transient
release-tag-publication network skip (reproduced clean on re-run) — no
family gains or loses a finding because of this change. `pytest
tests/doc-health -q -m "not postgres"` and `openspec validate --all --strict`
(86/86) both pass.

Lane: repo-shape
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ

* Define the SPENT state in the pinned policy: declare-spent-bundle-state's 3.1, owed at this cut

The obligation-side half of declare-spent-bundle-state task 3.1, deliberately
left owed to the next contract cut under OD-6's shape argument and affirmed
there by Brett Heap on PR #587 (2026-09-03T02:49:08Z). This is that cut.

WHAT #577 ALREADY DISCHARGED AND IS NOT RE-AUTHORED HERE: the consumer-facing
record that contract-v2.6 is superseded and not dischargeable. That lives in
this same document as Instance Six and is cross-referenced, not restated --
"two records of one measurement is how they drift apart". Instance Six RECORDS
the supersession; the new subsection DEFINES the state, which is precisely what
#577 declined to do ("No sentinel is invented ... Building one here would be
exactly the failure that check exists to catch").

Placed as a ### subsection of ## Immutable Tag Correction, LAST in that section
-- after ### contract-v1.36 Was Moved, whose opening sentence says "the rule
immediately above" and would have been broken by an insertion between it and
its parent. It sits beside Immutable Tag Correction because the SPENT remedy IS
that section's remedy for a defective release applied one step earlier in the
lifecycle, and because its "its version number is never reused" is the sentence
the v2.6 disposition leans on.

The paragraph states, quoting openspec/specs/doc-health/spec.md
### Requirement: Release-tag publication rather than paraphrasing it where the
wording carries weight: the third state between published and owes-a-tag;
entry ONLY by explicit declaration, never by silence, age or any absence; the
declaration's home in contracts/CHANGELOG.md inside the SUPERSEDING bundle's
own entry, in the reserved single-line form, with the opener reserved and an
incomplete line malformed rather than prose; that a bundle cannot declare
itself spent; the successor guard in all three of its conjuncts (cut,
published, strictly later); the three severities -- info accepted, warning
provisional, error refused with the superseded error standing beside it; and
that the number is never reused while the manifest, the inventory and the
spent bundle's own entry are left exactly as written.

The reserved form is shown as a 4-space indented code block, per the
requirement's own reason for doing so. Measured, not assumed: zero lines of
this document begin with the reserved opener, and the family reads only
contracts/CHANGELOG.md in any case (line.startswith, no lstrip).

doc-health --single-repo vs the pre-edit tree at the same origin/main
(0f1edc0): 6 critical / 4 error / 29 warning / 13 info on both, no family
gains or loses a finding, release-tag-publication included.

Lane: repo-shape
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ

* Advance the intent-compliance release boundary to contract-v3.1, by hand as the tripwire requires

The contract-v3.1 cut moved contracts/manifest.yaml and left this file behind:
ValueError: 'contract-v3.1' is not a valid ReleaseState, failing
test_release_membership_when_registration_changes_then_transition_is_atomic
and test_release_inventory_when_registration_changes_then_schema_pins_are_atomic
(2 failed, 286 passed, reproduced before the edit).

That failure is the tripwire working, not a bug. The enum's own docstring says
why it must be a HAND act: INTENT_RELEASE_FLOOR is an at-or-after comparison,
so nothing here notices a bump on its own, and every cut past the floor states
on the record which side of the boundary its bundle falls on.

FEATURE_SUCCESSOR_5 = "contract-v3.1" added, mirroring the four successors
above it, and wired into both match statements' successor arm exactly as
v2.5, v2.6 and v3.0 are wired -- the arms are exhaustive over the enum and
guarded by assert_never, so a value added without wiring would fail there
instead.

The docstring gains the paragraph the tripwire exists to collect: the v3.1 cut
is add-project-repo-schema's project-register election and its openRepoShape
consumption pin; the ONE registered row it moves is
scripts/validate-ideation-dashboard-contracts.py; it touches NO
intent-compliance member; so the membership this file asserts is UNCHANGED --
said by hand, because "unchanged" is the one thing the library cannot tell
from "unnoticed".

python3 -m pytest tests/intent-compliance -q: 288 passed.

This file is itself a member of the intent-compliance release surface, so its
new bytes are part of what the v3.1 inventory rebuild in the next commit
records.

Lane: repo-shape
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ

* Record the SPENT-state carry in the contract-v3.1 entry, and rebuild the inventory over the bytes as cut

The changelog half first, then the inventory LAST, because the inventory
digests the changelog.

contracts/CHANGELOG.md, inside the existing ## contract-v3.1 entry and
immediately after the paragraph disclosing #577's between-cuts drift: three
paragraphs saying that docs/contract-versioning-policy.md moves a SECOND time
at this cut and why. The first movement is #577's bytes carried forward
unaltered (that paragraph is not edited); the second is
declare-spent-bundle-state task 3.1's SPENT-state definition, routed by OD-6 to
"the next contract cut" and affirmed there by Brett Heap on PR #587
(2026-09-03T02:49:08Z). One rebuilt inventory re-baselines both, which is what
discharges that packet's § 3.2 -- this changelog's editorial drift info and the
policy document's release-inventory-drift ERROR "both clear on their own when
the inventory re-baselines".

NOTHING IS DECLARED SPENT BY THIS CUT and the entry says so in terms.
contract-v2.6's declaration stands exactly where it was written, in
§ contract-v3.0's own entry; no declaration is added or edited. Measured, not
asserted: contracts/CHANGELOG.md still carries EXACTLY ONE line beginning with
the reserved opener, the v2.6 declaration at what is now line 538, and this
commit introduces no new ## heading that could move an entry boundary under it.

contracts/releases/contract-v3.1.digests.yaml rebuilt with the command the cut
itself used (01489fc): scripts/validate-contract-release.py build --tag
contract-v3.1 --output contracts/releases/contract-v3.1.digests.yaml. 283
entries in, 283 out -- the closed release surface gains and loses no member.
THREE digests move, and all three are this ruling's own edits, each of which is
a registered member:

  contracts/CHANGELOG.md                        6f89cc40 -> 8be8bc65
  docs/contract-versioning-policy.md            094bd83b -> 280691a5
  tests/intent-compliance/test_release_boundary.py  2d600127 -> 6c9dd003

So the inventory DOES digest the policy document -- artifact_id
docs-contract-versioning-policy.md, a NORMATIVE_DOCS member -- and the v3.1
inventory now records the tree as cut rather than as contract-v3.0 recorded it.

Lane: repo-shape
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HGKwdQsmvRZx4fGQESdFGZ

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

CLAIMED — lane openxfactory-max001, session 5e783e4d, 2026-09-04T12:41:14Z, for tasks.md § 5.1–5.2 (descendant pin validator + pin-validation workflow) in opensoft/MedxPractice, and § 5.4 evidence in this change's review/ directory once § 5.3 (Brett's ruleset) is done. Rule 1 reads at 2026-09-04T12:41:14Z: no prior claim on this record; no PR or branch on the object in the descendant repo (listed in this lane's transcript). Word: Brett Heap, 2026-09-04, "do the pin validators, usage 14%".

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-max001 (session 5e783e4d), 2026-09-04T13:06Z

tasks.md § 5.1–5.2 REALIZED in opensoft/MedxPractice: PR #1 merged f7fd8364 on Brett's word "merge both when aligned and green" — tests/validate_pin.py (fail-closed: gitlink vs pin.revision; absent/unparseable; schema_version/kind/full pin: field list/relationship; checked-out revision drift, dirty, or uninitialized), tests/test_validate_pin.py (7 self-tests), .github/workflows/pin-validation.yml (pull_request + push main). First main-branch pin-validation run: 33876124444, success. Identical shape to the sibling descendant's validator (literal-only diff, verified), per the ratified MedxPractice § 5 text discharging MedxChart § 5.5.

§ 5.3 awaits Brett's console act (ruleset making pin-validation REQUIRED on main, shape of LedgerxWallet 21701436). § 5.4 (ruleset id + one green required run recorded in this change's review/) follows it; the archive gate opens only then.

brettheap added a commit that referenced this pull request Sep 4, 2026
…lip, no MOVEMENT LOG entry owed

Lane: openxfactory-max001

EXACTLY ONE ROW MOVED, and it is this change's own:

  -  create-medxpractice-overlay-boundary: {state: active,   class: sole, declares: absent, prose: false, moved_by: "#623", moved_on: "2026-09-03"}
  +  create-medxpractice-overlay-boundary: {state: archived, class: sole, declares: absent, prose: false, moved_by: "#660", moved_on: "2026-09-04"}

`class` holds at SOLE — this packet carries NO `## MODIFIED Requirements` block
and never did — `declares` unchanged, NO PARTNER FLIPPED. So NO MOVEMENT LOG
entry is owed: the row diff explains the whole move, which is
`add-per-change-sweep-ledger`'s own rule. Contrast the sibling's row, which is
`co-modifier` because it carried the placement delta; the two rows differ in
exactly the way the two packets do.

tasks.md gains § 7, the archive act, in the archived directory:
7.1 names PR #660 as the landing act, the sanctioned wrapper as the method,
    the wrapper's EARLIER REFUSAL while 5.5 was open, and origin retention
    proven by digest (sha256 c151811b… identical on this tree and the ratified
    ref 0bf37d1) plus the --archive-gate pass.
7.2 states the ledger move as CONFIRMED rather than predicted.
7.3 is the proof that § 6.2's ordering demand was kept: PR #654 merged
    bc1bd4e at 2026-09-04T14:59:12Z promoting the placement amendment into
    openspec/specs/domain-descendant-boundary/spec.md; this branch is cut from
    that commit and R3's primary citation resolves against it at line 76. The
    out-of-order cost § 6.2 named — "a ratified change contradicting promoted
    canon" — was never paid.

Gates: openspec validate --all --strict 89 passed, 0 failed;
validate-sequenced-after.py passed (31 active, 2 declaring); --ledger-diff
consistent (165 rows); pytest tests/sequenced_after 162 passed.

Refs #609

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
Lane: openxfactory-max001
brettheap added a commit that referenced this pull request Sep 4, 2026
…dxpractice-overlay-boundary (65 -> 66)

Lane: openxfactory-max001

STEP (2) OF THE TWO-REPOSITORY ACT THIS PACKET'S OWN PROMOTION FORCED — the
THIRD such repair of one afternoon, and the one the previous note predicted BY
NAME ("the sibling … will take the floor 65 -> 66").

Archiving `create-medxpractice-overlay-boundary` promotes
`openspec/specs/medxpractice-overlay-boundary/spec.md`, and codexFactory's
`repository_gate_floor` ENUMERATES that surface exactly, so the new spec
arrived OFF the floor and reddened the REQUIRED `pytest-suite` by way of
`tests/review_lane_pin/test_floor_snapshot.py` (the LQ-A7 coverage assertion
plus its two negative controls) and the advisory `merge-master-approval` lane
at stage `floor_incomplete`.

THE ORDER IS THE RUNBOOK'S. codexFactory PR #198, MERGE COMMIT (not squash)
`6d35c4fecaa4af7a23134678f9239e409ff5215f`, 2026-09-04T16:02:21Z, regenerated
at openxFactory `0ae74086` — this pull request's own pushed head after its
archive and ledger commits, the first tree carrying the new path.

FIVE SITES MOVE IN ONE LOGICAL CHANGE:

  contracts/review-lane-pin.yaml               core_commit  bfb8bde3 -> 6d35c4fe
  .github/workflows/merge-master-approval.yml  PINNED_CORE_COMMIT (same)
  .github/workflows/merge-master-approval.yml  core checkout ref: (same)
  .github/workflows/pytest-suite.yml           core checkout ref: (same)
  contracts/review-lane-floor-snapshot.yaml    re-copied at the new commit

and the snapshot's declared witnesses move with it: `entry_count` 65 -> 66,
`sha256` 13f650b6... ->
b890cf1de154fef4f8b91badaf9c41ff492f2abc25d1c4fe058c23b8a10961d6.

THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED (CSC-C7). Byte identity was
GATED, not asserted: the advance refuses unless (a) `6d35c4fe` is an ancestor
of codexFactory `origin/main` and (b) the sha256 of
`git show <sha>:scripts/merge_master/openxfactory-review-authority-floor.yaml`
equals the recorded value. Both passed. Verified three ways: sha256 as above
over 12658 bytes; GIT'S OWN CONTENT ADDRESSING — the vendored file's blob sha
equals codexFactory's at that path and commit,
`466a5f19234007bacfed67d87b615b8820ea1f97`; and the freshness comparison in
`test_floor_snapshot.py`, which SKIPS when the core is absent, run WITH the
core on disk (`PINNED_CORE_CHECKOUT=...`): 56 passed, ZERO skipped.

THE FLOOR GREW BY EXACTLY ONE AND IT IS THE SPEC. The whole diff against
`bfb8bde3`: one added entry line, the generated block's three regeneration
fields (`generated_at` and its `--ref` `2a3b29c8` -> `0ae74086`, `entry_count`
57 -> 58), and the document's two "8 + 1" self-descriptions moving 65 -> 66.
The EIGHT hand-reasoned chokepoints are untouched. Coverage measured on this
tree: 58 tracked paths under `openspec/specs`, all 58 floored, 0 uncovered,
0 dead.

NO COLLISION, MEASURED. `main` (`2ba666ee`) carries 57 tracked spec paths and
this branch 58 — a PROPER SUBSET, so no spec exists on main that `0ae74086`
failed to enumerate. The commit main gained since this branch was cut (#658,
two stale-sentence repairs) promotes no capability and adds no spec, so it
cannot shorten the floor. The second-lander remedy is not engaged.

HISTORICAL PROSE PRESERVED; LIVE CLAIMS RE-MEASURED. The four live literals
moved; every remaining `bfb8bde3` in these files is history describing the
14:05 advance. The live counts move with the pin (`pinned_members` SIXTY-FIVE
-> SIXTY-SIX and FIFTY-SEVEN -> FIFTY-EIGHT, the divergence paragraph, the
snapshot's `generated_at` non-member note `2a3b29c8` -> `0ae74086`, and "THE
EIGHT ARE UNCHANGED BY ALL THREE 2026-09-04 ADVANCES"). Historical sentences do
not.

LOCKSTEP RE-MEASURED AT THIS ADVANCE, not carried over: both xFactory judging
surfaces still name `f4702f64`, read 2026-09-04 directly off xFactory `main`
(`merge-master-approval.yml` line 146, `council-convening-lane.yml` line 302),
so `lockstep.status` stays `diverged` and the convergence obligation stands
undischarged — now against a floor that has moved SIX times, three of them this
afternoon. That value stays SHORT in the prose on purpose: this file's own guard
`test_the_pin_carries_exactly_one_commit_shaped_value` permits exactly ONE
40-hex token, and that one is `core_commit`. Measured after writing: one
distinct 40-hex value in the file.

THE FAMILY CLOSES HERE AND THE RULE OUTLIVES IT. Three advances in one
afternoon — `subject-establishment` 12:25:19Z, `medxchart-overlay-boundary`
14:05:07Z, `medxpractice-overlay-boundary` 16:02:21Z — each owed because an
EXACT ENUMERATION owes an advance to every promotion of a NEW capability. No
openxFactory change now in flight promotes one, so the next advance belongs to
whichever future archive first does; what carries forward is the rule and the
runbook's order, never the count.

Validated: `pytest tests/review_lane_pin` 55 passed / 1 skipped / 18 subtests,
and 56 passed / ZERO skipped with the core present; `openspec validate --all
--strict` 89 passed, 0 failed; `validate-sequenced-after.py .` passed;
`--ledger-diff` consistent (165 rows); `pytest tests/sequenced_after` 162
passed; all four YAML files re-parse.

Refs #609

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
Lane: openxfactory-max001
brettheap added a commit that referenced this pull request Sep 4, 2026
…alized by MedxPractice PR #1 (f7fd8364), gated by ruleset 22273105 (run 33876124444) (#660)

Lane: openxfactory-max001

Archive of create-medxpractice-overlay-boundary (ratified 2026-09-03 "ratify both, 1 and 1", #609 0bf37d1): § 5.1–5.2 realized by opensoft/MedxPractice PR #1 (f7fd8364); § 5.3 ruleset 22273105 (Brett's console act, API-verified); § 5.4 green run under it 33876124444 (attempt 2); § 5.5 recorded SPENT on Brett's word "option 1, land it when green". Promotes the three ADDED requirements into the new openspec/specs/medxpractice-overlay-boundary/spec.md (byte-identical to the delta); no MODIFIED; R3 text as ratified, the MedxChart delta's archive path recorded as historical. Floor advance: codexFactory #198 → 6d35c4fe (65→66), pin sites in lockstep. One ledger row moved (class sole); no MOVEMENT LOG entry owed.

Landed on the three required contexts; merge-master-approval red by design on a pin-repair PR (runbook CPL-C2; precedents #647, #654), green confirmed by workflow_dispatch re-evaluation after merge. Admin merge: self-authored PR (standing pattern B2).

Refs #609

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-max001 (session 5e783e4d), 2026-09-05T12:58Z. Ruleset deviation corrected. The archived § 5.4 evidence record for this change noted that opensoft/MedxPractice ruleset 22273105 carried one bypass actor more than LedgerxWallet 21701436: RepositoryRole 5 (Repository Admin, always) — five accounts hold admin on the repo, so four people besides Brett could have merged past pin-validation. On Brett Heap's word 2026-09-05 ("remove it") the actor was removed via the API (PUT, 12:58:35Z); read-back: bypass = OrganizationAdmin:always only; rules deletion + non_fast_forward + required_status_checks [pin-validation] intact; enforcement active; include ~DEFAULT_BRANCH. The archived record is immutable and stays as captured; this comment is the correction of record.

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