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> |
||
|---|---|---|
| .. | ||
| notes | ||
| TASK.md | ||