@ancleto/spec 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +46 -0
  2. package/agents/coder.md +149 -0
  3. package/agents/context-resolver.md +102 -0
  4. package/agents/documenter.md +157 -0
  5. package/agents/memory-keeper.md +142 -0
  6. package/agents/orchestrator.md +423 -0
  7. package/agents/reviewer.md +205 -0
  8. package/agents/spec-writer.md +105 -0
  9. package/agents/technical-discovery.md +134 -0
  10. package/agents/technical-seed-writer.md +56 -0
  11. package/agents/tester.md +179 -0
  12. package/commands/opsx-apply.md +161 -0
  13. package/commands/opsx-archive.md +172 -0
  14. package/commands/opsx-bulk-archive.md +255 -0
  15. package/commands/opsx-continue.md +135 -0
  16. package/commands/opsx-explore.md +181 -0
  17. package/commands/opsx-ff.md +164 -0
  18. package/commands/opsx-new.md +151 -0
  19. package/commands/opsx-onboard.md +567 -0
  20. package/commands/opsx-propose.md +174 -0
  21. package/commands/opsx-recall.md +57 -0
  22. package/commands/opsx-sync.md +144 -0
  23. package/commands/opsx-verify.md +176 -0
  24. package/package.json +41 -0
  25. package/skills/ancleto-commit/SKILL.md +118 -0
  26. package/skills/ancleto-pr/SKILL.md +164 -0
  27. package/skills/ancleto-technical-discovery/SKILL.md +74 -0
  28. package/skills/ancleto-technical-discovery/references/archetypes/api-layered.md +8 -0
  29. package/skills/ancleto-technical-discovery/references/archetypes/monorepo.md +8 -0
  30. package/skills/ancleto-technical-discovery/references/archetypes/ops-tooling.md +7 -0
  31. package/skills/ancleto-technical-discovery/references/archetypes/service-legacy.md +7 -0
  32. package/skills/ancleto-technical-discovery/references/archetypes/spa.md +7 -0
  33. package/skills/ancleto-technical-discovery/references/discovery-config.md +24 -0
  34. package/skills/ancleto-technical-discovery/references/generation-pipeline.md +56 -0
  35. package/skills/ancleto-technical-discovery/references/node-frontmatter.md +30 -0
  36. package/skills/ancleto-technical-discovery/references/output-contract.md +36 -0
  37. package/skills/ancleto-technical-discovery/references/templates/dossier.md +38 -0
  38. package/skills/ancleto-technical-discovery/references/templates/inventory.md +22 -0
  39. package/skills/ancleto-technical-discovery/references/templates/setup.md +27 -0
  40. package/skills/ancleto-technical-discovery/references/validation-checklist.md +12 -0
  41. package/skills/ancleto-upgrade/SKILL.md +449 -0
  42. package/skills/ancleto-upgrade/references/templates.md +320 -0
  43. package/src/cli/index.js +119 -0
  44. package/templates/AGENTS.md +36 -0
  45. package/templates/CONTRIBUTING.md +25 -0
  46. package/templates/PRODUCT.md +180 -0
