@openplanr/protocol 0.14.0 → 0.15.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 +15 -1
- package/package.json +2 -2
- package/registries/commands.json +10 -10
- package/registries/roles.json +43 -133
- package/registries/skills.json +14 -14
- package/registries/task-kinds.json +2 -2
- package/schemas/v1.22.0/design-document.schema.json +506 -0
- package/schemas/v1.22.0/design-review-bundle.schema.json +822 -0
- package/schemas/v1.5.0/role-registry.schema.json +4 -1
- package/src/contracts.mjs +15 -0
- package/src/design-contracts.d.mts +15 -1
- package/src/design-contracts.mjs +141 -2
- package/src/generated/canonical-registries.mjs +69 -159
- package/src/json-schema.mjs +4 -0
- package/src/registries.mjs +20 -4
- package/src/review-experience-contracts.d.mts +1 -0
- package/src/review-experience-contracts.mjs +47 -5
|
@@ -11,7 +11,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
11
11
|
"kind": "role-registry",
|
|
12
12
|
"schemaVersion": "1.1.0",
|
|
13
13
|
"protocolVersion": "1.5.0",
|
|
14
|
-
"documentVersion": "1.
|
|
14
|
+
"documentVersion": "1.1.0",
|
|
15
15
|
"digestAlgorithm": "sha256",
|
|
16
16
|
"canonicalization": "rfc8785",
|
|
17
17
|
"roles": [
|
|
@@ -70,23 +70,13 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
70
70
|
"adapterMappings": [
|
|
71
71
|
{
|
|
72
72
|
"host": "claude-code",
|
|
73
|
-
"nativeId": "backend
|
|
74
|
-
"generatedPath": "
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"host": "codex",
|
|
78
|
-
"nativeId": "planr-backend",
|
|
79
|
-
"generatedPath": "adapters/codex/agents/planr-backend.md"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"host": "cursor",
|
|
83
|
-
"nativeId": "planr-backend",
|
|
84
|
-
"generatedPath": "adapters/cursor/agents/planr-backend.md"
|
|
73
|
+
"nativeId": "planr:planr-backend",
|
|
74
|
+
"generatedPath": "dist/plugins/claude/openplanr/agents/planr-backend.md"
|
|
85
75
|
}
|
|
86
76
|
],
|
|
87
77
|
"qaCoverage": [
|
|
88
|
-
"tests/protocol/
|
|
89
|
-
"
|
|
78
|
+
"tests/protocol/catalogs-and-routing.test.mjs",
|
|
79
|
+
"tests/ecosystem-root/ecosystem-generation.test.mjs"
|
|
90
80
|
]
|
|
91
81
|
},
|
|
92
82
|
{
|
|
@@ -141,23 +131,13 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
141
131
|
"adapterMappings": [
|
|
142
132
|
{
|
|
143
133
|
"host": "claude-code",
|
|
144
|
-
"nativeId": "
|
|
145
|
-
"generatedPath": "
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"host": "codex",
|
|
149
|
-
"nativeId": "planr-database",
|
|
150
|
-
"generatedPath": "adapters/codex/agents/planr-database.md"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"host": "cursor",
|
|
154
|
-
"nativeId": "planr-database",
|
|
155
|
-
"generatedPath": "adapters/cursor/agents/planr-database.md"
|
|
134
|
+
"nativeId": "planr:planr-database",
|
|
135
|
+
"generatedPath": "dist/plugins/claude/openplanr/agents/planr-database.md"
|
|
156
136
|
}
|
|
157
137
|
],
|
|
158
138
|
"qaCoverage": [
|
|
159
|
-
"tests/protocol/
|
|
160
|
-
"
|
|
139
|
+
"tests/protocol/catalogs-and-routing.test.mjs",
|
|
140
|
+
"tests/ecosystem-root/ecosystem-generation.test.mjs"
|
|
161
141
|
]
|
|
162
142
|
},
|
|
163
143
|
{
|
|
@@ -210,23 +190,13 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
210
190
|
"adapterMappings": [
|
|
211
191
|
{
|
|
212
192
|
"host": "claude-code",
|
|
213
|
-
"nativeId": "designer
|
|
214
|
-
"generatedPath": "
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"host": "codex",
|
|
218
|
-
"nativeId": "planr-designer",
|
|
219
|
-
"generatedPath": "adapters/codex/agents/planr-designer.md"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"host": "cursor",
|
|
223
|
-
"nativeId": "planr-designer",
|
|
224
|
-
"generatedPath": "adapters/cursor/agents/planr-designer.md"
|
|
193
|
+
"nativeId": "planr:planr-designer",
|
|
194
|
+
"generatedPath": "dist/plugins/claude/openplanr/agents/planr-designer.md"
|
|
225
195
|
}
|
|
226
196
|
],
|
|
227
197
|
"qaCoverage": [
|
|
228
|
-
"tests/protocol/
|
|
229
|
-
"
|
|
198
|
+
"tests/protocol/catalogs-and-routing.test.mjs",
|
|
199
|
+
"tests/ecosystem-root/ecosystem-generation.test.mjs"
|
|
230
200
|
]
|
|
231
201
|
},
|
|
232
202
|
{
|
|
@@ -283,23 +253,13 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
283
253
|
"adapterMappings": [
|
|
284
254
|
{
|
|
285
255
|
"host": "claude-code",
|
|
286
|
-
"nativeId": "devops
|
|
287
|
-
"generatedPath": "
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"host": "codex",
|
|
291
|
-
"nativeId": "planr-devops",
|
|
292
|
-
"generatedPath": "adapters/codex/agents/planr-devops.md"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"host": "cursor",
|
|
296
|
-
"nativeId": "planr-devops",
|
|
297
|
-
"generatedPath": "adapters/cursor/agents/planr-devops.md"
|
|
256
|
+
"nativeId": "planr:planr-devops",
|
|
257
|
+
"generatedPath": "dist/plugins/claude/openplanr/agents/planr-devops.md"
|
|
298
258
|
}
|
|
299
259
|
],
|
|
300
260
|
"qaCoverage": [
|
|
301
|
-
"tests/protocol/
|
|
302
|
-
"
|
|
261
|
+
"tests/protocol/catalogs-and-routing.test.mjs",
|
|
262
|
+
"tests/ecosystem-root/ecosystem-generation.test.mjs"
|
|
303
263
|
]
|
|
304
264
|
},
|
|
305
265
|
{
|
|
@@ -356,23 +316,13 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
356
316
|
"adapterMappings": [
|
|
357
317
|
{
|
|
358
318
|
"host": "claude-code",
|
|
359
|
-
"nativeId": "
|
|
360
|
-
"generatedPath": "
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"host": "codex",
|
|
364
|
-
"nativeId": "planr-documentation",
|
|
365
|
-
"generatedPath": "adapters/codex/agents/planr-documentation.md"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"host": "cursor",
|
|
369
|
-
"nativeId": "planr-documentation",
|
|
370
|
-
"generatedPath": "adapters/cursor/agents/planr-documentation.md"
|
|
319
|
+
"nativeId": "planr:planr-documentation",
|
|
320
|
+
"generatedPath": "dist/plugins/claude/openplanr/agents/planr-documentation.md"
|
|
371
321
|
}
|
|
372
322
|
],
|
|
373
323
|
"qaCoverage": [
|
|
374
|
-
"tests/protocol/
|
|
375
|
-
"
|
|
324
|
+
"tests/protocol/catalogs-and-routing.test.mjs",
|
|
325
|
+
"tests/ecosystem-root/ecosystem-generation.test.mjs"
|
|
376
326
|
]
|
|
377
327
|
},
|
|
378
328
|
{
|
|
@@ -429,23 +379,13 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
429
379
|
"adapterMappings": [
|
|
430
380
|
{
|
|
431
381
|
"host": "claude-code",
|
|
432
|
-
"nativeId": "entity-scaffold
|
|
433
|
-
"generatedPath": "
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"host": "codex",
|
|
437
|
-
"nativeId": "planr-entity-scaffold",
|
|
438
|
-
"generatedPath": "adapters/codex/agents/planr-entity-scaffold.md"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"host": "cursor",
|
|
442
|
-
"nativeId": "planr-entity-scaffold",
|
|
443
|
-
"generatedPath": "adapters/cursor/agents/planr-entity-scaffold.md"
|
|
382
|
+
"nativeId": "planr:planr-entity-scaffold",
|
|
383
|
+
"generatedPath": "dist/plugins/claude/openplanr/agents/planr-entity-scaffold.md"
|
|
444
384
|
}
|
|
445
385
|
],
|
|
446
386
|
"qaCoverage": [
|
|
447
|
-
"tests/protocol/
|
|
448
|
-
"
|
|
387
|
+
"tests/protocol/catalogs-and-routing.test.mjs",
|
|
388
|
+
"tests/ecosystem-root/ecosystem-generation.test.mjs"
|
|
449
389
|
]
|
|
450
390
|
},
|
|
451
391
|
{
|
|
@@ -504,28 +444,18 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
504
444
|
"adapterMappings": [
|
|
505
445
|
{
|
|
506
446
|
"host": "claude-code",
|
|
507
|
-
"nativeId": "frontend
|
|
508
|
-
"generatedPath": "
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"host": "codex",
|
|
512
|
-
"nativeId": "planr-frontend",
|
|
513
|
-
"generatedPath": "adapters/codex/agents/planr-frontend.md"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"host": "cursor",
|
|
517
|
-
"nativeId": "planr-frontend",
|
|
518
|
-
"generatedPath": "adapters/cursor/agents/planr-frontend.md"
|
|
447
|
+
"nativeId": "planr:planr-frontend",
|
|
448
|
+
"generatedPath": "dist/plugins/claude/openplanr/agents/planr-frontend.md"
|
|
519
449
|
}
|
|
520
450
|
],
|
|
521
451
|
"qaCoverage": [
|
|
522
|
-
"tests/protocol/
|
|
523
|
-
"
|
|
452
|
+
"tests/protocol/catalogs-and-routing.test.mjs",
|
|
453
|
+
"tests/ecosystem-root/ecosystem-generation.test.mjs"
|
|
524
454
|
]
|
|
525
455
|
},
|
|
526
456
|
{
|
|
527
457
|
"roleId": "planr-qa",
|
|
528
|
-
"roleVersion": "1.
|
|
458
|
+
"roleVersion": "1.1.0",
|
|
529
459
|
"displayName": "Qa",
|
|
530
460
|
"description": "Canonical qa role for the OpenPlanr qa phase.",
|
|
531
461
|
"legacyAliases": [
|
|
@@ -537,7 +467,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
537
467
|
}
|
|
538
468
|
],
|
|
539
469
|
"phase": "qa",
|
|
540
|
-
"activation": "
|
|
470
|
+
"activation": "conditional",
|
|
541
471
|
"capabilityTier": "read-only-qa",
|
|
542
472
|
"authorityClass": "quality-verification",
|
|
543
473
|
"writeBoundary": {
|
|
@@ -556,7 +486,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
556
486
|
},
|
|
557
487
|
"source": {
|
|
558
488
|
"path": "agents/qa/planr-qa/AGENT.md",
|
|
559
|
-
"digest": "sha256:
|
|
489
|
+
"digest": "sha256:283cbe632da47993a5457f64d9391df4d0892900efec02144453da9bd466400e"
|
|
560
490
|
},
|
|
561
491
|
"taskKinds": [
|
|
562
492
|
"qa"
|
|
@@ -576,28 +506,18 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
576
506
|
"adapterMappings": [
|
|
577
507
|
{
|
|
578
508
|
"host": "claude-code",
|
|
579
|
-
"nativeId": "qa
|
|
580
|
-
"generatedPath": "
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"host": "codex",
|
|
584
|
-
"nativeId": "planr-qa",
|
|
585
|
-
"generatedPath": "adapters/codex/agents/planr-qa.md"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
"host": "cursor",
|
|
589
|
-
"nativeId": "planr-qa",
|
|
590
|
-
"generatedPath": "adapters/cursor/agents/planr-qa.md"
|
|
509
|
+
"nativeId": "planr:planr-qa",
|
|
510
|
+
"generatedPath": "dist/plugins/claude/openplanr/agents/planr-qa.md"
|
|
591
511
|
}
|
|
592
512
|
],
|
|
593
513
|
"qaCoverage": [
|
|
594
|
-
"tests/protocol/
|
|
595
|
-
"
|
|
514
|
+
"tests/protocol/catalogs-and-routing.test.mjs",
|
|
515
|
+
"tests/ecosystem-root/ecosystem-generation.test.mjs"
|
|
596
516
|
]
|
|
597
517
|
},
|
|
598
518
|
{
|
|
599
519
|
"roleId": "planr-specification",
|
|
600
|
-
"roleVersion": "1.
|
|
520
|
+
"roleVersion": "1.1.0",
|
|
601
521
|
"displayName": "Specification",
|
|
602
522
|
"description": "Canonical specification role for the OpenPlanr po phase.",
|
|
603
523
|
"legacyAliases": [
|
|
@@ -609,7 +529,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
609
529
|
}
|
|
610
530
|
],
|
|
611
531
|
"phase": "po",
|
|
612
|
-
"activation": "
|
|
532
|
+
"activation": "conditional",
|
|
613
533
|
"capabilityTier": "analysis-high",
|
|
614
534
|
"authorityClass": "planning-write",
|
|
615
535
|
"writeBoundary": {
|
|
@@ -646,27 +566,17 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
646
566
|
"adapterMappings": [
|
|
647
567
|
{
|
|
648
568
|
"host": "claude-code",
|
|
649
|
-
"nativeId": "specification
|
|
650
|
-
"generatedPath": "
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
"host": "codex",
|
|
654
|
-
"nativeId": "planr-specification",
|
|
655
|
-
"generatedPath": "adapters/codex/agents/planr-specification.md"
|
|
656
|
-
},
|
|
657
|
-
{
|
|
658
|
-
"host": "cursor",
|
|
659
|
-
"nativeId": "planr-specification",
|
|
660
|
-
"generatedPath": "adapters/cursor/agents/planr-specification.md"
|
|
569
|
+
"nativeId": "planr:planr-specification",
|
|
570
|
+
"generatedPath": "dist/plugins/claude/openplanr/agents/planr-specification.md"
|
|
661
571
|
}
|
|
662
572
|
],
|
|
663
573
|
"qaCoverage": [
|
|
664
|
-
"tests/protocol/
|
|
665
|
-
"
|
|
574
|
+
"tests/protocol/catalogs-and-routing.test.mjs",
|
|
575
|
+
"tests/ecosystem-root/ecosystem-generation.test.mjs"
|
|
666
576
|
]
|
|
667
577
|
}
|
|
668
578
|
],
|
|
669
|
-
"documentDigest": "sha256:
|
|
579
|
+
"documentDigest": "sha256:55046ed4cd5bbfae5df429efeb6a122558332035772f90cac4d178717174754e"
|
|
670
580
|
},
|
|
671
581
|
"task-kinds.json": {
|
|
672
582
|
"kind": "task-kind-registry",
|
|
@@ -675,7 +585,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
675
585
|
"documentVersion": "1.0.0",
|
|
676
586
|
"digestAlgorithm": "sha256",
|
|
677
587
|
"canonicalization": "rfc8785",
|
|
678
|
-
"roleRegistryDigest": "sha256:
|
|
588
|
+
"roleRegistryDigest": "sha256:55046ed4cd5bbfae5df429efeb6a122558332035772f90cac4d178717174754e",
|
|
679
589
|
"bindings": [
|
|
680
590
|
{
|
|
681
591
|
"taskKind": "backend",
|
|
@@ -886,7 +796,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
886
796
|
"precedence": 4
|
|
887
797
|
}
|
|
888
798
|
],
|
|
889
|
-
"documentDigest": "sha256:
|
|
799
|
+
"documentDigest": "sha256:3706b13a36281ba035afba6184ff18690d2934e431623e91b83d904827b5cb7a"
|
|
890
800
|
},
|
|
891
801
|
"rules.json": {
|
|
892
802
|
"kind": "rule-catalog",
|
|
@@ -1507,7 +1417,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1507
1417
|
"ownerPackage": "openplanr",
|
|
1508
1418
|
"source": {
|
|
1509
1419
|
"path": "skills/planr-plan/SKILL.md",
|
|
1510
|
-
"digest": "sha256:
|
|
1420
|
+
"digest": "sha256:b58fd784d77400e33b08e348003ac59ab2b8ecc77eea03ef20be6e8becf57826"
|
|
1511
1421
|
},
|
|
1512
1422
|
"authorityClass": "workflow",
|
|
1513
1423
|
"machineJson": false,
|
|
@@ -1528,7 +1438,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1528
1438
|
"ownerPackage": "openplanr",
|
|
1529
1439
|
"source": {
|
|
1530
1440
|
"path": "docs/generated/utility-command-catalog.json",
|
|
1531
|
-
"digest": "sha256:
|
|
1441
|
+
"digest": "sha256:d74dc7fce5bfa26b44c4d127d7fd5875d510403da947b9a9bf6b1ec540db14fa"
|
|
1532
1442
|
},
|
|
1533
1443
|
"authorityClass": "workflow",
|
|
1534
1444
|
"machineJson": false,
|
|
@@ -1717,7 +1627,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1717
1627
|
"ownerPackage": "openplanr",
|
|
1718
1628
|
"source": {
|
|
1719
1629
|
"path": "docs/generated/utility-command-catalog.json",
|
|
1720
|
-
"digest": "sha256:
|
|
1630
|
+
"digest": "sha256:d74dc7fce5bfa26b44c4d127d7fd5875d510403da947b9a9bf6b1ec540db14fa"
|
|
1721
1631
|
},
|
|
1722
1632
|
"authorityClass": "workflow",
|
|
1723
1633
|
"machineJson": true,
|
|
@@ -1738,7 +1648,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1738
1648
|
"ownerPackage": "openplanr",
|
|
1739
1649
|
"source": {
|
|
1740
1650
|
"path": "skills/planr-plan/SKILL.md",
|
|
1741
|
-
"digest": "sha256:
|
|
1651
|
+
"digest": "sha256:b58fd784d77400e33b08e348003ac59ab2b8ecc77eea03ef20be6e8becf57826"
|
|
1742
1652
|
},
|
|
1743
1653
|
"authorityClass": "workflow",
|
|
1744
1654
|
"machineJson": false,
|
|
@@ -1780,7 +1690,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1780
1690
|
"ownerPackage": "openplanr",
|
|
1781
1691
|
"source": {
|
|
1782
1692
|
"path": "skills/planr-spec/SKILL.md",
|
|
1783
|
-
"digest": "sha256:
|
|
1693
|
+
"digest": "sha256:150d31da1f87918ce7966706230779c19fadf261f7afd78ae5ef0924ea6a4be1"
|
|
1784
1694
|
},
|
|
1785
1695
|
"authorityClass": "workflow",
|
|
1786
1696
|
"machineJson": false,
|
|
@@ -1843,7 +1753,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1843
1753
|
"ownerPackage": "openplanr",
|
|
1844
1754
|
"source": {
|
|
1845
1755
|
"path": "skills/planr-spec/SKILL.md",
|
|
1846
|
-
"digest": "sha256:
|
|
1756
|
+
"digest": "sha256:150d31da1f87918ce7966706230779c19fadf261f7afd78ae5ef0924ea6a4be1"
|
|
1847
1757
|
},
|
|
1848
1758
|
"authorityClass": "workflow",
|
|
1849
1759
|
"machineJson": false,
|
|
@@ -1948,7 +1858,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
1948
1858
|
"ownerPackage": "openplanr",
|
|
1949
1859
|
"source": {
|
|
1950
1860
|
"path": "packages/cli/src/cli/commands/spec.ts",
|
|
1951
|
-
"digest": "sha256:
|
|
1861
|
+
"digest": "sha256:e5d83a8539402ffca8490f646f544ead29509990d9a7e18e78aa49ffb7778f7c"
|
|
1952
1862
|
},
|
|
1953
1863
|
"authorityClass": "workflow",
|
|
1954
1864
|
"machineJson": false,
|
|
@@ -2242,7 +2152,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2242
2152
|
"ownerPackage": "planr-pipeline",
|
|
2243
2153
|
"source": {
|
|
2244
2154
|
"path": "skills/planr-plan/SKILL.md",
|
|
2245
|
-
"digest": "sha256:
|
|
2155
|
+
"digest": "sha256:b58fd784d77400e33b08e348003ac59ab2b8ecc77eea03ef20be6e8becf57826"
|
|
2246
2156
|
},
|
|
2247
2157
|
"authorityClass": "compatibility-router",
|
|
2248
2158
|
"machineJson": false,
|
|
@@ -2263,7 +2173,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
2263
2173
|
"ownerPackage": "planr-pipeline",
|
|
2264
2174
|
"source": {
|
|
2265
2175
|
"path": "skills/planr-ship/SKILL.md",
|
|
2266
|
-
"digest": "sha256:
|
|
2176
|
+
"digest": "sha256:c01e21e744d323a781abce7713500dad948717fa3234112e5740a10def01d6c8"
|
|
2267
2177
|
},
|
|
2268
2178
|
"authorityClass": "compatibility-router",
|
|
2269
2179
|
"machineJson": false,
|
|
@@ -3099,7 +3009,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
3099
3009
|
]
|
|
3100
3010
|
}
|
|
3101
3011
|
],
|
|
3102
|
-
"documentDigest": "sha256:
|
|
3012
|
+
"documentDigest": "sha256:8f6783884610818f151767e3836c061c9d070573172ad505722f0df4c252e792"
|
|
3103
3013
|
},
|
|
3104
3014
|
"skills.json": {
|
|
3105
3015
|
"kind": "skill-catalog",
|
|
@@ -3858,7 +3768,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
3858
3768
|
"lifecycle": "active",
|
|
3859
3769
|
"authorityClass": "planning-write",
|
|
3860
3770
|
"source": "skills/planr-design/openplanr.skill.json",
|
|
3861
|
-
"sourceDigest": "sha256:
|
|
3771
|
+
"sourceDigest": "sha256:8043eaa5fab05b77c3e47d5e0f580dc05a4a5c21c420f4c2815c72d71c323098",
|
|
3862
3772
|
"triggerPolicy": {
|
|
3863
3773
|
"include": [
|
|
3864
3774
|
"Create an initial product design direction",
|
|
@@ -3919,7 +3829,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
3919
3829
|
"lifecycle": "active",
|
|
3920
3830
|
"authorityClass": "planning-write",
|
|
3921
3831
|
"source": "skills/planr-design-loop/openplanr.skill.json",
|
|
3922
|
-
"sourceDigest": "sha256:
|
|
3832
|
+
"sourceDigest": "sha256:5a244a415488abb8abb336b799ea475156e7cea9477ce45c2b69955c19f8ce12",
|
|
3923
3833
|
"triggerPolicy": {
|
|
3924
3834
|
"include": [
|
|
3925
3835
|
"Explore multiple design directions or variants",
|
|
@@ -3980,7 +3890,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
3980
3890
|
"lifecycle": "active",
|
|
3981
3891
|
"authorityClass": "review-evidence",
|
|
3982
3892
|
"source": "skills/planr-design-review/openplanr.skill.json",
|
|
3983
|
-
"sourceDigest": "sha256:
|
|
3893
|
+
"sourceDigest": "sha256:935ae48b423ff2bba4eef6e2823d9ca7afda07db1d48b5433951c55baca9dc1c",
|
|
3984
3894
|
"triggerPolicy": {
|
|
3985
3895
|
"include": [
|
|
3986
3896
|
"Review or critique an existing OpenPlanr design",
|
|
@@ -4163,12 +4073,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
4163
4073
|
},
|
|
4164
4074
|
{
|
|
4165
4075
|
"skillId": "planr-investigate",
|
|
4166
|
-
"skillVersion": "2.0
|
|
4167
|
-
"description": "Diagnose a bug, regression, error, or unexplained behavior and optionally implement a bounded fix. Use for root-cause investigation, not planned feature delivery.",
|
|
4076
|
+
"skillVersion": "2.1.0",
|
|
4077
|
+
"description": "Diagnose a bug, regression, error, or unexplained behavior and optionally implement a bounded fix. Use for root-cause investigation, including before any fix, not planned feature delivery.",
|
|
4168
4078
|
"lifecycle": "active",
|
|
4169
4079
|
"authorityClass": "diagnostic",
|
|
4170
4080
|
"source": "skills/planr-investigate/openplanr.skill.json",
|
|
4171
|
-
"sourceDigest": "sha256:
|
|
4081
|
+
"sourceDigest": "sha256:eb14795cb0e58a28178aaead5e2737c191f981f0da182cabeeeb99d7c45d87f4",
|
|
4172
4082
|
"triggerPolicy": {
|
|
4173
4083
|
"include": [
|
|
4174
4084
|
"Investigate a bug, regression, error, or unexplained behavior",
|
|
@@ -4408,12 +4318,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
4408
4318
|
},
|
|
4409
4319
|
{
|
|
4410
4320
|
"skillId": "planr-plan",
|
|
4411
|
-
"skillVersion": "1.
|
|
4321
|
+
"skillVersion": "1.3.0",
|
|
4412
4322
|
"description": "Turn a Protocol-compatible specification or product intent into schema-compatible OpenPlanr stories and implementation tasks. Use for planning and decomposition, not implementation.",
|
|
4413
4323
|
"lifecycle": "active",
|
|
4414
4324
|
"authorityClass": "planning-write",
|
|
4415
4325
|
"source": "skills/planr-plan/openplanr.skill.json",
|
|
4416
|
-
"sourceDigest": "sha256:
|
|
4326
|
+
"sourceDigest": "sha256:d5f96a23dddfac761ac2103fd4561d19377a757b078e7ee5e7228a2575a5f6bd",
|
|
4417
4327
|
"triggerPolicy": {
|
|
4418
4328
|
"include": [
|
|
4419
4329
|
"Decompose a specification into user stories and implementation tasks",
|
|
@@ -4651,12 +4561,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
4651
4561
|
},
|
|
4652
4562
|
{
|
|
4653
4563
|
"skillId": "planr-ship",
|
|
4654
|
-
"skillVersion": "1.
|
|
4655
|
-
"description": "Implement an OpenPlanr plan, specification, task, or clearly stated request end to end in the current repository. Use when the user asks to build, implement, fix, finish, or ship local work.",
|
|
4564
|
+
"skillVersion": "1.4.0",
|
|
4565
|
+
"description": "Implement an OpenPlanr plan, specification, task, or clearly stated request end to end in the current repository. Use when the user asks to build, implement, fix, finish, or ship local work, or to plan and implement an accepted change. Invoke before editing files for the requested change. Not for planning only, landing, release, or work handed to another coding agent.",
|
|
4656
4566
|
"lifecycle": "active",
|
|
4657
4567
|
"authorityClass": "implementation",
|
|
4658
4568
|
"source": "skills/planr-ship/openplanr.skill.json",
|
|
4659
|
-
"sourceDigest": "sha256:
|
|
4569
|
+
"sourceDigest": "sha256:636a378452d54760d78c5fa5f361de0ced97035e41ba7f3e3361fd5ab5d8058d",
|
|
4660
4570
|
"triggerPolicy": {
|
|
4661
4571
|
"include": [
|
|
4662
4572
|
"Implement a plan, specification, task, fix, or clearly stated local request",
|
|
@@ -4724,12 +4634,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
4724
4634
|
},
|
|
4725
4635
|
{
|
|
4726
4636
|
"skillId": "planr-spec",
|
|
4727
|
-
"skillVersion": "1.0.
|
|
4637
|
+
"skillVersion": "1.0.2",
|
|
4728
4638
|
"description": "Shape vague product or engineering intent into a clear, measurable Protocol-compatible specification grounded in the current repository. Use when requirements need clarification before planning or implementation.",
|
|
4729
4639
|
"lifecycle": "active",
|
|
4730
4640
|
"authorityClass": "planning-write",
|
|
4731
4641
|
"source": "skills/planr-spec/openplanr.skill.json",
|
|
4732
|
-
"sourceDigest": "sha256:
|
|
4642
|
+
"sourceDigest": "sha256:aaf4a2660b2310e312d6b9aa25a099ca4057c44129d634e2f45fbc8a7862c621",
|
|
4733
4643
|
"triggerPolicy": {
|
|
4734
4644
|
"include": [
|
|
4735
4645
|
"Turn vague product or engineering intent into a precise specification",
|
|
@@ -4967,7 +4877,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
|
|
|
4967
4877
|
}
|
|
4968
4878
|
],
|
|
4969
4879
|
"compatibilityAliases": [],
|
|
4970
|
-
"documentDigest": "sha256:
|
|
4880
|
+
"documentDigest": "sha256:84aa1fca15056b29bc848beca237f56ea477090158d158d7e5f7e4234437ee81"
|
|
4971
4881
|
},
|
|
4972
4882
|
"outputs.json": {
|
|
4973
4883
|
"kind": "output-catalog",
|
package/src/json-schema.mjs
CHANGED
|
@@ -68,6 +68,7 @@ const VALIDATION_KEYWORDS = [
|
|
|
68
68
|
'maxContains',
|
|
69
69
|
'required',
|
|
70
70
|
'properties',
|
|
71
|
+
'propertyNames',
|
|
71
72
|
'additionalProperties',
|
|
72
73
|
'maxProperties',
|
|
73
74
|
'dependentRequired',
|
|
@@ -156,6 +157,7 @@ const KEYWORD_SHAPES = {
|
|
|
156
157
|
maxContains: ['a non-negative integer', isCount],
|
|
157
158
|
required: ['an array of unique strings', isUniqueStrings],
|
|
158
159
|
properties: ['an object of schemas', isSchemaMap],
|
|
160
|
+
propertyNames: ['a schema', isSchema],
|
|
159
161
|
additionalProperties: ['a schema', isSchema],
|
|
160
162
|
maxProperties: ['a non-negative integer', isCount],
|
|
161
163
|
dependentRequired: [
|
|
@@ -463,6 +465,8 @@ const validateNode = (value, schema, path, errs, context) => {
|
|
|
463
465
|
}
|
|
464
466
|
const props = schema.properties || {};
|
|
465
467
|
for (const [k, v] of Object.entries(value)) {
|
|
468
|
+
if (schema.propertyNames !== undefined)
|
|
469
|
+
validateNode(k, schema.propertyNames, `${path}.${k}`, errs, context);
|
|
466
470
|
if (Object.hasOwn(props, k)) evaluated.add(k);
|
|
467
471
|
else if (schema.additionalProperties !== undefined) evaluated.add(k);
|
|
468
472
|
if (!Object.hasOwn(props, k)) {
|
package/src/registries.mjs
CHANGED
|
@@ -84,11 +84,11 @@ const EXPECTED_ROLES = Object.freeze({
|
|
|
84
84
|
'implementation-high',
|
|
85
85
|
'implementation-result',
|
|
86
86
|
],
|
|
87
|
-
'planr-qa': ['qa-agent', 'qa', '
|
|
87
|
+
'planr-qa': ['qa-agent', 'qa', 'conditional', 'read-only-qa', 'task-output-manifest'],
|
|
88
88
|
'planr-specification': [
|
|
89
89
|
'specification-agent',
|
|
90
90
|
'po',
|
|
91
|
-
'
|
|
91
|
+
'conditional',
|
|
92
92
|
'analysis-high',
|
|
93
93
|
'specification-output',
|
|
94
94
|
],
|
|
@@ -190,10 +190,26 @@ export function validateCanonicalRegistries(registries = CANONICAL_REGISTRIES) {
|
|
|
190
190
|
`Role compatibility mapping drifted for ${role.roleId}.`,
|
|
191
191
|
);
|
|
192
192
|
}
|
|
193
|
-
if (
|
|
193
|
+
if (
|
|
194
|
+
!equal(
|
|
195
|
+
role.adapterMappings.map(({ host, nativeId, generatedPath }) => [
|
|
196
|
+
host,
|
|
197
|
+
nativeId,
|
|
198
|
+
generatedPath,
|
|
199
|
+
]),
|
|
200
|
+
[
|
|
201
|
+
[
|
|
202
|
+
'claude-code',
|
|
203
|
+
`planr:${role.roleId}`,
|
|
204
|
+
`dist/plugins/claude/openplanr/agents/${role.roleId}.md`,
|
|
205
|
+
],
|
|
206
|
+
],
|
|
207
|
+
) ||
|
|
208
|
+
role.qaCoverage.length < 1
|
|
209
|
+
) {
|
|
194
210
|
fail(
|
|
195
211
|
PROTOCOL_ERROR_CODES.REGISTRY_INVALID,
|
|
196
|
-
`Role ${role.roleId}
|
|
212
|
+
`Role ${role.roleId} must name its generated Claude agent and existing QA coverage.`,
|
|
197
213
|
);
|
|
198
214
|
}
|
|
199
215
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const DESIGN_REVIEW_BUNDLE_V120_SCHEMA: Readonly<Record<string, unknown>>;
|
|
1
2
|
export declare const DESIGN_REVIEW_BUNDLE_CURRENT_SCHEMA: Readonly<Record<string, unknown>>;
|
|
2
3
|
export declare const DESIGN_REVIEW_CONTEXT_SCHEMA: Readonly<Record<string, unknown>>;
|
|
3
4
|
export declare const DESIGN_FINGERPRINT_SCHEMA: Readonly<Record<string, unknown>>;
|