Skip to content

docs: canonicalize AGENTS.md as the agent guide and freshen against code#55

Draft
jack-arturo wants to merge 3 commits into
mainfrom
docs/agents-md-canonical
Draft

docs: canonicalize AGENTS.md as the agent guide and freshen against code#55
jack-arturo wants to merge 3 commits into
mainfrom
docs/agents-md-canonical

Conversation

@jack-arturo
Copy link
Copy Markdown
Member

What & why

Adopts the fleet house standard for agent-direction files: AGENTS.md is the single source of truth, and CLAUDE.md is reduced to a one-line @AGENTS.md import. Claude Code resolves the import at launch; every other agent (Cursor, Codex, …) reads AGENTS.md's bytes directly. Token-neutral, and it kills the silent drift between near-identical copies.

This repo had no prior AGENTS.md, so there was no duplication to remove — this is adopting the standard (consistency + future-proofing across the fleet) plus a freshness pass against the current code. Reviewers should not hunt for a divergence that never existed.

Two commits

  1. docs: adopt house standard — purely mechanical: CLAUDE.md@AGENTS.md, establish canonical AGENTS.md, retitle # CLAUDE.md# AGENTS.md, generalize the intro line to "coding agents (Claude Code, Cursor, Codex, …)".
  2. docs: freshen AGENTS.md against current code — every factual claim re-verified against source, with path:line citations.

Freshness changes

  • Tool count corrected 12 → 16 (verified: 16 server.registerTool calls and 16 edd_* names in src/index.ts).
  • Added the four missing tools: edd_get_discount_by_code, edd_list_active_discounts, edd_get_stats_by_preset, edd_validate_connection.
  • Documented src/stdio.ts.
  • Citations verified against src/index.ts:2/3, src/env.ts:9/81/82-84, src/edd-client.ts:147/231.

Review note

Automated verification caught mechanical drift only — every tool/path/env-var named now exists in code, the tool count matches, CLAUDE.md is exactly @AGENTS.md. It does not judge whether the advice is still good or well-emphasized. Please read the diff for judgment. No auto-merge.

🤖 Generated with Claude Code

jack-arturo and others added 2 commits June 6, 2026 16:21
Promote CLAUDE.md's content to AGENTS.md (canonical, read by all agents)
and reduce CLAUDE.md to the bare `@AGENTS.md` import. Mechanical only;
the freshness pass follows in the next commit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Correct tool count 12 -> 16 and list all registered edd_* tool names
- Add missing src/stdio.ts to architecture; cite verified path:line refs
- Generalize intro to coding agents; align env vars and npm scripts with code

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adopts the repository “agent-direction” documentation standard by making AGENTS.md the canonical agent guide and reducing CLAUDE.md to an @AGENTS.md import, while updating the guide’s factual details (tool list/count, file layout, env vars) to match the current codebase.

Changes:

  • Introduces AGENTS.md as the single source of truth for coding-agent guidance, refreshed against current implementation details.
  • Replaces the previous CLAUDE.md content with a single-line @AGENTS.md import.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
CLAUDE.md Replaced with @AGENTS.md import to eliminate duplicated guidance.
AGENTS.md New canonical agent guide; documents architecture, tools (16), commands, env vars, and key behavioral notes with code references.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants