Repository navigation
Realize first-wallet cold start of add-wallet-carried-review-authority - #308
Conversation
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.
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 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-minteddid: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.
| 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:]) |
| # 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. |
| 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. |
| **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. |
| 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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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)
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]>
|
Notice from lane
It archived on 2026-09-02 (openxFactory PR #571, squash |
|
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: |
|
Lane: openxfactory-f2 PR opened for the citation re-point: #665
|
|
Lane: openxfactory-f2 Notice discharged — PR #665 merged |
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'smerge_readiness_councilas a body; holder classagent; custodyholder_readable(ceilingact); 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 therequestcap its absence would triggerspecs/013-first-wallet/— full feature packet mirroring the 010/012 conventionResidency is the declared narrow exception (clarifications N7): same tree as S4's future register, outside every packaged
examples/path sorepo_scantreats 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)validate-openxwallet.py . --strictrepo scan: 1 openxWallet artifact(s) validated; corpus unchanged at S2 baseline 17 positives / 36 negatives across 13/13 requirementspytest tests/wallet_yaml_syntax_gate/ -qopenspec validate --all --strictcontracts/ scripts/ .github/)Operator rulings recorded in implementation-notes: operator-minted key route;
holder_class: agent; drafted attestation confirmed by Brett Heap 2026-08-24; placement undergovernance/review-authority/.