@h-rig/contracts 0.0.6-alpha.141 → 0.0.6-alpha.143

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/dist/index.cjs CHANGED
@@ -6880,9 +6880,9 @@ var TOP_LEVEL_SECTIONS = [
6880
6880
  { command: "rig blockers [--json]", description: "Classify task, human, approval, and external-input blockers.", examples: ["rig blockers"] },
6881
6881
  { command: "rig status [--json]", description: "Show graph/run/blocker workspace status at a glance.", examples: ["rig status"] },
6882
6882
  { command: "rig summary [--json]", description: "Roll up progress by epic and assignee.", examples: ["rig summary"] },
6883
- { 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"] },
6883
+ { command: "rig loop [--task <id>] [--max-tasks <n>] [--concurrency <n>]", description: "Run the autonomous supervisor loop over ready tasks, optionally restricted to one task.", examples: ["rig loop --task 106 --max-tasks 1", "rig loop --max-tasks 3 --concurrency 2"] },
6884
6884
  { 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"] },
6885
- { 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"] },
6885
+ { command: "rig plan --text <prd>|--prd <file>|--issue <id>", description: "Generate and optionally materialize a task plan.", examples: ["rig plan --issue 20 --json", "rig plan --prd docs/product/prd.md"] },
6886
6886
  { command: "rig drift [--docs <csv>]", description: "Scan documentation for stale source references.", examples: ["rig drift", "rig drift --docs docs/**"] }
6887
6887
  ]
6888
6888
  },
@@ -7016,7 +7016,7 @@ var TOP_LEVEL_SECTIONS = [
7016
7016
  examples: ["rig dist build", "rig dist install"]
7017
7017
  },
7018
7018
  { command: "rig workspace summary|topology", description: "Multi-root workspace inspection.", examples: ["rig workspace summary", "rig workspace topology"] },
7019
- { command: "rig.config.ts plugins / runtime.pi.packages", description: "Declare task sources, validators, hooks, skills, roles + team OMP/Pi packages.", examples: ["plugins: [standard()]", "runtime: { pi: { packages: ['@me/my-ext'] } }"] }
7019
+ { command: "rig.config.ts plugins / runtime.pi.packages", description: "Declare task sources, validators, hooks, skills, roles + team OMP/Pi packages.", examples: ["plugins: [...standardPlugins()]", "runtime: { pi: { packages: ['@me/my-ext'] } }"] }
7020
7020
  ]
7021
7021
  }
7022
7022
  ];
