Repository navigation
Session draft/consent-instrument-contract: consent-instrument-contract - #47
Merged
Merged
Conversation
added 3 commits
July 31, 2026 19:13
…-instrument-design-decisions.md Gate-Action: 20260731T231323Z
…nstrument-contract.md Gate-Action: 20260801T004717Z
…nstrument-design-decisions.md Gate-Action: 20260801T005142Z
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 stages the consent-instrument contract packet by recording the D10 (2026-07-31) consent-instrument rulings as a durable design-decision log, updating the staging packet to reflect those resolutions, and capturing the associated human gate-console audit trail as gate-action records.
Changes:
- Added a new ranked design-decision record documenting nine consent-instrument rulings and their grounding in Ledgerx/Medx instantiations.
- Updated the consent-instrument contract staging doc to mark previously open questions as resolved and link to the decision log.
- Added gate-action audit entries for create/edit actions on the staged documents (traceability evidence per the PR description).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| ideation/staging/consent-instrument-contract/consent-instrument-design-decisions.md | New staged architecture decision log capturing the nine D10 consent-instrument rulings. |
| ideation/staging/consent-instrument-contract/consent-instrument-contract.md | Condenses/updates summary and replaces “Open questions” with the resolved rulings + link to the decision log. |
| ideation/dashboard/gate-records/ideation-staging-consent-instrument-contract-consent-instrument-design-decisions/edit-document-20260801T005142Z.gate-action.yaml | Gate-action audit record for editing the design-decisions document. |
| ideation/dashboard/gate-records/ideation-staging-consent-instrument-contract-consent-instrument-design-decisions/create-document-20260731T231323Z.gate-action.yaml | Gate-action audit record for creating the design-decisions document. |
| ideation/dashboard/gate-records/ideation-staging-consent-instrument-contract-consent-instrument-contract/edit-document-20260801T004717Z.gate-action.yaml | Gate-action audit record for editing the staging contract document. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| All nine rulings were made by Brett Heap on 2026-07-31 during the D10 | ||
| combined acceptance session, grounded in the two conformant instantiations: | ||
| the Ledgerx engagement consent record | ||
| (`tenants/ledgerxcorp/clients/medsrx/consent-record.yaml`, first schema'd |
| @@ -46,7 +23,7 @@ mechanically trigger the credentials `engagement_end` cascade. | |||
| | Domain | Instrument | State | | |||
| | --- | --- | --- | | |||
| | LedgerxFactory | engagement letter (firm↔client company) | **first schema'd instance**: `docs/engagement-letter-template.md` + `tenants/ledgerxcorp/clients/medsrx/consent-record.yaml` (kind `ledgerx_engagement_consent_record`, 2026-07-24) | | |||
This was referenced Sep 5, 2026
Merged
brettheap
added a commit
that referenced
this pull request
Oct 8, 2026
…entity bound by layer, the single-writer rows and the holder's batch-3 flags (plan 038) (#1263) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) ## T002c: plan 038's third bookkeeping batch (plan 038) Bookkeeping: no `Arc:` line, and no `openspec/changes/` path. It encodes rulings already posted on #656 and landings already merged, each cited by comment id or merge commit, with no new decision. It follows #1251 and #1257 in form, and redoes nothing either did. #1257 landed as `c70bdbd9`, so this PR is not stacked; `origin/main` (`c9dfd4f8`) is merged into the branch, never rebased. **Realizes / Falsifier:** none (bookkeeping). The gates are listed under "Gates" below. ### What changed (specs/038-opendox-document-tool-self-maintenance/) **Ticks, each merge commit read through GraphQL (`pullRequest{mergeCommit{oid}}`) before it was written.** The sweep covered every PR merged since 2026-10-06T23:30Z in openDox-code, openXdox-code, openDox, openXdox, openDox-spec and openxFactory, re-run at 2026-10-08T16:16Z: - openXdox-code: T095 #46 → `e2340bb6`, T101 #48 → `8b0401a1`, T098 #51 → `fc1115d6`, T103 #49 → `6f259156`, T096 #53 → `34e1c1f2`, T100 #54 → `2a3d8c09`, T099 #47 → `4aa3070a`, T102 #52 → `e7815ac5`, T097 #50 → `4dab93fc`, T022 #41 → `aefd1091`. - openDox-code: T104 #94 → `d616da3e`, T072 #95 → `99220883` (the arc's first realization). - Follow-ons recorded on the task they follow: T021's openXdox-code#55 → `da736090`, and T096's openXdox-code#56 → `9720925e`. - T095's Landed line also records Copilot r4201411760 as the holder's READY note did (`6027382308`, accepted limit under `5988818366`; the fix rides T073). - Nothing is ticked whose PR has not merged. T029 and T073 (openXdox-code#44, #45) and T012/T013 (openDox-code#90) stay open. **New task T105** (R2-INV-P5, read-only, lane 3; holder `6027341795`, claimed `6027346843`): ticked on lane 3's DONE line (2026-10-07T00:28:59Z), its summary `6028122920`, the map `lane-coord-034/r2/R2-INV-P5.md`, and the holder's ruling `6028138991`. Verdicts: T041, T042 and T043 READY-WITH-NOTES; T045, T047, T048 and T049 blocked by plan order only. Placed under "Wave 1's readiness" before W1, with a row in the Phase 5 slice table. The task count is 91 and plan.md's two stale "79 tasks" cites now read 91 tasks and T001 to T105 (`6028364555` item 5). **The four slice notes** (`6028138991`; no requirement or falsifier changes), as implementation notes on T042, T043, T045 and T047, refined by the holder's batch-3 flags (`6028364555`) and the Copilot-thread ruling (`6064169640`): - T042: the token `RESET_CONFIRMATION` stays byte-identical, its wording may change; Files gain `docs/runtime.md` (R2-INV-P5 § T042: its two table arrays move with `identity.TABLES`, which `test_deploy_shape.py` holds); `RULED_TABLES` is encoded as the map words it. - T042's SQL column is `full_run` (`6064169640`, fix-now, resolving Copilot 4205521074): the words "quote it or" are gone from T042, and `data-model.md` gains one line saying the SQL column is `full_run` because PostgreSQL 16 reserves `full`. **Files and falsifiers:** - T073: Files gain `tests/test_host_plane.py` and the `opendox-snapshot-*` farm exclusion scoped to the `opendox_spec` owner; the falsifier gains the farm case (Copilot r4201411760, accepted at #46's landing, `6027382308`, reply 4201421102). plan.md's conftest and `test_host_plane.py` rows, and the T020, T026 and T095 Files chains, end with T073. - T015 and T016: Files gain `tests/test_capability_honesty.py` and `tests/test_lens_seed_actions.py` (`6027633398`), with the same-kind enumeration collateral pre-authorized in the minimal way and listed in each PR body, and `tests/test_default_profile.py` (`6023619783` item 1, corrected by `6026622117` item 2), with the chain T015 → T016. plan.md gains two single-writer rows. - T041, T046, T057: the `identity` bound is split by layer (`6027706377` item 1, refining `6018624750`). T041 narrows to the module's own serialized finding shape; T046 gains it on `health list --json`; T057 gains it on the HTTP Health response; FR-011's coverage row cites all three. - T022's falsifier gains the root-`.gitignore` source check (`6026275158` item 2); T102's gains the widened no-bypass scan (`6026275158` item 3); `6028364555` item 4. - T012's Ruled line: `6026275158` item 1 and `6026622117` item 1. - T072's Files name openDox-code#95, and T071's entry names its ratification record, openxFactory#1261 (a DRAFT PR that exists now). T015's PR does not exist yet, so its number is not named. **Qualifiers and counts:** "plan 034's" on spec.md (two places) and clarify-questions.md (one place), found by content, nothing else moved (`6027706377` item 2). tasks.md's header and plan.md each carry a revision paragraph. ### Ruled and Decisions Ruled (all on #656): `6027341795`, `6027346843`, `6027382308`, `6027633398`, `6027706377`, `6026275158`, `6026622117`, `6023619783`, `6028122920`, `6028138991`, `6028364555`, `6064169640`. Decisions: none new. ### Readings, disclosed - T042's Files wording follows R2-INV-P5 § T042 (the `docs/runtime.md` arrays move with `identity.TABLES`); the holder's `6028364555` item 2 words the cause as the `full` rename, and cites the same map section. - plan.md's `tests/test_default_profile.py` row says the chain "follows `default_profile.py`'s", as `6023619783` words it; T046 and T057 are not given the file in their own Files lines. - `6023619783` item 2 (T071's record header) is not in this batch's items and is not encoded here. - Lane 3's other R2-INV-P5 observations (moved #1144 line references, floor and census counts, T015's census line) stay informational and are not encoded (`6028364555` item 7). ### Gates - `python3 scripts/validate-openspec-cli-pin.py --all --strict` at the merged head `b236fa6c`: exit 0 (the one accepted exception is `add-chain-attestation`'s disposition, as on main). - doc-health (`scripts/doc-health.py --single-repo .`) at `b236fa6c` against `origin/main` `c9dfd4f8`, same clone: identical reports, 31 critical, 26 error, 69 warning, 19 info, zero differences after SHA normalization. - Local `python -m pytest tests/ -q -m "not postgres" -n 8` at `3e6feb6b`: 9206 passed, 7 skipped, 1 failed. The failure is `tests/hermes_runtime_contracts/test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]`, a 30 s subprocess timeout that fails identically on `origin/main` in the same clone. Later commits change only spec text and chain records. - CI at the head `b236fa6c`: every check SUCCESS (rollup SUCCESS, read through GraphQL), including `pytest-suite`, `doc-health-py314`, `openspec-cli-pin` and SonarCloud. The head adds only the merge of `origin/main` `c9dfd4f8` (the archive of amend-worker-input-budget-dispatch-wording, #1269) to `c675894d`, whose rollup was SUCCESS too. - Copilot: at `a9fc7e7b` two threads (4205521074 → fixed in `4263d665` on `6064169640`; 4205521173 → fixed in `c3409c03`). At `3e6feb6b` two threads (4221525148, the PR description, updated; 4221525277, the T020, T026 and T095 chains, fixed in `c675894d`). At `c675894d` and at the head `b236fa6c`: "Approval recommended", 0 open findings. All four threads are answered and resolved. ### NOT done No requirement text, no contract file and no `openspec/changes/` path is touched. No box is ticked in #1144. refs #656 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.
Land this with a MERGE COMMIT, never a squash and never a rebase: every gate-action commit on this branch is one recorded human action, and the series is traceability evidence for medical FDA clearance (D18). Squashing would collapse that granularity and leave it only inside a forge artifact.