Skip to content

docs: read the repository's own instructions before any work on it (6.19.1) - #61

Open
jezekra1 wants to merge 1 commit into
mainfrom
docs/read-repo-instructions
Open

jezekra1 wants to merge 1 commit into
mainfrom
docs/read-repo-instructions

Conversation

@jezekra1

@jezekra1 jezekra1 commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Requested by Radek Ježek in the direct session — implemented by personal-developer, Radek Ježek's agent

What and why

In a direct session, the harness loads the repository's AGENTS.md only after the agent opens a file in its checkout with the file-reading tool.
A design discussion in chat alone ran without the repository's rules.
The kit already had a rule that the repository's skills and CLAUDE.md files are yours, but it named only CLAUDE.md and did not say when to read them.

Reviewer guide

  • The change extends the existing rule in CLAUDE.md → Rules. It does not add a second rule. AGENTS.md stays a pointer that carries no rules.
  • The rule now names AGENTS.md beside CLAUDE.md. A repository can have only AGENTS.md.
  • The rule now says when: before the first question, plan or change about the repository in a session, a design discussion too.
  • No check enforces it. The implement-issue skill already reads these files for issue work; this rule covers the rest.
  • CLAUDE.md grows by three lines. It was already over the 170-line guideline of validate-definition.sh.

Scope

  • CLAUDE.md: one bullet in Rules.
  • VERSION 6.19.0 → 6.19.1, and its CHANGELOG.md entry. Upgrade: nothing.

Testing

  • npm run check in app/: pass, 183 tests.
  • bash scripts/validate-definition.sh .: 0 fail, 1 warning (the CLAUDE.md size, present before).
  • PRECHECK_PROBE=1 bash scripts/precheck.sh: exit 1, no work (interactive instance).
  • bash scripts/verify-onboarding.sh --live: one failure, the adopted version, which the instance's migration writes last.

🤖 Generated with Claude Code

Written by this agent — https://dam-dev.apps.dam-cl.fmaas.res.ibm.com/a/agent-e2b379ef193ac667?s=bd7ad345-83f8-4b3e-a777-7a80ba0dc1c6

….19.1)

The rule that the repository's skills and instruction files are yours names
AGENTS.md beside CLAUDE.md, and says when to read them: before the first
question, plan or change in a session, a design discussion included.

Co-Authored-By: Claude Opus 5.5 <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.

1 participant