@vaubaan/harness 2.1.0 → 2.3.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 +537 -67
- package/dist/cli/index.js +582 -83
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/doc-audit.cmd.md +1 -1
- package/dist/commands/intent.cmd.md +33 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +343 -63
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +1 -1
- package/dist/init.js +340 -60
- package/dist/init.js.map +1 -1
- package/dist/linters/index.js +536 -62
- package/dist/linters/index.js.map +1 -1
- package/dist/parser/index.d.ts +143 -1
- package/dist/parser/index.js +235 -4
- package/dist/parser/index.js.map +1 -1
- package/dist/{render-C-FWmUfX.d.ts → render-CTx7VNOK.d.ts} +3 -1
- package/dist/render.d.ts +1 -1
- package/dist/render.js +98 -14
- package/dist/render.js.map +1 -1
- package/dist/skills/doc-audit.skill.md +35 -4
- package/dist/skills/drift-detector.skill.md +36 -5
- package/dist/skills/handbook-writer.skill.md +3 -0
- package/dist/skills/intent-writer.skill.md +174 -0
- package/dist/templates/e2e-tests.md.tmpl +1 -1
- package/dist/templates/integration-tests.md.tmpl +1 -1
- package/dist/templates/intent.md.tmpl +46 -0
- package/package.json +3 -7
|
@@ -5,7 +5,7 @@ invokes_skill: doc-audit
|
|
|
5
5
|
args:
|
|
6
6
|
- name: scope
|
|
7
7
|
type: enum
|
|
8
|
-
values: [spec, decisions, handbook, tests, workflow, readme, all]
|
|
8
|
+
values: [spec, decisions, handbook, tests, workflow, readme, intents, all]
|
|
9
9
|
default: all
|
|
10
10
|
description: Audits the completeness and freshness of the project docs (selectable scope).
|
|
11
11
|
---
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: intent
|
|
3
|
+
trigger: /intent
|
|
4
|
+
invokes_skill: intent-writer
|
|
5
|
+
args:
|
|
6
|
+
- name: intent
|
|
7
|
+
type: string
|
|
8
|
+
required: false
|
|
9
|
+
description: Proposes an intent before any code (`/intent <verb + object>`), or maps and extends the intent tree under `docs/intents/`.
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /intent
|
|
13
|
+
|
|
14
|
+
When the human or the agent invokes `/intent [verb + object]`, load the
|
|
15
|
+
skill `intent-writer` with the optional `intent` argument.
|
|
16
|
+
|
|
17
|
+
**With an argument**, `/intent <verb + object>` names the visible change
|
|
18
|
+
of behavior about to be built. The skill places it as a `proposed`
|
|
19
|
+
terminal intent in the level-1 intent it belongs to (or creates the
|
|
20
|
+
file), with 2 to 5 observable acceptance criteria and its `requires:` /
|
|
21
|
+
`creates:` taken from the spec vocabulary. It writes no code and no
|
|
22
|
+
`anchors:`: the pull request that delivers the intent adds them and
|
|
23
|
+
passes it `implemented`. It refuses an entity that no linked spec
|
|
24
|
+
defines and redirects to `/spec` first.
|
|
25
|
+
|
|
26
|
+
**Without an argument**, the skill maps or extends the tree. It reads
|
|
27
|
+
the generated index `docs/intents/README.md`, lists the level-1 intents
|
|
28
|
+
and asks which one to extend or whether to create one. Greenfield: three
|
|
29
|
+
questions, one at a time (actor, intent statement, out of scope).
|
|
30
|
+
Mature: it reads the code's entry points and proposes anchored terminal
|
|
31
|
+
intents, one sub-domain at a time.
|
|
32
|
+
|
|
33
|
+
The skill instantiates the `intent.md.tmpl` template 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-CTx7VNOK.js';
|
|
3
3
|
import './parser/index.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
|
-
declare const VERSION = "2.
|
|
6
|
+
declare const VERSION = "2.3.0";
|
|
7
7
|
|
|
8
8
|
interface UpdateArgs {
|
|
9
9
|
targetDir: string;
|