agentic-kdd 3.1.1 → 3.2.2

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,21 @@ 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
+ Session continuity:
70
+ akdd historial Resume context in a new chat — paste output at start
71
+ akdd checkpoint Save checkpoint now (auto-runs every 5 cycles)
72
+
58
73
  Memory Governance (v3.2):
59
74
  akdd cure Run MemCurator — TTL, dedup, conflicts, scores
60
75
  akdd cure report Preview what curation would do (no changes)
@@ -228,6 +243,38 @@ switch (command) {
228
243
  }
229
244
 
230
245
 
246
+
247
+ // ── v3.3: Contract Guard ────────────────────────────────────────────────────
248
+ case 'contracts': {
249
+ const sub = arg1 || 'status';
250
+ if (sub === 'list') runModule('contract-guard.cjs', 'list', arg2 || '');
251
+ else if (sub === 'blast') { if (!arg2) { console.log('\n Uso: akdd contracts blast <archivo>\n'); break; } runModule('contract-guard.cjs', 'blast', `"${arg2}"`); }
252
+ else if (sub === 'gate') runModule('contract-guard.cjs', 'gate');
253
+ else if (sub === 'verify') runModule('contract-guard.cjs', 'verify', arg2 || '');
254
+ else if (sub === 'promote')runModule('contract-guard.cjs', 'promote');
255
+ else runModule('contract-guard.cjs', 'status');
256
+ break;
257
+ }
258
+
259
+ // ── v3.3: Creative Engine ───────────────────────────────────────────────────
260
+ case 'creative': {
261
+ const sub = arg1 || 'level';
262
+ if (sub === 'suggest') runModule('creative-engine.cjs', 'suggest', arg2 || '');
263
+ else if (sub === 'apply') { if (!arg2) { console.log('\n Uso: akdd creative apply <id>\n'); break; } runModule('creative-engine.cjs', 'apply', `"${arg2}"`); }
264
+ else if (sub === 'dismiss') { if (!arg2) { console.log('\n Uso: akdd creative dismiss <id>\n'); break; } runModule('creative-engine.cjs', 'dismiss', `"${arg2}"`); }
265
+ else if (sub === 'wins') runModule('creative-engine.cjs', 'wins');
266
+ else runModule('creative-engine.cjs', 'level');
267
+ break;
268
+ }
269
+
270
+ // ── v3.3: Session Guard ────────────────────────────────────────────────────
271
+ case 'historial':
272
+ runModule('session-guard.cjs', 'historial');
273
+ break;
274
+ case 'checkpoint':
275
+ runModule('session-guard.cjs', 'checkpoint');
276
+ break;
277
+
231
278
  // ── v3.2: MemCurator ───────────────────────────────────────────────────────
232
279
  case 'cure': {
233
280
  const sub = arg1 || 'run';