From 7c768618a60ca02e4f9c7e07c37260e6c913227f Mon Sep 17 00:00:00 2001 From: jtmorris Date: Thu, 21 May 2026 04:53:19 +0000 Subject: [PATCH] Add conduct rules for agents. Agent frequently ignored `docs/agents/git-workflow.md` instructions. Reiterated critical rules and added a few others to maintain clarity, traceability, and obedience of agents. --- AGENTS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 222913f..a8d76bb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,16 @@ ## Documentation for agents +You **MUST** read each of these documents before contributing to this repository: - Git workflow rules: `docs/agents/git-workflow.md` - Repo interaction rules: `docs/agents/repo-instructions.md` - Domain model & context rules: `docs/agents/domain.md` + +## Critical Coding & Version Control Conduct + +- **NEVER** commit directly to `master` or `testing without explicit human instruction. +- **NEVER** merge into `master` or `testing` without explict human instruction. +- **ALWAYS** create new branches when working on non-trivial coding tasks. +- **ALWAYS** commit self-contained logical unit of work. + +## Issues, PRs, and Comments Conduct +- **ALWAYS** end your written contributions with `Written by AI agent working for @jtmorris. Model: .`. Replace `` with the LLM model, version, and, if relevant, number of parameters. For example: `Claude Sonnet 4.7`, `Grok 4.3`, `Qwen 3.6 27B`. \ No newline at end of file