@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtd",
3
- "version": "47.0.0",
3
+ "version": "48.0.0",
4
4
  "description": "Drive the gtd loop inside Claude Code: agent turns run as subagents, gtd decides every beat",
5
5
  "author": {
6
6
  "name": "Philipp Melab"
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: **`gtd loop`** is that loop, shipped with gtd. It drives
306
- `claude` (or `pi`) until the process rests on you, logs every turn to the file
307
- `gtd next --json=log` names, and maps the workflow's `smart`/`base` model hints
308
- to real model names through per-machine settings — see
309
- [`gtd loop`](https://github.com/pmelab/gtd/blob/main/docs/driver.md#the-bundled-driver-gtd-loop).
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) the turn stops and
314
- nothing lands. A step's `context` option, or the bundled workflows'
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: `gtd loop`, the Claude Code mod and the
482
- reference driver answer these through `gtd judge run` (auto selection: jev
483
- when `TYPESAFE_API_KEY` is set, else `llm` via `claude`, default model
484
- sonnet, while the Claude Code mod's own judge subagent stays on `haiku` —
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`, `loop`,
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)