Agent verification
Use this guide whenever an AI agent is not referencing your rules. It covers the fastest checks for Cursor, GitHub Copilot, Claude Code, VS Code MCP agents, and any exporter that writes to AGENTS.md.
Quick checklist
- Run
aligntrue syncto regenerate all exports. - Run
aligntrue statusto confirm config, exporters, and edit sources. - Run
aligntrue doctorto confirm each export file exists at the printed path. - Open the agent-specific file below; confirm latest rules and a fresh content hash/footer.
- Restart the agent or IDE so it reloads the updated file.
Cursor (.cursor/rules/*.mdc)
- Run
aligntrue syncto regenerate.cursor/rules/*.mdc. - Run
aligntrue statusand confirmcursorshows✓ detected. - In Cursor:
- Settings → Features → Cursor Rules → ensure “Rules folder” is enabled.
- Click “Open rules folder” and verify the path matches
aligntrue status. - Open the
.mdcfile and confirm the content hash/footer matches your latest sync.
- Restart Cursor. Prompt it with “What rules should I follow?” to confirm it cites your rules.
GitHub Copilot, Claude Code, Aider, Windsurf (AGENTS.md)
- Run
aligntrue statusand confirmagents(and any variants such asclaude,windsurf) show✓ detected. - Inspect
AGENTS.mdat the repo root. The file should include your latest sections and a content hash footer from the last sync; if the footer did not change afteraligntrue sync, rerun sync or recheck.aligntrue/rules/. - For Claude Code or other IDE-integrated agents, close and reopen the workspace after syncing.
- In chat, ask “Summarize the rules from AGENTS.md” to verify the agent read the file.
Claude desktop and CLAUDE.md
- Run
aligntrue statusand ensureclaudeis enabled. - Run
aligntrue syncsoCLAUDE.mdis regenerated. - Claude desktop reads
CLAUDE.mdfrom the workspace root. Reopen the folder if Claude was already running.
VS Code MCP, Cursor MCP, Windsurf MCP, Amazon Q MCP
- Confirm the relevant MCP exporter (e.g.,
vscode-mcp,cursor-mcp,windsurf-mcp,amazonq-mcp) shows✓ detectedinaligntrue status. - Ensure
.vscode/mcp.json,.cursor/mcp.json,.windsurf/mcp_config.json, or.amazonq/mcp.jsonexists and matches the exact path printed byaligntrue doctor(do not rely on defaults). - In VS Code:
- Command Palette → “Model Context Protocol: Reload Servers” (or restart VS Code).
- Open Settings → “Model Context Protocol” and verify the path matches the generated JSON file.
- Trigger the MCP action (e.g., “List AlignTrue rules”) to confirm ownership.
MCP-enabled terminals (Warp, Firebender, Junie, etc.)
- Run
aligntrue doctorto confirm each exporter’s config file exists (Warp usesWARP.md, Firebender usesfirebender.json, etc.). - Restart the terminal or reload its AI panel so it re-reads the generated file.
When rules still don’t load
- Edit rules in
.aligntrue/rules/and runaligntrue syncto export to all agents. Agent files are read-only exports. - If an agent continues to ignore the file, delete its cache directory (
.cursor/,.windsurf/, etc.) only after confirming sync/status/doctor outputs, then re-runaligntrue syncand reopen the agent. - For team mode, ensure the lockfile is up to date (
aligntrue syncoraligntrue check --ci) before troubleshooting exports.
Still stuck? Run aligntrue doctor --json and attach the report to your support request so we can see which files exist.
Last updated on