Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

18.2 KB
Raw Blame

Changelog

Notable changes to the Repowise VS Code extension. The extension versions independently of the repowise Python package; the only cross-version coupling is the minimum server version it checks against.

This file starts at 0.7.0. Earlier releases are described in the repository's release history.

0.14.0

Code Health findings come with the rule that silences them and an agent prompt ready to copy, and the graph path finder lists every route between two nodes.

Requires repowise 0.47.0 or newer. The minimum has not moved; repowise 0.59.0 fills every view in this release.

Code Health

  • Findings carry the rule that silences them and an agent prompt ready to copy.
  • Untested complexity and per-function coverage (CRAP) show when a coverage report is loaded.
  • Apex and COBOL findings read with proper labels, and six performance findings show readable names.

Graph

  • The path finder lists every route between two nodes.
  • Keyboard shortcut help is rewritten.

Overview

  • Dashboard figures name the window they measure: 6-month bug fixes beside 90-day churn.

0.13.0

The Overview opens on what to do next, Code Health gets a zoomable folder map, and findings read more calmly, each with an agent prompt ready to copy.

Requires repowise 0.47.0 or newer. The minimum has not moved; repowise 0.58.0 fills every view in this release.

Overview

  • A short Overview leads with what to do, and Do next folds open on request.
  • The performance headline names the causes worth fixing now.

Code Health

  • A zoomable folder map with lenses, a held-out scope and a context rail.
  • Each file shows what its score lost to code shape, change history and test coverage.
  • Health markers carry plain display labels; bumpy road is called repeated nesting.
  • Findings cards use hairline outlines with a ghost agent prompt, and the performance queue follows the same treatment.

