@vaubaan/harness 1.4.0 → 2.1.0

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 (41) hide show
  1. package/README.md +301 -167
  2. package/dist/cli/index.js +886 -1882
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/commands/handbook.cmd.md +4 -3
  5. package/dist/commands/test-plan.cmd.md +4 -4
  6. package/dist/index.d.ts +2 -2
  7. package/dist/index.js +277 -1064
  8. package/dist/index.js.map +1 -1
  9. package/dist/init.d.ts +8 -23
  10. package/dist/init.js +270 -1036
  11. package/dist/init.js.map +1 -1
  12. package/dist/linters/index.js +687 -31
  13. package/dist/linters/index.js.map +1 -1
  14. package/dist/parser/index.d.ts +1 -26
  15. package/dist/parser/index.js +1 -17
  16. package/dist/parser/index.js.map +1 -1
  17. package/dist/{render-Cu2XrkkY.d.ts → render-C-FWmUfX.d.ts} +8 -15
  18. package/dist/render.d.ts +1 -1
  19. package/dist/render.js +18 -280
  20. package/dist/render.js.map +1 -1
  21. package/dist/skills/decision-record-writer.skill.md +93 -131
  22. package/dist/skills/doc-audit.skill.md +10 -10
  23. package/dist/skills/drift-detector.skill.md +6 -7
  24. package/dist/skills/handbook-writer.skill.md +68 -159
  25. package/dist/skills/readme-writer.skill.md +3 -3
  26. package/dist/skills/spec-writer.skill.md +111 -71
  27. package/dist/skills/test-plan-writer.skill.md +47 -54
  28. package/dist/skills/workflow-writer.skill.md +40 -6
  29. package/dist/templates/code-quality.md.tmpl +2 -2
  30. package/dist/templates/coding-workflow.md.tmpl +10 -0
  31. package/dist/templates/decision.md.tmpl +20 -47
  32. package/dist/templates/e2e-tests.md.tmpl +16 -45
  33. package/dist/templates/handbook.md.tmpl +20 -38
  34. package/dist/templates/integration-tests.md.tmpl +16 -34
  35. package/package.json +1 -1
  36. package/dist/agents/coding.agent.md +0 -182
  37. package/dist/agents/merge.agent.md +0 -139
  38. package/dist/agents/planning.agent.md +0 -194
  39. package/dist/agents/review.agent.md +0 -176
  40. package/dist/commands/clean-code.cmd.md +0 -26
  41. package/dist/skills/clean-code-guardian.skill.md +0 -391
@@ -5,7 +5,7 @@ invokes_skill: handbook-writer
5
5
  args:
6
6
  - name: name
7
7
  type: string
8
- description: Documents the actual implementation of a feature under `docs/handbook/<name>.md`.
8
+ description: Writes `docs/handbook/<name>.md` — only what the code does not say (entry points, invariants, traps, settings outside the repo, procedures).
9
9
  ---
10
10
 
11
11
  # /handbook
@@ -17,5 +17,6 @@ If `name` is provided, the skill targets `docs/handbook/<name>.md`. Without
17
17
  an argument, it offers the existing handbooks or creates a new one
18
18
  after identifying the code area to document.
19
19
 
20
- The skill reads the code, proposes a draft (`tracks:` frontmatter included
21
- via `handbook.md.tmpl`), and lets the human validate before writing.
20
+ The skill reads the code, keeps only what an agent would not get from it
21
+ quickly, proposes a short draft (`tracks:` frontmatter included via
22
+ `handbook.md.tmpl`), and lets the human validate before writing.
@@ -7,7 +7,7 @@ args:
7
7
  type: enum
8
8
  values: [integration, e2e]
9
9
  default: integration
10
- description: Updates `docs/tests/integration-tests.md` or `e2e-tests.md` depending on `kind`.
10
+ description: Updates `docs/tests/integration-tests.md` or `e2e-tests.md` (scope, stack, conventions, known gaps) depending on `kind`.
11
11
  ---
12
12
 
13
13
  # /test-plan
@@ -16,7 +16,7 @@ When the human or the agent invokes `/test-plan [kind]`, load the skill
16
16
  `test-plan-writer` with the `kind` passed as argument (default `integration`).
17
17
 
18
18
  The skill targets `docs/tests/integration-tests.md` or
19
- `docs/tests/e2e-tests.md` depending on `kind`. It walks the existing test
20
- code to detect unlisted scenarios and proposes updates,
21
- relying on the `integration-tests.md.tmpl` or
19
+ `docs/tests/e2e-tests.md` depending on `kind`. It checks the documented stack and
20
+ conventions against the test code, lists the specs without tests as known
21
+ gaps (never the covered scenarios), and proposes updates, relying on the `integration-tests.md.tmpl` or
22
22
  `e2e-tests.md.tmpl` templates for creations.
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  export { InitArgs, InitResult, initCommand, planInit, writeFilesToTarget } from './init.js';
2
- import { d as RenderedFile } from './render-Cu2XrkkY.js';
2
+ import { d as RenderedFile } from './render-C-FWmUfX.js';
3
3
  import './parser/index.js';
4
4
  import 'zod';
5
5
 
6
- declare const VERSION = "1.4.0";
6
+ declare const VERSION = "2.1.0";
7
7
 
8
8
  interface UpdateArgs {
9
9
  targetDir: string;