@pmelab/gtd 47.0.0 → 48.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/.claude-plugin/plugin.json +1 -1
- package/README.md +15 -13
- package/dist/gtd.bundle.mjs +203 -867
- package/dist/testkit.mjs +89 -53
- package/package.json +1 -1
- package/src/cli/Cli.test.ts +0 -2
- package/src/cli/Cli.ts +0 -15
- package/src/cli/Program.test.ts +0 -1
- package/src/cli/Program.ts +0 -8
- package/src/cli/ToolCommands.ts +1 -2
- package/src/install/Install.ts +89 -35
- package/src/testkit/Layers.ts +0 -1
- package/src/wire/ContextLimit.ts +1 -1
package/README.md
CHANGED
|
@@ -302,17 +302,19 @@ this with your environment. See
|
|
|
302
302
|
[Driving the loop](https://github.com/pmelab/gtd/blob/main/docs/driver.md) for
|
|
303
303
|
the full protocol.
|
|
304
304
|
|
|
305
|
-
Or skip writing one:
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
to
|
|
309
|
-
|
|
305
|
+
Or skip writing one: the
|
|
306
|
+
[complete minimal driver](https://github.com/pmelab/gtd/blob/main/docs/driver.md#a-complete-minimal-driver)
|
|
307
|
+
is a paste to own outright. It drives `claude` until the process rests on you,
|
|
308
|
+
logs every turn to the file `gtd next --json=log` names, records each turn's
|
|
309
|
+
cost on its landing, answers judge gates through `gtd judge run`, and maps the
|
|
310
|
+
workflow's `smart`/`base` model hints to real model names through
|
|
311
|
+
`GTD_LOOP_MODEL_SMART`/`GTD_LOOP_MODEL_BASE`.
|
|
310
312
|
|
|
311
313
|
Both it and the Claude Code mod stop an agent turn that outgrows its context:
|
|
312
314
|
past 60% of the model's window the agent is asked to wrap up with a handoff
|
|
313
|
-
note, past 70% (or when the context is about to be compacted)
|
|
314
|
-
nothing lands. A step's `context` option, or the bundled
|
|
315
|
-
`contextLimit` option, moves the two limits — see
|
|
315
|
+
note, past 70% after a tool call (or when the context is about to be compacted)
|
|
316
|
+
the turn stops and nothing lands. A step's `context` option, or the bundled
|
|
317
|
+
workflows' `contextLimit` option, moves the two limits — see
|
|
316
318
|
[Context limits](https://github.com/pmelab/gtd/blob/main/docs/driver.md#context-limits).
|
|
317
319
|
In `feature`, a naive pass, refactor or build turn that wrapped up that way is a
|
|
318
320
|
snapshot: a fresh turn picks up from it with the handoff note and the criteria
|
|
@@ -478,10 +480,10 @@ noted in steps 3 and 4 below.
|
|
|
478
480
|
- After you review: is each of your notes an edit, a question, a nit or
|
|
479
481
|
praise?
|
|
480
482
|
|
|
481
|
-
gtd itself never calls a judge:
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
483
|
+
gtd itself never calls a judge: the Claude Code mod and the reference driver
|
|
484
|
+
answer these through `gtd judge run` (auto selection: jev when
|
|
485
|
+
`TYPESAFE_API_KEY` is set, else `llm` via `claude`, default model sonnet,
|
|
486
|
+
while the Claude Code mod's own judge subagent stays on `haiku` —
|
|
485
487
|
`--model <name>` overrides); if that fails it shows you the message and
|
|
486
488
|
stops. **The `llm` provider's `p` is self-reported by the model, not a
|
|
487
489
|
measured probability, so a confidently wrong verdict can clear the 0.7 floor
|
|
@@ -896,7 +898,7 @@ install for any of these but `./testkit`: gtd resolves a `gtd.config.ts`'s
|
|
|
896
898
|
The `gtd` bin's commands — `next`, `land`, `abandon`, `restore`, `validate`,
|
|
897
899
|
`check`, `uncheck`, `install`, `summary`, `base`, `door`, `doors`, `slices`,
|
|
898
900
|
`version`, `help`, `history list`, `history show`, `history metrics`,
|
|
899
|
-
`history judges`, `history fetch`, `strays`, and the tools `ui`, `lsp`,
|
|
901
|
+
`history judges`, `history fetch`, `strays`, and the tools `ui`, `lsp`,
|
|
900
902
|
`context-hook`, `judge` (`judge answer`, `judge run`) — are listed in the
|
|
901
903
|
[CLI reference](https://github.com/pmelab/gtd/blob/main/docs/cli.md).
|
|
902
904
|
`gtd slices` lists the spans a flow's `slice()` calls mark. It refuses (exit 1)
|