rosetta-conflicts

rosetta-conflicts is a command for Claude Code from tjboudreaux/rosetta. It costs 68 tokens per session (724 once invoked), scanned A, original, MIT.

A command that audits a Rosetta decision library for competing records, decisions contradicted by code, and records whose referenced code has changed.

In plain words
What is it for?
Use it before relying on stored decisions, or when checking what is contradictory, unresolved, stale, or no longer supported by the code.
Why use it?
It shows when the library cannot give one trustworthy answer because its records are unresolved, outdated, or inconsistent with the repository.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is python3 scripts/decisions.py resolve --root decisions --text "<topic>" # conflict=true => unresolved.

Part of the rosetta plugin — 1 skill, 3 commands shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add tjboudreaux/rosetta
Claude Code
/plugin install rosetta

Made for: Claude Code.

Or install rosetta, the plugin that ships this one along with the rest of its 1 skill, 3 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rosetta-conflicts

README.md
[![agentmods](https://agentmods.dev/badge/commands/tjboudreaux/rosetta/rosetta-conflicts.svg)](https://agentmods.dev/commands/tjboudreaux/rosetta/rosetta-conflicts)
Your own site
<a href="https://agentmods.dev/commands/tjboudreaux/rosetta/rosetta-conflicts"><img src="https://agentmods.dev/badge/commands/tjboudreaux/rosetta/rosetta-conflicts.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 724 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.00724
Opus 5 $0.00034 $0.00362
Sonnet 5 $0.00014 $0.00145
Haiku 4.5 $0.00007 $0.00072

Measured 5d ago against content hash 52fafbbff54e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

rosetta-conflicts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/rosetta/commands/rosetta-conflicts.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/rosetta-conflicts — audit the decision library for unresolved/stale/contradicted decisions

A decision library is only trustworthy if it uniquely resolves each question. This command finds where it doesn't — the exact failure that silently produced wrong answers in Rosetta's Phase-0 evals (two Accepted records for the same thing).

Workflow

1. Conflicts — multiple current records for one query

For each major subsystem/topic (or the user's $ARGUMENTS scope), run the resolver and report any conflict: true:

python3 scripts/decisions.py resolve --root decisions --text "<topic>"   # conflict=true => unresolved

List each conflict with its competing current record ids and recommend the fix (disambiguate by scope, or supersede the losing side). These are the highest-priority items — a conflicted library will hand an agent the wrong answer.

2. Code-vs-decision contradictions (truth hierarchy: code wins)

For each Accepted decision, check whether the code it cites still supports it:

  • decisions.py search --root decisions --status Accepted to enumerate live records,
  • read each record's Sources: paths and git log -1 -- <path>,
  • flag any where the current code contradicts the decision (e.g., ADR says Postgres, code imports a cloudsql client) — recommend either updating the code or superseding the ADR.

3. Staleness — cited code moved on

Flag Accepted records whose cited code/commit has changed materially since the record's date (the drift failure mode from the research: silent updates leave a confidently-wrong oracle). Two resolution paths:

  • Code moved but the decision still holds → add Reviewed: <YYYY-MM-DD> to the record (ADR 0027). This acknowledges the code change without corrupting the decision timeline — the staleness guard treats Reviewed: as a re-flaggable baseline, not a permanent override, so any future change re-flags it. Run decisions.py staleness --root decisions to see which records need review.
  • Code moved and the decision is now wrongsupersede the ADR with a new one that reflects the current code, or re-run rosetta to refresh the library.

Read the full file on GitHub · 50 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 50 lines · 68 tokens per session scan A 52fafbbff54e

Subscribe to this mod's changes

rosetta-conflicts is a command published in the GitHub repository tjboudreaux/rosetta (2 stars, last pushed 1mo ago), licensed MIT. It adds 68 tokens to every session and 724 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.