Add CLAUDE.md, AGENTS.md, docs (context, ADR, runbooks, handoffs), coordination docs and Gitea issue/PR templates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
AGENTS.md
Repository expectations
This repository is designed to be worked on by multiple coding agents and humans. All agents must follow the same repo-first workflow.
Source of truth
- Codebase and versioned docs are authoritative
- Gitea Issues are the official task board
- ADRs are authoritative for architectural decisions
- Handoffs summarize session state, but do not replace ADRs
- External shared memory is operational only, not the final source of truth
Required reading order
- Current Gitea issue
- This file
CLAUDE.mdif using Claude Code- Relevant files in
docs/context/ - Relevant ADRs in
docs/adr/ - Latest relevant handoff in
docs/handoffs/
Work rules
- Work on one issue at a time
- Respect issue scope
- If scope changes, update the issue before proceeding
- Do not silently introduce architecture changes
- Prefer explicit, reviewable diffs
- Avoid hidden assumptions; document them
- If uncertain, leave a note in the issue and handoff
- Never commit secrets;
.envis git-ignored and the repository is public
Required outputs per task
- Code changes linked to the issue
- Tests or clear explanation why tests were not added/run
- Updated docs when needed
- Handoff file for non-trivial tasks
Handoff minimum content
Each handoff should include:
- Issue reference
- Goal
- What was changed
- Files touched
- Tests run
- Open risks
- Recommended next step
File ownership convention
When a task has an active owner, avoid unrelated edits in the same area. If multiple tasks overlap, coordinate through the Gitea issue.
Commit guidance
Use small, focused commits. Reference the issue number in commit messages and PRs when applicable.