@pmelab/gtd 20.3.0 → 21.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": "20.3.0",
3
+ "version": "21.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
@@ -56,7 +56,9 @@ enforces it at the OS level. See
56
56
 
57
57
  ## Quick start
58
58
 
59
- Pipe the output of `gtd install` into your coding agent and answer its
59
+ Run `gtd install` at your repository's root. It writes a `gtd.config.ts` that
60
+ runs gtd's shipped workflows — commit it; gtd refuses to run without one — and
61
+ prints a briefing. Pipe that briefing into your coding agent and answer its
60
62
  questions. It should build you a script that will autonomously run the process
61
63
  for you. Ask your agent if you have any questions.
62
64
 
@@ -79,7 +81,9 @@ for you. Ask your agent if you have any questions.
79
81
  workflow doesn't care who executes it.
80
82
 
81
83
  See [gtd --help](https://github.com/pmelab/gtd/blob/main/docs/cli.md) for the
82
- full command/flag reference, and
84
+ full command/flag reference,
85
+ [Compatibility](https://github.com/pmelab/gtd/blob/main/COMPATIBILITY.md) for
86
+ which surfaces you can rely on across releases, and
83
87
  [Configuration](https://github.com/pmelab/gtd/blob/main/docs/configuration.md)
84
88
  for how to inspect or replace the workflow itself.
85
89
 
@@ -90,9 +94,9 @@ Two commands make up the whole cycle. **`gtd next` says what to do now.
90
94
  that.
91
95
 
92
96
  The fastest way to understand it is to drive a few beats by hand. Any git
93
- repository with at least one commit will do — the first two beats need no setup
94
- at all, and `gtd init` seeds the one setting that matters later (your test
95
- command).
97
+ repository with at least one commit will do once `gtd install` has written its
98
+ `gtd.config.ts` and you have committed it — the first two beats need nothing
99
+ else. Later beats run your test command, set under `env:` in `.gtdrc`.
96
100
 
97
101
  ### Beat 1 — `gtd next` says whose turn it is
98
102
 
@@ -296,6 +300,12 @@ this with your environment. See
296
300
  [Driving the loop](https://github.com/pmelab/gtd/blob/main/docs/driver.md) for
297
301
  the full protocol.
298
302
 
303
+ Or skip writing one: **`gtd loop`** is that loop, shipped with gtd. It drives
304
+ `claude` (or `pi`) until the process rests on you, logs every turn to the file
305
+ `gtd next --json=log` names, and maps the workflow's `smart`/`base` model hints
306
+ to real model names through per-machine settings — see
307
+ [`gtd loop`](https://github.com/pmelab/gtd/blob/main/docs/driver.md#the-bundled-driver-gtd-loop).
308
+
299
309
  ### Or drive it from inside Claude Code
300
310
 
301
311
  The gtd mod runs the same loop inside an interactive Claude Code session
@@ -497,9 +507,10 @@ starts a pure review of everything from `<commitish>` to HEAD — straight to st
497
507
  4, no planning and no building. `gtd doors` lists every door; a `gtd.config.ts`
498
508
  can add its own. `gtd --workflow <name>` starts any workflow by name.
499
509
 
500
- The workflow itself is a plain async TypeScript function: a `gtd.config.ts` at
501
- the repository root replaces it, and the pieces the bundled one is built from
502
- are exported for yours to reuse. See
510
+ The workflow itself is a plain async TypeScript function, and the
511
+ `gtd.config.ts` at the repository root names it: the one `gtd install` writes
512
+ re-exports the shipped workflows from `@pmelab/gtd/workflows`, and the pieces
513
+ they are built from are exported for yours to reuse. See
503
514
  [Configuration](https://github.com/pmelab/gtd/blob/main/docs/configuration.md) —
504
515
  and remember gtd evaluates that file on every command. A shared workflow package
505
516
  bundling its own `@pmelab/gtd` is checked against the running gtd and refused,