Skip to content

docs: sweep stale not-yet-wired comments orphaned by landed work #1564

Closed

Description

@thiras

Module docs and comments that describe shipped work as future, orphaned by landed PRs (mostly #317, #1130/#1528, #1513, and the DHT chain-registry work). Doc-only sweep; no behavior changes. Each entry verified against HEAD (b2a9651).

  • crates/node/tests/channel_state_store.rs:199 — points at a TODO(#317) in runtime/mod.rs that no longer exists; the per-channel mutex it references shipped in handlers/client/mod.rs:826
  • crates/node/src/runtime/mod.rs:444 — describes the cdn/client/v1 handler as "future … still unwritten"; it is constructed at :999 in the same function, and the "no consumer exists yet" claim for the load_all snapshot is no longer true
  • crates/node/tests/node_to_node_pull_through.rs:17 — the "Boundary" paragraph claims the flow is not auto-wired, that runtime/mod.rs binds _buyer_channel_service unused, and that no NodeOrigin impl exists; all three are false (wired behind cache.node_to_node_pull_through_enabled; node_origin.rs:341 / :868)
  • crates/cache/src/lib.rs:6 — "node-to-node pull-through via cdn/client/v1 is a follow-up once that ALPN exists"; shipped
  • crates/node/src/dht/client.rs:8 — "(in a follow-up) the iterative requester-side FindValue lookup"; dht/lookup.rs implements it
  • crates/node/src/dht/bootstrap.rs:12 + crates/node/src/handlers/dht.rs:101 — claim ConfigStakerSet is the production default pending "the on-chain origin-directory follow-up"; chain_staker_set.rs / chain_origin_directory.rs exist and runtime/mod.rs:829 wires the chain-backed set; ConfigStakerSet survives only in tests
  • crates/incentive/src/lib.rs:20 — "the cache-engine hook … is not yet wired" (it is, via NodeOrigin); "the dispute monitor (Implement cdn/watchtower/v1 channel dispute monitoring protocol #324) remains future work" (Implement cdn/watchtower/v1 channel dispute monitoring protocol #324 is closed and the watchtower design was retired with ADR 007 — reword to the current posture, or point at e2e G-CLIENT-04: client dispute defense (incl. decdn channel dispute CLI) #1037)
  • crates/protocol/src/message.rs:258 — cites retired ADR 010 and implies a multi-token model rejected pre-launch (payment token is USDC, fixed at deployment; see adr/003-payments.md:18)
  • crates/node/src/selection.rs:23 — cites retired ADR 015 (now adr/_history/015-zero-rtt.md)
  • contracts/test/GovernanceLifecycle.t.sol:149 — "PaymentChannel (not yet deployed)"; contracts/script/BaseProtocolDeploy.s.sol:689 deploys it and grants ROUTER_CALLER_ROLE (asserted at :832)
  • docs/runbook.md:134-139 — documents DecdnBlacklistSyncLagCritical / DecdnBlacklistVersionFarBehind as "pre-wired but not yet emitted"; both alerts were deleted in observability: appendix documents metric names the exporter has never emitted #1513 (monitoring/prometheus-alerts.yml:52-57; DecdnBlacklistWatcherStalled is the live coverage, and adr/appendix-observability.md:74 marks the lag gauges planned). Update the runbook to name the alert that actually exists.
  • docs/runbook.md:503 — cites crates/node/src/config/types.rs; config types live at crates/common/src/config/types.rs
  • crates/e2e/tests/smoke.rs:7 — "full CUJ journeys … are follow-up issues"; several now exist (g_gov_02_rate_bounds, g_node_04_blacklist_compliance, origin_blacklist_compliance, cli_publish) — update to enumerate what is actually missing
  • crates/cache/src/origin/s3.rs:636 — cites closed cache: FilesystemOrigin.fetch reads the entire blob into memory before returning Bytes, preventing streaming delivery to the client for large blobs #271 for the deferred body-phase context wrapper (see the roundup issue for the wrapper itself; fix the citation here)

Activity

  1. added
    kind:docs
    prio:low
    on Aug 1, 2026
  2. github-actions commented on Aug 1, 2026

    @github-actions

    🎯 Triage report

    Doc-only sweep fixing 14 stale comments and doc entries that describe shipped work as future or point at retired ADRs, closed issues, or moved files. All items include precise file+line citations verified against HEAD b2a96512. No behavior changes. The scope spans crates/node, crates/cache, crates/incentive, crates/protocol, contracts/, and docs/.

    📊 Assessment

    Dimension Value Reasoning
    Type Task Bounded checklist of doc fixups; no design decisions required
    Labels documentation, technical, low (already applied) All correct; no additions needed
    Coding agent Suitable Every item has a specific file, line, and stated correction; success criteria are clear and verifiable at the cited locations
    💡 Notes and suggestions

    Each checklist item maps to a concrete file+line edit. Suggested execution order to minimize context switching:

    1. crates/node/ — items 1–3, 9 (channel_state_store.rs:199, runtime/mod.rs:444, node_to_node_pull_through.rs:17, selection.rs:23)
    2. crates/cache/ — items 4, 14 (lib.rs:6, origin/s3.rs:636)
    3. crates/node/src/dht/ — items 5–6 (client.rs:8, bootstrap.rs:12, handlers/dht.rs:101)
    4. crates/incentive/ — item 7 (lib.rs:20): note that e2e G-CLIENT-04: client dispute defense (incl. decdn channel dispute CLI) #1037 is the active watchtower reference
    5. crates/protocol/ — item 8 (message.rs:258): retire ADR 010 citation, point at adr/003-payments.md:18
    6. contracts/ — item 10 (test/GovernanceLifecycle.t.sol:149)
    7. docs/runbook.md — items 11–12: replace deleted alert names with DecdnBlacklistWatcherStalled; fix config path to crates/common/src/config/types.rs
    8. crates/e2e/ — item 13 (tests/smoke.rs:7): enumerate remaining missing CUJs

    A single PR can batch all of these since they are doc-only with no cross-item dependencies.

    Generated by Agentic Triage for #1564 · sonnet46 · 15 AIC · ⌖ 5.51 AIC · ⊞ 6K · ◷

    Add this agentic workflow to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/issue-triage.md@94ec5db57374c5b04a4b8eef8b4413f9af44d63f
    
  3. self-assigned this
    on Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:docsprio:low

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions