2.3 KiB
2.3 KiB
Replace Me Automation — Operations Runbook
Purpose and owner
- Outcome: Replace me.
- Owner: Replace me.
- Repository: Replace me.
- Manifest version:
0.1.0
Scheduler record
- Platform: Codex desktop scheduled task
- Scheduler task ID or link: Replace me after creating the scheduled task.
- Active host:
dell-workstation - Standby host:
travel-laptop - Cadence and timezone: Every Monday at 09:00 America/Denver
Normal operation
- The active host starts the task from
task-prompt.md. - The run acquires or verifies the idempotency state declared in
automation.yaml. - Outputs and the run log are written to their declared locations.
- The success contract is verified and a notification is sent.
Manual test
- Confirm required software, connectors, secrets, permissions, inputs, and output paths.
- Confirm scheduled execution remains disabled.
- Run
python scripts/validate_manifest.py --strict. - Execute
task-prompt.mdmanually in the declared working directory. - Verify every success-contract item and inspect the run log.
- Record the test date and evidence here.
Latest manual test: Never
Failover: primary host to standby
- Pause or disable the scheduler on the old host. If it is unreachable, fence it by revoking its lease, credential, or network access to the destination it writes to.
- Pull the pinned repository revision onto the standby host.
- Create
host-overrides.yamlfrom the example and restore secrets from the approved secret store. - Restore durable runtime state and confirm the recovery point.
- Validate the manifest and perform one manual test.
- Change the documented active/standby roles and enable the schedule on the new active host.
- Review the first scheduled run. Do not re-enable the old host without reversing this process.
Restore requirements
- Secret backup location: Replace me; record the system name, never the secret value.
- Runtime-state backup location: Replace me.
- Required external accounts/connectors: Replace me.
- Host bootstrap instructions: Replace me.
Disable or retire
- Disable the actual scheduler first.
- Confirm no run is active.
- Preserve required outputs, logs, and state according to retention policy.
- Set
automation.statustopausedorretired, updatelast_reviewed, and commit the change.