@thinkai/tai-api-contract 2.202.0 → 2.203.0

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.
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ThinkAI API
4
- version: 2.202.0
4
+ version: 2.203.0
5
5
  description: >
6
6
  Contract surface for the AI Driven SDLC backend used by ThinkAI.
7
7
  Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
@@ -2926,11 +2926,12 @@ paths:
2926
2926
  tags: [AIReadiness]
2927
2927
  summary: Get Agentic Foundation dimension settings
2928
2928
  description: >
2929
- Workspace `disabledDimensions` (scoring off workspace-wide), target percent per
2930
- readiness dimension, plus optional per-repository overrides. Omitted targets mean
2931
- 100. A repository override may disable scoring for a dimension and set its own
2932
- target; it cannot re-enable a workspace-disabled dimension. Empty object means
2933
- every dimension is scored at 100. Member-level read access.
2929
+ Workspace `disabledDimensions` (scoring off workspace-wide), `disabledCriteria`
2930
+ (rubric ids skipped on the next scan), target percent per readiness dimension,
2931
+ plus optional per-repository overrides. Omitted targets mean 100. A repository
2932
+ override may disable scoring for a dimension or criterion and set its own target;
2933
+ it cannot re-enable a workspace-disabled dimension or criterion. Empty object means
2934
+ every dimension is scored at 100 with all criteria graded. Member-level read access.
2934
2935
  operationId: getWorkspaceDimensionTargets
2935
2936
  parameters:
2936
2937
  - $ref: "#/components/parameters/WorkspaceId"
@@ -2957,9 +2958,10 @@ paths:
2957
2958
  description: >
2958
2959
  Full-replace workspace dimension settings and repository overrides.
2959
2960
  `disabledDimensions` turns scoring off for those dimensions workspace-wide.
2961
+ `disabledCriteria` skips listed rubric criteria on the next scan (N/A).
2960
2962
  Omit a target or send 100 to keep the default. `PUT {}` or `null` clears
2961
- settings so every dimension is scored at 100. Repository ids must be in
2962
- Agentic Foundation scan scope. Requires workspace **admin**.
2963
+ settings so every dimension is scored at 100 with all criteria graded.
2964
+ Repository ids must be in Agentic Foundation scan scope. Requires workspace **admin**.
2963
2965
  operationId: putWorkspaceDimensionTargets
2964
2966
  parameters:
2965
2967
  - $ref: "#/components/parameters/WorkspaceId"
@@ -2973,11 +2975,13 @@ paths:
2973
2975
  workspaceAndRepo:
2974
2976
  value:
2975
2977
  disabledDimensions: [delivery]
2978
+ disabledCriteria: [A11]
2976
2979
  targets:
2977
2980
  observability: 90
2978
2981
  repoOverrides:
2979
2982
  11111111-1111-4111-8111-111111111111:
2980
2983
  disabledDimensions: [observability]
2984
+ disabledCriteria: [D1]
2981
2985
  targets:
2982
2986
  tests-qa: 80
2983
2987
  responses:
@@ -16964,6 +16968,16 @@ components:
16964
16968
  items:
16965
16969
  $ref: "#/components/schemas/ReadinessDimensionId"
16966
16970
  description: Dimensions left out of this repository's score.
16971
+ disabledCriteria:
16972
+ type: array
16973
+ uniqueItems: true
16974
+ items:
16975
+ type: string
16976
+ pattern: "^[A-I][0-9]+[a-z]?$"
16977
+ example: A1
16978
+ description: >
16979
+ Rubric criterion ids skipped on the next scan for this repository
16980
+ (additive to workspace `disabledCriteria`).
16967
16981
  targets:
16968
16982
  $ref: "#/components/schemas/DimensionTargetPercentsDto"
16969
16983
 
@@ -16972,7 +16986,7 @@ components:
16972
16986
  additionalProperties: false
16973
16987
  description: >
16974
16988
  Agentic Foundation dimension settings. Empty object means every dimension is
16975
- scored and the target is 100.
16989
+ scored at 100 with all criteria graded.
16976
16990
  properties:
16977
16991
  disabledDimensions:
16978
16992
  type: array
