planr 1.10.0-alpha.9 → 2.0.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.
Files changed (126) hide show
  1. package/.claude-plugin/plugin.json +11 -0
  2. package/CHANGELOG.md +20 -0
  3. package/README.md +27 -245
  4. package/docs/board.md +44 -0
  5. package/docs/cli.md +100 -0
  6. package/docs/concepts.md +133 -0
  7. package/docs/contract.md +150 -0
  8. package/docs/plugins/bb.md +49 -0
  9. package/docs/plugins/claude-code.md +84 -0
  10. package/docs/plugins/codex.md +77 -0
  11. package/docs/quickstart.md +307 -0
  12. package/docs/setup.md +103 -0
  13. package/package.json +21 -68
  14. package/plugin.json +12 -0
  15. package/skills/planr/SKILL.md +64 -0
  16. package/skills/planr/assets/board/fonts/LICENSE-mona-sans.txt +93 -0
  17. package/skills/planr/assets/board/fonts/LICENSE-monaspace.txt +93 -0
  18. package/skills/planr/assets/board/fonts/MonaSans-Variable.woff2 +0 -0
  19. package/skills/planr/assets/board/fonts/MonaspaceNeon-400.woff2 +0 -0
  20. package/skills/planr/assets/board/fonts/MonaspaceNeon-500.woff2 +0 -0
  21. package/skills/planr/assets/board/fonts/MonaspaceNeon-600.woff2 +0 -0
  22. package/skills/planr/assets/board/template.html +788 -0
  23. package/skills/planr/assets/templates/goal.md +13 -0
  24. package/skills/planr/assets/templates/hook.sh +4 -0
  25. package/skills/planr/assets/templates/in-repo.config.json +6 -0
  26. package/skills/planr/assets/templates/planr.config.json +6 -0
  27. package/skills/planr/assets/templates/tasks-README.md +14 -0
  28. package/skills/planr/references/format.md +88 -0
  29. package/skills/planr/references/work-a-goal.md +62 -0
  30. package/skills/planr/scripts/lib/board.mjs +39 -0
  31. package/skills/planr/scripts/lib/graph.mjs +345 -0
  32. package/skills/planr/scripts/lib/runs.mjs +127 -0
  33. package/skills/planr/scripts/lib/version.mjs +11 -0
  34. package/skills/planr/scripts/planr.mjs +386 -0
  35. package/docs/ARCHITECTURE.md +0 -136
  36. package/docs/RELEASE.md +0 -275
  37. package/docs/SWITCHLOOM_COMPATIBILITY.md +0 -14
  38. package/docs/contracts/BROWSER_HARNESS_ADAPTER_V1.md +0 -75
  39. package/docs/contracts/EVAL_CONTRACT_V1.md +0 -2072
  40. package/docs/contracts/EVIDENCE_ADAPTER_PROTOCOL_V1.md +0 -98
  41. package/docs/contracts/EVIDENCE_CONTRACT_V1.md +0 -382
  42. package/docs/contracts/GROK_INTEGRATION_V1.md +0 -139
  43. package/docs/contracts/LINUX_RELEASE_PORTABILITY.json +0 -9
  44. package/docs/contracts/PI_INTEGRATION_V1.md +0 -164
  45. package/docs/contracts/V1_1_DIFFERENTIATION_CONTRACT.md +0 -177
  46. package/docs/contracts/fixtures/evidence/v1/examples/coverage-verdict.json +0 -66
  47. package/docs/contracts/fixtures/evidence/v1/examples/evidence-attempt.json +0 -39
  48. package/docs/contracts/fixtures/evidence/v1/examples/evidence-policy.json +0 -108
  49. package/docs/contracts/fixtures/evidence/v1/examples/evidence-receipt.json +0 -93
  50. package/docs/contracts/fixtures/evidence/v1/examples/evidence-waiver.json +0 -31
  51. package/docs/contracts/fixtures/evidence/v1/examples/proof-obligation.json +0 -55
  52. package/docs/contracts/fixtures/evidence/v1/examples/proof-preset.json +0 -19
  53. package/docs/contracts/fixtures/evidence/v1/examples/untrusted-evidence-proposal.json +0 -20
  54. package/docs/contracts/fixtures/evidence/v1/examples/verification-capability-instance.json +0 -39
  55. package/docs/contracts/fixtures/evidence/v1/examples/verification-capability-manifest.json +0 -52
  56. package/docs/contracts/fixtures/evidence/v1/negative/aborted-zero-exit-attempt.json +0 -39
  57. package/docs/contracts/fixtures/evidence/v1/negative/adapter-registration-missing-execution-contract.json +0 -88
  58. package/docs/contracts/fixtures/evidence/v1/negative/available-empty-probe-capability.json +0 -27
  59. package/docs/contracts/fixtures/evidence/v1/negative/blocked-coverage-with-stale-reason.json +0 -27
  60. package/docs/contracts/fixtures/evidence/v1/negative/empty-trust-bindings-receipt.json +0 -72
  61. package/docs/contracts/fixtures/evidence/v1/negative/failed-zero-exit-attempt.json +0 -39
  62. package/docs/contracts/fixtures/evidence/v1/negative/forged-trusted-receipt.json +0 -35
  63. package/docs/contracts/fixtures/evidence/v1/negative/inconclusive-clean-exit-attempt.json +0 -39
  64. package/docs/contracts/fixtures/evidence/v1/negative/inconclusive-coverage-with-blocked-reason.json +0 -27
  65. package/docs/contracts/fixtures/evidence/v1/negative/minimal-policy-missing-owned-inputs.json +0 -5
  66. package/docs/contracts/fixtures/evidence/v1/negative/mismatched-probe-execution-id-capability.json +0 -42
  67. package/docs/contracts/fixtures/evidence/v1/negative/passed-empty-attempt.json +0 -22
  68. package/docs/contracts/fixtures/evidence/v1/negative/policy-default-preset-unregistered.json +0 -102
  69. package/docs/contracts/fixtures/evidence/v1/negative/policy-weakening-without-waiver.json +0 -102
  70. package/docs/contracts/fixtures/evidence/v1/negative/process-probe-missing-output-limits.json +0 -49
  71. package/docs/contracts/fixtures/evidence/v1/negative/satisfied-empty-coverage-verdict.json +0 -14
  72. package/docs/contracts/fixtures/evidence/v1/negative/skipped-zero-exit-attempt.json +0 -39
  73. package/docs/contracts/fixtures/evidence/v1/negative/stale-coverage-with-inconclusive-reason.json +0 -27
  74. package/docs/contracts/fixtures/evidence/v1/negative/timed-out-zero-exit-attempt.json +0 -39
  75. package/docs/contracts/fixtures/evidence/v1/negative/unavailable-zero-exit-attempt.json +0 -39
  76. package/docs/contracts/fixtures/evidence/v1/negative/unbound-waiver.json +0 -21
  77. package/docs/contracts/fixtures/evidence/v1/negative/unsatisfied-coverage-without-gap.json +0 -63
  78. package/docs/contracts/fixtures/evidence/v1/negative/waived-coverage-forbidden-gap-reason.json +0 -28
  79. package/docs/contracts/fixtures/evidence/v1/negative/waived-coverage-missing-waiver-id.json +0 -27
  80. package/docs/contracts/fixtures/evidence/v1/schemas/evidence-contract-v1.schema.json +0 -2685
  81. package/docs/contracts/schemas/com.planr.web.dom_state.v1.schema.json +0 -30
  82. package/docs/documentation/CONTRACT.md +0 -164
  83. package/docs/documentation/COVERAGE.md +0 -98
  84. package/docs/documentation/INFORMATION_ARCHITECTURE.md +0 -151
  85. package/docs/fixtures/mcp-contract.json +0 -153
  86. package/npm/bin/native-launcher.js +0 -67
  87. package/npm/bin/planr-browser-harness-adapter.js +0 -8
  88. package/npm/bin/planr.js +0 -8
  89. package/npm/native/darwin-arm64/planr +0 -0
  90. package/npm/native/darwin-arm64/planr-browser-harness-adapter +0 -0
  91. package/npm/native/darwin-arm64/planr-host-capability-validator +0 -0
  92. package/npm/native/darwin-x86_64/planr +0 -0
  93. package/npm/native/darwin-x86_64/planr-browser-harness-adapter +0 -0
  94. package/npm/native/darwin-x86_64/planr-host-capability-validator +0 -0
  95. package/npm/native/linux-arm64/planr +0 -0
  96. package/npm/native/linux-arm64/planr-browser-harness-adapter +0 -0
  97. package/npm/native/linux-arm64/planr-host-capability-validator +0 -0
  98. package/npm/native/linux-x86_64/planr +0 -0
  99. package/npm/native/linux-x86_64/planr-browser-harness-adapter +0 -0
  100. package/npm/native/linux-x86_64/planr-host-capability-validator +0 -0
  101. package/plugins/planr/.claude-plugin/plugin.json +0 -11
  102. package/plugins/planr/.codex-plugin/plugin.json +0 -25
  103. package/plugins/planr/agents/pi/planr-reviewer.md +0 -20
  104. package/plugins/planr/agents/pi/planr-worker.md +0 -35
  105. package/plugins/planr/agents/planr-reviewer.md +0 -21
  106. package/plugins/planr/agents/planr-worker.md +0 -40
  107. package/plugins/planr/skills/planr/SKILL.md +0 -60
  108. package/plugins/planr/skills/planr-goal/SKILL.md +0 -52
  109. package/plugins/planr/skills/planr-loop/SKILL.md +0 -126
  110. package/plugins/planr/skills/planr-loop/agents/planr-reviewer.md +0 -21
  111. package/plugins/planr/skills/planr-loop/agents/planr-worker.md +0 -36
  112. package/plugins/planr/skills/planr-loop/references/host-dispatch.md +0 -52
  113. package/plugins/planr/skills/planr-loop/references/recovery-and-verification.md +0 -26
  114. package/plugins/planr/skills/planr-plan/SKILL.md +0 -86
  115. package/plugins/planr/skills/planr-review/SKILL.md +0 -55
  116. package/plugins/planr/skills/planr-status/SKILL.md +0 -52
  117. package/plugins/planr/skills/planr-summary/SKILL.md +0 -30
  118. package/plugins/planr/skills/planr-task-graph/SKILL.md +0 -67
  119. package/plugins/planr/skills/planr-verify-web/SKILL.md +0 -62
  120. package/plugins/planr/skills/planr-work/SKILL.md +0 -93
  121. package/scripts/host-capability-experiment.mjs +0 -2481
  122. package/scripts/host-capability-runtime/v1/schemas/host-capability-expected-manifest.schema.json +0 -377
  123. package/scripts/host-capability-runtime/v1/schemas/host-capability-observed-raw.schema.json +0 -439
  124. package/scripts/host-capability-runtime/v1/schemas/host-capability-provenance.schema.json +0 -178
  125. package/scripts/planr-host-capability-validator +0 -57
  126. /package/{LICENSE.md → LICENSE} +0 -0