Everywhere

  • File paths keep the filename visible however narrow the panel.
  • Doc drift diagnostics follow your edits as you type (#2782).

0.12.0

Every dashboard now shares one set of states, palette and controls, Code Health gets a clearer map with a file drawer and trend, refactoring plans carry their tests, decisions and consumers, and the extension follows your VS Code theme more closely.

Requires repowise 0.47.0 or newer. The minimum has not moved. The "No dead code" confirmation in the Dead Code tree needs repowise 0.56.0 and reads "Not analysed yet" on an older server; agent prompts for refactoring plans come from the server on 0.56.0 and are built locally on older ones.

Code Health

  • The map, file drawer and trend work for repositories of every size.
  • The headline band is held back when most code files are not analysed, so the score only appears when it reflects the repository.
  • Fix first leads with work that pays, and each item carries its first step and verify command. A plan-led finding opens its stored plan.
  • Repositories with no hotspot files say so plainly.

Refactoring

  • Extract Method plans can be staged across several helpers, each step with its own verify, anchored by its first and last lines. The helper's name is left to whoever applies the plan.
  • A plan can be exported as a recipe, and the agent prompt for a plan or opportunity is rendered by the server so every surface hands an agent the same text.
  • Plans list the tests that guard them and carry decisions, consumers, dead code and recent edits.

Views and trees

  • Loading uses the thinking orb. Empty, not-yet, filtered and error states are told apart across Code Health, Refactoring, Decisions and the sidebar trees, and a failed tree row offers one click to retry.
  • The Dead Code tree says "Not analysed yet" until an analysis has run, then "No dead code" with a pass icon.
  • Risk leads with the size percentile, and files changed since a stale coverage report wait for a fresh report before showing coverage.
  • One chart palette and one share bar are used everywhere.

Docs

  • The docs Export menu opens above the header.

Theme and accessibility

  • Views follow your VS Code theme, with consistent names and accessible controls.

0.11.0

Code Health gets a shorter lede and a grey "Not analysed" state, markdown documents now show documentation drift in the Problems panel, and the risk view reports patch coverage. The extension can also publish an indexed repository to repowise.dev from the command palette.

Requires repowise 0.47.0 or newer. The minimum has not moved. Two additions need a newer server and stay quiet on an older one: documentation drift in the Problems panel needs repowise 0.52.0, and patch coverage in the risk view needs repowise 0.54.0.

Documentation drift

  • Markdown documents show findings in the Problems panel when they name code that was renamed or deleted, with the suggested replacement in the message. It has its own repowise.docDrift.diagnostics settings, so it switches off without touching the health diagnostics.

Risk

  • The risk view shows patch coverage for the branch: the share of changed executable lines that tests ran, and the changed lines no test reached.

Code Health

  • The dashboard lede is shorter: the score, its band, one line on scope and the files that changed most. The band breakdown and the notes on how the score is built sit behind closed toggles.
  • A file in a language health cannot analyse is drawn grey on the map and labelled "Not analysed" instead of showing a score nobody measured. It gets no gutter or Explorer decoration, and the lede says how many files a score left out.
  • A fall in the trend caused only by recent churn is described as history, not raised as an alarm, and maintainability is watched on its own.
  • One band vocabulary (Excellent, Good, Fair, Needs work, At risk) is used across the map, the lede and the file lists, and a displayed score no longer rounds up into the next band.
  • Lists no longer highlight every row when the pointer is over their section.

Refactoring

  • An opportunity whose steps cannot be loaded still shows its facts and triage control, and says how many steps are missing.

Graph, architecture and docs

  • The architecture graph opens on the Files view with community links bundled, and a community can be entered to see its own files.
  • The System Context view lists runtime services and leaves out the repository's own packages and plain libraries.
  • Communities beyond the first twenty can be chosen when narrowing the graph.

Sharing

  • Repowise: Publish to repowise.dev runs repowise publish in the Repowise terminal. One prompt offers it after setup and is never repeated, and the connected status-bar tooltip and the walkthrough link to it.

Fixes

  • The extension follows a serve.lock.json only when its URL points at this machine, so a cloned repository cannot name another host.
  • Open npm and Python security advisories are patched in the bundled dependencies.

0.10.0

The refactoring view stops listing detector outputs and starts listing work. One row per file, its steps in dependency-safe order, how many of them are mechanical, and a lifecycle you can move it through. The health dashboard gains the performance lens on the same map.

Requires repowise 0.47.0 or newer. The dashboard reads /health/map and the refactoring view reads /refactoring/opportunities, neither of which an earlier server serves, so the status bar flags an older one and asks you to upgrade with pip install --upgrade repowise.

Refactoring

  • A file appears once, as a composed opportunity, rather than once per finding it triggered. The row carries its step count, how many steps are mechanical, and whether the plan addresses what is actually costing the file most.
  • Opening a row loads its steps and evidence on demand, and the AI prompt is built for the opportunity rather than for a single plan.
  • A plan the gates cannot prove behaviour-preserving is suppressed rather than offered (#1984).
  • Opportunity row columns align below the narrow breakpoint, which is most of the time in a side panel.

Health

  • The dashboard reads the health map, so the performance lens sits on the same view as the rest of health instead of beside it.
  • A repeated-cost cause is named by the caller that repeats the work, not only the sink that pays for it, so a shared helper no longer merges unrelated workflows.

Shared UI

  • Loading motion moved from the box to the region, so a panel resolves as one thing rather than a grid of independently twitching cards.
  • The dark overlay plane and the wells nested inside it settle, model work has its own accent instead of borrowing orange and green, and the AI prompt modal uses hairlines instead of a filled well.

0.9.0

Mostly a rebuild. The webviews compile the shared Repowise UI at build time, so two cycles of work on the graph, health and refactoring components reaches the extension here rather than when it was written.

Requires repowise 0.45.0 or newer. The refactoring views read the unified recommendation contract that 0.45.0 introduced, so the status bar flags an older server and asks you to upgrade with pip install --upgrade repowise.

Refactoring

  • A performance finding links to the refactoring plan that addresses it, so a slow path in the health view leads somewhere instead of ending as a note.
  • Recommendations arrive on one contract across health and refactoring, which removes the cases where the same plan read differently in two views.

The graph

  • Call edges say how they got into the graph, so an inferred edge can be told apart from a resolved one.
  • C++ scoped and chained calls resolve against their qualifier and return type, a Rust macro invocation is no longer drawn as a function call, and a receiver retyped by a framework decorator is typed correctly. Fewer wrong edges.
  • A subclass is no longer listed as a caller of the method it inherits.

Health

  • The Coverage tab is a Tests tab and answers on a repository that has never ingested a coverage report, using the call graph and saying which tier answered.
  • It reports how many tests reach a file rather than how many it happened to list.
  • The risk panel names the diff-shape score as supporting evidence rather than a verdict, and ranks fix density against commits rather than individual files.
  • The file detail page is on the design language and has its way in and out.
  • Timestamps render as UTC rather than in whatever the host machine assumed.

0.8.0

The views are on the current design language, and the risk panel now leads with where a change lands rather than with how big it is. Much of the rest arrived with a rebuild: the webviews compile the shared Repowise UI at build time, so improvements to the shared components ship here when the extension is rebuilt.

Requires repowise 0.43.0 or newer. The risk panel reads a payload field no earlier server sends, so the status bar flags an older one and asks you to upgrade with pip install --upgrade repowise.

Design language

  • Two local copies of the health score colour called anything at or above 7.5 healthy-green, while the canonical bands start Healthy at 8 and the shared ramp paints 7.5 to 7.99 amber. The health panel therefore printed a file's score in green beside a map colouring the same file amber. Both copies are gone, so the figure, the map and the web app's file table now agree.
  • High-contrast themes get a high-contrast treatment. They used to fall through to the ordinary ramps, so a user who explicitly asked for high contrast got 0.07-alpha hairlines and ordinary tertiary text. The brand palette stays: editor greys have no vocabulary for a health band, and remapping would trade contrast for making the map unreadable as data.
  • Health takes the same lede, map, lens switcher, legend and trend the web page leads with. Churn is a lens over the map rather than its own quadrant chart, fetched on selection and joined onto the map rows by path.
  • Settings takes the shared rows, switches, inputs and save indicator, and stamps each write so a slow response cannot undo a newer one. The optimistic update and its rollback are unchanged.
  • The risk view's thirty card wrappers, none of them clickable, become hairlines and vertical rhythm, with the score on the shared page lede. The home sidebar's two statistics lose their card chrome; the seven launchers keep theirs, because those are navigation buttons.
  • Decisions takes the shared status mark, whose proposed colour differed from the local copy's.

Change risk

  • The panel leads with the repo-relative ranking. The classification and percentile are the headline, the raw 0-10 score drops to a secondary line that names the corpus it is anchored to, and a new note says which of the touched files have broken before and where that sits among the repo's own fix-bearing files. That is the signal the score cannot see: the score restates diff size, so a small edit to a file that keeps breaking used to read safer than a large mechanical change to files that never have.
  • probability is gone from the payload. It was the score divided by ten with extra decimal places, presented as a second, more precise-looking number for the same quantity.
  • The language-model tool description says what the tool now returns, so an agent asking for it is told to read the fix history before the score.

Decisions

  • Dismiss dismisses. The button sent "deprecated", which the engine keeps re-deriving on every re-index, so dismissing a wrong proposal did not stick. A Dismissed filter comes with it, without which a dismissal is a one-way door with nothing able to show or undo it.

Docs

  • The low-confidence banner is gone from pages that were never uncertain. One confidence value meant two things: a page whose provider call failed, and the page an index built without an API key renders deterministically on purpose. On a keyless index the banner therefore landed on the repository overview and every subsystem page, about content assembled entirely from the parse, the import graph and git history. A page that really did lose its prose to a provider error now says so in one line at the end of the content, beside the affordance that fixes it, with no alarm colour. It reads correctly against a wiki published before this change, with no reindex.

Refactoring

  • Performance plans use the same refactoring webview, tree and CodeLens as structural plans. Priority comes from the canonical shared contract, and the drawer renders validation basis, provenance, true totals, capped tests and commands through shared UI components. Missing fields from older servers degrade cleanly; the extension does not import web code or execute a plan.

  • An extract-helper plan names a directory as its destination. It used to prefer a graph community label, which named a directory the duplicated code did not live in: censused over 963 stored plans, all 905 that carried a label pointed somewhere none of the occurrences were. Plans stored before the fix still render, falling back to the old field only when there is no directory.

0.7.0

The webviews compile the shared Repowise UI components at build time, so most of what changed here arrived with a rebuild rather than with edits to the extension itself. Everything below is visible in the editor.

Docs

  • The tree reads as a table of contents rather than a directory listing. Every group on the top rung opens on load and nothing below it does, so the first screen is the outline: the layers, the orientation chapters and the way into the file corpus. Expanding every rung used to put roughly ninety module rows in front of you once layers grouped every module in the repo; limiting the depth holds that back without hiding the outline to do it.
  • The file corpus closes the tree, still collapsed. It is a reference rather than a section, and its row count was setting the shape of what you met first.
  • Selecting a page opens the chapters above it, so a deep link no longer highlights a row inside a collapsed parent.
  • Outline group rows drop their folder glyph and their trailing graph link. Rows with no page behind them were the one place the no-icons rule never reached.
  • An unclaimed module no longer poses as a layer, a top-level row shows its count only when the number is meaningful, and modules group under the layer their members belong to.
  • Diagrams scale to the column they are read in. They rendered at natural size inside a scroll box, so an architecture map arrived clipped mid-subgraph with two scrollbars over it. Width only, never enlarged past 1:1, and the height is reserved so a fitted diagram does not sit in a pool of empty space. Maximize still pans and zooms for the dense ones.
  • The docs page no longer loads every page's body to draw the tree. On a large repository that was several sequential round trips and tens of megabytes of text the tree never renders.
  • One breadcrumb instead of two, correct reader height, wrapping backlinks, and links that land where their label says.
  • The command palette answers a keypress once rather than racing itself.

Architecture

  • One scope control instead of two. Scope used to live in both the tab strip and a floating pill cluster, with the same option appearing twice on one screen. Tabs select the dataset now and scope is a single labelled control.
  • The canvas stopped doing per-node and per-frame work it did not need, which is most of the several seconds the view used to spend arriving.
  • The view no longer blames the backend while data is still loading.
  • Structurizr DSL export, built on typed node ids.

Health and refactoring

  • Code Health rebuilt on the section design language: a sentence above each figure saying what the figure means, hairlines instead of a grid of near-identical bordered cards.
  • The refactoring view leads with what the plan pile actually is. The priority-by-effort quadrant plotted a small fraction of plans because most rate small effort and the axis was one column; it is replaced with charts whose axes spread.

Graph and decisions

  • Graph canvas performance work from the architecture pass applies here too.
  • Decisions rebuilt on the section design language.

Notes

  • Requires a Repowise server at 0.26.0 or newer, unchanged from 0.6.0.