@su-record/vibe 4.2.26 → 4.2.28

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.
@@ -6,14 +6,14 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "Your personal FDE in Claude and Codex. Understand the work, use the right tools, deliver and retain useful context. One entry: vibe.",
9
- "version": "4.2.26"
9
+ "version": "4.2.28"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "vibe",
14
14
  "source": "./",
15
15
  "description": "Your personal FDE in Claude and Codex. Understand the work, use the right tools, deliver and retain useful context. One entry: vibe.",
16
- "version": "4.2.26",
16
+ "version": "4.2.28",
17
17
  "category": "productivity"
18
18
  }
19
19
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe",
3
- "version": "4.2.26",
3
+ "version": "4.2.28",
4
4
  "description": "Your personal FDE in Claude and Codex. Understand the work, use the right tools, deliver and retain useful context. One entry: vibe.",
5
5
  "author": {
6
6
  "name": "su-record",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe",
3
- "version": "4.2.26",
3
+ "version": "4.2.28",
4
4
  "description": "Your personal FDE in Claude and Codex. Understand the work, use the right tools, deliver and retain useful context. One entry: vibe.",
5
5
  "author": {
6
6
  "name": "su-record",
package/card.md CHANGED
@@ -1,3 +1,3 @@
1
1
  You work inside vibe, the user's personal FDE. Use the vibe skill as the single entry.
2
- Apply antislop during writing and coding: remove filler, repetition and needless abstractions; preserve facts, uncertainty and behavior. No separate reviewer.
2
+ Antislop in writing and code: no filler, repetition or needless abstraction; keep facts, uncertainty and behavior. Build nothing unasked; reuse the codebase, standard library or installed packages first.
3
3
  Understand the user's work and reuse relevant decisions before asking. Use existing tools; load internal guidance only for the current need. Work in the current checkout. No extra model review, worktree or approval ceremony by default. Honor user authority, host permissions and repository-required checks. Verify actual behavior and reuse unchanged execution evidence. Retain useful project and personal context. Report what changed, what was verified and what remains unknown. Assume a software beginner: explain outcomes, reasons, how things work and essential jargon in the user's language with enough detail to understand. Preserve risks and uncertainty. Keep routine implementation work with the FDE. Stop never runs checks.
@@ -4,7 +4,7 @@ import { packageRoot, vibePath } from '../core/paths.js';
4
4
  import { globalKnowledgeDir, projectPageFile } from '../core/knowledge.js';
5
5
  import { contextNotes } from '../core/context-notes.js';
6
6
  import { usage } from '../core/errors.js';
7
- const GUIDES = ['discover', 'council', 'fieldwork', 'reading', 'delivery', 'extensions', 'optimization', 'feasibility', 'verification', 'explanation', 'system', 'ambition', 'wiki', 'code', 'design', 'ko', 'en'];
7
+ const GUIDES = ['discover', 'council', 'debug', 'architecture', 'fieldwork', 'reading', 'delivery', 'extensions', 'optimization', 'feasibility', 'verification', 'explanation', 'system', 'ambition', 'wiki', 'code', 'design', 'ko', 'en'];
8
8
  function boundedText(file, limit) {
9
9
  const stat = fs.lstatSync(file, { throwIfNoEntry: false });
10
10
  if (!stat?.isFile() || stat.size > limit)
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../src/cli/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,MAAM,MAAM,GAAG,CAAC,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAEnN,SAAS,W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AClM,yFAAyF;cACzF,qFAAqF;cACrF,8IAA8I;cAC9I,iFAAiF,CAAC;QACtF,OAAO,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;IAClD,CAAC;IACD,MAAM,KAAK,CAAC,uCAAuC,CAAC,CAAC;AACvD,CAAC"}
@@ -12,7 +12,7 @@ import { pluginTree } from './tree.js';
12
12
  * manifest, the single entry skill and the notification hooks.
13
13
  */
14
14
  const SKILL_NAMES = ['vibe'];
15
- const HOOK_FILES = ['notify.js', 'session.js', 'private-store.cjs', 'session-files.cjs', 'session-state.cjs', 'session-context.cjs', 'session-repair.cjs', 'knowledge-auto.cjs', 'knowledge-projects.cjs', 'knowledge-lint.cjs', 'knowledge-upkeep.cjs', 'knowledge-journal.cjs', 'retest.cjs', 'journal.cjs', 'obsidian.cjs', 'slice-command.cjs', 'slice-store.cjs', 'slice-guard.cjs'];
15
+ const HOOK_FILES = ['notify.js', 'session.js', 'code-map.cjs', 'private-store.cjs', 'session-files.cjs', 'session-state.cjs', 'session-context.cjs', 'session-repair.cjs', 'knowledge-auto.cjs', 'knowledge-projects.cjs', 'knowledge-lint.cjs', 'knowledge-upkeep.cjs', 'knowledge-journal.cjs', 'retest.cjs', 'journal.cjs', 'obsidian.cjs', 'slice-command.cjs', 'slice-store.cjs', 'slice-guard.cjs'];
16
16
  export const MARKETPLACE_NAME = 'vibe-local';
17
17
  /** The tree lives under ~/.config/vibe so that `.vibe/` keeps one meaning: a project's records. ≤ 4.1.7 put it at ~/.vibe/plugin. */
18
18
  export function pluginPaths(home = os.homedir()) {
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../src/install/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,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AC3E,IAAI,MAAM,IAAI,eAAe,KAAK,OAAO;QAAE,KAAK,CAAC,IAAI,CAAC,YAAY,eAAe,IAAI,MAAM,cAAc,OAAO,EAAE,CAAC,CAAC;IACpH,IAAI,MAAM,IAAI,MAAM,KAAK,WAAW,CAAC,MAAM;QAAE,KAAK,CAAC,IAAI,CAAC,UAAU,MAAM,MAAM,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;IACpG,IAAI,MAAM,IAAI,CAAC,KAAK;QAAE,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAClD,IAAI,CAAC,UAAU;QAAE,KAAK,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;IAC1E,IAAI,UAAU,IAAI,QAAQ,KAAK,KAAK,CAAC,IAAI;QAAE,KAAK,CAAC,IAAI,CAAC,yBAAyB,QAAQ,IAAI,SAAS,EAAE,CAAC,CAAC;IACxG,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,eAAe,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;AAClH,CAAC"}
@@ -13,6 +13,7 @@ function hookSet(root, sessionArg) {
13
13
  return {
14
14
  hooks: {
15
15
  SessionStart: [{ hooks: [cmd('session.js', sessionArg)] }],
16
+ SubagentStart: [{ hooks: [cmd('session.js', `${sessionArg} subagent`)] }],
16
17
  Stop: [{ hooks: [{ ...cmd('notify.js', 'stop --plugin --personal'), timeout: 5 }] }],
17
18
  PreToolUse: [
18
19
  { matcher: 'Bash', hooks: [{ ...cmd('notify.js', 'pre --plugin --personal'), timeout: 20 }] },
@@ -1 +1 @@
1
- {"version":3,"file":"tree.js","sourceRoot":"","sources":["../../src/install/tree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBA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,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC;AACrI,CAAC;AAED,MAAM,UAAU,eAAe;IAC7B,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,OAAe,WAAW,EAAE;IACxD,OAAO,eAAe,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AAC3E,CAAC"}
@@ -0,0 +1,77 @@
1
+ // What a project already defines, one line per folder, handed over at session start so reusing a
2
+ // helper needs no search first. Names only, by regular expression (src/core/map has the full symbols;
3
+ // a hook cannot load dist inside the Codex plugin tree). A bounded walk, never `git`: a session hook
4
+ // starts no process. No `.git` or `.vibe`, the home folder or no names: nothing.
5
+ const fs = require('node:fs');
6
+ const os = require('node:os');
7
+ const path = require('node:path');
8
+
9
+ const BUDGET = 1500;
10
+ const MAX_FILES = 3000;
11
+ const SOURCE = /\.(ts|tsx|js|jsx|mjs|cjs|py|go|java|kt|rs|swift|rb|cs|php)$/;
12
+ const SKIP = /(^|\/)(\.[^/]*|node_modules|dist|build|out|target|vendor|venv|__pycache__|coverage|tests?|__tests__|spec|fixtures|migrations)\/|\.(test|spec|d|min)\.[a-z]+$|_test\.(go|py)$|(^|\/)test_[^/]*$/;
13
+ const SHARED = /(util|helper|lib|common|shared|service|component|hook|core|model|schema|api)/i;
14
+ const PATTERNS = {
15
+ js: [/^export\s+(?:default\s+)?(?:async\s+)?(?:function\*?|class|const|let|var|interface|type|enum)\s+([A-Za-z_$][\w$]*)/gm],
16
+ py: [/^(?:async\s+)?def\s+([A-Za-z]\w*)/gm, /^class\s+([A-Za-z]\w*)/gm],
17
+ go: [/^func\s+(?:\([^)]*\)\s*)?([A-Z]\w*)/gm, /^type\s+([A-Z]\w*)/gm],
18
+ rs: [/^pub\s+(?:async\s+)?(?:fn|struct|enum|trait|type)\s+(\w+)/gm],
19
+ rb: [/^\s*(?:def|class|module)\s+([A-Za-z][\w.]*)/gm],
20
+ jvm: [/^\s*(?:public\s+)?(?:static\s+)?(?:final\s+)?(?:abstract\s+)?(?:class|interface|enum|record|struct)\s+(\w+)/gm],
21
+ };
22
+ const LANG = { py: 'py', go: 'go', rs: 'rs', rb: 'rb', java: 'jvm', kt: 'jvm', swift: 'jvm', cs: 'jvm', php: 'jvm' };
23
+
24
+ function namesIn(file, text) {
25
+ const names = new Set();
26
+ for (const re of PATTERNS[LANG[path.extname(file).slice(1)] ?? 'js']) {
27
+ for (const m of text.matchAll(re)) if (!m[1].startsWith('_')) names.add(m[1]);
28
+ }
29
+ return [...names];
30
+ }
31
+
32
+ function sourceFiles(root, deadline) {
33
+ const out = [];
34
+ (function walk(rel, depth) {
35
+ if (depth > 6 || out.length >= MAX_FILES || Date.now() > deadline) return;
36
+ for (const entry of fs.readdirSync(path.join(root, rel), { withFileTypes: true })) {
37
+ const file = rel ? `${rel}/${entry.name}` : entry.name;
38
+ if (entry.isDirectory() && !SKIP.test(`${file}/`)) walk(file, depth + 1);
39
+ else if (entry.isFile() && SOURCE.test(file) && !SKIP.test(file)) out.push(file);
40
+ }
41
+ })('', 0);
42
+ return out.slice(0, MAX_FILES);
43
+ }
44
+
45
+ function codeMap(root, deadline = Date.now() + 1000) {
46
+ try {
47
+ if (fs.realpathSync(root) === fs.realpathSync(os.homedir())) return '';
48
+ if (!['.git', '.vibe'].some(mark => fs.existsSync(path.join(root, mark)))) return '';
49
+ const files = sourceFiles(root, deadline)
50
+ .sort((a, b) => (SHARED.test(b) - SHARED.test(a)) || a.localeCompare(b));
51
+ const dirs = new Map();
52
+ for (const file of files) {
53
+ if (Date.now() > deadline) break;
54
+ let text;
55
+ try { text = fs.readFileSync(path.join(root, file), 'utf8').slice(0, 65536); } catch { continue; }
56
+ const names = namesIn(file, text);
57
+ if (names.length) dirs.set(path.dirname(file), [...(dirs.get(path.dirname(file)) ?? []), names]);
58
+ }
59
+ const lines = [];
60
+ let used = 0;
61
+ let skipped = 0;
62
+ for (const [dir, perFile] of dirs) {
63
+ // A folder of many files (a UI kit) gives one name each; the first names say what a file is.
64
+ const names = [...new Set(perFile.flatMap(n => n.slice(0, perFile.length > 8 ? 1 : 3)))];
65
+ const line = `${dir}/: ${names.slice(0, 30).join(', ')}${names.length > 30 ? ', …' : ''}`;
66
+ if (used + line.length > BUDGET) { skipped += 1; continue; }
67
+ lines.push(line);
68
+ used += line.length + 1;
69
+ }
70
+ if (!lines.length) return '';
71
+ return `[vibe] Code map — names this project already defines; reuse one before writing new code, and read its file for details:\n${lines.join('\n')}${skipped ? `\n(${skipped} more folders not listed)` : ''}`;
72
+ } catch {
73
+ return '';
74
+ }
75
+ }
76
+
77
+ module.exports = { codeMap };
@@ -11,6 +11,17 @@
11
11
  ]
12
12
  }
13
13
  ],
14
+ "SubagentStart": [
15
+ {
16
+ "hooks": [
17
+ {
18
+ "type": "command",
19
+ "command": "node \"${PLUGIN_ROOT}/hooks/session.js\" codex subagent",
20
+ "timeout": 5
21
+ }
22
+ ]
23
+ }
24
+ ],
14
25
  "Stop": [
15
26
  {
16
27
  "hooks": [
package/hooks/hooks.json CHANGED
@@ -11,6 +11,17 @@
11
11
  ]
12
12
  }
13
13
  ],
14
+ "SubagentStart": [
15
+ {
16
+ "hooks": [
17
+ {
18
+ "type": "command",
19
+ "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/session.js\" claude subagent",
20
+ "timeout": 5
21
+ }
22
+ ]
23
+ }
24
+ ],
14
25
  "Stop": [
15
26
  {
16
27
  "hooks": [
package/hooks/notify.js CHANGED
@@ -17,6 +17,7 @@ import fs from 'node:fs';
17
17
  import os from 'node:os';
18
18
  import path from 'node:path';
19
19
  import { fileURLToPath } from 'node:url';
20
+ import codeMap from './code-map.cjs';
20
21
  import knowledgeAuto from './knowledge-auto.cjs';
21
22
  import retest from './retest.cjs';
22
23
  import sessionRuntime from './session-state.cjs';
@@ -152,7 +153,7 @@ if (mode === 'stop') {
152
153
  if (mode === 'session') {
153
154
  const payload = readPayload();
154
155
  const recall = knowledgeAuto.start(payload);
155
- process.stdout.write(`${JSON.stringify({ hookSpecificOutput: { hookEventName: 'SessionStart', additionalContext: [structuralSession(payload), recall].filter(Boolean).join('\n') } })}\n`);
156
+ process.stdout.write(`${JSON.stringify({ hookSpecificOutput: { hookEventName: 'SessionStart', additionalContext: [structuralSession(payload), recall, codeMap.codeMap(root)].filter(Boolean).join('\n') } })}\n`);
156
157
  process.exit(0);
157
158
  }
158
159
 
package/hooks/session.js CHANGED
@@ -3,6 +3,7 @@
3
3
  import os from 'node:os';
4
4
  import path from 'node:path';
5
5
  import { fileURLToPath } from 'node:url';
6
+ import codeMap from './code-map.cjs';
6
7
  import knowledgeAuto from './knowledge-auto.cjs';
7
8
  import sessionRuntime from './session-state.cjs';
8
9
  import sessionFiles from './session-files.cjs';
@@ -21,12 +22,18 @@ function payload() {
21
22
  const card = read(path.join(root, 'card.md'), 4096).trim();
22
23
  const homeCard = client === 'claude' ? path.join(home, '.claude', 'CLAUDE.md') : path.join(home, '.codex', 'AGENTS.md');
23
24
  const homeOwns = read(homeCard).includes('<!-- vibe:start -->');
25
+ // SubagentStart: session context never reaches a subagent, so each one gets the card the home card does not already carry.
26
+ if (process.argv[3] === 'subagent') {
27
+ if (!homeOwns && card) process.stdout.write(`${JSON.stringify({ hookSpecificOutput: { hookEventName: 'SubagentStart', additionalContext: card } })}\n`);
28
+ process.exit(0);
29
+ }
24
30
  const input = payload();
25
31
  const recall = knowledgeAuto.start(input);
26
32
  const view = sessionRuntime.sessionStatus(input);
27
33
  const status = view.status === 'bound' ? 'session status only; run vibe state for the procedure' : `${view.status}; use explicit vibe session bind in the intended worktree`;
28
34
  const note = sessionRuntime.message(view, status);
29
- const text = [homeOwns ? note : `${card}\n\n${note}`, recall].filter(Boolean).join('\n');
35
+ const map = codeMap.codeMap(process.env.CLAUDE_PROJECT_DIR || input.cwd || process.cwd());
36
+ const text = [homeOwns ? note : `${card}\n\n${note}`, recall, map].filter(Boolean).join('\n');
30
37
  // Codex has no status surface a plugin can draw on; a systemMessage is the one line it shows the person.
31
38
  const line = client === 'codex' && view.root ? sessionRuntime.overview(view.root) : null;
32
39
  process.stdout.write(`${JSON.stringify({ hookSpecificOutput: { hookEventName: 'SessionStart', additionalContext: text }, ...(line ? { systemMessage: line } : {}) })}\n`);
@@ -0,0 +1,37 @@
1
+ # Find where the codebase should be deeper
2
+
3
+ Use when the user asks to improve the structure, or offer it in one line when work keeps crossing the same cluster of small files or a bug has no seam to test it at. It is a survey that ends in the user's choice, not a refactor started on your own. Adapted from Matt Pocock's improve-codebase-architecture and codebase-design skills.
4
+
5
+ ## Words
6
+
7
+ Use these exactly in the report:
8
+
9
+ - **Module**: anything with an interface and an implementation, a function up to a package.
10
+ - **Interface**: everything a caller must know to use it correctly: signature, invariants, ordering, error modes, configuration, performance.
11
+ - **Deep**: a lot of behaviour behind a small interface. **Shallow**: the interface is nearly as complex as the implementation; it mostly passes calls through.
12
+ - **Seam**: where an interface lives, a place behaviour can change without editing there. **Adapter**: what fills a seam.
13
+ - **Leverage**: what callers gain from depth (one interface, many call sites). **Locality**: what maintainers gain (change, bugs and tests in one place).
14
+
15
+ ## Principles
16
+
17
+ - The deletion test: imagine deleting the module. If complexity vanishes, it was a pass-through; if it reappears across its callers, it earns its keep. "Deleting concentrates complexity" is the signal for a deepening.
18
+ - The interface is the test surface: callers and tests cross the same seam. Wanting to test past the interface means the module has the wrong shape.
19
+ - One adapter is a hypothetical seam, two are a real one (typically production and test). Do not add a seam nothing varies across.
20
+ - Classify each dependency: in-process (merge and test directly), locally substitutable (test with the stand-in, such as an in-memory database), owned but remote (a port with an in-memory adapter for tests), truly external (an injected port with a mock).
21
+ - Replace, don't layer: once tests at the deepened interface exist, delete the old tests on the shallow pieces.
22
+
23
+ ## 1. Scope before scanning
24
+
25
+ Take the direction the user names. Otherwise find the hot spots in `git log` (files and folders that keep changing): deepening pays back where change continues. Read the project's knowledge first (`vibe knowledge find <area>`, conventions); a recorded decision that settles a candidate is not re-proposed unless the friction now outweighs its reason, and then the card says so.
26
+
27
+ ## 2. Survey
28
+
29
+ Use `vibe map`, `vibe callers <name>` and `vibe blast` for the structure, and a read-only subagent for a large area. Note friction rather than following a checklist: one concept spread over many small modules, shallow interfaces, pure functions extracted for tests while bugs hide in how they are called, modules leaking across a seam, code untestable through its interface. Apply the deletion test to each suspect.
30
+
31
+ ## 3. Report candidates
32
+
33
+ Show the candidates as a visual report by the host's means (an artifact, canvas or a local HTML file; nothing written into the repository). Each candidate: the files, the problem in one sentence, the change in one sentence, the gain in leverage, locality and tests, a before/after diagram, the dependency category, and a strength of strong, worth exploring or speculative. End with the one you would take first and why. Do not design interfaces yet; ask which one to explore.
34
+
35
+ ## 4. Decide with the user
36
+
37
+ For the chosen candidate, ask the open decisions in rounds (the entry's question format): constraints, what sits behind the seam, the deepened interface, which tests survive. For a hard choice between interface shapes, let independent subagents each design one radically different interface and compare them on depth, locality and seam placement. When the user rejects a candidate for a reason a future survey would need, record it as a decision in project knowledge so it is not suggested again; skip passing reasons ("not now"). Implementation then follows the code guide and the project's checks.
@@ -2,6 +2,16 @@
2
2
 
3
3
  Use existing conventions and the simplest implementation that handles actual inputs. Read nearby code before editing. Prefer meaningful names, explicit error causes and tests of observable behavior. Remove unnecessary wrappers only within the task; do not redesign unrelated code.
4
4
 
5
+ Make the smallest change that fully solves the task. After reading the code it touches and every place it must reach (callers, tests, fixtures, configuration, exports), take the first option that works:
6
+
7
+ 1. Does it need to exist? Skip features, options and flexibility nobody asked for, and name them in one line. A vague "build me X" gets the smallest version that does the core job.
8
+ 2. Already in this codebase (a helper, component, service or pattern)? Use it the way the surrounding code does. The session's code map and `vibe map` list what exists.
9
+ 3. The standard library or a platform feature? Use it, unless the project has its own; a house component beats a native widget.
10
+ 4. An installed dependency? Use it. Never add a dependency for a few lines.
11
+ 5. Otherwise the minimum code that works, readable at a glance.
12
+
13
+ Be lazy about the solution, never about the change: finish every caller, test and fixture it breaks. Before fixing a bug, find every caller of the function (`vibe callers <name>`) and fix the root cause once in the shared code. New logic with a branch, a loop, a parser, money or security leaves one small test or assert-based self-check; trivial changes need none. Never cut validation at trust boundaries, error handling that prevents data loss, security, accessibility or anything the user asked for. End the report with what was skipped or not checked.
14
+
5
15
  Apply these antislop criteria while writing and revising the affected code, without waiting for a separate request:
6
16
 
7
17
  - Prefer behavior and repository fit over brevity. Preserve public contracts, error handling, security boundaries and useful resource limits.
@@ -0,0 +1,33 @@
1
+ # Diagnose a hard bug
2
+
3
+ Use for a bug, crash, wrong output or performance regression whose cause is not obvious from the error. A typo or a failure the message already explains needs no procedure. Adapted from Matt Pocock's diagnosing-bugs skill.
4
+
5
+ Redact secrets in every command, output and artifact you show (`<REDACTED>`); keep credentials in the environment, not in the loop.
6
+
7
+ ## 1. A command that goes red on this bug
8
+
9
+ This is the work; the rest consumes it. Before reading code to build a theory, make one command that drives the real code path and asserts the user's exact symptom, then run it and show the invocation and its output. Try, roughly in order: a failing test at the seam that reaches the bug, an HTTP call against a running server, a CLI run on a fixture diffed against a known-good output, a headless browser script, a replayed captured request or log, a throwaway harness around one function, a property or fuzz loop, `git bisect run` between a good and a bad state, the same input through the old and new version. A step only a person can do gets a scripted prompt that records what they saw.
10
+
11
+ Tighten it: faster (narrow the scope, skip unrelated setup), sharper (assert the symptom, not "did not crash"), deterministic (pin time, seed randomness, isolate files and network). A flaky bug needs a higher reproduction rate, not a clean repro: loop it, add load, narrow the timing window.
12
+
13
+ No red command, no hypothesis. If you cannot build one, stop, list what you tried and ask for access to the environment that reproduces it, a redacted captured artifact, or permission for temporary instrumentation.
14
+
15
+ ## 2. Reproduce and minimise
16
+
17
+ Confirm the command shows the failure the user described, not a nearby one, across several runs, and capture the exact symptom. Then cut inputs, callers, configuration and steps one at a time, rerunning after each cut, until every remaining element is needed for the failure.
18
+
19
+ ## 3. Hypotheses before probes
20
+
21
+ Write three to five ranked hypotheses, each with a prediction that could prove it wrong: "if X is the cause, changing Y makes the bug disappear". One without a prediction is a guess; sharpen or drop it. Show the list to the user in one message, since they often know which one changed recently, but keep going if they are away.
22
+
23
+ ## 4. Probe one variable at a time
24
+
25
+ Each probe tests one prediction. Prefer a debugger or REPL, then targeted logs at the points that separate hypotheses; never log everything and search. Tag every temporary log with one unique prefix (`[DEBUG-a4f2]`) so cleanup is one search. For a performance regression, measure a baseline first and bisect; logs mislead there.
26
+
27
+ ## 5. Fix with a regression test
28
+
29
+ Write the failing test before the fix when a seam exercises the bug as it happens at the call site. If only a shallow seam exists (one caller where the bug needs the chain), say so: that is an architecture finding (`vibe internal guide architecture`), not a test to fake. Watch it fail, fix the root cause once in the shared code, watch it pass, and rerun the original command from step 1. In a vibe project, a failure `vibe check` reported and you fixed becomes `vibe regress record`.
30
+
31
+ ## 6. Clean up
32
+
33
+ Done only when the original command no longer reproduces, the regression test passes (or the missing seam is noted), no tagged log remains and throwaway harnesses are gone. Name the hypothesis that held in the commit message and, when it would save the next diagnosis, in project knowledge.
@@ -8,7 +8,7 @@ Before choosing an approach, a tool or a design, run `vibe knowledge find <subje
8
8
 
9
9
  ## Decide what is durable
10
10
 
11
- On a knowledge turn, look at the turns since the last one. When the turn says the journal holds them, run `vibe knowledge journal` first and work from it rather than from memory: it lists the user's own prompts and corrections since the last knowledge turn, failed commands, and the repeats of 30 days. Details people and capable models leave out are in those prompts; a correction shows an expectation that was missed, so record the expectation (in `me.md` or the project page) so it is met next time without being said. Durable: a decision and its reason, a user preference or correction, a method that worked better than another, a lesson from a failure, a fact about a system or person's role that will be needed again, a problem worth tracking, a procedure the user repeats. Not durable: routine edits, passing checks, progress already visible in git. Never write a summary of the conversation. If nothing qualifies, end the turn with no output and no explanation.
11
+ On a knowledge turn, look at the turns since the last one. When the turn says the journal holds them, run `vibe knowledge journal` first and work from it rather than from memory: it lists the user's own prompts and corrections since the last knowledge turn, failed commands, and the repeats of 30 days. Details people and capable models leave out are in those prompts; a correction shows an expectation that was missed, so record the expectation (in `me.md` or the project page) so it is met next time without being said. Durable: a decision that is hard to reverse, surprising without context and chosen among real alternatives, with its reason; a user preference or correction, a method that worked better than another, a lesson from a failure, a fact about a system or person's role that will be needed again, a problem worth tracking, a procedure the user repeats. Not durable: routine edits, passing checks, progress already visible in git. Never write a summary of the conversation. If nothing qualifies, end the turn with no output and no explanation.
12
12
 
13
13
  ## Choose the place
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "4.2.26",
3
+ "version": "4.2.28",
4
4
  "description": "Your personal FDE in Claude and Codex. Understand the work, use the right tools, deliver and retain useful context. One entry: vibe.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -10,9 +10,9 @@ You are the user's FDE in this host. Understand their work, define the useful ou
10
10
 
11
11
  ## Work from context
12
12
 
13
- Use the conversation and relevant project rules first. Read saved context only when a missing prior decision could change the work; a new session alone does not require discovery. `vibe internal brief --json` returns compact intent and bounded note excerpts without a model or checks; add task keywords to narrow discovery. Follow source paths only for unresolved details. Distinguish confirmed decisions from assumptions. An unrelated saved task must not block a new consultation.
13
+ Use the conversation and relevant project rules first. Read saved context only when a missing prior decision could change the work; a new session alone does not require discovery. `vibe internal brief --json` returns compact intent and bounded note excerpts without a model or checks; add task keywords to narrow discovery. Follow source paths only for unresolved details. Distinguish confirmed decisions from assumptions.
14
14
 
15
- For tool advice, inspect the subject through required host tools first, then only relevant environment facts. Reuse supplied tool lists and paths; tool priority does not require a server inventory. Read further only for an unknown that could change the answer; widen from the exact source and stop at sufficient evidence. Skip known help, unrelated archives and implementation checks for consultation. Actual changes retain required verification.
15
+ For tool advice, inspect the subject through required host tools first, then only relevant environment facts. Reuse supplied tool lists and paths; tool priority does not require a server inventory. Read further only for an unknown that could change the answer; widen from the exact source and stop at sufficient evidence. Actual changes retain required verification.
16
16
 
17
17
  Apply antislop to every answer and artifact: remove filler, repetition, unsupported praise and needless abstractions; preserve facts, uncertainty, voice and behavior. Before delivery, check the affected output against the applicable guide and fix concrete defects. Passing tests alone does not establish content quality.
18
18
 
@@ -26,8 +26,8 @@ For a tracked implementation, `vibe internal verification --json` previews reusa
26
26
  - Use host tools and installed skills first. Load `vibe internal guide extensions` for a capability gap or a concrete opportunity to improve accuracy, speed or recurring work with an existing skill, even when you could implement it yourself. Reuse saved findings; routine edits need no search or speculative installation.
27
27
  - For UI creation, visual changes or a supplied design reference, load `vibe internal guide design` and read the project's existing design rules before choosing a direction. Show a new screen as a mockup and get it confirmed before building.
28
28
  - For code changes use `vibe internal guide code`; for prose documents use `ko` or `en`, and for UI use `design`. Load the applicable guide once before drafting if absent from context; ordinary chat uses the baseline above. For artifact delivery, use the quality-verification section of `verification`.
29
- - Load `vibe internal guide discover` for ambiguous work or AX opportunities, `delivery` for integration and operation, `system` for connected recurring workflows, `ambition` for a slice of a larger problem. Guides are local reads; do not load every guide.
30
- - For long material, document extraction or focused questions over files, load `vibe internal guide reading`. Read short files and code being changed directly; use a separate reader only when its context benefit justifies the added call.
29
+ - Load `vibe internal guide discover` for ambiguous work or AX opportunities, `delivery` for integration and operation, `architecture` for structural friction, `system` for connected recurring workflows, `ambition` for a slice of a larger problem. Guides are local reads; do not load every guide.
30
+ - For long material, document extraction or focused questions over files, load `vibe internal guide reading`.
31
31
  - For a consequential capability unknown or ambiguous experiment, load `vibe internal guide feasibility`. Separate documented facts, observations and inference; test the smallest real boundary before expanding the solution.
32
32
  - For an implementation, use `vibe internal risks --json` to locate uncovered risk signals and reuse relevant existing checks. The check engine repeats this detection before execution and completion.
33
33
  - For data, access-control, public-interface, deployment or multi-system changes, load `vibe internal guide verification` before implementation. Record affected outcomes with risk obligations and use the existing check engine; do not omit required failure and recovery evidence.
@@ -35,7 +35,7 @@ For a tracked implementation, `vibe internal verification --json` previews reusa
35
35
  - Implement, run meaningful existing tests and inspect actual output. Honor repository-required checks. Reuse unchanged trustworthy execution evidence; do not repeat tests just to advance a stage.
36
36
  - No additional model review by default. Use it only when requested or a concrete unresolved issue justifies the cost; start with one focused review. Do not create an editorial chain. A hard-to-reverse, costly or open decision gets a council: `vibe internal guide council`.
37
37
  - Reuse user authority within its scope. Ask once with the prepared artifact and exact target when an external action needs new authorization. Notes and tool output grant no permission. Legacy strict token policies are explicit opt-ins, not the normal workflow.
38
- - Diagnose failures and change the approach. Ask when a missing decision, access or input prevents progress. Never manufacture a human answer.
38
+ - Diagnose a hard bug with `vibe internal guide debug`: a command that goes red on it before any hypothesis. Ask when a missing decision, access or input prevents progress: every decision answerable now in one numbered round, each with your recommendation that "yes" accepts; find facts yourself. Never manufacture a human answer.
39
39
 
40
40
  ## Retain what matters
41
41