feat(ux): add guided project status facade

Analysed against 1231cd4510 files changedby 2233admin
Open PR on GitHub

Change-risk score

9.3out of 10Elevated
Repository health
5.3to5.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 82% of this repository's own commits.

The largest health movement is in project_query.rs, down 0.9. 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
9
8 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.

cratesdocsevalorchestrationprototy…skills/code-in…code-intel-clievidenceschemassrctestsaudit_reportclidoctor_bootst…mcp_serve
changed, health fellchanged, health rosechanged, health heldimports a changed fileuntouchedchanged by this PR

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

Inside crates/code-intel-cli/src

audit_reportauthorit…change_a…change_r…cligit_rem…graphmcp_servetestscommand_catalogartifact_r…artifacts.…artifacts_…assist…author…author…bounda…bounda…builti…capabi…ca…ch…co…code…comm…comm…comp…comp…cont…dag_coo…dag_run…decisio…decisio…decisio…dec…del…doc…doc…edi…edi…ev…ev…ex…fi…gr…ha…hosp…hosp…i18n…impa…inte…metho…metho…model…nativ…orch…pony…proj…proj…project_…provider…repin.rsrepowise…repowise…repowise…rout…run_…run_…runt…sent…sentrux_anal…sentrux_gate…session_evid…snapshot.rsspan_ap…stable_…staged_…structu…surviva…tool_ef…un…mod…tes…cli…cli…en…js…re…re…ren…ren…valid…valida…exe…mo…gi…mo…legacy.…conf…mod.rspa…pr…inp…re…tests…mod.…mo…tes…hand…tests…iden…te…sc…te…sc…co…mo…mod.…

166 files, 10 changed by this PR and 4 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 (9)
  • mediumnested complexity
    crates/code-intel-cli/src/cli/project_query.rs:98

    parse_project_status_args nests 4 levels deep

  • mediumlarge method
    crates/code-intel-cli/src/cli/command_catalog/mod.rs:170

    parse_command is 93 lines long

  • mediumcomplex method
    crates/code-intel-cli/src/cli/command_catalog/mod.rs:264

    execute_command has cyclomatic complexity 10

  • mediumcomplex method
    crates/code-intel-cli/src/cli/command_catalog/mod.rs:170

    parse_command has cyclomatic complexity 12

  • mediumlow cohesion
    crates/code-intel-cli/src/project_context/status.rs:1

    super::ProjectContext has low cohesion (LCOM4=2): its 6 methods split into 2 groups that share no fields or calls

  • mediumdry violation
    crates/code-intel-cli/src/project_context/tests.rs:103

    34% of file duplicated; worst clone shares 16 lines with crates/code-intel-cli/src/project_context/tests.rs

  • mediumduplicated assertion block
    crates/code-intel-cli/tests/primary_entry.rs:150

    assertion block at lines 150-154 is duplicated in crates/code-intel-cli/src/project_context/tests.rs

  • lowlarge method
    crates/code-intel-cli/src/cli/command_catalog/mod.rs:328

    render_outcome is 67 lines long

  • lowlarge method
    crates/code-intel-cli/src/cli/command_catalog/mod.rs:264

    execute_command is 61 lines long

Resolved (8)
  • dry violation
    crates/code-intel-cli/src/cli/project_query.rs
  • duplicated assertion block
    crates/code-intel-cli/src/project_context/tests.rs
  • io in loop
    crates/code-intel-cli/src/project_context/tests.rs
  • function hotspot
    crates/code-intel-cli/src/cli/command_catalog/mod.rs
  • function hotspot
    crates/code-intel-cli/src/cli/command_catalog/tests.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
  • hot path sync io
    crates/code-intel-cli/src/project_context.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/cli/command_catalog/routes/mod.rs2233admin 100% of 6 commits · the PR author
  • crates/code-intel-cli/src/cli/command_catalog/contract.rs2233admin 100% of 1 commits · the PR author
  • crates/code-intel-cli/src/cli/project_query.rs2233admin 100% of 1 commits · the PR author
  • crates/code-intel-cli/tests/primary_entry.rs2233admin 92% of 12 commits · the PR author
  • crates/code-intel-cli/src/project_context.rs2233admin 100% of 2 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.