@pmelab/gtd 5.1.0 → 6.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 CHANGED
@@ -48,8 +48,16 @@ Or run without installing:
48
48
  npx @pmelab/gtd
49
49
  ```
50
50
 
51
- No config file, no setup subcommand — `gtd` auto-initializes a `.gtdrc.json`
52
- schema stub on first run (see [Configuration](docs/configuration.md#auto-init)).
51
+ Then scaffold a workflow for the repo — run once:
52
+
53
+ ```bash
54
+ gtd init simple # or: gtd init advanced
55
+ ```
56
+
57
+ This writes a `.gtdrc.json` with the chosen workflow inline (review and commit
58
+ it). gtd ships **no** default workflow: a state command run before `gtd init`
59
+ fails, pointing you back here. See
60
+ [Configuration](docs/configuration.md#gtd-init) for the two templates.
53
61
 
54
62
  ## How it works
55
63
 
@@ -76,22 +84,22 @@ never executes anything — the driver owns running scripts. See
76
84
  [STATES.md](STATES.md) for the model and [Driving the loop](docs/loop.md) for
77
85
  the full protocol.
78
86
 
79
- Along the way, the bundled default workflow develops your sketch into an
80
- implementation plan — asking any open question it can't settle itself via a
81
- deterministic `.gtd/TODO.md` format, validated before it ever reaches you —
82
- builds it, runs your tests (looping on failures), and hands you a
87
+ Along the way, the `simple` workflow (`gtd init simple`) develops your sketch
88
+ into an implementation plan — asking any open question it can't settle itself
89
+ via a deterministic `.gtd/TODO.md` format, validated before it ever reaches you
90
+ — builds it, runs your tests (looping on failures), and hands you a
83
91
  `.gtd/REVIEW.md` checkbox review of the cycle's diff: tick a box to approve that
84
92
  item, or edit/untick for feedback. The same review flow also has a direct entry
85
93
  point — `gtd review <commitish>` starts a brand new process reviewing
86
94
  `<commitish>..HEAD` with no cycle of its own, e.g. a colleague's PR branch.
87
95
  Approving rests the cycle back at idle, with every turn commit still sitting in
88
96
  history for you to squash however you like (or not at all; gtd makes no
89
- assumption) — see [STATES.md](STATES.md#10-the-bundled-default-workflow) for the
90
- full shape. A heavier machine — two-phase Q&A planning, an architecture phase,
91
- task decomposition, a per-task build loop, and a squash finale — is preserved as
92
- a copy-paste `.gtdrc` example at
93
- [docs/examples/advanced-workflow.md](docs/examples/advanced-workflow.md). The
94
- workflow itself is just `.gtdrc` config — swap it for your own (see
97
+ assumption) — see [STATES.md](STATES.md#10-the-bundled-workflow-templates) for
98
+ the full shape. The `advanced` template (`gtd init advanced`) is a heavier
99
+ machine — two-phase Q&A planning, an architecture phase, task decomposition, a
100
+ per-task build loop, and a squash finale — walked through at
101
+ [docs/examples/advanced-workflow.md](docs/examples/advanced-workflow.md). Either
102
+ way the workflow is just `.gtdrc` config — edit it or write your own (see
95
103
  [Configuration](docs/configuration.md)).
96
104
 
97
105
  `gtd-loop`, installed alongside `gtd`, is a ready-to-run driver for the whole
@@ -119,13 +127,13 @@ Both halves are enforced by `gtd validate` and the `gtd step` gate.
119
127
 
120
128
  - [STATES.md](STATES.md) — the full pattern-machine specification: the model,
121
129
  the pattern grammar, resolution, retry, the squash lifecycle, and the bundled
122
- default workflow
130
+ workflow templates
123
131
  - [CLI reference](docs/cli.md) — every command, exit codes, JSON schemas,
124
132
  repository requirements
125
133
  - [Driving the loop](docs/loop.md) — the reference loop driver, `gtd-loop`,
126
134
  custom agents
127
- - [Configuration](docs/configuration.md) — `.gtdrc` `workflow:` schema, lookup,
128
- auto-init
135
+ - [Configuration](docs/configuration.md) — `gtd init`, the `.gtdrc` `workflow:`
136
+ schema, lookup
129
137
  - [Upgrading](docs/upgrading.md) — breaking changes and migration
130
138
  - [Development](docs/development.md) — building, testing, releasing
131
139