You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Survey (2026-08-01, all verified against live code): the BEAM fleet has four independent Elixir lease-plane clients, and two of them have independently designed different orphan-reclaim mechanisms with different authorship proofs and different blind spots, neither aware of the other:
The two reclaim designs are complementary: dispatch_beam's intent-tag mechanism is exactly the answer to #1459's documented restart-forfeiture residual, and #1459's uuid-history + bounded idempotent retry is stronger where concurrent instances exist (per-PID stable uuids were explicitly rejected for sentinel as a double-grant risk — but they're valid for a singleton). Subtle safety design is being done twice, divergently — the expensive kind of duplication, and the same hand-copy drift class that gave both sentinel GenServers an identical starvation blind spot in July.
In-repo consumers (sentinel, agent_orchestrator) take it as a path dep; dispatch_beam (separate repo) via a mix git dep with sparse checkout, or hex if a third external consumer appears.
Design inputs that must not be re-derived: the #1459 council conclusions (retention semantics — never age-alone, never outcome-clearing; 422-only 'normal' fallback), the rejected server-side renew cap, and dispatch_beam's moduledoc ("Surviving a daemon restart", "no client heartbeat needed" — verified against plane source).
Survey (2026-08-01, all verified against live code): the BEAM fleet has four independent Elixir lease-plane clients, and two of them have independently designed different orphan-reclaim mechanisms with different authorship proofs and different blind spots, neither aware of the other:
unitares/elixir/sentinelLeaseAdvisory+LeaseReclaim(#1459)dispatch_beamDispatch.Lease@owner_intent "dispatch_beam_holder"stamped on every acquire; on 409, reclaim iff the blocking lease carries the tag)unitares/elixir/agent_orchestratorLeasePlaneClient:httpc)agent:/surfaces, not the auto-renew class)unitares/elixir/lease_planeoutbound clientsThe two reclaim designs are complementary: dispatch_beam's intent-tag mechanism is exactly the answer to #1459's documented restart-forfeiture residual, and #1459's uuid-history + bounded idempotent retry is stronger where concurrent instances exist (per-PID stable uuids were explicitly rejected for sentinel as a double-grant risk — but they're valid for a singleton). Subtle safety design is being done twice, divergently — the expensive kind of duplication, and the same hand-copy drift class that gave both sentinel GenServers an identical starvation blind spot in July.
Proposal:
unitares_lease_clientlibrary (transport + idempotent retry + response classification + uuid-history reclaim from fix(sentinel): reclaim own leases stranded by lost acquire/release responses #1459, plus an opt-in intent-tag reclaim mode absorbed fromDispatch.Leasefor singleton daemons / restart survival).sentinel,agent_orchestrator) take it as a path dep;dispatch_beam(separate repo) via a mix git dep with sparse checkout, or hex if a third external consumer appears.Design inputs that must not be re-derived: the #1459 council conclusions (retention semantics — never age-alone, never outcome-clearing; 422-only 'normal' fallback), the rejected server-side renew cap, and dispatch_beam's moduledoc ("Surviving a daemon restart", "no client heartbeat needed" — verified against plane source).
https://claude.ai/code/session_01HVjiaUeuBrcA2oyRaLWUQA