@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.
- package/README.md +301 -167
- package/dist/cli/index.js +886 -1882
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/handbook.cmd.md +4 -3
- package/dist/commands/test-plan.cmd.md +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +277 -1064
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +8 -23
- package/dist/init.js +270 -1036
- package/dist/init.js.map +1 -1
- package/dist/linters/index.js +687 -31
- package/dist/linters/index.js.map +1 -1
- package/dist/parser/index.d.ts +1 -26
- package/dist/parser/index.js +1 -17
- package/dist/parser/index.js.map +1 -1
- package/dist/{render-Cu2XrkkY.d.ts → render-C-FWmUfX.d.ts} +8 -15
- package/dist/render.d.ts +1 -1
- package/dist/render.js +18 -280
- package/dist/render.js.map +1 -1
- package/dist/skills/decision-record-writer.skill.md +93 -131
- package/dist/skills/doc-audit.skill.md +10 -10
- package/dist/skills/drift-detector.skill.md +6 -7
- package/dist/skills/handbook-writer.skill.md +68 -159
- package/dist/skills/readme-writer.skill.md +3 -3
- package/dist/skills/spec-writer.skill.md +111 -71
- package/dist/skills/test-plan-writer.skill.md +47 -54
- package/dist/skills/workflow-writer.skill.md +40 -6
- package/dist/templates/code-quality.md.tmpl +2 -2
- package/dist/templates/coding-workflow.md.tmpl +10 -0
- package/dist/templates/decision.md.tmpl +20 -47
- package/dist/templates/e2e-tests.md.tmpl +16 -45
- package/dist/templates/handbook.md.tmpl +20 -38
- package/dist/templates/integration-tests.md.tmpl +16 -34
- package/package.json +1 -1
- package/dist/agents/coding.agent.md +0 -182
- package/dist/agents/merge.agent.md +0 -139
- package/dist/agents/planning.agent.md +0 -194
- package/dist/agents/review.agent.md +0 -176
- package/dist/commands/clean-code.cmd.md +0 -26
- 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:
|
|
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,
|
|
21
|
-
|
|
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
|
|
20
|
-
code
|
|
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-
|
|
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.
|
|
6
|
+
declare const VERSION = "2.1.0";
|
|
7
7
|
|
|
8
8
|
interface UpdateArgs {
|
|
9
9
|
targetDir: string;
|