42 lines
1.8 KiB
Markdown
42 lines
1.8 KiB
Markdown
# Repository agent instructions
|
|
|
|
Roborto Context System: 1.0
|
|
|
|
This repository uses a repository-based context, task, decision, and handoff system so work can continue across ChatGPT, Codex, and human sessions without depending on chat history.
|
|
|
|
## Start every session
|
|
|
|
Read:
|
|
|
|
1. `AGENTS.md` and any more-specific nested `AGENTS.md` relevant to files being changed.
|
|
2. `docs/PROJECT_OVERVIEW.md`.
|
|
3. `docs/CURRENT_STATE.md`.
|
|
4. `docs/DECISIONS.md`.
|
|
5. `docs/TASKS.md`.
|
|
6. `docs/HANDOFF.md`.
|
|
7. Relevant current code/config/tests for the task.
|
|
|
|
For current-state facts, repository code/configuration takes precedence over maintained docs, task text, handoff snapshots, and old chat assumptions, in that order. Report conflicts instead of silently following stale context.
|
|
|
|
The user's current explicit instruction controls the requested change. Preserve existing behavior unless the request or accepted task explicitly changes it.
|
|
|
|
## Scope and tasks
|
|
|
|
- Work only on the explicit request or an accepted/in-progress task.
|
|
- `docs/TASKS.md` is scoped work, not a speculative backlog.
|
|
- If the user explicitly requests a sufficiently scoped implementation and no matching task exists, create an accepted task before implementation.
|
|
- Do not invent features or perform unrelated refactors.
|
|
- Run the validation required by the task before marking it complete.
|
|
|
|
## Context maintenance
|
|
|
|
- Stable product/architecture facts: `docs/PROJECT_OVERVIEW.md`.
|
|
- Current operational state/issues: `docs/CURRENT_STATE.md`.
|
|
- Durable accepted choices: `docs/DECISIONS.md`.
|
|
- Scoped implementation work: `docs/TASKS.md`.
|
|
- Replaceable transfer snapshot: `docs/HANDOFF.md`.
|
|
|
|
Update durable documents when work makes them stale. Refresh `HANDOFF.md` rather than appending chat history.
|
|
|
|
Do not commit, push, switch branches, deploy, or expose secrets without explicit user instruction.
|