@neuraloom/contracts 0.0.0-stage → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics/community-movie/attribution.schema.d.ts +264 -0
- package/dist/analytics/community-movie/attribution.schema.js +57 -0
- package/dist/analytics/community-movie/consent.schema.d.ts +15 -0
- package/dist/analytics/community-movie/consent.schema.js +16 -0
- package/dist/analytics/community-movie/event-names.d.ts +11 -0
- package/dist/analytics/community-movie/event-names.js +113 -0
- package/dist/analytics/community-movie/event-params.schema.d.ts +622 -0
- package/dist/analytics/community-movie/event-params.schema.js +416 -0
- package/dist/analytics/community-movie/event-registry.d.ts +11 -0
- package/dist/analytics/community-movie/event-registry.js +486 -0
- package/dist/analytics/community-movie/index.d.ts +6 -0
- package/dist/analytics/community-movie/index.js +22 -0
- package/dist/analytics/community-movie/telemetry-record.schema.d.ts +157 -0
- package/dist/analytics/community-movie/telemetry-record.schema.js +26 -0
- package/dist/analytics/index.d.ts +1 -0
- package/dist/analytics/index.js +17 -0
- package/dist/community/actor-builder-options.d.ts +43 -0
- package/dist/community/actor-builder-options.js +197 -0
- package/dist/constants/AGENT_MCP_PERMISSIONS.d.ts +26 -0
- package/dist/constants/AGENT_MCP_PERMISSIONS.js +122 -0
- package/dist/constants/AGENT_ROLES.d.ts +37 -0
- package/dist/constants/AGENT_ROLES.js +199 -0
- package/dist/constants/audiobook-embed-placeholder-url.d.ts +5 -0
- package/dist/constants/audiobook-embed-placeholder-url.js +8 -0
- package/dist/constants/ci-config.d.ts +4 -0
- package/dist/constants/ci-config.js +7 -0
- package/dist/constants/kg-implement-stable-keys.d.ts +9 -0
- package/dist/constants/kg-implement-stable-keys.js +26 -0
- package/dist/constants/knowledge-edge-relation.d.ts +49 -0
- package/dist/constants/knowledge-edge-relation.js +42 -0
- package/dist/constants/knowledge-node.d.ts +21 -0
- package/dist/constants/knowledge-node.js +20 -0
- package/dist/constants/mission-control-nav.d.ts +13 -0
- package/dist/constants/mission-control-nav.js +75 -0
- package/dist/constants/model-mode-preset-defaults.d.ts +5 -0
- package/dist/constants/model-mode-preset-defaults.js +65 -0
- package/dist/constants/model-policies.d.ts +37 -0
- package/dist/constants/model-policies.js +656 -0
- package/dist/constants/navConfig.d.ts +43 -0
- package/dist/constants/navConfig.js +132 -0
- package/dist/constants/orchestration-execution.d.ts +5 -0
- package/dist/constants/orchestration-execution.js +10 -0
- package/dist/constants/payload-schema-map.d.ts +22 -0
- package/dist/constants/payload-schema-map.js +375 -0
- package/dist/constants/phase-guardian.d.ts +17 -0
- package/dist/constants/phase-guardian.js +43 -0
- package/dist/constants/pipeline-step-stages.d.ts +73 -0
- package/dist/constants/pipeline-step-stages.js +342 -0
- package/dist/constants/project-control-nav.d.ts +29 -0
- package/dist/constants/project-control-nav.js +65 -0
- package/dist/constants/software-index-targets.d.ts +17 -0
- package/dist/constants/software-index-targets.js +46 -0
- package/dist/constants/step-tools.d.ts +32 -0
- package/dist/constants/step-tools.js +53 -0
- package/dist/constants/workflow-agent-defaults.d.ts +4 -0
- package/dist/constants/workflow-agent-defaults.js +15 -0
- package/dist/constants/workflow-api-errors.d.ts +5 -0
- package/dist/constants/workflow-api-errors.js +8 -0
- package/dist/constants/workflow-phase-groups.d.ts +34 -0
- package/dist/constants/workflow-phase-groups.js +46 -0
- package/dist/constants/workflow-registry.d.ts +77 -0
- package/dist/constants/workflow-registry.js +421 -0
- package/dist/constants/workflow-semantics.d.ts +19 -0
- package/dist/constants/workflow-semantics.js +432 -0
- package/dist/constants/workflow-vocabulary.d.ts +23 -0
- package/dist/constants/workflow-vocabulary.js +227 -0
- package/dist/constants/workflow.d.ts +7 -0
- package/dist/constants/workflow.js +23 -0
- package/dist/data/model-registry.d.ts +36 -0
- package/dist/data/model-registry.js +59 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +90 -0
- package/dist/integration/index.d.ts +8 -0
- package/dist/integration/index.js +24 -0
- package/dist/integration/schema-hash-manifest.json +26 -0
- package/dist/lib/graph-edge-resolve.d.ts +3 -0
- package/dist/lib/graph-edge-resolve.js +20 -0
- package/dist/lib/graph-id.d.ts +16 -0
- package/dist/lib/graph-id.js +169 -0
- package/dist/lib/step-navigation.d.ts +35 -0
- package/dist/lib/step-navigation.js +218 -0
- package/dist/marketing/acquisition-landing-matrix.d.ts +46 -0
- package/dist/marketing/acquisition-landing-matrix.js +64 -0
- package/dist/marketing/acquisition-recommendation.schema.d.ts +284 -0
- package/dist/marketing/acquisition-recommendation.schema.js +84 -0
- package/dist/marketing/ads-account.schema.d.ts +46 -0
- package/dist/marketing/ads-account.schema.js +15 -0
- package/dist/marketing/ads-ad-group.schema.d.ts +52 -0
- package/dist/marketing/ads-ad-group.schema.js +17 -0
- package/dist/marketing/ads-campaign.schema.d.ts +59 -0
- package/dist/marketing/ads-campaign.schema.js +18 -0
- package/dist/marketing/ads-conversion-action.schema.d.ts +60 -0
- package/dist/marketing/ads-conversion-action.schema.js +27 -0
- package/dist/marketing/ads-keyword.schema.d.ts +59 -0
- package/dist/marketing/ads-keyword.schema.js +19 -0
- package/dist/marketing/ads-metrics-daily.schema.d.ts +95 -0
- package/dist/marketing/ads-metrics-daily.schema.js +24 -0
- package/dist/marketing/ads-overview.schema.d.ts +479 -0
- package/dist/marketing/ads-overview.schema.js +44 -0
- package/dist/marketing/ads-query.schema.d.ts +33 -0
- package/dist/marketing/ads-query.schema.js +13 -0
- package/dist/marketing/ads-search-term.schema.d.ts +70 -0
- package/dist/marketing/ads-search-term.schema.js +19 -0
- package/dist/marketing/campaign-asset.schema.d.ts +51 -0
- package/dist/marketing/campaign-asset.schema.js +39 -0
- package/dist/marketing/community-movie-ads-free-signup-campaign.d.ts +23 -0
- package/dist/marketing/community-movie-ads-free-signup-campaign.js +29 -0
- package/dist/marketing/community-movie-campaign-matrix.d.ts +47 -0
- package/dist/marketing/community-movie-campaign-matrix.js +265 -0
- package/dist/marketing/community-movie-google-ads.constants.d.ts +49 -0
- package/dist/marketing/community-movie-google-ads.constants.js +59 -0
- package/dist/marketing/config.schema.d.ts +32 -0
- package/dist/marketing/config.schema.js +31 -0
- package/dist/marketing/date-range.schema.d.ts +12 -0
- package/dist/marketing/date-range.schema.js +10 -0
- package/dist/marketing/entities/index.d.ts +6 -0
- package/dist/marketing/entities/index.js +11 -0
- package/dist/marketing/ga4-conversion.schema.d.ts +87 -0
- package/dist/marketing/ga4-conversion.schema.js +22 -0
- package/dist/marketing/ga4-event.schema.d.ts +98 -0
- package/dist/marketing/ga4-event.schema.js +23 -0
- package/dist/marketing/ga4-funnel.schema.d.ts +90 -0
- package/dist/marketing/ga4-funnel.schema.js +23 -0
- package/dist/marketing/ga4-landing-page.schema.d.ts +131 -0
- package/dist/marketing/ga4-landing-page.schema.js +25 -0
- package/dist/marketing/ga4-overview.schema.d.ts +478 -0
- package/dist/marketing/ga4-overview.schema.js +31 -0
- package/dist/marketing/ga4-query.schema.d.ts +19 -0
- package/dist/marketing/ga4-query.schema.js +27 -0
- package/dist/marketing/ga4-retention.schema.d.ts +79 -0
- package/dist/marketing/ga4-retention.schema.js +21 -0
- package/dist/marketing/ga4-traffic.schema.d.ts +154 -0
- package/dist/marketing/ga4-traffic.schema.js +27 -0
- package/dist/marketing/gsc-organic-overview.schema.d.ts +338 -0
- package/dist/marketing/gsc-organic-overview.schema.js +28 -0
- package/dist/marketing/gsc-organic-query.schema.d.ts +121 -0
- package/dist/marketing/gsc-organic-query.schema.js +24 -0
- package/dist/marketing/gsc-page-performance.schema.d.ts +121 -0
- package/dist/marketing/gsc-page-performance.schema.js +24 -0
- package/dist/marketing/gsc-query.schema.d.ts +19 -0
- package/dist/marketing/gsc-query.schema.js +27 -0
- package/dist/marketing/index.d.ts +47 -0
- package/dist/marketing/index.js +63 -0
- package/dist/marketing/marketing-attribution-summary.schema.d.ts +165 -0
- package/dist/marketing/marketing-attribution-summary.schema.js +26 -0
- package/dist/marketing/marketing-challenge-performance.schema.d.ts +139 -0
- package/dist/marketing/marketing-challenge-performance.schema.js +28 -0
- package/dist/marketing/marketing-conversion-enqueue.schema.d.ts +88 -0
- package/dist/marketing/marketing-conversion-enqueue.schema.js +34 -0
- package/dist/marketing/marketing-executive-overview.schema.d.ts +1865 -0
- package/dist/marketing/marketing-executive-overview.schema.js +39 -0
- package/dist/marketing/marketing-health.schema.d.ts +366 -0
- package/dist/marketing/marketing-health.schema.js +65 -0
- package/dist/marketing/marketing-keyword-opportunity.schema.d.ts +158 -0
- package/dist/marketing/marketing-keyword-opportunity.schema.js +34 -0
- package/dist/marketing/marketing-landing-page-intelligence.schema.d.ts +159 -0
- package/dist/marketing/marketing-landing-page-intelligence.schema.js +30 -0
- package/dist/marketing/marketing-readiness.schema.d.ts +506 -0
- package/dist/marketing/marketing-readiness.schema.js +83 -0
- package/dist/marketing/marketing-test-traffic.d.ts +6 -0
- package/dist/marketing/marketing-test-traffic.js +28 -0
- package/dist/marketing/marketing-visibility-overview.schema.d.ts +949 -0
- package/dist/marketing/marketing-visibility-overview.schema.js +42 -0
- package/dist/marketing/marketing-world-catalog.d.ts +10 -0
- package/dist/marketing/marketing-world-catalog.js +16 -0
- package/dist/marketing/marketing-world-performance.schema.d.ts +179 -0
- package/dist/marketing/marketing-world-performance.schema.js +32 -0
- package/dist/marketing/routes.d.ts +77 -0
- package/dist/marketing/routes.js +79 -0
- package/dist/marketing/search-negative-keywords.d.ts +6 -0
- package/dist/marketing/search-negative-keywords.js +30 -0
- package/dist/registry/schema-registry.d.ts +74 -0
- package/dist/registry/schema-registry.js +1148 -0
- package/dist/registry/table-ownership-registry.d.ts +57 -0
- package/dist/registry/table-ownership-registry.js +932 -0
- package/dist/routes/assurance.d.ts +6 -0
- package/dist/routes/assurance.js +14 -0
- package/dist/routes/community-operator.d.ts +117 -0
- package/dist/routes/community-operator.js +119 -0
- package/dist/routes/community.d.ts +232 -0
- package/dist/routes/community.js +246 -0
- package/dist/routes/index.d.ts +2203 -0
- package/dist/routes/index.js +1440 -0
- package/dist/schemas/ai/ai-generate-inputs.schema.d.ts +2056 -0
- package/dist/schemas/ai/ai-generate-inputs.schema.js +167 -0
- package/dist/schemas/ai/ai-run-metadata.schema.d.ts +39 -0
- package/dist/schemas/ai/ai-run-metadata.schema.js +24 -0
- package/dist/schemas/ai/ai-runs-list.schema.d.ts +248 -0
- package/dist/schemas/ai/ai-runs-list.schema.js +27 -0
- package/dist/schemas/ai/analytics-generate.schema.d.ts +185 -0
- package/dist/schemas/ai/analytics-generate.schema.js +59 -0
- package/dist/schemas/ai/api-generate.schema.d.ts +49 -0
- package/dist/schemas/ai/api-generate.schema.js +16 -0
- package/dist/schemas/ai/api.schema.d.ts +80 -0
- package/dist/schemas/ai/api.schema.js +22 -0
- package/dist/schemas/ai/architecture-generate.schema.d.ts +47 -0
- package/dist/schemas/ai/architecture-generate.schema.js +19 -0
- package/dist/schemas/ai/argument-map-generate.schema.d.ts +433 -0
- package/dist/schemas/ai/argument-map-generate.schema.js +62 -0
- package/dist/schemas/ai/audit-existing-output-evidence.schema.d.ts +153 -0
- package/dist/schemas/ai/audit-existing-output-evidence.schema.js +46 -0
- package/dist/schemas/ai/brief-improve-generate.schema.d.ts +2291 -0
- package/dist/schemas/ai/brief-improve-generate.schema.js +293 -0
- package/dist/schemas/ai/chapter-revision.schema.d.ts +817 -0
- package/dist/schemas/ai/chapter-revision.schema.js +267 -0
- package/dist/schemas/ai/code-generate.schema.d.ts +1492 -0
- package/dist/schemas/ai/code-generate.schema.js +46 -0
- package/dist/schemas/ai/community-pitch-critique-generate.schema.d.ts +31 -0
- package/dist/schemas/ai/community-pitch-critique-generate.schema.js +17 -0
- package/dist/schemas/ai/community-suggestion-summary-generate.schema.d.ts +34 -0
- package/dist/schemas/ai/community-suggestion-summary-generate.schema.js +19 -0
- package/dist/schemas/ai/compliance-generate.schema.d.ts +24 -0
- package/dist/schemas/ai/compliance-generate.schema.js +11 -0
- package/dist/schemas/ai/compliance.schema.d.ts +58 -0
- package/dist/schemas/ai/compliance.schema.js +22 -0
- package/dist/schemas/ai/constitution-generate.schema.d.ts +221 -0
- package/dist/schemas/ai/constitution-generate.schema.js +52 -0
- package/dist/schemas/ai/constitution-kg-gate-status.schema.d.ts +33 -0
- package/dist/schemas/ai/constitution-kg-gate-status.schema.js +15 -0
- package/dist/schemas/ai/constitution-validate-input.schema.d.ts +18 -0
- package/dist/schemas/ai/constitution-validate-input.schema.js +10 -0
- package/dist/schemas/ai/constitution-writing-generate.schema.d.ts +437 -0
- package/dist/schemas/ai/constitution-writing-generate.schema.js +70 -0
- package/dist/schemas/ai/constitution.schema.d.ts +19 -0
- package/dist/schemas/ai/constitution.schema.js +12 -0
- package/dist/schemas/ai/counterclaim-framework-generate.schema.d.ts +479 -0
- package/dist/schemas/ai/counterclaim-framework-generate.schema.js +66 -0
- package/dist/schemas/ai/coverage-generate.schema.d.ts +61 -0
- package/dist/schemas/ai/coverage-generate.schema.js +27 -0
- package/dist/schemas/ai/definitions-generate.schema.d.ts +448 -0
- package/dist/schemas/ai/definitions-generate.schema.js +62 -0
- package/dist/schemas/ai/deployments-generate.schema.d.ts +40 -0
- package/dist/schemas/ai/deployments-generate.schema.js +18 -0
- package/dist/schemas/ai/docs-generate.schema.d.ts +51 -0
- package/dist/schemas/ai/docs-generate.schema.js +18 -0
- package/dist/schemas/ai/domain-context.d.ts +58 -0
- package/dist/schemas/ai/domain-context.js +185 -0
- package/dist/schemas/ai/draft-generate.schema.d.ts +32 -0
- package/dist/schemas/ai/draft-generate.schema.js +17 -0
- package/dist/schemas/ai/editorial-guardian-generate.schema.d.ts +470 -0
- package/dist/schemas/ai/editorial-guardian-generate.schema.js +60 -0
- package/dist/schemas/ai/editorial-revise-chapter.schema.d.ts +411 -0
- package/dist/schemas/ai/editorial-revise-chapter.schema.js +83 -0
- package/dist/schemas/ai/film-clip-review-generate.schema.d.ts +291 -0
- package/dist/schemas/ai/film-clip-review-generate.schema.js +35 -0
- package/dist/schemas/ai/film-keyframe-generate.schema.d.ts +359 -0
- package/dist/schemas/ai/film-keyframe-generate.schema.js +28 -0
- package/dist/schemas/ai/film-keyframe-register.schema.d.ts +67 -0
- package/dist/schemas/ai/film-keyframe-register.schema.js +16 -0
- package/dist/schemas/ai/film-shot-risk-assess.schema.d.ts +12 -0
- package/dist/schemas/ai/film-shot-risk-assess.schema.js +10 -0
- package/dist/schemas/ai/film-still-review-generate.schema.d.ts +232 -0
- package/dist/schemas/ai/film-still-review-generate.schema.js +31 -0
- package/dist/schemas/ai/film-workflow-generate.schema.d.ts +117 -0
- package/dist/schemas/ai/film-workflow-generate.schema.js +33 -0
- package/dist/schemas/ai/generate-response.schema.d.ts +66 -0
- package/dist/schemas/ai/generate-response.schema.js +26 -0
- package/dist/schemas/ai/guardian-gate-status.schema.d.ts +112 -0
- package/dist/schemas/ai/guardian-gate-status.schema.js +17 -0
- package/dist/schemas/ai/guardian-kg-gate-status.schema.d.ts +58 -0
- package/dist/schemas/ai/guardian-kg-gate-status.schema.js +30 -0
- package/dist/schemas/ai/guardian-rule-detail.schema.d.ts +74 -0
- package/dist/schemas/ai/guardian-rule-detail.schema.js +19 -0
- package/dist/schemas/ai/guardian-score-history.schema.d.ts +75 -0
- package/dist/schemas/ai/guardian-score-history.schema.js +16 -0
- package/dist/schemas/ai/implement-graph.schema.d.ts +323 -0
- package/dist/schemas/ai/implement-graph.schema.js +51 -0
- package/dist/schemas/ai/implement-kg-gate-status.schema.d.ts +36 -0
- package/dist/schemas/ai/implement-kg-gate-status.schema.js +16 -0
- package/dist/schemas/ai/implement.schema.d.ts +73 -0
- package/dist/schemas/ai/implement.schema.js +23 -0
- package/dist/schemas/ai/index.d.ts +46 -0
- package/dist/schemas/ai/index.js +62 -0
- package/dist/schemas/ai/knowledge-kg-gate-status.schema.d.ts +73 -0
- package/dist/schemas/ai/knowledge-kg-gate-status.schema.js +24 -0
- package/dist/schemas/ai/knowledge-search-generate.schema.d.ts +2 -0
- package/dist/schemas/ai/knowledge-search-generate.schema.js +6 -0
- package/dist/schemas/ai/manuscript-checks.schema.d.ts +6095 -0
- package/dist/schemas/ai/manuscript-checks.schema.js +440 -0
- package/dist/schemas/ai/model-policy/index.d.ts +9 -0
- package/dist/schemas/ai/model-policy/index.js +25 -0
- package/dist/schemas/ai/model-policy/model-mode-preset.schema.d.ts +83 -0
- package/dist/schemas/ai/model-policy/model-mode-preset.schema.js +20 -0
- package/dist/schemas/ai/model-policy/model-modes.schema.d.ts +13 -0
- package/dist/schemas/ai/model-policy/model-modes.schema.js +27 -0
- package/dist/schemas/ai/model-policy/model-policy-resolved.schema.d.ts +44 -0
- package/dist/schemas/ai/model-policy/model-policy-resolved.schema.js +27 -0
- package/dist/schemas/ai/model-policy/model-quality-summary.schema.d.ts +133 -0
- package/dist/schemas/ai/model-policy/model-quality-summary.schema.js +35 -0
- package/dist/schemas/ai/model-policy/model-usage-summary.schema.d.ts +204 -0
- package/dist/schemas/ai/model-policy/model-usage-summary.schema.js +38 -0
- package/dist/schemas/ai/model-policy/project-model-policy.schema.d.ts +1311 -0
- package/dist/schemas/ai/model-policy/project-model-policy.schema.js +33 -0
- package/dist/schemas/ai/model-policy/workflow-phase-model-override.schema.d.ts +66 -0
- package/dist/schemas/ai/model-policy/workflow-phase-model-override.schema.js +48 -0
- package/dist/schemas/ai/model-policy/workflow-step-ids.schema.d.ts +2 -0
- package/dist/schemas/ai/model-policy/workflow-step-ids.schema.js +24 -0
- package/dist/schemas/ai/model-policy/workflow-step-model-override.schema.d.ts +63 -0
- package/dist/schemas/ai/model-policy/workflow-step-model-override.schema.js +43 -0
- package/dist/schemas/ai/orchestration-generate-fields.schema.d.ts +9 -0
- package/dist/schemas/ai/orchestration-generate-fields.schema.js +8 -0
- package/dist/schemas/ai/payload-json-schemas.d.ts +110 -0
- package/dist/schemas/ai/payload-json-schemas.js +154 -0
- package/dist/schemas/ai/plan.schema.d.ts +137 -0
- package/dist/schemas/ai/plan.schema.js +36 -0
- package/dist/schemas/ai/refine-fields.schema.d.ts +34 -0
- package/dist/schemas/ai/refine-fields.schema.js +27 -0
- package/dist/schemas/ai/review-generate.schema.d.ts +35 -0
- package/dist/schemas/ai/review-generate.schema.js +15 -0
- package/dist/schemas/ai/review.schema.d.ts +77 -0
- package/dist/schemas/ai/review.schema.js +29 -0
- package/dist/schemas/ai/run-trace.schema.d.ts +105 -0
- package/dist/schemas/ai/run-trace.schema.js +43 -0
- package/dist/schemas/ai/schema-generate.schema.d.ts +185 -0
- package/dist/schemas/ai/schema-generate.schema.js +44 -0
- package/dist/schemas/ai/schema.schema.d.ts +205 -0
- package/dist/schemas/ai/schema.schema.js +50 -0
- package/dist/schemas/ai/screenplay.schema.d.ts +550 -0
- package/dist/schemas/ai/screenplay.schema.js +77 -0
- package/dist/schemas/ai/source-registry-generate.schema.d.ts +245 -0
- package/dist/schemas/ai/source-registry-generate.schema.js +41 -0
- package/dist/schemas/ai/spec.schema.d.ts +248 -0
- package/dist/schemas/ai/spec.schema.js +78 -0
- package/dist/schemas/ai/style-system-generate.schema.d.ts +319 -0
- package/dist/schemas/ai/style-system-generate.schema.js +67 -0
- package/dist/schemas/ai/tasks-kg-gate-status.schema.d.ts +24 -0
- package/dist/schemas/ai/tasks-kg-gate-status.schema.js +12 -0
- package/dist/schemas/ai/tasks.schema.d.ts +49 -0
- package/dist/schemas/ai/tasks.schema.js +17 -0
- package/dist/schemas/ai/ui-generation-standard.schema.d.ts +42 -0
- package/dist/schemas/ai/ui-generation-standard.schema.js +40 -0
- package/dist/schemas/ai/ui-kg-gate-status.schema.d.ts +42 -0
- package/dist/schemas/ai/ui-kg-gate-status.schema.js +18 -0
- package/dist/schemas/ai/ui.schema.d.ts +22 -0
- package/dist/schemas/ai/ui.schema.js +13 -0
- package/dist/schemas/ai/workflow-artifacts.schema.d.ts +36075 -0
- package/dist/schemas/ai/workflow-artifacts.schema.js +2829 -0
- package/dist/schemas/ai/workflow-execution-mode.schema.d.ts +4 -0
- package/dist/schemas/ai/workflow-execution-mode.schema.js +6 -0
- package/dist/schemas/ai/writing-draft-all-generate.schema.d.ts +3444 -0
- package/dist/schemas/ai/writing-draft-all-generate.schema.js +319 -0
- package/dist/schemas/ai/writing-tasks-generate.schema.d.ts +283 -0
- package/dist/schemas/ai/writing-tasks-generate.schema.js +52 -0
- package/dist/schemas/ai/zod-openai-json-schema.d.ts +2 -0
- package/dist/schemas/ai/zod-openai-json-schema.js +67 -0
- package/dist/schemas/ai-ci-generate.d.ts +47 -0
- package/dist/schemas/ai-ci-generate.js +19 -0
- package/dist/schemas/ai-llm-outputs.d.ts +52 -0
- package/dist/schemas/ai-llm-outputs.js +26 -0
- package/dist/schemas/api/create-orchestration-request.schema.d.ts +13 -0
- package/dist/schemas/api/create-orchestration-request.schema.js +10 -0
- package/dist/schemas/api/implement-orchestration-session.schema.d.ts +26 -0
- package/dist/schemas/api/implement-orchestration-session.schema.js +11 -0
- package/dist/schemas/api/orchestration-events-list-response.schema.d.ts +108 -0
- package/dist/schemas/api/orchestration-events-list-response.schema.js +27 -0
- package/dist/schemas/api/plans-list-response.schema.d.ts +203 -0
- package/dist/schemas/api/plans-list-response.schema.js +35 -0
- package/dist/schemas/api/project-model-usage-query.schema.d.ts +24 -0
- package/dist/schemas/api/project-model-usage-query.schema.js +42 -0
- package/dist/schemas/api/specs-list-response.schema.d.ts +78 -0
- package/dist/schemas/api/specs-list-response.schema.js +23 -0
- package/dist/schemas/api-envelope.schema.d.ts +131 -0
- package/dist/schemas/api-envelope.schema.js +60 -0
- package/dist/schemas/artifacts/artifact-upload-proxy.schema.d.ts +27 -0
- package/dist/schemas/artifacts/artifact-upload-proxy.schema.js +15 -0
- package/dist/schemas/assurance/assurance-mode.schema.d.ts +33 -0
- package/dist/schemas/assurance/assurance-mode.schema.js +25 -0
- package/dist/schemas/assurance/browser-outcome-proof.schema.d.ts +164 -0
- package/dist/schemas/assurance/browser-outcome-proof.schema.js +58 -0
- package/dist/schemas/assurance/computation-authority-registry.schema.d.ts +108 -0
- package/dist/schemas/assurance/computation-authority-registry.schema.js +36 -0
- package/dist/schemas/assurance/documentation-evidence.schema.d.ts +131 -0
- package/dist/schemas/assurance/documentation-evidence.schema.js +44 -0
- package/dist/schemas/assurance/domain-assurance-evidence-pack.schema.d.ts +743 -0
- package/dist/schemas/assurance/domain-assurance-evidence-pack.schema.js +28 -0
- package/dist/schemas/assurance/domain-assurance-verdict.schema.d.ts +40 -0
- package/dist/schemas/assurance/domain-assurance-verdict.schema.js +24 -0
- package/dist/schemas/assurance/domain-truth-brief.schema.d.ts +270 -0
- package/dist/schemas/assurance/domain-truth-brief.schema.js +73 -0
- package/dist/schemas/assurance/enterprise-targeting.schema.d.ts +46 -0
- package/dist/schemas/assurance/enterprise-targeting.schema.js +24 -0
- package/dist/schemas/assurance/gate-result.schema.d.ts +35 -0
- package/dist/schemas/assurance/gate-result.schema.js +35 -0
- package/dist/schemas/assurance/index.d.ts +13 -0
- package/dist/schemas/assurance/index.js +30 -0
- package/dist/schemas/assurance/provider-call-ledger.schema.d.ts +97 -0
- package/dist/schemas/assurance/provider-call-ledger.schema.js +36 -0
- package/dist/schemas/assurance/provider-ledger-response.schema.d.ts +113 -0
- package/dist/schemas/assurance/provider-ledger-response.schema.js +29 -0
- package/dist/schemas/assurance/release-verdict.schema.d.ts +87 -0
- package/dist/schemas/assurance/release-verdict.schema.js +47 -0
- package/dist/schemas/assurance/risk-class.schema.d.ts +30 -0
- package/dist/schemas/assurance/risk-class.schema.js +33 -0
- package/dist/schemas/audiobook/alice-pronunciation.schema.d.ts +80 -0
- package/dist/schemas/audiobook/alice-pronunciation.schema.js +45 -0
- package/dist/schemas/audiobook/audiobook-api.schema.d.ts +1937 -0
- package/dist/schemas/audiobook/audiobook-api.schema.js +201 -0
- package/dist/schemas/audiobook/audiobook-artifacts.schema.d.ts +4069 -0
- package/dist/schemas/audiobook/audiobook-artifacts.schema.js +469 -0
- package/dist/schemas/audiobook/audiobook-studio.schema.d.ts +670 -0
- package/dist/schemas/audiobook/audiobook-studio.schema.js +159 -0
- package/dist/schemas/audiobook/audiobook-validation.d.ts +227 -0
- package/dist/schemas/audiobook/audiobook-validation.js +23 -0
- package/dist/schemas/audiobook/chunk-narration-script.d.ts +17 -0
- package/dist/schemas/audiobook/chunk-narration-script.js +96 -0
- package/dist/schemas/audiobook/elevenlabs-provider.schema.d.ts +167 -0
- package/dist/schemas/audiobook/elevenlabs-provider.schema.js +93 -0
- package/dist/schemas/audiobook/index.d.ts +8 -0
- package/dist/schemas/audiobook/index.js +24 -0
- package/dist/schemas/audiobook/narration-chunk.schema.d.ts +114 -0
- package/dist/schemas/audiobook/narration-chunk.schema.js +38 -0
- package/dist/schemas/audiobook-embed/audiobook-embed.schema.d.ts +1732 -0
- package/dist/schemas/audiobook-embed/audiobook-embed.schema.js +259 -0
- package/dist/schemas/auth/session-context.schema.d.ts +177 -0
- package/dist/schemas/auth/session-context.schema.js +40 -0
- package/dist/schemas/cache/cache-ai-response.schema.d.ts +50 -0
- package/dist/schemas/cache/cache-ai-response.schema.js +28 -0
- package/dist/schemas/ci/ci-allow-skip-actionlint-patch.schema.d.ts +16 -0
- package/dist/schemas/ci/ci-allow-skip-actionlint-patch.schema.js +12 -0
- package/dist/schemas/ci/ci-apply-post-success.schema.d.ts +24 -0
- package/dist/schemas/ci/ci-apply-post-success.schema.js +15 -0
- package/dist/schemas/ci/ci-canonical-readiness.schema.d.ts +155 -0
- package/dist/schemas/ci/ci-canonical-readiness.schema.js +47 -0
- package/dist/schemas/ci/ci-dispatch-post.schema.d.ts +34 -0
- package/dist/schemas/ci/ci-dispatch-post.schema.js +20 -0
- package/dist/schemas/ci/ci-ingest-post.schema.d.ts +37 -0
- package/dist/schemas/ci/ci-ingest-post.schema.js +22 -0
- package/dist/schemas/ci/ci-operator-ready-patch.schema.d.ts +13 -0
- package/dist/schemas/ci/ci-operator-ready-patch.schema.js +11 -0
- package/dist/schemas/ci/ci-pipeline-status.schema.d.ts +3 -0
- package/dist/schemas/ci/ci-pipeline-status.schema.js +13 -0
- package/dist/schemas/ci/ci-run.schema.d.ts +44 -0
- package/dist/schemas/ci/ci-run.schema.js +27 -0
- package/dist/schemas/ci/ci-runs-list-response.schema.d.ts +91 -0
- package/dist/schemas/ci/ci-runs-list-response.schema.js +13 -0
- package/dist/schemas/ci/ci-status-get.schema.d.ts +155 -0
- package/dist/schemas/ci/ci-status-get.schema.js +12 -0
- package/dist/schemas/ci/ci-status-response.schema.d.ts +554 -0
- package/dist/schemas/ci/ci-status-response.schema.js +151 -0
- package/dist/schemas/ci/index.d.ts +12 -0
- package/dist/schemas/ci/index.js +28 -0
- package/dist/schemas/ci/pr-check-run.schema.d.ts +44 -0
- package/dist/schemas/ci/pr-check-run.schema.js +21 -0
- package/dist/schemas/ci/project-engine-context.schema.d.ts +70 -0
- package/dist/schemas/ci/project-engine-context.schema.js +26 -0
- package/dist/schemas/community/community-actor-comment-body.schema.d.ts +9 -0
- package/dist/schemas/community/community-actor-comment-body.schema.js +9 -0
- package/dist/schemas/community/community-actor-universe-vote.schema.d.ts +10 -0
- package/dist/schemas/community/community-actor-universe-vote.schema.js +10 -0
- package/dist/schemas/community/community-ad-capi.schema.d.ts +77 -0
- package/dist/schemas/community/community-ad-capi.schema.js +42 -0
- package/dist/schemas/community/community-billing-checkout.schema.d.ts +31 -0
- package/dist/schemas/community/community-billing-checkout.schema.js +43 -0
- package/dist/schemas/community/community-challenge.schema.d.ts +43 -0
- package/dist/schemas/community/community-challenge.schema.js +21 -0
- package/dist/schemas/community/community-content-translation.schema.d.ts +99 -0
- package/dist/schemas/community/community-content-translation.schema.js +63 -0
- package/dist/schemas/community/community-credit-transaction.schema.d.ts +36 -0
- package/dist/schemas/community/community-credit-transaction.schema.js +19 -0
- package/dist/schemas/community/community-development-input.schema.d.ts +20 -0
- package/dist/schemas/community/community-development-input.schema.js +16 -0
- package/dist/schemas/community/community-development-room.schema.d.ts +28 -0
- package/dist/schemas/community/community-development-room.schema.js +16 -0
- package/dist/schemas/community/community-email.schema.d.ts +96 -0
- package/dist/schemas/community/community-email.schema.js +65 -0
- package/dist/schemas/community/community-film-playback.schema.d.ts +287 -0
- package/dist/schemas/community/community-film-playback.schema.js +52 -0
- package/dist/schemas/community/community-film-video-variant.schema.d.ts +94 -0
- package/dist/schemas/community/community-film-video-variant.schema.js +53 -0
- package/dist/schemas/community/community-film-world-marketing.schema.d.ts +27 -0
- package/dist/schemas/community/community-film-world-marketing.schema.js +67 -0
- package/dist/schemas/community/community-film.schema.d.ts +183 -0
- package/dist/schemas/community/community-film.schema.js +105 -0
- package/dist/schemas/community/community-idea-promote.schema.d.ts +4 -0
- package/dist/schemas/community/community-idea-promote.schema.js +6 -0
- package/dist/schemas/community/community-idea-submission.schema.d.ts +54 -0
- package/dist/schemas/community/community-idea-submission.schema.js +22 -0
- package/dist/schemas/community/community-idea-version.schema.d.ts +72 -0
- package/dist/schemas/community/community-idea-version.schema.js +28 -0
- package/dist/schemas/community/community-idea.schema.d.ts +71 -0
- package/dist/schemas/community/community-idea.schema.js +36 -0
- package/dist/schemas/community/community-locale.schema.d.ts +8 -0
- package/dist/schemas/community/community-locale.schema.js +10 -0
- package/dist/schemas/community/community-membership-monthly-credits.d.ts +4 -0
- package/dist/schemas/community/community-membership-monthly-credits.js +18 -0
- package/dist/schemas/community/community-membership.schema.d.ts +34 -0
- package/dist/schemas/community/community-membership.schema.js +19 -0
- package/dist/schemas/community/community-moderation-flag.schema.d.ts +31 -0
- package/dist/schemas/community/community-moderation-flag.schema.js +17 -0
- package/dist/schemas/community/community-movie-actor-blueprint.schema.d.ts +196 -0
- package/dist/schemas/community/community-movie-actor-blueprint.schema.js +30 -0
- package/dist/schemas/community/community-movie-actor-card.schema.d.ts +37 -0
- package/dist/schemas/community/community-movie-actor-card.schema.js +20 -0
- package/dist/schemas/community/community-movie-actor-create-request.schema.d.ts +102 -0
- package/dist/schemas/community/community-movie-actor-create-request.schema.js +24 -0
- package/dist/schemas/community/community-movie-actor-create-response.schema.d.ts +35 -0
- package/dist/schemas/community/community-movie-actor-create-response.schema.js +12 -0
- package/dist/schemas/community/community-movie-actor-gate-result.schema.d.ts +15 -0
- package/dist/schemas/community/community-movie-actor-gate-result.schema.js +11 -0
- package/dist/schemas/community/community-movie-actor-image-prompt-pack.schema.d.ts +22 -0
- package/dist/schemas/community/community-movie-actor-image-prompt-pack.schema.js +14 -0
- package/dist/schemas/community/community-movie-actor-kg-seed.schema.d.ts +68 -0
- package/dist/schemas/community/community-movie-actor-kg-seed.schema.js +31 -0
- package/dist/schemas/community/community-movie-actor-option-selection.schema.d.ts +43 -0
- package/dist/schemas/community/community-movie-actor-option-selection.schema.js +22 -0
- package/dist/schemas/community/community-movie-actor-portrait-url.schema.d.ts +10 -0
- package/dist/schemas/community/community-movie-actor-portrait-url.schema.js +10 -0
- package/dist/schemas/community/community-movie-actor-vote-response.schema.d.ts +13 -0
- package/dist/schemas/community/community-movie-actor-vote-response.schema.js +9 -0
- package/dist/schemas/community/community-movie-canonical-character.schema.d.ts +78 -0
- package/dist/schemas/community/community-movie-canonical-character.schema.js +104 -0
- package/dist/schemas/community/community-movie-gallery.schema.d.ts +28 -0
- package/dist/schemas/community/community-movie-gallery.schema.js +90 -0
- package/dist/schemas/community/community-movie-gate-result.schema.d.ts +46 -0
- package/dist/schemas/community/community-movie-gate-result.schema.js +23 -0
- package/dist/schemas/community/community-movie-idea-card.schema.d.ts +31 -0
- package/dist/schemas/community/community-movie-idea-card.schema.js +17 -0
- package/dist/schemas/community/community-movie-idea-input.schema.d.ts +22 -0
- package/dist/schemas/community/community-movie-idea-input.schema.js +14 -0
- package/dist/schemas/community/community-movie-idea-structured.schema.d.ts +34 -0
- package/dist/schemas/community/community-movie-idea-structured.schema.js +20 -0
- package/dist/schemas/community/community-movie-kg-seed.schema.d.ts +73 -0
- package/dist/schemas/community/community-movie-kg-seed.schema.js +84 -0
- package/dist/schemas/community/community-movie-stage-transitions.d.ts +15 -0
- package/dist/schemas/community/community-movie-stage-transitions.js +35 -0
- package/dist/schemas/community/community-movie-world-cta.schema.d.ts +75 -0
- package/dist/schemas/community/community-movie-world-cta.schema.js +83 -0
- package/dist/schemas/community/community-partner-offers.d.ts +13 -0
- package/dist/schemas/community/community-partner-offers.js +22 -0
- package/dist/schemas/community/community-partner.schema.d.ts +41 -0
- package/dist/schemas/community/community-partner.schema.js +23 -0
- package/dist/schemas/community/community-poll.schema.d.ts +54 -0
- package/dist/schemas/community/community-poll.schema.js +27 -0
- package/dist/schemas/community/community-production-operator.schema.d.ts +320 -0
- package/dist/schemas/community/community-production-operator.schema.js +91 -0
- package/dist/schemas/community/community-referral.schema.d.ts +155 -0
- package/dist/schemas/community/community-referral.schema.js +63 -0
- package/dist/schemas/community/community-signup-intake.constants.d.ts +13 -0
- package/dist/schemas/community/community-signup-intake.constants.js +134 -0
- package/dist/schemas/community/community-signup-intake.schema.d.ts +87 -0
- package/dist/schemas/community/community-signup-intake.schema.js +82 -0
- package/dist/schemas/community/community-slate.schema.d.ts +60 -0
- package/dist/schemas/community/community-slate.schema.js +29 -0
- package/dist/schemas/community/community-stage-transition.schema.d.ts +33 -0
- package/dist/schemas/community/community-stage-transition.schema.js +18 -0
- package/dist/schemas/community/community-suggestion.schema.d.ts +35 -0
- package/dist/schemas/community/community-suggestion.schema.js +24 -0
- package/dist/schemas/community/community-vote.schema.d.ts +24 -0
- package/dist/schemas/community/community-vote.schema.js +14 -0
- package/dist/schemas/community/community-waitlist.schema.d.ts +12 -0
- package/dist/schemas/community/community-waitlist.schema.js +10 -0
- package/dist/schemas/community/community-world-contribution.schema.d.ts +102 -0
- package/dist/schemas/community/community-world-contribution.schema.js +86 -0
- package/dist/schemas/community/credit-disclosure-variant.schema.d.ts +4 -0
- package/dist/schemas/community/credit-disclosure-variant.schema.js +6 -0
- package/dist/schemas/community/index.d.ts +56 -0
- package/dist/schemas/community/index.js +72 -0
- package/dist/schemas/cortex/bridge-envelope.schema.d.ts +70 -0
- package/dist/schemas/cortex/bridge-envelope.schema.js +77 -0
- package/dist/schemas/cortex/bridge-event-catalogue.d.ts +14 -0
- package/dist/schemas/cortex/bridge-event-catalogue.js +138 -0
- package/dist/schemas/cortex/bridge-events.schema.d.ts +14645 -0
- package/dist/schemas/cortex/bridge-events.schema.js +828 -0
- package/dist/schemas/cortex/bridge-readiness.schema.d.ts +27 -0
- package/dist/schemas/cortex/bridge-readiness.schema.js +15 -0
- package/dist/schemas/cortex/film-bridge-events.schema.d.ts +301 -0
- package/dist/schemas/cortex/film-bridge-events.schema.js +116 -0
- package/dist/schemas/cortex/index.d.ts +7 -0
- package/dist/schemas/cortex/index.js +23 -0
- package/dist/schemas/cortex/product-release-package.schema.d.ts +370 -0
- package/dist/schemas/cortex/product-release-package.schema.js +123 -0
- package/dist/schemas/cortex/proof-run-recorder.schema.d.ts +144 -0
- package/dist/schemas/cortex/proof-run-recorder.schema.js +43 -0
- package/dist/schemas/deployments/deployment-predict.schema.d.ts +165 -0
- package/dist/schemas/deployments/deployment-predict.schema.js +92 -0
- package/dist/schemas/deployments/deployment-preflight.schema.d.ts +184 -0
- package/dist/schemas/deployments/deployment-preflight.schema.js +80 -0
- package/dist/schemas/deployments/deployment-rollback.schema.d.ts +519 -0
- package/dist/schemas/deployments/deployment-rollback.schema.js +102 -0
- package/dist/schemas/deployments/deployment-status.schema.d.ts +1359 -0
- package/dist/schemas/deployments/deployment-status.schema.js +421 -0
- package/dist/schemas/film/film-artifact-kind.schema.d.ts +2 -0
- package/dist/schemas/film/film-artifact-kind.schema.js +6 -0
- package/dist/schemas/film/film-artifact-payloads.schema.d.ts +532 -0
- package/dist/schemas/film/film-artifact-payloads.schema.js +174 -0
- package/dist/schemas/film/film-asset-review.schema.d.ts +83 -0
- package/dist/schemas/film/film-asset-review.schema.js +42 -0
- package/dist/schemas/film/film-asset-rights-profile.schema.d.ts +68 -0
- package/dist/schemas/film/film-asset-rights-profile.schema.js +33 -0
- package/dist/schemas/film/film-character-pack-api.schema.d.ts +216 -0
- package/dist/schemas/film/film-character-pack-api.schema.js +51 -0
- package/dist/schemas/film/film-character-pack.schema.d.ts +51 -0
- package/dist/schemas/film/film-character-pack.schema.js +24 -0
- package/dist/schemas/film/film-character-scene-state.schema.d.ts +36 -0
- package/dist/schemas/film/film-character-scene-state.schema.js +18 -0
- package/dist/schemas/film/film-clip-api.schema.d.ts +379 -0
- package/dist/schemas/film/film-clip-api.schema.js +159 -0
- package/dist/schemas/film/film-clip-review-orchestration.schema.d.ts +234 -0
- package/dist/schemas/film/film-clip-review-orchestration.schema.js +23 -0
- package/dist/schemas/film/film-clip-review-scores.schema.d.ts +51 -0
- package/dist/schemas/film/film-clip-review-scores.schema.js +49 -0
- package/dist/schemas/film/film-clip-structured-review-artifact.schema.d.ts +175 -0
- package/dist/schemas/film/film-clip-structured-review-artifact.schema.js +15 -0
- package/dist/schemas/film/film-clip-structured-review.schema.d.ts +267 -0
- package/dist/schemas/film/film-clip-structured-review.schema.js +54 -0
- package/dist/schemas/film/film-clip.schema.d.ts +171 -0
- package/dist/schemas/film/film-clip.schema.js +64 -0
- package/dist/schemas/film/film-comfyui-workflow-create.schema.d.ts +39 -0
- package/dist/schemas/film/film-comfyui-workflow-create.schema.js +20 -0
- package/dist/schemas/film/film-comfyui-workflow-update.schema.d.ts +54 -0
- package/dist/schemas/film/film-comfyui-workflow-update.schema.js +28 -0
- package/dist/schemas/film/film-comfyui-workflow.schema.d.ts +188 -0
- package/dist/schemas/film/film-comfyui-workflow.schema.js +65 -0
- package/dist/schemas/film/film-creative-read-model.schema.d.ts +675 -0
- package/dist/schemas/film/film-creative-read-model.schema.js +66 -0
- package/dist/schemas/film/film-deliverable.schema.d.ts +656 -0
- package/dist/schemas/film/film-deliverable.schema.js +252 -0
- package/dist/schemas/film/film-edit-sequence.schema.d.ts +1112 -0
- package/dist/schemas/film/film-edit-sequence.schema.js +106 -0
- package/dist/schemas/film/film-elevenlabs-voice.schema.d.ts +126 -0
- package/dist/schemas/film/film-elevenlabs-voice.schema.js +56 -0
- package/dist/schemas/film/film-enqueue-multi-take.schema.d.ts +57 -0
- package/dist/schemas/film/film-enqueue-multi-take.schema.js +24 -0
- package/dist/schemas/film/film-export.schema.d.ts +78 -0
- package/dist/schemas/film/film-export.schema.js +37 -0
- package/dist/schemas/film/film-generation-dashboard.schema.d.ts +1779 -0
- package/dist/schemas/film/film-generation-dashboard.schema.js +222 -0
- package/dist/schemas/film/film-generation-package.schema.d.ts +1665 -0
- package/dist/schemas/film/film-generation-package.schema.js +116 -0
- package/dist/schemas/film/film-generation-task.schema.d.ts +1086 -0
- package/dist/schemas/film/film-generation-task.schema.js +159 -0
- package/dist/schemas/film/film-hydrate.schema.d.ts +46 -0
- package/dist/schemas/film/film-hydrate.schema.js +23 -0
- package/dist/schemas/film/film-keyframe-brief.schema.d.ts +99 -0
- package/dist/schemas/film/film-keyframe-brief.schema.js +29 -0
- package/dist/schemas/film/film-keyframe-review.schema.d.ts +186 -0
- package/dist/schemas/film/film-keyframe-review.schema.js +25 -0
- package/dist/schemas/film/film-keyframe.schema.d.ts +214 -0
- package/dist/schemas/film/film-keyframe.schema.js +43 -0
- package/dist/schemas/film/film-lessons-manifest.schema.d.ts +589 -0
- package/dist/schemas/film/film-lessons-manifest.schema.js +83 -0
- package/dist/schemas/film/film-llm-field.d.ts +22 -0
- package/dist/schemas/film/film-llm-field.js +78 -0
- package/dist/schemas/film/film-location-pack.schema.d.ts +51 -0
- package/dist/schemas/film/film-location-pack.schema.js +24 -0
- package/dist/schemas/film/film-marketing-creative-api.schema.d.ts +276 -0
- package/dist/schemas/film/film-marketing-creative-api.schema.js +47 -0
- package/dist/schemas/film/film-marketing-creative.schema.d.ts +74 -0
- package/dist/schemas/film/film-marketing-creative.schema.js +58 -0
- package/dist/schemas/film/film-marketing-format-preset.schema.d.ts +22 -0
- package/dist/schemas/film/film-marketing-format-preset.schema.js +71 -0
- package/dist/schemas/film/film-media-asset-file.schema.d.ts +59 -0
- package/dist/schemas/film/film-media-asset-file.schema.js +45 -0
- package/dist/schemas/film/film-media-asset-promotion-api.schema.d.ts +219 -0
- package/dist/schemas/film/film-media-asset-promotion-api.schema.js +29 -0
- package/dist/schemas/film/film-media-asset-review-api.schema.d.ts +431 -0
- package/dist/schemas/film/film-media-asset-review-api.schema.js +41 -0
- package/dist/schemas/film/film-media-asset.schema.d.ts +131 -0
- package/dist/schemas/film/film-media-asset.schema.js +94 -0
- package/dist/schemas/film/film-media-kg.schema.d.ts +86 -0
- package/dist/schemas/film/film-media-kg.schema.js +70 -0
- package/dist/schemas/film/film-ofi-report.schema.d.ts +437 -0
- package/dist/schemas/film/film-ofi-report.schema.js +65 -0
- package/dist/schemas/film/film-otio-sidecar.schema.d.ts +136 -0
- package/dist/schemas/film/film-otio-sidecar.schema.js +28 -0
- package/dist/schemas/film/film-production-coverage.schema.d.ts +179 -0
- package/dist/schemas/film/film-production-coverage.schema.js +123 -0
- package/dist/schemas/film/film-production-graph.schema.d.ts +273 -0
- package/dist/schemas/film/film-production-graph.schema.js +43 -0
- package/dist/schemas/film/film-production-read-model.schema.d.ts +1038 -0
- package/dist/schemas/film/film-production-read-model.schema.js +65 -0
- package/dist/schemas/film/film-production-style.schema.d.ts +31 -0
- package/dist/schemas/film/film-production-style.schema.js +50 -0
- package/dist/schemas/film/film-project.schema.d.ts +115 -0
- package/dist/schemas/film/film-project.schema.js +50 -0
- package/dist/schemas/film/film-prompt-compiler.schema.d.ts +346 -0
- package/dist/schemas/film/film-prompt-compiler.schema.js +116 -0
- package/dist/schemas/film/film-prompt-performance.schema.d.ts +77 -0
- package/dist/schemas/film/film-prompt-performance.schema.js +37 -0
- package/dist/schemas/film/film-prompt-repair.schema.d.ts +41 -0
- package/dist/schemas/film/film-prompt-repair.schema.js +36 -0
- package/dist/schemas/film/film-prompt.schema.d.ts +265 -0
- package/dist/schemas/film/film-prompt.schema.js +47 -0
- package/dist/schemas/film/film-provider-hints.schema.d.ts +105 -0
- package/dist/schemas/film/film-provider-hints.schema.js +50 -0
- package/dist/schemas/film/film-provider-job.schema.d.ts +320 -0
- package/dist/schemas/film/film-provider-job.schema.js +181 -0
- package/dist/schemas/film/film-provider.schema.d.ts +100 -0
- package/dist/schemas/film/film-provider.schema.js +51 -0
- package/dist/schemas/film/film-queue-enqueue.schema.d.ts +423 -0
- package/dist/schemas/film/film-queue-enqueue.schema.js +98 -0
- package/dist/schemas/film/film-queue-task-detail.schema.d.ts +981 -0
- package/dist/schemas/film/film-queue-task-detail.schema.js +57 -0
- package/dist/schemas/film/film-reference-pack.schema.d.ts +48 -0
- package/dist/schemas/film/film-reference-pack.schema.js +23 -0
- package/dist/schemas/film/film-regeneration-plan.schema.d.ts +124 -0
- package/dist/schemas/film/film-regeneration-plan.schema.js +62 -0
- package/dist/schemas/film/film-resolve-ingest.schema.d.ts +278 -0
- package/dist/schemas/film/film-resolve-ingest.schema.js +35 -0
- package/dist/schemas/film/film-resolve-timeline-report.schema.d.ts +323 -0
- package/dist/schemas/film/film-resolve-timeline-report.schema.js +43 -0
- package/dist/schemas/film/film-review.schema.d.ts +65 -0
- package/dist/schemas/film/film-review.schema.js +47 -0
- package/dist/schemas/film/film-scene.schema.d.ts +175 -0
- package/dist/schemas/film/film-scene.schema.js +38 -0
- package/dist/schemas/film/film-screenplay.schema.d.ts +215 -0
- package/dist/schemas/film/film-screenplay.schema.js +38 -0
- package/dist/schemas/film/film-shot-risk-assessment.schema.d.ts +27 -0
- package/dist/schemas/film/film-shot-risk-assessment.schema.js +16 -0
- package/dist/schemas/film/film-shot-risk-level.schema.d.ts +5 -0
- package/dist/schemas/film/film-shot-risk-level.schema.js +7 -0
- package/dist/schemas/film/film-shot.schema.d.ts +564 -0
- package/dist/schemas/film/film-shot.schema.js +96 -0
- package/dist/schemas/film/film-still-review-artifact.schema.d.ts +154 -0
- package/dist/schemas/film/film-still-review-artifact.schema.js +15 -0
- package/dist/schemas/film/film-still-review-scores.schema.d.ts +161 -0
- package/dist/schemas/film/film-still-review-scores.schema.js +48 -0
- package/dist/schemas/film/film-take-comparison.schema.d.ts +437 -0
- package/dist/schemas/film/film-take-comparison.schema.js +73 -0
- package/dist/schemas/film/film-training-dataset-api.schema.d.ts +641 -0
- package/dist/schemas/film/film-training-dataset-api.schema.js +86 -0
- package/dist/schemas/film/film-training-dataset.schema.d.ts +171 -0
- package/dist/schemas/film/film-training-dataset.schema.js +69 -0
- package/dist/schemas/film/film-wardrobe-state.schema.d.ts +42 -0
- package/dist/schemas/film/film-wardrobe-state.schema.js +21 -0
- package/dist/schemas/film/film-workbench.schema.d.ts +379 -0
- package/dist/schemas/film/film-workbench.schema.js +58 -0
- package/dist/schemas/film/film-workflow-lineage.schema.d.ts +166 -0
- package/dist/schemas/film/film-workflow-lineage.schema.js +83 -0
- package/dist/schemas/film/film-world-ontology.schema.d.ts +250 -0
- package/dist/schemas/film/film-world-ontology.schema.js +79 -0
- package/dist/schemas/film/image-generation-provider.schema.d.ts +392 -0
- package/dist/schemas/film/image-generation-provider.schema.js +55 -0
- package/dist/schemas/film/index.d.ts +81 -0
- package/dist/schemas/film/index.js +97 -0
- package/dist/schemas/github/branches.schema.d.ts +61 -0
- package/dist/schemas/github/branches.schema.js +17 -0
- package/dist/schemas/github/issues.schema.d.ts +145 -0
- package/dist/schemas/github/issues.schema.js +27 -0
- package/dist/schemas/github/pulls.schema.d.ts +173 -0
- package/dist/schemas/github/pulls.schema.js +30 -0
- package/dist/schemas/github/repo-create.schema.d.ts +21 -0
- package/dist/schemas/github/repo-create.schema.js +11 -0
- package/dist/schemas/github/webhook-delivery.schema.d.ts +729 -0
- package/dist/schemas/github/webhook-delivery.schema.js +142 -0
- package/dist/schemas/github/workflow-runs.schema.d.ts +173 -0
- package/dist/schemas/github/workflow-runs.schema.js +52 -0
- package/dist/schemas/github-pr-create.schema.d.ts +175 -0
- package/dist/schemas/github-pr-create.schema.js +70 -0
- package/dist/schemas/github-status.schema.d.ts +418 -0
- package/dist/schemas/github-status.schema.js +122 -0
- package/dist/schemas/graph/edge-v2.schema.d.ts +85 -0
- package/dist/schemas/graph/edge-v2.schema.js +164 -0
- package/dist/schemas/graph/graph-query-v2.schema.d.ts +449 -0
- package/dist/schemas/graph/graph-query-v2.schema.js +83 -0
- package/dist/schemas/graph/index.d.ts +14 -0
- package/dist/schemas/graph/index.js +30 -0
- package/dist/schemas/graph/node-v2.schema.d.ts +68 -0
- package/dist/schemas/graph/node-v2.schema.js +120 -0
- package/dist/schemas/graph/sql-security-findings.schema.d.ts +71 -0
- package/dist/schemas/graph/sql-security-findings.schema.js +40 -0
- package/dist/schemas/guardian/guardian-score.schema.d.ts +13 -0
- package/dist/schemas/guardian/guardian-score.schema.js +24 -0
- package/dist/schemas/guardian/validate.schema.d.ts +51 -0
- package/dist/schemas/guardian/validate.schema.js +36 -0
- package/dist/schemas/implement/nextjs-scaffold-manifest.schema.d.ts +44 -0
- package/dist/schemas/implement/nextjs-scaffold-manifest.schema.js +25 -0
- package/dist/schemas/implement/patch-validation-diagnostic.schema.d.ts +17 -0
- package/dist/schemas/implement/patch-validation-diagnostic.schema.js +19 -0
- package/dist/schemas/implement-patch-detail.schema.d.ts +344 -0
- package/dist/schemas/implement-patch-detail.schema.js +78 -0
- package/dist/schemas/implement-patch-lifecycle.schema.d.ts +66 -0
- package/dist/schemas/implement-patch-lifecycle.schema.js +317 -0
- package/dist/schemas/implement-patch-task.schema.d.ts +29 -0
- package/dist/schemas/implement-patch-task.schema.js +26 -0
- package/dist/schemas/implement-patch.schema.d.ts +2955 -0
- package/dist/schemas/implement-patch.schema.js +573 -0
- package/dist/schemas/implement-quarantine.schema.d.ts +215 -0
- package/dist/schemas/implement-quarantine.schema.js +71 -0
- package/dist/schemas/index.d.ts +5249 -0
- package/dist/schemas/index.js +1649 -0
- package/dist/schemas/integrations/cursor-execution.schema.d.ts +530 -0
- package/dist/schemas/integrations/cursor-execution.schema.js +104 -0
- package/dist/schemas/integrations.d.ts +426 -0
- package/dist/schemas/integrations.js +149 -0
- package/dist/schemas/knowledge/api-retry-kg-persistence.schema.d.ts +130 -0
- package/dist/schemas/knowledge/api-retry-kg-persistence.schema.js +28 -0
- package/dist/schemas/knowledge/constitution-retry-kg-persistence.schema.d.ts +46 -0
- package/dist/schemas/knowledge/constitution-retry-kg-persistence.schema.js +12 -0
- package/dist/schemas/knowledge/coverage.schema.d.ts +98 -0
- package/dist/schemas/knowledge/coverage.schema.js +27 -0
- package/dist/schemas/knowledge/duplicates.schema.d.ts +62 -0
- package/dist/schemas/knowledge/duplicates.schema.js +23 -0
- package/dist/schemas/knowledge/graph-query.schema.d.ts +9 -0
- package/dist/schemas/knowledge/graph-query.schema.js +7 -0
- package/dist/schemas/knowledge/guardian-retry-kg-persistence.schema.d.ts +40 -0
- package/dist/schemas/knowledge/guardian-retry-kg-persistence.schema.js +12 -0
- package/dist/schemas/knowledge/implement-retry-kg-persistence.schema.d.ts +49 -0
- package/dist/schemas/knowledge/implement-retry-kg-persistence.schema.js +14 -0
- package/dist/schemas/knowledge/kg-generation-writers.schema.d.ts +338 -0
- package/dist/schemas/knowledge/kg-generation-writers.schema.js +73 -0
- package/dist/schemas/knowledge/kg-relations.schema.d.ts +70 -0
- package/dist/schemas/knowledge/kg-relations.schema.js +157 -0
- package/dist/schemas/knowledge/knowledge-graph-summary.schema.d.ts +170 -0
- package/dist/schemas/knowledge/knowledge-graph-summary.schema.js +43 -0
- package/dist/schemas/knowledge/knowledge-node-provenance.schema.d.ts +41 -0
- package/dist/schemas/knowledge/knowledge-node-provenance.schema.js +21 -0
- package/dist/schemas/knowledge/knowledge-retry-kg-persistence.schema.d.ts +76 -0
- package/dist/schemas/knowledge/knowledge-retry-kg-persistence.schema.js +14 -0
- package/dist/schemas/knowledge/knowledge-search.schema.d.ts +29 -0
- package/dist/schemas/knowledge/knowledge-search.schema.js +17 -0
- package/dist/schemas/knowledge/lineage.schema.d.ts +70 -0
- package/dist/schemas/knowledge/lineage.schema.js +28 -0
- package/dist/schemas/knowledge/project-brief-knowledge-node.schema.d.ts +45 -0
- package/dist/schemas/knowledge/project-brief-knowledge-node.schema.js +30 -0
- package/dist/schemas/knowledge/review-readiness.schema.d.ts +104 -0
- package/dist/schemas/knowledge/review-readiness.schema.js +30 -0
- package/dist/schemas/knowledge/sync-prs.schema.d.ts +54 -0
- package/dist/schemas/knowledge/sync-prs.schema.js +21 -0
- package/dist/schemas/knowledge/tasks-retry-kg-persistence.schema.d.ts +37 -0
- package/dist/schemas/knowledge/tasks-retry-kg-persistence.schema.js +14 -0
- package/dist/schemas/knowledge/ui-retry-kg-persistence.schema.d.ts +58 -0
- package/dist/schemas/knowledge/ui-retry-kg-persistence.schema.js +14 -0
- package/dist/schemas/knowledge-graph-response.schema.d.ts +376 -0
- package/dist/schemas/knowledge-graph-response.schema.js +56 -0
- package/dist/schemas/logging/logger-context.schema.d.ts +21 -0
- package/dist/schemas/logging/logger-context.schema.js +11 -0
- package/dist/schemas/metrics/project-kpi-summary.schema.d.ts +368 -0
- package/dist/schemas/metrics/project-kpi-summary.schema.js +80 -0
- package/dist/schemas/orchestration/durable-stage-progress.schema.d.ts +57 -0
- package/dist/schemas/orchestration/durable-stage-progress.schema.js +34 -0
- package/dist/schemas/orchestration-execution.d.ts +163 -0
- package/dist/schemas/orchestration-execution.js +89 -0
- package/dist/schemas/project-bmad-settings-patch.schema.d.ts +66 -0
- package/dist/schemas/project-bmad-settings-patch.schema.js +29 -0
- package/dist/schemas/project-kind.schema.d.ts +70 -0
- package/dist/schemas/project-kind.schema.js +38 -0
- package/dist/schemas/project-team.d.ts +48 -0
- package/dist/schemas/project-team.js +52 -0
- package/dist/schemas/projects/nl-kg-v2-enabled.schema.d.ts +10 -0
- package/dist/schemas/projects/nl-kg-v2-enabled.schema.js +16 -0
- package/dist/schemas/provider-sentinel/cleanup-manifest.schema.d.ts +78 -0
- package/dist/schemas/provider-sentinel/cleanup-manifest.schema.js +27 -0
- package/dist/schemas/provider-sentinel/execution-evidence.schema.d.ts +228 -0
- package/dist/schemas/provider-sentinel/execution-evidence.schema.js +78 -0
- package/dist/schemas/provider-sentinel/film-media-sentinel-config.schema.d.ts +55 -0
- package/dist/schemas/provider-sentinel/film-media-sentinel-config.schema.js +33 -0
- package/dist/schemas/provider-sentinel/index.d.ts +6 -0
- package/dist/schemas/provider-sentinel/index.js +22 -0
- package/dist/schemas/provider-sentinel/provider-sentinel-common.schema.d.ts +8 -0
- package/dist/schemas/provider-sentinel/provider-sentinel-common.schema.js +9 -0
- package/dist/schemas/provider-sentinel/provider-sentinel-result.schema.d.ts +743 -0
- package/dist/schemas/provider-sentinel/provider-sentinel-result.schema.js +126 -0
- package/dist/schemas/provider-sentinel/text-durable-sentinel-config.schema.d.ts +51 -0
- package/dist/schemas/provider-sentinel/text-durable-sentinel-config.schema.js +30 -0
- package/dist/schemas/publication/manuscript-export.schema.d.ts +249 -0
- package/dist/schemas/publication/manuscript-export.schema.js +47 -0
- package/dist/schemas/repo/repo-scan-run.schema.d.ts +60 -0
- package/dist/schemas/repo/repo-scan-run.schema.js +34 -0
- package/dist/schemas/repos/project-repo-link.schema.d.ts +148 -0
- package/dist/schemas/repos/project-repo-link.schema.js +28 -0
- package/dist/schemas/repos/repo-readiness.schema.d.ts +26 -0
- package/dist/schemas/repos/repo-readiness.schema.js +23 -0
- package/dist/schemas/repos/repo-scan.schema.d.ts +379 -0
- package/dist/schemas/repos/repo-scan.schema.js +98 -0
- package/dist/schemas/review/review-coverage.schema.d.ts +2238 -0
- package/dist/schemas/review/review-coverage.schema.js +182 -0
- package/dist/schemas/review/review-policy.schema.d.ts +87 -0
- package/dist/schemas/review/review-policy.schema.js +42 -0
- package/dist/schemas/runtime/index.d.ts +6 -0
- package/dist/schemas/runtime/index.js +22 -0
- package/dist/schemas/runtime/platform-health.schema.d.ts +83 -0
- package/dist/schemas/runtime/platform-health.schema.js +31 -0
- package/dist/schemas/runtime/probe-harness-gen.schema.d.ts +456 -0
- package/dist/schemas/runtime/probe-harness-gen.schema.js +91 -0
- package/dist/schemas/runtime/probe.schema.d.ts +1117 -0
- package/dist/schemas/runtime/probe.schema.js +278 -0
- package/dist/schemas/runtime/runtime-knowledge-node.schema.d.ts +862 -0
- package/dist/schemas/runtime/runtime-knowledge-node.schema.js +29 -0
- package/dist/schemas/runtime/runtime-loop.schema.d.ts +175 -0
- package/dist/schemas/runtime/runtime-loop.schema.js +84 -0
- package/dist/schemas/runtime/runtime-run.schema.d.ts +378 -0
- package/dist/schemas/runtime/runtime-run.schema.js +30 -0
- package/dist/schemas/security/index.d.ts +3 -0
- package/dist/schemas/security/index.js +19 -0
- package/dist/schemas/security/pre-pr-security-gate.schema.d.ts +486 -0
- package/dist/schemas/security/pre-pr-security-gate.schema.js +13 -0
- package/dist/schemas/security/security-finding.schema.d.ts +546 -0
- package/dist/schemas/security/security-finding.schema.js +138 -0
- package/dist/schemas/security/security-knowledge-node.schema.d.ts +285 -0
- package/dist/schemas/security/security-knowledge-node.schema.js +21 -0
- package/dist/schemas/task-complexity.schema.d.ts +3 -0
- package/dist/schemas/task-complexity.schema.js +6 -0
- package/dist/schemas/task-evidence-expectations.schema.d.ts +174 -0
- package/dist/schemas/task-evidence-expectations.schema.js +35 -0
- package/dist/schemas/traceability/index.d.ts +2 -0
- package/dist/schemas/traceability/index.js +18 -0
- package/dist/schemas/traceability/neuraloom-traceability-file.schema.d.ts +593 -0
- package/dist/schemas/traceability/neuraloom-traceability-file.schema.js +93 -0
- package/dist/schemas/traceability/traceability-graph.schema.d.ts +712 -0
- package/dist/schemas/traceability/traceability-graph.schema.js +112 -0
- package/dist/schemas/workflow/build-knowledge.schema.d.ts +672 -0
- package/dist/schemas/workflow/build-knowledge.schema.js +92 -0
- package/dist/schemas/workflow/build-truth-read-model.schema.d.ts +1218 -0
- package/dist/schemas/workflow/build-truth-read-model.schema.js +42 -0
- package/dist/schemas/workflow/canonicalization-decision.schema.d.ts +74 -0
- package/dist/schemas/workflow/canonicalization-decision.schema.js +22 -0
- package/dist/schemas/workflow/code-reality-artifacts.schema.d.ts +914 -0
- package/dist/schemas/workflow/code-reality-artifacts.schema.js +150 -0
- package/dist/schemas/workflow/code-reality-read-model.schema.d.ts +12708 -0
- package/dist/schemas/workflow/code-reality-read-model.schema.js +237 -0
- package/dist/schemas/workflow/code-reality-task-traceability.schema.d.ts +124 -0
- package/dist/schemas/workflow/code-reality-task-traceability.schema.js +107 -0
- package/dist/schemas/workflow/command-center-spine.schema.d.ts +62 -0
- package/dist/schemas/workflow/command-center-spine.schema.js +58 -0
- package/dist/schemas/workflow/context-bundle.schema.d.ts +111 -0
- package/dist/schemas/workflow/context-bundle.schema.js +62 -0
- package/dist/schemas/workflow/context-contamination.schema.d.ts +284 -0
- package/dist/schemas/workflow/context-contamination.schema.js +65 -0
- package/dist/schemas/workflow/deployment-evidence.schema.d.ts +269 -0
- package/dist/schemas/workflow/deployment-evidence.schema.js +55 -0
- package/dist/schemas/workflow/doc-draft-artifact.schema.d.ts +126 -0
- package/dist/schemas/workflow/doc-draft-artifact.schema.js +52 -0
- package/dist/schemas/workflow/domain-acceptance.schema.d.ts +206 -0
- package/dist/schemas/workflow/domain-acceptance.schema.js +62 -0
- package/dist/schemas/workflow/engineering-context.schema.d.ts +2235 -0
- package/dist/schemas/workflow/engineering-context.schema.js +566 -0
- package/dist/schemas/workflow/existing-capability-classification.schema.d.ts +79 -0
- package/dist/schemas/workflow/existing-capability-classification.schema.js +28 -0
- package/dist/schemas/workflow/existing-codebase-context.schema.d.ts +865 -0
- package/dist/schemas/workflow/existing-codebase-context.schema.js +56 -0
- package/dist/schemas/workflow/findings-register.schema.d.ts +148 -0
- package/dist/schemas/workflow/findings-register.schema.js +35 -0
- package/dist/schemas/workflow/implement-first-batch.schema.d.ts +190 -0
- package/dist/schemas/workflow/implement-first-batch.schema.js +49 -0
- package/dist/schemas/workflow/implement-gate-status.schema.d.ts +823 -0
- package/dist/schemas/workflow/implement-gate-status.schema.js +94 -0
- package/dist/schemas/workflow/implement-stale-batch-repair.schema.d.ts +71 -0
- package/dist/schemas/workflow/implement-stale-batch-repair.schema.js +28 -0
- package/dist/schemas/workflow/implement-task-guard.schema.d.ts +27 -0
- package/dist/schemas/workflow/implement-task-guard.schema.js +35 -0
- package/dist/schemas/workflow/implementation-packet.schema.d.ts +200 -0
- package/dist/schemas/workflow/implementation-packet.schema.js +88 -0
- package/dist/schemas/workflow/import-validity.schema.d.ts +177 -0
- package/dist/schemas/workflow/import-validity.schema.js +71 -0
- package/dist/schemas/workflow/index.d.ts +14 -0
- package/dist/schemas/workflow/index.js +30 -0
- package/dist/schemas/workflow/ingest-dashboard.schema.d.ts +1094 -0
- package/dist/schemas/workflow/ingest-dashboard.schema.js +76 -0
- package/dist/schemas/workflow/ingest-gate.schema.d.ts +133 -0
- package/dist/schemas/workflow/ingest-gate.schema.js +27 -0
- package/dist/schemas/workflow/ingest-inventory.schema.d.ts +203 -0
- package/dist/schemas/workflow/ingest-inventory.schema.js +52 -0
- package/dist/schemas/workflow/knowledge-graph-result.schema.d.ts +90 -0
- package/dist/schemas/workflow/knowledge-graph-result.schema.js +37 -0
- package/dist/schemas/workflow/patch-file-scope-policy.schema.d.ts +62 -0
- package/dist/schemas/workflow/patch-file-scope-policy.schema.js +38 -0
- package/dist/schemas/workflow/patch-review-result.schema.d.ts +139 -0
- package/dist/schemas/workflow/patch-review-result.schema.js +58 -0
- package/dist/schemas/workflow/plan-approval.schema.d.ts +184 -0
- package/dist/schemas/workflow/plan-approval.schema.js +102 -0
- package/dist/schemas/workflow/product-readiness-response.schema.d.ts +307 -0
- package/dist/schemas/workflow/product-readiness-response.schema.js +81 -0
- package/dist/schemas/workflow/product-realization.schema.d.ts +259 -0
- package/dist/schemas/workflow/product-realization.schema.js +207 -0
- package/dist/schemas/workflow/product-route-manifest.schema.d.ts +785 -0
- package/dist/schemas/workflow/product-route-manifest.schema.js +161 -0
- package/dist/schemas/workflow/repair-specify-gate.schema.d.ts +33 -0
- package/dist/schemas/workflow/repair-specify-gate.schema.js +13 -0
- package/dist/schemas/workflow/repo-intel-snapshot.schema.d.ts +471 -0
- package/dist/schemas/workflow/repo-intel-snapshot.schema.js +98 -0
- package/dist/schemas/workflow/repo-policy-snapshot.schema.d.ts +365 -0
- package/dist/schemas/workflow/repo-policy-snapshot.schema.js +83 -0
- package/dist/schemas/workflow/review-acceptance.schema.d.ts +182 -0
- package/dist/schemas/workflow/review-acceptance.schema.js +66 -0
- package/dist/schemas/workflow/review-release-decision-operator.schema.d.ts +220 -0
- package/dist/schemas/workflow/review-release-decision-operator.schema.js +65 -0
- package/dist/schemas/workflow/route-manifest.schema.d.ts +239 -0
- package/dist/schemas/workflow/route-manifest.schema.js +82 -0
- package/dist/schemas/workflow/runtime-contract.schema.d.ts +384 -0
- package/dist/schemas/workflow/runtime-contract.schema.js +71 -0
- package/dist/schemas/workflow/schema-page-read-model.schema.d.ts +185 -0
- package/dist/schemas/workflow/schema-page-read-model.schema.js +29 -0
- package/dist/schemas/workflow/ship-closure.schema.d.ts +516 -0
- package/dist/schemas/workflow/ship-closure.schema.js +96 -0
- package/dist/schemas/workflow/software-workflow-lineage.schema.d.ts +384 -0
- package/dist/schemas/workflow/software-workflow-lineage.schema.js +54 -0
- package/dist/schemas/workflow/specify-mutation-health.schema.d.ts +72 -0
- package/dist/schemas/workflow/specify-mutation-health.schema.js +24 -0
- package/dist/schemas/workflow/step-evidence-resolution.schema.d.ts +49 -0
- package/dist/schemas/workflow/step-evidence-resolution.schema.js +36 -0
- package/dist/schemas/workflow/step-gate.schema.d.ts +312 -0
- package/dist/schemas/workflow/step-gate.schema.js +90 -0
- package/dist/schemas/workflow/task-capsule.schema.d.ts +414 -0
- package/dist/schemas/workflow/task-capsule.schema.js +99 -0
- package/dist/schemas/workflow/tasks-github-sync.schema.d.ts +60 -0
- package/dist/schemas/workflow/tasks-github-sync.schema.js +24 -0
- package/dist/schemas/workflow/tasks-repair-stale-implementing.schema.d.ts +86 -0
- package/dist/schemas/workflow/tasks-repair-stale-implementing.schema.js +38 -0
- package/dist/schemas/workflow/tasks-truth.schema.d.ts +616 -0
- package/dist/schemas/workflow/tasks-truth.schema.js +76 -0
- package/dist/schemas/workflow/tasks-unblock-implement-handoff.schema.d.ts +210 -0
- package/dist/schemas/workflow/tasks-unblock-implement-handoff.schema.js +17 -0
- package/dist/schemas/workflow/test-obligation-manifest.schema.d.ts +306 -0
- package/dist/schemas/workflow/test-obligation-manifest.schema.js +131 -0
- package/dist/schemas/workflow/workflow-doctor.schema.d.ts +942 -0
- package/dist/schemas/workflow/workflow-doctor.schema.js +141 -0
- package/dist/schemas/workflow/workflow-evidence.schema.d.ts +67 -0
- package/dist/schemas/workflow/workflow-evidence.schema.js +23 -0
- package/dist/schemas/workflow/workflow-intelligence-graph.schema.d.ts +415 -0
- package/dist/schemas/workflow/workflow-intelligence-graph.schema.js +213 -0
- package/dist/schemas/workflow/workflow-run-event.schema.d.ts +41 -0
- package/dist/schemas/workflow/workflow-run-event.schema.js +55 -0
- package/dist/schemas/workflow-ci-step-artifacts.schema.d.ts +60 -0
- package/dist/schemas/workflow-ci-step-artifacts.schema.js +15 -0
- package/dist/schemas/workflow-implement-read-model.schema.d.ts +86 -0
- package/dist/schemas/workflow-implement-read-model.schema.js +22 -0
- package/dist/schemas/workflow-knowledge-step-artifacts.schema.d.ts +60 -0
- package/dist/schemas/workflow-knowledge-step-artifacts.schema.js +15 -0
- package/dist/schemas/workflow-progression.d.ts +1955 -0
- package/dist/schemas/workflow-progression.js +259 -0
- package/dist/telemetry/index.d.ts +194 -0
- package/dist/telemetry/index.js +93 -0
- package/dist/transformation/canonical-semantic-model.d.ts +233 -0
- package/dist/transformation/canonical-semantic-model.js +61 -0
- package/dist/transformation/index.d.ts +6 -0
- package/dist/transformation/index.js +22 -0
- package/dist/transformation/transformation-registry.d.ts +136 -0
- package/dist/transformation/transformation-registry.js +100 -0
- package/dist/types/ai-responses.d.ts +98 -0
- package/dist/types/ai-responses.js +42 -0
- package/dist/types/ai.d.ts +4 -0
- package/dist/types/ai.js +2 -0
- package/dist/types/audiobook-embed.d.ts +22 -0
- package/dist/types/audiobook-embed.js +2 -0
- package/dist/types/audiobook.d.ts +30 -0
- package/dist/types/audiobook.js +2 -0
- package/dist/types/chapter-revision.types.d.ts +6 -0
- package/dist/types/chapter-revision.types.js +6 -0
- package/dist/types/ci.d.ts +14 -0
- package/dist/types/ci.js +2 -0
- package/dist/types/codebase.d.ts +309 -0
- package/dist/types/codebase.js +83 -0
- package/dist/types/community-credit-transaction-type.d.ts +2 -0
- package/dist/types/community-credit-transaction-type.js +9 -0
- package/dist/types/community-membership-tier.d.ts +2 -0
- package/dist/types/community-membership-tier.js +4 -0
- package/dist/types/community-operator-role.d.ts +9 -0
- package/dist/types/community-operator-role.js +13 -0
- package/dist/types/community-stage.d.ts +3 -0
- package/dist/types/community-stage.js +19 -0
- package/dist/types/graph-canvas.d.ts +109 -0
- package/dist/types/graph-canvas.js +25 -0
- package/dist/types/graph-question-mapping.d.ts +33 -0
- package/dist/types/graph-question-mapping.js +36 -0
- package/dist/types/index.d.ts +2187 -0
- package/dist/types/index.js +53 -0
- package/dist/types/manuscript-checks.d.ts +1 -0
- package/dist/types/manuscript-checks.js +2 -0
- package/dist/types/orchestration-execution.d.ts +16 -0
- package/dist/types/orchestration-execution.js +5 -0
- package/dist/types/product-readiness.d.ts +44 -0
- package/dist/types/product-readiness.js +2 -0
- package/dist/types/product-route-manifest.d.ts +5 -0
- package/dist/types/product-route-manifest.js +21 -0
- package/dist/types/project-capabilities.d.ts +20 -0
- package/dist/types/project-capabilities.js +40 -0
- package/dist/types/project-kind.d.ts +68 -0
- package/dist/types/project-kind.js +216 -0
- package/dist/types/pwa.d.ts +29 -0
- package/dist/types/pwa.js +6 -0
- package/dist/types/repo.d.ts +2 -0
- package/dist/types/repo.js +2 -0
- package/dist/types/resolve-model-policy-input.d.ts +37 -0
- package/dist/types/resolve-model-policy-input.js +2 -0
- package/dist/types/settings.d.ts +13 -0
- package/dist/types/settings.js +20 -0
- package/dist/types/supabase-generated.d.ts +1122 -0
- package/dist/types/supabase-generated.js +13 -0
- package/dist/types/workflow-action-panel.d.ts +41 -0
- package/dist/types/workflow-action-panel.js +2 -0
- package/dist/types/workflow-command-center.d.ts +50 -0
- package/dist/types/workflow-command-center.js +6 -0
- package/dist/types/workflow-completion.d.ts +154 -0
- package/dist/types/workflow-completion.js +2 -0
- package/dist/types/workflow-graph.d.ts +786 -0
- package/dist/types/workflow-graph.js +119 -0
- package/dist/ui/domain-templates.d.ts +35 -0
- package/dist/ui/domain-templates.js +242 -0
- package/dist/utils/github-closing-keywords.d.ts +8 -0
- package/dist/utils/github-closing-keywords.js +27 -0
- package/dist/utils/implement-pr-batch-policy.d.ts +17 -0
- package/dist/utils/implement-pr-batch-policy.js +72 -0
- package/dist/utils/implement-pr-batch.d.ts +19 -0
- package/dist/utils/implement-pr-batch.js +95 -0
- package/dist/utils/implement-pr-metadata.d.ts +32 -0
- package/dist/utils/implement-pr-metadata.js +41 -0
- package/dist/workflow/api-route-key-resolver.d.ts +11 -0
- package/dist/workflow/api-route-key-resolver.js +51 -0
- package/dist/workflow/assurance-selector-keys.d.ts +134 -0
- package/dist/workflow/assurance-selector-keys.js +145 -0
- package/dist/workflow/channel-registry.d.ts +959 -0
- package/dist/workflow/channel-registry.js +1475 -0
- package/dist/workflow/evaluate-existing-codebase-readiness.d.ts +28 -0
- package/dist/workflow/evaluate-existing-codebase-readiness.js +329 -0
- package/dist/workflow/evaluate-ingest-gate.d.ts +11 -0
- package/dist/workflow/evaluate-ingest-gate.js +168 -0
- package/dist/workflow/evaluate-repair-specify-gate.d.ts +10 -0
- package/dist/workflow/evaluate-repair-specify-gate.js +93 -0
- package/dist/workflow/existing-codebase-step-area-map.d.ts +4 -0
- package/dist/workflow/existing-codebase-step-area-map.js +22 -0
- package/dist/workflow/film-spine-nav-aliases.d.ts +23 -0
- package/dist/workflow/film-spine-nav-aliases.js +76 -0
- package/dist/workflow/index.d.ts +23 -0
- package/dist/workflow/index.js +39 -0
- package/dist/workflow/is-code-reality-semantically-mapped.d.ts +8 -0
- package/dist/workflow/is-code-reality-semantically-mapped.js +21 -0
- package/dist/workflow/is-repository-scan-complete.d.ts +11 -0
- package/dist/workflow/is-repository-scan-complete.js +28 -0
- package/dist/workflow/normalize-workflow-execution-mode.d.ts +4 -0
- package/dist/workflow/normalize-workflow-execution-mode.js +16 -0
- package/dist/workflow/project-kind-normalizer.d.ts +34 -0
- package/dist/workflow/project-kind-normalizer.js +162 -0
- package/dist/workflow/resolve-workflow-variant.d.ts +42 -0
- package/dist/workflow/resolve-workflow-variant.js +101 -0
- package/dist/workflow/step-id-canonical.d.ts +26 -0
- package/dist/workflow/step-id-canonical.js +58 -0
- package/dist/workflow/test-obligation-policy.d.ts +12 -0
- package/dist/workflow/test-obligation-policy.js +82 -0
- package/dist/workflow/test-policy-registry.d.ts +45 -0
- package/dist/workflow/test-policy-registry.js +190 -0
- package/dist/workflow/workflow-assurance-completion-probe-gates.d.ts +43 -0
- package/dist/workflow/workflow-assurance-completion-probe-gates.js +88 -0
- package/dist/workflow/workflow-assurance-manifest.d.ts +84 -0
- package/dist/workflow/workflow-assurance-manifest.js +309 -0
- package/dist/workflow/workflow-assurance-wiring-tiers.d.ts +13 -0
- package/dist/workflow/workflow-assurance-wiring-tiers.js +32 -0
- package/dist/workflow/workflow-doctor-closure.d.ts +16 -0
- package/dist/workflow/workflow-doctor-closure.js +245 -0
- package/package.json +83 -4
- package/README.md +0 -3
|
@@ -0,0 +1,2955 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ImplementReadinessBlockerCodeSchema: z.ZodEnum<["NO_LINKED_REPO", "GITHUB_NOT_CONNECTED", "GITHUB_CONTENTS_WRITE_MISSING", "GITHUB_PR_WRITE_MISSING", "NO_READY_TASKS", "REPO_SCAN_MISSING", "GITHUB_PERMISSION_CHECK_FAILED", "PRODUCT_REALISATION_BLOCKED", "READINESS_DEGRADED", "UNKNOWN"]>;
|
|
3
|
+
export type ImplementReadinessBlockerCode = z.infer<typeof ImplementReadinessBlockerCodeSchema>;
|
|
4
|
+
export declare const ImplementReadinessBlockerSchema: z.ZodObject<{
|
|
5
|
+
code: z.ZodEnum<["NO_LINKED_REPO", "GITHUB_NOT_CONNECTED", "GITHUB_CONTENTS_WRITE_MISSING", "GITHUB_PR_WRITE_MISSING", "NO_READY_TASKS", "REPO_SCAN_MISSING", "GITHUB_PERMISSION_CHECK_FAILED", "PRODUCT_REALISATION_BLOCKED", "READINESS_DEGRADED", "UNKNOWN"]>;
|
|
6
|
+
severity: z.ZodEnum<["error", "warning"]>;
|
|
7
|
+
message: z.ZodString;
|
|
8
|
+
actionLabel: z.ZodOptional<z.ZodString>;
|
|
9
|
+
actionHref: z.ZodOptional<z.ZodString>;
|
|
10
|
+
realizationCheckCode: z.ZodOptional<z.ZodEnum<["PACKAGE_JSON_PRESENT", "NEXT_ROOT_PAGE_MISSING", "NEXT_SCAFFOLD_PRESENT", "API_HEALTH_ROUTE", "DOMAIN_API_ROUTE_MIN_1", "DOMAIN_UI_ROUTE_MIN_1", "DOMAIN_MODEL_OR_SCHEMA_MIN_1", "TEST_FILE_MIN_1", "TRACEABILITY_ROWS_MIN_1", "ORPHANED_PARENT_ROUTE", "LAYOUT_CSS_IMPORT", "ROUTE_MANIFEST_COVERAGE", "NAV_LINK_INTEGRITY", "ROOT_ROUTE_RUNTIME_BEHAVIOR", "API_ROUTE_HANDLER_PRESENT", "CSS_IMPORT_TARGET_EXISTS", "AUTH_PAGE_MINIMAL_FORM", "PACKAGE_DEPENDENCY_MISSING", "CSS_TOOLCHAIN_INCOMPLETE", "LOCKFILE_STALE_OR_MISSING", "PACKAGE_IMPORT_RESOLUTION", "POSTCSS_CONFIG_MISSING"]>>;
|
|
11
|
+
realizationReason: z.ZodOptional<z.ZodEnum<["missing_domain_file", "missing_api_route", "missing_ui_route", "missing_tests", "missing_traceability"]>>;
|
|
12
|
+
realizationEvidence: z.ZodOptional<z.ZodType<import("./workflow/product-realization.schema").ImplementRealisationEvidence, z.ZodTypeDef, import("./workflow/product-realization.schema").ImplementRealisationEvidence>>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
code: "UNKNOWN" | "NO_LINKED_REPO" | "GITHUB_NOT_CONNECTED" | "GITHUB_CONTENTS_WRITE_MISSING" | "GITHUB_PR_WRITE_MISSING" | "NO_READY_TASKS" | "REPO_SCAN_MISSING" | "GITHUB_PERMISSION_CHECK_FAILED" | "PRODUCT_REALISATION_BLOCKED" | "READINESS_DEGRADED";
|
|
15
|
+
message: string;
|
|
16
|
+
severity: "warning" | "error";
|
|
17
|
+
actionLabel?: string | undefined;
|
|
18
|
+
actionHref?: string | undefined;
|
|
19
|
+
realizationCheckCode?: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE" | undefined;
|
|
20
|
+
realizationReason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
21
|
+
realizationEvidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
code: "UNKNOWN" | "NO_LINKED_REPO" | "GITHUB_NOT_CONNECTED" | "GITHUB_CONTENTS_WRITE_MISSING" | "GITHUB_PR_WRITE_MISSING" | "NO_READY_TASKS" | "REPO_SCAN_MISSING" | "GITHUB_PERMISSION_CHECK_FAILED" | "PRODUCT_REALISATION_BLOCKED" | "READINESS_DEGRADED";
|
|
24
|
+
message: string;
|
|
25
|
+
severity: "warning" | "error";
|
|
26
|
+
actionLabel?: string | undefined;
|
|
27
|
+
actionHref?: string | undefined;
|
|
28
|
+
realizationCheckCode?: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE" | undefined;
|
|
29
|
+
realizationReason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
30
|
+
realizationEvidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
export type ImplementReadinessBlocker = z.infer<typeof ImplementReadinessBlockerSchema>;
|
|
33
|
+
/** Rich patch summary for Implement readiness (Sprint T3 SSOT). */
|
|
34
|
+
/** Stable SHA-256 hex identity for a sorted task set within a project (repair-first cohort key). */
|
|
35
|
+
export declare const ImplementTaskCohortIdSchema: z.ZodString;
|
|
36
|
+
export type ImplementTaskCohortId = z.infer<typeof ImplementTaskCohortIdSchema>;
|
|
37
|
+
/** Duplicate / supersession linkage for CI classification (`superseding_pr` evidence). */
|
|
38
|
+
export declare const ImplementPatchSupersessionSchema: z.ZodObject<{
|
|
39
|
+
kind: z.ZodEnum<["superseding_pr", "superseded_by_new_pr"]>;
|
|
40
|
+
supersedingPrNumber: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
supersededPrNumbers: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
42
|
+
supersedingPatchSetId: z.ZodOptional<z.ZodString>;
|
|
43
|
+
supersededPatchSetIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
kind: "superseding_pr" | "superseded_by_new_pr";
|
|
46
|
+
supersedingPrNumber?: number | undefined;
|
|
47
|
+
supersededPrNumbers?: number[] | undefined;
|
|
48
|
+
supersedingPatchSetId?: string | undefined;
|
|
49
|
+
supersededPatchSetIds?: string[] | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
kind: "superseding_pr" | "superseded_by_new_pr";
|
|
52
|
+
supersedingPrNumber?: number | undefined;
|
|
53
|
+
supersededPrNumbers?: number[] | undefined;
|
|
54
|
+
supersedingPatchSetId?: string | undefined;
|
|
55
|
+
supersededPatchSetIds?: string[] | undefined;
|
|
56
|
+
}>;
|
|
57
|
+
export type ImplementPatchSupersession = z.infer<typeof ImplementPatchSupersessionSchema>;
|
|
58
|
+
export declare const ImplementLatestPatchSetSchema: z.ZodObject<{
|
|
59
|
+
artifactId: z.ZodString;
|
|
60
|
+
status: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed"]>;
|
|
61
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
62
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
63
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
64
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
selectedTaskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
66
|
+
taskCohortId: z.ZodOptional<z.ZodString>;
|
|
67
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
69
|
+
proofSource: z.ZodOptional<z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>>;
|
|
70
|
+
proofInvalidReason: z.ZodOptional<z.ZodString>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
73
|
+
artifactId: string;
|
|
74
|
+
updatedAt?: string | undefined;
|
|
75
|
+
commitSha?: string | undefined;
|
|
76
|
+
branchName?: string | undefined;
|
|
77
|
+
pullRequestNumber?: number | undefined;
|
|
78
|
+
pullRequestUrl?: string | undefined;
|
|
79
|
+
selectedTaskIds?: string[] | undefined;
|
|
80
|
+
fileCount?: number | undefined;
|
|
81
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
82
|
+
proofInvalidReason?: string | undefined;
|
|
83
|
+
taskCohortId?: string | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
86
|
+
artifactId: string;
|
|
87
|
+
updatedAt?: string | undefined;
|
|
88
|
+
commitSha?: string | undefined;
|
|
89
|
+
branchName?: string | undefined;
|
|
90
|
+
pullRequestNumber?: number | undefined;
|
|
91
|
+
pullRequestUrl?: string | undefined;
|
|
92
|
+
selectedTaskIds?: string[] | undefined;
|
|
93
|
+
fileCount?: number | undefined;
|
|
94
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
95
|
+
proofInvalidReason?: string | undefined;
|
|
96
|
+
taskCohortId?: string | undefined;
|
|
97
|
+
}>;
|
|
98
|
+
export type ImplementLatestPatchSet = z.infer<typeof ImplementLatestPatchSetSchema>;
|
|
99
|
+
export declare const ImplementReadinessSchema: z.ZodObject<{
|
|
100
|
+
projectId: z.ZodString;
|
|
101
|
+
ready: z.ZodBoolean;
|
|
102
|
+
blockers: z.ZodArray<z.ZodObject<{
|
|
103
|
+
code: z.ZodEnum<["NO_LINKED_REPO", "GITHUB_NOT_CONNECTED", "GITHUB_CONTENTS_WRITE_MISSING", "GITHUB_PR_WRITE_MISSING", "NO_READY_TASKS", "REPO_SCAN_MISSING", "GITHUB_PERMISSION_CHECK_FAILED", "PRODUCT_REALISATION_BLOCKED", "READINESS_DEGRADED", "UNKNOWN"]>;
|
|
104
|
+
severity: z.ZodEnum<["error", "warning"]>;
|
|
105
|
+
message: z.ZodString;
|
|
106
|
+
actionLabel: z.ZodOptional<z.ZodString>;
|
|
107
|
+
actionHref: z.ZodOptional<z.ZodString>;
|
|
108
|
+
realizationCheckCode: z.ZodOptional<z.ZodEnum<["PACKAGE_JSON_PRESENT", "NEXT_ROOT_PAGE_MISSING", "NEXT_SCAFFOLD_PRESENT", "API_HEALTH_ROUTE", "DOMAIN_API_ROUTE_MIN_1", "DOMAIN_UI_ROUTE_MIN_1", "DOMAIN_MODEL_OR_SCHEMA_MIN_1", "TEST_FILE_MIN_1", "TRACEABILITY_ROWS_MIN_1", "ORPHANED_PARENT_ROUTE", "LAYOUT_CSS_IMPORT", "ROUTE_MANIFEST_COVERAGE", "NAV_LINK_INTEGRITY", "ROOT_ROUTE_RUNTIME_BEHAVIOR", "API_ROUTE_HANDLER_PRESENT", "CSS_IMPORT_TARGET_EXISTS", "AUTH_PAGE_MINIMAL_FORM", "PACKAGE_DEPENDENCY_MISSING", "CSS_TOOLCHAIN_INCOMPLETE", "LOCKFILE_STALE_OR_MISSING", "PACKAGE_IMPORT_RESOLUTION", "POSTCSS_CONFIG_MISSING"]>>;
|
|
109
|
+
realizationReason: z.ZodOptional<z.ZodEnum<["missing_domain_file", "missing_api_route", "missing_ui_route", "missing_tests", "missing_traceability"]>>;
|
|
110
|
+
realizationEvidence: z.ZodOptional<z.ZodType<import("./workflow/product-realization.schema").ImplementRealisationEvidence, z.ZodTypeDef, import("./workflow/product-realization.schema").ImplementRealisationEvidence>>;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
code: "UNKNOWN" | "NO_LINKED_REPO" | "GITHUB_NOT_CONNECTED" | "GITHUB_CONTENTS_WRITE_MISSING" | "GITHUB_PR_WRITE_MISSING" | "NO_READY_TASKS" | "REPO_SCAN_MISSING" | "GITHUB_PERMISSION_CHECK_FAILED" | "PRODUCT_REALISATION_BLOCKED" | "READINESS_DEGRADED";
|
|
113
|
+
message: string;
|
|
114
|
+
severity: "warning" | "error";
|
|
115
|
+
actionLabel?: string | undefined;
|
|
116
|
+
actionHref?: string | undefined;
|
|
117
|
+
realizationCheckCode?: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE" | undefined;
|
|
118
|
+
realizationReason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
119
|
+
realizationEvidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
120
|
+
}, {
|
|
121
|
+
code: "UNKNOWN" | "NO_LINKED_REPO" | "GITHUB_NOT_CONNECTED" | "GITHUB_CONTENTS_WRITE_MISSING" | "GITHUB_PR_WRITE_MISSING" | "NO_READY_TASKS" | "REPO_SCAN_MISSING" | "GITHUB_PERMISSION_CHECK_FAILED" | "PRODUCT_REALISATION_BLOCKED" | "READINESS_DEGRADED";
|
|
122
|
+
message: string;
|
|
123
|
+
severity: "warning" | "error";
|
|
124
|
+
actionLabel?: string | undefined;
|
|
125
|
+
actionHref?: string | undefined;
|
|
126
|
+
realizationCheckCode?: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE" | undefined;
|
|
127
|
+
realizationReason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
128
|
+
realizationEvidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
129
|
+
}>, "many">;
|
|
130
|
+
repository: z.ZodOptional<z.ZodObject<{
|
|
131
|
+
id: z.ZodString;
|
|
132
|
+
owner: z.ZodString;
|
|
133
|
+
name: z.ZodString;
|
|
134
|
+
fullName: z.ZodString;
|
|
135
|
+
defaultBranch: z.ZodString;
|
|
136
|
+
url: z.ZodString;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
id: string;
|
|
139
|
+
name: string;
|
|
140
|
+
fullName: string;
|
|
141
|
+
url: string;
|
|
142
|
+
defaultBranch: string;
|
|
143
|
+
owner: string;
|
|
144
|
+
}, {
|
|
145
|
+
id: string;
|
|
146
|
+
name: string;
|
|
147
|
+
fullName: string;
|
|
148
|
+
url: string;
|
|
149
|
+
defaultBranch: string;
|
|
150
|
+
owner: string;
|
|
151
|
+
}>>;
|
|
152
|
+
permissions: z.ZodObject<{
|
|
153
|
+
contentsWrite: z.ZodBoolean;
|
|
154
|
+
pullRequestsWrite: z.ZodBoolean;
|
|
155
|
+
issuesWrite: z.ZodBoolean;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
contentsWrite: boolean;
|
|
158
|
+
pullRequestsWrite: boolean;
|
|
159
|
+
issuesWrite: boolean;
|
|
160
|
+
}, {
|
|
161
|
+
contentsWrite: boolean;
|
|
162
|
+
pullRequestsWrite: boolean;
|
|
163
|
+
issuesWrite: boolean;
|
|
164
|
+
}>;
|
|
165
|
+
taskSummary: z.ZodObject<{
|
|
166
|
+
total: z.ZodNumber;
|
|
167
|
+
selectable: z.ZodNumber;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
total: number;
|
|
170
|
+
selectable: number;
|
|
171
|
+
}, {
|
|
172
|
+
total: number;
|
|
173
|
+
selectable: number;
|
|
174
|
+
}>;
|
|
175
|
+
/** Patch the user should act on next (pushed > validated > draft > pr_created; excludes failed/rejected). */
|
|
176
|
+
activePatchSet: z.ZodOptional<z.ZodObject<{
|
|
177
|
+
artifactId: z.ZodString;
|
|
178
|
+
status: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed"]>;
|
|
179
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
180
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
181
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
182
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
selectedTaskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
184
|
+
taskCohortId: z.ZodOptional<z.ZodString>;
|
|
185
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
187
|
+
proofSource: z.ZodOptional<z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>>;
|
|
188
|
+
proofInvalidReason: z.ZodOptional<z.ZodString>;
|
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
|
190
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
191
|
+
artifactId: string;
|
|
192
|
+
updatedAt?: string | undefined;
|
|
193
|
+
commitSha?: string | undefined;
|
|
194
|
+
branchName?: string | undefined;
|
|
195
|
+
pullRequestNumber?: number | undefined;
|
|
196
|
+
pullRequestUrl?: string | undefined;
|
|
197
|
+
selectedTaskIds?: string[] | undefined;
|
|
198
|
+
fileCount?: number | undefined;
|
|
199
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
200
|
+
proofInvalidReason?: string | undefined;
|
|
201
|
+
taskCohortId?: string | undefined;
|
|
202
|
+
}, {
|
|
203
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
204
|
+
artifactId: string;
|
|
205
|
+
updatedAt?: string | undefined;
|
|
206
|
+
commitSha?: string | undefined;
|
|
207
|
+
branchName?: string | undefined;
|
|
208
|
+
pullRequestNumber?: number | undefined;
|
|
209
|
+
pullRequestUrl?: string | undefined;
|
|
210
|
+
selectedTaskIds?: string[] | undefined;
|
|
211
|
+
fileCount?: number | undefined;
|
|
212
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
213
|
+
proofInvalidReason?: string | undefined;
|
|
214
|
+
taskCohortId?: string | undefined;
|
|
215
|
+
}>>;
|
|
216
|
+
/** Most recently updated patch that reached pr_created (completed handoff); unrelated to active queue priority. */
|
|
217
|
+
latestCompletedPatchSet: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
artifactId: z.ZodString;
|
|
219
|
+
status: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed"]>;
|
|
220
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
221
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
222
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
223
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
selectedTaskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
225
|
+
taskCohortId: z.ZodOptional<z.ZodString>;
|
|
226
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
228
|
+
proofSource: z.ZodOptional<z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>>;
|
|
229
|
+
proofInvalidReason: z.ZodOptional<z.ZodString>;
|
|
230
|
+
}, "strip", z.ZodTypeAny, {
|
|
231
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
232
|
+
artifactId: string;
|
|
233
|
+
updatedAt?: string | undefined;
|
|
234
|
+
commitSha?: string | undefined;
|
|
235
|
+
branchName?: string | undefined;
|
|
236
|
+
pullRequestNumber?: number | undefined;
|
|
237
|
+
pullRequestUrl?: string | undefined;
|
|
238
|
+
selectedTaskIds?: string[] | undefined;
|
|
239
|
+
fileCount?: number | undefined;
|
|
240
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
241
|
+
proofInvalidReason?: string | undefined;
|
|
242
|
+
taskCohortId?: string | undefined;
|
|
243
|
+
}, {
|
|
244
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
245
|
+
artifactId: string;
|
|
246
|
+
updatedAt?: string | undefined;
|
|
247
|
+
commitSha?: string | undefined;
|
|
248
|
+
branchName?: string | undefined;
|
|
249
|
+
pullRequestNumber?: number | undefined;
|
|
250
|
+
pullRequestUrl?: string | undefined;
|
|
251
|
+
selectedTaskIds?: string[] | undefined;
|
|
252
|
+
fileCount?: number | undefined;
|
|
253
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
254
|
+
proofInvalidReason?: string | undefined;
|
|
255
|
+
taskCohortId?: string | undefined;
|
|
256
|
+
}>>;
|
|
257
|
+
}, "strip", z.ZodTypeAny, {
|
|
258
|
+
projectId: string;
|
|
259
|
+
ready: boolean;
|
|
260
|
+
blockers: {
|
|
261
|
+
code: "UNKNOWN" | "NO_LINKED_REPO" | "GITHUB_NOT_CONNECTED" | "GITHUB_CONTENTS_WRITE_MISSING" | "GITHUB_PR_WRITE_MISSING" | "NO_READY_TASKS" | "REPO_SCAN_MISSING" | "GITHUB_PERMISSION_CHECK_FAILED" | "PRODUCT_REALISATION_BLOCKED" | "READINESS_DEGRADED";
|
|
262
|
+
message: string;
|
|
263
|
+
severity: "warning" | "error";
|
|
264
|
+
actionLabel?: string | undefined;
|
|
265
|
+
actionHref?: string | undefined;
|
|
266
|
+
realizationCheckCode?: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE" | undefined;
|
|
267
|
+
realizationReason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
268
|
+
realizationEvidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
269
|
+
}[];
|
|
270
|
+
permissions: {
|
|
271
|
+
contentsWrite: boolean;
|
|
272
|
+
pullRequestsWrite: boolean;
|
|
273
|
+
issuesWrite: boolean;
|
|
274
|
+
};
|
|
275
|
+
taskSummary: {
|
|
276
|
+
total: number;
|
|
277
|
+
selectable: number;
|
|
278
|
+
};
|
|
279
|
+
repository?: {
|
|
280
|
+
id: string;
|
|
281
|
+
name: string;
|
|
282
|
+
fullName: string;
|
|
283
|
+
url: string;
|
|
284
|
+
defaultBranch: string;
|
|
285
|
+
owner: string;
|
|
286
|
+
} | undefined;
|
|
287
|
+
activePatchSet?: {
|
|
288
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
289
|
+
artifactId: string;
|
|
290
|
+
updatedAt?: string | undefined;
|
|
291
|
+
commitSha?: string | undefined;
|
|
292
|
+
branchName?: string | undefined;
|
|
293
|
+
pullRequestNumber?: number | undefined;
|
|
294
|
+
pullRequestUrl?: string | undefined;
|
|
295
|
+
selectedTaskIds?: string[] | undefined;
|
|
296
|
+
fileCount?: number | undefined;
|
|
297
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
298
|
+
proofInvalidReason?: string | undefined;
|
|
299
|
+
taskCohortId?: string | undefined;
|
|
300
|
+
} | undefined;
|
|
301
|
+
latestCompletedPatchSet?: {
|
|
302
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
303
|
+
artifactId: string;
|
|
304
|
+
updatedAt?: string | undefined;
|
|
305
|
+
commitSha?: string | undefined;
|
|
306
|
+
branchName?: string | undefined;
|
|
307
|
+
pullRequestNumber?: number | undefined;
|
|
308
|
+
pullRequestUrl?: string | undefined;
|
|
309
|
+
selectedTaskIds?: string[] | undefined;
|
|
310
|
+
fileCount?: number | undefined;
|
|
311
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
312
|
+
proofInvalidReason?: string | undefined;
|
|
313
|
+
taskCohortId?: string | undefined;
|
|
314
|
+
} | undefined;
|
|
315
|
+
}, {
|
|
316
|
+
projectId: string;
|
|
317
|
+
ready: boolean;
|
|
318
|
+
blockers: {
|
|
319
|
+
code: "UNKNOWN" | "NO_LINKED_REPO" | "GITHUB_NOT_CONNECTED" | "GITHUB_CONTENTS_WRITE_MISSING" | "GITHUB_PR_WRITE_MISSING" | "NO_READY_TASKS" | "REPO_SCAN_MISSING" | "GITHUB_PERMISSION_CHECK_FAILED" | "PRODUCT_REALISATION_BLOCKED" | "READINESS_DEGRADED";
|
|
320
|
+
message: string;
|
|
321
|
+
severity: "warning" | "error";
|
|
322
|
+
actionLabel?: string | undefined;
|
|
323
|
+
actionHref?: string | undefined;
|
|
324
|
+
realizationCheckCode?: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE" | undefined;
|
|
325
|
+
realizationReason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
326
|
+
realizationEvidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
327
|
+
}[];
|
|
328
|
+
permissions: {
|
|
329
|
+
contentsWrite: boolean;
|
|
330
|
+
pullRequestsWrite: boolean;
|
|
331
|
+
issuesWrite: boolean;
|
|
332
|
+
};
|
|
333
|
+
taskSummary: {
|
|
334
|
+
total: number;
|
|
335
|
+
selectable: number;
|
|
336
|
+
};
|
|
337
|
+
repository?: {
|
|
338
|
+
id: string;
|
|
339
|
+
name: string;
|
|
340
|
+
fullName: string;
|
|
341
|
+
url: string;
|
|
342
|
+
defaultBranch: string;
|
|
343
|
+
owner: string;
|
|
344
|
+
} | undefined;
|
|
345
|
+
activePatchSet?: {
|
|
346
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
347
|
+
artifactId: string;
|
|
348
|
+
updatedAt?: string | undefined;
|
|
349
|
+
commitSha?: string | undefined;
|
|
350
|
+
branchName?: string | undefined;
|
|
351
|
+
pullRequestNumber?: number | undefined;
|
|
352
|
+
pullRequestUrl?: string | undefined;
|
|
353
|
+
selectedTaskIds?: string[] | undefined;
|
|
354
|
+
fileCount?: number | undefined;
|
|
355
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
356
|
+
proofInvalidReason?: string | undefined;
|
|
357
|
+
taskCohortId?: string | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
latestCompletedPatchSet?: {
|
|
360
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
361
|
+
artifactId: string;
|
|
362
|
+
updatedAt?: string | undefined;
|
|
363
|
+
commitSha?: string | undefined;
|
|
364
|
+
branchName?: string | undefined;
|
|
365
|
+
pullRequestNumber?: number | undefined;
|
|
366
|
+
pullRequestUrl?: string | undefined;
|
|
367
|
+
selectedTaskIds?: string[] | undefined;
|
|
368
|
+
fileCount?: number | undefined;
|
|
369
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
370
|
+
proofInvalidReason?: string | undefined;
|
|
371
|
+
taskCohortId?: string | undefined;
|
|
372
|
+
} | undefined;
|
|
373
|
+
}>;
|
|
374
|
+
export type ImplementReadiness = z.infer<typeof ImplementReadinessSchema>;
|
|
375
|
+
/**
|
|
376
|
+
* SSOT for selectableCount and orchestrate initial-mode eligibility (readiness route + PATCH planner).
|
|
377
|
+
*/
|
|
378
|
+
export declare const IMPLEMENT_TASK_SELECTABLE_STATUSES: readonly ["approved", "ready", "todo", "not_started", "in_progress", "in_review", "review_failed"];
|
|
379
|
+
export type ImplementTaskSelectableStatus = (typeof IMPLEMENT_TASK_SELECTABLE_STATUSES)[number];
|
|
380
|
+
/**
|
|
381
|
+
* Tasks that have already been patched but are eligible for iterative improvement.
|
|
382
|
+
*/
|
|
383
|
+
export declare const IMPLEMENT_TASK_ITERABLE_STATUSES: readonly ["completed", "done", "in_review", "accepted"];
|
|
384
|
+
export type ImplementTaskIterableStatus = (typeof IMPLEMENT_TASK_ITERABLE_STATUSES)[number];
|
|
385
|
+
/**
|
|
386
|
+
* Tasks that failed and can be repaired.
|
|
387
|
+
*/
|
|
388
|
+
export declare const IMPLEMENT_TASK_REPAIRABLE_STATUSES: readonly ["failed", "validation_failed", "push_failed", "pr_failed", "review_failed"];
|
|
389
|
+
export type ImplementTaskRepairableStatus = (typeof IMPLEMENT_TASK_REPAIRABLE_STATUSES)[number];
|
|
390
|
+
/**
|
|
391
|
+
* Tasks excluded from all orchestration modes.
|
|
392
|
+
*/
|
|
393
|
+
export declare const IMPLEMENT_TASK_EXCLUDED_STATUSES: readonly ["blocked", "cancelled", "archived", "superseded"];
|
|
394
|
+
export type ImplementTaskExcludedStatus = (typeof IMPLEMENT_TASK_EXCLUDED_STATUSES)[number];
|
|
395
|
+
/** Sprint I1: readiness payload additions (active patch histogram + batch gates). */
|
|
396
|
+
export declare const ImplementReadinessV2Schema: z.ZodObject<{
|
|
397
|
+
projectId: z.ZodString;
|
|
398
|
+
ready: z.ZodBoolean;
|
|
399
|
+
blockers: z.ZodArray<z.ZodObject<{
|
|
400
|
+
code: z.ZodEnum<["NO_LINKED_REPO", "GITHUB_NOT_CONNECTED", "GITHUB_CONTENTS_WRITE_MISSING", "GITHUB_PR_WRITE_MISSING", "NO_READY_TASKS", "REPO_SCAN_MISSING", "GITHUB_PERMISSION_CHECK_FAILED", "PRODUCT_REALISATION_BLOCKED", "READINESS_DEGRADED", "UNKNOWN"]>;
|
|
401
|
+
severity: z.ZodEnum<["error", "warning"]>;
|
|
402
|
+
message: z.ZodString;
|
|
403
|
+
actionLabel: z.ZodOptional<z.ZodString>;
|
|
404
|
+
actionHref: z.ZodOptional<z.ZodString>;
|
|
405
|
+
realizationCheckCode: z.ZodOptional<z.ZodEnum<["PACKAGE_JSON_PRESENT", "NEXT_ROOT_PAGE_MISSING", "NEXT_SCAFFOLD_PRESENT", "API_HEALTH_ROUTE", "DOMAIN_API_ROUTE_MIN_1", "DOMAIN_UI_ROUTE_MIN_1", "DOMAIN_MODEL_OR_SCHEMA_MIN_1", "TEST_FILE_MIN_1", "TRACEABILITY_ROWS_MIN_1", "ORPHANED_PARENT_ROUTE", "LAYOUT_CSS_IMPORT", "ROUTE_MANIFEST_COVERAGE", "NAV_LINK_INTEGRITY", "ROOT_ROUTE_RUNTIME_BEHAVIOR", "API_ROUTE_HANDLER_PRESENT", "CSS_IMPORT_TARGET_EXISTS", "AUTH_PAGE_MINIMAL_FORM", "PACKAGE_DEPENDENCY_MISSING", "CSS_TOOLCHAIN_INCOMPLETE", "LOCKFILE_STALE_OR_MISSING", "PACKAGE_IMPORT_RESOLUTION", "POSTCSS_CONFIG_MISSING"]>>;
|
|
406
|
+
realizationReason: z.ZodOptional<z.ZodEnum<["missing_domain_file", "missing_api_route", "missing_ui_route", "missing_tests", "missing_traceability"]>>;
|
|
407
|
+
realizationEvidence: z.ZodOptional<z.ZodType<import("./workflow/product-realization.schema").ImplementRealisationEvidence, z.ZodTypeDef, import("./workflow/product-realization.schema").ImplementRealisationEvidence>>;
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
code: "UNKNOWN" | "NO_LINKED_REPO" | "GITHUB_NOT_CONNECTED" | "GITHUB_CONTENTS_WRITE_MISSING" | "GITHUB_PR_WRITE_MISSING" | "NO_READY_TASKS" | "REPO_SCAN_MISSING" | "GITHUB_PERMISSION_CHECK_FAILED" | "PRODUCT_REALISATION_BLOCKED" | "READINESS_DEGRADED";
|
|
410
|
+
message: string;
|
|
411
|
+
severity: "warning" | "error";
|
|
412
|
+
actionLabel?: string | undefined;
|
|
413
|
+
actionHref?: string | undefined;
|
|
414
|
+
realizationCheckCode?: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE" | undefined;
|
|
415
|
+
realizationReason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
416
|
+
realizationEvidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
417
|
+
}, {
|
|
418
|
+
code: "UNKNOWN" | "NO_LINKED_REPO" | "GITHUB_NOT_CONNECTED" | "GITHUB_CONTENTS_WRITE_MISSING" | "GITHUB_PR_WRITE_MISSING" | "NO_READY_TASKS" | "REPO_SCAN_MISSING" | "GITHUB_PERMISSION_CHECK_FAILED" | "PRODUCT_REALISATION_BLOCKED" | "READINESS_DEGRADED";
|
|
419
|
+
message: string;
|
|
420
|
+
severity: "warning" | "error";
|
|
421
|
+
actionLabel?: string | undefined;
|
|
422
|
+
actionHref?: string | undefined;
|
|
423
|
+
realizationCheckCode?: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE" | undefined;
|
|
424
|
+
realizationReason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
425
|
+
realizationEvidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
426
|
+
}>, "many">;
|
|
427
|
+
repository: z.ZodOptional<z.ZodObject<{
|
|
428
|
+
id: z.ZodString;
|
|
429
|
+
owner: z.ZodString;
|
|
430
|
+
name: z.ZodString;
|
|
431
|
+
fullName: z.ZodString;
|
|
432
|
+
defaultBranch: z.ZodString;
|
|
433
|
+
url: z.ZodString;
|
|
434
|
+
}, "strip", z.ZodTypeAny, {
|
|
435
|
+
id: string;
|
|
436
|
+
name: string;
|
|
437
|
+
fullName: string;
|
|
438
|
+
url: string;
|
|
439
|
+
defaultBranch: string;
|
|
440
|
+
owner: string;
|
|
441
|
+
}, {
|
|
442
|
+
id: string;
|
|
443
|
+
name: string;
|
|
444
|
+
fullName: string;
|
|
445
|
+
url: string;
|
|
446
|
+
defaultBranch: string;
|
|
447
|
+
owner: string;
|
|
448
|
+
}>>;
|
|
449
|
+
permissions: z.ZodObject<{
|
|
450
|
+
contentsWrite: z.ZodBoolean;
|
|
451
|
+
pullRequestsWrite: z.ZodBoolean;
|
|
452
|
+
issuesWrite: z.ZodBoolean;
|
|
453
|
+
}, "strip", z.ZodTypeAny, {
|
|
454
|
+
contentsWrite: boolean;
|
|
455
|
+
pullRequestsWrite: boolean;
|
|
456
|
+
issuesWrite: boolean;
|
|
457
|
+
}, {
|
|
458
|
+
contentsWrite: boolean;
|
|
459
|
+
pullRequestsWrite: boolean;
|
|
460
|
+
issuesWrite: boolean;
|
|
461
|
+
}>;
|
|
462
|
+
taskSummary: z.ZodObject<{
|
|
463
|
+
total: z.ZodNumber;
|
|
464
|
+
selectable: z.ZodNumber;
|
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
|
466
|
+
total: number;
|
|
467
|
+
selectable: number;
|
|
468
|
+
}, {
|
|
469
|
+
total: number;
|
|
470
|
+
selectable: number;
|
|
471
|
+
}>;
|
|
472
|
+
/** Patch the user should act on next (pushed > validated > draft > pr_created; excludes failed/rejected). */
|
|
473
|
+
activePatchSet: z.ZodOptional<z.ZodObject<{
|
|
474
|
+
artifactId: z.ZodString;
|
|
475
|
+
status: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed"]>;
|
|
476
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
477
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
478
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
479
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
480
|
+
selectedTaskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
481
|
+
taskCohortId: z.ZodOptional<z.ZodString>;
|
|
482
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
483
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
484
|
+
proofSource: z.ZodOptional<z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>>;
|
|
485
|
+
proofInvalidReason: z.ZodOptional<z.ZodString>;
|
|
486
|
+
}, "strip", z.ZodTypeAny, {
|
|
487
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
488
|
+
artifactId: string;
|
|
489
|
+
updatedAt?: string | undefined;
|
|
490
|
+
commitSha?: string | undefined;
|
|
491
|
+
branchName?: string | undefined;
|
|
492
|
+
pullRequestNumber?: number | undefined;
|
|
493
|
+
pullRequestUrl?: string | undefined;
|
|
494
|
+
selectedTaskIds?: string[] | undefined;
|
|
495
|
+
fileCount?: number | undefined;
|
|
496
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
497
|
+
proofInvalidReason?: string | undefined;
|
|
498
|
+
taskCohortId?: string | undefined;
|
|
499
|
+
}, {
|
|
500
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
501
|
+
artifactId: string;
|
|
502
|
+
updatedAt?: string | undefined;
|
|
503
|
+
commitSha?: string | undefined;
|
|
504
|
+
branchName?: string | undefined;
|
|
505
|
+
pullRequestNumber?: number | undefined;
|
|
506
|
+
pullRequestUrl?: string | undefined;
|
|
507
|
+
selectedTaskIds?: string[] | undefined;
|
|
508
|
+
fileCount?: number | undefined;
|
|
509
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
510
|
+
proofInvalidReason?: string | undefined;
|
|
511
|
+
taskCohortId?: string | undefined;
|
|
512
|
+
}>>;
|
|
513
|
+
/** Most recently updated patch that reached pr_created (completed handoff); unrelated to active queue priority. */
|
|
514
|
+
latestCompletedPatchSet: z.ZodOptional<z.ZodObject<{
|
|
515
|
+
artifactId: z.ZodString;
|
|
516
|
+
status: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed"]>;
|
|
517
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
518
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
519
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
520
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
521
|
+
selectedTaskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
522
|
+
taskCohortId: z.ZodOptional<z.ZodString>;
|
|
523
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
524
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
525
|
+
proofSource: z.ZodOptional<z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>>;
|
|
526
|
+
proofInvalidReason: z.ZodOptional<z.ZodString>;
|
|
527
|
+
}, "strip", z.ZodTypeAny, {
|
|
528
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
529
|
+
artifactId: string;
|
|
530
|
+
updatedAt?: string | undefined;
|
|
531
|
+
commitSha?: string | undefined;
|
|
532
|
+
branchName?: string | undefined;
|
|
533
|
+
pullRequestNumber?: number | undefined;
|
|
534
|
+
pullRequestUrl?: string | undefined;
|
|
535
|
+
selectedTaskIds?: string[] | undefined;
|
|
536
|
+
fileCount?: number | undefined;
|
|
537
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
538
|
+
proofInvalidReason?: string | undefined;
|
|
539
|
+
taskCohortId?: string | undefined;
|
|
540
|
+
}, {
|
|
541
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
542
|
+
artifactId: string;
|
|
543
|
+
updatedAt?: string | undefined;
|
|
544
|
+
commitSha?: string | undefined;
|
|
545
|
+
branchName?: string | undefined;
|
|
546
|
+
pullRequestNumber?: number | undefined;
|
|
547
|
+
pullRequestUrl?: string | undefined;
|
|
548
|
+
selectedTaskIds?: string[] | undefined;
|
|
549
|
+
fileCount?: number | undefined;
|
|
550
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
551
|
+
proofInvalidReason?: string | undefined;
|
|
552
|
+
taskCohortId?: string | undefined;
|
|
553
|
+
}>>;
|
|
554
|
+
} & {
|
|
555
|
+
activePatchCounts: z.ZodObject<{
|
|
556
|
+
draft: z.ZodNumber;
|
|
557
|
+
validated: z.ZodNumber;
|
|
558
|
+
pushed: z.ZodNumber;
|
|
559
|
+
pr_created: z.ZodNumber;
|
|
560
|
+
failed: z.ZodNumber;
|
|
561
|
+
rejected: z.ZodNumber;
|
|
562
|
+
}, "strip", z.ZodTypeAny, {
|
|
563
|
+
failed: number;
|
|
564
|
+
rejected: number;
|
|
565
|
+
draft: number;
|
|
566
|
+
validated: number;
|
|
567
|
+
pushed: number;
|
|
568
|
+
pr_created: number;
|
|
569
|
+
}, {
|
|
570
|
+
failed: number;
|
|
571
|
+
rejected: number;
|
|
572
|
+
draft: number;
|
|
573
|
+
validated: number;
|
|
574
|
+
pushed: number;
|
|
575
|
+
pr_created: number;
|
|
576
|
+
}>;
|
|
577
|
+
remainingTaskCount: z.ZodNumber;
|
|
578
|
+
inReviewTaskCount: z.ZodNumber;
|
|
579
|
+
readyForBatchGeneration: z.ZodBoolean;
|
|
580
|
+
/** R2: minimum product realisation on the active Implement patch (when evaluable). */
|
|
581
|
+
realisationGate: z.ZodOptional<z.ZodObject<{
|
|
582
|
+
ready: z.ZodBoolean;
|
|
583
|
+
blockers: z.ZodArray<z.ZodObject<{
|
|
584
|
+
code: z.ZodEnum<["PACKAGE_JSON_PRESENT", "NEXT_ROOT_PAGE_MISSING", "NEXT_SCAFFOLD_PRESENT", "API_HEALTH_ROUTE", "DOMAIN_API_ROUTE_MIN_1", "DOMAIN_UI_ROUTE_MIN_1", "DOMAIN_MODEL_OR_SCHEMA_MIN_1", "TEST_FILE_MIN_1", "TRACEABILITY_ROWS_MIN_1", "ORPHANED_PARENT_ROUTE", "LAYOUT_CSS_IMPORT", "ROUTE_MANIFEST_COVERAGE", "NAV_LINK_INTEGRITY", "ROOT_ROUTE_RUNTIME_BEHAVIOR", "API_ROUTE_HANDLER_PRESENT", "CSS_IMPORT_TARGET_EXISTS", "AUTH_PAGE_MINIMAL_FORM", "PACKAGE_DEPENDENCY_MISSING", "CSS_TOOLCHAIN_INCOMPLETE", "LOCKFILE_STALE_OR_MISSING", "PACKAGE_IMPORT_RESOLUTION", "POSTCSS_CONFIG_MISSING"]>;
|
|
585
|
+
message: z.ZodString;
|
|
586
|
+
reason: z.ZodOptional<z.ZodEnum<["missing_domain_file", "missing_api_route", "missing_ui_route", "missing_tests", "missing_traceability"]>>;
|
|
587
|
+
evidence: z.ZodOptional<z.ZodType<import("./workflow/product-realization.schema").ImplementRealisationEvidence, z.ZodTypeDef, import("./workflow/product-realization.schema").ImplementRealisationEvidence>>;
|
|
588
|
+
}, "strict", z.ZodTypeAny, {
|
|
589
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
590
|
+
message: string;
|
|
591
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
592
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
593
|
+
}, {
|
|
594
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
595
|
+
message: string;
|
|
596
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
597
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
598
|
+
}>, "many">;
|
|
599
|
+
}, "strict", z.ZodTypeAny, {
|
|
600
|
+
ready: boolean;
|
|
601
|
+
blockers: {
|
|
602
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
603
|
+
message: string;
|
|
604
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
605
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
606
|
+
}[];
|
|
607
|
+
}, {
|
|
608
|
+
ready: boolean;
|
|
609
|
+
blockers: {
|
|
610
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
611
|
+
message: string;
|
|
612
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
613
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
614
|
+
}[];
|
|
615
|
+
}>>;
|
|
616
|
+
}, "strip", z.ZodTypeAny, {
|
|
617
|
+
projectId: string;
|
|
618
|
+
ready: boolean;
|
|
619
|
+
blockers: {
|
|
620
|
+
code: "UNKNOWN" | "NO_LINKED_REPO" | "GITHUB_NOT_CONNECTED" | "GITHUB_CONTENTS_WRITE_MISSING" | "GITHUB_PR_WRITE_MISSING" | "NO_READY_TASKS" | "REPO_SCAN_MISSING" | "GITHUB_PERMISSION_CHECK_FAILED" | "PRODUCT_REALISATION_BLOCKED" | "READINESS_DEGRADED";
|
|
621
|
+
message: string;
|
|
622
|
+
severity: "warning" | "error";
|
|
623
|
+
actionLabel?: string | undefined;
|
|
624
|
+
actionHref?: string | undefined;
|
|
625
|
+
realizationCheckCode?: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE" | undefined;
|
|
626
|
+
realizationReason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
627
|
+
realizationEvidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
628
|
+
}[];
|
|
629
|
+
permissions: {
|
|
630
|
+
contentsWrite: boolean;
|
|
631
|
+
pullRequestsWrite: boolean;
|
|
632
|
+
issuesWrite: boolean;
|
|
633
|
+
};
|
|
634
|
+
taskSummary: {
|
|
635
|
+
total: number;
|
|
636
|
+
selectable: number;
|
|
637
|
+
};
|
|
638
|
+
activePatchCounts: {
|
|
639
|
+
failed: number;
|
|
640
|
+
rejected: number;
|
|
641
|
+
draft: number;
|
|
642
|
+
validated: number;
|
|
643
|
+
pushed: number;
|
|
644
|
+
pr_created: number;
|
|
645
|
+
};
|
|
646
|
+
remainingTaskCount: number;
|
|
647
|
+
inReviewTaskCount: number;
|
|
648
|
+
readyForBatchGeneration: boolean;
|
|
649
|
+
repository?: {
|
|
650
|
+
id: string;
|
|
651
|
+
name: string;
|
|
652
|
+
fullName: string;
|
|
653
|
+
url: string;
|
|
654
|
+
defaultBranch: string;
|
|
655
|
+
owner: string;
|
|
656
|
+
} | undefined;
|
|
657
|
+
activePatchSet?: {
|
|
658
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
659
|
+
artifactId: string;
|
|
660
|
+
updatedAt?: string | undefined;
|
|
661
|
+
commitSha?: string | undefined;
|
|
662
|
+
branchName?: string | undefined;
|
|
663
|
+
pullRequestNumber?: number | undefined;
|
|
664
|
+
pullRequestUrl?: string | undefined;
|
|
665
|
+
selectedTaskIds?: string[] | undefined;
|
|
666
|
+
fileCount?: number | undefined;
|
|
667
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
668
|
+
proofInvalidReason?: string | undefined;
|
|
669
|
+
taskCohortId?: string | undefined;
|
|
670
|
+
} | undefined;
|
|
671
|
+
latestCompletedPatchSet?: {
|
|
672
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
673
|
+
artifactId: string;
|
|
674
|
+
updatedAt?: string | undefined;
|
|
675
|
+
commitSha?: string | undefined;
|
|
676
|
+
branchName?: string | undefined;
|
|
677
|
+
pullRequestNumber?: number | undefined;
|
|
678
|
+
pullRequestUrl?: string | undefined;
|
|
679
|
+
selectedTaskIds?: string[] | undefined;
|
|
680
|
+
fileCount?: number | undefined;
|
|
681
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
682
|
+
proofInvalidReason?: string | undefined;
|
|
683
|
+
taskCohortId?: string | undefined;
|
|
684
|
+
} | undefined;
|
|
685
|
+
realisationGate?: {
|
|
686
|
+
ready: boolean;
|
|
687
|
+
blockers: {
|
|
688
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
689
|
+
message: string;
|
|
690
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
691
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
692
|
+
}[];
|
|
693
|
+
} | undefined;
|
|
694
|
+
}, {
|
|
695
|
+
projectId: string;
|
|
696
|
+
ready: boolean;
|
|
697
|
+
blockers: {
|
|
698
|
+
code: "UNKNOWN" | "NO_LINKED_REPO" | "GITHUB_NOT_CONNECTED" | "GITHUB_CONTENTS_WRITE_MISSING" | "GITHUB_PR_WRITE_MISSING" | "NO_READY_TASKS" | "REPO_SCAN_MISSING" | "GITHUB_PERMISSION_CHECK_FAILED" | "PRODUCT_REALISATION_BLOCKED" | "READINESS_DEGRADED";
|
|
699
|
+
message: string;
|
|
700
|
+
severity: "warning" | "error";
|
|
701
|
+
actionLabel?: string | undefined;
|
|
702
|
+
actionHref?: string | undefined;
|
|
703
|
+
realizationCheckCode?: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE" | undefined;
|
|
704
|
+
realizationReason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
705
|
+
realizationEvidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
706
|
+
}[];
|
|
707
|
+
permissions: {
|
|
708
|
+
contentsWrite: boolean;
|
|
709
|
+
pullRequestsWrite: boolean;
|
|
710
|
+
issuesWrite: boolean;
|
|
711
|
+
};
|
|
712
|
+
taskSummary: {
|
|
713
|
+
total: number;
|
|
714
|
+
selectable: number;
|
|
715
|
+
};
|
|
716
|
+
activePatchCounts: {
|
|
717
|
+
failed: number;
|
|
718
|
+
rejected: number;
|
|
719
|
+
draft: number;
|
|
720
|
+
validated: number;
|
|
721
|
+
pushed: number;
|
|
722
|
+
pr_created: number;
|
|
723
|
+
};
|
|
724
|
+
remainingTaskCount: number;
|
|
725
|
+
inReviewTaskCount: number;
|
|
726
|
+
readyForBatchGeneration: boolean;
|
|
727
|
+
repository?: {
|
|
728
|
+
id: string;
|
|
729
|
+
name: string;
|
|
730
|
+
fullName: string;
|
|
731
|
+
url: string;
|
|
732
|
+
defaultBranch: string;
|
|
733
|
+
owner: string;
|
|
734
|
+
} | undefined;
|
|
735
|
+
activePatchSet?: {
|
|
736
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
737
|
+
artifactId: string;
|
|
738
|
+
updatedAt?: string | undefined;
|
|
739
|
+
commitSha?: string | undefined;
|
|
740
|
+
branchName?: string | undefined;
|
|
741
|
+
pullRequestNumber?: number | undefined;
|
|
742
|
+
pullRequestUrl?: string | undefined;
|
|
743
|
+
selectedTaskIds?: string[] | undefined;
|
|
744
|
+
fileCount?: number | undefined;
|
|
745
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
746
|
+
proofInvalidReason?: string | undefined;
|
|
747
|
+
taskCohortId?: string | undefined;
|
|
748
|
+
} | undefined;
|
|
749
|
+
latestCompletedPatchSet?: {
|
|
750
|
+
status: "failed" | "draft" | "validated" | "pushed" | "pr_created";
|
|
751
|
+
artifactId: string;
|
|
752
|
+
updatedAt?: string | undefined;
|
|
753
|
+
commitSha?: string | undefined;
|
|
754
|
+
branchName?: string | undefined;
|
|
755
|
+
pullRequestNumber?: number | undefined;
|
|
756
|
+
pullRequestUrl?: string | undefined;
|
|
757
|
+
selectedTaskIds?: string[] | undefined;
|
|
758
|
+
fileCount?: number | undefined;
|
|
759
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
760
|
+
proofInvalidReason?: string | undefined;
|
|
761
|
+
taskCohortId?: string | undefined;
|
|
762
|
+
} | undefined;
|
|
763
|
+
realisationGate?: {
|
|
764
|
+
ready: boolean;
|
|
765
|
+
blockers: {
|
|
766
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
767
|
+
message: string;
|
|
768
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
769
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
770
|
+
}[];
|
|
771
|
+
} | undefined;
|
|
772
|
+
}>;
|
|
773
|
+
export type ImplementReadinessV2 = z.infer<typeof ImplementReadinessV2Schema>;
|
|
774
|
+
/** Fast counts-only Implement readiness (no GitHub). */
|
|
775
|
+
export declare const ImplementReadinessLiteSchema: z.ZodObject<{
|
|
776
|
+
projectId: z.ZodString;
|
|
777
|
+
status: z.ZodEnum<["blocked", "ready", "running", "complete"]>;
|
|
778
|
+
taskCounts: z.ZodObject<{
|
|
779
|
+
total: z.ZodNumber;
|
|
780
|
+
selectable: z.ZodNumber;
|
|
781
|
+
remaining: z.ZodNumber;
|
|
782
|
+
inReview: z.ZodNumber;
|
|
783
|
+
}, "strip", z.ZodTypeAny, {
|
|
784
|
+
total: number;
|
|
785
|
+
selectable: number;
|
|
786
|
+
remaining: number;
|
|
787
|
+
inReview: number;
|
|
788
|
+
}, {
|
|
789
|
+
total: number;
|
|
790
|
+
selectable: number;
|
|
791
|
+
remaining: number;
|
|
792
|
+
inReview: number;
|
|
793
|
+
}>;
|
|
794
|
+
patchCounts: z.ZodObject<{
|
|
795
|
+
draft: z.ZodNumber;
|
|
796
|
+
validated: z.ZodNumber;
|
|
797
|
+
pushed: z.ZodNumber;
|
|
798
|
+
pr_created: z.ZodNumber;
|
|
799
|
+
failed: z.ZodNumber;
|
|
800
|
+
rejected: z.ZodNumber;
|
|
801
|
+
}, "strip", z.ZodTypeAny, {
|
|
802
|
+
failed: number;
|
|
803
|
+
rejected: number;
|
|
804
|
+
draft: number;
|
|
805
|
+
validated: number;
|
|
806
|
+
pushed: number;
|
|
807
|
+
pr_created: number;
|
|
808
|
+
}, {
|
|
809
|
+
failed: number;
|
|
810
|
+
rejected: number;
|
|
811
|
+
draft: number;
|
|
812
|
+
validated: number;
|
|
813
|
+
pushed: number;
|
|
814
|
+
pr_created: number;
|
|
815
|
+
}>;
|
|
816
|
+
hasBlockingPatch: z.ZodBoolean;
|
|
817
|
+
hasHonestPr: z.ZodBoolean;
|
|
818
|
+
knowledgeBlockedReason: z.ZodNullable<z.ZodString>;
|
|
819
|
+
}, "strip", z.ZodTypeAny, {
|
|
820
|
+
status: "complete" | "running" | "blocked" | "ready";
|
|
821
|
+
projectId: string;
|
|
822
|
+
taskCounts: {
|
|
823
|
+
total: number;
|
|
824
|
+
selectable: number;
|
|
825
|
+
remaining: number;
|
|
826
|
+
inReview: number;
|
|
827
|
+
};
|
|
828
|
+
patchCounts: {
|
|
829
|
+
failed: number;
|
|
830
|
+
rejected: number;
|
|
831
|
+
draft: number;
|
|
832
|
+
validated: number;
|
|
833
|
+
pushed: number;
|
|
834
|
+
pr_created: number;
|
|
835
|
+
};
|
|
836
|
+
hasBlockingPatch: boolean;
|
|
837
|
+
hasHonestPr: boolean;
|
|
838
|
+
knowledgeBlockedReason: string | null;
|
|
839
|
+
}, {
|
|
840
|
+
status: "complete" | "running" | "blocked" | "ready";
|
|
841
|
+
projectId: string;
|
|
842
|
+
taskCounts: {
|
|
843
|
+
total: number;
|
|
844
|
+
selectable: number;
|
|
845
|
+
remaining: number;
|
|
846
|
+
inReview: number;
|
|
847
|
+
};
|
|
848
|
+
patchCounts: {
|
|
849
|
+
failed: number;
|
|
850
|
+
rejected: number;
|
|
851
|
+
draft: number;
|
|
852
|
+
validated: number;
|
|
853
|
+
pushed: number;
|
|
854
|
+
pr_created: number;
|
|
855
|
+
};
|
|
856
|
+
hasBlockingPatch: boolean;
|
|
857
|
+
hasHonestPr: boolean;
|
|
858
|
+
knowledgeBlockedReason: string | null;
|
|
859
|
+
}>;
|
|
860
|
+
export type ImplementReadinessLite = z.infer<typeof ImplementReadinessLiteSchema>;
|
|
861
|
+
/** Heavy Implement diagnostics (GitHub + realisation + first-batch plan). */
|
|
862
|
+
export declare const ImplementDiagnosticsSchema: z.ZodObject<{
|
|
863
|
+
projectId: z.ZodString;
|
|
864
|
+
repository: z.ZodOptional<z.ZodObject<{
|
|
865
|
+
id: z.ZodString;
|
|
866
|
+
owner: z.ZodString;
|
|
867
|
+
name: z.ZodString;
|
|
868
|
+
fullName: z.ZodString;
|
|
869
|
+
defaultBranch: z.ZodString;
|
|
870
|
+
url: z.ZodString;
|
|
871
|
+
}, "strip", z.ZodTypeAny, {
|
|
872
|
+
id: string;
|
|
873
|
+
name: string;
|
|
874
|
+
fullName: string;
|
|
875
|
+
url: string;
|
|
876
|
+
defaultBranch: string;
|
|
877
|
+
owner: string;
|
|
878
|
+
}, {
|
|
879
|
+
id: string;
|
|
880
|
+
name: string;
|
|
881
|
+
fullName: string;
|
|
882
|
+
url: string;
|
|
883
|
+
defaultBranch: string;
|
|
884
|
+
owner: string;
|
|
885
|
+
}>>;
|
|
886
|
+
permissions: z.ZodObject<{
|
|
887
|
+
contentsWrite: z.ZodBoolean;
|
|
888
|
+
pullRequestsWrite: z.ZodBoolean;
|
|
889
|
+
issuesWrite: z.ZodBoolean;
|
|
890
|
+
}, "strip", z.ZodTypeAny, {
|
|
891
|
+
contentsWrite: boolean;
|
|
892
|
+
pullRequestsWrite: boolean;
|
|
893
|
+
issuesWrite: boolean;
|
|
894
|
+
}, {
|
|
895
|
+
contentsWrite: boolean;
|
|
896
|
+
pullRequestsWrite: boolean;
|
|
897
|
+
issuesWrite: boolean;
|
|
898
|
+
}>;
|
|
899
|
+
branchSha: z.ZodString;
|
|
900
|
+
installationFound: z.ZodBoolean;
|
|
901
|
+
permissionCheckFailed: z.ZodBoolean;
|
|
902
|
+
realisationGate: z.ZodOptional<z.ZodObject<{
|
|
903
|
+
ready: z.ZodBoolean;
|
|
904
|
+
blockers: z.ZodArray<z.ZodObject<{
|
|
905
|
+
code: z.ZodEnum<["PACKAGE_JSON_PRESENT", "NEXT_ROOT_PAGE_MISSING", "NEXT_SCAFFOLD_PRESENT", "API_HEALTH_ROUTE", "DOMAIN_API_ROUTE_MIN_1", "DOMAIN_UI_ROUTE_MIN_1", "DOMAIN_MODEL_OR_SCHEMA_MIN_1", "TEST_FILE_MIN_1", "TRACEABILITY_ROWS_MIN_1", "ORPHANED_PARENT_ROUTE", "LAYOUT_CSS_IMPORT", "ROUTE_MANIFEST_COVERAGE", "NAV_LINK_INTEGRITY", "ROOT_ROUTE_RUNTIME_BEHAVIOR", "API_ROUTE_HANDLER_PRESENT", "CSS_IMPORT_TARGET_EXISTS", "AUTH_PAGE_MINIMAL_FORM", "PACKAGE_DEPENDENCY_MISSING", "CSS_TOOLCHAIN_INCOMPLETE", "LOCKFILE_STALE_OR_MISSING", "PACKAGE_IMPORT_RESOLUTION", "POSTCSS_CONFIG_MISSING"]>;
|
|
906
|
+
message: z.ZodString;
|
|
907
|
+
reason: z.ZodOptional<z.ZodEnum<["missing_domain_file", "missing_api_route", "missing_ui_route", "missing_tests", "missing_traceability"]>>;
|
|
908
|
+
evidence: z.ZodOptional<z.ZodType<import("./workflow/product-realization.schema").ImplementRealisationEvidence, z.ZodTypeDef, import("./workflow/product-realization.schema").ImplementRealisationEvidence>>;
|
|
909
|
+
}, "strict", z.ZodTypeAny, {
|
|
910
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
911
|
+
message: string;
|
|
912
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
913
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
914
|
+
}, {
|
|
915
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
916
|
+
message: string;
|
|
917
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
918
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
919
|
+
}>, "many">;
|
|
920
|
+
}, "strict", z.ZodTypeAny, {
|
|
921
|
+
ready: boolean;
|
|
922
|
+
blockers: {
|
|
923
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
924
|
+
message: string;
|
|
925
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
926
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
927
|
+
}[];
|
|
928
|
+
}, {
|
|
929
|
+
ready: boolean;
|
|
930
|
+
blockers: {
|
|
931
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
932
|
+
message: string;
|
|
933
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
934
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
935
|
+
}[];
|
|
936
|
+
}>>;
|
|
937
|
+
firstBatchPlan: z.ZodOptional<z.ZodObject<{
|
|
938
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
939
|
+
batchId: z.ZodString;
|
|
940
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
941
|
+
githubIssues: z.ZodArray<z.ZodNumber, "many">;
|
|
942
|
+
engine: z.ZodLiteral<"openai_patch">;
|
|
943
|
+
targetFiles: z.ZodArray<z.ZodString, "many">;
|
|
944
|
+
expectedTests: z.ZodArray<z.ZodString, "many">;
|
|
945
|
+
risk: z.ZodEnum<["low", "medium", "high"]>;
|
|
946
|
+
whySafe: z.ZodString;
|
|
947
|
+
validationCommands: z.ZodArray<z.ZodString, "many">;
|
|
948
|
+
blockedEngines: z.ZodObject<{
|
|
949
|
+
cursor_cloud: z.ZodString;
|
|
950
|
+
codex: z.ZodString;
|
|
951
|
+
}, "strip", z.ZodTypeAny, {
|
|
952
|
+
cursor_cloud: string;
|
|
953
|
+
codex: string;
|
|
954
|
+
}, {
|
|
955
|
+
cursor_cloud: string;
|
|
956
|
+
codex: string;
|
|
957
|
+
}>;
|
|
958
|
+
}, "strict", z.ZodTypeAny, {
|
|
959
|
+
batchId: string;
|
|
960
|
+
engine: "openai_patch";
|
|
961
|
+
taskIds: string[];
|
|
962
|
+
githubIssues: number[];
|
|
963
|
+
targetFiles: string[];
|
|
964
|
+
expectedTests: string[];
|
|
965
|
+
risk: "low" | "medium" | "high";
|
|
966
|
+
whySafe: string;
|
|
967
|
+
validationCommands: string[];
|
|
968
|
+
blockedEngines: {
|
|
969
|
+
cursor_cloud: string;
|
|
970
|
+
codex: string;
|
|
971
|
+
};
|
|
972
|
+
}, {
|
|
973
|
+
batchId: string;
|
|
974
|
+
engine: "openai_patch";
|
|
975
|
+
taskIds: string[];
|
|
976
|
+
githubIssues: number[];
|
|
977
|
+
targetFiles: string[];
|
|
978
|
+
expectedTests: string[];
|
|
979
|
+
risk: "low" | "medium" | "high";
|
|
980
|
+
whySafe: string;
|
|
981
|
+
validationCommands: string[];
|
|
982
|
+
blockedEngines: {
|
|
983
|
+
cursor_cloud: string;
|
|
984
|
+
codex: string;
|
|
985
|
+
};
|
|
986
|
+
}>>;
|
|
987
|
+
candidateCount: z.ZodNumber;
|
|
988
|
+
skippedHighBlastRadius: z.ZodNumber;
|
|
989
|
+
message: z.ZodString;
|
|
990
|
+
}, "strict", z.ZodTypeAny, {
|
|
991
|
+
plan: {
|
|
992
|
+
batchId: string;
|
|
993
|
+
engine: "openai_patch";
|
|
994
|
+
taskIds: string[];
|
|
995
|
+
githubIssues: number[];
|
|
996
|
+
targetFiles: string[];
|
|
997
|
+
expectedTests: string[];
|
|
998
|
+
risk: "low" | "medium" | "high";
|
|
999
|
+
whySafe: string;
|
|
1000
|
+
validationCommands: string[];
|
|
1001
|
+
blockedEngines: {
|
|
1002
|
+
cursor_cloud: string;
|
|
1003
|
+
codex: string;
|
|
1004
|
+
};
|
|
1005
|
+
} | null;
|
|
1006
|
+
message: string;
|
|
1007
|
+
candidateCount: number;
|
|
1008
|
+
skippedHighBlastRadius: number;
|
|
1009
|
+
}, {
|
|
1010
|
+
plan: {
|
|
1011
|
+
batchId: string;
|
|
1012
|
+
engine: "openai_patch";
|
|
1013
|
+
taskIds: string[];
|
|
1014
|
+
githubIssues: number[];
|
|
1015
|
+
targetFiles: string[];
|
|
1016
|
+
expectedTests: string[];
|
|
1017
|
+
risk: "low" | "medium" | "high";
|
|
1018
|
+
whySafe: string;
|
|
1019
|
+
validationCommands: string[];
|
|
1020
|
+
blockedEngines: {
|
|
1021
|
+
cursor_cloud: string;
|
|
1022
|
+
codex: string;
|
|
1023
|
+
};
|
|
1024
|
+
} | null;
|
|
1025
|
+
message: string;
|
|
1026
|
+
candidateCount: number;
|
|
1027
|
+
skippedHighBlastRadius: number;
|
|
1028
|
+
}>>;
|
|
1029
|
+
degraded: z.ZodBoolean;
|
|
1030
|
+
/** Fail-fast operator hints (e.g. missing @types that will Error Vercel in ~15s). */
|
|
1031
|
+
operatorHints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1032
|
+
}, "strip", z.ZodTypeAny, {
|
|
1033
|
+
projectId: string;
|
|
1034
|
+
degraded: boolean;
|
|
1035
|
+
permissions: {
|
|
1036
|
+
contentsWrite: boolean;
|
|
1037
|
+
pullRequestsWrite: boolean;
|
|
1038
|
+
issuesWrite: boolean;
|
|
1039
|
+
};
|
|
1040
|
+
branchSha: string;
|
|
1041
|
+
installationFound: boolean;
|
|
1042
|
+
permissionCheckFailed: boolean;
|
|
1043
|
+
repository?: {
|
|
1044
|
+
id: string;
|
|
1045
|
+
name: string;
|
|
1046
|
+
fullName: string;
|
|
1047
|
+
url: string;
|
|
1048
|
+
defaultBranch: string;
|
|
1049
|
+
owner: string;
|
|
1050
|
+
} | undefined;
|
|
1051
|
+
realisationGate?: {
|
|
1052
|
+
ready: boolean;
|
|
1053
|
+
blockers: {
|
|
1054
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
1055
|
+
message: string;
|
|
1056
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
1057
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
1058
|
+
}[];
|
|
1059
|
+
} | undefined;
|
|
1060
|
+
firstBatchPlan?: {
|
|
1061
|
+
plan: {
|
|
1062
|
+
batchId: string;
|
|
1063
|
+
engine: "openai_patch";
|
|
1064
|
+
taskIds: string[];
|
|
1065
|
+
githubIssues: number[];
|
|
1066
|
+
targetFiles: string[];
|
|
1067
|
+
expectedTests: string[];
|
|
1068
|
+
risk: "low" | "medium" | "high";
|
|
1069
|
+
whySafe: string;
|
|
1070
|
+
validationCommands: string[];
|
|
1071
|
+
blockedEngines: {
|
|
1072
|
+
cursor_cloud: string;
|
|
1073
|
+
codex: string;
|
|
1074
|
+
};
|
|
1075
|
+
} | null;
|
|
1076
|
+
message: string;
|
|
1077
|
+
candidateCount: number;
|
|
1078
|
+
skippedHighBlastRadius: number;
|
|
1079
|
+
} | undefined;
|
|
1080
|
+
operatorHints?: string[] | undefined;
|
|
1081
|
+
}, {
|
|
1082
|
+
projectId: string;
|
|
1083
|
+
degraded: boolean;
|
|
1084
|
+
permissions: {
|
|
1085
|
+
contentsWrite: boolean;
|
|
1086
|
+
pullRequestsWrite: boolean;
|
|
1087
|
+
issuesWrite: boolean;
|
|
1088
|
+
};
|
|
1089
|
+
branchSha: string;
|
|
1090
|
+
installationFound: boolean;
|
|
1091
|
+
permissionCheckFailed: boolean;
|
|
1092
|
+
repository?: {
|
|
1093
|
+
id: string;
|
|
1094
|
+
name: string;
|
|
1095
|
+
fullName: string;
|
|
1096
|
+
url: string;
|
|
1097
|
+
defaultBranch: string;
|
|
1098
|
+
owner: string;
|
|
1099
|
+
} | undefined;
|
|
1100
|
+
realisationGate?: {
|
|
1101
|
+
ready: boolean;
|
|
1102
|
+
blockers: {
|
|
1103
|
+
code: "DOMAIN_MODEL_OR_SCHEMA_MIN_1" | "DOMAIN_API_ROUTE_MIN_1" | "DOMAIN_UI_ROUTE_MIN_1" | "TEST_FILE_MIN_1" | "TRACEABILITY_ROWS_MIN_1" | "ORPHANED_PARENT_ROUTE" | "LAYOUT_CSS_IMPORT" | "ROUTE_MANIFEST_COVERAGE" | "ROOT_ROUTE_RUNTIME_BEHAVIOR" | "API_ROUTE_HANDLER_PRESENT" | "CSS_IMPORT_TARGET_EXISTS" | "AUTH_PAGE_MINIMAL_FORM" | "PACKAGE_DEPENDENCY_MISSING" | "CSS_TOOLCHAIN_INCOMPLETE" | "LOCKFILE_STALE_OR_MISSING" | "PACKAGE_IMPORT_RESOLUTION" | "POSTCSS_CONFIG_MISSING" | "NEXT_ROOT_PAGE_MISSING" | "NAV_LINK_INTEGRITY" | "PACKAGE_JSON_PRESENT" | "NEXT_SCAFFOLD_PRESENT" | "API_HEALTH_ROUTE";
|
|
1104
|
+
message: string;
|
|
1105
|
+
evidence?: import("./workflow/product-realization.schema").ImplementRealisationEvidence | undefined;
|
|
1106
|
+
reason?: "missing_domain_file" | "missing_api_route" | "missing_ui_route" | "missing_tests" | "missing_traceability" | undefined;
|
|
1107
|
+
}[];
|
|
1108
|
+
} | undefined;
|
|
1109
|
+
firstBatchPlan?: {
|
|
1110
|
+
plan: {
|
|
1111
|
+
batchId: string;
|
|
1112
|
+
engine: "openai_patch";
|
|
1113
|
+
taskIds: string[];
|
|
1114
|
+
githubIssues: number[];
|
|
1115
|
+
targetFiles: string[];
|
|
1116
|
+
expectedTests: string[];
|
|
1117
|
+
risk: "low" | "medium" | "high";
|
|
1118
|
+
whySafe: string;
|
|
1119
|
+
validationCommands: string[];
|
|
1120
|
+
blockedEngines: {
|
|
1121
|
+
cursor_cloud: string;
|
|
1122
|
+
codex: string;
|
|
1123
|
+
};
|
|
1124
|
+
} | null;
|
|
1125
|
+
message: string;
|
|
1126
|
+
candidateCount: number;
|
|
1127
|
+
skippedHighBlastRadius: number;
|
|
1128
|
+
} | undefined;
|
|
1129
|
+
operatorHints?: string[] | undefined;
|
|
1130
|
+
}>;
|
|
1131
|
+
export type ImplementDiagnostics = z.infer<typeof ImplementDiagnosticsSchema>;
|
|
1132
|
+
export declare const GeneratedFilePatchSchema: z.ZodObject<{
|
|
1133
|
+
path: z.ZodString;
|
|
1134
|
+
content: z.ZodString;
|
|
1135
|
+
operation: z.ZodEnum<["create", "update", "delete"]>;
|
|
1136
|
+
reason: z.ZodString;
|
|
1137
|
+
sourceTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
1138
|
+
}, "strip", z.ZodTypeAny, {
|
|
1139
|
+
path: string;
|
|
1140
|
+
reason: string;
|
|
1141
|
+
content: string;
|
|
1142
|
+
operation: "create" | "delete" | "update";
|
|
1143
|
+
sourceTaskIds: string[];
|
|
1144
|
+
}, {
|
|
1145
|
+
path: string;
|
|
1146
|
+
reason: string;
|
|
1147
|
+
content: string;
|
|
1148
|
+
operation: "create" | "delete" | "update";
|
|
1149
|
+
sourceTaskIds: string[];
|
|
1150
|
+
}>;
|
|
1151
|
+
export type GeneratedFilePatch = z.infer<typeof GeneratedFilePatchSchema>;
|
|
1152
|
+
export declare const ImplementPatchTraceabilitySchema: z.ZodObject<{
|
|
1153
|
+
taskId: z.ZodString;
|
|
1154
|
+
filePaths: z.ZodArray<z.ZodString, "many">;
|
|
1155
|
+
acceptanceCriteriaIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1156
|
+
}, "strip", z.ZodTypeAny, {
|
|
1157
|
+
taskId: string;
|
|
1158
|
+
filePaths: string[];
|
|
1159
|
+
acceptanceCriteriaIds?: string[] | undefined;
|
|
1160
|
+
}, {
|
|
1161
|
+
taskId: string;
|
|
1162
|
+
filePaths: string[];
|
|
1163
|
+
acceptanceCriteriaIds?: string[] | undefined;
|
|
1164
|
+
}>;
|
|
1165
|
+
export type ImplementPatchTraceability = z.infer<typeof ImplementPatchTraceabilitySchema>;
|
|
1166
|
+
export declare const ImplementPatchPayloadSchema: z.ZodObject<{
|
|
1167
|
+
projectId: z.ZodString;
|
|
1168
|
+
workflowRunId: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
patchId: z.ZodString;
|
|
1170
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
1171
|
+
taskCohortId: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1173
|
+
path: z.ZodString;
|
|
1174
|
+
content: z.ZodString;
|
|
1175
|
+
operation: z.ZodEnum<["create", "update", "delete"]>;
|
|
1176
|
+
reason: z.ZodString;
|
|
1177
|
+
sourceTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
1178
|
+
}, "strip", z.ZodTypeAny, {
|
|
1179
|
+
path: string;
|
|
1180
|
+
reason: string;
|
|
1181
|
+
content: string;
|
|
1182
|
+
operation: "create" | "delete" | "update";
|
|
1183
|
+
sourceTaskIds: string[];
|
|
1184
|
+
}, {
|
|
1185
|
+
path: string;
|
|
1186
|
+
reason: string;
|
|
1187
|
+
content: string;
|
|
1188
|
+
operation: "create" | "delete" | "update";
|
|
1189
|
+
sourceTaskIds: string[];
|
|
1190
|
+
}>, "many">;
|
|
1191
|
+
traceability: z.ZodArray<z.ZodObject<{
|
|
1192
|
+
taskId: z.ZodString;
|
|
1193
|
+
filePaths: z.ZodArray<z.ZodString, "many">;
|
|
1194
|
+
acceptanceCriteriaIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1195
|
+
}, "strip", z.ZodTypeAny, {
|
|
1196
|
+
taskId: string;
|
|
1197
|
+
filePaths: string[];
|
|
1198
|
+
acceptanceCriteriaIds?: string[] | undefined;
|
|
1199
|
+
}, {
|
|
1200
|
+
taskId: string;
|
|
1201
|
+
filePaths: string[];
|
|
1202
|
+
acceptanceCriteriaIds?: string[] | undefined;
|
|
1203
|
+
}>, "many">;
|
|
1204
|
+
}, "strip", z.ZodTypeAny, {
|
|
1205
|
+
projectId: string;
|
|
1206
|
+
files: {
|
|
1207
|
+
path: string;
|
|
1208
|
+
reason: string;
|
|
1209
|
+
content: string;
|
|
1210
|
+
operation: "create" | "delete" | "update";
|
|
1211
|
+
sourceTaskIds: string[];
|
|
1212
|
+
}[];
|
|
1213
|
+
taskIds: string[];
|
|
1214
|
+
patchId: string;
|
|
1215
|
+
traceability: {
|
|
1216
|
+
taskId: string;
|
|
1217
|
+
filePaths: string[];
|
|
1218
|
+
acceptanceCriteriaIds?: string[] | undefined;
|
|
1219
|
+
}[];
|
|
1220
|
+
workflowRunId?: string | undefined;
|
|
1221
|
+
taskCohortId?: string | undefined;
|
|
1222
|
+
}, {
|
|
1223
|
+
projectId: string;
|
|
1224
|
+
files: {
|
|
1225
|
+
path: string;
|
|
1226
|
+
reason: string;
|
|
1227
|
+
content: string;
|
|
1228
|
+
operation: "create" | "delete" | "update";
|
|
1229
|
+
sourceTaskIds: string[];
|
|
1230
|
+
}[];
|
|
1231
|
+
taskIds: string[];
|
|
1232
|
+
patchId: string;
|
|
1233
|
+
traceability: {
|
|
1234
|
+
taskId: string;
|
|
1235
|
+
filePaths: string[];
|
|
1236
|
+
acceptanceCriteriaIds?: string[] | undefined;
|
|
1237
|
+
}[];
|
|
1238
|
+
workflowRunId?: string | undefined;
|
|
1239
|
+
taskCohortId?: string | undefined;
|
|
1240
|
+
}>;
|
|
1241
|
+
export type ImplementPatchPayload = z.infer<typeof ImplementPatchPayloadSchema>;
|
|
1242
|
+
export declare const ImplementationPatchSetSchema: z.ZodObject<{
|
|
1243
|
+
patchSetId: z.ZodString;
|
|
1244
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1245
|
+
path: z.ZodString;
|
|
1246
|
+
content: z.ZodString;
|
|
1247
|
+
operation: z.ZodEnum<["create", "update", "delete"]>;
|
|
1248
|
+
reason: z.ZodString;
|
|
1249
|
+
sourceTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
1250
|
+
}, "strip", z.ZodTypeAny, {
|
|
1251
|
+
path: string;
|
|
1252
|
+
reason: string;
|
|
1253
|
+
content: string;
|
|
1254
|
+
operation: "create" | "delete" | "update";
|
|
1255
|
+
sourceTaskIds: string[];
|
|
1256
|
+
}, {
|
|
1257
|
+
path: string;
|
|
1258
|
+
reason: string;
|
|
1259
|
+
content: string;
|
|
1260
|
+
operation: "create" | "delete" | "update";
|
|
1261
|
+
sourceTaskIds: string[];
|
|
1262
|
+
}>, "many">;
|
|
1263
|
+
guardianScore: z.ZodNullable<z.ZodNumber>;
|
|
1264
|
+
}, "strip", z.ZodTypeAny, {
|
|
1265
|
+
guardianScore: number | null;
|
|
1266
|
+
files: {
|
|
1267
|
+
path: string;
|
|
1268
|
+
reason: string;
|
|
1269
|
+
content: string;
|
|
1270
|
+
operation: "create" | "delete" | "update";
|
|
1271
|
+
sourceTaskIds: string[];
|
|
1272
|
+
}[];
|
|
1273
|
+
patchSetId: string;
|
|
1274
|
+
}, {
|
|
1275
|
+
guardianScore: number | null;
|
|
1276
|
+
files: {
|
|
1277
|
+
path: string;
|
|
1278
|
+
reason: string;
|
|
1279
|
+
content: string;
|
|
1280
|
+
operation: "create" | "delete" | "update";
|
|
1281
|
+
sourceTaskIds: string[];
|
|
1282
|
+
}[];
|
|
1283
|
+
patchSetId: string;
|
|
1284
|
+
}>;
|
|
1285
|
+
export type ImplementationPatchSet = z.infer<typeof ImplementationPatchSetSchema>;
|
|
1286
|
+
export declare const ImplementGenerationModeSchema: z.ZodEnum<["initial", "iterate", "repair", "regenerate"]>;
|
|
1287
|
+
export type ImplementGenerationMode = z.infer<typeof ImplementGenerationModeSchema>;
|
|
1288
|
+
export declare const PatchRepairContextSchema: z.ZodObject<{
|
|
1289
|
+
failedPatchId: z.ZodString;
|
|
1290
|
+
validationFailures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1291
|
+
code: z.ZodString;
|
|
1292
|
+
message: z.ZodString;
|
|
1293
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
1294
|
+
}, "strip", z.ZodTypeAny, {
|
|
1295
|
+
code: string;
|
|
1296
|
+
message: string;
|
|
1297
|
+
filePath?: string | undefined;
|
|
1298
|
+
}, {
|
|
1299
|
+
code: string;
|
|
1300
|
+
message: string;
|
|
1301
|
+
filePath?: string | undefined;
|
|
1302
|
+
}>, "many">>;
|
|
1303
|
+
dependencyDiagnostics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1304
|
+
}, "strip", z.ZodTypeAny, {
|
|
1305
|
+
failedPatchId: string;
|
|
1306
|
+
validationFailures?: {
|
|
1307
|
+
code: string;
|
|
1308
|
+
message: string;
|
|
1309
|
+
filePath?: string | undefined;
|
|
1310
|
+
}[] | undefined;
|
|
1311
|
+
dependencyDiagnostics?: string[] | undefined;
|
|
1312
|
+
}, {
|
|
1313
|
+
failedPatchId: string;
|
|
1314
|
+
validationFailures?: {
|
|
1315
|
+
code: string;
|
|
1316
|
+
message: string;
|
|
1317
|
+
filePath?: string | undefined;
|
|
1318
|
+
}[] | undefined;
|
|
1319
|
+
dependencyDiagnostics?: string[] | undefined;
|
|
1320
|
+
}>;
|
|
1321
|
+
export type PatchRepairContext = z.infer<typeof PatchRepairContextSchema>;
|
|
1322
|
+
export declare const ImplementationGenerateRequestSchema: z.ZodObject<{
|
|
1323
|
+
projectId: z.ZodString;
|
|
1324
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
1325
|
+
orchestrationId: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
mode: z.ZodDefault<z.ZodEnum<["initial", "iterate", "repair", "regenerate"]>>;
|
|
1327
|
+
repairContext: z.ZodOptional<z.ZodObject<{
|
|
1328
|
+
failedPatchId: z.ZodString;
|
|
1329
|
+
validationFailures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1330
|
+
code: z.ZodString;
|
|
1331
|
+
message: z.ZodString;
|
|
1332
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
1333
|
+
}, "strip", z.ZodTypeAny, {
|
|
1334
|
+
code: string;
|
|
1335
|
+
message: string;
|
|
1336
|
+
filePath?: string | undefined;
|
|
1337
|
+
}, {
|
|
1338
|
+
code: string;
|
|
1339
|
+
message: string;
|
|
1340
|
+
filePath?: string | undefined;
|
|
1341
|
+
}>, "many">>;
|
|
1342
|
+
dependencyDiagnostics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1343
|
+
}, "strip", z.ZodTypeAny, {
|
|
1344
|
+
failedPatchId: string;
|
|
1345
|
+
validationFailures?: {
|
|
1346
|
+
code: string;
|
|
1347
|
+
message: string;
|
|
1348
|
+
filePath?: string | undefined;
|
|
1349
|
+
}[] | undefined;
|
|
1350
|
+
dependencyDiagnostics?: string[] | undefined;
|
|
1351
|
+
}, {
|
|
1352
|
+
failedPatchId: string;
|
|
1353
|
+
validationFailures?: {
|
|
1354
|
+
code: string;
|
|
1355
|
+
message: string;
|
|
1356
|
+
filePath?: string | undefined;
|
|
1357
|
+
}[] | undefined;
|
|
1358
|
+
dependencyDiagnostics?: string[] | undefined;
|
|
1359
|
+
}>>;
|
|
1360
|
+
}, "strip", z.ZodTypeAny, {
|
|
1361
|
+
projectId: string;
|
|
1362
|
+
mode: "initial" | "iterate" | "repair" | "regenerate";
|
|
1363
|
+
taskIds: string[];
|
|
1364
|
+
orchestrationId?: string | undefined;
|
|
1365
|
+
repairContext?: {
|
|
1366
|
+
failedPatchId: string;
|
|
1367
|
+
validationFailures?: {
|
|
1368
|
+
code: string;
|
|
1369
|
+
message: string;
|
|
1370
|
+
filePath?: string | undefined;
|
|
1371
|
+
}[] | undefined;
|
|
1372
|
+
dependencyDiagnostics?: string[] | undefined;
|
|
1373
|
+
} | undefined;
|
|
1374
|
+
}, {
|
|
1375
|
+
projectId: string;
|
|
1376
|
+
taskIds: string[];
|
|
1377
|
+
mode?: "initial" | "iterate" | "repair" | "regenerate" | undefined;
|
|
1378
|
+
orchestrationId?: string | undefined;
|
|
1379
|
+
repairContext?: {
|
|
1380
|
+
failedPatchId: string;
|
|
1381
|
+
validationFailures?: {
|
|
1382
|
+
code: string;
|
|
1383
|
+
message: string;
|
|
1384
|
+
filePath?: string | undefined;
|
|
1385
|
+
}[] | undefined;
|
|
1386
|
+
dependencyDiagnostics?: string[] | undefined;
|
|
1387
|
+
} | undefined;
|
|
1388
|
+
}>;
|
|
1389
|
+
export type ImplementationGenerateRequest = z.infer<typeof ImplementationGenerateRequestSchema>;
|
|
1390
|
+
export declare const ImplementationPushRequestSchema: z.ZodObject<{
|
|
1391
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
/** When false (default), reuse/amend an open cohort PR branch instead of spawning a new one. */
|
|
1393
|
+
forceNewPr: z.ZodOptional<z.ZodBoolean>;
|
|
1394
|
+
}, "strip", z.ZodTypeAny, {
|
|
1395
|
+
branchName?: string | undefined;
|
|
1396
|
+
forceNewPr?: boolean | undefined;
|
|
1397
|
+
}, {
|
|
1398
|
+
branchName?: string | undefined;
|
|
1399
|
+
forceNewPr?: boolean | undefined;
|
|
1400
|
+
}>;
|
|
1401
|
+
export type ImplementationPushRequest = z.infer<typeof ImplementationPushRequestSchema>;
|
|
1402
|
+
export declare const ImplementationPushResponseSchema: z.ZodObject<{
|
|
1403
|
+
patchSetId: z.ZodString;
|
|
1404
|
+
branchName: z.ZodString;
|
|
1405
|
+
commitSha: z.ZodString;
|
|
1406
|
+
repoOwner: z.ZodString;
|
|
1407
|
+
repoName: z.ZodString;
|
|
1408
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
1409
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
1410
|
+
updatedTaskCount: z.ZodNumber;
|
|
1411
|
+
selectedTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
1412
|
+
reconciliationError: z.ZodOptional<z.ZodString>;
|
|
1413
|
+
}, "strip", z.ZodTypeAny, {
|
|
1414
|
+
commitSha: string;
|
|
1415
|
+
branchName: string;
|
|
1416
|
+
patchSetId: string;
|
|
1417
|
+
selectedTaskIds: string[];
|
|
1418
|
+
repoOwner: string;
|
|
1419
|
+
repoName: string;
|
|
1420
|
+
updatedTaskCount: number;
|
|
1421
|
+
pullRequestNumber?: number | undefined;
|
|
1422
|
+
pullRequestUrl?: string | undefined;
|
|
1423
|
+
reconciliationError?: string | undefined;
|
|
1424
|
+
}, {
|
|
1425
|
+
commitSha: string;
|
|
1426
|
+
branchName: string;
|
|
1427
|
+
patchSetId: string;
|
|
1428
|
+
selectedTaskIds: string[];
|
|
1429
|
+
repoOwner: string;
|
|
1430
|
+
repoName: string;
|
|
1431
|
+
updatedTaskCount: number;
|
|
1432
|
+
pullRequestNumber?: number | undefined;
|
|
1433
|
+
pullRequestUrl?: string | undefined;
|
|
1434
|
+
reconciliationError?: string | undefined;
|
|
1435
|
+
}>;
|
|
1436
|
+
export type ImplementationPushResponse = z.infer<typeof ImplementationPushResponseSchema>;
|
|
1437
|
+
export declare const ImplementationPRCreateRequestSchema: z.ZodObject<{
|
|
1438
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
/** Operator acknowledgment for domain-layer-only patches (min 10 chars). Does not unlock Deploy/Review. */
|
|
1440
|
+
operatorOverrideReason: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
domainLayerOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1442
|
+
}, "strip", z.ZodTypeAny, {
|
|
1443
|
+
title?: string | undefined;
|
|
1444
|
+
operatorOverrideReason?: string | undefined;
|
|
1445
|
+
domainLayerOnly?: boolean | undefined;
|
|
1446
|
+
}, {
|
|
1447
|
+
title?: string | undefined;
|
|
1448
|
+
operatorOverrideReason?: string | undefined;
|
|
1449
|
+
domainLayerOnly?: boolean | undefined;
|
|
1450
|
+
}>;
|
|
1451
|
+
export type ImplementationPRCreateRequest = z.infer<typeof ImplementationPRCreateRequestSchema>;
|
|
1452
|
+
export declare const ImplementationPRCreateResponseSchema: z.ZodObject<{
|
|
1453
|
+
status: z.ZodEnum<["created", "existing"]>;
|
|
1454
|
+
pullRequestNumber: z.ZodNumber;
|
|
1455
|
+
pullRequestUrl: z.ZodString;
|
|
1456
|
+
branchName: z.ZodString;
|
|
1457
|
+
patchSetId: z.ZodString;
|
|
1458
|
+
updatedTaskCount: z.ZodNumber;
|
|
1459
|
+
selectedTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
1460
|
+
idempotent: z.ZodBoolean;
|
|
1461
|
+
/** True when an existing open cohort PR was amended instead of opening a new PR. */
|
|
1462
|
+
repairMode: z.ZodOptional<z.ZodBoolean>;
|
|
1463
|
+
supersession: z.ZodOptional<z.ZodObject<{
|
|
1464
|
+
kind: z.ZodEnum<["superseding_pr", "superseded_by_new_pr"]>;
|
|
1465
|
+
supersedingPrNumber: z.ZodOptional<z.ZodNumber>;
|
|
1466
|
+
supersededPrNumbers: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1467
|
+
supersedingPatchSetId: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
supersededPatchSetIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1469
|
+
}, "strip", z.ZodTypeAny, {
|
|
1470
|
+
kind: "superseding_pr" | "superseded_by_new_pr";
|
|
1471
|
+
supersedingPrNumber?: number | undefined;
|
|
1472
|
+
supersededPrNumbers?: number[] | undefined;
|
|
1473
|
+
supersedingPatchSetId?: string | undefined;
|
|
1474
|
+
supersededPatchSetIds?: string[] | undefined;
|
|
1475
|
+
}, {
|
|
1476
|
+
kind: "superseding_pr" | "superseded_by_new_pr";
|
|
1477
|
+
supersedingPrNumber?: number | undefined;
|
|
1478
|
+
supersededPrNumbers?: number[] | undefined;
|
|
1479
|
+
supersedingPatchSetId?: string | undefined;
|
|
1480
|
+
supersededPatchSetIds?: string[] | undefined;
|
|
1481
|
+
}>>;
|
|
1482
|
+
reconciliationError: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
}, "strip", z.ZodTypeAny, {
|
|
1484
|
+
status: "created" | "existing";
|
|
1485
|
+
branchName: string;
|
|
1486
|
+
pullRequestNumber: number;
|
|
1487
|
+
pullRequestUrl: string;
|
|
1488
|
+
patchSetId: string;
|
|
1489
|
+
selectedTaskIds: string[];
|
|
1490
|
+
updatedTaskCount: number;
|
|
1491
|
+
idempotent: boolean;
|
|
1492
|
+
reconciliationError?: string | undefined;
|
|
1493
|
+
repairMode?: boolean | undefined;
|
|
1494
|
+
supersession?: {
|
|
1495
|
+
kind: "superseding_pr" | "superseded_by_new_pr";
|
|
1496
|
+
supersedingPrNumber?: number | undefined;
|
|
1497
|
+
supersededPrNumbers?: number[] | undefined;
|
|
1498
|
+
supersedingPatchSetId?: string | undefined;
|
|
1499
|
+
supersededPatchSetIds?: string[] | undefined;
|
|
1500
|
+
} | undefined;
|
|
1501
|
+
}, {
|
|
1502
|
+
status: "created" | "existing";
|
|
1503
|
+
branchName: string;
|
|
1504
|
+
pullRequestNumber: number;
|
|
1505
|
+
pullRequestUrl: string;
|
|
1506
|
+
patchSetId: string;
|
|
1507
|
+
selectedTaskIds: string[];
|
|
1508
|
+
updatedTaskCount: number;
|
|
1509
|
+
idempotent: boolean;
|
|
1510
|
+
reconciliationError?: string | undefined;
|
|
1511
|
+
repairMode?: boolean | undefined;
|
|
1512
|
+
supersession?: {
|
|
1513
|
+
kind: "superseding_pr" | "superseded_by_new_pr";
|
|
1514
|
+
supersedingPrNumber?: number | undefined;
|
|
1515
|
+
supersededPrNumbers?: number[] | undefined;
|
|
1516
|
+
supersedingPatchSetId?: string | undefined;
|
|
1517
|
+
supersededPatchSetIds?: string[] | undefined;
|
|
1518
|
+
} | undefined;
|
|
1519
|
+
}>;
|
|
1520
|
+
export type ImplementationPRCreateResponse = z.infer<typeof ImplementationPRCreateResponseSchema>;
|
|
1521
|
+
export declare const PatchCheckResultSchema: z.ZodObject<{
|
|
1522
|
+
code: z.ZodString;
|
|
1523
|
+
status: z.ZodEnum<["pass", "fail", "warning"]>;
|
|
1524
|
+
message: z.ZodString;
|
|
1525
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
1526
|
+
}, "strip", z.ZodTypeAny, {
|
|
1527
|
+
code: string;
|
|
1528
|
+
message: string;
|
|
1529
|
+
status: "warning" | "fail" | "pass";
|
|
1530
|
+
filePath?: string | undefined;
|
|
1531
|
+
}, {
|
|
1532
|
+
code: string;
|
|
1533
|
+
message: string;
|
|
1534
|
+
status: "warning" | "fail" | "pass";
|
|
1535
|
+
filePath?: string | undefined;
|
|
1536
|
+
}>;
|
|
1537
|
+
export type PatchCheckResult = z.infer<typeof PatchCheckResultSchema>;
|
|
1538
|
+
export declare const ImplementationPatchValidateResponseSchema: z.ZodObject<{
|
|
1539
|
+
patchSetId: z.ZodString;
|
|
1540
|
+
status: z.ZodEnum<["validated", "failed"]>;
|
|
1541
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
1542
|
+
code: z.ZodString;
|
|
1543
|
+
status: z.ZodEnum<["pass", "fail", "warning"]>;
|
|
1544
|
+
message: z.ZodString;
|
|
1545
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
1546
|
+
}, "strip", z.ZodTypeAny, {
|
|
1547
|
+
code: string;
|
|
1548
|
+
message: string;
|
|
1549
|
+
status: "warning" | "fail" | "pass";
|
|
1550
|
+
filePath?: string | undefined;
|
|
1551
|
+
}, {
|
|
1552
|
+
code: string;
|
|
1553
|
+
message: string;
|
|
1554
|
+
status: "warning" | "fail" | "pass";
|
|
1555
|
+
filePath?: string | undefined;
|
|
1556
|
+
}>, "many">;
|
|
1557
|
+
}, "strip", z.ZodTypeAny, {
|
|
1558
|
+
status: "failed" | "validated";
|
|
1559
|
+
checks: {
|
|
1560
|
+
code: string;
|
|
1561
|
+
message: string;
|
|
1562
|
+
status: "warning" | "fail" | "pass";
|
|
1563
|
+
filePath?: string | undefined;
|
|
1564
|
+
}[];
|
|
1565
|
+
patchSetId: string;
|
|
1566
|
+
}, {
|
|
1567
|
+
status: "failed" | "validated";
|
|
1568
|
+
checks: {
|
|
1569
|
+
code: string;
|
|
1570
|
+
message: string;
|
|
1571
|
+
status: "warning" | "fail" | "pass";
|
|
1572
|
+
filePath?: string | undefined;
|
|
1573
|
+
}[];
|
|
1574
|
+
patchSetId: string;
|
|
1575
|
+
}>;
|
|
1576
|
+
export type ImplementationPatchValidateResponse = z.infer<typeof ImplementationPatchValidateResponseSchema>;
|
|
1577
|
+
export declare const ImplementProofErrorPhaseSchema: z.ZodEnum<["target_selection", "model_generation", "repair_generation", "post_generation_guard", "target_obedience", "validation", "push", "open_pr", "writeback", "readiness"]>;
|
|
1578
|
+
export type ImplementProofErrorPhase = z.infer<typeof ImplementProofErrorPhaseSchema>;
|
|
1579
|
+
export declare const ImplementProofErrorCodeSchema: z.ZodEnum<["NO_PACKET_GRADE_TASKS", "PLANNER_TIMEOUT", "GENERATOR_JSX_IN_TS", "PATCH_DID_NOT_TOUCH_EXPECTED_FILES", "PATCH_OUTSIDE_PACKET_SCOPE", "PATCH_STATIC_TYPECHECK_FAILED", "MODEL_TIMEOUT", "PATCH_WRITEBACK_FAILED", "PATCH_PUSH_FAILED", "OPEN_PR_FAILED", "TRACEABILITY_MISSING", "READINESS_TIMEOUT", "STALE_PATCH_BLOCKING", "TASK_POOL_DRAINED"]>;
|
|
1580
|
+
export type ImplementProofErrorCode = z.infer<typeof ImplementProofErrorCodeSchema>;
|
|
1581
|
+
export declare const ImplementTypedFailureSchema: z.ZodObject<{
|
|
1582
|
+
code: z.ZodUnion<[z.ZodEnum<["NO_PACKET_GRADE_TASKS", "PLANNER_TIMEOUT", "GENERATOR_JSX_IN_TS", "PATCH_DID_NOT_TOUCH_EXPECTED_FILES", "PATCH_OUTSIDE_PACKET_SCOPE", "PATCH_STATIC_TYPECHECK_FAILED", "MODEL_TIMEOUT", "PATCH_WRITEBACK_FAILED", "PATCH_PUSH_FAILED", "OPEN_PR_FAILED", "TRACEABILITY_MISSING", "READINESS_TIMEOUT", "STALE_PATCH_BLOCKING", "TASK_POOL_DRAINED"]>, z.ZodString]>;
|
|
1583
|
+
phase: z.ZodEnum<["target_selection", "model_generation", "repair_generation", "post_generation_guard", "target_obedience", "validation", "push", "open_pr", "writeback", "readiness"]>;
|
|
1584
|
+
message: z.ZodString;
|
|
1585
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
1586
|
+
targetFiles: z.ZodArray<z.ZodString, "many">;
|
|
1587
|
+
generatedFiles: z.ZodArray<z.ZodString, "many">;
|
|
1588
|
+
patchSetId: z.ZodNullable<z.ZodString>;
|
|
1589
|
+
firstValidationError: z.ZodNullable<z.ZodString>;
|
|
1590
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1591
|
+
}, "strip", z.ZodTypeAny, {
|
|
1592
|
+
code: string;
|
|
1593
|
+
message: string;
|
|
1594
|
+
phase: "push" | "validation" | "readiness" | "target_selection" | "model_generation" | "repair_generation" | "post_generation_guard" | "target_obedience" | "open_pr" | "writeback";
|
|
1595
|
+
details: Record<string, unknown>;
|
|
1596
|
+
patchSetId: string | null;
|
|
1597
|
+
taskIds: string[];
|
|
1598
|
+
targetFiles: string[];
|
|
1599
|
+
generatedFiles: string[];
|
|
1600
|
+
firstValidationError: string | null;
|
|
1601
|
+
}, {
|
|
1602
|
+
code: string;
|
|
1603
|
+
message: string;
|
|
1604
|
+
phase: "push" | "validation" | "readiness" | "target_selection" | "model_generation" | "repair_generation" | "post_generation_guard" | "target_obedience" | "open_pr" | "writeback";
|
|
1605
|
+
details: Record<string, unknown>;
|
|
1606
|
+
patchSetId: string | null;
|
|
1607
|
+
taskIds: string[];
|
|
1608
|
+
targetFiles: string[];
|
|
1609
|
+
generatedFiles: string[];
|
|
1610
|
+
firstValidationError: string | null;
|
|
1611
|
+
}>;
|
|
1612
|
+
export type ImplementTypedFailure = z.infer<typeof ImplementTypedFailureSchema>;
|
|
1613
|
+
export declare const RunSelectedProofRequestSchema: z.ZodObject<{
|
|
1614
|
+
taskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1615
|
+
engine: z.ZodDefault<z.ZodLiteral<"openai_patch">>;
|
|
1616
|
+
mode: z.ZodDefault<z.ZodLiteral<"proof_1x1">>;
|
|
1617
|
+
autoValidate: z.ZodDefault<z.ZodBoolean>;
|
|
1618
|
+
autoPush: z.ZodDefault<z.ZodBoolean>;
|
|
1619
|
+
autoOpenPr: z.ZodDefault<z.ZodBoolean>;
|
|
1620
|
+
stopAfterFirstPr: z.ZodDefault<z.ZodBoolean>;
|
|
1621
|
+
}, "strip", z.ZodTypeAny, {
|
|
1622
|
+
mode: "proof_1x1";
|
|
1623
|
+
engine: "openai_patch";
|
|
1624
|
+
autoValidate: boolean;
|
|
1625
|
+
autoPush: boolean;
|
|
1626
|
+
autoOpenPr: boolean;
|
|
1627
|
+
stopAfterFirstPr: boolean;
|
|
1628
|
+
taskIds?: string[] | undefined;
|
|
1629
|
+
}, {
|
|
1630
|
+
mode?: "proof_1x1" | undefined;
|
|
1631
|
+
engine?: "openai_patch" | undefined;
|
|
1632
|
+
taskIds?: string[] | undefined;
|
|
1633
|
+
autoValidate?: boolean | undefined;
|
|
1634
|
+
autoPush?: boolean | undefined;
|
|
1635
|
+
autoOpenPr?: boolean | undefined;
|
|
1636
|
+
stopAfterFirstPr?: boolean | undefined;
|
|
1637
|
+
}>;
|
|
1638
|
+
export type RunSelectedProofRequest = z.infer<typeof RunSelectedProofRequestSchema>;
|
|
1639
|
+
export declare const RunSelectedProofResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
1640
|
+
success: z.ZodLiteral<true>;
|
|
1641
|
+
data: z.ZodObject<{
|
|
1642
|
+
patchId: z.ZodString;
|
|
1643
|
+
branch: z.ZodString;
|
|
1644
|
+
prNumber: z.ZodNumber;
|
|
1645
|
+
prUrl: z.ZodString;
|
|
1646
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
1647
|
+
targetFiles: z.ZodArray<z.ZodString, "many">;
|
|
1648
|
+
generatedFiles: z.ZodArray<z.ZodString, "many">;
|
|
1649
|
+
kgWritten: z.ZodBoolean;
|
|
1650
|
+
}, "strip", z.ZodTypeAny, {
|
|
1651
|
+
branch: string;
|
|
1652
|
+
prNumber: number;
|
|
1653
|
+
prUrl: string;
|
|
1654
|
+
taskIds: string[];
|
|
1655
|
+
targetFiles: string[];
|
|
1656
|
+
patchId: string;
|
|
1657
|
+
generatedFiles: string[];
|
|
1658
|
+
kgWritten: boolean;
|
|
1659
|
+
}, {
|
|
1660
|
+
branch: string;
|
|
1661
|
+
prNumber: number;
|
|
1662
|
+
prUrl: string;
|
|
1663
|
+
taskIds: string[];
|
|
1664
|
+
targetFiles: string[];
|
|
1665
|
+
patchId: string;
|
|
1666
|
+
generatedFiles: string[];
|
|
1667
|
+
kgWritten: boolean;
|
|
1668
|
+
}>;
|
|
1669
|
+
}, "strip", z.ZodTypeAny, {
|
|
1670
|
+
success: true;
|
|
1671
|
+
data: {
|
|
1672
|
+
branch: string;
|
|
1673
|
+
prNumber: number;
|
|
1674
|
+
prUrl: string;
|
|
1675
|
+
taskIds: string[];
|
|
1676
|
+
targetFiles: string[];
|
|
1677
|
+
patchId: string;
|
|
1678
|
+
generatedFiles: string[];
|
|
1679
|
+
kgWritten: boolean;
|
|
1680
|
+
};
|
|
1681
|
+
}, {
|
|
1682
|
+
success: true;
|
|
1683
|
+
data: {
|
|
1684
|
+
branch: string;
|
|
1685
|
+
prNumber: number;
|
|
1686
|
+
prUrl: string;
|
|
1687
|
+
taskIds: string[];
|
|
1688
|
+
targetFiles: string[];
|
|
1689
|
+
patchId: string;
|
|
1690
|
+
generatedFiles: string[];
|
|
1691
|
+
kgWritten: boolean;
|
|
1692
|
+
};
|
|
1693
|
+
}>, z.ZodObject<{
|
|
1694
|
+
success: z.ZodLiteral<false>;
|
|
1695
|
+
error: z.ZodObject<{
|
|
1696
|
+
code: z.ZodUnion<[z.ZodEnum<["NO_PACKET_GRADE_TASKS", "PLANNER_TIMEOUT", "GENERATOR_JSX_IN_TS", "PATCH_DID_NOT_TOUCH_EXPECTED_FILES", "PATCH_OUTSIDE_PACKET_SCOPE", "PATCH_STATIC_TYPECHECK_FAILED", "MODEL_TIMEOUT", "PATCH_WRITEBACK_FAILED", "PATCH_PUSH_FAILED", "OPEN_PR_FAILED", "TRACEABILITY_MISSING", "READINESS_TIMEOUT", "STALE_PATCH_BLOCKING", "TASK_POOL_DRAINED"]>, z.ZodString]>;
|
|
1697
|
+
phase: z.ZodEnum<["target_selection", "model_generation", "repair_generation", "post_generation_guard", "target_obedience", "validation", "push", "open_pr", "writeback", "readiness"]>;
|
|
1698
|
+
message: z.ZodString;
|
|
1699
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
1700
|
+
targetFiles: z.ZodArray<z.ZodString, "many">;
|
|
1701
|
+
generatedFiles: z.ZodArray<z.ZodString, "many">;
|
|
1702
|
+
patchSetId: z.ZodNullable<z.ZodString>;
|
|
1703
|
+
firstValidationError: z.ZodNullable<z.ZodString>;
|
|
1704
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1705
|
+
}, "strip", z.ZodTypeAny, {
|
|
1706
|
+
code: string;
|
|
1707
|
+
message: string;
|
|
1708
|
+
phase: "push" | "validation" | "readiness" | "target_selection" | "model_generation" | "repair_generation" | "post_generation_guard" | "target_obedience" | "open_pr" | "writeback";
|
|
1709
|
+
details: Record<string, unknown>;
|
|
1710
|
+
patchSetId: string | null;
|
|
1711
|
+
taskIds: string[];
|
|
1712
|
+
targetFiles: string[];
|
|
1713
|
+
generatedFiles: string[];
|
|
1714
|
+
firstValidationError: string | null;
|
|
1715
|
+
}, {
|
|
1716
|
+
code: string;
|
|
1717
|
+
message: string;
|
|
1718
|
+
phase: "push" | "validation" | "readiness" | "target_selection" | "model_generation" | "repair_generation" | "post_generation_guard" | "target_obedience" | "open_pr" | "writeback";
|
|
1719
|
+
details: Record<string, unknown>;
|
|
1720
|
+
patchSetId: string | null;
|
|
1721
|
+
taskIds: string[];
|
|
1722
|
+
targetFiles: string[];
|
|
1723
|
+
generatedFiles: string[];
|
|
1724
|
+
firstValidationError: string | null;
|
|
1725
|
+
}>;
|
|
1726
|
+
}, "strip", z.ZodTypeAny, {
|
|
1727
|
+
success: false;
|
|
1728
|
+
error: {
|
|
1729
|
+
code: string;
|
|
1730
|
+
message: string;
|
|
1731
|
+
phase: "push" | "validation" | "readiness" | "target_selection" | "model_generation" | "repair_generation" | "post_generation_guard" | "target_obedience" | "open_pr" | "writeback";
|
|
1732
|
+
details: Record<string, unknown>;
|
|
1733
|
+
patchSetId: string | null;
|
|
1734
|
+
taskIds: string[];
|
|
1735
|
+
targetFiles: string[];
|
|
1736
|
+
generatedFiles: string[];
|
|
1737
|
+
firstValidationError: string | null;
|
|
1738
|
+
};
|
|
1739
|
+
}, {
|
|
1740
|
+
success: false;
|
|
1741
|
+
error: {
|
|
1742
|
+
code: string;
|
|
1743
|
+
message: string;
|
|
1744
|
+
phase: "push" | "validation" | "readiness" | "target_selection" | "model_generation" | "repair_generation" | "post_generation_guard" | "target_obedience" | "open_pr" | "writeback";
|
|
1745
|
+
details: Record<string, unknown>;
|
|
1746
|
+
patchSetId: string | null;
|
|
1747
|
+
taskIds: string[];
|
|
1748
|
+
targetFiles: string[];
|
|
1749
|
+
generatedFiles: string[];
|
|
1750
|
+
firstValidationError: string | null;
|
|
1751
|
+
};
|
|
1752
|
+
}>]>;
|
|
1753
|
+
export type RunSelectedProofResponse = z.infer<typeof RunSelectedProofResponseSchema>;
|
|
1754
|
+
export declare const RecoverStalePipelineReasonCodeSchema: z.ZodEnum<["GENERATOR_JSX_IN_TS", "PATCH_STATIC_TYPECHECK_FAILED", "PATCH_DID_NOT_TOUCH_EXPECTED_FILES", "STALE_DRAFT_RELEASED", "BYPASS_PR_REVOKED_AS_PROOF", "PIPELINE_STATE_REPAIRED"]>;
|
|
1755
|
+
export type RecoverStalePipelineReasonCode = z.infer<typeof RecoverStalePipelineReasonCodeSchema>;
|
|
1756
|
+
export declare const RecoverStalePipelineResponseSchema: z.ZodObject<{
|
|
1757
|
+
success: z.ZodLiteral<true>;
|
|
1758
|
+
data: z.ZodObject<{
|
|
1759
|
+
quarantinedPatchIds: z.ZodArray<z.ZodString, "many">;
|
|
1760
|
+
releasedTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
1761
|
+
revokedBypassPatchIds: z.ZodArray<z.ZodString, "many">;
|
|
1762
|
+
reasonCodes: z.ZodArray<z.ZodEnum<["GENERATOR_JSX_IN_TS", "PATCH_STATIC_TYPECHECK_FAILED", "PATCH_DID_NOT_TOUCH_EXPECTED_FILES", "STALE_DRAFT_RELEASED", "BYPASS_PR_REVOKED_AS_PROOF", "PIPELINE_STATE_REPAIRED"]>, "many">;
|
|
1763
|
+
activePatchSet: z.ZodNull;
|
|
1764
|
+
}, "strip", z.ZodTypeAny, {
|
|
1765
|
+
activePatchSet: null;
|
|
1766
|
+
quarantinedPatchIds: string[];
|
|
1767
|
+
releasedTaskIds: string[];
|
|
1768
|
+
revokedBypassPatchIds: string[];
|
|
1769
|
+
reasonCodes: ("GENERATOR_JSX_IN_TS" | "PATCH_DID_NOT_TOUCH_EXPECTED_FILES" | "PATCH_STATIC_TYPECHECK_FAILED" | "STALE_DRAFT_RELEASED" | "BYPASS_PR_REVOKED_AS_PROOF" | "PIPELINE_STATE_REPAIRED")[];
|
|
1770
|
+
}, {
|
|
1771
|
+
activePatchSet: null;
|
|
1772
|
+
quarantinedPatchIds: string[];
|
|
1773
|
+
releasedTaskIds: string[];
|
|
1774
|
+
revokedBypassPatchIds: string[];
|
|
1775
|
+
reasonCodes: ("GENERATOR_JSX_IN_TS" | "PATCH_DID_NOT_TOUCH_EXPECTED_FILES" | "PATCH_STATIC_TYPECHECK_FAILED" | "STALE_DRAFT_RELEASED" | "BYPASS_PR_REVOKED_AS_PROOF" | "PIPELINE_STATE_REPAIRED")[];
|
|
1776
|
+
}>;
|
|
1777
|
+
}, "strip", z.ZodTypeAny, {
|
|
1778
|
+
success: true;
|
|
1779
|
+
data: {
|
|
1780
|
+
activePatchSet: null;
|
|
1781
|
+
quarantinedPatchIds: string[];
|
|
1782
|
+
releasedTaskIds: string[];
|
|
1783
|
+
revokedBypassPatchIds: string[];
|
|
1784
|
+
reasonCodes: ("GENERATOR_JSX_IN_TS" | "PATCH_DID_NOT_TOUCH_EXPECTED_FILES" | "PATCH_STATIC_TYPECHECK_FAILED" | "STALE_DRAFT_RELEASED" | "BYPASS_PR_REVOKED_AS_PROOF" | "PIPELINE_STATE_REPAIRED")[];
|
|
1785
|
+
};
|
|
1786
|
+
}, {
|
|
1787
|
+
success: true;
|
|
1788
|
+
data: {
|
|
1789
|
+
activePatchSet: null;
|
|
1790
|
+
quarantinedPatchIds: string[];
|
|
1791
|
+
releasedTaskIds: string[];
|
|
1792
|
+
revokedBypassPatchIds: string[];
|
|
1793
|
+
reasonCodes: ("GENERATOR_JSX_IN_TS" | "PATCH_DID_NOT_TOUCH_EXPECTED_FILES" | "PATCH_STATIC_TYPECHECK_FAILED" | "STALE_DRAFT_RELEASED" | "BYPASS_PR_REVOKED_AS_PROOF" | "PIPELINE_STATE_REPAIRED")[];
|
|
1794
|
+
};
|
|
1795
|
+
}>;
|
|
1796
|
+
export type RecoverStalePipelineResponse = z.infer<typeof RecoverStalePipelineResponseSchema>;
|
|
1797
|
+
/** POST …/patches/:patchSetId/proof-source — operator downgrade of invalid PR proof (#1249). */
|
|
1798
|
+
export declare const ImplementSetProofSourceRequestSchema: z.ZodObject<{
|
|
1799
|
+
proofSource: z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>;
|
|
1800
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1801
|
+
operator: z.ZodOptional<z.ZodString>;
|
|
1802
|
+
}, "strip", z.ZodTypeAny, {
|
|
1803
|
+
proofSource: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported";
|
|
1804
|
+
operator?: string | undefined;
|
|
1805
|
+
reason?: string | undefined;
|
|
1806
|
+
}, {
|
|
1807
|
+
proofSource: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported";
|
|
1808
|
+
operator?: string | undefined;
|
|
1809
|
+
reason?: string | undefined;
|
|
1810
|
+
}>;
|
|
1811
|
+
export type ImplementSetProofSourceRequest = z.infer<typeof ImplementSetProofSourceRequestSchema>;
|
|
1812
|
+
export declare const ImplementSetProofSourceResponseSchema: z.ZodObject<{
|
|
1813
|
+
patchSetId: z.ZodString;
|
|
1814
|
+
status: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed", "rejected", "quarantined"]>;
|
|
1815
|
+
proofSource: z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>;
|
|
1816
|
+
proofInvalidReason: z.ZodNullable<z.ZodString>;
|
|
1817
|
+
}, "strip", z.ZodTypeAny, {
|
|
1818
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created" | "quarantined";
|
|
1819
|
+
patchSetId: string;
|
|
1820
|
+
proofSource: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported";
|
|
1821
|
+
proofInvalidReason: string | null;
|
|
1822
|
+
}, {
|
|
1823
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created" | "quarantined";
|
|
1824
|
+
patchSetId: string;
|
|
1825
|
+
proofSource: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported";
|
|
1826
|
+
proofInvalidReason: string | null;
|
|
1827
|
+
}>;
|
|
1828
|
+
export type ImplementSetProofSourceResponse = z.infer<typeof ImplementSetProofSourceResponseSchema>;
|
|
1829
|
+
/** Service + orchestration: deterministic patch validation outcome. */
|
|
1830
|
+
export type ValidateImplementationPatchServiceResult = {
|
|
1831
|
+
ok: true;
|
|
1832
|
+
patchSetId: string;
|
|
1833
|
+
status: 'validated' | 'failed';
|
|
1834
|
+
checks: PatchCheckResult[];
|
|
1835
|
+
} | {
|
|
1836
|
+
ok: false;
|
|
1837
|
+
code: string;
|
|
1838
|
+
message: string;
|
|
1839
|
+
httpStatus: number;
|
|
1840
|
+
};
|
|
1841
|
+
export type PushImplementationPatchServiceResult = {
|
|
1842
|
+
ok: true;
|
|
1843
|
+
response: ImplementationPushResponse;
|
|
1844
|
+
} | {
|
|
1845
|
+
ok: false;
|
|
1846
|
+
code: string;
|
|
1847
|
+
message: string;
|
|
1848
|
+
httpStatus: number;
|
|
1849
|
+
};
|
|
1850
|
+
export type OpenImplementationPrServiceResult = {
|
|
1851
|
+
ok: true;
|
|
1852
|
+
response: ImplementationPRCreateResponse;
|
|
1853
|
+
} | {
|
|
1854
|
+
ok: false;
|
|
1855
|
+
code: string;
|
|
1856
|
+
message: string;
|
|
1857
|
+
httpStatus: number;
|
|
1858
|
+
details?: Record<string, unknown>;
|
|
1859
|
+
};
|
|
1860
|
+
export declare const ImplementationBatchDeliveryModeSchema: z.ZodEnum<["draft_only", "auto_validate", "auto_pr"]>;
|
|
1861
|
+
export type ImplementationBatchDeliveryMode = z.infer<typeof ImplementationBatchDeliveryModeSchema>;
|
|
1862
|
+
export declare const ProcessImplementationBatchResultSchema: z.ZodObject<{
|
|
1863
|
+
batchId: z.ZodString;
|
|
1864
|
+
status: z.ZodEnum<["completed", "failed"]>;
|
|
1865
|
+
patchSetId: z.ZodOptional<z.ZodString>;
|
|
1866
|
+
fileCount: z.ZodOptional<z.ZodNumber>;
|
|
1867
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1868
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
1869
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
1870
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
1871
|
+
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
1872
|
+
prUrl: z.ZodOptional<z.ZodString>;
|
|
1873
|
+
}, "strip", z.ZodTypeAny, {
|
|
1874
|
+
status: "completed" | "failed";
|
|
1875
|
+
batchId: string;
|
|
1876
|
+
error?: string | undefined;
|
|
1877
|
+
commitSha?: string | undefined;
|
|
1878
|
+
prNumber?: number | undefined;
|
|
1879
|
+
branchName?: string | undefined;
|
|
1880
|
+
prUrl?: string | undefined;
|
|
1881
|
+
errorCode?: string | undefined;
|
|
1882
|
+
patchSetId?: string | undefined;
|
|
1883
|
+
fileCount?: number | undefined;
|
|
1884
|
+
}, {
|
|
1885
|
+
status: "completed" | "failed";
|
|
1886
|
+
batchId: string;
|
|
1887
|
+
error?: string | undefined;
|
|
1888
|
+
commitSha?: string | undefined;
|
|
1889
|
+
prNumber?: number | undefined;
|
|
1890
|
+
branchName?: string | undefined;
|
|
1891
|
+
prUrl?: string | undefined;
|
|
1892
|
+
errorCode?: string | undefined;
|
|
1893
|
+
patchSetId?: string | undefined;
|
|
1894
|
+
fileCount?: number | undefined;
|
|
1895
|
+
}>;
|
|
1896
|
+
export type ProcessImplementationBatchResult = z.infer<typeof ProcessImplementationBatchResultSchema>;
|
|
1897
|
+
/** @deprecated Use ImplementPatchSetListItemSchema / detail status enums from implement-patch-detail (Sprint I1). */
|
|
1898
|
+
export declare const ImplementPatchHistoryStatusSchema: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed", "rejected"]>;
|
|
1899
|
+
export type ImplementPatchHistoryStatus = z.infer<typeof ImplementPatchHistoryStatusSchema>;
|
|
1900
|
+
/** @deprecated Use ImplementPatchSetListItemSchema from implement-patch-detail (Sprint I1). */
|
|
1901
|
+
export declare const ImplementPatchHistoryItemSchema: z.ZodObject<{
|
|
1902
|
+
artifactId: z.ZodString;
|
|
1903
|
+
status: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed", "rejected"]>;
|
|
1904
|
+
branchName: z.ZodNullable<z.ZodString>;
|
|
1905
|
+
commitSha: z.ZodNullable<z.ZodString>;
|
|
1906
|
+
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
1907
|
+
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
1908
|
+
selectedTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
1909
|
+
fileCount: z.ZodNullable<z.ZodNumber>;
|
|
1910
|
+
updatedAt: z.ZodString;
|
|
1911
|
+
proofSource: z.ZodOptional<z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>>;
|
|
1912
|
+
proofInvalidReason: z.ZodOptional<z.ZodString>;
|
|
1913
|
+
}, "strip", z.ZodTypeAny, {
|
|
1914
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
1915
|
+
artifactId: string;
|
|
1916
|
+
updatedAt: string;
|
|
1917
|
+
commitSha: string | null;
|
|
1918
|
+
branchName: string | null;
|
|
1919
|
+
pullRequestNumber: number | null;
|
|
1920
|
+
pullRequestUrl: string | null;
|
|
1921
|
+
selectedTaskIds: string[];
|
|
1922
|
+
fileCount: number | null;
|
|
1923
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
1924
|
+
proofInvalidReason?: string | undefined;
|
|
1925
|
+
}, {
|
|
1926
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
1927
|
+
artifactId: string;
|
|
1928
|
+
updatedAt: string;
|
|
1929
|
+
commitSha: string | null;
|
|
1930
|
+
branchName: string | null;
|
|
1931
|
+
pullRequestNumber: number | null;
|
|
1932
|
+
pullRequestUrl: string | null;
|
|
1933
|
+
selectedTaskIds: string[];
|
|
1934
|
+
fileCount: number | null;
|
|
1935
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
1936
|
+
proofInvalidReason?: string | undefined;
|
|
1937
|
+
}>;
|
|
1938
|
+
export type ImplementPatchHistoryItem = z.infer<typeof ImplementPatchHistoryItemSchema>;
|
|
1939
|
+
/** @deprecated Use ImplementPatchSetDetailPayloadSchema from implement-patch-detail (Sprint I1). */
|
|
1940
|
+
export declare const ImplementPatchDetailSchema: z.ZodObject<{
|
|
1941
|
+
artifactId: z.ZodString;
|
|
1942
|
+
status: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed", "rejected"]>;
|
|
1943
|
+
branchName: z.ZodNullable<z.ZodString>;
|
|
1944
|
+
commitSha: z.ZodNullable<z.ZodString>;
|
|
1945
|
+
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
1946
|
+
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
1947
|
+
selectedTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
1948
|
+
fileCount: z.ZodNullable<z.ZodNumber>;
|
|
1949
|
+
updatedAt: z.ZodString;
|
|
1950
|
+
proofSource: z.ZodOptional<z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>>;
|
|
1951
|
+
proofInvalidReason: z.ZodOptional<z.ZodString>;
|
|
1952
|
+
} & {
|
|
1953
|
+
validation: z.ZodNullable<z.ZodObject<{
|
|
1954
|
+
ok: z.ZodBoolean;
|
|
1955
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1956
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1957
|
+
}, "strip", z.ZodTypeAny, {
|
|
1958
|
+
ok: boolean;
|
|
1959
|
+
warnings?: string[] | undefined;
|
|
1960
|
+
errors?: string[] | undefined;
|
|
1961
|
+
}, {
|
|
1962
|
+
ok: boolean;
|
|
1963
|
+
warnings?: string[] | undefined;
|
|
1964
|
+
errors?: string[] | undefined;
|
|
1965
|
+
}>>;
|
|
1966
|
+
taskStatuses: z.ZodArray<z.ZodObject<{
|
|
1967
|
+
taskId: z.ZodString;
|
|
1968
|
+
status: z.ZodString;
|
|
1969
|
+
}, "strip", z.ZodTypeAny, {
|
|
1970
|
+
status: string;
|
|
1971
|
+
taskId: string;
|
|
1972
|
+
}, {
|
|
1973
|
+
status: string;
|
|
1974
|
+
taskId: string;
|
|
1975
|
+
}>, "many">;
|
|
1976
|
+
}, "strip", z.ZodTypeAny, {
|
|
1977
|
+
validation: {
|
|
1978
|
+
ok: boolean;
|
|
1979
|
+
warnings?: string[] | undefined;
|
|
1980
|
+
errors?: string[] | undefined;
|
|
1981
|
+
} | null;
|
|
1982
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
1983
|
+
artifactId: string;
|
|
1984
|
+
updatedAt: string;
|
|
1985
|
+
commitSha: string | null;
|
|
1986
|
+
branchName: string | null;
|
|
1987
|
+
pullRequestNumber: number | null;
|
|
1988
|
+
pullRequestUrl: string | null;
|
|
1989
|
+
selectedTaskIds: string[];
|
|
1990
|
+
fileCount: number | null;
|
|
1991
|
+
taskStatuses: {
|
|
1992
|
+
status: string;
|
|
1993
|
+
taskId: string;
|
|
1994
|
+
}[];
|
|
1995
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
1996
|
+
proofInvalidReason?: string | undefined;
|
|
1997
|
+
}, {
|
|
1998
|
+
validation: {
|
|
1999
|
+
ok: boolean;
|
|
2000
|
+
warnings?: string[] | undefined;
|
|
2001
|
+
errors?: string[] | undefined;
|
|
2002
|
+
} | null;
|
|
2003
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
2004
|
+
artifactId: string;
|
|
2005
|
+
updatedAt: string;
|
|
2006
|
+
commitSha: string | null;
|
|
2007
|
+
branchName: string | null;
|
|
2008
|
+
pullRequestNumber: number | null;
|
|
2009
|
+
pullRequestUrl: string | null;
|
|
2010
|
+
selectedTaskIds: string[];
|
|
2011
|
+
fileCount: number | null;
|
|
2012
|
+
taskStatuses: {
|
|
2013
|
+
status: string;
|
|
2014
|
+
taskId: string;
|
|
2015
|
+
}[];
|
|
2016
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
2017
|
+
proofInvalidReason?: string | undefined;
|
|
2018
|
+
}>;
|
|
2019
|
+
export type ImplementPatchDetail = z.infer<typeof ImplementPatchDetailSchema>;
|
|
2020
|
+
/** @deprecated Use ImplementPatchSetDetailPayloadSchema wrapped in ApiResponse via route handler (Sprint I1). */
|
|
2021
|
+
export declare const ImplementPatchDetailResponseSchema: z.ZodObject<{
|
|
2022
|
+
patch: z.ZodObject<{
|
|
2023
|
+
artifactId: z.ZodString;
|
|
2024
|
+
status: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed", "rejected"]>;
|
|
2025
|
+
branchName: z.ZodNullable<z.ZodString>;
|
|
2026
|
+
commitSha: z.ZodNullable<z.ZodString>;
|
|
2027
|
+
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
2028
|
+
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
2029
|
+
selectedTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
2030
|
+
fileCount: z.ZodNullable<z.ZodNumber>;
|
|
2031
|
+
updatedAt: z.ZodString;
|
|
2032
|
+
proofSource: z.ZodOptional<z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>>;
|
|
2033
|
+
proofInvalidReason: z.ZodOptional<z.ZodString>;
|
|
2034
|
+
} & {
|
|
2035
|
+
validation: z.ZodNullable<z.ZodObject<{
|
|
2036
|
+
ok: z.ZodBoolean;
|
|
2037
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2038
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2039
|
+
}, "strip", z.ZodTypeAny, {
|
|
2040
|
+
ok: boolean;
|
|
2041
|
+
warnings?: string[] | undefined;
|
|
2042
|
+
errors?: string[] | undefined;
|
|
2043
|
+
}, {
|
|
2044
|
+
ok: boolean;
|
|
2045
|
+
warnings?: string[] | undefined;
|
|
2046
|
+
errors?: string[] | undefined;
|
|
2047
|
+
}>>;
|
|
2048
|
+
taskStatuses: z.ZodArray<z.ZodObject<{
|
|
2049
|
+
taskId: z.ZodString;
|
|
2050
|
+
status: z.ZodString;
|
|
2051
|
+
}, "strip", z.ZodTypeAny, {
|
|
2052
|
+
status: string;
|
|
2053
|
+
taskId: string;
|
|
2054
|
+
}, {
|
|
2055
|
+
status: string;
|
|
2056
|
+
taskId: string;
|
|
2057
|
+
}>, "many">;
|
|
2058
|
+
}, "strip", z.ZodTypeAny, {
|
|
2059
|
+
validation: {
|
|
2060
|
+
ok: boolean;
|
|
2061
|
+
warnings?: string[] | undefined;
|
|
2062
|
+
errors?: string[] | undefined;
|
|
2063
|
+
} | null;
|
|
2064
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
2065
|
+
artifactId: string;
|
|
2066
|
+
updatedAt: string;
|
|
2067
|
+
commitSha: string | null;
|
|
2068
|
+
branchName: string | null;
|
|
2069
|
+
pullRequestNumber: number | null;
|
|
2070
|
+
pullRequestUrl: string | null;
|
|
2071
|
+
selectedTaskIds: string[];
|
|
2072
|
+
fileCount: number | null;
|
|
2073
|
+
taskStatuses: {
|
|
2074
|
+
status: string;
|
|
2075
|
+
taskId: string;
|
|
2076
|
+
}[];
|
|
2077
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
2078
|
+
proofInvalidReason?: string | undefined;
|
|
2079
|
+
}, {
|
|
2080
|
+
validation: {
|
|
2081
|
+
ok: boolean;
|
|
2082
|
+
warnings?: string[] | undefined;
|
|
2083
|
+
errors?: string[] | undefined;
|
|
2084
|
+
} | null;
|
|
2085
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
2086
|
+
artifactId: string;
|
|
2087
|
+
updatedAt: string;
|
|
2088
|
+
commitSha: string | null;
|
|
2089
|
+
branchName: string | null;
|
|
2090
|
+
pullRequestNumber: number | null;
|
|
2091
|
+
pullRequestUrl: string | null;
|
|
2092
|
+
selectedTaskIds: string[];
|
|
2093
|
+
fileCount: number | null;
|
|
2094
|
+
taskStatuses: {
|
|
2095
|
+
status: string;
|
|
2096
|
+
taskId: string;
|
|
2097
|
+
}[];
|
|
2098
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
2099
|
+
proofInvalidReason?: string | undefined;
|
|
2100
|
+
}>;
|
|
2101
|
+
}, "strip", z.ZodTypeAny, {
|
|
2102
|
+
patch: {
|
|
2103
|
+
validation: {
|
|
2104
|
+
ok: boolean;
|
|
2105
|
+
warnings?: string[] | undefined;
|
|
2106
|
+
errors?: string[] | undefined;
|
|
2107
|
+
} | null;
|
|
2108
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
2109
|
+
artifactId: string;
|
|
2110
|
+
updatedAt: string;
|
|
2111
|
+
commitSha: string | null;
|
|
2112
|
+
branchName: string | null;
|
|
2113
|
+
pullRequestNumber: number | null;
|
|
2114
|
+
pullRequestUrl: string | null;
|
|
2115
|
+
selectedTaskIds: string[];
|
|
2116
|
+
fileCount: number | null;
|
|
2117
|
+
taskStatuses: {
|
|
2118
|
+
status: string;
|
|
2119
|
+
taskId: string;
|
|
2120
|
+
}[];
|
|
2121
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
2122
|
+
proofInvalidReason?: string | undefined;
|
|
2123
|
+
};
|
|
2124
|
+
}, {
|
|
2125
|
+
patch: {
|
|
2126
|
+
validation: {
|
|
2127
|
+
ok: boolean;
|
|
2128
|
+
warnings?: string[] | undefined;
|
|
2129
|
+
errors?: string[] | undefined;
|
|
2130
|
+
} | null;
|
|
2131
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
2132
|
+
artifactId: string;
|
|
2133
|
+
updatedAt: string;
|
|
2134
|
+
commitSha: string | null;
|
|
2135
|
+
branchName: string | null;
|
|
2136
|
+
pullRequestNumber: number | null;
|
|
2137
|
+
pullRequestUrl: string | null;
|
|
2138
|
+
selectedTaskIds: string[];
|
|
2139
|
+
fileCount: number | null;
|
|
2140
|
+
taskStatuses: {
|
|
2141
|
+
status: string;
|
|
2142
|
+
taskId: string;
|
|
2143
|
+
}[];
|
|
2144
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
2145
|
+
proofInvalidReason?: string | undefined;
|
|
2146
|
+
};
|
|
2147
|
+
}>;
|
|
2148
|
+
export type ImplementPatchDetailResponse = z.infer<typeof ImplementPatchDetailResponseSchema>;
|
|
2149
|
+
/** @deprecated Use ImplementPatchSetListResponseSchema from implement-patch-detail (Sprint I1). */
|
|
2150
|
+
export declare const ImplementPatchHistoryResponseSchema: z.ZodObject<{
|
|
2151
|
+
patches: z.ZodArray<z.ZodObject<{
|
|
2152
|
+
artifactId: z.ZodString;
|
|
2153
|
+
status: z.ZodEnum<["draft", "validated", "pushed", "pr_created", "failed", "rejected"]>;
|
|
2154
|
+
branchName: z.ZodNullable<z.ZodString>;
|
|
2155
|
+
commitSha: z.ZodNullable<z.ZodString>;
|
|
2156
|
+
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
2157
|
+
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
2158
|
+
selectedTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
2159
|
+
fileCount: z.ZodNullable<z.ZodNumber>;
|
|
2160
|
+
updatedAt: z.ZodString;
|
|
2161
|
+
proofSource: z.ZodOptional<z.ZodEnum<["product_api", "manual_gh", "manual_sql", "imported", "unknown"]>>;
|
|
2162
|
+
proofInvalidReason: z.ZodOptional<z.ZodString>;
|
|
2163
|
+
}, "strip", z.ZodTypeAny, {
|
|
2164
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
2165
|
+
artifactId: string;
|
|
2166
|
+
updatedAt: string;
|
|
2167
|
+
commitSha: string | null;
|
|
2168
|
+
branchName: string | null;
|
|
2169
|
+
pullRequestNumber: number | null;
|
|
2170
|
+
pullRequestUrl: string | null;
|
|
2171
|
+
selectedTaskIds: string[];
|
|
2172
|
+
fileCount: number | null;
|
|
2173
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
2174
|
+
proofInvalidReason?: string | undefined;
|
|
2175
|
+
}, {
|
|
2176
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
2177
|
+
artifactId: string;
|
|
2178
|
+
updatedAt: string;
|
|
2179
|
+
commitSha: string | null;
|
|
2180
|
+
branchName: string | null;
|
|
2181
|
+
pullRequestNumber: number | null;
|
|
2182
|
+
pullRequestUrl: string | null;
|
|
2183
|
+
selectedTaskIds: string[];
|
|
2184
|
+
fileCount: number | null;
|
|
2185
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
2186
|
+
proofInvalidReason?: string | undefined;
|
|
2187
|
+
}>, "many">;
|
|
2188
|
+
}, "strip", z.ZodTypeAny, {
|
|
2189
|
+
patches: {
|
|
2190
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
2191
|
+
artifactId: string;
|
|
2192
|
+
updatedAt: string;
|
|
2193
|
+
commitSha: string | null;
|
|
2194
|
+
branchName: string | null;
|
|
2195
|
+
pullRequestNumber: number | null;
|
|
2196
|
+
pullRequestUrl: string | null;
|
|
2197
|
+
selectedTaskIds: string[];
|
|
2198
|
+
fileCount: number | null;
|
|
2199
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
2200
|
+
proofInvalidReason?: string | undefined;
|
|
2201
|
+
}[];
|
|
2202
|
+
}, {
|
|
2203
|
+
patches: {
|
|
2204
|
+
status: "failed" | "rejected" | "draft" | "validated" | "pushed" | "pr_created";
|
|
2205
|
+
artifactId: string;
|
|
2206
|
+
updatedAt: string;
|
|
2207
|
+
commitSha: string | null;
|
|
2208
|
+
branchName: string | null;
|
|
2209
|
+
pullRequestNumber: number | null;
|
|
2210
|
+
pullRequestUrl: string | null;
|
|
2211
|
+
selectedTaskIds: string[];
|
|
2212
|
+
fileCount: number | null;
|
|
2213
|
+
proofSource?: "unknown" | "product_api" | "manual_gh" | "manual_sql" | "imported" | undefined;
|
|
2214
|
+
proofInvalidReason?: string | undefined;
|
|
2215
|
+
}[];
|
|
2216
|
+
}>;
|
|
2217
|
+
export type ImplementPatchHistoryResponse = z.infer<typeof ImplementPatchHistoryResponseSchema>;
|
|
2218
|
+
export declare const ImplementOrchestrationScopeSchema: z.ZodEnum<["eligible", "selected", "failed", "domain"]>;
|
|
2219
|
+
export type ImplementOrchestrationScope = z.infer<typeof ImplementOrchestrationScopeSchema>;
|
|
2220
|
+
export declare const ImplementOrchestrationBatchStatusSchema: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "skipped"]>;
|
|
2221
|
+
export type ImplementOrchestrationBatchStatus = z.infer<typeof ImplementOrchestrationBatchStatusSchema>;
|
|
2222
|
+
export declare const ImplementOrchestrationStatusEnumSchema: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "partially_failed", "cancelled"]>;
|
|
2223
|
+
export type ImplementOrchestrationStatusEnum = z.infer<typeof ImplementOrchestrationStatusEnumSchema>;
|
|
2224
|
+
export declare const ImplementOrchestrationWarningSchema: z.ZodObject<{
|
|
2225
|
+
code: z.ZodString;
|
|
2226
|
+
message: z.ZodString;
|
|
2227
|
+
severity: z.ZodEnum<["info", "warning", "error"]>;
|
|
2228
|
+
}, "strip", z.ZodTypeAny, {
|
|
2229
|
+
code: string;
|
|
2230
|
+
message: string;
|
|
2231
|
+
severity: "info" | "warning" | "error";
|
|
2232
|
+
}, {
|
|
2233
|
+
code: string;
|
|
2234
|
+
message: string;
|
|
2235
|
+
severity: "info" | "warning" | "error";
|
|
2236
|
+
}>;
|
|
2237
|
+
export type ImplementOrchestrationWarning = z.infer<typeof ImplementOrchestrationWarningSchema>;
|
|
2238
|
+
export declare const ImplementOrchestrationBatchSchema: z.ZodObject<{
|
|
2239
|
+
batchId: z.ZodString;
|
|
2240
|
+
domain: z.ZodString;
|
|
2241
|
+
layer: z.ZodString;
|
|
2242
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
2243
|
+
status: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "skipped"]>;
|
|
2244
|
+
dependsOnBatchIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2245
|
+
patchSetId: z.ZodOptional<z.ZodString>;
|
|
2246
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2247
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
2248
|
+
}, "strip", z.ZodTypeAny, {
|
|
2249
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2250
|
+
domain: string;
|
|
2251
|
+
batchId: string;
|
|
2252
|
+
layer: string;
|
|
2253
|
+
taskIds: string[];
|
|
2254
|
+
dependsOnBatchIds: string[];
|
|
2255
|
+
error?: string | undefined;
|
|
2256
|
+
pullRequestUrl?: string | undefined;
|
|
2257
|
+
patchSetId?: string | undefined;
|
|
2258
|
+
}, {
|
|
2259
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2260
|
+
domain: string;
|
|
2261
|
+
batchId: string;
|
|
2262
|
+
layer: string;
|
|
2263
|
+
taskIds: string[];
|
|
2264
|
+
error?: string | undefined;
|
|
2265
|
+
pullRequestUrl?: string | undefined;
|
|
2266
|
+
patchSetId?: string | undefined;
|
|
2267
|
+
dependsOnBatchIds?: string[] | undefined;
|
|
2268
|
+
}>;
|
|
2269
|
+
export type ImplementOrchestrationBatch = z.infer<typeof ImplementOrchestrationBatchSchema>;
|
|
2270
|
+
export declare const ImplementOrchestrationRequestSchema: z.ZodObject<{
|
|
2271
|
+
projectId: z.ZodString;
|
|
2272
|
+
mode: z.ZodDefault<z.ZodEnum<["initial", "iterate", "repair", "regenerate"]>>;
|
|
2273
|
+
scope: z.ZodDefault<z.ZodEnum<["eligible", "selected", "failed", "domain"]>>;
|
|
2274
|
+
taskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2275
|
+
domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2276
|
+
/** Default 3 matches openai_patch per-patch cap (was 8 while hard-capped to 1 — the "lie"). */
|
|
2277
|
+
batchSize: z.ZodDefault<z.ZodNumber>;
|
|
2278
|
+
concurrency: z.ZodDefault<z.ZodNumber>;
|
|
2279
|
+
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
2280
|
+
/** When true, skips open-PR / in-review guardrail on orchestration start. */
|
|
2281
|
+
force: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2282
|
+
/** When true, allow a second open PR for the same task cohort (split/batch override). */
|
|
2283
|
+
forceNewPr: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2284
|
+
}, "strip", z.ZodTypeAny, {
|
|
2285
|
+
projectId: string;
|
|
2286
|
+
dryRun: boolean;
|
|
2287
|
+
mode: "initial" | "iterate" | "repair" | "regenerate";
|
|
2288
|
+
scope: "failed" | "domain" | "eligible" | "selected";
|
|
2289
|
+
forceNewPr: boolean;
|
|
2290
|
+
batchSize: number;
|
|
2291
|
+
concurrency: number;
|
|
2292
|
+
force: boolean;
|
|
2293
|
+
domains?: string[] | undefined;
|
|
2294
|
+
taskIds?: string[] | undefined;
|
|
2295
|
+
}, {
|
|
2296
|
+
projectId: string;
|
|
2297
|
+
dryRun?: boolean | undefined;
|
|
2298
|
+
mode?: "initial" | "iterate" | "repair" | "regenerate" | undefined;
|
|
2299
|
+
scope?: "failed" | "domain" | "eligible" | "selected" | undefined;
|
|
2300
|
+
domains?: string[] | undefined;
|
|
2301
|
+
taskIds?: string[] | undefined;
|
|
2302
|
+
forceNewPr?: boolean | undefined;
|
|
2303
|
+
batchSize?: number | undefined;
|
|
2304
|
+
concurrency?: number | undefined;
|
|
2305
|
+
force?: boolean | undefined;
|
|
2306
|
+
}>;
|
|
2307
|
+
export type ImplementOrchestrationRequest = z.infer<typeof ImplementOrchestrationRequestSchema>;
|
|
2308
|
+
export declare const ImplementOrchestrationResponseSchema: z.ZodObject<{
|
|
2309
|
+
orchestrationId: z.ZodString;
|
|
2310
|
+
status: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "partially_failed", "cancelled"]>;
|
|
2311
|
+
mode: z.ZodEnum<["initial", "iterate", "repair", "regenerate"]>;
|
|
2312
|
+
totalTasks: z.ZodNumber;
|
|
2313
|
+
totalBatches: z.ZodNumber;
|
|
2314
|
+
batches: z.ZodArray<z.ZodObject<{
|
|
2315
|
+
batchId: z.ZodString;
|
|
2316
|
+
domain: z.ZodString;
|
|
2317
|
+
layer: z.ZodString;
|
|
2318
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
2319
|
+
status: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "skipped"]>;
|
|
2320
|
+
dependsOnBatchIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2321
|
+
patchSetId: z.ZodOptional<z.ZodString>;
|
|
2322
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2323
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
2324
|
+
}, "strip", z.ZodTypeAny, {
|
|
2325
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2326
|
+
domain: string;
|
|
2327
|
+
batchId: string;
|
|
2328
|
+
layer: string;
|
|
2329
|
+
taskIds: string[];
|
|
2330
|
+
dependsOnBatchIds: string[];
|
|
2331
|
+
error?: string | undefined;
|
|
2332
|
+
pullRequestUrl?: string | undefined;
|
|
2333
|
+
patchSetId?: string | undefined;
|
|
2334
|
+
}, {
|
|
2335
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2336
|
+
domain: string;
|
|
2337
|
+
batchId: string;
|
|
2338
|
+
layer: string;
|
|
2339
|
+
taskIds: string[];
|
|
2340
|
+
error?: string | undefined;
|
|
2341
|
+
pullRequestUrl?: string | undefined;
|
|
2342
|
+
patchSetId?: string | undefined;
|
|
2343
|
+
dependsOnBatchIds?: string[] | undefined;
|
|
2344
|
+
}>, "many">;
|
|
2345
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2346
|
+
code: z.ZodString;
|
|
2347
|
+
message: z.ZodString;
|
|
2348
|
+
severity: z.ZodEnum<["info", "warning", "error"]>;
|
|
2349
|
+
}, "strip", z.ZodTypeAny, {
|
|
2350
|
+
code: string;
|
|
2351
|
+
message: string;
|
|
2352
|
+
severity: "info" | "warning" | "error";
|
|
2353
|
+
}, {
|
|
2354
|
+
code: string;
|
|
2355
|
+
message: string;
|
|
2356
|
+
severity: "info" | "warning" | "error";
|
|
2357
|
+
}>, "many">>;
|
|
2358
|
+
}, "strip", z.ZodTypeAny, {
|
|
2359
|
+
status: "running" | "completed" | "failed" | "queued" | "planned" | "cancelled" | "partially_failed";
|
|
2360
|
+
warnings: {
|
|
2361
|
+
code: string;
|
|
2362
|
+
message: string;
|
|
2363
|
+
severity: "info" | "warning" | "error";
|
|
2364
|
+
}[];
|
|
2365
|
+
mode: "initial" | "iterate" | "repair" | "regenerate";
|
|
2366
|
+
orchestrationId: string;
|
|
2367
|
+
totalTasks: number;
|
|
2368
|
+
totalBatches: number;
|
|
2369
|
+
batches: {
|
|
2370
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2371
|
+
domain: string;
|
|
2372
|
+
batchId: string;
|
|
2373
|
+
layer: string;
|
|
2374
|
+
taskIds: string[];
|
|
2375
|
+
dependsOnBatchIds: string[];
|
|
2376
|
+
error?: string | undefined;
|
|
2377
|
+
pullRequestUrl?: string | undefined;
|
|
2378
|
+
patchSetId?: string | undefined;
|
|
2379
|
+
}[];
|
|
2380
|
+
}, {
|
|
2381
|
+
status: "running" | "completed" | "failed" | "queued" | "planned" | "cancelled" | "partially_failed";
|
|
2382
|
+
mode: "initial" | "iterate" | "repair" | "regenerate";
|
|
2383
|
+
orchestrationId: string;
|
|
2384
|
+
totalTasks: number;
|
|
2385
|
+
totalBatches: number;
|
|
2386
|
+
batches: {
|
|
2387
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2388
|
+
domain: string;
|
|
2389
|
+
batchId: string;
|
|
2390
|
+
layer: string;
|
|
2391
|
+
taskIds: string[];
|
|
2392
|
+
error?: string | undefined;
|
|
2393
|
+
pullRequestUrl?: string | undefined;
|
|
2394
|
+
patchSetId?: string | undefined;
|
|
2395
|
+
dependsOnBatchIds?: string[] | undefined;
|
|
2396
|
+
}[];
|
|
2397
|
+
warnings?: {
|
|
2398
|
+
code: string;
|
|
2399
|
+
message: string;
|
|
2400
|
+
severity: "info" | "warning" | "error";
|
|
2401
|
+
}[] | undefined;
|
|
2402
|
+
}>;
|
|
2403
|
+
export type ImplementOrchestrationResponse = z.infer<typeof ImplementOrchestrationResponseSchema>;
|
|
2404
|
+
export declare const ImplementOrchestrationFailureSchema: z.ZodObject<{
|
|
2405
|
+
batchId: z.ZodString;
|
|
2406
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
2407
|
+
code: z.ZodString;
|
|
2408
|
+
message: z.ZodString;
|
|
2409
|
+
retryable: z.ZodBoolean;
|
|
2410
|
+
}, "strip", z.ZodTypeAny, {
|
|
2411
|
+
code: string;
|
|
2412
|
+
message: string;
|
|
2413
|
+
batchId: string;
|
|
2414
|
+
retryable: boolean;
|
|
2415
|
+
taskId?: string | undefined;
|
|
2416
|
+
}, {
|
|
2417
|
+
code: string;
|
|
2418
|
+
message: string;
|
|
2419
|
+
batchId: string;
|
|
2420
|
+
retryable: boolean;
|
|
2421
|
+
taskId?: string | undefined;
|
|
2422
|
+
}>;
|
|
2423
|
+
export type ImplementOrchestrationFailure = z.infer<typeof ImplementOrchestrationFailureSchema>;
|
|
2424
|
+
export declare const ImplementOrchestrationStatusSchema: z.ZodObject<{
|
|
2425
|
+
orchestrationId: z.ZodString;
|
|
2426
|
+
status: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "partially_failed", "cancelled"]>;
|
|
2427
|
+
progress: z.ZodObject<{
|
|
2428
|
+
completedTasks: z.ZodNumber;
|
|
2429
|
+
failedTasks: z.ZodNumber;
|
|
2430
|
+
totalTasks: z.ZodNumber;
|
|
2431
|
+
completedBatches: z.ZodNumber;
|
|
2432
|
+
failedBatches: z.ZodNumber;
|
|
2433
|
+
totalBatches: z.ZodNumber;
|
|
2434
|
+
}, "strip", z.ZodTypeAny, {
|
|
2435
|
+
totalTasks: number;
|
|
2436
|
+
totalBatches: number;
|
|
2437
|
+
completedTasks: number;
|
|
2438
|
+
failedTasks: number;
|
|
2439
|
+
completedBatches: number;
|
|
2440
|
+
failedBatches: number;
|
|
2441
|
+
}, {
|
|
2442
|
+
totalTasks: number;
|
|
2443
|
+
totalBatches: number;
|
|
2444
|
+
completedTasks: number;
|
|
2445
|
+
failedTasks: number;
|
|
2446
|
+
completedBatches: number;
|
|
2447
|
+
failedBatches: number;
|
|
2448
|
+
}>;
|
|
2449
|
+
currentBatches: z.ZodArray<z.ZodObject<{
|
|
2450
|
+
batchId: z.ZodString;
|
|
2451
|
+
domain: z.ZodString;
|
|
2452
|
+
layer: z.ZodString;
|
|
2453
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
2454
|
+
status: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "skipped"]>;
|
|
2455
|
+
dependsOnBatchIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2456
|
+
patchSetId: z.ZodOptional<z.ZodString>;
|
|
2457
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2458
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
2459
|
+
}, "strip", z.ZodTypeAny, {
|
|
2460
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2461
|
+
domain: string;
|
|
2462
|
+
batchId: string;
|
|
2463
|
+
layer: string;
|
|
2464
|
+
taskIds: string[];
|
|
2465
|
+
dependsOnBatchIds: string[];
|
|
2466
|
+
error?: string | undefined;
|
|
2467
|
+
pullRequestUrl?: string | undefined;
|
|
2468
|
+
patchSetId?: string | undefined;
|
|
2469
|
+
}, {
|
|
2470
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2471
|
+
domain: string;
|
|
2472
|
+
batchId: string;
|
|
2473
|
+
layer: string;
|
|
2474
|
+
taskIds: string[];
|
|
2475
|
+
error?: string | undefined;
|
|
2476
|
+
pullRequestUrl?: string | undefined;
|
|
2477
|
+
patchSetId?: string | undefined;
|
|
2478
|
+
dependsOnBatchIds?: string[] | undefined;
|
|
2479
|
+
}>, "many">;
|
|
2480
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
2481
|
+
batchId: z.ZodString;
|
|
2482
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
2483
|
+
code: z.ZodString;
|
|
2484
|
+
message: z.ZodString;
|
|
2485
|
+
retryable: z.ZodBoolean;
|
|
2486
|
+
}, "strip", z.ZodTypeAny, {
|
|
2487
|
+
code: string;
|
|
2488
|
+
message: string;
|
|
2489
|
+
batchId: string;
|
|
2490
|
+
retryable: boolean;
|
|
2491
|
+
taskId?: string | undefined;
|
|
2492
|
+
}, {
|
|
2493
|
+
code: string;
|
|
2494
|
+
message: string;
|
|
2495
|
+
batchId: string;
|
|
2496
|
+
retryable: boolean;
|
|
2497
|
+
taskId?: string | undefined;
|
|
2498
|
+
}>, "many">;
|
|
2499
|
+
}, "strip", z.ZodTypeAny, {
|
|
2500
|
+
status: "running" | "completed" | "failed" | "queued" | "planned" | "cancelled" | "partially_failed";
|
|
2501
|
+
orchestrationId: string;
|
|
2502
|
+
progress: {
|
|
2503
|
+
totalTasks: number;
|
|
2504
|
+
totalBatches: number;
|
|
2505
|
+
completedTasks: number;
|
|
2506
|
+
failedTasks: number;
|
|
2507
|
+
completedBatches: number;
|
|
2508
|
+
failedBatches: number;
|
|
2509
|
+
};
|
|
2510
|
+
currentBatches: {
|
|
2511
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2512
|
+
domain: string;
|
|
2513
|
+
batchId: string;
|
|
2514
|
+
layer: string;
|
|
2515
|
+
taskIds: string[];
|
|
2516
|
+
dependsOnBatchIds: string[];
|
|
2517
|
+
error?: string | undefined;
|
|
2518
|
+
pullRequestUrl?: string | undefined;
|
|
2519
|
+
patchSetId?: string | undefined;
|
|
2520
|
+
}[];
|
|
2521
|
+
failures: {
|
|
2522
|
+
code: string;
|
|
2523
|
+
message: string;
|
|
2524
|
+
batchId: string;
|
|
2525
|
+
retryable: boolean;
|
|
2526
|
+
taskId?: string | undefined;
|
|
2527
|
+
}[];
|
|
2528
|
+
}, {
|
|
2529
|
+
status: "running" | "completed" | "failed" | "queued" | "planned" | "cancelled" | "partially_failed";
|
|
2530
|
+
orchestrationId: string;
|
|
2531
|
+
progress: {
|
|
2532
|
+
totalTasks: number;
|
|
2533
|
+
totalBatches: number;
|
|
2534
|
+
completedTasks: number;
|
|
2535
|
+
failedTasks: number;
|
|
2536
|
+
completedBatches: number;
|
|
2537
|
+
failedBatches: number;
|
|
2538
|
+
};
|
|
2539
|
+
currentBatches: {
|
|
2540
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2541
|
+
domain: string;
|
|
2542
|
+
batchId: string;
|
|
2543
|
+
layer: string;
|
|
2544
|
+
taskIds: string[];
|
|
2545
|
+
error?: string | undefined;
|
|
2546
|
+
pullRequestUrl?: string | undefined;
|
|
2547
|
+
patchSetId?: string | undefined;
|
|
2548
|
+
dependsOnBatchIds?: string[] | undefined;
|
|
2549
|
+
}[];
|
|
2550
|
+
failures: {
|
|
2551
|
+
code: string;
|
|
2552
|
+
message: string;
|
|
2553
|
+
batchId: string;
|
|
2554
|
+
retryable: boolean;
|
|
2555
|
+
taskId?: string | undefined;
|
|
2556
|
+
}[];
|
|
2557
|
+
}>;
|
|
2558
|
+
export type ImplementOrchestrationStatus = z.infer<typeof ImplementOrchestrationStatusSchema>;
|
|
2559
|
+
/** Governed one-button implement run (runId === orchestrationId). */
|
|
2560
|
+
export declare const ImplementRunStrategySchema: z.ZodEnum<["safe_parallel", "sequential", "repair_only", "selected"]>;
|
|
2561
|
+
export type ImplementRunStrategy = z.infer<typeof ImplementRunStrategySchema>;
|
|
2562
|
+
export declare const ImplementRunEnginePreferenceSchema: z.ZodEnum<["openai_patch", "cursor_cloud", "codex"]>;
|
|
2563
|
+
export type ImplementRunEnginePreference = z.infer<typeof ImplementRunEnginePreferenceSchema>;
|
|
2564
|
+
export declare const ImplementRunStartRequestSchema: z.ZodObject<{
|
|
2565
|
+
strategy: z.ZodDefault<z.ZodEnum<["safe_parallel", "sequential", "repair_only", "selected"]>>;
|
|
2566
|
+
maxParallelBatches: z.ZodDefault<z.ZodNumber>;
|
|
2567
|
+
maxTasksPerBatch: z.ZodDefault<z.ZodNumber>;
|
|
2568
|
+
maxRepairAttemptsPerPatch: z.ZodDefault<z.ZodNumber>;
|
|
2569
|
+
enginePreference: z.ZodDefault<z.ZodArray<z.ZodEnum<["openai_patch", "cursor_cloud", "codex"]>, "many">>;
|
|
2570
|
+
skipPreviouslyQuarantined: z.ZodDefault<z.ZodBoolean>;
|
|
2571
|
+
stopAfterFirstPr: z.ZodDefault<z.ZodBoolean>;
|
|
2572
|
+
/** Explicit task selection for strategy=selected or operator override. */
|
|
2573
|
+
taskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2574
|
+
}, "strip", z.ZodTypeAny, {
|
|
2575
|
+
stopAfterFirstPr: boolean;
|
|
2576
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2577
|
+
maxParallelBatches: number;
|
|
2578
|
+
maxTasksPerBatch: number;
|
|
2579
|
+
maxRepairAttemptsPerPatch: number;
|
|
2580
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2581
|
+
skipPreviouslyQuarantined: boolean;
|
|
2582
|
+
taskIds?: string[] | undefined;
|
|
2583
|
+
}, {
|
|
2584
|
+
taskIds?: string[] | undefined;
|
|
2585
|
+
stopAfterFirstPr?: boolean | undefined;
|
|
2586
|
+
strategy?: "selected" | "safe_parallel" | "sequential" | "repair_only" | undefined;
|
|
2587
|
+
maxParallelBatches?: number | undefined;
|
|
2588
|
+
maxTasksPerBatch?: number | undefined;
|
|
2589
|
+
maxRepairAttemptsPerPatch?: number | undefined;
|
|
2590
|
+
enginePreference?: ("cursor_cloud" | "openai_patch" | "codex")[] | undefined;
|
|
2591
|
+
skipPreviouslyQuarantined?: boolean | undefined;
|
|
2592
|
+
}>;
|
|
2593
|
+
export type ImplementRunStartRequest = z.infer<typeof ImplementRunStartRequestSchema>;
|
|
2594
|
+
export declare const ImplementRunGovernedConfigSchema: z.ZodObject<{
|
|
2595
|
+
strategy: z.ZodEnum<["safe_parallel", "sequential", "repair_only", "selected"]>;
|
|
2596
|
+
maxParallelBatches: z.ZodNumber;
|
|
2597
|
+
maxTasksPerBatch: z.ZodNumber;
|
|
2598
|
+
maxRepairAttemptsPerPatch: z.ZodNumber;
|
|
2599
|
+
stopAfterFirstPr: z.ZodBoolean;
|
|
2600
|
+
enginePreference: z.ZodArray<z.ZodEnum<["openai_patch", "cursor_cloud", "codex"]>, "many">;
|
|
2601
|
+
skipPreviouslyQuarantined: z.ZodBoolean;
|
|
2602
|
+
}, "strip", z.ZodTypeAny, {
|
|
2603
|
+
stopAfterFirstPr: boolean;
|
|
2604
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2605
|
+
maxParallelBatches: number;
|
|
2606
|
+
maxTasksPerBatch: number;
|
|
2607
|
+
maxRepairAttemptsPerPatch: number;
|
|
2608
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2609
|
+
skipPreviouslyQuarantined: boolean;
|
|
2610
|
+
}, {
|
|
2611
|
+
stopAfterFirstPr: boolean;
|
|
2612
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2613
|
+
maxParallelBatches: number;
|
|
2614
|
+
maxTasksPerBatch: number;
|
|
2615
|
+
maxRepairAttemptsPerPatch: number;
|
|
2616
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2617
|
+
skipPreviouslyQuarantined: boolean;
|
|
2618
|
+
}>;
|
|
2619
|
+
export type ImplementRunGovernedConfig = z.infer<typeof ImplementRunGovernedConfigSchema>;
|
|
2620
|
+
export declare const ImplementRunStartResponseSchema: z.ZodObject<{
|
|
2621
|
+
runId: z.ZodString;
|
|
2622
|
+
orchestrationId: z.ZodString;
|
|
2623
|
+
status: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "partially_failed", "cancelled"]>;
|
|
2624
|
+
mode: z.ZodEnum<["initial", "iterate", "repair", "regenerate"]>;
|
|
2625
|
+
totalTasks: z.ZodNumber;
|
|
2626
|
+
totalBatches: z.ZodNumber;
|
|
2627
|
+
batches: z.ZodArray<z.ZodObject<{
|
|
2628
|
+
batchId: z.ZodString;
|
|
2629
|
+
domain: z.ZodString;
|
|
2630
|
+
layer: z.ZodString;
|
|
2631
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
2632
|
+
status: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "skipped"]>;
|
|
2633
|
+
dependsOnBatchIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2634
|
+
patchSetId: z.ZodOptional<z.ZodString>;
|
|
2635
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2636
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
2637
|
+
}, "strip", z.ZodTypeAny, {
|
|
2638
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2639
|
+
domain: string;
|
|
2640
|
+
batchId: string;
|
|
2641
|
+
layer: string;
|
|
2642
|
+
taskIds: string[];
|
|
2643
|
+
dependsOnBatchIds: string[];
|
|
2644
|
+
error?: string | undefined;
|
|
2645
|
+
pullRequestUrl?: string | undefined;
|
|
2646
|
+
patchSetId?: string | undefined;
|
|
2647
|
+
}, {
|
|
2648
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2649
|
+
domain: string;
|
|
2650
|
+
batchId: string;
|
|
2651
|
+
layer: string;
|
|
2652
|
+
taskIds: string[];
|
|
2653
|
+
error?: string | undefined;
|
|
2654
|
+
pullRequestUrl?: string | undefined;
|
|
2655
|
+
patchSetId?: string | undefined;
|
|
2656
|
+
dependsOnBatchIds?: string[] | undefined;
|
|
2657
|
+
}>, "many">;
|
|
2658
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2659
|
+
code: z.ZodString;
|
|
2660
|
+
message: z.ZodString;
|
|
2661
|
+
severity: z.ZodEnum<["info", "warning", "error"]>;
|
|
2662
|
+
}, "strip", z.ZodTypeAny, {
|
|
2663
|
+
code: string;
|
|
2664
|
+
message: string;
|
|
2665
|
+
severity: "info" | "warning" | "error";
|
|
2666
|
+
}, {
|
|
2667
|
+
code: string;
|
|
2668
|
+
message: string;
|
|
2669
|
+
severity: "info" | "warning" | "error";
|
|
2670
|
+
}>, "many">>;
|
|
2671
|
+
governedConfig: z.ZodObject<{
|
|
2672
|
+
strategy: z.ZodEnum<["safe_parallel", "sequential", "repair_only", "selected"]>;
|
|
2673
|
+
maxParallelBatches: z.ZodNumber;
|
|
2674
|
+
maxTasksPerBatch: z.ZodNumber;
|
|
2675
|
+
maxRepairAttemptsPerPatch: z.ZodNumber;
|
|
2676
|
+
stopAfterFirstPr: z.ZodBoolean;
|
|
2677
|
+
enginePreference: z.ZodArray<z.ZodEnum<["openai_patch", "cursor_cloud", "codex"]>, "many">;
|
|
2678
|
+
skipPreviouslyQuarantined: z.ZodBoolean;
|
|
2679
|
+
}, "strip", z.ZodTypeAny, {
|
|
2680
|
+
stopAfterFirstPr: boolean;
|
|
2681
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2682
|
+
maxParallelBatches: number;
|
|
2683
|
+
maxTasksPerBatch: number;
|
|
2684
|
+
maxRepairAttemptsPerPatch: number;
|
|
2685
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2686
|
+
skipPreviouslyQuarantined: boolean;
|
|
2687
|
+
}, {
|
|
2688
|
+
stopAfterFirstPr: boolean;
|
|
2689
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2690
|
+
maxParallelBatches: number;
|
|
2691
|
+
maxTasksPerBatch: number;
|
|
2692
|
+
maxRepairAttemptsPerPatch: number;
|
|
2693
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2694
|
+
skipPreviouslyQuarantined: boolean;
|
|
2695
|
+
}>;
|
|
2696
|
+
}, "strip", z.ZodTypeAny, {
|
|
2697
|
+
status: "running" | "completed" | "failed" | "queued" | "planned" | "cancelled" | "partially_failed";
|
|
2698
|
+
warnings: {
|
|
2699
|
+
code: string;
|
|
2700
|
+
message: string;
|
|
2701
|
+
severity: "info" | "warning" | "error";
|
|
2702
|
+
}[];
|
|
2703
|
+
mode: "initial" | "iterate" | "repair" | "regenerate";
|
|
2704
|
+
runId: string;
|
|
2705
|
+
orchestrationId: string;
|
|
2706
|
+
totalTasks: number;
|
|
2707
|
+
totalBatches: number;
|
|
2708
|
+
batches: {
|
|
2709
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2710
|
+
domain: string;
|
|
2711
|
+
batchId: string;
|
|
2712
|
+
layer: string;
|
|
2713
|
+
taskIds: string[];
|
|
2714
|
+
dependsOnBatchIds: string[];
|
|
2715
|
+
error?: string | undefined;
|
|
2716
|
+
pullRequestUrl?: string | undefined;
|
|
2717
|
+
patchSetId?: string | undefined;
|
|
2718
|
+
}[];
|
|
2719
|
+
governedConfig: {
|
|
2720
|
+
stopAfterFirstPr: boolean;
|
|
2721
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2722
|
+
maxParallelBatches: number;
|
|
2723
|
+
maxTasksPerBatch: number;
|
|
2724
|
+
maxRepairAttemptsPerPatch: number;
|
|
2725
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2726
|
+
skipPreviouslyQuarantined: boolean;
|
|
2727
|
+
};
|
|
2728
|
+
}, {
|
|
2729
|
+
status: "running" | "completed" | "failed" | "queued" | "planned" | "cancelled" | "partially_failed";
|
|
2730
|
+
mode: "initial" | "iterate" | "repair" | "regenerate";
|
|
2731
|
+
runId: string;
|
|
2732
|
+
orchestrationId: string;
|
|
2733
|
+
totalTasks: number;
|
|
2734
|
+
totalBatches: number;
|
|
2735
|
+
batches: {
|
|
2736
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2737
|
+
domain: string;
|
|
2738
|
+
batchId: string;
|
|
2739
|
+
layer: string;
|
|
2740
|
+
taskIds: string[];
|
|
2741
|
+
error?: string | undefined;
|
|
2742
|
+
pullRequestUrl?: string | undefined;
|
|
2743
|
+
patchSetId?: string | undefined;
|
|
2744
|
+
dependsOnBatchIds?: string[] | undefined;
|
|
2745
|
+
}[];
|
|
2746
|
+
governedConfig: {
|
|
2747
|
+
stopAfterFirstPr: boolean;
|
|
2748
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2749
|
+
maxParallelBatches: number;
|
|
2750
|
+
maxTasksPerBatch: number;
|
|
2751
|
+
maxRepairAttemptsPerPatch: number;
|
|
2752
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2753
|
+
skipPreviouslyQuarantined: boolean;
|
|
2754
|
+
};
|
|
2755
|
+
warnings?: {
|
|
2756
|
+
code: string;
|
|
2757
|
+
message: string;
|
|
2758
|
+
severity: "info" | "warning" | "error";
|
|
2759
|
+
}[] | undefined;
|
|
2760
|
+
}>;
|
|
2761
|
+
export type ImplementRunStartResponse = z.infer<typeof ImplementRunStartResponseSchema>;
|
|
2762
|
+
export declare const ImplementRunStatusSchema: z.ZodObject<{
|
|
2763
|
+
orchestrationId: z.ZodString;
|
|
2764
|
+
status: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "partially_failed", "cancelled"]>;
|
|
2765
|
+
progress: z.ZodObject<{
|
|
2766
|
+
completedTasks: z.ZodNumber;
|
|
2767
|
+
failedTasks: z.ZodNumber;
|
|
2768
|
+
totalTasks: z.ZodNumber;
|
|
2769
|
+
completedBatches: z.ZodNumber;
|
|
2770
|
+
failedBatches: z.ZodNumber;
|
|
2771
|
+
totalBatches: z.ZodNumber;
|
|
2772
|
+
}, "strip", z.ZodTypeAny, {
|
|
2773
|
+
totalTasks: number;
|
|
2774
|
+
totalBatches: number;
|
|
2775
|
+
completedTasks: number;
|
|
2776
|
+
failedTasks: number;
|
|
2777
|
+
completedBatches: number;
|
|
2778
|
+
failedBatches: number;
|
|
2779
|
+
}, {
|
|
2780
|
+
totalTasks: number;
|
|
2781
|
+
totalBatches: number;
|
|
2782
|
+
completedTasks: number;
|
|
2783
|
+
failedTasks: number;
|
|
2784
|
+
completedBatches: number;
|
|
2785
|
+
failedBatches: number;
|
|
2786
|
+
}>;
|
|
2787
|
+
currentBatches: z.ZodArray<z.ZodObject<{
|
|
2788
|
+
batchId: z.ZodString;
|
|
2789
|
+
domain: z.ZodString;
|
|
2790
|
+
layer: z.ZodString;
|
|
2791
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
2792
|
+
status: z.ZodEnum<["planned", "queued", "running", "completed", "failed", "skipped"]>;
|
|
2793
|
+
dependsOnBatchIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2794
|
+
patchSetId: z.ZodOptional<z.ZodString>;
|
|
2795
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2796
|
+
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
2797
|
+
}, "strip", z.ZodTypeAny, {
|
|
2798
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2799
|
+
domain: string;
|
|
2800
|
+
batchId: string;
|
|
2801
|
+
layer: string;
|
|
2802
|
+
taskIds: string[];
|
|
2803
|
+
dependsOnBatchIds: string[];
|
|
2804
|
+
error?: string | undefined;
|
|
2805
|
+
pullRequestUrl?: string | undefined;
|
|
2806
|
+
patchSetId?: string | undefined;
|
|
2807
|
+
}, {
|
|
2808
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2809
|
+
domain: string;
|
|
2810
|
+
batchId: string;
|
|
2811
|
+
layer: string;
|
|
2812
|
+
taskIds: string[];
|
|
2813
|
+
error?: string | undefined;
|
|
2814
|
+
pullRequestUrl?: string | undefined;
|
|
2815
|
+
patchSetId?: string | undefined;
|
|
2816
|
+
dependsOnBatchIds?: string[] | undefined;
|
|
2817
|
+
}>, "many">;
|
|
2818
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
2819
|
+
batchId: z.ZodString;
|
|
2820
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
2821
|
+
code: z.ZodString;
|
|
2822
|
+
message: z.ZodString;
|
|
2823
|
+
retryable: z.ZodBoolean;
|
|
2824
|
+
}, "strip", z.ZodTypeAny, {
|
|
2825
|
+
code: string;
|
|
2826
|
+
message: string;
|
|
2827
|
+
batchId: string;
|
|
2828
|
+
retryable: boolean;
|
|
2829
|
+
taskId?: string | undefined;
|
|
2830
|
+
}, {
|
|
2831
|
+
code: string;
|
|
2832
|
+
message: string;
|
|
2833
|
+
batchId: string;
|
|
2834
|
+
retryable: boolean;
|
|
2835
|
+
taskId?: string | undefined;
|
|
2836
|
+
}>, "many">;
|
|
2837
|
+
} & {
|
|
2838
|
+
runId: z.ZodString;
|
|
2839
|
+
projectId: z.ZodString;
|
|
2840
|
+
paused: z.ZodBoolean;
|
|
2841
|
+
createdPrCount: z.ZodNumber;
|
|
2842
|
+
quarantinedBatchCount: z.ZodNumber;
|
|
2843
|
+
governedConfig: z.ZodOptional<z.ZodObject<{
|
|
2844
|
+
strategy: z.ZodEnum<["safe_parallel", "sequential", "repair_only", "selected"]>;
|
|
2845
|
+
maxParallelBatches: z.ZodNumber;
|
|
2846
|
+
maxTasksPerBatch: z.ZodNumber;
|
|
2847
|
+
maxRepairAttemptsPerPatch: z.ZodNumber;
|
|
2848
|
+
stopAfterFirstPr: z.ZodBoolean;
|
|
2849
|
+
enginePreference: z.ZodArray<z.ZodEnum<["openai_patch", "cursor_cloud", "codex"]>, "many">;
|
|
2850
|
+
skipPreviouslyQuarantined: z.ZodBoolean;
|
|
2851
|
+
}, "strip", z.ZodTypeAny, {
|
|
2852
|
+
stopAfterFirstPr: boolean;
|
|
2853
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2854
|
+
maxParallelBatches: number;
|
|
2855
|
+
maxTasksPerBatch: number;
|
|
2856
|
+
maxRepairAttemptsPerPatch: number;
|
|
2857
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2858
|
+
skipPreviouslyQuarantined: boolean;
|
|
2859
|
+
}, {
|
|
2860
|
+
stopAfterFirstPr: boolean;
|
|
2861
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2862
|
+
maxParallelBatches: number;
|
|
2863
|
+
maxTasksPerBatch: number;
|
|
2864
|
+
maxRepairAttemptsPerPatch: number;
|
|
2865
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2866
|
+
skipPreviouslyQuarantined: boolean;
|
|
2867
|
+
}>>;
|
|
2868
|
+
}, "strip", z.ZodTypeAny, {
|
|
2869
|
+
status: "running" | "completed" | "failed" | "queued" | "planned" | "cancelled" | "partially_failed";
|
|
2870
|
+
projectId: string;
|
|
2871
|
+
runId: string;
|
|
2872
|
+
orchestrationId: string;
|
|
2873
|
+
paused: boolean;
|
|
2874
|
+
progress: {
|
|
2875
|
+
totalTasks: number;
|
|
2876
|
+
totalBatches: number;
|
|
2877
|
+
completedTasks: number;
|
|
2878
|
+
failedTasks: number;
|
|
2879
|
+
completedBatches: number;
|
|
2880
|
+
failedBatches: number;
|
|
2881
|
+
};
|
|
2882
|
+
currentBatches: {
|
|
2883
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2884
|
+
domain: string;
|
|
2885
|
+
batchId: string;
|
|
2886
|
+
layer: string;
|
|
2887
|
+
taskIds: string[];
|
|
2888
|
+
dependsOnBatchIds: string[];
|
|
2889
|
+
error?: string | undefined;
|
|
2890
|
+
pullRequestUrl?: string | undefined;
|
|
2891
|
+
patchSetId?: string | undefined;
|
|
2892
|
+
}[];
|
|
2893
|
+
failures: {
|
|
2894
|
+
code: string;
|
|
2895
|
+
message: string;
|
|
2896
|
+
batchId: string;
|
|
2897
|
+
retryable: boolean;
|
|
2898
|
+
taskId?: string | undefined;
|
|
2899
|
+
}[];
|
|
2900
|
+
createdPrCount: number;
|
|
2901
|
+
quarantinedBatchCount: number;
|
|
2902
|
+
governedConfig?: {
|
|
2903
|
+
stopAfterFirstPr: boolean;
|
|
2904
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2905
|
+
maxParallelBatches: number;
|
|
2906
|
+
maxTasksPerBatch: number;
|
|
2907
|
+
maxRepairAttemptsPerPatch: number;
|
|
2908
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2909
|
+
skipPreviouslyQuarantined: boolean;
|
|
2910
|
+
} | undefined;
|
|
2911
|
+
}, {
|
|
2912
|
+
status: "running" | "completed" | "failed" | "queued" | "planned" | "cancelled" | "partially_failed";
|
|
2913
|
+
projectId: string;
|
|
2914
|
+
runId: string;
|
|
2915
|
+
orchestrationId: string;
|
|
2916
|
+
paused: boolean;
|
|
2917
|
+
progress: {
|
|
2918
|
+
totalTasks: number;
|
|
2919
|
+
totalBatches: number;
|
|
2920
|
+
completedTasks: number;
|
|
2921
|
+
failedTasks: number;
|
|
2922
|
+
completedBatches: number;
|
|
2923
|
+
failedBatches: number;
|
|
2924
|
+
};
|
|
2925
|
+
currentBatches: {
|
|
2926
|
+
status: "running" | "completed" | "failed" | "queued" | "skipped" | "planned";
|
|
2927
|
+
domain: string;
|
|
2928
|
+
batchId: string;
|
|
2929
|
+
layer: string;
|
|
2930
|
+
taskIds: string[];
|
|
2931
|
+
error?: string | undefined;
|
|
2932
|
+
pullRequestUrl?: string | undefined;
|
|
2933
|
+
patchSetId?: string | undefined;
|
|
2934
|
+
dependsOnBatchIds?: string[] | undefined;
|
|
2935
|
+
}[];
|
|
2936
|
+
failures: {
|
|
2937
|
+
code: string;
|
|
2938
|
+
message: string;
|
|
2939
|
+
batchId: string;
|
|
2940
|
+
retryable: boolean;
|
|
2941
|
+
taskId?: string | undefined;
|
|
2942
|
+
}[];
|
|
2943
|
+
createdPrCount: number;
|
|
2944
|
+
quarantinedBatchCount: number;
|
|
2945
|
+
governedConfig?: {
|
|
2946
|
+
stopAfterFirstPr: boolean;
|
|
2947
|
+
strategy: "selected" | "safe_parallel" | "sequential" | "repair_only";
|
|
2948
|
+
maxParallelBatches: number;
|
|
2949
|
+
maxTasksPerBatch: number;
|
|
2950
|
+
maxRepairAttemptsPerPatch: number;
|
|
2951
|
+
enginePreference: ("cursor_cloud" | "openai_patch" | "codex")[];
|
|
2952
|
+
skipPreviouslyQuarantined: boolean;
|
|
2953
|
+
} | undefined;
|
|
2954
|
+
}>;
|
|
2955
|
+
export type ImplementRunStatus = z.infer<typeof ImplementRunStatusSchema>;
|