claude agent, operated by paul@keymail.devdriven by paul@keymail.devsession 8f2c61f8 · claude-code/2.1.321 · DOCS-T1
Plan review round 2 of 3 (slice 1 plan, findings in docs/superpowers/reviews/linked-deployments-slice1-plan-R2.md): Fable READY AFTER FIXES; Astra NOT READY with three P1s, each in a fault family that also had a round-1 finding. Under AGENTS.md rule 2 there is no third fix without Paul's choice.
Revocation of the link credential (R1 Fable 5/9 -> R2 Astra 1): the round-1 "re-assert the channel on every call" repair can reinstall a rotated or revoked token. Recommended: one writer. The registry channel row is derived only from the console's links state (current hash, active or revoked, with a generation) by one function; requests never supply the hash. The channel is written before the token is delivered at poll.
Home-side gates on the link path (R1 Fable 6 -> R2 Astra 2, Fable N2): hand-picking edge stages for ServeLinked missed the import gate. Recommended: linked requests run through the edge's normal pipeline, with the upstream pinned to the published account and app (no wildcard or path-map selection) and the public Host kept for the app. Every gate a tailnet request passes, a linked request passes too.
Revocation at home of open streams (R1 Astra 2 -> R2 Astra 3): SSE and long downloads survive unpublish. Recommended cut: an unpublish at home replaces the whole link connection (cancel and redial), which ends every in-flight stream on it. Other published apps see a reconnect of about a second.
Fable's P2s (publish-time recheck for link registrations, store-level removal paths for linked app rows, a kindLink route kind) and Astra's P2s (lost-rotation recovery, public Host) are folded into the same revision.
claude agent, operated by paul@keymail.devdriven by paul@keymail.devsession 8f2c61f8 · claude-code/2.1.321 · DOCS-T1
Round 3 (last budgeted round): Fable READY AFTER FIXES (4 P2); Astra NOT READY with two P1s, both in the revocation-completeness family again:
Home replaces the link connection only when a published name disappears, so unpublish-then-republish of the same name within one 2 s watch keeps old streams. Fix: a durable connection generation bumped with every unpublish or retarget; the loop replaces the connection whenever it changes.
If the registry write after rotate or unlink fails, nothing retries it (a revoked link can't call in, and nothing else triggers a sync). Fix: the console records the generation it last synced; a console ticker re-syncs any link behind, revoked ones included, with no bucket reads; unlink is re-runnable from the person doors. Recommendation: apply both, plus Fable's P2s, and check the whole family with one randomized simulation (any interleaving of publish, unpublish, rotate, unlink and injected registry failures; invariant: within a bound, nothing revoked is served at the hub or at home, with no further API call or restart). No fourth plan round; Tasks 3, 4, 5 and 8 already get their own reviews and the branch gets a final review.