Index your codebase once. Your agent stops grepping, your team stops guessing
which change is dangerous, and both get their answers from the same place.
To set up with an agent, paste this into it:
Read https://docs.repowise.dev/setup.md and set up Repowise in this repository.
By hand: the Quickstart gets you indexed and connected to
your agent in under five minutes, with no API key.
For a map of every layer and how they feed each other, read
layers/INTELLIGENCE_LAYERS.md .
Doc
What it covers
layers/CODE_HEALTH.md
Defect risk, maintainability and performance risk per file, and the Fix first queue
layers/PERFORMANCE.md
N+1 queries, I/O in loops and blocking calls, grouped into plans and a default queue
layers/RUNTIME_EVIDENCE.md
Profiles, benchmark results, test timings and query counts from your own runs, joined to the functions they measured
layers/REFACTORING.md
Graph-aware refactoring plans, from Extract Method to Performance Fix
layers/OWNERSHIP.md
Owners, bus factor, and where knowledge is at risk
start/DASHBOARD.md
Every view in the local dashboard
Doc
What it covers
layers/DEAD_CODE.md
Unreachable files, unused exports and zombie packages, with confidence tiers and deletion readiness
Know if a change is risky
Doc
What it covers
layers/CHANGE_RISK.md
Score a commit, a base..head range or uncommitted work against your repo's own history
layers/BUG_HISTORY.md
Which files and functions keep getting fixed, and how recently
layers/SECURITY.md
The local scan: 22 pattern kinds plus a symbol-name scan, history scanning for secrets, and its limits
start/CI.md
Gate pull requests with the GitHub Action or the GitLab template
start/OFFLINE.md
Keyless and air-gapped runs, local semantic search with Ollama, and Repowise in a benchmark harness
Know what landed, and who wrote it
Doc
What it covers
layers/CHANGES.md
Change Records: each merged PR, MR or commit read back from git, with an in-toto export
layers/ATTRIBUTION.md
AI attribution: public markers read by default, opt-in edit capture, and coverage beside every share
Govern change across a team
Doc
What it covers
layers/COMPONENTS.md
Backstage-shaped components, declared owners against recent activity, events and package usage
layers/POLICY.md
Change policy in .repowise/policies.yaml, checked locally or in CI with SARIF and JUnit
layers/REPORTS.md
Assessment, change evidence and inventory packs to hand to an auditor, acquirer or board
Doc
What it covers
layers/TEST_INTELLIGENCE.md
Coverage ingestion, untested hotspots, and the tests a diff touches, with or without a report
Generate and keep docs current
Understand why code is this way
Doc
What it covers
layers/DECISIONS.md
Architectural decisions mined from your repo and your agent sessions
Use GitLab, Azure DevOps or Bitbucket
Doc
What it covers
start/GIT_HOSTS.md
What works on each git host and CI, and how to name a self-managed host
Evaluate repowise for my company
Doc
What it covers
reference/CLI_REFERENCE.md
Every command and flag
reference/API_REFERENCE.md
The repowise serve HTTP API: what OpenAPI does not carry (spend, auth, errors, streaming)
reference/CONFIG.md
.repowise/config.yaml, health-rules.json, and environment variables
reference/MCP_RESPONSE_FIELDS.md
The field dictionary for every MCP response, including the _meta envelope
reference/HOOKS_REFERENCE.md
The exact settings entries each hook install writes
reference/PLUGINS.md
Build, test and publish a plugin: entry points, every registry and seam, and how one is chosen
reference/CHANGE_REVIEW_API.md
Reviewing a change from Python, with or without a checkout
reference/PACKAGE_USAGE.md
Where third-party packages are imported, the CycloneDX export, and reading Syft, SPDX or OSV files
reference/WORKSPACE_CONTRACTS.md
How a workspace names, reads and matches cross-repo contracts
reference/COMPUTED_GLOSSARY.md
Definitions for every computed metric
reference/TELEMETRY.md
What anonymous telemetry collects, and how to turn it off
start/USER_GUIDE.md
The everyday guide to how the pieces fit
CHANGELOG.md
Release history
Agent and editor pages: Codex ·
opencode · Hermes ·
VS Code ·
Lens for Claude Code ·
Claude Code as a provider ·
all integrations .