Skip to content

chore(preflight): bump skill integrity pin for v3 (address-book invariant) - #297

Merged
szhygulin merged 1 commit into
mainfrom
chore/preflight-pin-bump-address-book
Apr 26, 2026
Merged

chore(preflight): bump skill integrity pin for v3 (address-book invariant)#297
szhygulin merged 1 commit into
mainfrom
chore/preflight-pin-bump-address-book

Conversation

@szhygulin

Copy link
Copy Markdown
Collaborator

Coordinated with `vaultpilot-skill#4` — same shape as the previous v1→v2 pin coordination for NEAR Intents.

Summary

The `vaultpilot-preflight` skill picks up Invariant #7 in v3 — agent-side rules for the address-book v1.0 surface that ships in #284:

  • Verification-block recipient suffix → agent behavior table ((contact: Mom — verified) vs ⚠ contacts file failed verification etc.)
  • Lead-with-warning rule for the contacts-tamper marker
  • Sign-message-during-prepare-flow anomaly rule (now that `personal_sign` is in the WC namespace)
  • Post-`add_contact` cross-check via `verify_contacts`

That content change shifts both the SHA-256 of `SKILL.md` and the in-file integrity sentinel (`v2_43b1d2403a0c2a94` → `v3_2d3b876b38550fe5`).

This MCP pins both values in source (`src/index.ts` ~lines 1270 + 1275-1276). The pin must be bumped to the new values, otherwise every `prepare_` / `preview_` flow will fail the integrity check.

Why three coordinated changes (#284 + skill#4 + this)

Merge order doesn't strictly matter (the only known user is the author), but the cleanest sequence is: skill PR → this PR → #284. The intermediate state where #284 is unmerged but the pin is bumped is benign — agents call `add_contact` and get `unknown tool`; the integrity check itself runs fine against the new SKILL.md.

Test plan

  • `npm run build` clean
  • `grep` confirms no leftover `v2` / old-SHA references
  • New SHA matches `sha256sum` output of the new `SKILL.md`
  • After all three PRs merge: trigger any `prepare_*` flow in a fresh session — the integrity check should pass with the new pin

🤖 Generated with Claude Code

…iant)

The vaultpilot-preflight skill (separate repo, lives under
~/.claude/skills/) gains Invariant #7 in v3 — agent-side rules for
the address-book v1.0 surface (label decoration, ⚠ contacts-tamper
warning, sign-message-during-prepare anomaly, post-add_contact
verify cross-check).

The skill content change shifts both the SHA-256 of SKILL.md and
the in-file integrity sentinel. Update the pin in this MCP's source
so the on-each-flow integrity check the MCP delegates to the agent
succeeds against the new skill version.

  - SHA-256:
      fc4a40469e11156e7cccdc1539b93e430b60a49bf75d01b41de112d8c301f1a8 (old, v2)
    → 21c8c60ac26528732dbe0b40b4be7e4790607db1881489fe4cd1751f75536cd6 (new, v3)
  - Sentinel fragment B: _v2_ → _v3_
  - Sentinel fragment C: 43b1d2403a0c2a94 → 2d3b876b38550fe5

Coordinated with the matching PR in szhygulin/vaultpilot-skill.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@szhygulin
szhygulin merged commit 5e2d7bb into main Apr 26, 2026
4 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 26, 2026
@szhygulin
szhygulin deleted the chore/preflight-pin-bump-address-book branch May 19, 2026 04:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant