Use when proving zero-loss PKM upgrades with historical fixtures, reviewer rehearsals, rollback, scopes, and exact encrypted/decrypted artifacts.
Resources
3Install
npx skillscat add hushh-labs/hushh-research/pkm-upgrade-rehearsal Install via the SkillsCat registry.
SKILL.md
Hussh PKM Upgrade Rehearsal Skill
Purpose and Trigger
- Primary scope:
pkm-upgrade-rehearsal - Trigger on PKM version/projection upgrades, preservation proof, reviewer payload rehearsal, quarantine, rollback, or scope-origin acceptance.
- Avoid overlap with
security-audit,reviewer-app-testing, anddata-model-audit.
Coverage and Ownership
- Role:
spoke - Owner family:
security-audit
Owned repo surfaces:
.codex/skills/pkm-upgrade-rehearsal.codex/skills/pkm-upgrade-rehearsal/scripts/reviewer-pkm-app-rehearsal.mjsconsent-protocol/scripts/audit_active_pkm_shape_readonly.pyconsent-protocol/scripts/eval_pkm_structure_agent.pyscripts/ci/pkm-upgrade-gate.sh
Non-owned surfaces:
consent-protocol/hushh_mcp/vaulthushh-webapp/scripts/testing/reviewer-test-identity.mjsconsent-protocol/db/migrations
Do Use
- Historical decrypt-transform-prove-encrypt-decrypt-rollback corpora.
- Occurrence-level preservation, equal-value deduplication, quarantine, rollback, and idempotency acceptance.
- Reviewer brokerage plus natural confirmed-memory rehearsal and exact payload artifacts.
- Canonical-scope stability and additive reserved/dynamic scope-origin metadata proof.
Do Not Use
- Generic reviewer login, BYOK, or navigation helpers; use
reviewer-app-testing. - Vault encryption or ordinary PKM storage implementation; use
security-audit. - Apply migrations, deploy, reset an account, or mutate shared fixtures without separate authority.
- Treat structure-agent output as authorization to drop or overwrite information.
Read First
.codex/skills/reviewer-app-testing/references/byok-reviewer-browser-contract.md.codex/skills/pkm-upgrade-rehearsal/references/reviewer-pkm-upgrade-contract.mddocs/reference/architecture/pkm-cutover-runbook.mddocs/reference/architecture/pkm-storage-adr.mdconsent-protocol/docs/reference/personal-knowledge-model.mdscripts/ci/pkm-upgrade-gate.sh
Workflow
- Classify the target contract/version and inventory every supported stored shape and active consumer.
- Run deterministic historical fixtures before intelligence, browser, or environment-backed checks.
- Require occurrence lineage, type/value preservation, quarantine restoration, rollback equality, and idempotency.
- Run the read-only active-shape audit and gated structure-agent chain without plaintext PKM in prompts.
- Verify target-environment schema and route parity before requesting reviewer mutation authority.
- When authorized, import the shared reviewer harness and run the app sequence without persisting keys or tokens.
- Accept only zero preservation, scope, authorization, coherence, export, and rollback failures.
Handoff Rules
- BYOK and browser-session mechanics route to
reviewer-app-testing. - Vault/storage implementation routes to
security-audit. - Migration governance routes to
data-model-audit; deploy parity routes touat-scoped-deploy. - Broad security work returns to
security-audit.
Required Checks
./scripts/ci/pkm-upgrade-gate.sh
./bin/hushh codex data-model-audit
./scripts/ci/reviewer-app-testing-check.sh