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 statusto confirm your config, exporters, and edit sources are what you expect. - Run
aligntrue doctorto verify exporter outputs (Cursor.mdc,AGENTS.md, MCP configs, etc.) actually exist. - Open the agent-specific file listed below and confirm it contains your latest rules.
- Restart the agent or IDE so it reloads the updated file.
Cursor (.cursor/rules/*.mdc)
- Run
aligntrue statusand confirmcursorshows✓ detected. - Run
aligntrue sync(oraligntrue doctor) to regenerate.cursor/rules/aligntrue.mdc. - In Cursor:
- Settings → Features → Cursor Rules → ensure “Rules folder” is enabled.
- Click “Open rules folder” and verify your file path matches the output of
aligntrue status.
- Restart Cursor. Prompt it with “What rules should I follow?” to confirm it cites your content.
GitHub Copilot, Claude Code, Aider, Windsurf (AGENTS.md)
- Run
aligntrue statusand confirmagents-md(and any variants such asclaude-md,windsurf-md) show✓ detected. - Inspect
AGENTS.mdat the repo root. The file should include your latest sections and a content hash footer from the last sync. - 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 ensureclaude-mdis 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 path emitted byaligntrue doctor. - 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
- Confirm that you are editing the same file listed under
Edit sourcesinaligntrue status. If you manually edit generated files (e.g.,.cursor/rules/*.mdcwithout enabling auto-pull), runaligntrue sync --accept-agent <name>. - If an agent continues to ignore the file, delete its cache directory (
.cursor/,.windsurf/, etc.), re-runaligntrue sync, and 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