@openplanr/protocol 0.18.0 → 0.19.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.
@@ -20,6 +20,9 @@ import {
20
20
  PROTOCOL_V18_CONTRACT_FILES,
21
21
  } from './skill-source-contracts.mjs';
22
22
 
23
+ /** @type {typeof import('./browser-contracts.d.mts').CATALOG_PROTOCOL_VERSION} */
24
+ export const CATALOG_PROTOCOL_VERSION = '1.25.0';
25
+
23
26
  /** @type {typeof import('./browser-contracts.d.mts').PROTOCOL_V15_CONTRACTS} */
24
27
  export const PROTOCOL_V15_CONTRACTS = Object.freeze({
25
28
  'command-catalog': 'command-catalog.schema.json',
package/src/contracts.mjs CHANGED
@@ -230,11 +230,15 @@ const foundationPaths = {
230
230
  '1.23.0': 'schemas/v1.23.0/implementation-result.schema.json',
231
231
  },
232
232
  'rule-catalog': { '1.5.0': 'schemas/v1.5.0/rule-catalog.schema.json' },
233
- 'command-catalog': { '1.5.0': 'schemas/v1.5.0/command-catalog.schema.json' },
233
+ 'command-catalog': {
234
+ '1.5.0': 'schemas/v1.5.0/command-catalog.schema.json',
235
+ '1.25.0': 'schemas/v1.25.0/command-catalog.schema.json',
236
+ },
234
237
  'skill-catalog': {
235
238
  '1.5.0': 'schemas/v1.5.0/skill-catalog.schema.json',
236
239
  '1.6.0': v16Schema('skill-catalog'),
237
240
  '1.7.0': v17Schema('skill-catalog'),
241
+ '1.25.0': 'schemas/v1.25.0/skill-catalog.schema.json',
238
242
  },
239
243
  'output-catalog': { '1.5.0': 'schemas/v1.5.0/output-catalog.schema.json' },
240
244
  'output-path-catalog': { '1.5.0': 'schemas/v1.5.0/output-path-catalog.schema.json' },
@@ -112,7 +112,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
112
112
  },
113
113
  "source": {
114
114
  "path": "agents/po/preflight/planr-database/AGENT.md",
115
- "digest": "sha256:9322833b948d96a0bbf8b5adb577e5c4e6e8765228992f2c206c690890447f65"
115
+ "digest": "sha256:bf2b582a224f4c8baa0aa76709a073e63cf0e09e3230f72d3f3a8a137fad8c1e"
116
116
  },
117
117
  "taskKinds": [
118
118
  "database"
@@ -576,7 +576,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
576
576
  ]
577
577
  }
578
578
  ],
579
- "documentDigest": "sha256:55046ed4cd5bbfae5df429efeb6a122558332035772f90cac4d178717174754e"
579
+ "documentDigest": "sha256:b47026d2cbd5d856f23a945e625139d7f0a665be04b32e04839f29ca3a8e97eb"
580
580
  },
581
581
  "task-kinds.json": {
582
582
  "kind": "task-kind-registry",
@@ -585,7 +585,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
585
585
  "documentVersion": "1.0.0",
586
586
  "digestAlgorithm": "sha256",
587
587
  "canonicalization": "rfc8785",
588
- "roleRegistryDigest": "sha256:55046ed4cd5bbfae5df429efeb6a122558332035772f90cac4d178717174754e",
588
+ "roleRegistryDigest": "sha256:b47026d2cbd5d856f23a945e625139d7f0a665be04b32e04839f29ca3a8e97eb",
589
589
  "bindings": [
590
590
  {
591
591
  "taskKind": "backend",
@@ -796,7 +796,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
796
796
  "precedence": 4
797
797
  }
798
798
  ],
799
- "documentDigest": "sha256:3706b13a36281ba035afba6184ff18690d2934e431623e91b83d904827b5cb7a"
799
+ "documentDigest": "sha256:31f56800cea7bcee01796d5ad89d5d467fae67ac8336bf354e5e7c5310ff49ad"
800
800
  },
