@treeseed/sdk 0.13.0-rc.55 → 0.13.0-rc.57

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 (37) hide show
  1. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +0 -2
  2. package/dist/agent-capacity/validation/activity-profile.js +18 -9
  3. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +558 -636
  4. package/dist/agent-capacity/validation/agent-definition-schema.js +8 -28
  5. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +11 -11
  6. package/dist/capacity-provider/capability-ontology.d.ts +1211 -0
  7. package/dist/capacity-provider/capability-ontology.js +200 -0
  8. package/dist/capacity-provider/contracts/governance.d.ts +37 -2
  9. package/dist/capacity-provider/core-capability-catalog.d.ts +47 -0
  10. package/dist/capacity-provider/core-capability-catalog.js +63 -0
  11. package/dist/capacity-provider/environment-catalog.d.ts +877 -0
  12. package/dist/capacity-provider/environment-catalog.js +116 -0
  13. package/dist/capacity-provider/index.d.ts +3 -0
  14. package/dist/capacity-provider/index.js +3 -0
  15. package/dist/capacity-provider/sandbox-contracts.d.ts +147 -26
  16. package/dist/capacity-provider/sandbox-contracts.js +16 -1
  17. package/dist/capacity-provider/validation.d.ts +2 -1
  18. package/dist/capacity-provider/validation.js +34 -1
  19. package/dist/content/validation/agent-operational-content-schemas.d.ts +16 -16
  20. package/dist/content/validation/auxiliary-content-schemas.d.ts +2 -2
  21. package/dist/content/validation/content-model-schemas.d.ts +1077 -1220
  22. package/dist/content/validation/portable-content-data.d.ts +104 -117
  23. package/dist/deployment/schemas.d.ts +169 -25
  24. package/dist/deployment/schemas.js +27 -1
  25. package/dist/operator-contracts/canonical-command-tree.js +17 -1
  26. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +164 -0
  27. package/dist/operator-contracts/catalog/capability-ontology-operations.js +24 -0
  28. package/dist/operator-contracts/catalog/control-plane-catalog.d.ts +6 -0
  29. package/dist/operator-contracts/catalog/control-plane-catalog.js +18 -0
  30. package/dist/operator-contracts/catalog/inbox-operations.d.ts +3 -3
  31. package/dist/operator-contracts/control-plane-operations.d.ts +513 -345
  32. package/dist/operator-contracts/control-plane-operations.js +7 -10
  33. package/dist/operator-contracts/inbox/contracts.d.ts +16 -16
  34. package/dist/operator-contracts/index.d.ts +1 -0
  35. package/dist/operator-contracts/index.js +1 -0
  36. package/dist/types/agents/agent-activity-profile.d.ts +15 -33
  37. package/package.json +1 -1
@@ -50,10 +50,10 @@ declare const schemas: {
50
50
  paths?: string[] | undefined;
51
51
  models?: string[] | undefined;
52
52
  };
53
+ description: string;
53
54
  required: boolean;
54
55
  revision: number;
55
- format: "map" | "summary" | "list" | "full" | "brief" | "sources";
56
- description: string;
56
+ format: "map" | "sources" | "summary" | "list" | "full" | "brief";
57
57
  query: string;
58
58
  depth: number;
59
59
  title: string;
@@ -76,8 +76,8 @@ declare const schemas: {
76
76
  paths?: string[] | undefined;
77
77
  models?: string[] | undefined;
78
78
  };
79
- revision: number;
80
79
  description: string;
80
+ revision: number;
81
81
  query: string;
82
82
  title: string;
83
83
  maturity: "draft" | "validated" | "simulated" | "proven";
@@ -88,7 +88,7 @@ declare const schemas: {
88
88
  };
89
89
  tokenBudget: number;
90
90
  required?: boolean | undefined;
91
- format?: "map" | "summary" | "list" | "full" | "brief" | "sources" | undefined;
91
+ format?: "map" | "sources" | "summary" | "list" | "full" | "brief" | undefined;
92
92
  depth?: number | undefined;
93
93
  scope?: string | undefined;
94
94
  filters?: Record<string, unknown> | undefined;
