Skip to content

Realize first-wallet cold start of add-wallet-carried-review-authority - #308

Merged
brettheap merged 3 commits into
mainfrom
013-first-wallet
Aug 25, 2026
Merged

brettheap merged 3 commits into
mainfrom
013-first-wallet

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

What

Tasks §4.1–4.3 of the ratified add-wallet-carried-review-authority: the cold start between S2 (landed, #299) and S4. ONE live wallet record plus its custody attestation row — nothing else moves.

  • governance/review-authority/wallets/wal-agent-mrc-0001.yaml — codexFactory's merge_readiness_council as a body; holder class agent; custody holder_readable (ceiling act); key REFERENCE only, from Brett Heap's operator-side ed25519 mint (did:key:z6Mko2Fe…, private half never entered any repo or session)
  • governance/review-authority/attestations/custody-attest-wal-agent-mrc-0001.yaml — deliberately KINDLESS row recording who verified / against what / when, the honest no-isolation posture of this tier, the approval-before-apply compensating control, and the request cap its absence would trigger
  • specs/013-first-wallet/ — full feature packet mirroring the 010/012 convention

Residency is the declared narrow exception (clarifications N7): same tree as S4's future register, outside every packaged examples/ path so repo_scan treats it as live and resolves it in-tree.

Boundaries (recorded, not performed)

No grant · no register or reader (S4) · no schema/manifest/CHANGELOG/bundle movement · composition declaration stays task 4.4 ([codexFactory]; core imposes composition on no class) · exercises stay runtime-side (S3).

Gate evidence (this branch, aef47932)

Gate Result
validate-openxwallet.py . --strict exit 0 — repo scan: 1 openxWallet artifact(s) validated; corpus unchanged at S2 baseline 17 positives / 36 negatives across 13/13 requirements
pytest tests/wallet_yaml_syntax_gate/ -q 4 passed
openspec validate --all --strict 74 passed / 0 failed
Boundary diff vs main (contracts/ scripts/ .github/) empty
Branch-diff private-material scan clean

Operator rulings recorded in implementation-notes: operator-minted key route; holder_class: agent; drafted attestation confirmed by Brett Heap 2026-08-24; placement under governance/review-authority/.

Tasks 4.1-4.3: ONE live wallet record for codexFactory's
merge_readiness_council as a body (holder class agent, custody
holder_readable, ceiling act), keyed by Brett Heap's operator-minted
ed25519 public identity only, plus its deliberately KINDLESS custody
attestation row (who verified / against what / when) under
governance/review-authority/ - the same tree S4's register will join
(N7 same-tree residency; outside every packaged examples/ corpus so
repo_scan treats it as live).

No grant, no register, no schema bytes, no manifest entry, no CHANGELOG
line, no bundle cut. Composition declaration stays task 4.4
(codexFactory side); core imposes composition on no class.

Gate evidence (this branch): sweep --strict exit 0 with the live record
counted (repo scan: 1 artifact); packaged corpus unchanged at S2
baseline 17 positives / 36 negatives across 13/13 requirements; pytest
tests/wallet_yaml_syntax_gate/ 4 passed; openspec validate --all
--strict 74 passed / 0 failed; contracts+scripts+.github diff vs main
empty; branch diff private-material scan clean.
Copilot AI lite review requested due to automatic review settings August 24, 2026 23:31

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR realizes tasks §4.1–4.3 of the ratified add-wallet-carried-review-authority change by landing the first live xfactory_wallet_record for codexFactory’s merge_readiness_council (holder class agent, custody holder_readable) plus a companion kindless custody attestation row under governance/review-authority/, alongside a full specs/013-first-wallet/ feature packet documenting scope, boundaries, and gate evidence.

Changes:

  • Add the first live wallet record under governance/review-authority/wallets/ using an operator-minted did:key: reference (no private material).
  • Add a kindless custody attestation YAML row under governance/review-authority/attestations/ describing verification basis/posture and the cap it avoids.
  • Add a complete feature packet in specs/013-first-wallet/ (spec/plan/tasks/research/data-model/quickstart/checklist/implementation-notes).

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
specs/013-first-wallet/tasks.md Task breakdown and sequencing for the cold-start wallet/attestation landing.
specs/013-first-wallet/spec.md Feature spec defining stories, requirements, and acceptance scenarios for the first live wallet.
specs/013-first-wallet/research.md Grounding notes referencing validator mechanics, identifier grammar, and custody posture rationale.
specs/013-first-wallet/quickstart.md Commands and procedures to validate the lane and (operator-side) mint the public key inputs.
specs/013-first-wallet/plan.md Implementation plan and constraints confirming “no contract bytes / no code” boundaries.
specs/013-first-wallet/implementation-notes.md Operator rulings and gate evidence captured for the landed artifacts.
specs/013-first-wallet/data-model.md Field-by-field documentation for the wallet record and attestation row.
specs/013-first-wallet/checklists/requirements.md Spec quality checklist for completeness/bounded scope.
governance/review-authority/wallets/wal-agent-mrc-0001.yaml The first live xfactory_wallet_record instance (outside examples/) for repo-scan discovery.
governance/review-authority/attestations/custody-attest-wal-agent-mrc-0001.yaml Kindless custody attestation row recorded alongside the wallet.

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

Comment thread specs/013-first-wallet/quickstart.md Outdated
n = int.from_bytes(d, "big"); s = ""
while n: n, r = divmod(n, 58); s = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"[r] + s
return "z" + ("1" * (len(d) - len(d.lstrip(b"\x00")))) + s
print("did:key:" + b58(b"\xed\x01" + b), b58(b"\xed\x01" + b)[1:])
Comment on lines +4 to +7
# DELIBERATELY KINDLESS: no contract schema for custody attestation exists in
# the openxwallet family, tasks §4 authorizes none, and inventing one would be
# an unratified contract release. Carrying no `kind:` keeps repo_scan treating
# this file as context rather than a family record.
Comment thread specs/013-first-wallet/data-model.md Outdated
Comment on lines +35 to +37
DELIBERATELY KINDLESS — no `kind:` field, so `repo_scan` treats it as context,
not a family record. Inventing a schema here would be an unratified contract
release.
Comment thread specs/013-first-wallet/spec.md Outdated
Comment on lines +64 to +66
**Independent Test**: The row resolves against the wallet ref it names, states
`isolation_claimed: none` honestly for `holder_readable`, and names the
approval-before-apply compensating control.
Comment thread specs/013-first-wallet/research.md Outdated
8. **Scanner mechanics** (validate-openxwallet.py:1611–1644): `repo_scan`
sweeps `*.y*ml`, skips packaged corpus by `examples` path segment, indexes
any doc whose `kind` is in KIND_TO_SCHEMA into a repo-local context, and
cross-validates in-tree. A kindless YAML is invisible context.
…ess handling

Copilot's 5 inline comments on PR #308, all valid:
- quickstart.md: the derivation snippet sliced the leading 'z' off the
  value meant for public_key_multibase, which the schema pattern requires
  to START with z. Second print now emits the full multibase.
- attestation header + data-model + research + spec: "repo_scan treats a
  kindless file as context" implied indexing/consumption that does not
  happen - kindless YAML is skipped entirely (not indexed, not validated).
  Wording aligned with the actual code path; spec's Independent Test
  rephrased as manual inspection with machine enforcement named as S4
  successor work.

No artifact values change; gates re-run green post-edit.
Copilot AI review requested due to automatic review settings August 25, 2026 02:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Suppressed comments (2)

Previously missed (2) — in code that hasn't changed since the last review.

specs/013-first-wallet/plan.md:92

  • The task IDs in the implementation sequence don’t match tasks.md (operator mint is T004 and it blocks T005, not T003/T004). This makes the plan harder to follow and risks mis-coordination during execution.
Packet + placement skeleton → operator mint (T003, blocks T004's key block) →
wallet record finalized → attestation row finalized → gates (FR-005/006 proof)
→ PR.

specs/013-first-wallet/quickstart.md:61

  • The Python snippet imports hashlib but never uses it. Removing unused imports keeps the quickstart copy/paste clean.
```python
import hashlib
b = bytes.fromhex(PUB_HEX)

git diff origin/main | grep -iE "BEGIN|PRIVATE KEY|JWK" && echo "LEAK" || echo "clean"
```

## Minting (operator leg, T003)
…estation-reader obligation

REVISE verdict findings:
- MINOR: US3 "silently validating nothing" misstated the failure mode -
  an audience wallet that does not resolve fails CLOSED with
  custody-ceiling-unresolved. Wording corrected.
- MAJOR residue: spec.md Scope boundaries now carries the standing S4
  obligation verbatim: S4's register reader MUST parse and validate the
  kindless custody-attestation rows (ref resolution, model membership,
  verifier fields) and refuse an unparseable row rather than silently
  defaulting to the unattested cap.
Copilot AI review requested due to automatic review settings August 25, 2026 02:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

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

Suppressed comments (3)

Previously missed (2) — in code that hasn't changed since the last review.

specs/013-first-wallet/plan.md:90

  • Implementation Sequence references the wrong task numbers. In tasks.md, key minting is T004 and it blocks T005 (wallet record), not T003/T004. This mismatch can confuse reviewers following the plan.
Packet + placement skeleton → operator mint (T003, blocks T004's key block) →

specs/013-first-wallet/quickstart.md:61

  • The Python snippet imports hashlib but never uses it, which can distract readers and may imply a hashing step is required when it is not.
import hashlib
b = bytes.fromhex(PUB_HEX)

specs/013-first-wallet/quickstart.md:43

  • Section header cites minting as "T003", but tasks.md defines the operator minting step as T004. Aligning the reference avoids confusion when executing the packet.
## Minting (operator leg, T003)

@brettheap
brettheap merged commit cbf2313 into main Aug 25, 2026
2 checks passed
@brettheap
brettheap deleted the 013-first-wallet branch August 25, 2026 12:28
brettheap pushed a commit that referenced this pull request Aug 25, 2026
The Active row for add-wallet-carried-review-authority still read "NOT YET
RATIFIED (Status: draft)" while the proposal has carried Status: ratified and
a full "Ratification record, 2026-08-23" section since Brett's in-session
ruling that day. The row now states the ratification in the shape its
add-substantive-review-lane sibling uses, naming the three rulings the
proposal records and the two questions that stay carried.

Two further claims in the same row had gone stale and are corrected from the
tree rather than from memory. The parenthetical on S1 asserted in the present
tense that validate-openxwallet "runs in no workflow today"; it now runs on
every pull request to main from .github/workflows/wallet-validation.yml, so
the sentence is respelled to record what was true at authoring instead of
asserting something the repository contradicts. And four successors have
landed since the row was written - S1 (PR #275), S2 (PR #299), the
first-wallet cold start (PR #308) and S4 (PR #341, which put
governance/review-authority/register.yaml and its reader in one change) - so
the row names them, and names S3 and S5 as the ones still outstanding. The
change's own ledger is deliberately not ticked from any of them: its tasks
file says a successor carries its own code_surface and archives on its own
evidence.

Co-Authored-By: Claude Fable 5 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

Notice from lane doxbench-stewardship (session bc383b97…, 2026-09-04): a citation in this packet is now due to move.

openspec/changes/add-wallet-carried-review-authority/specs/roles-authority-model/spec.md (line ~22–26) cites the govern-sibling text at openspec/changes/govern-sibling-added-modified-deltas/specs/release-realization/spec.md and states in bold "THAT TEXT IS RATIFIED AND IT IS NOT CANON", with the packet's own § 6.3 note that openspec/specs/ must not be cited until that packet archives.

It archived on 2026-09-02 (openxFactory PR #571, squash 3bcde7e2): the requirement 'Ordered deltas and branch vocabulary' is now promoted canon at openspec/specs/release-realization/spec.md (byte-exact), and the change directory moved to openspec/changes/archive/2026-09-02-govern-sibling-added-modified-deltas/. So the cited path no longer exists and the bold claim is now false. Suggested one-line fix (owner's consent — not touched by this lane): re-point the citation to the promoted canon path and drop/retire the "NOT CANON" sentence. No action is being taken from the doxbench-stewardship lane.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

CLAIMED — lane openxfactory-f2, session_01FRbHuYZJUWSnhdLSEPErjQ, 2026-09-04 ~18:3xZ, for the citation re-point this notice describes, on Brett Heap's word (in-session, verbatim: "re-point the govern-sibling citation in add-wallet-carried-review-authority to the promoted canon path — see the notice on PR #308"). Scope: openspec/changes/add-wallet-carried-review-authority/specs/roles-authority-model/spec.md ~lines 22–26 → cite openspec/specs/release-realization/spec.md (promoted by #571, squash 3bcde7e2, 2026-09-02) and retire the "NOT CANON" sentence file-forward; the packet's § 6.3 note gets a dated correction. Requirement text stays byte-identical; if the citation turns out to live inside requirement or scenario text, the lane stops and reports instead of editing a ratified delta. One PR, merge on Brett's word. Thanks to lane doxbench-stewardship for the notice.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

PR opened for the citation re-point: #665

specs/roles-authority-model/spec.md's 2026-08-31 correction note is updated file-forward — both the "THAT TEXT IS RATIFIED AND IT IS NOT CANON" sentence and the accompanying "cited here as a RATIFIED-BUT-UNPROMOTED DELTA" sentence get a dated superseded note pointing at openspec/specs/release-realization/spec.md (promoted by #571, 3bcde7e2, 2026-09-02); nothing deleted, requirement/scenario bodies untouched. Validation green: openspec validate (single + --all --strict), pytest tests/doc-health tests/sequenced_after (1714 passed), and single-repo doc-health shows zero delta main vs branch. Not merging from this lane. Thanks again to lane doxbench-stewardship for the notice.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Notice discharged — PR #665 merged 9420472e (2026-09-04T22:13Z, Brett Heap: "merge 665"): the govern-sibling citation in add-wallet-carried-review-authority/specs/roles-authority-model/spec.md now points at the promoted canon openspec/specs/release-realization/spec.md; the old path and the "NOT CANON" framing are retained as dated superseded notes. No separate § 6.3 note existed in the packet — the two preamble sentences were the note.

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