Skip to content

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

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#49
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, 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

  • Reframed the docs from a single server to the real DUAL-server architecture:
    • profile-writer profile_server.py7 tools + 1 prompt (design_streamdeck_deck).
    • legacy USB server.py14 tools.
  • Added the missing env var STREAMDECK_APP_PATH.
  • Removed a broken smoke-test command that no longer runs.

⚠️ Caveat to flag explicitly (source vs published build)

The session's live tool list / README / published build exposes streamdeck_read_plugins, but main's source for profile_server.py registers only 7 tools and does not include it. In other words, the source on main lags the published build. AGENTS.md documents the source-of-truth state on main (7 tools), not the published superset. If streamdeck_read_plugins is meant to ship, that's a code change for a separate PR — calling it out here so the doc isn't "corrected" back to an inaccurate count.

Review note

Automated verification caught mechanical drift only — every tool/path/env-var named now exists in source, the counts match the code on main, CLAUDE.md is exactly @AGENTS.md. It does not judge whether the advice is still good or well-emphasized, and it deliberately documents source-main over the published build (see caveat). 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>
- Document the dual-server architecture: default profile-writer
  (profile_server.py, 7 tools + design_streamdeck_deck prompt) plus
  legacy USB server (server.py, 14 tools); old doc described only the
  USB server as the whole project.
- Correct entry points (uv/uvx, not Node), real env var
  STREAMDECK_APP_PATH, and verified filesystem/state paths.
- Generalize intro to coding agents (Claude Code, Cursor, Codex, others).

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

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

This PR adopts the “agent-direction files” house standard by making AGENTS.md the canonical agent guide and reducing CLAUDE.md to a one-line import of @AGENTS.md, then refreshes the guidance to match the repository’s current dual-server architecture and tooling.

Changes:

  • Canonicalized agent guidance: added AGENTS.md as the single source of truth and reduced CLAUDE.md to @AGENTS.md.
  • Documented the current dual-server architecture (profile_server.py profile-writer + server.py legacy USB) including tool counts, entrypoints, and key paths/env vars.

Reviewed changes

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

File Description
CLAUDE.md Replaced the prior guide with a one-line @AGENTS.md import per the house standard.
AGENTS.md New canonical agent guide describing architecture, tools, entrypoints, and operational guidance aligned to the current codebase.

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

Comment thread AGENTS.md Outdated
… behavior

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