Repository navigation
Description
Context
The AGENTS.md migration's evidence base grades every claim by how it was verified: empirical (an actual test was run), source (read from the tool's own source code), docs (read from the tool's documentation), single-agent (an unverified research pass), or inference. Claude Code and Codex loading behavior is backed by empirical tests. Cursor, Grok Build, and Muse Code are not installed in the environment that did this research, so every claim about their behavior stays at docs or source grade; none has been confirmed by actually running the tool. Installing these tools to test them was explicitly out of scope for the migration itself, but the gap is real and worth tracking as its own item.
Proposed work
Install each tool in an isolated environment and run the loader recipe used elsewhere in this migration (a directory tree with AGENTS.md, CLAUDE.md, and nested variants, checked for which file's content the tool actually uses) to establish:
Cursor
- Whether Cursor reads both AGENTS.md and CLAUDE.md at once, and whether CLAUDE.md is "always applied" regardless of AGENTS.md's presence (currently sourced from a help-centre page only; Cursor's reference docs are silent on this).
- Whether an @AGENTS.md import written inside a CLAUDE.md expands.
- Where AGENTS.md sits in Cursor's Team, Project, and User precedence order.
- Whether the cursor-agent CLI honors nested instruction files the same way the editor does.
- Whether a .md file under .cursor/rules stays inert to Cursor's AGENTS.md/CLAUDE.md loading path, and whether Cursor's user-global rules under ~/.cursor/rules are a real file on disk that syncs, or not (two prior research passes disagree on this and neither carries a verified quote).
Grok Build
- Confirm empirically that Grok Build loads every matching instruction file per directory from its documented 8-name list, and that the two names scoped under .claude/ are gated by compat.claude.agents as the source predicts.
- Confirm no switch stops Grok Build from reading a plain CLAUDE.md, and that compat.claude.agents only ever covers ~/.claude/ and .claude/CLAUDE*.md.
- Confirm out-of-chain instruction files surface only as path-only reminders rather than being loaded, that MAX_WALK_DEPTH is 10, and that nothing outside a git repository loads.
- Record the installed Grok Build version; no released version number has been found (no releases, tags, or changelog located).
Muse Code
- Confirm empirically that Muse Code reads exactly one file per directory level, AGENTS.md first, so a sibling CLAUDE.md at the same level is never opened (currently a docs-only claim).
- Establish Muse's user-rules file path, including how it resolves on Windows relative to ~/.config/muse/settings.json.
- Establish whether @path imports expand inside Muse's AGENTS.md, and whether symlinked instruction files are followed.
- Establish nested-directory loading behavior and whether any file-size cap applies.
Acceptance criteria
- Cursor, Grok Build, and Muse Code are each installed in an isolated test environment, not a repo in the migration's scope.
- Every bullet above is answered with an observed result, not an inference, and the finding is recorded with the tool's installed version.
- Each tool's loader-behavior claim in the migration's findings is upgraded from docs/source grade to empirical grade, or corrected if the observed behavior differs from what docs/source predicted.
- Any open question this closes is removed from the migration's open-questions list; any it cannot close stays open with the reason.
References
- none
🤖 Generated with Claude Code
Activity
feat(instruction-placement): add the migrate skill and correct the AG…
kyle-sexton commentedon Sep 23, 2026
This was generated by AI during triage.
Human-gated. Open decision: requires installing three tools in an isolated environment (external-access/manual-QA capability)
docs(instruction-placement): park Cursor/Grok/Muse loader tests (#4283)…
docs(instruction-placement): keep one current fleet grade in sources.…
kyle-sexton commentedon Sep 29, 2026
From the 2026-09-29 audit of the Cursor run. Owner authorization for the audit fixes: Claude Code session, 2026-09-29. Reopened as a decision packet.
Reopened: none of the four acceptance criteria is met
PR #4914 ("Closes #4283") closed this issue on 2026-09-28T04:47:54Z. Against the acceptance criteria: no tool was installed in an isolated environment, no bullet was answered with an observed result, no claim was upgraded from docs/source grade, and no open question was closed. #4914 changed only
plugin.json,CHANGELOG.mdandsources.md. It recorded "Option A (taken): do not install" and "Option B (declined)", a choice the 2026-09-23 triage comment says is yours ("Human-gated. Open decision: requires installing three tools in an isolated environment"). The stated basis was a limit of the agent's environment, not a judgment about the issue. The fix PR (#5285) rewrites thesources.mdrecord as "not run, pending owner decision".Decision needed: do you install and test Cursor, Grok Build and Muse Code, and which of them?
Recommended (AI recommendation, not a decision): B. Basis: the fleet holds cursor-plugins, codex-plugins and agent-plugins clones and nothing for Grok Build or Muse Code (listing of the melodic-software repos root), and the plugin's guidance depends most on the Cursor claims (help-centre page only, per the issue body).
Unblocks. Replacing docs-grade claims with empirical ones, or a clean not-planned close.
This needs operator action (installing three third-party tools, likely accounts), so the fix lane did not attempt it. Labels
needs-human,priority: low,work-class: scopedare kept andstatus: needs-decisionis added. Refs #5285.kyle-sexton commentedon Sep 29, 2026
Owner decision (2026-09-29): Option B. Cursor is installed and tested first; Grok Build and Muse Code are deferred or dropped, and stay labelled docs/source grade until then. No note added.
Next: installing Cursor (a third-party tool, likely an account) needs the owner, so this stays open with needs-human. Once Cursor results exist, the agent builds the recipe tree, writes observed results into the migration findings, and replaces the Cursor docs-grade claims.
kyle-sexton commentedon Sep 30, 2026
Resolution (2026-09-29, owner-approved consensus)
Goal: replace the docs/source-grade claims about how Cursor, Grok Build and Muse Code load instruction files with results observed by running each tool, and record the tool versions.
The earlier blocker (the tools were not installed) no longer holds on the desktop machine. cursor-agent 2026.09.23-86fc751 (logged in), grok 1.0.41 and Muse Code 1.3.0 are installed in ~/.local/bin.
Steps:
@AGENTS.md.cursor-agent -pheadless against the tree and ask it to echo which canary tokens it sees. Answer each Cursor bullet with an observed result and the recorded version: AGENTS.md and CLAUDE.md read together, @import expansion, precedence, nested files in the CLI, and inert .cursor/rules .md files. For the ~/.cursor/rules question, inspect the disk only; do not write to user-scope config.Closes #4283only once all three tools are done; otherwiseRefs #4283. Flip to ready with /source-control:pull-request ready.Acceptance criteria:
Note: cursor-agent runs make model calls under the owner's Cursor account (small usage). The owner is needed only for a login prompt or quota exhaustion.
docs(instruction-placement): commit the loader recipe and cite upstre…
fix(instruction-placement): align /memory claims, consolidate cutover…
docs(instruction-placement): record empirical Cursor, Grok Build and …
kyle-sexton commentedon Oct 1, 2026
Owner decision (2026-10-01): approved the recommendation ("go with recommended", the owner's reply to the batch decision page that listed this question and its recommendation).
Question: do the tools writing their own state on first run (Cursor, Grok Build, Muse Code) breach the "no write to user-scope config" criterion?
Chosen option A: close as completed. The tools saved their own first-run state (~/.config/muse/settings.json, ~/.grok/config.toml, ~/.cursor chats and projects). No probe wrote there, so the criterion is not breached. The 7 open bullets stay in sources.md, each with its reason and recheck trigger.
Next: closing as completed. Results landed in #5563; the open bullets and recheck trigger are in plugins/instruction-placement/skills/migrate/reference/sources.md. Muse may have rewritten the chezmoi-managed ~/.config/muse/settings.json; the next chezmoi diff will show any drift.