@pmelab/gtd 23.1.0 → 24.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.
Files changed (50) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README.md +13 -6
  3. package/dist/gtd.bundle.mjs +795 -1051
  4. package/dist/workflows.mjs +1952 -1725
  5. package/package.json +2 -1
  6. package/skills/authoring/SKILL.md +5 -4
  7. package/src/flows/factory.ts +5 -1
  8. package/src/flows/runtime.ts +3 -0
  9. package/src/workflow-kit/health.test.ts +30 -0
  10. package/src/workflow-kit/health.ts +86 -0
  11. package/src/workflow-kit/index.ts +7 -0
  12. package/src/workflow-kit/quality.test.ts +17 -0
  13. package/src/workflow-kit/quality.ts +45 -0
  14. package/src/workflow-kit/review.ts +324 -0
  15. package/src/{workflows → workflow-kit}/scenarios.ts +21 -28
  16. package/src/workflows/feature/feature.test.ts +38 -0
  17. package/src/workflows/{bundled.ts → feature/feature.ts} +11 -63
  18. package/src/workflows/{packages.test.ts → feature/packages.test.ts} +2 -2
  19. package/src/workflows/{packages.ts → feature/packages.ts} +3 -3
  20. package/src/workflows/{planning.ts → feature/planning.ts} +2 -3
  21. package/src/workflows/{review.test.ts → feature/review.test.ts} +9 -44
  22. package/src/workflows/feature/review.ts +106 -0
  23. package/src/workflows/feature/steps.test.ts +82 -0
  24. package/src/workflows/feature/steps.ts +92 -0
  25. package/src/workflows/fix/fix.test.ts +94 -0
  26. package/src/workflows/fix/fix.ts +52 -0
  27. package/src/workflows/index.ts +44 -2
  28. package/src/workflows/review/review.test.ts +43 -0
  29. package/src/workflows/review/review.ts +31 -0
  30. package/src/workflows/{access.test.ts → shared/access.test.ts} +1 -1
  31. package/src/workflows/{access.ts → shared/access.ts} +3 -5
  32. package/src/workflows/{health.test.ts → shared/health.test.ts} +1 -1
  33. package/src/workflows/{health.ts → shared/health.ts} +38 -55
  34. package/src/workflows/{options.test.ts → shared/options.test.ts} +2 -2
  35. package/src/workflows/{options.ts → shared/options.ts} +14 -2
  36. package/src/workflows/{scenarios.test.ts → shared/scenarios.test.ts} +1 -1
  37. package/src/workflows/shared/scenarios.ts +35 -0
  38. package/src/workflows/{skills.test.ts → shared/skills.test.ts} +3 -1
  39. package/src/workflows/{skills.ts → shared/skills.ts} +7 -6
  40. package/src/workflows/{steps.test.ts → shared/steps.test.ts} +1 -66
  41. package/src/workflows/{steps.ts → shared/steps.ts} +8 -98
  42. package/src/workflows/shared/tail.test.ts +205 -0
  43. package/src/workflows/shared/tail.ts +135 -0
  44. package/src/workflows/{text.fixture.ts → shared/text.fixture.ts} +2 -2
  45. package/src/workflows/{text.ts → shared/text.ts} +48 -7
  46. package/src/workflows/{threads.test.ts → shared/threads.test.ts} +1 -1
  47. package/src/workflows/review.ts +0 -362
  48. /package/src/workflows/{prose.ts → shared/prose.ts} +0 -0
  49. /package/src/workflows/{text.test.ts → shared/text.test.ts} +0 -0
  50. /package/src/workflows/{vars.ts → shared/vars.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtd",
3
- "version": "23.1.0",
3
+ "version": "24.0.0",
4
4
  "description": "Drive the gtd loop inside Claude Code: agent turns run as subagents, gtd decides every beat",
5
5
  "author": {
6
6
  "name": "Philipp Melab"
package/README.md CHANGED
@@ -501,17 +501,24 @@ the agent may overturn the answer. See
501
501
  [Configuration](https://github.com/pmelab/gtd/blob/main/docs/configuration.md)
502
502
  for its `ui:` settings.
503
503
 
504
- The bundled workflows are named `feature` (the ordinary start above), `fix` and
505
- `review`. Two doors start the other two and skip step 1. `gtd door fix` repairs
506
- a red baseline as its own reviewed commit instead of starting a process. And
504
+ The bundled workflows are named `feature` (the ordinary start above), `review`
505
+ and `fix`. They are independent: `review` and `fix` never plan, and they meet
506
+ only in `.gtd/REVIEW.md`. Each brings its own door. This command:
507
507
 
508
508
  ```bash
509
509
  gtd door review <commitish>
510
510
  ```
511
511
 
512
- starts a pure review of everything from `<commitish>` to HEAD — straight to step
513
- 4, no planning and no building. `gtd doors` lists every door; a `gtd.config.ts`
514
- can add its own. `gtd --workflow <name>` starts any workflow by name.
512
+ starts a pure review of everything from `<commitish>` to HEAD. It goes straight
513
+ to step 4, with no planning and no building. Sign off and it closes. Leave notes
514
+ and the process ends with `.gtd/REVIEW.md` (and the reviewer's original,
515
+ `.gtd/REVIEW.orig.md`) left for `gtd door fix`. Until `fix` consumes them,
516
+ starting `feature` or `review` is refused; remove both files to abandon the
517
+ hand-off. `gtd door fix` fixes those notes and every `Risk:` in one turn, then
518
+ asks for your review of the fix. With no review waiting, it repairs a red
519
+ baseline as its own reviewed commit instead. `gtd doors` lists the doors of the
520
+ workflows your `gtd.config.ts` exports, plus any it adds.
521
+ `gtd --workflow <name>` starts any workflow by name.
515
522
 
516
523
  The workflow itself is a plain async TypeScript function, and the
517
524
  `gtd.config.ts` at the repository root names it: the one `gtd install` writes