docs: relocate OpenSpec instructions to the beginning of AGENTS.md

This commit is contained in:
2025-11-30 21:10:35 +01:00
parent f46e4178d2
commit 0742913c81
+19 -18
View File
@@ -1,3 +1,21 @@
# OpenSpec Instructions
These instructions are for AI assistants working in this project.
Always open `@/openspec/AGENTS.md` when the request:
- Mentions planning or proposals (words like proposal, spec, change, plan)
- Introduces new capabilities, breaking changes, architecture shifts, or big performance/security work
- Sounds ambiguous and you need the authoritative spec before coding
Use `@/openspec/AGENTS.md` to learn:
- How to create and apply change proposals
- Spec format and conventions
- Project structure and guidelines
Keep this managed block so 'openspec update' can refresh the instructions.
<!-- OPENSPEC:END -->
# Git Workflow # Git Workflow
## Branching Strategy ## Branching Strategy
@@ -46,21 +64,4 @@ When the user requests a new feature, change, or proposal:
- All changes go through feature branches - All changes go through feature branches
- Keeps history clean and reviewable - Keeps history clean and reviewable
<!-- OPENSPEC:START --> <!-- OPENSPEC:START -->
# OpenSpec Instructions
These instructions are for AI assistants working in this project.
Always open `@/openspec/AGENTS.md` when the request:
- Mentions planning or proposals (words like proposal, spec, change, plan)
- Introduces new capabilities, breaking changes, architecture shifts, or big performance/security work
- Sounds ambiguous and you need the authoritative spec before coding
Use `@/openspec/AGENTS.md` to learn:
- How to create and apply change proposals
- Spec format and conventions
- Project structure and guidelines
Keep this managed block so 'openspec update' can refresh the instructions.
<!-- OPENSPEC:END -->