@@ -113,8 +113,8 @@ declare const schemas: {
113
113
  mergePolicy: z.ZodDefault<z.ZodEnum<["append", "replace"]>>;
114
114
  }, "strict", z.ZodTypeAny, {
115
115
  id: string;
116
- revision: number;
117
116
  description: string;
117
+ revision: number;
118
118
  title: string;
119
119
  queryRefs: {
120
120
  id: string;
@@ -123,8 +123,8 @@ declare const schemas: {
123
123
  mergePolicy: "replace" | "append";
124
124
  }, {
125
125
  id: string;
126
- revision: number;
127
126
  description: string;
127
+ revision: number;
128
128
  title: string;
129
129
  queryRefs: {
130
130
  id: string;
@@ -145,8 +145,8 @@ declare const schemas: {
145
145
  }, "strict", z.ZodTypeAny, {
146
146
  kind: "message" | "status" | "summary" | "plan";
147
147
  id: string;
148
- revision: number;
149
148
  description: string;
149
+ revision: number;
150
150
  title: string;
151
151
  instructions: string;
152
152
  variables: string[];
@@ -155,8 +155,8 @@ declare const schemas: {
155
155
  }, {
156
156
  kind: "message" | "status" | "summary" | "plan";
157
157
  id: string;
158
- revision: number;
159
158
  description: string;
159
+ revision: number;
160
160
  title: string;
161
161
  instructions: string;
162
162
  outputSkeleton?: string | undefined;
@@ -1428,8 +1428,8 @@ declare const schemas: {
1428
1428
  relatedObjectives: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1429
1429
  }, "strip", z.ZodTypeAny, {
1430
1430
  status: "live" | "archived" | "draft";
1431
- audience: string[];
1432
1431
  description: string;
1432
+ audience: string[];
1433
1433
  summary: string;
1434
1434
  slug: string;
1435
1435
  title: string;
@@ -1540,8 +1540,8 @@ declare const schemas: {
1540
1540
  }, "strip", z.ZodTypeAny, {
1541
1541
  title: string;
1542
1542
  status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
1543
- audience?: string[] | undefined;
1544
1543
  description?: string | undefined;
1544
+ audience?: string[] | undefined;
1545
1545
  summary?: string | undefined;
1546
1546
  stage?: string | undefined;
1547
1547
  slug?: string | undefined;
@@ -1550,8 +1550,8 @@ declare const schemas: {
1550
1550
  }, {
1551
1551
  title: string;
1552
1552
  status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
1553
- audience?: string[] | undefined;
1554
1553
  description?: string | undefined;
1554
+ audience?: string[] | undefined;
1555
1555
  summary?: string | undefined;
1556
1556
  stage?: string | undefined;
1557
1557
  slug?: string | undefined;
@@ -1972,8 +1972,8 @@ declare const schemas: {
1972
1972
  summary: string;
1973
1973
  slug: string;
1974
1974
  title: string;
1975
- audience?: string[] | undefined;
1976
1975
  description?: string | undefined;
1976
+ audience?: string[] | undefined;
1977
1977
  groupIds?: string[] | undefined;
1978
1978
  relatedBookIds?: string[] | undefined;
1979
1979
  }, {
@@ -1985,8 +1985,8 @@ declare const schemas: {
1985
1985
  summary: string;
1986
1986
  slug: string;
1987
1987
  title: string;
1988
- audience?: string[] | undefined;
1989
1988
  description?: string | undefined;
1989
+ audience?: string[] | undefined;
1990
1990
  groupIds?: string[] | undefined;
1991
1991
  relatedBookIds?: string[] | undefined;
1992
1992
  }>;
@@ -2011,8 +2011,8 @@ declare const schemas: {
2011
2011
  slug: string;
2012
2012
  title: string;
2013
2013
  bookId: string;
2014
- order?: number | undefined;
2015
2014
  description?: string | undefined;
2015
+ order?: number | undefined;
2016
2016
  groupIds?: string[] | undefined;
2017
2017
  }, {
2018
2018
  schemaVersion: "treeseed.knowledge-page/v1";
@@ -2023,8 +2023,8 @@ declare const schemas: {
2023
2023
  slug: string;
2024
2024
  title: string;
2025
2025
  bookId: string;
2026
- order?: number | undefined;
2027
2026
  description?: string | undefined;
2027
+ order?: number | undefined;
2028
2028
  groupIds?: string[] | undefined;
2029
2029
  }>;
2030
2030
  person: z.ZodObject<{
@@ -2040,8 +2040,8 @@ declare const schemas: {
2040
2040
  }, "strip", z.ZodTypeAny, {
2041
2041
  name: string;
2042
2042
  status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
2043
- role?: string | undefined;
2044
2043
  description?: string | undefined;
2044
+ role?: string | undefined;
2045
2045
  summary?: string | undefined;
2046
2046
  group_ids?: string[] | undefined;
2047
2047
  related_objectives?: string[] | undefined;
@@ -2050,8 +2050,8 @@ declare const schemas: {
2050
2050
  }, {
2051
2051
  name: string;
2052
2052
  status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
2053
- role?: string | undefined;
2054
2053
  description?: string | undefined;
2054
+ role?: string | undefined;
2055
2055
  summary?: string | undefined;
2056
2056
  group_ids?: string[] | undefined;
2057
2057
  related_objectives?: string[] | undefined;
@@ -2235,6 +2235,43 @@ declare const schemas: {
2235
2235
  id: string;
2236
2236
  revision: number;
2237
2237
  }[]>>;
2238
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
2239
+ capabilityId: z.ZodString;
2240
+ versionRange: z.ZodString;
2241
+ requirement: z.ZodEnum<["required", "preferred"]>;
2242
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2243
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
2244
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2245
+ value: z.ZodUnknown;
2246
+ requirement: z.ZodEnum<["required", "preferred"]>;
2247
+ }, "strict", z.ZodTypeAny, {
2248
+ requirement: "required" | "preferred";
2249
+ value?: unknown;
2250
+ }, {
2251
+ requirement: "required" | "preferred";
2252
+ value?: unknown;
2253
+ }>>>;
2254
+ }, "strict", z.ZodTypeAny, {
2255
+ capabilityId: string;
2256
+ requirement: "required" | "preferred";
2257
+ versionRange: string;
2258
+ configuration?: Record<string, {
2259
+ requirement: "required" | "preferred";
2260
+ value?: unknown;
2261
+ }> | undefined;
2262
+ alternativeGroup?: string | null | undefined;
2263
+ requiredFeatures?: string[] | undefined;
2264
+ }, {
2265
+ capabilityId: string;
2266
+ requirement: "required" | "preferred";
2267
+ versionRange: string;
2268
+ configuration?: Record<string, {
2269
+ requirement: "required" | "preferred";
2270
+ value?: unknown;
2271
+ }> | undefined;
2272
+ alternativeGroup?: string | null | undefined;
2273
+ requiredFeatures?: string[] | undefined;
2274
+ }>, "many">>;
2238
2275
  permissions: z.ZodOptional<z.ZodObject<{
2239
2276
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2240
2277
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -2366,52 +2403,6 @@ declare const schemas: {
2366
2403
  requiredArtifactKinds?: string[] | undefined;
2367
2404
  blockOnOpenQuestions?: boolean | undefined;
2368
2405
  }>>;
2369
- providerOverrides: z.ZodOptional<z.ZodObject<{
2370
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
2371
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
2372
- promptRef: z.ZodOptional<z.ZodString>;
2373
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
2374
- id: z.ZodString;
2375
- revision: z.ZodNumber;
2376
- }, "strict", z.ZodTypeAny, {
2377
- id: string;
2378
- revision: number;
2379
- }, {
2380
- id: string;
2381
- revision: number;
2382
- }>, "many">, {
2383
- id: string;
2384
- revision: number;
2385
- }[], {
2386
- id: string;
2387
- revision: number;
2388
- }[]>>;
2389
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
2390
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
2391
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
2392
- }, "strict", z.ZodTypeAny, {
2393
- requiredCapabilities?: string[] | undefined;
2394
- instructionTemplateRefs?: {
2395
- id: string;
2396
- revision: number;
2397
- }[] | undefined;
2398
- maxRuntimeSeconds?: number | undefined;
2399
- maxTotalTokens?: number | undefined;
2400
- maxCostAmount?: number | undefined;
2401
- disallowedProviderIds?: string[] | undefined;
2402
- promptRef?: string | undefined;
2403
- }, {
2404
- requiredCapabilities?: string[] | undefined;
2405
- instructionTemplateRefs?: {
2406
- id: string;
2407
- revision: number;
2408
- }[] | undefined;
2409
- maxRuntimeSeconds?: number | undefined;
2410
- maxTotalTokens?: number | undefined;
2411
- maxCostAmount?: number | undefined;
2412
- disallowedProviderIds?: string[] | undefined;
2413
- promptRef?: string | undefined;
2414
- }>>;
2415
2406
  tools: z.ZodObject<{
2416
2407
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
2417
2408
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -2832,12 +2823,12 @@ declare const schemas: {
2832
2823
  amount: z.ZodNumber;
2833
2824
  enforceable: z.ZodOptional<z.ZodBoolean>;
2834
2825
  }, "strict", z.ZodTypeAny, {
2835
- unit: string;
2836
2826
  amount: number;
2827
+ unit: string;
2837
2828
  enforceable?: boolean | undefined;
2838
2829
  }, {
2839
- unit: string;
2840
2830
  amount: number;
2831
+ unit: string;
2841
2832
  enforceable?: boolean | undefined;
2842
2833
  }>, "many">>;
2843
2834
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -2851,8 +2842,8 @@ declare const schemas: {
2851
2842
  closeoutWarningSeconds?: number | undefined;
2852
2843
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
2853
2844
  nativeLimits?: {
2854
- unit: string;
2855
2845
  amount: number;
2846
+ unit: string;
2856
2847
  enforceable?: boolean | undefined;
2857
2848
  }[] | undefined;
2858
2849
  maxRuntimeSeconds?: number | undefined;
@@ -2872,8 +2863,8 @@ declare const schemas: {
2872
2863
  closeoutWarningSeconds?: number | undefined;
2873
2864
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
2874
2865
  nativeLimits?: {
2875
- unit: string;
2876
2866
  amount: number;
2867
+ unit: string;
2877
2868
  enforceable?: boolean | undefined;
2878
2869
  }[] | undefined;
2879
2870
  maxRuntimeSeconds?: number | undefined;
@@ -2892,12 +2883,12 @@ declare const schemas: {
2892
2883
  messageTypes: string[];
2893
2884
  modelMutations: string[];
2894
2885
  };
2895
- enabled: boolean;
2896
2886
  prompt: {
2897
2887
  system: string;
2898
2888
  templates?: Record<string, string> | undefined;
2899
2889
  task?: string | undefined;
2900
2890
  };
2891
+ enabled: boolean;
2901
2892
  branchPolicy: {
2902
2893
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
2903
2894
  base: "staging" | "main";
@@ -2920,8 +2911,8 @@ declare const schemas: {
2920
2911
  closeoutWarningSeconds?: number | undefined;
2921
2912
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
2922
2913
  nativeLimits?: {
2923
- unit: string;
2924
2914
  amount: number;
2915
+ unit: string;
2925
2916
  enforceable?: boolean | undefined;
2926
2917
  }[] | undefined;
2927
2918
  maxRuntimeSeconds?: number | undefined;
@@ -2948,6 +2939,17 @@ declare const schemas: {
2948
2939
  id: string;
2949
2940
  revision: number;
2950
2941
  }[] | undefined;
2942
+ capabilityRequirements?: {
2943
+ capabilityId: string;
2944
+ requirement: "required" | "preferred";
2945
+ versionRange: string;
2946
+ configuration?: Record<string, {
2947
+ requirement: "required" | "preferred";
2948
+ value?: unknown;
2949
+ }> | undefined;
2950
+ alternativeGroup?: string | null | undefined;
2951
+ requiredFeatures?: string[] | undefined;
2952
+ }[] | undefined;
2951
2953
  permissions?: {
2952
2954
  repository?: {
2953
2955
  allowCodeMutation?: boolean | undefined;
@@ -2983,18 +2985,6 @@ declare const schemas: {
2983
2985
  requiredArtifactKinds?: string[] | undefined;
2984
2986
  blockOnOpenQuestions?: boolean | undefined;
2985
2987
  } | undefined;
2986
- providerOverrides?: {
2987
- requiredCapabilities?: string[] | undefined;
2988
- instructionTemplateRefs?: {
2989
- id: string;
2990
- revision: number;
2991
- }[] | undefined;
2992
- maxRuntimeSeconds?: number | undefined;
2993
- maxTotalTokens?: number | undefined;
2994
- maxCostAmount?: number | undefined;
2995
- disallowedProviderIds?: string[] | undefined;
2996
- promptRef?: string | undefined;
2997
- } | undefined;
2998
2988
  signals?: {
2999
2989
  subscribesTo?: {
3000
2990
  contract: string;
@@ -3065,12 +3055,12 @@ declare const schemas: {
3065
3055
  messageTypes: string[];
3066
3056
  modelMutations: string[];
3067
3057
  };
3068
- enabled: boolean;
3069
3058
  prompt: {
3070
3059
  system: string;
3071
3060
  templates?: Record<string, string> | undefined;
3072
3061
  task?: string | undefined;
3073
3062
  };
3063
+ enabled: boolean;
3074
3064
  branchPolicy: {
3075
3065
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
3076
3066
  base: "staging" | "main";
@@ -3093,8 +3083,8 @@ declare const schemas: {
3093
3083
  closeoutWarningSeconds?: number | undefined;
3094
3084
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
3095
3085
  nativeLimits?: {
3096
- unit: string;
3097
3086
  amount: number;
3087
+ unit: string;
3098
3088
  enforceable?: boolean | undefined;
3099
3089
  }[] | undefined;
3100
3090
  maxRuntimeSeconds?: number | undefined;
@@ -3121,6 +3111,17 @@ declare const schemas: {
3121
3111
  id: string;
3122
3112
  revision: number;
3123
3113
  }[] | undefined;
3114
+ capabilityRequirements?: {
3115
+ capabilityId: string;
3116
+ requirement: "required" | "preferred";
3117
+ versionRange: string;
3118
+ configuration?: Record<string, {
3119
+ requirement: "required" | "preferred";
3120
+ value?: unknown;
3121
+ }> | undefined;
3122
+ alternativeGroup?: string | null | undefined;
3123
+ requiredFeatures?: string[] | undefined;
3124
+ }[] | undefined;
3124
3125
  permissions?: {
3125
3126
  repository?: {
3126
3127
  allowCodeMutation?: boolean | undefined;
@@ -3156,18 +3157,6 @@ declare const schemas: {
3156
3157
  requiredArtifactKinds?: string[] | undefined;
3157
3158
  blockOnOpenQuestions?: boolean | undefined;
3158
3159
  } | undefined;
3159
- providerOverrides?: {
3160
- requiredCapabilities?: string[] | undefined;
3161
- instructionTemplateRefs?: {
3162
- id: string;
3163
- revision: number;
3164
- }[] | undefined;
3165
- maxRuntimeSeconds?: number | undefined;
3166
- maxTotalTokens?: number | undefined;
3167
- maxCostAmount?: number | undefined;
3168
- disallowedProviderIds?: string[] | undefined;
3169
- promptRef?: string | undefined;
3170
- } | undefined;
3171
3160
  signals?: {
3172
3161
  subscribesTo?: {
3173
3162
  contract: string;
@@ -3238,12 +3227,12 @@ declare const schemas: {
3238
3227
  messageTypes: string[];
3239
3228
  modelMutations: string[];
3240
3229
  };
3241
- enabled: boolean;
3242
3230
  prompt: {
3243
3231
  system: string;
3244
3232
  templates?: Record<string, string> | undefined;
3245
3233
  task?: string | undefined;
3246
3234
  };
3235
+ enabled: boolean;
3247
3236
  branchPolicy: {
3248
3237
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
3249
3238
  base: "staging" | "main";
@@ -3266,8 +3255,8 @@ declare const schemas: {
3266
3255
  closeoutWarningSeconds?: number | undefined;
3267
3256
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
3268
3257
  nativeLimits?: {
3269
- unit: string;
3270
3258
  amount: number;
3259
+ unit: string;
3271
3260
  enforceable?: boolean | undefined;
3272
3261
  }[] | undefined;
3273
3262
  maxRuntimeSeconds?: number | undefined;
@@ -3294,6 +3283,17 @@ declare const schemas: {
3294
3283
  id: string;
3295
3284
  revision: number;
3296
3285
  }[] | undefined;
3286
+ capabilityRequirements?: {
3287
+ capabilityId: string;
3288
+ requirement: "required" | "preferred";
3289
+ versionRange: string;
3290
+ configuration?: Record<string, {
3291
+ requirement: "required" | "preferred";
3292
+ value?: unknown;
3293
+ }> | undefined;
3294
+ alternativeGroup?: string | null | undefined;
3295
+ requiredFeatures?: string[] | undefined;
3296
+ }[] | undefined;
3297
3297
  permissions?: {
3298
3298
  repository?: {
3299
3299
  allowCodeMutation?: boolean | undefined;
@@ -3329,18 +3329,6 @@ declare const schemas: {
3329
3329
  requiredArtifactKinds?: string[] | undefined;
3330
3330
  blockOnOpenQuestions?: boolean | undefined;
3331
3331
  } | undefined;
3332
- providerOverrides?: {
3333
- requiredCapabilities?: string[] | undefined;
3334
- instructionTemplateRefs?: {
3335
- id: string;
3336
- revision: number;
3337
- }[] | undefined;
3338
- maxRuntimeSeconds?: number | undefined;
3339
- maxTotalTokens?: number | undefined;
3340
- maxCostAmount?: number | undefined;
3341
- disallowedProviderIds?: string[] | undefined;
3342
- promptRef?: string | undefined;
3343
- } | undefined;
3344
3332
  signals?: {
3345
3333
  subscribesTo?: {
3346
3334
  contract: string;
@@ -3411,12 +3399,12 @@ declare const schemas: {
3411
3399
  messageTypes: string[];
3412
3400
  modelMutations: string[];
3413
3401
  };
3414
- enabled: boolean;
3415
3402
  prompt: {
3416
3403
  system: string;
3417
3404
  templates?: Record<string, string> | undefined;
3418
3405
  task?: string | undefined;
3419
3406
  };
3407
+ enabled: boolean;
3420
3408
  branchPolicy: {
3421
3409
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
3422
3410
  base: "staging" | "main";
@@ -3439,8 +3427,8 @@ declare const schemas: {
3439
3427
  closeoutWarningSeconds?: number | undefined;
3440
3428
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
3441
3429
  nativeLimits?: {
3442
- unit: string;
3443
3430
  amount: number;
3431
+ unit: string;
3444
3432
  enforceable?: boolean | undefined;
3445
3433
  }[] | undefined;
3446
3434
  maxRuntimeSeconds?: number | undefined;
@@ -3467,6 +3455,17 @@ declare const schemas: {
3467
3455
  id: string;
3468
3456
  revision: number;
3469
3457
  }[] | undefined;
3458
+ capabilityRequirements?: {
3459
+ capabilityId: string;
3460
+ requirement: "required" | "preferred";
3461
+ versionRange: string;
3462
+ configuration?: Record<string, {
3463
+ requirement: "required" | "preferred";
3464
+ value?: unknown;
3465
+ }> | undefined;
3466
+ alternativeGroup?: string | null | undefined;
3467
+ requiredFeatures?: string[] | undefined;
3468
+ }[] | undefined;
3470
3469
  permissions?: {
3471
3470
  repository?: {
3472
3471
  allowCodeMutation?: boolean | undefined;
@@ -3502,18 +3501,6 @@ declare const schemas: {
3502
3501
  requiredArtifactKinds?: string[] | undefined;
3503
3502
  blockOnOpenQuestions?: boolean | undefined;
3504
3503
  } | undefined;
3505
- providerOverrides?: {
3506
- requiredCapabilities?: string[] | undefined;
3507
- instructionTemplateRefs?: {
3508
- id: string;
3509
- revision: number;
3510
- }[] | undefined;
3511
- maxRuntimeSeconds?: number | undefined;
3512
- maxTotalTokens?: number | undefined;
3513
- maxCostAmount?: number | undefined;
3514
- disallowedProviderIds?: string[] | undefined;
3515
- promptRef?: string | undefined;
3516
- } | undefined;
3517
3504
  signals?: {
3518
3505
  subscribesTo?: {
3519
3506
  contract: string;
@@ -3757,6 +3744,43 @@ declare const schemas: {
3757
3744
  id: string;
3758
3745
  revision: number;
3759
3746
  }[]>>;
3747
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
3748
+ capabilityId: z.ZodString;
3749
+ versionRange: z.ZodString;
3750
+ requirement: z.ZodEnum<["required", "preferred"]>;
3751
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3752
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
3753
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3754
+ value: z.ZodUnknown;
3755
+ requirement: z.ZodEnum<["required", "preferred"]>;
3756
+ }, "strict", z.ZodTypeAny, {
3757
+ requirement: "required" | "preferred";
3758
+ value?: unknown;
3759
+ }, {
3760
+ requirement: "required" | "preferred";
3761
+ value?: unknown;
3762
+ }>>>;
3763
+ }, "strict", z.ZodTypeAny, {
3764
+ capabilityId: string;
3765
+ requirement: "required" | "preferred";
3766
+ versionRange: string;
3767
+ configuration?: Record<string, {
3768
+ requirement: "required" | "preferred";
3769
+ value?: unknown;
3770
+ }> | undefined;
3771
+ alternativeGroup?: string | null | undefined;
3772
+ requiredFeatures?: string[] | undefined;
3773
+ }, {
3774
+ capabilityId: string;
3775
+ requirement: "required" | "preferred";
3776
+ versionRange: string;
3777
+ configuration?: Record<string, {
3778
+ requirement: "required" | "preferred";
3779
+ value?: unknown;
3780
+ }> | undefined;
3781
+ alternativeGroup?: string | null | undefined;
3782
+ requiredFeatures?: string[] | undefined;
3783
+ }>, "many">>;
3760
3784
  permissions: z.ZodOptional<z.ZodObject<{
3761
3785
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3762
3786
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -3888,52 +3912,6 @@ declare const schemas: {
3888
3912
  requiredArtifactKinds?: string[] | undefined;
3889
3913
  blockOnOpenQuestions?: boolean | undefined;
3890
3914
  }>>;
3891
- providerOverrides: z.ZodOptional<z.ZodObject<{
3892
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
3893
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
3894
- promptRef: z.ZodOptional<z.ZodString>;
3895
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
3896
- id: z.ZodString;
3897
- revision: z.ZodNumber;
3898
- }, "strict", z.ZodTypeAny, {
3899
- id: string;
3900
- revision: number;
3901
- }, {
3902
- id: string;
3903
- revision: number;
3904
- }>, "many">, {
3905
- id: string;
3906
- revision: number;
3907
- }[], {
3908
- id: string;
3909
- revision: number;
3910
- }[]>>;
3911
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
3912
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
3913
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
3914
- }, "strict", z.ZodTypeAny, {
3915
- requiredCapabilities?: string[] | undefined;
3916
- instructionTemplateRefs?: {
3917
- id: string;
3918
- revision: number;
3919
- }[] | undefined;
3920
- maxRuntimeSeconds?: number | undefined;
3921
- maxTotalTokens?: number | undefined;
3922
- maxCostAmount?: number | undefined;
3923
- disallowedProviderIds?: string[] | undefined;
3924
- promptRef?: string | undefined;
3925
- }, {
3926
- requiredCapabilities?: string[] | undefined;
3927
- instructionTemplateRefs?: {
3928
- id: string;
3929
- revision: number;
3930
- }[] | undefined;
3931
- maxRuntimeSeconds?: number | undefined;
3932
- maxTotalTokens?: number | undefined;
3933
- maxCostAmount?: number | undefined;
3934
- disallowedProviderIds?: string[] | undefined;
3935
- promptRef?: string | undefined;
3936
- }>>;
3937
3915
  tools: z.ZodObject<{
3938
3916
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
3939
3917
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -4354,12 +4332,12 @@ declare const schemas: {
4354
4332
  amount: z.ZodNumber;
4355
4333
  enforceable: z.ZodOptional<z.ZodBoolean>;
4356
4334
  }, "strict", z.ZodTypeAny, {
4357
- unit: string;
4358
4335
  amount: number;
4336
+ unit: string;
4359
4337
  enforceable?: boolean | undefined;
4360
4338
  }, {
4361
- unit: string;
4362
4339
  amount: number;
4340
+ unit: string;
4363
4341
  enforceable?: boolean | undefined;
4364
4342
  }>, "many">>;
4365
4343
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -4373,8 +4351,8 @@ declare const schemas: {
4373
4351
  closeoutWarningSeconds?: number | undefined;
4374
4352
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
4375
4353
  nativeLimits?: {
4376
- unit: string;
4377
4354
  amount: number;
4355
+ unit: string;
4378
4356
  enforceable?: boolean | undefined;
4379
4357
  }[] | undefined;
4380
4358
  maxRuntimeSeconds?: number | undefined;
@@ -4394,8 +4372,8 @@ declare const schemas: {
4394
4372
  closeoutWarningSeconds?: number | undefined;
4395
4373
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
4396
4374
  nativeLimits?: {
4397
- unit: string;
4398
4375
  amount: number;
4376
+ unit: string;
4399
4377
  enforceable?: boolean | undefined;
4400
4378
  }[] | undefined;
4401
4379
  maxRuntimeSeconds?: number | undefined;
@@ -4414,12 +4392,12 @@ declare const schemas: {
4414
4392
  messageTypes: string[];
4415
4393
  modelMutations: string[];
4416
4394
  };
4417
- enabled: boolean;
4418
4395
  prompt: {
4419
4396
  system: string;
4420
4397
  templates?: Record<string, string> | undefined;
4421
4398
  task?: string | undefined;
4422
4399
  };
4400
+ enabled: boolean;
4423
4401
  branchPolicy: {
4424
4402
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4425
4403
  base: "staging" | "main";
@@ -4442,8 +4420,8 @@ declare const schemas: {
4442
4420
  closeoutWarningSeconds?: number | undefined;
4443
4421
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
4444
4422
  nativeLimits?: {
4445
- unit: string;
4446
4423
  amount: number;
4424
+ unit: string;
4447
4425
  enforceable?: boolean | undefined;
4448
4426
  }[] | undefined;
4449
4427
  maxRuntimeSeconds?: number | undefined;
@@ -4470,6 +4448,17 @@ declare const schemas: {
4470
4448
  id: string;
4471
4449
  revision: number;
4472
4450
  }[] | undefined;
4451
+ capabilityRequirements?: {
4452
+ capabilityId: string;
4453
+ requirement: "required" | "preferred";
4454
+ versionRange: string;
4455
+ configuration?: Record<string, {
4456
+ requirement: "required" | "preferred";
4457
+ value?: unknown;
4458
+ }> | undefined;
4459
+ alternativeGroup?: string | null | undefined;
4460
+ requiredFeatures?: string[] | undefined;
4461
+ }[] | undefined;
4473
4462
  permissions?: {
4474
4463
  repository?: {
4475
4464
  allowCodeMutation?: boolean | undefined;
@@ -4505,18 +4494,6 @@ declare const schemas: {
4505
4494
  requiredArtifactKinds?: string[] | undefined;
4506
4495
  blockOnOpenQuestions?: boolean | undefined;
4507
4496
  } | undefined;
4508
- providerOverrides?: {
4509
- requiredCapabilities?: string[] | undefined;
4510
- instructionTemplateRefs?: {
4511
- id: string;
4512
- revision: number;
4513
- }[] | undefined;
4514
- maxRuntimeSeconds?: number | undefined;
4515
- maxTotalTokens?: number | undefined;
4516
- maxCostAmount?: number | undefined;
4517
- disallowedProviderIds?: string[] | undefined;
4518
- promptRef?: string | undefined;
4519
- } | undefined;
4520
4497
  signals?: {
4521
4498
  subscribesTo?: {
4522
4499
  contract: string;
@@ -4587,12 +4564,12 @@ declare const schemas: {
4587
4564
  messageTypes: string[];
4588
4565
  modelMutations: string[];
4589
4566
  };
4590
- enabled: boolean;
4591
4567
  prompt: {
4592
4568
  system: string;
4593
4569
  templates?: Record<string, string> | undefined;
4594
4570
  task?: string | undefined;
4595
4571
  };
4572
+ enabled: boolean;
4596
4573
  branchPolicy: {
4597
4574
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4598
4575
  base: "staging" | "main";
@@ -4615,8 +4592,8 @@ declare const schemas: {
4615
4592
  closeoutWarningSeconds?: number | undefined;
4616
4593
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
4617
4594
  nativeLimits?: {
4618
- unit: string;
4619
4595
  amount: number;
4596
+ unit: string;
4620
4597
  enforceable?: boolean | undefined;
4621
4598
  }[] | undefined;
4622
4599
  maxRuntimeSeconds?: number | undefined;
@@ -4643,6 +4620,17 @@ declare const schemas: {
4643
4620
  id: string;
4644
4621
  revision: number;
4645
4622
  }[] | undefined;
4623
+ capabilityRequirements?: {
4624
+ capabilityId: string;
4625
+ requirement: "required" | "preferred";
4626
+ versionRange: string;
4627
+ configuration?: Record<string, {
4628
+ requirement: "required" | "preferred";
4629
+ value?: unknown;
4630
+ }> | undefined;
4631
+ alternativeGroup?: string | null | undefined;
4632
+ requiredFeatures?: string[] | undefined;
4633
+ }[] | undefined;
4646
4634
  permissions?: {
4647
4635
  repository?: {
4648
4636
  allowCodeMutation?: boolean | undefined;
@@ -4678,18 +4666,6 @@ declare const schemas: {
4678
4666
  requiredArtifactKinds?: string[] | undefined;
4679
4667
  blockOnOpenQuestions?: boolean | undefined;
4680
4668
  } | undefined;
4681
- providerOverrides?: {
4682
- requiredCapabilities?: string[] | undefined;
4683
- instructionTemplateRefs?: {
4684
- id: string;
4685
- revision: number;
4686
- }[] | undefined;
4687
- maxRuntimeSeconds?: number | undefined;
4688
- maxTotalTokens?: number | undefined;
4689
- maxCostAmount?: number | undefined;
4690
- disallowedProviderIds?: string[] | undefined;
4691
- promptRef?: string | undefined;
4692
- } | undefined;
4693
4669
  signals?: {
4694
4670
  subscribesTo?: {
4695
4671
  contract: string;
@@ -4760,12 +4736,12 @@ declare const schemas: {
4760
4736
  messageTypes: string[];
4761
4737
  modelMutations: string[];
4762
4738
  };
4763
- enabled: boolean;
4764
4739
  prompt: {
4765
4740
  system: string;
4766
4741
  templates?: Record<string, string> | undefined;
4767
4742
  task?: string | undefined;
4768
4743
  };
4744
+ enabled: boolean;
4769
4745
  branchPolicy: {
4770
4746
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4771
4747
  base: "staging" | "main";
@@ -4788,8 +4764,8 @@ declare const schemas: {
4788
4764
  closeoutWarningSeconds?: number | undefined;
4789
4765
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
4790
4766
  nativeLimits?: {
4791
- unit: string;
4792
4767
  amount: number;
4768
+ unit: string;
4793
4769
  enforceable?: boolean | undefined;
4794
4770
  }[] | undefined;
4795
4771
  maxRuntimeSeconds?: number | undefined;
@@ -4816,6 +4792,17 @@ declare const schemas: {
4816
4792
  id: string;
4817
4793
  revision: number;
4818
4794
  }[] | undefined;
4795
+ capabilityRequirements?: {
4796
+ capabilityId: string;
4797
+ requirement: "required" | "preferred";
4798
+ versionRange: string;
4799
+ configuration?: Record<string, {
4800
+ requirement: "required" | "preferred";
4801
+ value?: unknown;
4802
+ }> | undefined;
4803
+ alternativeGroup?: string | null | undefined;
4804
+ requiredFeatures?: string[] | undefined;
4805
+ }[] | undefined;
4819
4806
  permissions?: {
4820
4807
  repository?: {
4821
4808
  allowCodeMutation?: boolean | undefined;
@@ -4851,18 +4838,6 @@ declare const schemas: {
4851
4838
  requiredArtifactKinds?: string[] | undefined;
4852
4839
  blockOnOpenQuestions?: boolean | undefined;
4853
4840
  } | undefined;
4854
- providerOverrides?: {
4855
- requiredCapabilities?: string[] | undefined;
4856
- instructionTemplateRefs?: {
4857
- id: string;
4858
- revision: number;
4859
- }[] | undefined;
4860
- maxRuntimeSeconds?: number | undefined;
4861
- maxTotalTokens?: number | undefined;
4862
- maxCostAmount?: number | undefined;
4863
- disallowedProviderIds?: string[] | undefined;
4864
- promptRef?: string | undefined;
4865
- } | undefined;
4866
4841
  signals?: {
4867
4842
  subscribesTo?: {
4868
4843
  contract: string;
@@ -4933,12 +4908,12 @@ declare const schemas: {
4933
4908
  messageTypes: string[];
4934
4909
  modelMutations: string[];
4935
4910
  };
4936
- enabled: boolean;
4937
4911
  prompt: {
4938
4912
  system: string;
4939
4913
  templates?: Record<string, string> | undefined;
4940
4914
  task?: string | undefined;
4941
4915
  };
4916
+ enabled: boolean;
4942
4917
  branchPolicy: {
4943
4918
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
4944
4919
  base: "staging" | "main";
@@ -4961,8 +4936,8 @@ declare const schemas: {
4961
4936
  closeoutWarningSeconds?: number | undefined;
4962
4937
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
4963
4938
  nativeLimits?: {
4964
- unit: string;
4965
4939
  amount: number;
4940
+ unit: string;
4966
4941
  enforceable?: boolean | undefined;
4967
4942
  }[] | undefined;
4968
4943
  maxRuntimeSeconds?: number | undefined;
@@ -4989,6 +4964,17 @@ declare const schemas: {
4989
4964
  id: string;
4990
4965
  revision: number;
4991
4966
  }[] | undefined;
4967
+ capabilityRequirements?: {
4968
+ capabilityId: string;
4969
+ requirement: "required" | "preferred";
4970
+ versionRange: string;
4971
+ configuration?: Record<string, {
4972
+ requirement: "required" | "preferred";
4973
+ value?: unknown;
4974
+ }> | undefined;
4975
+ alternativeGroup?: string | null | undefined;
4976
+ requiredFeatures?: string[] | undefined;
4977
+ }[] | undefined;
4992
4978
  permissions?: {
4993
4979
  repository?: {
4994
4980
  allowCodeMutation?: boolean | undefined;
@@ -5024,18 +5010,6 @@ declare const schemas: {
5024
5010
  requiredArtifactKinds?: string[] | undefined;
5025
5011
  blockOnOpenQuestions?: boolean | undefined;
5026
5012
  } | undefined;
5027
- providerOverrides?: {
5028
- requiredCapabilities?: string[] | undefined;
5029
- instructionTemplateRefs?: {
5030
- id: string;
5031
- revision: number;
5032
- }[] | undefined;
5033
- maxRuntimeSeconds?: number | undefined;
5034
- maxTotalTokens?: number | undefined;
5035
- maxCostAmount?: number | undefined;
5036
- disallowedProviderIds?: string[] | undefined;
5037
- promptRef?: string | undefined;
5038
- } | undefined;
5039
5013
  signals?: {
5040
5014
  subscribesTo?: {
5041
5015
  contract: string;
@@ -5279,6 +5253,43 @@ declare const schemas: {
5279
5253
  id: string;
5280
5254
  revision: number;
5281
5255
  }[]>>;
5256
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
5257
+ capabilityId: z.ZodString;
5258
+ versionRange: z.ZodString;
5259
+ requirement: z.ZodEnum<["required", "preferred"]>;
5260
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5261
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
5262
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5263
+ value: z.ZodUnknown;
5264
+ requirement: z.ZodEnum<["required", "preferred"]>;
5265
+ }, "strict", z.ZodTypeAny, {
5266
+ requirement: "required" | "preferred";
5267
+ value?: unknown;
5268
+ }, {
5269
+ requirement: "required" | "preferred";
5270
+ value?: unknown;
5271
+ }>>>;
5272
+ }, "strict", z.ZodTypeAny, {
5273
+ capabilityId: string;
5274
+ requirement: "required" | "preferred";
5275
+ versionRange: string;
5276
+ configuration?: Record<string, {
5277
+ requirement: "required" | "preferred";
5278
+ value?: unknown;
5279
+ }> | undefined;
5280
+ alternativeGroup?: string | null | undefined;
5281
+ requiredFeatures?: string[] | undefined;
5282
+ }, {
5283
+ capabilityId: string;
5284
+ requirement: "required" | "preferred";
5285
+ versionRange: string;
5286
+ configuration?: Record<string, {
5287
+ requirement: "required" | "preferred";
5288
+ value?: unknown;
5289
+ }> | undefined;
5290
+ alternativeGroup?: string | null | undefined;
5291
+ requiredFeatures?: string[] | undefined;
5292
+ }>, "many">>;
5282
5293
  permissions: z.ZodOptional<z.ZodObject<{
5283
5294
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5284
5295
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -5410,52 +5421,6 @@ declare const schemas: {
5410
5421
  requiredArtifactKinds?: string[] | undefined;
5411
5422
  blockOnOpenQuestions?: boolean | undefined;
5412
5423
  }>>;
5413
- providerOverrides: z.ZodOptional<z.ZodObject<{
5414
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
5415
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
5416
- promptRef: z.ZodOptional<z.ZodString>;
5417
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
5418
- id: z.ZodString;
5419
- revision: z.ZodNumber;
5420
- }, "strict", z.ZodTypeAny, {
5421
- id: string;
5422
- revision: number;
5423
- }, {
5424
- id: string;
5425
- revision: number;
5426
- }>, "many">, {
5427
- id: string;
5428
- revision: number;
5429
- }[], {
5430
- id: string;
5431
- revision: number;
5432
- }[]>>;
5433
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
5434
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
5435
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
5436
- }, "strict", z.ZodTypeAny, {
5437
- requiredCapabilities?: string[] | undefined;
5438
- instructionTemplateRefs?: {
5439
- id: string;
5440
- revision: number;
5441
- }[] | undefined;
5442
- maxRuntimeSeconds?: number | undefined;
5443
- maxTotalTokens?: number | undefined;
5444
- maxCostAmount?: number | undefined;
5445
- disallowedProviderIds?: string[] | undefined;
5446
- promptRef?: string | undefined;
5447
- }, {
5448
- requiredCapabilities?: string[] | undefined;
5449
- instructionTemplateRefs?: {
5450
- id: string;
5451
- revision: number;
5452
- }[] | undefined;
5453
- maxRuntimeSeconds?: number | undefined;
5454
- maxTotalTokens?: number | undefined;
5455
- maxCostAmount?: number | undefined;
5456
- disallowedProviderIds?: string[] | undefined;
5457
- promptRef?: string | undefined;
5458
- }>>;
5459
5424
  tools: z.ZodObject<{
5460
5425
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
5461
5426
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -5876,12 +5841,12 @@ declare const schemas: {
5876
5841
  amount: z.ZodNumber;
5877
5842
  enforceable: z.ZodOptional<z.ZodBoolean>;
5878
5843
  }, "strict", z.ZodTypeAny, {
5879
- unit: string;
5880
5844
  amount: number;
5845
+ unit: string;
5881
5846
  enforceable?: boolean | undefined;
5882
5847
  }, {
5883
- unit: string;
5884
5848
  amount: number;
5849
+ unit: string;
5885
5850
  enforceable?: boolean | undefined;
5886
5851
  }>, "many">>;
5887
5852
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -5895,8 +5860,8 @@ declare const schemas: {
5895
5860
  closeoutWarningSeconds?: number | undefined;
5896
5861
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
5897
5862
  nativeLimits?: {
5898
- unit: string;
5899
5863
  amount: number;
5864
+ unit: string;
5900
5865
  enforceable?: boolean | undefined;
5901
5866
  }[] | undefined;
5902
5867
  maxRuntimeSeconds?: number | undefined;
@@ -5916,8 +5881,8 @@ declare const schemas: {
5916
5881
  closeoutWarningSeconds?: number | undefined;
5917
5882
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
5918
5883
  nativeLimits?: {
5919
- unit: string;
5920
5884
  amount: number;
5885
+ unit: string;
5921
5886
  enforceable?: boolean | undefined;
5922
5887
  }[] | undefined;
5923
5888
  maxRuntimeSeconds?: number | undefined;
@@ -5936,12 +5901,12 @@ declare const schemas: {
5936
5901
  messageTypes: string[];
5937
5902
  modelMutations: string[];
5938
5903
  };
5939
- enabled: boolean;
5940
5904
  prompt: {
5941
5905
  system: string;
5942
5906
  templates?: Record<string, string> | undefined;
5943
5907
  task?: string | undefined;
5944
5908
  };
5909
+ enabled: boolean;
5945
5910
  branchPolicy: {
5946
5911
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
5947
5912
  base: "staging" | "main";
@@ -5964,8 +5929,8 @@ declare const schemas: {
5964
5929
  closeoutWarningSeconds?: number | undefined;
5965
5930
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
5966
5931
  nativeLimits?: {
5967
- unit: string;
5968
5932
  amount: number;
5933
+ unit: string;
5969
5934
  enforceable?: boolean | undefined;
5970
5935
  }[] | undefined;
5971
5936
  maxRuntimeSeconds?: number | undefined;
@@ -5992,6 +5957,17 @@ declare const schemas: {
5992
5957
  id: string;
5993
5958
  revision: number;
5994
5959
  }[] | undefined;
5960
+ capabilityRequirements?: {
5961
+ capabilityId: string;
5962
+ requirement: "required" | "preferred";
5963
+ versionRange: string;
5964
+ configuration?: Record<string, {
5965
+ requirement: "required" | "preferred";
5966
+ value?: unknown;
5967
+ }> | undefined;
5968
+ alternativeGroup?: string | null | undefined;
5969
+ requiredFeatures?: string[] | undefined;
5970
+ }[] | undefined;
5995
5971
  permissions?: {
5996
5972
  repository?: {
5997
5973
  allowCodeMutation?: boolean | undefined;
@@ -6027,18 +6003,6 @@ declare const schemas: {
6027
6003
  requiredArtifactKinds?: string[] | undefined;
6028
6004
  blockOnOpenQuestions?: boolean | undefined;
6029
6005
  } | undefined;
6030
- providerOverrides?: {
6031
- requiredCapabilities?: string[] | undefined;
6032
- instructionTemplateRefs?: {
6033
- id: string;
6034
- revision: number;
6035
- }[] | undefined;
6036
- maxRuntimeSeconds?: number | undefined;
6037
- maxTotalTokens?: number | undefined;
6038
- maxCostAmount?: number | undefined;
6039
- disallowedProviderIds?: string[] | undefined;
6040
- promptRef?: string | undefined;
6041
- } | undefined;
6042
6006
  signals?: {
6043
6007
  subscribesTo?: {
6044
6008
  contract: string;
@@ -6109,12 +6073,12 @@ declare const schemas: {
6109
6073
  messageTypes: string[];
6110
6074
  modelMutations: string[];
6111
6075
  };
6112
- enabled: boolean;
6113
6076
  prompt: {
6114
6077
  system: string;
6115
6078
  templates?: Record<string, string> | undefined;
6116
6079
  task?: string | undefined;
6117
6080
  };
6081
+ enabled: boolean;
6118
6082
  branchPolicy: {
6119
6083
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
6120
6084
  base: "staging" | "main";
@@ -6137,8 +6101,8 @@ declare const schemas: {
6137
6101
  closeoutWarningSeconds?: number | undefined;
6138
6102
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
6139
6103
  nativeLimits?: {
6140
- unit: string;
6141
6104
  amount: number;
6105
+ unit: string;
6142
6106
  enforceable?: boolean | undefined;
6143
6107
  }[] | undefined;
6144
6108
  maxRuntimeSeconds?: number | undefined;
@@ -6165,6 +6129,17 @@ declare const schemas: {
6165
6129
  id: string;
6166
6130
  revision: number;
6167
6131
  }[] | undefined;
6132
+ capabilityRequirements?: {
6133
+ capabilityId: string;
6134
+ requirement: "required" | "preferred";
6135
+ versionRange: string;
6136
+ configuration?: Record<string, {
6137
+ requirement: "required" | "preferred";
6138
+ value?: unknown;
6139
+ }> | undefined;
6140
+ alternativeGroup?: string | null | undefined;
6141
+ requiredFeatures?: string[] | undefined;
6142
+ }[] | undefined;
6168
6143
  permissions?: {
6169
6144
  repository?: {
6170
6145
  allowCodeMutation?: boolean | undefined;
@@ -6200,18 +6175,6 @@ declare const schemas: {
6200
6175
  requiredArtifactKinds?: string[] | undefined;
6201
6176
  blockOnOpenQuestions?: boolean | undefined;
6202
6177
  } | undefined;
6203
- providerOverrides?: {
6204
- requiredCapabilities?: string[] | undefined;
6205
- instructionTemplateRefs?: {
6206
- id: string;
6207
- revision: number;
6208
- }[] | undefined;
6209
- maxRuntimeSeconds?: number | undefined;
6210
- maxTotalTokens?: number | undefined;
6211
- maxCostAmount?: number | undefined;
6212
- disallowedProviderIds?: string[] | undefined;
6213
- promptRef?: string | undefined;
6214
- } | undefined;
6215
6178
  signals?: {
6216
6179
  subscribesTo?: {
6217
6180
  contract: string;
@@ -6282,12 +6245,12 @@ declare const schemas: {
6282
6245
  messageTypes: string[];
6283
6246
  modelMutations: string[];
6284
6247
  };
6285
- enabled: boolean;
6286
6248
  prompt: {
6287
6249
  system: string;
6288
6250
  templates?: Record<string, string> | undefined;
6289
6251
  task?: string | undefined;
6290
6252
  };
6253
+ enabled: boolean;
6291
6254
  branchPolicy: {
6292
6255
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
6293
6256
  base: "staging" | "main";
@@ -6310,8 +6273,8 @@ declare const schemas: {
6310
6273
  closeoutWarningSeconds?: number | undefined;
6311
6274
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
6312
6275
  nativeLimits?: {
6313
- unit: string;
6314
6276
  amount: number;
6277
+ unit: string;
6315
6278
  enforceable?: boolean | undefined;
6316
6279
  }[] | undefined;
6317
6280
  maxRuntimeSeconds?: number | undefined;
@@ -6338,6 +6301,17 @@ declare const schemas: {
6338
6301
  id: string;
6339
6302
  revision: number;
6340
6303
  }[] | undefined;
6304
+ capabilityRequirements?: {
6305
+ capabilityId: string;
6306
+ requirement: "required" | "preferred";
6307
+ versionRange: string;
6308
+ configuration?: Record<string, {
6309
+ requirement: "required" | "preferred";
6310
+ value?: unknown;
6311
+ }> | undefined;
6312
+ alternativeGroup?: string | null | undefined;
6313
+ requiredFeatures?: string[] | undefined;
6314
+ }[] | undefined;
6341
6315
  permissions?: {
6342
6316
  repository?: {
6343
6317
  allowCodeMutation?: boolean | undefined;
@@ -6373,18 +6347,6 @@ declare const schemas: {
6373
6347
  requiredArtifactKinds?: string[] | undefined;
6374
6348
  blockOnOpenQuestions?: boolean | undefined;
6375
6349
  } | undefined;
6376
- providerOverrides?: {
6377
- requiredCapabilities?: string[] | undefined;
6378
- instructionTemplateRefs?: {
6379
- id: string;
6380
- revision: number;
6381
- }[] | undefined;
6382
- maxRuntimeSeconds?: number | undefined;
6383
- maxTotalTokens?: number | undefined;
6384
- maxCostAmount?: number | undefined;
6385
- disallowedProviderIds?: string[] | undefined;
6386
- promptRef?: string | undefined;
6387
- } | undefined;
6388
6350
  signals?: {
6389
6351
  subscribesTo?: {
6390
6352
  contract: string;
@@ -6455,12 +6417,12 @@ declare const schemas: {
6455
6417
  messageTypes: string[];
6456
6418
  modelMutations: string[];
6457
6419
  };
6458
- enabled: boolean;
6459
6420
  prompt: {
6460
6421
  system: string;
6461
6422
  templates?: Record<string, string> | undefined;
6462
6423
  task?: string | undefined;
6463
6424
  };
6425
+ enabled: boolean;
6464
6426
  branchPolicy: {
6465
6427
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
6466
6428
  base: "staging" | "main";
@@ -6483,8 +6445,8 @@ declare const schemas: {
6483
6445
  closeoutWarningSeconds?: number | undefined;
6484
6446
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
6485
6447
  nativeLimits?: {
6486
- unit: string;
6487
6448
  amount: number;
6449
+ unit: string;
6488
6450
  enforceable?: boolean | undefined;
6489
6451
  }[] | undefined;
6490
6452
  maxRuntimeSeconds?: number | undefined;
@@ -6511,6 +6473,17 @@ declare const schemas: {
6511
6473
  id: string;
6512
6474
  revision: number;
6513
6475
  }[] | undefined;
6476
+ capabilityRequirements?: {
6477
+ capabilityId: string;
6478
+ requirement: "required" | "preferred";
6479
+ versionRange: string;
6480
+ configuration?: Record<string, {
6481
+ requirement: "required" | "preferred";
6482
+ value?: unknown;
6483
+ }> | undefined;
6484
+ alternativeGroup?: string | null | undefined;
6485
+ requiredFeatures?: string[] | undefined;
6486
+ }[] | undefined;
6514
6487
  permissions?: {
6515
6488
  repository?: {
6516
6489
  allowCodeMutation?: boolean | undefined;
@@ -6546,18 +6519,6 @@ declare const schemas: {
6546
6519
  requiredArtifactKinds?: string[] | undefined;
6547
6520
  blockOnOpenQuestions?: boolean | undefined;
6548
6521
  } | undefined;
6549
- providerOverrides?: {
6550
- requiredCapabilities?: string[] | undefined;
6551
- instructionTemplateRefs?: {
6552
- id: string;
6553
- revision: number;
6554
- }[] | undefined;
6555
- maxRuntimeSeconds?: number | undefined;
6556
- maxTotalTokens?: number | undefined;
6557
- maxCostAmount?: number | undefined;
6558
- disallowedProviderIds?: string[] | undefined;
6559
- promptRef?: string | undefined;
6560
- } | undefined;
6561
6522
  signals?: {
6562
6523
  subscribesTo?: {
6563
6524
  contract: string;
@@ -6801,6 +6762,43 @@ declare const schemas: {
6801
6762
  id: string;
6802
6763
  revision: number;
6803
6764
  }[]>>;
6765
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
6766
+ capabilityId: z.ZodString;
6767
+ versionRange: z.ZodString;
6768
+ requirement: z.ZodEnum<["required", "preferred"]>;
6769
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6770
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
6771
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6772
+ value: z.ZodUnknown;
6773
+ requirement: z.ZodEnum<["required", "preferred"]>;
6774
+ }, "strict", z.ZodTypeAny, {
6775
+ requirement: "required" | "preferred";
6776
+ value?: unknown;
6777
+ }, {
6778
+ requirement: "required" | "preferred";
6779
+ value?: unknown;
6780
+ }>>>;
6781
+ }, "strict", z.ZodTypeAny, {
6782
+ capabilityId: string;
6783
+ requirement: "required" | "preferred";
6784
+ versionRange: string;
6785
+ configuration?: Record<string, {
6786
+ requirement: "required" | "preferred";
6787
+ value?: unknown;
6788
+ }> | undefined;
6789
+ alternativeGroup?: string | null | undefined;
6790
+ requiredFeatures?: string[] | undefined;
6791
+ }, {
6792
+ capabilityId: string;
6793
+ requirement: "required" | "preferred";
6794
+ versionRange: string;
6795
+ configuration?: Record<string, {
6796
+ requirement: "required" | "preferred";
6797
+ value?: unknown;
6798
+ }> | undefined;
6799
+ alternativeGroup?: string | null | undefined;
6800
+ requiredFeatures?: string[] | undefined;
6801
+ }>, "many">>;
6804
6802
  permissions: z.ZodOptional<z.ZodObject<{
6805
6803
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6806
6804
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -6932,52 +6930,6 @@ declare const schemas: {
6932
6930
  requiredArtifactKinds?: string[] | undefined;
6933
6931
  blockOnOpenQuestions?: boolean | undefined;
6934
6932
  }>>;
6935
- providerOverrides: z.ZodOptional<z.ZodObject<{
6936
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
6937
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
6938
- promptRef: z.ZodOptional<z.ZodString>;
6939
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
6940
- id: z.ZodString;
6941
- revision: z.ZodNumber;
6942
- }, "strict", z.ZodTypeAny, {
6943
- id: string;
6944
- revision: number;
6945
- }, {
6946
- id: string;
6947
- revision: number;
6948
- }>, "many">, {
6949
- id: string;
6950
- revision: number;
6951
- }[], {
6952
- id: string;
6953
- revision: number;
6954
- }[]>>;
6955
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
6956
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
6957
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
6958
- }, "strict", z.ZodTypeAny, {
6959
- requiredCapabilities?: string[] | undefined;
6960
- instructionTemplateRefs?: {
6961
- id: string;
6962
- revision: number;
6963
- }[] | undefined;
6964
- maxRuntimeSeconds?: number | undefined;
6965
- maxTotalTokens?: number | undefined;
6966
- maxCostAmount?: number | undefined;
6967
- disallowedProviderIds?: string[] | undefined;
6968
- promptRef?: string | undefined;
6969
- }, {
6970
- requiredCapabilities?: string[] | undefined;
6971
- instructionTemplateRefs?: {
6972
- id: string;
6973
- revision: number;
6974
- }[] | undefined;
6975
- maxRuntimeSeconds?: number | undefined;
6976
- maxTotalTokens?: number | undefined;
6977
- maxCostAmount?: number | undefined;
6978
- disallowedProviderIds?: string[] | undefined;
6979
- promptRef?: string | undefined;
6980
- }>>;
6981
6933
  tools: z.ZodObject<{
6982
6934
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
6983
6935
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -7398,12 +7350,12 @@ declare const schemas: {
7398
7350
  amount: z.ZodNumber;
7399
7351
  enforceable: z.ZodOptional<z.ZodBoolean>;
7400
7352
  }, "strict", z.ZodTypeAny, {
7401
- unit: string;
7402
7353
  amount: number;
7354
+ unit: string;
7403
7355
  enforceable?: boolean | undefined;
7404
7356
  }, {
7405
- unit: string;
7406
7357
  amount: number;
7358
+ unit: string;
7407
7359
  enforceable?: boolean | undefined;
7408
7360
  }>, "many">>;
7409
7361
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -7417,8 +7369,8 @@ declare const schemas: {
7417
7369
  closeoutWarningSeconds?: number | undefined;
7418
7370
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
7419
7371
  nativeLimits?: {
7420
- unit: string;
7421
7372
  amount: number;
7373
+ unit: string;
7422
7374
  enforceable?: boolean | undefined;
7423
7375
  }[] | undefined;
7424
7376
  maxRuntimeSeconds?: number | undefined;
@@ -7438,8 +7390,8 @@ declare const schemas: {
7438
7390
  closeoutWarningSeconds?: number | undefined;
7439
7391
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
7440
7392
  nativeLimits?: {
7441
- unit: string;
7442
7393
  amount: number;
7394
+ unit: string;
7443
7395
  enforceable?: boolean | undefined;
7444
7396
  }[] | undefined;
7445
7397
  maxRuntimeSeconds?: number | undefined;
@@ -7458,12 +7410,12 @@ declare const schemas: {
7458
7410
  messageTypes: string[];
7459
7411
  modelMutations: string[];
7460
7412
  };
7461
- enabled: boolean;
7462
7413
  prompt: {
7463
7414
  system: string;
7464
7415
  templates?: Record<string, string> | undefined;
7465
7416
  task?: string | undefined;
7466
7417
  };
7418
+ enabled: boolean;
7467
7419
  branchPolicy: {
7468
7420
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7469
7421
  base: "staging" | "main";
@@ -7486,8 +7438,8 @@ declare const schemas: {
7486
7438
  closeoutWarningSeconds?: number | undefined;
7487
7439
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
7488
7440
  nativeLimits?: {
7489
- unit: string;
7490
7441
  amount: number;
7442
+ unit: string;
7491
7443
  enforceable?: boolean | undefined;
7492
7444
  }[] | undefined;
7493
7445
  maxRuntimeSeconds?: number | undefined;
@@ -7514,6 +7466,17 @@ declare const schemas: {
7514
7466
  id: string;
7515
7467
  revision: number;
7516
7468
  }[] | undefined;
7469
+ capabilityRequirements?: {
7470
+ capabilityId: string;
7471
+ requirement: "required" | "preferred";
7472
+ versionRange: string;
7473
+ configuration?: Record<string, {
7474
+ requirement: "required" | "preferred";
7475
+ value?: unknown;
7476
+ }> | undefined;
7477
+ alternativeGroup?: string | null | undefined;
7478
+ requiredFeatures?: string[] | undefined;
7479
+ }[] | undefined;
7517
7480
  permissions?: {
7518
7481
  repository?: {
7519
7482
  allowCodeMutation?: boolean | undefined;
@@ -7549,18 +7512,6 @@ declare const schemas: {
7549
7512
  requiredArtifactKinds?: string[] | undefined;
7550
7513
  blockOnOpenQuestions?: boolean | undefined;
7551
7514
  } | undefined;
7552
- providerOverrides?: {
7553
- requiredCapabilities?: string[] | undefined;
7554
- instructionTemplateRefs?: {
7555
- id: string;
7556
- revision: number;
7557
- }[] | undefined;
7558
- maxRuntimeSeconds?: number | undefined;
7559
- maxTotalTokens?: number | undefined;
7560
- maxCostAmount?: number | undefined;
7561
- disallowedProviderIds?: string[] | undefined;
7562
- promptRef?: string | undefined;
7563
- } | undefined;
7564
7515
  signals?: {
7565
7516
  subscribesTo?: {
7566
7517
  contract: string;
@@ -7631,12 +7582,12 @@ declare const schemas: {
7631
7582
  messageTypes: string[];
7632
7583
  modelMutations: string[];
7633
7584
  };
7634
- enabled: boolean;
7635
7585
  prompt: {
7636
7586
  system: string;
7637
7587
  templates?: Record<string, string> | undefined;
7638
7588
  task?: string | undefined;
7639
7589
  };
7590
+ enabled: boolean;
7640
7591
  branchPolicy: {
7641
7592
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7642
7593
  base: "staging" | "main";
@@ -7659,8 +7610,8 @@ declare const schemas: {
7659
7610
  closeoutWarningSeconds?: number | undefined;
7660
7611
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
7661
7612
  nativeLimits?: {
7662
- unit: string;
7663
7613
  amount: number;
7614
+ unit: string;
7664
7615
  enforceable?: boolean | undefined;
7665
7616
  }[] | undefined;
7666
7617
  maxRuntimeSeconds?: number | undefined;
@@ -7687,6 +7638,17 @@ declare const schemas: {
7687
7638
  id: string;
7688
7639
  revision: number;
7689
7640
  }[] | undefined;
7641
+ capabilityRequirements?: {
7642
+ capabilityId: string;
7643
+ requirement: "required" | "preferred";
7644
+ versionRange: string;
7645
+ configuration?: Record<string, {
7646
+ requirement: "required" | "preferred";
7647
+ value?: unknown;
7648
+ }> | undefined;
7649
+ alternativeGroup?: string | null | undefined;
7650
+ requiredFeatures?: string[] | undefined;
7651
+ }[] | undefined;
7690
7652
  permissions?: {
7691
7653
  repository?: {
7692
7654
  allowCodeMutation?: boolean | undefined;
@@ -7722,18 +7684,6 @@ declare const schemas: {
7722
7684
  requiredArtifactKinds?: string[] | undefined;
7723
7685
  blockOnOpenQuestions?: boolean | undefined;
7724
7686
  } | undefined;
7725
- providerOverrides?: {
7726
- requiredCapabilities?: string[] | undefined;
7727
- instructionTemplateRefs?: {
7728
- id: string;
7729
- revision: number;
7730
- }[] | undefined;
7731
- maxRuntimeSeconds?: number | undefined;
7732
- maxTotalTokens?: number | undefined;
7733
- maxCostAmount?: number | undefined;
7734
- disallowedProviderIds?: string[] | undefined;
7735
- promptRef?: string | undefined;
7736
- } | undefined;
7737
7687
  signals?: {
7738
7688
  subscribesTo?: {
7739
7689
  contract: string;
@@ -7804,12 +7754,12 @@ declare const schemas: {
7804
7754
  messageTypes: string[];
7805
7755
  modelMutations: string[];
7806
7756
  };
7807
- enabled: boolean;
7808
7757
  prompt: {
7809
7758
  system: string;
7810
7759
  templates?: Record<string, string> | undefined;
7811
7760
  task?: string | undefined;
7812
7761
  };
7762
+ enabled: boolean;
7813
7763
  branchPolicy: {
7814
7764
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7815
7765
  base: "staging" | "main";
@@ -7832,8 +7782,8 @@ declare const schemas: {
7832
7782
  closeoutWarningSeconds?: number | undefined;
7833
7783
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
7834
7784
  nativeLimits?: {
7835
- unit: string;
7836
7785
  amount: number;
7786
+ unit: string;
7837
7787
  enforceable?: boolean | undefined;
7838
7788
  }[] | undefined;
7839
7789
  maxRuntimeSeconds?: number | undefined;
@@ -7860,6 +7810,17 @@ declare const schemas: {
7860
7810
  id: string;
7861
7811
  revision: number;
7862
7812
  }[] | undefined;
7813
+ capabilityRequirements?: {
7814
+ capabilityId: string;
7815
+ requirement: "required" | "preferred";
7816
+ versionRange: string;
7817
+ configuration?: Record<string, {
7818
+ requirement: "required" | "preferred";
7819
+ value?: unknown;
7820
+ }> | undefined;
7821
+ alternativeGroup?: string | null | undefined;
7822
+ requiredFeatures?: string[] | undefined;
7823
+ }[] | undefined;
7863
7824
  permissions?: {
7864
7825
  repository?: {
7865
7826
  allowCodeMutation?: boolean | undefined;
@@ -7895,18 +7856,6 @@ declare const schemas: {
7895
7856
  requiredArtifactKinds?: string[] | undefined;
7896
7857
  blockOnOpenQuestions?: boolean | undefined;
7897
7858
  } | undefined;
7898
- providerOverrides?: {
7899
- requiredCapabilities?: string[] | undefined;
7900
- instructionTemplateRefs?: {
7901
- id: string;
7902
- revision: number;
7903
- }[] | undefined;
7904
- maxRuntimeSeconds?: number | undefined;
7905
- maxTotalTokens?: number | undefined;
7906
- maxCostAmount?: number | undefined;
7907
- disallowedProviderIds?: string[] | undefined;
7908
- promptRef?: string | undefined;
7909
- } | undefined;
7910
7859
  signals?: {
7911
7860
  subscribesTo?: {
7912
7861
  contract: string;
@@ -7977,12 +7926,12 @@ declare const schemas: {
7977
7926
  messageTypes: string[];
7978
7927
  modelMutations: string[];
7979
7928
  };
7980
- enabled: boolean;
7981
7929
  prompt: {
7982
7930
  system: string;
7983
7931
  templates?: Record<string, string> | undefined;
7984
7932
  task?: string | undefined;
7985
7933
  };
7934
+ enabled: boolean;
7986
7935
  branchPolicy: {
7987
7936
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
7988
7937
  base: "staging" | "main";
@@ -8005,8 +7954,8 @@ declare const schemas: {
8005
7954
  closeoutWarningSeconds?: number | undefined;
8006
7955
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
8007
7956
  nativeLimits?: {
8008
- unit: string;
8009
7957
  amount: number;
7958
+ unit: string;
8010
7959
  enforceable?: boolean | undefined;
8011
7960
  }[] | undefined;
8012
7961
  maxRuntimeSeconds?: number | undefined;
@@ -8033,6 +7982,17 @@ declare const schemas: {
8033
7982
  id: string;
8034
7983
  revision: number;
8035
7984
  }[] | undefined;
7985
+ capabilityRequirements?: {
7986
+ capabilityId: string;
7987
+ requirement: "required" | "preferred";
7988
+ versionRange: string;
7989
+ configuration?: Record<string, {
7990
+ requirement: "required" | "preferred";
7991
+ value?: unknown;
7992
+ }> | undefined;
7993
+ alternativeGroup?: string | null | undefined;
7994
+ requiredFeatures?: string[] | undefined;
7995
+ }[] | undefined;
8036
7996
  permissions?: {
8037
7997
  repository?: {
8038
7998
  allowCodeMutation?: boolean | undefined;
@@ -8068,18 +8028,6 @@ declare const schemas: {
8068
8028
  requiredArtifactKinds?: string[] | undefined;
8069
8029
  blockOnOpenQuestions?: boolean | undefined;
8070
8030
  } | undefined;
8071
- providerOverrides?: {
8072
- requiredCapabilities?: string[] | undefined;
8073
- instructionTemplateRefs?: {
8074
- id: string;
8075
- revision: number;
8076
- }[] | undefined;
8077
- maxRuntimeSeconds?: number | undefined;
8078
- maxTotalTokens?: number | undefined;
8079
- maxCostAmount?: number | undefined;
8080
- disallowedProviderIds?: string[] | undefined;
8081
- promptRef?: string | undefined;
8082
- } | undefined;
8083
8031
  signals?: {
8084
8032
  subscribesTo?: {
8085
8033
  contract: string;
@@ -8323,6 +8271,43 @@ declare const schemas: {
8323
8271
  id: string;
8324
8272
  revision: number;
8325
8273
  }[]>>;
8274
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
8275
+ capabilityId: z.ZodString;
8276
+ versionRange: z.ZodString;
8277
+ requirement: z.ZodEnum<["required", "preferred"]>;
8278
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8279
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
8280
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8281
+ value: z.ZodUnknown;
8282
+ requirement: z.ZodEnum<["required", "preferred"]>;
8283
+ }, "strict", z.ZodTypeAny, {
8284
+ requirement: "required" | "preferred";
8285
+ value?: unknown;
8286
+ }, {
8287
+ requirement: "required" | "preferred";
8288
+ value?: unknown;
8289
+ }>>>;
8290
+ }, "strict", z.ZodTypeAny, {
8291
+ capabilityId: string;
8292
+ requirement: "required" | "preferred";
8293
+ versionRange: string;
8294
+ configuration?: Record<string, {
8295
+ requirement: "required" | "preferred";
8296
+ value?: unknown;
8297
+ }> | undefined;
8298
+ alternativeGroup?: string | null | undefined;
8299
+ requiredFeatures?: string[] | undefined;
8300
+ }, {
8301
+ capabilityId: string;
8302
+ requirement: "required" | "preferred";
8303
+ versionRange: string;
8304
+ configuration?: Record<string, {
8305
+ requirement: "required" | "preferred";
8306
+ value?: unknown;
8307
+ }> | undefined;
8308
+ alternativeGroup?: string | null | undefined;
8309
+ requiredFeatures?: string[] | undefined;
8310
+ }>, "many">>;
8326
8311
  permissions: z.ZodOptional<z.ZodObject<{
8327
8312
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8328
8313
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -8454,52 +8439,6 @@ declare const schemas: {
8454
8439
  requiredArtifactKinds?: string[] | undefined;
8455
8440
  blockOnOpenQuestions?: boolean | undefined;
8456
8441
  }>>;
8457
- providerOverrides: z.ZodOptional<z.ZodObject<{
8458
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
8459
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
8460
- promptRef: z.ZodOptional<z.ZodString>;
8461
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
8462
- id: z.ZodString;
8463
- revision: z.ZodNumber;
8464
- }, "strict", z.ZodTypeAny, {
8465
- id: string;
8466
- revision: number;
8467
- }, {
8468
- id: string;
8469
- revision: number;
8470
- }>, "many">, {
8471
- id: string;
8472
- revision: number;
8473
- }[], {
8474
- id: string;
8475
- revision: number;
8476
- }[]>>;
8477
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
8478
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
8479
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
8480
- }, "strict", z.ZodTypeAny, {
8481
- requiredCapabilities?: string[] | undefined;
8482
- instructionTemplateRefs?: {
8483
- id: string;
8484
- revision: number;
8485
- }[] | undefined;
8486
- maxRuntimeSeconds?: number | undefined;
8487
- maxTotalTokens?: number | undefined;
8488
- maxCostAmount?: number | undefined;
8489
- disallowedProviderIds?: string[] | undefined;
8490
- promptRef?: string | undefined;
8491
- }, {
8492
- requiredCapabilities?: string[] | undefined;
8493
- instructionTemplateRefs?: {
8494
- id: string;
8495
- revision: number;
8496
- }[] | undefined;
8497
- maxRuntimeSeconds?: number | undefined;
8498
- maxTotalTokens?: number | undefined;
8499
- maxCostAmount?: number | undefined;
8500
- disallowedProviderIds?: string[] | undefined;
8501
- promptRef?: string | undefined;
8502
- }>>;
8503
8442
  tools: z.ZodObject<{
8504
8443
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
8505
8444
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -8920,12 +8859,12 @@ declare const schemas: {
8920
8859
  amount: z.ZodNumber;
8921
8860
  enforceable: z.ZodOptional<z.ZodBoolean>;
8922
8861
  }, "strict", z.ZodTypeAny, {
8923
- unit: string;
8924
8862
  amount: number;
8863
+ unit: string;
8925
8864
  enforceable?: boolean | undefined;
8926
8865
  }, {
8927
- unit: string;
8928
8866
  amount: number;
8867
+ unit: string;
8929
8868
  enforceable?: boolean | undefined;
8930
8869
  }>, "many">>;
8931
8870
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -8939,8 +8878,8 @@ declare const schemas: {
8939
8878
  closeoutWarningSeconds?: number | undefined;
8940
8879
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
8941
8880
  nativeLimits?: {
8942
- unit: string;
8943
8881
  amount: number;
8882
+ unit: string;
8944
8883
  enforceable?: boolean | undefined;
8945
8884
  }[] | undefined;
8946
8885
  maxRuntimeSeconds?: number | undefined;
@@ -8960,8 +8899,8 @@ declare const schemas: {
8960
8899
  closeoutWarningSeconds?: number | undefined;
8961
8900
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
8962
8901
  nativeLimits?: {
8963
- unit: string;
8964
8902
  amount: number;
8903
+ unit: string;
8965
8904
  enforceable?: boolean | undefined;
8966
8905
  }[] | undefined;
8967
8906
  maxRuntimeSeconds?: number | undefined;
@@ -8980,12 +8919,12 @@ declare const schemas: {
8980
8919
  messageTypes: string[];
8981
8920
  modelMutations: string[];
8982
8921
  };
8983
- enabled: boolean;
8984
8922
  prompt: {
8985
8923
  system: string;
8986
8924
  templates?: Record<string, string> | undefined;
8987
8925
  task?: string | undefined;
8988
8926
  };
8927
+ enabled: boolean;
8989
8928
  branchPolicy: {
8990
8929
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
8991
8930
  base: "staging" | "main";
@@ -9008,8 +8947,8 @@ declare const schemas: {
9008
8947
  closeoutWarningSeconds?: number | undefined;
9009
8948
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
9010
8949
  nativeLimits?: {
9011
- unit: string;
9012
8950
  amount: number;
8951
+ unit: string;
9013
8952
  enforceable?: boolean | undefined;
9014
8953
  }[] | undefined;
9015
8954
  maxRuntimeSeconds?: number | undefined;
@@ -9036,6 +8975,17 @@ declare const schemas: {
9036
8975
  id: string;
9037
8976
  revision: number;
9038
8977
  }[] | undefined;
8978
+ capabilityRequirements?: {
8979
+ capabilityId: string;
8980
+ requirement: "required" | "preferred";
8981
+ versionRange: string;
8982
+ configuration?: Record<string, {
8983
+ requirement: "required" | "preferred";
8984
+ value?: unknown;
8985
+ }> | undefined;
8986
+ alternativeGroup?: string | null | undefined;
8987
+ requiredFeatures?: string[] | undefined;
8988
+ }[] | undefined;
9039
8989
  permissions?: {
9040
8990
  repository?: {
9041
8991
  allowCodeMutation?: boolean | undefined;
@@ -9071,18 +9021,6 @@ declare const schemas: {
9071
9021
  requiredArtifactKinds?: string[] | undefined;
9072
9022
  blockOnOpenQuestions?: boolean | undefined;
9073
9023
  } | undefined;
9074
- providerOverrides?: {
9075
- requiredCapabilities?: string[] | undefined;
9076
- instructionTemplateRefs?: {
9077
- id: string;
9078
- revision: number;
9079
- }[] | undefined;
9080
- maxRuntimeSeconds?: number | undefined;
9081
- maxTotalTokens?: number | undefined;
9082
- maxCostAmount?: number | undefined;
9083
- disallowedProviderIds?: string[] | undefined;
9084
- promptRef?: string | undefined;
9085
- } | undefined;
9086
9024
  signals?: {
9087
9025
  subscribesTo?: {
9088
9026
  contract: string;
@@ -9153,12 +9091,12 @@ declare const schemas: {
9153
9091
  messageTypes: string[];
9154
9092
  modelMutations: string[];
9155
9093
  };
9156
- enabled: boolean;
9157
9094
  prompt: {
9158
9095
  system: string;
9159
9096
  templates?: Record<string, string> | undefined;
9160
9097
  task?: string | undefined;
9161
9098
  };
9099
+ enabled: boolean;
9162
9100
  branchPolicy: {
9163
9101
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
9164
9102
  base: "staging" | "main";
@@ -9181,8 +9119,8 @@ declare const schemas: {
9181
9119
  closeoutWarningSeconds?: number | undefined;
9182
9120
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
9183
9121
  nativeLimits?: {
9184
- unit: string;
9185
9122
  amount: number;
9123
+ unit: string;
9186
9124
  enforceable?: boolean | undefined;
9187
9125
  }[] | undefined;
9188
9126
  maxRuntimeSeconds?: number | undefined;
@@ -9209,6 +9147,17 @@ declare const schemas: {
9209
9147
  id: string;
9210
9148
  revision: number;
9211
9149
  }[] | undefined;
9150
+ capabilityRequirements?: {
9151
+ capabilityId: string;
9152
+ requirement: "required" | "preferred";
9153
+ versionRange: string;
9154
+ configuration?: Record<string, {
9155
+ requirement: "required" | "preferred";
9156
+ value?: unknown;
9157
+ }> | undefined;
9158
+ alternativeGroup?: string | null | undefined;
9159
+ requiredFeatures?: string[] | undefined;
9160
+ }[] | undefined;
9212
9161
  permissions?: {
9213
9162
  repository?: {
9214
9163
  allowCodeMutation?: boolean | undefined;
@@ -9244,18 +9193,6 @@ declare const schemas: {
9244
9193
  requiredArtifactKinds?: string[] | undefined;
9245
9194
  blockOnOpenQuestions?: boolean | undefined;
9246
9195
  } | undefined;
9247
- providerOverrides?: {
9248
- requiredCapabilities?: string[] | undefined;
9249
- instructionTemplateRefs?: {
9250
- id: string;
9251
- revision: number;
9252
- }[] | undefined;
9253
- maxRuntimeSeconds?: number | undefined;
9254
- maxTotalTokens?: number | undefined;
9255
- maxCostAmount?: number | undefined;
9256
- disallowedProviderIds?: string[] | undefined;
9257
- promptRef?: string | undefined;
9258
- } | undefined;
9259
9196
  signals?: {
9260
9197
  subscribesTo?: {
9261
9198
  contract: string;
@@ -9326,12 +9263,12 @@ declare const schemas: {
9326
9263
  messageTypes: string[];
9327
9264
  modelMutations: string[];
9328
9265
  };
9329
- enabled: boolean;
9330
9266
  prompt: {
9331
9267
  system: string;
9332
9268
  templates?: Record<string, string> | undefined;
9333
9269
  task?: string | undefined;
9334
9270
  };
9271
+ enabled: boolean;
9335
9272
  branchPolicy: {
9336
9273
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
9337
9274
  base: "staging" | "main";
@@ -9354,8 +9291,8 @@ declare const schemas: {
9354
9291
  closeoutWarningSeconds?: number | undefined;
9355
9292
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
9356
9293
  nativeLimits?: {
9357
- unit: string;
9358
9294
  amount: number;
9295
+ unit: string;
9359
9296
  enforceable?: boolean | undefined;
9360
9297
  }[] | undefined;
9361
9298
  maxRuntimeSeconds?: number | undefined;
@@ -9382,6 +9319,17 @@ declare const schemas: {
9382
9319
  id: string;
9383
9320
  revision: number;
9384
9321
  }[] | undefined;
9322
+ capabilityRequirements?: {
9323
+ capabilityId: string;
9324
+ requirement: "required" | "preferred";
9325
+ versionRange: string;
9326
+ configuration?: Record<string, {
9327
+ requirement: "required" | "preferred";
9328
+ value?: unknown;
9329
+ }> | undefined;
9330
+ alternativeGroup?: string | null | undefined;
9331
+ requiredFeatures?: string[] | undefined;
9332
+ }[] | undefined;
9385
9333
  permissions?: {
9386
9334
  repository?: {
9387
9335
  allowCodeMutation?: boolean | undefined;
@@ -9417,18 +9365,6 @@ declare const schemas: {
9417
9365
  requiredArtifactKinds?: string[] | undefined;
9418
9366
  blockOnOpenQuestions?: boolean | undefined;
9419
9367
  } | undefined;
9420
- providerOverrides?: {
9421
- requiredCapabilities?: string[] | undefined;
9422
- instructionTemplateRefs?: {
9423
- id: string;
9424
- revision: number;
9425
- }[] | undefined;
9426
- maxRuntimeSeconds?: number | undefined;
9427
- maxTotalTokens?: number | undefined;
9428
- maxCostAmount?: number | undefined;
9429
- disallowedProviderIds?: string[] | undefined;
9430
- promptRef?: string | undefined;
9431
- } | undefined;
9432
9368
  signals?: {
9433
9369
  subscribesTo?: {
9434
9370
  contract: string;
@@ -9499,12 +9435,12 @@ declare const schemas: {
9499
9435
  messageTypes: string[];
9500
9436
  modelMutations: string[];
9501
9437
  };
9502
- enabled: boolean;
9503
9438
  prompt: {
9504
9439
  system: string;
9505
9440
  templates?: Record<string, string> | undefined;
9506
9441
  task?: string | undefined;
9507
9442
  };
9443
+ enabled: boolean;
9508
9444
  branchPolicy: {
9509
9445
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
9510
9446
  base: "staging" | "main";
@@ -9527,8 +9463,8 @@ declare const schemas: {
9527
9463
  closeoutWarningSeconds?: number | undefined;
9528
9464
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
9529
9465
  nativeLimits?: {
9530
- unit: string;
9531
9466
  amount: number;
9467
+ unit: string;
9532
9468
  enforceable?: boolean | undefined;
9533
9469
  }[] | undefined;
9534
9470
  maxRuntimeSeconds?: number | undefined;
@@ -9555,6 +9491,17 @@ declare const schemas: {
9555
9491
  id: string;
9556
9492
  revision: number;
9557
9493
  }[] | undefined;
9494
+ capabilityRequirements?: {
9495
+ capabilityId: string;
9496
+ requirement: "required" | "preferred";
9497
+ versionRange: string;
9498
+ configuration?: Record<string, {
9499
+ requirement: "required" | "preferred";
9500
+ value?: unknown;
9501
+ }> | undefined;
9502
+ alternativeGroup?: string | null | undefined;
9503
+ requiredFeatures?: string[] | undefined;
9504
+ }[] | undefined;
9558
9505
  permissions?: {
9559
9506
  repository?: {
9560
9507
  allowCodeMutation?: boolean | undefined;
@@ -9590,18 +9537,6 @@ declare const schemas: {
9590
9537
  requiredArtifactKinds?: string[] | undefined;
9591
9538
  blockOnOpenQuestions?: boolean | undefined;
9592
9539
  } | undefined;
9593
- providerOverrides?: {
9594
- requiredCapabilities?: string[] | undefined;
9595
- instructionTemplateRefs?: {
9596
- id: string;
9597
- revision: number;
9598
- }[] | undefined;
9599
- maxRuntimeSeconds?: number | undefined;
9600
- maxTotalTokens?: number | undefined;
9601
- maxCostAmount?: number | undefined;
9602
- disallowedProviderIds?: string[] | undefined;
9603
- promptRef?: string | undefined;
9604
- } | undefined;
9605
9540
  signals?: {
9606
9541
  subscribesTo?: {
9607
9542
  contract: string;
@@ -9694,7 +9629,7 @@ declare const schemas: {
9694
9629
  participant_ids?: string[] | undefined;
9695
9630
  agent_ids?: string[] | undefined;
9696
9631
  parent_workday_id?: string | undefined;
9697
- legacy_status?: "open" | "resolved" | undefined;
9632
+ legacy_status?: "resolved" | "open" | undefined;
9698
9633
  }, {
9699
9634
  title: string;
9700
9635
  status?: "active" | "archived" | undefined;
@@ -9707,7 +9642,7 @@ declare const schemas: {
9707
9642
  participant_ids?: string[] | undefined;
9708
9643
  agent_ids?: string[] | undefined;
9709
9644
  parent_workday_id?: string | undefined;
9710
- legacy_status?: "open" | "resolved" | undefined;
9645
+ legacy_status?: "resolved" | "open" | undefined;
9711
9646
  }>;
9712
9647
  discussion_message: z.ZodObject<{
9713
9648
  title: z.ZodString;
@@ -9795,8 +9730,8 @@ declare const schemas: {
9795
9730
  }, "strip", z.ZodTypeAny, {
9796
9731
  id: string;
9797
9732
  name: string;
9798
- classification: string;
9799
9733
  description: string;
9734
+ classification: string;
9800
9735
  slug: string;
9801
9736
  contract: "treeseed.group/v1";
9802
9737
  status?: "active" | "archived" | undefined;
@@ -9804,8 +9739,8 @@ declare const schemas: {
9804
9739
  }, {
9805
9740
  id: string;
9806
9741
  name: string;
9807
- classification: string;
9808
9742
  description: string;
9743
+ classification: string;
9809
9744
  slug: string;
9810
9745
  contract: "treeseed.group/v1";
9811
9746
  status?: "active" | "archived" | undefined;
@@ -10015,6 +9950,43 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10015
9950
  id: string;
10016
9951
  revision: number;
10017
9952
  }[]>>;
9953
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
9954
+ capabilityId: z.ZodString;
9955
+ versionRange: z.ZodString;
9956
+ requirement: z.ZodEnum<["required", "preferred"]>;
9957
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9958
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
9959
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9960
+ value: z.ZodUnknown;
9961
+ requirement: z.ZodEnum<["required", "preferred"]>;
9962
+ }, "strict", z.ZodTypeAny, {
9963
+ requirement: "required" | "preferred";
9964
+ value?: unknown;
9965
+ }, {
9966
+ requirement: "required" | "preferred";
9967
+ value?: unknown;
9968
+ }>>>;
9969
+ }, "strict", z.ZodTypeAny, {
9970
+ capabilityId: string;
9971
+ requirement: "required" | "preferred";
9972
+ versionRange: string;
9973
+ configuration?: Record<string, {
9974
+ requirement: "required" | "preferred";
9975
+ value?: unknown;
9976
+ }> | undefined;
9977
+ alternativeGroup?: string | null | undefined;
9978
+ requiredFeatures?: string[] | undefined;
9979
+ }, {
9980
+ capabilityId: string;
9981
+ requirement: "required" | "preferred";
9982
+ versionRange: string;
9983
+ configuration?: Record<string, {
9984
+ requirement: "required" | "preferred";
9985
+ value?: unknown;
9986
+ }> | undefined;
9987
+ alternativeGroup?: string | null | undefined;
9988
+ requiredFeatures?: string[] | undefined;
9989
+ }>, "many">>;
10018
9990
  permissions: z.ZodOptional<z.ZodObject<{
10019
9991
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10020
9992
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -10146,52 +10118,6 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10146
10118
  requiredArtifactKinds?: string[] | undefined;
10147
10119
  blockOnOpenQuestions?: boolean | undefined;
10148
10120
  }>>;
10149
- providerOverrides: z.ZodOptional<z.ZodObject<{
10150
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
10151
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
10152
- promptRef: z.ZodOptional<z.ZodString>;
10153
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
10154
- id: z.ZodString;
10155
- revision: z.ZodNumber;
10156
- }, "strict", z.ZodTypeAny, {
10157
- id: string;
10158
- revision: number;
10159
- }, {
10160
- id: string;
10161
- revision: number;
10162
- }>, "many">, {
10163
- id: string;
10164
- revision: number;
10165
- }[], {
10166
- id: string;
10167
- revision: number;
10168
- }[]>>;
10169
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
10170
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
10171
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
10172
- }, "strict", z.ZodTypeAny, {
10173
- requiredCapabilities?: string[] | undefined;
10174
- instructionTemplateRefs?: {
10175
- id: string;
10176
- revision: number;
10177
- }[] | undefined;
10178
- maxRuntimeSeconds?: number | undefined;
10179
- maxTotalTokens?: number | undefined;
10180
- maxCostAmount?: number | undefined;
10181
- disallowedProviderIds?: string[] | undefined;
10182
- promptRef?: string | undefined;
10183
- }, {
10184
- requiredCapabilities?: string[] | undefined;
10185
- instructionTemplateRefs?: {
10186
- id: string;
10187
- revision: number;
10188
- }[] | undefined;
10189
- maxRuntimeSeconds?: number | undefined;
10190
- maxTotalTokens?: number | undefined;
10191
- maxCostAmount?: number | undefined;
10192
- disallowedProviderIds?: string[] | undefined;
10193
- promptRef?: string | undefined;
10194
- }>>;
10195
10121
  tools: z.ZodObject<{
10196
10122
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
10197
10123
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -10612,12 +10538,12 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10612
10538
  amount: z.ZodNumber;
10613
10539
  enforceable: z.ZodOptional<z.ZodBoolean>;
10614
10540
  }, "strict", z.ZodTypeAny, {
10615
- unit: string;
10616
10541
  amount: number;
10542
+ unit: string;
10617
10543
  enforceable?: boolean | undefined;
10618
10544
  }, {
10619
- unit: string;
10620
10545
  amount: number;
10546
+ unit: string;
10621
10547
  enforceable?: boolean | undefined;
10622
10548
  }>, "many">>;
10623
10549
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -10631,8 +10557,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10631
10557
  closeoutWarningSeconds?: number | undefined;
10632
10558
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
10633
10559
  nativeLimits?: {
10634
- unit: string;
10635
10560
  amount: number;
10561
+ unit: string;
10636
10562
  enforceable?: boolean | undefined;
10637
10563
  }[] | undefined;
10638
10564
  maxRuntimeSeconds?: number | undefined;
@@ -10652,8 +10578,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10652
10578
  closeoutWarningSeconds?: number | undefined;
10653
10579
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
10654
10580
  nativeLimits?: {
10655
- unit: string;
10656
10581
  amount: number;
10582
+ unit: string;
10657
10583
  enforceable?: boolean | undefined;
10658
10584
  }[] | undefined;
10659
10585
  maxRuntimeSeconds?: number | undefined;
@@ -10672,12 +10598,12 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10672
10598
  messageTypes: string[];
10673
10599
  modelMutations: string[];
10674
10600
  };
10675
- enabled: boolean;
10676
10601
  prompt: {
10677
10602
  system: string;
10678
10603
  templates?: Record<string, string> | undefined;
10679
10604
  task?: string | undefined;
10680
10605
  };
10606
+ enabled: boolean;
10681
10607
  branchPolicy: {
10682
10608
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
10683
10609
  base: "staging" | "main";
@@ -10700,8 +10626,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10700
10626
  closeoutWarningSeconds?: number | undefined;
10701
10627
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
10702
10628
  nativeLimits?: {
10703
- unit: string;
10704
10629
  amount: number;
10630
+ unit: string;
10705
10631
  enforceable?: boolean | undefined;
10706
10632
  }[] | undefined;
10707
10633
  maxRuntimeSeconds?: number | undefined;
@@ -10728,6 +10654,17 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10728
10654
  id: string;
10729
10655
  revision: number;
10730
10656
  }[] | undefined;
10657
+ capabilityRequirements?: {
10658
+ capabilityId: string;
10659
+ requirement: "required" | "preferred";
10660
+ versionRange: string;
10661
+ configuration?: Record<string, {
10662
+ requirement: "required" | "preferred";
10663
+ value?: unknown;
10664
+ }> | undefined;
10665
+ alternativeGroup?: string | null | undefined;
10666
+ requiredFeatures?: string[] | undefined;
10667
+ }[] | undefined;
10731
10668
  permissions?: {
10732
10669
  repository?: {
10733
10670
  allowCodeMutation?: boolean | undefined;
@@ -10763,18 +10700,6 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10763
10700
  requiredArtifactKinds?: string[] | undefined;
10764
10701
  blockOnOpenQuestions?: boolean | undefined;
10765
10702
  } | undefined;
10766
- providerOverrides?: {
10767
- requiredCapabilities?: string[] | undefined;
10768
- instructionTemplateRefs?: {
10769
- id: string;
10770
- revision: number;
10771
- }[] | undefined;
10772
- maxRuntimeSeconds?: number | undefined;
10773
- maxTotalTokens?: number | undefined;
10774
- maxCostAmount?: number | undefined;
10775
- disallowedProviderIds?: string[] | undefined;
10776
- promptRef?: string | undefined;
10777
- } | undefined;
10778
10703
  signals?: {
10779
10704
  subscribesTo?: {
10780
10705
  contract: string;
@@ -10845,12 +10770,12 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10845
10770
  messageTypes: string[];
10846
10771
  modelMutations: string[];
10847
10772
  };
10848
- enabled: boolean;
10849
10773
  prompt: {
10850
10774
  system: string;
10851
10775
  templates?: Record<string, string> | undefined;
10852
10776
  task?: string | undefined;
10853
10777
  };
10778
+ enabled: boolean;
10854
10779
  branchPolicy: {
10855
10780
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
10856
10781
  base: "staging" | "main";
@@ -10873,8 +10798,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10873
10798
  closeoutWarningSeconds?: number | undefined;
10874
10799
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
10875
10800
  nativeLimits?: {
10876
- unit: string;
10877
10801
  amount: number;
10802
+ unit: string;
10878
10803
  enforceable?: boolean | undefined;
10879
10804
  }[] | undefined;
10880
10805
  maxRuntimeSeconds?: number | undefined;
@@ -10901,6 +10826,17 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10901
10826
  id: string;
10902
10827
  revision: number;
10903
10828
  }[] | undefined;
10829
+ capabilityRequirements?: {
10830
+ capabilityId: string;
10831
+ requirement: "required" | "preferred";
10832
+ versionRange: string;
10833
+ configuration?: Record<string, {
10834
+ requirement: "required" | "preferred";
10835
+ value?: unknown;
10836
+ }> | undefined;
10837
+ alternativeGroup?: string | null | undefined;
10838
+ requiredFeatures?: string[] | undefined;
10839
+ }[] | undefined;
10904
10840
  permissions?: {
10905
10841
  repository?: {
10906
10842
  allowCodeMutation?: boolean | undefined;
@@ -10936,18 +10872,6 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10936
10872
  requiredArtifactKinds?: string[] | undefined;
10937
10873
  blockOnOpenQuestions?: boolean | undefined;
10938
10874
  } | undefined;
10939
- providerOverrides?: {
10940
- requiredCapabilities?: string[] | undefined;
10941
- instructionTemplateRefs?: {
10942
- id: string;
10943
- revision: number;
10944
- }[] | undefined;
10945
- maxRuntimeSeconds?: number | undefined;
10946
- maxTotalTokens?: number | undefined;
10947
- maxCostAmount?: number | undefined;
10948
- disallowedProviderIds?: string[] | undefined;
10949
- promptRef?: string | undefined;
10950
- } | undefined;
10951
10875
  signals?: {
10952
10876
  subscribesTo?: {
10953
10877
  contract: string;
@@ -11018,12 +10942,12 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11018
10942
  messageTypes: string[];
11019
10943
  modelMutations: string[];
11020
10944
  };
11021
- enabled: boolean;
11022
10945
  prompt: {
11023
10946
  system: string;
11024
10947
  templates?: Record<string, string> | undefined;
11025
10948
  task?: string | undefined;
11026
10949
  };
10950
+ enabled: boolean;
11027
10951
  branchPolicy: {
11028
10952
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
11029
10953
  base: "staging" | "main";
@@ -11046,8 +10970,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11046
10970
  closeoutWarningSeconds?: number | undefined;
11047
10971
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
11048
10972
  nativeLimits?: {
11049
- unit: string;
11050
10973
  amount: number;
10974
+ unit: string;
11051
10975
  enforceable?: boolean | undefined;
11052
10976
  }[] | undefined;
11053
10977
  maxRuntimeSeconds?: number | undefined;
@@ -11074,6 +10998,17 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11074
10998
  id: string;
11075
10999
  revision: number;
11076
11000
  }[] | undefined;
11001
+ capabilityRequirements?: {
11002
+ capabilityId: string;
11003
+ requirement: "required" | "preferred";
11004
+ versionRange: string;
11005
+ configuration?: Record<string, {
11006
+ requirement: "required" | "preferred";
11007
+ value?: unknown;
11008
+ }> | undefined;
11009
+ alternativeGroup?: string | null | undefined;
11010
+ requiredFeatures?: string[] | undefined;
11011
+ }[] | undefined;
11077
11012
  permissions?: {
11078
11013
  repository?: {
11079
11014
  allowCodeMutation?: boolean | undefined;
@@ -11109,18 +11044,6 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11109
11044
  requiredArtifactKinds?: string[] | undefined;
11110
11045
  blockOnOpenQuestions?: boolean | undefined;
11111
11046
  } | undefined;
11112
- providerOverrides?: {
11113
- requiredCapabilities?: string[] | undefined;
11114
- instructionTemplateRefs?: {
11115
- id: string;
11116
- revision: number;
11117
- }[] | undefined;
11118
- maxRuntimeSeconds?: number | undefined;
11119
- maxTotalTokens?: number | undefined;
11120
- maxCostAmount?: number | undefined;
11121
- disallowedProviderIds?: string[] | undefined;
11122
- promptRef?: string | undefined;
11123
- } | undefined;
11124
11047
  signals?: {
11125
11048
  subscribesTo?: {
11126
11049
  contract: string;
@@ -11191,12 +11114,12 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11191
11114
  messageTypes: string[];
11192
11115
  modelMutations: string[];
11193
11116
  };
11194
- enabled: boolean;
11195
11117
  prompt: {
11196
11118
  system: string;
11197
11119
  templates?: Record<string, string> | undefined;
11198
11120
  task?: string | undefined;
11199
11121
  };
11122
+ enabled: boolean;
11200
11123
  branchPolicy: {
11201
11124
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
11202
11125
  base: "staging" | "main";
@@ -11219,8 +11142,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11219
11142
  closeoutWarningSeconds?: number | undefined;
11220
11143
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
11221
11144
  nativeLimits?: {
11222
- unit: string;
11223
11145
  amount: number;
11146
+ unit: string;
11224
11147
  enforceable?: boolean | undefined;
11225
11148
  }[] | undefined;
11226
11149
  maxRuntimeSeconds?: number | undefined;
@@ -11247,6 +11170,17 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11247
11170
  id: string;
11248
11171
  revision: number;
11249
11172
  }[] | undefined;
11173
+ capabilityRequirements?: {
11174
+ capabilityId: string;
11175
+ requirement: "required" | "preferred";
11176
+ versionRange: string;
11177
+ configuration?: Record<string, {
11178
+ requirement: "required" | "preferred";
11179
+ value?: unknown;
11180
+ }> | undefined;
11181
+ alternativeGroup?: string | null | undefined;
11182
+ requiredFeatures?: string[] | undefined;
11183
+ }[] | undefined;
11250
11184
  permissions?: {
11251
11185
  repository?: {
11252
11186
  allowCodeMutation?: boolean | undefined;
@@ -11282,18 +11216,6 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11282
11216
  requiredArtifactKinds?: string[] | undefined;
11283
11217
  blockOnOpenQuestions?: boolean | undefined;
11284
11218
  } | undefined;
11285
- providerOverrides?: {
11286
- requiredCapabilities?: string[] | undefined;
11287
- instructionTemplateRefs?: {
11288
- id: string;
11289
- revision: number;
11290
- }[] | undefined;
11291
- maxRuntimeSeconds?: number | undefined;
11292
- maxTotalTokens?: number | undefined;
11293
- maxCostAmount?: number | undefined;
11294
- disallowedProviderIds?: string[] | undefined;
11295
- promptRef?: string | undefined;
11296
- } | undefined;
11297
11219
  signals?: {
11298
11220
  subscribesTo?: {
11299
11221
  contract: string;
@@ -11431,8 +11353,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11431
11353
  prioritySnapshotId?: string | null | undefined;
11432
11354
  } | {
11433
11355
  status: "live" | "archived" | "draft";
11434
- audience: string[];
11435
11356
  description: string;
11357
+ audience: string[];
11436
11358
  summary: string;
11437
11359
  slug: string;
11438
11360
  title: string;
@@ -11531,10 +11453,10 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11531
11453
  paths?: string[] | undefined;
11532
11454
  models?: string[] | undefined;
11533
11455
  };
11456
+ description: string;
11534
11457
  required: boolean;
11535
11458
  revision: number;
11536
- format: "map" | "summary" | "list" | "full" | "brief" | "sources";
11537
- description: string;
11459
+ format: "map" | "sources" | "summary" | "list" | "full" | "brief";
11538
11460
  query: string;
11539
11461
  depth: number;
11540
11462
  title: string;
@@ -11551,8 +11473,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11551
11473
  codeScopes?: string[] | undefined;
11552
11474
  } | {
11553
11475
  id: string;
11554
- revision: number;
11555
11476
  description: string;
11477
+ revision: number;
11556
11478
  title: string;
11557
11479
  queryRefs: {
11558
11480
  id: string;
@@ -11562,8 +11484,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11562
11484
  } | {
11563
11485
  kind: "message" | "status" | "summary" | "plan";
11564
11486
  id: string;
11565
- revision: number;
11566
11487
  description: string;
11488
+ revision: number;
11567
11489
  title: string;
11568
11490
  instructions: string;
11569
11491
  variables: string[];
@@ -11697,8 +11619,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11697
11619
  } | {
11698
11620
  title: string;
11699
11621
  status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
11700
- audience?: string[] | undefined;
11701
11622
  description?: string | undefined;
11623
+ audience?: string[] | undefined;
11702
11624
  summary?: string | undefined;
11703
11625
  stage?: string | undefined;
11704
11626
  slug?: string | undefined;
@@ -11826,8 +11748,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11826
11748
  summary: string;
11827
11749
  slug: string;
11828
11750
  title: string;
11829
- audience?: string[] | undefined;
11830
11751
  description?: string | undefined;
11752
+ audience?: string[] | undefined;
11831
11753
  groupIds?: string[] | undefined;
11832
11754
  relatedBookIds?: string[] | undefined;
11833
11755
  } | {
@@ -11839,14 +11761,14 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11839
11761
  slug: string;
11840
11762
  title: string;
11841
11763
  bookId: string;
11842
- order?: number | undefined;
11843
11764
  description?: string | undefined;
11765
+ order?: number | undefined;
11844
11766
  groupIds?: string[] | undefined;
11845
11767
  } | {
11846
11768
  name: string;
11847
11769
  status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
11848
- role?: string | undefined;
11849
11770
  description?: string | undefined;
11771
+ role?: string | undefined;
11850
11772
  summary?: string | undefined;
11851
11773
  group_ids?: string[] | undefined;
11852
11774
  related_objectives?: string[] | undefined;
@@ -11864,7 +11786,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11864
11786
  participant_ids?: string[] | undefined;
11865
11787
  agent_ids?: string[] | undefined;
11866
11788
  parent_workday_id?: string | undefined;
11867
- legacy_status?: "open" | "resolved" | undefined;
11789
+ legacy_status?: "resolved" | "open" | undefined;
11868
11790
  } | {
11869
11791
  title: string;
11870
11792
  created_at?: Date | undefined;
@@ -11892,8 +11814,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11892
11814
  } | {
11893
11815
  id: string;
11894
11816
  name: string;
11895
- classification: string;
11896
11817
  description: string;
11818
+ classification: string;
11897
11819
  slug: string;
11898
11820
  contract: "treeseed.group/v1";
11899
11821
  status?: "active" | "archived" | undefined;
@@ -12090,6 +12012,43 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12090
12012
  id: string;
12091
12013
  revision: number;
12092
12014
  }[]>>;
12015
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
12016
+ capabilityId: z.ZodString;
12017
+ versionRange: z.ZodString;
12018
+ requirement: z.ZodEnum<["required", "preferred"]>;
12019
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12020
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
12021
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12022
+ value: z.ZodUnknown;
12023
+ requirement: z.ZodEnum<["required", "preferred"]>;
12024
+ }, "strict", z.ZodTypeAny, {
12025
+ requirement: "required" | "preferred";
12026
+ value?: unknown;
12027
+ }, {
12028
+ requirement: "required" | "preferred";
12029
+ value?: unknown;
12030
+ }>>>;
12031
+ }, "strict", z.ZodTypeAny, {
12032
+ capabilityId: string;
12033
+ requirement: "required" | "preferred";
12034
+ versionRange: string;
12035
+ configuration?: Record<string, {
12036
+ requirement: "required" | "preferred";
12037
+ value?: unknown;
12038
+ }> | undefined;
12039
+ alternativeGroup?: string | null | undefined;
12040
+ requiredFeatures?: string[] | undefined;
12041
+ }, {
12042
+ capabilityId: string;
12043
+ requirement: "required" | "preferred";
12044
+ versionRange: string;
12045
+ configuration?: Record<string, {
12046
+ requirement: "required" | "preferred";
12047
+ value?: unknown;
12048
+ }> | undefined;
12049
+ alternativeGroup?: string | null | undefined;
12050
+ requiredFeatures?: string[] | undefined;
12051
+ }>, "many">>;
12093
12052
  permissions: z.ZodOptional<z.ZodObject<{
12094
12053
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12095
12054
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -12221,52 +12180,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12221
12180
  requiredArtifactKinds?: string[] | undefined;
12222
12181
  blockOnOpenQuestions?: boolean | undefined;
12223
12182
  }>>;
12224
- providerOverrides: z.ZodOptional<z.ZodObject<{
12225
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
12226
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
12227
- promptRef: z.ZodOptional<z.ZodString>;
12228
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
12229
- id: z.ZodString;
12230
- revision: z.ZodNumber;
12231
- }, "strict", z.ZodTypeAny, {
12232
- id: string;
12233
- revision: number;
12234
- }, {
12235
- id: string;
12236
- revision: number;
12237
- }>, "many">, {
12238
- id: string;
12239
- revision: number;
12240
- }[], {
12241
- id: string;
12242
- revision: number;
12243
- }[]>>;
12244
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
12245
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
12246
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
12247
- }, "strict", z.ZodTypeAny, {
12248
- requiredCapabilities?: string[] | undefined;
12249
- instructionTemplateRefs?: {
12250
- id: string;
12251
- revision: number;
12252
- }[] | undefined;
12253
- maxRuntimeSeconds?: number | undefined;
12254
- maxTotalTokens?: number | undefined;
12255
- maxCostAmount?: number | undefined;
12256
- disallowedProviderIds?: string[] | undefined;
12257
- promptRef?: string | undefined;
12258
- }, {
12259
- requiredCapabilities?: string[] | undefined;
12260
- instructionTemplateRefs?: {
12261
- id: string;
12262
- revision: number;
12263
- }[] | undefined;
12264
- maxRuntimeSeconds?: number | undefined;
12265
- maxTotalTokens?: number | undefined;
12266
- maxCostAmount?: number | undefined;
12267
- disallowedProviderIds?: string[] | undefined;
12268
- promptRef?: string | undefined;
12269
- }>>;
12270
12183
  tools: z.ZodObject<{
12271
12184
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
12272
12185
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -12687,12 +12600,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12687
12600
  amount: z.ZodNumber;
12688
12601
  enforceable: z.ZodOptional<z.ZodBoolean>;
12689
12602
  }, "strict", z.ZodTypeAny, {
12690
- unit: string;
12691
12603
  amount: number;
12604
+ unit: string;
12692
12605
  enforceable?: boolean | undefined;
12693
12606
  }, {
12694
- unit: string;
12695
12607
  amount: number;
12608
+ unit: string;
12696
12609
  enforceable?: boolean | undefined;
12697
12610
  }>, "many">>;
12698
12611
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -12706,8 +12619,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12706
12619
  closeoutWarningSeconds?: number | undefined;
12707
12620
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
12708
12621
  nativeLimits?: {
12709
- unit: string;
12710
12622
  amount: number;
12623
+ unit: string;
12711
12624
  enforceable?: boolean | undefined;
12712
12625
  }[] | undefined;
12713
12626
  maxRuntimeSeconds?: number | undefined;
@@ -12727,8 +12640,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12727
12640
  closeoutWarningSeconds?: number | undefined;
12728
12641
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
12729
12642
  nativeLimits?: {
12730
- unit: string;
12731
12643
  amount: number;
12644
+ unit: string;
12732
12645
  enforceable?: boolean | undefined;
12733
12646
  }[] | undefined;
12734
12647
  maxRuntimeSeconds?: number | undefined;
@@ -12747,12 +12660,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12747
12660
  messageTypes: string[];
12748
12661
  modelMutations: string[];
12749
12662
  };
12750
- enabled: boolean;
12751
12663
  prompt: {
12752
12664
  system: string;
12753
12665
  templates?: Record<string, string> | undefined;
12754
12666
  task?: string | undefined;
12755
12667
  };
12668
+ enabled: boolean;
12756
12669
  branchPolicy: {
12757
12670
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
12758
12671
  base: "staging" | "main";
@@ -12775,8 +12688,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12775
12688
  closeoutWarningSeconds?: number | undefined;
12776
12689
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
12777
12690
  nativeLimits?: {
12778
- unit: string;
12779
12691
  amount: number;
12692
+ unit: string;
12780
12693
  enforceable?: boolean | undefined;
12781
12694
  }[] | undefined;
12782
12695
  maxRuntimeSeconds?: number | undefined;
@@ -12803,6 +12716,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12803
12716
  id: string;
12804
12717
  revision: number;
12805
12718
  }[] | undefined;
12719
+ capabilityRequirements?: {
12720
+ capabilityId: string;
12721
+ requirement: "required" | "preferred";
12722
+ versionRange: string;
12723
+ configuration?: Record<string, {
12724
+ requirement: "required" | "preferred";
12725
+ value?: unknown;
12726
+ }> | undefined;
12727
+ alternativeGroup?: string | null | undefined;
12728
+ requiredFeatures?: string[] | undefined;
12729
+ }[] | undefined;
12806
12730
  permissions?: {
12807
12731
  repository?: {
12808
12732
  allowCodeMutation?: boolean | undefined;
@@ -12838,18 +12762,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12838
12762
  requiredArtifactKinds?: string[] | undefined;
12839
12763
  blockOnOpenQuestions?: boolean | undefined;
12840
12764
  } | undefined;
12841
- providerOverrides?: {
12842
- requiredCapabilities?: string[] | undefined;
12843
- instructionTemplateRefs?: {
12844
- id: string;
12845
- revision: number;
12846
- }[] | undefined;
12847
- maxRuntimeSeconds?: number | undefined;
12848
- maxTotalTokens?: number | undefined;
12849
- maxCostAmount?: number | undefined;
12850
- disallowedProviderIds?: string[] | undefined;
12851
- promptRef?: string | undefined;
12852
- } | undefined;
12853
12765
  signals?: {
12854
12766
  subscribesTo?: {
12855
12767
  contract: string;
@@ -12920,12 +12832,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12920
12832
  messageTypes: string[];
12921
12833
  modelMutations: string[];
12922
12834
  };
12923
- enabled: boolean;
12924
12835
  prompt: {
12925
12836
  system: string;
12926
12837
  templates?: Record<string, string> | undefined;
12927
12838
  task?: string | undefined;
12928
12839
  };
12840
+ enabled: boolean;
12929
12841
  branchPolicy: {
12930
12842
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
12931
12843
  base: "staging" | "main";
@@ -12948,8 +12860,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12948
12860
  closeoutWarningSeconds?: number | undefined;
12949
12861
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
12950
12862
  nativeLimits?: {
12951
- unit: string;
12952
12863
  amount: number;
12864
+ unit: string;
12953
12865
  enforceable?: boolean | undefined;
12954
12866
  }[] | undefined;
12955
12867
  maxRuntimeSeconds?: number | undefined;
@@ -12976,6 +12888,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12976
12888
  id: string;
12977
12889
  revision: number;
12978
12890
  }[] | undefined;
12891
+ capabilityRequirements?: {
12892
+ capabilityId: string;
12893
+ requirement: "required" | "preferred";
12894
+ versionRange: string;
12895
+ configuration?: Record<string, {
12896
+ requirement: "required" | "preferred";
12897
+ value?: unknown;
12898
+ }> | undefined;
12899
+ alternativeGroup?: string | null | undefined;
12900
+ requiredFeatures?: string[] | undefined;
12901
+ }[] | undefined;
12979
12902
  permissions?: {
12980
12903
  repository?: {
12981
12904
  allowCodeMutation?: boolean | undefined;
@@ -13011,18 +12934,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13011
12934
  requiredArtifactKinds?: string[] | undefined;
13012
12935
  blockOnOpenQuestions?: boolean | undefined;
13013
12936
  } | undefined;
13014
- providerOverrides?: {
13015
- requiredCapabilities?: string[] | undefined;
13016
- instructionTemplateRefs?: {
13017
- id: string;
13018
- revision: number;
13019
- }[] | undefined;
13020
- maxRuntimeSeconds?: number | undefined;
13021
- maxTotalTokens?: number | undefined;
13022
- maxCostAmount?: number | undefined;
13023
- disallowedProviderIds?: string[] | undefined;
13024
- promptRef?: string | undefined;
13025
- } | undefined;
13026
12937
  signals?: {
13027
12938
  subscribesTo?: {
13028
12939
  contract: string;
@@ -13093,12 +13004,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13093
13004
  messageTypes: string[];
13094
13005
  modelMutations: string[];
13095
13006
  };
13096
- enabled: boolean;
13097
13007
  prompt: {
13098
13008
  system: string;
13099
13009
  templates?: Record<string, string> | undefined;
13100
13010
  task?: string | undefined;
13101
13011
  };
13012
+ enabled: boolean;
13102
13013
  branchPolicy: {
13103
13014
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
13104
13015
  base: "staging" | "main";
@@ -13121,8 +13032,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13121
13032
  closeoutWarningSeconds?: number | undefined;
13122
13033
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
13123
13034
  nativeLimits?: {
13124
- unit: string;
13125
13035
  amount: number;
13036
+ unit: string;
13126
13037
  enforceable?: boolean | undefined;
13127
13038
  }[] | undefined;
13128
13039
  maxRuntimeSeconds?: number | undefined;
@@ -13149,6 +13060,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13149
13060
  id: string;
13150
13061
  revision: number;
13151
13062
  }[] | undefined;
13063
+ capabilityRequirements?: {
13064
+ capabilityId: string;
13065
+ requirement: "required" | "preferred";
13066
+ versionRange: string;
13067
+ configuration?: Record<string, {
13068
+ requirement: "required" | "preferred";
13069
+ value?: unknown;
13070
+ }> | undefined;
13071
+ alternativeGroup?: string | null | undefined;
13072
+ requiredFeatures?: string[] | undefined;
13073
+ }[] | undefined;
13152
13074
  permissions?: {
13153
13075
  repository?: {
13154
13076
  allowCodeMutation?: boolean | undefined;
@@ -13184,18 +13106,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13184
13106
  requiredArtifactKinds?: string[] | undefined;
13185
13107
  blockOnOpenQuestions?: boolean | undefined;
13186
13108
  } | undefined;
13187
- providerOverrides?: {
13188
- requiredCapabilities?: string[] | undefined;
13189
- instructionTemplateRefs?: {
13190
- id: string;
13191
- revision: number;
13192
- }[] | undefined;
13193
- maxRuntimeSeconds?: number | undefined;
13194
- maxTotalTokens?: number | undefined;
13195
- maxCostAmount?: number | undefined;
13196
- disallowedProviderIds?: string[] | undefined;
13197
- promptRef?: string | undefined;
13198
- } | undefined;
13199
13109
  signals?: {
13200
13110
  subscribesTo?: {
13201
13111
  contract: string;
@@ -13266,12 +13176,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13266
13176
  messageTypes: string[];
13267
13177
  modelMutations: string[];
13268
13178
  };
13269
- enabled: boolean;
13270
13179
  prompt: {
13271
13180
  system: string;
13272
13181
  templates?: Record<string, string> | undefined;
13273
13182
  task?: string | undefined;
13274
13183
  };
13184
+ enabled: boolean;
13275
13185
  branchPolicy: {
13276
13186
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
13277
13187
  base: "staging" | "main";
@@ -13294,8 +13204,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13294
13204
  closeoutWarningSeconds?: number | undefined;
13295
13205
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
13296
13206
  nativeLimits?: {
13297
- unit: string;
13298
13207
  amount: number;
13208
+ unit: string;
13299
13209
  enforceable?: boolean | undefined;
13300
13210
  }[] | undefined;
13301
13211
  maxRuntimeSeconds?: number | undefined;
@@ -13322,6 +13232,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13322
13232
  id: string;
13323
13233
  revision: number;
13324
13234
  }[] | undefined;
13235
+ capabilityRequirements?: {
13236
+ capabilityId: string;
13237
+ requirement: "required" | "preferred";
13238
+ versionRange: string;
13239
+ configuration?: Record<string, {
13240
+ requirement: "required" | "preferred";
13241
+ value?: unknown;
13242
+ }> | undefined;
13243
+ alternativeGroup?: string | null | undefined;
13244
+ requiredFeatures?: string[] | undefined;
13245
+ }[] | undefined;
13325
13246
  permissions?: {
13326
13247
  repository?: {
13327
13248
  allowCodeMutation?: boolean | undefined;
@@ -13357,18 +13278,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13357
13278
  requiredArtifactKinds?: string[] | undefined;
13358
13279
  blockOnOpenQuestions?: boolean | undefined;
13359
13280
  } | undefined;
13360
- providerOverrides?: {
13361
- requiredCapabilities?: string[] | undefined;
13362
- instructionTemplateRefs?: {
13363
- id: string;
13364
- revision: number;
13365
- }[] | undefined;
13366
- maxRuntimeSeconds?: number | undefined;
13367
- maxTotalTokens?: number | undefined;
13368
- maxCostAmount?: number | undefined;
13369
- disallowedProviderIds?: string[] | undefined;
13370
- promptRef?: string | undefined;
13371
- } | undefined;
13372
13281
  signals?: {
13373
13282
  subscribesTo?: {
13374
13283
  contract: string;
@@ -13612,6 +13521,43 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13612
13521
  id: string;
13613
13522
  revision: number;
13614
13523
  }[]>>;
13524
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
13525
+ capabilityId: z.ZodString;
13526
+ versionRange: z.ZodString;
13527
+ requirement: z.ZodEnum<["required", "preferred"]>;
13528
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13529
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
13530
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13531
+ value: z.ZodUnknown;
13532
+ requirement: z.ZodEnum<["required", "preferred"]>;
13533
+ }, "strict", z.ZodTypeAny, {
13534
+ requirement: "required" | "preferred";
13535
+ value?: unknown;
13536
+ }, {
13537
+ requirement: "required" | "preferred";
13538
+ value?: unknown;
13539
+ }>>>;
13540
+ }, "strict", z.ZodTypeAny, {
13541
+ capabilityId: string;
13542
+ requirement: "required" | "preferred";
13543
+ versionRange: string;
13544
+ configuration?: Record<string, {
13545
+ requirement: "required" | "preferred";
13546
+ value?: unknown;
13547
+ }> | undefined;
13548
+ alternativeGroup?: string | null | undefined;
13549
+ requiredFeatures?: string[] | undefined;
13550
+ }, {
13551
+ capabilityId: string;
13552
+ requirement: "required" | "preferred";
13553
+ versionRange: string;
13554
+ configuration?: Record<string, {
13555
+ requirement: "required" | "preferred";
13556
+ value?: unknown;
13557
+ }> | undefined;
13558
+ alternativeGroup?: string | null | undefined;
13559
+ requiredFeatures?: string[] | undefined;
13560
+ }>, "many">>;
13615
13561
  permissions: z.ZodOptional<z.ZodObject<{
13616
13562
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13617
13563
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -13743,52 +13689,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13743
13689
  requiredArtifactKinds?: string[] | undefined;
13744
13690
  blockOnOpenQuestions?: boolean | undefined;
13745
13691
  }>>;
13746
- providerOverrides: z.ZodOptional<z.ZodObject<{
13747
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
13748
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
13749
- promptRef: z.ZodOptional<z.ZodString>;
13750
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
13751
- id: z.ZodString;
13752
- revision: z.ZodNumber;
13753
- }, "strict", z.ZodTypeAny, {
13754
- id: string;
13755
- revision: number;
13756
- }, {
13757
- id: string;
13758
- revision: number;
13759
- }>, "many">, {
13760
- id: string;
13761
- revision: number;
13762
- }[], {
13763
- id: string;
13764
- revision: number;
13765
- }[]>>;
13766
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
13767
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
13768
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
13769
- }, "strict", z.ZodTypeAny, {
13770
- requiredCapabilities?: string[] | undefined;
13771
- instructionTemplateRefs?: {
13772
- id: string;
13773
- revision: number;
13774
- }[] | undefined;
13775
- maxRuntimeSeconds?: number | undefined;
13776
- maxTotalTokens?: number | undefined;
13777
- maxCostAmount?: number | undefined;
13778
- disallowedProviderIds?: string[] | undefined;
13779
- promptRef?: string | undefined;
13780
- }, {
13781
- requiredCapabilities?: string[] | undefined;
13782
- instructionTemplateRefs?: {
13783
- id: string;
13784
- revision: number;
13785
- }[] | undefined;
13786
- maxRuntimeSeconds?: number | undefined;
13787
- maxTotalTokens?: number | undefined;
13788
- maxCostAmount?: number | undefined;
13789
- disallowedProviderIds?: string[] | undefined;
13790
- promptRef?: string | undefined;
13791
- }>>;
13792
13692
  tools: z.ZodObject<{
13793
13693
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
13794
13694
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -14209,12 +14109,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14209
14109
  amount: z.ZodNumber;
14210
14110
  enforceable: z.ZodOptional<z.ZodBoolean>;
14211
14111
  }, "strict", z.ZodTypeAny, {
14212
- unit: string;
14213
14112
  amount: number;
14113
+ unit: string;
14214
14114
  enforceable?: boolean | undefined;
14215
14115
  }, {
14216
- unit: string;
14217
14116
  amount: number;
14117
+ unit: string;
14218
14118
  enforceable?: boolean | undefined;
14219
14119
  }>, "many">>;
14220
14120
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -14228,8 +14128,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14228
14128
  closeoutWarningSeconds?: number | undefined;
14229
14129
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
14230
14130
  nativeLimits?: {
14231
- unit: string;
14232
14131
  amount: number;
14132
+ unit: string;
14233
14133
  enforceable?: boolean | undefined;
14234
14134
  }[] | undefined;
14235
14135
  maxRuntimeSeconds?: number | undefined;
@@ -14249,8 +14149,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14249
14149
  closeoutWarningSeconds?: number | undefined;
14250
14150
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
14251
14151
  nativeLimits?: {
14252
- unit: string;
14253
14152
  amount: number;
14153
+ unit: string;
14254
14154
  enforceable?: boolean | undefined;
14255
14155
  }[] | undefined;
14256
14156
  maxRuntimeSeconds?: number | undefined;
@@ -14269,12 +14169,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14269
14169
  messageTypes: string[];
14270
14170
  modelMutations: string[];
14271
14171
  };
14272
- enabled: boolean;
14273
14172
  prompt: {
14274
14173
  system: string;
14275
14174
  templates?: Record<string, string> | undefined;
14276
14175
  task?: string | undefined;
14277
14176
  };
14177
+ enabled: boolean;
14278
14178
  branchPolicy: {
14279
14179
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
14280
14180
  base: "staging" | "main";
@@ -14297,8 +14197,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14297
14197
  closeoutWarningSeconds?: number | undefined;
14298
14198
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
14299
14199
  nativeLimits?: {
14300
- unit: string;
14301
14200
  amount: number;
14201
+ unit: string;
14302
14202
  enforceable?: boolean | undefined;
14303
14203
  }[] | undefined;
14304
14204
  maxRuntimeSeconds?: number | undefined;
@@ -14325,6 +14225,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14325
14225
  id: string;
14326
14226
  revision: number;
14327
14227
  }[] | undefined;
14228
+ capabilityRequirements?: {
14229
+ capabilityId: string;
14230
+ requirement: "required" | "preferred";
14231
+ versionRange: string;
14232
+ configuration?: Record<string, {
14233
+ requirement: "required" | "preferred";
14234
+ value?: unknown;
14235
+ }> | undefined;
14236
+ alternativeGroup?: string | null | undefined;
14237
+ requiredFeatures?: string[] | undefined;
14238
+ }[] | undefined;
14328
14239
  permissions?: {
14329
14240
  repository?: {
14330
14241
  allowCodeMutation?: boolean | undefined;
@@ -14360,18 +14271,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14360
14271
  requiredArtifactKinds?: string[] | undefined;
14361
14272
  blockOnOpenQuestions?: boolean | undefined;
14362
14273
  } | undefined;
14363
- providerOverrides?: {
14364
- requiredCapabilities?: string[] | undefined;
14365
- instructionTemplateRefs?: {
14366
- id: string;
14367
- revision: number;
14368
- }[] | undefined;
14369
- maxRuntimeSeconds?: number | undefined;
14370
- maxTotalTokens?: number | undefined;
14371
- maxCostAmount?: number | undefined;
14372
- disallowedProviderIds?: string[] | undefined;
14373
- promptRef?: string | undefined;
14374
- } | undefined;
14375
14274
  signals?: {
14376
14275
  subscribesTo?: {
14377
14276
  contract: string;
@@ -14442,12 +14341,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14442
14341
  messageTypes: string[];
14443
14342
  modelMutations: string[];
14444
14343
  };
14445
- enabled: boolean;
14446
14344
  prompt: {
14447
14345
  system: string;
14448
14346
  templates?: Record<string, string> | undefined;
14449
14347
  task?: string | undefined;
14450
14348
  };
14349
+ enabled: boolean;
14451
14350
  branchPolicy: {
14452
14351
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
14453
14352
  base: "staging" | "main";
@@ -14470,8 +14369,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14470
14369
  closeoutWarningSeconds?: number | undefined;
14471
14370
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
14472
14371
  nativeLimits?: {
14473
- unit: string;
14474
14372
  amount: number;
14373
+ unit: string;
14475
14374
  enforceable?: boolean | undefined;
14476
14375
  }[] | undefined;
14477
14376
  maxRuntimeSeconds?: number | undefined;
@@ -14498,6 +14397,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14498
14397
  id: string;
14499
14398
  revision: number;
14500
14399
  }[] | undefined;
14400
+ capabilityRequirements?: {
14401
+ capabilityId: string;
14402
+ requirement: "required" | "preferred";
14403
+ versionRange: string;
14404
+ configuration?: Record<string, {
14405
+ requirement: "required" | "preferred";
14406
+ value?: unknown;
14407
+ }> | undefined;
14408
+ alternativeGroup?: string | null | undefined;
14409
+ requiredFeatures?: string[] | undefined;
14410
+ }[] | undefined;
14501
14411
  permissions?: {
14502
14412
  repository?: {
14503
14413
  allowCodeMutation?: boolean | undefined;
@@ -14533,18 +14443,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14533
14443
  requiredArtifactKinds?: string[] | undefined;
14534
14444
  blockOnOpenQuestions?: boolean | undefined;
14535
14445
  } | undefined;
14536
- providerOverrides?: {
14537
- requiredCapabilities?: string[] | undefined;
14538
- instructionTemplateRefs?: {
14539
- id: string;
14540
- revision: number;
14541
- }[] | undefined;
14542
- maxRuntimeSeconds?: number | undefined;
14543
- maxTotalTokens?: number | undefined;
14544
- maxCostAmount?: number | undefined;
14545
- disallowedProviderIds?: string[] | undefined;
14546
- promptRef?: string | undefined;
14547
- } | undefined;
14548
14446
  signals?: {
14549
14447
  subscribesTo?: {
14550
14448
  contract: string;
@@ -14615,12 +14513,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14615
14513
  messageTypes: string[];
14616
14514
  modelMutations: string[];
14617
14515
  };
14618
- enabled: boolean;
14619
14516
  prompt: {
14620
14517
  system: string;
14621
14518
  templates?: Record<string, string> | undefined;
14622
14519
  task?: string | undefined;
14623
14520
  };
14521
+ enabled: boolean;
14624
14522
  branchPolicy: {
14625
14523
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
14626
14524
  base: "staging" | "main";
@@ -14643,8 +14541,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14643
14541
  closeoutWarningSeconds?: number | undefined;
14644
14542
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
14645
14543
  nativeLimits?: {
14646
- unit: string;
14647
14544
  amount: number;
14545
+ unit: string;
14648
14546
  enforceable?: boolean | undefined;
14649
14547
  }[] | undefined;
14650
14548
  maxRuntimeSeconds?: number | undefined;
@@ -14671,6 +14569,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14671
14569
  id: string;
14672
14570
  revision: number;
14673
14571
  }[] | undefined;
14572
+ capabilityRequirements?: {
14573
+ capabilityId: string;
14574
+ requirement: "required" | "preferred";
14575
+ versionRange: string;
14576
+ configuration?: Record<string, {
14577
+ requirement: "required" | "preferred";
14578
+ value?: unknown;
14579
+ }> | undefined;
14580
+ alternativeGroup?: string | null | undefined;
14581
+ requiredFeatures?: string[] | undefined;
14582
+ }[] | undefined;
14674
14583
  permissions?: {
14675
14584
  repository?: {
14676
14585
  allowCodeMutation?: boolean | undefined;
@@ -14706,18 +14615,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14706
14615
  requiredArtifactKinds?: string[] | undefined;
14707
14616
  blockOnOpenQuestions?: boolean | undefined;
14708
14617
  } | undefined;
14709
- providerOverrides?: {
14710
- requiredCapabilities?: string[] | undefined;
14711
- instructionTemplateRefs?: {
14712
- id: string;
14713
- revision: number;
14714
- }[] | undefined;
14715
- maxRuntimeSeconds?: number | undefined;
14716
- maxTotalTokens?: number | undefined;
14717
- maxCostAmount?: number | undefined;
14718
- disallowedProviderIds?: string[] | undefined;
14719
- promptRef?: string | undefined;
14720
- } | undefined;
14721
14618
  signals?: {
14722
14619
  subscribesTo?: {
14723
14620
  contract: string;
@@ -14788,12 +14685,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14788
14685
  messageTypes: string[];
14789
14686
  modelMutations: string[];
14790
14687
  };
14791
- enabled: boolean;
14792
14688
  prompt: {
14793
14689
  system: string;
14794
14690
  templates?: Record<string, string> | undefined;
14795
14691
  task?: string | undefined;
14796
14692
  };
14693
+ enabled: boolean;
14797
14694
  branchPolicy: {
14798
14695
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
14799
14696
  base: "staging" | "main";
@@ -14816,8 +14713,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14816
14713
  closeoutWarningSeconds?: number | undefined;
14817
14714
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
14818
14715
  nativeLimits?: {
14819
- unit: string;
14820
14716
  amount: number;
14717
+ unit: string;
14821
14718
  enforceable?: boolean | undefined;
14822
14719
  }[] | undefined;
14823
14720
  maxRuntimeSeconds?: number | undefined;
@@ -14844,6 +14741,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14844
14741
  id: string;
14845
14742
  revision: number;
14846
14743
  }[] | undefined;
14744
+ capabilityRequirements?: {
14745
+ capabilityId: string;
14746
+ requirement: "required" | "preferred";
14747
+ versionRange: string;
14748
+ configuration?: Record<string, {
14749
+ requirement: "required" | "preferred";
14750
+ value?: unknown;
14751
+ }> | undefined;
14752
+ alternativeGroup?: string | null | undefined;
14753
+ requiredFeatures?: string[] | undefined;
14754
+ }[] | undefined;
14847
14755
  permissions?: {
14848
14756
  repository?: {
14849
14757
  allowCodeMutation?: boolean | undefined;
@@ -14879,18 +14787,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14879
14787
  requiredArtifactKinds?: string[] | undefined;
14880
14788
  blockOnOpenQuestions?: boolean | undefined;
14881
14789
  } | undefined;
14882
- providerOverrides?: {
14883
- requiredCapabilities?: string[] | undefined;
14884
- instructionTemplateRefs?: {
14885
- id: string;
14886
- revision: number;
14887
- }[] | undefined;
14888
- maxRuntimeSeconds?: number | undefined;
14889
- maxTotalTokens?: number | undefined;
14890
- maxCostAmount?: number | undefined;
14891
- disallowedProviderIds?: string[] | undefined;
14892
- promptRef?: string | undefined;
14893
- } | undefined;
14894
14790
  signals?: {
14895
14791
  subscribesTo?: {
14896
14792
  contract: string;
@@ -15134,6 +15030,43 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15134
15030
  id: string;
15135
15031
  revision: number;
15136
15032
  }[]>>;
15033
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
15034
+ capabilityId: z.ZodString;
15035
+ versionRange: z.ZodString;
15036
+ requirement: z.ZodEnum<["required", "preferred"]>;
15037
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15038
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
15039
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
15040
+ value: z.ZodUnknown;
15041
+ requirement: z.ZodEnum<["required", "preferred"]>;
15042
+ }, "strict", z.ZodTypeAny, {
15043
+ requirement: "required" | "preferred";
15044
+ value?: unknown;
15045
+ }, {
15046
+ requirement: "required" | "preferred";
15047
+ value?: unknown;
15048
+ }>>>;
15049
+ }, "strict", z.ZodTypeAny, {
15050
+ capabilityId: string;
15051
+ requirement: "required" | "preferred";
15052
+ versionRange: string;
15053
+ configuration?: Record<string, {
15054
+ requirement: "required" | "preferred";
15055
+ value?: unknown;
15056
+ }> | undefined;
15057
+ alternativeGroup?: string | null | undefined;
15058
+ requiredFeatures?: string[] | undefined;
15059
+ }, {
15060
+ capabilityId: string;
15061
+ requirement: "required" | "preferred";
15062
+ versionRange: string;
15063
+ configuration?: Record<string, {
15064
+ requirement: "required" | "preferred";
15065
+ value?: unknown;
15066
+ }> | undefined;
15067
+ alternativeGroup?: string | null | undefined;
15068
+ requiredFeatures?: string[] | undefined;
15069
+ }>, "many">>;
15137
15070
  permissions: z.ZodOptional<z.ZodObject<{
15138
15071
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
15139
15072
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -15265,52 +15198,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15265
15198
  requiredArtifactKinds?: string[] | undefined;
15266
15199
  blockOnOpenQuestions?: boolean | undefined;
15267
15200
  }>>;
15268
- providerOverrides: z.ZodOptional<z.ZodObject<{
15269
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
15270
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
15271
- promptRef: z.ZodOptional<z.ZodString>;
15272
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
15273
- id: z.ZodString;
15274
- revision: z.ZodNumber;
15275
- }, "strict", z.ZodTypeAny, {
15276
- id: string;
15277
- revision: number;
15278
- }, {
15279
- id: string;
15280
- revision: number;
15281
- }>, "many">, {
15282
- id: string;
15283
- revision: number;
15284
- }[], {
15285
- id: string;
15286
- revision: number;
15287
- }[]>>;
15288
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
15289
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
15290
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
15291
- }, "strict", z.ZodTypeAny, {
15292
- requiredCapabilities?: string[] | undefined;
15293
- instructionTemplateRefs?: {
15294
- id: string;
15295
- revision: number;
15296
- }[] | undefined;
15297
- maxRuntimeSeconds?: number | undefined;
15298
- maxTotalTokens?: number | undefined;
15299
- maxCostAmount?: number | undefined;
15300
- disallowedProviderIds?: string[] | undefined;
15301
- promptRef?: string | undefined;
15302
- }, {
15303
- requiredCapabilities?: string[] | undefined;
15304
- instructionTemplateRefs?: {
15305
- id: string;
15306
- revision: number;
15307
- }[] | undefined;
15308
- maxRuntimeSeconds?: number | undefined;
15309
- maxTotalTokens?: number | undefined;
15310
- maxCostAmount?: number | undefined;
15311
- disallowedProviderIds?: string[] | undefined;
15312
- promptRef?: string | undefined;
15313
- }>>;
15314
15201
  tools: z.ZodObject<{
15315
15202
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
15316
15203
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -15731,12 +15618,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15731
15618
  amount: z.ZodNumber;
15732
15619
  enforceable: z.ZodOptional<z.ZodBoolean>;
15733
15620
  }, "strict", z.ZodTypeAny, {
15734
- unit: string;
15735
15621
  amount: number;
15622
+ unit: string;
15736
15623
  enforceable?: boolean | undefined;
15737
15624
  }, {
15738
- unit: string;
15739
15625
  amount: number;
15626
+ unit: string;
15740
15627
  enforceable?: boolean | undefined;
15741
15628
  }>, "many">>;
15742
15629
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -15750,8 +15637,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15750
15637
  closeoutWarningSeconds?: number | undefined;
15751
15638
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
15752
15639
  nativeLimits?: {
15753
- unit: string;
15754
15640
  amount: number;
15641
+ unit: string;
15755
15642
  enforceable?: boolean | undefined;
15756
15643
  }[] | undefined;
15757
15644
  maxRuntimeSeconds?: number | undefined;
@@ -15771,8 +15658,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15771
15658
  closeoutWarningSeconds?: number | undefined;
15772
15659
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
15773
15660
  nativeLimits?: {
15774
- unit: string;
15775
15661
  amount: number;
15662
+ unit: string;
15776
15663
  enforceable?: boolean | undefined;
15777
15664
  }[] | undefined;
15778
15665
  maxRuntimeSeconds?: number | undefined;
@@ -15791,12 +15678,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15791
15678
  messageTypes: string[];
15792
15679
  modelMutations: string[];
15793
15680
  };
15794
- enabled: boolean;
15795
15681
  prompt: {
15796
15682
  system: string;
15797
15683
  templates?: Record<string, string> | undefined;
15798
15684
  task?: string | undefined;
15799
15685
  };
15686
+ enabled: boolean;
15800
15687
  branchPolicy: {
15801
15688
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
15802
15689
  base: "staging" | "main";
@@ -15819,8 +15706,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15819
15706
  closeoutWarningSeconds?: number | undefined;
15820
15707
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
15821
15708
  nativeLimits?: {
15822
- unit: string;
15823
15709
  amount: number;
15710
+ unit: string;
15824
15711
  enforceable?: boolean | undefined;
15825
15712
  }[] | undefined;
15826
15713
  maxRuntimeSeconds?: number | undefined;
@@ -15847,6 +15734,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15847
15734
  id: string;
15848
15735
  revision: number;
15849
15736
  }[] | undefined;
15737
+ capabilityRequirements?: {
15738
+ capabilityId: string;
15739
+ requirement: "required" | "preferred";
15740
+ versionRange: string;
15741
+ configuration?: Record<string, {
15742
+ requirement: "required" | "preferred";
15743
+ value?: unknown;
15744
+ }> | undefined;
15745
+ alternativeGroup?: string | null | undefined;
15746
+ requiredFeatures?: string[] | undefined;
15747
+ }[] | undefined;
15850
15748
  permissions?: {
15851
15749
  repository?: {
15852
15750
  allowCodeMutation?: boolean | undefined;
@@ -15882,18 +15780,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15882
15780
  requiredArtifactKinds?: string[] | undefined;
15883
15781
  blockOnOpenQuestions?: boolean | undefined;
15884
15782
  } | undefined;
15885
- providerOverrides?: {
15886
- requiredCapabilities?: string[] | undefined;
15887
- instructionTemplateRefs?: {
15888
- id: string;
15889
- revision: number;
15890
- }[] | undefined;
15891
- maxRuntimeSeconds?: number | undefined;
15892
- maxTotalTokens?: number | undefined;
15893
- maxCostAmount?: number | undefined;
15894
- disallowedProviderIds?: string[] | undefined;
15895
- promptRef?: string | undefined;
15896
- } | undefined;
15897
15783
  signals?: {
15898
15784
  subscribesTo?: {
15899
15785
  contract: string;
@@ -15964,12 +15850,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15964
15850
  messageTypes: string[];
15965
15851
  modelMutations: string[];
15966
15852
  };
15967
- enabled: boolean;
15968
15853
  prompt: {
15969
15854
  system: string;
15970
15855
  templates?: Record<string, string> | undefined;
15971
15856
  task?: string | undefined;
15972
15857
  };
15858
+ enabled: boolean;
15973
15859
  branchPolicy: {
15974
15860
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
15975
15861
  base: "staging" | "main";
@@ -15992,8 +15878,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15992
15878
  closeoutWarningSeconds?: number | undefined;
15993
15879
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
15994
15880
  nativeLimits?: {
15995
- unit: string;
15996
15881
  amount: number;
15882
+ unit: string;
15997
15883
  enforceable?: boolean | undefined;
15998
15884
  }[] | undefined;
15999
15885
  maxRuntimeSeconds?: number | undefined;
@@ -16020,6 +15906,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16020
15906
  id: string;
16021
15907
  revision: number;
16022
15908
  }[] | undefined;
15909
+ capabilityRequirements?: {
15910
+ capabilityId: string;
15911
+ requirement: "required" | "preferred";
15912
+ versionRange: string;
15913
+ configuration?: Record<string, {
15914
+ requirement: "required" | "preferred";
15915
+ value?: unknown;
15916
+ }> | undefined;
15917
+ alternativeGroup?: string | null | undefined;
15918
+ requiredFeatures?: string[] | undefined;
15919
+ }[] | undefined;
16023
15920
  permissions?: {
16024
15921
  repository?: {
16025
15922
  allowCodeMutation?: boolean | undefined;
@@ -16055,18 +15952,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16055
15952
  requiredArtifactKinds?: string[] | undefined;
16056
15953
  blockOnOpenQuestions?: boolean | undefined;
16057
15954
  } | undefined;
16058
- providerOverrides?: {
16059
- requiredCapabilities?: string[] | undefined;
16060
- instructionTemplateRefs?: {
16061
- id: string;
16062
- revision: number;
16063
- }[] | undefined;
16064
- maxRuntimeSeconds?: number | undefined;
16065
- maxTotalTokens?: number | undefined;
16066
- maxCostAmount?: number | undefined;
16067
- disallowedProviderIds?: string[] | undefined;
16068
- promptRef?: string | undefined;
16069
- } | undefined;
16070
15955
  signals?: {
16071
15956
  subscribesTo?: {
16072
15957
  contract: string;
@@ -16137,12 +16022,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16137
16022
  messageTypes: string[];
16138
16023
  modelMutations: string[];
16139
16024
  };
16140
- enabled: boolean;
16141
16025
  prompt: {
16142
16026
  system: string;
16143
16027
  templates?: Record<string, string> | undefined;
16144
16028
  task?: string | undefined;
16145
16029
  };
16030
+ enabled: boolean;
16146
16031
  branchPolicy: {
16147
16032
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
16148
16033
  base: "staging" | "main";
@@ -16165,8 +16050,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16165
16050
  closeoutWarningSeconds?: number | undefined;
16166
16051
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
16167
16052
  nativeLimits?: {
16168
- unit: string;
16169
16053
  amount: number;
16054
+ unit: string;
16170
16055
  enforceable?: boolean | undefined;
16171
16056
  }[] | undefined;
16172
16057
  maxRuntimeSeconds?: number | undefined;
@@ -16193,6 +16078,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16193
16078
  id: string;
16194
16079
  revision: number;
16195
16080
  }[] | undefined;
16081
+ capabilityRequirements?: {
16082
+ capabilityId: string;
16083
+ requirement: "required" | "preferred";
16084
+ versionRange: string;
16085
+ configuration?: Record<string, {
16086
+ requirement: "required" | "preferred";
16087
+ value?: unknown;
16088
+ }> | undefined;
16089
+ alternativeGroup?: string | null | undefined;
16090
+ requiredFeatures?: string[] | undefined;
16091
+ }[] | undefined;
16196
16092
  permissions?: {
16197
16093
  repository?: {
16198
16094
  allowCodeMutation?: boolean | undefined;
@@ -16228,18 +16124,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16228
16124
  requiredArtifactKinds?: string[] | undefined;
16229
16125
  blockOnOpenQuestions?: boolean | undefined;
16230
16126
  } | undefined;
16231
- providerOverrides?: {
16232
- requiredCapabilities?: string[] | undefined;
16233
- instructionTemplateRefs?: {
16234
- id: string;
16235
- revision: number;
16236
- }[] | undefined;
16237
- maxRuntimeSeconds?: number | undefined;
16238
- maxTotalTokens?: number | undefined;
16239
- maxCostAmount?: number | undefined;
16240
- disallowedProviderIds?: string[] | undefined;
16241
- promptRef?: string | undefined;
16242
- } | undefined;
16243
16127
  signals?: {
16244
16128
  subscribesTo?: {
16245
16129
  contract: string;
@@ -16310,12 +16194,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16310
16194
  messageTypes: string[];
16311
16195
  modelMutations: string[];
16312
16196
  };
16313
- enabled: boolean;
16314
16197
  prompt: {
16315
16198
  system: string;
16316
16199
  templates?: Record<string, string> | undefined;
16317
16200
  task?: string | undefined;
16318
16201
  };
16202
+ enabled: boolean;
16319
16203
  branchPolicy: {
16320
16204
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
16321
16205
  base: "staging" | "main";
@@ -16338,8 +16222,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16338
16222
  closeoutWarningSeconds?: number | undefined;
16339
16223
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
16340
16224
  nativeLimits?: {
16341
- unit: string;
16342
16225
  amount: number;
16226
+ unit: string;
16343
16227
  enforceable?: boolean | undefined;
16344
16228
  }[] | undefined;
16345
16229
  maxRuntimeSeconds?: number | undefined;
@@ -16366,6 +16250,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16366
16250
  id: string;
16367
16251
  revision: number;
16368
16252
  }[] | undefined;
16253
+ capabilityRequirements?: {
16254
+ capabilityId: string;
16255
+ requirement: "required" | "preferred";
16256
+ versionRange: string;
16257
+ configuration?: Record<string, {
16258
+ requirement: "required" | "preferred";
16259
+ value?: unknown;
16260
+ }> | undefined;
16261
+ alternativeGroup?: string | null | undefined;
16262
+ requiredFeatures?: string[] | undefined;
16263
+ }[] | undefined;
16369
16264
  permissions?: {
16370
16265
  repository?: {
16371
16266
  allowCodeMutation?: boolean | undefined;
@@ -16401,18 +16296,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16401
16296
  requiredArtifactKinds?: string[] | undefined;
16402
16297
  blockOnOpenQuestions?: boolean | undefined;
16403
16298
  } | undefined;
16404
- providerOverrides?: {
16405
- requiredCapabilities?: string[] | undefined;
16406
- instructionTemplateRefs?: {
16407
- id: string;
16408
- revision: number;
16409
- }[] | undefined;
16410
- maxRuntimeSeconds?: number | undefined;
16411
- maxTotalTokens?: number | undefined;
16412
- maxCostAmount?: number | undefined;
16413
- disallowedProviderIds?: string[] | undefined;
16414
- promptRef?: string | undefined;
16415
- } | undefined;
16416
16299
  signals?: {
16417
16300
  subscribesTo?: {
16418
16301
  contract: string;
@@ -16656,6 +16539,43 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16656
16539
  id: string;
16657
16540
  revision: number;
16658
16541
  }[]>>;
16542
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
16543
+ capabilityId: z.ZodString;
16544
+ versionRange: z.ZodString;
16545
+ requirement: z.ZodEnum<["required", "preferred"]>;
16546
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16547
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
16548
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16549
+ value: z.ZodUnknown;
16550
+ requirement: z.ZodEnum<["required", "preferred"]>;
16551
+ }, "strict", z.ZodTypeAny, {
16552
+ requirement: "required" | "preferred";
16553
+ value?: unknown;
16554
+ }, {
16555
+ requirement: "required" | "preferred";
16556
+ value?: unknown;
16557
+ }>>>;
16558
+ }, "strict", z.ZodTypeAny, {
16559
+ capabilityId: string;
16560
+ requirement: "required" | "preferred";
16561
+ versionRange: string;
16562
+ configuration?: Record<string, {
16563
+ requirement: "required" | "preferred";
16564
+ value?: unknown;
16565
+ }> | undefined;
16566
+ alternativeGroup?: string | null | undefined;
16567
+ requiredFeatures?: string[] | undefined;
16568
+ }, {
16569
+ capabilityId: string;
16570
+ requirement: "required" | "preferred";
16571
+ versionRange: string;
16572
+ configuration?: Record<string, {
16573
+ requirement: "required" | "preferred";
16574
+ value?: unknown;
16575
+ }> | undefined;
16576
+ alternativeGroup?: string | null | undefined;
16577
+ requiredFeatures?: string[] | undefined;
16578
+ }>, "many">>;
16659
16579
  permissions: z.ZodOptional<z.ZodObject<{
16660
16580
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16661
16581
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -16787,52 +16707,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16787
16707
  requiredArtifactKinds?: string[] | undefined;
16788
16708
  blockOnOpenQuestions?: boolean | undefined;
16789
16709
  }>>;
16790
- providerOverrides: z.ZodOptional<z.ZodObject<{
16791
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
16792
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
16793
- promptRef: z.ZodOptional<z.ZodString>;
16794
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
16795
- id: z.ZodString;
16796
- revision: z.ZodNumber;
16797
- }, "strict", z.ZodTypeAny, {
16798
- id: string;
16799
- revision: number;
16800
- }, {
16801
- id: string;
16802
- revision: number;
16803
- }>, "many">, {
16804
- id: string;
16805
- revision: number;
16806
- }[], {
16807
- id: string;
16808
- revision: number;
16809
- }[]>>;
16810
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
16811
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
16812
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
16813
- }, "strict", z.ZodTypeAny, {
16814
- requiredCapabilities?: string[] | undefined;
16815
- instructionTemplateRefs?: {
16816
- id: string;
16817
- revision: number;
16818
- }[] | undefined;
16819
- maxRuntimeSeconds?: number | undefined;
16820
- maxTotalTokens?: number | undefined;
16821
- maxCostAmount?: number | undefined;
16822
- disallowedProviderIds?: string[] | undefined;
16823
- promptRef?: string | undefined;
16824
- }, {
16825
- requiredCapabilities?: string[] | undefined;
16826
- instructionTemplateRefs?: {
16827
- id: string;
16828
- revision: number;
16829
- }[] | undefined;
16830
- maxRuntimeSeconds?: number | undefined;
16831
- maxTotalTokens?: number | undefined;
16832
- maxCostAmount?: number | undefined;
16833
- disallowedProviderIds?: string[] | undefined;
16834
- promptRef?: string | undefined;
16835
- }>>;
16836
16710
  tools: z.ZodObject<{
16837
16711
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
16838
16712
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -17253,12 +17127,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17253
17127
  amount: z.ZodNumber;
17254
17128
  enforceable: z.ZodOptional<z.ZodBoolean>;
17255
17129
  }, "strict", z.ZodTypeAny, {
17256
- unit: string;
17257
17130
  amount: number;
17131
+ unit: string;
17258
17132
  enforceable?: boolean | undefined;
17259
17133
  }, {
17260
- unit: string;
17261
17134
  amount: number;
17135
+ unit: string;
17262
17136
  enforceable?: boolean | undefined;
17263
17137
  }>, "many">>;
17264
17138
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -17272,8 +17146,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17272
17146
  closeoutWarningSeconds?: number | undefined;
17273
17147
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
17274
17148
  nativeLimits?: {
17275
- unit: string;
17276
17149
  amount: number;
17150
+ unit: string;
17277
17151
  enforceable?: boolean | undefined;
17278
17152
  }[] | undefined;
17279
17153
  maxRuntimeSeconds?: number | undefined;
@@ -17293,8 +17167,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17293
17167
  closeoutWarningSeconds?: number | undefined;
17294
17168
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
17295
17169
  nativeLimits?: {
17296
- unit: string;
17297
17170
  amount: number;
17171
+ unit: string;
17298
17172
  enforceable?: boolean | undefined;
17299
17173
  }[] | undefined;
17300
17174
  maxRuntimeSeconds?: number | undefined;
@@ -17313,12 +17187,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17313
17187
  messageTypes: string[];
17314
17188
  modelMutations: string[];
17315
17189
  };
17316
- enabled: boolean;
17317
17190
  prompt: {
17318
17191
  system: string;
17319
17192
  templates?: Record<string, string> | undefined;
17320
17193
  task?: string | undefined;
17321
17194
  };
17195
+ enabled: boolean;
17322
17196
  branchPolicy: {
17323
17197
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
17324
17198
  base: "staging" | "main";
@@ -17341,8 +17215,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17341
17215
  closeoutWarningSeconds?: number | undefined;
17342
17216
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
17343
17217
  nativeLimits?: {
17344
- unit: string;
17345
17218
  amount: number;
17219
+ unit: string;
17346
17220
  enforceable?: boolean | undefined;
17347
17221
  }[] | undefined;
17348
17222
  maxRuntimeSeconds?: number | undefined;
@@ -17369,6 +17243,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17369
17243
  id: string;
17370
17244
  revision: number;
17371
17245
  }[] | undefined;
17246
+ capabilityRequirements?: {
17247
+ capabilityId: string;
17248
+ requirement: "required" | "preferred";
17249
+ versionRange: string;
17250
+ configuration?: Record<string, {
17251
+ requirement: "required" | "preferred";
17252
+ value?: unknown;
17253
+ }> | undefined;
17254
+ alternativeGroup?: string | null | undefined;
17255
+ requiredFeatures?: string[] | undefined;
17256
+ }[] | undefined;
17372
17257
  permissions?: {
17373
17258
  repository?: {
17374
17259
  allowCodeMutation?: boolean | undefined;
@@ -17404,18 +17289,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17404
17289
  requiredArtifactKinds?: string[] | undefined;
17405
17290
  blockOnOpenQuestions?: boolean | undefined;
17406
17291
  } | undefined;
17407
- providerOverrides?: {
17408
- requiredCapabilities?: string[] | undefined;
17409
- instructionTemplateRefs?: {
17410
- id: string;
17411
- revision: number;
17412
- }[] | undefined;
17413
- maxRuntimeSeconds?: number | undefined;
17414
- maxTotalTokens?: number | undefined;
17415
- maxCostAmount?: number | undefined;
17416
- disallowedProviderIds?: string[] | undefined;
17417
- promptRef?: string | undefined;
17418
- } | undefined;
17419
17292
  signals?: {
17420
17293
  subscribesTo?: {
17421
17294
  contract: string;
@@ -17486,12 +17359,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17486
17359
  messageTypes: string[];
17487
17360
  modelMutations: string[];
17488
17361
  };
17489
- enabled: boolean;
17490
17362
  prompt: {
17491
17363
  system: string;
17492
17364
  templates?: Record<string, string> | undefined;
17493
17365
  task?: string | undefined;
17494
17366
  };
17367
+ enabled: boolean;
17495
17368
  branchPolicy: {
17496
17369
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
17497
17370
  base: "staging" | "main";
@@ -17514,8 +17387,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17514
17387
  closeoutWarningSeconds?: number | undefined;
17515
17388
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
17516
17389
  nativeLimits?: {
17517
- unit: string;
17518
17390
  amount: number;
17391
+ unit: string;
17519
17392
  enforceable?: boolean | undefined;
17520
17393
  }[] | undefined;
17521
17394
  maxRuntimeSeconds?: number | undefined;
@@ -17542,6 +17415,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17542
17415
  id: string;
17543
17416
  revision: number;
17544
17417
  }[] | undefined;
17418
+ capabilityRequirements?: {
17419
+ capabilityId: string;
17420
+ requirement: "required" | "preferred";
17421
+ versionRange: string;
17422
+ configuration?: Record<string, {
17423
+ requirement: "required" | "preferred";
17424
+ value?: unknown;
17425
+ }> | undefined;
17426
+ alternativeGroup?: string | null | undefined;
17427
+ requiredFeatures?: string[] | undefined;
17428
+ }[] | undefined;
17545
17429
  permissions?: {
17546
17430
  repository?: {
17547
17431
  allowCodeMutation?: boolean | undefined;
@@ -17577,18 +17461,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17577
17461
  requiredArtifactKinds?: string[] | undefined;
17578
17462
  blockOnOpenQuestions?: boolean | undefined;
17579
17463
  } | undefined;
17580
- providerOverrides?: {
17581
- requiredCapabilities?: string[] | undefined;
17582
- instructionTemplateRefs?: {
17583
- id: string;
17584
- revision: number;
17585
- }[] | undefined;
17586
- maxRuntimeSeconds?: number | undefined;
17587
- maxTotalTokens?: number | undefined;
17588
- maxCostAmount?: number | undefined;
17589
- disallowedProviderIds?: string[] | undefined;
17590
- promptRef?: string | undefined;
17591
- } | undefined;
17592
17464
  signals?: {
17593
17465
  subscribesTo?: {
17594
17466
  contract: string;
@@ -17659,12 +17531,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17659
17531
  messageTypes: string[];
17660
17532
  modelMutations: string[];
17661
17533
  };
17662
- enabled: boolean;
17663
17534
  prompt: {
17664
17535
  system: string;
17665
17536
  templates?: Record<string, string> | undefined;
17666
17537
  task?: string | undefined;
17667
17538
  };
17539
+ enabled: boolean;
17668
17540
  branchPolicy: {
17669
17541
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
17670
17542
  base: "staging" | "main";
@@ -17687,8 +17559,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17687
17559
  closeoutWarningSeconds?: number | undefined;
17688
17560
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
17689
17561
  nativeLimits?: {
17690
- unit: string;
17691
17562
  amount: number;
17563
+ unit: string;
17692
17564
  enforceable?: boolean | undefined;
17693
17565
  }[] | undefined;
17694
17566
  maxRuntimeSeconds?: number | undefined;
@@ -17715,6 +17587,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17715
17587
  id: string;
17716
17588
  revision: number;
17717
17589
  }[] | undefined;
17590
+ capabilityRequirements?: {
17591
+ capabilityId: string;
17592
+ requirement: "required" | "preferred";
17593
+ versionRange: string;
17594
+ configuration?: Record<string, {
17595
+ requirement: "required" | "preferred";
17596
+ value?: unknown;
17597
+ }> | undefined;
17598
+ alternativeGroup?: string | null | undefined;
17599
+ requiredFeatures?: string[] | undefined;
17600
+ }[] | undefined;
17718
17601
  permissions?: {
17719
17602
  repository?: {
17720
17603
  allowCodeMutation?: boolean | undefined;
@@ -17750,18 +17633,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17750
17633
  requiredArtifactKinds?: string[] | undefined;
17751
17634
  blockOnOpenQuestions?: boolean | undefined;
17752
17635
  } | undefined;
17753
- providerOverrides?: {
17754
- requiredCapabilities?: string[] | undefined;
17755
- instructionTemplateRefs?: {
17756
- id: string;
17757
- revision: number;
17758
- }[] | undefined;
17759
- maxRuntimeSeconds?: number | undefined;
17760
- maxTotalTokens?: number | undefined;
17761
- maxCostAmount?: number | undefined;
17762
- disallowedProviderIds?: string[] | undefined;
17763
- promptRef?: string | undefined;
17764
- } | undefined;
17765
17636
  signals?: {
17766
17637
  subscribesTo?: {
17767
17638
  contract: string;
@@ -17832,12 +17703,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17832
17703
  messageTypes: string[];
17833
17704
  modelMutations: string[];
17834
17705
  };
17835
- enabled: boolean;
17836
17706
  prompt: {
17837
17707
  system: string;
17838
17708
  templates?: Record<string, string> | undefined;
17839
17709
  task?: string | undefined;
17840
17710
  };
17711
+ enabled: boolean;
17841
17712
  branchPolicy: {
17842
17713
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
17843
17714
  base: "staging" | "main";
@@ -17860,8 +17731,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17860
17731
  closeoutWarningSeconds?: number | undefined;
17861
17732
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
17862
17733
  nativeLimits?: {
17863
- unit: string;
17864
17734
  amount: number;
17735
+ unit: string;
17865
17736
  enforceable?: boolean | undefined;
17866
17737
  }[] | undefined;
17867
17738
  maxRuntimeSeconds?: number | undefined;
@@ -17888,6 +17759,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17888
17759
  id: string;
17889
17760
  revision: number;
17890
17761
  }[] | undefined;
17762
+ capabilityRequirements?: {
17763
+ capabilityId: string;
17764
+ requirement: "required" | "preferred";
17765
+ versionRange: string;
17766
+ configuration?: Record<string, {
17767
+ requirement: "required" | "preferred";
17768
+ value?: unknown;
17769
+ }> | undefined;
17770
+ alternativeGroup?: string | null | undefined;
17771
+ requiredFeatures?: string[] | undefined;
17772
+ }[] | undefined;
17891
17773
  permissions?: {
17892
17774
  repository?: {
17893
17775
  allowCodeMutation?: boolean | undefined;
@@ -17923,18 +17805,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17923
17805
  requiredArtifactKinds?: string[] | undefined;
17924
17806
  blockOnOpenQuestions?: boolean | undefined;
17925
17807
  } | undefined;
17926
- providerOverrides?: {
17927
- requiredCapabilities?: string[] | undefined;
17928
- instructionTemplateRefs?: {
17929
- id: string;
17930
- revision: number;
17931
- }[] | undefined;
17932
- maxRuntimeSeconds?: number | undefined;
17933
- maxTotalTokens?: number | undefined;
17934
- maxCostAmount?: number | undefined;
17935
- disallowedProviderIds?: string[] | undefined;
17936
- promptRef?: string | undefined;
17937
- } | undefined;
17938
17808
  signals?: {
17939
17809
  subscribesTo?: {
17940
17810
  contract: string;
@@ -18178,6 +18048,43 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18178
18048
  id: string;
18179
18049
  revision: number;
18180
18050
  }[]>>;
18051
+ capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
18052
+ capabilityId: z.ZodString;
18053
+ versionRange: z.ZodString;
18054
+ requirement: z.ZodEnum<["required", "preferred"]>;
18055
+ alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18056
+ requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
18057
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
18058
+ value: z.ZodUnknown;
18059
+ requirement: z.ZodEnum<["required", "preferred"]>;
18060
+ }, "strict", z.ZodTypeAny, {
18061
+ requirement: "required" | "preferred";
18062
+ value?: unknown;
18063
+ }, {
18064
+ requirement: "required" | "preferred";
18065
+ value?: unknown;
18066
+ }>>>;
18067
+ }, "strict", z.ZodTypeAny, {
18068
+ capabilityId: string;
18069
+ requirement: "required" | "preferred";
18070
+ versionRange: string;
18071
+ configuration?: Record<string, {
18072
+ requirement: "required" | "preferred";
18073
+ value?: unknown;
18074
+ }> | undefined;
18075
+ alternativeGroup?: string | null | undefined;
18076
+ requiredFeatures?: string[] | undefined;
18077
+ }, {
18078
+ capabilityId: string;
18079
+ requirement: "required" | "preferred";
18080
+ versionRange: string;
18081
+ configuration?: Record<string, {
18082
+ requirement: "required" | "preferred";
18083
+ value?: unknown;
18084
+ }> | undefined;
18085
+ alternativeGroup?: string | null | undefined;
18086
+ requiredFeatures?: string[] | undefined;
18087
+ }>, "many">>;
18181
18088
  permissions: z.ZodOptional<z.ZodObject<{
18182
18089
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
18183
18090
  operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
@@ -18309,52 +18216,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18309
18216
  requiredArtifactKinds?: string[] | undefined;
18310
18217
  blockOnOpenQuestions?: boolean | undefined;
18311
18218
  }>>;
18312
- providerOverrides: z.ZodOptional<z.ZodObject<{
18313
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
18314
- disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
18315
- promptRef: z.ZodOptional<z.ZodString>;
18316
- instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
18317
- id: z.ZodString;
18318
- revision: z.ZodNumber;
18319
- }, "strict", z.ZodTypeAny, {
18320
- id: string;
18321
- revision: number;
18322
- }, {
18323
- id: string;
18324
- revision: number;
18325
- }>, "many">, {
18326
- id: string;
18327
- revision: number;
18328
- }[], {
18329
- id: string;
18330
- revision: number;
18331
- }[]>>;
18332
- maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
18333
- maxTotalTokens: z.ZodOptional<z.ZodNumber>;
18334
- maxCostAmount: z.ZodOptional<z.ZodNumber>;
18335
- }, "strict", z.ZodTypeAny, {
18336
- requiredCapabilities?: string[] | undefined;
18337
- instructionTemplateRefs?: {
18338
- id: string;
18339
- revision: number;
18340
- }[] | undefined;
18341
- maxRuntimeSeconds?: number | undefined;
18342
- maxTotalTokens?: number | undefined;
18343
- maxCostAmount?: number | undefined;
18344
- disallowedProviderIds?: string[] | undefined;
18345
- promptRef?: string | undefined;
18346
- }, {
18347
- requiredCapabilities?: string[] | undefined;
18348
- instructionTemplateRefs?: {
18349
- id: string;
18350
- revision: number;
18351
- }[] | undefined;
18352
- maxRuntimeSeconds?: number | undefined;
18353
- maxTotalTokens?: number | undefined;
18354
- maxCostAmount?: number | undefined;
18355
- disallowedProviderIds?: string[] | undefined;
18356
- promptRef?: string | undefined;
18357
- }>>;
18358
18219
  tools: z.ZodObject<{
18359
18220
  allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
18360
18221
  denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -18775,12 +18636,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18775
18636
  amount: z.ZodNumber;
18776
18637
  enforceable: z.ZodOptional<z.ZodBoolean>;
18777
18638
  }, "strict", z.ZodTypeAny, {
18778
- unit: string;
18779
18639
  amount: number;
18640
+ unit: string;
18780
18641
  enforceable?: boolean | undefined;
18781
18642
  }, {
18782
- unit: string;
18783
18643
  amount: number;
18644
+ unit: string;
18784
18645
  enforceable?: boolean | undefined;
18785
18646
  }>, "many">>;
18786
18647
  pricingGeneration: z.ZodOptional<z.ZodString>;
@@ -18794,8 +18655,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18794
18655
  closeoutWarningSeconds?: number | undefined;
18795
18656
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
18796
18657
  nativeLimits?: {
18797
- unit: string;
18798
18658
  amount: number;
18659
+ unit: string;
18799
18660
  enforceable?: boolean | undefined;
18800
18661
  }[] | undefined;
18801
18662
  maxRuntimeSeconds?: number | undefined;
@@ -18815,8 +18676,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18815
18676
  closeoutWarningSeconds?: number | undefined;
18816
18677
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
18817
18678
  nativeLimits?: {
18818
- unit: string;
18819
18679
  amount: number;
18680
+ unit: string;
18820
18681
  enforceable?: boolean | undefined;
18821
18682
  }[] | undefined;
18822
18683
  maxRuntimeSeconds?: number | undefined;
@@ -18835,12 +18696,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18835
18696
  messageTypes: string[];
18836
18697
  modelMutations: string[];
18837
18698
  };
18838
- enabled: boolean;
18839
18699
  prompt: {
18840
18700
  system: string;
18841
18701
  templates?: Record<string, string> | undefined;
18842
18702
  task?: string | undefined;
18843
18703
  };
18704
+ enabled: boolean;
18844
18705
  branchPolicy: {
18845
18706
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
18846
18707
  base: "staging" | "main";
@@ -18863,8 +18724,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18863
18724
  closeoutWarningSeconds?: number | undefined;
18864
18725
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
18865
18726
  nativeLimits?: {
18866
- unit: string;
18867
18727
  amount: number;
18728
+ unit: string;
18868
18729
  enforceable?: boolean | undefined;
18869
18730
  }[] | undefined;
18870
18731
  maxRuntimeSeconds?: number | undefined;
@@ -18891,6 +18752,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18891
18752
  id: string;
18892
18753
  revision: number;
18893
18754
  }[] | undefined;
18755
+ capabilityRequirements?: {
18756
+ capabilityId: string;
18757
+ requirement: "required" | "preferred";
18758
+ versionRange: string;
18759
+ configuration?: Record<string, {
18760
+ requirement: "required" | "preferred";
18761
+ value?: unknown;
18762
+ }> | undefined;
18763
+ alternativeGroup?: string | null | undefined;
18764
+ requiredFeatures?: string[] | undefined;
18765
+ }[] | undefined;
18894
18766
  permissions?: {
18895
18767
  repository?: {
18896
18768
  allowCodeMutation?: boolean | undefined;
@@ -18926,18 +18798,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18926
18798
  requiredArtifactKinds?: string[] | undefined;
18927
18799
  blockOnOpenQuestions?: boolean | undefined;
18928
18800
  } | undefined;
18929
- providerOverrides?: {
18930
- requiredCapabilities?: string[] | undefined;
18931
- instructionTemplateRefs?: {
18932
- id: string;
18933
- revision: number;
18934
- }[] | undefined;
18935
- maxRuntimeSeconds?: number | undefined;
18936
- maxTotalTokens?: number | undefined;
18937
- maxCostAmount?: number | undefined;
18938
- disallowedProviderIds?: string[] | undefined;
18939
- promptRef?: string | undefined;
18940
- } | undefined;
18941
18801
  signals?: {
18942
18802
  subscribesTo?: {
18943
18803
  contract: string;
@@ -19008,12 +18868,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19008
18868
  messageTypes: string[];
19009
18869
  modelMutations: string[];
19010
18870
  };
19011
- enabled: boolean;
19012
18871
  prompt: {
19013
18872
  system: string;
19014
18873
  templates?: Record<string, string> | undefined;
19015
18874
  task?: string | undefined;
19016
18875
  };
18876
+ enabled: boolean;
19017
18877
  branchPolicy: {
19018
18878
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
19019
18879
  base: "staging" | "main";
@@ -19036,8 +18896,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19036
18896
  closeoutWarningSeconds?: number | undefined;
19037
18897
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
19038
18898
  nativeLimits?: {
19039
- unit: string;
19040
18899
  amount: number;
18900
+ unit: string;
19041
18901
  enforceable?: boolean | undefined;
19042
18902
  }[] | undefined;
19043
18903
  maxRuntimeSeconds?: number | undefined;
@@ -19064,6 +18924,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19064
18924
  id: string;
19065
18925
  revision: number;
19066
18926
  }[] | undefined;
18927
+ capabilityRequirements?: {
18928
+ capabilityId: string;
18929
+ requirement: "required" | "preferred";
18930
+ versionRange: string;
18931
+ configuration?: Record<string, {
18932
+ requirement: "required" | "preferred";
18933
+ value?: unknown;
18934
+ }> | undefined;
18935
+ alternativeGroup?: string | null | undefined;
18936
+ requiredFeatures?: string[] | undefined;
18937
+ }[] | undefined;
19067
18938
  permissions?: {
19068
18939
  repository?: {
19069
18940
  allowCodeMutation?: boolean | undefined;
@@ -19099,18 +18970,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19099
18970
  requiredArtifactKinds?: string[] | undefined;
19100
18971
  blockOnOpenQuestions?: boolean | undefined;
19101
18972
  } | undefined;
19102
- providerOverrides?: {
19103
- requiredCapabilities?: string[] | undefined;
19104
- instructionTemplateRefs?: {
19105
- id: string;
19106
- revision: number;
19107
- }[] | undefined;
19108
- maxRuntimeSeconds?: number | undefined;
19109
- maxTotalTokens?: number | undefined;
19110
- maxCostAmount?: number | undefined;
19111
- disallowedProviderIds?: string[] | undefined;
19112
- promptRef?: string | undefined;
19113
- } | undefined;
19114
18973
  signals?: {
19115
18974
  subscribesTo?: {
19116
18975
  contract: string;
@@ -19181,12 +19040,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19181
19040
  messageTypes: string[];
19182
19041
  modelMutations: string[];
19183
19042
  };
19184
- enabled: boolean;
19185
19043
  prompt: {
19186
19044
  system: string;
19187
19045
  templates?: Record<string, string> | undefined;
19188
19046
  task?: string | undefined;
19189
19047
  };
19048
+ enabled: boolean;
19190
19049
  branchPolicy: {
19191
19050
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
19192
19051
  base: "staging" | "main";
@@ -19209,8 +19068,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19209
19068
  closeoutWarningSeconds?: number | undefined;
19210
19069
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
19211
19070
  nativeLimits?: {
19212
- unit: string;
19213
19071
  amount: number;
19072
+ unit: string;
19214
19073
  enforceable?: boolean | undefined;
19215
19074
  }[] | undefined;
19216
19075
  maxRuntimeSeconds?: number | undefined;
@@ -19237,6 +19096,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19237
19096
  id: string;
19238
19097
  revision: number;
19239
19098
  }[] | undefined;
19099
+ capabilityRequirements?: {
19100
+ capabilityId: string;
19101
+ requirement: "required" | "preferred";
19102
+ versionRange: string;
19103
+ configuration?: Record<string, {
19104
+ requirement: "required" | "preferred";
19105
+ value?: unknown;
19106
+ }> | undefined;
19107
+ alternativeGroup?: string | null | undefined;
19108
+ requiredFeatures?: string[] | undefined;
19109
+ }[] | undefined;
19240
19110
  permissions?: {
19241
19111
  repository?: {
19242
19112
  allowCodeMutation?: boolean | undefined;
@@ -19272,18 +19142,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19272
19142
  requiredArtifactKinds?: string[] | undefined;
19273
19143
  blockOnOpenQuestions?: boolean | undefined;
19274
19144
  } | undefined;
19275
- providerOverrides?: {
19276
- requiredCapabilities?: string[] | undefined;
19277
- instructionTemplateRefs?: {
19278
- id: string;
19279
- revision: number;
19280
- }[] | undefined;
19281
- maxRuntimeSeconds?: number | undefined;
19282
- maxTotalTokens?: number | undefined;
19283
- maxCostAmount?: number | undefined;
19284
- disallowedProviderIds?: string[] | undefined;
19285
- promptRef?: string | undefined;
19286
- } | undefined;
19287
19145
  signals?: {
19288
19146
  subscribesTo?: {
19289
19147
  contract: string;
@@ -19354,12 +19212,12 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19354
19212
  messageTypes: string[];
19355
19213
  modelMutations: string[];
19356
19214
  };
19357
- enabled: boolean;
19358
19215
  prompt: {
19359
19216
  system: string;
19360
19217
  templates?: Record<string, string> | undefined;
19361
19218
  task?: string | undefined;
19362
19219
  };
19220
+ enabled: boolean;
19363
19221
  branchPolicy: {
19364
19222
  kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
19365
19223
  base: "staging" | "main";
@@ -19382,8 +19240,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19382
19240
  closeoutWarningSeconds?: number | undefined;
19383
19241
  enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
19384
19242
  nativeLimits?: {
19385
- unit: string;
19386
19243
  amount: number;
19244
+ unit: string;
19387
19245
  enforceable?: boolean | undefined;
19388
19246
  }[] | undefined;
19389
19247
  maxRuntimeSeconds?: number | undefined;
@@ -19410,6 +19268,17 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19410
19268
  id: string;
19411
19269
  revision: number;
19412
19270
  }[] | undefined;
19271
+ capabilityRequirements?: {
19272
+ capabilityId: string;
19273
+ requirement: "required" | "preferred";
19274
+ versionRange: string;
19275
+ configuration?: Record<string, {
19276
+ requirement: "required" | "preferred";
19277
+ value?: unknown;
19278
+ }> | undefined;
19279
+ alternativeGroup?: string | null | undefined;
19280
+ requiredFeatures?: string[] | undefined;
19281
+ }[] | undefined;
19413
19282
  permissions?: {
19414
19283
  repository?: {
19415
19284
  allowCodeMutation?: boolean | undefined;
@@ -19445,18 +19314,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19445
19314
  requiredArtifactKinds?: string[] | undefined;
19446
19315
  blockOnOpenQuestions?: boolean | undefined;
19447
19316
  } | undefined;
19448
- providerOverrides?: {
19449
- requiredCapabilities?: string[] | undefined;
19450
- instructionTemplateRefs?: {
19451
- id: string;
19452
- revision: number;
19453
- }[] | undefined;
19454
- maxRuntimeSeconds?: number | undefined;
19455
- maxTotalTokens?: number | undefined;
19456
- maxCostAmount?: number | undefined;
19457
- disallowedProviderIds?: string[] | undefined;
19458
- promptRef?: string | undefined;
19459
- } | undefined;
19460
19317
  signals?: {
19461
19318
  subscribesTo?: {
19462
19319
  contract: string;
@@ -19928,8 +19785,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19928
19785
  relatedObjectives: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
19929
19786
  }, "strip", z.ZodTypeAny, {
19930
19787
  status: "live" | "archived" | "draft";
19931
- audience: string[];
19932
19788
  description: string;
19789
+ audience: string[];
19933
19790
  summary: string;
19934
19791
  slug: string;
19935
19792
  title: string;
@@ -20424,10 +20281,10 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20424
20281
  paths?: string[] | undefined;
20425
20282
  models?: string[] | undefined;
20426
20283
  };
20284
+ description: string;
20427
20285
  required: boolean;
20428
20286
  revision: number;
20429
- format: "map" | "summary" | "list" | "full" | "brief" | "sources";
20430
- description: string;
20287
+ format: "map" | "sources" | "summary" | "list" | "full" | "brief";
20431
20288
  query: string;
20432
20289
  depth: number;
20433
20290
  title: string;
@@ -20450,8 +20307,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20450
20307
  paths?: string[] | undefined;
20451
20308
  models?: string[] | undefined;
20452
20309
  };
20453
- revision: number;
20454
20310
  description: string;
20311
+ revision: number;
20455
20312
  query: string;
20456
20313
  title: string;
20457
20314
  maturity: "draft" | "validated" | "simulated" | "proven";
@@ -20462,7 +20319,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20462
20319
  };
20463
20320
  tokenBudget: number;
20464
20321
  required?: boolean | undefined;
20465
- format?: "map" | "summary" | "list" | "full" | "brief" | "sources" | undefined;
20322
+ format?: "map" | "sources" | "summary" | "list" | "full" | "brief" | undefined;
20466
20323
  depth?: number | undefined;
20467
20324
  scope?: string | undefined;
20468
20325
  filters?: Record<string, unknown> | undefined;
@@ -20486,8 +20343,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20486
20343
  mergePolicy: z.ZodDefault<z.ZodEnum<["append", "replace"]>>;
20487
20344
  }, "strict", z.ZodTypeAny, {
20488
20345
  id: string;
20489
- revision: number;
20490
20346
  description: string;
20347
+ revision: number;
20491
20348
  title: string;
20492
20349
  queryRefs: {
20493
20350
  id: string;
@@ -20496,8 +20353,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20496
20353
  mergePolicy: "replace" | "append";
20497
20354
  }, {
20498
20355
  id: string;
20499
- revision: number;
20500
20356
  description: string;
20357
+ revision: number;
20501
20358
  title: string;
20502
20359
  queryRefs: {
20503
20360
  id: string;
@@ -20517,8 +20374,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20517
20374
  }, "strict", z.ZodTypeAny, {
20518
20375
  kind: "message" | "status" | "summary" | "plan";
20519
20376
  id: string;
20520
- revision: number;
20521
20377
  description: string;
20378
+ revision: number;
20522
20379
  title: string;
20523
20380
  instructions: string;
20524
20381
  variables: string[];
@@ -20527,8 +20384,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
20527
20384
  }, {
20528
20385
  kind: "message" | "status" | "summary" | "plan";
20529
20386
  id: string;
20530
- revision: number;
20531
20387
  description: string;
20388
+ revision: number;
20532
20389
  title: string;
20533
20390
  instructions: string;
20534
20391
  outputSkeleton?: string | undefined;
@@ -21050,8 +20907,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21050
20907
  }, "strip", z.ZodTypeAny, {
21051
20908
  title: string;
21052
20909
  status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
21053
- audience?: string[] | undefined;
21054
20910
  description?: string | undefined;
20911
+ audience?: string[] | undefined;
21055
20912
  summary?: string | undefined;
21056
20913
  stage?: string | undefined;
21057
20914
  slug?: string | undefined;
@@ -21060,8 +20917,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21060
20917
  }, {
21061
20918
  title: string;
21062
20919
  status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
21063
- audience?: string[] | undefined;
21064
20920
  description?: string | undefined;
20921
+ audience?: string[] | undefined;
21065
20922
  summary?: string | undefined;
21066
20923
  stage?: string | undefined;
21067
20924
  slug?: string | undefined;
@@ -21476,8 +21333,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21476
21333
  summary: string;
21477
21334
  slug: string;
21478
21335
  title: string;
21479
- audience?: string[] | undefined;
21480
21336
  description?: string | undefined;
21337
+ audience?: string[] | undefined;
21481
21338
  groupIds?: string[] | undefined;
21482
21339
  relatedBookIds?: string[] | undefined;
21483
21340
  }, {
@@ -21489,8 +21346,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21489
21346
  summary: string;
21490
21347
  slug: string;
21491
21348
  title: string;
21492
- audience?: string[] | undefined;
21493
21349
  description?: string | undefined;
21350
+ audience?: string[] | undefined;
21494
21351
  groupIds?: string[] | undefined;
21495
21352
  relatedBookIds?: string[] | undefined;
21496
21353
  }> | z.ZodObject<{
@@ -21514,8 +21371,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21514
21371
  slug: string;
21515
21372
  title: string;
21516
21373
  bookId: string;
21517
- order?: number | undefined;
21518
21374
  description?: string | undefined;
21375
+ order?: number | undefined;
21519
21376
  groupIds?: string[] | undefined;
21520
21377
  }, {
21521
21378
  schemaVersion: "treeseed.knowledge-page/v1";
@@ -21526,8 +21383,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21526
21383
  slug: string;
21527
21384
  title: string;
21528
21385
  bookId: string;
21529
- order?: number | undefined;
21530
21386
  description?: string | undefined;
21387
+ order?: number | undefined;
21531
21388
  groupIds?: string[] | undefined;
21532
21389
  }> | z.ZodObject<{
21533
21390
  name: z.ZodString;
@@ -21542,8 +21399,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21542
21399
  }, "strip", z.ZodTypeAny, {
21543
21400
  name: string;
21544
21401
  status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
21545
- role?: string | undefined;
21546
21402
  description?: string | undefined;
21403
+ role?: string | undefined;
21547
21404
  summary?: string | undefined;
21548
21405
  group_ids?: string[] | undefined;
21549
21406
  related_objectives?: string[] | undefined;
@@ -21552,8 +21409,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21552
21409
  }, {
21553
21410
  name: string;
21554
21411
  status?: "live" | "planned" | "in progress" | "exploratory" | "speculative" | undefined;
21555
- role?: string | undefined;
21556
21412
  description?: string | undefined;
21413
+ role?: string | undefined;
21557
21414
  summary?: string | undefined;
21558
21415
  group_ids?: string[] | undefined;
21559
21416
  related_objectives?: string[] | undefined;
@@ -21584,7 +21441,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21584
21441
  participant_ids?: string[] | undefined;
21585
21442
  agent_ids?: string[] | undefined;
21586
21443
  parent_workday_id?: string | undefined;
21587
- legacy_status?: "open" | "resolved" | undefined;
21444
+ legacy_status?: "resolved" | "open" | undefined;
21588
21445
  }, {
21589
21446
  title: string;
21590
21447
  status?: "active" | "archived" | undefined;
@@ -21597,7 +21454,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21597
21454
  participant_ids?: string[] | undefined;
21598
21455
  agent_ids?: string[] | undefined;
21599
21456
  parent_workday_id?: string | undefined;
21600
- legacy_status?: "open" | "resolved" | undefined;
21457
+ legacy_status?: "resolved" | "open" | undefined;
21601
21458
  }> | z.ZodObject<{
21602
21459
  title: z.ZodString;
21603
21460
  discussion_id: z.ZodOptional<z.ZodString>;
@@ -21682,8 +21539,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21682
21539
  }, "strip", z.ZodTypeAny, {
21683
21540
  id: string;
21684
21541
  name: string;
21685
- classification: string;
21686
21542
  description: string;
21543
+ classification: string;
21687
21544
  slug: string;
21688
21545
  contract: "treeseed.group/v1";
21689
21546
  status?: "active" | "archived" | undefined;
@@ -21691,8 +21548,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21691
21548
  }, {
21692
21549
  id: string;
21693
21550
  name: string;
21694
- classification: string;
21695
21551
  description: string;
21552
+ classification: string;
21696
21553
  slug: string;
21697
21554
  contract: "treeseed.group/v1";
21698
21555
  status?: "active" | "archived" | undefined;
@@ -21721,7 +21578,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21721
21578
  }>;
21722
21579
  /** A JSON-safe description derived directly from the canonical validation schema. */
21723
21580
  export declare function describeContentFrontmatterContract(model: PortableContentModel): {
21724
- model: "knowledge" | "agent" | "decision" | "objective" | "workday" | "proposal" | "question" | "discussion" | "page" | "person" | "note" | "book" | "discussion_message" | "discussion_event" | "group" | "group_edge" | "agent_context_query" | "agent_context_query_set" | "agent_instruction_template" | "discussion_topic" | "assignment_plan" | "assignment_status" | "assignment_summary" | "agent_evaluation" | "agent_test" | "template_product";
21581
+ model: "knowledge" | "agent" | "decision" | "objective" | "workday" | "proposal" | "question" | "group" | "discussion" | "page" | "person" | "note" | "book" | "discussion_message" | "discussion_event" | "group_edge" | "agent_context_query" | "agent_context_query_set" | "agent_instruction_template" | "discussion_topic" | "assignment_plan" | "assignment_status" | "assignment_summary" | "agent_evaluation" | "agent_test" | "template_product";
21725
21582
  fields: {
21726
21583
  [k: string]: Record<string, unknown>;
21727
21584
  };