@pmelab/gtd 15.10.0 → 17.0.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 +12 -4
- package/dist/gtd.bundle.mjs +599 -165
- package/package.json +1 -1
- package/schema.json +43 -1
- package/src/flows/runtime.ts +40 -13
- package/src/workflows/health.ts +3 -2
- package/src/workflows/review.ts +6 -2
- package/src/workflows/skills.test.ts +93 -0
- package/src/workflows/skills.ts +37 -0
- package/src/workflows/steps.test.ts +75 -68
- package/src/workflows/steps.ts +50 -64
- package/src/workflows/text.fixture.ts +39 -1
- package/src/workflows/text.test.ts +22 -28
- package/src/workflows/text.ts +21 -25
- package/src/workflows/unified.ts +2 -1
- package/src/workflows/vars.ts +18 -14
package/README.md
CHANGED
|
@@ -21,12 +21,17 @@ npm install -g @pmelab/gtd
|
|
|
21
21
|
|
|
22
22
|
Or run without installing (prefix every `gtd` below with `npx`) — see
|
|
23
23
|
[Configuration](https://github.com/pmelab/gtd/blob/main/docs/configuration.md)
|
|
24
|
-
for the settings most projects tune.
|
|
24
|
+
for the settings most projects tune. A process setting's value is committed to
|
|
25
|
+
Git history; keep secrets in an environment setting (see
|
|
26
|
+
[Settings](https://github.com/pmelab/gtd/blob/main/docs/configuration.md#settings)).
|
|
25
27
|
|
|
26
28
|
Also install all three skill sources the bundled workflow names in its prompts —
|
|
27
29
|
none is optional. See
|
|
28
30
|
[Setup](https://github.com/pmelab/gtd/blob/main/docs/setup.md) for the list, the
|
|
29
|
-
install flags, and the never-install-the-plugin caveat.
|
|
31
|
+
install flags, and the never-install-the-plugin caveat. Each bundled agent step
|
|
32
|
+
has its own addressable `.gtdrc` `skills:` entry — see
|
|
33
|
+
[Configuration](https://github.com/pmelab/gtd/blob/main/docs/configuration.md#the-skills-key)
|
|
34
|
+
to repoint one to a set your own harness has instead.
|
|
30
35
|
|
|
31
36
|
> **A repository's `gtd.config.ts` is code, and gtd runs it.** A custom workflow
|
|
32
37
|
> is a TypeScript module, and every gtd command that looks at workflow state —
|
|
@@ -356,8 +361,11 @@ noted in steps 2, 3, and 4 below.
|
|
|
356
361
|
users only; model `haiku`, `--model <name>` overrides) and reuses its login.
|
|
357
362
|
With no `--provider`, `gtd judge run` picks jev when `TYPESAFE_API_KEY` is
|
|
358
363
|
set and non-empty and no `--model` is given, else llm — never falling back
|
|
359
|
-
across them;
|
|
360
|
-
|
|
364
|
+
across them; a `.gtdrc` `judge: { provider, model }` key and the
|
|
365
|
+
`GTD_JUDGE_PROVIDER` / `GTD_JUDGE_MODEL` environment variables choose the
|
|
366
|
+
judge without editing the driver (flags win over both); `--model` with
|
|
367
|
+
`--provider fixed`/`jev` is refused. jev and llm exit 1 with nothing on
|
|
368
|
+
stdout when they cannot answer every question):
|
|
361
369
|
- Every red round after the first: was the failure identical, new, or
|
|
362
370
|
progress?
|
|
363
371
|
- Before spending a review turn on a package: does the code already satisfy
|