@jigyasudham/veto 1.4.0 → 1.4.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.
Files changed (40) hide show
  1. package/README.md +72 -0
  2. package/dist/council/decision-engine.d.ts.map +1 -1
  3. package/dist/council/decision-engine.js +20 -0
  4. package/dist/council/decision-engine.js.map +1 -1
  5. package/dist/council/decision-extractor.d.ts +13 -0
  6. package/dist/council/decision-extractor.d.ts.map +1 -0
  7. package/dist/council/decision-extractor.js +66 -0
  8. package/dist/council/decision-extractor.js.map +1 -0
  9. package/dist/council/devil-advocate.d.ts.map +1 -1
  10. package/dist/council/devil-advocate.js +12 -1
  11. package/dist/council/devil-advocate.js.map +1 -1
  12. package/dist/council/lead-developer.d.ts.map +1 -1
  13. package/dist/council/lead-developer.js +34 -14
  14. package/dist/council/lead-developer.js.map +1 -1
  15. package/dist/council/legal-compliance.d.ts.map +1 -1
  16. package/dist/council/legal-compliance.js +44 -24
  17. package/dist/council/legal-compliance.js.map +1 -1
  18. package/dist/council/llm-council.d.ts.map +1 -1
  19. package/dist/council/llm-council.js +41 -18
  20. package/dist/council/llm-council.js.map +1 -1
  21. package/dist/council/product-manager.d.ts.map +1 -1
  22. package/dist/council/product-manager.js +33 -13
  23. package/dist/council/product-manager.js.map +1 -1
  24. package/dist/council/security.d.ts.map +1 -1
  25. package/dist/council/security.js +44 -24
  26. package/dist/council/security.js.map +1 -1
  27. package/dist/council/system-architect.d.ts.map +1 -1
  28. package/dist/council/system-architect.js +33 -13
  29. package/dist/council/system-architect.js.map +1 -1
  30. package/dist/council/ux-designer.d.ts.map +1 -1
  31. package/dist/council/ux-designer.js +47 -26
  32. package/dist/council/ux-designer.js.map +1 -1
  33. package/dist/server.js +43 -9
  34. package/dist/server.js.map +1 -1
  35. package/dist/skills/memory/skill-session-restore.d.ts.map +1 -1
  36. package/dist/skills/memory/skill-session-restore.js +19 -24
  37. package/dist/skills/memory/skill-session-restore.js.map +1 -1
  38. package/dist/skills/memory/skill-session-save.js +4 -4
  39. package/dist/skills/memory/skill-session-save.js.map +1 -1
  40. package/package.json +1 -1
