|
| 1 | +# AI Agent Instructions |
| 2 | + |
| 3 | +## Mandatory startup procedure |
| 4 | + |
| 5 | +- Read docs/CURRENT_STATE.md before any changes, then review README.md, PROJECT_OVERVIEW.md, ARCHITECTURE.md, ROADMAP.md, and WORKFLOW.md as needed. |
| 6 | +- Review DECISIONS.md and CHANGELOG.md before substantial changes. |
| 7 | +- Verify the real project files and environment; do not assume planned work is complete. |
| 8 | + |
| 9 | +## Safety and scope boundaries |
| 10 | + |
| 11 | +- Work only in ~/projects/nexusq-tools. |
| 12 | +- Do not modify the main NEXUS-Q engine or repository from this project. |
| 13 | +- Do not delete files, directories, branches, data, or projects without explicit authorization. |
| 14 | +- Do not touch SentinelFlow or Nuvora unless the user makes a specific request. |
| 15 | +- Do not push, publish releases, or publish crates without explicit authorization. |
| 16 | +- Never add secrets, tokens, private keys, credentials, or personal data to the repository. |
| 17 | +- Prefer small, reversible, verifiable changes. Explain risks before destructive operations. |
| 18 | + |
| 19 | +## Working method |
| 20 | + |
| 21 | +1. Identify the task and acceptance criteria before implementation. |
| 22 | +2. Inspect only what is necessary and ask about important missing decisions. |
| 23 | +3. Work in small steps; do not advance roadmap phases without agreement. |
| 24 | +4. Run appropriate tests and record exactly what was run and the result. |
| 25 | +5. Never claim a test, build, or publication succeeded unless verified. |
| 26 | +6. Separate confirmed, proposed, pending, and blocked information. |
| 27 | +7. Keep source code, CLI output, tests, and project documentation in English. |
| 28 | +8. Prefer clean code, minimal dependencies, and safe read-only defaults. |
| 29 | + |
| 30 | +## Project continuity requirements |
| 31 | + |
| 32 | +After each significant change: |
| 33 | +- Update docs/CURRENT_STATE.md with verified changes, tests, status, and the next action. |
| 34 | +- Add an entry to docs/CHANGELOG.md. |
| 35 | +- Record confirmed architecture or scope decisions in docs/DECISIONS.md. |
| 36 | +- Update docs/HANDOFF.md if work is interrupted. |
| 37 | + |
| 38 | +Keep documents concise, accurate, and consistent. The verified project state—not chat history—is the source of truth. |
| 39 | + |
| 40 | +## User's highest-priority rule |
| 41 | + |
| 42 | +Before every change, read docs/CURRENT_STATE.md and compare it with the relevant real files. After each significant milestone, update CURRENT_STATE.md before declaring the work complete. Do not update it for every minor edit, but never begin a change without reading it or close a major milestone without updating it. |
0 commit comments