Skip to content

Plan: first-class HyperVault integration (bootstrap, sync, sovereign archive)#65

Merged
johnnyclem merged 1 commit into
mainfrom
claude/hypervault-agentvault-integration-hcxlzz
Jul 15, 2026
Merged

Plan: first-class HyperVault integration (bootstrap, sync, sovereign archive)#65
johnnyclem merged 1 commit into
mainfrom
claude/hypervault-agentvault-integration-hcxlzz

Conversation

@johnnyclem

Copy link
Copy Markdown
Owner

Summary

Adds PLAN_HYPERVAULT_INTEGRATION.md — a comprehensive plan for integrating johnnyclem/hypervault into AgentVault as a first-class subsystem, grounded in a full architectural mapping of both codebases.

Core thesis

Three tiers of the same agent mind, each able to rebuild the layer above it:

  • Hot — HyperVault (hypervault.store, Supabase): live memories, git-versioned mind, pgvector indices, artifacts, MCP tools
  • Warm — ICP canisters: the existing memory-repo.mo git-style canister mirrors HyperVault's mind DAG commit-for-commit
  • Cold — Arweave: encrypted, ed25519-signed agentvault-hypervault-snapshot-v1 thoughtform-bundles with on-chain verification receipts

Headline one-liners the plan delivers

# Bootstrap an agent from a HyperVault account — memories, mind history, and indices included
npx agentvault@latest hypervault bootstrap my-agent --key hv_...

# hypervault.store → fully secure, archived, blockchain-backed AgentVault
npx agentvault@latest hypervault archive --all --encrypt --network ic --arweave

# Resurrection from chain alone
npx agentvault@latest hypervault restore ar://<tx-id> --to local

All pipeline steps are also MCP-available via a proposed native agentvault mcp serve server (hypervault_bootstrap, hypervault_archive, hypervault_restore, plus finally serving the existing wiki_* tool definitions).

What the plan covers

  • New src/hypervault/ module (typed client, snapshot/restore, mind-DAG canister sync, local HNSW + FTS indices, native MCP server) exported as agentvault/hypervault
  • New agentvault hypervault CLI command group (connect · status · bootstrap · pull · push · snapshot · archive · verify · restore · reindex)
  • Backbone MemoryStore/KnowledgeStore/WikiStore adapters backed by HyperVault (the interfaces were designed for exactly this injection)
  • Companion PRs needed in the hypervault repo: bulk GET /api/export (currently no wholesale export exists), export_vault MCP tool, POST /api/import/vault restore, archive receipts
  • Security plan: hv_ keys only via env/secrets-vault, AES-256-GCM via the audited-correct CanisterEncryption, and an explicit gate on audit finding C-1 (VetKeys decryptJSON GCM tag validation) before VetKeys-wrapped keys ship
  • 5 implementation phases (~3 weeks; bootstrap one-liner lands after ~1 week), acceptance criteria including a cross-machine resurrection e2e, risks, and docs plan

Relationship to existing work

PLAN_VAULT_INTEGRATION.md (HashiCorp-style secrets vault, largely implemented in src/vault/) is orthogonal and composes with this: HyperVault API keys are stored in that secrets vault.

Test plan

  • Documentation-only change; no code paths affected
  • Plan itself specifies per-phase test suites (tests/hypervault/, tests/mcp-server/) and acceptance criteria

🤖 Generated with Claude Code

https://claude.ai/code/session_01Wu4eXJHiEE1zpDZhArtr7J


Generated by Claude Code

Plans first-class integration of johnnyclem/hypervault into AgentVault:
- Three-tier mind architecture (HyperVault cloud / ICP canister / Arweave)
- One-line bootstrap: hypervault bootstrap (memories + mind DAG + indices)
- One-line sovereign archive: hypervault.store -> encrypted thoughtform
  bundle -> memory_repo canister -> Arweave, with verify/restore loop
- Native MCP server (agentvault mcp serve) exposing the full pipeline
- Backbone MemoryStore/KnowledgeStore/WikiStore adapters over HyperVault
- Companion hypervault PRs: bulk /api/export, export_vault MCP tool,
  /api/import/vault restore, archive receipts
- Security plan gated on audit finding C-1 (VetKeys GCM tag validation)
- 5 implementation phases (~3 weeks), acceptance criteria, risks

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wu4eXJHiEE1zpDZhArtr7J
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-vault Ready Ready Preview, Comment Jul 15, 2026 12:05am
agentvault Ready Ready Preview, Comment Jul 15, 2026 12:05am

@johnnyclem
johnnyclem merged commit 94647ce into main Jul 15, 2026
4 checks passed
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