@pmelab/gtd 8.0.0 → 8.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.
- package/README.md +402 -110
- package/bin/gtd +3 -4
- package/dist/gtd.bundle.mjs +184 -92
- package/package.json +1 -2
- package/schema.json +33 -9
- package/docs/cli.md +0 -675
- package/docs/configuration.md +0 -994
- package/docs/design/configurable-state-machine.md +0 -1439
- package/docs/design/delta-purity-plan.md +0 -283
- package/docs/design/pattern-machine-plan.md +0 -164
- package/docs/design/pluggable-steering-modes.md +0 -154
- package/docs/design/scripted-actor.md +0 -289
- package/docs/design/state-file-association.md +0 -120
- package/docs/design/state-machine-validation.md +0 -437
- package/docs/design/steering-file-loops.md +0 -182
- package/docs/design/steering-file-validation-command.md +0 -385
- package/docs/design/work-packages.md +0 -193
- package/docs/development.md +0 -109
- package/docs/loop.md +0 -219
- package/docs/upgrading.md +0 -293
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pmelab/gtd",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Git-aware CLI that emits the next prompt for an autonomous coding agent based on the current repository state",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist/",
|
|
11
11
|
"bin/",
|
|
12
|
-
"docs/",
|
|
13
12
|
"README.md",
|
|
14
13
|
"LICENSE",
|
|
15
14
|
"schema.json"
|
package/schema.json
CHANGED
|
@@ -7,13 +7,19 @@
|
|
|
7
7
|
"type": "object",
|
|
8
8
|
"description": "The whole machine definition: named states (plus the workflow's own vars: defaults and modes: steering-file modes). Compiled and validated by gtd at load time; content strings starting with ./ or ../ are file references inlined from the config file's directory (a modes: command never is — it is a shell command).",
|
|
9
9
|
"additionalProperties": false,
|
|
10
|
-
"required": [
|
|
10
|
+
"required": [
|
|
11
|
+
"states"
|
|
12
|
+
],
|
|
11
13
|
"properties": {
|
|
12
14
|
"vars": {
|
|
13
15
|
"type": "object",
|
|
14
16
|
"description": "Flat name -> scalar map merged into every template's it.vars. Scalars are coerced to strings.",
|
|
15
17
|
"additionalProperties": {
|
|
16
|
-
"type": [
|
|
18
|
+
"type": [
|
|
19
|
+
"string",
|
|
20
|
+
"number",
|
|
21
|
+
"boolean"
|
|
22
|
+
]
|
|
17
23
|
}
|
|
18
24
|
},
|
|
19
25
|
"modes": {
|
|
@@ -43,7 +49,9 @@
|
|
|
43
49
|
"type": "object",
|
|
44
50
|
"description": "A reusable, parameterized cluster of states, expanded at load time by each `use:` invocation into concrete states (see src/Submachines.ts). Purely a source-authoring convenience — the engine only ever sees the expanded states.",
|
|
45
51
|
"additionalProperties": false,
|
|
46
|
-
"required": [
|
|
52
|
+
"required": [
|
|
53
|
+
"states"
|
|
54
|
+
],
|
|
47
55
|
"properties": {
|
|
48
56
|
"params": {
|
|
49
57
|
"type": "array",
|
|
@@ -93,7 +101,9 @@
|
|
|
93
101
|
{
|
|
94
102
|
"type": "object",
|
|
95
103
|
"additionalProperties": false,
|
|
96
|
-
"required": [
|
|
104
|
+
"required": [
|
|
105
|
+
"to"
|
|
106
|
+
],
|
|
97
107
|
"properties": {
|
|
98
108
|
"to": {
|
|
99
109
|
"type": "string",
|
|
@@ -116,7 +126,10 @@
|
|
|
116
126
|
"type": "object",
|
|
117
127
|
"description": "Redirect transitions INTO this state once it has been entered `max` times in the current process.",
|
|
118
128
|
"additionalProperties": false,
|
|
119
|
-
"required": [
|
|
129
|
+
"required": [
|
|
130
|
+
"max",
|
|
131
|
+
"otherwise"
|
|
132
|
+
],
|
|
120
133
|
"properties": {
|
|
121
134
|
"max": {
|
|
122
135
|
"type": "integer",
|
|
@@ -181,7 +194,9 @@
|
|
|
181
194
|
"items": {
|
|
182
195
|
"type": "object",
|
|
183
196
|
"additionalProperties": false,
|
|
184
|
-
"required": [
|
|
197
|
+
"required": [
|
|
198
|
+
"submachine"
|
|
199
|
+
],
|
|
185
200
|
"properties": {
|
|
186
201
|
"submachine": {
|
|
187
202
|
"type": "string",
|
|
@@ -253,7 +268,9 @@
|
|
|
253
268
|
{
|
|
254
269
|
"type": "object",
|
|
255
270
|
"additionalProperties": false,
|
|
256
|
-
"required": [
|
|
271
|
+
"required": [
|
|
272
|
+
"to"
|
|
273
|
+
],
|
|
257
274
|
"properties": {
|
|
258
275
|
"to": {
|
|
259
276
|
"type": "string",
|
|
@@ -276,7 +293,10 @@
|
|
|
276
293
|
"type": "object",
|
|
277
294
|
"description": "Redirect transitions INTO this state once it has been entered `max` times in the current process.",
|
|
278
295
|
"additionalProperties": false,
|
|
279
|
-
"required": [
|
|
296
|
+
"required": [
|
|
297
|
+
"max",
|
|
298
|
+
"otherwise"
|
|
299
|
+
],
|
|
280
300
|
"properties": {
|
|
281
301
|
"max": {
|
|
282
302
|
"type": "integer",
|
|
@@ -338,7 +358,11 @@
|
|
|
338
358
|
"type": "object",
|
|
339
359
|
"description": "Flat name -> scalar map merged into every template's it.vars. Scalars are coerced to strings.",
|
|
340
360
|
"additionalProperties": {
|
|
341
|
-
"type": [
|
|
361
|
+
"type": [
|
|
362
|
+
"string",
|
|
363
|
+
"number",
|
|
364
|
+
"boolean"
|
|
365
|
+
]
|
|
342
366
|
}
|
|
343
367
|
},
|
|
344
368
|
"modes": {
|