Skip to content

Commit dc7d07d

Browse files
committed
Update AGENTS.md: agent working-style notes and AI-attribution policy
1 parent 6e9d7c4 commit dc7d07d

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Project overview
22

3+
## Agent Working Style
4+
5+
- Be concise. No long explanations. Don't restate the plan unless it changed.
6+
- Never scan `node_modules`, `.venv`, `dist`, `build`, log/archive dirs, or generated files.
7+
- Cap output when searching or reading files. Default to limits, e.g.:
8+
- `head -n 100` / `tail -n 100`
9+
- `grep -n "pattern" file | head`
10+
- `find . -type f | head -n 200`
11+
- `python script.py --limit 50`
12+
313
AI Web Terminal running ttyd + tmux on the host, with a Docker stack for auth and storage.
414
Nginx (Docker) fronts the UI and terminal, the Node/Express API (Docker) handles JWT auth and
515
CRUD for prompts/users, and MySQL 8 stores data. The UI is a Preact/Vite build baked into the
@@ -46,6 +56,9 @@ Optional dev workflows:
4656
- `TODO.md` is a proposal/backlog; treat as non-authoritative.
4757

4858
## Git policy
59+
60+
- **Attribution (IMPORTANT):** Commits are authored solely by the human committer. Never attribute code changes to any AI agent, assistant, or tool — including, but not limited to, **Cursor**, **cursoragent**, **Claude**, and **Codex**. Do **not** add `Co-Authored-By` trailers, "Generated with…" / "Assisted-by" lines, or any other AI attribution in commit messages, PR titles/descriptions, code, or comments.
61+
4962
**NEVER run git commands for committing, pushing, or any repository operations on behalf of the user.** The user will handle all git operations themselves. This includes:
5063
- `git add`
5164
- `git commit`

0 commit comments

Comments
 (0)