BRAVO, 3 runs out of 3, on Claude Code 2.1.328 with Opus 5.5, run headless in a fresh repo. The string ALPHA appears nowhere in the session transcript, while CLAUDE.md is attached as project instructions. Each run called the skill, CHARLIE came back in the tool result, and the answer was still BRAVO. A plugin I have installed also injects text at session start saying user instructions, CLAUDE.md and AGENTS.md included, take precedence over skills. I didn't run it without the plugin, so a bare install may answer differently.
This is the most useful receipt in the thread, thank you for running it and for stating the version. The plugin is the variable I would want isolated: it injects a precedence rule at session start, so your BRAVO may be the plugin's policy rather than the harness default. That distinction matters for exactly the reason the piece argues, because teams will read "BRAVO won" as a harness fact when it might be a plugin fact. If you ever re-run without the plugin, I would love the letter and the version, and I will note that the result is only comparable at the same plugin set.
Product leader and systems analyst in fintech and edtech. Founder of AnalystCraft. Writing about requirements, acceptance criteria, agent evaluation, and Test-Driven Product Development.
I’d add a second check beyond which instruction wins: whether the boundary is enforced when the agent chooses a tool. A sentinel answer tells us what appeared in the response; a draft-only task with a mocked publish tool tells us whether the agent actually attempts the forbidden action. I’d keep the harness version and enabled plugins with both results. Has anyone seen those two checks disagree?
Yes, and they disagree often, which is the whole reason your second check is the better one. The sentinel letter tests what ended up in the prompt and the response. The mocked-tool test tests what the agent actually does when it has a reason to cross the line. I saw this exact split while field-testing a policy gate: the agent refused every destructive action, which looked like compliance, and then I traced it and found my policy hook had never loaded. The refusals were the harness's own defaults. The sentinel would have said "compliant." The mocked-tool probe would have said "your gate is not in the loop." Run both, and keep the harness version and the plugin list next to the result, exactly as you suggested.
Building SecGuardRail: one policy and audit log for AI coding agents (Claude Code, Cursor, Codex). I write about agent permissions, hooks and MCP security.
The missing referee is the key point, and I'd take it one step further: instruction files are preferences, so anything that must hold shouldn't live in them at all. Move hard rules into config the harness enforces whatever the model reads: requirements.toml set by an admin for Codex, managed settings and hooks for Claude Code, enterprise hooks.json for Cursor. Then a conflict between AGENTS.md, CLAUDE.md and a skill can change style or workflow, but not whether the agent may push to main or read .env.
Disclosure: I work on SecGuardRail (secguardrail.com), which checks each Codex, Claude Code and Cursor action before it runs.
This is the cleanest formulation of the fix in the thread, and it sharpens my own: the canonical file handles preferences, and the harness handles constraints. "May not push to main" and "may not read .env" are not preferences that need a tie-break rule, they are invariants that should be enforced regardless of what any instruction file says. That reframes the conflict demo: the interesting question is not only which file wins, it is which of your rules are living in the file layer at all when they should be in the enforced layer. Thanks for the disclosure, the harness-enforced pattern is the right target.
Senior Software Engineer focused on backend, databases, infrastructure, and AI coding agents. Sharing real systems, practical fixes, and reproducible results.
Location
Indonesia
Education
Mikroskil University: B.Sc. Information Systems, 2014
One concealment vector we measured in agent instruction files: a single line can hide a second instruction behind 150 or more spaces, tabs, or Unicode space separators (U+00A0, U+3000). Editors without soft wrap and PR diff views show only the text before the gap, while the agent reads the whole line.
cfgaudit's CFG137 (PR #1758, merged 14 Nov 2026, 5 files, 237 lines) flags it: counts runes not bytes, skips fenced code blocks and Markdown tables, exits 1 under --strict. It does not catch 149 blanks or zero-width/RTL tricks, which need separate rules.
Same gap between what a human skims and what a machine reads, so conflicting instructions can be hidden rather than just disagreed about.
This is a real and underappreciated cousin of the conflict problem, and it deserves its own name. A conflict is two rules that disagree in the open. This is one rule hiding behind whitespace, which is worse, because the human review that is supposed to catch conflicts is exactly the layer the concealment defeats. Same root as the piece's thesis: the gap between what a human skims and what the machine reads. Counting runes not bytes is the right call, and you are right that the boundary cases (149 blanks, zero-width, RTL) need separate rules rather than a looser threshold. A bounds check on rendered text before review is a good default for any instruction-file linter.
A precedence rule is not enough unless conflicts are observable. I would give every instruction a scope, source, and priority, then make the agent surface the exact conflict before it acts when two applicable rules disagree. Silent “best effort” resolution is how local policy gets overridden without anyone noticing.
The "no referee, fails silently" framing is the real sting here. In our setup the resolution order isn't even stable within one harness — it drifts the moment someone edits a skill file that ships with a marketplace plugin and nobody re-runs the conflict check. What helped was to stop treating the three sources as peers and declare an explicit precedence in one place, then write a tiny startup probe that injects exactly your ALPHA/BRAVO/CHARLIE sentinel and logs which letter comes back on every agent boot. That turned an invisible policy conflict into a line in the startup log we can diff across versions — cheap insurance.
One question back: when you ran the demo, did the losing instructions get silently dropped, or did the model try to reconcile them — answer "ALPHA" but mention BRAVO in passing? We've seen both, and the reconciliation case scares me more, because it looks like partial compliance instead of a clean loss, so you don't even get a clear letter to act on.
Both, and the reconciliation case is the one that should scare you, which I think you already suspect. Sometimes the losing rule is dropped cleanly and you get a clean letter. Sometimes the model answers ALPHA but mentions BRAVO in passing, which is partial compliance dressed as agreement, and it gives you no clean signal to act on. The startup probe is a genuinely good idea: logging the sentinel letter on every boot turns a silent policy conflict into a diffable line, and it catches the drift you described when a marketplace plugin updates a skill underneath you. I would add the plugin set and version to that log line, since your own case shows the plugin can be the thing setting the precedence.
Senior Software Engineer focused on backend, databases, infrastructure, and AI coding agents. Sharing real systems, practical fixes, and reproducible results.
Location
Indonesia
Education
Mikroskil University: B.Sc. Information Systems, 2014
One concrete failure mode I'd add to your audit: instruction files can carry text hidden behind long runs of blanks that renders invisible in most editors but is still read by the agent. We caught this in our own scanner (CFG137): a single long-blank line can hide a full paragraph. Second: a repo that keeps one rule file and symlinks the other name to it gets audited twice, the always-on token total doubles, and the grade drops a band. Canonical-plus-references fixes both, but only if you also check for symlinked instruction files and run a bounds check on rendered text before review. Run the three-letter demo too, but measure the file, not just the letter.
The symlink double-count is a good catch and a genuinely new failure mode for the audit: two names, one file, counted twice, and the always-on cost silently doubles while the content did not. Canonical-plus-references does fix it, but your qualifier is the important part: only if the audit resolves symlinks before counting. And "measure the file, not just the letter" is the right closing instruction, because the letter tells you which rule won, and the file tells you how much context you are paying for on every single turn.
Love the ALPHA/BRAVO/CHARLIE canary test—stealing this for our repo setup.
One extra layer of chaos I've noticed: even when the harness has a deterministic loading order, the LLM itself acts as a soft referee. When AGENTS.md and a third-party skill both end up in the system prompt with conflicting instructions, the model doesn't always pick a clean winner—sometimes it blends them, hallucinates a compromise, or flips based on which instruction sits closer to the end of the context window (recency bias).
Treating AGENTS.md as the single canonical source and turning CLAUDE.md into a thin pointer is honestly the only sane way to keep diffs reviewable.
The model as a soft referee is the layer that no documentation covers, and it is why the demo result is not stable across harnesses or versions. Even with a fixed loading order, the resolution can be a blend or a recency-biased flip, which means the "winner" is a property of the prompt construction, not a policy anyone wrote. That is the argument for canonical-plus-pointers taken one step further: if there is only one rule text, there is nothing to blend and nothing to bias toward. Thanks for the canary-test note, I would love to hear what letter your setup returns after the next harness bump.
"Otherwise the newest file quietly wins" is the failure stated better than I did. It is the same property that makes config drift dangerous: whichever file was edited most recently becomes the effective policy, and nobody decided that, it just happened. Pointers fix it because a pointer cannot restate a rule, and a rule that cannot be restated cannot drift. The one thing to watch is the pointer itself going stale (pointing at a section that moved), which is why the pointer should be a link to the canonical file, not a paraphrase of it.
BRAVO, 3 runs out of 3, on Claude Code 2.1.328 with Opus 5.5, run headless in a fresh repo. The string ALPHA appears nowhere in the session transcript, while CLAUDE.md is attached as project instructions. Each run called the skill, CHARLIE came back in the tool result, and the answer was still BRAVO. A plugin I have installed also injects text at session start saying user instructions, CLAUDE.md and AGENTS.md included, take precedence over skills. I didn't run it without the plugin, so a bare install may answer differently.
I’d add a second check beyond which instruction wins: whether the boundary is enforced when the agent chooses a tool. A sentinel answer tells us what appeared in the response; a draft-only task with a mocked publish tool tells us whether the agent actually attempts the forbidden action. I’d keep the harness version and enabled plugins with both results. Has anyone seen those two checks disagree?
The missing referee is the key point, and I'd take it one step further: instruction files are preferences, so anything that must hold shouldn't live in them at all. Move hard rules into config the harness enforces whatever the model reads: requirements.toml set by an admin for Codex, managed settings and hooks for Claude Code, enterprise hooks.json for Cursor. Then a conflict between AGENTS.md, CLAUDE.md and a skill can change style or workflow, but not whether the agent may push to main or read .env.
Disclosure: I work on SecGuardRail (secguardrail.com), which checks each Codex, Claude Code and Cursor action before it runs.
One concealment vector we measured in agent instruction files: a single line can hide a second instruction behind 150 or more spaces, tabs, or Unicode space separators (U+00A0, U+3000). Editors without soft wrap and PR diff views show only the text before the gap, while the agent reads the whole line.
cfgaudit's CFG137 (PR #1758, merged 14 Nov 2026, 5 files, 237 lines) flags it: counts runes not bytes, skips fenced code blocks and Markdown tables, exits 1 under
--strict. It does not catch 149 blanks or zero-width/RTL tricks, which need separate rules.Same gap between what a human skims and what a machine reads, so conflicting instructions can be hidden rather than just disagreed about.
A precedence rule is not enough unless conflicts are observable. I would give every instruction a scope, source, and priority, then make the agent surface the exact conflict before it acts when two applicable rules disagree. Silent “best effort” resolution is how local policy gets overridden without anyone noticing.
The "no referee, fails silently" framing is the real sting here. In our setup the resolution order isn't even stable within one harness — it drifts the moment someone edits a skill file that ships with a marketplace plugin and nobody re-runs the conflict check. What helped was to stop treating the three sources as peers and declare an explicit precedence in one place, then write a tiny startup probe that injects exactly your ALPHA/BRAVO/CHARLIE sentinel and logs which letter comes back on every agent boot. That turned an invisible policy conflict into a line in the startup log we can diff across versions — cheap insurance.
One question back: when you ran the demo, did the losing instructions get silently dropped, or did the model try to reconcile them — answer "ALPHA" but mention BRAVO in passing? We've seen both, and the reconciliation case scares me more, because it looks like partial compliance instead of a clean loss, so you don't even get a clear letter to act on.
One concrete failure mode I'd add to your audit: instruction files can carry text hidden behind long runs of blanks that renders invisible in most editors but is still read by the agent. We caught this in our own scanner (CFG137): a single long-blank line can hide a full paragraph. Second: a repo that keeps one rule file and symlinks the other name to it gets audited twice, the always-on token total doubles, and the grade drops a band. Canonical-plus-references fixes both, but only if you also check for symlinked instruction files and run a bounds check on rendered text before review. Run the three-letter demo too, but measure the file, not just the letter.
Love the ALPHA/BRAVO/CHARLIE canary test—stealing this for our repo setup.
One extra layer of chaos I've noticed: even when the harness has a deterministic loading order, the LLM itself acts as a soft referee. When AGENTS.md and a third-party skill both end up in the system prompt with conflicting instructions, the model doesn't always pick a clean winner—sometimes it blends them, hallucinates a compromise, or flips based on which instruction sits closer to the end of the context window (recency bias).
Treating AGENTS.md as the single canonical source and turning CLAUDE.md into a thin pointer is honestly the only sane way to keep diffs reviewable.
one file as the source of truth and the rest as pointers is the cleanest version of this. otherwise the newest file quietly wins.
Stealing that line. The newest file quietly winning is the whole failure in one sentence.