@su-record/vibe 4.1.19 → 4.1.20
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 +14 -1
- package/card.md +2 -2
- package/dist/cli/common.js +3 -0
- package/dist/cli/common.js.map +1 -1
- package/dist/cli/context.js +11 -0
- package/dist/cli/context.js.map +1 -0
- package/dist/cli/conventions.js +13 -0
- package/dist/cli/conventions.js.map +1 -0
- package/dist/cli/map.js +59 -0
- package/dist/cli/map.js.map +1 -0
- package/dist/cli/memory.js +10 -8
- package/dist/cli/memory.js.map +1 -1
- package/dist/cli/setup.js +6 -2
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/work.js +6 -1
- package/dist/cli/work.js.map +1 -1
- package/dist/cli.js +9 -0
- package/dist/cli.js.map +1 -1
- package/dist/core/analyze.js +82 -0
- package/dist/core/analyze.js.map +1 -0
- package/dist/core/capabilities.js +60 -0
- package/dist/core/capabilities.js.map +1 -0
- package/dist/core/checks/changed.js +17 -3
- package/dist/core/checks/changed.js.map +1 -1
- package/dist/core/checks/source.js +2 -1
- package/dist/core/checks/source.js.map +1 -1
- package/dist/core/context.js +206 -0
- package/dist/core/context.js.map +1 -0
- package/dist/core/conventions.js +149 -0
- package/dist/core/conventions.js.map +1 -0
- package/dist/core/knowledge.js +9 -3
- package/dist/core/knowledge.js.map +1 -1
- package/dist/core/ledger.js +53 -3
- package/dist/core/ledger.js.map +1 -1
- package/dist/core/map/format.js +52 -0
- package/dist/core/map/format.js.map +1 -0
- package/dist/core/map/imports.js +152 -0
- package/dist/core/map/imports.js.map +1 -0
- package/dist/core/map/index.js +142 -0
- package/dist/core/map/index.js.map +1 -0
- package/dist/core/map/symbols.js +123 -0
- package/dist/core/map/symbols.js.map +1 -0
- package/dist/core/paths.js +4 -0
- package/dist/core/paths.js.map +1 -1
- package/dist/core/reader.js +17 -3
- package/dist/core/reader.js.map +1 -1
- package/dist/core/readerSession.js +16 -2
- package/dist/core/readerSession.js.map +1 -1
- package/dist/core/size.js +13 -9
- package/dist/core/size.js.map +1 -1
- package/hooks/notify.js +14 -9
- package/package.json +1 -1
- package/skills/vibe-build/SKILL.md +2 -2
- package/skills/vibe-discover/SKILL.md +2 -0
- package/skills/vibe-prove/SKILL.md +2 -0
- package/skills/vibe-scope/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@su-record/vibe",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.20",
|
|
4
4
|
"description": "An AX/FDE harness for Claude Code, Codex CLI and ChatGPT desktop. Say what you need, approve the scenarios once; the harness proves the work by running the checks itself. Memory in plain files, human tokens for irreversible actions, a ledger instead of claims.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -9,8 +9,8 @@ user-invocable: false
|
|
|
9
9
|
## Procedure
|
|
10
10
|
|
|
11
11
|
1. Take scenarios in the order of `remaining` from `vibe state --json` — parents before their `needs` dependents (`vibe state --graph` shows the edges). Put scenarios marked `irreversible` last.
|
|
12
|
-
- Scenarios with no edge between them may be built by parallel agents, each in its own worktree, merged before `vibe check --all`. Never two agents in one working tree.
|
|
13
|
-
2.
|
|
12
|
+
- Scenarios with no edge between them may be built by parallel agents, each in its own worktree, merged before `vibe check --all`. Never two agents in one working tree. Batch scenarios of one shape into one dispatch; never a nested subagent (a reviewer's reviewer counts for nothing). Hand artifacts to an agent as files, never pasted. When the context is nearly full, start a new session from `.vibe/` instead of compacting.
|
|
13
|
+
2. Read `vibe context {id}` first — the files and symbols the check touches, the decisions and regressions that touched them, the conventions — then build only what that scenario needs. Make sure the check itself (`check.cmd`, `check.path`) can actually run.
|
|
14
14
|
- Orientation reads ("what does this module do", "where is X handled") go through `vibe read <files> --ask "<question>"` — a low-reasoning model reads and answers with line numbers; read the file yourself only to edit or debug it.
|
|
15
15
|
3. Run `vibe check {id} --json`.
|
|
16
16
|
- Pass (`code 0`): next scenario.
|
|
@@ -8,6 +8,8 @@ user-invocable: false
|
|
|
8
8
|
|
|
9
9
|
## Procedure
|
|
10
10
|
|
|
11
|
+
Order the questions by impact: scope first, then security and privacy, then the reader's or user's experience, then technical detail. A question further down the list is asked only when the earlier ones are settled.
|
|
12
|
+
|
|
11
13
|
1. Read what the user attached through the harness, so every client sees the same thing:
|
|
12
14
|
- table (csv · tsv · jsonl · json · xlsx) → `vibe profile {file} --json` [`--sheet`]: columns, types, missing counts, duplicates, up to three anomalies with numbers
|
|
13
15
|
- document (xlsx · docx · pptx · pdf · hwp · hwpx · html) → `vibe read {file} --json` [`--sheet` · `--pages`]; it says which reader it used (pdf: `pdftotext` when installed, else built-in)
|
|
@@ -17,3 +17,5 @@ user-invocable: false
|
|
|
17
17
|
## What DONE means
|
|
18
18
|
|
|
19
19
|
DONE means every gate scenario passed on this exact tree. Changing any file sends the state back to RUNNING; run `vibe check --all` again.
|
|
20
|
+
|
|
21
|
+
On STUCK, read `vibe context {id}` before touching anything — the decisions and regressions around that scenario are usually the reason.
|
|
@@ -21,7 +21,7 @@ user-invocable: false
|
|
|
21
21
|
3. Save with `vibe intent draft --stdin --json`, sending `{"intent": "...", "scenarios": "..."}` (both in English).
|
|
22
22
|
- On rejection (`code 1`) fix the reasons and save again. Do not pass by deleting a rejected scenario — bind a check to it.
|
|
23
23
|
- On success the response contains `token` when the project's token policy is `strict`; otherwise `token` is null and a plain yes in chat is enough.
|
|
24
|
-
4.
|
|
24
|
+
4. Run `vibe intent analyze` and resolve every `uncovered` bullet (add a scenario or cut the bullet) before asking; an `unrequested` scenario is cut or the bullet is written. Then research and proposals, once, before the approval message: `vibe research --from-intent --json` (up to five candidates with an action each, what moved in the last 30 days first — `--days N` for another window; skip silently on exit 2 and say "no network") and `vibe skill suggest --json` (up to three). Show both in the approval message. Do not install anything — the user says "add 1" and you run the printed `vibe skill add …` (preview first, `--yes` after they have seen the commands). `vibe status` lists the tools vibe would use if present; when the project would use one (a large repository → a symbol graph; a design review → a screenshot tool) put its one-line install in the approval message. A project-local skill is kept only if removing a line of it would make the model err.
|
|
25
25
|
5. Send **one** approval message:
|
|
26
26
|
|
|
27
27
|
```
|