801
801
  "rules.json": {
802
802
  "kind": "rule-catalog",
@@ -1062,7 +1062,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
1062
1062
  "commands.json": {
1063
1063
  "kind": "command-catalog",
1064
1064
  "schemaVersion": "1.0.0",
1065
- "protocolVersion": "1.5.0",
1065
+ "protocolVersion": "1.25.0",
1066
1066
  "documentVersion": "1.0.0",
1067
1067
  "digestAlgorithm": "sha256",
1068
1068
  "canonicalization": "rfc8785",
@@ -1417,7 +1417,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
1417
1417
  "ownerPackage": "openplanr",
1418
1418
  "source": {
1419
1419
  "path": "skills/planr-plan/SKILL.md",
1420
- "digest": "sha256:5ff41d809f97bc77ba57d99a41d81afafe9ed132527a5fbddeb414e230d87fc9"
1420
+ "digest": "sha256:cf7b4b0dfc001caf1da3fab7577c60b9200daa41a9889105ff9c1580f82130a6"
1421
1421
  },
1422
1422
  "authorityClass": "workflow",
1423
1423
  "machineJson": false,
@@ -1438,7 +1438,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
1438
1438
  "ownerPackage": "openplanr",
1439
1439
  "source": {
1440
1440
  "path": "docs/generated/utility-command-catalog.json",
1441
- "digest": "sha256:408f518c6185b482eb63f248b31cfbcbcddf845fc2e90555a8fe98ecc5744ffb"
1441
+ "digest": "sha256:aa78028462cd8cd2d88e8b41d6c5ec8c027e49840c48ac1d994bc50064bd9dbf"
1442
1442
  },
1443
1443
  "authorityClass": "workflow",
1444
1444
  "machineJson": false,
@@ -1522,7 +1522,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
1522
1522
  "ownerPackage": "openplanr",
1523
1523
  "source": {
1524
1524
  "path": "packages/cli/src/cli/commands/graph.ts",
1525
- "digest": "sha256:a5dedb6837f16daec574e14643e417a6fd85241ad24c9d270e088ad7c93c2764"
1525
+ "digest": "sha256:3b95ade48104ca9bd607772559d05d0a1617c5f4fdfcbf67678304ae389fa79a"
1526
1526
  },
1527
1527
  "authorityClass": "workflow",
1528
1528
  "machineJson": false,
@@ -1627,7 +1627,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
1627
1627
  "ownerPackage": "openplanr",
1628
1628
  "source": {
1629
1629
  "path": "docs/generated/utility-command-catalog.json",
1630
- "digest": "sha256:408f518c6185b482eb63f248b31cfbcbcddf845fc2e90555a8fe98ecc5744ffb"
1630
+ "digest": "sha256:aa78028462cd8cd2d88e8b41d6c5ec8c027e49840c48ac1d994bc50064bd9dbf"
1631
1631
  },
1632
1632
  "authorityClass": "workflow",
1633
1633
  "machineJson": true,
@@ -1648,7 +1648,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
1648
1648
  "ownerPackage": "openplanr",
1649
1649
  "source": {
1650
1650
  "path": "skills/planr-plan/SKILL.md",
1651
- "digest": "sha256:5ff41d809f97bc77ba57d99a41d81afafe9ed132527a5fbddeb414e230d87fc9"
1651
+ "digest": "sha256:cf7b4b0dfc001caf1da3fab7577c60b9200daa41a9889105ff9c1580f82130a6"
1652
1652
  },
1653
1653
  "authorityClass": "workflow",
1654
1654
  "machineJson": false,
@@ -1690,7 +1690,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
1690
1690
  "ownerPackage": "openplanr",
1691
1691
  "source": {
1692
1692
  "path": "skills/planr-spec/SKILL.md",
1693
- "digest": "sha256:63ab943e7a269f691865b8e3cf68ae160aae0d0ddb71af1834fe50c078ba14a9"
1693
+ "digest": "sha256:e874c8a86a346a6f759bb13e2e9b60483c2eb20a429c2ebad98b68c976d97649"
1694
1694
  },
1695
1695
  "authorityClass": "workflow",
1696
1696
  "machineJson": false,
@@ -1753,7 +1753,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
1753
1753
  "ownerPackage": "openplanr",
1754
1754
  "source": {
1755
1755
  "path": "skills/planr-spec/SKILL.md",
1756
- "digest": "sha256:63ab943e7a269f691865b8e3cf68ae160aae0d0ddb71af1834fe50c078ba14a9"
1756
+ "digest": "sha256:e874c8a86a346a6f759bb13e2e9b60483c2eb20a429c2ebad98b68c976d97649"
1757
1757
  },
1758
1758
  "authorityClass": "workflow",
1759
1759
  "machineJson": false,
@@ -1858,7 +1858,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
1858
1858
  "ownerPackage": "openplanr",
1859
1859
  "source": {
1860
1860
  "path": "packages/cli/src/cli/commands/spec.ts",
1861
- "digest": "sha256:e5d83a8539402ffca8490f646f544ead29509990d9a7e18e78aa49ffb7778f7c"
1861
+ "digest": "sha256:29c629148d85def9e7cc25aa18e04894a0c139a488233b4cdb8c6925f6dd4880"
1862
1862
  },
1863
1863
  "authorityClass": "workflow",
1864
1864
  "machineJson": false,
@@ -1942,7 +1942,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
1942
1942
  "ownerPackage": "openplanr",
1943
1943
  "source": {
1944
1944
  "path": "packages/cli/src/cli/commands/sync.ts",
1945
- "digest": "sha256:0c9d3cc2eb3ea2859c04f66d9c006389e457477626ad27703dc0ec075c521139"
1945
+ "digest": "sha256:cb5b8490f16d518fa7c261895ec5543c2888fa93c0c43600c170fc226b244ffb"
1946
1946
  },
1947
1947
  "authorityClass": "workflow",
1948
1948
  "machineJson": false,
@@ -2152,7 +2152,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2152
2152
  "ownerPackage": "planr-pipeline",
2153
2153
  "source": {
2154
2154
  "path": "skills/planr-plan/SKILL.md",
2155
- "digest": "sha256:5ff41d809f97bc77ba57d99a41d81afafe9ed132527a5fbddeb414e230d87fc9"
2155
+ "digest": "sha256:cf7b4b0dfc001caf1da3fab7577c60b9200daa41a9889105ff9c1580f82130a6"
2156
2156
  },
2157
2157
  "authorityClass": "compatibility-router",
2158
2158
  "machineJson": false,
@@ -2215,7 +2215,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2215
2215
  "ownerPackage": "planr-pipeline",
2216
2216
  "source": {
2217
2217
  "path": "skills/planr-sync/SKILL.md",
2218
- "digest": "sha256:4fb542bc7a0685904b6d6f58ec9fae3c539531793e1933474fbc3c3d34702e24"
2218
+ "digest": "sha256:dd9bcd90a86c15d2f42f10c6a8c508d0455270ba4d9b690d829e5fc400c29ef2"
2219
2219
  },
2220
2220
  "authorityClass": "compatibility-router",
2221
2221
  "machineJson": false,
@@ -2237,7 +2237,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2237
2237
  "ownerPackage": "planr-pipeline",
2238
2238
  "source": {
2239
2239
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2240
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2240
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2241
2241
  },
2242
2242
  "authorityClass": "workflow",
2243
2243
  "machineJson": true,
@@ -2259,7 +2259,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2259
2259
  "ownerPackage": "planr-pipeline",
2260
2260
  "source": {
2261
2261
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2262
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2262
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2263
2263
  },
2264
2264
  "authorityClass": "workflow",
2265
2265
  "machineJson": true,
@@ -2281,7 +2281,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2281
2281
  "ownerPackage": "planr-pipeline",
2282
2282
  "source": {
2283
2283
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2284
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2284
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2285
2285
  },
2286
2286
  "authorityClass": "workflow",
2287
2287
  "machineJson": true,
@@ -2303,7 +2303,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2303
2303
  "ownerPackage": "planr-pipeline",
2304
2304
  "source": {
2305
2305
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2306
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2306
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2307
2307
  },
2308
2308
  "authorityClass": "workflow",
2309
2309
  "machineJson": true,
@@ -2325,7 +2325,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2325
2325
  "ownerPackage": "planr-pipeline",
2326
2326
  "source": {
2327
2327
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2328
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2328
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2329
2329
  },
2330
2330
  "authorityClass": "workflow",
2331
2331
  "machineJson": true,
@@ -2347,7 +2347,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2347
2347
  "ownerPackage": "planr-pipeline",
2348
2348
  "source": {
2349
2349
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2350
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2350
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2351
2351
  },
2352
2352
  "authorityClass": "workflow",
2353
2353
  "machineJson": true,
@@ -2369,7 +2369,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2369
2369
  "ownerPackage": "planr-pipeline",
2370
2370
  "source": {
2371
2371
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2372
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2372
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2373
2373
  },
2374
2374
  "authorityClass": "workflow",
2375
2375
  "machineJson": true,
@@ -2391,7 +2391,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2391
2391
  "ownerPackage": "planr-pipeline",
2392
2392
  "source": {
2393
2393
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2394
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2394
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2395
2395
  },
2396
2396
  "authorityClass": "workflow",
2397
2397
  "machineJson": true,
@@ -2413,7 +2413,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2413
2413
  "ownerPackage": "planr-pipeline",
2414
2414
  "source": {
2415
2415
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2416
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2416
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2417
2417
  },
2418
2418
  "authorityClass": "workflow",
2419
2419
  "machineJson": true,
@@ -2435,7 +2435,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2435
2435
  "ownerPackage": "planr-pipeline",
2436
2436
  "source": {
2437
2437
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2438
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2438
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2439
2439
  },
2440
2440
  "authorityClass": "workflow",
2441
2441
  "machineJson": true,
@@ -2457,7 +2457,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2457
2457
  "ownerPackage": "planr-pipeline",
2458
2458
  "source": {
2459
2459
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2460
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2460
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2461
2461
  },
2462
2462
  "authorityClass": "workflow",
2463
2463
  "machineJson": true,
@@ -2480,7 +2480,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2480
2480
  "ownerPackage": "planr-pipeline",
2481
2481
  "source": {
2482
2482
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2483
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2483
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2484
2484
  },
2485
2485
  "authorityClass": "workflow",
2486
2486
  "machineJson": true,
@@ -2503,7 +2503,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2503
2503
  "ownerPackage": "planr-pipeline",
2504
2504
  "source": {
2505
2505
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2506
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2506
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2507
2507
  },
2508
2508
  "authorityClass": "workflow",
2509
2509
  "machineJson": true,
@@ -2526,7 +2526,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2526
2526
  "ownerPackage": "planr-pipeline",
2527
2527
  "source": {
2528
2528
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2529
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2529
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2530
2530
  },
2531
2531
  "authorityClass": "workflow",
2532
2532
  "machineJson": true,
@@ -2549,7 +2549,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2549
2549
  "ownerPackage": "planr-pipeline",
2550
2550
  "source": {
2551
2551
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2552
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2552
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2553
2553
  },
2554
2554
  "authorityClass": "workflow",
2555
2555
  "machineJson": true,
@@ -2571,7 +2571,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2571
2571
  "ownerPackage": "planr-pipeline",
2572
2572
  "source": {
2573
2573
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2574
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2574
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2575
2575
  },
2576
2576
  "authorityClass": "workflow",
2577
2577
  "machineJson": true,
@@ -2593,7 +2593,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2593
2593
  "ownerPackage": "planr-pipeline",
2594
2594
  "source": {
2595
2595
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2596
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2596
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2597
2597
  },
2598
2598
  "authorityClass": "workflow",
2599
2599
  "machineJson": true,
@@ -2615,7 +2615,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2615
2615
  "ownerPackage": "planr-pipeline",
2616
2616
  "source": {
2617
2617
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2618
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2618
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2619
2619
  },
2620
2620
  "authorityClass": "workflow",
2621
2621
  "machineJson": true,
@@ -2637,7 +2637,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2637
2637
  "ownerPackage": "planr-pipeline",
2638
2638
  "source": {
2639
2639
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2640
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2640
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2641
2641
  },
2642
2642
  "authorityClass": "workflow",
2643
2643
  "machineJson": true,
@@ -2659,7 +2659,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2659
2659
  "ownerPackage": "planr-pipeline",
2660
2660
  "source": {
2661
2661
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2662
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2662
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2663
2663
  },
2664
2664
  "authorityClass": "workflow",
2665
2665
  "machineJson": true,
@@ -2681,7 +2681,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2681
2681
  "ownerPackage": "planr-pipeline",
2682
2682
  "source": {
2683
2683
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2684
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2684
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2685
2685
  },
2686
2686
  "authorityClass": "workflow",
2687
2687
  "machineJson": true,
@@ -2703,7 +2703,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2703
2703
  "ownerPackage": "planr-pipeline",
2704
2704
  "source": {
2705
2705
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2706
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2706
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2707
2707
  },
2708
2708
  "authorityClass": "workflow",
2709
2709
  "machineJson": true,
@@ -2725,7 +2725,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2725
2725
  "ownerPackage": "planr-pipeline",
2726
2726
  "source": {
2727
2727
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2728
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2728
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2729
2729
  },
2730
2730
  "authorityClass": "workflow",
2731
2731
  "machineJson": true,
@@ -2747,7 +2747,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2747
2747
  "ownerPackage": "planr-pipeline",
2748
2748
  "source": {
2749
2749
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2750
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2750
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2751
2751
  },
2752
2752
  "authorityClass": "workflow",
2753
2753
  "machineJson": true,
@@ -2769,7 +2769,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2769
2769
  "ownerPackage": "planr-pipeline",
2770
2770
  "source": {
2771
2771
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2772
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2772
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2773
2773
  },
2774
2774
  "authorityClass": "workflow",
2775
2775
  "machineJson": true,
@@ -2791,7 +2791,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2791
2791
  "ownerPackage": "planr-pipeline",
2792
2792
  "source": {
2793
2793
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2794
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2794
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2795
2795
  },
2796
2796
  "authorityClass": "workflow",
2797
2797
  "machineJson": true,
@@ -2813,7 +2813,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2813
2813
  "ownerPackage": "planr-pipeline",
2814
2814
  "source": {
2815
2815
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2816
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2816
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2817
2817
  },
2818
2818
  "authorityClass": "workflow",
2819
2819
  "machineJson": true,
@@ -2835,7 +2835,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2835
2835
  "ownerPackage": "planr-pipeline",
2836
2836
  "source": {
2837
2837
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2838
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2838
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2839
2839
  },
2840
2840
  "authorityClass": "workflow",
2841
2841
  "machineJson": true,
@@ -2857,7 +2857,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2857
2857
  "ownerPackage": "planr-pipeline",
2858
2858
  "source": {
2859
2859
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2860
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2860
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2861
2861
  },
2862
2862
  "authorityClass": "workflow",
2863
2863
  "machineJson": true,
@@ -2879,7 +2879,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2879
2879
  "ownerPackage": "planr-pipeline",
2880
2880
  "source": {
2881
2881
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2882
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2882
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2883
2883
  },
2884
2884
  "authorityClass": "workflow",
2885
2885
  "machineJson": true,
@@ -2901,7 +2901,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
2901
2901
  "ownerPackage": "planr-pipeline",
2902
2902
  "source": {
2903
2903
  "path": "packages/pipeline/bin/openplanr-pipeline.mjs",
2904
- "digest": "sha256:a5f2874b2fc8ce7f8a2db5934923bfc54dd90914b6c1ba1b8c6ddc66cc92153f"
2904
+ "digest": "sha256:1b76f1405af5a3129d8f5fe414042b3e42316ff63f1f2176af479d2f4116ac1c"
2905
2905
  },
2906
2906
  "authorityClass": "workflow",
2907
2907
  "machineJson": true,
@@ -3008,13 +3008,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
3008
3008
  "packages/cli/tests/unit/command-registration-parity.test.ts"
3009
3009
  ]
3010
3010
  }
