docs: consolidate agent guidance in AGENTS.md and improve mistake-reflection workflow#1059
Open
sokoliva wants to merge 4 commits intoa2aproject:mainfrom
Open
docs: consolidate agent guidance in AGENTS.md and improve mistake-reflection workflow#1059sokoliva wants to merge 4 commits intoa2aproject:mainfrom
sokoliva wants to merge 4 commits intoa2aproject:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request formalizes the AI agent workflow by introducing a 'Mistake Reflection' skill and establishing AGENTS.md as the central guide for project architecture and mandatory procedures. It also adds evidence_rules.md to define standards for codebase claims and streamlines the mandatory check process. Review feedback suggests updating the mistake-reflection skill to include the new evidence rules, removing brittle line-number references to .gitignore, and addressing minor formatting and clarity issues.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Restructures the AI/agent guidance for this repo around three changes:
AGENTS.mdto the source of truth for agent instructions; reducesGEMINI.mdto a redirect stub.evidence_rules.mdfor graduated learnings.mandatory_checks.mdto use the existingscripts/lint.shinstead of restating its commands.Why move from GEMINI.md to AGENTS.md
AGENTS.mdis the cross-agent convention now supported by Gemini, Claude Code, OpenCode, Cursor, Codex CLI, etc. — a single file every modern agent auto-loads.GEMINI.mdis Gemini-specific.Mistake reflection workflow
When you notice the agent made a mistake:
If you're using OpenCode (or a similar agent CLI that supports skills), you'll see mistake-reflection listed under /skills once the session has discovered it.