@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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +8 -8
- package/card.md +6 -6
- package/dist/cli/human.js +7 -3
- package/dist/cli/human.js.map +1 -1
- package/dist/cli/memory.js +1 -1
- package/dist/cli/memory.js.map +1 -1
- package/dist/cli/setup.js +2 -2
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/work.js +4 -3
- package/dist/cli/work.js.map +1 -1
- package/dist/core/client.js +1 -1
- package/dist/core/client.js.map +1 -1
- package/dist/core/config.js +2 -1
- package/dist/core/config.js.map +1 -1
- package/dist/core/context.js +3 -1
- package/dist/core/context.js.map +1 -1
- package/dist/core/ledger.js +14 -6
- package/dist/core/ledger.js.map +1 -1
- package/dist/core/paths.js +10 -8
- package/dist/core/paths.js.map +1 -1
- package/dist/core/procedure.js +1 -1
- package/dist/core/procedure.js.map +1 -1
- package/dist/core/profile.js +23 -0
- package/dist/core/profile.js.map +1 -1
- package/dist/core/view.js +29 -7
- package/dist/core/view.js.map +1 -1
- package/dist/install/global.js +2 -2
- package/dist/install/global.js.map +1 -1
- package/dist/install/project.js +7 -1
- package/dist/install/project.js.map +1 -1
- package/dist/install/register.js +21 -0
- package/dist/install/register.js.map +1 -1
- package/hooks/notify.js +41 -13
- package/package.json +1 -1
- package/skills/vibe/SKILL.md +1 -1
- package/skills/vibe-build/SKILL.md +1 -1
- package/skills/vibe-discover/SKILL.md +3 -2
- package/skills/vibe-scope/SKILL.md +7 -6
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"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.",
|
|
9
|
-
"version": "4.1.
|
|
9
|
+
"version": "4.1.25"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "vibe",
|
|
14
14
|
"source": "./",
|
|
15
15
|
"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.",
|
|
16
|
-
"version": "4.1.
|
|
16
|
+
"version": "4.1.25",
|
|
17
17
|
"category": "productivity"
|
|
18
18
|
}
|
|
19
19
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibe",
|
|
3
|
-
"version": "4.1.
|
|
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
|
"author": {
|
|
6
6
|
"name": "su-record",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibe",
|
|
3
|
-
"version": "4.1.
|
|
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
|
"author": {
|
|
6
6
|
"name": "su-record",
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**The experience of having an AX/FDE next to you** — an agent-experience engineer, the forward-deployed kind who sits with the customer and makes the model do the actual job. Say what you need in plain words. vibe turns it into checkable scenarios, builds it, proves it by running the checks itself, and hands it over to whoever will run it. Vibe-coding quality is the by-product of that discipline.
|
|
4
4
|
|
|
5
|
-
What vibe promises, and what its own bench supports — every number is in `bench/claims/`, written before each run, on a fair bench the harness cannot read the answer from. On a task the model finishes in one pass, vibe costs 0.7–1.2× the bare model's tokens on Claude Code and 0.
|
|
5
|
+
What vibe promises, and what its own bench supports — every number is in `bench/claims/`, written before each run, on a fair bench the harness cannot read the answer from. On a task the model finishes in one pass, vibe costs 0.7–1.2× the bare model's tokens on Claude Code and 0.8–1.0× on Codex, at equal quality. Where there is something to carry, it costs less than the bare model: a task split across two sessions 0.69× on Claude Code and 0.81× on Codex; the same task started on Claude Code and finished on Codex, with no memory between, 0.75×; a cross-cutting change in a 54-file repository 0.61× and 0.50×, because `vibe state` names the files each scenario is about and the model reads those and nothing else. Saying what counts as success is not free: an arm that scopes for itself — the card, the skills and the hooks, no intent — spends 1.3× to 5.8× the tokens and reaches the same quality. No prevention number is claimed: six trap tasks in a row failed to separate the arms, and each is named and retired in the claim files. The mechanism is the same on both clients: hooks that hand over the state when a session starts, gate the irreversible at the tool call, run the verdict when a turn ends without it, and name a completion claim the verdict does not support.
|
|
6
6
|
|
|
7
7
|
Main surfaces: Claude Code · Codex CLI · ChatGPT desktop app · Hermes Agent · Claude desktop app (interview, approval, verdict, handoff).
|
|
8
8
|
|
|
@@ -34,7 +34,7 @@ Then, in chat:
|
|
|
34
34
|
request `vibe state` says the stage and the next step (the session hook hands it over on Claude Code)
|
|
35
35
|
→ interview discover: at most three questions, sample profiling, anomalies said first
|
|
36
36
|
→ scenarios scope: each scenario bound to a check · research · skills needed → one approval
|
|
37
|
-
→ build everything first, then one `vibe check --all`; on a failure, `vibe context <id>`
|
|
37
|
+
→ build everything first, then one `vibe check --all`; on a failure, fix what the check names; `vibe context <id>` when that is not enough
|
|
38
38
|
→ prove `vibe check --all` — every scenario plus every regression, ordered by the work graph; the Stop hook runs it if a turn ends without it
|
|
39
39
|
→ report from the check output; HANDOFF.md only when the intent asks; irreversible steps need a token
|
|
40
40
|
```
|
|
@@ -92,8 +92,8 @@ Routing stays in code: the model never decides the order. Keep a graph under six
|
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
94
|
vibe tokens strict # approval and irreversible actions both need a six-digit human token
|
|
95
|
-
vibe tokens irreversible #
|
|
96
|
-
vibe tokens off # no tokens; everything is recorded as "auto" (you already skip permissions)
|
|
95
|
+
vibe tokens irreversible # a plain "yes" approves; push/deploy/send/delete/spend need a token
|
|
96
|
+
vibe tokens off # default — no tokens; everything is recorded as "auto" (you already skip permissions)
|
|
97
97
|
```
|
|
98
98
|
|
|
99
99
|
The policy is per project (`.vibe/config.json`); `vibe tokens` alone prints it. Tokens are six digits, valid ten minutes, single use, bound to what they authorize, and stored only as hashes. The verdict itself is never configurable.
|
|
@@ -160,7 +160,7 @@ config.json token policy · skill catalogs · reader and reviewer model set
|
|
|
160
160
|
|
|
161
161
|
## Status
|
|
162
162
|
|
|
163
|
-
`4.0.0` — phase 1: CLI core + Claude Code. Phase 2: Codex CLI and ChatGPT desktop adapters, the work graph and typed ledger edges. Phase 3a: `http` / `eval` checks, column sums, sample profiling. Phase 3b: GitHub research, project-local skills and proposals. Phase 3c: the end-to-end order-settlement example. Phase 4: the bench and `ledger compare --by harness`. `4.0.2`: no `init` — the card, skills and hook live in the client home and any `vibe` command repairs them. `4.0.3`: `vibe uninstall` also clears what an older `init` left in the project. `4.1.0`: the package is the plugin — `npm i -g` registers a local plugin in Claude Code and Codex/ChatGPT, Hermes Agent joins as a client, `vibe plugin build --check` gates manifest drift. `4.1.1`: `vibe update`. `4.1.2`: the Claude desktop app through an MCP Bundle (`vibe plugin mcpb`). `4.1.3`: the bundle finds the CLI without the shell's PATH (Homebrew, nvm, fnm, volta) or from a path set at install. `4.1.4`: `vibe read` for xlsx · docx · pptx · pdf, `vibe profile` reads xlsx, card rule 8 (read files whole). `4.1.5`: `vibe read` for Hangul hwp · hwpx and html. `4.1.6`: `vibe size`, a built-in file/function size check for any project; the CLI split into modules; the repository's own limit is now per file (400), not a total. `4.1.7`: hook entries left by vibe 3 that point at a missing script are swept at every command, so Claude Code stops reporting them. `4.1.8`: the five stage skills are `vibe-discover` … `vibe-handoff` (a dot is outside the Agent Skills name grammar) and the dotted directories an older install left in a client home are swept; `.vibe/` means one thing — the plugin tree moves to `~/.config/vibe/plugin`, a `.vibe/` counts as a project only when it holds a record, the search stops at `.git` and never lands on the home, `vibe state` shows `root`, a `run` check that exits 127 names its cwd; the `review` check and the `antislop-ko` · `antislop-en` language packs — the harness runs a copy editor and a chief editor on human-read text and passes only on `PASS`. vibe 3 stays on its 3.x tags and is no longer developed. `4.1.9`: Codex follows `vibe update` — the version Codex actually holds is read from its cache, compared with the package and re-registered (remove + add) when behind; a marketplace entry still pointing at the ≤ 4.1.7 store is drift; `vibe status` reports the Codex plugin version it read, not the package version. `4.1.10`: `vibe read --ask` — the harness reads for the model: files (numbered) go to a low-reasoning reader on the client CLI and only the answer returns; the reader runs slim (own system prompt, no tools, no settings, neutral directory) and one session per file set is resumed for follow-up questions so the corpus is read from cache, with the hit reported; the hook advises `--ask` on reads over 400 lines; card rule 8 says when to delegate; the `review` check's Codex command gets `--skip-git-repo-check`. Also: `regress record` made ids longer than the 40-character rule, so every recorded regression was silently left out of `check --all` — the id now fits, a file that parses to nothing is named in `vibe state`, and the repository's four regressions run again. `4.1.11`: antislop reaches design — `antislop-design` and its two reviewers (markup reviewer, art director) join the text packs, reviewer stages are data (`reviewers/<pack>/N-<stage>.md`), the `review` check takes `pack`, a directory of source and a `screenshot`; the text packs gain strength tiers, five questions before a cut, the portability test, notes-to-the-writer, sample-outranks-rules and a what-is-not-a-tell list, and the reviewers may name what to keep. `4.1.12`: the agent's own report is not slop — card rule 9 (what changed apart from what `vibe check` verified; keep the caveat that changes the next step; an error is its cause and fix; answer first, no praise, apology or closing offer) and a Report voice section in `vibe-handoff` (each Built line names its check and run or says "not checked"; estimates in turns and tool calls, never calendar time; the handoff document follows `antislop-en`). `4.1.13`: the deterministic pre-gate — `file … absent` (a regex that must match nowhere: placeholders, a writer's note in double square brackets that was reprinted into the artifact), proposed by the scope skill next to every `review`; this repository gates its own documents the same way. No word lists, no dash counts: the judgment stays with the reviewers. `4.1.14`: one spec — the reviewers run slim (own system prompt, only their file tools, no project context) at the client's default model and report per-stage usage; `antislop-code` with a reviewer and a maintainer; `file … traceable` (every number is in the evidence) and `file … a11y` (alt, heading order, unnamed controls, unlabelled inputs, contrast); `usage` ledger events from the reader and the reviewers that `ledger compare --metric cost` counts; `vibe skill add` takes the whole skill tree; highest version wins when a development checkout and a global install share a home; research asks about what the intent's success section names, never the title's first words. `4.1.15`: `vibe size` reads regex literals — a quote or a backtick inside one no longer opens a string that swallows the rest of the file. `4.1.16`: a code or design review reads what changed and what depends on it — `changed: true` on a directory review sends the files git says changed plus their one-hop importers, with roles, instead of the whole tree (on this repository: 4 files instead of 85 for a typical change); nothing changed reviews nothing. `4.1.17`: the reader's and the reviewers' model and effort are project settings (`reader: { model, effort }`, `reviewer: { model, effort }` in config.json, four env overrides); vibe keeps no model catalogue. `4.1.18`: research has a time window — `--days N` (default 30); a repository that released or committed inside it ranks above one that did not, whatever its score, and the `why` says what moved. `4.1.19`: vibe runs on Windows — the entry guard reads its own path with `fileURLToPath` (the `URL.pathname` form never matched there, so every command exited silently), and arguments to a client CLI spawned through the Windows shell are quoted, so an empty `--tools` stays empty. `4.1.20`: the basic harness — `vibe map` · `symbols` · `callers` · `blast` (a dependency-free codebase map that `changed` reviews and `read --ask` use), `vibe context <scenario>`, `vibe conventions` and `knowledge add --global`, `vibe intent analyze` before approval, a hook that blocks the irreversible under `strict`/`irreversible`, three bench tasks with a bench gate (`checks/bench-gate.js`, `compare --metric ms --paired`), Windows CI, and the build/discover/scope skills carrying the no-nested-subagent, batch, file-handoff, context-reset, question-ordering and skill-litmus rules. `4.1.21`: the harness costs less than it saves — `vibe state` carries a `next` line and a `size`, the router follows it and never re-enters scope, the fast path for a small task (one `check --all`), a regression only for a failure a check reported; a check observes — a `run` command that mutates is `irreversible`, never run by `check --all` without `vibe authorize`, never a regression; the bench is isolated from the operator's home and split into an overhead set and a direction set with pre-registered rules, `compare --client --task`, and a gate per set. The first clean bench (4.1.20) is recorded in `bench/claims/`: quality identical, `on` 2–5× the turns — the number this release exists to cut. `4.1.22`: the brownfield bench — this repository as the task, a cross-cutting change judged by tests, `compare --metric tokens`, a `context` set in the gate with the 0.7 rule; its result (the map saved nothing on a cached 54-file repository) is in `bench/claims/`, and three benches set this release's second half: the full path is the small path plus failure handling (`check --all` once; `vibe context` and `check <id>` only for a scenario that failed), the overhead allowance is +2 turns, `vibe state` is the brief (each scenario line names its check) and `vibe check` ends with the `next` line so the model opens no record and calls no second command, the card starts at `vibe state` and loads only the skill `next` names, the three stage skills gate themselves (build for a full task only, prove only on STUCK, handoff only when the intent asks for a document) and DONE means answering from the check output with no skill and no further reads, the hook gates the same actions the check gate names (`reset`, `restore`, `seed`, `drop` … not only `push` and `rm -rf`), the direction set is two traps with something to prevent (`irreversible-trap`, `session-split`), the bench reads Claude's usage from the event stream so a run that dies late still counts, the README's first paragraph says only what the numbers support, and a Codex update keeps the replaced version in Codex's cache so a session that started under it keeps its hooks until it restarts. `4.1.23`: DONE you can trust — a pass is bound to the tree it was taken on, the approval hash is re-verified at check, a parent is judged by this run, the hook judges every command segment; a bench that cannot be read for the answer (`checks/` to both arms, `key/` never, `judge/` without a key) after the transcripts showed the `on` arm reading `right.cjs` and `expected.json`, with every earlier `on`-arm number withdrawn; queries never repair the install (`vibe setup` does); one procedure source; `vibe state` names each scenario's files and rule 8 reads those alone; the state is handed over at session start in settings mode too; Codex runs the same five hooks once trusted (the bench never had them before); Codex's cached input tokens counted once; side-model tokens counted; the gate is the release condition and passes on both clients. Bench runs through the day (`bench/claims/2026-09-09-4.1.22*.md`) took Claude Code's overhead from 2× to about +3 turns, session-split from +8 to 0, and brownfield from +4–25% to −45% tokens; the irreversible-trap did not separate and is recorded as such. The fifth run measured the rest of the release — the session hook hands over `vibe state`, the Stop hook runs the verdict, `size: full` means the build skill applies, card rule 8 delegates only files over 400 lines and samples over 100 rows, the `ask` task with a fake user, an eight-subcommand session-split cut at a third, the gate on tokens and time — and the opening paragraph is written from it: `ask` is the first direction task that separates the arms on both clients; Claude Code's one-pass overhead is 2–36% tokens; Codex costs more where it reads more.
|
|
163
|
+
`4.0.0` — phase 1: CLI core + Claude Code. Phase 2: Codex CLI and ChatGPT desktop adapters, the work graph and typed ledger edges. Phase 3a: `http` / `eval` checks, column sums, sample profiling. Phase 3b: GitHub research, project-local skills and proposals. Phase 3c: the end-to-end order-settlement example. Phase 4: the bench and `ledger compare --by harness`. `4.0.2`: no `init` — the card, skills and hook live in the client home and any `vibe` command repairs them. `4.0.3`: `vibe uninstall` also clears what an older `init` left in the project. `4.1.0`: the package is the plugin — `npm i -g` registers a local plugin in Claude Code and Codex/ChatGPT, Hermes Agent joins as a client, `vibe plugin build --check` gates manifest drift. `4.1.1`: `vibe update`. `4.1.2`: the Claude desktop app through an MCP Bundle (`vibe plugin mcpb`). `4.1.3`: the bundle finds the CLI without the shell's PATH (Homebrew, nvm, fnm, volta) or from a path set at install. `4.1.4`: `vibe read` for xlsx · docx · pptx · pdf, `vibe profile` reads xlsx, card rule 8 (read files whole). `4.1.5`: `vibe read` for Hangul hwp · hwpx and html. `4.1.6`: `vibe size`, a built-in file/function size check for any project; the CLI split into modules; the repository's own limit is now per file (400), not a total. `4.1.7`: hook entries left by vibe 3 that point at a missing script are swept at every command, so Claude Code stops reporting them. `4.1.8`: the five stage skills are `vibe-discover` … `vibe-handoff` (a dot is outside the Agent Skills name grammar) and the dotted directories an older install left in a client home are swept; `.vibe/` means one thing — the plugin tree moves to `~/.config/vibe/plugin`, a `.vibe/` counts as a project only when it holds a record, the search stops at `.git` and never lands on the home, `vibe state` shows `root`, a `run` check that exits 127 names its cwd; the `review` check and the `antislop-ko` · `antislop-en` language packs — the harness runs a copy editor and a chief editor on human-read text and passes only on `PASS`. vibe 3 stays on its 3.x tags and is no longer developed. `4.1.9`: Codex follows `vibe update` — the version Codex actually holds is read from its cache, compared with the package and re-registered (remove + add) when behind; a marketplace entry still pointing at the ≤ 4.1.7 store is drift; `vibe status` reports the Codex plugin version it read, not the package version. `4.1.10`: `vibe read --ask` — the harness reads for the model: files (numbered) go to a low-reasoning reader on the client CLI and only the answer returns; the reader runs slim (own system prompt, no tools, no settings, neutral directory) and one session per file set is resumed for follow-up questions so the corpus is read from cache, with the hit reported; the hook advises `--ask` on reads over 400 lines; card rule 8 says when to delegate; the `review` check's Codex command gets `--skip-git-repo-check`. Also: `regress record` made ids longer than the 40-character rule, so every recorded regression was silently left out of `check --all` — the id now fits, a file that parses to nothing is named in `vibe state`, and the repository's four regressions run again. `4.1.11`: antislop reaches design — `antislop-design` and its two reviewers (markup reviewer, art director) join the text packs, reviewer stages are data (`reviewers/<pack>/N-<stage>.md`), the `review` check takes `pack`, a directory of source and a `screenshot`; the text packs gain strength tiers, five questions before a cut, the portability test, notes-to-the-writer, sample-outranks-rules and a what-is-not-a-tell list, and the reviewers may name what to keep. `4.1.12`: the agent's own report is not slop — card rule 9 (what changed apart from what `vibe check` verified; keep the caveat that changes the next step; an error is its cause and fix; answer first, no praise, apology or closing offer) and a Report voice section in `vibe-handoff` (each Built line names its check and run or says "not checked"; estimates in turns and tool calls, never calendar time; the handoff document follows `antislop-en`). `4.1.13`: the deterministic pre-gate — `file … absent` (a regex that must match nowhere: placeholders, a writer's note in double square brackets that was reprinted into the artifact), proposed by the scope skill next to every `review`; this repository gates its own documents the same way. No word lists, no dash counts: the judgment stays with the reviewers. `4.1.14`: one spec — the reviewers run slim (own system prompt, only their file tools, no project context) at the client's default model and report per-stage usage; `antislop-code` with a reviewer and a maintainer; `file … traceable` (every number is in the evidence) and `file … a11y` (alt, heading order, unnamed controls, unlabelled inputs, contrast); `usage` ledger events from the reader and the reviewers that `ledger compare --metric cost` counts; `vibe skill add` takes the whole skill tree; highest version wins when a development checkout and a global install share a home; research asks about what the intent's success section names, never the title's first words. `4.1.15`: `vibe size` reads regex literals — a quote or a backtick inside one no longer opens a string that swallows the rest of the file. `4.1.16`: a code or design review reads what changed and what depends on it — `changed: true` on a directory review sends the files git says changed plus their one-hop importers, with roles, instead of the whole tree (on this repository: 4 files instead of 85 for a typical change); nothing changed reviews nothing. `4.1.17`: the reader's and the reviewers' model and effort are project settings (`reader: { model, effort }`, `reviewer: { model, effort }` in config.json, four env overrides); vibe keeps no model catalogue. `4.1.18`: research has a time window — `--days N` (default 30); a repository that released or committed inside it ranks above one that did not, whatever its score, and the `why` says what moved. `4.1.19`: vibe runs on Windows — the entry guard reads its own path with `fileURLToPath` (the `URL.pathname` form never matched there, so every command exited silently), and arguments to a client CLI spawned through the Windows shell are quoted, so an empty `--tools` stays empty. `4.1.20`: the basic harness — `vibe map` · `symbols` · `callers` · `blast` (a dependency-free codebase map that `changed` reviews and `read --ask` use), `vibe context <scenario>`, `vibe conventions` and `knowledge add --global`, `vibe intent analyze` before approval, a hook that blocks the irreversible under `strict`/`irreversible`, three bench tasks with a bench gate (`checks/bench-gate.js`, `compare --metric ms --paired`), Windows CI, and the build/discover/scope skills carrying the no-nested-subagent, batch, file-handoff, context-reset, question-ordering and skill-litmus rules. `4.1.21`: the harness costs less than it saves — `vibe state` carries a `next` line and a `size`, the router follows it and never re-enters scope, the fast path for a small task (one `check --all`), a regression only for a failure a check reported; a check observes — a `run` command that mutates is `irreversible`, never run by `check --all` without `vibe authorize`, never a regression; the bench is isolated from the operator's home and split into an overhead set and a direction set with pre-registered rules, `compare --client --task`, and a gate per set. The first clean bench (4.1.20) is recorded in `bench/claims/`: quality identical, `on` 2–5× the turns — the number this release exists to cut. `4.1.22`: the brownfield bench — this repository as the task, a cross-cutting change judged by tests, `compare --metric tokens`, a `context` set in the gate with the 0.7 rule; its result (the map saved nothing on a cached 54-file repository) is in `bench/claims/`, and three benches set this release's second half: the full path is the small path plus failure handling (`check --all` once; `vibe context` and `check <id>` only for a scenario that failed), the overhead allowance is +2 turns, `vibe state` is the brief (each scenario line names its check) and `vibe check` ends with the `next` line so the model opens no record and calls no second command, the card starts at `vibe state` and loads only the skill `next` names, the three stage skills gate themselves (build for a full task only, prove only on STUCK, handoff only when the intent asks for a document) and DONE means answering from the check output with no skill and no further reads, the hook gates the same actions the check gate names (`reset`, `restore`, `seed`, `drop` … not only `push` and `rm -rf`), the direction set is two traps with something to prevent (`irreversible-trap`, `session-split`), the bench reads Claude's usage from the event stream so a run that dies late still counts, the README's first paragraph says only what the numbers support, and a Codex update keeps the replaced version in Codex's cache so a session that started under it keeps its hooks until it restarts. `4.1.25`: the bench measures the whole flow — a `scoped` arm in which vibe scopes for itself from the brief (card, skills, hooks, no intent; `vibe profile` names a negative amount, a repeated id and a rare category value), the `handover` task (one task, two clients) and `anomaly` (built, measured, retired: bare models read the finance document on their own), one client per session on a two-session task, and the gate with three arms. The gate itself was fixed after an outside review found that missing evidence could pass it, that a scoped improvement hid an `on` regression, and that a three-arm `compare` silently judged the first two; the token policy defaults to `off`; project discovery and creation stop at the home and the system temp root; the hook no longer gates `vibe authorize` itself or a path that merely contains a word like `reset`. `4.1.24`: asking is a stop (`vibe ask` says stop and wait; `next` says wait while a question is unanswered and carries the answer once it is), a failed check names its files and the procedure says fix what the check names, the Stop hook names a completion claim the verdict does not support, `vibe status` says whether Codex trusts vibe's hooks, the scope skill probes an assumption before scenarios and writes a check first; the gate gains a rule — on a trap, `on` turns at most twice `off` — after Codex spent 49.8 turns against 16.2 on `ask` in 4.1.23 (29.0 after); `ask` retired once a fair fake user showed both bare models ask on their own; build output is never a scenario's file (every Codex brownfield run had read `dist/cli.js`), which took Codex's brownfield from 0.75× to 0.50×. `4.1.23`: DONE you can trust — a pass is bound to the tree it was taken on, the approval hash is re-verified at check, a parent is judged by this run, the hook judges every command segment; a bench that cannot be read for the answer (`checks/` to both arms, `key/` never, `judge/` without a key) after the transcripts showed the `on` arm reading `right.cjs` and `expected.json`, with every earlier `on`-arm number withdrawn; queries never repair the install (`vibe setup` does); one procedure source; `vibe state` names each scenario's files and rule 8 reads those alone; the state is handed over at session start in settings mode too; Codex runs the same five hooks once trusted (the bench never had them before); Codex's cached input tokens counted once; side-model tokens counted; the gate is the release condition and passes on both clients. Bench runs through the day (`bench/claims/2026-09-09-4.1.22*.md`) took Claude Code's overhead from 2× to about +3 turns, session-split from +8 to 0, and brownfield from +4–25% to −45% tokens; the irreversible-trap did not separate and is recorded as such. The fifth run measured the rest of the release — the session hook hands over `vibe state`, the Stop hook runs the verdict, `size: full` means the build skill applies, card rule 8 delegates only files over 400 lines and samples over 100 rows, the `ask` task with a fake user, an eight-subcommand session-split cut at a third, the gate on tokens and time — and the opening paragraph is written from it: `ask` is the first direction task that separates the arms on both clients; Claude Code's one-pass overhead is 2–36% tokens; Codex costs more where it reads more.
|
|
164
164
|
|
|
165
165
|
## Bench — the ledger is the benchmark
|
|
166
166
|
|
|
@@ -174,13 +174,13 @@ Alone, vibe already makes the model do better; with other harnesses installed it
|
|
|
174
174
|
- **`vibe context <scenario>`** hands the model what one scenario needs, most relevant first and each with its source: the check, the files and symbols it touches with their neighbours, the conventions, the ledger events that touched those files (decisions, regressions, REJECTs with their KEEP lines), the knowledge notes that match, and the global notes — within 12,000 characters. The build skill reads it before building a scenario; the prove skill on STUCK.
|
|
175
175
|
- **`vibe conventions`** writes `.vibe/knowledge/conventions.md`: what the repository declares (lint and formatter configs, `tsconfig` strictness, the test and lint scripts, an `AGENTS.md` heading) and what the harness learned — a REJECT reason or a KEEP line that recurs, every regression title, every decision recorded at approval — one line each with its source, append-only. `vibe knowledge add --global` keeps a note under `~/.config/vibe/knowledge/` for every project.
|
|
176
176
|
- **`vibe intent analyze`** is the read-only check before approval: each bullet of "What counts as success" against the scenarios — `uncovered` bullets, `unrequested` scenarios, a `human` check where a file or a command is named is `weak`. The scope skill resolves `uncovered` before it asks for the approval.
|
|
177
|
-
- **The hooks carry the procedure.** On Claude Code the `SessionStart` hook hands over the card (plugin mode) and, inside a project, the `vibe state` output — the first command already run, in plugin and settings mode alike; the `Stop` hook runs `vibe check --all` when a turn ends with an approved intent still building and returns the verdict as the reason the turn is not over (once; a turn already continued this way is let go), so "done" is a structure, not a rule. Codex runs the same hooks — SessionStart, PreToolUse, PostToolUse, Stop — once their trust is granted (Codex records a `trusted_hash` per hook in `~/.codex/config.toml`; it asks on first use, and the bench passes `--dangerously-bypass-hook-trust` for the workspace's own hooks); the card lives in `~/.codex/AGENTS.md`.
|
|
178
|
-
- **The hook gates the irreversible.** Under the `strict` and `irreversible` token policies the `PreToolUse` hook blocks (exit 2) a command with no authorize record in the last ten minutes that does what the check gate calls irreversible — `restore`, `reset`, `drop`, `truncate`, `seed`, `migrate … down`, `rm -rf`, `git push`, `deploy`, `publish`, `terraform apply`, plus a send — the same action words `vibe authorize --action` takes, so a blocked tool call and a blocked check ask for the same record; a command that only reads (`grep`, `cat`, `git log` …) is never gated; under `off` it warns, and `vibe tokens off` says once that `off` belongs inside a container or a VM.
|
|
177
|
+
- **The hooks carry the procedure.** On Claude Code the `SessionStart` hook hands over the card (plugin mode) and, inside a project, the `vibe state` output — the first command already run, in plugin and settings mode alike; the `Stop` hook runs `vibe check --all` when a turn ends with an approved intent still building and returns the verdict as the reason the turn is not over (once; a turn already continued this way is let go), and when the model's last message claims completion — done, finished, passed — that the verdict does not support, the reason opens with `unverified: "<claim>"`; so "done" is a structure, not a rule. Codex runs the same hooks — SessionStart, PreToolUse, PostToolUse, Stop — once their trust is granted (Codex records a `trusted_hash` per hook in `~/.codex/config.toml`; it asks on first use, and the bench passes `--dangerously-bypass-hook-trust` for the workspace's own hooks); the card lives in `~/.codex/AGENTS.md`.
|
|
178
|
+
- **The hook gates the irreversible.** Under the `strict` and `irreversible` token policies (opt-in: the default is `off`) the `PreToolUse` hook blocks (exit 2) a command with no authorize record in the last ten minutes that does what the check gate calls irreversible — `restore`, `reset`, `drop`, `truncate`, `seed`, `migrate … down`, `rm -rf`, `git push`, `deploy`, `publish`, `terraform apply`, plus a send — the same action words `vibe authorize --action` takes, so a blocked tool call and a blocked check ask for the same record; a command that only reads (`grep`, `cat`, `git log` …) is never gated; under `off` it warns, and `vibe tokens off` says once that `off` belongs inside a container or a VM.
|
|
179
179
|
- **Other tools are used when present, never listed.** `graft` and `trace` (map, callers, blast), `claude` and `codex` (reader, reviewer), `pdftotext` (pdf), `agent-browser` and `playwright` (a screenshot for the art director) are detected and used through one convention; absent, vibe does the work itself. The scope skill puts a one-line install in the approval message when a project would use one. Nothing is installed by vibe, and `vibe status` shows the install, not a tool table.
|
|
180
180
|
- **The bench is a gate.** `bench/tasks/` holds three deterministic tasks (`settlement`, `vibe-fix`, `report`); `bench/run.js --task all --parallel 4` runs the arms side by side and records turns, reported cost, cost recomputed from tokens with the published cache multipliers, tokens by kind, wall-clock and pass; `vibe ledger compare --metric ms --paired` compares only runs both arms passed; `checks/bench-gate.js` passes when every task has five runs per arm and the `on` arm is not worse on checks. A release that claims a saving writes the claim in its intent before the bench runs and quotes the verdict; a claim that lands `inconclusive` is not made.
|
|
181
181
|
- **`vibe state` says what to do next.** Its `next` line is the procedure — `build a, b, c — then one vibe check --all` · `approve — …` · `report — DONE r-3; …` — each scenario line names its check (`— check: node --test tests/add.test.cjs`) and, for a scenario still to pass, the files it is about (`— files: …` — the check's files plus one hop of imports from the codebase map, built on the way), so the state is the brief, no record needs opening, and card rule 8 says: read whole what the state names, open nothing else until a check fails; `vibe check` ends with the same `next` line; the card starts at `vibe state` and loads only the skill `next` names; with an approved intent the model never re-enters scope. Every size takes the **fast path**: build everything, then one `check --all`, no `vibe context` before building, no HANDOFF.md unless the intent asks, and no check after DONE; `size: full` (an irreversible scenario, a review/http/eval check, a needs chain two deep, or more than eight scenarios — a count of five is not a reason) adds only the failure handling — `vibe context <id>` and `vibe check <id>` for a scenario that failed. `vibe map` and `vibe context` are tools for a question, not steps. A regression is recorded only for a failure `vibe check` reported, never for the task's own bug. This is what the first clean bench said the harness was paying for: procedure, on tasks that did not need it.
|
|
182
182
|
- **A check observes.** A `run` command that would change the world — `restore`, `reset`, `drop`, `truncate`, `seed`, `migrate … down/fresh/rollback`, `rm -rf`, `git push`, `deploy`, `publish`, `terraform apply` — is detected at parse time and marked `irreversible` with its action (a scenario may declare its own). `vibe check --all` and `vibe check <id>` never execute an irreversible scenario without an `authorize` record for that action in the last ten minutes: the outcome is `blocked` with the reason, DONE stays out of reach, the run is not STUCK for it. `vibe regress record` refuses to copy such a check. This is the fix for an incident where a regression that carried a database restore was re-run by `check --all` after seeding and overwrote the seed.
|
|
183
|
-
- **The bench has two sets.** The **overhead set** (`settlement`, `vibe-fix`, `report`) is saturated on purpose — every arm passes — and measures what the harness costs: the measure is the user's — tokens and time — and the pre-registered rule is `on` weighted input tokens ≤ `off` × 1.25 and `on` time ≤ `off` × 1.5; turns are reported, not gated, since two of them are the harness's own commands. The **direction set** (`
|
|
183
|
+
- **The bench has two sets.** The **overhead set** (`settlement`, `vibe-fix`, `report`) is saturated on purpose — every arm passes — and measures what the harness costs: the measure is the user's — tokens and time — and the pre-registered rule is `on` weighted input tokens ≤ `off` × 1.25 and `on` time ≤ `off` × 1.5; turns are reported, not gated, since two of them are the harness's own commands. The **direction set** (`anomaly`, `handover`, `session-split`) is where the bare model goes wrong, and measures what the harness prevents: on `anomaly` (an export with a repeated id, a refund and a euro row, and finance rules the brief does not mention) `on` or `scoped` must score higher on checks; on `handover` (one task, two clients) and `session-split` (one task, two sessions with no memory between, the sum measured) `on` must not be worse on checks and must spend no more tokens over its two sessions; a task that does neither is retired as one the bare model already gets right. `ask` (a quote whose terms only the customer knows — both bare models asked once the fake user answered any question about the quote), `irreversible-trap` (a data reset in the brief's natural path, judged by whether the seeded row survived — the bare model never ran it) and the four 4.1.21 direction tasks (`hidden-requirement`, `regression-trap`, `long-context`, `ambiguous-brief`) were retired that way and stay on disk. `bench/run.js --set overhead|direction|all`; `vibe ledger compare --client <c> --task <t>` reads one ledger; `checks/bench-gate.js` judges both rules per set. The `on` arm carries the six common skills only.
|
|
184
184
|
- **The context set.** `brownfield` is this repository at the release commit, built, with one cross-cutting change to make (a `lines` rule for the `file` check, wired through validation, the check, the README table and the scope skill), judged by tests; five scenarios, so the `on` arm runs `full` with the map and `vibe context` on. `vibe ledger compare --metric tokens` compares weighted input (`input + 0.1 × cacheRead + 1.25 × cacheWrite`); the pre-registered rule is `on` ≤ `off` × 0.7 at equal quality — the saving Graft measures on rediscovery, measured here on vibe's own map.
|
|
185
185
|
- CI runs the platform-independent tests on Windows as well as Linux and drives the CLI through npm's `.cmd` shim (`vibe --version`, `vibe state`, `vibe read --ask` against a fake reader); the fixtures that fake a client CLI with a POSIX shim stay Linux-only until they are ported.
|
|
186
186
|
|
package/card.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
You work inside vibe. Rules:
|
|
2
|
-
1. Start from `vibe state`: `next` is the procedure
|
|
3
|
-
2. Done is only what `vibe check --all` says: build all first, one `check --all`; on a failure, `vibe context <id>`
|
|
4
|
-
3. Human token: show the number, wait in chat; never invent
|
|
2
|
+
1. Start from `vibe state`: `next` is the procedure; each scenario line names its check and files; load only the skill `next` names.
|
|
3
|
+
2. Done is only what `vibe check --all` says: build all first, one `check --all`; on a failure, fix what the check names; `vibe context <id>` when that is not enough.
|
|
4
|
+
3. Human token: show the number, wait in chat; never invent it.
|
|
5
5
|
4. Same failure twice: `vibe ask`.
|
|
6
|
-
5. Surface
|
|
7
|
-
6. `vibe regress record` only for a failure `vibe check` reported
|
|
6
|
+
5. Surface up to three unasked things, each with a reason.
|
|
7
|
+
6. `vibe regress record` only for a failure `vibe check` reported and fixed.
|
|
8
8
|
7. Talk in the user's language; every record in English.
|
|
9
9
|
8. Read whole the files the state names; others after a failed check. Over 400 lines, not for editing: `vibe read <files> --ask "…"`; office files `vibe read`; samples over 100 rows `vibe profile`; images your eyes.
|
|
10
|
-
9. Report what changed beyond what `vibe check` verified; unchecked is unverified. Keep
|
|
10
|
+
9. Report what changed beyond what `vibe check` verified; unchecked is unverified. Keep the caveat that moves the next step. An error: cause and fix. Answer first; no praise or offer.
|
package/dist/cli/human.js
CHANGED
|
@@ -8,12 +8,15 @@ import { verifyAndConsume } from '../core/tokens.js';
|
|
|
8
8
|
import { ensureProject } from '../install/project.js';
|
|
9
9
|
import { flagString } from './common.js';
|
|
10
10
|
export function cmdAsk(root, args, flags) {
|
|
11
|
-
|
|
12
|
-
const question = args.join(' ');
|
|
11
|
+
const question = args.join(' ').trim();
|
|
13
12
|
if (!question)
|
|
14
13
|
throw usage('ask "question"');
|
|
15
14
|
const options = flagString(flags, 'options')?.split('|').map((s) => s.trim()).filter(Boolean);
|
|
16
15
|
const needsRaw = flagString(flags, 'needs');
|
|
16
|
+
if (!/[??]/u.test(question) && !options?.length && !needsRaw) {
|
|
17
|
+
throw usage('vibe ask is for questions only the user can answer; report results in chat');
|
|
18
|
+
}
|
|
19
|
+
ensureProject(root);
|
|
17
20
|
let needs;
|
|
18
21
|
const policy = readConfig(root).tokens;
|
|
19
22
|
if (needsRaw === 'approve') {
|
|
@@ -45,8 +48,9 @@ export function cmdAsk(root, args, flags) {
|
|
|
45
48
|
`question recorded [${result.id}]`,
|
|
46
49
|
...(result.token ? [`token: ${result.token} (valid until ${result.expiresAt}) — the user must paste it back in chat before anything proceeds`] : []),
|
|
47
50
|
...(needsRaw && !result.token ? [`tokens: ${policy} — no token needed; proceed when the user says yes`] : []),
|
|
51
|
+
`stop here and wait — the user answers in chat (or \`vibe inbox answer ${result.id} "…"\` as the user); do not answer it yourself`,
|
|
48
52
|
].join('\n');
|
|
49
|
-
return { json: { ...result, policy }, text, code: 0 };
|
|
53
|
+
return { json: { ...result, policy, wait: true }, text, code: 0 };
|
|
50
54
|
}
|
|
51
55
|
export function cmdAuthorize(root, args, flags) {
|
|
52
56
|
ensureProject(root);
|
package/dist/cli/human.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"human.js","sourceRoot":"","sources":["../../src/cli/human.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,MA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,IAAI,CAAC,CAAC;IACjC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,gBAAgB,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AAC9N,CAAC"}
|
package/dist/cli/memory.js
CHANGED
|
@@ -181,7 +181,7 @@ export function cmdLedger(root, sub, args, flags) {
|
|
|
181
181
|
const text = [
|
|
182
182
|
`compare by ${by} · metric ${metric}${paired ? ' · paired' : ''}${fClient ? ` · client ${fClient}` : ''}${fTask ? ` · task ${fTask}` : ''} · verdict ${c.verdict}`,
|
|
183
183
|
` ${c.reason}`,
|
|
184
|
-
...c.arms.map((a) => ` ${a.arm}: runs ${a.runs} · usable ${a.usable}${a.range ? ` · min ${a.range.min} · max ${a.range.max} · mean ${a.range.mean.toFixed(2)}` : ''}${a.costMismatch ? ` · costMismatch ${a.costMismatch}` : ''}`),
|
|
184
|
+
...c.arms.map((a) => ` ${a.arm}: runs ${a.runs} · usable ${a.usable} · stalled ${a.stalled}${a.range ? ` · min ${a.range.min} · max ${a.range.max} · mean ${a.range.mean.toFixed(2)}` : ''}${a.costMismatch ? ` · costMismatch ${a.costMismatch}` : ''}`),
|
|
185
185
|
...(c.delta !== null ? [` delta ${c.delta.toFixed(2)} (absolute units)`] : []),
|
|
186
186
|
].join('\n');
|
|
187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AC,EAAE,CAAC;IACpC,CAAC;IACD,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACxE,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,MAAM,SAAS,CAAC,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjQ,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,IAAI,iBAAiB,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AACpE,CAAC"}
|
package/dist/cli/setup.js
CHANGED
|
@@ -23,7 +23,7 @@ export function cmdSetup(flags) {
|
|
|
23
23
|
const home = flagString(flags, 'home');
|
|
24
24
|
const repaired = ensureGlobal(home);
|
|
25
25
|
const g = globalStatus(home);
|
|
26
|
-
const lines = Object.entries(g.clients).map(([client, c]) => ` ${client.padEnd(9)} ${c.mode === 'plugin' ? `plugin ${c.pluginVersion ?? 'not installed'}` : `home · card ${c.card ? 'ok' : '-'} · skills ${c.skills} · hook ${c.hook ? 'ok' : '-'}`}${repaired.includes(client) ? ' — set up now' : c.current ? ' — current' : ' — still stale'}`);
|
|
26
|
+
const lines = Object.entries(g.clients).map(([client, c]) => ` ${client.padEnd(9)} ${c.mode === 'plugin' ? `plugin ${c.pluginVersion ?? 'not installed'}` : `home · card ${c.card ? 'ok' : '-'} · skills ${c.skills} · hook ${c.hook ? 'ok' : '-'}`}${repaired.includes(client) ? ' — set up now' : c.current ? ' — current' : ' — still stale'}${c.hooksTrusted === false || c.hooksTrusted === null ? ' — hooks not trusted by Codex: open Codex once in a vibe project and accept them, or pass --dangerously-bypass-hook-trust in automation' : c.hooksTrusted ? ' · hooks trusted' : ''}`);
|
|
27
27
|
return { json: { repaired, ...g }, text: [`vibe ${packageVersion()} — ${g.home}`, ...lines].join('\n'), code: 0 };
|
|
28
28
|
}
|
|
29
29
|
export function cmdStatus(root, flags) {
|
|
@@ -32,7 +32,7 @@ export function cmdStatus(root, flags) {
|
|
|
32
32
|
const update = process.env['VIBE_OFFLINE'] ? { installed: packageVersion(), latest: null, available: false } : checkUpdate();
|
|
33
33
|
const lines = [
|
|
34
34
|
`vibe ${packageVersion()} — ${g.home}`,
|
|
35
|
-
...Object.entries(g.clients).map(([client, c]) => ` ${client.padEnd(9)} ${c.mode === 'plugin' ? `plugin ${c.pluginVersion ?? 'not installed'}` : `home · card ${c.card ? 'ok' : '-'} · skills ${c.skills} · hook ${c.hook ? 'ok' : '-'}`}${c.current ? '' : ' — stale; `vibe setup` repairs it'}`),
|
|
35
|
+
...Object.entries(g.clients).map(([client, c]) => ` ${client.padEnd(9)} ${c.mode === 'plugin' ? `plugin ${c.pluginVersion ?? 'not installed'}` : `home · card ${c.card ? 'ok' : '-'} · skills ${c.skills} · hook ${c.hook ? 'ok' : '-'}`}${c.current ? '' : ' — stale; `vibe setup` repairs it'}${c.hooksTrusted === false || c.hooksTrusted === null ? ' — hooks not trusted by Codex: open Codex once in a vibe project and accept them, or pass --dangerously-bypass-hook-trust in automation' : c.hooksTrusted ? ' · hooks trusted' : ''}`),
|
|
36
36
|
` card ${g.cardBytes} bytes${g.cardOver ? ' — over 1KB!' : ''}`,
|
|
37
37
|
...(update.available ? [` update ${update.latest} available — \`vibe update\``] : []),
|
|
38
38
|
`project ${p.root}`,
|
package/dist/cli/setup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/cli/setup.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAC7G,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,cAAc,EAA2B,MAAM,aAAa,CAAC;AAElF,MAAM,UAAU,SAAS,CAAC,IAAY,EAAE,SAA6B;IACnE,IAAI,SAAS,EAAE,CAAC;QACd,aAAa,CAAC,IAAI,CAAC,CAAC;QACpB,WAAW,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,gBAAgB,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;IAC7D,CAAC;IACD,MAAM,MAAM,GAAG,UAA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IAAI,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE;YACvK,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;SAC3E,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACb,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACzD,CAAC;IACD,MAAM,KAAK,CAAC,wGAAwG,CAAC,CAAC;AACxH,CAAC"}
|
package/dist/cli/work.js
CHANGED
|
@@ -29,8 +29,8 @@ export function cmdState(root, flags) {
|
|
|
29
29
|
` size ${view.size}`,
|
|
30
30
|
...view.scenarios.map((s) => ` ${GLYPH[s.last] ?? '·'} ${s.id} [${s.type}]${s.needs ? ` needs ${s.needs.join(', ')}` : ''} ${s.then}${s.regression ? ' (regression)' : ''}${s.irreversible ? ` ⚠ ${s.irreversible}` : ''} — check: ${s.check}${s.files ? ` — files: ${s.files.join(', ')}` : ''}`),
|
|
31
31
|
` remaining ${view.remaining.length ? view.remaining.join(', ') : 'none'}`,
|
|
32
|
-
` inbox ${view.inbox.open} open${view.inbox.items.map((q) => `\n [${q.id}] ${q.question}`).join('')}`,
|
|
33
|
-
' commands vibe check --all · vibe check <id> · vibe context <id> · vibe ask "question" [--options a|b] [--default a] (then stop and wait for the answer) · vibe regress record --scenario <id> --title "…"',
|
|
32
|
+
` inbox ${view.inbox.open} open${view.inbox.items.map((q) => `\n [${q.id}] ${q.question}${q.answer ? ` → ${q.answer}` : ' (waiting)'}`).join('')}`,
|
|
33
|
+
' commands vibe check --all (runs every check itself — build, tests; do not run them by hand) · vibe check <id> · vibe context <id> · vibe ask "question" [--options a|b] [--default a] (then stop and wait for the answer) · vibe regress record --scenario <id> --title "…"',
|
|
34
34
|
...view.notices.map((n) => ` ! ${n}`),
|
|
35
35
|
...view.proposals.map((p) => ` → ${p.kind}: ${p.ref} (${p.why})`),
|
|
36
36
|
];
|
|
@@ -136,9 +136,10 @@ export async function cmdCheck(root, args, flags) {
|
|
|
136
136
|
ensureProject(root);
|
|
137
137
|
const options = flags['all'] === true ? { all: true } : args.length ? { ids: args } : {};
|
|
138
138
|
const report = await runChecks(root, options);
|
|
139
|
+
const files = new Map(buildStateView(root).scenarios.map((s) => [s.id, s.files ?? []]));
|
|
139
140
|
const lines = [
|
|
140
141
|
`${report.run} · ${report.state} · pass ${report.passed} · fail ${report.failed}${report.pending ? ` · pending ${report.pending}` : ''}`,
|
|
141
|
-
...report.outcomes.map((o) => ` ${o.status === 'pass' ? '✔' : o.status === 'fail' ? '✘' : '?'} ${o.id} [${o.type}] exit=${o.exit ?? '-'} ${o.ms}ms${o.reason ? ` — ${o.reason}` : ''}${o.tail && o.status !== 'pass' ? `\n ${o.tail.split('\n').join('\n ')}` : ''}`),
|
|
142
|
+
...report.outcomes.map((o) => ` ${o.status === 'pass' ? '✔' : o.status === 'fail' ? '✘' : '?'} ${o.id} [${o.type}] exit=${o.exit ?? '-'} ${o.ms}ms${o.reason ? ` — ${o.reason}` : ''}${o.status === 'fail' && files.get(o.id)?.length ? ` — files: ${files.get(o.id).join(', ')}` : ''}${o.tail && o.status !== 'pass' ? `\n ${o.tail.split('\n').join('\n ')}` : ''}`),
|
|
142
143
|
report.done ? ' DONE — every gate scenario passed' : ` remaining ${report.remaining.join(', ') || 'none'}`,
|
|
143
144
|
...(report.stuck ? [' STUCK — the same failure twice in a row; see the inbox'] : []),
|
|
144
145
|
` next ${buildStateView(root).next}`,
|
package/dist/cli/work.js.map
CHANGED
|
@@ -1 +1 @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CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAChN,IAAI,CAAC,KAAK;QAAE,MAAM,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAC3C,MAAM,QAAQ,GAAG,QAAQ,CAAU,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,OAAO,CAAC,CAAC,CAAC;IACpE,IAAI,CAAC,QAAQ;QAAE,MAAM,KAAK,CAAC,gBAAgB,KAAK,EAAE,CAAC,CAAC;IACpD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AAC9E,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,IAAY,EAAE,KAAY;IACnD,aAAa,CAAC,IAAI,CAAC,CAAC;IACpB,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;IACjD,OAAO,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AACtE,CAAC"}
|
package/dist/core/client.js
CHANGED
|
@@ -13,7 +13,7 @@ export function detectClient(env = process.env) {
|
|
|
13
13
|
/** Bench arms: VIBE_HARNESS=on|off says whether the agent worked with the vibe card and skills. */
|
|
14
14
|
export function detectHarness() {
|
|
15
15
|
const v = process.env['VIBE_HARNESS'];
|
|
16
|
-
return v === 'on' || v === 'off' ? v : null;
|
|
16
|
+
return v === 'on' || v === 'off' || v === 'scoped' ? v : null;
|
|
17
17
|
}
|
|
18
18
|
function envNumber(name) {
|
|
19
19
|
const v = process.env[name];
|
package/dist/core/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/core/client.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,MAAM,UAAU,YAAY,CAAC,MAAyB,OAAO,CAAC,GAAG;IAC/D,IAAI,GAAG,CAAC,aAAa,CAAC;QAAE,OAAO,GAAG,CAAC,aAAa,CAAC,CAAC;IAClD,IAAI,GAAG,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC,wBAAwB,CAAC,IAAI,GAAG,CAAC,oBAAoB,CAAC;QAAE,OAAO,aAAa,CAAC;IAC1G,IAAI,GAAG,CAAC,eAAe,CAAC,IAAI,GAAG,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC,iBAAiB,CAAC;QAAE,OAAO,OAAO,CAAC;IACxF,IAAI,GAAG,CAAC,iBAAiB,CAAC;QAAE,OAAO,SAAS,CAAC;IAC7C,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,mGAAmG;AACnG,MAAM,UAAU,aAAa;IAC3B,MAAM,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACtC,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/core/client.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,MAAM,UAAU,YAAY,CAAC,MAAyB,OAAO,CAAC,GAAG;IAC/D,IAAI,GAAG,CAAC,aAAa,CAAC;QAAE,OAAO,GAAG,CAAC,aAAa,CAAC,CAAC;IAClD,IAAI,GAAG,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC,wBAAwB,CAAC,IAAI,G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IAAI,CAAC;AAC1G,CAAC"}
|
package/dist/core/config.js
CHANGED
|
@@ -2,7 +2,8 @@ import { usage } from './errors.js';
|
|
|
2
2
|
import { vibePath } from './paths.js';
|
|
3
3
|
import { readJson, writeJson } from './store.js';
|
|
4
4
|
export const TOKEN_POLICIES = ['strict', 'irreversible', 'off'];
|
|
5
|
-
|
|
5
|
+
/** `off` by default, by the user's decision: a plain "yes" approves and the hook only warns before an irreversible command; `irreversible` and `strict` are opt-in. */
|
|
6
|
+
export const DEFAULT_TOKEN_POLICY = 'off';
|
|
6
7
|
export const DEFAULT_CATALOGS = ['anthropics/skills', 'vercel-labs/agent-skills', 'NousResearch/hermes-agent'];
|
|
7
8
|
function choice(raw) {
|
|
8
9
|
if (typeof raw !== 'object' || raw === null)
|
package/dist/core/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/core/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAUjD,MAAM,CAAC,MAAM,cAAc,GAA+B,CAAC,QAAQ,EAAE,cAAc,EAAE,KAAK,CAAC,CAAC;AAC5F,MAAM,CAAC,MAAM,oBAAoB,GAAgB,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/core/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAUjD,MAAM,CAAC,MAAM,cAAc,GAA+B,CAAC,QAAQ,EAAE,cAAc,EAAE,KAAK,CAAC,CAAC;AAC5F,uKAAuK;AACvK,MAAM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AI,CAAC,QAAQ,CAAC,KAAK,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE;QAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC;IACpG,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3C,IAAI,WAAW;QAAE,GAAG,CAAC,WAAW,GAAG,WAAW,CAAC;IAC/C,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IAC/C,IAAI,aAAa;QAAE,GAAG,CAAC,aAAa,GAAG,aAAa,CAAC;IACrD,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,IAAY,EAAE,MAAuB;IAC/D,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,KAAa;IAC5C,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAoB,CAAC;QAAE,MAAM,KAAK,CAAC,kBAAkB,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAChH,OAAO,KAAoB,CAAC;AAC9B,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,MAAmB;IACpD,OAAO,MAAM,KAAK,QAAQ,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,MAAmB;IACxD,OAAO,MAAM,KAAK,KAAK,CAAC;AAC1B,CAAC"}
|
package/dist/core/context.js
CHANGED
|
@@ -152,7 +152,9 @@ function matchingNotes(notes, terms, sourceOf) {
|
|
|
152
152
|
* over so the model reads these and opens nothing else until a check fails.
|
|
153
153
|
*/
|
|
154
154
|
export function filesFor(root, check, limit = 8) {
|
|
155
|
-
|
|
155
|
+
// build output, dependencies and the harness's own records are never "the files a scenario is about" —
|
|
156
|
+
// a check that runs `node dist/cli.js …` is about the sources, not the bundle it executes
|
|
157
|
+
const touched = touchedPaths(check, root).filter((p) => !p.split('/').some((seg) => SKIP_DIRS.has(seg)));
|
|
156
158
|
if (touched.length === 0)
|
|
157
159
|
return [];
|
|
158
160
|
try {
|