@cleocode/contracts 2026.6.18 → 2026.6.19

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.
@@ -2740,6 +2740,12 @@ export const OPERATIONS: OperationDef[] = [
2740
2740
  required: false,
2741
2741
  description: 'Justification to waive the critical-priority --depends requirement',
2742
2742
  },
2743
+ {
2744
+ name: 'blockedBy',
2745
+ type: 'string',
2746
+ required: false,
2747
+ description: 'Set the free-text blockedBy reason (gh#1106)',
2748
+ },
2743
2749
  {
2744
2750
  name: 'clearBlockedBy',
2745
2751
  type: 'boolean',
@@ -1496,6 +1496,8 @@ export interface TasksUpdateQueryParams {
1496
1496
  reason?: string;
1497
1497
  /** Dependency declaration waiver for critical-priority tasks (T1856). */
1498
1498
  dependsWaiver?: string;
1499
+ /** Set the blockedBy free-text reason. @task T9241 (gh#1106) */
1500
+ blockedBy?: string;
1499
1501
  /** Clear the blockedBy free-text reason (set to undefined). @task T9241 */
1500
1502
  clearBlockedBy?: boolean;
1501
1503
  /** Set related tasks (replaces existing). @task T9327 */
@@ -2421,6 +2423,7 @@ export const TASKS_UPDATE_INPUT_SCHEMA: JsonSchema = {
2421
2423
  severity: { type: 'string', enum: ['P0', 'P1', 'P2', 'P3'] },
2422
2424
  reason: { type: 'string' },
2423
2425
  dependsWaiver: { type: 'string' },
2426
+ blockedBy: { type: 'string' },
2424
2427
  clearBlockedBy: { type: 'boolean' },
2425
2428
  relates: {
2426
2429
  type: 'array',
@@ -155,3 +155,19 @@ export const PR_REQUIRED_WORKFLOWS: readonly string[] = Object.freeze([
155
155
  * @task T9764
156
156
  */
157
157
  export const PR_REQUIRED_WORKFLOWS_ENV_VAR = 'CLEO_PR_REQUIRED_WORKFLOWS' as const;
158
+
159
+ /**
160
+ * Dot-path of the `.cleo/project-context.json` field that declares a project's
161
+ * required-workflow set for the `pr:` evidence atom, sitting as a tier between
162
+ * {@link PR_REQUIRED_WORKFLOWS_ENV_VAR} (most specific) and the
163
+ * {@link PR_REQUIRED_WORKFLOWS} default (least specific).
164
+ *
165
+ * Shape: `{ "release": { "prRequiredWorkflows": string[] } }`. An explicitly
166
+ * declared EMPTY array means the project has NO required workflows, so any
167
+ * MERGED PR (state=MERGED) satisfies `pr:` — the path for downstream consumer
168
+ * repos that have no CI (gh#1104). Key ABSENT falls through to the default.
169
+ *
170
+ * @task T9764
171
+ * @task T12014 (gh#1104)
172
+ */
173
+ export const PR_REQUIRED_WORKFLOWS_CONTEXT_KEY = 'release.prRequiredWorkflows' as const;