Declare your digital independence
This report presents the forensic synthetic code analysis of freenet/freenet-core, a Rust project with 3,088 GitHub stars. SynthScan v2.0 examined 605,507 lines of code across 738 source files, recording 5969 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 9.9 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 5969 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 161 | COMMENT | |
| LOW | Cargo.toml | 181 | # (fdev, riverctl, River UI, the test harness) explicitly pins native. | COMMENT |
| LOW | Cargo.toml | 201 | # (`secrets_dir/node_kek`, 0o600) or systemd credentials | COMMENT |
| LOW | Cargo.toml | 221 | # codegen-units = 1 | COMMENT |
| LOW | deny.toml | 1 | # cargo-deny configuration for freenet-core. | COMMENT |
| LOW | .config/nextest.toml | 1 | [profile.ci] | COMMENT |
| LOW | .config/nextest.toml | 21 | filter = "test(test_interest_renewal)" | COMMENT |
| LOW | .config/nextest.toml | 41 | filter = "test(test_fanout_liveness)" | COMMENT |
| LOW | .config/nextest.toml | 61 | # #5227 graceful-shutdown exit code. The whole subject of this test is a signal | COMMENT |
| LOW | crates/replay-harness/tests/scenarios_pin.rs | 1 | //! Pin every scenario against every controller. Adding a new | COMMENT |
| LOW | crates/replay-harness/tests/scenarios_pin.rs | 21 | use replay_harness::{Controller, RateDecision, Replayer}; | COMMENT |
| LOW | crates/replay-harness/tests/scenarios_pin.rs | 41 | // reference path (which says "do NOT fire") is exactly the signal | COMMENT |
| LOW | crates/replay-harness/src/rolling.rs | 1 | //! Per-peer rolling RTT statistics with a baseline window and a recent window. | COMMENT |
| LOW | crates/replay-harness/src/rolling.rs | 21 | COMMENT | |
| LOW | crates/replay-harness/src/lib.rs | 1 | //! Offline replay harness for shadow-RTT controllers. | COMMENT |
| LOW | crates/replay-harness/src/scenarios.rs | 1 | //! Synthetic scenarios — programmatic RTT-sample streams that pin specific | COMMENT |
| LOW | crates/replay-harness/src/replayer.rs | 201 | /// | COMMENT |
| LOW | crates/replay-harness/src/main.rs | 21 | COMMENT | |
| LOW | crates/replay-harness/src/scenarios/churning_peers.rs | 1 | //! `churning_peers` — peers join and leave every 30 s; RTTs stay healthy. | COMMENT |
| LOW | …rness/src/scenarios/reference_diverges_from_overlay.rs | 1 | //! `reference_diverges_from_overlay` — overlay inflates, reference stays flat. | COMMENT |
| LOW | …tes/replay-harness/src/scenarios/single_packet_loss.rs | 1 | //! `single_packet_loss` — one peer's RTT spikes transiently, then returns. | COMMENT |
| LOW | …play-harness/src/scenarios/reference_tracks_overlay.rs | 1 | //! `reference_tracks_overlay` — overlay and reference inflate together. | COMMENT |
| LOW | …tes/replay-harness/src/scenarios/slow_routing_drift.rs | 1 | //! `slow_routing_drift` — the baseline genuinely drifts upward over 30 min. | COMMENT |
| LOW | …ates/replay-harness/src/scenarios/idle_steady_state.rs | 1 | //! `idle_steady_state` — 5 peers, each anchored by a fast t=0 sample, | COMMENT |
| LOW | …s/replay-harness/src/scenarios/correlated_inflation.rs | 1 | //! `correlated_inflation` — every peer's RTT rises together. | COMMENT |
| LOW | crates/replay-harness/src/scenarios/cold_start.rs | 1 | //! `cold_start` — brand-new peers on a slow path, no baseline history. | COMMENT |
| LOW | crates/replay-harness/src/controllers/rfc_draft.rs | 1 | //! `RfcDraft` — the algorithm sketched in [#4074][issue]. | COMMENT |
| LOW | crates/replay-harness/src/controllers/ledbat.rs | 1 | //! `LedbatPlusPlus` — a stripped-down LEDBAT++ to reproduce the death spiral. | COMMENT |
| LOW | crates/replay-harness/src/controllers/ledbat.rs | 21 | //! runs slow-start, and has a richer gain schedule. We keep only what is needed | COMMENT |
| LOW | crates/core/Cargo.toml | 161 | COMMENT | |
| LOW | crates/core/Cargo.toml | 261 | wasmtime-backend = ["dep:wasmtime"] | COMMENT |
| LOW | crates/core/Cargo.toml | 281 | # Disallow `let _ = expr` when `expr` is #[must_use]. | COMMENT |
| LOW | crates/core/build.rs | 1 | use std::process::Command; | COMMENT |
| LOW | crates/core/proptest-regressions/router.txt | 1 | # Seeds for failure cases proptest has generated in the past. It is | COMMENT |
| LOW | crates/core/proptest-regressions/transport/ledbat.txt | 1 | # Seeds for failure cases proptest has generated in the past. It is | COMMENT |
| LOW | crates/core/tests/origin_attestation_scope.rs | 1 | //! Live end-to-end verification of the connection-scope gate on attested | COMMENT |
| LOW | crates/core/tests/origin_attestation_scope.rs | 21 | //! Exercised with a real TCP forwarder listening off-loopback and dialing | COMMENT |
| LOW | crates/core/tests/origin_attestation_scope.rs | 81 | COMMENT | |
| LOW | crates/core/tests/hosted_mode_import.rs | 1 | //! Live end-to-end integration test for the secrets IMPORT endpoint | COMMENT |
| LOW | crates/core/tests/graceful_shutdown_exit_code.rs | 1 | //! A graceful shutdown must make the `freenet` PROCESS exit 0 (#5227). | COMMENT |
| LOW | crates/core/tests/graceful_shutdown_exit_code.rs | 21 | //! | COMMENT |
| LOW | crates/core/tests/graceful_shutdown_exit_code.rs | 41 | #![cfg(unix)] | COMMENT |
| LOW | crates/core/tests/graceful_shutdown_exit_code.rs | 101 | let child = Command::new(freenet_bin()) | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1 | //! Deterministic simulation tests using Turmoil. | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 141 | COMMENT | |
| LOW | crates/core/tests/simulation_integration.rs | 761 | COMMENT | |
| LOW | crates/core/tests/simulation_integration.rs | 841 | COMMENT | |
| LOW | crates/core/tests/simulation_integration.rs | 1481 | /// with ~150ms RTT. The root cause was MIN_RTO (200ms) < RTT + ACK_CHECK_INTERVAL (244ms). | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1681 | /// Source detection threshold: peers within 5% of ring distance to contract | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1701 | /// 2. Wait for topology registration | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1921 | /// This test validates the core eventual consistency property of Freenet's | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1961 | .assert_ok() | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 1981 | /// 2. Later broadcasts would compute deltas based on the wrong cached summary | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2001 | /// - `GlobalTestMetrics::delta_sends()` / `full_state_sends()` - broadcast statistics | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2021 | /// | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2241 | /// | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2361 | success_count >= 4, | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2381 | /// complete successfully under the refactored handler and that the bounded | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2401 | /// | COMMENT |
| LOW | crates/core/tests/simulation_integration.rs | 2421 | /// This test currently FAILS and reproduces a concrete regression that | COMMENT |
| 5023 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/core/Cargo.toml | 263 | # ============================================================================== | COMMENT |
| MEDIUM | crates/core/Cargo.toml | 268 | # ============================================================================== | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 11163 | // ── Phase 1: Convergence (30 virtual minutes, no faults) ────────────────── | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 11209 | // ── Phase 2: Fault injection (5 virtual minutes, 20% message loss) ──────── | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 11255 | // ── Phase 3: Recovery (25 virtual minutes, faults cleared) ──────────────── | COMMENT |
| MEDIUM | crates/core/src/message.rs | 1210 | // ── Compile-time invariant checks ────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 7690 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 7697 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 8011 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 8024 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 8147 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 8151 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 8205 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 8209 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 8337 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 8345 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 8427 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 8433 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 9304 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 9309 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 9720 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 9728 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 9803 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/node.rs | 9822 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/contract/fair_queue.rs | 1368 | // ── Priority tiering (#4534) ────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/contract/fair_queue.rs | 1368 | // ── Priority tiering (#4534) ────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/contract/executor.rs | 2183 | // ── is_wasm_timeout predicate (#4861) ───────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/contract/executor.rs | 2183 | // ── is_wasm_timeout predicate (#4861) ───────────────────────────── | COMMENT |
| MEDIUM | crates/core/src/contract/executor.rs | 2637 | // ── ContractQueueFull predicate (issue #4251) ───────────────────── | COMMENT |
| MEDIUM | crates/core/src/contract/executor.rs | 2637 | // ── ContractQueueFull predicate (issue #4251) ───────────────────── | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 40 | /// ┌─────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 41 | /// │ SlowStart │─────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 42 | /// └──────┬──────┘ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 45 | /// ┌────────────────────────┐ (first time only) │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 46 | /// │ WaitingForSlowdown │◄─────────────────────┐ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 47 | /// └──────────┬─────────────┘ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 50 | /// ┌──────────────┐◄───────────────────────────────│───────────────│───┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 52 | /// └──────┬───────┘ transitions on next ACK) │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 55 | /// ┌──────────┐ │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 57 | /// └────┬─────┘ │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 60 | /// ┌────────────┐ │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 62 | /// └─────┬──────┘ │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 65 | /// ┌──────────────────────┐ │ │ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 66 | /// │ CongestionAvoidance │────────────────────────┴───────────────┘ │ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 67 | /// └──────────┬───────────┘◄───────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/ledbat/state.rs | 69 | /// └────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 16 | /// ┌────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 19 | /// └───────┬────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 22 | /// ┌────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 25 | /// └───────┬────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 28 | /// ┌────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 31 | /// └───────┬────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 34 | /// ┌────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 37 | /// └───────┬────────┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 39 | /// └────────────────────────────────► ProbeBW | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 93 | /// ┌──────────┐ ┌─────────┐ ┌────────┐ ┌──────┐ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 96 | /// └──────────┘ └─────────┘ └────────┘ └──┬───┘ | COMMENT |
| MEDIUM⚡ | crates/core/src/transport/bbr/state.rs | 98 | /// └────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | …tes/core/src/transport/peer_connection/piped_stream.rs | 13 | //! ┌──────────────┐ fragments ┌──────────────┐ forward ┌──────────────┐ | COMMENT |
| MEDIUM⚡ | …tes/core/src/transport/peer_connection/piped_stream.rs | 14 | //! │ Source │ ───────────────▶ │ Intermediate │ ─────────────▶ │ Destination │ | COMMENT |
| 300 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2080 | // Step 1: Gateway puts contract with initial state and subscribes | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2089 | // Step 2: Node 1 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2094 | // Step 3: Node 2 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2099 | // Step 4: Node 3 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2104 | // Step 5: Gateway updates - broadcasts to all subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2114 | // Step 6: Node 1 updates - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2122 | // Step 7: Node 2 updates - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3029 | // Step 1: Gateway puts contract with v1 | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3038 | // Step 2: Node 1 subscribes - receives v1 | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3043 | // Step 3: Node 1 updates to v5 - creates version divergence | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3051 | // Step 4: Node 2 subscribes | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3056 | // Step 5: Gateway updates to v10 - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2404 | // Step 1: pre-register a token → contract-id in the node's attested_contracts map. | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2411 | // Step 2: compile / load the delegate WASM | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2416 | // Step 3: connect via WebSocket carrying the Bearer token. | COMMENT |
| LOW | crates/core/tests/operations.rs | 2428 | // Step 4: register the delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 2451 | // Step 5: send an ApplicationMessage that causes the delegate to echo back | COMMENT |
| LOW | crates/core/tests/operations.rs | 2467 | // Step 6: verify the delegate received the correct attested bytes | COMMENT |
| LOW | crates/core/tests/operations.rs | 2962 | // Step 1: Peer-a puts the contract with initial state | COMMENT |
| LOW | crates/core/tests/operations.rs | 2993 | // Step 2: Gateway gets the contract (this caches it on gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3024 | // Step 3: Peer-a updates the contract with new state | COMMENT |
| LOW | crates/core/tests/operations.rs | 3076 | // Step 4: Verify gateway received the update by polling GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 3215 | // Step 1: PUT with subscribe=false (like River room creation) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3243 | // Step 2: IMMEDIATELY Subscribe (don't wait for propagation to gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3471 | // Step 1: Peer-a puts the contract with initial state | COMMENT |
| LOW | crates/core/tests/operations.rs | 3502 | // Step 2: Gateway gets the contract (this caches it on gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3533 | // Step 3: Gateway subscribes to the contract | COMMENT |
| LOW | crates/core/tests/operations.rs | 3566 | // Step 4: Peer-a PUTs an updated version of the contract | COMMENT |
| LOW | crates/core/tests/operations.rs | 3618 | // Step 5: Gateway should receive an UPDATE notification because it's subscribed | COMMENT |
| LOW | crates/core/tests/operations.rs | 3804 | // Step 1: Register the delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 3828 | // Step 2: PUT contract via delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 3895 | // Step 3: Verify contract state via direct GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 3923 | // Step 4: UPDATE contract via delegate (add a task) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3996 | // Step 5: Verify updated state via direct GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 4064 | // Step 1: PUT contract directly so state exists in the store | COMMENT |
| LOW | crates/core/tests/operations.rs | 4088 | // Step 2: Register delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 4112 | // Step 3: GET contract via delegate | COMMENT |
| LOW⚡ | crates/core/benches/transport/level0.rs | 249 | // Step 1: Serialize | COMMENT |
| LOW⚡ | crates/core/benches/transport/level0.rs | 253 | // Step 2: Encrypt in place | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 228 | // Step 3: median of trimmed sample. | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 231 | // Step 4: MAD — median of |x − median|. Compute deviations, sort, | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 252 | // Step 5: threshold = median + k × (σ-scaled MAD), clamped at | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 262 | // Step 6: flag everyone whose ratio strictly exceeds the threshold. | COMMENT |
| LOW | crates/core/src/governance.rs | 172 | // Step 1: extract ratios, dropping any non-finite values | COMMENT |
| LOW | crates/core/src/governance.rs | 201 | // Step 2: trim the top tail BEFORE computing the statistic so the | COMMENT |
| LOW | crates/core/src/topology.rs | 373 | // Step 1: Collect data | COMMENT |
| LOW | crates/core/src/topology.rs | 398 | // Step 2: Process data | COMMENT |
| LOW | crates/core/src/contract/governance.rs | 2038 | // Step 1: build a distribution with one Borderline contract. | COMMENT |
| LOW | crates/core/src/contract/governance.rs | 2061 | // Step 2: force the MAD detector to collapse | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 310 | // Step 1: Summarize on both | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 317 | // Step 2: Get delta from summary on both | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 324 | // Step 3: Apply delta as update on both | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4378 | // Step 2: Simulate peer disconnect by dropping the connection | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4387 | // Step 3: Create a new peer at a DIFFERENT port (simulating restart with new ephemeral port) | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4686 | // Step 2: Simulate gateway restart by dropping Gateway A | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4694 | // Step 3: Create Gateway B with NEW identity (Y) at the SAME address | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4813 | // Step 2: Simulate peer restart by dropping everything related to peer A | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4822 | // Step 3: Create peer B with NEW identity (Y) at the SAME address | COMMENT |
| LOW | crates/core/src/transport/connection_handler.rs | 4410 | // Step 4: Peer B connects to gateway - this should work on first attempt | COMMENT |
| LOW | crates/core/src/transport/connection_handler.rs | 4495 | // Step 1: Peer A connects to gateway | COMMENT |
| 117 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2080 | // Step 1: Gateway puts contract with initial state and subscribes | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2089 | // Step 2: Node 1 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2094 | // Step 3: Node 2 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2099 | // Step 4: Node 3 subscribes - will receive full state from gateway | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2104 | // Step 5: Gateway updates - broadcasts to all subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2114 | // Step 6: Node 1 updates - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 2122 | // Step 7: Node 2 updates - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3029 | // Step 1: Gateway puts contract with v1 | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3038 | // Step 2: Node 1 subscribes - receives v1 | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3043 | // Step 3: Node 1 updates to v5 - creates version divergence | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3051 | // Step 4: Node 2 subscribes | COMMENT |
| LOW⚡ | crates/core/tests/simulation_integration.rs | 3056 | // Step 5: Gateway updates to v10 - broadcasts to subscribers | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2404 | // Step 1: pre-register a token → contract-id in the node's attested_contracts map. | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2411 | // Step 2: compile / load the delegate WASM | COMMENT |
| LOW⚡ | crates/core/tests/operations.rs | 2416 | // Step 3: connect via WebSocket carrying the Bearer token. | COMMENT |
| LOW | crates/core/tests/operations.rs | 2428 | // Step 4: register the delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 2451 | // Step 5: send an ApplicationMessage that causes the delegate to echo back | COMMENT |
| LOW | crates/core/tests/operations.rs | 2467 | // Step 6: verify the delegate received the correct attested bytes | COMMENT |
| LOW | crates/core/tests/operations.rs | 2962 | // Step 1: Peer-a puts the contract with initial state | COMMENT |
| LOW | crates/core/tests/operations.rs | 2993 | // Step 2: Gateway gets the contract (this caches it on gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3024 | // Step 3: Peer-a updates the contract with new state | COMMENT |
| LOW | crates/core/tests/operations.rs | 3076 | // Step 4: Verify gateway received the update by polling GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 3215 | // Step 1: PUT with subscribe=false (like River room creation) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3243 | // Step 2: IMMEDIATELY Subscribe (don't wait for propagation to gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3471 | // Step 1: Peer-a puts the contract with initial state | COMMENT |
| LOW | crates/core/tests/operations.rs | 3502 | // Step 2: Gateway gets the contract (this caches it on gateway) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3533 | // Step 3: Gateway subscribes to the contract | COMMENT |
| LOW | crates/core/tests/operations.rs | 3566 | // Step 4: Peer-a PUTs an updated version of the contract | COMMENT |
| LOW | crates/core/tests/operations.rs | 3618 | // Step 5: Gateway should receive an UPDATE notification because it's subscribed | COMMENT |
| LOW | crates/core/tests/operations.rs | 3804 | // Step 1: Register the delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 3828 | // Step 2: PUT contract via delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 3895 | // Step 3: Verify contract state via direct GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 3923 | // Step 4: UPDATE contract via delegate (add a task) | COMMENT |
| LOW | crates/core/tests/operations.rs | 3996 | // Step 5: Verify updated state via direct GET | COMMENT |
| LOW | crates/core/tests/operations.rs | 4064 | // Step 1: PUT contract directly so state exists in the store | COMMENT |
| LOW | crates/core/tests/operations.rs | 4088 | // Step 2: Register delegate | COMMENT |
| LOW | crates/core/tests/operations.rs | 4112 | // Step 3: GET contract via delegate | COMMENT |
| LOW⚡ | crates/core/benches/transport/level0.rs | 249 | // Step 1: Serialize | COMMENT |
| LOW⚡ | crates/core/benches/transport/level0.rs | 253 | // Step 2: Encrypt in place | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 228 | // Step 3: median of trimmed sample. | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 231 | // Step 4: MAD — median of |x − median|. Compute deviations, sort, | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 252 | // Step 5: threshold = median + k × (σ-scaled MAD), clamped at | COMMENT |
| LOW⚡ | crates/core/src/governance.rs | 262 | // Step 6: flag everyone whose ratio strictly exceeds the threshold. | COMMENT |
| LOW | crates/core/src/governance.rs | 172 | // Step 1: extract ratios, dropping any non-finite values | COMMENT |
| LOW | crates/core/src/governance.rs | 201 | // Step 2: trim the top tail BEFORE computing the statistic so the | COMMENT |
| LOW | crates/core/src/topology.rs | 373 | // Step 1: Collect data | COMMENT |
| LOW | crates/core/src/topology.rs | 398 | // Step 2: Process data | COMMENT |
| LOW | crates/core/src/contract/governance.rs | 2038 | // Step 1: build a distribution with one Borderline contract. | COMMENT |
| LOW | crates/core/src/contract/governance.rs | 2061 | // Step 2: force the MAD detector to collapse | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 310 | // Step 1: Summarize on both | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 317 | // Step 2: Get delta from summary on both | COMMENT |
| LOW⚡ | …contract/executor/pool_tests/wasm_conformance_tests.rs | 324 | // Step 3: Apply delta as update on both | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4378 | // Step 2: Simulate peer disconnect by dropping the connection | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4387 | // Step 3: Create a new peer at a DIFFERENT port (simulating restart with new ephemeral port) | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4686 | // Step 2: Simulate gateway restart by dropping Gateway A | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4694 | // Step 3: Create Gateway B with NEW identity (Y) at the SAME address | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4813 | // Step 2: Simulate peer restart by dropping everything related to peer A | COMMENT |
| LOW⚡ | crates/core/src/transport/connection_handler.rs | 4822 | // Step 3: Create peer B with NEW identity (Y) at the SAME address | COMMENT |
| LOW | crates/core/src/transport/connection_handler.rs | 4410 | // Step 4: Peer B connects to gateway - this should work on first attempt | COMMENT |
| LOW | crates/core/src/transport/connection_handler.rs | 4495 | // Step 1: Peer A connects to gateway | COMMENT |
| 111 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Cargo.toml | 181 | # (fdev, riverctl, River UI, the test harness) explicitly pins native. | COMMENT |
| MEDIUM | .config/nextest.toml | 66 | # needs more headroom than the 240s default; without this the harness SIGKILLs it | COMMENT |
| MEDIUM | …tes/replay-harness/src/scenarios/single_packet_loss.rs | 20 | //! (a robust controller ignores a single-connection transient); LEDBAT's | COMMENT |
| MEDIUM | …es/replay-harness/src/scenarios/single_peer_outlier.rs | 5 | //! median across peers to be robust against this case. A sane controller | COMMENT |
| MEDIUM | crates/core/Cargo.toml | 225 | # Manual throughput benchmarks (test harness, no criterion, ~3 sec) | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 553 | /// for robust coverage. Fails if any operation type has zero occurrences. | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 3660 | /// ## Fan-out width vs. the harness bootstrap ceiling (why N=8/16, not 40-80) | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 3715 | /// `notification_channel_pending` per the letter of #4233, the harness would | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 8142 | // Asserting > 6 (bootstrap floor + at least one probe per node) is robust | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 13444 | // using the merged #4657 sim-harness: `enable_hosting_time_control` (a | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 13883 | // copies made greedy single-path routing robust because a copy was almost | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 16529 | #[ignore = "heavy larger-ring validation (6 × 48-peer sim runs); harness-limited, run manually: \ | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 16904 | // the mesh — robust participation so all N are real co-host targets. | COMMENT |
| MEDIUM | crates/core/tests/simulation_integration.rs | 8726 | 7, // max_connections — 7 ensures robust GET routing across topology variations | CODE |
| MEDIUM | crates/core/src/message.rs | 612 | /// it is deliberately left unpinned: the R4b instrument is robust either way | COMMENT |
| MEDIUM | crates/core/src/test_utils.rs | 1543 | /// OFF by default (#4968), so the harness must opt in explicitly for these | COMMENT |
| MEDIUM | crates/core/src/governance.rs | 14 | //! producing log-space cost/benefit ratios, compute a robust threshold | COMMENT |
| MEDIUM | crates/core/src/governance.rs | 63 | /// statistical guidance), 5% top-trim (robust-statistics convention). | COMMENT |
| MEDIUM | crates/core/src/deadlock_detection.rs | 189 | /// caller's own cycle by thread id, so it is robust to any other deadlock | COMMENT |
| MEDIUM | crates/core/src/contract.rs | 2961 | /// scan over our own source is more robust than runtime-subscriber | COMMENT |
| MEDIUM | crates/core/src/contract.rs | 4257 | // PutResponse, not a specific Ok/Err, so the test is robust to the | COMMENT |
| MEDIUM | crates/core/src/operations.rs | 1284 | // This is robust against renaming/moving the next function. | COMMENT |
| MEDIUM | crates/core/src/contract/storages/redb.rs | 1052 | // This is more robust than string matching on error messages | COMMENT |
| MEDIUM | crates/core/src/contract/executor/runtime.rs | 1479 | /// `.claude/rules/bug-prevention-patterns.md` (cheaper and more robust | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_iface_tx.rs | 250 | /// the window mean per-second rate under its original name; `*_p50` (robust | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_demand.rs | 193 | /// stay robust against other tests touching these monotonic statics. | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_demand.rs | 382 | /// distribution — `p50` is a more robust central-tendency signal than `mean` | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_demand.rs | 489 | /// the class ever pushed in a second), `*_p50` (robust central tendency for a | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_demand.rs | 611 | // Delta-based so this is robust to other tests touching the same | COMMENT |
| MEDIUM | crates/core/src/transport/peer_connection.rs | 2831 | /// upper bound well below the payload size — both robust under | COMMENT |
| MEDIUM | crates/core/src/transport/shadow_stats.rs | 20 | //! is a more robust central-tendency signal than `mean` for the bursty, | COMMENT |
| MEDIUM | crates/core/src/transport/reference_ping.rs | 749 | // robust test is to monkey-patch... we don't have that. | COMMENT |
| MEDIUM | crates/core/src/transport/rolling_rtt_stats.rs | 12 | //! "current" RTT estimate, robust to a few outlier samples. | COMMENT |
| MEDIUM | crates/core/src/transport/rolling_rtt_stats.rs | 167 | // "median RTT over last 10 s" wording and is robust to a | COMMENT |
| MEDIUM | crates/core/src/transport/ledbat/controller.rs | 3447 | /// - Very high RTT: GAIN should be 1.0 (aggressive to utilize bandwidth) | COMMENT |
| MEDIUM | crates/core/src/transport/bbr/controller.rs | 671 | // During Startup, ensure cwnd is large enough to utilize the minimum pacing rate. | COMMENT |
| MEDIUM | crates/core/src/bin/commands/service/linux.rs | 444 | # fallback; this makes the intent explicit and robust. | COMMENT |
| MEDIUM | crates/core/src/bin/commands/service/linux.rs | 899 | /// comment containing a bracketed name is ignored), so this is robust to | COMMENT |
| MEDIUM | crates/core/src/server/client_api.rs | 1689 | /// the `#[freenet_test]` harness setting `webapp_cache_dir` (pinned in | COMMENT |
| MEDIUM | crates/core/src/server/home_page/estimator.rs | 669 | // Median absolute percentage error (robust to the heavy tails of latency / | COMMENT |
| MEDIUM | crates/core/src/operations/update/op_ctx_task.rs | 4918 | // (fmt-robust: match the field identifier, which survives | COMMENT |
| MEDIUM | crates/core/src/operations/subscribe/tests.rs | 195 | // brace-counted approach is the most robust against helper | COMMENT |
| MEDIUM | crates/core/src/client_events/user_op_rate_limit.rs | 181 | // "Essentially full" AND holding at least one whole token. Within one | COMMENT |
| MEDIUM | crates/core/src/ring/interest.rs | 1152 | // Bytes differ. Trust the contract's semantic verdict when present (robust | COMMENT |
| MEDIUM | crates/core/src/ring/contract_ban_list.rs | 1204 | // keeps this gate-ordering check robust against legitimate | COMMENT |
| MEDIUM | crates/core/src/wasm_runtime/engine/wasmtime_engine.rs | 206 | /// # Why this is robust against the runtime flavor (issue #4441 fix-up) | COMMENT |
| MEDIUM | crates/core/src/wasm_runtime/engine/wasmtime_engine.rs | 206 | /// # Why this is robust against the runtime flavor (issue #4441 fix-up) | COMMENT |
| MEDIUM | crates/core/src/node/op_state_manager.rs | 4561 | // — disconnect cleanup must remain robust when the event loop | COMMENT |
| MEDIUM | crates/core/src/node/op_state_manager.rs | 4834 | // remain robust during shutdown races. | COMMENT |
| MEDIUM | crates/core/src/node/network_bridge/p2p_protoc.rs | 5992 | /// robust and unambiguous. | COMMENT |
| MEDIUM | scripts/auto-update-canary_test.sh | 784 | # not a real node. So the two differ in how much of the harness executes, not in | COMMENT |
| MEDIUM | scripts/auto-update-canary_test.sh | 1377 | # harness stopped capturing output. | COMMENT |
| MEDIUM⚡ | scripts/auto-update-canary_lifecycle_test.sh | 265 | # Gate B asserts exit 42; if the harness overwrites that with its own SIGTERM | COMMENT |
| MEDIUM | scripts/auto-update-canary_lifecycle_test.sh | 210 | # harness -- not just through a stub that writes node.out itself. | COMMENT |
| MEDIUM | scripts/auto-update-canary_lifecycle_test.sh | 247 | # ...and the discriminating twin, through the same real harness: exit 42 with NO | COMMENT |
| MEDIUM⚡ | scripts/release_driver_test.sh | 442 | # executes. That harness is scoped to main-flow reachability and does exactly | COMMENT |
| MEDIUM | scripts/install.sh | 14 | # On Linux it prefers a system service when it can elevate (root or sudo) - | COMMENT |
| MEDIUM | scripts/install.sh | 338 | # elevate (it runs at boot, survives logout, and is the most reliable choice | COMMENT |
| MEDIUM | scripts/test-install-sh.sh | 6 | # when it can elevate (root or sudo) and otherwise installs a user service | COMMENT |
| MEDIUM⚡ | scripts/release_canary_wiring_test.sh | 1869 | # harness uses `bash -e`. That assumption is pinned immediately below -- adding | COMMENT |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …es/core/src/contract/executor/runtime/executor_impl.rs | 2308 | /// # Return value | COMMENT |
| LOW | crates/core/src/bin/commands/service/macos.rs | 389 | # Check if this looks like a port-already-in-use failure. | COMMENT |
| LOW | docker/freenet-gateway/freenet-gateway-startup.sh | 5 | # Check if required environment variables are set | COMMENT |
| LOW | docker/freenet-gateway/generate-keypair.sh | 9 | # Check if the keypair already exists | COMMENT |
| LOW | scripts/run_benchmarks.sh | 70 | # Check if running in VM | COMMENT |
| LOW | scripts/run_benchmarks.sh | 89 | # Check if at max | COMMENT |
| LOW | scripts/pre-commit-clippy.sh | 50 | # Check if this package is in the workspace or standalone | COMMENT |
| LOW | scripts/install.sh | 141 | # Check if a command exists | COMMENT |
| LOW | scripts/install.sh | 224 | # Check if directory is in PATH | COMMENT |
| LOW | scripts/install.sh | 684 | # Check if freenet is already installed and running | COMMENT |
| LOW | scripts/install.sh | 686 | # Check if freenet is running | COMMENT |
| LOW | scripts/validate-worktree.sh | 10 | # Check if we're in the main worktree directory | COMMENT |
| LOW | scripts/init-gateway.sh | 5 | # Check if required parameters are provided | COMMENT |
| LOW | scripts/update-remote-gws.sh | 261 | # Check if timeout command exists | COMMENT |
| LOW | scripts/release.sh | 350 | # Check if a step is completed | COMMENT |
| LOW | scripts/release.sh | 596 | # Check if we're on main branch | COMMENT |
| LOW | scripts/release.sh | 611 | # Check if we're up to date with origin | COMMENT |
| LOW | scripts/release.sh | 621 | # Check if main branch CI is green (required before skipping tests on release PR) | COMMENT |
| LOW | scripts/release.sh | 716 | # Check if version is already updated in Cargo.toml | COMMENT |
| LOW | scripts/release.sh | 822 | # Check if a release PR for this version already exists or was merged | COMMENT |
| LOW | scripts/release.sh | 864 | # Check if there are any changes to commit | COMMENT |
| LOW | scripts/release.sh | 869 | # Check if we're already on main | COMMENT |
| LOW | scripts/release.sh | 1190 | # Check if freenet is already published | COMMENT |
| LOW | scripts/release.sh | 1207 | # Check if fdev is already published | COMMENT |
| LOW | scripts/release.sh | 1244 | # Check if release already exists | COMMENT |
| LOW | scripts/release.sh | 1258 | # Check if tag already exists | COMMENT |
| LOW | scripts/release.sh | 1266 | # Check if tag exists on remote | COMMENT |
| LOW | scripts/release.sh | 1523 | # Check if all required binaries are already available | COMMENT |
| LOW | scripts/release.sh | 1690 | # Check if matrix-commander is available | COMMENT |
| LOW | scripts/release.sh | 1734 | # Check if river repo is available (we use cargo run, not installed binary) | COMMENT |
| LOW | scripts/release.sh | 1741 | # Check if Freenet node is running (required for riverctl) | COMMENT |
| LOW | scripts/release.sh | 1754 | # Check if we have the room in local storage with signing key | COMMENT |
| LOW | scripts/deploy-to-gateways.sh | 197 | # Check if artifact is older than 12 hours | COMMENT |
| LOW | scripts/deploy-to-gateways.sh | 282 | # Check if binary exists | COMMENT |
| LOW | scripts/deploy-to-gateways.sh | 420 | # Check if all succeeded | COMMENT |
| LOW | scripts/deploy-local-gateway.sh | 111 | # Check if running with sufficient privileges | COMMENT |
| LOW | scripts/deploy-local-gateway.sh | 263 | # Check if unit file exists by querying systemctl directly | COMMENT |
| LOW | scripts/deploy-local-gateway.sh | 311 | # Check if unit file exists by querying systemctl directly. | COMMENT |
| LOW | .github/scripts/check_banned_patterns.py | 664 | # Read file content from HEAD (not working tree) so the analysis reflects | COMMENT |
| LOW | .github/scripts/pt_sync.py | 34 | # Check if there is already a comment containing a Pivotal Tracker story URL | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …t/executor/pool_tests/non_idempotent_detector_tests.rs | 39 | fn fake_key() -> ContractKey { | CODE |
| LOW | …t/executor/pool_tests/non_idempotent_detector_tests.rs | 50 | let key = fake_key(); | CODE |
| LOW | …t/executor/pool_tests/non_idempotent_detector_tests.rs | 68 | let key = fake_key(); | CODE |
| LOW | …t/executor/pool_tests/non_idempotent_detector_tests.rs | 240 | let key = fake_key(); | CODE |
| LOW | crates/core/src/operations/put/op_ctx_task.rs | 4373 | fn dummy_key() -> ContractKey { | CODE |
| LOW | crates/core/src/operations/put/op_ctx_task.rs | 5198 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/put/op_ctx_task.rs | 5210 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/put/op_ctx_task.rs | 5235 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/put/op_ctx_task.rs | 5341 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4218 | fn dummy_key() -> ContractKey { | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4395 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4426 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4458 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4471 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4489 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4516 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 4537 | let key = dummy_key(); | CODE |
| LOW | crates/core/src/operations/get/op_ctx_task.rs | 5502 | let key = dummy_key(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/test-runner/run.sh | 6 | # Usage: | COMMENT |
| LOW | scripts/run_benchmarks.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/static-checks.sh | 6 | # Usage: | COMMENT |
| LOW | scripts/docker-test.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/gateway-auto-update.sh | 14 | # Usage: | COMMENT |
| LOW | scripts/release-agent/install.sh | 8 | # Usage: | COMMENT |
| LOW | scripts/release-agent/verify-version-decision.sh | 78 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/scripts/check_merge_group_concurrency.py | 86 | f"github.event.merge_group.head_sha || github.run_id }}}}" | CODE |
| HIGH | .github/scripts/check_merge_group_concurrency.py | 126 | group: claude-pr-review-${{ github.event.pull_request.number || github.event.merge_group.head_sha || github.run_id }} | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/core/src/governance.rs | 34 | //! ## Sanity guardrails | COMMENT |
| MEDIUM | crates/core/src/governance.rs | 34 | //! ## Sanity guardrails | COMMENT |
| MEDIUM | docs/design/contract-hardening.md | 109 | ### Sanity guardrails (also principled) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/core/src/server/path_handlers.rs | 7084 | // this test. (The `function installNotifyClickListener() {` definition | COMMENT |
| LOW | crates/core/src/server/path_handlers.rs | 7077 | SHELL_BRIDGE_JS.contains("function installNotifyClickListener("), | CODE |
| LOW | crates/core/src/server/errors.rs | 430 | page.contains("function connectingRecoveryDecision("), | CODE |
| LOW | …s/core/src/server/path_handlers/assets/shell_bridge.js | 726 | function installNotifyClickListener() { | CODE |
| LOW | …s/core/src/server/path_handlers/assets/shell_bridge.js | 747 | function ensureNotifyServiceWorker() { | CODE |
| LOW | crates/core/src/server/errors/assets/connecting.html | 85 | function connectingRecoveryDecision(search, atTop, now) { | CODE |
| LOW | .github/scripts/check_blocking_sends.py | 147 | def strip_comments_and_strings(line: str) -> str: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/parse_bench_output.py | 97 | CODE | |
| LOW | .github/scripts/check_banned_patterns.py | 163 | CODE | |
| LOW | .github/scripts/check_banned_patterns.py | 269 | CODE | |
| LOW | .github/scripts/check_blocking_sends.py | 147 | CODE | |
| LOW | .github/scripts/check_blocking_sends.py | 197 | CODE | |
| LOW | .github/scripts/check_blocking_sends.py | 286 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/update-remote-gws.sh | 172 | # Create a truly random directory name using timestamp and random number | COMMENT |
| MEDIUM | .github/scripts/pt_sync.py | 54 | # Create a new story in the Pivotal Tracker project | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/core/tests/node_diagnostics_uptime.rs | 4 | //! `// TODO: implement actual uptime tracking`, so every `freenet service | COMMENT |
| LOW | crates/core/src/node/network_bridge/p2p_protoc.rs | 5912 | /// #5223: the field was `uptime_seconds: 0, // TODO: implement actual | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/check_banned_patterns.py | 79 | CODE | |
| LOW | .github/scripts/check_blocking_sends.py | 62 | CODE | |
| LOW | .github/scripts/check_merge_group_concurrency.py | 33 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/parse_bench_output.py | 330 | print(f"Error: File '{input_file}' not found", file=sys.stderr) | CODE |