@su-record/vibe 4.1.23 → 4.1.25

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 (41) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/README.md +8 -8
  5. package/card.md +6 -6
  6. package/dist/cli/human.js +7 -3
  7. package/dist/cli/human.js.map +1 -1
  8. package/dist/cli/memory.js +1 -1
  9. package/dist/cli/memory.js.map +1 -1
  10. package/dist/cli/setup.js +2 -2
  11. package/dist/cli/setup.js.map +1 -1
  12. package/dist/cli/work.js +4 -3
  13. package/dist/cli/work.js.map +1 -1
  14. package/dist/core/client.js +1 -1
  15. package/dist/core/client.js.map +1 -1
  16. package/dist/core/config.js +2 -1
  17. package/dist/core/config.js.map +1 -1
  18. package/dist/core/context.js +3 -1
  19. package/dist/core/context.js.map +1 -1
  20. package/dist/core/ledger.js +14 -6
  21. package/dist/core/ledger.js.map +1 -1
  22. package/dist/core/paths.js +10 -8
  23. package/dist/core/paths.js.map +1 -1
  24. package/dist/core/procedure.js +1 -1
  25. package/dist/core/procedure.js.map +1 -1
  26. package/dist/core/profile.js +23 -0
  27. package/dist/core/profile.js.map +1 -1
  28. package/dist/core/view.js +29 -7
  29. package/dist/core/view.js.map +1 -1
  30. package/dist/install/global.js +2 -2
  31. package/dist/install/global.js.map +1 -1
  32. package/dist/install/project.js +7 -1
  33. package/dist/install/project.js.map +1 -1
  34. package/dist/install/register.js +21 -0
  35. package/dist/install/register.js.map +1 -1
  36. package/hooks/notify.js +41 -13
  37. package/package.json +1 -1
  38. package/skills/vibe/SKILL.md +1 -1
  39. package/skills/vibe-build/SKILL.md +1 -1
  40. package/skills/vibe-discover/SKILL.md +3 -2
  41. package/skills/vibe-scope/SKILL.md +7 -6
