Reversible System Change
Make one authorized persistent change without losing the ability to identify,
restore, and verify the prior working state.
Select One Phase
- Explicit machine-credential lifecycle: read
../using-axiom/references/credential-lifecycle.md first. A metadata-only
inventory stops there. For persistent activation, rollout, retirement, or
cleanup, continue into the applicable phase below; provider-side creation,
revocation, or secret disclosure also loads confirm-external-action under
an independent envelope.
- Plan or non-mutating workflow rehearsal: read
references/preflight-and-rollback.md. Keep the entire phase read-only; do
not create a candidate, backup, capsule, cache, remote record, or sensitive
content access.
- Authorized isolated restore rehearsal: read
references/preflight-and-rollback.md only. Freeze an isolated non-active
target and its complete write set, obtain exact rehearsal-write authority,
and verify only the restore outcome. This phase may establish rehearsed
evidence; it never authorizes candidate preparation, active promotion, the
complete change, or cleanup.
- Execute a complete authorized change: read
references/preflight-and-rollback.md first. Read
references/execution-and-verification.md only after the exact target,
write set, promotion authority, rollback coverage, and current restore
validation pass.
- Conceptual explanations and pure status/version/availability queries do not
select this skill or load either reference.
Authority Boundary
Resolve the requested outcome, exact target, authorized actions, and expected
postcondition before mutation. Ask one concise question only when target,
environment, destructive scope, credentials, sensitive asset use, promotion,
or rollback authority would change execution.
Keep an isolated restore rehearsal, candidate preparation, active promotion,
service restart/reload, data migration, destructive retention, sensitive asset
access, rollback, and rehearsal cleanup as separate actions. Permission for one
never implies another. Freeze the exact direct and indirect write set; a newly
discovered target, dependency, service, data store, endpoint, or destructive
effect requires renewed authority.
Inventory sensitive assets by metadata only. Read or use content only after
the exact path and exact action are both frozen and authorized. Never print,
copy broadly, hash, encode, or persist secret contents merely to inventory
them.
Rollback Gate
Before the first persistent write, require a rollback point that represents the
observed prior state, covers every non-forward-compatible effect, is currently
readable by the restore principal with all prerequisites present, and has
passed a target-native restore validation or an authorized isolated rehearsal.
Recheck that evidence immediately before mutation.
For the isolated restore rehearsal itself, first prove that its non-active
target cannot affect active state or data and that a failed rehearsal can be
abandoned or recreated within its authorized write set. If that isolation is
unproven, treat the rehearsal as complete execution and require this full gate.
Keep identified, present, readable, restore-validated, and rehearsed
as distinct evidence states. A backup job, artifact, script, manifest,
checksum, historical rehearsal, or user acceptance of risk is not verified
rollback. If current restore validation or complete coverage cannot run, stop
execution; a plan may report the gap.
Change Contract
- Observe current target and runtime state with scoped read-only probes.
- Freeze persistent effects, destructive roots, and the postcondition layers
that own the requested outcome.
- Establish the rollback gate and validate an isolated candidate or dry run
without promotion when supported.
- Refresh drift-sensitive preconditions immediately before the authorized
write.
- Apply the smallest candidate mutation and promote only through separately
authorized actions.
- Verify every relevant materialization, selection, runtime, delivery,
behavior, and preservation layer with fresh direct evidence.
- On a declared failure gate, stop further writes and run only the
pre-authorized bounded rollback; then verify the prior state at its owning
layers.
Command success, upload acceptance, a configuration write, or process start
proves only that stage. A failed or unavailable outcome-owning observation is
unverified, not complete.
Resume And Compaction Handoff
After resume or compaction, reobserve the target and drift-sensitive state,
then fail closed unless host-native task context and current direct evidence
from the owning system reconstruct the active phase, exact current user
authority, frozen action envelope and complete write set, prior mutations and
attempt identifiers, idempotency status, and rollback point and validation
evidence. If any material field is missing, stale, or inconsistent, perform
zero new mutations. Never adopt post-change state as the prior rollback
baseline. An unknown external outcome enters Verify only and must not be
resent. Reestablish changed or missing evidence and obtain renewed authority;
authority cannot waive the rollback gate. Do not add a daemon, cache,
telemetry, or persistent handoff tool to reconstruct the handoff.
Safety And Handoff
- Resolve destructive targets directly; never use an unresolved variable,
broad glob, guessed parent, or symlink traversal.
- Preserve unrelated state and the only working copy. Do not reset, stash,
clean, install adjacent tools, change global configuration, or widen remote
permissions to make a gate pass.
- Delete candidate or rollback material only under explicit cleanup authority
after required postconditions pass and another required recovery route
remains.
Report the target, actions actually authorized, mutation/promotion/rollback
outcome, material failed or unavailable postconditions, final observed state,
and retained recovery material. Include detailed successful layers only when
they support a completion or recovery decision.
1---2name: reversible-system-change3description: Plan, rehearse, or execute persistent system changes with verified rollback and postconditions. Use for an install, upgrade, deployment, migration, destructive retention action, active-version promotion, or explicit machine-credential lifecycle inventory, plan, activation, or retirement with rollback, data, service, or activation risk. Plans and non-mutating workflow rehearsals stay read-only; isolated restore rehearsals require exact rehearsal-write authority. Pair with confirm-external-action when the same request also causes a consequential external app or account effect. Do not use for ordinary source/configuration edits, Git operations, generic status queries, or conceptual explanations.4---56# Reversible System Change78Make one authorized persistent change without losing the ability to identify,9restore, and verify the prior working state.1011## Select One Phase1213- Explicit machine-credential lifecycle: read14 `../using-axiom/references/credential-lifecycle.md` first. A metadata-only15 inventory stops there. For persistent activation, rollout, retirement, or16 cleanup, continue into the applicable phase below; provider-side creation,17 revocation, or secret disclosure also loads `confirm-external-action` under18 an independent envelope.19- Plan or non-mutating workflow rehearsal: read20 `references/preflight-and-rollback.md`. Keep the entire phase read-only; do21 not create a candidate, backup, capsule, cache, remote record, or sensitive22 content access.23- Authorized isolated restore rehearsal: read24 `references/preflight-and-rollback.md` only. Freeze an isolated non-active25 target and its complete write set, obtain exact rehearsal-write authority,26 and verify only the restore outcome. This phase may establish `rehearsed`27 evidence; it never authorizes candidate preparation, active promotion, the28 complete change, or cleanup.29- Execute a complete authorized change: read30 `references/preflight-and-rollback.md` first. Read31 `references/execution-and-verification.md` only after the exact target,32 write set, promotion authority, rollback coverage, and current restore33 validation pass.34- Conceptual explanations and pure status/version/availability queries do not35 select this skill or load either reference.3637## Authority Boundary3839Resolve the requested outcome, exact target, authorized actions, and expected40postcondition before mutation. Ask one concise question only when target,41environment, destructive scope, credentials, sensitive asset use, promotion,42or rollback authority would change execution.4344Keep an isolated restore rehearsal, candidate preparation, active promotion,45service restart/reload, data migration, destructive retention, sensitive asset46access, rollback, and rehearsal cleanup as separate actions. Permission for one47never implies another. Freeze the exact direct and indirect write set; a newly48discovered target, dependency, service, data store, endpoint, or destructive49effect requires renewed authority.5051Inventory sensitive assets by metadata only. Read or use content only after52the exact path and exact action are both frozen and authorized. Never print,53copy broadly, hash, encode, or persist secret contents merely to inventory54them.5556## Rollback Gate5758Before the first persistent write, require a rollback point that represents the59observed prior state, covers every non-forward-compatible effect, is currently60readable by the restore principal with all prerequisites present, and has61passed a target-native restore validation or an authorized isolated rehearsal.62Recheck that evidence immediately before mutation.6364For the isolated restore rehearsal itself, first prove that its non-active65target cannot affect active state or data and that a failed rehearsal can be66abandoned or recreated within its authorized write set. If that isolation is67unproven, treat the rehearsal as complete execution and require this full gate.6869Keep `identified`, `present`, `readable`, `restore-validated`, and `rehearsed`70as distinct evidence states. A backup job, artifact, script, manifest,71checksum, historical rehearsal, or user acceptance of risk is not verified72rollback. If current restore validation or complete coverage cannot run, stop73execution; a plan may report the gap.7475## Change Contract76771. Observe current target and runtime state with scoped read-only probes.782. Freeze persistent effects, destructive roots, and the postcondition layers79 that own the requested outcome.803. Establish the rollback gate and validate an isolated candidate or dry run81 without promotion when supported.824. Refresh drift-sensitive preconditions immediately before the authorized83 write.845. Apply the smallest candidate mutation and promote only through separately85 authorized actions.866. Verify every relevant materialization, selection, runtime, delivery,87 behavior, and preservation layer with fresh direct evidence.887. On a declared failure gate, stop further writes and run only the89 pre-authorized bounded rollback; then verify the prior state at its owning90 layers.9192Command success, upload acceptance, a configuration write, or process start93proves only that stage. A failed or unavailable outcome-owning observation is94unverified, not complete.9596## Resume And Compaction Handoff9798After resume or compaction, reobserve the target and drift-sensitive state,99then fail closed unless host-native task context and current direct evidence100from the owning system reconstruct the active phase, exact current user101authority, frozen action envelope and complete write set, prior mutations and102attempt identifiers, idempotency status, and rollback point and validation103evidence. If any material field is missing, stale, or inconsistent, perform104zero new mutations. Never adopt post-change state as the prior rollback105baseline. An unknown external outcome enters Verify only and must not be106resent. Reestablish changed or missing evidence and obtain renewed authority;107authority cannot waive the rollback gate. Do not add a daemon, cache,108telemetry, or persistent handoff tool to reconstruct the handoff.109110## Safety And Handoff111112- Resolve destructive targets directly; never use an unresolved variable,113 broad glob, guessed parent, or symlink traversal.114- Preserve unrelated state and the only working copy. Do not reset, stash,115 clean, install adjacent tools, change global configuration, or widen remote116 permissions to make a gate pass.117- Delete candidate or rollback material only under explicit cleanup authority118 after required postconditions pass and another required recovery route119 remains.120121Report the target, actions actually authorized, mutation/promotion/rollback122outcome, material failed or unavailable postconditions, final observed state,123and retained recovery material. Include detailed successful layers only when124they support a completion or recovery decision.