Repository cost mapping
Repository cost mapping links a repository, or one component of a monorepo, to the cost items it
defines or deploys: a cloud resource, a Kubernetes workload or namespace, a tag value, a service or
a linked account. Plutus suggests the links. An admin confirms them. It all happens on the
Repositories page (/repositories).
A confirmed mapping is what lets automated fixes find the place in a repository to change.
Before you start
Section titled “Before you start”- Connect the Plutus GitHub App. Plutus can only read the repositories you selected when you installed it.
- An admin turns on Read repositories (below). Installing the App doesn’t turn it on.
If the page says repository mapping isn’t available yet, it hasn’t been switched on for your account.
Settings
Section titled “Settings”The Settings tab holds three switches. Only admins can change them.
- Read repositories: read infrastructure files in connected repositories to suggest which cost items each one owns. Off by default. While it’s off, the page says no new suggestions are being made.
- Include forks: also read repositories that are forks of another repository.
- Use the model for matching: off by default. When on, Plutus sends structured identifiers to Amazon Bedrock to help match what its rules leave open (see what is sent). It never sends code or file contents. It needs AI features to be on for the account.
Plutus reads infrastructure definitions such as Terraform, CloudFormation, Kubernetes manifests, Helm charts, Dockerfiles, GitHub Actions workflows and CODEOWNERS files.
How matches are made
Section titled “How matches are made”Plutus’s rules settle exact matches: a literal value in a repository, such as a resource name or a tag value, that matches a cost item exactly. With Use the model for matching on, a model also suggests pairs the rules couldn’t settle. Those rows carry a small sparkle mark beside the name. Its popover says a model compared the repository’s name, tags and files with the cost item, and that the match can be wrong. A model suggestion is a proposal, not a fact, and AI can make mistakes, so open Evidence and check it like any other.
If you turn the model off, its open suggestions are hidden from the review queue at the next read. Mappings a person confirmed or rejected stay as they are.
Reviewing suggestions
Section titled “Reviewing suggestions”The Review tab lists suggested mappings, most spend first. Each row reads repository, then the cost item, with the cost source, the match strength and the 30-day spend below. For a rule match the strength is the match kind and a confidence percentage. For a model suggestion it is a confidence percentage. An Also claimed by another repository badge means another repository claims the same cost item. Evidence shows what the suggestion is based on, including the model’s note for a model suggestion.
Admins act on each suggestion. Confirm is on the row. Change and Reject are in the row’s More actions menu.
- Confirm accepts it. The mapping moves to the Mapped tab.
- Change lets you enter a different matched value, then Save and confirm.
- Reject removes it. It isn’t suggested again unless the evidence behind it changes.
- Confirm N exact matches confirms, in one step, every suggestion that matches a literal value exactly. Anything else stays for review.
Other roles can see the queue but not decide.
Mapped repositories and coverage
Section titled “Mapped repositories and coverage”The Mapped tab lists confirmed mappings by cost item, most spend first. An admin can Unconfirm a mapping, which moves it back to review, or Delete one that a person created.
The Coverage tab shows, per cost source, how much spend is mapped. Mapped spend adds up the 30-day spend snapshots of confirmed mappings.
In the MCP server
Section titled “In the MCP server”The MCP server tool list_repo_cost_mappings lists
mappings with their match kind, confidence, 30-day spend and conflict flag. It returns confirmed
mappings by default. It returns no code, file paths or excerpts, and it can’t confirm or reject;
that stays in the app.