prjct-cli 0.47.0 → 0.49.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.
@@ -147,6 +147,33 @@ fs.writeFileSync(path, JSON.stringify(data, null, 2))
147
147
 
148
148
  **Full specification**: Install prjct-cli and see `{npm root -g}/prjct-cli/templates/global/STORAGE-SPEC.md`
149
149
 
150
+ ### 6. Preserve Markers (User Customizations)
151
+
152
+ User customizations in context files and agents survive regeneration using preserve markers:
153
+
154
+ ```markdown
155
+ <!-- prjct:preserve -->
156
+ # My Custom Rules
157
+ - Always use tabs
158
+ - Prefer functional patterns
159
+ <!-- /prjct:preserve -->
160
+ ```
161
+
162
+ **How it works:**
163
+ - Content between markers is extracted before regeneration
164
+ - After regeneration, preserved content is appended under "Your Customizations"
165
+ - Named sections: `<!-- prjct:preserve:my-rules -->` for identification
166
+
167
+ **Where to use:**
168
+ - `context/CLAUDE.md` - Project-specific AI instructions
169
+ - `agents/*.md` - Domain-specific patterns
170
+ - Any regenerated context file
171
+
172
+ **⚠️ Invalid blocks show warnings:**
173
+ - Unclosed markers are ignored
174
+ - Nested blocks are not supported
175
+ - Mismatched markers trigger console warnings
176
+
150
177
  ---
151
178
 
152
179
  ## CORE WORKFLOW