Use when changing vault boundaries, PKM storage rules, encrypted information handling, or ordinary vault/PKM persistence behavior inside the security-audit owner family.
Resources
3Install
npx skillscat add hushh-labs/hushh-research/vault-pkm-governance Install via the SkillsCat registry.
SKILL.md
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, andiam-consent-governance.
Coverage and Ownership
- Role:
spoke - Owner family:
security-audit
Owned repo surfaces:
consent-protocol/hushh_mcp/vaultconsent-protocol/api/routes/pkm.pyconsent-protocol/api/routes/pkm_routes_shared.pyhushh-webapp/lib/vaulthushh-webapp/lib/pkmhushh-webapp/lib/personal-knowledge-modelhushh-webapp/components/vault
Non-owned surfaces:
security-auditbackendrepo-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.
- Provider blob, private PKM, and rebuildable local SQLite authority boundaries.
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.mddocs/reference/architecture/pkm-cutover-runbook.mddocs/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_indexas 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, ordefault_available; the last is an owner-published safe projection, never raw PKM. - Route reviewer runtime proof and upgrade acceptance to their dedicated spokes.
- Keep Source Library provider files authoritative, its PKM memory private, and its SQLite mapping non-authoritative and rebuildable.
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 tobackend.
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
cd consent-protocol && python3 -m pytest tests/test_source_library_scope_policy.py -q