@pmelab/gtd 58.0.0 → 58.1.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 (53) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README.md +3 -2
  3. package/dist/chunks/{Schema-C6fLlQzx.mjs → Schema-B3o6eRNU.mjs} +637 -3957
  4. package/dist/chunks/{reserved-BzAFXuz_.mjs → reserved-lMYCaapY.mjs} +1 -1
  5. package/dist/chunks/{review-CVqRS0mc.mjs → review-Bfaror38.mjs} +2 -2
  6. package/dist/chunks/{tail-JQzB21Q3.mjs → tail-Bd7L940p.mjs} +1 -1
  7. package/dist/chunks/testkit-D1-auYau.mjs +10362 -0
  8. package/dist/gtd.bundle.mjs +8 -8
  9. package/dist/testkit/gherkin.mjs +255 -0
  10. package/dist/testkit.mjs +2 -15461
  11. package/dist/workflows/cleanup.mjs +2 -2
  12. package/dist/workflows/feature.mjs +3 -3
  13. package/dist/workflows/fix.mjs +2 -2
  14. package/dist/workflows/review.mjs +3 -3
  15. package/dist/workflows/rollout.mjs +1 -1
  16. package/package.json +8 -1
  17. package/src/cli/Cli.test.ts +1 -1
  18. package/src/cli/History.test.ts +1 -1
  19. package/src/cli/Metrics.test.ts +1 -1
  20. package/src/cli/Program.test.ts +1 -1
  21. package/src/cli/Strays.test.ts +1 -1
  22. package/src/edge/Edge.test.ts +1 -1
  23. package/src/emit/Emit.ts +1 -1
  24. package/src/emit/GitScript.ts +1 -1
  25. package/src/emit/OutcomeScript.ts +1 -1
  26. package/src/{testkit/steps.ts → gherkin/index.ts} +20 -3
  27. package/src/gherkin/module-config.feature +24 -0
  28. package/src/gherkin/tiny.fixture.ts +8 -0
  29. package/src/platform/Git.test.ts +2 -2
  30. package/src/platform/RetainedHistory.test.ts +2 -2
  31. package/src/platform/Workspace.test.ts +2 -2
  32. package/src/platform/WorktreeState.test.ts +1 -1
  33. package/src/step/planStart.test.ts +1 -1
  34. package/src/testkit/TestRepo.ts +7 -4
  35. package/src/testkit/index.ts +15 -9
  36. package/src/{testkit → twins}/Layers.ts +2 -2
  37. package/src/twins/index.ts +8 -0
  38. package/src/workflow/discovery.test.ts +1 -1
  39. package/src/workflow/discovery.ts +3 -3
  40. package/src/workflow/load.ts +3 -3
  41. /package/src/{testkit → gherkin}/testkit.feature +0 -0
  42. /package/src/{testkit → twins}/EmittedScriptRecognizer.test.ts +0 -0
  43. /package/src/{testkit → twins}/EmittedScriptRecognizer.ts +0 -0
  44. /package/src/{testkit → twins}/EmittedScripts.test.ts +0 -0
  45. /package/src/{testkit → twins}/FakeGitOperations.ts +0 -0
  46. /package/src/{testkit → twins}/FlowScripts.test.ts +0 -0
  47. /package/src/{testkit → twins}/FlowScripts.ts +0 -0
  48. /package/src/{testkit → twins}/GitTiers.test.ts +0 -0
  49. /package/src/{testkit → twins}/GitTiers.ts +0 -0
  50. /package/src/{testkit → twins}/InMemRepo.ts +0 -0
  51. /package/src/{testkit → twins}/Layers.test.ts +0 -0
  52. /package/src/{testkit → twins}/StrictGitOperations.ts +0 -0
  53. /package/src/{testkit → twins}/cliIo.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtd",
3
- "version": "58.0.0",
3
+ "version": "58.1.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
@@ -881,10 +881,11 @@ gtd is one package, `@pmelab/gtd`, and every entrypoint shares its version and
881
881
  | `@pmelab/gtd/workflow-kit` | Policy-free building blocks to compose a workflow from: health checks, quality laps, scenario freezing, review tails. |
882
882
  | `@pmelab/gtd/workflows` | Every shipped workflow and all its parts in one module; also resolvable as `@pmelab/gtd/workflow`. |
883
883
  | `@pmelab/gtd/workflows/feature`, `@pmelab/gtd/workflows/review`, `@pmelab/gtd/workflows/fix`, `@pmelab/gtd/workflows/rollout`, `@pmelab/gtd/workflows/cleanup` | One shipped workflow each: its factory as the default export, its parts, and the reserved exports (`defaults`, `envDefaults`, `summary`, `steering`, `skills`, `access`). `gtd install` imports these. |
884
- | `@pmelab/gtd/testkit` | Runs any workflow against the real engine, in an in-memory or a real repository. Needs `vitest` and `quickpickle`, optional peer dependencies. |
884
+ | `@pmelab/gtd/testkit` | Runs any workflow against the real engine in an in-memory repository, under any test runner. See [Testing a workflow](https://github.com/pmelab/gtd/blob/main/docs/testing.md). |
885
+ | `@pmelab/gtd/testkit/gherkin` | The testkit as quickpickle steps for vitest. Needs `vitest` and `quickpickle`, optional peer dependencies. |
885
886
 
886
887
  Types come from the TypeScript sources the package ships. Configs never need an
887
- install for any of these but `./testkit`: gtd resolves a `gtd.config.ts`'s
888
+ install for any of these but the testkit's: gtd resolves a `gtd.config.ts`'s
888
889
  `@pmelab/gtd/*` imports to its own copy.
889
890
 
890
891
  The `gtd` bin's commands — `next`, `land`, `abandon`, `restore`, `validate`,