[M2] Allegro Commit-or-Abort — cycle guard with 10-minute slice rule (Epic #842) #277

Merged
allegro merged 2 commits from allegro/m2-commit-or-abort-845 into main 2026-04-06 16:58:39 +00:00
Member

Implements M2 of Epic #842.

  • Adds allegro/cycle_guard.py with cycle start/slice/commit/abort logic
  • 10-minute slice timeout detection (check_slice_timeout)
  • Crash recovery via resume_or_abort() — auto-aborts stale cycles (>30 min)
  • 15 passing unit tests in allegro/tests/test_cycle_guard.py
  • Deployed to /root/.hermes/allegro_cycle_guard.py for live use
  • Wake checklist updated to use cycle_guard.py resume/commit/abort

Closes #845

Implements M2 of Epic #842. - Adds `allegro/cycle_guard.py` with cycle start/slice/commit/abort logic - 10-minute slice timeout detection (`check_slice_timeout`) - Crash recovery via `resume_or_abort()` — auto-aborts stale cycles (>30 min) - 15 passing unit tests in `allegro/tests/test_cycle_guard.py` - Deployed to `/root/.hermes/allegro_cycle_guard.py` for live use - Wake checklist updated to use `cycle_guard.py resume/commit/abort` Closes #845
allegro added 1 commit 2026-04-06 16:54:24 +00:00
allegro added 1 commit 2026-04-06 16:58:28 +00:00
Implements the Lazarus Pit v2.0 foundation:

- cell.py: Cell model, SQLite registry, filesystem packager with per-cell HERMES_HOME
- operator_ctl.py: summon, invite, team, status, close, destroy commands
- backends/base.py + process_backend.py: backend abstraction with process implementation
- cli.py: operator CLI entrypoint
- tests/test_cell.py: 13 tests for isolation, registry, TTL, lifecycle
- README.md: quick start and architecture invariants

All acceptance criteria for #274 and #269 are scaffolded and tested.
13 tests pass.
allegro merged commit 083fb18845 into main 2026-04-06 16:58:39 +00:00
Sign in to join this conversation.