@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,309 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Workflow Assurance Manifest — registry-derived SSOT for browser harness selectors.
|
|
4
|
+
*
|
|
5
|
+
* Pure derivation from channel registry, WORKFLOW_STEPS (software foundation),
|
|
6
|
+
* step-id-canonical, film nav aliases, and wiring-tier overrides.
|
|
7
|
+
* No runtime workflow behavior changes.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.WORKFLOW_ASSURANCE_MANIFEST = exports.WORKFLOW_ASSURANCE_LEGACY_ROUTE_PATTERNS = exports.WORKFLOW_ASSURANCE_MANIFEST_VERSION = void 0;
|
|
11
|
+
exports.buildWorkflowAssuranceManifest = buildWorkflowAssuranceManifest;
|
|
12
|
+
exports.getAssuranceActiveVariants = getAssuranceActiveVariants;
|
|
13
|
+
exports.getAssuranceVariantSummaries = getAssuranceVariantSummaries;
|
|
14
|
+
const workflow_registry_1 = require("../constants/workflow-registry");
|
|
15
|
+
const channel_registry_1 = require("./channel-registry");
|
|
16
|
+
const film_spine_nav_aliases_1 = require("./film-spine-nav-aliases");
|
|
17
|
+
const step_id_canonical_1 = require("./step-id-canonical");
|
|
18
|
+
const workflow_assurance_wiring_tiers_1 = require("./workflow-assurance-wiring-tiers");
|
|
19
|
+
exports.WORKFLOW_ASSURANCE_MANIFEST_VERSION = '1.0.0';
|
|
20
|
+
/** Routes the harness must never treat as canonical operator paths. */
|
|
21
|
+
exports.WORKFLOW_ASSURANCE_LEGACY_ROUTE_PATTERNS = [
|
|
22
|
+
'/film/**',
|
|
23
|
+
'/quality',
|
|
24
|
+
'/scan',
|
|
25
|
+
];
|
|
26
|
+
const SOFTWARE_FOUNDATION_STEP_IDS = [
|
|
27
|
+
'integrations',
|
|
28
|
+
'repo',
|
|
29
|
+
'ingest',
|
|
30
|
+
'team',
|
|
31
|
+
];
|
|
32
|
+
const FOUNDATION_ORCHESTRATOR_KEYS = {
|
|
33
|
+
integrations: 'foundationIntegrations',
|
|
34
|
+
repo: 'foundationRepo',
|
|
35
|
+
ingest: 'foundationIngest',
|
|
36
|
+
team: 'foundationTeam',
|
|
37
|
+
};
|
|
38
|
+
const FOUNDATION_DISPLAY_KEYS = {
|
|
39
|
+
integrations: 'IntegrationsPanel',
|
|
40
|
+
repo: 'RepositoryPanel',
|
|
41
|
+
ingest: 'IngestDashboard',
|
|
42
|
+
team: 'TeamPanel',
|
|
43
|
+
};
|
|
44
|
+
function collectNavAliases(stepId, routePath) {
|
|
45
|
+
const aliases = new Set();
|
|
46
|
+
for (const [navKey, canonicalId] of Object.entries(step_id_canonical_1.REGISTRY_WORKFLOW_STEP_ID_BY_NAV_KEY)) {
|
|
47
|
+
if (canonicalId === stepId && navKey !== stepId) {
|
|
48
|
+
aliases.add(navKey);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
for (const [aliasPath, canonicalPath] of Object.entries(step_id_canonical_1.WORKFLOW_STEP_ROUTE_PATH_ALIASES)) {
|
|
52
|
+
if (canonicalPath === routePath && aliasPath !== routePath) {
|
|
53
|
+
aliases.add(aliasPath);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
for (const [from, to] of step_id_canonical_1.WORKFLOW_STEP_ID_ALIAS_PAIRS) {
|
|
57
|
+
if (to === stepId && from !== stepId) {
|
|
58
|
+
aliases.add(from);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return [...aliases];
|
|
62
|
+
}
|
|
63
|
+
function resolveCompletionProbe(variant, stepId, channelCompletion) {
|
|
64
|
+
if (variant === 'film_production') {
|
|
65
|
+
return 'film_domain';
|
|
66
|
+
}
|
|
67
|
+
if (stepId === 'ingest') {
|
|
68
|
+
return 'ingest_gate';
|
|
69
|
+
}
|
|
70
|
+
if (stepId === 'ci' || stepId === 'deploy' || stepId === 'deployments') {
|
|
71
|
+
return 'cicd_ready';
|
|
72
|
+
}
|
|
73
|
+
if (channelCompletion !== undefined) {
|
|
74
|
+
return 'workflow_artifacts';
|
|
75
|
+
}
|
|
76
|
+
return 'none';
|
|
77
|
+
}
|
|
78
|
+
function buildCompletionFromChannel(step) {
|
|
79
|
+
return {
|
|
80
|
+
mode: step.completion.mode,
|
|
81
|
+
requiredStageIds: [...step.completion.requiredStageIds],
|
|
82
|
+
...(step.completion.finalStageId !== undefined
|
|
83
|
+
? { finalStageId: step.completion.finalStageId }
|
|
84
|
+
: {}),
|
|
85
|
+
probe: 'workflow_artifacts',
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function buildFoundationCompletion(stepId) {
|
|
89
|
+
if (stepId === 'ingest') {
|
|
90
|
+
return { mode: 'external_gate', requiredStageIds: [], probe: 'ingest_gate' };
|
|
91
|
+
}
|
|
92
|
+
return { mode: 'external_gate', requiredStageIds: [], probe: 'none' };
|
|
93
|
+
}
|
|
94
|
+
function resolveStepStatus(variant, step, channelExperimental) {
|
|
95
|
+
if (step.deprecated === true) {
|
|
96
|
+
return 'deprecated';
|
|
97
|
+
}
|
|
98
|
+
if (step.experimental === true || channelExperimental === true) {
|
|
99
|
+
return 'experimental';
|
|
100
|
+
}
|
|
101
|
+
if ((0, workflow_assurance_wiring_tiers_1.isAssurancePlannedStep)(variant, step.stepId)) {
|
|
102
|
+
return 'planned';
|
|
103
|
+
}
|
|
104
|
+
return 'active';
|
|
105
|
+
}
|
|
106
|
+
function resolveFoundationStatus(_stepId) {
|
|
107
|
+
return 'active';
|
|
108
|
+
}
|
|
109
|
+
function legacyRoutesForStep(stepId, routePath) {
|
|
110
|
+
const legacy = [];
|
|
111
|
+
if (stepId === 'scan' || routePath === '/scan') {
|
|
112
|
+
legacy.push('/scan');
|
|
113
|
+
}
|
|
114
|
+
if (legacy.length === 0) {
|
|
115
|
+
return undefined;
|
|
116
|
+
}
|
|
117
|
+
return legacy;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Derive the data-action values the browser harness must trigger to advance this step.
|
|
121
|
+
* Foundation/config steps (producesArtifacts=false) require no automated actions.
|
|
122
|
+
*/
|
|
123
|
+
function inferRequiredActions(stepId, producesArtifacts) {
|
|
124
|
+
if (!producesArtifacts)
|
|
125
|
+
return [];
|
|
126
|
+
if (stepId === 'review' || stepId === 'patch-review')
|
|
127
|
+
return ['generate', 'approve'];
|
|
128
|
+
if (stepId === 'ci' || stepId === 'deploy' || stepId === 'deployments')
|
|
129
|
+
return ['ship'];
|
|
130
|
+
return ['generate'];
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Infer which AI/media provider kinds are needed to produce artifacts for this step.
|
|
134
|
+
* film_production adds Runway because video generation is part of its pipeline.
|
|
135
|
+
*/
|
|
136
|
+
function inferRequiredProviderKinds(variant, producesArtifacts) {
|
|
137
|
+
if (!producesArtifacts)
|
|
138
|
+
return [];
|
|
139
|
+
if (variant === 'film_production')
|
|
140
|
+
return ['openai', 'runway'];
|
|
141
|
+
return ['openai'];
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Collect the artifact stage IDs this step must produce.
|
|
145
|
+
* Deduplicates finalStageId against requiredStageIds.
|
|
146
|
+
*/
|
|
147
|
+
function collectRequiredArtifacts(completion) {
|
|
148
|
+
const ids = new Set(completion.requiredStageIds);
|
|
149
|
+
if (completion.finalStageId)
|
|
150
|
+
ids.add(completion.finalStageId);
|
|
151
|
+
return [...ids];
|
|
152
|
+
}
|
|
153
|
+
function computeAssuranceBlockers(status, pageExists) {
|
|
154
|
+
const blockers = [];
|
|
155
|
+
if (status === 'deprecated')
|
|
156
|
+
blockers.push('step-deprecated');
|
|
157
|
+
if (status === 'planned')
|
|
158
|
+
blockers.push('no-gp-scenario');
|
|
159
|
+
if (status === 'experimental')
|
|
160
|
+
blockers.push('step-experimental');
|
|
161
|
+
if (!pageExists)
|
|
162
|
+
blockers.push('page-missing');
|
|
163
|
+
return blockers;
|
|
164
|
+
}
|
|
165
|
+
function computeCoverageTier(status, pageExists) {
|
|
166
|
+
if (status === 'deprecated' || !pageExists)
|
|
167
|
+
return 'blocked';
|
|
168
|
+
if (status === 'planned')
|
|
169
|
+
return 'planned';
|
|
170
|
+
if (status === 'experimental')
|
|
171
|
+
return 'experimental';
|
|
172
|
+
return 'active';
|
|
173
|
+
}
|
|
174
|
+
function channelStepToAssurance(variant, step, channelExperimental) {
|
|
175
|
+
const stepId = (0, step_id_canonical_1.resolveCanonicalWorkflowStepId)(step.stepId);
|
|
176
|
+
const routePath = (0, step_id_canonical_1.resolveWorkflowStepRoutePath)(step.routePath);
|
|
177
|
+
const navAliases = [
|
|
178
|
+
...collectNavAliases(stepId, routePath),
|
|
179
|
+
...(variant === 'film_production' ? (0, film_spine_nav_aliases_1.getFilmNavAliasesForStep)(stepId) : []),
|
|
180
|
+
];
|
|
181
|
+
const legacy = legacyRoutesForStep(stepId, routePath);
|
|
182
|
+
const status = resolveStepStatus(variant, step, channelExperimental);
|
|
183
|
+
const wiringTier = (0, workflow_assurance_wiring_tiers_1.resolveAssuranceWiringTier)(variant, stepId);
|
|
184
|
+
const producesArtifacts = step.producedArtifacts.length > 0;
|
|
185
|
+
const completion = {
|
|
186
|
+
...buildCompletionFromChannel(step),
|
|
187
|
+
probe: resolveCompletionProbe(variant, stepId, step.completion),
|
|
188
|
+
};
|
|
189
|
+
const blockers = computeAssuranceBlockers(status, true);
|
|
190
|
+
const coverageTier = computeCoverageTier(status, true);
|
|
191
|
+
return {
|
|
192
|
+
variant,
|
|
193
|
+
stepId,
|
|
194
|
+
navAliases,
|
|
195
|
+
route: routePath,
|
|
196
|
+
pageExists: true,
|
|
197
|
+
orchestratorKey: step.orchestratorKey,
|
|
198
|
+
displayComponentKey: step.displayComponentKey,
|
|
199
|
+
apiRouteKey: step.apiRouteKey,
|
|
200
|
+
completion,
|
|
201
|
+
gates: step.gates.map((g) => g.gateId),
|
|
202
|
+
status,
|
|
203
|
+
producesArtifacts,
|
|
204
|
+
...(legacy !== undefined ? { legacyRoutes: legacy } : {}),
|
|
205
|
+
wiringTier,
|
|
206
|
+
requiredActions: inferRequiredActions(stepId, producesArtifacts),
|
|
207
|
+
requiredArtifacts: collectRequiredArtifacts(completion),
|
|
208
|
+
requiredProviderKinds: inferRequiredProviderKinds(variant, producesArtifacts),
|
|
209
|
+
requiredComponents: [step.displayComponentKey],
|
|
210
|
+
isBrowserAssurable: status === 'active',
|
|
211
|
+
assuranceBlockers: blockers,
|
|
212
|
+
coverageTier,
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
function foundationStepToAssurance(stepId) {
|
|
216
|
+
const registryStep = workflow_registry_1.WORKFLOW_STEPS.find((s) => s.id === stepId);
|
|
217
|
+
const routePath = registryStep?.path ?? `/${stepId}`;
|
|
218
|
+
const canonicalId = (0, step_id_canonical_1.resolveCanonicalWorkflowStepId)(stepId);
|
|
219
|
+
const resolvedRoute = (0, step_id_canonical_1.resolveWorkflowStepRoutePath)(routePath);
|
|
220
|
+
const pageExists = registryStep !== undefined;
|
|
221
|
+
const status = resolveFoundationStatus(stepId);
|
|
222
|
+
const completion = buildFoundationCompletion(stepId);
|
|
223
|
+
return {
|
|
224
|
+
variant: 'software_app',
|
|
225
|
+
stepId: canonicalId,
|
|
226
|
+
navAliases: collectNavAliases(canonicalId, resolvedRoute),
|
|
227
|
+
route: resolvedRoute,
|
|
228
|
+
pageExists,
|
|
229
|
+
orchestratorKey: FOUNDATION_ORCHESTRATOR_KEYS[stepId] ?? `foundation.${stepId}`,
|
|
230
|
+
displayComponentKey: FOUNDATION_DISPLAY_KEYS[stepId] ?? `Foundation.${stepId}Display`,
|
|
231
|
+
completion,
|
|
232
|
+
gates: [],
|
|
233
|
+
status,
|
|
234
|
+
producesArtifacts: false,
|
|
235
|
+
wiringTier: (0, workflow_assurance_wiring_tiers_1.resolveAssuranceWiringTier)('software_app', canonicalId),
|
|
236
|
+
requiredActions: [],
|
|
237
|
+
requiredArtifacts: [],
|
|
238
|
+
requiredProviderKinds: [],
|
|
239
|
+
requiredComponents: [FOUNDATION_DISPLAY_KEYS[stepId] ?? `Foundation.${stepId}Display`],
|
|
240
|
+
isBrowserAssurable: status === 'active' && pageExists,
|
|
241
|
+
assuranceBlockers: computeAssuranceBlockers(status, pageExists),
|
|
242
|
+
coverageTier: computeCoverageTier(status, pageExists),
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
function buildSoftwareAppSteps() {
|
|
246
|
+
const channel = channel_registry_1.WORKFLOW_CHANNEL_REGISTRY.software_app;
|
|
247
|
+
const channelStepIds = new Set(channel.steps.map((s) => (0, step_id_canonical_1.resolveCanonicalWorkflowStepId)(s.stepId)));
|
|
248
|
+
const foundationSteps = SOFTWARE_FOUNDATION_STEP_IDS.filter((id) => !channelStepIds.has((0, step_id_canonical_1.resolveCanonicalWorkflowStepId)(id))).map((id) => foundationStepToAssurance(id));
|
|
249
|
+
const channelSteps = channel.steps.map((step) => channelStepToAssurance('software_app', step, channel.experimental));
|
|
250
|
+
return [...foundationSteps, ...channelSteps];
|
|
251
|
+
}
|
|
252
|
+
function buildVariantSteps(variant) {
|
|
253
|
+
if (variant === 'software_app') {
|
|
254
|
+
return buildSoftwareAppSteps();
|
|
255
|
+
}
|
|
256
|
+
const channel = channel_registry_1.WORKFLOW_CHANNEL_REGISTRY[variant];
|
|
257
|
+
return channel.steps.map((step) => channelStepToAssurance(variant, step, channel.experimental));
|
|
258
|
+
}
|
|
259
|
+
function buildVariantSummary(variant, steps) {
|
|
260
|
+
const nonDeprecated = steps.filter((s) => s.status !== 'deprecated');
|
|
261
|
+
const activeSteps = steps.filter((s) => s.status === 'active');
|
|
262
|
+
const browserAssurableSteps = steps.filter((s) => s.isBrowserAssurable);
|
|
263
|
+
const allBlockers = new Set();
|
|
264
|
+
for (const step of nonDeprecated) {
|
|
265
|
+
for (const b of step.assuranceBlockers)
|
|
266
|
+
allBlockers.add(b);
|
|
267
|
+
}
|
|
268
|
+
let coverageTier = 'blocked';
|
|
269
|
+
if (nonDeprecated.some((s) => s.coverageTier === 'active'))
|
|
270
|
+
coverageTier = 'active';
|
|
271
|
+
else if (nonDeprecated.some((s) => s.coverageTier === 'planned'))
|
|
272
|
+
coverageTier = 'planned';
|
|
273
|
+
else if (nonDeprecated.some((s) => s.coverageTier === 'experimental'))
|
|
274
|
+
coverageTier = 'experimental';
|
|
275
|
+
return {
|
|
276
|
+
variant,
|
|
277
|
+
isBrowserAssurable: browserAssurableSteps.length > 0,
|
|
278
|
+
coverageTier,
|
|
279
|
+
assuranceBlockers: [...allBlockers],
|
|
280
|
+
activeStepCount: activeSteps.length,
|
|
281
|
+
browserAssurableStepCount: browserAssurableSteps.length,
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
/** Build the full assurance manifest from registry SSOT (pure, deterministic). */
|
|
285
|
+
function buildWorkflowAssuranceManifest() {
|
|
286
|
+
const variants = {};
|
|
287
|
+
const summaries = {};
|
|
288
|
+
for (const variant of channel_registry_1.WORKFLOW_VARIANTS) {
|
|
289
|
+
const steps = buildVariantSteps(variant);
|
|
290
|
+
variants[variant] = steps;
|
|
291
|
+
summaries[variant] = buildVariantSummary(variant, steps);
|
|
292
|
+
}
|
|
293
|
+
return {
|
|
294
|
+
version: exports.WORKFLOW_ASSURANCE_MANIFEST_VERSION,
|
|
295
|
+
legacyRoutePatterns: exports.WORKFLOW_ASSURANCE_LEGACY_ROUTE_PATTERNS,
|
|
296
|
+
variants,
|
|
297
|
+
summaries,
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
/** Pre-built manifest singleton for importers that need a stable reference. */
|
|
301
|
+
exports.WORKFLOW_ASSURANCE_MANIFEST = buildWorkflowAssuranceManifest();
|
|
302
|
+
/** Active channel variants that must appear in the manifest with at least one step. */
|
|
303
|
+
function getAssuranceActiveVariants() {
|
|
304
|
+
return (0, channel_registry_1.getActiveVariants)();
|
|
305
|
+
}
|
|
306
|
+
/** Variant-level coverage summaries — ready for management dashboards and CI reports. */
|
|
307
|
+
function getAssuranceVariantSummaries() {
|
|
308
|
+
return channel_registry_1.WORKFLOW_VARIANTS.map((v) => exports.WORKFLOW_ASSURANCE_MANIFEST.summaries[v]);
|
|
309
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wiring-tier overrides for workflow assurance status.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors `canonical_planned` entries in
|
|
5
|
+
* `packages/frontend/src/lib/workflow/__tests__/workflow-full-wiring-audit.test.ts`.
|
|
6
|
+
* Step lists are NOT duplicated here — only variant×stepId status overrides.
|
|
7
|
+
*/
|
|
8
|
+
import type { WorkflowVariant } from './channel-registry';
|
|
9
|
+
export type WorkflowAssuranceWiringTier = 'canonical_active' | 'canonical_planned';
|
|
10
|
+
/** variant:stepId keys with canonical_planned wiring (harness may warn, not hard-fail). */
|
|
11
|
+
export declare const WORKFLOW_ASSURANCE_PLANNED_STEP_KEYS: ReadonlySet<string>;
|
|
12
|
+
export declare function isAssurancePlannedStep(variant: WorkflowVariant, stepId: string): boolean;
|
|
13
|
+
export declare function resolveAssuranceWiringTier(variant: WorkflowVariant, stepId: string): WorkflowAssuranceWiringTier;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Wiring-tier overrides for workflow assurance status.
|
|
4
|
+
*
|
|
5
|
+
* Mirrors `canonical_planned` entries in
|
|
6
|
+
* `packages/frontend/src/lib/workflow/__tests__/workflow-full-wiring-audit.test.ts`.
|
|
7
|
+
* Step lists are NOT duplicated here — only variant×stepId status overrides.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.WORKFLOW_ASSURANCE_PLANNED_STEP_KEYS = void 0;
|
|
11
|
+
exports.isAssurancePlannedStep = isAssurancePlannedStep;
|
|
12
|
+
exports.resolveAssuranceWiringTier = resolveAssuranceWiringTier;
|
|
13
|
+
/** variant:stepId keys with canonical_planned wiring (harness may warn, not hard-fail). */
|
|
14
|
+
exports.WORKFLOW_ASSURANCE_PLANNED_STEP_KEYS = new Set([
|
|
15
|
+
// software_app — schema step is active in the app but not yet in any GP scenario
|
|
16
|
+
'software_app:schema',
|
|
17
|
+
'research_report:specify',
|
|
18
|
+
'research_report:tasks',
|
|
19
|
+
'screenplay:specify',
|
|
20
|
+
'screenplay:review',
|
|
21
|
+
'film_production:development',
|
|
22
|
+
'film_production:script',
|
|
23
|
+
'film_production:preproduction',
|
|
24
|
+
'film_production:postproduction',
|
|
25
|
+
'film_production:release',
|
|
26
|
+
]);
|
|
27
|
+
function isAssurancePlannedStep(variant, stepId) {
|
|
28
|
+
return exports.WORKFLOW_ASSURANCE_PLANNED_STEP_KEYS.has(`${variant}:${stepId}`);
|
|
29
|
+
}
|
|
30
|
+
function resolveAssuranceWiringTier(variant, stepId) {
|
|
31
|
+
return isAssurancePlannedStep(variant, stepId) ? 'canonical_planned' : 'canonical_active';
|
|
32
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure helpers for Workflow Doctor closure visibility (#943).
|
|
3
|
+
* No I/O — safe for unit tests and SSR compute wiring.
|
|
4
|
+
*/
|
|
5
|
+
import type { WorkflowDoctorChannelSummary, WorkflowDoctorClosure, WorkflowDoctorCompletionBlocker, WorkflowDoctorMappingHint, WorkflowDoctorStepArtifactCoverage, WorkflowDoctorStepReport } from '../schemas/workflow/workflow-doctor.schema';
|
|
6
|
+
import type { WorkflowChannelDefinition, WorkflowVariant } from './channel-registry';
|
|
7
|
+
import type { ProjectForVariantResolution } from './resolve-workflow-variant';
|
|
8
|
+
/** Max blockers returned so the Doctor UI stays scannable. */
|
|
9
|
+
export declare const WORKFLOW_DOCTOR_CLOSURE_BLOCKER_CAP = 24;
|
|
10
|
+
export declare function deriveWorkflowDoctorMappingHints(row: ProjectForVariantResolution, resolvedVariant: WorkflowVariant): WorkflowDoctorMappingHint[];
|
|
11
|
+
export declare function isSoftwareChannelDeprecatedStep(stepId: string): boolean;
|
|
12
|
+
export declare function filterSoftwareDoctorActiveChannelSteps(channel: WorkflowChannelDefinition): WorkflowChannelDefinition['steps'];
|
|
13
|
+
export declare function buildWorkflowDoctorChannelSummary(channel: WorkflowChannelDefinition): WorkflowDoctorChannelSummary;
|
|
14
|
+
export declare function buildWorkflowDoctorStepArtifactCoverage(channel: WorkflowChannelDefinition, stepReports: WorkflowDoctorStepReport[]): WorkflowDoctorStepArtifactCoverage[];
|
|
15
|
+
export declare function deriveWorkflowDoctorCompletionBlockers(channel: WorkflowChannelDefinition, stepReports: WorkflowDoctorStepReport[], acceptedArtifactTypes: ReadonlySet<string>): WorkflowDoctorCompletionBlocker[];
|
|
16
|
+
export declare function buildWorkflowDoctorClosure(channel: WorkflowChannelDefinition, row: ProjectForVariantResolution, resolvedVariant: WorkflowVariant, stepReports: WorkflowDoctorStepReport[], acceptedArtifactTypes: ReadonlySet<string>): WorkflowDoctorClosure;
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Pure helpers for Workflow Doctor closure visibility (#943).
|
|
4
|
+
* No I/O — safe for unit tests and SSR compute wiring.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.WORKFLOW_DOCTOR_CLOSURE_BLOCKER_CAP = void 0;
|
|
8
|
+
exports.deriveWorkflowDoctorMappingHints = deriveWorkflowDoctorMappingHints;
|
|
9
|
+
exports.isSoftwareChannelDeprecatedStep = isSoftwareChannelDeprecatedStep;
|
|
10
|
+
exports.filterSoftwareDoctorActiveChannelSteps = filterSoftwareDoctorActiveChannelSteps;
|
|
11
|
+
exports.buildWorkflowDoctorChannelSummary = buildWorkflowDoctorChannelSummary;
|
|
12
|
+
exports.buildWorkflowDoctorStepArtifactCoverage = buildWorkflowDoctorStepArtifactCoverage;
|
|
13
|
+
exports.deriveWorkflowDoctorCompletionBlockers = deriveWorkflowDoctorCompletionBlockers;
|
|
14
|
+
exports.buildWorkflowDoctorClosure = buildWorkflowDoctorClosure;
|
|
15
|
+
const workflow_registry_1 = require("../constants/workflow-registry");
|
|
16
|
+
const resolve_workflow_variant_1 = require("./resolve-workflow-variant");
|
|
17
|
+
const DEFAULT_VARIANT = 'software_app';
|
|
18
|
+
/** Max blockers returned so the Doctor UI stays scannable. */
|
|
19
|
+
exports.WORKFLOW_DOCTOR_CLOSURE_BLOCKER_CAP = 24;
|
|
20
|
+
function deriveWorkflowDoctorMappingHints(row, resolvedVariant) {
|
|
21
|
+
const hints = [];
|
|
22
|
+
const explicitRaw = row.workflow_variant?.trim();
|
|
23
|
+
if (explicitRaw && !(0, resolve_workflow_variant_1.isValidWorkflowVariant)(explicitRaw)) {
|
|
24
|
+
hints.push({
|
|
25
|
+
kind: 'invalid_explicit_variant_coerced',
|
|
26
|
+
message: `Stored workflow_variant "${explicitRaw}" is not a canonical variant key; resolution used legacy kind fields or the default spine.`,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
if (explicitRaw && (0, resolve_workflow_variant_1.isValidWorkflowVariant)(explicitRaw)) {
|
|
30
|
+
hints.push({
|
|
31
|
+
kind: 'explicit_variant_resolved',
|
|
32
|
+
message: `Using explicit workflow_variant: ${explicitRaw}.`,
|
|
33
|
+
});
|
|
34
|
+
return hints;
|
|
35
|
+
}
|
|
36
|
+
const legacyKind = row.project_kind ?? row.kind;
|
|
37
|
+
const mapped = legacyKind !== undefined && legacyKind !== null && legacyKind !== ''
|
|
38
|
+
? resolve_workflow_variant_1.LEGACY_KIND_TO_WORKFLOW_VARIANT[legacyKind]
|
|
39
|
+
: undefined;
|
|
40
|
+
if (legacyKind && mapped !== undefined) {
|
|
41
|
+
const kindLabel = row.project_kind !== undefined && row.project_kind !== null && row.project_kind !== ''
|
|
42
|
+
? 'legacy_project_kind_mapped'
|
|
43
|
+
: 'legacy_kind_field_mapped';
|
|
44
|
+
hints.push({
|
|
45
|
+
kind: kindLabel,
|
|
46
|
+
message: `Mapped legacy kind "${legacyKind}" → ${mapped} (resolved spine: ${resolvedVariant}).`,
|
|
47
|
+
});
|
|
48
|
+
return hints;
|
|
49
|
+
}
|
|
50
|
+
if (legacyKind) {
|
|
51
|
+
hints.push({
|
|
52
|
+
kind: 'unknown_legacy_kind_defaulted',
|
|
53
|
+
message: `Legacy kind "${legacyKind}" has no registry mapping; defaulted to ${resolvedVariant}.`,
|
|
54
|
+
});
|
|
55
|
+
return hints;
|
|
56
|
+
}
|
|
57
|
+
hints.push({
|
|
58
|
+
kind: 'fallback_default_variant',
|
|
59
|
+
message: `No workflow_variant or legacy kind present; defaulted to ${DEFAULT_VARIANT} (resolved: ${resolvedVariant}).`,
|
|
60
|
+
});
|
|
61
|
+
return hints;
|
|
62
|
+
}
|
|
63
|
+
const deprecatedChannelStepIdSet = new Set(workflow_registry_1.SOFTWARE_CHANNEL_DEPRECATED_STEP_IDS);
|
|
64
|
+
function isSoftwareChannelDeprecatedStep(stepId) {
|
|
65
|
+
return deprecatedChannelStepIdSet.has(stepId);
|
|
66
|
+
}
|
|
67
|
+
function filterSoftwareDoctorActiveChannelSteps(channel) {
|
|
68
|
+
if (channel.variant !== 'software_app') {
|
|
69
|
+
return channel.steps.filter((step) => step.deprecated !== true);
|
|
70
|
+
}
|
|
71
|
+
return channel.steps.filter((step) => step.deprecated !== true && !isSoftwareChannelDeprecatedStep(step.stepId));
|
|
72
|
+
}
|
|
73
|
+
function buildWorkflowDoctorChannelSummary(channel) {
|
|
74
|
+
const experimentalStepIds = channel.steps.filter(s => s.experimental === true).map(s => s.stepId);
|
|
75
|
+
const deprecatedChannelStepIds = channel.variant === 'software_app'
|
|
76
|
+
? channel.steps
|
|
77
|
+
.filter((step) => step.deprecated === true || isSoftwareChannelDeprecatedStep(step.stepId))
|
|
78
|
+
.map((step) => step.stepId)
|
|
79
|
+
: channel.steps.filter((step) => step.deprecated === true).map((step) => step.stepId);
|
|
80
|
+
const activeChannelSteps = filterSoftwareDoctorActiveChannelSteps(channel);
|
|
81
|
+
const stepCount = channel.variant === 'software_app'
|
|
82
|
+
? workflow_registry_1.SOFTWARE_OPERATOR_NAV_STEP_IDS.length
|
|
83
|
+
: activeChannelSteps.length;
|
|
84
|
+
return {
|
|
85
|
+
variant: channel.variant,
|
|
86
|
+
family: channel.family,
|
|
87
|
+
channelLabel: channel.label,
|
|
88
|
+
channelDescription: channel.description,
|
|
89
|
+
workflowVersion: channel.workflowVersion,
|
|
90
|
+
projectKind: channel.projectKind,
|
|
91
|
+
stepCount,
|
|
92
|
+
experimentalStepIds,
|
|
93
|
+
...(channel.variant === 'software_app'
|
|
94
|
+
? {
|
|
95
|
+
operatorNavStepCount: workflow_registry_1.SOFTWARE_OPERATOR_NAV_STEP_IDS.length,
|
|
96
|
+
deprecatedChannelStepIds,
|
|
97
|
+
}
|
|
98
|
+
: deprecatedChannelStepIds.length > 0
|
|
99
|
+
? { deprecatedChannelStepIds }
|
|
100
|
+
: {}),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function buildWorkflowDoctorStepArtifactCoverage(channel, stepReports) {
|
|
104
|
+
const byStep = new Map(stepReports.map(r => [r.stepId, r]));
|
|
105
|
+
return channel.steps.map(stepDef => {
|
|
106
|
+
const report = byStep.get(stepDef.stepId);
|
|
107
|
+
const stages = report?.stages ?? [];
|
|
108
|
+
let presentAccepted = 0;
|
|
109
|
+
let presentPending = 0;
|
|
110
|
+
let presentRejected = 0;
|
|
111
|
+
let missing = 0;
|
|
112
|
+
let wrongVariant = 0;
|
|
113
|
+
let stale = 0;
|
|
114
|
+
let extraInDb = 0;
|
|
115
|
+
for (const s of stages) {
|
|
116
|
+
if (s.extra) {
|
|
117
|
+
extraInDb += 1;
|
|
118
|
+
continue;
|
|
119
|
+
}
|
|
120
|
+
switch (s.status) {
|
|
121
|
+
case 'present_accepted':
|
|
122
|
+
presentAccepted += 1;
|
|
123
|
+
break;
|
|
124
|
+
case 'present_pending':
|
|
125
|
+
presentPending += 1;
|
|
126
|
+
break;
|
|
127
|
+
case 'present_rejected':
|
|
128
|
+
presentRejected += 1;
|
|
129
|
+
break;
|
|
130
|
+
case 'missing':
|
|
131
|
+
missing += 1;
|
|
132
|
+
break;
|
|
133
|
+
case 'wrong_variant':
|
|
134
|
+
wrongVariant += 1;
|
|
135
|
+
break;
|
|
136
|
+
case 'stale':
|
|
137
|
+
stale += 1;
|
|
138
|
+
break;
|
|
139
|
+
case 'extra':
|
|
140
|
+
extraInDb += 1;
|
|
141
|
+
break;
|
|
142
|
+
default:
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return {
|
|
147
|
+
stepId: stepDef.stepId,
|
|
148
|
+
label: stepDef.label,
|
|
149
|
+
expectedStages: stepDef.stages.length,
|
|
150
|
+
presentAccepted,
|
|
151
|
+
presentPending,
|
|
152
|
+
presentRejected,
|
|
153
|
+
missing,
|
|
154
|
+
wrongVariant,
|
|
155
|
+
stale,
|
|
156
|
+
extraInDb,
|
|
157
|
+
completionSatisfied: report?.completionSatisfied ?? false,
|
|
158
|
+
completionMode: report?.completionMode ?? stepDef.completion.mode,
|
|
159
|
+
};
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
function deriveWorkflowDoctorCompletionBlockers(channel, stepReports, acceptedArtifactTypes) {
|
|
163
|
+
const blockers = [];
|
|
164
|
+
const byStep = new Map(stepReports.map(r => [r.stepId, r]));
|
|
165
|
+
for (const stepDef of channel.steps) {
|
|
166
|
+
const report = byStep.get(stepDef.stepId);
|
|
167
|
+
if (!report) {
|
|
168
|
+
continue;
|
|
169
|
+
}
|
|
170
|
+
for (const req of stepDef.requiredInputs) {
|
|
171
|
+
if (!req.required) {
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
if (!acceptedArtifactTypes.has(req.stageId)) {
|
|
175
|
+
const upstream = channel.steps.find(s => s.stepId === req.stepId);
|
|
176
|
+
blockers.push({
|
|
177
|
+
blockerKind: 'missing_upstream_input',
|
|
178
|
+
stepId: stepDef.stepId,
|
|
179
|
+
stepLabel: stepDef.label,
|
|
180
|
+
message: `Step "${stepDef.label}" is gated on accepted artifact type "${req.stageId}" from "${req.stepId}".`,
|
|
181
|
+
remediationHint: upstream
|
|
182
|
+
? `Complete "${upstream.label}" (${req.stepId}) until "${req.stageId}" exists as an accepted, current artifact.`
|
|
183
|
+
: `Produce an accepted current artifact of type "${req.stageId}" before advancing.`,
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
if (!report.completionSatisfied) {
|
|
188
|
+
const pendingLabels = report.stages
|
|
189
|
+
.filter(s => s.expected && (s.status === 'present_pending' || s.status === 'present_rejected'))
|
|
190
|
+
.map(s => s.label);
|
|
191
|
+
const missingLabels = report.stages.filter(s => s.expected && s.status === 'missing').map(s => s.label);
|
|
192
|
+
const detailParts = [];
|
|
193
|
+
if (missingLabels.length > 0) {
|
|
194
|
+
detailParts.push(`missing: ${missingLabels.join(', ')}`);
|
|
195
|
+
}
|
|
196
|
+
if (pendingLabels.length > 0) {
|
|
197
|
+
detailParts.push(`not accepted: ${pendingLabels.join(', ')}`);
|
|
198
|
+
}
|
|
199
|
+
blockers.push({
|
|
200
|
+
blockerKind: 'incomplete_step_outputs',
|
|
201
|
+
stepId: stepDef.stepId,
|
|
202
|
+
stepLabel: stepDef.label,
|
|
203
|
+
message: `Step "${stepDef.label}" completion rule (${report.completionMode}) is not satisfied.`,
|
|
204
|
+
remediationHint: detailParts.length > 0
|
|
205
|
+
? `Finish required artifacts — ${detailParts.join('; ')}.`
|
|
206
|
+
: `Accept required artifacts for this step per registry completion mode "${report.completionMode}".`,
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
if (report.wrongVariantCount > 0) {
|
|
210
|
+
blockers.push({
|
|
211
|
+
blockerKind: 'wrong_variant_artifact',
|
|
212
|
+
stepId: stepDef.stepId,
|
|
213
|
+
stepLabel: stepDef.label,
|
|
214
|
+
message: `${report.wrongVariantCount} artifact(s) on this step carry a different workflow_variant than the resolved project spine.`,
|
|
215
|
+
remediationHint: 'Regenerate or replace artifacts after aligning workflow_variant, or purge superseded rows so current artifacts match the active variant.',
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
if (report.staleCount > 0) {
|
|
219
|
+
blockers.push({
|
|
220
|
+
blockerKind: 'stale_artifact',
|
|
221
|
+
stepId: stepDef.stepId,
|
|
222
|
+
stepLabel: stepDef.label,
|
|
223
|
+
message: `${report.staleCount} stale artifact(s): upstream inputs changed after these outputs were accepted.`,
|
|
224
|
+
remediationHint: 'Re-run downstream generation for stale stages using the Doctor stale rules as a guide.',
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
if (blockers.length >= exports.WORKFLOW_DOCTOR_CLOSURE_BLOCKER_CAP) {
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
return blockers.slice(0, exports.WORKFLOW_DOCTOR_CLOSURE_BLOCKER_CAP);
|
|
232
|
+
}
|
|
233
|
+
function buildWorkflowDoctorClosure(channel, row, resolvedVariant, stepReports, acceptedArtifactTypes) {
|
|
234
|
+
const channelSummary = buildWorkflowDoctorChannelSummary(channel);
|
|
235
|
+
const mappingHints = deriveWorkflowDoctorMappingHints(row, resolvedVariant);
|
|
236
|
+
const stepArtifactCoverage = buildWorkflowDoctorStepArtifactCoverage(channel, stepReports);
|
|
237
|
+
const completionBlockers = deriveWorkflowDoctorCompletionBlockers(channel, stepReports, acceptedArtifactTypes);
|
|
238
|
+
return {
|
|
239
|
+
channelSummary,
|
|
240
|
+
mappingHints,
|
|
241
|
+
stepArtifactCoverage,
|
|
242
|
+
completionBlockers,
|
|
243
|
+
closureReady: completionBlockers.length === 0,
|
|
244
|
+
};
|
|
245
|
+
}
|