@orchestrator-claude/definitions 3.40.0 → 3.42.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/agents/api-extractor.md +1 -2
- package/agents/azure-devops-engineer.md +5 -10
- package/agents/business-rule-miner.md +0 -2
- package/agents/cicd-platform-engineer.md +5 -5
- package/agents/code-archaeologist.md +0 -2
- package/agents/docs-guardian.md +10 -16
- package/agents/frontend-engineer.md +5 -4
- package/agents/implementer.md +2 -7
- package/agents/legacy-synthesizer.md +2 -2
- package/agents/methodology-researcher.md +15 -15
- package/agents/operational-artifact-builder.md +4 -2
- package/agents/planner.md +5 -5
- package/agents/presentation-engineer.md +5 -9
- package/agents/python-data-engineer.md +6 -9
- package/agents/researcher.md +16 -16
- package/agents/reviewer.md +3 -5
- package/agents/schema-extractor.md +0 -2
- package/agents/specifier.md +7 -8
- package/agents/task-generator.md +2 -3
- package/agents/test-sidecar.md +0 -1
- package/hooks/dangling-guard.mjs +45 -8
- package/hooks/dangling-guard.ts +11 -3
- package/hooks/lib/finops-parser.ts +76 -3
- package/manifest.json +25 -25
- package/package.json +1 -1
- package/skills/brainstorm-formalize/SKILL.md +45 -4
- package/skills/design-system-validated-loop/SKILL.md +4 -4
- package/skills/release/release.sh +53 -7
package/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "orchestrator-definitions/v1",
|
|
3
3
|
"namespace": "orchestrator",
|
|
4
|
-
"version": "3.
|
|
5
|
-
"generatedAt": "2026-09-
|
|
4
|
+
"version": "3.42.1",
|
|
5
|
+
"generatedAt": "2026-09-30T15:23:10.072Z",
|
|
6
6
|
"definitions": {
|
|
7
7
|
"agents": [
|
|
8
8
|
{
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"slug": "api-extractor",
|
|
26
26
|
"file": "agents/api-extractor.md",
|
|
27
27
|
"version": "1.0.0",
|
|
28
|
-
"checksum": "sha256:
|
|
28
|
+
"checksum": "sha256:50cb809495b73d736385306b341c04e99b0d8af4366504c3adbf821dc65dac36",
|
|
29
29
|
"supersedes": null,
|
|
30
30
|
"metadata": {}
|
|
31
31
|
},
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"slug": "azure-devops-engineer",
|
|
42
42
|
"file": "agents/azure-devops-engineer.md",
|
|
43
43
|
"version": "1.0.0",
|
|
44
|
-
"checksum": "sha256:
|
|
44
|
+
"checksum": "sha256:de957a69407222d0c72be8edd508cdf5217a0f62367f37102bccff33ae733f0e",
|
|
45
45
|
"supersedes": null,
|
|
46
46
|
"metadata": {}
|
|
47
47
|
},
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"slug": "business-rule-miner",
|
|
58
58
|
"file": "agents/business-rule-miner.md",
|
|
59
59
|
"version": "1.0.0",
|
|
60
|
-
"checksum": "sha256:
|
|
60
|
+
"checksum": "sha256:2a94865af8945aba661034c30164f61a32e14226629c8bf85c7319f61a857639",
|
|
61
61
|
"supersedes": null,
|
|
62
62
|
"metadata": {}
|
|
63
63
|
},
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"slug": "cicd-platform-engineer",
|
|
66
66
|
"file": "agents/cicd-platform-engineer.md",
|
|
67
67
|
"version": "1.0.0",
|
|
68
|
-
"checksum": "sha256:
|
|
68
|
+
"checksum": "sha256:b5117a81037a2fc1b19f9e26326f87b4d3377ae60114298b97d1f5da72f2e2d0",
|
|
69
69
|
"supersedes": null,
|
|
70
70
|
"metadata": {}
|
|
71
71
|
},
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"slug": "code-archaeologist",
|
|
82
82
|
"file": "agents/code-archaeologist.md",
|
|
83
83
|
"version": "1.0.0",
|
|
84
|
-
"checksum": "sha256:
|
|
84
|
+
"checksum": "sha256:67a0d1255047595a81cac8124fbc7a57f917a91d2d137f3b5162a5833d2b8eba",
|
|
85
85
|
"supersedes": null,
|
|
86
86
|
"metadata": {}
|
|
87
87
|
},
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"slug": "docs-guardian",
|
|
122
122
|
"file": "agents/docs-guardian.md",
|
|
123
123
|
"version": "1.0.0",
|
|
124
|
-
"checksum": "sha256:
|
|
124
|
+
"checksum": "sha256:26e93730ba830853567676b3ee27cf25688f8c2d7b06c43d8d2bb5289741bbb3",
|
|
125
125
|
"supersedes": null,
|
|
126
126
|
"metadata": {}
|
|
127
127
|
},
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"slug": "frontend-engineer",
|
|
138
138
|
"file": "agents/frontend-engineer.md",
|
|
139
139
|
"version": "1.0.0",
|
|
140
|
-
"checksum": "sha256:
|
|
140
|
+
"checksum": "sha256:e04841221fba44748191d0de0f4d6f91e7600d0882ea032d67f80f82e3a5e1a4",
|
|
141
141
|
"supersedes": null,
|
|
142
142
|
"metadata": {}
|
|
143
143
|
},
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"slug": "implementer",
|
|
162
162
|
"file": "agents/implementer.md",
|
|
163
163
|
"version": "1.0.0",
|
|
164
|
-
"checksum": "sha256:
|
|
164
|
+
"checksum": "sha256:2e78742505746028a15fa044c93bdb33a7b738bc2fddc8e55c264d06f6f082af",
|
|
165
165
|
"supersedes": null,
|
|
166
166
|
"metadata": {}
|
|
167
167
|
},
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"slug": "legacy-synthesizer",
|
|
186
186
|
"file": "agents/legacy-synthesizer.md",
|
|
187
187
|
"version": "1.0.0",
|
|
188
|
-
"checksum": "sha256:
|
|
188
|
+
"checksum": "sha256:041855d9fc48993a09ed5a998c1f2d653e8a0405d2a8d8e55ab2270dbf6b337f",
|
|
189
189
|
"supersedes": null,
|
|
190
190
|
"metadata": {}
|
|
191
191
|
},
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
"slug": "methodology-researcher",
|
|
194
194
|
"file": "agents/methodology-researcher.md",
|
|
195
195
|
"version": "1.0.0",
|
|
196
|
-
"checksum": "sha256:
|
|
196
|
+
"checksum": "sha256:d2dc3a4f2eb40737cb9f31016c7208f4e638aa6a0f8a92997b75e4de19190d93",
|
|
197
197
|
"supersedes": null,
|
|
198
198
|
"metadata": {}
|
|
199
199
|
},
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"slug": "operational-artifact-builder",
|
|
202
202
|
"file": "agents/operational-artifact-builder.md",
|
|
203
203
|
"version": "1.0.0",
|
|
204
|
-
"checksum": "sha256:
|
|
204
|
+
"checksum": "sha256:d3f8394d40d33b50a969f790c8e8b432ac1072c5b71bf671c0274bf48e28e738",
|
|
205
205
|
"supersedes": null,
|
|
206
206
|
"metadata": {}
|
|
207
207
|
},
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"slug": "planner",
|
|
218
218
|
"file": "agents/planner.md",
|
|
219
219
|
"version": "1.0.0",
|
|
220
|
-
"checksum": "sha256:
|
|
220
|
+
"checksum": "sha256:418ad82445fdbc734f61a567307eadf3dea03006a89b478ab0d2c7bc46e29dc9",
|
|
221
221
|
"supersedes": null,
|
|
222
222
|
"metadata": {}
|
|
223
223
|
},
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"slug": "presentation-engineer",
|
|
226
226
|
"file": "agents/presentation-engineer.md",
|
|
227
227
|
"version": "1.0.0",
|
|
228
|
-
"checksum": "sha256:
|
|
228
|
+
"checksum": "sha256:7e16c4a8bd9a5a3e37e07b76c1d6d9cd81fea155e6977231b507114edb8304ce",
|
|
229
229
|
"supersedes": null,
|
|
230
230
|
"metadata": {}
|
|
231
231
|
},
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"slug": "python-data-engineer",
|
|
234
234
|
"file": "agents/python-data-engineer.md",
|
|
235
235
|
"version": "1.0.0",
|
|
236
|
-
"checksum": "sha256:
|
|
236
|
+
"checksum": "sha256:634d88365218cd13d6b4b0724a969b5b8ec71562e96899eabda3ed739a6b5922",
|
|
237
237
|
"supersedes": null,
|
|
238
238
|
"metadata": {}
|
|
239
239
|
},
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
"slug": "researcher",
|
|
242
242
|
"file": "agents/researcher.md",
|
|
243
243
|
"version": "1.0.0",
|
|
244
|
-
"checksum": "sha256:
|
|
244
|
+
"checksum": "sha256:5d36e948fa968684db917fd653dc264c45458fa476a1001305da745c1aebef54",
|
|
245
245
|
"supersedes": null,
|
|
246
246
|
"metadata": {}
|
|
247
247
|
},
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"slug": "reviewer",
|
|
250
250
|
"file": "agents/reviewer.md",
|
|
251
251
|
"version": "1.0.0",
|
|
252
|
-
"checksum": "sha256:
|
|
252
|
+
"checksum": "sha256:46755a9f2aecdd4ad9ac0ac45a35f0b9b947aac4f120b58ac9edffc89da6899a",
|
|
253
253
|
"supersedes": null,
|
|
254
254
|
"metadata": {}
|
|
255
255
|
},
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
"slug": "schema-extractor",
|
|
258
258
|
"file": "agents/schema-extractor.md",
|
|
259
259
|
"version": "1.0.0",
|
|
260
|
-
"checksum": "sha256:
|
|
260
|
+
"checksum": "sha256:1472a8453c8a7513f297195ed4647758fce20af7093ae9482c6557732d1bf6b4",
|
|
261
261
|
"supersedes": null,
|
|
262
262
|
"metadata": {}
|
|
263
263
|
},
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
"slug": "specifier",
|
|
274
274
|
"file": "agents/specifier.md",
|
|
275
275
|
"version": "1.0.0",
|
|
276
|
-
"checksum": "sha256:
|
|
276
|
+
"checksum": "sha256:2944d4ae1f707e18ad62addb2f97226b268b6f589514db1e8072a107976d97cd",
|
|
277
277
|
"supersedes": null,
|
|
278
278
|
"metadata": {}
|
|
279
279
|
},
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
"slug": "task-generator",
|
|
282
282
|
"file": "agents/task-generator.md",
|
|
283
283
|
"version": "1.0.0",
|
|
284
|
-
"checksum": "sha256:
|
|
284
|
+
"checksum": "sha256:a61e37e96017f0ed94810010efa440d992390cef1bf2a1cc421a009a7c75e2c4",
|
|
285
285
|
"supersedes": null,
|
|
286
286
|
"metadata": {}
|
|
287
287
|
},
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
"slug": "test-sidecar",
|
|
290
290
|
"file": "agents/test-sidecar.md",
|
|
291
291
|
"version": "1.0.0",
|
|
292
|
-
"checksum": "sha256:
|
|
292
|
+
"checksum": "sha256:7789b0e53d319f0a43c945482195d4c933a2a6127073e193a405ed1accfa7384",
|
|
293
293
|
"supersedes": null,
|
|
294
294
|
"metadata": {}
|
|
295
295
|
}
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
"slug": "brainstorm-formalize",
|
|
356
356
|
"file": "skills/brainstorm-formalize/SKILL.md",
|
|
357
357
|
"version": "1.0.0",
|
|
358
|
-
"checksum": "sha256:
|
|
358
|
+
"checksum": "sha256:951aaf2b460a1a3c54c0c7db84d3701eec381c72341970619ed1252e1532c834",
|
|
359
359
|
"supersedes": null,
|
|
360
360
|
"metadata": {}
|
|
361
361
|
},
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
"slug": "design-system-validated-loop",
|
|
404
404
|
"file": "skills/design-system-validated-loop/SKILL.md",
|
|
405
405
|
"version": "1.0.0",
|
|
406
|
-
"checksum": "sha256:
|
|
406
|
+
"checksum": "sha256:19c566f3d55f897d49890cc593832e493b383a1f0e5df09401cbcb7041147182",
|
|
407
407
|
"supersedes": null,
|
|
408
408
|
"metadata": {}
|
|
409
409
|
},
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
"slug": "dangling-guard",
|
|
606
606
|
"file": "hooks/dangling-guard.mjs",
|
|
607
607
|
"version": "1.0.0",
|
|
608
|
-
"checksum": "sha256:
|
|
608
|
+
"checksum": "sha256:c432e643e3e8cb608e2c425e52b2c5727169675ca8feffb3983126b8c853a37a",
|
|
609
609
|
"supersedes": null,
|
|
610
610
|
"metadata": {}
|
|
611
611
|
},
|
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@ Wait for user selection before proceeding.
|
|
|
43
43
|
Before creating any document, check the last used ID:
|
|
44
44
|
- For RFC: Read `project-guidelines/rfcs/index.md`, find the highest `RFC-NNN` in the table, increment by 1
|
|
45
45
|
- For ADR: Read `project-guidelines/adrs/index.md`, find the highest `ADR-NNN` in the Operational ADRs table, increment by 1
|
|
46
|
-
- For TD: Check `project-guidelines/
|
|
46
|
+
- For TD: Check `project-guidelines/registry.yaml` (technical-debt entries) for the highest `TD-NNN` in use
|
|
47
47
|
|
|
48
48
|
### RFC Frontmatter Template
|
|
49
49
|
|
|
@@ -118,16 +118,57 @@ File location: `project-guidelines/adrs/ADR-NNN-TITLE-SLUG.md`
|
|
|
118
118
|
|
|
119
119
|
### TD Entry Template
|
|
120
120
|
|
|
121
|
-
TD items live in `project-guidelines/
|
|
121
|
+
TD items live in `project-guidelines/technical-debt/TD-NNN-*.md` (one file per TD), indexed by an entry in `project-guidelines/registry.yaml`. Create the file and add the matching registry entry:
|
|
122
|
+
|
|
123
|
+
File `project-guidelines/technical-debt/TD-NNN-TITLE-SLUG.md`:
|
|
122
124
|
|
|
123
125
|
```markdown
|
|
124
|
-
|
|
126
|
+
---
|
|
127
|
+
type: td
|
|
128
|
+
id: TD-NNN
|
|
129
|
+
title: "[Short Title]"
|
|
130
|
+
status: proposed # proposed | accepted | resolved | rejected
|
|
131
|
+
severity: medium # critical | high | medium | low
|
|
132
|
+
created: YYYY-MM-DD
|
|
133
|
+
updated: YYYY-MM-DD
|
|
134
|
+
layers: [] # e.g. [definitions, skills]
|
|
135
|
+
sub_layers: [] # e.g. [skill-content, stale-reference]
|
|
136
|
+
related: [] # e.g. [TD-333]
|
|
137
|
+
resolves: []
|
|
138
|
+
depends_on: []
|
|
139
|
+
health:
|
|
140
|
+
last_scan: YYYY-MM-DD
|
|
141
|
+
lims: []
|
|
142
|
+
score:
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
# TD-NNN — [Short Title]
|
|
146
|
+
|
|
125
147
|
**Symptom:** [What is observed]
|
|
126
148
|
**Root cause:** [Why it happens]
|
|
127
149
|
**Fix:** [Proposed solution]
|
|
128
150
|
**Origin:** Brainstorm `docs/superpowers/specs/YYYY-MM-DD-[slug].md`
|
|
129
151
|
```
|
|
130
152
|
|
|
153
|
+
Matching entry under `documents:` in `project-guidelines/registry.yaml` — the registry, not the frontmatter, owns the status, so keep both `status` values equal:
|
|
154
|
+
|
|
155
|
+
```yaml
|
|
156
|
+
- id: TD-NNN
|
|
157
|
+
type: td
|
|
158
|
+
title: "[Short Title]"
|
|
159
|
+
status: proposed
|
|
160
|
+
severity: medium
|
|
161
|
+
file: technical-debt/TD-NNN-TITLE-SLUG.md
|
|
162
|
+
related:
|
|
163
|
+
- TD-333
|
|
164
|
+
resolved_in: null
|
|
165
|
+
created: YYYY-MM-DD
|
|
166
|
+
verification: verified-SNNN
|
|
167
|
+
note: "[Origin, and what was measured vs. not measured]"
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
`related` is bidirectional: add `TD-NNN` to the `related` of every document it names, or the vault gate flags a one-way edge. Then run `npm run generate:td-index` (regenerates `technical-debt/index.md` from the registry) and `npm run validate:registry`.
|
|
171
|
+
|
|
131
172
|
### design.md Template
|
|
132
173
|
|
|
133
174
|
If the user chooses to keep it informal:
|
|
@@ -178,7 +219,7 @@ The table has 4 columns: ADR | Título | Data | Status.
|
|
|
178
219
|
|
|
179
220
|
### TD / design.md
|
|
180
221
|
|
|
181
|
-
No index
|
|
222
|
+
No separate index.md needed for TDs — the registry.yaml entry (added above) serves that role; design.md files remain self-contained.
|
|
182
223
|
|
|
183
224
|
---
|
|
184
225
|
|
|
@@ -43,7 +43,7 @@ If working a feature_development workflow where DSVL applies and T-001 is not ca
|
|
|
43
43
|
│ │ │ re-render + publish │
|
|
44
44
|
│ │ │ 5. Playwright autonomous validate│
|
|
45
45
|
│ │ │ 6. Session closure (memorias + │
|
|
46
|
-
│ │ │
|
|
46
|
+
│ │ │ state + commit) │
|
|
47
47
|
└─────────────────────────────────────┘ └──────────────────────────────────┘
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -219,10 +219,10 @@ Per `dsvl_route_around_bolt_for_trivial_fixes` (S167) and `bolt_github_pull_requ
|
|
|
219
219
|
|
|
220
220
|
1. Create memorias for session learnings (type=feedback, frontmatter complete with claude_session + orchestrator_session)
|
|
221
221
|
2. Update `memory-index.yaml` (project override; NOT MEMORY.md which is read-only legacy per RFC-027 Sprint 3)
|
|
222
|
-
3.
|
|
222
|
+
3. Rotate `project-guidelines/project-state.yaml` (bump version, update lastTouched, archive prior sprint's summary/next_step, and recount the tech-debt counters in its `pending:` block from the TD entries of `project-guidelines/registry.yaml`)
|
|
223
223
|
4. Commit orchestrator repo (do NOT push — human authorizes separately)
|
|
224
224
|
|
|
225
|
-
**Gate 4:** working tree clean, memorias indexed,
|
|
225
|
+
**Gate 4:** working tree clean, memorias indexed, project-state.yaml rotated, commit pending for human push.
|
|
226
226
|
|
|
227
227
|
## Token economics
|
|
228
228
|
|
|
@@ -261,7 +261,7 @@ Per `dsvl_route_around_bolt_for_trivial_fixes` (S167) and `bolt_github_pull_requ
|
|
|
261
261
|
|
|
262
262
|
| Role | Responsibilities | Restrictions |
|
|
263
263
|
|---|---|---|
|
|
264
|
-
| Orchestrator | Canary write/iterate, markdown patches, pre-push verify, Playwright validate, closure (memorias +
|
|
264
|
+
| Orchestrator | Canary write/iterate, markdown patches, pre-push verify, Playwright validate, closure (memorias + project-state + local commit) | NO push external repos; NO prompt Bolt; NO unilateral palette/aesthetic decisions |
|
|
265
265
|
| Human (CMAC) | Canary visual approval (Gate 1), push authorization (Gate 2 confirm + execute), Bolt sync prompt (Etapa 4), strategic audience-fit decisions | n/a — product owner + brand decisions |
|
|
266
266
|
| Bolt/v0/Lovable | Ingest design-system markdown, render UI per spec, publish | NO self-validation; NO regeneration of existing code in re-ingest (additive caveat) |
|
|
267
267
|
|
|
@@ -6,11 +6,13 @@ set -euo pipefail
|
|
|
6
6
|
# ============================================================================
|
|
7
7
|
# Automates version bump and tag creation. CI/CD handles npm/Docker publish.
|
|
8
8
|
#
|
|
9
|
-
# Usage:
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
9
|
+
# Usage (from the repo root; the paths the script edits are relative to it):
|
|
10
|
+
# packages/definitions/skills/release/release.sh patch # 1.5.0 -> 1.5.1
|
|
11
|
+
# packages/definitions/skills/release/release.sh minor # 1.5.0 -> 1.6.0
|
|
12
|
+
# packages/definitions/skills/release/release.sh major # 1.5.0 -> 2.0.0
|
|
13
|
+
# packages/definitions/skills/release/release.sh 1.5.1 # Explicit version
|
|
14
|
+
# npm run release -- patch # same script, via the root package.json "release"
|
|
15
|
+
# scripts/release.sh no longer exists (ADR-023; TD-222).
|
|
14
16
|
#
|
|
15
17
|
# Files updated:
|
|
16
18
|
# - package.json (root)
|
|
@@ -21,6 +23,9 @@ set -euo pipefail
|
|
|
21
23
|
# - packages/definitions/.claude-plugin/plugin.json (native plugin manifest — RFC-040 §18, TD-212)
|
|
22
24
|
# - packages/definitions/manifest.json (regenerated from bumped version — TD-193)
|
|
23
25
|
# - packages/project-root-resolver/package.json (published dep of mcp-server — S387)
|
|
26
|
+
# - packages/vault-projection/package.json (published dep of mcp-server — D-310)
|
|
27
|
+
# - packages/mcp-server/package.json dependency range on vault-projection
|
|
28
|
+
# (rewritten to the exact release version — D-310)
|
|
24
29
|
# - packages/cli/src/index.ts (CLI_VERSION constant)
|
|
25
30
|
# - src/infrastructure/templates/base/package.json.hbs (template versions)
|
|
26
31
|
#
|
|
@@ -281,6 +286,39 @@ update_cli_version_constant() {
|
|
|
281
286
|
log_info "Updated CLI_VERSION in: $file"
|
|
282
287
|
}
|
|
283
288
|
|
|
289
|
+
# Pin mcp-server's dependency on @orchestrator-claude/vault-projection to the exact
|
|
290
|
+
# release version (D-310). Must run in the same bump as vault-projection's own
|
|
291
|
+
# package.json: if only one of the two moves, npm ci cannot resolve the workspace
|
|
292
|
+
# link and falls back to the registry (E404 for an unpublished version, S541).
|
|
293
|
+
update_mcp_vault_projection_range() {
|
|
294
|
+
local version=$1
|
|
295
|
+
local file="packages/mcp-server/package.json"
|
|
296
|
+
local dep="@orchestrator-claude/vault-projection"
|
|
297
|
+
|
|
298
|
+
if [ ! -f "$file" ]; then
|
|
299
|
+
log_warning "File not found: $file"
|
|
300
|
+
return
|
|
301
|
+
fi
|
|
302
|
+
|
|
303
|
+
if [ "$DRY_RUN" = true ]; then
|
|
304
|
+
echo " [dry-run] Would pin $dep to $version in: $file"
|
|
305
|
+
return
|
|
306
|
+
fi
|
|
307
|
+
|
|
308
|
+
node -e "
|
|
309
|
+
const fs = require('fs');
|
|
310
|
+
const pkg = JSON.parse(fs.readFileSync('$file', 'utf8'));
|
|
311
|
+
if (!pkg.dependencies || !pkg.dependencies['$dep']) {
|
|
312
|
+
console.error('$file has no dependency on $dep');
|
|
313
|
+
process.exit(1);
|
|
314
|
+
}
|
|
315
|
+
pkg.dependencies['$dep'] = '$version';
|
|
316
|
+
fs.writeFileSync('$file', JSON.stringify(pkg, null, 2) + '\n');
|
|
317
|
+
"
|
|
318
|
+
|
|
319
|
+
log_info "Pinned $dep to $version in: $file"
|
|
320
|
+
}
|
|
321
|
+
|
|
284
322
|
update_template_version() {
|
|
285
323
|
local version=$1
|
|
286
324
|
local file="src/infrastructure/templates/base/package.json.hbs"
|
|
@@ -315,6 +353,7 @@ update_all_versions() {
|
|
|
315
353
|
|
|
316
354
|
# Update MCP server package
|
|
317
355
|
update_package_version "packages/mcp-server/package.json" "$version"
|
|
356
|
+
update_mcp_vault_projection_range "$version"
|
|
318
357
|
|
|
319
358
|
# Update SDK package
|
|
320
359
|
update_package_version "packages/sdk/package.json" "$version"
|
|
@@ -331,6 +370,10 @@ update_all_versions() {
|
|
|
331
370
|
# Update project-root-resolver package (published dependency of mcp-server — S387)
|
|
332
371
|
update_package_version "packages/project-root-resolver/package.json" "$version"
|
|
333
372
|
|
|
373
|
+
# Update vault-projection package (published dependency of mcp-server — D-310).
|
|
374
|
+
# Moves together with update_mcp_vault_projection_range above.
|
|
375
|
+
update_package_version "packages/vault-projection/package.json" "$version"
|
|
376
|
+
|
|
334
377
|
# Update CLI_VERSION constant
|
|
335
378
|
update_cli_version_constant "$version"
|
|
336
379
|
|
|
@@ -467,6 +510,7 @@ commit_version_bump() {
|
|
|
467
510
|
packages/definitions/.claude-plugin/plugin.json \
|
|
468
511
|
packages/definitions/manifest.json \
|
|
469
512
|
packages/project-root-resolver/package.json \
|
|
513
|
+
packages/vault-projection/package.json \
|
|
470
514
|
packages/cli/src/index.ts \
|
|
471
515
|
src/infrastructure/templates/base/package.json.hbs
|
|
472
516
|
|
|
@@ -475,12 +519,13 @@ commit_version_bump() {
|
|
|
475
519
|
Updates:
|
|
476
520
|
- package.json (root)
|
|
477
521
|
- packages/cli/package.json
|
|
478
|
-
- packages/mcp-server/package.json
|
|
522
|
+
- packages/mcp-server/package.json (version + exact vault-projection range, D-310)
|
|
479
523
|
- packages/sdk/package.json
|
|
480
524
|
- packages/definitions/package.json
|
|
481
525
|
- packages/definitions/.claude-plugin/plugin.json (native plugin manifest, RFC-040 §18)
|
|
482
526
|
- packages/definitions/manifest.json (regenerated, TD-193)
|
|
483
527
|
- packages/project-root-resolver/package.json (published dependency of mcp-server, S387)
|
|
528
|
+
- packages/vault-projection/package.json (published dependency of mcp-server, D-310)
|
|
484
529
|
- packages/cli/src/index.ts (CLI_VERSION)
|
|
485
530
|
- src/infrastructure/templates/base/package.json.hbs (templates)
|
|
486
531
|
|
|
@@ -553,12 +598,13 @@ main() {
|
|
|
553
598
|
echo "Files to update:"
|
|
554
599
|
echo " - package.json (root)"
|
|
555
600
|
echo " - packages/cli/package.json"
|
|
556
|
-
echo " - packages/mcp-server/package.json"
|
|
601
|
+
echo " - packages/mcp-server/package.json (version + exact vault-projection range, D-310)"
|
|
557
602
|
echo " - packages/sdk/package.json"
|
|
558
603
|
echo " - packages/definitions/package.json"
|
|
559
604
|
echo " - packages/definitions/.claude-plugin/plugin.json (native plugin manifest, RFC-040 §18)"
|
|
560
605
|
echo " - packages/definitions/manifest.json (regenerated from bumped version)"
|
|
561
606
|
echo " - packages/project-root-resolver/package.json (published dep of mcp-server, S387)"
|
|
607
|
+
echo " - packages/vault-projection/package.json (published dep of mcp-server, D-310)"
|
|
562
608
|
echo " - packages/cli/src/index.ts (CLI_VERSION)"
|
|
563
609
|
echo " - src/infrastructure/templates/base/package.json.hbs (templates)"
|
|
564
610
|
echo ""
|