@su-record/vibe 4.1.13 → 4.1.14
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 +4 -4
- package/agents/code-maintainer.md +26 -0
- package/agents/code-reviewer.md +28 -0
- package/dist/core/check.js +2 -0
- package/dist/core/check.js.map +1 -1
- package/dist/core/checks/file.js +13 -0
- package/dist/core/checks/file.js.map +1 -1
- package/dist/core/checks/fileRules.js +116 -0
- package/dist/core/checks/fileRules.js.map +1 -0
- package/dist/core/checks/review.js +51 -44
- package/dist/core/checks/review.js.map +1 -1
- package/dist/core/checks/run.js.map +1 -1
- package/dist/core/checks/source.js +23 -8
- package/dist/core/checks/source.js.map +1 -1
- package/dist/core/ledger.js +24 -2
- package/dist/core/ledger.js.map +1 -1
- package/dist/core/reader.js +5 -3
- package/dist/core/reader.js.map +1 -1
- package/dist/core/readerSession.js +15 -10
- package/dist/core/readerSession.js.map +1 -1
- package/dist/core/research.js +53 -14
- package/dist/core/research.js.map +1 -1
- package/dist/core/scenarios.js +2 -2
- package/dist/core/scenarios.js.map +1 -1
- package/dist/core/skills.js +29 -9
- package/dist/core/skills.js.map +1 -1
- package/dist/install/global.js +2 -2
- package/dist/install/global.js.map +1 -1
- package/dist/install/register.js +37 -0
- package/dist/install/register.js.map +1 -1
- package/package.json +1 -1
- package/reviewers/code/1-reviewer.md +21 -0
- package/reviewers/code/2-maintainer.md +19 -0
- package/skills/antislop-code/SKILL.md +206 -0
- package/skills/antislop-code/references/catalogue.md +28 -0
- package/skills/vibe-scope/SKILL.md +3 -1
|
@@ -9,9 +9,11 @@ user-invocable: false
|
|
|
9
9
|
## Procedure
|
|
10
10
|
|
|
11
11
|
1. Turn the discovery result into scenarios. A scenario is stored only if it carries exactly one check type:
|
|
12
|
-
- `run` command exit code · `file` exists/regex/contains/absent (a regex that must match nowhere)/schema/sum (a column total equals a reference) · `http` status/schema/maxMs · `eval` count of matching labelled cases (jsonl `{input, expected}` through a runner's stdin/stdout, `expect.pass` is a count) · `review` an antislop pack's reviewer stages in order (text: copy editor → chief editor; design: markup reviewer → art director), run by the harness, exact `PASS` only · `human` no verdict (goes to the inbox)
|
|
12
|
+
- `run` command exit code · `file` exists/regex/contains/absent (a regex that must match nowhere)/traceable (every number is in an evidence file)/a11y (mechanical accessibility defects)/schema/sum (a column total equals a reference) · `http` status/schema/maxMs · `eval` count of matching labelled cases (jsonl `{input, expected}` through a runner's stdin/stdout, `expect.pass` is a count) · `review` an antislop pack's reviewer stages in order (text: copy editor → chief editor; design: markup reviewer → art director; code: reviewer → maintainer), run by the harness, exact `PASS` only · `human` no verdict (goes to the inbox)
|
|
13
13
|
- When a success condition is human-read text (blog, column, article, report, script, speech), propose `check: { type: review, path: <file>, contract: <file>, evidence: <file> }` and mark it `⚠ model-judged` in the approval message.
|
|
14
14
|
- When it is something a person looks at (screen, page, component, dashboard, slide, card news, poster), propose `check: { type: review, pack: design, path: <file or directory>, contract: <brief>, screenshot: <png, if an earlier scenario renders one> }`, same mark.
|
|
15
|
+
- When the code will be read or maintained by someone else (a library, a contribution, a handoff), propose `check: { type: review, pack: code, path: <file or directory>, contract: <brief> }`, same mark; otherwise `vibe size` stays the code gate.
|
|
16
|
+
- Next to a text `review` that has an evidence file, propose `check: { type: file, path: <file>, traceable: <evidence file> }` (every number in the text is in the evidence); next to a design `review` on html, `check: { type: file, path: <html>, a11y: true }` (alt, heading order, unnamed controls, unlabelled inputs, contrast). These check facts; the reviewers keep the judgment.
|
|
15
17
|
- Next to every `review`, propose its deterministic pre-gate on the same file: `check: { type: file, path: <file>, absent: "@placeholders" }` — the preset is the usual leftovers (lorem-ipsum text, a bracketed TODO, a to-be-decided mark, a company-name placeholder, unfilled double-brace fields, double-square-bracket notes); add the project's own words with `|`. For a directory, a `run` check with `grep -rlE` and `expect: 1`. Tell the writer that a note to the model goes between double square brackets, so the gate catches it if it survives into the artifact.
|
|
16
18
|
- A condition you cannot check gets `human` explicitly. An irreversible action (push, deploy, send, delete, spend) gets `irreversible: <action>`.
|
|
17
19
|
- A scenario that only makes sense after another one has passed gets `needs: [ids]`. The harness orders and parallelises checks from these edges; keep a connected graph under six scenarios.
|