Skip to content

docs: make AGENTS.md cleaner - #2477

Merged
kevinmessiaen merged 1 commit into
mainfrom
docs/agents-md
May 20, 2026
Merged

docs: make AGENTS.md cleaner#2477
kevinmessiaen merged 1 commit into
mainfrom
docs/agents-md

Conversation

@kevinmessiaen

Copy link
Copy Markdown
Member

No description provided.

@kevinmessiaen kevinmessiaen changed the title docs: make agent.md cleaner May 20, 2026
@kevinmessiaen
kevinmessiaen merged commit 09eed26 into main May 20, 2026
21 of 24 checks passed
@kevinmessiaen
kevinmessiaen deleted the docs/agents-md branch May 20, 2026 12:25

@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 restructures the project's behavioral configuration by moving the primary instructions from .claude/CLAUDE.md to AGENTS.md, leaving the original file as a pointer. Feedback focuses on restoring the critical instruction to use uv run for Python execution and updating internal references that still point to CLAUDE.md instead of the new AGENTS.md location.

Comment thread AGENTS.md
# AGENTS.md

giskard-oss — behavioral config for autonomous coding agents (no human in the loop). Human-oriented docs: [README.md](README.md). Always invoke Python via `uv run` — bare `python` or `pytest` will fail.
giskard-oss — behavioral config for Claude Code (interactive assistant with a human in the loop).

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.

medium

The instruction to use uv run for Python execution was removed in this version. Since the project environment setup relies on uv, omitting this can lead to execution failures when agents or users attempt to run scripts or tests directly. It is recommended to preserve this guidance.

Suggested change
giskard-oss — behavioral config for Claude Code (interactive assistant with a human in the loop).
giskard-oss — behavioral config for Claude Code (interactive assistant with a human in the loop). Always invoke Python via uv run — bare python or pytest will fail.
Comment thread AGENTS.md
– Show `make check` and pytest summary output in the PR description
– No `# type: ignore` without structural-fix explanation; no patching test assertions
### 3. Self-Improvement Loop
– After ANY correction: self-document the rule (naming, file headers, examples); only add to CLAUDE.md if it cannot be self-documented

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.

medium

The text still refers to CLAUDE.md for adding rules. Since the primary configuration has been moved to AGENTS.md and .claude/CLAUDE.md now acts as a pointer, this reference should be updated to ensure instructions are added to the correct source file.

Suggested change
– After ANY correction: self-document the rule (naming, file headers, examples); only add to CLAUDE.md if it cannot be self-documented
– After ANY correction: self-document the rule (naming, file headers, examples); only add to AGENTS.md if it cannot be self-documented
Comment thread AGENTS.md
5. Document Results — add review section to tasks/todo.md
6. Capture Lessons — update lessons.md after corrections
5. Document Results — add review section to the plan file
6. Capture Lessons — update CLAUDE.md directly after corrections

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.

medium

This step directs the user to update CLAUDE.md. Given the new structure where AGENTS.md contains the actual configuration and CLAUDE.md is a pointer, the instruction should be updated to point to AGENTS.md to avoid overwriting the inclusion directive in the other file.

Suggested change
6. Capture Lessons — update CLAUDE.md directly after corrections
6. Capture Lessons — update AGENTS.md directly after corrections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant