swactor/CLAUDE/notes
Developer e28aca099e feat: lifecycle hooks (on_start/on_stop) and graceful actor stop
Add actor lifecycle hooks and two-mode graceful stop mechanism:

- ActorInterface::on_start() called once before first message (panic = poison)
- ActorInterface::on_stop() called on graceful stop (NOT on panic - unsafe)
- ctx.stop_self() for immediate self-stop after current message
- runtime.stop_actor() for external stop (PoisonPill semantics, queued)
- Separate stats tracking: stops counter distinct from panics
- 12 new behavioral tests, 82 total passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 12:27:08 +00:00
..
baseline_benchmarks.md feat: per-actor message budget for tick fairness 2026-02-12 11:11:30 +00:00
constraints.md feat: per-actor message budget for tick fairness 2026-02-12 11:11:30 +00:00
progress.md feat: lifecycle hooks (on_start/on_stop) and graceful actor stop 2026-02-12 12:27:08 +00:00
research_synthesis.md feat: lifecycle hooks (on_start/on_stop) and graceful actor stop 2026-02-12 12:27:08 +00:00