KB-46BD

O8B-retry reconcile-deploy live wiring — 08-rollback-disable-plan

4 min read Revision 1
dieu44iu-cutterv0.6o8breconcile-deploylive-execution-wiringpassmac-ssotcontabo

O8B-retry Report 08 — Rollback / disable plan (G7)

  • macro: v0.6-o8b-retry-mac-reconcile-deploy-live-wiring
  • date_utc: 2026-05-21
  • gate covered: G7 rollback / disable proof

1. Rollback anchor — verified intact

The pre-O8B deployed tree was preserved by rename, not deletion:

backup_tree:     /opt/incomex/dot/iu-cutter-v0.6.pre-o8b-20260521T053334Z
file_count:      81  (the pre-O8A baseline — 9-file change set absent)
identity:        __init__.py has NO __live_wiring__, NO execution_enabled()
                 __milestone__=O4, __execution_enabled__=False
import_check:    `import cutter_agent.orchestrator` → OK

It is the exact pre-O8A baseline (the O7/O6B-certified deployed v0.6).

2. Rollback procedure (documented — NOT executed)

If the O8B deploy must be reverted, restore the backup tree:

cd /opt/incomex/dot
mv iu-cutter-v0.6  iu-cutter-v0.6.o8b-rolledback-<UTC-TS>
mv iu-cutter-v0.6.pre-o8b-20260521T053334Z  iu-cutter-v0.6

Both steps are same-filesystem renames — instant and atomic. The result is byte-identical to the pre-O8B deployed v0.6. No service restart is needed (none exists). No DB change is involved — the rollback is code-only.

3. "Disable" — already in the disabled state

No flip is needed to make the deploy inert: __execution_enabled__ is False in the deployed tree, so even with the O8A live-wiring present, Mode.LIVE fails closed (ProductionExecutionNotAuthorized) before any mutation — proven in Report 07 §3. The live path is wired but dormant by default.

If an extra belt-and-braces disable were ever wanted, the seam module cutter_agent/orchestrator/live_execution.py could simply be removed and the 7 modified files restored from the backup tree — but this is unnecessary while the kill-switch is OFF.

4. v0.4 skeleton — untouched

path:            /opt/incomex/dot/iu-cutter
git_HEAD:        e93424b5ff7fa5e4b8406131977ce4339cd0856a  (unchanged)
scoped_status:   `git status --short -- .` → empty (no change inside iu-cutter/)
dir_mtime:       2026-05-20 06:21  (pre-dates this macro — not modified)

Note: a repo-wide git status surfaces pre-existing modifications under /opt/incomex/bin/ (dot-dot-health, dot-vector-audit, a .bak from 2026-05-14). These are outside the iu-cutter directory, unrelated to O8B, and were not touched by this macro. O8B wrote only under /opt/incomex/dot/iu-cutter-v0.6* and /opt/incomex/dot/o8b-deploy-staging/.

5. No service running

iu_cutter_process:  none (pgrep → NO_IU_CUTTER_PROCESS)
systemd_service:    none (NO_CUTTER_SERVICE)
cron:               none (no cutter cron)

Nothing to stop on rollback; nothing was started by the deploy.

6. G7 verdict

rollback_anchor:    iu-cutter-v0.6.pre-o8b-20260521T053334Z — intact, verified
rollback_procedure: documented (two atomic renames), NOT executed
disable_state:      already disabled — execution_enabled False by default
v0.4_skeleton:      untouched (HEAD e93424b, scoped status clean)
service_running:    none
g7:                 PASS
Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/v0.6-o8b-retry-mac-reconcile-deploy-live-wiring/08-rollback-disable-plan.md