@unbrained/pm-cli 2026.10.10 → 2026.10.11

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 (79) hide show
  1. package/.claude-plugin/marketplace.json +1 -36
  2. package/CHANGELOG.md +13 -4
  3. package/dist/cli-bundle/bundle-manifest.json +1 -382
  4. package/dist/cli-bundle/sdk-governance.js +1 -1
  5. package/dist/cli-bundle/sdk.js +9 -9
  6. package/dist/sdk/governance/artifact-ledgers.d.ts +59 -0
  7. package/dist/sdk/governance/artifact-ledgers.js +2 -0
  8. package/dist/sdk/governance.d.ts +1 -0
  9. package/dist/sdk/governance.js +1 -1
  10. package/dist/sdk/public-surface.json +1 -1
  11. package/docs/RELEASE_LEDGER_RECONCILIATION.md +148 -0
  12. package/docs/RELEASE_RELIABILITY.md +4 -0
  13. package/docs/RELEASING.md +34 -5
  14. package/docs/agent-task-token-baseline.json +1 -292
  15. package/docs/agent-task-transcripts.json +1 -478
  16. package/docs/ecosystem-review-2026-09-28.json +1 -2866
  17. package/docs/examples/policy-restricted-extension/manifest.json +1 -22
  18. package/docs/examples/policy-restricted-extension/package.json +1 -8
  19. package/docs/examples/sdk-agent-environment/package.json +1 -8
  20. package/docs/examples/sdk-app-embedding/package.json +1 -9
  21. package/docs/examples/sdk-contract-consumer/package.json +1 -11
  22. package/docs/examples/sdk-custom-tool/package.json +1 -13
  23. package/docs/examples/starter-extension/manifest.json +1 -33
  24. package/docs/examples/starter-extension/package.json +1 -10
  25. package/docs/performance/corpus-shape-comparison.json +1 -108
  26. package/docs/performance/latest-scale-report.json +1 -418
  27. package/docs/performance/scale-100k-report.json +1 -418
  28. package/docs/schemas/extension-manifest.schema.json +1 -165
  29. package/marketplace.json +1 -36
  30. package/package.json +1 -1
  31. package/packages/pm-beads/extensions/beads/manifest.json +1 -28
  32. package/packages/pm-beads/extensions/beads/package.json +1 -3
  33. package/packages/pm-beads/package.json +1 -50
  34. package/packages/pm-calendar/extensions/calendar/manifest.json +1 -22
  35. package/packages/pm-calendar/extensions/calendar/package.json +1 -3
  36. package/packages/pm-calendar/package.json +1 -51
  37. package/packages/pm-command-kit/extensions/command-kit/manifest.json +1 -22
  38. package/packages/pm-command-kit/extensions/command-kit/package.json +1 -3
  39. package/packages/pm-command-kit/package.json +1 -53
  40. package/packages/pm-digital-twin/extensions/digital-twin/manifest.json +1 -19
  41. package/packages/pm-digital-twin/extensions/digital-twin/package.json +1 -3
  42. package/packages/pm-digital-twin/package.json +1 -58
  43. package/packages/pm-governance-audit/extensions/governance-audit/manifest.json +1 -19
  44. package/packages/pm-governance-audit/extensions/governance-audit/package.json +1 -3
  45. package/packages/pm-governance-audit/package.json +1 -55
  46. package/packages/pm-guide-shell/extensions/guide-shell/manifest.json +1 -22
  47. package/packages/pm-guide-shell/extensions/guide-shell/package.json +1 -3
  48. package/packages/pm-guide-shell/package.json +1 -52
  49. package/packages/pm-kanban/extensions/kanban/manifest.json +1 -19
  50. package/packages/pm-kanban/extensions/kanban/package.json +1 -3
  51. package/packages/pm-kanban/package.json +1 -57
  52. package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/manifest.json +1 -19
  53. package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/package.json +1 -3
  54. package/packages/pm-lifecycle-hooks/package.json +1 -52
  55. package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/manifest.json +1 -29
  56. package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/package.json +1 -3
  57. package/packages/pm-linked-test-adapters/package.json +1 -53
  58. package/packages/pm-search-advanced/extensions/search-advanced/manifest.json +1 -29
  59. package/packages/pm-search-advanced/extensions/search-advanced/package.json +1 -3
  60. package/packages/pm-search-advanced/package.json +1 -54
  61. package/packages/pm-templates/extensions/templates/manifest.json +1 -22
  62. package/packages/pm-templates/extensions/templates/package.json +1 -3
  63. package/packages/pm-templates/package.json +1 -50
  64. package/packages/pm-todos/extensions/todos/manifest.json +1 -29
  65. package/packages/pm-todos/extensions/todos/package.json +1 -3
  66. package/packages/pm-todos/package.json +1 -51
  67. package/packages/pm-vcs/extensions/vcs/manifest.json +1 -19
  68. package/packages/pm-vcs/extensions/vcs/package.json +1 -3
  69. package/packages/pm-vcs/package.json +1 -55
  70. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -25
  71. package/plugins/pm-claude/.mcp.json +1 -8
  72. package/plugins/pm-claude/hooks/hooks.json +1 -17
  73. package/plugins/pm-claude/package.json +1 -9
  74. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -45
  75. package/plugins/pm-codex/.mcp.json +1 -11
  76. package/plugins/pm-codex/mcp.json +1 -11
  77. package/plugins/pm-codex/package.json +1 -9
  78. package/plugins/pm-codex/plugin.json +1 -45
  79. package/runtime-dependencies.json +1 -512
