A collaborative coding-agent orchestrator for atproto radl.app

Phase 4 (merge): harden poller per Codex review (findings 1-3)

1. Restart-safe writes: deterministic rkey merge-<base32(sha256(artifact uri#cid))> + adopt-on-RecordAlreadyExists (fetch existing, no duplicate), mirroring turn-socket.ts. Closes the restart-during-ingestion-lag double write the in-memory alreadyWritten set alone cannot. Export base32Encode. 2. Writer must be a trusted member: restrict actor choice to actors holding an active grant in the index's (per-space) membership view; skip + log once when none, so we never emit merges trustRecords would discard. 3. Clamp poll timing in resolveRunConfig (floor base >=1ms, raise cap to the base) and cap the poller's first backoff step against a base > cap misconfig. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>


Author disnetdev.com
Co-author Claude Fable 5 Date Commit Parent 79d50747
+94 -27
3 changed files
+94 -27
3 changed files