@lemoncode/lemony 0.4.1 → 0.5.1
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/catalog/VERSION +1 -1
- package/catalog/agents/implementer.md +14 -3
- package/catalog/agents/orchestrator.md +56 -8
- package/catalog/agents/reviewer.md +8 -2
- package/catalog/commands/pause.md +8 -5
- package/catalog/commands/sync-design-tokens.md +3 -1
- package/catalog/harness.config.schema.json +4 -0
- package/catalog/hooks/init.sh +59 -9
- package/catalog/hooks/lib/merge-pr.sh +3 -2
- package/catalog/hooks/lib/playbook-scan.sh +4 -2
- package/catalog/hooks/session-close.sh +15 -7
- package/catalog/schemas/tier2-events-history.md +14 -0
- package/catalog/schemas/tier2-events.md +11 -9
- package/catalog/skills/a11y-audit/SKILL.md +3 -1
- package/catalog/skills/design-tool-sync/SKILL.md +40 -7
- package/catalog/skills/prd-to-spec/SKILL.md +5 -0
- package/catalog/skills/resolve-discovery/SKILL.md +6 -6
- package/catalog/skills/tdd/SKILL.md +3 -0
- package/catalog/templates/claude-code/harness.config.yml.tpl +13 -4
- package/dist/cli.mjs +1160 -356
- package/package.json +1 -1
|
@@ -80,6 +80,9 @@ Rules:
|
|
|
80
80
|
- Only enough code to pass current test
|
|
81
81
|
- Don't anticipate future tests
|
|
82
82
|
- Keep tests focused on observable behavior
|
|
83
|
+
- When the behaviors belong to a `tasks.md` task, its checkbox is the task's
|
|
84
|
+
done-marker: flip `- [ ]` → `- [x]` when the task's **last** behavior is GREEN
|
|
85
|
+
(the suite passing), and commit (or stage) it with the task's code
|
|
83
86
|
|
|
84
87
|
### 4. Refactor
|
|
85
88
|
|
|
@@ -83,10 +83,19 @@ rollback:
|
|
|
83
83
|
# - test
|
|
84
84
|
# - build
|
|
85
85
|
|
|
86
|
-
# Design tokens (`design-tokens validate`
|
|
87
|
-
# set of UI/style
|
|
88
|
-
# Add extra
|
|
89
|
-
#
|
|
86
|
+
# Design tokens (`design-tokens validate` / `design-tokens contrast`).
|
|
87
|
+
# `scan_extensions`: the anti-hardcode scan inspects a built-in set of UI/style
|
|
88
|
+
# extensions (.css/.scss/.ts/.tsx/.vue/.svelte/.astro/.js/.mdx/.html/…). Add extra
|
|
89
|
+
# suffixes here for a stack the built-ins don't cover — additive, never a replacement.
|
|
90
|
+
# Default none.
|
|
91
|
+
# `verify`: a command line `design-tokens contrast` runs alongside its own WCAG checks
|
|
92
|
+
# (through `sh -c`, in the repo root) — your design system's own verifier for the rules
|
|
93
|
+
# only it can know (palette under colour-vision-deficiency simulation, property grammar,
|
|
94
|
+
# CSS scans). Its output is forwarded; a non-zero exit fails the gate. It runs on every
|
|
95
|
+
# path: with no docs/design-tokens.json only the WCAG pair check is skipped, and a file
|
|
96
|
+
# that cannot be read or parsed is reported alongside it — never the verifier you
|
|
97
|
+
# declared. Default none.
|
|
90
98
|
# design_tokens:
|
|
91
99
|
# scan_extensions:
|
|
92
100
|
# - .foo
|
|
101
|
+
# verify: pnpm exec my-design-system verify
|