@orchestrator-claude/definitions 3.37.0 → 3.37.2
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/agents/adversarial-reviewer.md +6 -1
- package/agents/api-extractor.md +6 -0
- package/agents/azure-devops-engineer.md +1 -2
- package/agents/business-rule-miner.md +6 -0
- package/agents/cicd-platform-engineer.md +1 -2
- package/agents/ciclo-engineer.md +50 -21
- package/agents/code-archaeologist.md +6 -0
- package/agents/debug-sidecar.md +6 -0
- package/agents/doc-sidecar.md +6 -0
- package/agents/docs-guardian.md +9 -3
- package/agents/frontend-engineer.md +1 -2
- package/agents/{ai-architect.md → harness-architect.md} +8 -3
- package/agents/implementer.md +6 -1
- package/agents/legacy-discoverer.md +6 -0
- package/agents/legacy-synthesizer.md +6 -0
- package/agents/methodology-researcher.md +6 -1
- package/agents/operational-artifact-builder.md +6 -1
- package/agents/orchestrator.md +27 -87
- package/agents/planner.md +6 -1
- package/agents/presentation-engineer.md +29 -15
- package/agents/python-data-engineer.md +0 -1
- package/agents/researcher.md +6 -0
- package/agents/reviewer.md +6 -1
- package/agents/schema-extractor.md +6 -0
- package/agents/software-architect.md +10 -5
- package/agents/specifier.md +6 -1
- package/agents/task-generator.md +6 -1
- package/agents/test-sidecar.md +6 -0
- package/dist/scripts/generate-hooks-matcher.d.ts +106 -0
- package/dist/scripts/generate-hooks-matcher.d.ts.map +1 -0
- package/dist/scripts/generate-hooks-matcher.js +153 -0
- package/dist/scripts/generate-hooks-matcher.js.map +1 -0
- package/dist/scripts/generate-manifest.d.ts +22 -0
- package/dist/scripts/generate-manifest.d.ts.map +1 -1
- package/dist/scripts/generate-manifest.js +67 -2
- package/dist/scripts/generate-manifest.js.map +1 -1
- package/hooks/agent-git-guard.mjs +63 -11
- package/hooks/dangling-guard.mjs +42 -12
- package/hooks/gate-guardian.mjs +38 -8
- package/hooks/hooks.json +3 -9
- package/hooks/lib/api-client.ts +128 -9
- package/hooks/lib/capability-scanner.ts +462 -55
- package/hooks/lib/dispatch-marker.ts +214 -0
- package/hooks/lib/git-checkpoint.ts +34 -37
- package/hooks/lib/observations-helper.ts +14 -1
- package/hooks/lib/security-gate-core.ts +271 -0
- package/hooks/mailbox-listener.mjs +69 -17
- package/hooks/playwright-output-guard.mjs +40 -10
- package/hooks/post-implement.mjs +38 -8
- package/hooks/pre-agent-dispatch.mjs +137 -16
- package/hooks/pre-agent-dispatch.ts +82 -15
- package/hooks/security-gate-honest.mjs +302 -0
- package/hooks/security-gate-honest.ts +148 -0
- package/hooks/session-start.mjs +304 -106
- package/hooks/session-start.ts +317 -71
- package/hooks/subagent-start.mjs +7673 -22
- package/hooks/subagent-start.ts +367 -16
- package/hooks/subagent-stop.mjs +102 -62
- package/hooks/subagent-stop.ts +124 -28
- package/hooks/user-prompt.mjs +43 -13
- package/hooks/verification-before-completion.mjs +63 -11
- package/hooks/workflow-guard.mjs +45 -11
- package/hooks-settings-template.json +1 -7
- package/manifest.json +77 -61
- package/package.json +4 -2
- package/skills/checkpoint-protocol/SKILL.md +19 -4
- package/skills/ciclo-lane-dispatch/SKILL.md +117 -8
- package/skills/fase-1b-projecao/SKILL.md +150 -0
- package/skills/lane-1-entrevista/SKILL.md +173 -0
- package/skills/orchestrator/SKILL.md +11 -3
- package/skills/workflow-coordination/SKILL.md +3 -3
- package/hooks/post-compact.mjs +0 -7931
- package/hooks/post-compact.ts +0 -170
package/manifest.json
CHANGED
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "orchestrator-definitions/v1",
|
|
3
3
|
"namespace": "orchestrator",
|
|
4
|
-
"version": "3.37.
|
|
5
|
-
"generatedAt": "2026-
|
|
4
|
+
"version": "3.37.2",
|
|
5
|
+
"generatedAt": "2026-09-18T20:29:54.022Z",
|
|
6
6
|
"definitions": {
|
|
7
7
|
"agents": [
|
|
8
8
|
{
|
|
9
9
|
"slug": "adversarial-reviewer",
|
|
10
10
|
"file": "agents/adversarial-reviewer.md",
|
|
11
11
|
"version": "1.0.0",
|
|
12
|
-
"checksum": "sha256:
|
|
13
|
-
"supersedes": null,
|
|
14
|
-
"metadata": {}
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"slug": "ai-architect",
|
|
18
|
-
"file": "agents/ai-architect.md",
|
|
19
|
-
"version": "1.0.0",
|
|
20
|
-
"checksum": "sha256:d127f87259b037addd802dc89032a88b7dc30f7e652285a6fb507b51eefe628a",
|
|
12
|
+
"checksum": "sha256:c0b517b21c2e7dd7c3360f255f8e3c9dd68a82106ae9ae32de84d6ffca557ae2",
|
|
21
13
|
"supersedes": null,
|
|
22
14
|
"metadata": {}
|
|
23
15
|
},
|
|
@@ -25,7 +17,7 @@
|
|
|
25
17
|
"slug": "api-extractor",
|
|
26
18
|
"file": "agents/api-extractor.md",
|
|
27
19
|
"version": "1.0.0",
|
|
28
|
-
"checksum": "sha256:
|
|
20
|
+
"checksum": "sha256:f3f71e93097fd2db1d45c4026b207c9b05ae2f43a731c51eb967dc50a4296108",
|
|
29
21
|
"supersedes": null,
|
|
30
22
|
"metadata": {}
|
|
31
23
|
},
|
|
@@ -33,7 +25,7 @@
|
|
|
33
25
|
"slug": "azure-devops-engineer",
|
|
34
26
|
"file": "agents/azure-devops-engineer.md",
|
|
35
27
|
"version": "1.0.0",
|
|
36
|
-
"checksum": "sha256:
|
|
28
|
+
"checksum": "sha256:eaa237e23a18163eb5c2566b9b3b6f6e9a862ffbd2f1be224acb4c9f7d300f54",
|
|
37
29
|
"supersedes": null,
|
|
38
30
|
"metadata": {}
|
|
39
31
|
},
|
|
@@ -41,7 +33,7 @@
|
|
|
41
33
|
"slug": "business-rule-miner",
|
|
42
34
|
"file": "agents/business-rule-miner.md",
|
|
43
35
|
"version": "1.0.0",
|
|
44
|
-
"checksum": "sha256:
|
|
36
|
+
"checksum": "sha256:3d32899ae60014f0d2b29594c20f638dea2a30a4e923e2fe7458e0317c05358b",
|
|
45
37
|
"supersedes": null,
|
|
46
38
|
"metadata": {}
|
|
47
39
|
},
|
|
@@ -49,7 +41,7 @@
|
|
|
49
41
|
"slug": "cicd-platform-engineer",
|
|
50
42
|
"file": "agents/cicd-platform-engineer.md",
|
|
51
43
|
"version": "1.0.0",
|
|
52
|
-
"checksum": "sha256:
|
|
44
|
+
"checksum": "sha256:b539a0e6d2a8e97c91c57f005ef6ddbc0d64f4e482b3d80af0b0afbf80e4e3fe",
|
|
53
45
|
"supersedes": null,
|
|
54
46
|
"metadata": {}
|
|
55
47
|
},
|
|
@@ -57,7 +49,7 @@
|
|
|
57
49
|
"slug": "ciclo-engineer",
|
|
58
50
|
"file": "agents/ciclo-engineer.md",
|
|
59
51
|
"version": "1.0.0",
|
|
60
|
-
"checksum": "sha256:
|
|
52
|
+
"checksum": "sha256:b2f83b97ddbf6e4afe18c42122ffe5c40db31fa98df156c93e74c31344188a31",
|
|
61
53
|
"supersedes": null,
|
|
62
54
|
"metadata": {}
|
|
63
55
|
},
|
|
@@ -65,7 +57,7 @@
|
|
|
65
57
|
"slug": "code-archaeologist",
|
|
66
58
|
"file": "agents/code-archaeologist.md",
|
|
67
59
|
"version": "1.0.0",
|
|
68
|
-
"checksum": "sha256:
|
|
60
|
+
"checksum": "sha256:1c7d32874c8da6a46ce5c5692edaa1dadc81d044b7fa59b44bca2822fc3db263",
|
|
69
61
|
"supersedes": null,
|
|
70
62
|
"metadata": {}
|
|
71
63
|
},
|
|
@@ -73,7 +65,7 @@
|
|
|
73
65
|
"slug": "debug-sidecar",
|
|
74
66
|
"file": "agents/debug-sidecar.md",
|
|
75
67
|
"version": "1.0.0",
|
|
76
|
-
"checksum": "sha256:
|
|
68
|
+
"checksum": "sha256:574eefb72d824948753c49957dace9814b9b03b3c11083a8accf006d5de2f15d",
|
|
77
69
|
"supersedes": null,
|
|
78
70
|
"metadata": {}
|
|
79
71
|
},
|
|
@@ -81,7 +73,7 @@
|
|
|
81
73
|
"slug": "doc-sidecar",
|
|
82
74
|
"file": "agents/doc-sidecar.md",
|
|
83
75
|
"version": "1.0.0",
|
|
84
|
-
"checksum": "sha256:
|
|
76
|
+
"checksum": "sha256:ef2e994d7d827a2797049d76820dcaa4b76141e91bd879933054eb8bcf4bcaf8",
|
|
85
77
|
"supersedes": null,
|
|
86
78
|
"metadata": {}
|
|
87
79
|
},
|
|
@@ -89,7 +81,7 @@
|
|
|
89
81
|
"slug": "docs-guardian",
|
|
90
82
|
"file": "agents/docs-guardian.md",
|
|
91
83
|
"version": "1.0.0",
|
|
92
|
-
"checksum": "sha256:
|
|
84
|
+
"checksum": "sha256:fdefcdac038e9312c1eb65e5c4d65eae2cabb8bd80769b963ff0c05ae3656e3e",
|
|
93
85
|
"supersedes": null,
|
|
94
86
|
"metadata": {}
|
|
95
87
|
},
|
|
@@ -97,7 +89,15 @@
|
|
|
97
89
|
"slug": "frontend-engineer",
|
|
98
90
|
"file": "agents/frontend-engineer.md",
|
|
99
91
|
"version": "1.0.0",
|
|
100
|
-
"checksum": "sha256:
|
|
92
|
+
"checksum": "sha256:29201e48691a79b5e535ac8a41df77ac20006f1768214f9d6c63f6e1ff839efc",
|
|
93
|
+
"supersedes": null,
|
|
94
|
+
"metadata": {}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"slug": "harness-architect",
|
|
98
|
+
"file": "agents/harness-architect.md",
|
|
99
|
+
"version": "1.0.0",
|
|
100
|
+
"checksum": "sha256:bec6c0cecb552f6265bffcf76288c684968d5fe20fc4b6736e8d55ab25e1622e",
|
|
101
101
|
"supersedes": null,
|
|
102
102
|
"metadata": {}
|
|
103
103
|
},
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"slug": "implementer",
|
|
106
106
|
"file": "agents/implementer.md",
|
|
107
107
|
"version": "1.0.0",
|
|
108
|
-
"checksum": "sha256:
|
|
108
|
+
"checksum": "sha256:2b31b706bb11ad2d25abb7cbd441a3a0d430d3204338bf4860bade1a8bfab88d",
|
|
109
109
|
"supersedes": null,
|
|
110
110
|
"metadata": {}
|
|
111
111
|
},
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"slug": "legacy-discoverer",
|
|
114
114
|
"file": "agents/legacy-discoverer.md",
|
|
115
115
|
"version": "1.0.0",
|
|
116
|
-
"checksum": "sha256:
|
|
116
|
+
"checksum": "sha256:8974dbfa2cedeb21f5d4fad2b6d02f9b4db030400fcf132453bbea9398ac49f5",
|
|
117
117
|
"supersedes": null,
|
|
118
118
|
"metadata": {}
|
|
119
119
|
},
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"slug": "legacy-synthesizer",
|
|
122
122
|
"file": "agents/legacy-synthesizer.md",
|
|
123
123
|
"version": "1.0.0",
|
|
124
|
-
"checksum": "sha256:
|
|
124
|
+
"checksum": "sha256:fe488535188a2405f0f74c5503542adce5a7d63a8b28e0595a785afeb9c1a3f5",
|
|
125
125
|
"supersedes": null,
|
|
126
126
|
"metadata": {}
|
|
127
127
|
},
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"slug": "methodology-researcher",
|
|
130
130
|
"file": "agents/methodology-researcher.md",
|
|
131
131
|
"version": "1.0.0",
|
|
132
|
-
"checksum": "sha256:
|
|
132
|
+
"checksum": "sha256:4f375cc980233bdc4ae1c32d047c6a1cbb53fce720c0b33e607e216b3d4a5b8b",
|
|
133
133
|
"supersedes": null,
|
|
134
134
|
"metadata": {}
|
|
135
135
|
},
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"slug": "operational-artifact-builder",
|
|
138
138
|
"file": "agents/operational-artifact-builder.md",
|
|
139
139
|
"version": "1.0.0",
|
|
140
|
-
"checksum": "sha256:
|
|
140
|
+
"checksum": "sha256:86125998e16e8248defc4aec8fb95eb05ee374083ac756da2391dcf9eca0ec46",
|
|
141
141
|
"supersedes": null,
|
|
142
142
|
"metadata": {}
|
|
143
143
|
},
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"slug": "orchestrator",
|
|
146
146
|
"file": "agents/orchestrator.md",
|
|
147
147
|
"version": "1.0.0",
|
|
148
|
-
"checksum": "sha256:
|
|
148
|
+
"checksum": "sha256:54ba6c1cec23eb571ad1fc991f92d413e7325516b70fc507fd2aef321c2d4363",
|
|
149
149
|
"supersedes": null,
|
|
150
150
|
"metadata": {}
|
|
151
151
|
},
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"slug": "planner",
|
|
154
154
|
"file": "agents/planner.md",
|
|
155
155
|
"version": "1.0.0",
|
|
156
|
-
"checksum": "sha256:
|
|
156
|
+
"checksum": "sha256:9984226243c6057da1a9444ec89bb4fce6918a7426816e357c2dc33806411c15",
|
|
157
157
|
"supersedes": null,
|
|
158
158
|
"metadata": {}
|
|
159
159
|
},
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"slug": "presentation-engineer",
|
|
162
162
|
"file": "agents/presentation-engineer.md",
|
|
163
163
|
"version": "1.0.0",
|
|
164
|
-
"checksum": "sha256:
|
|
164
|
+
"checksum": "sha256:315304c540811affd7af0e03ac3175be0ed3b0496e2d1262558f2156d01f90fd",
|
|
165
165
|
"supersedes": null,
|
|
166
166
|
"metadata": {}
|
|
167
167
|
},
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"slug": "python-data-engineer",
|
|
170
170
|
"file": "agents/python-data-engineer.md",
|
|
171
171
|
"version": "1.0.0",
|
|
172
|
-
"checksum": "sha256:
|
|
172
|
+
"checksum": "sha256:d0e680f76a3c2aaf799ce7fe88a22e6dc45597e64724fc2c5e44dac159f7660e",
|
|
173
173
|
"supersedes": null,
|
|
174
174
|
"metadata": {}
|
|
175
175
|
},
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"slug": "researcher",
|
|
178
178
|
"file": "agents/researcher.md",
|
|
179
179
|
"version": "1.0.0",
|
|
180
|
-
"checksum": "sha256:
|
|
180
|
+
"checksum": "sha256:d6939ea09a5982b34a581994334409e210295bd4d1f3a3597b162e323f8550f7",
|
|
181
181
|
"supersedes": null,
|
|
182
182
|
"metadata": {}
|
|
183
183
|
},
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"slug": "reviewer",
|
|
186
186
|
"file": "agents/reviewer.md",
|
|
187
187
|
"version": "1.0.0",
|
|
188
|
-
"checksum": "sha256:
|
|
188
|
+
"checksum": "sha256:2f79f7b8c48741b811457530f1181d8daf6da187d4961b51ebb840e609556522",
|
|
189
189
|
"supersedes": null,
|
|
190
190
|
"metadata": {}
|
|
191
191
|
},
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
"slug": "schema-extractor",
|
|
194
194
|
"file": "agents/schema-extractor.md",
|
|
195
195
|
"version": "1.0.0",
|
|
196
|
-
"checksum": "sha256:
|
|
196
|
+
"checksum": "sha256:f62bb48f46fd5e94890fd6699f190c4e61458d38609ac6ff890dbb8fbe9e88f5",
|
|
197
197
|
"supersedes": null,
|
|
198
198
|
"metadata": {}
|
|
199
199
|
},
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"slug": "software-architect",
|
|
202
202
|
"file": "agents/software-architect.md",
|
|
203
203
|
"version": "1.0.0",
|
|
204
|
-
"checksum": "sha256:
|
|
204
|
+
"checksum": "sha256:3b5a609553d85ba0ce1ef4da966a46bd49eca46846c8e84b8263616e9456afda",
|
|
205
205
|
"supersedes": null,
|
|
206
206
|
"metadata": {}
|
|
207
207
|
},
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
"slug": "specifier",
|
|
210
210
|
"file": "agents/specifier.md",
|
|
211
211
|
"version": "1.0.0",
|
|
212
|
-
"checksum": "sha256:
|
|
212
|
+
"checksum": "sha256:8bbab71d75ba96cc2638fd4dca6611b790ba8fd124f344507c5b12dd5aa348e9",
|
|
213
213
|
"supersedes": null,
|
|
214
214
|
"metadata": {}
|
|
215
215
|
},
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"slug": "task-generator",
|
|
218
218
|
"file": "agents/task-generator.md",
|
|
219
219
|
"version": "1.0.0",
|
|
220
|
-
"checksum": "sha256:
|
|
220
|
+
"checksum": "sha256:a2d1082d8839f91f6eb6ee5a8b1071aced3c739c12dee5b5c6a8e48562c11ca1",
|
|
221
221
|
"supersedes": null,
|
|
222
222
|
"metadata": {}
|
|
223
223
|
},
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"slug": "test-sidecar",
|
|
226
226
|
"file": "agents/test-sidecar.md",
|
|
227
227
|
"version": "1.0.0",
|
|
228
|
-
"checksum": "sha256:
|
|
228
|
+
"checksum": "sha256:84ad7fc7236f030857e7b06be9bd1557469615838aaa5d8f77d0e4118c28dd45",
|
|
229
229
|
"supersedes": null,
|
|
230
230
|
"metadata": {}
|
|
231
231
|
}
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"slug": "checkpoint-protocol",
|
|
292
292
|
"file": "skills/checkpoint-protocol/SKILL.md",
|
|
293
293
|
"version": "1.0.0",
|
|
294
|
-
"checksum": "sha256:
|
|
294
|
+
"checksum": "sha256:68c5b24b2d306858b5a7a1403cdfd63be59a208e4dd45041f3f4b805936c85ad",
|
|
295
295
|
"supersedes": null,
|
|
296
296
|
"metadata": {}
|
|
297
297
|
},
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"slug": "ciclo-lane-dispatch",
|
|
300
300
|
"file": "skills/ciclo-lane-dispatch/SKILL.md",
|
|
301
301
|
"version": "1.0.0",
|
|
302
|
-
"checksum": "sha256:
|
|
302
|
+
"checksum": "sha256:36bcca4483a1170ea30e2478337f819bc755f6fbe60a954ef12f50e95c0becfc",
|
|
303
303
|
"supersedes": null,
|
|
304
304
|
"metadata": {}
|
|
305
305
|
},
|
|
@@ -327,6 +327,14 @@
|
|
|
327
327
|
"supersedes": null,
|
|
328
328
|
"metadata": {}
|
|
329
329
|
},
|
|
330
|
+
{
|
|
331
|
+
"slug": "fase-1b-projecao",
|
|
332
|
+
"file": "skills/fase-1b-projecao/SKILL.md",
|
|
333
|
+
"version": "1.0.0",
|
|
334
|
+
"checksum": "sha256:8aefcef469b821674a8256612c13e241dd5d394378ccfd218a1cbab6869e0e6e",
|
|
335
|
+
"supersedes": null,
|
|
336
|
+
"metadata": {}
|
|
337
|
+
},
|
|
330
338
|
{
|
|
331
339
|
"slug": "finishing-branch",
|
|
332
340
|
"file": "skills/finishing-branch/SKILL.md",
|
|
@@ -359,11 +367,19 @@
|
|
|
359
367
|
"supersedes": null,
|
|
360
368
|
"metadata": {}
|
|
361
369
|
},
|
|
370
|
+
{
|
|
371
|
+
"slug": "lane-1-entrevista",
|
|
372
|
+
"file": "skills/lane-1-entrevista/SKILL.md",
|
|
373
|
+
"version": "1.0.0",
|
|
374
|
+
"checksum": "sha256:19f10164a2f69b4675f2ac251a327a9187eaa1c8c4151904a54eb030849494c7",
|
|
375
|
+
"supersedes": null,
|
|
376
|
+
"metadata": {}
|
|
377
|
+
},
|
|
362
378
|
{
|
|
363
379
|
"slug": "orchestrator",
|
|
364
380
|
"file": "skills/orchestrator/SKILL.md",
|
|
365
381
|
"version": "1.0.0",
|
|
366
|
-
"checksum": "sha256:
|
|
382
|
+
"checksum": "sha256:b7c730f89b80ab3ee4ed55cb3c5f8afca4b74446da6f3960679fdd82d065fac3",
|
|
367
383
|
"supersedes": null,
|
|
368
384
|
"metadata": {}
|
|
369
385
|
},
|
|
@@ -475,7 +491,7 @@
|
|
|
475
491
|
"slug": "workflow-coordination",
|
|
476
492
|
"file": "skills/workflow-coordination/SKILL.md",
|
|
477
493
|
"version": "1.0.0",
|
|
478
|
-
"checksum": "sha256:
|
|
494
|
+
"checksum": "sha256:8934acd04e8df74ffcf85cc857a3f4215c48acb691ad69eddf8b204e432f25fa",
|
|
479
495
|
"supersedes": null,
|
|
480
496
|
"metadata": {}
|
|
481
497
|
},
|
|
@@ -493,7 +509,7 @@
|
|
|
493
509
|
"slug": "agent-git-guard",
|
|
494
510
|
"file": "hooks/agent-git-guard.mjs",
|
|
495
511
|
"version": "1.0.0",
|
|
496
|
-
"checksum": "sha256:
|
|
512
|
+
"checksum": "sha256:aea3a29ca8fd3039db99798bb7db61df5c7621397d0efb0bd3a7f57a5122cd90",
|
|
497
513
|
"supersedes": null,
|
|
498
514
|
"metadata": {}
|
|
499
515
|
},
|
|
@@ -501,7 +517,7 @@
|
|
|
501
517
|
"slug": "dangling-guard",
|
|
502
518
|
"file": "hooks/dangling-guard.mjs",
|
|
503
519
|
"version": "1.0.0",
|
|
504
|
-
"checksum": "sha256:
|
|
520
|
+
"checksum": "sha256:5180636d41b477c7d7823fc782329e9c828af96aa81caa966882ebd92d86edfe",
|
|
505
521
|
"supersedes": null,
|
|
506
522
|
"metadata": {}
|
|
507
523
|
},
|
|
@@ -509,7 +525,7 @@
|
|
|
509
525
|
"slug": "gate-guardian",
|
|
510
526
|
"file": "hooks/gate-guardian.mjs",
|
|
511
527
|
"version": "1.0.0",
|
|
512
|
-
"checksum": "sha256:
|
|
528
|
+
"checksum": "sha256:4211d19f890d2518bbda3ae38146485f2a692b3585794f9456e7157c9772e41e",
|
|
513
529
|
"supersedes": null,
|
|
514
530
|
"metadata": {}
|
|
515
531
|
},
|
|
@@ -517,7 +533,7 @@
|
|
|
517
533
|
"slug": "mailbox-listener",
|
|
518
534
|
"file": "hooks/mailbox-listener.mjs",
|
|
519
535
|
"version": "1.0.0",
|
|
520
|
-
"checksum": "sha256:
|
|
536
|
+
"checksum": "sha256:7df87c419e02be156cdbfb25a43f1ecdbe12e811925600ebe8be72b15a98f2c8",
|
|
521
537
|
"supersedes": null,
|
|
522
538
|
"metadata": {}
|
|
523
539
|
},
|
|
@@ -525,31 +541,31 @@
|
|
|
525
541
|
"slug": "playwright-output-guard",
|
|
526
542
|
"file": "hooks/playwright-output-guard.mjs",
|
|
527
543
|
"version": "1.0.0",
|
|
528
|
-
"checksum": "sha256:
|
|
544
|
+
"checksum": "sha256:e64853a734fad0a6eea67ecce6248e74f8d6e64f7658a4e7cdd8317b5dd4db0b",
|
|
529
545
|
"supersedes": null,
|
|
530
546
|
"metadata": {}
|
|
531
547
|
},
|
|
532
548
|
{
|
|
533
|
-
"slug": "post-
|
|
534
|
-
"file": "hooks/post-
|
|
549
|
+
"slug": "post-implement",
|
|
550
|
+
"file": "hooks/post-implement.mjs",
|
|
535
551
|
"version": "1.0.0",
|
|
536
|
-
"checksum": "sha256:
|
|
552
|
+
"checksum": "sha256:bdcf2d1b0db7b61477dd123ed02d23683084ef512439a5372d7d2b0459ec28fa",
|
|
537
553
|
"supersedes": null,
|
|
538
554
|
"metadata": {}
|
|
539
555
|
},
|
|
540
556
|
{
|
|
541
|
-
"slug": "
|
|
542
|
-
"file": "hooks/
|
|
557
|
+
"slug": "pre-agent-dispatch",
|
|
558
|
+
"file": "hooks/pre-agent-dispatch.mjs",
|
|
543
559
|
"version": "1.0.0",
|
|
544
|
-
"checksum": "sha256:
|
|
560
|
+
"checksum": "sha256:e4dfd078aa2a39bfd8a0655e90708e5693b267f7579b538173d20375346c6cfa",
|
|
545
561
|
"supersedes": null,
|
|
546
562
|
"metadata": {}
|
|
547
563
|
},
|
|
548
564
|
{
|
|
549
|
-
"slug": "
|
|
550
|
-
"file": "hooks/
|
|
565
|
+
"slug": "security-gate-honest",
|
|
566
|
+
"file": "hooks/security-gate-honest.mjs",
|
|
551
567
|
"version": "1.0.0",
|
|
552
|
-
"checksum": "sha256:
|
|
568
|
+
"checksum": "sha256:ddb7690d673fd98640e4ae18bd91ce425a3e135ab1ed5c89c683a17ad48f5e24",
|
|
553
569
|
"supersedes": null,
|
|
554
570
|
"metadata": {}
|
|
555
571
|
},
|
|
@@ -557,7 +573,7 @@
|
|
|
557
573
|
"slug": "session-start",
|
|
558
574
|
"file": "hooks/session-start.mjs",
|
|
559
575
|
"version": "1.0.0",
|
|
560
|
-
"checksum": "sha256:
|
|
576
|
+
"checksum": "sha256:f397e654327305c08e4a88853c45991924071f88195124f1e25cca7fd4c5f911",
|
|
561
577
|
"supersedes": null,
|
|
562
578
|
"metadata": {}
|
|
563
579
|
},
|
|
@@ -573,7 +589,7 @@
|
|
|
573
589
|
"slug": "subagent-start",
|
|
574
590
|
"file": "hooks/subagent-start.mjs",
|
|
575
591
|
"version": "1.0.0",
|
|
576
|
-
"checksum": "sha256:
|
|
592
|
+
"checksum": "sha256:abfc51ee72c7d016ff31c57616e84a15fa5ab11a209827d87d29f5d1d8edc7e8",
|
|
577
593
|
"supersedes": null,
|
|
578
594
|
"metadata": {}
|
|
579
595
|
},
|
|
@@ -581,7 +597,7 @@
|
|
|
581
597
|
"slug": "subagent-stop",
|
|
582
598
|
"file": "hooks/subagent-stop.mjs",
|
|
583
599
|
"version": "1.0.0",
|
|
584
|
-
"checksum": "sha256:
|
|
600
|
+
"checksum": "sha256:ddab087a4096291073676ab1e67e4073c4fa689d68b2fbd3726d9503819934c4",
|
|
585
601
|
"supersedes": null,
|
|
586
602
|
"metadata": {}
|
|
587
603
|
},
|
|
@@ -589,7 +605,7 @@
|
|
|
589
605
|
"slug": "user-prompt",
|
|
590
606
|
"file": "hooks/user-prompt.mjs",
|
|
591
607
|
"version": "1.0.0",
|
|
592
|
-
"checksum": "sha256:
|
|
608
|
+
"checksum": "sha256:3379e410ecb9c1020ab2a508ee91da87ad8521624178c46c75578f98dbace70a",
|
|
593
609
|
"supersedes": null,
|
|
594
610
|
"metadata": {}
|
|
595
611
|
},
|
|
@@ -597,7 +613,7 @@
|
|
|
597
613
|
"slug": "verification-before-completion",
|
|
598
614
|
"file": "hooks/verification-before-completion.mjs",
|
|
599
615
|
"version": "1.0.0",
|
|
600
|
-
"checksum": "sha256:
|
|
616
|
+
"checksum": "sha256:251ce5df35b2ec3dd4123f058a725657df4a11dc3bee8de1fef3738bc282ec8c",
|
|
601
617
|
"supersedes": null,
|
|
602
618
|
"metadata": {}
|
|
603
619
|
},
|
|
@@ -605,7 +621,7 @@
|
|
|
605
621
|
"slug": "workflow-guard",
|
|
606
622
|
"file": "hooks/workflow-guard.mjs",
|
|
607
623
|
"version": "1.0.0",
|
|
608
|
-
"checksum": "sha256:
|
|
624
|
+
"checksum": "sha256:e2e39b71f2a10826ad6edabdcf330f284c2b5bc23f9f0637f014e27e1945fcb0",
|
|
609
625
|
"supersedes": null,
|
|
610
626
|
"metadata": {}
|
|
611
627
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orchestrator-claude/definitions",
|
|
3
|
-
"version": "3.37.
|
|
3
|
+
"version": "3.37.2",
|
|
4
4
|
"description": "Built-in definitions (agents, skills, hooks, workflows, KB seeds) for the Orchestrator ecosystem",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,8 +29,9 @@
|
|
|
29
29
|
"hooks-settings-template.json"
|
|
30
30
|
],
|
|
31
31
|
"scripts": {
|
|
32
|
-
"build": "tsc && npm run bundle-hooks && npm run generate-manifest",
|
|
32
|
+
"build": "tsc && npm run bundle-hooks && npm run generate-hooks-matcher && npm run generate-manifest",
|
|
33
33
|
"bundle-hooks": "npx tsx src/scripts/bundle-hooks.ts",
|
|
34
|
+
"generate-hooks-matcher": "npx tsx src/scripts/generate-hooks-matcher.ts",
|
|
34
35
|
"generate-manifest": "npx tsx src/scripts/generate-manifest.ts",
|
|
35
36
|
"test": "vitest run",
|
|
36
37
|
"test:watch": "vitest",
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
43
|
"@orchestrator-claude/mcp-server": "^3.32.2",
|
|
44
|
+
"@orchestrator-claude/project-root-resolver": "*",
|
|
43
45
|
"commander": "^14.0.0",
|
|
44
46
|
"chalk": "^5.4.0"
|
|
45
47
|
},
|
|
@@ -6,10 +6,16 @@ description: When and how to create workflow checkpoints. Use after completing t
|
|
|
6
6
|
## Checkpoint Creation Protocol
|
|
7
7
|
|
|
8
8
|
### Who follows this (TD-171)
|
|
9
|
-
This protocol applies to the `implementer` **and all engineer-type committing agents** — any agent whose tool list holds `mcp__orchestrator-tools__createCheckpoint`: as of S290 that is `implementer`, `azure-devops-engineer`, `presentation-engineer`, `operational-artifact-builder`, `cicd-platform-engineer`, `python-data-engineer`, `frontend-engineer`. Engineer-types commit critical artifacts **outside `src/`** (IaC, pipelines, ETL, decks), so they need per-change git revertability too — "only `src/` commits matter" is wrong.
|
|
9
|
+
This protocol applies to the `implementer` **and all engineer-type committing agents** — any agent whose tool list holds `mcp__orchestrator-tools__createCheckpoint`: as of S290 that is `implementer`, `azure-devops-engineer`, `presentation-engineer`, `operational-artifact-builder`, `cicd-platform-engineer`, `python-data-engineer`, `frontend-engineer`. Engineer-types commit critical artifacts **outside `src/`** (IaC, pipelines, ETL, decks), so they need per-change git revertability too — "only `src/` commits matter" is wrong. **That revertability comes from their own local commits, not from `createCheckpoint`** (see "Checkpoint vs git" below — corrected S444).
|
|
10
10
|
|
|
11
11
|
### Checkpoint vs git (read first)
|
|
12
|
-
|
|
12
|
+
|
|
13
|
+
> **CORRECTED S444 (TD-257).** This section previously read *"`createCheckpoint` is a PostgreSQL state snapshot (RFC-012), **INDEPENDENT of git**"*. **That was false, and it was measured false**, not argued: this repo carries **6 tags `orchestrator/*`**, each pointing at a real commit whose subject is `[orchestrator] <phase>: <the description a sub-agent typed>`. Calling the tool writes to git.
|
|
14
|
+
|
|
15
|
+
- `createCheckpoint` **does touch git**: `CheckpointManager.create()` → `GitOperations.createCheckpointCommit()` makes a **real commit**, and `createCheckpointTag()` makes a **real tag** `orchestrator/<phase>/<ISO-timestamp>`. The commit message is `[orchestrator] <phase>: <your description>` — **the text you pass becomes a permanent git commit message**. Write it as if a human will read it in `git log` in a year, because they will.
|
|
16
|
+
- You still do **not** need to commit before calling it — it commits what is already staged (it is not passed a file list, so it does not stage anything itself).
|
|
17
|
+
- **It cannot restore anything, and nothing else can either.** Measured S444: `CheckpointManager.restore()` has no production caller, no REST route (`rg "restore" src/presentation/api/` → 0), reads a `commitHash` that the repository writes hardcoded as `''` (`RepositoryFactory.ts:165`), and ends in `throw new Error('Checkpoint revert not implemented for PostgreSQL')`. Four independent breaks. Treat a checkpoint as an **audit marker**, never as a safety net you can fall back on.
|
|
18
|
+
- **Your real revertability is ordinary git** — the local commits described below, on the feature branch the orchestrator prepared. Not the checkpoint.
|
|
13
19
|
- **Local commit YES, push NO (TD-171):** you MAY make local git commits for granular revertability, on the **feature branch the orchestrator prepared before dispatching you** (branch-before-dispatch, `/orchestrator` §2c.0). You MUST NEVER `git push` / `git merge` / `gh pr merge` — push/merge is orchestrator-owned (enforced by `agent-git-guard`, TD-169). Return your work in your report; the orchestrator pushes after its independent assert.
|
|
14
20
|
|
|
15
21
|
### When to Create
|
|
@@ -28,7 +34,16 @@ This protocol applies to the `implementer` **and all engineer-type committing ag
|
|
|
28
34
|
- "Tasks T-001 to T-005: auth controller + tests"
|
|
29
35
|
- "Pre-refactor checkpoint: before DI migration"
|
|
30
36
|
|
|
31
|
-
### Recovery
|
|
32
|
-
|
|
37
|
+
### Recovery — read the limit before you rely on it
|
|
38
|
+
|
|
39
|
+
`listCheckpoints` is **display only**. Measured S444: its handler does exactly `JSON.stringify(result, null, 2)` into an MCP text block (`packages/mcp-server/src/handlers/checkpoints-handlers.ts:55-66`) — zero side effects, no restore. There is **no recovery path in this system**; see "Checkpoint vs git" above.
|
|
40
|
+
|
|
41
|
+
To *inspect* what was checkpointed:
|
|
33
42
|
1. Call ToolSearch("select:mcp__orchestrator-tools__listCheckpoints")
|
|
34
43
|
2. Call listCheckpoints with: { workflowId }
|
|
44
|
+
|
|
45
|
+
Two things to expect, both measured S444 and neither yet fixed — do not read an empty list as "nothing happened":
|
|
46
|
+
- `GET /api/v1/checkpoints` for this project returned `[]` (HTTP 200, with a positive control returning 200 + real data on the same token), while 6 `orchestrator/*` tags exist in git. **The git side and the database side disagree**, and the database side is the one that is empty.
|
|
47
|
+
- The rows that do get written carry `commit_sha = ''` (`RepositoryFactory.ts:165`), so even a populated list would not point at a recoverable commit.
|
|
48
|
+
|
|
49
|
+
**To actually recover work, use git directly** (`git log`, `git reflog`, `git show`) against your own local commits.
|