@su-record/vibe 4.2.20 → 4.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/dist/cli/common.js +4 -2
  5. package/dist/cli/common.js.map +1 -1
  6. package/dist/cli/heldout.js +59 -0
  7. package/dist/cli/heldout.js.map +1 -0
  8. package/dist/cli/human.js +5 -3
  9. package/dist/cli/human.js.map +1 -1
  10. package/dist/cli/internal.js +2 -2
  11. package/dist/cli/internal.js.map +1 -1
  12. package/dist/cli/memory.js +23 -12
  13. package/dist/cli/memory.js.map +1 -1
  14. package/dist/cli/setup.js +4 -2
  15. package/dist/cli/setup.js.map +1 -1
  16. package/dist/cli/work.js +4 -3
  17. package/dist/cli/work.js.map +1 -1
  18. package/dist/cli.js +1 -0
  19. package/dist/cli.js.map +1 -1
  20. package/dist/core/check.js +10 -2
  21. package/dist/core/check.js.map +1 -1
  22. package/dist/core/checks/review.js +6 -3
  23. package/dist/core/checks/review.js.map +1 -1
  24. package/dist/core/config.js.map +1 -1
  25. package/dist/core/consent.js +33 -0
  26. package/dist/core/consent.js.map +1 -1
  27. package/dist/core/heldout-run.js +25 -0
  28. package/dist/core/heldout-run.js.map +1 -0
  29. package/dist/core/heldout.js +167 -0
  30. package/dist/core/heldout.js.map +1 -0
  31. package/dist/core/intent.js +12 -5
  32. package/dist/core/intent.js.map +1 -1
  33. package/dist/core/knowledge-lint.js +4 -83
  34. package/dist/core/knowledge-lint.js.map +1 -1
  35. package/dist/core/knowledge.js +14 -4
  36. package/dist/core/knowledge.js.map +1 -1
  37. package/dist/core/ledger.js +19 -0
  38. package/dist/core/ledger.js.map +1 -1
  39. package/dist/core/scenarios.js +2 -0
  40. package/dist/core/scenarios.js.map +1 -1
  41. package/dist/core/status.js +79 -0
  42. package/dist/core/status.js.map +1 -0
  43. package/dist/install/plugin.js +1 -1
  44. package/dist/install/plugin.js.map +1 -1
  45. package/hooks/knowledge-auto.cjs +17 -16
  46. package/hooks/knowledge-journal.cjs +2 -1
  47. package/hooks/knowledge-lint.cjs +150 -0
  48. package/hooks/knowledge-projects.cjs +12 -1
  49. package/hooks/knowledge-upkeep.cjs +49 -0
  50. package/hooks/session-files.cjs +33 -1
  51. package/hooks/session-state.cjs +4 -2
  52. package/internal/agents/design-art-director.md +1 -1
  53. package/internal/agents/design-markup-reviewer.md +1 -1
  54. package/internal/guides/design.md +10 -0
  55. package/internal/guides/wiki.md +7 -2
  56. package/internal/skills/vibe-scope/SKILL.md +1 -1
  57. package/package.json +1 -1
  58. package/reviewers/design/1-markup-reviewer.md +1 -1
  59. package/reviewers/design/2-art-director.md +1 -1
  60. package/skills/vibe/SKILL.md +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "4.2.20",
3
+ "version": "4.2.22",
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": {
@@ -1,6 +1,6 @@
1
1
  You are a front-end lead seeing this source for the first time. Judge defects only — do not rewrite the source.
2
2
 
3
- The caller gives you the design brief as the editorial contract (who uses this, how often, the task, and any stated brand tokens or constraints), the evidence ledger (real data sources, real copy, confirmed brand values, and what is unconfirmed or placeholder), the full source under `## Source` (each file numbered line by line), and optionally `## Screenshot` naming a rendered image path. If the brief or key evidence is missing from these, do not pretend to review — output one line, `NEEDS-HUMAN`, and list only what is missing.
3
+ The caller gives you the design brief as the editorial contract (who uses this, how often, the task, and any stated brand tokens or constraints), the evidence ledger (real data sources, real copy, confirmed brand values, and what is unconfirmed or placeholder), the full source under `## Source` (each file numbered line by line), and optionally `## Screenshot` naming a rendered image path and `## Confirmed mockup` naming the mockup the person approved, which the art director compares against; you judge the markup. If the brief or key evidence is missing from these, do not pretend to review — output one line, `NEEDS-HUMAN`, and list only what is missing.
4
4
 
5
5
  What to check:
6
6
  - Semantic structure and landmarks: headings in one logical order, lists as `<ul>`/`<ol>`, buttons as `<button>`, links as `<a>` with a real `href`, regions marked with `<nav>`/`<main>`/`<header>`/`<footer>` rather than unlabelled `<div>`s
@@ -1,6 +1,6 @@
1
1
  You are an art director seeing this work for the first time. Judge only whether the design is fit to ship — do not rewrite it.
2
2
 
3
- The caller gives you the design brief as the editorial contract (who uses this, how often, the task, and any stated brand tokens or constraints), the evidence ledger (real data sources, real copy, confirmed brand values, and what is unconfirmed or placeholder), and the full source, already passed by the markup reviewer, under `## Source`. If `## Screenshot` names a file, open it with your file reader before judging and base your judgment on the rendered result; otherwise judge the source directly and say so is what you are doing. If the brief or key evidence is missing, do not pretend to review — output one line, `NEEDS-HUMAN`, and list only what is missing.
3
+ The caller gives you the design brief as the editorial contract (who uses this, how often, the task, and any stated brand tokens or constraints), the evidence ledger (real data sources, real copy, confirmed brand values, and what is unconfirmed or placeholder), and the full source, already passed by the markup reviewer, under `## Source`. If `## Screenshot` names a file, open it with your file reader before judging and base your judgment on the rendered result; otherwise judge the source directly and say so is what you are doing. If `## Confirmed mockup` names a file, open it too: the person approved that mockup before the work was built, so a visible departure from it (layout, hierarchy, content, states it shows) is a defect unless the brief allows it, and the mockup's own choices are not grounds for rejection. If the brief or key evidence is missing, do not pretend to review — output one line, `NEEDS-HUMAN`, and list only what is missing.
4
4
 
5
5
  What to check:
6
6
  - Hierarchy: what is seen first, and whether that is what the stated task in the brief needs seen first
@@ -24,7 +24,7 @@ For a tracked implementation, `vibe internal verification --json` previews reusa
24
24
  - Resolve consequential unknowns from accessible evidence before asking. A clear request needs no additional approval ceremony.
25
25
  - Work in the current checkout with one writer. Create a worktree only for a real concurrent-write conflict and name its owner and integration target. Read-only research and review need no branch.
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
- - 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. Reuse recorded decisions across pages.
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
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
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.