agentic-kdd 3.0.4 → 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 CHANGED
@@ -55,6 +55,24 @@ 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
+
69
+ Memory Governance (v3.2):
70
+ akdd cure Run MemCurator — TTL, dedup, conflicts, scores
71
+ akdd cure report Preview what curation would do (no changes)
72
+ akdd llms Generate llms.txt + knowledge-graph.json
73
+ akdd benchmarks LongMemEval + Token Reduction + Memory Quality scores
74
+ akdd causal-prune Prune causal graph to prevent context collapse
75
+
58
76
  Metrics & Observability:
59
77
  akdd metrics Project KPIs — success rate, rework, autonomy score
60
78
  akdd metrics trend Show trend of last 10 cycles
@@ -220,6 +238,57 @@ switch (command) {
220
238
  break;
221
239
  }
222
240
 
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
+
266
+ // ── v3.2: MemCurator ───────────────────────────────────────────────────────
267
+ case 'cure': {
268
+ const sub = arg1 || 'run';
269
+ runModule('mem-curator.cjs', sub);
270
+ break;
271
+ }
272
+
273
+ // ── v3.2: llms.txt generator ───────────────────────────────────────────────
274
+ case 'llms': {
275
+ const sub = arg1 || 'all';
276
+ runModule('llms-generator.cjs', sub);
277
+ break;
278
+ }
279
+
280
+ // ── v3.2: Report benchmarks ────────────────────────────────────────────────
281
+ case 'benchmarks': {
282
+ runModule('metrics.cjs', 'benchmarks');
283
+ break;
284
+ }
285
+
286
+ // ── v3.2: Causal prune ─────────────────────────────────────────────────────
287
+ case 'causal-prune': {
288
+ runModule('causal-edges.cjs', 'prune');
289
+ break;
290
+ }
291
+
223
292
  // ── v3.0: Collaborative Mode (Legion) ────────────────────────────────
224
293
  case 'collab': {
225
294
  const sub = arg1 || 'status';