| description | Use when the user runs /ren:update to upgrade the framework. Drives the
migration state machine — fetches latest version, classifies the bump,
snapshots the wiki, runs migrations, verifies via verify.json, shows diffs
for approval, applies, and re-verifies. Snapshot/rollback is built in.
Never silent on MAJOR bumps.
|
| contract | {"required_outputs":["A printed migration plan (per-page-type ordered migration chain) before any write","A pre-migration wiki snapshot under ${CLAUDE_PLUGIN_DATA}/wiki-snapshots/v<from>-pre-update-<ISO8601>/","Migrated wiki pages written to disk only after per-page verify.json PASS + diff approval, with frontmatter schema_version/framework_version bumped","An appended migration entry in wiki/log.md (snapshot path + update record)","On --dry-run: the plan only, with zero writes to wiki, snapshot dir, or marketplace","a 'What changed in your RenOS' digest after apply (changelog_digest; empty digest degrades to a CHANGELOG.md pointer, never a failure)","companion delta offered after apply (pending_offers): only undecided-and-absent entries, choices recorded durably"],"budgets":{"turns":30,"files_written":200,"duration_seconds":600},"permissions":{"read":["skills/wiki-migration/**","migrations/**","~/.renos/wiki/**","${CLAUDE_PLUGIN_DATA}/wiki-snapshots/**","$CLAUDE_PLUGIN_ROOT/CHANGELOG.md"],"write":["~/.renos/wiki/**","${CLAUDE_PLUGIN_DATA}/wiki-snapshots/**"],"execute":["uv tool install *","scripts/snapshot.sh","scripts/restore.sh","scripts/prune-snapshots.sh","scripts/version-compare.sh"]},"completion_conditions":["Equal version → exits without snapshotting","A snapshot exists before any page is migrated","Failed/crashed pages were reverted from snapshot while other pages continued; snapshot retained"],"output_paths":["${CLAUDE_PLUGIN_DATA}/wiki-snapshots/"]} |