3011
- ],
3012
- "documentDigest": "sha256:7af148e74d70d49c36211cdd5f0553e343bce094b32686d61e83ca8942e0e252"
3011
+ ]
3013
3012
  },
3014
3013
  "skills.json": {
3015
3014
  "kind": "skill-catalog",
3016
3015
  "schemaVersion": "1.0.0",
3017
- "protocolVersion": "1.5.0",
3016
+ "protocolVersion": "1.25.0",
3018
3017
  "documentVersion": "1.0.0",
3019
3018
  "digestAlgorithm": "sha256",
3020
3019
  "canonicalization": "rfc8785",
@@ -3693,12 +3692,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
3693
3692
  },
3694
3693
  {
3695
3694
  "skillId": "planr-delegate",
3696
- "skillVersion": "0.1.1",
3695
+ "skillVersion": "0.2.0",
3697
3696
  "description": "Coordinate an explicitly requested implementation with Claude Code, Codex or Cursor, then independently review and integrate its observed changes. Use when the user asks another coding agent to implement.",
3698
3697
  "lifecycle": "active",
3699
3698
  "authorityClass": "implementation",
3700
3699
  "source": "skills/planr-delegate/openplanr.skill.json",
3701
- "sourceDigest": "sha256:f6a7e2a965dff4dab0f6414ae0bcb7289903dfbc2022a88d0528b8b9c0ea2c91",
3700
+ "sourceDigest": "sha256:b966f9e694e90d31202d9814290ab0d97efe6c0cafe495a4809230d5df3d6a8d",
3702
3701
  "triggerPolicy": {
3703
3702
  "include": [
3704
3703
  "Delegate implementation to another coding agent",
@@ -3763,12 +3762,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
3763
3762
  },
3764
3763
  {
3765
3764
  "skillId": "planr-design",
3766
- "skillVersion": "2.1.1",
3765
+ "skillVersion": "2.1.2",
3767
3766
  "description": "Design a polished product interface through adaptive consultation, a shared canvas/prototype/walkthrough studio, and an implementation-ready specification. Use for a new design or an existing interface that needs a coherent direction.",
3768
3767
  "lifecycle": "active",
3769
3768
  "authorityClass": "planning-write",
3770
3769
  "source": "skills/planr-design/openplanr.skill.json",
3771
- "sourceDigest": "sha256:da6e4b51fa16e55425d9d7460dcdceab4cfc414f20050d532464a76d988d34b8",
3770
+ "sourceDigest": "sha256:cbfdee1cd28659b8873869cb4818bb492e5bdac772a4a118b388d0a270871152",
3772
3771
  "triggerPolicy": {
3773
3772
  "include": [
3774
3773
  "Create an initial product design direction",
@@ -3824,12 +3823,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
3824
3823
  },
3825
3824
  {
3826
3825
  "skillId": "planr-design-loop",
3827
- "skillVersion": "2.0.1",
3826
+ "skillVersion": "2.0.2",
3828
3827
  "description": "Compare three materially different product design directions in a live review studio, collect pins and ratings, and develop the selected direction. Use for visual alternatives, comparison or a remix.",
3829
3828
  "lifecycle": "active",
3830
3829
  "authorityClass": "planning-write",
3831
3830
  "source": "skills/planr-design-loop/openplanr.skill.json",
3832
- "sourceDigest": "sha256:f96a6bceaaabff1acbdaad257ee0d602705305661c102bc22c21b2d40db50f6f",
3831
+ "sourceDigest": "sha256:0f562caa714f68b8b2a48899fe6a41dbd7ed041f9f60aeaf6a74f5a31da4e762",
3833
3832
  "triggerPolicy": {
3834
3833
  "include": [
3835
3834
  "Explore multiple design directions or variants",
@@ -3885,12 +3884,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
3885
3884
  },
3886
3885
  {
3887
3886
  "skillId": "planr-design-review",
3888
- "skillVersion": "2.1.1",
3887
+ "skillVersion": "2.1.2",
3889
3888
  "description": "Review and revise an existing product design using stable board pins and scoped browser-verified changes. Use for focused improvements while preserving unrelated screens and feedback.",
3890
3889
  "lifecycle": "active",
3891
3890
  "authorityClass": "review-evidence",
3892
3891
  "source": "skills/planr-design-review/openplanr.skill.json",
3893
- "sourceDigest": "sha256:3151d0c1d1e306305256271abfbbab7408ce55b178868159ec9d82f426de499b",
3892
+ "sourceDigest": "sha256:443e581bd1f590734359192689607175d8a9c1cde7a91e9402b14da7a9237564",
3894
3893
  "triggerPolicy": {
3895
3894
  "include": [
3896
3895
  "Review or critique an existing OpenPlanr design",
@@ -4318,12 +4317,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
4318
4317
  },
4319
4318
  {
4320
4319
  "skillId": "planr-plan",
4321
- "skillVersion": "1.5.0",
4320
+ "skillVersion": "1.6.0",
4322
4321
  "description": "Turn a Protocol-compatible specification or product intent into schema-compatible OpenPlanr stories and implementation tasks. Use for planning and decomposition, not implementation.",
4323
4322
  "lifecycle": "active",
4324
4323
  "authorityClass": "planning-write",
4325
4324
  "source": "skills/planr-plan/openplanr.skill.json",
4326
- "sourceDigest": "sha256:f0f14bc031b18945eea6bce2a733c1038ee623d6eee95afbd61809cb534c56c7",
4325
+ "sourceDigest": "sha256:74a76845fa903eb29b67b1627295420a7a47107774ea72d1f58be1d731d8a8cf",
4327
4326
  "triggerPolicy": {
4328
4327
  "include": [
4329
4328
  "Decompose a specification into user stories and implementation tasks",
@@ -4377,12 +4376,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
4377
4376
  },
4378
4377
  {
4379
4378
  "skillId": "planr-plan-review",
4380
- "skillVersion": "1.1.0",
4379
+ "skillVersion": "1.2.0",
4381
4380
  "description": "Review an OpenPlanr plan for product, engineering, design, and developer-experience problems. Use after planning and before implementation to improve the plan.",
4382
4381
  "lifecycle": "active",
4383
4382
  "authorityClass": "review-evidence",
4384
4383
  "source": "skills/planr-plan-review/openplanr.skill.json",
4385
- "sourceDigest": "sha256:a307b480a249f03ea88fb89672c369a5773fb92c89156a7e96b02d2a0c6bc0d1",
4384
+ "sourceDigest": "sha256:7809b687c81e71f19c1e83cedc8104a6ba857c016e7058b44f099d1231aca6e1",
4386
4385
  "triggerPolicy": {
4387
4386
  "include": [
4388
4387
  "Review an implementation plan for product, engineering, design, and developer-experience problems",
@@ -4436,12 +4435,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
4436
4435
  },
4437
4436
  {
4438
4437
  "skillId": "planr-release",
4439
- "skillVersion": "1.3.0",
4438
+ "skillVersion": "1.4.0",
4440
4439
  "description": "Choose and maintain a product's versioning scheme, classify shipped changes, and write user-facing changelogs or release notes. Use for SemVer or CalVer decisions, version bumps, release cadence, and preparing a versioned release after landing.",
4441
4440
  "lifecycle": "active",
4442
4441
  "authorityClass": "release-preparation",
4443
4442
  "source": "skills/planr-release/openplanr.skill.json",
4444
- "sourceDigest": "sha256:167271f868b1f82de306fb66444c6bb3541cfb7ca553f602213922336618d3f8",
4443
+ "sourceDigest": "sha256:c3def69f96b24589059b00c425de62981ac7f705d70611e8f43d6cd2dd2dc0e8",
4445
4444
  "triggerPolicy": {
4446
4445
  "include": [
4447
4446
  "Choose the next SemVer or CalVer version and write user-facing release notes",
@@ -4634,12 +4633,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
4634
4633
  },
4635
4634
  {
4636
4635
  "skillId": "planr-spec",
4637
- "skillVersion": "1.1.0",
4636
+ "skillVersion": "1.2.0",
4638
4637
  "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.",
4639
4638
  "lifecycle": "active",
4640
4639
  "authorityClass": "planning-write",
4641
4640
  "source": "skills/planr-spec/openplanr.skill.json",
4642
- "sourceDigest": "sha256:bfcf20909007f5698b205c552efbbe4366e76884df7dbdc9cca7ef02a47c3eb1",
4641
+ "sourceDigest": "sha256:02ebd36e5c211ca734d81a0ea91796ed897252fbe1e8590775146e5ffbcb46e0",
4643
4642
  "triggerPolicy": {
4644
4643
  "include": [
4645
4644
  "Turn vague product or engineering intent into a precise specification",
@@ -4816,12 +4815,12 @@ export const CANONICAL_REGISTRIES = deepFreeze({
4816
4815
  },
4817
4816
  {
4818
4817
  "skillId": "planr-sync",
4819
- "skillVersion": "1.0.1",
4818
+ "skillVersion": "1.1.0",
4820
4819
  "description": "Audit OpenPlanr planning artifacts for graph and protocol drift. Use when statuses, references, schemas, or generated planning views may be inconsistent.",
4821
4820
  "lifecycle": "active",
4822
4821
  "authorityClass": "planning-write",
4823
4822
  "source": "skills/planr-sync/openplanr.skill.json",
4824
- "sourceDigest": "sha256:c8061714181e6f4e330c65ba033a3586bf4118352e778865e3e3e0e802ad2cf6",
4823
+ "sourceDigest": "sha256:9becb7838e59bcd705a35e6227b89ef05bda75bb34167a299d75d3cc64d04369",
4825
4824
  "triggerPolicy": {
4826
4825
  "include": [
4827
4826
  "Audit planning artifacts for graph, schema, or protocol drift",
@@ -4876,8 +4875,7 @@ export const CANONICAL_REGISTRIES = deepFreeze({
4876
4875
  ]
4877
4876
  }
4878
4877
  ],
4879
- "compatibilityAliases": [],
4880
- "documentDigest": "sha256:8cd6ae30df680d6b4d3789f1f42d52219649f49b62c9503249c6c30bccc3575c"
4878
+ "compatibilityAliases": []
4881
4879
  },
4882
4880
  "outputs.json": {
4883
4881
  "kind": "output-catalog",
@@ -1,4 +1,6 @@
1
1
  // @ts-check
2
+
3
+ import { CATALOG_PROTOCOL_VERSION } from './browser-contracts.mjs';
2
4
  import { verifyDocumentDigest } from './canonical-json.mjs';
3
5
  import { PROTOCOL_ERROR_CODES, ProtocolError } from './errors.mjs';
4
6
  import { CANONICAL_REGISTRIES } from './generated/canonical-registries.mjs';
@@ -9,20 +11,29 @@ const fail = (code, message, details) => {
9
11
  };
10
12
  const equal = (left, right) => JSON.stringify(left) === JSON.stringify(right);
11
13
 
14
+ const UNDIGESTED_CATALOG_KINDS = new Set(['command-catalog', 'skill-catalog']);
15
+
16
+ /** Accepts a digest-bound Protocol 1.5 document, or a Protocol 1.25 command or skill catalog without a digest. */
12
17
  function assertDocument(name, value, kind) {
18
+ const undigested =
19
+ UNDIGESTED_CATALOG_KINDS.has(kind) &&
20
+ value?.protocolVersion === CATALOG_PROTOCOL_VERSION &&
21
+ !Object.hasOwn(value, 'documentDigest');
13
22
  if (
14
23
  !value ||
15
24
  typeof value !== 'object' ||
16
25
  Array.isArray(value) ||
17
26
  value.kind !== kind ||
18
- value.protocolVersion !== '1.5.0' ||
27
+ (!undigested && value.protocolVersion !== '1.5.0') ||
19
28
  value.digestAlgorithm !== 'sha256' ||
20
29
  value.canonicalization !== 'rfc8785' ||
21
- !verifyDocumentDigest(value)
30
+ (!undigested && !verifyDocumentDigest(value))
22
31
  ) {
23
32
  fail(
24
33
  PROTOCOL_ERROR_CODES.DOCUMENT_INVALID,
25
- `${name} is not a digest-bound Protocol 1.5 document.`,
34
+ undigested
35
+ ? `${name} is not a valid Protocol ${CATALOG_PROTOCOL_VERSION} catalog.`
36
+ : `${name} is not a digest-bound Protocol 1.5 document.`,
26
37
  { name },
27
38
  );
28
39
  }