@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.
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +13 -6
- package/dist/gtd.bundle.mjs +795 -1051
- package/dist/workflows.mjs +1952 -1725
- package/package.json +2 -1
- package/skills/authoring/SKILL.md +5 -4
- package/src/flows/factory.ts +5 -1
- package/src/flows/runtime.ts +3 -0
- package/src/workflow-kit/health.test.ts +30 -0
- package/src/workflow-kit/health.ts +86 -0
- package/src/workflow-kit/index.ts +7 -0
- package/src/workflow-kit/quality.test.ts +17 -0
- package/src/workflow-kit/quality.ts +45 -0
- package/src/workflow-kit/review.ts +324 -0
- package/src/{workflows → workflow-kit}/scenarios.ts +21 -28
- package/src/workflows/feature/feature.test.ts +38 -0
- package/src/workflows/{bundled.ts → feature/feature.ts} +11 -63
- package/src/workflows/{packages.test.ts → feature/packages.test.ts} +2 -2
- package/src/workflows/{packages.ts → feature/packages.ts} +3 -3
- package/src/workflows/{planning.ts → feature/planning.ts} +2 -3
- package/src/workflows/{review.test.ts → feature/review.test.ts} +9 -44
- package/src/workflows/feature/review.ts +106 -0
- package/src/workflows/feature/steps.test.ts +82 -0
- package/src/workflows/feature/steps.ts +92 -0
- package/src/workflows/fix/fix.test.ts +94 -0
- package/src/workflows/fix/fix.ts +52 -0
- package/src/workflows/index.ts +44 -2
- package/src/workflows/review/review.test.ts +43 -0
- package/src/workflows/review/review.ts +31 -0
- package/src/workflows/{access.test.ts → shared/access.test.ts} +1 -1
- package/src/workflows/{access.ts → shared/access.ts} +3 -5
- package/src/workflows/{health.test.ts → shared/health.test.ts} +1 -1
- package/src/workflows/{health.ts → shared/health.ts} +38 -55
- package/src/workflows/{options.test.ts → shared/options.test.ts} +2 -2
- package/src/workflows/{options.ts → shared/options.ts} +14 -2
- package/src/workflows/{scenarios.test.ts → shared/scenarios.test.ts} +1 -1
- package/src/workflows/shared/scenarios.ts +35 -0
- package/src/workflows/{skills.test.ts → shared/skills.test.ts} +3 -1
- package/src/workflows/{skills.ts → shared/skills.ts} +7 -6
- package/src/workflows/{steps.test.ts → shared/steps.test.ts} +1 -66
- package/src/workflows/{steps.ts → shared/steps.ts} +8 -98
- package/src/workflows/shared/tail.test.ts +205 -0
- package/src/workflows/shared/tail.ts +135 -0
- package/src/workflows/{text.fixture.ts → shared/text.fixture.ts} +2 -2
- package/src/workflows/{text.ts → shared/text.ts} +48 -7
- package/src/workflows/{threads.test.ts → shared/threads.test.ts} +1 -1
- package/src/workflows/review.ts +0 -362
- /package/src/workflows/{prose.ts → shared/prose.ts} +0 -0
- /package/src/workflows/{text.test.ts → shared/text.test.ts} +0 -0
- /package/src/workflows/{vars.ts → shared/vars.ts} +0 -0
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), `
|
|
505
|
-
`
|
|
506
|
-
|
|
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
|
|
513
|
-
4, no planning and no building.
|
|
514
|
-
|
|
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
|