You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kind:featureNew capability or a change to current behaviorprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Sibling axis split out of #1755 (refuse-to-serve). Distinct from both refuse-to-serve and egress-aware sourcing (#1758).
The question
Today a node relays content outside its own namespace: namespace is routing-only (ADR 002; the authorized-origin serve gate was removed — pull_through_require_authorized_origin is gone), so any node pulls and serves any hash via the paid pull-through path. That is the entire cache-miss/relay mechanism.
Some operators may want the opposite: run an origin-only node that serves and seeds only its own namespace and never relays foreign content — e.g. a publisher that wants its box dedicated to its own catalog, not acting as a general CDN edge for others.
Proposed shape
A node-local policy toggle: relay foreign namespaces (default, today's behavior) vs. own-namespace-only.
When own-namespace-only, a foreign-namespace request is declined the same way a miss is (NotFound); the client re-routes to a general relay.
Node-local config only; no wire/governance surface.
Confirm the serve path can cheaply classify own vs. foreign namespace at request time (origin-directory / namespace lookup) before committing to discovery.
Interaction with reputation: a categorical relay opt-out should not be read as "advertised but didn't serve" (the node never advertised foreign content).
kind:featureNew capability or a change to current behaviorprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
fix(node): origin-only gate distinguishes foreign-decline from backen…
feat(node): origin-only node policy — decline foreign relay via cache…
Merge origin/main into refuse-to-serve (ADR 041)
feat(cli,common): role-aware config init (--origin/--client), drop ex…
docs(adr): record proxy-warming vs origin-only policy composition (#1990