@@ -1,478 +1 @@
1
- {
2
- "version": 2,
3
- "orientation": {
4
- "canonical_task_id": "orientation-context-intent",
5
- "required_capabilities": [
6
- "workspace_state",
7
- "active_ownership",
8
- "actionable_work"
9
- ],
10
- "protocols": [
11
- {
12
- "task_id": "orientation-context-intent",
13
- "capabilities": [
14
- "workspace_state",
15
- "active_ownership",
16
- "actionable_work"
17
- ],
18
- "capability_evidence": {
19
- "workspace_state": [
20
- {
21
- "step_id": "context",
22
- "field_path": "summary.active_items"
23
- }
24
- ],
25
- "active_ownership": [
26
- {
27
- "step_id": "context",
28
- "field_path": "activity"
29
- }
30
- ],
31
- "actionable_work": [
32
- {
33
- "step_id": "context",
34
- "field_path": "hierarchy"
35
- }
36
- ]
37
- }
38
- },
39
- {
40
- "task_id": "orientation-contracts-next",
41
- "capabilities": [
42
- "workspace_state",
43
- "active_ownership",
44
- "actionable_work"
45
- ],
46
- "capability_evidence": {
47
- "workspace_state": [
48
- {
49
- "step_id": "next",
50
- "field_path": "summary.in_progress"
51
- }
52
- ],
53
- "active_ownership": [
54
- {
55
- "step_id": "next",
56
- "field_path": "held_by_others"
57
- }
58
- ],
59
- "actionable_work": [
60
- {
61
- "step_id": "next",
62
- "field_path": "recommended.id"
63
- }
64
- ]
65
- }
66
- },
67
- {
68
- "task_id": "orientation-operating-rules",
69
- "capabilities": [
70
- "workspace_state",
71
- "active_ownership",
72
- "actionable_work"
73
- ],
74
- "capability_evidence": {
75
- "workspace_state": [
76
- {
77
- "step_id": "context",
78
- "field_path": "summary.active_items"
79
- }
80
- ],
81
- "active_ownership": [
82
- {
83
- "step_id": "in-progress",
84
- "field_path": "items"
85
- }
86
- ],
87
- "actionable_work": [
88
- {
89
- "step_id": "open",
90
- "field_path": "items"
91
- }
92
- ]
93
- }
94
- }
95
- ]
96
- },
97
- "tasks": [
98
- {
99
- "id": "orientation-context-intent",
100
- "description": "Build sufficient cold-start workspace, ownership, and actionable-work context with the bounded orientation intent.",
101
- "steps": [
102
- {
103
- "id": "context",
104
- "args": ["context", "--for", "orient", "--limit", "10"],
105
- "expected_exit_code": 0,
106
- "expected_output_kind": "diagnostic",
107
- "expected_accounting_mode": "self_reported",
108
- "required_fields": ["summary.active_items", "hierarchy", "activity"]
109
- }
110
- ]
111
- },
112
- {
113
- "id": "orientation-contracts-next",
114
- "description": "Compare the proposed contracts-summary plus next cold-start protocol on the same fixed workspace.",
115
- "steps": [
116
- {
117
- "id": "contracts",
118
- "args": ["contracts", "--summary"],
119
- "expected_exit_code": 0,
120
- "expected_output_kind": "collection",
121
- "expected_accounting_mode": "self_reported",
122
- "required_fields": ["commands"]
123
- },
124
- {
125
- "id": "next",
126
- "args": ["next", "--for", "execute", "--ready-only", "--limit", "3"],
127
- "expected_exit_code": 0,
128
- "expected_output_kind": "diagnostic",
129
- "expected_accounting_mode": "self_reported",
130
- "required_fields": [
131
- "summary.in_progress",
132
- "held_by_others",
133
- "recommended.id"
134
- ]
135
- }
136
- ]
137
- },
138
- {
139
- "id": "orientation-operating-rules",
140
- "description": "Compare the historical context, search, open-list, and in-progress-list orientation sequence.",
141
- "steps": [
142
- {
143
- "id": "context",
144
- "args": ["context", "--for", "orient", "--limit", "10"],
145
- "expected_exit_code": 0,
146
- "expected_output_kind": "diagnostic",
147
- "expected_accounting_mode": "self_reported",
148
- "required_fields": ["summary.active_items", "hierarchy", "activity"]
149
- },
150
- {
151
- "id": "search",
152
- "args": ["search", "agent task", "--status", "all", "--limit", "10"],
153
- "expected_exit_code": 0,
154
- "expected_output_kind": "collection",
155
- "expected_accounting_mode": "self_reported",
156
- "required_fields": ["items"]
157
- },
158
- {
159
- "id": "open",
160
- "args": ["list", "--status", "open", "--limit", "20"],
161
- "expected_exit_code": 0,
162
- "expected_output_kind": "collection",
163
- "expected_accounting_mode": "self_reported",
164
- "required_fields": ["items"]
165
- },
166
- {
167
- "id": "in-progress",
168
- "args": ["list", "--status", "in_progress", "--limit", "20"],
169
- "expected_exit_code": 0,
170
- "expected_output_kind": "collection",
171
- "expected_accounting_mode": "self_reported",
172
- "required_fields": ["items"]
173
- }
174
- ]
175
- },
176
- {
177
- "id": "context-bootstrap",
178
- "description": "Orient in a scaled workspace and inspect the canonical focus item.",
179
- "steps": [
180
- {
181
- "id": "triage",
182
- "args": ["list", "--for", "triage", "--limit", "2"],
183
- "expected_exit_code": 0,
184
- "expected_output_kind": "collection",
185
- "expected_accounting_mode": "self_reported",
186
- "required_fields": ["items"]
187
- },
188
- {
189
- "id": "orient",
190
- "args": ["context", "--for", "orient", "--limit", "5"],
191
- "expected_exit_code": 0,
192
- "expected_output_kind": "diagnostic",
193
- "expected_accounting_mode": "self_reported",
194
- "required_fields": ["summary.active_items", "hierarchy", "activity"]
195
- },
196
- {
197
- "id": "inspect",
198
- "args": ["get", "$ANCHOR_ID", "--for", "inspect"],
199
- "expected_exit_code": 0,
200
- "expected_output_kind": "entity",
201
- "expected_accounting_mode": "self_reported",
202
- "required_fields": ["item.id"]
203
- }
204
- ]
205
- },
206
- {
207
- "id": "closed-domain-recovery",
208
- "description": "Reject an invalid context intent and execute the advertised shell-free retry.",
209
- "steps": [
210
- {
211
- "id": "refuse-intent",
212
- "args": ["get", "$ANCHOR_ID", "--for", "invalid-agent-intent"],
213
- "expected_exit_code": 2,
214
- "expected_output_kind": "refusal",
215
- "expected_accounting_mode": "self_reported",
216
- "required_fields": ["code", "refusal", "recovery"],
217
- "expected_error_code": "unknown_context_intent",
218
- "expected_field_values": {
219
- "recovery.recovery_mode": "compact"
220
- },
221
- "expected_refusal_surface": "--for"
222
- },
223
- {
224
- "id": "retry-intent",
225
- "args": ["get", "$ANCHOR_ID", "--for", "inspect"],
226
- "expected_exit_code": 0,
227
- "expected_output_kind": "entity",
228
- "expected_accounting_mode": "self_reported",
229
- "required_fields": ["item.id"],
230
- "recovery_for": "refuse-intent"
231
- }
232
- ]
233
- },
234
- {
235
- "id": "unknown-option-recovery",
236
- "description": "Identify an unsupported option after valid flags and continue with the corrected command.",
237
- "steps": [
238
- {
239
- "id": "refuse-option",
240
- "args": [
241
- "search",
242
- "agent task",
243
- "--status",
244
- "open",
245
- "--limit",
246
- "5",
247
- "--include-body"
248
- ],
249
- "expected_exit_code": 2,
250
- "expected_output_kind": "refusal",
251
- "expected_accounting_mode": "self_reported",
252
- "required_fields": ["code", "refusal", "recovery"],
253
- "expected_error_code": "unknown_option",
254
- "expected_refusal_surface": "--include-body"
255
- },
256
- {
257
- "id": "retry-option",
258
- "args": ["search", "agent task", "--status", "open", "--limit", "5"],
259
- "expected_exit_code": 0,
260
- "expected_output_kind": "collection",
261
- "expected_accounting_mode": "self_reported",
262
- "required_fields": ["items"],
263
- "recovery_for": "refuse-option"
264
- }
265
- ]
266
- },
267
- {
268
- "id": "lifecycle-mutation",
269
- "description": "Create, inspect, close, and confirm a project item through public CLI receipts.",
270
- "steps": [
271
- {
272
- "id": "create",
273
- "args": [
274
- "create",
275
- "--id",
276
- "$LIFECYCLE_ID",
277
- "--title",
278
- "Transcript lifecycle item",
279
- "--description",
280
- "Golden multi-step lifecycle task",
281
- "--type",
282
- "Task",
283
- "--status",
284
- "open",
285
- "--create-mode",
286
- "progressive"
287
- ],
288
- "expected_exit_code": 0,
289
- "expected_output_kind": "mutation_receipt",
290
- "expected_accounting_mode": "self_reported",
291
- "required_fields": ["id", "changed_field_count"]
292
- },
293
- {
294
- "id": "inspect-open",
295
- "args": ["get", "$LIFECYCLE_ID", "--for", "inspect"],
296
- "expected_exit_code": 0,
297
- "expected_output_kind": "entity",
298
- "expected_accounting_mode": "self_reported",
299
- "required_fields": ["item.id", "item.status"],
300
- "expected_field_values": {
301
- "item.status": "open"
302
- }
303
- },
304
- {
305
- "id": "close",
306
- "args": ["close", "$LIFECYCLE_ID", "Golden task completed"],
307
- "expected_exit_code": 0,
308
- "expected_output_kind": "mutation_receipt",
309
- "expected_accounting_mode": "self_reported",
310
- "required_fields": ["id", "status", "close_reason"]
311
- },
312
- {
313
- "id": "inspect-closed",
314
- "args": ["get", "$LIFECYCLE_ID", "--for", "inspect"],
315
- "expected_exit_code": 0,
316
- "expected_output_kind": "entity",
317
- "expected_accounting_mode": "self_reported",
318
- "required_fields": ["item.id", "item.status"],
319
- "expected_field_values": {
320
- "item.status": "closed"
321
- }
322
- }
323
- ]
324
- },
325
- {
326
- "id": "bulk-effect-outcomes",
327
- "description": "Preserve successful partial-effect and no-effect outcomes across a bulk lifecycle task.",
328
- "steps": [
329
- {
330
- "id": "create-bulk-target",
331
- "args": [
332
- "create",
333
- "--id",
334
- "$BULK_ID",
335
- "--title",
336
- "Transcript bulk effect target",
337
- "--description",
338
- "Golden bulk outcome transcript target",
339
- "--type",
340
- "Task",
341
- "--status",
342
- "open",
343
- "--create-mode",
344
- "progressive"
345
- ],
346
- "expected_exit_code": 0,
347
- "expected_output_kind": "mutation_receipt",
348
- "expected_accounting_mode": "self_reported",
349
- "required_fields": ["id", "status", "changed_field_count"]
350
- },
351
- {
352
- "id": "partial-effect",
353
- "args": [
354
- "close-many",
355
- "--ids",
356
- "$BULK_ID,pm-transcript-missing",
357
- "--reason",
358
- "Golden partial-effect transcript",
359
- "--validate-close",
360
- "off",
361
- "--no-checkpoint"
362
- ],
363
- "expected_exit_code": 7,
364
- "expected_output_kind": "collection",
365
- "expected_accounting_mode": "self_reported",
366
- "required_fields": ["rows", "outcome", "exit_code"],
367
- "expected_field_values": {
368
- "outcome": "partial_effect"
369
- }
370
- },
371
- {
372
- "id": "no-effect",
373
- "args": [
374
- "close-many",
375
- "--ids",
376
- "$BULK_ID",
377
- "--reason",
378
- "Golden no-effect transcript",
379
- "--validate-close",
380
- "off",
381
- "--no-checkpoint"
382
- ],
383
- "expected_exit_code": 6,
384
- "expected_output_kind": "collection",
385
- "expected_accounting_mode": "self_reported",
386
- "required_fields": ["rows", "outcome", "exit_code"],
387
- "expected_field_values": {
388
- "outcome": "no_effect"
389
- }
390
- }
391
- ]
392
- },
393
- {
394
- "id": "plan-execution-mutations",
395
- "description": "Create a Plan, add and complete a step, then inspect its durable evidence without echoing the full Plan on each mutation.",
396
- "steps": [
397
- {
398
- "id": "create-plan",
399
- "args": [
400
- "create",
401
- "--id",
402
- "pm-transcript-plan",
403
- "--type",
404
- "Plan",
405
- "--title",
406
- "Transcript execution Plan",
407
- "--create-mode",
408
- "progressive"
409
- ],
410
- "expected_exit_code": 0,
411
- "expected_output_kind": "mutation_receipt",
412
- "expected_accounting_mode": "self_reported",
413
- "required_fields": ["id", "status"]
414
- },
415
- {
416
- "id": "add-step",
417
- "args": [
418
- "plan",
419
- "add-step",
420
- "pm-transcript-plan",
421
- "--step-title",
422
- "Verify result",
423
- "--step-body",
424
- "Durable execution context retained for later inspection."
425
- ],
426
- "expected_exit_code": 0,
427
- "expected_output_kind": "diagnostic",
428
- "expected_accounting_mode": "self_reported",
429
- "required_fields": [
430
- "id",
431
- "step.id",
432
- "steps_summary.total",
433
- "inspection_command"
434
- ],
435
- "expected_field_values": {
436
- "kind": "plan_mutation",
437
- "steps_summary.total": 1
438
- }
439
- },
440
- {
441
- "id": "complete-step",
442
- "args": [
443
- "plan",
444
- "complete-step",
445
- "pm-transcript-plan",
446
- "plan-step-001",
447
- "--step-evidence",
448
- "Verified result"
449
- ],
450
- "expected_exit_code": 0,
451
- "expected_output_kind": "diagnostic",
452
- "expected_accounting_mode": "self_reported",
453
- "required_fields": [
454
- "id",
455
- "step.status",
456
- "steps_summary.completed",
457
- "omission_receipt"
458
- ],
459
- "expected_field_values": {
460
- "step.status": "completed",
461
- "steps_summary.completed": 1
462
- }
463
- },
464
- {
465
- "id": "inspect-plan",
466
- "args": ["plan", "show", "pm-transcript-plan", "--depth", "deep"],
467
- "expected_exit_code": 0,
468
- "expected_output_kind": "diagnostic",
469
- "expected_accounting_mode": "self_reported",
470
- "required_fields": ["plan.steps", "plan.steps_summary.completed"],
471
- "expected_field_values": {
472
- "plan.steps_summary.completed": 1
473
- }
474
- }
475
- ]
476
- }
477
- ]
478
- }
1
+ {"version":2,"orientation":{"canonical_task_id":"orientation-context-intent","required_capabilities":["workspace_state","active_ownership","actionable_work"],"protocols":[{"task_id":"orientation-context-intent","capabilities":["workspace_state","active_ownership","actionable_work"],"capability_evidence":{"workspace_state":[{"step_id":"context","field_path":"summary.active_items"}],"active_ownership":[{"step_id":"context","field_path":"activity"}],"actionable_work":[{"step_id":"context","field_path":"hierarchy"}]}},{"task_id":"orientation-contracts-next","capabilities":["workspace_state","active_ownership","actionable_work"],"capability_evidence":{"workspace_state":[{"step_id":"next","field_path":"summary.in_progress"}],"active_ownership":[{"step_id":"next","field_path":"held_by_others"}],"actionable_work":[{"step_id":"next","field_path":"recommended.id"}]}},{"task_id":"orientation-operating-rules","capabilities":["workspace_state","active_ownership","actionable_work"],"capability_evidence":{"workspace_state":[{"step_id":"context","field_path":"summary.active_items"}],"active_ownership":[{"step_id":"in-progress","field_path":"items"}],"actionable_work":[{"step_id":"open","field_path":"items"}]}}]},"tasks":[{"id":"orientation-context-intent","description":"Build sufficient cold-start workspace, ownership, and actionable-work context with the bounded orientation intent.","steps":[{"id":"context","args":["context","--for","orient","--limit","10"],"expected_exit_code":0,"expected_output_kind":"diagnostic","expected_accounting_mode":"self_reported","required_fields":["summary.active_items","hierarchy","activity"]}]},{"id":"orientation-contracts-next","description":"Compare the proposed contracts-summary plus next cold-start protocol on the same fixed workspace.","steps":[{"id":"contracts","args":["contracts","--summary"],"expected_exit_code":0,"expected_output_kind":"collection","expected_accounting_mode":"self_reported","required_fields":["commands"]},{"id":"next","args":["next","--for","execute","--ready-only","--limit","3"],"expected_exit_code":0,"expected_output_kind":"diagnostic","expected_accounting_mode":"self_reported","required_fields":["summary.in_progress","held_by_others","recommended.id"]}]},{"id":"orientation-operating-rules","description":"Compare the historical context, search, open-list, and in-progress-list orientation sequence.","steps":[{"id":"context","args":["context","--for","orient","--limit","10"],"expected_exit_code":0,"expected_output_kind":"diagnostic","expected_accounting_mode":"self_reported","required_fields":["summary.active_items","hierarchy","activity"]},{"id":"search","args":["search","agent task","--status","all","--limit","10"],"expected_exit_code":0,"expected_output_kind":"collection","expected_accounting_mode":"self_reported","required_fields":["items"]},{"id":"open","args":["list","--status","open","--limit","20"],"expected_exit_code":0,"expected_output_kind":"collection","expected_accounting_mode":"self_reported","required_fields":["items"]},{"id":"in-progress","args":["list","--status","in_progress","--limit","20"],"expected_exit_code":0,"expected_output_kind":"collection","expected_accounting_mode":"self_reported","required_fields":["items"]}]},{"id":"context-bootstrap","description":"Orient in a scaled workspace and inspect the canonical focus item.","steps":[{"id":"triage","args":["list","--for","triage","--limit","2"],"expected_exit_code":0,"expected_output_kind":"collection","expected_accounting_mode":"self_reported","required_fields":["items"]},{"id":"orient","args":["context","--for","orient","--limit","5"],"expected_exit_code":0,"expected_output_kind":"diagnostic","expected_accounting_mode":"self_reported","required_fields":["summary.active_items","hierarchy","activity"]},{"id":"inspect","args":["get","$ANCHOR_ID","--for","inspect"],"expected_exit_code":0,"expected_output_kind":"entity","expected_accounting_mode":"self_reported","required_fields":["item.id"]}]},{"id":"closed-domain-recovery","description":"Reject an invalid context intent and execute the advertised shell-free retry.","steps":[{"id":"refuse-intent","args":["get","$ANCHOR_ID","--for","invalid-agent-intent"],"expected_exit_code":2,"expected_output_kind":"refusal","expected_accounting_mode":"self_reported","required_fields":["code","refusal","recovery"],"expected_error_code":"unknown_context_intent","expected_field_values":{"recovery.recovery_mode":"compact"},"expected_refusal_surface":"--for"},{"id":"retry-intent","args":["get","$ANCHOR_ID","--for","inspect"],"expected_exit_code":0,"expected_output_kind":"entity","expected_accounting_mode":"self_reported","required_fields":["item.id"],"recovery_for":"refuse-intent"}]},{"id":"unknown-option-recovery","description":"Identify an unsupported option after valid flags and continue with the corrected command.","steps":[{"id":"refuse-option","args":["search","agent task","--status","open","--limit","5","--include-body"],"expected_exit_code":2,"expected_output_kind":"refusal","expected_accounting_mode":"self_reported","required_fields":["code","refusal","recovery"],"expected_error_code":"unknown_option","expected_refusal_surface":"--include-body"},{"id":"retry-option","args":["search","agent task","--status","open","--limit","5"],"expected_exit_code":0,"expected_output_kind":"collection","expected_accounting_mode":"self_reported","required_fields":["items"],"recovery_for":"refuse-option"}]},{"id":"lifecycle-mutation","description":"Create, inspect, close, and confirm a project item through public CLI receipts.","steps":[{"id":"create","args":["create","--id","$LIFECYCLE_ID","--title","Transcript lifecycle item","--description","Golden multi-step lifecycle task","--type","Task","--status","open","--create-mode","progressive"],"expected_exit_code":0,"expected_output_kind":"mutation_receipt","expected_accounting_mode":"self_reported","required_fields":["id","changed_field_count"]},{"id":"inspect-open","args":["get","$LIFECYCLE_ID","--for","inspect"],"expected_exit_code":0,"expected_output_kind":"entity","expected_accounting_mode":"self_reported","required_fields":["item.id","item.status"],"expected_field_values":{"item.status":"open"}},{"id":"close","args":["close","$LIFECYCLE_ID","Golden task completed"],"expected_exit_code":0,"expected_output_kind":"mutation_receipt","expected_accounting_mode":"self_reported","required_fields":["id","status","close_reason"]},{"id":"inspect-closed","args":["get","$LIFECYCLE_ID","--for","inspect"],"expected_exit_code":0,"expected_output_kind":"entity","expected_accounting_mode":"self_reported","required_fields":["item.id","item.status"],"expected_field_values":{"item.status":"closed"}}]},{"id":"bulk-effect-outcomes","description":"Preserve successful partial-effect and no-effect outcomes across a bulk lifecycle task.","steps":[{"id":"create-bulk-target","args":["create","--id","$BULK_ID","--title","Transcript bulk effect target","--description","Golden bulk outcome transcript target","--type","Task","--status","open","--create-mode","progressive"],"expected_exit_code":0,"expected_output_kind":"mutation_receipt","expected_accounting_mode":"self_reported","required_fields":["id","status","changed_field_count"]},{"id":"partial-effect","args":["close-many","--ids","$BULK_ID,pm-transcript-missing","--reason","Golden partial-effect transcript","--validate-close","off","--no-checkpoint"],"expected_exit_code":7,"expected_output_kind":"collection","expected_accounting_mode":"self_reported","required_fields":["rows","outcome","exit_code"],"expected_field_values":{"outcome":"partial_effect"}},{"id":"no-effect","args":["close-many","--ids","$BULK_ID","--reason","Golden no-effect transcript","--validate-close","off","--no-checkpoint"],"expected_exit_code":6,"expected_output_kind":"collection","expected_accounting_mode":"self_reported","required_fields":["rows","outcome","exit_code"],"expected_field_values":{"outcome":"no_effect"}}]},{"id":"plan-execution-mutations","description":"Create a Plan, add and complete a step, then inspect its durable evidence without echoing the full Plan on each mutation.","steps":[{"id":"create-plan","args":["create","--id","pm-transcript-plan","--type","Plan","--title","Transcript execution Plan","--create-mode","progressive"],"expected_exit_code":0,"expected_output_kind":"mutation_receipt","expected_accounting_mode":"self_reported","required_fields":["id","status"]},{"id":"add-step","args":["plan","add-step","pm-transcript-plan","--step-title","Verify result","--step-body","Durable execution context retained for later inspection."],"expected_exit_code":0,"expected_output_kind":"diagnostic","expected_accounting_mode":"self_reported","required_fields":["id","step.id","steps_summary.total","inspection_command"],"expected_field_values":{"kind":"plan_mutation","steps_summary.total":1}},{"id":"complete-step","args":["plan","complete-step","pm-transcript-plan","plan-step-001","--step-evidence","Verified result"],"expected_exit_code":0,"expected_output_kind":"diagnostic","expected_accounting_mode":"self_reported","required_fields":["id","step.status","steps_summary.completed","omission_receipt"],"expected_field_values":{"step.status":"completed","steps_summary.completed":1}},{"id":"inspect-plan","args":["plan","show","pm-transcript-plan","--depth","deep"],"expected_exit_code":0,"expected_output_kind":"diagnostic","expected_accounting_mode":"self_reported","required_fields":["plan.steps","plan.steps_summary.completed"],"expected_field_values":{"plan.steps_summary.completed":1}}]}]}