@@ -16982,6 +16996,16 @@ components:
16982
16996
  description: >
16983
16997
  Dimensions left out of readiness scores for every repository in the
16984
16998
  workspace. Repository overrides may disable additional dimensions.
16999
+ disabledCriteria:
17000
+ type: array
17001
+ uniqueItems: true
17002
+ items:
17003
+ type: string
17004
+ pattern: "^[A-I][0-9]+[a-z]?$"
17005
+ example: A1
17006
+ description: >
17007
+ Rubric criterion ids skipped on the next scan for every repository.
17008
+ Repository overrides may disable additional criteria.
16985
17009
  targets:
16986
17010
  $ref: "#/components/schemas/DimensionTargetPercentsDto"
16987
17011
  repoOverrides:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.202.0",
3
+ "version": "2.203.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -952,12 +952,12 @@ export interface paths {
952
952
  };
953
953
  /**
954
954
  * Get Agentic Foundation dimension settings
955
- * @description Workspace `disabledDimensions` (scoring off workspace-wide), target percent per readiness dimension, plus optional per-repository overrides. Omitted targets mean 100. A repository override may disable scoring for a dimension and set its own target; it cannot re-enable a workspace-disabled dimension. Empty object means every dimension is scored at 100. Member-level read access.
955
+ * @description Workspace `disabledDimensions` (scoring off workspace-wide), `disabledCriteria` (rubric ids skipped on the next scan), target percent per readiness dimension, plus optional per-repository overrides. Omitted targets mean 100. A repository override may disable scoring for a dimension or criterion and set its own target; it cannot re-enable a workspace-disabled dimension or criterion. Empty object means every dimension is scored at 100 with all criteria graded. Member-level read access.
956
956
  */
957
957
  get: operations["getWorkspaceDimensionTargets"];
958
958
  /**
959
959
  * Set Agentic Foundation dimension settings
960
- * @description Full-replace workspace dimension settings and repository overrides. `disabledDimensions` turns scoring off for those dimensions workspace-wide. Omit a target or send 100 to keep the default. `PUT {}` or `null` clears settings so every dimension is scored at 100. Repository ids must be in Agentic Foundation scan scope. Requires workspace **admin**.
960
+ * @description Full-replace workspace dimension settings and repository overrides. `disabledDimensions` turns scoring off for those dimensions workspace-wide. `disabledCriteria` skips listed rubric criteria on the next scan (N/A). Omit a target or send 100 to keep the default. `PUT {}` or `null` clears settings so every dimension is scored at 100 with all criteria graded. Repository ids must be in Agentic Foundation scan scope. Requires workspace **admin**.
961
961
  */
962
962
  put: operations["putWorkspaceDimensionTargets"];
963
963
  post?: never;
@@ -6555,12 +6555,16 @@ export interface components {
6555
6555
  DimensionTargetsRepoOverrideDto: {
6556
6556
  /** @description Dimensions left out of this repository's score. */
6557
6557
  disabledDimensions?: components["schemas"]["ReadinessDimensionId"][];
6558
+ /** @description Rubric criterion ids skipped on the next scan for this repository (additive to workspace `disabledCriteria`). */
6559
+ disabledCriteria?: string[];
6558
6560
  targets?: components["schemas"]["DimensionTargetPercentsDto"];
6559
6561
  };
6560
- /** @description Agentic Foundation dimension settings. Empty object means every dimension is scored and the target is 100. */
6562
+ /** @description Agentic Foundation dimension settings. Empty object means every dimension is scored at 100 with all criteria graded. */
6561
6563
  DimensionTargetsDto: {
6562
6564
  /** @description Dimensions left out of readiness scores for every repository in the workspace. Repository overrides may disable additional dimensions. */
6563
6565
  disabledDimensions?: components["schemas"]["ReadinessDimensionId"][];
6566
+ /** @description Rubric criterion ids skipped on the next scan for every repository. Repository overrides may disable additional criteria. */
6567
+ disabledCriteria?: string[];
6564
6568
  targets?: components["schemas"]["DimensionTargetPercentsDto"];
6565
6569
  /** @description Keys are in-scope repository ids. */
6566
6570
  repoOverrides?: {