@@ -1,377 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "planr.host_capability_expected_manifest.schema.v1",
4
- "type": "object",
5
- "additionalProperties": false,
6
- "required": [
7
- "schema_version",
8
- "payload_version",
9
- "suite_id",
10
- "schema_refs",
11
- "provenance_ref",
12
- "capability_instances"
13
- ],
14
- "properties": {
15
- "schema_version": {
16
- "const": "planr.host_capability_expected_manifest.v1"
17
- },
18
- "payload_version": {
19
- "type": "string",
20
- "minLength": 1
21
- },
22
- "suite_id": {
23
- "type": "string",
24
- "minLength": 1
25
- },
26
- "schema_refs": {
27
- "type": "object",
28
- "additionalProperties": false,
29
- "required": [
30
- "raw",
31
- "expected",
32
- "provenance"
33
- ],
34
- "properties": {
35
- "raw": {
36
- "type": "object",
37
- "additionalProperties": false,
38
- "required": [
39
- "path",
40
- "digest"
41
- ],
42
- "properties": {
43
- "path": {
44
- "type": "string",
45
- "minLength": 1
46
- },
47
- "digest": {
48
- "type": "string",
49
- "pattern": "^sha256:[0-9a-f]{64}$"
50
- }
51
- }
52
- },
53
- "expected": {
54
- "type": "object",
55
- "additionalProperties": false,
56
- "required": [
57
- "path",
58
- "digest"
59
- ],
60
- "properties": {
61
- "path": {
62
- "type": "string",
63
- "minLength": 1
64
- },
65
- "digest": {
66
- "type": "string",
67
- "pattern": "^sha256:[0-9a-f]{64}$"
68
- }
69
- }
70
- },
71
- "provenance": {
72
- "type": "object",
73
- "additionalProperties": false,
74
- "required": [
75
- "path",
76
- "digest"
77
- ],
78
- "properties": {
79
- "path": {
80
- "type": "string",
81
- "minLength": 1
82
- },
83
- "digest": {
84
- "type": "string",
85
- "pattern": "^sha256:[0-9a-f]{64}$"
86
- }
87
- }
88
- }
89
- }
90
- },
91
- "provenance_ref": {
92
- "type": "object",
93
- "additionalProperties": false,
94
- "required": [
95
- "path",
96
- "digest"
97
- ],
98
- "properties": {
99
- "path": {
100
- "type": "string",
101
- "minLength": 1
102
- },
103
- "digest": {
104
- "type": "string",
105
- "pattern": "^sha256:[0-9a-f]{64}$"
106
- }
107
- }
108
- },
109
- "capability_instances": {
110
- "type": "array",
111
- "minItems": 1,
112
- "items": {
113
- "type": "object",
114
- "additionalProperties": false,
115
- "required": [
116
- "raw_capture_id",
117
- "claim_source",
118
- "trusted_adapter_enabled",
119
- "manifest_ref",
120
- "provenance_ref",
121
- "capability_instance"
122
- ],
123
- "properties": {
124
- "raw_capture_id": {
125
- "type": "string",
126
- "minLength": 1
127
- },
128
- "claim_source": {
129
- "type": "string",
130
- "minLength": 1
131
- },
132
- "trusted_adapter_enabled": {
133
- "const": false
134
- },
135
- "manifest_ref": {
136
- "type": "object",
137
- "additionalProperties": false,
138
- "required": [
139
- "path",
140
- "digest"
141
- ],
142
- "properties": {
143
- "path": {
144
- "type": "string",
145
- "minLength": 1
146
- },
147
- "digest": {
148
- "type": "string",
149
- "pattern": "^sha256:[0-9a-f]{64}$"
150
- }
151
- }
152
- },
153
- "provenance_ref": {
154
- "type": "object",
155
- "additionalProperties": false,
156
- "required": [
157
- "path",
158
- "digest"
159
- ],
160
- "properties": {
161
- "path": {
162
- "type": "string",
163
- "minLength": 1
164
- },
165
- "digest": {
166
- "type": "string",
167
- "pattern": "^sha256:[0-9a-f]{64}$"
168
- }
169
- }
170
- },
171
- "capability_instance": {
172
- "type": "object",
173
- "additionalProperties": false,
174
- "required": [
175
- "id",
176
- "schema_version",
177
- "manifest_id",
178
- "manifest_digest",
179
- "host",
180
- "surface",
181
- "host_version",
182
- "adapter_version",
183
- "environment",
184
- "permissions",
185
- "availability",
186
- "probe_result",
187
- "observed_payload_contract",
188
- "limitations",
189
- "captured_at"
190
- ],
191
- "properties": {
192
- "id": {
193
- "type": "string",
194
- "minLength": 1
195
- },
196
- "schema_version": {
197
- "const": "evidence.contract.v1"
198
- },
199
- "manifest_id": {
200
- "type": "string",
201
- "minLength": 1
202
- },
203
- "manifest_digest": {
204
- "type": "string",
205
- "pattern": "^sha256:[0-9a-f]{64}$"
206
- },
207
- "host": {
208
- "type": "string",
209
- "minLength": 1
210
- },
211
- "surface": {
212
- "type": "string",
213
- "minLength": 1
214
- },
215
- "host_version": {
216
- "type": "string",
217
- "minLength": 1
218
- },
219
- "adapter_version": {
220
- "type": "string",
221
- "minLength": 1
222
- },
223
- "environment": {
224
- "type": "object",
225
- "additionalProperties": false,
226
- "required": [
227
- "kind",
228
- "id",
229
- "digest"
230
- ],
231
- "properties": {
232
- "kind": {
233
- "type": "string",
234
- "minLength": 1
235
- },
236
- "id": {
237
- "type": "string",
238
- "minLength": 1
239
- },
240
- "digest": {
241
- "type": "string",
242
- "pattern": "^sha256:[0-9a-f]{64}$"
243
- }
244
- }
245
- },
246
- "permissions": {
247
- "type": "object",
248
- "additionalProperties": false,
249
- "required": [
250
- "network",
251
- "filesystem"
252
- ],
253
- "properties": {
254
- "network": {
255
- "type": "string",
256
- "minLength": 1
257
- },
258
- "filesystem": {
259
- "type": "string",
260
- "minLength": 1
261
- },
262
- "environment": {
263
- "type": "string",
264
- "minLength": 1
265
- },
266
- "secrets": {
267
- "type": "string",
268
- "minLength": 1
269
- }
270
- }
271
- },
272
- "availability": {
273
- "type": "object",
274
- "additionalProperties": false,
275
- "required": [
276
- "status"
277
- ],
278
- "properties": {
279
- "status": {
280
- "type": "string",
281
- "minLength": 1
282
- },
283
- "reason": {
284
- "type": "string",
285
- "minLength": 1
286
- }
287
- }
288
- },
289
- "probe_result": {
290
- "type": "object",
291
- "additionalProperties": false,
292
- "required": [
293
- "probe_execution_id",
294
- "outcome",
295
- "observed_at",
296
- "checks"
297
- ],
298
- "properties": {
299
- "probe_execution_id": {
300
- "type": "string",
301
- "minLength": 1
302
- },
303
- "outcome": {
304
- "type": "string",
305
- "minLength": 1
306
- },
307
- "observed_at": {
308
- "type": "string",
309
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
310
- },
311
- "checks": {
312
- "type": "array",
313
- "minItems": 1,
314
- "items": {
315
- "type": "object",
316
- "additionalProperties": false,
317
- "required": [
318
- "name",
319
- "outcome"
320
- ],
321
- "properties": {
322
- "name": {
323
- "type": "string",
324
- "minLength": 1
325
- },
326
- "outcome": {
327
- "type": "string",
328
- "minLength": 1
329
- },
330
- "detail": {
331
- "type": "string",
332
- "minLength": 1
333
- }
334
- }
335
- }
336
- }
337
- }
338
- },
339
- "observed_payload_contract": {
340
- "type": "object",
341
- "additionalProperties": false,
342
- "required": [
343
- "schema_ref",
344
- "observation_types"
345
- ],
346
- "properties": {
347
- "schema_ref": {
348
- "type": "string",
349
- "minLength": 1
350
- },
351
- "observation_types": {
352
- "type": "array",
353
- "items": {
354
- "type": "string",
355
- "minLength": 1
356
- }
357
- }
358
- }
359
- },
360
- "limitations": {
361
- "type": "array",
362
- "items": {
363
- "type": "string",
364
- "minLength": 1
365
- }
366
- },
367
- "captured_at": {
368
- "type": "string",
369
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
370
- }
371
- }
372
- }
373
- }
374
- }
375
- }
376
- }
377
- }