Commit graph

3 commits

Author SHA1 Message Date
Developer
a70bd86db2 feat: supervision trees with handle_down callback and Supervisor actor (Cycle 17)
Add three features to enable Erlang-style supervision:

1. ActorInterface::handle_down() — callback for monitored actor deaths,
   allowing actors to react to Down messages without making Down their
   Incoming type. Backward-compatible: actors with Incoming=Down still
   receive through handle().

2. ctx.stop_actor(addr) — send graceful stop to another actor from
   handler context using PoisonPill semantics.

3. Supervisor actor — manages child actors with configurable restart
   policies (Permanent/Transient/Temporary), OneForOne strategy, and
   meltdown detection (max_restarts). Built entirely on existing
   primitives (monitor, spawn, Down, lifecycle hooks).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 13:58:46 +00:00
Developer
8c68a59b45 docs: update architecture docs for Cycles 10-16
Reflect current state of tick_once (8 phases), TickContext (3 new
registries + stats_hook + worker_threads), TimerWheel, lifecycle
hooks, cleanup_dead with StopReason/Down notifications/registry
cleanup, and expanded Ctx/Runtime public API.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 13:42:23 +00:00
de0f3960f4 feat: docs and README (#13)
Update the docs and readme with all the changes we've made
2026-02-06 17:12:04 +00:00