diff --git a/templates/commands/constitution.md b/templates/commands/constitution.md index 605e9363b..b52a7d818 100644 --- a/templates/commands/constitution.md +++ b/templates/commands/constitution.md @@ -8,11 +8,11 @@ User input: $ARGUMENTS -You are updating the project constitution at `/memory/constitution.md`. This file is a TEMPLATE containing placeholder tokens in square brackets (e.g. `[PROJECT_NAME]`, `[PRINCIPLE_1_NAME]`). Your job is to (a) collect/derive concrete values, (b) fill the template precisely, and (c) propagate any amendments across dependent artifacts. +You are generating the project constitution into `/memory/constitution.md` from the template at `/templates/constitution-template.md`. The template contains placeholder tokens in square brackets (e.g. `[PROJECT_NAME]`, `[PRINCIPLE_1_NAME]`). Your job is to (a) collect/derive concrete values, (b) fill the template precisely, and (c) propagate any amendments across dependent artifacts. Follow this execution flow: -1. Load the existing constitution template at `/memory/constitution.md`. +1. Load the existing constitution template at `/templates/constitution-template.md`. - Identify every placeholder token of the form `[ALL_CAPS_IDENTIFIER]`. **IMPORTANT**: The user might require less or more principles than the ones used in the template. If a number is specified, respect that - follow the general template. You will update the doc accordingly. @@ -53,7 +53,7 @@ Follow this execution flow: - Dates ISO format YYYY-MM-DD. - Principles are declarative, testable, and free of vague language ("should" → replace with MUST/SHOULD rationale where appropriate). -7. Write the completed constitution back to `/memory/constitution.md` (overwrite). +7. Write the completed constitution to `/memory/constitution.md` (overwrite). 8. Output a final summary to the user with: - New version and bump rationale. diff --git a/memory/constitution.md b/templates/constitution-template.md similarity index 100% rename from memory/constitution.md rename to templates/constitution-template.md