resolve

A guided command for deciding which of two equally supported research claims should remain active when automatic conflict resolution cannot choose.

In plain words
What is it for?
Use it to review both claims, choose a winner, mark the other as replaced, verify the updated compilation, and commit the change to Git.
Why use it?
It removes the need to edit claim records by hand and helps keep the research record consistent after a disagreement.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/grainulation/wheat/resolve
Clone the repo
git clone --depth 1 https://github.com/grainulation/wheat
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 315 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 $0.00000 $0.00315
Opus 5 $0.00000 $0.00158
Sonnet 5 $0.00000 $0.00063
Haiku 4.5 $0.00000 $0.00032

Measured yesterday against content hash 9be006275a94, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

resolve 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 yesterday.

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.

templates/commands/resolve.md · 46 lines

What it actually says

/resolve — Manually adjudicate a conflict

You are manually resolving a conflict between claims that the compiler couldn't auto-resolve (same evidence tier).

Process

  1. Run the compiler to see current conflicts:

    npx @grainulation/wheat compile --summary
    
  2. If the user specified claim IDs (e.g., /resolve r012 e003), focus on that conflict. Otherwise, show all unresolved conflicts and ask which to resolve.

  3. Present both sides: Show the conflicting claims with full context — content, evidence tier, source, when they were added.

  4. Ask the user to decide (or decide based on additional research if the user asks you to investigate).

  5. Update claims.json:

    • Set the winning claim's status to active
    • Set the losing claim's status to superseded and resolved_by to the winner's ID
    • Remove the conflict references from conflicts_with
  6. Run the compiler again:

    npx @grainulation/wheat compile --summary
    

    Verify the conflict is resolved.

Git commit

Stage claims.json.

Commit: wheat: /resolve <winner> over <loser> — "<reason>"

Tell the user

  • Confirm which claim won and why
  • Show updated compilation status
  • If all conflicts resolved, suggest /brief or /present

$ARGUMENTS

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. yesterday First seen · 46 lines · 0 tokens per session scan A 9be006275a94

Subscribe to this mod's changes

resolve is a command published in the GitHub repository grainulation/wheat (20 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 315 tokens. 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-30.