@@ -4,34 +4,29 @@ export function run(input) {
4
4
  skill: 'session-restore',
5
5
  template: undefined,
6
6
  checklist: [
7
- 'Call veto_sessions_list to get all available saved sessions',
8
- 'Identify the most relevant session: sort by updatedAt descending, read the task summary',
9
- 'If multiple sessions match the current task, read the top 2-3 and pick the most recent',
10
- 'Call veto_session_restore with the selected sessionId to load the full session object',
11
- 'Read the phase field to understand where work was left off (planning/implementing/reviewing/blocked)',
12
- 'Read progress.completed to know what has already been done — do not redo this work',
13
- 'Read progress.inProgress to know the exact subtask that was interrupted',
14
- 'Read progress.remaining to understand the full remaining scope before starting',
15
- 'Read decisions to understand constraints and design choices already made do not revisit them without cause',
16
- 'Read findings to get codebase context (key files, discovered patterns, constraints)',
17
- 'Read blockers: if any blockers are listed, address them before continuing other work',
18
- 'Read nextAction and treat it as the starting instruction for this session',
19
- 'Re-read any key files mentioned in findings.filePaths before making changes',
20
- 'Verify that the code state matches expectations: if the session is old, re-check completed items',
21
- 'Save a new session checkpoint immediately after restoring and verifying context',
7
+ 'Call veto_sessions_list to find available sessions; pick the most recent one matching your task',
8
+ 'Call veto_session_restore with the session_id read the resume_instructions field first',
9
+ 'Trust the restored context. Do NOT re-read source files to orient yourself that defeats session restore and wastes tokens',
10
+ 'Read task_state.nextAction (or context.nextAction) that is your starting instruction, execute it directly',
11
+ 'Read decisions[] to understand constraints already made do not revisit them without cause',
12
+ 'Read progress.completed to know what is done — do not redo this work',
13
+ 'Read progress.remaining to know what is left before you start',
14
+ 'Only open a file if you are about to EDIT it not to "familiarize yourself" or "verify" it',
15
+ 'If you find a file has changed since the save (e.g. a function is missing), read only that file, note the discrepancy, and continue',
16
+ 'Save a new checkpoint after restore so future sessions start from your updated state, not the old one',
22
17
  ],
23
18
  patterns: [
24
- 'Restore-verify-continue: always verify actual code state matches what the session recorded before acting',
25
- 'Trust but verify: session describes intent; re-read key files to confirm they match expectations',
26
- 'Single source of truth: the saved session is authoritative about decisions and progress',
27
- 'Restore at the start of every new conversation before doing any work on a multi-session task',
19
+ 'Trust-then-act: the saved session is your context start working from nextAction immediately',
20
+ 'Read-only-to-edit: only read a file when you are about to change it, never for orientation',
21
+ 'Stale-signal: if restored context mentions a symbol that does not exist, read only that file to reconcile',
22
+ 'Checkpoint-on-restore: always save a new session immediately after restoring so the next session is current',
28
23
  ],
29
24
  gotchas: [
30
- 'Restoring an old session and acting on stale file paths files may have been moved or deleted',
31
- 'Skipping the verify step and redoing work already marked as completed wastes time and may undo changes',
32
- 'Picking the wrong session when multiple tasks are in progress — check the task field carefully',
33
- 'Not saving a new checkpoint after restore — the next session will still start from the old state',
34
- 'Trusting a session that was saved in a "blocked" state without first resolving the blocker',
25
+ 'Re-reading the whole codebase after restore this is the token-waste the tool exists to prevent; do not do it',
26
+ 'Ignoring resume_instructions and falling back to default "read all files" behavior',
27
+ 'Picking the wrong session when multiple tasks are in progress — check the task/summary field carefully',
28
+ 'Not saving a new checkpoint after restore — the next session will start from the old stale state',
29
+ 'Acting on a session saved in "blocked" state without first resolving the listed blocker',
35
30
  ],
36
31
  resources: [
37
32
  'Use the veto_session_restore MCP tool: { sessionId } → returns full session object',
@@ -1 +1 @@
1
- {"version":3,"file":"skill-session-restore.js","sourceRoot":"","sources":["../../../src/skills/memory/skill-session-restore.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAiB3E,MAAM,UAAU,GAAG,CAAC,KAAiB;IACnC,OAAO;QACL,KAAK,EAAE,iBAAiB;QACxB,QAAQ,EAAE,SAAS;QACnB,SAAS,EAAE;YACT,6DAA6D;YAC7D,yFAAyF;YACzF,wFAAwF;YACxF,uFAAuF;YACvF,sGAAsG;YACtG,oFAAoF;YACpF,yEAAyE;YACzE,gFAAgF;YAChF,8GAA8G;YAC9G,qFAAqF;YACrF,sFAAsF;YACtF,2EAA2E;YAC3E,6EAA6E;YAC7E,kGAAkG;YAClG,iFAAiF;SAClF;QACD,QAAQ,EAAE;YACR,0GAA0G;YAC1G,kGAAkG;YAClG,yFAAyF;YACzF,8FAA8F;SAC/F;QACD,OAAO,EAAE;YACP,gGAAgG;YAChG,0GAA0G;YAC1G,gGAAgG;YAChG,kGAAkG;YAClG,4FAA4F;SAC7F;QACD,SAAS,EAAE;YACT,oFAAoF;YACpF,+EAA+E;YAC/E,uFAAuF;YACvF,2EAA2E;SAC5E;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"skill-session-restore.js","sourceRoot":"","sources":["../../../src/skills/memory/skill-session-restore.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAiB3E,MAAM,UAAU,GAAG,CAAC,KAAiB;IACnC,OAAO;QACL,KAAK,EAAE,iBAAiB;QACxB,QAAQ,EAAE,SAAS;QACnB,SAAS,EAAE;YACT,iGAAiG;YACjG,0FAA0F;YAC1F,6HAA6H;YAC7H,6GAA6G;YAC7G,6FAA6F;YAC7F,sEAAsE;YACtE,+DAA+D;YAC/D,6FAA6F;YAC7F,qIAAqI;YACrI,uGAAuG;SACxG;QACD,QAAQ,EAAE;YACR,+FAA+F;YAC/F,4FAA4F;YAC5F,2GAA2G;YAC3G,6GAA6G;SAC9G;QACD,OAAO,EAAE;YACP,gHAAgH;YAChH,oFAAoF;YACpF,wGAAwG;YACxG,kGAAkG;YAClG,yFAAyF;SAC1F;QACD,SAAS,EAAE;YACT,oFAAoF;YACpF,+EAA+E;YAC/E,uFAAuF;YACvF,2EAA2E;SAC5E;KACF,CAAC;AACJ,CAAC"}
@@ -47,12 +47,12 @@ export function run(input) {
47
47
  'Include current phase: planning / implementing / reviewing / blocked / complete',
48
48
  'Include progress: completed[], inProgress[], remaining[] as concrete task lists',
49
49
  'Include decisions made: decision + rationale + alternatives considered',
50
- 'Include codebase findings: key file paths discovered, constraints, patterns found',
50
+ 'Include nextAction: a concrete, self-contained instruction the NEXT AI can execute WITHOUT reading any files first — e.g. "Edit src/server.ts line 302, add zod validation for summary field" not just "add validation"',
51
+ 'Include only the specific file paths you actually modified or need next — not a general list of the codebase',
52
+ 'Include enough inline context that the restoring AI does not need to re-read those files — paste the relevant function signatures or key lines if they are short',
51
53
  'Include blockers: anything requiring human action before work can continue',
52
- 'Include nextAction: the single most important next step as a concrete instruction',
53
- 'Keep each save concise — aim for < 500 tokens; link to files rather than copying content',
54
+ 'Keep each save concise aim for < 2000 tokens total; the goal is precision, not coverage',
54
55
  'Use the veto_session_save MCP tool to persist the session to SQLite',
55
- 'Verify the save succeeded by calling veto_sessions_list and confirming the session appears',
56
56
  ],
57
57
  patterns: [
58
58
  'Checkpoint pattern: save after each completed unit of work, not only at the end',
@@ -1 +1 @@
1
- {"version":3,"file":"skill-session-save.js","sourceRoot":"","sources":["../../../src/skills/memory/skill-session-save.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAiB1D,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiChB,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,UAAU,GAAG,CAAC,KAAiB;IACnC,OAAO;QACL,KAAK,EAAE,cAAc;QACrB,QAAQ,EAAE,QAAQ;QAClB,SAAS,EAAE;YACT,qFAAqF;YACrF,yFAAyF;YACzF,4FAA4F;YAC5F,0EAA0E;YAC1E,wFAAwF;YACxF,oFAAoF;YACpF,iFAAiF;YACjF,iFAAiF;YACjF,wEAAwE;YACxE,mFAAmF;YACnF,4EAA4E;YAC5E,mFAAmF;YACnF,0FAA0F;YAC1F,qEAAqE;YACrE,4FAA4F;SAC7F;QACD,QAAQ,EAAE;YACR,iFAAiF;YACjF,wFAAwF;YACxF,sFAAsF;YACtF,kFAAkF;SACnF;QACD,OAAO,EAAE;YACP,mFAAmF;YACnF,sFAAsF;YACtF,qFAAqF;YACrF,gGAAgG;YAChG,kGAAkG;SACnG;QACD,SAAS,EAAE;YACT,+FAA+F;YAC/F,iFAAiF;YACjF,oEAAoE;YACpE,2EAA2E;SAC5E;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"skill-session-save.js","sourceRoot":"","sources":["../../../src/skills/memory/skill-session-save.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAiB1D,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiChB,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,UAAU,GAAG,CAAC,KAAiB;IACnC,OAAO;QACL,KAAK,EAAE,cAAc;QACrB,QAAQ,EAAE,QAAQ;QAClB,SAAS,EAAE;YACT,qFAAqF;YACrF,yFAAyF;YACzF,4FAA4F;YAC5F,0EAA0E;YAC1E,wFAAwF;YACxF,oFAAoF;YACpF,iFAAiF;YACjF,iFAAiF;YACjF,wEAAwE;YACxE,yNAAyN;YACzN,8GAA8G;YAC9G,kKAAkK;YAClK,4EAA4E;YAC5E,2FAA2F;YAC3F,qEAAqE;SACtE;QACD,QAAQ,EAAE;YACR,iFAAiF;YACjF,wFAAwF;YACxF,sFAAsF;YACtF,kFAAkF;SACnF;QACD,OAAO,EAAE;YACP,mFAAmF;YACnF,sFAAsF;YACtF,qFAAqF;YACrF,gGAAgG;YAChG,kGAAkG;SACnG;QACD,SAAS,EAAE;YACT,+FAA+F;YAC/F,iFAAiF;YACjF,oEAAoE;YACpE,2EAA2E;SAC5E;KACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jigyasudham/veto",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "50 agents. 49 tools. 3 AIs. Self-learning. Zero extra cost.",
5
5
  "keywords": [
6
6
  "mcp",