fix(init): opt-out for project-local editor files

Analysed against 7bb23db23 files changedby sloemo01
Open PR on GitHub

Change-risk score

9.1out of 10Typical
Repository health
5.9to6.0base against this head

This change sits in the middle third of this repository's own risk distribution, so it is about as risky as the work around it. It is riskier than 63% of this repository's own commits.

The largest health movement is in json_merge.py, down 1.5. Nothing outside this PR depends on a contract it changed.

Files changed
3
in this diff
Contracts changed
0
removed or signature
Outside callers
0
not in this diff
Findings added
3
2 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.

packagestestsapi-clientclicoreserveruivscodewebunitsrcsrc/repowis…src/repowise/coresrc/repowise/server__tests__srcsrccligenerationhealthingestionpersiste…servertest_pro…workspaceagent_targe…commandsanalysisgenerationingestionworkspacemcp_serverroutersc4graphcomponen…mcp
changed, health fellchanged, health rosechanged, health heldimports a changed fileuntouchedchanged by this PR

Drawing 3,306 of 3,706 files at a readable size, grouped by directory and sized by lines of code. 3 changed here reach 7 more by import. 400 are too small to see at this width, which is what the frame below is for.

Inside packages/cli/src/repowise/cli/agent_targets

_data/codex_promptsformatstargets__init__.pyregistry.pytypes.pyrepowis…repowis…repowis…repowis…repow…repow…repow…re…re…repowise-i…repo…repo…rep…rep…repo…re…repowise-…json_m…marker…observ…server…toml_merge.pyyaml_merge.pyclaude_cod…codex.pycursor.pyhermes.pyopencode.pyvscode.py

36 files, 2 changed by this PR and 4 that import one. This PR changes 3 files in total, spread across more than one top-level directory. 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 (3)
  • highcomplex method
    packages/cli/src/repowise/cli/agent_targets/formats/json_merge.py:336

    _insert_member has cyclomatic complexity 15

  • mediumcomplex method
    packages/cli/src/repowise/cli/agent_targets/formats/json_merge.py:405

    merge_json_object_member has cyclomatic complexity 10

  • mediumcomplex method
    packages/cli/src/repowise/cli/agent_targets/formats/json_merge.py:243

    _find_object_member has cyclomatic complexity 10

Resolved (2)
  • function hotspot
    packages/cli/src/repowise/cli/agent_targets/targets/claude_code.py
  • dry violation
    packages/cli/src/repowise/cli/agent_targets/targets/claude_code.py

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.

  • tests/unit/cli/test_agent_targets.pyRaghav Chamadiya 100% of 6 commits
  • packages/cli/src/repowise/cli/agent_targets/formats/json_merge.pyRaghav Chamadiya 100% of 3 commits
  • packages/cli/src/repowise/cli/agent_targets/targets/claude_code.pyRaghav Chamadiya 100% of 5 commits

Tests that cover this change

Test files that import a file this PR changes. Not a coverage measurement: it is the import graph, so it says which tests are worth running, not which lines they reach.

  • tests/unit/cli/test_agent_drift_control.py
  • tests/unit/cli/test_agents_cmd.py

2 changed files have no test importing them.

Get this on your own pull requests

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