| name | vault-pkm-governance |
| description | Use when changing vault boundaries, PKM storage rules, encrypted information handling, or ordinary vault/PKM persistence behavior inside the security-audit owner family. |
Hussh Vault PKM Governance Skill
Purpose and Trigger
- Primary scope:
vault-pkm-governance
- Trigger on vault boundaries, PKM storage rules, encrypted information handling, or ordinary persistence behavior.
- Avoid overlap with
reviewer-app-testing, pkm-upgrade-rehearsal, and iam-consent-governance.
Coverage and Ownership
- Role:
spoke
- Owner family:
security-audit
Owned repo surfaces:
consent-protocol/hushh_mcp/vault
consent-protocol/api/routes/pkm.py
consent-protocol/api/routes/pkm_routes_shared.py
hushh-webapp/lib/vault
hushh-webapp/lib/pkm
hushh-webapp/lib/personal-knowledge-model
hushh-webapp/components/vault
Non-owned surfaces:
security-audit
backend
repo-operations
Do Use
- Vault encryption, unlock, wrapper, and metadata-boundary work.
- PKM storage, manifest, revision, and information-boundary changes.
- Vault/PKM docs and implementation alignment across frontend and backend.
Do Not Use
- Broad security intake where the correct spoke is unclear.
- Reviewer browser/BYOK rehearsal mechanics; use
reviewer-app-testing.
- PKM upgrade acceptance and zero-loss rehearsal; use
pkm-upgrade-rehearsal.
- IAM scope, actor model, or generic backend route/service ownership work.
Read First
consent-protocol/docs/reference/personal-knowledge-model.md
docs/reference/architecture/pkm-cutover-runbook.md
docs/project_context_map.md
.codex/skills/vault-pkm-governance/references/vault-pkm-browser-data-boundary.md
Workflow
- Confirm whether the change touches encrypted storage, unlock behavior, manifests, revisions, or PKM domain information rules.
- Keep frontend and backend boundaries aligned around the same vault/PKM contract.
- Treat vault keys and owner tokens as memory-only runtime state.
- Use route/service tests or metadata proof before browser proof when sufficient.
- Treat PKM manifests as authority and
pkm_index as discovery cache.
- Keep diagnostics out of consumer UI and plaintext out of chat, docs, commits, tests, logs, and model prompts.
- Treat PKM visibility as
private, consent_required, or default_available; the last is an owner-published safe projection, never raw PKM.
- Route reviewer runtime proof and upgrade acceptance to their dedicated spokes.
Handoff Rules
- Broad or ambiguous security work routes back to
security-audit.
- Reviewer browser/BYOK proof routes to
reviewer-app-testing.
- PKM protocol upgrades and preservation rehearsal route to
pkm-upgrade-rehearsal.
- IAM or consent-scope work routes to
iam-consent-governance; general runtime work routes to backend.
Required Checks
cd consent-protocol && python3 -m pytest tests/test_vault.py -q
cd hushh-webapp && npm run verify:cache
./bin/hushh codex data-model-audit