@@ -1 +1 @@
1
- {"version":3,"file":"register.js","sourceRoot":"","sources":["../../src/install/register.ts"],"names":[],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CHANGED
@@ -50,20 +50,20 @@ function emitContext(text) {
50
50
  // check ask for the same `vibe authorize --action`; `send` is the hook's own. A command that only reads —
51
51
  // grep, cat, git log — is never gated, whatever words it carries.
52
52
  const IRREVERSIBLE = [
53
- ['restore', /(?:\b|_)restore\b/i],
54
- ['reset', /\breset\b/i],
55
- ['drop', /\bdrop\b/i],
56
- ['truncate', /\btruncate\b/i],
57
- ['seed', /\bseed(?:ing|ed)?\b/i],
58
- ['migrate', /\bmigrat\w*[:\s-]+(?:fresh|down|rollback|refresh|reset)\b|\b(?:rollback|down)[:\s-]+migrat/i],
53
+ ['restore', /(?:(?<![-/])\b|_)restore\b/i],
54
+ ['reset', /(?<![-/])\breset\b/i],
55
+ ['drop', /(?<![-/])\bdrop\b/i],
56
+ ['truncate', /(?<![-/])\btruncate\b/i],
57
+ ['seed', /(?<![-/])\bseed(?:ing|ed)?\b/i],
58
+ ['migrate', /(?<![-/])\bmigrat\w*[:\s-]+(?:fresh|down|rollback|refresh|reset)\b|(?<![-/])\b(?:rollback|down)[:\s-]+migrat/i],
59
59
  ['delete', /\brm\s+-[a-z]*r[a-z]*f?\b|\bDELETE\s+FROM\b|\bkubectl\s+delete\b|\bgit\s+push\s+[^|]*--force\b/i],
60
60
  ['push', /\bgit\s+push\b/],
61
- ['deploy', /\bdeploy\b/i],
62
- ['publish', /\bnpm\s+publish\b|\bpublish\b/i],
61
+ ['deploy', /(?<![-/])\bdeploy\b/i],
62
+ ['publish', /\bnpm\s+publish\b|(?<![-/])\bpublish\b/i],
63
63
  ['apply', /\bterraform\s+apply\b|\bkubectl\s+apply\b/i],
64
64
  ['send', /\b(sendmail|mail\s+-s|curl\s+[^|]*-X\s*POST)\b/],
65
65
  ];
66
- const READS_ONLY = /^\s*(?:grep|rg|cat|head|tail|less|ls|find|wc|echo|printf|sed\s+-n|git\s+(?:log|diff|show|status|grep|blame|branch|ls-files)|vibe\s+(?:state|context|map|read|check|ledger))\b/;
66
+ const READS_ONLY = /^\s*(?:grep|rg|cat|head|tail|less|ls|find|wc|echo|printf|sed\s+-n|git\s+(?:log|diff|show|status|grep|blame|branch|ls-files))\b/;
67
67
 
68
68
  function recentAuthorize(action) {
69
69
  try {
@@ -86,9 +86,9 @@ if (!fs.existsSync(path.join(root, '.vibe'))) process.exit(0);
86
86
 
87
87
  function tokenPolicy() {
88
88
  try {
89
- return JSON.parse(fs.readFileSync(path.join(root, '.vibe', 'config.json'), 'utf-8')).tokens || 'irreversible';
89
+ return JSON.parse(fs.readFileSync(path.join(root, '.vibe', 'config.json'), 'utf-8')).tokens || 'off';
90
90
  } catch {
91
- return 'irreversible';
91
+ return 'off';
92
92
  }
93
93
  }
94
94
  function tokensOff() {
@@ -118,6 +118,31 @@ function adviseRead(payload) {
118
118
  const cli = path.join(here, '..', 'dist', 'cli.js');
119
119
  const vibeCommand = fs.existsSync(cli) ? [process.execPath, cli] : ['vibe'];
120
120
 
121
+ /** The model's last message, when it claims completion: done, complete, finished, passed, ready, all checks. Read from the
122
+ * transcript the client names (Claude Code and Codex both pass `transcript_path`); null when there is no such claim. */
123
+ function completionClaim(transcriptPath) {
124
+ if (!transcriptPath) return null;
125
+ let text = '';
126
+ try {
127
+ const lines = fs.readFileSync(transcriptPath, 'utf-8').trim().split('\n');
128
+ for (let i = lines.length - 1; i >= 0 && !text; i -= 1) {
129
+ let m;
130
+ try {
131
+ m = JSON.parse(lines[i]);
132
+ } catch {
133
+ continue;
134
+ }
135
+ const msg = m.type === 'assistant' ? m.message : m.payload && m.payload.type === 'message' && m.payload.role === 'assistant' ? m.payload : null;
136
+ if (!msg) continue;
137
+ for (const c of msg.content || []) if (typeof c.text === 'string') text += c.text;
138
+ }
139
+ } catch {
140
+ return null;
141
+ }
142
+ const m = /[^.\n]*\b(done|complete[d]?|finished|passed|ready|all checks? pass(?:ed)?|everything passes)\b[^.\n]*/i.exec(text);
143
+ return m ? m[0].trim().slice(0, 120) : null;
144
+ }
145
+
121
146
  /** Stop: the model is ending its turn. With an approved intent still building, the verdict runs here — once — and its
122
147
  * report comes back as the reason the turn is not over; a turn already continued this way is let go (no loop). */
123
148
  function onStop(payload) {
@@ -132,11 +157,13 @@ function onStop(payload) {
132
157
  process.exit(0);
133
158
  }
134
159
  if (state !== 'APPROVED' && state !== 'RUNNING') process.exit(0);
160
+ const claim = completionClaim(payload.transcript_path);
135
161
  const r = spawnSync(vibeCommand[0], [...vibeCommand.slice(1), 'check', '--all'], { cwd: root, encoding: 'utf-8', timeout: 600000, shell: vibeCommand.length === 1 && process.platform === 'win32', env: { ...process.env, VIBE_SKIP_SETUP: '1' } });
136
162
  const report = (r.stdout || '').trim();
137
163
  if (!report) process.exit(0);
138
164
  const done = /\bDONE — every gate scenario passed\b/.test(report);
139
- process.stdout.write(`${JSON.stringify({ decision: 'block', reason: `[vibe] the turn ended without vibe check; it ran now:\n${report}\n${done ? 'Report from this output — no further commands.' : 'Fix what failed, then vibe check <id>; do not say done.'}` })}\n`);
165
+ const audit = claim && !done ? `unverified: "${claim}" — vibe check says otherwise (below). ` : '';
166
+ process.stdout.write(`${JSON.stringify({ decision: 'block', reason: `[vibe] ${audit}the turn ended without vibe check; it ran now:\n${report}\n${done ? 'Report from this output — no further commands.' : 'Fix what failed, then vibe check <id>; do not say done.'}` })}\n`);
140
167
  process.exit(0);
141
168
  }
142
169
 
@@ -162,7 +189,8 @@ if (mode === 'pre') {
162
189
  }
163
190
  const command = String((payload.tool_input && payload.tool_input.command) || '');
164
191
  // Every segment is judged — `echo x && git push`, `ls; rm -rf build`, `cat x | git push` carry the action in a later one
165
- const segments = command.split(/&&|\|\||;|\||\n/).map((s) => s.trim()).filter((s) => s && !READS_ONLY.test(s));
192
+ // Vibe gates its own execution; its approval and inbox commands must remain reachable.
193
+ const segments = command.split(/&&|\|\||;|\||\n/).map((s) => s.trim()).filter((s) => s && !READS_ONLY.test(s) && !/^vibe(?:\s|$)/.test(s));
166
194
  // Under strict and irreversible the gate blocks (exit 2 stops the tool call in Claude Code); under off it only warns.
167
195
  for (const [action, re] of IRREVERSIBLE) {
168
196
  if (segments.some((s) => re.test(s)) && !recentAuthorize(action)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "4.1.23",
3
+ "version": "4.1.25",
4
4
  "description": "An AX/FDE harness for Claude Code, Codex CLI and ChatGPT desktop. Say what you need, approve the scenarios once; the harness proves the work by running the checks itself. Memory in plain files, human tokens for irreversible actions, a ledger instead of claims.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,7 +23,7 @@ If `vibe` is not on PATH, run `npm i -g @su-record/vibe` once; every command bel
23
23
  | `approve` | load `vibe-scope` — the draft, `vibe intent analyze`, research, one approval message |
24
24
  The card starts at `vibe state` and loads only the skill `next` names; this router is for an explicit `/vibe` and says the same thing.
25
25
 
26
- | `build …` | build what it lists first, then one `vibe check --all`; on a failure, `vibe context <id>` then `vibe check <id>` for that scenario only; load `vibe-build` only for a full task with parallel or irreversible scenarios |
26
+ | `build …` | build what it lists first, then one `vibe check --all`; on a failure, fix what the check names; `vibe context <id>` when that is not enough, then `vibe check <id>` for that scenario only; load `vibe-build` only for a full task with parallel or irreversible scenarios |
27
27
  | `check --all` | run it |
28
28
  | `prove — STUCK` · `answer inbox` | answer the question, then `vibe check --all`; load `vibe-prove` on a second STUCK |
29
29
  | `report` | the completion report (card rule 9); HANDOFF.md only if the intent asks; no further checks after DONE |
@@ -13,7 +13,7 @@ user-invocable: false
13
13
  - Scenarios with no edge between them may be built by parallel agents, each in its own worktree, merged before `vibe check --all`. Never two agents in one working tree. Batch scenarios of one shape into one dispatch; never a nested subagent (a reviewer's reviewer counts for nothing). Hand artifacts to an agent as files, never pasted. When the context is nearly full, start a new session from `.vibe/` instead of compacting.
14
14
  2. Build only what each scenario needs, and make sure the check itself (`check.cmd`, `check.path`) can actually run. `vibe map` and `vibe context {id}` are tools for a question — where a symbol lives, what a change reaches — not a step before every scenario.
15
15
  - Orientation reads ("what does this module do", "where is X handled") go through `vibe read <files> --ask "<question>"` — a low-reasoning model reads and answers with line numbers; read the file yourself only to edit or debug it.
16
- 3. When everything is built, `vibe check --all --json`; on a failure, `vibe context {id}` for that scenario — the files and symbols the check touches, the decisions and regressions around them — then fix and `vibe check {id} --json` for that scenario only.
16
+ 3. When everything is built, `vibe check --all --json`; on a failure, fix what the check names — the failed line carries the scenario's files — and `vibe check {id} --json` for that scenario only; `vibe context {id}` when the files are not enough: the decisions, regressions and notes around them.
17
17
  - Pass (`code 0`): the next failing scenario, or `vibe check --all` when none is left.
18
18
  - Fail (`code 1`): read `tail` and fix. If the same failure happens twice the harness marks STUCK and leaves an inbox question — stop and show that question to the user.
19
19
  - Blocked (`status: blocked`): a parent has not passed; `vibe check {id}` runs unpassed parents first, so fix the parent named in `blockedBy`.
@@ -11,14 +11,15 @@ user-invocable: false
11
11
  Order the questions by impact: scope first, then security and privacy, then the reader's or user's experience, then technical detail. A question further down the list is asked only when the earlier ones are settled.
12
12
 
13
13
  1. Read what the user attached through the harness, so every client sees the same thing:
14
+ - before asking, scan `docs/`, `README*` and `*.md` for relevant rules even when the brief does not name them; read those documents before deciding what is unknown
14
15
  - table (csv · tsv · jsonl · json · xlsx) → `vibe profile {file} --json` [`--sheet`]: columns, types, missing counts, duplicates, up to three anomalies with numbers
15
16
  - document (xlsx · docx · pptx · pdf · hwp · hwpx · html) → `vibe read {file} --json` [`--sheet` · `--pages`]; it says which reader it used (pdf: `pdftotext` when installed, else built-in)
16
17
  - long material that only needs an answer ("what does this contract require", "which sheet holds the totals") → `vibe read {files} --ask "{question}"`; a low-reasoning model reads it and only the answer enters your context
17
18
  - image → your own file reader; vibe does not read images
18
19
  - code or plain text → your file reader, the whole file — never a grep excerpt
19
20
  If there is no sample, ask for one that the success condition can be checked against.
20
- 2. Ask **at most three questions**, each with a default. No answer means the default applies. Every question must serve one purpose: deciding what counts as success.
21
- 3. Say the profile's anomalies before the user asks — at most three, each with its number. Do not add anomalies the profile did not find.
21
+ 2. Say the profile's anomalies before asking questions — at most three, each with its number. Do not add anomalies the profile did not find.
22
+ 3. Ask **at most three questions**, each with a default. No answer means the default applies. Every question must serve one purpose: deciding what counts as success.
22
23
  4. With the answers, write the intent draft (`.vibe/intent.md`, in English):
23
24
 
24
25
  ```
@@ -18,12 +18,13 @@ user-invocable: false
18
18
  - Next to every `review`, propose its deterministic pre-gate on the same file: `check: { type: file, path: <file>, absent: "@placeholders" }` — the preset is the usual leftovers (lorem-ipsum text, a bracketed TODO, a to-be-decided mark, a company-name placeholder, unfilled double-brace fields, double-square-bracket notes); add the project's own words with `|`. For a directory, a `run` check with `grep -rlE` and `expect: 1`. Tell the writer that a note to the model goes between double square brackets, so the gate catches it if it survives into the artifact.
19
19
  - A condition you cannot check gets `human` explicitly. An irreversible action (push, deploy, send, delete, spend) gets `irreversible: <action>`.
20
20
  - A scenario that only makes sense after another one has passed gets `needs: [ids]`. The harness orders and parallelises checks from these edges; keep a connected graph under six scenarios.
21
- 2. Check for missing scenario kinds yourself: the failure path, rollback, permission boundaries. Add them or say in one line why they are not needed. When the intent writes code, propose a size gate: `check: { type: run, cmd: "vibe size src --max-file 400 --max-function 50" }`.
22
- 3. Save with `vibe intent draft --stdin --json`, sending `{"intent": "...", "scenarios": "..."}` (both in English).
21
+ 2. Before the scenarios: an assumption the intent rests on — an API's shape, a runtime, a file that must exist — is probed with a one-file script, and its result goes into the intent's Why; a scenario with no deterministic check gets its check script written under `checks/` first, before the code the scenario is about.
22
+ 3. Check for missing scenario kinds yourself: the failure path, rollback, permission boundaries. Add them or say in one line why they are not needed. When the intent writes code, propose a size gate: `check: { type: run, cmd: "vibe size src --max-file 400 --max-function 50" }`.
23
+ 4. Save with `vibe intent draft --stdin --json`, sending `{"intent": "...", "scenarios": "..."}` (both in English).
23
24
  - On rejection (`code 1`) fix the reasons and save again. Do not pass by deleting a rejected scenario — bind a check to it.
24
25
  - On success the response contains `token` when the project's token policy is `strict`; otherwise `token` is null and a plain yes in chat is enough.
25
- 4. Run `vibe intent analyze` and resolve every `uncovered` bullet (add a scenario or cut the bullet) before asking; an `unrequested` scenario is cut or the bullet is written. Then research and proposals, once, before the approval message: `vibe research --from-intent --json` (up to five candidates with an action each, what moved in the last 30 days first — `--days N` for another window; skip silently on exit 2 and say "no network") and `vibe skill suggest --json` (up to three). Show both in the approval message. Do not install anything — the user says "add 1" and you run the printed `vibe skill add …` (preview first, `--yes` after they have seen the commands). `vibe status` lists the tools vibe would use if present; when the project would use one (a large repository → a symbol graph; a design review → a screenshot tool) put its one-line install in the approval message. A project-local skill is kept only if removing a line of it would make the model err.
26
- 5. Send **one** approval message:
26
+ 5. Run `vibe intent analyze` and resolve every `uncovered` bullet (add a scenario or cut the bullet) before asking; an `unrequested` scenario is cut or the bullet is written. Then research and proposals, once, before the approval message: `vibe research --from-intent --json` (up to five candidates with an action each, what moved in the last 30 days first — `--days N` for another window; skip silently on exit 2 and say "no network") and `vibe skill suggest --json` (up to three). Show both in the approval message. Do not install anything — the user says "add 1" and you run the printed `vibe skill add …` (preview first, `--yes` after they have seen the commands). When the project would use a tool vibe knows (a large repository → a symbol graph such as graft; a design review → a screenshot tool) put its one-line install in the approval message. A project-local skill is kept only if removing a line of it would make the model err.
27
+ 6. Send **one** approval message:
27
28
 
28
29
  ```
29
30
  Success conditions:
@@ -36,8 +37,8 @@ Needed before building (if any): {tools · skills · access}
36
37
  To proceed, {paste {token} | say yes}.
37
38
  ```
38
39
 
39
- 6. When the user pastes the number (or says yes when no token was issued), run `vibe approve "{number}" --json` (or `vibe approve --json`). On `code 3` show the reason and ask again. On a change request go back to step 3.
40
- 7. When the state is APPROVED and any accepted skill is installed, move to `vibe-build`.
40
+ 7. When the user pastes the number (or says yes when no token was issued), run `vibe approve "{number}" --json` (or `vibe approve --json`). On `code 3` show the reason and ask again. On a change request go back to step 3.
41
+ 8. When the state is APPROVED and any accepted skill is installed, move to `vibe-build`.
41
42
 
42
43
  ## Never
43
44