ci: consolidate agent guidance in AGENTS.md and improve mistake-reflection workflow#1059
ci: consolidate agent guidance in AGENTS.md and improve mistake-reflection workflow#1059sokoliva wants to merge 6 commits into
Conversation
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.
|
Also, I'd recommend changing the commit message to prefix |
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.