wongxy's report that Qwen Code was missing (cefdbfd4e) had siblings: five
agents magpie wires read a user-wide instructions file of their own, and
the Library gave them none. Each file is taken from the vendor's source:
- Kimi Code 2.x: AGENTS.md in $KIMI_CODE_HOME, else ~/.kimi-code
(loadAgentsMdForRoots, MoonshotAI/kimi-code afd95f64). The old kimi-cli
(~/.kimi) reads no user-wide file, so it still gets none.
- fx: ~/.fx/AGENTS.md (src/builtins/context.zig, vercel-labs/fx c3b4b926).
- Prime Agent: the first there is of AGENTS.md, AGENTS.MD, CLAUDE.md,
CLAUDE.MD in its agent folder (CONTEXT_FILE_CANDIDATES, prime-agent
d592d5e7). A user's own CLAUDE.md there is written into, not hidden
behind a new AGENTS.md (firstThere).
- StepCode: the same candidates in $STEP_CODING_AGENT_DIR, else
~/.stepcode/agent, and AGENTS.override.md there read instead of any,
shown as Codex's override is (resolveStepAgentDir, loadContextFileFromDir,
stepfun-ai/Step-Code 3ba89e0c).
- jcode: prompt-overlay.md in $JCODE_HOME, else ~/.jcode, its own
user-wide file; the AGENTS.md it also reads is in the home folder
itself, which isn't jcode's to be given (prompt.rs, jcode_dir,
1jehuang/jcode 0d240f1d).
Only instructions are added; Prime Agent, StepCode and jcode still get no
skills or MCP servers from the Library.
Run: TestSiblingInstructions (new) checks each target, Takes, the write
with the user's text kept, $JCODE_HOME, $STEP_CODING_AGENT_DIR and that
kimi-cli gets none. Broken by hand six ways (no Kimi line, firstThere
always the first name, $STEP_CODING_AGENT_DIR ignored, jcode at
AGENTS.md, no StepCode override, no fx line): each FAIL. go test -tags
nogui ./internal/library, gofmt -l, go vet darwin, linux (-tags nogui)
and windows. Not tried with the real binaries of any of the five.