@pmelab/gtd 59.0.0 → 59.0.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/.claude-plugin/plugin.json +1 -1
- package/README.md +5 -5
- package/dist/chunks/{testkit-CMBAAyRK.mjs → testkit-07Z_ENch.mjs} +431 -446
- package/dist/chunks/{wire-C12dahrH.mjs → wire-BTUhRGXj.mjs} +1 -1
- package/dist/flows.mjs +1 -1
- package/dist/gtd.bundle.mjs +410 -440
- package/dist/testkit/gherkin.mjs +145 -65
- package/dist/testkit.mjs +1 -1
- package/dist/wire.mjs +1 -1
- package/package.json +1 -1
- package/skills/authoring/SKILL.md +3 -2
- package/src/cli/Cli.test.ts +133 -52
- package/src/cli/Cli.ts +384 -461
- package/src/cli/Help.test.ts +47 -0
- package/src/cli/Help.ts +70 -0
- package/src/cli/Program.test.ts +67 -4
- package/src/cli/Program.ts +65 -18
- package/src/edge/Edge.ts +1 -1
- package/src/emit/Emit.test.ts +1 -1
- package/src/emit/Emit.ts +1 -1
- package/src/flows/factory.ts +3 -1
- package/src/gherkin/index.ts +135 -71
- package/src/gherkin/messages.test.ts +90 -0
- package/src/gherkin/messages.ts +84 -0
- package/src/testkit/TestRepo.test.ts +47 -2
- package/src/testkit/TestRepo.ts +51 -6
- package/src/twins/EmittedScriptRecognizer.ts +5 -8
- package/src/wire/Land.ts +1 -1
- package/src/workflow/load.ts +6 -6
- package/src/workflow/skills.test.ts +5 -5
- package/src/workflow/skills.ts +1 -1
package/README.md
CHANGED
|
@@ -155,14 +155,14 @@ gtd land
|
|
|
155
155
|
|
|
156
156
|
```
|
|
157
157
|
commit everything with this message: gtd(human): idle → unwind
|
|
158
|
-
(
|
|
158
|
+
(to land it: s=$(gtd land --json=script) && sh -c "$s")
|
|
159
159
|
```
|
|
160
160
|
|
|
161
161
|
You could run that commit by hand. Take the script instead — it spells out the
|
|
162
162
|
exact message and reports what landed:
|
|
163
163
|
|
|
164
164
|
```bash
|
|
165
|
-
gtd land --json=script
|
|
165
|
+
s=$(gtd land --json=script) && sh -c "$s"
|
|
166
166
|
```
|
|
167
167
|
|
|
168
168
|
```
|
|
@@ -205,7 +205,7 @@ before:
|
|
|
205
205
|
|
|
206
206
|
```bash
|
|
207
207
|
sh -c "$(gtd next --json=content)"
|
|
208
|
-
gtd land --json=script
|
|
208
|
+
s=$(gtd land --json=script) && sh -c "$s"
|
|
209
209
|
```
|
|
210
210
|
|
|
211
211
|
`--json=<field>` is how a script reads one value out of a beat. Bare `--json`
|
|
@@ -278,7 +278,7 @@ The prompt tells the agent to asses your request and write
|
|
|
278
278
|
`.gtd/REQUIREMENTS.md`, and that file is the turn. Land it like any other beat:
|
|
279
279
|
|
|
280
280
|
```bash
|
|
281
|
-
gtd land --json=script
|
|
281
|
+
s=$(gtd land --json=script) && sh -c "$s"
|
|
282
282
|
```
|
|
283
283
|
|
|
284
284
|
`gtd next --json=validate` is there if you want to check the agent's work first:
|
|
@@ -303,7 +303,7 @@ while :; do
|
|
|
303
303
|
# Nothing left to do, abort.
|
|
304
304
|
stalled) gtd next >&2; exit 1 ;;
|
|
305
305
|
esac
|
|
306
|
-
gtd land --json=script
|
|
306
|
+
s=$(gtd land --json=script) && sh -c "$s"
|
|
307
307
|
done
|
|
308
308
|
```
|
|
309
309
|
|