Skip to content

docs: move the guide to AGENTS.md; CLAUDE.md only imports it - #679

Merged
zaebee merged 2 commits into
mainfrom
docs/agents-md
Oct 17, 2026
Merged

zaebee merged 2 commits into
mainfrom
docs/agents-md

Conversation

@zaebee

@zaebee zaebee commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Why

CLAUDE.md held this repo's only agent guide, and only Claude Code reads that file. The workspace target layout, already used in owner-api, ansible (https://github.com/Ownima/ansible/pull/520) and owner-admin (https://github.com/Ownima/owner-admin/pull/212), keeps the text in AGENTS.md and has CLAUDE.md only import it. That way every agent reads the same text.

What

  • git mv CLAUDE.md AGENTS.md. The text is unchanged apart from the header.
  • CLAUDE.md is now @AGENTS.md, so Claude Code loads exactly what it loaded before.
  • ui/AGENTS.md had no CLAUDE.md beside it, so Claude Code never loaded it. ui/CLAUDE.md now imports it. It was added with -f: ui/ is listed in .gitignore (line 228), yet its files are tracked.
  • agent_ab: Claude Code still gets the same text through the import, so what an agent is given in a run does not change. The README sentence about it now names AGENTS.md. Past results and lab notes are left as written.

Docs only.

🤖 Generated with Claude Code

CLAUDE.md held the only guide, which only Claude Code reads. It now lives in
AGENTS.md, unchanged apart from the header, and CLAUDE.md is `@AGENTS.md`.
ui/AGENTS.md had no CLAUDE.md beside it, so Claude Code never loaded it;
ui/CLAUDE.md now imports it (added with -f: `ui/` is in .gitignore, yet its
files are tracked).

Claude Code still reads the same text through the import, so agent_ab runs
see no change in what the agent is given. The README sentence about it now
names AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request centralizes the AI agent documentation by creating a new AGENTS.md file and updating CLAUDE.md files to reference it. The benchmark documentation is also updated to reflect this change. Feedback on the new AGENTS.md file identifies an inconsistency between the architecture diagram and the FQN example path for IngestionPipeline, suggesting a correction to align the two and better demonstrate the init.py stripping rule.

Comment thread AGENTS.md Outdated
src/cgis/pipeline.py does not exist; the class is in
src/cgis/pipeline/__init__.py, which also shows the __init__ stripping rule
the sentence ends on. Pre-existing in CLAUDE.md, caught by review on #679.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@zaebee
zaebee merged commit 549f4cf into main Oct 17, 2026
5 checks passed
@zaebee
zaebee deleted the docs/agents-md branch October 17, 2026 01:44
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.

1 participant