# Guides

A map of the Repowise guides, grouped by what you want to do with your codebase, from understanding it to changing it safely and automating the index.

Each guide covers one thing Repowise computes from your code and its history,
what it is for, and how to read it from the CLI, the dashboard and your agent.
They are grouped by the job in front of you. How the five layers (graph, git
history, documentation, decisions and health) fit together is on
[How it works](https://docs.repowise.dev/getting-started/how-it-works).

## Understand your code

- [Dependency graph](https://docs.repowise.dev/intelligence/dependency-graph): files and symbols with every call edge, resolved without a model.
- [Git history](https://docs.repowise.dev/intelligence/git-history): hotspots, co-change pairs and churn from your commits.
- [Ownership](https://docs.repowise.dev/intelligence/ownership): who owns each file, bus factor, knowledge risk and reviewer suggestions.
- [Components](https://docs.repowise.dev/intelligence/components): a component catalog that health, hotspots and tests roll up to.
- [Generated documentation](https://docs.repowise.dev/intelligence/auto-wiki): a documentation page for every module, kept current on each commit.
- [Documentation built from code](https://docs.repowise.dev/intelligence/deterministic-wiki): documentation rendered from structure, with no key and no spend.
- [Package pages](https://docs.repowise.dev/intelligence/package-pages): one page per monorepo package, written from its Public API.
- [Architecture diagrams](https://docs.repowise.dev/intelligence/architecture-diagrams): C4 views and a Structurizr export, drawn from the graph.
- [Decisions](https://docs.repowise.dev/intelligence/decisions): architectural decisions linked to the files they govern and served to agents.
- [AI attribution](https://docs.repowise.dev/intelligence/ai-attribution): which commits a coding agent wrote.

## Change code safely

- [Change risk](https://docs.repowise.dev/intelligence/change-risk): rank a commit or range against your repository's recent changes.
- [Change records](https://docs.repowise.dev/intelligence/change-records): every merged change with its evidence and later outcomes.
- [Change policy](https://docs.repowise.dev/intelligence/change-policy): hold critical changes to a higher bar with `repowise check`.
- [Bug-fix history](https://docs.repowise.dev/intelligence/bug-history): which files and functions keep needing fixes.
- [Test intelligence](https://docs.repowise.dev/intelligence/test-intelligence): risky untested files and the tests a diff exercises.
- [Documentation drift](https://docs.repowise.dev/intelligence/doc-drift): paths, commands and symbols in your markdown that are missing from the code.

## Improve the codebase

- [Code health](https://docs.repowise.dev/intelligence/code-health): a 1 to 10 score per file and a ranked Fix first list.
- [Performance](https://docs.repowise.dev/intelligence/performance): code that wastes work as data grows, grouped into one fix per cause.
- [Runtime evidence](https://docs.repowise.dev/intelligence/runtime-evidence): profiles, benchmarks and query counts joined to your functions.
- [Dead code](https://docs.repowise.dev/intelligence/dead-code): unreachable files, unused exports and unused packages, with confidence.
- [Security signals](https://docs.repowise.dev/intelligence/security-signals): dangerous calls and committed credentials.
- [Refactoring](https://docs.repowise.dev/intelligence/refactoring): one graph-aware plan per refactoring opportunity.
- [Evidence reports](https://docs.repowise.dev/intelligence/evidence-reports): a repo report, assessment, change pack, inventory and estate documents from the local index.

## Work across repositories

- [Overview](https://docs.repowise.dev/multi-repo): what a workspace adds when your system spans several repositories.
- [Workspace quickstart](https://docs.repowise.dev/multi-repo/workspace-setup), [cross-repo intelligence](https://docs.repowise.dev/multi-repo/cross-repo), [system map](https://docs.repowise.dev/multi-repo/system-map), [blast radius](https://docs.repowise.dev/multi-repo/blast-radius), [breaking changes](https://docs.repowise.dev/multi-repo/breaking-changes), [conformance](https://docs.repowise.dev/multi-repo/conformance), [architecture metrics](https://docs.repowise.dev/multi-repo/architecture-metrics) and [workspace MCP](https://docs.repowise.dev/multi-repo/workspace-mcp).

## Automate

- [Gates in CI](https://docs.repowise.dev/ci): fail pull requests on new findings, change risk or policy, and run only the tests a change needs.
- [Auto-sync](https://docs.repowise.dev/auto-sync): keep the index current with a post-commit hook, a watcher or webhooks.
- [Git worktrees](https://docs.repowise.dev/worktrees): index a linked worktree from its base checkout.
- [Large monorepos](https://docs.repowise.dev/large-monorepos): index a multi-million-line repository with full history.
- [Local dashboard](https://docs.repowise.dev/dashboard): every layer in your browser, read from the local index.

## Next

- [How it works](https://docs.repowise.dev/getting-started/how-it-works) the five layers behind every guide.
- [Code health](https://docs.repowise.dev/intelligence/code-health) the most common place to start.
