@h-rig/contracts 0.0.6-alpha.131 → 0.0.6-alpha.133

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.
@@ -152,6 +152,21 @@ var TOP_LEVEL_SECTIONS = [
152
152
  { command: "rig triage", description: "Run the configured issueAnalysis pass once (schedule via cron/CI for continuous).", usecase: "Auto-classify/label/scope new issues in a batch.", examples: ["rig triage"] }
153
153
  ]
154
154
  },
155
+ {
156
+ title: "Planning, graph & supervisor",
157
+ subtitle: "dependency graph, blocker classification, rollups, planning, drift, and autonomous loop control",
158
+ commands: [
159
+ { command: "rig pipeline show [--json]", description: "Show the resolved default lifecycle pipeline.", examples: ["rig pipeline show", "rig pipeline show --json"] },
160
+ { command: "rig graph [--json|--dot]", description: "Render the workspace dependency graph from the configured task source.", examples: ["rig graph --json", "rig graph --dot"] },
161
+ { command: "rig blockers [--json]", description: "Classify task, human, approval, and external-input blockers.", examples: ["rig blockers"] },
162
+ { command: "rig status [--json]", description: "Show graph/run/blocker workspace status at a glance.", examples: ["rig status"] },
163
+ { command: "rig summary [--json]", description: "Roll up progress by epic and assignee.", examples: ["rig summary"] },
164
+ { command: "rig loop [--max-tasks <n>] [--concurrency <n>]", description: "Run the autonomous supervisor loop over ready tasks.", examples: ["rig loop --dry-run", "rig loop --max-tasks 3 --concurrency 2"] },
165
+ { command: "rig unblock [task-id]", description: "Pick and optionally dispatch the highest-unblock task or blockers for one task.", examples: ["rig unblock --dry-run", "rig unblock 204 --dry-run"] },
166
+ { command: "rig plan --text <prd>|--prd <file>", description: "Generate and optionally materialize a task plan.", examples: ["rig plan --prd docs/product/prd.md", "rig plan --text 'Build auth flow' --json"] },
167
+ { command: "rig drift [--docs <csv>]", description: "Scan documentation for stale source references.", examples: ["rig drift", "rig drift --docs docs/**"] }
168
+ ]
169
+ },
155
170
  {
156
171
  title: "Config \u2014 everything through rig.config.ts",
157
172
  subtitle: "resolution: ambient env \u2192 rig.config.ts \u2192 computed default",
@@ -287,6 +302,69 @@ var TOP_LEVEL_SECTIONS = [
287
302
  }
288
303
  ];
289
304
  var PRIMARY_GROUPS = [
305
+ {
306
+ name: "pipeline",
307
+ summary: "Default lifecycle pipeline inspection.",
308
+ usage: ["rig pipeline show [--json]"],
309
+ commands: [{ command: "show [--json]", description: "Show resolved default lifecycle stages, protected stages, dropped anchors, and cycles.", primary: true }],
310
+ examples: ["rig pipeline show", "rig pipeline show --json"]
311
+ },
312
+ {
313
+ name: "graph",
314
+ summary: "Workspace dependency graph.",
315
+ usage: ["rig graph [--json|--dot]"],
316
+ commands: [{ command: "[--json|--dot]", description: "Build the dependency graph through @rig/client and print summary, JSON, or DOT.", primary: true }],
317
+ examples: ["rig graph", "rig graph --json", "rig graph --dot"]
318
+ },
319
+ {
320
+ name: "blockers",
321
+ summary: "Workspace blocker classification.",
322
+ usage: ["rig blockers [--json]"],
323
+ commands: [{ command: "[--json]", description: "Classify machine, human, approval, and external-input blockers.", primary: true }],
324
+ examples: ["rig blockers", "rig blockers --json"]
325
+ },
326
+ {
327
+ name: "status",
328
+ summary: "Workspace graph/run status.",
329
+ usage: ["rig status [--json]"],
330
+ commands: [{ command: "[--json]", description: "Show active runs, attention counts, rollup counts, and blocker counts.", primary: true }],
331
+ examples: ["rig status"]
332
+ },
333
+ {
334
+ name: "summary",
335
+ summary: "Workspace progress rollups.",
336
+ usage: ["rig summary [--json]"],
337
+ commands: [{ command: "[--json]", description: "Roll up progress by epic and assignee.", primary: true }],
338
+ examples: ["rig summary", "rig summary --json"]
339
+ },
340
+ {
341
+ name: "loop",
342
+ summary: "Autonomous supervisor loop.",
343
+ usage: ["rig loop [--max-tasks <n>] [--concurrency <n>] [--stop-when <csv>] [--dry-run] [--json]"],
344
+ commands: [{ command: "[--max-tasks <n>] [--concurrency <n>] [--dry-run]", description: "Select ready tasks, dispatch runs, and await terminal outcomes.", primary: true }],
345
+ examples: ["rig loop --dry-run", "rig loop --max-tasks 3 --concurrency 2"]
346
+ },
347
+ {
348
+ name: "unblock",
349
+ summary: "Highest-unblock task dispatcher.",
350
+ usage: ["rig unblock [task-id] [--dry-run] [--json]"],
351
+ commands: [{ command: "[task-id] [--dry-run]", description: "Dispatch the highest-unblock ready task, or blockers for one task.", primary: true }],
352
+ examples: ["rig unblock --dry-run", "rig unblock 204 --dry-run"]
353
+ },
354
+ {
355
+ name: "plan",
356
+ summary: "PRD-to-task planning.",
357
+ usage: ["rig plan --text <prd>|--prd <file> [--title <title>] [--materialize] [--json]"],
358
+ commands: [{ command: "--text <prd>|--prd <file> [--materialize]", description: "Generate a plan and optionally create tasks through the configured task source.", primary: true }],
359
+ examples: ["rig plan --prd docs/product/prd.md", "rig plan --text 'Build auth flow' --json"]
360
+ },
361
+ {
362
+ name: "drift",
363
+ summary: "Documentation drift scanner.",
364
+ usage: ["rig drift [--docs <csv>] [--ignore <csv>] [--json]"],
365
+ commands: [{ command: "[--docs <csv>] [--ignore <csv>] [--json]", description: "Scan documentation for stale code references with the standard drift plugin.", primary: true }],
366
+ examples: ["rig drift", "rig drift --docs docs/**"]
367
+ },
290
368
  {
291
369
  name: "server",
292
370
  summary: "Compatibility server selector; the product Server target screen lives in Rig Cockpit.",
@@ -38,3 +38,9 @@ export * from "./cli-output";
38
38
  export * from "./pi-session";
39
39
  export * from "./protocol-version";
40
40
  export * from "./help-catalog";
41
+ export * from "./stage";
42
+ export * from "./kernel";
43
+ export * from "./supervisor-journal";
44
+ export * from "./planning";
45
+ export * from "./drift";
46
+ export * from "./rollups";