Skip to content

Re-pin the spec leg at its 4.8 merge 1506bbdb, gitlink and contracts/spec-pin.yaml in one commit (ruled 2026-10-09) - #4

Merged
brettheap merged 1 commit into
mainfrom
pin/spec-1506bbdb
Oct 9, 2026
Merged

brettheap merged 1 commit into
mainfrom
pin/spec-1506bbdb

Conversation

@brettheap

@brettheap brettheap commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxwallet-2 (openXwallet-2)
Claim: opensoft/openXwallet#25 (comment)

Re-pin the spec leg at its 4.8 merge 1506bbdb, gitlink and contracts/spec-pin.yaml in one commit.

Ruling

Brett Heap, 2026-10-09: "Re-pin spec to 1506bbdb before the tag (Recommended)"

Task 4.8 landed in the spec leg as opensoft/openWallet-spec#3, merge 1506bbdb4194a779bef63d8c4e5eecc7eac0bd68: the leg's birth change bind-approval-posture-vocabulary, Status proposed. The first release wallet-v1.6 must carry 4.8, so the root re-pins its spec leg before the tag.

What moves, and what does not

One commit, the lockstep invariant:

  • the spec gitlink
  • contracts/spec-pin.yaml: commit and digests.tree_sha256

git diff --stat is exactly those two files (spec, contracts/spec-pin.yaml; 3 insertions, 3 deletions).

