@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.
- package/README.md +72 -0
- package/dist/council/decision-engine.d.ts.map +1 -1
- package/dist/council/decision-engine.js +20 -0
- package/dist/council/decision-engine.js.map +1 -1
- package/dist/council/decision-extractor.d.ts +13 -0
- package/dist/council/decision-extractor.d.ts.map +1 -0
- package/dist/council/decision-extractor.js +66 -0
- package/dist/council/decision-extractor.js.map +1 -0
- package/dist/council/devil-advocate.d.ts.map +1 -1
- package/dist/council/devil-advocate.js +12 -1
- package/dist/council/devil-advocate.js.map +1 -1
- package/dist/council/lead-developer.d.ts.map +1 -1
- package/dist/council/lead-developer.js +34 -14
- package/dist/council/lead-developer.js.map +1 -1
- package/dist/council/legal-compliance.d.ts.map +1 -1
- package/dist/council/legal-compliance.js +44 -24
- package/dist/council/legal-compliance.js.map +1 -1
- package/dist/council/llm-council.d.ts.map +1 -1
- package/dist/council/llm-council.js +41 -18
- package/dist/council/llm-council.js.map +1 -1
- package/dist/council/product-manager.d.ts.map +1 -1
- package/dist/council/product-manager.js +33 -13
- package/dist/council/product-manager.js.map +1 -1
- package/dist/council/security.d.ts.map +1 -1
- package/dist/council/security.js +44 -24
- package/dist/council/security.js.map +1 -1
- package/dist/council/system-architect.d.ts.map +1 -1
- package/dist/council/system-architect.js +33 -13
- package/dist/council/system-architect.js.map +1 -1
- package/dist/council/ux-designer.d.ts.map +1 -1
- package/dist/council/ux-designer.js +47 -26
- package/dist/council/ux-designer.js.map +1 -1
- package/dist/server.js +43 -9
- package/dist/server.js.map +1 -1
- package/dist/skills/memory/skill-session-restore.d.ts.map +1 -1
- package/dist/skills/memory/skill-session-restore.js +19 -24
- package/dist/skills/memory/skill-session-restore.js.map +1 -1
- package/dist/skills/memory/skill-session-save.js +4 -4
- package/dist/skills/memory/skill-session-save.js.map +1 -1
- 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
|
|
8
|
-
'
|
|
9
|
-
'
|
|
10
|
-
'
|
|
11
|
-
'Read
|
|
12
|
-
'Read progress.completed to know what
|
|
13
|
-
'Read progress.
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'
|
|
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
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
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
|
-
'
|
|
31
|
-
'
|
|
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
|
|
34
|
-
'
|
|
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,
|
|
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
|
|
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
|
-
'
|
|
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,
|
|
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"}
|