Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
release: v0.55.0 (#3032)
Raghav Chamadiyae829775bfd18
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 3182c2a44..a3fa4fb8f 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -14,7 +14,7 @@"name": "repowise","source": "./plugins/claude-code","description": "Codebase intelligence for Claude Code. Indexes your repo into five layers (Graph, Git, Docs, Decisions, Code Health) and gives Claude deep understanding of architecture, ownership, hotspots, decisions, and defect risk — fewer greps, fewer file reads, lower cost per query.",- "version": "0.54.0",+ "version": "0.55.0","category": "productivity","keywords": ["codebase",diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex 1ddcedc9a..e43ec7692 100644--- a/docs/CHANGELOG.md+++ b/docs/CHANGELOG.md@@ -9,6 +9,106 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0---+## [0.55.0] - 2026-10-04++This release is mostly about precision. The call graph resolves receivers, overloads and shadowed names the way each language's compiler does, measured against compiler and SCIP oracles. Dead code, health and refactoring advice stop reporting what the evidence does not support: files in languages health cannot analyse no longer score a perfect 10.0, an unused export reaches full confidence only when an importer names it, and performance and refactoring plans that would not help are withheld. Code Health now leads with one Fix first queue across defect, maintainability and performance.++Agents get leaner, more useful MCP responses, module wiki pages are written from structured facts with checked diagrams and citations, and indexing uses less time and memory. The Claude Code plugin ships Lens, a mod that shows Repowise's view of the repository while Claude works.++### Added++- **Plugin: Lens shows Repowise's view of the repo inside Claude Code** (#3021, #3022, #3023, #3025). Lens ships in the Claude Code plugin as a mod: a setup and freshness band above the prompt, a post-turn change review, a `/lens` pane with a per-turn Flow dashboard, and a repository map lit by what Claude reads and edits, which you can inspect and zoom from the keyboard. It adds no model calls, reads the local Repowise index, never blocks, rewrites or approves Claude's tool calls, and sends Claude nothing unless you press a button. It needs Claude Code 2.1.287 or later, an indexed repo, and `repowise serve --no-ui` for the map. See [docs/agent/LENS.md](agent/LENS.md).+- **One Fix first queue across defect, maintainability and performance** (#2821, #2817, #2839, #2841, #2820, #2825, #2831, #2838, #2832, #2859, #2843, #2848). Code Health leads with a single ranked list built from stored rows, with one lead item, its steps, a Verify block and the reason for its rank. A performance item points at the loop header line it changes, and performance opportunities are one per place you change. Code that does not ship (vendored, docs examples, generated, tooling, tests) stays out unless scope is `all`. Suggested verification tests are ordered by measured coverage of the changed lines, then by tests that name the changed symbol. `get_health(fix_id=...)` opens an item, and `fix_first` replaces the `directive`, `refactoring_directive` and `performance_directive` keys in `get_health`. Do next and Fix first agent prompts are shown in the prompt modal with Ask in chat.+- **Files health cannot analyse show as "not analysed", not as a score** (#2955, #2963, #3038). PHP, Swift, Elixir, Haskell and the other languages without a health dialect were stored at 10.0, so on `laravel/framework` all 2,992 PHP files read as perfect. They now store no score and are left out of averages, hotspot health, band counts and trends. The code health map draws them grey, the file drawer says "Not analysed", and `repowise status` and the badge read "not analysed" or "no data" when nothing is scored. `get_health` reports `unanalysed_file_count` and a `language_not_supported` reason.+- **Each file's code origin and function-level facts are stored** (#2820). Every file is classified as production, test, vendored, docs example, generated or tooling by one shared rule, and complexity findings carry the share of CCN held by the largest switch or dispatch chain and a deprecation marker.+- **Related work across lenses in the health drawers** (#2847). A file's drawer lists the findings, Fix first items, refactoring opportunities, performance work and dead code held for it, capped per lens with totals. `get_health_findings` and `get_dead_code_findings` accept a `file_paths` filter.+- **`get_answer` names the files to read at every confidence** (#3012, #3009). The reply carries a ranked list of candidate files not already cited: three at high confidence, five otherwise. A long pasted question triggers a bounded search (12 content nouns, 4 numbers), and the recovery hint no longer repeats the question.+- **`search_codebase` spends its result window on distinct files** (#3011, #3014, #3019). A code-location query collapses several hits in one file into one row, and hybrid results keep only file-backed pages. Every row that names a file carries it as `path` (`file` stays as a deprecated alias for one minor release). A capitalised English word such as `Add` or `Client` counts as an identifier only inside backticks, next to `::` or when called.+- **`get_context` ranks and caps the symbol card** (#3010). A file card lists at most 15 symbols, types first, then functions and methods, with `symbols_truncated` pointing at `include=["symbols"]` for the full list. Markdown and reST previews report line counts, heading counts and the first three headings.+- **`get_overview` lists the heaviest package dependencies** (#2749). The architecture block carries the ten heaviest package-to-package edges with their verb and weight. Edges that touch a test file are dropped from this and from the container view.+- **`get_change_risk` can be scoped to named paths** (#2621). `include_paths` takes gitignore-style paths, as a list or one comma-separated string, and the health comparison keeps only changes under them.+- **Signature changes are classified by what they do to callers** (#2620). A contract change reads as none, compatible or breaking, so a reflow, a trailing comma or an appended optional argument is no longer treated like a removed required parameter.+- **People, coding agents and bots are told apart** (#2754). Identity classification returns human, agent or bot. Bots and agents never merge into a person, the active team size counts people only, and agent-authored commits stay eligible for decision extraction.+- **The repository overview opens with a tiered system map** (#2747). Boxes are containers from manifests, sorted into who uses the system, where it is entered and what does the work, with at most 7 boxes and a capped set of arrows. The map is built from structure, links to module pages and adds no model call.+- **Module pages are written from structured facts, with checked diagrams and citations** (#2740, #2739). Each module page prompt carries one JSON object of parts, import edges, key files, Public API, excerpts and the traced flow, and picks a sequence diagram, a flowchart or none. Every Mermaid block is validated before a page is stored, and a cited file that does not exist is dropped. Questions, the concept index and git signals move into a page digest that search and agents read beside the body.+- **File pages open with sentences, not a stock line** (#2741). A file page leads with the module docstring, or says what the file defines and who imports it, then where it sits in its layer. The reference below is compact: a Public API list with the first docstring sentence of each declaration, and one `Used by` and `Depends on` line per directory.+- **Present mode tells the repository as a short story** (#2734). The deck runs from the overview through the architecture diagram, one slide per major part and one traced flow to where to start reading. The walkthrough mode is removed, and the dialog traps focus and respects reduced motion.+- **The file page shows the owner's share of lines and the merge commit count** (#2730, #2733). The header prints both "% of current lines" and "% of commits", and the Commits tile says how many merges were counted apart. The Code Health lede names the lowest-scoring test file, and provisional findings show an unverified mark.+- **Lambda handlers named in serverless, SAM and Terraform config link to their code** (#2834). A handler declared only as a string such as `handler: src/users.create` gets an edge, so the function the runtime invokes is no longer reported as unused.+- `repowise publish` puts a local repository on repowise.dev, and the CLI, web UI and VS Code extension offer it with occasional dismissible tips (#3004, #3005, #3006, #3007, #2931).++### Changed++- **Call resolution is more precise for Go, Rust, Python, TypeScript, Java, C#, C++ and Objective-C** (#2766, #2767, #2777, #2778, #2800, #2773, #2772, #2775, #2779, #2768, #2827, #2833, #2776, #2770, #2837). Go calls are typed through struct fields, `:=` locals and range variables, and a chain on an external return type is no longer bound to a same-named repository function. Rust receivers are typed from parameters, `let` annotations and constructors. Python `super()` walks the MRO. A parameter or local that shadows a name no longer resolves to the module-level symbol, and a member call is resolved by its receiver first. Against compiler or SCIP oracles, precision moved on gitleaks from 0.9755 to 0.9908, on cobra from 0.9724 to 0.9944, on httpx from 0.9696 to 0.9831 and on click from 0.9358 to 0.9572.+- **Java, C# and C++ overloads each get their own symbol** (#2811, #2829). Overloads of different arity, and a C# generic type beside its non-generic sibling, are separate graph nodes, so a call draws an edge to the overload it names.+- **TypeScript object-literal methods and C/C++ functions returning pointers or references are symbols** (#2772, #2774). Methods in mixin and builder objects get ids such as `ZodNumber::gt`, which on zod moved recall from 0.7762 to 0.7959.+- **Java records the access level it was written with** (#2771, #2798). A declaration with no access keyword is package-private, not public, and a record's canonical constructor takes the record's own access level. On gson, unused-export findings dropped from 11 to 4.+- **The MCP tool result is compact JSON, and `_meta` is lean by default** (#3018, #3017). The text block no longer pretty-prints JSON, and routine responses drop `contract_version`, `timing_ms`, an untouched `response_budget`, an uncapped `completeness` block, a complete `index_scope` digest and the savings fields. `get_overview` keeps the full envelope and `MCP_CONTRACT_VERSION` moves to 3. `REPOWISE_MCP_DEBUG_META=1` restores the diagnostics and `REPOWISE_MCP_PRETTY_JSON=1` restores indented text.+- **`get_context` shares its budget across targets** (#2727). Each target gets an equal share, unused share passes to the others, and an over-budget target degrades in place instead of being dropped. When a target is dropped the response leads with `dropped_targets` and a recovery call.+- **`get_answer` reads typed identifiers and sequence questions better** (#2736, #2737). A question naming `module_page` reaches the files defining `generate_module_page`, and a "what happens when" question is answered from the entry function's call order.+- **Code Health leads with a short score headline** (#3026, #2989). The headline holds the score, the band, one line on scope and the most-changed files. The band breakdown and the method notes sit behind two closed toggles, and Fix first opens closed beneath it with its item count.+- **Fix first leads with work that is worth doing first** (#2965, #2950). A function-size item leads only when the function is far past a bar (CCN 40, 200 lines, or nesting 6 in 100 or more lines) and its branching is not one dispatch. Rust unwraps and panics, rated 1 useful in 19 across four Rust repos, no longer appear in Fix first, and unwraps that cannot panic are no longer findings.+- **Dead-code confidence reflects the evidence** (#2903, #2910, #2912, #2967, #2990, #2750). An unused export reaches 1.0 only when an importer names one of the file's symbols, otherwise it scores 0.6 and is never deletion-ready, and C, C++ and Objective-C exports never reach 1.0. A C# file no edge reaches is capped at the review tier whatever its age, and a C# file is reachable when a type it declares is named by its project or a project that references it. On `dotnet/runtime` this removes 274 C# files that were reported unreachable at 1.0 on age alone.+- **Dead code is quieter for entry points and tool-loaded files** (#2916, #2982, #2975, #2979, #2917, #2986). Files with a shebang or a `__main__` block, files a CI workflow, Makefile or manifest names by path, composer `autoload.files`, Django installed-app modules, tool config loads, C# polyfills, JMH and build-named JVM classes, and Kotlin `expect` and `actual` pairs are not reported. A folder of Dockerfiles or shell scripts is not a zombie package.+- **`repowise dead-code` and `health --refactoring-targets` read the stored results** (#2769, #2813). With an index at HEAD they return what the index stored, in the same order as MCP and the web UI, and fall back to live analysis (`--recompute` for refactoring targets) when there is no index, the index is behind HEAD, or a lower confidence floor is asked for.+- **Cohesion, duplication and hotspot findings are narrower** (#2908, #2764, #2951, #2907, #2906, #2905, #2918, #2915, #2255). Java, C#, C++ and Kotlin classes that read their own fields without `this.` are no longer split into one component per method, and Rust builders, accessor types and enums are not called low-cohesion. `dry_violation` counts clones with other files only, and a long parameter list is reported only when the author can change the signature. A function hotspot needs at least five changes. Go `select` arms and TS and JS default arms count in complexity.+- **Test, vendored, generated and build code is classified once** (#2899, #2913, #2987, #2958, #2954, #2993, #2980, #2814). `generated/` output, `external/` and `deps/` C libraries, minified trees, Gradle build logic, benchmarks, Cargo examples, JVM `qa/` projects, schema migrations and a docs site's code samples take one shared classification that dead code, Fix first, performance and refactoring read.+- **Performance findings stop advising against code that is correct** (#2911, #2923, #2981, #2984, #2969, #2898, #2968, #2985, #2964). Lock-guarded one-time initialisation and file-backed logger writes no longer get a "move I/O out of the lock" plan, and a batch plan is offered only when the loop key reaches the call. String concatenation is reported only when it grows across iterations, and `hot_path_sync_io` no longer claims a function is request-reachable.+- **Refactoring suggestions skip spans and moves that would not help** (#2914, #2960, #2973, #2952, #2956, #2970, #2976, #2991, #2930, #2932, #2816, #2751). `move_method` leaves overrides, factories, stateful methods and C# static classes alone, `extract_class` leaves data holders and trait impls alone, and an Extract Method span covering three quarters or more of a body is refused. Extract Method credits only the share of the finding that moves into the helper, and the refactoring queue never leads with a test file.+- **Extract Method infers parameters and returns correctly** (#2927, #2953, #2959). Reads inside a closure count as uses, a name the span declares stays out of the parameters, and a may-def's bookkeeping use is no longer a parameter.+- **Same-package JVM, C# and Rust cycles are labelled idiomatic** (#2983). Such a cycle is still reported, at low confidence with `idiom=same_package`, and no longer as a cut to make. Declaration-only edges no longer form `break_cycle` plans.+- **Finding triage survives re-index** (#2819). A re-detected finding that matches an acknowledged, false-positive or resolved row refreshes that row: acknowledged and false-positive stand, and resolved reopens. Finding ids are anchored on the symbol and the line offset into it, so edits above a function keep the id.+- **Next-call strings share one shape** (#2849). Actions, Fix first, health summaries and `get_risk` build their suggested calls from a tool and its arguments.+- **Opportunity lookups report `found`, not `resolved`** (#2812), and **`get_dead_code` says what its summary counts** (#2842).+- **`get_overview` and wiki ordering skip the test layer** (#2726), and **knowledge-graph layer names are unique** (#2725).+- **Provider SDK clients close on the loop that used them** (#2949), which ends leaked-client errors at exit.+- **Shared UI components can hide CLI hints and the refactoring scope control** (#3037) for an embedding that has no CLI, and the untested-hotspot rows highlight on hover again.+- **Serving logic for dead code, refactoring, performance and MCP tool selection moves into core** (#2752, #2846, #2850, #2851, #2852, #2854). Output is unchanged. Tool registration gains an `available_when` predicate.++### Fixed++- **`update` re-scores and re-parses an unchanged checkout after an upgrade** (#3035). When the health analyzer or the parser changed since the index was built, `update` says so and refreshes scores, findings and the graph instead of printing "Already up to date", so an upgraded index matches a fresh one without waiting for a new commit. No model is called.+- **Fix first Verify names tests for findings with no plan** (#3033). Such items showed an empty Verify block; they now list tests by measured coverage of the finding's lines, then tests that reach the file.+- **No batching plan for a loop that already queries a chunk at a time** (#3034). A call in a for loop's iterable is attributed to the loop around it, so a chunked query loop no longer gets a "batch the database calls" plan.+- **Go builder chains keep their call edges** (#3036). A chain such as `NewReport(...).WithPhase(...).Build()` types each link through the repository return type, including methods declared in a sibling file of the same package.+- **Update and init write the same results as a fresh index** (#2856, #2872, #2871, #2926, #2904, #2830, #2873). `split_file` plan ids, the lead finding of a tie, I/O import classification, governance findings kept across a re-score, opportunities left open by an older plan model, and the community label map no longer depend on which path wrote them.+- **The first update after init no longer rebuilds every page** (#2765). The `hooks.*` and `editor_files.*` keys init writes were read as a traversal change.+- **`init --resume` regenerates pages and decisions that were left half done** (#2883, #2482).+- **Search and index report a failed embed** (#3015). A partial LanceDB install used to exit `init` with 0 and a healthy semantic index while every page embed failed. `init` and `update` now mark semantic search unavailable, point at `repowise reindex`, and exit 1 when a real embedder failed. `doctor` reports an unopenable store as a failing row.+- **Child processes stay off the MCP stdio transport** (#3016). The git, ruff and ps calls reachable from MCP tools pass `stdin=DEVNULL`, so a child never reads the JSON-RPC pipe.+- **`get_risk(changed_files=[...])` works without targets** (#2761, #2840). It failed schema validation before the tool ran. A call with neither argument returns an error naming both.+- **An MCP server whose loaded code predates the checkout is told to restart** (#2844). `get_health` and the finding tools return the `repo='all'` error dict (#2728), and the chat dead-code card reads the tiered `get_dead_code` shape (#2729).+- **Dead-code false positives per language** (#2909, #2863, #2924, #2994, #2974, #2977, #2534, #2941). A C or C++ name written outside its declaration (a callback, a `#define` alias, a P/Invoke export, a `.def` line) counts as a use, and a use from inside a symbol's own span does not. A module-path string, `Outer.Inner` on a Python nested class, Go package-scope and import-qualified names, and a Java static member import count as uses.+- **Graph and resolvers** (#2877, #2857, #2855, #2961, #2978, #2943, #2475, #2940, #2971, #2972, #2884, #2824, #2835). Objective-C C calls in local initializers are kept, and VB.NET `Me` and `MyClass` calls resolve in the caller's own class. A C++ namespace or type opened after a macro is read as a scope. Rust `self::`, `super::` and `mod` paths and brace-group imports resolve through the module tree, and a `mod` declared inside a macro is a module import. PHP files loaded by a `__DIR__` path or a view name are linked, and PHP docblock class names no longer close an import cycle. Python `__all__` is a bounded visibility signal.+- **Health findings with wrong inputs** (#2942, #2948, #2896, #2939, #2823). `defer_in_loop` is suppressed when the next statement exits the loop, the Java package line stays out of the clone token stream, Rust local `use` paths no longer count as I/O imports, a Go string reset no longer reads as a growing concatenation, and a C# task awaited earlier in the method is not flagged as blocking on `.Result`.+- **A data step that moves no rows no longer fails the schema upgrade** (#2738). Opening a store that predated `primary_owner_line_pct` with nothing to move raised "Not an executable object: 0".+- **A failed tests-reaching request no longer reads as untested** (#2632, #2732).+- **`repowise generate --page` writes the overview in a seeded worktree** (#2748).+- **Workspace fixes** (#2524, #2160, #2828, #2489). `serve` no longer pins the workspace root's own database as the shared store, Postgres-backed watch and update route through the shared database, `.Tests` projects are skipped in contract extraction, and extraction diagnostics are no longer dropped.+- **Smaller fixes** (#2639, #2802, #2714, #2845, #2011, #2858). `rg` output for a root-level file is kept in session rewriting, doc drift treats a reader-project path as uncheckable, `get_change_risk` run lists expand a reached `conftest.py` to the tests under it, and logger levels are restored after a command silences them for machine output.+- **The web UI reads the server API key from a private variable only** (#2721).+- **Commit ids read from `state.json` are validated before they reach git** (#3039), and **the VS Code extension follows a serve lock file only when it points at this machine** (#3040).+- **Code Health is quieter, and pages stop scrolling past their content** (#3031). Hovering one Fix first row no longer lights every row, file paths are no longer accent-coloured, and the Coverage tab's chart and table colour only the files that need attention. The Code Health notice now explains this release's score changes. Pages with long tables no longer scroll a screen or more below their last row.+- **The security scan stops reporting names and rule prose as findings** (#3030). A kebab-case value such as `x-api-key` or `repowise-security-ignore` assigned to a token- or key-named variable is a name, not a secret, while values with digits or capitals still report. `verify=False` and `rejectUnauthorized: false` written in strings or comments are no longer reported; real calls still are.+- **A damaged vector store no longer stops a resumed init** (#1882). Reading its page ids fails with a warning that points at `repowise reindex`, and the pages are regenerated.+- **Workspace init shows progress while it persists generated pages** (#2158), and **the server's staleness check counts stale pages without loading their content** (#2257).++### Performance++- **`get_risk` reads only the targets' graph neighbourhood** (#2763). On a 4.4k-file index a call dropped from about 40 s to about 0.5 s, and PR mode from 41 s to 1.5 s, with identical responses.+- **Full-text and vector writes are batched** (#2780, #2880, #2868). A full re-render of redis (2,314 pages) dropped from 124-127 s to 92.8 s and from 20.1 GB read to 1.84 GB. LanceDB's metadata cache is capped at 64 MiB instead of 1 GiB so generation memory stops climbing.+- **Init and persist use less memory and time** (#2864, #2874, #2866, #2867, #2869, #2870, #2865, #2878, #2875). Bulk upserts flush in batches, new rows go in as bulk inserts, and the security scan masks comments and strings once and only when a pattern can match. Blame entries are shared per commit, the symbol subgraph and per-file dataflow parses are released after use, complexity passes walk each tree once, and init takes three serial waits off its critical path.+- **`get_answer` builds graph projections once per index state** (#2735), and **`repowise update` reads the stored vector width from a record instead of opening LanceDB** (#2861, about 1.4 s per update on a real embedder).++### Documentation++- **README, benchmarks and user docs are rewritten around each reader's task** (#3002, #2400). Layer docs share one shape, internals move to `docs/architecture/` and field dictionaries to `docs/reference/`, and new pages cover ownership, troubleshooting, MCP response fields, hooks and workspace contracts. `docs/agent/LENS.md` documents Lens.+- **Reference pages match the code** (#2724, #2731, #2759, #2760, #2815).++### Dependencies++- **Open npm and Python security advisories patched** (#2723). next 15.5.27, sharp 0.35.5, dompurify 3.4.16, js-yaml 4.3.2, undici 7.30.0, vitest 4.1.11; pyjwt 2.15.1, urllib3 2.8.0, anyio 4.14.2, and the minimum litellm moves to 1.90.7.+## [0.54.0] - 2026-09-30Most of this release is about getting the facts right. Tests showed up as entry points, a package's real CLI did not, a file renamed last month started its history from zero, one person counted as three contributors, and dead-code reports flagged config files that a tool loads by name. Each of those came from a rule that guessed where it could have read the answer from the repository itself: the manifest, git's rename records, the symbol table. This release reads it.diff --git a/packages/cli/src/repowise/cli/__init__.py b/packages/cli/src/repowise/cli/__init__.pyindex c94a5e67a..7abb2b9b0 100644--- a/packages/cli/src/repowise/cli/__init__.py+++ b/packages/cli/src/repowise/cli/__init__.py@@ -16,4 +16,4 @@ from repowise.cli._stdio import _ensure_utf8_stdio# is already UTF-8._ensure_utf8_stdio()-__version__ = "0.54.0"+__version__ = "0.55.0"diff --git a/packages/cli/src/repowise/cli/agent_targets/_data/codex_prompts/repowise-security.md b/packages/cli/src/repowise/cli/agent_targets/_data/codex_prompts/repowise-security.mdindex 6d7a842e5..61dd6cc53 100644--- a/packages/cli/src/repowise/cli/agent_targets/_data/codex_prompts/repowise-security.md+++ b/packages/cli/src/repowise/cli/agent_targets/_data/codex_prompts/repowise-security.md@@ -31,7 +31,7 @@ working-tree scan.)Handle `$ARGUMENTS`:- "history" / "full" / "scan history" → `repowise security scan --history`-- "json" with history → `repowise security scan --history --output json`+- "json" with history → `repowise security scan --history --format json`- "all" / "all-patterns" with history → `repowise security scan --history --all-patterns`- A path → `repowise security scan --history --path <dir>`- "since <rev>" / "to <rev>" → pass `--since` / `--to` accordingly@@ -39,7 +39,7 @@ Handle `$ARGUMENTS`:```repowise security scan --historyrepowise security scan --history --since v1.0.0 --to HEAD-repowise security scan --history --all-patterns --output json+repowise security scan --history --all-patterns --format json```## Notesdiff --git a/packages/core/src/repowise/core/__init__.py b/packages/core/src/repowise/core/__init__.pyindex a1a05bdda..516dc8535 100644--- a/packages/core/src/repowise/core/__init__.py+++ b/packages/core/src/repowise/core/__init__.py@@ -6,4 +6,4 @@ generation engine. This is the heart of repowise — all other packages depend oNamespace package: repowise.core is part of the repowise namespace."""-__version__ = "0.54.0"+__version__ = "0.55.0"diff --git a/packages/core/src/repowise/core/upgrade/_data/CHANGELOG.md b/packages/core/src/repowise/core/upgrade/_data/CHANGELOG.mdindex 1ddcedc9a..e43ec7692 100644--- a/packages/core/src/repowise/core/upgrade/_data/CHANGELOG.md+++ b/packages/core/src/repowise/core/upgrade/_data/CHANGELOG.md@@ -9,6 +9,106 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0---+## [0.55.0] - 2026-10-04++This release is mostly about precision. The call graph resolves receivers, overloads and shadowed names the way each language's compiler does, measured against compiler and SCIP oracles. Dead code, health and refactoring advice stop reporting what the evidence does not support: files in languages health cannot analyse no longer score a perfect 10.0, an unused export reaches full confidence only when an importer names it, and performance and refactoring plans that would not help are withheld. Code Health now leads with one Fix first queue across defect, maintainability and performance.++Agents get leaner, more useful MCP responses, module wiki pages are written from structured facts with checked diagrams and citations, and indexing uses less time and memory. The Claude Code plugin ships Lens, a mod that shows Repowise's view of the repository while Claude works.++### Added++- **Plugin: Lens shows Repowise's view of the repo inside Claude Code** (#3021, #3022, #3023, #3025). Lens ships in the Claude Code plugin as a mod: a setup and freshness band above the prompt, a post-turn change review, a `/lens` pane with a per-turn Flow dashboard, and a repository map lit by what Claude reads and edits, which you can inspect and zoom from the keyboard. It adds no model calls, reads the local Repowise index, never blocks, rewrites or approves Claude's tool calls, and sends Claude nothing unless you press a button. It needs Claude Code 2.1.287 or later, an indexed repo, and `repowise serve --no-ui` for the map. See [docs/agent/LENS.md](agent/LENS.md).+- **One Fix first queue across defect, maintainability and performance** (#2821, #2817, #2839, #2841, #2820, #2825, #2831, #2838, #2832, #2859, #2843, #2848). Code Health leads with a single ranked list built from stored rows, with one lead item, its steps, a Verify block and the reason for its rank. A performance item points at the loop header line it changes, and performance opportunities are one per place you change. Code that does not ship (vendored, docs examples, generated, tooling, tests) stays out unless scope is `all`. Suggested verification tests are ordered by measured coverage of the changed lines, then by tests that name the changed symbol. `get_health(fix_id=...)` opens an item, and `fix_first` replaces the `directive`, `refactoring_directive` and `performance_directive` keys in `get_health`. Do next and Fix first agent prompts are shown in the prompt modal with Ask in chat.+- **Files health cannot analyse show as "not analysed", not as a score** (#2955, #2963, #3038). PHP, Swift, Elixir, Haskell and the other languages without a health dialect were stored at 10.0, so on `laravel/framework` all 2,992 PHP files read as perfect. They now store no score and are left out of averages, hotspot health, band counts and trends. The code health map draws them grey, the file drawer says "Not analysed", and `repowise status` and the badge read "not analysed" or "no data" when nothing is scored. `get_health` reports `unanalysed_file_count` and a `language_not_supported` reason.+- **Each file's code origin and function-level facts are stored** (#2820). Every file is classified as production, test, vendored, docs example, generated or tooling by one shared rule, and complexity findings carry the share of CCN held by the largest switch or dispatch chain and a deprecation marker.+- **Related work across lenses in the health drawers** (#2847). A file's drawer lists the findings, Fix first items, refactoring opportunities, performance work and dead code held for it, capped per lens with totals. `get_health_findings` and `get_dead_code_findings` accept a `file_paths` filter.+- **`get_answer` names the files to read at every confidence** (#3012, #3009). The reply carries a ranked list of candidate files not already cited: three at high confidence, five otherwise. A long pasted question triggers a bounded search (12 content nouns, 4 numbers), and the recovery hint no longer repeats the question.+- **`search_codebase` spends its result window on distinct files** (#3011, #3014, #3019). A code-location query collapses several hits in one file into one row, and hybrid results keep only file-backed pages. Every row that names a file carries it as `path` (`file` stays as a deprecated alias for one minor release). A capitalised English word such as `Add` or `Client` counts as an identifier only inside backticks, next to `::` or when called.+- **`get_context` ranks and caps the symbol card** (#3010). A file card lists at most 15 symbols, types first, then functions and methods, with `symbols_truncated` pointing at `include=["symbols"]` for the full list. Markdown and reST previews report line counts, heading counts and the first three headings.+- **`get_overview` lists the heaviest package dependencies** (#2749). The architecture block carries the ten heaviest package-to-package edges with their verb and weight. Edges that touch a test file are dropped from this and from the container view.+- **`get_change_risk` can be scoped to named paths** (#2621). `include_paths` takes gitignore-style paths, as a list or one comma-separated string, and the health comparison keeps only changes under them.+- **Signature changes are classified by what they do to callers** (#2620). A contract change reads as none, compatible or breaking, so a reflow, a trailing comma or an appended optional argument is no longer treated like a removed required parameter.+- **People, coding agents and bots are told apart** (#2754). Identity classification returns human, agent or bot. Bots and agents never merge into a person, the active team size counts people only, and agent-authored commits stay eligible for decision extraction.+- **The repository overview opens with a tiered system map** (#2747). Boxes are containers from manifests, sorted into who uses the system, where it is entered and what does the work, with at most 7 boxes and a capped set of arrows. The map is built from structure, links to module pages and adds no model call.+- **Module pages are written from structured facts, with checked diagrams and citations** (#2740, #2739). Each module page prompt carries one JSON object of parts, import edges, key files, Public API, excerpts and the traced flow, and picks a sequence diagram, a flowchart or none. Every Mermaid block is validated before a page is stored, and a cited file that does not exist is dropped. Questions, the concept index and git signals move into a page digest that search and agents read beside the body.+- **File pages open with sentences, not a stock line** (#2741). A file page leads with the module docstring, or says what the file defines and who imports it, then where it sits in its layer. The reference below is compact: a Public API list with the first docstring sentence of each declaration, and one `Used by` and `Depends on` line per directory.+- **Present mode tells the repository as a short story** (#2734). The deck runs from the overview through the architecture diagram, one slide per major part and one traced flow to where to start reading. The walkthrough mode is removed, and the dialog traps focus and respects reduced motion.+- **The file page shows the owner's share of lines and the merge commit count** (#2730, #2733). The header prints both "% of current lines" and "% of commits", and the Commits tile says how many merges were counted apart. The Code Health lede names the lowest-scoring test file, and provisional findings show an unverified mark.+- **Lambda handlers named in serverless, SAM and Terraform config link to their code** (#2834). A handler declared only as a string such as `handler: src/users.create` gets an edge, so the function the runtime invokes is no longer reported as unused.+- `repowise publish` puts a local repository on repowise.dev, and the CLI, web UI and VS Code extension offer it with occasional dismissible tips (#3004, #3005, #3006, #3007, #2931).++### Changed++- **Call resolution is more precise for Go, Rust, Python, TypeScript, Java, C#, C++ and Objective-C** (#2766, #2767, #2777, #2778, #2800, #2773, #2772, #2775, #2779, #2768, #2827, #2833, #2776, #2770, #2837). Go calls are typed through struct fields, `:=` locals and range variables, and a chain on an external return type is no longer bound to a same-named repository function. Rust receivers are typed from parameters, `let` annotations and constructors. Python `super()` walks the MRO. A parameter or local that shadows a name no longer resolves to the module-level symbol, and a member call is resolved by its receiver first. Against compiler or SCIP oracles, precision moved on gitleaks from 0.9755 to 0.9908, on cobra from 0.9724 to 0.9944, on httpx from 0.9696 to 0.9831 and on click from 0.9358 to 0.9572.+- **Java, C# and C++ overloads each get their own symbol** (#2811, #2829). Overloads of different arity, and a C# generic type beside its non-generic sibling, are separate graph nodes, so a call draws an edge to the overload it names.+- **TypeScript object-literal methods and C/C++ functions returning pointers or references are symbols** (#2772, #2774). Methods in mixin and builder objects get ids such as `ZodNumber::gt`, which on zod moved recall from 0.7762 to 0.7959.+- **Java records the access level it was written with** (#2771, #2798). A declaration with no access keyword is package-private, not public, and a record's canonical constructor takes the record's own access level. On gson, unused-export findings dropped from 11 to 4.+- **The MCP tool result is compact JSON, and `_meta` is lean by default** (#3018, #3017). The text block no longer pretty-prints JSON, and routine responses drop `contract_version`, `timing_ms`, an untouched `response_budget`, an uncapped `completeness` block, a complete `index_scope` digest and the savings fields. `get_overview` keeps the full envelope and `MCP_CONTRACT_VERSION` moves to 3. `REPOWISE_MCP_DEBUG_META=1` restores the diagnostics and `REPOWISE_MCP_PRETTY_JSON=1` restores indented text.+- **`get_context` shares its budget across targets** (#2727). Each target gets an equal share, unused share passes to the others, and an over-budget target degrades in place instead of being dropped. When a target is dropped the response leads with `dropped_targets` and a recovery call.+- **`get_answer` reads typed identifiers and sequence questions better** (#2736, #2737). A question naming `module_page` reaches the files defining `generate_module_page`, and a "what happens when" question is answered from the entry function's call order.+- **Code Health leads with a short score headline** (#3026, #2989). The headline holds the score, the band, one line on scope and the most-changed files. The band breakdown and the method notes sit behind two closed toggles, and Fix first opens closed beneath it with its item count.+- **Fix first leads with work that is worth doing first** (#2965, #2950). A function-size item leads only when the function is far past a bar (CCN 40, 200 lines, or nesting 6 in 100 or more lines) and its branching is not one dispatch. Rust unwraps and panics, rated 1 useful in 19 across four Rust repos, no longer appear in Fix first, and unwraps that cannot panic are no longer findings.+- **Dead-code confidence reflects the evidence** (#2903, #2910, #2912, #2967, #2990, #2750). An unused export reaches 1.0 only when an importer names one of the file's symbols, otherwise it scores 0.6 and is never deletion-ready, and C, C++ and Objective-C exports never reach 1.0. A C# file no edge reaches is capped at the review tier whatever its age, and a C# file is reachable when a type it declares is named by its project or a project that references it. On `dotnet/runtime` this removes 274 C# files that were reported unreachable at 1.0 on age alone.+- **Dead code is quieter for entry points and tool-loaded files** (#2916, #2982, #2975, #2979, #2917, #2986). Files with a shebang or a `__main__` block, files a CI workflow, Makefile or manifest names by path, composer `autoload.files`, Django installed-app modules, tool config loads, C# polyfills, JMH and build-named JVM classes, and Kotlin `expect` and `actual` pairs are not reported. A folder of Dockerfiles or shell scripts is not a zombie package.+- **`repowise dead-code` and `health --refactoring-targets` read the stored results** (#2769, #2813). With an index at HEAD they return what the index stored, in the same order as MCP and the web UI, and fall back to live analysis (`--recompute` for refactoring targets) when there is no index, the index is behind HEAD, or a lower confidence floor is asked for.+- **Cohesion, duplication and hotspot findings are narrower** (#2908, #2764, #2951, #2907, #2906, #2905, #2918, #2915, #2255). Java, C#, C++ and Kotlin classes that read their own fields without `this.` are no longer split into one component per method, and Rust builders, accessor types and enums are not called low-cohesion. `dry_violation` counts clones with other files only, and a long parameter list is reported only when the author can change the signature. A function hotspot needs at least five changes. Go `select` arms and TS and JS default arms count in complexity.+- **Test, vendored, generated and build code is classified once** (#2899, #2913, #2987, #2958, #2954, #2993, #2980, #2814). `generated/` output, `external/` and `deps/` C libraries, minified trees, Gradle build logic, benchmarks, Cargo examples, JVM `qa/` projects, schema migrations and a docs site's code samples take one shared classification that dead code, Fix first, performance and refactoring read.+- **Performance findings stop advising against code that is correct** (#2911, #2923, #2981, #2984, #2969, #2898, #2968, #2985, #2964). Lock-guarded one-time initialisation and file-backed logger writes no longer get a "move I/O out of the lock" plan, and a batch plan is offered only when the loop key reaches the call. String concatenation is reported only when it grows across iterations, and `hot_path_sync_io` no longer claims a function is request-reachable.+- **Refactoring suggestions skip spans and moves that would not help** (#2914, #2960, #2973, #2952, #2956, #2970, #2976, #2991, #2930, #2932, #2816, #2751). `move_method` leaves overrides, factories, stateful methods and C# static classes alone, `extract_class` leaves data holders and trait impls alone, and an Extract Method span covering three quarters or more of a body is refused. Extract Method credits only the share of the finding that moves into the helper, and the refactoring queue never leads with a test file.+- **Extract Method infers parameters and returns correctly** (#2927, #2953, #2959). Reads inside a closure count as uses, a name the span declares stays out of the parameters, and a may-def's bookkeeping use is no longer a parameter.+- **Same-package JVM, C# and Rust cycles are labelled idiomatic** (#2983). Such a cycle is still reported, at low confidence with `idiom=same_package`, and no longer as a cut to make. Declaration-only edges no longer form `break_cycle` plans.+- **Finding triage survives re-index** (#2819). A re-detected finding that matches an acknowledged, false-positive or resolved row refreshes that row: acknowledged and false-positive stand, and resolved reopens. Finding ids are anchored on the symbol and the line offset into it, so edits above a function keep the id.+- **Next-call strings share one shape** (#2849). Actions, Fix first, health summaries and `get_risk` build their suggested calls from a tool and its arguments.+- **Opportunity lookups report `found`, not `resolved`** (#2812), and **`get_dead_code` says what its summary counts** (#2842).+- **`get_overview` and wiki ordering skip the test layer** (#2726), and **knowledge-graph layer names are unique** (#2725).+- **Provider SDK clients close on the loop that used them** (#2949), which ends leaked-client errors at exit.+- **Shared UI components can hide CLI hints and the refactoring scope control** (#3037) for an embedding that has no CLI, and the untested-hotspot rows highlight on hover again.+- **Serving logic for dead code, refactoring, performance and MCP tool selection moves into core** (#2752, #2846, #2850, #2851, #2852, #2854). Output is unchanged. Tool registration gains an `available_when` predicate.++### Fixed++- **`update` re-scores and re-parses an unchanged checkout after an upgrade** (#3035). When the health analyzer or the parser changed since the index was built, `update` says so and refreshes scores, findings and the graph instead of printing "Already up to date", so an upgraded index matches a fresh one without waiting for a new commit. No model is called.+- **Fix first Verify names tests for findings with no plan** (#3033). Such items showed an empty Verify block; they now list tests by measured coverage of the finding's lines, then tests that reach the file.+- **No batching plan for a loop that already queries a chunk at a time** (#3034). A call in a for loop's iterable is attributed to the loop around it, so a chunked query loop no longer gets a "batch the database calls" plan.+- **Go builder chains keep their call edges** (#3036). A chain such as `NewReport(...).WithPhase(...).Build()` types each link through the repository return type, including methods declared in a sibling file of the same package.+- **Update and init write the same results as a fresh index** (#2856, #2872, #2871, #2926, #2904, #2830, #2873). `split_file` plan ids, the lead finding of a tie, I/O import classification, governance findings kept across a re-score, opportunities left open by an older plan model, and the community label map no longer depend on which path wrote them.+- **The first update after init no longer rebuilds every page** (#2765). The `hooks.*` and `editor_files.*` keys init writes were read as a traversal change.+- **`init --resume` regenerates pages and decisions that were left half done** (#2883, #2482).+- **Search and index report a failed embed** (#3015). A partial LanceDB install used to exit `init` with 0 and a healthy semantic index while every page embed failed. `init` and `update` now mark semantic search unavailable, point at `repowise reindex`, and exit 1 when a real embedder failed. `doctor` reports an unopenable store as a failing row.+- **Child processes stay off the MCP stdio transport** (#3016). The git, ruff and ps calls reachable from MCP tools pass `stdin=DEVNULL`, so a child never reads the JSON-RPC pipe.+- **`get_risk(changed_files=[...])` works without targets** (#2761, #2840). It failed schema validation before the tool ran. A call with neither argument returns an error naming both.+- **An MCP server whose loaded code predates the checkout is told to restart** (#2844). `get_health` and the finding tools return the `repo='all'` error dict (#2728), and the chat dead-code card reads the tiered `get_dead_code` shape (#2729).+- **Dead-code false positives per language** (#2909, #2863, #2924, #2994, #2974, #2977, #2534, #2941). A C or C++ name written outside its declaration (a callback, a `#define` alias, a P/Invoke export, a `.def` line) counts as a use, and a use from inside a symbol's own span does not. A module-path string, `Outer.Inner` on a Python nested class, Go package-scope and import-qualified names, and a Java static member import count as uses.+- **Graph and resolvers** (#2877, #2857, #2855, #2961, #2978, #2943, #2475, #2940, #2971, #2972, #2884, #2824, #2835). Objective-C C calls in local initializers are kept, and VB.NET `Me` and `MyClass` calls resolve in the caller's own class. A C++ namespace or type opened after a macro is read as a scope. Rust `self::`, `super::` and `mod` paths and brace-group imports resolve through the module tree, and a `mod` declared inside a macro is a module import. PHP files loaded by a `__DIR__` path or a view name are linked, and PHP docblock class names no longer close an import cycle. Python `__all__` is a bounded visibility signal.+- **Health findings with wrong inputs** (#2942, #2948, #2896, #2939, #2823). `defer_in_loop` is suppressed when the next statement exits the loop, the Java package line stays out of the clone token stream, Rust local `use` paths no longer count as I/O imports, a Go string reset no longer reads as a growing concatenation, and a C# task awaited earlier in the method is not flagged as blocking on `.Result`.+- **A data step that moves no rows no longer fails the schema upgrade** (#2738). Opening a store that predated `primary_owner_line_pct` with nothing to move raised "Not an executable object: 0".+- **A failed tests-reaching request no longer reads as untested** (#2632, #2732).+- **`repowise generate --page` writes the overview in a seeded worktree** (#2748).+- **Workspace fixes** (#2524, #2160, #2828, #2489). `serve` no longer pins the workspace root's own database as the shared store, Postgres-backed watch and update route through the shared database, `.Tests` projects are skipped in contract extraction, and extraction diagnostics are no longer dropped.+- **Smaller fixes** (#2639, #2802, #2714, #2845, #2011, #2858). `rg` output for a root-level file is kept in session rewriting, doc drift treats a reader-project path as uncheckable, `get_change_risk` run lists expand a reached `conftest.py` to the tests under it, and logger levels are restored after a command silences them for machine output.+- **The web UI reads the server API key from a private variable only** (#2721).+- **Commit ids read from `state.json` are validated before they reach git** (#3039), and **the VS Code extension follows a serve lock file only when it points at this machine** (#3040).+- **Code Health is quieter, and pages stop scrolling past their content** (#3031). Hovering one Fix first row no longer lights every row, file paths are no longer accent-coloured, and the Coverage tab's chart and table colour only the files that need attention. The Code Health notice now explains this release's score changes. Pages with long tables no longer scroll a screen or more below their last row.+- **The security scan stops reporting names and rule prose as findings** (#3030). A kebab-case value such as `x-api-key` or `repowise-security-ignore` assigned to a token- or key-named variable is a name, not a secret, while values with digits or capitals still report. `verify=False` and `rejectUnauthorized: false` written in strings or comments are no longer reported; real calls still are.+- **A damaged vector store no longer stops a resumed init** (#1882). Reading its page ids fails with a warning that points at `repowise reindex`, and the pages are regenerated.+- **Workspace init shows progress while it persists generated pages** (#2158), and **the server's staleness check counts stale pages without loading their content** (#2257).++### Performance++- **`get_risk` reads only the targets' graph neighbourhood** (#2763). On a 4.4k-file index a call dropped from about 40 s to about 0.5 s, and PR mode from 41 s to 1.5 s, with identical responses.+- **Full-text and vector writes are batched** (#2780, #2880, #2868). A full re-render of redis (2,314 pages) dropped from 124-127 s to 92.8 s and from 20.1 GB read to 1.84 GB. LanceDB's metadata cache is capped at 64 MiB instead of 1 GiB so generation memory stops climbing.+- **Init and persist use less memory and time** (#2864, #2874, #2866, #2867, #2869, #2870, #2865, #2878, #2875). Bulk upserts flush in batches, new rows go in as bulk inserts, and the security scan masks comments and strings once and only when a pattern can match. Blame entries are shared per commit, the symbol subgraph and per-file dataflow parses are released after use, complexity passes walk each tree once, and init takes three serial waits off its critical path.+- **`get_answer` builds graph projections once per index state** (#2735), and **`repowise update` reads the stored vector width from a record instead of opening LanceDB** (#2861, about 1.4 s per update on a real embedder).++### Documentation++- **README, benchmarks and user docs are rewritten around each reader's task** (#3002, #2400). Layer docs share one shape, internals move to `docs/architecture/` and field dictionaries to `docs/reference/`, and new pages cover ownership, troubleshooting, MCP response fields, hooks and workspace contracts. `docs/agent/LENS.md` documents Lens.+- **Reference pages match the code** (#2724, #2731, #2759, #2760, #2815).++### Dependencies++- **Open npm and Python security advisories patched** (#2723). next 15.5.27, sharp 0.35.5, dompurify 3.4.16, js-yaml 4.3.2, undici 7.30.0, vitest 4.1.11; pyjwt 2.15.1, urllib3 2.8.0, anyio 4.14.2, and the minimum litellm moves to 1.90.7.+## [0.54.0] - 2026-09-30Most of this release is about getting the facts right. Tests showed up as entry points, a package's real CLI did not, a file renamed last month started its history from zero, one person counted as three contributors, and dead-code reports flagged config files that a tool loads by name. Each of those came from a rule that guessed where it could have read the answer from the repository itself: the manifest, git's rename records, the symbol table. This release reads it.diff --git a/packages/server/src/repowise/server/__init__.py b/packages/server/src/repowise/server/__init__.pyindex 07ed48e1a..6a1ba9d09 100644--- a/packages/server/src/repowise/server/__init__.py+++ b/packages/server/src/repowise/server/__init__.py@@ -7,4 +7,4 @@ Provides:- Background job scheduler (APScheduler)"""-__version__ = "0.54.0"+__version__ = "0.55.0"diff --git a/plugins/claude-code/.claude-plugin/plugin.json b/plugins/claude-code/.claude-plugin/plugin.jsonindex 0ed7e1fc0..9ae7f0671 100644--- a/plugins/claude-code/.claude-plugin/plugin.json+++ b/plugins/claude-code/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "repowise","description": "Codebase intelligence for Claude Code. Indexes your codebase into five layers (Graph, Git, Docs, Decisions, Code Health) and exposes them through ten task-shaped MCP tools — so Claude understands architecture, ownership, hotspots, why code is built the way it is, and where the defect risk lives.",- "version": "0.54.0",+ "version": "0.55.0","author": {"name": "Repowise","email": "[email protected]",diff --git a/plugins/claude-code/CHANGELOG.md b/plugins/claude-code/CHANGELOG.mdindex e21ad160c..fec8a4f32 100644--- a/plugins/claude-code/CHANGELOG.md+++ b/plugins/claude-code/CHANGELOG.md@@ -2,7 +2,7 @@All notable changes to the Repowise Claude Code plugin are documented here.-## Unreleased+## 0.55.0### Added- Lens, a Claude Code mod that ships in the plugin (`hooks/lens/lens.js`,@@ -29,6 +29,21 @@ All notable changes to the Repowise Claude Code plugin are documented here.[docs/agent/LENS.md](../../docs/agent/LENS.md) and its[footprint](../../docs/agent/LENS.md#footprint).+### Changed+- The `code-health` skill leads a "what should I refactor?" answer with the+ `fix_first` queue and opens an item with `get_health(fix_id=...)` for its+ steps and the tests to run.+- The `ask` command follows the `candidate_files` that `get_answer` now+ returns at every confidence. The `context` command and the+ `codebase-exploration` skill note that a symbol row without a `symbol_id` is+ addressed as `path::name`.+- No MCP tool was added, removed or renamed, and `hooks.json` still mirrors the+ augment matcher in `claude_config.py`.++### Fixed+- The `security` command passed `--output json` to history scans; the flag is+ `--format json`.+## 0.54.0### Changeddiff --git a/plugins/claude-code/commands/security.md b/plugins/claude-code/commands/security.mdindex 547e134ad..a4ff00be0 100644--- a/plugins/claude-code/commands/security.md+++ b/plugins/claude-code/commands/security.md@@ -32,7 +32,7 @@ working-tree scan.)Handle `$ARGUMENTS`:- "history" / "full" / "scan history" → `repowise security scan --history`-- "json" with history → `repowise security scan --history --output json`+- "json" with history → `repowise security scan --history --format json`- "all" / "all-patterns" with history → `repowise security scan --history --all-patterns`- A path → `repowise security scan --history --path <dir>`- "since <rev>" / "to <rev>" → pass `--since` / `--to` accordingly@@ -40,7 +40,7 @@ Handle `$ARGUMENTS`:```repowise security scan --historyrepowise security scan --history --since v1.0.0 --to HEAD-repowise security scan --history --all-patterns --output json+repowise security scan --history --all-patterns --format json```## Notesdiff --git a/plugins/shared/commands/security.md b/plugins/shared/commands/security.mdindex a774ea669..ad501d1c6 100644--- a/plugins/shared/commands/security.md+++ b/plugins/shared/commands/security.md@@ -33,7 +33,7 @@ working-tree scan.)Handle `$ARGUMENTS`:- "history" / "full" / "scan history" → `repowise security scan --history`-- "json" with history → `repowise security scan --history --output json`+- "json" with history → `repowise security scan --history --format json`- "all" / "all-patterns" with history → `repowise security scan --history --all-patterns`- A path → `repowise security scan --history --path <dir>`- "since <rev>" / "to <rev>" → pass `--since` / `--to` accordingly@@ -41,7 +41,7 @@ Handle `$ARGUMENTS`:```repowise security scan --historyrepowise security scan --history --since v1.0.0 --to HEAD-repowise security scan --history --all-patterns --output json+repowise security scan --history --all-patterns --format json```## Notesdiff --git a/pyproject.toml b/pyproject.tomlindex e6e454577..8b122f732 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"[project]name = "repowise"-version = "0.54.0"+version = "0.55.0"description = "The codebase intelligence layer for your AI coding agent — dependency graph, git history, dead code, decisions, and code health, exposed over MCP"readme = "README.md"requires-python = ">=3.11"diff --git a/server.json b/server.jsonindex b20425e13..760bc79c0 100644--- a/server.json+++ b/server.json@@ -8,12 +8,12 @@"source": "github"},"websiteUrl": "https://www.repowise.dev",- "version": "0.54.0",+ "version": "0.55.0","packages": [{"registryType": "pypi","identifier": "repowise",- "version": "0.54.0",+ "version": "0.55.0","transport": {"type": "stdio"},diff --git a/uv.lock b/uv.lockindex e52aa6bad..ee477281e 100644--- a/uv.lock+++ b/uv.lock@@ -3051,7 +3051,7 @@ wheels = [[[package]]name = "repowise"-version = "0.54.0"+version = "0.55.0"source = { editable = "." }dependencies = [{ name = "aiosqlite" },