@@ -7059,9 +7059,9 @@ var PRIMARY_GROUPS = [
7059
7059
  {
7060
7060
  name: "loop",
7061
7061
  summary: "Autonomous supervisor loop.",
7062
- usage: ["rig loop [--max-tasks <n>] [--concurrency <n>] [--stop-when <csv>] [--dry-run] [--json]"],
7063
- commands: [{ command: "[--max-tasks <n>] [--concurrency <n>] [--dry-run]", description: "Select ready tasks, dispatch runs, and await terminal outcomes.", primary: true }],
7064
- examples: ["rig loop --dry-run", "rig loop --max-tasks 3 --concurrency 2"]
7062
+ usage: ["rig loop [--task <id>] [--max-tasks <n>] [--concurrency <n>] [--stop-when <csv>] [--dry-run] [--json]"],
7063
+ commands: [{ command: "[--task <id>] [--max-tasks <n>] [--concurrency <n>] [--dry-run]", description: "Select ready tasks, dispatch runs, and await terminal outcomes.", primary: true }],
7064
+ examples: ["rig loop --task 106 --max-tasks 1", "rig loop --max-tasks 3 --concurrency 2"]
7065
7065
  },
7066
7066
  {
7067
7067
  name: "unblock",
@@ -7073,9 +7073,9 @@ var PRIMARY_GROUPS = [
7073
7073
  {
7074
7074
  name: "plan",
7075
7075
  summary: "PRD-to-task planning.",
7076
- usage: ["rig plan --text <prd>|--prd <file> [--title <title>] [--materialize] [--json]"],
7077
- commands: [{ command: "--text <prd>|--prd <file> [--materialize]", description: "Generate a plan and optionally create tasks through the configured task source.", primary: true }],
7078
- examples: ["rig plan --prd docs/product/prd.md", "rig plan --text 'Build auth flow' --json"]
7076
+ usage: ["rig plan --text <prd>|--prd <file>|--issue <id> [--title <title>] [--materialize] [--json]"],
7077
+ commands: [{ command: "--text <prd>|--prd <file>|--issue <id> [--materialize]", description: "Generate a plan and optionally create tasks through the configured task source.", primary: true }],
7078
+ examples: ["rig plan --issue 20 --json", "rig plan --prd docs/product/prd.md"]
7079
7079
  },
7080
7080
  {
7081
7081
  name: "drift",
package/dist/index.mjs CHANGED
@@ -6190,9 +6190,9 @@ var TOP_LEVEL_SECTIONS = [
6190
6190
  { command: "rig blockers [--json]", description: "Classify task, human, approval, and external-input blockers.", examples: ["rig blockers"] },
6191
6191
  { command: "rig status [--json]", description: "Show graph/run/blocker workspace status at a glance.", examples: ["rig status"] },
6192
6192
  { command: "rig summary [--json]", description: "Roll up progress by epic and assignee.", examples: ["rig summary"] },
6193
- { 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"] },
6193
+ { command: "rig loop [--task <id>] [--max-tasks <n>] [--concurrency <n>]", description: "Run the autonomous supervisor loop over ready tasks, optionally restricted to one task.", examples: ["rig loop --task 106 --max-tasks 1", "rig loop --max-tasks 3 --concurrency 2"] },
6194
6194
  { 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"] },
6195
- { 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"] },
6195
+ { command: "rig plan --text <prd>|--prd <file>|--issue <id>", description: "Generate and optionally materialize a task plan.", examples: ["rig plan --issue 20 --json", "rig plan --prd docs/product/prd.md"] },
6196
6196
  { command: "rig drift [--docs <csv>]", description: "Scan documentation for stale source references.", examples: ["rig drift", "rig drift --docs docs/**"] }
6197
6197
  ]
6198
6198
  },
@@ -6326,7 +6326,7 @@ var TOP_LEVEL_SECTIONS = [
6326
6326
  examples: ["rig dist build", "rig dist install"]
6327
6327
  },
6328
6328
  { command: "rig workspace summary|topology", description: "Multi-root workspace inspection.", examples: ["rig workspace summary", "rig workspace topology"] },
6329
- { command: "rig.config.ts plugins / runtime.pi.packages", description: "Declare task sources, validators, hooks, skills, roles + team OMP/Pi packages.", examples: ["plugins: [standard()]", "runtime: { pi: { packages: ['@me/my-ext'] } }"] }
6329
+ { command: "rig.config.ts plugins / runtime.pi.packages", description: "Declare task sources, validators, hooks, skills, roles + team OMP/Pi packages.", examples: ["plugins: [...standardPlugins()]", "runtime: { pi: { packages: ['@me/my-ext'] } }"] }
6330
6330
  ]
6331
6331
  }
6332
6332
  ];
@@ -6369,9 +6369,9 @@ var PRIMARY_GROUPS = [
6369
6369
  {
6370
6370
  name: "loop",
6371
6371
  summary: "Autonomous supervisor loop.",
6372
- usage: ["rig loop [--max-tasks <n>] [--concurrency <n>] [--stop-when <csv>] [--dry-run] [--json]"],
6373
- commands: [{ command: "[--max-tasks <n>] [--concurrency <n>] [--dry-run]", description: "Select ready tasks, dispatch runs, and await terminal outcomes.", primary: true }],
6374
- examples: ["rig loop --dry-run", "rig loop --max-tasks 3 --concurrency 2"]
6372
+ usage: ["rig loop [--task <id>] [--max-tasks <n>] [--concurrency <n>] [--stop-when <csv>] [--dry-run] [--json]"],
6373
+ commands: [{ command: "[--task <id>] [--max-tasks <n>] [--concurrency <n>] [--dry-run]", description: "Select ready tasks, dispatch runs, and await terminal outcomes.", primary: true }],
6374
+ examples: ["rig loop --task 106 --max-tasks 1", "rig loop --max-tasks 3 --concurrency 2"]
6375
6375
  },
6376
6376
  {
6377
6377
  name: "unblock",
@@ -6383,9 +6383,9 @@ var PRIMARY_GROUPS = [
6383
6383
  {
6384
6384
  name: "plan",
6385
6385
  summary: "PRD-to-task planning.",
6386
- usage: ["rig plan --text <prd>|--prd <file> [--title <title>] [--materialize] [--json]"],
6387
- commands: [{ command: "--text <prd>|--prd <file> [--materialize]", description: "Generate a plan and optionally create tasks through the configured task source.", primary: true }],
6388
- examples: ["rig plan --prd docs/product/prd.md", "rig plan --text 'Build auth flow' --json"]
6386
+ usage: ["rig plan --text <prd>|--prd <file>|--issue <id> [--title <title>] [--materialize] [--json]"],
6387
+ commands: [{ command: "--text <prd>|--prd <file>|--issue <id> [--materialize]", description: "Generate a plan and optionally create tasks through the configured task source.", primary: true }],
6388
+ examples: ["rig plan --issue 20 --json", "rig plan --prd docs/product/prd.md"]
6389
6389
  },
6390
6390
  {
6391
6391
  name: "drift",
@@ -161,9 +161,9 @@ var TOP_LEVEL_SECTIONS = [
161
161
  { command: "rig blockers [--json]", description: "Classify task, human, approval, and external-input blockers.", examples: ["rig blockers"] },
162
162
  { command: "rig status [--json]", description: "Show graph/run/blocker workspace status at a glance.", examples: ["rig status"] },
163
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"] },
164
+ { command: "rig loop [--task <id>] [--max-tasks <n>] [--concurrency <n>]", description: "Run the autonomous supervisor loop over ready tasks, optionally restricted to one task.", examples: ["rig loop --task 106 --max-tasks 1", "rig loop --max-tasks 3 --concurrency 2"] },
165
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"] },
166
+ { command: "rig plan --text <prd>|--prd <file>|--issue <id>", description: "Generate and optionally materialize a task plan.", examples: ["rig plan --issue 20 --json", "rig plan --prd docs/product/prd.md"] },
167
167
  { command: "rig drift [--docs <csv>]", description: "Scan documentation for stale source references.", examples: ["rig drift", "rig drift --docs docs/**"] }
168
168
  ]
169
169
  },
@@ -297,7 +297,7 @@ var TOP_LEVEL_SECTIONS = [
297
297
  examples: ["rig dist build", "rig dist install"]
298
298
  },
299
299
  { command: "rig workspace summary|topology", description: "Multi-root workspace inspection.", examples: ["rig workspace summary", "rig workspace topology"] },
300
- { command: "rig.config.ts plugins / runtime.pi.packages", description: "Declare task sources, validators, hooks, skills, roles + team OMP/Pi packages.", examples: ["plugins: [standard()]", "runtime: { pi: { packages: ['@me/my-ext'] } }"] }
300
+ { command: "rig.config.ts plugins / runtime.pi.packages", description: "Declare task sources, validators, hooks, skills, roles + team OMP/Pi packages.", examples: ["plugins: [...standardPlugins()]", "runtime: { pi: { packages: ['@me/my-ext'] } }"] }
301
301
  ]
302
302
  }
303
303
  ];
@@ -340,9 +340,9 @@ var PRIMARY_GROUPS = [
340
340
  {
341
341
  name: "loop",
342
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"]
343
+ usage: ["rig loop [--task <id>] [--max-tasks <n>] [--concurrency <n>] [--stop-when <csv>] [--dry-run] [--json]"],
344
+ commands: [{ command: "[--task <id>] [--max-tasks <n>] [--concurrency <n>] [--dry-run]", description: "Select ready tasks, dispatch runs, and await terminal outcomes.", primary: true }],
345
+ examples: ["rig loop --task 106 --max-tasks 1", "rig loop --max-tasks 3 --concurrency 2"]
346
346
  },
347
347
  {
348
348
  name: "unblock",
@@ -354,9 +354,9 @@ var PRIMARY_GROUPS = [
354
354
  {
355
355
  name: "plan",
356
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"]
357
+ usage: ["rig plan --text <prd>|--prd <file>|--issue <id> [--title <title>] [--materialize] [--json]"],
358
+ commands: [{ command: "--text <prd>|--prd <file>|--issue <id> [--materialize]", description: "Generate a plan and optionally create tasks through the configured task source.", primary: true }],
359
+ examples: ["rig plan --issue 20 --json", "rig plan --prd docs/product/prd.md"]
360
360
  },
361
361
  {
362
362
  name: "drift",
package/dist/src/index.js CHANGED
@@ -6190,9 +6190,9 @@ var TOP_LEVEL_SECTIONS = [
6190
6190
  { command: "rig blockers [--json]", description: "Classify task, human, approval, and external-input blockers.", examples: ["rig blockers"] },
6191
6191
  { command: "rig status [--json]", description: "Show graph/run/blocker workspace status at a glance.", examples: ["rig status"] },
6192
6192
  { command: "rig summary [--json]", description: "Roll up progress by epic and assignee.", examples: ["rig summary"] },
6193
- { 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"] },
6193
+ { command: "rig loop [--task <id>] [--max-tasks <n>] [--concurrency <n>]", description: "Run the autonomous supervisor loop over ready tasks, optionally restricted to one task.", examples: ["rig loop --task 106 --max-tasks 1", "rig loop --max-tasks 3 --concurrency 2"] },
6194
6194
  { 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"] },
6195
- { 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"] },
6195
+ { command: "rig plan --text <prd>|--prd <file>|--issue <id>", description: "Generate and optionally materialize a task plan.", examples: ["rig plan --issue 20 --json", "rig plan --prd docs/product/prd.md"] },
6196
6196
  { command: "rig drift [--docs <csv>]", description: "Scan documentation for stale source references.", examples: ["rig drift", "rig drift --docs docs/**"] }
6197
6197
  ]
6198
6198
  },
@@ -6326,7 +6326,7 @@ var TOP_LEVEL_SECTIONS = [
6326
6326
  examples: ["rig dist build", "rig dist install"]
6327
6327
  },
6328
6328
  { command: "rig workspace summary|topology", description: "Multi-root workspace inspection.", examples: ["rig workspace summary", "rig workspace topology"] },
6329
- { command: "rig.config.ts plugins / runtime.pi.packages", description: "Declare task sources, validators, hooks, skills, roles + team OMP/Pi packages.", examples: ["plugins: [standard()]", "runtime: { pi: { packages: ['@me/my-ext'] } }"] }
6329
+ { command: "rig.config.ts plugins / runtime.pi.packages", description: "Declare task sources, validators, hooks, skills, roles + team OMP/Pi packages.", examples: ["plugins: [...standardPlugins()]", "runtime: { pi: { packages: ['@me/my-ext'] } }"] }
6330
6330
  ]
6331
6331
  }
6332
6332
  ];
@@ -6369,9 +6369,9 @@ var PRIMARY_GROUPS = [
6369
6369
  {
6370
6370
  name: "loop",
6371
6371
  summary: "Autonomous supervisor loop.",
6372
- usage: ["rig loop [--max-tasks <n>] [--concurrency <n>] [--stop-when <csv>] [--dry-run] [--json]"],
6373
- commands: [{ command: "[--max-tasks <n>] [--concurrency <n>] [--dry-run]", description: "Select ready tasks, dispatch runs, and await terminal outcomes.", primary: true }],
6374
- examples: ["rig loop --dry-run", "rig loop --max-tasks 3 --concurrency 2"]
6372
+ usage: ["rig loop [--task <id>] [--max-tasks <n>] [--concurrency <n>] [--stop-when <csv>] [--dry-run] [--json]"],
6373
+ commands: [{ command: "[--task <id>] [--max-tasks <n>] [--concurrency <n>] [--dry-run]", description: "Select ready tasks, dispatch runs, and await terminal outcomes.", primary: true }],
6374
+ examples: ["rig loop --task 106 --max-tasks 1", "rig loop --max-tasks 3 --concurrency 2"]
6375
6375
  },
6376
6376
  {
6377
6377
  name: "unblock",
@@ -6383,9 +6383,9 @@ var PRIMARY_GROUPS = [
6383
6383
  {
6384
6384
  name: "plan",
6385
6385
  summary: "PRD-to-task planning.",
6386
- usage: ["rig plan --text <prd>|--prd <file> [--title <title>] [--materialize] [--json]"],
6387
- commands: [{ command: "--text <prd>|--prd <file> [--materialize]", description: "Generate a plan and optionally create tasks through the configured task source.", primary: true }],
6388
- examples: ["rig plan --prd docs/product/prd.md", "rig plan --text 'Build auth flow' --json"]
6386
+ usage: ["rig plan --text <prd>|--prd <file>|--issue <id> [--title <title>] [--materialize] [--json]"],
6387
+ commands: [{ command: "--text <prd>|--prd <file>|--issue <id> [--materialize]", description: "Generate a plan and optionally create tasks through the configured task source.", primary: true }],
6388
+ examples: ["rig plan --issue 20 --json", "rig plan --prd docs/product/prd.md"]
6389
6389
  },
6390
6390
  {
6391
6391
  name: "drift",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h-rig/contracts",
3
- "version": "0.0.6-alpha.141",
3
+ "version": "0.0.6-alpha.143",
4
4
  "type": "module",
5
5
  "description": "Rig package",
6
6
  "license": "UNLICENSED",