@pmelab/gtd 7.0.0 → 7.1.1
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 +9 -4
- package/dist/gtd.bundle.mjs +872 -220
- package/docs/cli.md +114 -49
- package/docs/configuration.md +69 -3
- package/docs/loop.md +13 -0
- package/docs/upgrading.md +44 -2
- package/package.json +1 -1
- package/schema.json +180 -0
package/README.md
CHANGED
|
@@ -76,8 +76,8 @@ over — a `workflow:` is the whole definition). See
|
|
|
76
76
|
|
|
77
77
|
gtd is a small **pattern machine**: named states, each awaiting one actor and
|
|
78
78
|
carrying one piece of content (a script, a prompt, a message, or a squash commit
|
|
79
|
-
template), with an ordered set of change-patterns routing to the next state.
|
|
80
|
-
|
|
79
|
+
template), with an ordered set of change-patterns routing to the next state. A
|
|
80
|
+
handful of commands drive it:
|
|
81
81
|
|
|
82
82
|
- **`gtd step <actor>`** — authenticate as `<actor>` and perform the one
|
|
83
83
|
transition the pending changes match.
|
|
@@ -91,6 +91,11 @@ Four commands drive it:
|
|
|
91
91
|
- **`gtd fix`** — start a brand new process that goes straight into repairing
|
|
92
92
|
the current failing tests, then runs the shared review/squash tail (a no-op if
|
|
93
93
|
the suite is already green).
|
|
94
|
+
- **`gtd abandon`** — end the process underway without completing it: rewind to
|
|
95
|
+
the commit it started from, keeping everything it produced as uncommitted
|
|
96
|
+
changes (nothing is discarded).
|
|
97
|
+
- **`gtd visualize`** — serve an interactive diagram of the active workflow on a
|
|
98
|
+
local web server (the main flow, its sub-machines, and per-state details).
|
|
94
99
|
|
|
95
100
|
`gtd version` (or `gtd --version`/`-v`) prints the installed version and exits;
|
|
96
101
|
`gtd help` (or `gtd --help`/`-h`) prints the command list. Both short-circuit
|
|
@@ -182,8 +187,8 @@ Both halves are enforced by `gtd validate` and the `gtd step` gate.
|
|
|
182
187
|
## Documentation
|
|
183
188
|
|
|
184
189
|
- [STATES.md](STATES.md) — the full pattern-machine specification: the model,
|
|
185
|
-
the pattern grammar, resolution, retry, the squash lifecycle,
|
|
186
|
-
workflow
|
|
190
|
+
the pattern grammar, resolution, retry, the squash lifecycle, reusable
|
|
191
|
+
sub-machines, and the bundled workflow template
|
|
187
192
|
- [CLI reference](docs/cli.md) — every command, exit codes, JSON schemas,
|
|
188
193
|
repository requirements
|
|
189
194
|
- [Driving the loop](docs/loop.md) — the reference loop driver, `gtd-loop`,
|