agileflow 2.41.0 → 2.42.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.
package/package.json
CHANGED
|
@@ -294,6 +294,29 @@ Next steps:
|
|
|
294
294
|
- No user interruption or prompts during normal usage
|
|
295
295
|
- Archives only when needed (status.json size triggers)
|
|
296
296
|
|
|
297
|
+
### Update Metadata with Version
|
|
298
|
+
|
|
299
|
+
Record the configured version for version tracking:
|
|
300
|
+
|
|
301
|
+
```bash
|
|
302
|
+
node -e "
|
|
303
|
+
const fs = require('fs');
|
|
304
|
+
const metaPath = 'docs/00-meta/agileflow-metadata.json';
|
|
305
|
+
if (!fs.existsSync(metaPath)) process.exit(0);
|
|
306
|
+
|
|
307
|
+
const meta = JSON.parse(fs.readFileSync(metaPath, 'utf8'));
|
|
308
|
+
meta.features = meta.features || {};
|
|
309
|
+
meta.features.archival = {
|
|
310
|
+
enabled: true,
|
|
311
|
+
configured_version: '2.40.0',
|
|
312
|
+
configured_at: new Date().toISOString()
|
|
313
|
+
};
|
|
314
|
+
meta.updated = new Date().toISOString();
|
|
315
|
+
fs.writeFileSync(metaPath, JSON.stringify(meta, null, 2));
|
|
316
|
+
console.log('Updated metadata with archival version 2.40.0');
|
|
317
|
+
"
|
|
318
|
+
```
|
|
319
|
+
|
|
297
320
|
## Rules
|
|
298
321
|
|
|
299
322
|
- Validate JSON (no trailing commas)
|
|
@@ -440,6 +440,29 @@ If already configured:
|
|
|
440
440
|
</invoke>
|
|
441
441
|
```
|
|
442
442
|
|
|
443
|
+
### Update Metadata with Version
|
|
444
|
+
|
|
445
|
+
Record the configured version for version tracking:
|
|
446
|
+
|
|
447
|
+
```bash
|
|
448
|
+
node -e "
|
|
449
|
+
const fs = require('fs');
|
|
450
|
+
const metaPath = 'docs/00-meta/agileflow-metadata.json';
|
|
451
|
+
if (!fs.existsSync(metaPath)) process.exit(0);
|
|
452
|
+
|
|
453
|
+
const meta = JSON.parse(fs.readFileSync(metaPath, 'utf8'));
|
|
454
|
+
meta.features = meta.features || {};
|
|
455
|
+
meta.features.statusline = {
|
|
456
|
+
enabled: true,
|
|
457
|
+
configured_version: '2.40.0',
|
|
458
|
+
configured_at: new Date().toISOString()
|
|
459
|
+
};
|
|
460
|
+
meta.updated = new Date().toISOString();
|
|
461
|
+
fs.writeFileSync(metaPath, JSON.stringify(meta, null, 2));
|
|
462
|
+
console.log('Updated metadata with statusline version 2.40.0');
|
|
463
|
+
"
|
|
464
|
+
```
|
|
465
|
+
|
|
443
466
|
## Rules
|
|
444
467
|
|
|
445
468
|
- Always use AskUserQuestion for component selection
|