@@ -0,0 +1,172 @@
1
+ ---
2
+ description: Archive a completed change in the experimental workflow
3
+ ---
4
+
5
+ Archive a completed change in the experimental workflow.
6
+
7
+ **Input**: Optionally specify a change name after `/opsx-archive` (e.g., `/opsx-archive add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
8
+
9
+ **Steps**
10
+
11
+ 1. **If no change name provided, prompt for selection**
12
+
13
+ Run `openspec list --json` to get available changes. Use the **AskUserQuestion tool** to let the user select.
14
+
15
+ Show only active changes (not already archived).
16
+ Include the schema used for each change if available.
17
+
18
+ **IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose.
19
+
20
+ 2. **Check artifact completion status**
21
+
22
+ Run `openspec status --change "<name>" --json` to check artifact completion.
23
+
24
+ Parse the JSON to understand:
25
+
26
+ - `schemaName`: The workflow being used
27
+ - `artifacts`: List of artifacts with their status (`done` or other)
28
+
29
+ **If any artifacts are not `done`:**
30
+
31
+ - Display warning listing incomplete artifacts
32
+ - Prompt user for confirmation to continue
33
+ - Proceed if user confirms
34
+
35
+ 3. **Check task completion status**
36
+
37
+ Read the tasks file (typically `tasks.md`) to check for incomplete tasks.
38
+
39
+ Count tasks marked with `- [ ]` (incomplete) vs `- [x]` (complete).
40
+
41
+ **If incomplete tasks found:**
42
+
43
+ - Display warning showing count of incomplete tasks
44
+ - Prompt user for confirmation to continue
45
+ - Proceed if user confirms
46
+
47
+ **If no tasks file exists:** Proceed without task-related warning.
48
+
49
+ 4. **Assess delta spec sync state**
50
+
51
+ Check for delta specs at `openspec/changes/<name>/specs/`. If none exist, proceed without sync prompt.
52
+
53
+ **If delta specs exist:**
54
+
55
+ - Compare each delta spec with its corresponding main spec at `openspec/specs/<capability>/spec.md`
56
+ - Determine what changes would be applied (adds, modifications, removals, renames)
57
+ - Show a combined summary before prompting
58
+
59
+ **Prompt options:**
60
+
61
+ - If changes needed: "Sync now (recommended)", "Archive without syncing"
62
+ - If already synced: "Archive now", "Sync anyway", "Cancel"
63
+
64
+ If user chooses sync, use Task tool (subagent_type: "general-purpose", prompt: "Use Skill tool to invoke openspec-sync-specs for change '<name>'. Delta spec analysis: <include the analyzed delta spec summary>"). Proceed to archive regardless of choice.
65
+
66
+ 5. **Perform the archive**
67
+
68
+ Create the archive directory if it doesn't exist:
69
+
70
+ ```bash
71
+ mkdir -p openspec/changes/archive
72
+ ```
73
+
74
+ Generate target name using current date: `YYYY-MM-DD-<change-name>`
75
+
76
+ **Check if target already exists:**
77
+
78
+ - If yes: Fail with error, suggest renaming existing archive or using different date
79
+ - If no: Clean up scaffold files and move the change directory to archive
80
+
81
+ **Before moving**, delete scaffold-only files if present — they must not be preserved in the archive:
82
+
83
+ ```bash
84
+ rm -f openspec/changes/<name>/context.md
85
+ rm -f openspec/changes/<name>/kb-context.md
86
+ ```
87
+
88
+ Then move:
89
+
90
+ ```bash
91
+ mv openspec/changes/<name> openspec/changes/archive/YYYY-MM-DD-<name>
92
+ ```
93
+
94
+ 6. **Display summary**
95
+
96
+ Show archive completion summary including:
97
+
98
+ - Change name
99
+ - Schema that was used
100
+ - Archive location
101
+ - Spec sync status (synced / sync skipped / no delta specs)
102
+ - Note about any warnings (incomplete artifacts/tasks)
103
+
104
+ **Output On Success**
105
+
106
+ ```
107
+ ## Archive Complete
108
+
109
+ **Change:** <change-name>
110
+ **Schema:** <schema-name>
111
+ **Archived to:** openspec/changes/archive/YYYY-MM-DD-<name>/
112
+ **Specs:** ✓ Synced to main specs
113
+
114
+ All artifacts complete. All tasks complete.
115
+ ```
116
+
117
+ **Output On Success (No Delta Specs)**
118
+
119
+ ```
120
+ ## Archive Complete
121
+
122
+ **Change:** <change-name>
123
+ **Schema:** <schema-name>
124
+ **Archived to:** openspec/changes/archive/YYYY-MM-DD-<name>/
125
+ **Specs:** No delta specs
126
+
127
+ All artifacts complete. All tasks complete.
128
+ ```
129
+
130
+ **Output On Success With Warnings**
131
+
132
+ ```
133
+ ## Archive Complete (with warnings)
134
+
135
+ **Change:** <change-name>
136
+ **Schema:** <schema-name>
137
+ **Archived to:** openspec/changes/archive/YYYY-MM-DD-<name>/
138
+ **Specs:** Sync skipped (user chose to skip)
139
+
140
+ **Warnings:**
141
+ - Archived with 2 incomplete artifacts
142
+ - Archived with 3 incomplete tasks
143
+ - Delta spec sync was skipped (user chose to skip)
144
+
145
+ Review the archive if this was not intentional.
146
+ ```
147
+
148
+ **Output On Error (Archive Exists)**
149
+
150
+ ```
151
+ ## Archive Failed
152
+
153
+ **Change:** <change-name>
154
+ **Target:** openspec/changes/archive/YYYY-MM-DD-<name>/
155
+
156
+ Target archive directory already exists.
157
+
158
+ **Options:**
159
+ 1. Rename the existing archive
160
+ 2. Delete the existing archive if it's a duplicate
161
+ 3. Wait until a different date to archive
162
+ ```
163
+
164
+ **Guardrails**
165
+
166
+ - Always prompt for change selection if not provided
167
+ - Use artifact graph (openspec status --json) for completion checking
168
+ - Don't block archive on warnings - just inform and confirm
169
+ - Preserve .openspec.yaml when moving to archive (it moves with the directory)
170
+ - Show clear summary of what happened
171
+ - If sync is requested, use the Skill tool to invoke `openspec-sync-specs` (agent-driven)
172
+ - If delta specs exist, always run the sync assessment and show the combined summary before prompting
@@ -0,0 +1,255 @@
1
+ ---
2
+ description: Archive multiple completed changes at once
3
+ ---
4
+
5
+ Archive multiple completed changes in a single operation.
6
+
7
+ This skill allows you to batch-archive changes, handling spec conflicts intelligently by checking the codebase to determine what's actually implemented.
8
+
9
+ **Input**: None required (prompts for selection)
10
+
11
+ **Steps**
12
+
13
+ 1. **Get active changes**
14
+
15
+ Run `openspec list --json` to get all active changes.
16
+
17
+ If no active changes exist, inform user and stop.
18
+
19
+ 2. **Prompt for change selection**
20
+
21
+ Use **AskUserQuestion tool** with multi-select to let user choose changes:
22
+
23
+ - Show each change with its schema
24
+ - Include an option for "All changes"
25
+ - Allow any number of selections (1+ works, 2+ is the typical use case)
26
+
27
+ **IMPORTANT**: Do NOT auto-select. Always let the user choose.
28
+
29
+ 3. **Batch validation - gather status for all selected changes**
30
+
31
+ For each selected change, collect:
32
+
33
+ a. **Artifact status** - Run `openspec status --change "<name>" --json`
34
+
35
+ - Parse `schemaName` and `artifacts` list
36
+ - Note which artifacts are `done` vs other states
37
+
38
+ b. **Task completion** - Read `openspec/changes/<name>/tasks.md`
39
+
40
+ - Count `- [ ]` (incomplete) vs `- [x]` (complete)
41
+ - If no tasks file exists, note as "No tasks"
42
+
43
+ c. **Delta specs** - Check `openspec/changes/<name>/specs/` directory
44
+
45
+ - List which capability specs exist
46
+ - For each, extract requirement names (lines matching `### Requirement: <name>`)
47
+
48
+ 4. **Detect spec conflicts**
49
+
50
+ Build a map of `capability -> [changes that touch it]`:
51
+
52
+ ```
53
+ auth -> [change-a, change-b] <- CONFLICT (2+ changes)
54
+ api -> [change-c] <- OK (only 1 change)
55
+ ```
56
+
57
+ A conflict exists when 2+ selected changes have delta specs for the same capability.
58
+
59
+ 5. **Resolve conflicts agentically**
60
+
61
+ **For each conflict**, investigate the codebase:
62
+
63
+ a. **Read the delta specs** from each conflicting change to understand what each claims to add/modify
64
+
65
+ b. **Search the codebase** for implementation evidence:
66
+
67
+ - Look for code implementing requirements from each delta spec
68
+ - Check for related files, functions, or tests
69
+
70
+ c. **Determine resolution**:
71
+
72
+ - If only one change is actually implemented -> sync that one's specs
73
+ - If both implemented -> apply in chronological order (older first, newer overwrites)
74
+ - If neither implemented -> skip spec sync, warn user
75
+
76
+ d. **Record resolution** for each conflict:
77
+
78
+ - Which change's specs to apply
79
+ - In what order (if both)
80
+ - Rationale (what was found in codebase)
81
+
82
+ 6. **Show consolidated status table**
83
+
84
+ Display a table summarizing all changes:
85
+
86
+ ```
87
+ | Change | Artifacts | Tasks | Specs | Conflicts | Status |
88
+ |---------------------|-----------|-------|---------|-----------|--------|
89
+ | schema-management | Done | 5/5 | 2 delta | None | Ready |
90
+ | project-config | Done | 3/3 | 1 delta | None | Ready |
91
+ | add-oauth | Done | 4/4 | 1 delta | auth (!) | Ready* |
92
+ | add-verify-skill | 1 left | 2/5 | None | None | Warn |
93
+ ```
94
+
95
+ For conflicts, show the resolution:
96
+
97
+ ```
98
+ * Conflict resolution:
99
+ - auth spec: Will apply add-oauth then add-jwt (both implemented, chronological order)
100
+ ```
101
+
102
+ For incomplete changes, show warnings:
103
+
104
+ ```
105
+ Warnings:
106
+ - add-verify-skill: 1 incomplete artifact, 3 incomplete tasks
107
+ ```
108
+
109
+ 7. **Confirm batch operation**
110
+
111
+ Use **AskUserQuestion tool** with a single confirmation:
112
+
113
+ - "Archive N changes?" with options based on status
114
+ - Options might include:
115
+ - "Archive all N changes"
116
+ - "Archive only N ready changes (skip incomplete)"
117
+ - "Cancel"
118
+
119
+ If there are incomplete changes, make clear they'll be archived with warnings.
120
+
121
+ 8. **Execute archive for each confirmed change**
122
+
123
+ Process changes in the determined order (respecting conflict resolution):
124
+
125
+ a. **Sync specs** if delta specs exist:
126
+
127
+ - Use the openspec-sync-specs approach (agent-driven intelligent merge)
128
+ - For conflicts, apply in resolved order
129
+ - Track if sync was done
130
+
131
+ b. **Perform the archive**:
132
+
133
+ ```bash
134
+ mkdir -p openspec/changes/archive
135
+ mv openspec/changes/<name> openspec/changes/archive/YYYY-MM-DD-<name>
136
+ ```
137
+
138
+ c. **Track outcome** for each change:
139
+
140
+ - Success: archived successfully
141
+ - Failed: error during archive (record error)
142
+ - Skipped: user chose not to archive (if applicable)
143
+
144
+ 9. **Display summary**
145
+
146
+ Show final results:
147
+
148
+ ```
149
+ ## Bulk Archive Complete
150
+
151
+ Archived 3 changes:
152
+ - schema-management-cli -> archive/2026-01-19-schema-management-cli/
153
+ - project-config -> archive/2026-01-19-project-config/
154
+ - add-oauth -> archive/2026-01-19-add-oauth/
155
+
156
+ Skipped 1 change:
157
+ - add-verify-skill (user chose not to archive incomplete)
158
+
159
+ Spec sync summary:
160
+ - 4 delta specs synced to main specs
161
+ - 1 conflict resolved (auth: applied both in chronological order)
162
+ ```
163
+
164
+ If any failures:
165
+
166
+ ```
167
+ Failed 1 change:
168
+ - some-change: Archive directory already exists
169
+ ```
170
+
171
+ **Conflict Resolution Examples**
172
+
173
+ Example 1: Only one implemented
174
+
175
+ ```
176
+ Conflict: specs/auth/spec.md touched by [add-oauth, add-jwt]
177
+
178
+ Checking add-oauth:
179
+ - Delta adds "OAuth Provider Integration" requirement
180
+ - Searching codebase... found src/auth/oauth.ts implementing OAuth flow
181
+
182
+ Checking add-jwt:
183
+ - Delta adds "JWT Token Handling" requirement
184
+ - Searching codebase... no JWT implementation found
185
+
186
+ Resolution: Only add-oauth is implemented. Will sync add-oauth specs only.
187
+ ```
188
+
189
+ Example 2: Both implemented
190
+
191
+ ```
192
+ Conflict: specs/api/spec.md touched by [add-rest-api, add-graphql]
193
+
194
+ Checking add-rest-api (created 2026-01-10):
195
+ - Delta adds "REST Endpoints" requirement
196
+ - Searching codebase... found src/api/rest.ts
197
+
198
+ Checking add-graphql (created 2026-01-15):
199
+ - Delta adds "GraphQL Schema" requirement
200
+ - Searching codebase... found src/api/graphql.ts
201
+
202
+ Resolution: Both implemented. Will apply add-rest-api specs first,
203
+ then add-graphql specs (chronological order, newer takes precedence).
204
+ ```
205
+
206
+ **Output On Success**
207
+
208
+ ```
209
+ ## Bulk Archive Complete
210
+
211
+ Archived N changes:
212
+ - <change-1> -> archive/YYYY-MM-DD-<change-1>/
213
+ - <change-2> -> archive/YYYY-MM-DD-<change-2>/
214
+
215
+ Spec sync summary:
216
+ - N delta specs synced to main specs
217
+ - No conflicts (or: M conflicts resolved)
218
+ ```
219
+
220
+ **Output On Partial Success**
221
+
222
+ ```
223
+ ## Bulk Archive Complete (partial)
224
+
225
+ Archived N changes:
226
+ - <change-1> -> archive/YYYY-MM-DD-<change-1>/
227
+
228
+ Skipped M changes:
229
+ - <change-2> (user chose not to archive incomplete)
230
+
231
+ Failed K changes:
232
+ - <change-3>: Archive directory already exists
233
+ ```
234
+
235
+ **Output When No Changes**
236
+
237
+ ```
238
+ ## No Changes to Archive
239
+
240
+ No active changes found. Create a new change to get started.
241
+ ```
242
+
243
+ **Guardrails**
244
+
245
+ - Allow any number of changes (1+ is fine, 2+ is the typical use case)
246
+ - Always prompt for selection, never auto-select
247
+ - Detect spec conflicts early and resolve by checking codebase
248
+ - When both changes are implemented, apply specs in chronological order
249
+ - Skip spec sync only when implementation is missing (warn user)
250
+ - Show clear per-change status before confirming
251
+ - Use single confirmation for entire batch
252
+ - Track and report all outcomes (success/skip/fail)
253
+ - Preserve .openspec.yaml when moving to archive
254
+ - Archive directory target uses current date: YYYY-MM-DD-<name>
255
+ - If archive target exists, fail that change but continue with others
@@ -0,0 +1,135 @@
1
+ ---
2
+ description: Continue working on a change - create the next artifact (Experimental)
3
+ ---
4
+
5
+ Continue working on a change by creating the next artifact.
6
+
7
+ **Input**: Optionally specify a change name after `/opsx-continue` (e.g., `/opsx-continue add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
8
+
9
+ **Steps**
10
+
11
+ 1. **If no change name provided, prompt for selection**
12
+
13
+ Run `openspec list --json` to get available changes sorted by most recently modified. Then use the **AskUserQuestion tool** to let the user select which change to work on.
14
+
15
+ Present the top 3-4 most recently modified changes as options, showing:
16
+
17
+ - Change name
18
+ - Schema (from `schema` field if present, otherwise "spec-driven")
19
+ - Status (e.g., "0/5 tasks", "complete", "no tasks")
20
+ - How recently it was modified (from `lastModified` field)
21
+
22
+ Mark the most recently modified change as "(Recommended)" since it's likely what the user wants to continue.
23
+
24
+ **IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose.
25
+
26
+ 2. **Check current status**
27
+
28
+ ```bash
29
+ openspec status --change "<name>" --json
30
+ ```
31
+
32
+ Parse the JSON to understand current state. The response includes:
33
+
34
+ - `schemaName`: The workflow schema being used (e.g., "spec-driven")
35
+ - `artifacts`: Array of artifacts with their status ("done", "ready", "blocked")
36
+ - `isComplete`: Boolean indicating if all artifacts are complete
37
+
38
+ 3. **Load scaffold context files** (if not already loaded this session)
39
+
40
+ If `context.md` or `kb-context.md` for this change were already read earlier in the current session, skip this step — they are already in context.
41
+
42
+ Otherwise, read them as background context — they are NOT artifacts and must NOT be included in output files, but their contents inform what you write:
43
+
44
+ - `openspec/changes/<name>/context.md` — Work Item context (title, description, acceptance criteria)
45
+ - `openspec/changes/<name>/kb-context.md` — Knowledge Base context at org/squad/project levels
46
+
47
+ If either file is missing, skip silently.
48
+
49
+ 4. **Act based on status**:
50
+
51
+ ***
52
+
53
+ **If all artifacts are complete (`isComplete: true`)**:
54
+
55
+ - Congratulate the user
56
+ - Show final status including the schema used
57
+ - Suggest: "All artifacts created! You can now implement this change with `/opsx-apply` or archive it with `/opsx-archive`."
58
+ - STOP
59
+
60
+ ***
61
+
62
+ **If artifacts are ready to create** (status shows artifacts with `status: "ready"`):
63
+
64
+ - Pick the FIRST artifact with `status: "ready"` from the status output
65
+ - Get its instructions:
66
+ ```bash
67
+ openspec instructions <artifact-id> --change "<name>" --json
68
+ ```
69
+ - Parse the JSON. The key fields are:
70
+ - `context`: Project background (constraints for you - do NOT include in output)
71
+ - `rules`: Artifact-specific rules (constraints for you - do NOT include in output)
72
+ - `template`: The structure to use for your output file
73
+ - `instruction`: Schema-specific guidance
74
+ - `outputPath`: Where to write the artifact
75
+ - `dependencies`: Completed artifacts to read for context
76
+ - **Create the artifact file**:
77
+ - Read any completed dependency files for context
78
+ - If creating the **first artifact** (proposal):
79
+ - If `context.md` was loaded with WI data (step 3): use the WI title/description as the problem statement, acceptance criteria as the requirements basis, and include a `## Related Work Item` section: `**#{id}** — {System.Title} ({WorkItemType}) · Project: {System.TeamProject}`
80
+ - If `kb-context.md` was loaded (step 3): use its contents as organizational context when writing the artifact (do NOT copy kb-context.md content into the output)
81
+ - Use `template` as the structure - fill in its sections
82
+ - Apply `context` and `rules` as constraints when writing - but do NOT copy them into the file
83
+ - Write to the output path specified in instructions
84
+ - Show what was created and what's now unlocked
85
+ - STOP after creating ONE artifact
86
+
87
+ ***
88
+
89
+ **If no artifacts are ready (all blocked)**:
90
+
91
+ - This shouldn't happen with a valid schema
92
+ - Show status and suggest checking for issues
93
+
94
+ 5. **After creating an artifact, show progress**
95
+ ```bash
96
+ openspec status --change "<name>"
97
+ ```
98
+
99
+ **Output**
100
+
101
+ After each invocation, show:
102
+
103
+ - Which artifact was created
104
+ - Schema workflow being used
105
+ - Current progress (N/M complete)
106
+ - What artifacts are now unlocked
107
+ - Prompt: "Run `/opsx-continue` to create the next artifact"
108
+
109
+ **Artifact Creation Guidelines**
110
+
111
+ The artifact types and their purpose depend on the schema. Use the `instruction` field from the instructions output to understand what to create.
112
+
113
+ Common artifact patterns:
114
+
115
+ **spec-driven schema** (proposal → specs → design → tasks):
116
+
117
+ - **proposal.md**: Ask user about the change if not clear. Fill in Why, What Changes, Capabilities, Impact.
118
+ - The Capabilities section is critical - each capability listed will need a spec file.
119
+ - **specs/<capability>/spec.md**: Create one spec per capability listed in the proposal's Capabilities section (use the capability name, not the change name).
120
+ - **design.md**: Document technical decisions, architecture, and implementation approach.
121
+ - **tasks.md**: Break down implementation into checkboxed tasks.
122
+
123
+ For other schemas, follow the `instruction` field from the CLI output.
124
+
125
+ **Guardrails**
126
+
127
+ - Create ONE artifact per invocation
128
+ - Always read dependency artifacts before creating a new one
129
+ - Never skip artifacts or create out of order
130
+ - If context is unclear, ask the user before creating
131
+ - Verify the artifact file exists after writing before marking progress
132
+ - Use the schema's artifact sequence, don't assume specific artifact names
133
+ - **IMPORTANT**: `context` and `rules` are constraints for YOU, not content for the file
134
+ - Do NOT copy `<context>`, `<rules>`, `<project_context>` blocks into the artifact
135
+ - These guide what you write, but should never appear in the output