Repository navigation
feat(node): blacklist compliance loop + G-NODE-04 e2e (#1031) - #1087
Conversation
The node had no content-hash blacklist awareness: ContentBlacklist and SlashJudge shipped on-chain and the e2e harness existed, but nothing on the Rust side evicted, stopped announcing, or refused delivery for a blacklisted blob — the client handler explicitly deferred it as "ContentBlacklist's job". This adds the missing node-side loop and the G-NODE-04 acceptance test that exercises it end-to-end. Production (Part A): - Add optional `blockchain.content_blacklist_address` config (opt-in, modeled on origin_assignment_address). - New `decdn-incentive::content_blacklist` binding (isHashBlacklistedForOperator view + HashBlacklisted/HashRemoved events + governance writes). - New `blacklist_watcher` runtime task: reuses `watch_contract_events`, reconciles held hashes at boot and on each event, and calls `cache.evict()` for hashes blacklisted in scope for this operator (region logic delegated to the contract view). Eviction is the single lever and cascades to durable takedown (evicted.log), DHT-announce suppression, probe has_blob:false, and delivery refusal. Test (Part B): - `crates/e2e/tests/g_node_04_blacklist_compliance.rs`: global compliance (evict -> refuse delivery -> durable across restart -> full SlashJudge.submitBlacklistChallenge commit-reveal proving slashability) and regional scope (GOV-05: in-region node evicts, out-of-region keeps serving). - Fixtures: ContentBlacklist/SlashJudge/AccessControl bindings, anvil-impersonated governance helpers, NodeFixture::restart(). - Wire the (previously unrun) decdn-e2e crate into the CI anvil-e2e job. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughAdds opt-in blacklist configuration, a node-side compliance watcher, contract and e2e fixture support, global/regional compliance tests, and CI preparation for cross-layer journeys. ChangesContent blacklist compliance
Estimated code review effort: 4 (Complex) | ~60 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Code Review
This pull request implements the ContentBlacklist compliance watcher (ADR 011/031) to automatically evict blacklisted blobs from the local store, cascading to DHT-announce suppression and delivery refusal. It adds the necessary configuration options, contract ABI bindings, integration tests, and the background watcher task. The review feedback correctly identifies a critical race condition in the watcher's startup and reconnection logic where events could be missed between reconciliation and subscription establishment. To resolve this, the reviewer suggests subscribing first before running the reconciliation, which also simplifies the state tracking enum.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Contracts coverageLine coverage: 88.71% (2452/2764 lines) |
Gas snapshotNo gas changes vs base. |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
crates/common/src/config/mod.rs (1)
3688-3689: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winMissing dedicated coverage for the new
content_blacklist_addressresolution path.Every fixture touched here just adds
content_blacklist_address: Noneto compile; unlikeslash_judge_address/other contract addresses, there's no test assertingresolve_blockchainaccepts a valid checksummedcontent_blacklist_address, rejects a malformed one, or that empty-string collapses toNone(mirroringresolve_blockchain_origin_directory_*/parse_contract_address_*patterns already in this file). A dedicated${VAR}expansion test (sibling toexpand_env_substitutes_slash_judge_address) is also absent.Also applies to: 6931-6934, 7004-8710
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@crates/common/src/config/mod.rs` around lines 3688 - 3689, Add dedicated test coverage for the new content_blacklist_address resolution path in the config resolver, using the existing resolve_blockchain and parse_contract_address test patterns as a guide. Create cases that verify a valid checksummed content_blacklist_address is accepted, a malformed one is rejected, and an empty string resolves to None, plus add a ${VAR} expansion test alongside expand_env_substitutes_slash_judge_address. Use the existing slash_judge_address and resolve_blockchain_origin_directory_* tests as the reference structure.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@crates/node/src/blacklist_watcher.rs`:
- Around line 262-308: The per-hash blacklist check in
is_blacklisted_for_operator and its caller evict_if_blacklisted currently treats
any RPC failure as “not blacklisted,” which can leave a blob served
indefinitely. Update the blacklist_watcher flow so transient failures are
retried with backoff or revisited by a periodic re-reconcile instead of being
dropped after one failed call. Keep the existing logging, but ensure
reconcile_all or the event-driven path schedules another attempt for hashes that
failed the isHashBlacklistedForOperator call.
- Around line 198-224: `reconcile_all` currently scans `cache.iter_hashes()`
sequentially and `evict_if_blacklisted` can hang indefinitely on
`isHashBlacklistedForOperator(...).call().await`. Update the blacklist watcher
reconcile path to use bounded concurrency when iterating held hashes, and wrap
each blacklist check in a per-call timeout so startup reconcile and replay
processing cannot stall the watcher. Keep the fix localized to `reconcile_all`
and `evict_if_blacklisted`, preserving the existing eviction and logging
behavior while making the scan latency bounded.
---
Nitpick comments:
In `@crates/common/src/config/mod.rs`:
- Around line 3688-3689: Add dedicated test coverage for the new
content_blacklist_address resolution path in the config resolver, using the
existing resolve_blockchain and parse_contract_address test patterns as a guide.
Create cases that verify a valid checksummed content_blacklist_address is
accepted, a malformed one is rejected, and an empty string resolves to None,
plus add a ${VAR} expansion test alongside
expand_env_substitutes_slash_judge_address. Use the existing slash_judge_address
and resolve_blockchain_origin_directory_* tests as the reference structure.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: cd81e4a8-ae8b-4283-bfa0-a76390ac8e5d
📒 Files selected for processing (17)
.github/workflows/ci.ymlcrates/cli/tests/config_validate.rscrates/common/src/cli/run.rscrates/common/src/config/mod.rscrates/common/src/config/resolved.rscrates/common/src/config/types.rscrates/e2e/src/bindings.rscrates/e2e/src/chain.rscrates/e2e/src/node.rscrates/e2e/tests/g_node_04_blacklist_compliance.rscrates/incentive/src/content_blacklist.rscrates/incentive/src/lib.rscrates/node/src/blacklist_watcher.rscrates/node/src/lib.rscrates/node/src/runtime/mod.rscrates/node/src/runtime/reload.rscrates/node/tests/sighup_signal.rs
Coverage reportTotal: 80.32% (was 80.96%, ▼ 0.65%) — 43472/54126 lines
History
|
review) Address bot review on the blacklist compliance watcher: - Reconcile after the event filter is installed, not before. Establishing the subscription first (which buffers server-side) then reconciling closes the race where an event emitted between a reconcile and a later subscribe was lost — now covering startup, stream gaps, and repeated subscription failures uniformly. Collapses Cycle to {Shutdown, Resubscribe} and drops the Follow enum. Mirrors chain_origin_directory. - Add a periodic re-reconcile (10 min, matching ADR 011 §Polling) so a hash whose scope check hit a transient RPC error is retried under a stable subscription instead of staying served until the next event/gap. - Bound isHashBlacklistedForOperator with a 10s per-call timeout so a stalled provider (no RPC request timeout is configured) cannot hang a reconcile scan. Bounded-concurrency for the scan is deliberately not added: sequential is fine for a background backstop at the initial network scale, and the per-call timeout already removes the unbounded-hang risk. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Review summaryReviewed at high effort (8 finder angles → adversarial verification). 10 inline comments posted. The eviction gate itself is well-placed (verified: Lower-priority items verified but kept out of the inline set:
🤖 Generated with Claude Code |
review) Address alpergundogdu's review of the blacklist compliance loop. Watcher redesign (crates/node/src/blacklist_watcher.rs) — the deny-set is now sourced from `HashBlacklisted` logs replayed from a checkpoint block plus a live subscription, instead of scanning currently-held blobs: - Replay-from-checkpoint lets the watcher pre-block a hash blacklisted while the node was offline and not yet held: `evict` is sticky, so the pull-through admission `is_evicted` gate refuses a later origin fill. Closes the offline-then-served slash hole; also makes each pass O(blacklist) not O(held). - Reconcile runs every cycle regardless of the subscription (eth_getLogs works even when the filter API is broken), so an eth_call/getLogs-only endpoint still enforces. - The subscribe await is bounded by RPC_CALL_TIMEOUT and raced against shutdown so a hung eth_newFilter can't wedge the watcher or block graceful shutdown. - Per-hash scope-check errors are queued and retried on the periodic tick, so a transient RPC error no longer permanently drops a sticky pre-block. - Clean stream-ends are throttled (min-survival before resetting backoff) so a filter that expires on the first poll can't spin. Config — add `blockchain.content_blacklist_from_block` (replay start, mirrors `origin_directory_from_block`), and reject the zero address for `content_blacklist_address` (a codeless address fails open: every scope call errors → nothing evicted while the operator believes compliance is active). CI — raise the anvil-e2e job timeout above the sum of the steps' in-test ceilings so a hung test hits its per-test timeout's clear message first. Tests — assert the refusal reason specifically (`EvictedSinceProbe`), drive a real probe at the daemon asserting `has_blob:false` (the phantom-blob seam), and gate the regional non-eviction on a global-sentinel ordering barrier so a one-cycle-late scope bug can't pass. Adds `NodeFixture::launch_with_blobs` and `ClientFixture::probe`. Declined: bounded-concurrency for the scan — the replay makes it O(blacklist), so it is unnecessary complexity at the current scale. Co-Authored-By: Claude Opus 4.8 <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@crates/node/src/blacklist_watcher.rs`:
- Around line 263-275: `reconcile` currently ignores shutdown once it starts, so
long-running backlog processing in `replay` and `drain_pending` can overrun the
shutdown deadline. Update `reconcile` to stop early when shutdown is requested
by threading the shutdown signal through `replay` and `drain_pending`, or by
racing `reconcile` itself against shutdown; use the existing `reconcile`,
`replay`, and `drain_pending` functions as the entry points for the change.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 6dfcf9a2-e3a9-465a-99e2-bcc46bf21dee
📒 Files selected for processing (12)
.github/workflows/ci.ymlcrates/cli/tests/config_validate.rscrates/common/src/config/mod.rscrates/common/src/config/resolved.rscrates/common/src/config/types.rscrates/e2e/src/client.rscrates/e2e/src/node.rscrates/e2e/tests/g_node_04_blacklist_compliance.rscrates/node/src/blacklist_watcher.rscrates/node/src/runtime/mod.rscrates/node/src/runtime/reload.rscrates/node/tests/sighup_signal.rs
✅ Files skipped from review due to trivial changes (2)
- crates/cli/tests/config_validate.rs
- crates/node/src/runtime/reload.rs
🚧 Files skipped from review as they are similar to previous changes (5)
- crates/node/tests/sighup_signal.rs
- crates/common/src/config/types.rs
- crates/common/src/config/resolved.rs
- crates/node/src/runtime/mod.rs
- crates/common/src/config/mod.rs
altanoruc
left a comment
There was a problem hiding this comment.
One P1 compliance gap needs to be addressed before merge.
…et (PR #1087 review) Address the round-4 review of the blacklist compliance watcher. Shutdown interruptibility (coderabbit) — a long reconcile (many 9k-block replay windows / scope retries) could overrun the runtime's 15s SHUTDOWN_DEADLINE and force an abort. Convert the watcher's shutdown from a oneshot to `tokio_util::sync::CancellationToken` (the runtime's standard shutdown primitive): `is_cancelled()` is checked between replay windows and rescan hashes, and `cancelled()` feeds the loop/subscribe/sleep selects. Retain + re-scope the deny-set (altanoruc, P1) — the round-3 watcher dropped a hash on `Some(false)` (out-of-scope for the operator's region, or fast-track suspended). Neither a region/ripening transition (`updateRegion`) nor an appeal reversal/lapse re-emits `HashBlacklisted`, and the advanced checkpoint prevents replay, so such a hash could become live + in scope and be served indefinitely. Now every seen-but-not-yet-evicted hash is retained in a `known` set (incl. out-of-scope/suspended) and re-scoped on every periodic pass; when it comes into scope it is evicted. This supersedes the round-3 `pending` retry set. Config — add `blockchain.content_blacklist_poll_interval_sec` (default 600s, ADR 011 §Polling cadence) governing the periodic replay + re-scope; scope transitions emit no event, so this backstop is what catches them. Test — add `regional_scope_transition`: a US-regional entry is retained (not evicted) by a DE operator, then evicted after `updateRegion("US")` — a scope change with no `ContentBlacklist` event, caught only by the re-scope. Adds `CapacityBond.updateRegion` binding + `chain.update_region` helper; the e2e node config uses a 2s poll interval. The suspended-appeal-becoming-active case exercises the identical re-scope path (scope flips true when `suspended` clears); left as a follow-up rather than duplicating the mechanism with the heavy appeal-lifecycle choreography. Co-Authored-By: Claude Opus 4.8 <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
crates/e2e/tests/g_node_04_blacklist_compliance.rs (1)
280-290: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚖️ Poor tradeoffNegative assertion can pass vacuously — no positive proof the watcher observed the US entry.
Lines 286-290 sleep a fixed 8s, then assert
His still present. If the watcher hasn't yet replayed/processed the US-regional entry within that window, a genuine scope bug (evicting out-of-scope hashes) would still leaveHpresent and green the test. This is the same shape flagged earlier forrun_regional, which was hardened with a DE sentinel barrier; that barrier isn't present here.Consider adding a positive signal that the DE watcher has processed the entry at/after the US-regional insertion before asserting non-eviction — e.g. blacklist a global sentinel blob that DE does evict, and wait for that eviction first, mirroring
run_regional.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@crates/e2e/tests/g_node_04_blacklist_compliance.rs` around lines 280 - 290, The regional non-eviction assertion can pass before the DE watcher processes the US entry. In the test flow around add_hash_regional and evict_was_present, add a DE-visible global sentinel after inserting the US entry, then wait for the sentinel’s eviction using the existing watcher/barrier pattern from run_regional before asserting the US hash remains present; remove the fixed-sleep-only synchronization.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@crates/node/src/blacklist_watcher.rs`:
- Around line 250-251: The blacklist poll interval can resolve to zero, causing
interval_at in the watcher initialization to panic. Reject or clamp zero values
during configuration resolution, or immediately before constructing the interval
in the blacklist watcher, ensuring the value passed to interval_at is always
positive while preserving the existing scheduling behavior.
---
Nitpick comments:
In `@crates/e2e/tests/g_node_04_blacklist_compliance.rs`:
- Around line 280-290: The regional non-eviction assertion can pass before the
DE watcher processes the US entry. In the test flow around add_hash_regional and
evict_was_present, add a DE-visible global sentinel after inserting the US
entry, then wait for the sentinel’s eviction using the existing watcher/barrier
pattern from run_regional before asserting the US hash remains present; remove
the fixed-sleep-only synchronization.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 0fc54d8f-f937-458d-b441-4a74c53f5d5c
📒 Files selected for processing (12)
crates/cli/tests/config_validate.rscrates/common/src/config/mod.rscrates/common/src/config/resolved.rscrates/common/src/config/types.rscrates/e2e/src/bindings.rscrates/e2e/src/chain.rscrates/e2e/src/node.rscrates/e2e/tests/g_node_04_blacklist_compliance.rscrates/node/src/blacklist_watcher.rscrates/node/src/runtime/mod.rscrates/node/src/runtime/reload.rscrates/node/tests/sighup_signal.rs
✅ Files skipped from review due to trivial changes (2)
- crates/node/tests/sighup_signal.rs
- crates/node/src/runtime/reload.rs
🚧 Files skipped from review as they are similar to previous changes (5)
- crates/cli/tests/config_validate.rs
- crates/common/src/config/resolved.rs
- crates/e2e/src/bindings.rs
- crates/e2e/src/node.rs
- crates/common/src/config/mod.rs
`tokio::time::interval_at` panics on a zero period, so `content_blacklist_poll_interval_sec = 0` would kill the watcher task and silently stop blacklist reconciliation. Reject 0 at config resolution (0 is not a "disable" sentinel — disabling the periodic re-scope would break the retain/re-scope guarantee), mirroring the zero-slash-judge / zero-chain-id checks, with a unit test. Also clamp defensively in `blacklist_watcher::run` so the interval construction can never panic regardless of caller. Co-Authored-By: Claude Opus 4.8 <[email protected]>
…dget PR #1087 review fixes: - blacklist_watcher: key `known` by (region, hash) — the contract's own `_hashEntries[region][hash]` key — so a HashRemoved for one region's entry no longer drops a surviving same-hash entry in another region (which left the node slashable after a later updateRegion into the surviving region, since region changes emit no blacklist event). Re-scoping dedupes the per-hash isHashBlacklistedForOperator eth_call across regional entries; eviction (sticky, region-independent) drops all entries for the hash. Warn on undecodable HashRemoved logs like HashBlacklisted, and add unit tests for the pure deny-set transitions. - config: test the zero-address rejection of blockchain.content_blacklist_address (mirrors slash_judge_address). - CI anvil-e2e: cap the cross-layer journeys at --test-threads 2 (each journey runs its own anvil + forge deploy + daemons; four at once oversubscribes the 4-core runner) and recompute the job budget honestly — settlement 13m + worst 2-thread journey schedule 30m plus compiles/deploys — raising timeout-minutes 30 -> 60. - e2e Cargo.toml: unstale the "only test target is the smoke test" comments now that the G-NODE-04 journeys exist. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0184dDvFgy44w6deBQkugX7r
Union-merge of the slash-watcher feature (#1089/#1032) with the blacklist compliance loop (#1031): both config surfaces (slash_judge_from_block / slash_appeal_address alongside content_blacklist_*), both e2e binding sets (SlashAppeal/Governor/Timelock alongside ContentBlacklist/AccessControl — the blacklist challenge entry point moves to a SlashJudgeBlacklist binding so main's production-SlashJudge re-export stands), both ChainFixture verb sets (head_timestamp absorbs block_timestamp), and one reconciled NodeFixture::restart (pub config_path). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0184dDvFgy44w6deBQkugX7r
The #1089 merge brought crates/e2e/tests/slash_appeal.rs into the cross-layer journey step, and it shells out to the user CLI binary `decdn` (package decdn-cli), which the anvil-e2e job never built — the journey failed with "decdn binary not found". Build it alongside the daemon, and recompute the job budget for the 5-test journey set: settlement 13m + worst 2-thread schedule 43m (smoke 13m + three G-NODE-04 10m on one thread vs slash_appeal 20m on the other) + compiles and per-fixture forge deploys, raising timeout-minutes 60 -> 75. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0184dDvFgy44w6deBQkugX7r
Closes #1031.
Why
Issue #1031 is filed as an e2e test, but the node-side enforcement it asserts did not exist.
ContentBlacklist+SlashJudgeship on-chain and thecrates/e2eharness exists, yet nothing on the Rust side evicted, stopped announcing, or refused delivery for a blacklisted blob —handlers/client.rsexplicitly deferred it as "ContentBlacklist's job (ADR 011/031)". This PR builds the missing node-side compliance loop and the G-NODE-04 acceptance test that exercises it end-to-end.What changed
Production — node-side compliance loop
blockchain.*):content_blacklist_address(opt-in; zero address rejected — codeless fails open),content_blacklist_from_block(replay start, mirrorsorigin_directory_from_block),content_blacklist_poll_interval_sec(periodic re-scope cadence, default 600s per ADR 011 §Polling; zero rejected — it would panicinterval_at).decdn-incentive::content_blacklist—isHashBlacklistedForOperatorview +HashBlacklisted/HashRemovedevents + governance writes.crates/node/src/blacklist_watcher.rs): event-sourced deny-set.HashBlacklistedlogs are replayed from a checkpoint block (eth_getLogs, windowed) + a live subscription; every seen-but-not-yet-evicted hash is retained (incl. out-of-scope/suspended) and re-scoped each periodic pass, so a scope change that emits no event (operatorupdateRegion/ripening, appeal reversal/lapse clearingsuspended) still leads to eviction. In-scope hashes arecache.evict()ed — sticky, works on absent hashes, so offline-blacklisted content is pre-blocked via the existing pull-admissionis_evictedgate (no handler change). Resilience: reconcile runs regardless of the subscription (enforces even when the filter API is broken); every RPC read is timeout-bounded; the whole reconcile is interruptible by aCancellationToken(can't overrun the shutdown deadline); subscribe is shutdown-raced; stream-ends are throttled. O(blacklist), not O(held).The single
evict()lever cascades: durable takedown viaevicted.log(survives restart), DHT-announce suppression, probehas_blob:false, and delivery refusal (EvictedSinceProbe, also blocks re-pull).Test — G-NODE-04 (
crates/e2e/tests/g_node_04_blacklist_compliance.rs)H→ evicted → paid delivery refused withEvictedSinceProbe→ probe handler reportshas_blob:false→ durable across restart → fullSlashJudge.submitBlacklistChallengecommit-reveal proving on-chain slashability.updateRegion("US")— a scope change with noContentBlacklistevent, caught only by the re-scope.Fixtures:
ContentBlacklist/SlashJudge/AccessControl/CapacityBond.updateRegionbindings, anvil-impersonated governance +update_regionhelpers,NodeFixture::{restart,launch_with_blobs},ClientFixture::probe.CI
Wired the previously-unrun
decdn-e2ecrate into theanvil-e2ejob (settlement e2e first, warmingforge); job timeout sized above the steps' per-test ceilings.Reviewer notes
dht/publish.rsunit tests (itsis_evictedgate); delivery, probe, and slashability are exercised end-to-end.SlashJudgeenforces slashability fromaddedAt(no on-chain compliance-window grace — that window is the node's reaction budget, ADR 011 "target spec vs as-built"); "after the window" is modeled by stamping evidence afteraddedAt.Verification
cargo clippy --workspace --all-targets --features anvil-e2e -- -D warnings,cargo fmt --check,cargo doc— clean.global_blacklist_compliance(probe + slash),regional_blacklist_scope(sentinel barrier),regional_scope_transition(updateRegion re-scope), andsmoke— all pass.Review rounds
49f0b65): bot review — reconcile/subscribe race, periodic re-reconcile, per-call timeout.d787c73): human review (alpergundogdu) — event-sourced replay closing the offline-then-served hole, reconcile independent of subscription, bounded+shutdown-raced subscribe, scope-error retry, zero-address rejection, CI timeout, test hardening (specific refusal reason, real daemon probe, regional ordering barrier).8f5c9d5): coderabbit + human review (altanoruc) —CancellationTokenmaking reconcile interruptible (shutdown-deadline safety), and retain + re-scope of the deny-set so region/appeal transitions that emit no event still evict (P1); + poll-interval config and the scope-transition test.48af2df): coderabbit — rejectcontent_blacklist_poll_interval_sec = 0(would panicinterval_atand kill the watcher): config rejection + unit test + defensive clamp inrun.🤖 Generated with Claude Code