docs(agents): 2 is safe because the edge replaces, not because 2 is right #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs-hops-depends-on-replace"
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?
Documentation only, from the
platformreview. Codex found it onjmap-mcpand it changes what2means rather than only justifying it.The hop count's correctness is a property of
oddie-apps/edge-config, not of this code. Caddy setstrusted_proxiesnowhere, in the global block or in any of its 80 site blocks, so no client-supplied entry survives into the chain. Behind an appending proxy the same value would be dangerous rather than merely wrong:len < hopswould never fire, and counting two in from the right would land on whatever the client sent, in the field an incident reads.So the entry now says do not raise a hop count elsewhere by analogy with this one, and names
oddie-apps/edge-config#39as the reverse pointer so a change there is not made in ignorance of what depends on it.The trade is stated rather than glossed. At
0this service's correctness did not depend on the edge at all, because it selected nothing whatever the header said. At2it has a real audit trail and depends on the edge continuing to replace. That is the right trade and it is the deliberate kind.And it records what the acceptance for a hop-count change actually is, because the log line reports whether an address resolved and never the address: the three fields together, with the selected index being
entries - hops.resolved=truealone does not separate 2 from 1, since both resolve; it separates either from the blank that 0 produces.