Does not move:

  • the code leg pin stays at 72313daab1f229c049cb90998931564c1904dbbc (digest ee05d60d65a8... unchanged)
  • no .github/workflows/*.yml names the spec leg by @<sha> (validate.yml has no opensoft/openWallet-spec reference), so nothing else moves in this commit
  • no capability, schema or manifest row

The pinned spec commit is the carve merge 15c15bbd plus the declared post-carve birth change (opensoft/openWallet-spec#3). 15c15bbd is an ancestor of 1506bbdb, so this is a fast-forward of the pin.

Old to new

old new
spec commit 15c15bbd451a803f0acdb24e5234836db829a2d3 1506bbdb4194a779bef63d8c4e5eecc7eac0bd68
tree_sha256 (sorted-ls-tree-r-v1) 112391978d5ad4a0bb254f5171d03369372929a042ed2b70f7afb4d431693025 b4da8e5c00ba41363b766f0c0ddfc6240a6b21545fbae521ed4149db077a0424

The old digest was recomputed from the old commit and equals the one in the pin file, so the method is the one validate-pins.py runs.

Observed

make validate on the head ends:

  ok  spec: gitlink == contracts/spec-pin.yaml commit 1506bbdb4194
  ok  spec: tree digest recomputes (b4da8e5c00ba…)
  ok  code: gitlink == contracts/code-pin.yaml commit 72313daab1f2
  ok  code: tree digest recomputes (ee05d60d65a8…)
  ok  contracts/shape-pin.yaml: 11 copied shape file(s) match their digests
pins ok

The refusal path, in a throwaway branch (gitlink moved to 1506bbdb alone, pin file left at 15c15bbd; discarded afterwards): python3 scripts/validate-pins.py exits 1 and prints

FINDING pin-gitlink-mismatch: spec: gitlink 1506bbdb4194a779bef63d8c4e5eecc7eac0bd68 != contracts/spec-pin.yaml commit 15c15bbd451a803f0acdb24e5234836db829a2d3

So a half-move is refused by name; this commit moves both halves together.

Landing, rollback, review

  • Land with a MERGE COMMIT.
  • Rollback: close the PR. If it has merged, revert the one commit: it moves a pin and nothing else.
  • Codex review requested with @codex review.

Refs opensoft/openXwallet#25

🤖 Generated with Claude Code

Summary by Sourcery

Enhancements:

  • Re-pin the spec leg to merge commit 1506bbdb and update its recorded tree digest while keeping the code leg unchanged.

…spec-pin.yaml in one commit (ruled 2026-10-09)

Ruling (Brett Heap, 2026-10-09): "Re-pin spec to 1506bbdb before the tag (Recommended)"

Task 4.8 landed in the spec leg as opensoft/openWallet-spec#3, merge
1506bbdb4194a779bef63d8c4e5eecc7eac0bd68: the leg's birth change
`bind-approval-posture-vocabulary`, Status proposed. The first release
wallet-v1.6 must carry 4.8, so the root re-pins its spec leg.

What moves, in this one commit (the lockstep invariant):
- the `spec` gitlink
- `contracts/spec-pin.yaml`: `commit` and `digests.tree_sha256`

  spec commit  old 15c15bbd451a803f0acdb24e5234836db829a2d3
               new 1506bbdb4194a779bef63d8c4e5eecc7eac0bd68
  tree digest  old 112391978d5ad4a0bb254f5171d03369372929a042ed2b70f7afb4d431693025
               new b4da8e5c00ba41363b766f0c0ddfc6240a6b21545fbae521ed4149db077a0424

What does not move: the code leg pin stays at
72313daab1f229c049cb90998931564c1904dbbc, and no .github/workflows reference
names the spec leg by @<sha>, so there is nothing else to move.

The pinned spec commit is the carve merge 15c15bbd plus the declared
post-carve birth change (opensoft/openWallet-spec#3); 15c15bbd is an ancestor
of 1506bbdb, so this is a fast-forward of the pin.

make validate ends with "pins ok": spec gitlink == contracts/spec-pin.yaml
commit 1506bbdb4194, spec tree digest recomputes (b4da8e5c00ba...), code
gitlink == contracts/code-pin.yaml commit 72313daab1f2, code tree digest
recomputes (ee05d60d65a8...).

Lane: openXwallet-2
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sourcery-ai

sourcery-ai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR fast-forwards the spec submodule from the carve merge to the 4.8 merge and updates its contract pin and tree digest in the same commit, while leaving the code leg and all other contract or workflow metadata unchanged. The resulting lockstep pins pass validation.

File-Level Changes

Change Details Files
Re-pin the spec leg and its lockstep contract metadata to the 4.8 merge commit.
  • Advance the spec gitlink from 15c15bbd to 1506bbdb.
  • Update contracts/spec-pin.yaml with the new commit and recomputed tree digest.
  • Leave the code pin and capability, schema, manifest, and workflow references unchanged.
spec
contracts/spec-pin.yaml
Preserve and verify the pin consistency invariant.
  • Ensure the gitlink commit matches the contract pin.
  • Ensure the recorded tree digest matches the pinned spec tree using sorted-ls-tree-r-v1.
  • Validate both legs and copied shape files with scripts/validate-pins.py.
contracts/spec-pin.yaml
scripts/validate-pins.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

1 similar comment
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

@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.

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="contracts/spec-pin.yaml" line_range="24" />
<code_context>
 submodule_path: spec

-commit: "15c15bbd451a803f0acdb24e5234836db829a2d3"
+commit: "1506bbdb4194a779bef63d8c4e5eecc7eac0bd68"
 revision_kind: commit

</code_context>
<issue_to_address>
**Readers see outdated spec revision**

When the pin advances to 1506bbdb while README.md and AGENTS.md remain unchanged, rEADME.md and AGENTS.md still describe the spec pin and gitlink as the carve merge at 15c15bbd, so readers see an outdated description of the current spec revision.

Update README.md and AGENTS.md to describe the spec pin and gitlink at 1506bbdb4194a779bef63d8c4e5eecc7eac0bd68.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: contracts/spec-pin.yaml:24


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread contracts/spec-pin.yaml
submodule_path: spec

commit: "15c15bbd451a803f0acdb24e5234836db829a2d3"
commit: "1506bbdb4194a779bef63d8c4e5eecc7eac0bd68"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Medium · Readers see outdated spec revision

When the pin advances to 1506bbdb while README.md and AGENTS.md remain unchanged, rEADME.md and AGENTS.md still describe the spec pin and gitlink as the carve merge at 15c15bbd, so readers see an outdated description of the current spec revision.

Update README.md and AGENTS.md to describe the spec pin and gitlink at 1506bbdb4194a779bef63d8c4e5eecc7eac0bd68.

Prompt for AI agents
In `contracts/spec-pin.yaml` at line 24:

**Readers see outdated spec revision**

When the pin advances to 1506bbdb while README.md and AGENTS.md remain unchanged, rEADME.md and AGENTS.md still describe the spec pin and gitlink as the carve merge at 15c15bbd, so readers see an outdated description of the current spec revision.

Update README.md and AGENTS.md to describe the spec pin and gitlink at 1506bbdb4194a779bef63d8c4e5eecc7eac0bd68.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-09T00:59:23Z)

LANDING — lane openXwallet-2, session 7b8ff3df-688a-4d67-83d5-4c7cd179ed8b@Eagle, 2026-10-09T00:59:23Z, PR #4 into opensoft/openWallet main

@brettheap
brettheap merged commit 5a444cf into main Oct 9, 2026
3 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-09T00:59:43Z)

LANDED — lane openXwallet-2, session 7b8ff3df-688a-4d67-83d5-4c7cd179ed8b@Eagle, 2026-10-09T00:59:43Z, PR #4 into opensoft/openWallet main → merge 5a444cf

brettheap added a commit to opensoft/openXwallet that referenced this pull request Oct 9, 2026
…c2ce53d, the release merge that carries the wallet-v1.6 tag (ruled)

The `openWallet` gitlink and `commit:` in contracts/openwallet-pin.yaml move
together, from 1c68717f1ae4 (the merge of opensoft/openWallet#2) to
b0af7c2ce53d63786a08a20aa3602a6f90345606, the merge of opensoft/openWallet#7 (task 4.9: the
wallet-v1.6 release commit, a manifest bump,
contracts/releases/wallet-v1.6.digests.yaml and the CHANGELOG). Brett Heap
ruled "Release commit on b4580d16, tag its merge (Recommended)". The annotated
tag `wallet-v1.6` is on that merge (`git cat-file -t wallet-v1.6` is `tag`,
and `wallet-v1.6^{commit}` is b0af7c2ce53d), so `contract_bundle_tag`
goes from null to `wallet-v1.6`. It stays a label beside the commit, never the
referent. The comments above both fields say so.

What did not move: `legs.code.commit` stays 72313daab1f2, because the release
commit moves no gitlink. The eight `files:` digests stay, recomputed 8 of 8
from openWallet/code, and so do the six `pinned_by_commit_only:` members, the
carve commit, and every script and test. Between the two pins the root's spec
gitlink moved from 15c15bbd to 1924500 (opensoft/openWallet#4 and #5); this
repository neither records nor initializes it (design.md D6). The move also
takes in the root's proof, docs/byte-identity-wallet-v1.6.md (#3, #6).

This commit is the revision measured. The gate results and the new Evidence
row follow in the next commit, which is docs only.

Lane: openXwallet-3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

1 participant