agentic-kdd 3.1.1 → 3.2.1
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/bin/akdd.js +35 -0
- package/contract-guard.cjs +851 -0
- package/creative-engine.cjs +560 -0
- package/package.json +1 -1
package/bin/akdd.js
CHANGED
|
@@ -55,6 +55,17 @@ const HELP = `
|
|
|
55
55
|
akdd adr Ingest ADRs from docs/adr/
|
|
56
56
|
akdd knowledge Ingest gotchas/conventions from docs/
|
|
57
57
|
|
|
58
|
+
Preservation Intelligence (v3.3):
|
|
59
|
+
akdd contracts Contract Guard status
|
|
60
|
+
akdd contracts list List all verified contracts
|
|
61
|
+
akdd contracts blast <f> Blast radius for a file
|
|
62
|
+
akdd contracts gate Run Preservation Gate manually
|
|
63
|
+
akdd contracts verify Revalidate all contracts
|
|
64
|
+
akdd creative Creative Engine level
|
|
65
|
+
akdd creative suggest View pending suggestions
|
|
66
|
+
akdd creative apply <id> Apply a suggestion
|
|
67
|
+
akdd creative wins View applied creative improvements
|
|
68
|
+
|
|
58
69
|
Memory Governance (v3.2):
|
|
59
70
|
akdd cure Run MemCurator — TTL, dedup, conflicts, scores
|
|
60
71
|
akdd cure report Preview what curation would do (no changes)
|
|
@@ -228,6 +239,30 @@ switch (command) {
|
|
|
228
239
|
}
|
|
229
240
|
|
|
230
241
|
|
|
242
|
+
|
|
243
|
+
// ── v3.3: Contract Guard ────────────────────────────────────────────────────
|
|
244
|
+
case 'contracts': {
|
|
245
|
+
const sub = arg1 || 'status';
|
|
246
|
+
if (sub === 'list') runModule('contract-guard.cjs', 'list', arg2 || '');
|
|
247
|
+
else if (sub === 'blast') { if (!arg2) { console.log('\n Uso: akdd contracts blast <archivo>\n'); break; } runModule('contract-guard.cjs', 'blast', `"${arg2}"`); }
|
|
248
|
+
else if (sub === 'gate') runModule('contract-guard.cjs', 'gate');
|
|
249
|
+
else if (sub === 'verify') runModule('contract-guard.cjs', 'verify', arg2 || '');
|
|
250
|
+
else if (sub === 'promote')runModule('contract-guard.cjs', 'promote');
|
|
251
|
+
else runModule('contract-guard.cjs', 'status');
|
|
252
|
+
break;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
// ── v3.3: Creative Engine ───────────────────────────────────────────────────
|
|
256
|
+
case 'creative': {
|
|
257
|
+
const sub = arg1 || 'level';
|
|
258
|
+
if (sub === 'suggest') runModule('creative-engine.cjs', 'suggest', arg2 || '');
|
|
259
|
+
else if (sub === 'apply') { if (!arg2) { console.log('\n Uso: akdd creative apply <id>\n'); break; } runModule('creative-engine.cjs', 'apply', `"${arg2}"`); }
|
|
260
|
+
else if (sub === 'dismiss') { if (!arg2) { console.log('\n Uso: akdd creative dismiss <id>\n'); break; } runModule('creative-engine.cjs', 'dismiss', `"${arg2}"`); }
|
|
261
|
+
else if (sub === 'wins') runModule('creative-engine.cjs', 'wins');
|
|
262
|
+
else runModule('creative-engine.cjs', 'level');
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
|
|
231
266
|
// ── v3.2: MemCurator ───────────────────────────────────────────────────────
|
|
232
267
|
case 'cure': {
|
|
233
268
|
const sub = arg1 || 'run';
|