@pmelab/gtd 2.5.0 → 2.7.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 +24 -13
- package/dist/gtd.bundle.mjs +11943 -637
- package/package.json +4 -2
- package/schema.json +3 -0
package/README.md
CHANGED
|
@@ -39,6 +39,11 @@ or `REVIEW.md` at the repository root is the project's own file — gtd never
|
|
|
39
39
|
reads, consumes, or deletes it. (Corollary: don't gitignore `.gtd/` — the
|
|
40
40
|
workflow commits its state through it.)
|
|
41
41
|
|
|
42
|
+
A squash commit's message can carry a `## Decisions` section — one entry per
|
|
43
|
+
architecture/product question resolved that cycle. Grilling/architecting read
|
|
44
|
+
every past squash commit's `## Decisions` section back as "Prior decisions"
|
|
45
|
+
context, oldest to newest. See `decisionLog` under Configuration.
|
|
46
|
+
|
|
42
47
|
## Quick start: the two-beat loop
|
|
43
48
|
|
|
44
49
|
gtd splits what used to be one mutating command into three:
|
|
@@ -750,19 +755,20 @@ With `squash: true` (the default), `gtd: done` (or, once learning has run,
|
|
|
750
755
|
to `gtd: squash template`, writing and committing a `.gtd/SQUASH_MSG.md`
|
|
751
756
|
template. `gtd next` then emits the squashing prompt: the agent overwrites
|
|
752
757
|
`.gtd/SQUASH_MSG.md` with a real conventional-commits message (drawing on
|
|
753
|
-
grilling- and architecting-round decisions from history
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
758
|
+
grilling- and architecting-round decisions from history, and, when this cycle
|
|
759
|
+
resolved any open questions, a `## Decisions` section recording them) and
|
|
760
|
+
finishes its turn. `gtd step-agent` then performs the squash itself:
|
|
761
|
+
`git reset --soft <base>` + `git commit`, collapsing every intermediate `gtd: *`
|
|
762
|
+
commit of the cycle into one — including any review-feedback detours, and the
|
|
763
|
+
learning phase's own commits if learning ran: the squash base is the cycle's
|
|
764
|
+
ORIGINAL start (the first grilling or, via the escape hatch, architecting turn
|
|
765
|
+
since the previous `gtd: done` boundary, or the `gtd: reviewing <hash>` anchor
|
|
766
|
+
for an ad-hoc review cycle), not the most recent re-grilling round — the
|
|
767
|
+
collapse folds the whole cycle into one, using the overwritten message's content
|
|
768
|
+
verbatim (turn position, not message content, triggers the squash). Doc edits
|
|
769
|
+
made during `learning-apply` survive in the squashed tree, not as their own
|
|
770
|
+
commit. With `squash: false`, `gtd: done` (or `gtd: learning applied`) is the
|
|
771
|
+
resting boundary and no template is ever written.
|
|
766
772
|
|
|
767
773
|
### Health check
|
|
768
774
|
|
|
@@ -849,6 +855,10 @@ built-in defaults apply. Supported filenames (searched in this order):
|
|
|
849
855
|
`.gtd/LEARNINGS.md`, have a human review them, then integrate them into the
|
|
850
856
|
project's own docs before the squash decision runs. Set `false` to skip the
|
|
851
857
|
phase entirely — independent of `squash`.
|
|
858
|
+
- **`decisionLog`** (boolean, default `true`) — squashing records this cycle's
|
|
859
|
+
resolved open questions as a `## Decisions` section in the squash commit
|
|
860
|
+
message; grilling/architecting inline every past squash commit's section,
|
|
861
|
+
oldest to newest, as prior-decision context. Set `false` to skip both.
|
|
852
862
|
- **`models`** — model selection for the subagent-spawning states:
|
|
853
863
|
- `planning` — high-reasoning tier (default `claude-opus-4-8`), used by
|
|
854
864
|
`decompose` (the `grilled`/`planning` states), `grilling`, `architecting`,
|
|
@@ -913,6 +923,7 @@ reviewThreshold: 3
|
|
|
913
923
|
agenticReview: true
|
|
914
924
|
squash: true
|
|
915
925
|
learning: true
|
|
926
|
+
decisionLog: true
|
|
916
927
|
models:
|
|
917
928
|
planning: claude-opus-4-8
|
|
918
929
|
execution: claude-sonnet-4-8
|