@pmelab/gtd 8.2.0 → 8.2.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 +22 -4
- package/dist/gtd.bundle.mjs +27 -827
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -115,10 +115,12 @@ steering-file entries are chosen by which file you create:
|
|
|
115
115
|
per-package **agentic review** that verifies the package against its spec.
|
|
116
116
|
|
|
117
117
|
Both flows converge on the same tail: an agent hands you a `.gtd/REVIEW.md`
|
|
118
|
-
checkbox review of the diff —
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
checkbox review of the diff — the prompt never inlines the diff itself; it names
|
|
119
|
+
the commit the changes are based at and the agent runs `git diff` to read the
|
|
120
|
+
range before writing the review. Tick a box as you review each hunk (ticking
|
|
121
|
+
just records "I read this"), and leave a **comment** to request changes: a note
|
|
122
|
+
on a line, an inline `// TODO`-style comment in the code, or a direct code edit.
|
|
123
|
+
Any comment sends a build + re-review round — an agent first turns your comments
|
|
122
124
|
into an explicit instruction list, then a build turn implements it (a re-review
|
|
123
125
|
then covers only the follow-through, and a hand-edit is treated as your own fix
|
|
124
126
|
the agent completes without reverting your lines; a comment can't be silently
|
|
@@ -470,6 +472,22 @@ workflow:
|
|
|
470
472
|
mode: <modeName> # optional, requires "file" — a built-in (qa/review/prose) or a `modes:` entry
|
|
471
473
|
```
|
|
472
474
|
|
|
475
|
+
Besides `it.vars` (below), a `script`/`prompt`/`message`/`commit` template sees:
|
|
476
|
+
|
|
477
|
+
- **`it.startCommit`** — the process's diff base (the commit the current cycle
|
|
478
|
+
started from, or a `gtd review <commitish>` entry's resolved base).
|
|
479
|
+
- **`it.reviewBase`** — the previous review round's boundary, falling back to
|
|
480
|
+
`it.startCommit` on a first review.
|
|
481
|
+
- **`it.retainedBase`** — the process's trace/retry boundary, what a squash
|
|
482
|
+
actually keeps (never moved by a `gtd review` entry).
|
|
483
|
+
- **`it.currentCommit`** / **`it.previousCommit`** — HEAD's hash and its parent,
|
|
484
|
+
at render time.
|
|
485
|
+
|
|
486
|
+
A template never sees rendered diff CONTENT — no field carries a diff. It names
|
|
487
|
+
a base and leaves the agent to run `git diff <base>` itself; this keeps every
|
|
488
|
+
render cheap (no diff computed on `gtd next`/`gtd status`/`gtd lsp`) and the
|
|
489
|
+
prompt small and cacheable.
|
|
490
|
+
|
|
473
491
|
Authoring or editing a workflow with a coding agent? `skills/authoring/SKILL.md`
|
|
474
492
|
is the agent-facing contract for producing a valid `workflow:` — the state
|
|
475
493
|
model, pattern grammar, load-time rules, and how to verify a change compiles.
|