Operations
The day-to-day operational model: who runs what, when, and how. The cadence, the responsibilities, and the escalation path.
Purpose
This page documents the lab's operational model. It is the companion to the Runbook (which is the step-by-step reference) and the Health Checks (which is the verification reference).
Cadence
The lab's operational cadence is:
| Cadence | Activity |
|---|---|
| Continuous | Heartbeat checks (gates, agents, in-flight missions). |
| Per-request | Session state, memory updates, audit log. |
| Daily | Token pool review, mission state cleanup, log rotation. |
| Weekly | Audit review, health check report, retention policy review. |
| Monthly | Comprehensive audit, security review, documentation review. |
| Ad-hoc | Post-incident review, configuration change, agent update. |
The cadence is enforced by the framework's scheduler and by the user's discipline.
Roles
The lab's operations involve a single role: the operator. The operator is the user.
The operator's responsibilities:
- Monitor the health checks.
- Review the audit log.
- Apply retention policy.
- Update configuration.
- Restart agents when needed.
- Escalate issues to the framework's maintainers (the user, in the lab's case).
The operator is the only role. The lab does not have multiple users or multiple operators.
Daily checks
The daily checks are:
- Token pool review. Read the token pool state file. Identify exhausted or error tokens. Add tokens if needed.
- Mission state cleanup. Identify missions that have been in a non-terminal state for more than the timeout. Resume or cancel them.
- Log rotation. Check the request journal's size. Rotate if needed.
- Disk space. Verify the output directory and the research root have enough free space.
The daily checks take 5-10 minutes. The output of the daily checks is a short note in the daily log.
Weekly checks
The weekly checks add:
- Audit review. Read the most recent audit reports. Identify new findings.
- Health check report. Read the health check results. Identify degraded services.
- Retention policy review. Check the retention counters. Adjust if needed.
- Documentation review. Check that the documentation reflects the current system state.
The weekly checks take 30-60 minutes. The output is a weekly audit report.
Monthly checks
The monthly checks add:
- Comprehensive audit. Review all components, the security boundary, and the threat model.
- Security review. Review the security principles and the audit model. Update if needed.
- Documentation review. Update the documentation to reflect the current system state. Identify gaps.
- Roadmap review. Update the roadmap with the findings from the audit.
The monthly checks take 2-3 hours. The output is a monthly audit report and an updated roadmap.
Incident response
The lab's incident response is:
- Detect. The heartbeat, the health checks, or the user detects the incident.
- Triage. Identify the affected component and the severity.
- Contain. Stop the affected component if necessary. Prevent the incident from spreading.
- Mitigate. Apply the relevant runbook procedure.
- Recover. Verify the system is back to a healthy state.
- Post-mortem. Write a post-mortem document. Add the findings to the audit log.
The post-mortem document is stored under
{workspace-root}/security/incidents/YYYY-MM-DD-{name}.md.
The format is:
Configuration management
The lab's configuration is managed through:
- Files. Configuration files in the locations documented in System Architecture → Configuration files.
- Tools. The Coordinator's session management and the framework's config validation.
- Reviews. Configuration changes are reviewed by the operator before being applied.
The operator is the only one who can change configuration. The Coordinator surfaces the change request and the operator approves it.
Backup
The lab's backup is:
- What is backed up.
MEMORY.md, daily logs, skill artifacts, project notes, research artifacts, audit reports. - What is NOT backed up. Generated outputs (Media Lab outputs, downloaded media), runtime state (session state, in-memory caches).
- Where. External drive or cloud (user's choice).
- When. Daily at midnight (user-configurable).
- How. The
backup.shscript in{workspace-root}/ops/cheatsheets/.
The backup retention is 30 days (user-configurable). Older backups are deleted.
Disaster recovery
The lab's disaster recovery is:
- Detect. The user detects the disaster (e.g., the host is wiped).
- Restore. Restore from the most recent backup.
- Reconfigure. Reinstall the tools, the frameworks, the configuration files.
- Verify. Run the health checks. Verify that the system is back to a healthy state.
- Document. Document the disaster and the recovery in the audit log.
The recovery time objective (RTO) is 4 hours. The recovery point objective (RPO) is 24 hours (the daily backup).
Change management
The lab's change management is:
- Plan. The user decides to make a change.
- Test. The change is tested in isolation.
- Apply. The change is applied.
- Verify. The health checks pass.
- Document. The change is documented in the daily log.
The change is recorded in the audit log if it affects the security boundary or the production behavior.