---
{
  "n": 27,
  "title": "Checking the instruction files",
  "abstract": "",
  "refs": [],
  "seen": [
    "system",
    "agent"
  ],
  "data": {
    "starts_on": "trigger:6",
    "system": true,
    "environment": "main",
    "files": {},
    "started_by": "",
    "only_when_idle": false,
    "talks_in": "",
    "lasting": false,
    "unless": {},
    "dispatch": "",
    "runs": {}
  },
  "created": 1791053394.044502,
  "updated": 1791660686.019989,
  "deleted": 0.0,
  "completed": 0.0,
  "outcome": "",
  "type": "sequence"
}
---
AGENTS.md and CLAUDE.md changed, or the user asked for a check. Find where they and the journal's block at their head tell an agent opposite things, report it, and propose each fix as a suggestion. Never edit the files.

## Read the instruction files
Read AGENTS.md and CLAUDE.md at the project root and the journal's block at the head of each, narrowly: grep for the headings, then sed the sections you need. Note every place where two of them tell an agent opposite things, with the file and line on both sides. Then journal sequence next <this sequence> --about <ref>.

## Report any conflicting instructions
With nothing found, say so in one plain line and move on. Otherwise journal report create "Contradictions in the instruction files" --brief "<each one: both sides with file and line, which should win and why>". Then journal sequence next <this sequence> --about <ref>.

## Suggest a fix for each conflict
File each fix as a suggestion whose brief holds the exact change, as a diff: journal suggestion suggest "<the change>" --brief "<why, and the diff>". Never edit the files yourself; the user accepts a suggestion first, and the journal's block is only ever written by the journal. When an accepted fix comes back as a to-do, apply it only where the lines still read as the diff shows; if they changed since, read the files again and propose the fix anew. At most five suggestions wait at a time: when the limit refuses one, write the remaining fixes, each with its diff, into the report of the previous step as sections, link the report from the suggestions you did file, and go on; never leave the step unfinished. Finish with journal sequence next <this sequence> --about <ref>.
