Conversation
The thin adapter snippets list `30-context` and `40-memory` as separate one-liners but omit the ROUTER "Preference vs memory" tie-break (99-system/ROUTER.md), so a harness reading only the snippet can route a user preference *body* into 40-memory instead of 30-context. Observed in an adapter-compliance test: a Codex session (snippet-only) misrouted a user preference to 40-memory. Adding one line to each snippet (codex, claude-code, custom) makes the existing ROUTER rule visible at the point of use. No behavior change to the core; snippet clarification only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The thin adapter snippets (codex / claude-code / custom) list
30-contextand40-memoryas separate one-liners but omit the ROUTER Preference vs memory tie-break that already exists in99-system/ROUTER.md:A harness that reads only the installed snippet (not the full ROUTER tree) can therefore route a user-preference body into
40-memory/— which violates the "40-memory holds pointers only" invariant.Evidence
While running an adapter-compliance test on a real instance, a Codex session driven only by the
~/.codex/AGENTS.mdsnippet was asked where to store a user preference. It answered40-memory/(the preference body), missing30-context/. After adding one line to the snippet, a re-test routed it correctly to30-context/with a40-memory/pointer.Change
One line added to each of the three adapter snippets, after the ROUTER bullet:
99-system/ROUTER.md. This only surfaces it at the point of use (the installed snippet).🤖 Generated with Claude Code