Skip to content

Commit 0c2f47e

Browse files
committed
Clarify agent collaboration rules
1 parent 524edd3 commit 0c2f47e

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,43 @@ If you need an interactive shell:
3535
```
3636
docker compose -f .devcontainer/docker-compose.yml exec app bash
3737
```
38+
39+
---
40+
41+
# Collaboration Agreement (Agent ↔ User)
42+
43+
## Interview Answers (ID-able) + Expert Recommendations
44+
**DoD:** `make ready` in Dev Container; if applicable, user completes manual smoke test with agent-provided steps.
45+
**Verification:** Always smoke Dev Container + `make ready`.
46+
**Commits:** Group by logical unit after smoke-tested (feature / improvement / refactor).
47+
**Responses:** Changes → Commands → Results → Next steps, ending with a concise one-line summary.
48+
**KISS vs Refactor:** KISS by default; boy-scout refactors allowed if low-risk and simplifying.
49+
**Ambiguity:** Proceed with safest assumption, then confirm.
50+
**Non-negotiables:** Dev Container only; security first.
51+
52+
Expert recommendation: keep workflows terminal-first and keyboard-focused (clear commands, no GUI-only steps).
53+
54+
## Definition of Done
55+
- Run `make ready` inside the Dev Container.
56+
- If applicable, user completes manual smoke test; agent provides clear instructions.
57+
58+
## Verification Rules
59+
- Always run Dev Container smoke + `make ready` for changes.
60+
61+
## Commit Granularity
62+
- Group commits by logical units after they have grown and been smoke-tested (feature / improvement / refactor).
63+
64+
## Response Format
65+
- Default: Changes → Commands → Results → Next steps.
66+
- End with a concise one-line summary.
67+
68+
## KISS vs Refactor
69+
- KISS by default.
70+
- Boy-scout refactors are allowed when they reduce complexity and are low-risk.
71+
72+
## Ambiguity Handling
73+
- Proceed with the safest assumption, then confirm.
74+
75+
## Non-Negotiables
76+
- Dev Container only.
77+
- Security first.

0 commit comments

Comments
 (0)