Delete the kagane-specific cover path #63
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Spec: #55. Originating bug: #47. Architecture and rejected alternatives:
docs/adr/0007-backend-hosts-cover-bytes.md. Domain vocabulary:CONTEXT.md.Do not close #47 or #55 from this ticket.
What to build
Remove the machinery that made kagane special, now that nothing needs it. This is the contract step: until it lands, the codebase carries two ways to reach a Cover, and a future reader has no way to tell which one is live.
What goes: the template-level rewrite that turned a stored kagane URL into a proxy address, the kagane-only cover route and its identifier validation, and any remaining kagane-shaped branch in the cover paths. A Cover's renderable address is decided in exactly one place — on the wire — and after this ticket there is no second place that knows a Site's name.
This matters beyond tidiness. The per-Site exception is what produced #47: the previous fix was the tidy minimal one, applied in the layer that needed it, and the second client did not know about it. Leaving the old path in place leaves the trap armed for whoever adds the third client.
Confirm as part of this ticket that no Site name appears in any cover code path outside the extraction module, where per-Site knowledge legitimately belongs.
Acceptance criteria
go test ./...is greenBlocked by