Repository navigation
docs(adr): namespace-as-origin-addressing, drop per-hash claims and default-open allow-list - #1395
Conversation
First artifact of the origin-addressing redesign (see #1394). Replaces the per-hash on-chain claim model and the default-open allow-list with: namespace = unit of origin addressing; requests carry (namespaceId, hash); no per-hash claims; namespaceId 0 = unclaimed = no origins, cache/DHT only. WIP: ADR 011 / 016 / stray-ref cleanup still pending; branch is intentionally not yet consistent and no PR is open until the core set lands together. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01UmXCSsEKstfhWAz5XAjqmK
…efault-open allow-list Redesign origin addressing across the ADR set (see issue #1394): - The namespace is the unit of origin addressing. A cdn/client/v1 request carries (namespace_id, hash); the node routes on the namespace to that namespace's DAO-authorized origins. The bare hash carries no origin info. - Remove per-hash on-chain claims: PublisherRegistry.claimContent / namespaceOf / hasClaimed / ContentClaimed and the multi-claim apparatus are gone. The hash->namespace association is asserted by the requester at fetch time, off-chain. The chain stores only namespace ownership + origin sets. - namespaceId == 0 (unclaimed) has no publisher, no authorized origins, no allow-list. Retrieval is best-effort cache/DHT only. Remove the entire default-open allow-list surface from OriginAssignment. - Redundancy is a namespace property (multiple origins per namespace), which replaces multi-claim and its stranded-hash / squatting failure modes. - Appeals path 1 keeps its number (ADR 030 references path 2) and drops only the now-impossible hasClaimed check. - StreamRequest gains namespace_id; pre-finalisation in-place addition, no version bump (per no-ALPN-dance). Files: 002 (rewrite), 011/016/031 (contract + standing), 005/022 (request + discovery), 001/003/009/019/037 (stray refs). Net -20 lines. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01UmXCSsEKstfhWAz5XAjqmK
|
Warning Review limit reached
Next review available in: 15 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (13)
WalkthroughThe ADRs revise content addressing, namespace routing, and origin governance. Per-hash claims and default-open allow-lists are removed, while namespace-aware protocol requests, discovery behavior, contract interactions, onboarding, and appeal standing are updated accordingly. ChangesNamespace Routing and Origin Governance
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates the ADR specification set to adopt the namespace-as-origin-addressing model end-to-end: requests are routed using (namespace_id, hash), per-hash on-chain claims are removed, and namespaceId == 0 is explicitly treated as unclaimed (cache/DHT-only, no authorized origins and no default-open allow-list).
Changes:
- Rewrites content/origin semantics to make namespaces the unit of origin addressing and removes per-hash claim surfaces from the ADR contract interfaces.
- Removes the default-open allow-list concept and replaces it with explicit “namespace 0 has no authorized origins” behavior across discovery, onboarding, and takedown/appeals ADRs.
- Threads
namespace_idinto thecdn/client/v1protocol ADR and updates dependent ADR wording to match.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| adr/001-network.md | Updates availability/redundancy language to remove default-open origins and clarify unclaimed behavior. |
| adr/002-content-addressing.md | Redefines publisher identity/origin addressing around namespaces; removes per-hash on-chain claims and documents namespace 0 behavior. |
| adr/003-payments.md | Adjusts availability/withholding discussion to remove default-open allow-list and align with namespace-based origins. |
| adr/005-protocol.md | Adds StreamRequest.namespace_id and documents namespace routing semantics (incl. namespace 0). |
| adr/009-governance.md | Removes the default-open allow-list governance parameter from safety bounds rationale/table. |
| adr/011-content-takedown.md | Removes default-open allow-list surface from OriginAssignment spec; updates appeals standing model for off-chain hash→namespace association. |
| adr/016-contract-interactions.md | Updates contract inventory/call tables and construction notes for “namespace 0 has no origins” and removes default-open entrypoints. |
| adr/019-node-onboarding.md | Updates onboarding guidance to state unclaimed content has no origin role. |
| adr/022-content-discovery.md | Updates discovery and prefetch documentation to remove hash→namespace on-chain lookup and clarify namespace 0 handling. |
| adr/031-content-blacklist-appeals-contract.md | Drops hasClaimed requirement from publisher standing and updates related text. |
| adr/037-regional-proxy-warming.md | Updates pull-through authorization-gate wording to remove default-open allow-list semantics and align with namespace 0 behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Remove historical-carryover framing introduced by the redesign so the ADRs read as canonical spec rather than a record of what was removed: - Rename "No per-hash on-chain claims" -> "Hash-to-namespace association"; drop the rejected-alternative rationale (pointless/dangerous) and the "there is no on-chain claim / no DAO allow-list / nothing is claimed" absence-of-removed-thing sentences. - Rename the "Namespace 0 (unclaimed content)" sections -> "Namespace 0"; retire the "unclaimed" vocabulary (which only parsed against the removed claimContent) in favour of "namespace 0" / "content published without a namespace". Anchor renames propagated to all inbound links. - Fix two stale old-model statements that survived the first pass: 001 and architecture.md still said "a global allow-list covers unregistered content" (that allow-list is gone) -> namespace 0 has no authorized origins. Also folds two Copilot review nits on #1395: appeals path-1 wording says the namespace is "asserted" (not verified on-chain), and the consequences bullet drops "TOKEN holders above a threshold" (standing is the escrowed bond, no threshold). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01UmXCSsEKstfhWAz5XAjqmK
The prefetch Sybil gate resolved a hash to its namespace via the on-chain namespaceOf lookup, which the namespace-origin redesign removed; passive DHT FIND_VALUE demand carries only a hash, so the gate can no longer determine a namespace and is dropped entirely (per owner decision — no performance degradation for a gate that no longer functions). Prefetch remains bounded by the spend budget and demand-quality auto-throttle. - 022: remove the prefetch.require_authorized_origin config row and its event-subscription paragraph; reframe the config intro and scope note. - 037 + 022: the pull_through_require_authorized_origin gate stays (a cache-miss pull carries namespace_id from the StreamRequest) but is now described standalone rather than as the prefetch gate's analogue. - appendix-observability: collapse the gate-keyed acquisitions counter to a single decdn_prefetch_acquisitions_total; drop decdn_prefetch_origin_gate_rejections_total. Whole-feature removal is proposed separately (#1396). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01UmXCSsEKstfhWAz5XAjqmK
…quest
ADR 005's StreamRequest treats namespace_id and byte_len as non-optional
base fields, but ADR 013's illustrative StreamRequestBase example still
listed only {hash, channel_id, byte_offset, timestamp_us} — missing
namespace_id (added in this branch) and byte_len (pre-existing drift from
the bounded-ranges change). Add both, in wire order, so the two-phase
base/ext split in 013 matches the canonical struct in 005.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
…nt glossary entries Namespace is now the central origin-addressing primitive but the glossary had no entry for it, nor for Publisher or the two contracts that carry the origin authority. Add all four so the redesigned model's core terms are defined in one canonical place. Co-Authored-By: Claude Opus 4.8 <[email protected]>
…label Address PR #1399 review feedback that survives the #1395 rebase: - config validate summary, `--origin-assignment-address` help, and the ResolvedBlockchain doc now state that an unset origin directory disables both the pull-through gate AND the FIND_VALUE last-resort fallback (Copilot: the directory backs both consumers, not only the gate). - prometheus DecdnOriginDirectoryWatcherStalled alert: "prefetch authorized-origin gate" -> "pull-through authorized-origin gate". Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
* feat: remove speculative prefetch mechanism (#1396) Delete speculative prefetch entirely: nodes no longer pre-acquire blobs they don't hold off the DHT FIND_VALUE query-frequency signal. Content propagation relies solely on the reactive, paid cache-miss pull-through path (plus explicit operator pinning). Cache-miss pull-through and ADR 037 proxy warming — both reactive — are unchanged. Rust: - Delete crates/node/src/prefetch/ (PrefetchEngine, popularity tracker, decision engine, acquirer, acquired-set). - Drop the [prefetch] config block: PrefetchConfig, ResolvedPrefetch, the DEFAULT_PREFETCH_* constants, and resolver/validation. - Remove the decdn_prefetch_* metric family and the prefetch-ledger-only decdn_node_pull_delta_overflow_total, plus their setters. - Remove the FIND_VALUE->prefetch feed (DhtHandler), the AcquisitionObserver trait + serve-path crediting (node_origin/voucher), and all runtime wiring (engine construction, provision_acquirer, prefetch_shutdown token, armed_origin_gates helper). - Drop the [prefetch] CLI config template + example, and dead tests. Kept (shared surface): cache-miss pull-through, ADR 037 proxy warming, the pull_through_require_authorized_origin gate, OriginDirectory, and the FIND_VALUE fallback. The gate's OriginAssignment / namespace-0 / fail-closed semantics are re-homed from the deleted prefetch section into a new self-contained ADR 022 "Origin authorization for cache warming". ADRs: delete ADR 022's prefetch sections and rewrite Popularity Signals to reactive-only; remove appendix-observability Prefetch Metrics; clean single refs in ADR 001/017/037/architecture. Co-Authored-By: Claude Opus 4.8 <[email protected]> * docs(adr): de-duplicate the pull-through gate to one canonical source Fold the origin-authorization detail so nothing is stated twice: - ADR 022 § FIND_VALUE Flow is the single home for origin-directory resolution (getOrigins / namespaceId==0 default-open / nodeIdOf-active) and now also the directory's event-subscription currency + fail-closed behavior. - ADR 037 § Seed-leech caps is the single home for the gate policy (pull_through_require_authorized_origin: initiation-only, NotFound, ContentBlacklist boundary, ADR 019 compliance posture). Collapse ADR 022's "Origin authorization for cache warming" subsection to its unique content (permissionless cache role + unclaimed-content pinning) with a one-line pointer to the gate; repoint ADR 037's gate references to ADR 022 § FIND_VALUE Flow instead of the removed subsection. Co-Authored-By: Claude Opus 4.8 <[email protected]> * docs(review): clarify origin-directory scope and drop stale prefetch label Address PR #1399 review feedback that survives the #1395 rebase: - config validate summary, `--origin-assignment-address` help, and the ResolvedBlockchain doc now state that an unset origin directory disables both the pull-through gate AND the FIND_VALUE last-resort fallback (Copilot: the directory backs both consumers, not only the gate). - prometheus DecdnOriginDirectoryWatcherStalled alert: "prefetch authorized-origin gate" -> "pull-through authorized-origin gate". Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * docs(review): give fail-closed semantics a canonical home; fix stale ADR cites Follow-up to the prefetch-removal review (PR #1399): - adr/022: document the fail-closed-on-RPC-loss / empty-directory behavior in the FIND_VALUE Flow section, so ADR 037's delegation points at text that actually exists (it was left homeless when the Scope-and-limits subsection was deleted). - Repoint two doc-comments (config/types.rs, handlers/client/mod.rs) from the deleted "ADR 022 Scope and limits" section to FIND_VALUE Flow, matching the dispatch.rs fix already in this branch. - CHANGELOG: add a BREAKING config entry -- a leftover [prefetch] section now fails at startup/reload under deny_unknown_fields. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.8 <[email protected]> Co-authored-by: Ant Somers <[email protected]>
…-open allow-list (#1394) (#1401) * feat(contracts): namespace-as-origin-addressing — drop per-hash claims + default-open allow-list (#1394) Solidity half of the ADR 002/011/016 redesign (PR #1395): - PublisherRegistry: remove claimContent / namespaceOf / hasClaimed / ContentClaimed / AlreadyClaimed + the per-hash claim storage. The registry now records only namespace ownership + lifecycle; hash->namespace is off-chain. - OriginAssignment: remove the entire default-open allow-list surface (setDefaultOpenAllowlist / add / remove, defaultOpenMaxOrigins + bounds, the 3 DefaultOpen* events, DEFAULT_OPEN_NAMESPACE). Namespace 0 is unassignable by construction (ownerOf(0) == 0), so getOrigins(0) is always empty with no special-casing. - ContentBlacklist: appeal path-1 standing drops the hasClaimed check — owning the declared namespace is the only on-chain gate (hash->namespace is off-chain). - IPublisherRegistryStanding: drop hasClaimed (ownerOf only). - Tests re-blessed: remove claim / default-open suites, re-bless InterfaceFreeze (setDefaultOpenAllowlist selector gone), regenerate .gas-snapshot. All 808 contract tests pass; forge build --deny warnings clean. Co-Authored-By: Claude Opus 4.8 <[email protected]> * feat(node): namespace-as-origin-addressing — Rust core (#1394) Rust half of the ADR 002/011/016 redesign, matching the merged contracts (ba18f57). namespace_id is a client→node routing hint consumed exactly once — at the receiving node's origin-directory fallback (the DHT-miss branch). It does not propagate node-to-node (a probed holder already has the blob) and is never needed node-to-origin (backends are opaque, hash-keyed). - protocol: StreamRequest gains `namespace_id: [u8; 32]` (big-endian uint256) + NO_NAMESPACE / has_namespace helpers. Kept `[u8; 32]` (like hash/channel_id) so protocol stays alloy-free; the node layer converts to U256. - node/dht: OriginDirectory re-keyed hash→namespace_id (U256). chain_origin_directory rewritten — cache is namespace→operators; bootstrap replays AssignmentActivated (not ContentClaimed); watcher filter is OriginAssignment-only (3 events); default-open / hash→namespace machinery gone. - node/node_origin: the origin-directory fallback in `discover` takes the namespace; the client-serve path (open_progressive_pull ← window handler) threads req.namespace_id; the generic Origin::fetch (buffered/prefetch, hash- only) passes NO_NAMESPACE. The generic Origin trait + S3/HTTP/FS backends are untouched. - node/handlers: pull_through_require_authorized_origin gate re-keyed to the request namespace. Prefetch's require_authorized_origin gate DROPPED (the FIND_VALUE demand signal is hash-only); prefetch no longer depends on OriginDirectory. Metrics consolidated to decdn_prefetch_acquisitions_total. - incentive: PublisherRegistry / OriginAssignment bindings stripped of the removed surface (claimContent/namespaceOf/DefaultOpen*). - common/config: origin directory keys solely on origin_assignment_address (publisher_registry independent, publish-CLI only) — dropped the both-or- neither pairing; removed prefetch.require_authorized_origin. - cli: `publish claim` subcommand removed (create-namespace + assign remain); client-pull node-to-node pulls send NO_NAMESPACE. Green: cargo build/clippy --all-targets, fmt; nextest across protocol/common/ incentive/client-pull + node lib + node integration. e2e (anvil-gated) test logic reworked in a follow-up commit. Co-Authored-By: Claude Opus 4.8 <[email protected]> * test(e2e): namespace-as-origin-addressing — purge removed surface (#1394) e2e half of the redesign. The e2e crate carries its own contract ABI copy plus fixtures/tests that referenced the removed surface (claimContent / namespaceOf / hasClaimed / AlreadyClaimed / DefaultOpen*); they compiled against the stale bindings but would revert against the redesigned contracts. - bindings.rs: drop claimContent / namespaceOf / hasClaimed / AlreadyClaimed / addDefaultOpenOperator from the sol! blocks. - chain.rs: drop the claim_content / content_namespaces / add_default_open_operator helpers; getOrigins(0) documented as always-empty. - g_origin_04_default_open.rs: deleted (default-open concept is gone). - g_origin_01_publish.rs: run_publish rewritten from claim/multi-claim/hasClaimed to the surviving `namespace create` flow (mints owned ids; namespace 0 unowned). The namespace-transfer journey is unchanged. - cli_publish.rs: drop the `publish claim` step + namespaceOf assertion; keep namespace-create + assign. - g_node_08_authorized_origin.rs: ratification keys on the namespace directly (getOrigins(namespace)) instead of a hash→namespace lookup; the claim loop is gone. Compiles clean with `--features anvil-e2e` (no warnings). NOTE: g_node_08's positive serving journey (a client fetch succeeds once the namespace's origin is ratified) requires the client to *send* that namespace on its StreamRequest. Client-pull currently sends NO_NAMESPACE (node-to-node needs none), so wiring a client-supplied namespace through client-pull/the fetch CLI is a follow-up before that journey can pass at runtime. Co-Authored-By: Claude Opus 4.8 <[email protected]> * docs: scrub residual ContentClaimed references (#1394) Follow-up doc-comment cleanup: the origin directory replays AssignmentActivated (not ContentClaimed) and resolves a request's namespace via getOrigins, with no hash→namespace lookup. Updates the resumable_watcher checkpoint doc and the G-NODE-08 module/ordering comments accordingly. Co-Authored-By: Claude Opus 4.8 <[email protected]> * feat(cli): thread a client-supplied namespace through the fetch path (#1394) Completes the client send-side of namespace-as-origin-addressing. Clients can now route a cache-miss origin pull to a namespace's DAO-authorized origins; previously every client sent NO_NAMESPACE, so the pull-through gate and origin- directory fallback only ever saw namespace 0. - client-pull: thread `namespace_id: [u8; 32]` through stream_fetch_tracked / stream_fetch_tracked_with_progress / fetch_inner. `stream_fetch` and stream_fetch_shared keep their signatures and pass NO_NAMESPACE (node-to-node loopback helpers), so the ~40 node-to-node test callers are untouched. - cli: `decdn fetch --namespace <id>` (rejects 0; absent => NO_NAMESPACE = best-effort cache/DHT). Threaded through fetch_blob + ChunkFetcher so a DECDNMAN manifest's chunk pulls inherit it. `bundle pull` sends NO_NAMESPACE. - e2e: ClientFixture `fetch`/`fetch_once` take a `namespace_id: U256`; g_node_08 now drives the real end-to-end journey — the client sends namespace 0 pre- ratification (gate refuses) and the ratified namespace post-ratification (gate resolves the authorized origin and serves). Other e2e fetch callers pass U256::ZERO. Green: cargo clippy --all-targets, fmt; nextest common (496) + client-pull + node client_loopback (45); e2e compiles --features anvil-e2e. Co-Authored-By: Claude Opus 4.8 <[email protected]> * test(protocol): re-bless public-api snapshot for StreamRequest.namespace_id (#1394) Adds namespace_id / NO_NAMESPACE / has_namespace to the frozen public API snapshot, matching the redesign. Co-Authored-By: Claude Opus 4.8 <[email protected]> * fix(node): address PR #1401 review — namespace on fallback leg, ns-0 defenses, comment/test cleanup Behavioral: thread the served request's namespace onto the progressive client-serve node-to-node leg (client-pull open_progressive_pull + node_origin open_from_candidate[s]) so a directory-discovered cold origin's pull-through gate resolves and it fills from its own backend. Previously the leg was hardcoded to NO_NAMESPACE, so an armed origin refused content it was the authorized origin for. Buffered/warm/prefetch paths correctly stay NO_NAMESPACE. New test node_origin_pull::a_progressive_pull_routes_the_ fallback_on_the_request_namespace proves the namespace is load-bearing (resolves under a non-zero namespace, resolves nothing under NO_NAMESPACE), closing the prior symmetric-ZERO test blindness. Invariant defense: guard U256::ZERO at both ChainOriginDirectory cache insert sites (bootstrap_cache, resync_namespace) so "ns 0 authorizes nothing" is type-local, not merely trusted from the ABI-decoded event field; add the on-chain OriginAssignment.t.sol test_namespaceZero_isUnassignableAndHasNoOrigins. Observability: meter undecodable-log decode-skip arms so an ABI-drift storm is visible, not warn-log-only. Cleanup: rewrite the stale default-open pull_origin_gate comment (ns 0 now hard-denies); fix the "only consumer"/"does not propagate" namespace comments; remove dead StreamRequest::has_namespace() (re-bless public_api snapshot); drop the vestigial origin::Hash re-export; correct metrics/config/protocol/e2e doc staleness; add parse_fetch_namespace_id test; delete the orphan root .gas-snapshot; regenerate contracts/.gas-snapshot for the new test. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(e2e): thread ratified namespace through the wire-tap fetch (#1401) `capture_delivery_wire` hardcoded `NO_NAMESPACE`, so the g_node_08 wire-tap fetched a backend-only blob under namespace 0. Under namespace-as-origin- addressing the authorized-origin gate keys on the request namespace, so that request is refused (`NotFound`) — the tap captured a refusal and `assert_backend_never_on_the_wire` panicked ("tapped delivery was refused"). Add a `namespace_id` parameter and pass the DAO-ratified namespace at the call site, matching the `fetch`/`fetch_once` paths the PR already threaded. The origin backend stays hash-keyed and opaque (never sees the namespace). Fixes the `anvil e2e` CI failure on this branch. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * docs+test(#1401): scrub default-open comment rot, add ns-0 guard test Follow-up from the PR review. No behavior change beyond docs/tests. - metrics.rs: the review commit's scrub left "default-open set" / "claimed hashes" / "newly-claimed namespace" / "activate/add … remove" language on the later lines of doc blocks whose first lines it did update; reconcile them with the namespace-as-origin model (matching chain_origin_directory's wording). - metrics.rs: clarify serve_stream_rejected_unauthorized_origin — the gate scopes on the namespace the requester names, not proven hash membership. - cli/run.rs: --origin-assignment-address / --publisher-registry-address help text no longer claims the removed both-or-neither pairing. - PublisherRegistry.sol: "default-open id 0" -> "no-namespace id 0". - client-pull: scope the "node-to-node pulls pass NO_NAMESPACE" comment to the callers that reach fetch_inner (the cold-origin leg carries a real namespace). - chain_origin_directory: add namespace_zero_event_never_seats_operators, covering the resync_namespace ns-0 guard that keeps the pull-through gate closed for NO_NAMESPACE even under decode drift. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.8 <[email protected]> Co-authored-by: Ant Somers <[email protected]>
Summary
Implements the origin-addressing redesign from #1394 across the whole ADR set, as one self-consistent PR (so the spec is never internally contradictory between merges).
The model:
cdn/client/v1request carries(namespace_id, hash). The node routes on the namespace to that namespace's DAO-authorized origins (OriginAssignment). The bare hash carries no origin information.PublisherRegistry.claimContent/namespaceOf/hasClaimed/ContentClaimedand the whole multi-claim apparatus are removed. The hash→namespace association is asserted by the requester at fetch time, off-chain — the app already knows its namespace. The chain stores only namespace ownership + origin sets, never content hashes.namespaceId == 0(unclaimed) has no publisher, no authorized origins, no allow-list. Retrieval is best-effort local cache / DHT only; a miss simply fails. The entire default-open allow-list surface is removed fromOriginAssignment.namespace_idonly fails the fetch — never corrupt or mis-attributed delivery.Motivation, benefits, and risks are written up in #1394.
Files changed (11, net −20 lines)
### No per-hash on-chain claims,### Retrieval by namespace,### Namespace 0; trimmedPublisherRegistryinterface (noclaimContent/namespaceOf/ContentClaimed).OriginAssignment(interface fns + events + the dedicated subsection + recaps + consequences); replaced with a short### Namespace 0note; droppedhasClaimedfrom appeals Standing path 1 (kept its number — ADR 030 references path 2).namespaceOf/claimContent/setDefaultOpen*rows and construction notes;getOrigins(0)now empty.hasClaimed.StreamRequest.namespace_id(struct + mermaid) + new#### Namespace routing; in-place addition, no version bump (pre-finalisation).namespaceOfstep (requester supplies the namespace);namespaceId == 0= DHT/cache only; removedDefaultOpenAllowlistUpdatedsubscription.Default-open max originsparam row, onboarding step, pull-gate wording).Verification
default-open/claimContent/namespaceOf/multi-claim/hasClaimed/ContentClaimed/DefaultOpen*→ none remain.#default-open-allow-list/#multi-claim-semanticssections; the 3 new anchors resolve for all inbound links.Not in this PR
Contract + Rust implementation (tracked in #1394):
PublisherRegistry.sol/OriginAssignment.solsurgery +InterfaceFreezere-bless, thechain_origin_directory.rsrewrite, theStreamRequest.namespace_idwire field threading throughprotocol/client-pull/ node handler / fixtures, and the publish-CLI rework.Closes nothing yet — #1394 stays open to track the implementation.
🤖 Generated with Claude Code
Generated by Claude Code
Summary by CodeRabbit
namespace_id = 0) has no authorized origins and is served on a best-effort cache/DHT basis.