@pmelab/gtd 10.9.0 → 10.11.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 +66 -10
- package/dist/gtd.bundle.mjs +1964 -882
- package/package.json +3 -2
- package/schema.json +45 -0
package/README.md
CHANGED
|
@@ -278,27 +278,83 @@ that file and line, no go-to-definition required.
|
|
|
278
278
|
### The workflow it ships with
|
|
279
279
|
|
|
280
280
|
One built-in workflow drives all of that. From where you sit, it has four
|
|
281
|
-
moments — everything between them runs without you
|
|
281
|
+
moments — everything between them runs without you, with the judged exceptions
|
|
282
|
+
noted in steps 2, 3, and 4 below.
|
|
282
283
|
|
|
283
284
|
1. **You sketch.** Change anything, or write the idea into `.gtd/TODO.md`. Rough
|
|
284
285
|
is fine; it is treated as a sketch, not as work.
|
|
285
|
-
2. **You answer questions
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
Leave the file untouched and start the loop
|
|
289
|
-
unanswered questions and all.
|
|
286
|
+
2. **You answer questions — when it needs you to.** Planning works out what the
|
|
287
|
+
thing should do first, then how it should be built, and hands you a file with
|
|
288
|
+
its open questions in it at either point. Answer them in your editor, in the
|
|
289
|
+
file, and start the loop again. Leave the file untouched and start the loop
|
|
290
|
+
instead to accept the plan as-is, unanswered questions and all. Three more
|
|
291
|
+
points along this phase are judged rather than always asking you outright:
|
|
292
|
+
- Each open question, on what-it-should-do first and how-it-should-be-built
|
|
293
|
+
second: would a wrong assumption here cost a whole rebuild, or is a
|
|
294
|
+
confident default safe to infer and tick in for you? The first floor is
|
|
295
|
+
strict (a wrong guess about what you want is expensive); the second is
|
|
296
|
+
permissive (a wrong technical call is still caught later, in review) — the
|
|
297
|
+
same judged stop, tuned differently depending on which question it's
|
|
298
|
+
answering. Confident enough on both, with a specific answer picked from the
|
|
299
|
+
question's own options, skips it entirely; any doubt still stops and hands
|
|
300
|
+
you the file.
|
|
301
|
+
- Before the how-it-should-be-built pass starts: does this plan actually need
|
|
302
|
+
one? A confident no skips it — and the review it would have raised — going
|
|
303
|
+
straight from your answers to a single built package, with no technical
|
|
304
|
+
plan shown to you at all.
|
|
305
|
+
|
|
306
|
+
A driver built only to run this loop (not to answer judgments) still handles
|
|
307
|
+
every one of these correctly: it shows you the message and stops, same as any
|
|
308
|
+
other question.
|
|
309
|
+
|
|
290
310
|
3. **You wait.** The work is split into packages and built one at a time, each
|
|
291
|
-
one checked against your test suite and fixed until it passes
|
|
311
|
+
one checked against your test suite and fixed until it passes, then reviewed
|
|
312
|
+
against its own spec before moving on. Four points along that loop are judged
|
|
313
|
+
rather than always asking you outright — each stops and hands you a verdict
|
|
314
|
+
to make (`gtd judge answer`, or land with a clean tree to accept the
|
|
315
|
+
conservative default, which never skips work):
|
|
316
|
+
- Every red round after the first: was the failure identical, new, or
|
|
317
|
+
progress?
|
|
318
|
+
- Before spending a review turn on a package: does the code already satisfy
|
|
319
|
+
each of its requirements?
|
|
320
|
+
- After a review turn raises concerns: would each one actually violate the
|
|
321
|
+
spec if left unaddressed, or is it a nit?
|
|
322
|
+
- Before showing you the review document: is this round mechanical, touches
|
|
323
|
+
no public surface, and changes no behavior? Confident on all three skips
|
|
324
|
+
the agent's own review turn — step 4 still shows you a (machine-written)
|
|
325
|
+
summary of what changed.
|
|
326
|
+
|
|
327
|
+
A driver built only to run this loop (not to answer judgments) still handles
|
|
328
|
+
every one of these correctly: it shows you the message and stops, same as any
|
|
329
|
+
other question.
|
|
330
|
+
|
|
292
331
|
4. **You review.** You get a review document listing what changed and what to
|
|
293
|
-
look at
|
|
294
|
-
|
|
295
|
-
|
|
332
|
+
look at — plus, when step 2 answered any question for you, an Assumptions
|
|
333
|
+
section naming each one and what it inferred, so you read those decisions
|
|
334
|
+
while reviewing the diff they shaped, not buried in the commit trail. Tick
|
|
335
|
+
the boxes to approve, or write what is wrong. Approving ends the process;
|
|
336
|
+
feedback sends it back to step 2 for a fresh plan — it never patches over a
|
|
337
|
+
design you rejected. One more judged point sits on that feedback path: after
|
|
338
|
+
you leave a comment, is it actionable, or just approval? Confident it's
|
|
339
|
+
approval-only skips the replan and signs off directly — the same
|
|
340
|
+
`gtd judge answer` / conservative-default shape as step 3's own judged
|
|
341
|
+
points.
|
|
296
342
|
|
|
297
343
|
You never talk to it. Every exchange is a file in `.gtd/` that you edit in your
|
|
298
344
|
own editor, and every answer you give is a commit. Your test suite is the gate
|
|
299
345
|
throughout: a red baseline stops the process before it starts, and a red package
|
|
300
346
|
is fixed before the next one begins.
|
|
301
347
|
|
|
348
|
+
Prefer a phone or another device over your editor? `gtd ui` opens the file whose
|
|
349
|
+
turn it is as a small web app, over Tailscale — including a step that names no
|
|
350
|
+
format, or one nothing recognizes, which still opens as plain, editable markdown
|
|
351
|
+
structure instead of refusing to start. It also binds on an idle worktree —
|
|
352
|
+
nothing pending yet — opening `.gtd/TODO.md` free-form so you can sketch from
|
|
353
|
+
your phone; the sketch stays un-triaged on disk until you run `gtd` again, from
|
|
354
|
+
anywhere, to pick it up. See
|
|
355
|
+
[Configuration](https://github.com/pmelab/gtd/blob/main/docs/configuration.md)
|
|
356
|
+
for its `ui:` settings.
|
|
357
|
+
|
|
302
358
|
Two side doors skip step 1. `gtd --entry fix-precheck` repairs a red baseline as
|
|
303
359
|
its own reviewed commit instead of starting a process. And
|
|
304
360
|
|