feat(pr-evidence): add snapshot-bound review packet

Analysed against 82fa7c4c10 files changedby 2233admin
Open PR on GitHub

Change-risk score

9.5out of 10Elevated
Repository health
5.7to6.4base against this head

This change sits in the top third of this repository's own risk distribution, the band worth reviewing closely. It is riskier than 89% of this repository's own commits.

No changed file lost health in this diff. Nothing outside this PR depends on a contract it changed.

Files changed
10
in this diff
Contracts changed
0
removed or signature
Outside callers
0
not in this diff
Findings added
19
6 resolved

Blast radius on the repo map

Every file in the repository, grouped into its own directories and sized by lines. The ones this PR changes are lit, and everything that imports them is marked.

cratesdocsorchestrationprototy…skills/code-in…code-intel-cliplansevidenceschemassrctestsaudit_reportclimcp_serve
changed, health fellchanged, health rosechanged, health heldimports a changed fileuntouchedchanged by this PR

Drawing 574 of 748 files at a readable size, grouped by directory and sized by lines of code. 10 changed here reach 2 more by import. 174 are too small to see at this width, which is what the frame below is for.

Inside crates/code-intel-cli

srctestsaudit_reportchange_riskclimcp_servecommand…admissi…artifac…artifac…art…art…ass…aut…aut…bou…bou…bui…cap…cap…cha…compat…conten…dag_co…dag_ru…decisi…decisi…decisi…de…de…do…ed…ed…ev…evid…exec…file…grap…hosp…hosp…impa…inte…met…met…mod…nat…orc…pon…pro…pro…provi…repin…repow…repow…repow…run_c…run_…runt…sent…sent…sentrux_g…sessi…snapshot.rsst…staged…stru…surv…tool…unde…artif…art…au…capability_exec.rscli_h…coden…compa…dag_c…dag_r…decision…decision…delivery_lig…do…do…en…ev…ev…fi…gr…hospit…in…internalization_re…mc…me…me…na…ponyt…prima…proje…proje…repin…ru…run_…runt…sche…sent…sent…snaps…span…stag…su…un…cl…reg…ren…va…vali…comp…execut…mo…tes…git…mod…si…lega…co…mod.…path…prob…ru…re…test…mod.rste…hand…mod.…sc…te…sc…mod.…tests.rsmod.rs

220 files, 6 changed by this PR and 2 that import one. Click any directory above to frame it instead.

Changed

What this PR added, and what it took away

Introduced findings are the ones inside the lines this PR added, not the file's existing ones. The resolved column is the only place in the product that lists them.

Introduced (19)
  • mediumcomplex method
    crates/code-intel-cli/src/pr_evidence_packet/mod.rs:113

    decide has cyclomatic complexity 10

  • mediumdry violation
    crates/code-intel-cli/src/pr_evidence_packet/validation.rs:89

    30% of file duplicated; worst clone shares 13 lines with crates/code-intel-cli/src/pr_evidence_packet/validation.rs

  • mediumio in loop
    crates/code-intel-cli/tests/pr_evidence_packet_cases/decision.rs:111

    a filesystem call runs once per loop iteration (N+1 / IO-in-loop)

  • lowlarge method
    crates/code-intel-cli/src/pr_evidence_packet/mod.rs:113

    decide is 81 lines long

  • lowerror handling
    crates/code-intel-cli/src/pr_evidence_packet/request.rs:27

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/src/pr_evidence_packet/request.rs:34

    unwrap/expect turns a recoverable error into a crash

  • lowdry violation
    crates/code-intel-cli/tests/pr_evidence_packet.rs:46

    12% of file duplicated; worst clone shares 7 lines with crates/code-intel-cli/tests/pr_evidence_packet_cases/io.rs

  • lowerror handling
    crates/code-intel-cli/src/pr_evidence_packet/mod.rs:29

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/src/pr_evidence_packet/mod.rs:164

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/src/pr_evidence_packet/mod.rs:165

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/src/pr_evidence_packet/mod.rs:166

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/pr_evidence_packet.rs:17

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/pr_evidence_packet.rs:26

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/pr_evidence_packet.rs:39

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/pr_evidence_packet.rs:39

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/pr_evidence_packet.rs:45

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/pr_evidence_packet.rs:45

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/pr_evidence_packet.rs:46

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/pr_evidence_packet.rs:64

    unwrap/expect turns a recoverable error into a crash

Resolved (6)
  • function hotspot
    crates/code-intel-cli/src/cli/command_catalog/mod.rs
  • duplicated assertion block
    crates/code-intel-cli/src/cli/command_catalog/tests.rs
  • brain method
    crates/code-intel-cli/src/cli/command_catalog/tests.rs
  • io in loop
    crates/code-intel-cli/src/cli/command_catalog/tests.rs
  • dry violation
    crates/code-intel-cli/tests/cli_head_parity.rs
  • io in loop
    crates/code-intel-cli/tests/cli_head_parity.rs

Who else knows this code

The primary author of each changed file by share of its recent commits, mined from git history. Advisory: it says who has context, not who must review.

  • crates/code-intel-cli/src/main.rs2233admin 55% of 39 commits · the PR author
  • crates/code-intel-cli/tests/cli_head_parity.rs2233admin 100% of 4 commits · the PR author
  • crates/code-intel-cli/src/cli/command_catalog/mod.rs2233admin 100% of 9 commits · the PR author
  • crates/code-intel-cli/src/cli/legacy.rs2233admin 100% of 7 commits · the PR author
  • crates/code-intel-cli/src/cli/command_catalog/tests.rs2233admin 100% of 8 commits · the PR author

Get this on your own pull requests

This page came from an index of 2233admin/code-intel-pipeline. No model calls, no configuration, and it refreshes on every push. Install the bot and every pull request gets one of these.