@neuraloom/contracts 0.0.0-stage → 0.1.22
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 +12554 -0
- package/dist/schemas/cortex/bridge-events.schema.js +793 -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 +158 -0
- package/dist/schemas/orchestration-execution.js +88 -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 +82 -4
- package/README.md +0 -3
|
@@ -0,0 +1,2829 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeployStatusPersistArtifactSchema = exports.DeployVercelResultArtifactSchema = exports.DeployTriggerArtifactSchema = exports.DeployTargetConfigArtifactSchema = exports.CicdFinalArtifactSchema = exports.CicdRepoApplyArtifactSchema = exports.CicdCommitArtifactArtifactSchema = exports.CicdValidationArtifactSchema = exports.CicdWorkflowFileArtifactSchema = exports.CicdCommandsArtifactSchema = exports.CicdWorkflowArtifactSchema = exports.TaskFinalGraphArtifactSchema = exports.TaskValidationArtifactSchema = exports.TaskImplementationCardsArtifactSchema = exports.TaskDependencyGraphArtifactSchema = exports.TaskWorkBreakdownArtifactSchema = exports.TaskArtifactCoverageArtifactSchema = exports.TaskContextIntakeArtifactSchema = exports.TaskGraphArtifactSchema = exports.UiComponentContractArtifactSchema = exports.UiScreenMapArtifactSchema = exports.ApiContractArtifactSchema = exports.ApiEndpointMapArtifactSchema = exports.PlanFinalArtifactSchema = exports.PlanDeliveryPhasesArtifactSchema = exports.PlanRisksArtifactSchema = exports.PlanModuleBoundariesArtifactSchema = exports.PlanDataFlowArtifactSchema = exports.PlanArchitectureArtifactSchema = exports.SpecifyFinalArtifactSchema = exports.SpecifyConstraintsArtifactSchema = exports.SpecifyEdgeCasesArtifactSchema = exports.SpecifyAcceptanceCriteriaArtifactSchema = exports.SpecifyRequirementsArtifactSchema = exports.SpecifyDomainModelArtifactSchema = exports.SchemaTypesArtifactSchema = exports.SchemaSecurityArtifactSchema = exports.SchemaMigrationArtifactSchema = exports.SchemaRelationsArtifactSchema = exports.SchemaBlueprintArtifactSchema = exports.SchemaDomainModelArtifactSchema = exports.ReviewThreatPayloadSchema = exports.commitReadyPatchSetSchema = exports.implementPatchSetEntrySchema = exports.taskGraphPayloadSchema = exports.WORKFLOW_ARTIFACT_TYPE = exports.WorkflowArtifactBaseSchema = exports.WORKFLOW_ARTIFACT_DOMAIN_SUMMARY_MAX = exports.workflowArtifactGuardianRubricRefSchema = exports.WorkflowArtifactStatusSchema = void 0;
|
|
4
|
+
exports.CanonicalizationDecisionWorkflowArtifactSchema = exports.DocDraftWorkflowArtifactSchema = exports.TrainingScriptDraftWorkflowArtifactSchema = exports.SupportArticleDraftWorkflowArtifactSchema = exports.SalesEnablementDraftWorkflowArtifactSchema = exports.TroubleshootingGuideWorkflowArtifactSchema = exports.ReleaseNotesDraftWorkflowArtifactSchema = exports.FaqDraftWorkflowArtifactSchema = exports.OnboardingGuideWorkflowArtifactSchema = exports.OperatorManualWorkflowArtifactSchema = exports.CodeRealityGraphSnapshotWorkflowArtifactSchema = exports.ExistingCapabilityClassificationWorkflowArtifactSchema = exports.FindingsRegisterWorkflowArtifactSchema = exports.IngestInventoryWorkflowArtifactSchema = exports.RepoPolicySnapshotWorkflowArtifactSchema = exports.RepoIntelSnapshotWorkflowArtifactSchema = exports.GuardianReportArtifactSchema = exports.GuardianValidationArtifactSchema = exports.ConstitutionFinalArtifactSchema = exports.ConstitutionComplianceArtifactSchema = exports.ConstitutionRulesArtifactSchema = exports.ConstitutionDraftArtifactSchema = exports.AnalyticsFinalArtifactSchema = exports.BuildLessonsManifestArtifactSchema = exports.BuildImprovementFindingsArtifactSchema = exports.SoftwareWorkflowLineageArtifactSchema = exports.KnowledgeCoverageArtifactSchema = exports.KnowledgeFinalArtifactSchema = exports.KnowledgeGraphEntriesArtifactSchema = exports.KnowledgeDomainKnowledgeArtifactSchema = exports.KnowledgeSourceSummaryArtifactSchema = exports.ReviewAggregateArtifactSchema = exports.ReviewReleaseDecisionArtifactSchema = exports.ReviewThreatModelArtifactSchema = exports.ReviewCodeFindingsArtifactSchema = exports.ReviewConsistencyArtifactSchema = exports.ComplianceFinalArtifactSchema = exports.ComplianceRemediationArtifactSchema = exports.ComplianceScoreArtifactSchema = exports.CompliancePolicyArtifactSchema = exports.ComplianceEvidenceArtifactSchema = exports.ImplementFinalArtifactSchema = exports.GateContextContaminationArtifactSchema = exports.GateImportValidityArtifactSchema = exports.ImplementGuardianReviewArtifactSchema = exports.ImplementPrCreateArtifactSchema = exports.ImplementTestsArtifactSchema = exports.ImplementCodeGenArtifactSchema = exports.ImplementFilePlanArtifactSchema = exports.DeployFinalArtifactSchema = void 0;
|
|
5
|
+
exports.ArgumentMapFinalArtifactWorkflowSchema = exports.ArgumentMapDependencyMappingArtifactWorkflowSchema = exports.ArgumentMapClaimExtractionArtifactWorkflowSchema = exports.GuardianFinalArtifactWorkflowSchema = exports.GuardianGapAnalysisArtifactWorkflowSchema = exports.GuardianComplianceArtifactWorkflowSchema = exports.GuardianCoherenceArtifactWorkflowSchema = exports.ConstitutionWritingFinalArtifactWorkflowSchema = exports.ConstitutionGatesArtifactWorkflowSchema = exports.ConstitutionPrinciplesArtifactWorkflowSchema = exports.ConstitutionMissionArtifactWorkflowSchema = exports.StyleSystemFinalArtifactWorkflowSchema = exports.StyleProseExamplesArtifactWorkflowSchema = exports.StyleRulesArtifactWorkflowSchema = exports.StyleVoiceProfileArtifactWorkflowSchema = exports.SourceRegistryFinalArtifactWorkflowSchema = exports.SourceRegistrySourcesArtifactWorkflowSchema = exports.SourceRegistryScanArtifactWorkflowSchema = exports.DefinitionsFinalArtifactWorkflowSchema = exports.DefinitionsConceptMapArtifactWorkflowSchema = exports.DefinitionsClaimsArtifactWorkflowSchema = exports.DefinitionsGlossaryArtifactWorkflowSchema = exports.PublicationPackageArtifactSchema = exports.EditorialFindingsFinalArtifactSchema = exports.EditorialMissingSourcesArtifactSchema = exports.EditorialStyleDriftArtifactSchema = exports.EditorialContradictionsArtifactSchema = exports.EditorialClaimAuditArtifactSchema = exports.DraftFinalArtifactSchema = exports.DraftCitationsArtifactSchema = exports.DraftProseArtifactSchema = exports.DraftScaffoldArtifactSchema = exports.OutlineFinalArtifactSchema = exports.OutlineDependenciesArtifactSchema = exports.OutlineChaptersArtifactSchema = exports.OutlineStructureArtifactSchema = exports.OutlineDomainArtifactSchema = exports.ThesisFinalArtifactSchema = exports.ThesisDefinitionsArtifactSchema = exports.ThesisCounterclaimsArtifactSchema = exports.ThesisStatementArtifactSchema = exports.ThesisDomainArtifactSchema = exports.DependencyResolutionArtifactSchema = exports.DomainAcceptanceVerificationArtifactSchema = exports.DomainAcceptanceManifestArtifactSchema = exports.RuntimeContractVerificationArtifactSchema = exports.RuntimeContractArtifactSchema = exports.DeploymentRouteProbeArtifactSchema = exports.RouteManifestArtifactSchema = exports.CursorExecutionRunArtifactSchema = void 0;
|
|
6
|
+
exports.PacingGuideArtifactSchema = exports.VoiceToneProfileArtifactSchema = exports.InteractionSystemsFinalArtifactSchema = exports.AgencyRulesArtifactSchema = exports.DialogueSystemDraftArtifactSchema = exports.CharacterInteractionProtocolArtifactSchema = exports.StoryStructureFinalArtifactSchema = exports.NarrativeArcArtifactSchema = exports.PlotBeatsArtifactSchema = exports.ActOutlineArtifactSchema = exports.PremiseFinalArtifactSchema = exports.ThemeArticulationArtifactSchema = exports.PremiseDraftArtifactSchema = exports.WorldOntologyFinalArtifactSchema = exports.SymbolRegistryArtifactSchema = exports.LoreSystemDraftArtifactSchema = exports.FactionRegistryArtifactSchema = exports.WorldOntologyDraftArtifactSchema = exports.AudiobookElevenLabsStudioProjectWorkflowArtifactSchema = exports.AudiobookDistributionStateWorkflowArtifactSchema = exports.AudiobookProductionModeWorkflowArtifactSchema = exports.AudiobookStudioImportRecordWorkflowArtifactSchema = exports.AudiobookStudioExportPackageWorkflowArtifactSchema = exports.AudiobookEmbedPackageWorkflowArtifactSchema = exports.AudiobookProductionManifestWorkflowArtifactSchema = exports.AudiobookMotionStoryCueSheetWorkflowArtifactSchema = exports.AudiobookStillImagePromptSetWorkflowArtifactSchema = exports.AudiobookVisualStoryboardWorkflowArtifactSchema = exports.AudiobookQaReportWorkflowArtifactSchema = exports.AudiobookMixedChapterAudioWorkflowArtifactSchema = exports.AudiobookMixPlanWorkflowArtifactSchema = exports.AudiobookSoundAssetBundleWorkflowArtifactSchema = exports.AudiobookSoundCueSheetWorkflowArtifactSchema = exports.AudiobookProductionTimelineWorkflowArtifactSchema = exports.AudiobookNarrationTimingWorkflowArtifactSchema = exports.AudiobookNarrationScriptWorkflowArtifactSchema = exports.AudiobookVoiceProfileWorkflowArtifactSchema = exports.AudioProductionSettingsWorkflowArtifactSchema = exports.ManuscriptChecksReportArtifactWorkflowSchema = exports.ManuscriptDraftArtifactWorkflowSchema = exports.ArtifactDependencyArtifactWorkflowSchema = exports.ChapterContinuityLedgerArtifactWorkflowSchema = exports.ChapterRevisionQAReportArtifactWorkflowSchema = exports.ChapterRevisionDeltaArtifactWorkflowSchema = exports.ChapterRevisionBriefArtifactWorkflowSchema = exports.ChapterDraftArtifactWorkflowSchema = exports.WritingTasksFinalArtifactWorkflowSchema = exports.WritingTasksScanArtifactWorkflowSchema = exports.CounterclaimFrameworkFinalArtifactWorkflowSchema = exports.CounterclaimSurveyArtifactWorkflowSchema = void 0;
|
|
7
|
+
exports.FilmSceneListWorkflowArtifactSchema = exports.FilmStyleBibleWorkflowArtifactSchema = exports.FilmLocationBibleWorkflowArtifactSchema = exports.FilmCharacterBibleWorkflowArtifactSchema = exports.FilmStoryBibleWorkflowArtifactSchema = exports.FilmLoglineWorkflowArtifactSchema = exports.NonfictionPeerReviewFinalArtifactSchema = exports.RhetoricalBalanceReviewArtifactSchema = exports.HallucinationCheckArtifactSchema = exports.ContradictionAnalysisArtifactSchema = exports.SourceQualityAuditArtifactSchema = exports.NonfictionDraftFinalArtifactSchema = exports.EvidenceIntegrationArtifactSchema = exports.ArgumentProseArtifactSchema = exports.NonfictionResearchTasksFinalArtifactSchema = exports.NonfictionChapterScheduleArtifactSchema = exports.SourceValidationArtifactSchema = exports.ResearchTaskDecompositionArtifactSchema = exports.NonfictionNarrativeVoiceFinalArtifactSchema = exports.ReaderPositioningArtifactSchema = exports.RhetoricalRegisterArtifactSchema = exports.NarrativeVoiceDraftArtifactSchema = exports.NonfictionSourceRegistryFinalArtifactSchema = exports.CitationSystemArtifactSchema = exports.EvidenceGraphArtifactSchema = exports.NonfictionSourceRegistryArtifactSchema = exports.NonfictionClaimOntologyFinalArtifactSchema = exports.ConceptTaxonomyArtifactSchema = exports.DefinitionGlossaryArtifactSchema = exports.ClaimRegistryArtifactSchema = exports.NonfictionArgumentFinalArtifactSchema = exports.EvidenceHierarchyArtifactSchema = exports.ChapterPlanArtifactSchema = exports.ArgumentStructureArtifactSchema = exports.NonfictionThesisFinalArtifactSchema = exports.AudienceProfileArtifactSchema = exports.ThesisRefinementArtifactSchema = exports.ThesisDraftArtifactSchema = exports.FictionEditorialFinalArtifactSchema = exports.NarrativePacingReviewArtifactSchema = exports.TonalDriftCheckArtifactSchema = exports.CharacterContinuityAuditArtifactSchema = exports.LoreContinuityAuditArtifactSchema = exports.LoreEntryDraftArtifactSchema = exports.SceneDraftArtifactSchema = exports.SceneTasksFinalArtifactSchema = exports.ChapterScheduleArtifactSchema = exports.SceneTaskDecompositionArtifactSchema = exports.ReaderExperienceFinalArtifactSchema = exports.ImmersionTechniquesArtifactSchema = void 0;
|
|
8
|
+
exports.WorkflowArtifactSchema = exports.FilmTakeComparisonWorkflowArtifactSchema = exports.FilmComfyUIWorkflowArtifactSchema = exports.FilmGenerationTaskWorkflowArtifactSchema = exports.FilmStillReviewWorkflowArtifactSchema = exports.FilmOtioTimelineWorkflowArtifactSchema = exports.FilmExportPacketWorkflowArtifactSchema = exports.FilmProductionPacketWorkflowArtifactSchema = exports.FilmEditSequenceWorkflowArtifactSchema = exports.FilmReviewReportWorkflowArtifactSchema = exports.FilmClipReviewWorkflowArtifactSchema = exports.FilmClipManifestWorkflowArtifactSchema = exports.FilmPromptPackWorkflowArtifactSchema = exports.FilmShotListWorkflowArtifactSchema = exports.FilmScreenplayDraftWorkflowArtifactSchema = void 0;
|
|
9
|
+
exports.truncateWorkflowArtifactDomainSummary = truncateWorkflowArtifactDomainSummary;
|
|
10
|
+
const zod_1 = require("zod");
|
|
11
|
+
const audit_existing_output_evidence_schema_1 = require("./audit-existing-output-evidence.schema");
|
|
12
|
+
const guardian_score_schema_1 = require("../guardian/guardian-score.schema");
|
|
13
|
+
const ui_generation_standard_schema_1 = require("./ui-generation-standard.schema");
|
|
14
|
+
const analytics_generate_schema_1 = require("./analytics-generate.schema");
|
|
15
|
+
const coverage_schema_1 = require("../knowledge/coverage.schema");
|
|
16
|
+
const software_workflow_lineage_schema_1 = require("../workflow/software-workflow-lineage.schema");
|
|
17
|
+
const review_policy_schema_1 = require("../review/review-policy.schema");
|
|
18
|
+
const task_complexity_schema_1 = require("../task-complexity.schema");
|
|
19
|
+
const context_contamination_schema_1 = require("../workflow/context-contamination.schema");
|
|
20
|
+
const build_knowledge_schema_1 = require("../workflow/build-knowledge.schema");
|
|
21
|
+
const import_validity_schema_1 = require("../workflow/import-validity.schema");
|
|
22
|
+
const route_manifest_schema_1 = require("../workflow/route-manifest.schema");
|
|
23
|
+
const runtime_contract_schema_1 = require("../workflow/runtime-contract.schema");
|
|
24
|
+
const domain_acceptance_schema_1 = require("../workflow/domain-acceptance.schema");
|
|
25
|
+
const audiobook_artifacts_schema_1 = require("../audiobook/audiobook-artifacts.schema");
|
|
26
|
+
const chapter_revision_schema_1 = require("./chapter-revision.schema");
|
|
27
|
+
const manuscript_checks_schema_1 = require("./manuscript-checks.schema");
|
|
28
|
+
const audiobook_studio_schema_1 = require("../audiobook/audiobook-studio.schema");
|
|
29
|
+
const audiobook_embed_schema_1 = require("../audiobook-embed/audiobook-embed.schema");
|
|
30
|
+
const film_generation_task_schema_1 = require("../film/film-generation-task.schema");
|
|
31
|
+
const film_take_comparison_schema_1 = require("../film/film-take-comparison.schema");
|
|
32
|
+
const film_comfyui_workflow_schema_1 = require("../film/film-comfyui-workflow.schema");
|
|
33
|
+
const repo_intel_snapshot_schema_1 = require("../workflow/repo-intel-snapshot.schema");
|
|
34
|
+
const doc_draft_artifact_schema_1 = require("../workflow/doc-draft-artifact.schema");
|
|
35
|
+
const repo_policy_snapshot_schema_1 = require("../workflow/repo-policy-snapshot.schema");
|
|
36
|
+
const findings_register_schema_1 = require("../workflow/findings-register.schema");
|
|
37
|
+
const code_reality_task_traceability_schema_1 = require("../workflow/code-reality-task-traceability.schema");
|
|
38
|
+
const code_reality_artifacts_schema_1 = require("../workflow/code-reality-artifacts.schema");
|
|
39
|
+
const existing_capability_classification_schema_1 = require("../workflow/existing-capability-classification.schema");
|
|
40
|
+
const canonicalization_decision_schema_1 = require("../workflow/canonicalization-decision.schema");
|
|
41
|
+
const ingest_inventory_schema_1 = require("../workflow/ingest-inventory.schema");
|
|
42
|
+
const cursor_execution_schema_1 = require("../integrations/cursor-execution.schema");
|
|
43
|
+
exports.WorkflowArtifactStatusSchema = zod_1.z.enum([
|
|
44
|
+
"pending",
|
|
45
|
+
"validating",
|
|
46
|
+
"accepted",
|
|
47
|
+
"rejected",
|
|
48
|
+
"superseded",
|
|
49
|
+
]);
|
|
50
|
+
exports.workflowArtifactGuardianRubricRefSchema = zod_1.z
|
|
51
|
+
.object({
|
|
52
|
+
rubricId: zod_1.z.string().min(1),
|
|
53
|
+
rubricVersion: zod_1.z.string().min(1),
|
|
54
|
+
})
|
|
55
|
+
.strict();
|
|
56
|
+
/** Zod + `workflow_artifacts.domain_summary` persist cap. Repair prompt grounding may be longer. */
|
|
57
|
+
exports.WORKFLOW_ARTIFACT_DOMAIN_SUMMARY_MAX = 400;
|
|
58
|
+
/** Truncate before Zod/DB write so a long model/executive summary cannot fail persist. */
|
|
59
|
+
function truncateWorkflowArtifactDomainSummary(value) {
|
|
60
|
+
return value.length > exports.WORKFLOW_ARTIFACT_DOMAIN_SUMMARY_MAX
|
|
61
|
+
? value.slice(0, exports.WORKFLOW_ARTIFACT_DOMAIN_SUMMARY_MAX)
|
|
62
|
+
: value;
|
|
63
|
+
}
|
|
64
|
+
exports.WorkflowArtifactBaseSchema = zod_1.z
|
|
65
|
+
.object({
|
|
66
|
+
projectId: zod_1.z.string().uuid(),
|
|
67
|
+
workflowStepId: zod_1.z.string(),
|
|
68
|
+
sourceArtifactIds: zod_1.z.array(zod_1.z.string()),
|
|
69
|
+
domainSummary: zod_1.z.string().min(0).max(exports.WORKFLOW_ARTIFACT_DOMAIN_SUMMARY_MAX),
|
|
70
|
+
createdAt: zod_1.z.string().datetime(),
|
|
71
|
+
guardianScore: guardian_score_schema_1.GuardianScoreNullishFromModelSchema,
|
|
72
|
+
status: exports.WorkflowArtifactStatusSchema,
|
|
73
|
+
guardianRubric: exports.workflowArtifactGuardianRubricRefSchema.optional(),
|
|
74
|
+
// Envelope fields (all optional; legacy artifacts without these fall through with a warning, not a hard fail)
|
|
75
|
+
workflowRunId: zod_1.z.string().optional(),
|
|
76
|
+
workflowFamily: zod_1.z.string().optional(),
|
|
77
|
+
workflowVariant: zod_1.z.string().optional(),
|
|
78
|
+
workflowVersion: zod_1.z.string().optional(),
|
|
79
|
+
schemaVersion: zod_1.z.string().optional(),
|
|
80
|
+
sourceHashes: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
|
|
81
|
+
})
|
|
82
|
+
.strict();
|
|
83
|
+
exports.WORKFLOW_ARTIFACT_TYPE = {
|
|
84
|
+
schemaDomainModel: "schemaDomainModel",
|
|
85
|
+
schemaBlueprint: "schemaBlueprint",
|
|
86
|
+
schemaRelations: "schemaRelations",
|
|
87
|
+
schemaMigration: "schemaMigration",
|
|
88
|
+
schemaSecurity: "schemaSecurity",
|
|
89
|
+
schemaTypes: "schemaTypes",
|
|
90
|
+
specifyDomainModel: "specifyDomainModel",
|
|
91
|
+
specifyRequirements: "specifyRequirements",
|
|
92
|
+
specifyAcceptanceCriteria: "specifyAcceptanceCriteria",
|
|
93
|
+
specifyEdgeCases: "specifyEdgeCases",
|
|
94
|
+
specifyConstraints: "specifyConstraints",
|
|
95
|
+
specifyFinal: "specifyFinal",
|
|
96
|
+
planArchitecture: "planArchitecture",
|
|
97
|
+
planDataFlow: "planDataFlow",
|
|
98
|
+
planModuleBoundaries: "planModuleBoundaries",
|
|
99
|
+
planRisks: "planRisks",
|
|
100
|
+
planDeliveryPhases: "planDeliveryPhases",
|
|
101
|
+
planFinal: "planFinal",
|
|
102
|
+
apiEndpointMap: "apiEndpointMap",
|
|
103
|
+
apiContract: "apiContract",
|
|
104
|
+
uiScreenMap: "uiScreenMap",
|
|
105
|
+
uiComponentContract: "uiComponentContract",
|
|
106
|
+
taskGraph: "taskGraph",
|
|
107
|
+
taskContextIntake: "taskContextIntake",
|
|
108
|
+
taskArtifactCoverage: "taskArtifactCoverage",
|
|
109
|
+
taskWorkBreakdown: "taskWorkBreakdown",
|
|
110
|
+
taskDependencyGraph: "taskDependencyGraph",
|
|
111
|
+
taskImplementationCards: "taskImplementationCards",
|
|
112
|
+
taskValidation: "taskValidation",
|
|
113
|
+
taskFinalGraph: "taskFinalGraph",
|
|
114
|
+
cicdWorkflow: "cicdWorkflow",
|
|
115
|
+
cicdCommands: "cicdCommands",
|
|
116
|
+
cicdWorkflowFile: "cicdWorkflowFile",
|
|
117
|
+
cicdValidation: "cicdValidation",
|
|
118
|
+
cicdCommitArtifact: "cicdCommitArtifact",
|
|
119
|
+
cicdRepoApply: "cicdRepoApply",
|
|
120
|
+
cicdFinal: "cicdFinal",
|
|
121
|
+
deployTargetConfig: "deployTargetConfig",
|
|
122
|
+
deployTrigger: "deployTrigger",
|
|
123
|
+
deployVercelResult: "deployVercelResult",
|
|
124
|
+
deployStatusPersist: "deployStatusPersist",
|
|
125
|
+
deployFinal: "deployFinal",
|
|
126
|
+
implementFilePlan: "implementFilePlan",
|
|
127
|
+
implementCodeGen: "implementCodeGen",
|
|
128
|
+
implementTests: "implementTests",
|
|
129
|
+
implementPrCreate: "implementPrCreate",
|
|
130
|
+
implementGuardianReview: "implementGuardianReview",
|
|
131
|
+
implementFinal: "implementFinal",
|
|
132
|
+
complianceEvidence: "complianceEvidence",
|
|
133
|
+
compliancePolicy: "compliancePolicy",
|
|
134
|
+
complianceScore: "complianceScore",
|
|
135
|
+
complianceRemediation: "complianceRemediation",
|
|
136
|
+
complianceFinal: "complianceFinal",
|
|
137
|
+
reviewArtifact: "reviewArtifact",
|
|
138
|
+
reviewCode: "reviewCode",
|
|
139
|
+
reviewSecurity: "reviewSecurity",
|
|
140
|
+
reviewReleaseDecision: "reviewReleaseDecision",
|
|
141
|
+
reviewFinal: "reviewFinal",
|
|
142
|
+
// Foundation phase
|
|
143
|
+
integrationsStatus: "integrationsStatus",
|
|
144
|
+
repoSetup: "repoSetup",
|
|
145
|
+
teamConfig: "teamConfig",
|
|
146
|
+
// Governance phase
|
|
147
|
+
constitutionDraft: "constitutionDraft",
|
|
148
|
+
constitutionRules: "constitutionRules",
|
|
149
|
+
constitutionCompliance: "constitutionCompliance",
|
|
150
|
+
constitutionFinal: "constitutionFinal",
|
|
151
|
+
guardianValidation: "guardianValidation",
|
|
152
|
+
guardianReport: "guardianReport",
|
|
153
|
+
// Build phase — knowledge / docs pipeline (#260)
|
|
154
|
+
knowledgeSourceSummary: "knowledgeSourceSummary",
|
|
155
|
+
knowledgeDomainKnowledge: "knowledgeDomainKnowledge",
|
|
156
|
+
knowledgeGraphEntries: "knowledgeGraphEntries",
|
|
157
|
+
knowledgeFinal: "knowledgeFinal",
|
|
158
|
+
knowledgeCoverage: "knowledgeCoverage",
|
|
159
|
+
/** Bridge-02 (#1394): end-to-end finding→task→plan→PR→proof lineage snapshot. */
|
|
160
|
+
softwareWorkflowLineage: "softwareWorkflowLineage",
|
|
161
|
+
// Build phase — knowledge closure loop (Build Spine sprint)
|
|
162
|
+
buildImprovementFindings: "buildImprovementFindings",
|
|
163
|
+
buildLessonsManifest: "buildLessonsManifest",
|
|
164
|
+
// Maintain phase
|
|
165
|
+
analyticsMetrics: "analyticsMetrics",
|
|
166
|
+
analyticsInsights: "analyticsInsights",
|
|
167
|
+
analyticsFinal: "analyticsFinal",
|
|
168
|
+
productRealizationGate: "productRealizationGate",
|
|
169
|
+
gateImportValidity: "gateImportValidity",
|
|
170
|
+
gateContextContamination: "gateContextContamination",
|
|
171
|
+
/** Sprint B: canonical route manifest derived from generated file tree. */
|
|
172
|
+
routeManifest: "routeManifest",
|
|
173
|
+
/** Sprint B: deployment multi-route probe run results. */
|
|
174
|
+
deploymentRouteProbe: "deploymentRouteProbe",
|
|
175
|
+
/** Sprint C: runtime contract specifying expected probe behaviour for a generated app. */
|
|
176
|
+
runtimeContract: "runtimeContract",
|
|
177
|
+
/** Sprint C: result of a runtime contract verification run against a live deployment. */
|
|
178
|
+
runtimeContractVerification: "runtimeContractVerification",
|
|
179
|
+
/** Sprint D: domain acceptance manifest declaring minimum verifiable behaviors. */
|
|
180
|
+
domainAcceptanceManifest: "domainAcceptanceManifest",
|
|
181
|
+
/** Sprint D: result of a domain acceptance verification run. */
|
|
182
|
+
domainAcceptanceVerification: "domainAcceptanceVerification",
|
|
183
|
+
/** Sprint E: package dependency resolution and build integrity gate artifact. */
|
|
184
|
+
dependencyResolution: "dependencyResolution",
|
|
185
|
+
// ─── Coding Quality Spine — Wave 1+ ──────────────────────────────────────────
|
|
186
|
+
/** Scan step: factual operating map of the repo (produced by repo:intel). */
|
|
187
|
+
repoIntelSnapshot: "repoIntelSnapshot",
|
|
188
|
+
/** Architecture Control step: canonical ownership + policy rules for the repo. */
|
|
189
|
+
repoPolicySnapshot: "repoPolicySnapshot",
|
|
190
|
+
/** Audit-existing ingest: structured route/domain/package inventory for downstream prompts. */
|
|
191
|
+
ingestInventory: "ingestInventory",
|
|
192
|
+
/** Audit-existing ingest: structured findings register for Repair-Specify. */
|
|
193
|
+
findingsRegister: "findingsRegister",
|
|
194
|
+
/** Audit-existing ingest: code-reality graph counts + inventory summaries (#1251). */
|
|
195
|
+
codeRealityGraphSnapshot: "codeRealityGraphSnapshot",
|
|
196
|
+
/** Repo-grounded operator/support doc drafts (#1398). */
|
|
197
|
+
operatorManual: "operatorManual",
|
|
198
|
+
onboardingGuide: "onboardingGuide",
|
|
199
|
+
faqDraft: "faqDraft",
|
|
200
|
+
releaseNotesDraft: "releaseNotesDraft",
|
|
201
|
+
troubleshootingGuide: "troubleshootingGuide",
|
|
202
|
+
salesEnablementDraft: "salesEnablementDraft",
|
|
203
|
+
supportArticleDraft: "supportArticleDraft",
|
|
204
|
+
trainingScriptDraft: "trainingScriptDraft",
|
|
205
|
+
/** Audit-existing ingest: existing capability classification from findings. */
|
|
206
|
+
existingCapabilityClassification: "existingCapabilityClassification",
|
|
207
|
+
/** Audit-existing ingest: canonicalization decisions for duplicate/legacy entities. */
|
|
208
|
+
canonicalizationDecision: "canonicalizationDecision",
|
|
209
|
+
/** Architecture Control step: structured ownership + anti-drift plan. */
|
|
210
|
+
architectureControlPlan: "architectureControlPlan",
|
|
211
|
+
/** Tasks step: bounded execution capsule per implementation task. */
|
|
212
|
+
taskCapsule: "taskCapsule",
|
|
213
|
+
/** Patch Review step: adversarial drift review result (pass | fail + findings). */
|
|
214
|
+
patchReviewResult: "patchReviewResult",
|
|
215
|
+
/** Deploy step: technical reachability evidence bundle. */
|
|
216
|
+
deploymentEvidence: "deploymentEvidence",
|
|
217
|
+
/** Review step: live acceptance result against approved spec. */
|
|
218
|
+
reviewAcceptance: "reviewAcceptance",
|
|
219
|
+
/** Step handoff: allowed scope + required outputs for the next step. */
|
|
220
|
+
stepHandoffManifest: "stepHandoffManifest",
|
|
221
|
+
/** Context Compiler: minimal task-specific bundle for external agents. */
|
|
222
|
+
contextBundle: "contextBundle",
|
|
223
|
+
/** PR6: Cursor Cloud Agent execution evidence for graph-backed implement tasks. */
|
|
224
|
+
cursorExecutionRun: "cursor_execution_run",
|
|
225
|
+
/** Policy checker: result of pnpm policy:check run. */
|
|
226
|
+
policyResult: "policyResult",
|
|
227
|
+
/** Architecture test: route/contract/client/schema parity check result. */
|
|
228
|
+
parityCheckResult: "parityCheckResult",
|
|
229
|
+
/** Knowledge Graph step: traceability persistence result for the workflow run. */
|
|
230
|
+
knowledgeGraphResult: "knowledgeGraphResult",
|
|
231
|
+
/** Workflow Intelligence Graph: topology/consistency overlay for workflow definition, runtime trace, or diffs (Phase 2+). */
|
|
232
|
+
workflowIntelligenceGraph: "workflowIntelligenceGraph",
|
|
233
|
+
/** Test Obligation Manifest: canonical record of all test obligations for a workflow run/PR. */
|
|
234
|
+
testObligationManifest: "testObligationManifest",
|
|
235
|
+
// Writing mode — thesis pipeline (specify step, writing kind)
|
|
236
|
+
thesisDomain: "thesisDomain",
|
|
237
|
+
thesisStatement: "thesisStatement",
|
|
238
|
+
thesisCounterclaims: "thesisCounterclaims",
|
|
239
|
+
thesisDefinitions: "thesisDefinitions",
|
|
240
|
+
thesisFinal: "thesisFinal",
|
|
241
|
+
// Writing mode — outline pipeline (plan step, writing kind)
|
|
242
|
+
outlineDomain: "outlineDomain",
|
|
243
|
+
outlineStructure: "outlineStructure",
|
|
244
|
+
outlineChapters: "outlineChapters",
|
|
245
|
+
outlineDependencies: "outlineDependencies",
|
|
246
|
+
outlineFinal: "outlineFinal",
|
|
247
|
+
// Writing mode — draft pipeline (implement step, writing kind)
|
|
248
|
+
draftScaffold: "draftScaffold",
|
|
249
|
+
draftProse: "draftProse",
|
|
250
|
+
draftCitations: "draftCitations",
|
|
251
|
+
draftFinal: "draftFinal",
|
|
252
|
+
// Writing mode — editorial review pipeline (review step, writing kind)
|
|
253
|
+
editorialClaimAudit: "editorialClaimAudit",
|
|
254
|
+
editorialContradictions: "editorialContradictions",
|
|
255
|
+
editorialStyleDrift: "editorialStyleDrift",
|
|
256
|
+
editorialMissingSources: "editorialMissingSources",
|
|
257
|
+
editorialFindingsFinal: "editorialFindingsFinal",
|
|
258
|
+
// Writing mode — publication pipeline (deployments step, writing kind)
|
|
259
|
+
publicationPackage: "publicationPackage",
|
|
260
|
+
// Writing mode — definitions & claims pipeline (schema step, writing kind)
|
|
261
|
+
definitionsGlossary: "definitionsGlossary",
|
|
262
|
+
definitionsClaims: "definitionsClaims",
|
|
263
|
+
definitionsConceptMap: "definitionsConceptMap",
|
|
264
|
+
definitionsFinal: "definitionsFinal",
|
|
265
|
+
// Writing mode — source registry pipeline (api step, writing kind)
|
|
266
|
+
sourceRegistryScan: "sourceRegistryScan",
|
|
267
|
+
sourceRegistrySources: "sourceRegistrySources",
|
|
268
|
+
sourceRegistryFinal: "sourceRegistryFinal",
|
|
269
|
+
// Writing mode — style system pipeline (ui step, writing kind)
|
|
270
|
+
styleVoiceProfile: "styleVoiceProfile",
|
|
271
|
+
styleRules: "styleRules",
|
|
272
|
+
styleProseExamples: "styleProseExamples",
|
|
273
|
+
styleSystemFinal: "styleSystemFinal",
|
|
274
|
+
// Writing mode — editorial constitution pipeline (constitution step, writing kind)
|
|
275
|
+
constitutionMission: "constitutionMission",
|
|
276
|
+
constitutionPrinciples: "constitutionPrinciples",
|
|
277
|
+
constitutionGates: "constitutionGates",
|
|
278
|
+
constitutionWritingFinal: "constitutionWritingFinal",
|
|
279
|
+
// Writing mode — editorial guardian pipeline (guardian step, writing kind)
|
|
280
|
+
guardianCoherence: "guardianCoherence",
|
|
281
|
+
guardianCompliance: "guardianCompliance",
|
|
282
|
+
guardianGapAnalysis: "guardianGapAnalysis",
|
|
283
|
+
guardianFinal: "guardianFinal",
|
|
284
|
+
// Writing mode — argument map pipeline (argument_map step, writing kind)
|
|
285
|
+
argumentMapClaimExtraction: "argumentMapClaimExtraction",
|
|
286
|
+
argumentMapDependencyMapping: "argumentMapDependencyMapping",
|
|
287
|
+
argumentMapFinal: "argumentMapFinal",
|
|
288
|
+
// Writing mode — counterclaim framework pipeline (counterclaim_framework step, writing kind)
|
|
289
|
+
counterclaimSurvey: "counterclaimSurvey",
|
|
290
|
+
counterclaimFrameworkFinal: "counterclaimFrameworkFinal",
|
|
291
|
+
// Writing mode — writing tasks pipeline (tasks step, writing kind)
|
|
292
|
+
writingTasksScan: "writingTasksScan",
|
|
293
|
+
writingTasksFinal: "writingTasksFinal",
|
|
294
|
+
// Writing mode — draft-all manuscript pipeline (implement step, writing kind)
|
|
295
|
+
chapterDraft: "chapterDraft",
|
|
296
|
+
chapterRevisionBrief: "chapterRevisionBrief",
|
|
297
|
+
chapterRevisionDelta: "chapterRevisionDelta",
|
|
298
|
+
chapterRevisionQAReport: "chapterRevisionQAReport",
|
|
299
|
+
chapterContinuityLedger: "chapterContinuityLedger",
|
|
300
|
+
artifactDependency: "artifactDependency",
|
|
301
|
+
manuscriptDraft: "manuscriptDraft",
|
|
302
|
+
manuscriptChecksReport: "manuscriptChecksReport",
|
|
303
|
+
// Publication — documentary audiobook pipeline (deployments step, writing kind)
|
|
304
|
+
audioProductionSettings: "audioProductionSettings",
|
|
305
|
+
audiobookVoiceProfile: "audiobookVoiceProfile",
|
|
306
|
+
audiobookNarrationScript: "audiobookNarrationScript",
|
|
307
|
+
audiobookNarrationTiming: "audiobookNarrationTiming",
|
|
308
|
+
audiobookProductionTimeline: "audiobookProductionTimeline",
|
|
309
|
+
audiobookSoundCueSheet: "audiobookSoundCueSheet",
|
|
310
|
+
audiobookSoundAssetBundle: "audiobookSoundAssetBundle",
|
|
311
|
+
audiobookMixPlan: "audiobookMixPlan",
|
|
312
|
+
audiobookMixedChapterAudio: "audiobookMixedChapterAudio",
|
|
313
|
+
audiobookQaReport: "audiobookQaReport",
|
|
314
|
+
audiobookVisualStoryboard: "audiobookVisualStoryboard",
|
|
315
|
+
audiobookStillImagePromptSet: "audiobookStillImagePromptSet",
|
|
316
|
+
audiobookMotionStoryCueSheet: "audiobookMotionStoryCueSheet",
|
|
317
|
+
audiobookProductionManifest: "audiobookProductionManifest",
|
|
318
|
+
audiobookEmbedPackage: "audiobookEmbedPackage",
|
|
319
|
+
audiobookStudioExportPackage: "audiobookStudioExportPackage",
|
|
320
|
+
audiobookStudioImportRecord: "audiobookStudioImportRecord",
|
|
321
|
+
audiobookProductionMode: "audiobookProductionMode",
|
|
322
|
+
audiobookDistributionState: "audiobookDistributionState",
|
|
323
|
+
audiobookElevenLabsStudioProject: "audiobookElevenLabsStudioProject",
|
|
324
|
+
// Fiction mode — world ontology pipeline (schema step, fiction kind)
|
|
325
|
+
worldOntologyDraft: "worldOntologyDraft",
|
|
326
|
+
factionRegistry: "factionRegistry",
|
|
327
|
+
loreSystemDraft: "loreSystemDraft",
|
|
328
|
+
symbolRegistry: "symbolRegistry",
|
|
329
|
+
worldOntologyFinal: "worldOntologyFinal",
|
|
330
|
+
// Fiction mode — premise pipeline (specify step, fiction kind)
|
|
331
|
+
premiseDraft: "premiseDraft",
|
|
332
|
+
themeArticulation: "themeArticulation",
|
|
333
|
+
premiseFinal: "premiseFinal",
|
|
334
|
+
// Fiction mode — story structure pipeline (plan step, fiction kind)
|
|
335
|
+
actOutline: "actOutline",
|
|
336
|
+
plotBeats: "plotBeats",
|
|
337
|
+
narrativeArc: "narrativeArc",
|
|
338
|
+
storyStructureFinal: "storyStructureFinal",
|
|
339
|
+
// Fiction mode — interaction systems pipeline (api step, fiction kind)
|
|
340
|
+
characterInteractionProtocol: "characterInteractionProtocol",
|
|
341
|
+
dialogueSystemDraft: "dialogueSystemDraft",
|
|
342
|
+
agencyRules: "agencyRules",
|
|
343
|
+
interactionSystemsFinal: "interactionSystemsFinal",
|
|
344
|
+
// Fiction mode — reader experience pipeline (ui step, fiction kind)
|
|
345
|
+
voiceToneProfile: "voiceToneProfile",
|
|
346
|
+
pacingGuide: "pacingGuide",
|
|
347
|
+
immersionTechniques: "immersionTechniques",
|
|
348
|
+
readerExperienceFinal: "readerExperienceFinal",
|
|
349
|
+
// Fiction mode — scene tasks pipeline (tasks step, fiction kind)
|
|
350
|
+
sceneTaskDecomposition: "sceneTaskDecomposition",
|
|
351
|
+
chapterSchedule: "chapterSchedule",
|
|
352
|
+
sceneTasksFinal: "sceneTasksFinal",
|
|
353
|
+
// Fiction mode — draft pipeline (implement step, fiction kind)
|
|
354
|
+
sceneDraft: "sceneDraft",
|
|
355
|
+
loreEntryDraft: "loreEntryDraft",
|
|
356
|
+
// Fiction mode — editorial review pipeline (review step, fiction kind)
|
|
357
|
+
loreContinuityAudit: "loreContinuityAudit",
|
|
358
|
+
characterContinuityAudit: "characterContinuityAudit",
|
|
359
|
+
tonalDriftCheck: "tonalDriftCheck",
|
|
360
|
+
narrativePacingReview: "narrativePacingReview",
|
|
361
|
+
fictionEditorialFinal: "fictionEditorialFinal",
|
|
362
|
+
// Nonfiction mode — thesis pipeline (specify step, nonfiction kind)
|
|
363
|
+
thesisDraft: "thesisDraft",
|
|
364
|
+
thesisRefinement: "thesisRefinement",
|
|
365
|
+
audienceProfile: "audienceProfile",
|
|
366
|
+
nonfictionThesisFinal: "nonfictionThesisFinal",
|
|
367
|
+
// Nonfiction mode — argument structure pipeline (plan step, nonfiction kind)
|
|
368
|
+
argumentStructure: "argumentStructure",
|
|
369
|
+
chapterPlan: "chapterPlan",
|
|
370
|
+
evidenceHierarchy: "evidenceHierarchy",
|
|
371
|
+
nonfictionArgumentFinal: "nonfictionArgumentFinal",
|
|
372
|
+
// Nonfiction mode — claim ontology pipeline (schema step, nonfiction kind)
|
|
373
|
+
claimRegistry: "claimRegistry",
|
|
374
|
+
definitionGlossary: "definitionGlossary",
|
|
375
|
+
conceptTaxonomy: "conceptTaxonomy",
|
|
376
|
+
nonfictionClaimOntologyFinal: "nonfictionClaimOntologyFinal",
|
|
377
|
+
// Nonfiction mode — source registry pipeline (api step, nonfiction kind)
|
|
378
|
+
nonfictionSourceRegistry: "nonfictionSourceRegistry",
|
|
379
|
+
evidenceGraph: "evidenceGraph",
|
|
380
|
+
citationSystem: "citationSystem",
|
|
381
|
+
nonfictionSourceRegistryFinal: "nonfictionSourceRegistryFinal",
|
|
382
|
+
// Nonfiction mode — narrative voice pipeline (ui step, nonfiction kind)
|
|
383
|
+
narrativeVoiceDraft: "narrativeVoiceDraft",
|
|
384
|
+
rhetoricalRegister: "rhetoricalRegister",
|
|
385
|
+
readerPositioning: "readerPositioning",
|
|
386
|
+
nonfictionNarrativeVoiceFinal: "nonfictionNarrativeVoiceFinal",
|
|
387
|
+
// Nonfiction mode — research tasks pipeline (tasks step, nonfiction kind)
|
|
388
|
+
researchTaskDecomposition: "researchTaskDecomposition",
|
|
389
|
+
sourceValidation: "sourceValidation",
|
|
390
|
+
nonfictionChapterSchedule: "nonfictionChapterSchedule",
|
|
391
|
+
nonfictionResearchTasksFinal: "nonfictionResearchTasksFinal",
|
|
392
|
+
// Nonfiction mode — draft pipeline (implement step, nonfiction kind)
|
|
393
|
+
argumentProse: "argumentProse",
|
|
394
|
+
evidenceIntegration: "evidenceIntegration",
|
|
395
|
+
nonfictionDraftFinal: "nonfictionDraftFinal",
|
|
396
|
+
// Nonfiction mode — peer review pipeline (review step, nonfiction kind)
|
|
397
|
+
sourceQualityAudit: "sourceQualityAudit",
|
|
398
|
+
contradictionAnalysis: "contradictionAnalysis",
|
|
399
|
+
hallucinationCheck: "hallucinationCheck",
|
|
400
|
+
rhetoricalBalanceReview: "rhetoricalBalanceReview",
|
|
401
|
+
nonfictionPeerReviewFinal: "nonfictionPeerReviewFinal",
|
|
402
|
+
// ── Media family — Screenplay & Movie Package ──────────────────────────────
|
|
403
|
+
// Screenplay pipeline stages (namespaced media_screenplay_*)
|
|
404
|
+
media_screenplay_concept: "media_screenplay_concept",
|
|
405
|
+
media_screenplay_logline: "media_screenplay_logline",
|
|
406
|
+
media_screenplay_treatment: "media_screenplay_treatment",
|
|
407
|
+
media_screenplay_beatSheet: "media_screenplay_beatSheet",
|
|
408
|
+
media_screenplay_actStructure: "media_screenplay_actStructure",
|
|
409
|
+
media_screenplay_sceneList: "media_screenplay_sceneList",
|
|
410
|
+
media_screenplay_draft: "media_screenplay_draft",
|
|
411
|
+
media_screenplay_coverage: "media_screenplay_coverage",
|
|
412
|
+
media_screenplay_final: "media_screenplay_final",
|
|
413
|
+
// Movie package pipeline stages (namespaced media_movie_*)
|
|
414
|
+
media_movie_visualBible: "media_movie_visualBible",
|
|
415
|
+
media_movie_shotList: "media_movie_shotList",
|
|
416
|
+
media_movie_soundBible: "media_movie_soundBible",
|
|
417
|
+
media_movie_conceptArtPrompts: "media_movie_conceptArtPrompts",
|
|
418
|
+
media_movie_runwayClipPlan: "media_movie_runwayClipPlan",
|
|
419
|
+
media_movie_trailerScript: "media_movie_trailerScript",
|
|
420
|
+
media_movie_pitchPackage: "media_movie_pitchPackage",
|
|
421
|
+
media_movie_productionManifest: "media_movie_productionManifest",
|
|
422
|
+
// Transformation seeds
|
|
423
|
+
transformation_scientificPaperSeed: "transformation_scientificPaperSeed",
|
|
424
|
+
transformation_documentaryTreatment: "transformation_documentaryTreatment",
|
|
425
|
+
transformation_chapterCompressionMap: "transformation_chapterCompressionMap",
|
|
426
|
+
// Film production pipeline stages (namespaced media_film_*)
|
|
427
|
+
media_film_logline: "media_film_logline",
|
|
428
|
+
media_film_storyBible: "media_film_storyBible",
|
|
429
|
+
media_film_characterBible: "media_film_characterBible",
|
|
430
|
+
media_film_locationBible: "media_film_locationBible",
|
|
431
|
+
media_film_styleBible: "media_film_styleBible",
|
|
432
|
+
media_film_sceneList: "media_film_sceneList",
|
|
433
|
+
media_film_screenplayDraft: "media_film_screenplayDraft",
|
|
434
|
+
media_film_shotList: "media_film_shotList",
|
|
435
|
+
media_film_promptPack: "media_film_promptPack",
|
|
436
|
+
media_film_clipManifest: "media_film_clipManifest",
|
|
437
|
+
media_film_clipReview: "media_film_clipReview",
|
|
438
|
+
media_film_reviewReport: "media_film_reviewReport",
|
|
439
|
+
media_film_editSequence: "media_film_editSequence",
|
|
440
|
+
media_film_productionPacket: "media_film_productionPacket",
|
|
441
|
+
media_film_exportPacket: "media_film_exportPacket",
|
|
442
|
+
media_film_otioTimeline: "media_film_otioTimeline",
|
|
443
|
+
media_film_stillReview: "media_film_stillReview",
|
|
444
|
+
media_film_generationTask: "media_film_generationTask",
|
|
445
|
+
media_film_comfyuiWorkflow: "media_film_comfyuiWorkflow",
|
|
446
|
+
media_film_takeComparison: "media_film_takeComparison",
|
|
447
|
+
};
|
|
448
|
+
// --- Payload sub-schemas (strict, no passthrough) ---
|
|
449
|
+
const workflowEntityUnitsFieldSchema = zod_1.z
|
|
450
|
+
.preprocess((v) => v ?? [], zod_1.z.array(zod_1.z.string()))
|
|
451
|
+
.default([]);
|
|
452
|
+
/** Shared by schema + specify domain-model artifacts (one declaration surface). */
|
|
453
|
+
const workflowDomainModelPayloadSchema = zod_1.z
|
|
454
|
+
.object({
|
|
455
|
+
domain: zod_1.z.string(),
|
|
456
|
+
entities: zod_1.z.array(zod_1.z
|
|
457
|
+
.object({
|
|
458
|
+
name: zod_1.z.string(),
|
|
459
|
+
description: zod_1.z.string(),
|
|
460
|
+
units: workflowEntityUnitsFieldSchema,
|
|
461
|
+
})
|
|
462
|
+
.strict()),
|
|
463
|
+
businessRules: zod_1.z.array(zod_1.z.string()),
|
|
464
|
+
})
|
|
465
|
+
.strict();
|
|
466
|
+
const schemaDomainModelPayloadSchema = workflowDomainModelPayloadSchema
|
|
467
|
+
.extend({
|
|
468
|
+
valueObjects: zod_1.z.array(zod_1.z.string()),
|
|
469
|
+
units: zod_1.z.array(zod_1.z.string()),
|
|
470
|
+
domainRules: zod_1.z.array(zod_1.z.string()),
|
|
471
|
+
sourceSpecIds: zod_1.z.array(zod_1.z.string().uuid()),
|
|
472
|
+
sourcePlanArtifactIds: zod_1.z.array(zod_1.z.string().uuid()),
|
|
473
|
+
})
|
|
474
|
+
.strict();
|
|
475
|
+
const schemaColumnPayloadSchema = zod_1.z
|
|
476
|
+
.object({
|
|
477
|
+
name: zod_1.z.string(),
|
|
478
|
+
type: zod_1.z.string(),
|
|
479
|
+
dataType: zod_1.z.string().nullish(),
|
|
480
|
+
unit: zod_1.z.string().nullish(),
|
|
481
|
+
nullable: zod_1.z.boolean(),
|
|
482
|
+
default: zod_1.z.string().nullish(),
|
|
483
|
+
validation: zod_1.z.string().nullish(),
|
|
484
|
+
notes: zod_1.z.string().nullish(),
|
|
485
|
+
})
|
|
486
|
+
.strict();
|
|
487
|
+
const schemaIndexPayloadSchema = zod_1.z
|
|
488
|
+
.object({
|
|
489
|
+
name: zod_1.z.string(),
|
|
490
|
+
table: zod_1.z.string(),
|
|
491
|
+
columns: zod_1.z.array(zod_1.z.string()),
|
|
492
|
+
unique: zod_1.z.boolean(),
|
|
493
|
+
reason: zod_1.z.string(),
|
|
494
|
+
expectedQueryPath: zod_1.z.string(),
|
|
495
|
+
})
|
|
496
|
+
.strict();
|
|
497
|
+
const schemaConstraintPayloadSchema = zod_1.z
|
|
498
|
+
.object({
|
|
499
|
+
table: zod_1.z.string(),
|
|
500
|
+
kind: zod_1.z.enum([
|
|
501
|
+
"check",
|
|
502
|
+
"unique",
|
|
503
|
+
"foreign-key",
|
|
504
|
+
"not-null",
|
|
505
|
+
"primary-key",
|
|
506
|
+
]),
|
|
507
|
+
expression: zod_1.z.string(),
|
|
508
|
+
})
|
|
509
|
+
.strict();
|
|
510
|
+
const schemaBlueprintPayloadSchema = zod_1.z
|
|
511
|
+
.object({
|
|
512
|
+
tables: zod_1.z.array(zod_1.z
|
|
513
|
+
.object({
|
|
514
|
+
name: zod_1.z.string(),
|
|
515
|
+
purpose: zod_1.z.string(),
|
|
516
|
+
sourceRequirement: zod_1.z.string(),
|
|
517
|
+
sourceSpecId: zod_1.z.string().uuid().nullish(),
|
|
518
|
+
ownershipModel: zod_1.z.string(),
|
|
519
|
+
columns: zod_1.z.array(schemaColumnPayloadSchema),
|
|
520
|
+
})
|
|
521
|
+
.strict()),
|
|
522
|
+
columns: zod_1.z.array(zod_1.z
|
|
523
|
+
.object({
|
|
524
|
+
table: zod_1.z.string(),
|
|
525
|
+
...schemaColumnPayloadSchema.shape,
|
|
526
|
+
})
|
|
527
|
+
.strict()),
|
|
528
|
+
indexes: zod_1.z.array(schemaIndexPayloadSchema),
|
|
529
|
+
constraints: zod_1.z.array(schemaConstraintPayloadSchema),
|
|
530
|
+
namingConventions: zod_1.z.string(),
|
|
531
|
+
})
|
|
532
|
+
.strict();
|
|
533
|
+
const relationKindSchema = zod_1.z.enum([
|
|
534
|
+
"one-to-one",
|
|
535
|
+
"one-to-many",
|
|
536
|
+
"many-to-many",
|
|
537
|
+
]);
|
|
538
|
+
const onDeleteSchema = zod_1.z.enum(["cascade", "restrict", "set-null"]);
|
|
539
|
+
const schemaRelationsPayloadSchema = zod_1.z
|
|
540
|
+
.object({
|
|
541
|
+
relations: zod_1.z.array(zod_1.z
|
|
542
|
+
.object({
|
|
543
|
+
fromTable: zod_1.z.string(),
|
|
544
|
+
fromColumn: zod_1.z.string(),
|
|
545
|
+
toTable: zod_1.z.string(),
|
|
546
|
+
toColumn: zod_1.z.string(),
|
|
547
|
+
kind: relationKindSchema,
|
|
548
|
+
onDelete: onDeleteSchema.nullish(),
|
|
549
|
+
})
|
|
550
|
+
.strict()),
|
|
551
|
+
relationships: zod_1.z.array(zod_1.z
|
|
552
|
+
.object({
|
|
553
|
+
name: zod_1.z.string(),
|
|
554
|
+
fromTable: zod_1.z.string(),
|
|
555
|
+
fromColumn: zod_1.z.string(),
|
|
556
|
+
toTable: zod_1.z.string(),
|
|
557
|
+
toColumn: zod_1.z.string(),
|
|
558
|
+
cardinality: relationKindSchema,
|
|
559
|
+
description: zod_1.z.string(),
|
|
560
|
+
})
|
|
561
|
+
.strict()),
|
|
562
|
+
foreignKeys: zod_1.z.array(zod_1.z
|
|
563
|
+
.object({
|
|
564
|
+
name: zod_1.z.string(),
|
|
565
|
+
fromTable: zod_1.z.string(),
|
|
566
|
+
fromColumn: zod_1.z.string(),
|
|
567
|
+
toTable: zod_1.z.string(),
|
|
568
|
+
toColumn: zod_1.z.string(),
|
|
569
|
+
onDelete: onDeleteSchema,
|
|
570
|
+
})
|
|
571
|
+
.strict()),
|
|
572
|
+
cardinality: zod_1.z.array(zod_1.z
|
|
573
|
+
.object({
|
|
574
|
+
fromTable: zod_1.z.string(),
|
|
575
|
+
toTable: zod_1.z.string(),
|
|
576
|
+
kind: relationKindSchema,
|
|
577
|
+
})
|
|
578
|
+
.strict()),
|
|
579
|
+
cascadeRules: zod_1.z.array(zod_1.z
|
|
580
|
+
.object({
|
|
581
|
+
relationName: zod_1.z.string(),
|
|
582
|
+
onDelete: onDeleteSchema,
|
|
583
|
+
rationale: zod_1.z.string(),
|
|
584
|
+
})
|
|
585
|
+
.strict()),
|
|
586
|
+
integrityRules: zod_1.z.array(zod_1.z.string()),
|
|
587
|
+
constraints: zod_1.z.array(zod_1.z
|
|
588
|
+
.object({
|
|
589
|
+
table: zod_1.z.string(),
|
|
590
|
+
kind: zod_1.z.enum([
|
|
591
|
+
"check",
|
|
592
|
+
"unique",
|
|
593
|
+
"foreign-key",
|
|
594
|
+
"not-null",
|
|
595
|
+
]),
|
|
596
|
+
expression: zod_1.z.string(),
|
|
597
|
+
})
|
|
598
|
+
.strict()),
|
|
599
|
+
})
|
|
600
|
+
.strict();
|
|
601
|
+
const migrationFileNameSchema = zod_1.z
|
|
602
|
+
.string()
|
|
603
|
+
.regex(/^\d{14}_[a-z0-9_]+\.sql$/, "Expected YYYYMMDDHHmmss_name.sql");
|
|
604
|
+
const schemaMigrationPayloadSchema = zod_1.z
|
|
605
|
+
.object({
|
|
606
|
+
migrationFileName: migrationFileNameSchema,
|
|
607
|
+
migrationFilename: migrationFileNameSchema,
|
|
608
|
+
upSql: zod_1.z.string().min(50),
|
|
609
|
+
sql: zod_1.z.string().min(50),
|
|
610
|
+
downSql: zod_1.z.string().min(1),
|
|
611
|
+
tablesCreated: zod_1.z.array(zod_1.z.string()),
|
|
612
|
+
policiesCreated: zod_1.z.array(zod_1.z.string()),
|
|
613
|
+
indexesCreated: zod_1.z.array(zod_1.z.string()),
|
|
614
|
+
warnings: zod_1.z.array(zod_1.z.string()),
|
|
615
|
+
})
|
|
616
|
+
.strict();
|
|
617
|
+
const rlsCommandSchema = zod_1.z.enum([
|
|
618
|
+
"select",
|
|
619
|
+
"insert",
|
|
620
|
+
"update",
|
|
621
|
+
"delete",
|
|
622
|
+
"all",
|
|
623
|
+
]);
|
|
624
|
+
const schemaSecurityPayloadSchema = zod_1.z
|
|
625
|
+
.object({
|
|
626
|
+
rlsRequired: zod_1.z.boolean(),
|
|
627
|
+
policies: zod_1.z.array(zod_1.z
|
|
628
|
+
.object({
|
|
629
|
+
table: zod_1.z.string(),
|
|
630
|
+
policyName: zod_1.z.string(),
|
|
631
|
+
command: rlsCommandSchema,
|
|
632
|
+
using: zod_1.z.string().nullish(),
|
|
633
|
+
withCheck: zod_1.z.string().nullish(),
|
|
634
|
+
role: zod_1.z.string(),
|
|
635
|
+
rationale: zod_1.z.string(),
|
|
636
|
+
})
|
|
637
|
+
.strict()),
|
|
638
|
+
roles: zod_1.z.array(zod_1.z.string()),
|
|
639
|
+
tenantIsolationModel: zod_1.z.string(),
|
|
640
|
+
piiClassification: zod_1.z.array(zod_1.z
|
|
641
|
+
.object({
|
|
642
|
+
table: zod_1.z.string(),
|
|
643
|
+
column: zod_1.z.string(),
|
|
644
|
+
classification: zod_1.z.string(),
|
|
645
|
+
handling: zod_1.z.string(),
|
|
646
|
+
})
|
|
647
|
+
.strict()),
|
|
648
|
+
waivers: zod_1.z.array(zod_1.z.string()),
|
|
649
|
+
rlsPolicies: zod_1.z.array(zod_1.z
|
|
650
|
+
.object({
|
|
651
|
+
table: zod_1.z.string(),
|
|
652
|
+
policyName: zod_1.z.string(),
|
|
653
|
+
command: rlsCommandSchema,
|
|
654
|
+
using: zod_1.z.string().nullish(),
|
|
655
|
+
withCheck: zod_1.z.string().nullish(),
|
|
656
|
+
})
|
|
657
|
+
.strict()),
|
|
658
|
+
indexes: zod_1.z.array(zod_1.z
|
|
659
|
+
.object({
|
|
660
|
+
table: zod_1.z.string(),
|
|
661
|
+
name: zod_1.z.string(),
|
|
662
|
+
columns: zod_1.z.array(zod_1.z.string()),
|
|
663
|
+
unique: zod_1.z.boolean(),
|
|
664
|
+
})
|
|
665
|
+
.strict()),
|
|
666
|
+
})
|
|
667
|
+
.strict();
|
|
668
|
+
const schemaTypesPayloadSchema = zod_1.z
|
|
669
|
+
.object({
|
|
670
|
+
typescript: zod_1.z.string(),
|
|
671
|
+
typescriptTypes: zod_1.z.string(),
|
|
672
|
+
zod: zod_1.z.string(),
|
|
673
|
+
zodSchemas: zod_1.z.string(),
|
|
674
|
+
databaseTypes: zod_1.z.string(),
|
|
675
|
+
apiDtoTypes: zod_1.z.string(),
|
|
676
|
+
exportNames: zod_1.z.array(zod_1.z.string()),
|
|
677
|
+
exportedSymbols: zod_1.z.array(zod_1.z.string()),
|
|
678
|
+
auditOutputEvidence: audit_existing_output_evidence_schema_1.AuditExistingOutputEvidenceOptionalSchema,
|
|
679
|
+
})
|
|
680
|
+
.strict();
|
|
681
|
+
const httpMethodSchema = zod_1.z.enum([
|
|
682
|
+
"GET",
|
|
683
|
+
"POST",
|
|
684
|
+
"PATCH",
|
|
685
|
+
"DELETE",
|
|
686
|
+
"PUT",
|
|
687
|
+
]);
|
|
688
|
+
const apiEndpointMapPayloadSchema = zod_1.z
|
|
689
|
+
.object({
|
|
690
|
+
endpoints: zod_1.z.array(zod_1.z
|
|
691
|
+
.object({
|
|
692
|
+
id: zod_1.z.string(),
|
|
693
|
+
method: httpMethodSchema,
|
|
694
|
+
path: zod_1.z.string(),
|
|
695
|
+
summary: zod_1.z.string(),
|
|
696
|
+
tablesUsed: zod_1.z.array(zod_1.z.string()),
|
|
697
|
+
})
|
|
698
|
+
.strict()),
|
|
699
|
+
})
|
|
700
|
+
.strict();
|
|
701
|
+
const apiContractPayloadSchema = zod_1.z
|
|
702
|
+
.object({
|
|
703
|
+
contracts: zod_1.z.array(zod_1.z
|
|
704
|
+
.object({
|
|
705
|
+
endpointId: zod_1.z.string(),
|
|
706
|
+
requestSchemaName: zod_1.z.string(),
|
|
707
|
+
responseSchemaName: zod_1.z.string(),
|
|
708
|
+
errorCodes: zod_1.z.array(zod_1.z.string()),
|
|
709
|
+
})
|
|
710
|
+
.strict()),
|
|
711
|
+
schemaDefinitions: zod_1.z.string(),
|
|
712
|
+
auditOutputEvidence: audit_existing_output_evidence_schema_1.AuditExistingOutputEvidenceOptionalSchema,
|
|
713
|
+
})
|
|
714
|
+
.strict();
|
|
715
|
+
const uiScreenMapPayloadSchema = zod_1.z
|
|
716
|
+
.object({
|
|
717
|
+
screens: zod_1.z.array(zod_1.z
|
|
718
|
+
.object({
|
|
719
|
+
id: zod_1.z.string(),
|
|
720
|
+
route: zod_1.z.string(),
|
|
721
|
+
purpose: zod_1.z.string(),
|
|
722
|
+
requiredEndpoints: zod_1.z.array(zod_1.z.string()),
|
|
723
|
+
})
|
|
724
|
+
.strict()),
|
|
725
|
+
templatePack: ui_generation_standard_schema_1.TemplatePack.optional(),
|
|
726
|
+
secondaryPacks: zod_1.z.array(ui_generation_standard_schema_1.TemplatePack).optional(),
|
|
727
|
+
styleSystem: ui_generation_standard_schema_1.StyleSystem.optional(),
|
|
728
|
+
chartLibrary: ui_generation_standard_schema_1.ApprovedChartLibrary.optional(),
|
|
729
|
+
mapLibrary: ui_generation_standard_schema_1.ApprovedChartLibrary.optional(),
|
|
730
|
+
graphLibrary: ui_generation_standard_schema_1.ApprovedChartLibrary.optional(),
|
|
731
|
+
usesCanonicalAppShell: zod_1.z.boolean().optional(),
|
|
732
|
+
hardcodedColorCount: zod_1.z.number().int().min(0).optional(),
|
|
733
|
+
rawVisualizationLibraryImports: zod_1.z.array(zod_1.z.string()).optional(),
|
|
734
|
+
templatePackReason: zod_1.z.string().optional(),
|
|
735
|
+
})
|
|
736
|
+
.strict();
|
|
737
|
+
const uiComponentContractPayloadSchema = zod_1.z
|
|
738
|
+
.object({
|
|
739
|
+
components: zod_1.z.array(zod_1.z
|
|
740
|
+
.object({
|
|
741
|
+
id: zod_1.z.string(),
|
|
742
|
+
screenId: zod_1.z.string(),
|
|
743
|
+
name: zod_1.z.string(),
|
|
744
|
+
props: zod_1.z.array(zod_1.z
|
|
745
|
+
.object({
|
|
746
|
+
name: zod_1.z.string(),
|
|
747
|
+
type: zod_1.z.string(),
|
|
748
|
+
required: zod_1.z.boolean(),
|
|
749
|
+
})
|
|
750
|
+
.strict()),
|
|
751
|
+
dataBindings: zod_1.z.array(zod_1.z
|
|
752
|
+
.object({
|
|
753
|
+
endpointId: zod_1.z.string(),
|
|
754
|
+
fields: zod_1.z.array(zod_1.z.string()),
|
|
755
|
+
})
|
|
756
|
+
.strict()),
|
|
757
|
+
})
|
|
758
|
+
.strict()),
|
|
759
|
+
templatePack: ui_generation_standard_schema_1.TemplatePack.optional(),
|
|
760
|
+
styleSystem: ui_generation_standard_schema_1.StyleSystem.optional(),
|
|
761
|
+
auditOutputEvidence: audit_existing_output_evidence_schema_1.AuditExistingOutputEvidenceOptionalSchema,
|
|
762
|
+
})
|
|
763
|
+
.strict();
|
|
764
|
+
const taskKindSchema = zod_1.z.enum([
|
|
765
|
+
"schema",
|
|
766
|
+
"migration",
|
|
767
|
+
"api",
|
|
768
|
+
"ui",
|
|
769
|
+
"test",
|
|
770
|
+
"infra",
|
|
771
|
+
"docs",
|
|
772
|
+
]);
|
|
773
|
+
const taskRefSchema = zod_1.z
|
|
774
|
+
.object({
|
|
775
|
+
artifactType: zod_1.z.string(),
|
|
776
|
+
artifactId: zod_1.z.string(),
|
|
777
|
+
ref: zod_1.z.string(),
|
|
778
|
+
})
|
|
779
|
+
.strict();
|
|
780
|
+
const implementationApprovalStatusSchema = zod_1.z.enum(["pending", "approved", "rejected"]);
|
|
781
|
+
exports.taskGraphPayloadSchema = zod_1.z
|
|
782
|
+
.object({
|
|
783
|
+
approvedContractsBundleArtifactId: zod_1.z.string().nullish(),
|
|
784
|
+
humanSummary: zod_1.z.string().optional(),
|
|
785
|
+
tasks: zod_1.z.array(zod_1.z
|
|
786
|
+
.object({
|
|
787
|
+
id: zod_1.z.string(),
|
|
788
|
+
title: zod_1.z.string(),
|
|
789
|
+
description: zod_1.z.string().nullish(),
|
|
790
|
+
kind: taskKindSchema,
|
|
791
|
+
priority: zod_1.z.enum(["low", "medium", "high", "critical"]).nullish(),
|
|
792
|
+
estimatedHours: zod_1.z.number().nullish(),
|
|
793
|
+
tags: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
794
|
+
refs: zod_1.z.array(taskRefSchema),
|
|
795
|
+
dependsOn: zod_1.z.array(zod_1.z.string()),
|
|
796
|
+
acceptanceCriteria: zod_1.z.array(zod_1.z.string()),
|
|
797
|
+
targetFilePaths: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
798
|
+
testExpectations: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
799
|
+
linkedGithubIssues: zod_1.z.array(zod_1.z.number().int().positive()).nullish(),
|
|
800
|
+
pullRequestBranch: zod_1.z.string().min(1).nullish(),
|
|
801
|
+
linkedPullRequestUrl: zod_1.z.string().nullish(),
|
|
802
|
+
implementationApprovalStatus: implementationApprovalStatusSchema.nullish(),
|
|
803
|
+
ownerRole: zod_1.z.string().nullish(),
|
|
804
|
+
complexity: task_complexity_schema_1.TaskComplexitySchema.optional(),
|
|
805
|
+
sourceArtifacts: zod_1.z
|
|
806
|
+
.array(zod_1.z.object({ type: zod_1.z.string(), id: zod_1.z.string() }).strict())
|
|
807
|
+
.nullish(),
|
|
808
|
+
codeRealityTraceability: code_reality_task_traceability_schema_1.CodeRealityTaskTraceabilitySchema.nullish(),
|
|
809
|
+
})
|
|
810
|
+
.strict()),
|
|
811
|
+
})
|
|
812
|
+
.strict();
|
|
813
|
+
const cicdWorkflowPayloadSchema = zod_1.z
|
|
814
|
+
.object({
|
|
815
|
+
workflowFilePath: zod_1.z.string().min(1),
|
|
816
|
+
yamlBody: zod_1.z.string().min(50),
|
|
817
|
+
jobs: zod_1.z.array(zod_1.z
|
|
818
|
+
.object({
|
|
819
|
+
name: zod_1.z.string(),
|
|
820
|
+
runsOn: zod_1.z.string(),
|
|
821
|
+
steps: zod_1.z.array(zod_1.z.string()),
|
|
822
|
+
})
|
|
823
|
+
.strict()),
|
|
824
|
+
})
|
|
825
|
+
.strict();
|
|
826
|
+
const cicdCommandIdSchema = zod_1.z.enum([
|
|
827
|
+
"lint",
|
|
828
|
+
"typecheck",
|
|
829
|
+
"test",
|
|
830
|
+
"build",
|
|
831
|
+
"deploy_preview",
|
|
832
|
+
]);
|
|
833
|
+
const cicdCommandsPayloadSchema = zod_1.z
|
|
834
|
+
.object({
|
|
835
|
+
commands: zod_1.z
|
|
836
|
+
.array(zod_1.z
|
|
837
|
+
.object({
|
|
838
|
+
id: cicdCommandIdSchema,
|
|
839
|
+
title: zod_1.z.string().min(1),
|
|
840
|
+
run: zod_1.z.string().min(1),
|
|
841
|
+
})
|
|
842
|
+
.strict())
|
|
843
|
+
.max(6),
|
|
844
|
+
})
|
|
845
|
+
.strict();
|
|
846
|
+
const cicdWorkflowFilePayloadSchema = zod_1.z
|
|
847
|
+
.object({
|
|
848
|
+
yamlBody: zod_1.z.string().min(40),
|
|
849
|
+
workflowName: zod_1.z.string().min(1),
|
|
850
|
+
packageManager: zod_1.z.string().min(1),
|
|
851
|
+
nodeVersion: zod_1.z.string().min(1),
|
|
852
|
+
})
|
|
853
|
+
.strict();
|
|
854
|
+
const cicdValidationPayloadSchema = zod_1.z
|
|
855
|
+
.object({
|
|
856
|
+
yamlStructuralParseOk: zod_1.z.boolean(),
|
|
857
|
+
requiredWorkflowKeysOk: zod_1.z.boolean(),
|
|
858
|
+
jobsRunsOnAndStepsOk: zod_1.z.boolean(),
|
|
859
|
+
actionlintExecuted: zod_1.z.boolean(),
|
|
860
|
+
actionlintSkipReason: zod_1.z.string().nullish(),
|
|
861
|
+
actionlintExitCode: zod_1.z.number().int().nullish(),
|
|
862
|
+
actionlintStderr: zod_1.z.string().nullish(),
|
|
863
|
+
validationWarning: zod_1.z.string().nullish(),
|
|
864
|
+
notes: zod_1.z.array(zod_1.z.string()),
|
|
865
|
+
})
|
|
866
|
+
.strict();
|
|
867
|
+
const cicdCommitArtifactPayloadSchema = zod_1.z
|
|
868
|
+
.object({
|
|
869
|
+
workflowYaml: zod_1.z.string().min(40),
|
|
870
|
+
targetRelativePath: zod_1.z.string().min(1),
|
|
871
|
+
committed: zod_1.z.boolean(),
|
|
872
|
+
reason: zod_1.z.string().nullish(),
|
|
873
|
+
repoApplyPending: zod_1.z.boolean().optional(),
|
|
874
|
+
repoApplySkipped: zod_1.z.boolean().optional(),
|
|
875
|
+
applied: zod_1.z.boolean().optional(),
|
|
876
|
+
skipped: zod_1.z.boolean().optional(),
|
|
877
|
+
branchName: zod_1.z.string().optional(),
|
|
878
|
+
commitSha: zod_1.z.string().optional(),
|
|
879
|
+
prUrl: zod_1.z.string().optional(),
|
|
880
|
+
prNumber: zod_1.z.number().int().optional(),
|
|
881
|
+
appliedAt: zod_1.z.string().optional(),
|
|
882
|
+
path: zod_1.z.string().optional(),
|
|
883
|
+
paths: zod_1.z.array(zod_1.z.string()).optional(),
|
|
884
|
+
applyError: zod_1.z.string().optional(),
|
|
885
|
+
validationWarning: zod_1.z.string().nullish(),
|
|
886
|
+
generation_warnings: zod_1.z.array(zod_1.z.string()).optional(),
|
|
887
|
+
})
|
|
888
|
+
.strict();
|
|
889
|
+
const cicdRepoApplyPayloadSchema = zod_1.z
|
|
890
|
+
.object({
|
|
891
|
+
ok: zod_1.z.boolean(),
|
|
892
|
+
skipped: zod_1.z.boolean().optional(),
|
|
893
|
+
skipReason: zod_1.z.string().optional(),
|
|
894
|
+
errorCode: zod_1.z.string().optional(),
|
|
895
|
+
errorMessage: zod_1.z.string().optional(),
|
|
896
|
+
branchName: zod_1.z.string().optional(),
|
|
897
|
+
commitSha: zod_1.z.string().optional(),
|
|
898
|
+
prUrl: zod_1.z.string().optional(),
|
|
899
|
+
prNumber: zod_1.z.number().int().optional(),
|
|
900
|
+
appliedAt: zod_1.z.string().optional(),
|
|
901
|
+
path: zod_1.z.string().optional(),
|
|
902
|
+
paths: zod_1.z.array(zod_1.z.string()).optional(),
|
|
903
|
+
})
|
|
904
|
+
.strict();
|
|
905
|
+
const cicdFinalPayloadSchema = zod_1.z
|
|
906
|
+
.object({
|
|
907
|
+
summary: zod_1.z.string().min(20),
|
|
908
|
+
highlights: zod_1.z.array(zod_1.z.string().min(1)).min(1),
|
|
909
|
+
stagesExecuted: zod_1.z.array(zod_1.z.string().min(1)).min(1),
|
|
910
|
+
})
|
|
911
|
+
.strict();
|
|
912
|
+
const deployTargetEnvSchema = zod_1.z.enum([
|
|
913
|
+
"development",
|
|
914
|
+
"preview",
|
|
915
|
+
"staging",
|
|
916
|
+
"production",
|
|
917
|
+
]);
|
|
918
|
+
const deployTargetConfigPayloadSchema = zod_1.z
|
|
919
|
+
.object({
|
|
920
|
+
projectName: zod_1.z.string().min(1),
|
|
921
|
+
framework: zod_1.z.string().min(1),
|
|
922
|
+
env: deployTargetEnvSchema,
|
|
923
|
+
region: zod_1.z.string().min(1),
|
|
924
|
+
branch: zod_1.z.string().min(1),
|
|
925
|
+
})
|
|
926
|
+
.strict();
|
|
927
|
+
const deployTriggerPayloadSchema = zod_1.z
|
|
928
|
+
.object({
|
|
929
|
+
deploymentId: zod_1.z.string().min(1),
|
|
930
|
+
initialState: zod_1.z.string().min(1),
|
|
931
|
+
url: zod_1.z.string(),
|
|
932
|
+
triggeredAt: zod_1.z.string().datetime(),
|
|
933
|
+
})
|
|
934
|
+
.strict();
|
|
935
|
+
const deployVercelResultPayloadSchema = zod_1.z
|
|
936
|
+
.object({
|
|
937
|
+
deploymentId: zod_1.z.string().min(1),
|
|
938
|
+
url: zod_1.z.string(),
|
|
939
|
+
state: zod_1.z.string().min(1),
|
|
940
|
+
readyAt: zod_1.z.string().datetime().optional(),
|
|
941
|
+
pollCount: zod_1.z.number().int().min(0).max(5),
|
|
942
|
+
pollExhausted: zod_1.z.boolean(),
|
|
943
|
+
lastPolledAt: zod_1.z.string().datetime(),
|
|
944
|
+
})
|
|
945
|
+
.strict();
|
|
946
|
+
const deployStatusPersistPayloadSchema = zod_1.z
|
|
947
|
+
.object({
|
|
948
|
+
deploymentId: zod_1.z.string().min(1),
|
|
949
|
+
url: zod_1.z.string(),
|
|
950
|
+
state: zod_1.z.string().min(1),
|
|
951
|
+
readyAt: zod_1.z.string().datetime().optional(),
|
|
952
|
+
deploymentsRowId: zod_1.z.string().uuid().optional(),
|
|
953
|
+
})
|
|
954
|
+
.strict();
|
|
955
|
+
const deployFinalPayloadSchema = zod_1.z
|
|
956
|
+
.object({
|
|
957
|
+
summary: zod_1.z.string().min(10),
|
|
958
|
+
terminalState: zod_1.z.string().min(1),
|
|
959
|
+
deploymentUrl: zod_1.z.string().optional(),
|
|
960
|
+
highlights: zod_1.z.array(zod_1.z.string()).min(1),
|
|
961
|
+
})
|
|
962
|
+
.strict();
|
|
963
|
+
const implementFilePlanItemSchema = zod_1.z
|
|
964
|
+
.object({
|
|
965
|
+
path: zod_1.z.string().min(1),
|
|
966
|
+
intent: zod_1.z.string().min(1),
|
|
967
|
+
deps: zod_1.z.array(zod_1.z.string()),
|
|
968
|
+
})
|
|
969
|
+
.strict();
|
|
970
|
+
const implementFilePlanPayloadSchema = zod_1.z
|
|
971
|
+
.object({
|
|
972
|
+
files: zod_1.z.array(implementFilePlanItemSchema).min(1),
|
|
973
|
+
})
|
|
974
|
+
.strict();
|
|
975
|
+
const implementCodeFileSchema = zod_1.z
|
|
976
|
+
.object({
|
|
977
|
+
path: zod_1.z.string().min(1),
|
|
978
|
+
content: zod_1.z.string(),
|
|
979
|
+
language: zod_1.z.string().nullish(),
|
|
980
|
+
})
|
|
981
|
+
.strict();
|
|
982
|
+
exports.implementPatchSetEntrySchema = zod_1.z
|
|
983
|
+
.object({
|
|
984
|
+
path: zod_1.z.string().min(1),
|
|
985
|
+
content: zod_1.z.string(),
|
|
986
|
+
action: zod_1.z.enum(["upsert"]),
|
|
987
|
+
})
|
|
988
|
+
.strict();
|
|
989
|
+
exports.commitReadyPatchSetSchema = zod_1.z.array(exports.implementPatchSetEntrySchema).min(1);
|
|
990
|
+
const implementCodeGenPayloadSchema = zod_1.z
|
|
991
|
+
.object({
|
|
992
|
+
files: zod_1.z.array(implementCodeFileSchema).min(1),
|
|
993
|
+
patchSet: zod_1.z.array(exports.implementPatchSetEntrySchema).min(1).optional(),
|
|
994
|
+
})
|
|
995
|
+
.strict();
|
|
996
|
+
const implementTestFileSchema = zod_1.z
|
|
997
|
+
.object({
|
|
998
|
+
path: zod_1.z.string().min(1),
|
|
999
|
+
content: zod_1.z.string(),
|
|
1000
|
+
language: zod_1.z.string().nullish(),
|
|
1001
|
+
targetPath: zod_1.z.string().min(1),
|
|
1002
|
+
})
|
|
1003
|
+
.strict();
|
|
1004
|
+
const implementTestsPayloadSchema = zod_1.z
|
|
1005
|
+
.object({
|
|
1006
|
+
files: zod_1.z.array(implementTestFileSchema).min(1),
|
|
1007
|
+
})
|
|
1008
|
+
.strict();
|
|
1009
|
+
const implementPrCreatedPayloadSchema = zod_1.z
|
|
1010
|
+
.object({
|
|
1011
|
+
outcome: zod_1.z.literal("created"),
|
|
1012
|
+
prUrl: zod_1.z.string().min(1),
|
|
1013
|
+
prNumber: zod_1.z.number().int().nonnegative(),
|
|
1014
|
+
branch: zod_1.z.string().min(1),
|
|
1015
|
+
commitSha: zod_1.z.string().min(1).optional(),
|
|
1016
|
+
dbSyncWarning: zod_1.z.string().min(1).optional(),
|
|
1017
|
+
})
|
|
1018
|
+
.strict();
|
|
1019
|
+
const implementPrUnavailablePayloadSchema = zod_1.z
|
|
1020
|
+
.object({
|
|
1021
|
+
outcome: zod_1.z.literal("unavailable"),
|
|
1022
|
+
reason: zod_1.z.string().min(1),
|
|
1023
|
+
patchUnified: zod_1.z.string().min(1),
|
|
1024
|
+
})
|
|
1025
|
+
.strict();
|
|
1026
|
+
const implementPrPendingPayloadSchema = zod_1.z
|
|
1027
|
+
.object({
|
|
1028
|
+
outcome: zod_1.z.literal("pending"),
|
|
1029
|
+
branch: zod_1.z.string().min(1),
|
|
1030
|
+
baseBranch: zod_1.z.string().min(1),
|
|
1031
|
+
fileCount: zod_1.z.number().int().nonnegative(),
|
|
1032
|
+
status: zod_1.z.enum([
|
|
1033
|
+
"started",
|
|
1034
|
+
"branch_created",
|
|
1035
|
+
"commit_created",
|
|
1036
|
+
"pr_created",
|
|
1037
|
+
"db_synced",
|
|
1038
|
+
"failed",
|
|
1039
|
+
]),
|
|
1040
|
+
error: zod_1.z.string().optional(),
|
|
1041
|
+
label_warning: zod_1.z.string().optional(),
|
|
1042
|
+
dbSyncError: zod_1.z.string().optional(),
|
|
1043
|
+
})
|
|
1044
|
+
.strict();
|
|
1045
|
+
const implementPrCreatePayloadSchema = zod_1.z.discriminatedUnion("outcome", [
|
|
1046
|
+
implementPrCreatedPayloadSchema,
|
|
1047
|
+
implementPrUnavailablePayloadSchema,
|
|
1048
|
+
implementPrPendingPayloadSchema,
|
|
1049
|
+
]);
|
|
1050
|
+
const implementGuardianReviewPayloadSchema = zod_1.z
|
|
1051
|
+
.object({
|
|
1052
|
+
codeGenScore: guardian_score_schema_1.GuardianScoreFromModelSchema,
|
|
1053
|
+
testsScore: guardian_score_schema_1.GuardianScoreFromModelSchema,
|
|
1054
|
+
combinedScore: guardian_score_schema_1.GuardianScoreFromModelSchema,
|
|
1055
|
+
codeGenFindings: zod_1.z.array(zod_1.z.string()),
|
|
1056
|
+
testsFindings: zod_1.z.array(zod_1.z.string()),
|
|
1057
|
+
})
|
|
1058
|
+
.strict();
|
|
1059
|
+
const implementRunFinalRowSchema = zod_1.z
|
|
1060
|
+
.object({
|
|
1061
|
+
stageId: zod_1.z.string().min(1),
|
|
1062
|
+
guardianScore: guardian_score_schema_1.GuardianScoreFromModelSchema,
|
|
1063
|
+
})
|
|
1064
|
+
.strict();
|
|
1065
|
+
const implementRunFinalPayloadSchema = zod_1.z
|
|
1066
|
+
.object({
|
|
1067
|
+
summary: zod_1.z.string().min(10),
|
|
1068
|
+
// Optional for backwards-compatibility: artifacts written before the staged-pipeline
|
|
1069
|
+
// refactor stored prCount/patchSetCount instead of a stages array.
|
|
1070
|
+
stages: zod_1.z.array(implementRunFinalRowSchema).min(1).optional(),
|
|
1071
|
+
})
|
|
1072
|
+
.passthrough(); // tolerate legacy fields (prCount, patchSetCount) in old DB rows
|
|
1073
|
+
const compliancePolicyIdSchema = zod_1.z.enum([
|
|
1074
|
+
"data_protection",
|
|
1075
|
+
"access_control",
|
|
1076
|
+
"secrets_management",
|
|
1077
|
+
"deploy_security",
|
|
1078
|
+
"observability",
|
|
1079
|
+
]);
|
|
1080
|
+
const complianceEvidencePayloadSchema = zod_1.z
|
|
1081
|
+
.object({
|
|
1082
|
+
evidence: zod_1.z
|
|
1083
|
+
.array(zod_1.z
|
|
1084
|
+
.object({
|
|
1085
|
+
id: zod_1.z.string().min(1),
|
|
1086
|
+
statement: zod_1.z.string().min(1),
|
|
1087
|
+
artifactPath: zod_1.z.string().min(1),
|
|
1088
|
+
category: zod_1.z.string().nullish(),
|
|
1089
|
+
})
|
|
1090
|
+
.strict())
|
|
1091
|
+
.min(1),
|
|
1092
|
+
})
|
|
1093
|
+
.strict();
|
|
1094
|
+
const compliancePolicyCheckPayloadSchema = zod_1.z
|
|
1095
|
+
.object({
|
|
1096
|
+
checks: zod_1.z
|
|
1097
|
+
.array(zod_1.z
|
|
1098
|
+
.object({
|
|
1099
|
+
policyId: compliancePolicyIdSchema,
|
|
1100
|
+
status: zod_1.z.enum(["pass", "fail", "na"]),
|
|
1101
|
+
evidenceRefs: zod_1.z.array(zod_1.z.string()),
|
|
1102
|
+
rationale: zod_1.z.string().min(1),
|
|
1103
|
+
})
|
|
1104
|
+
.strict())
|
|
1105
|
+
.min(5),
|
|
1106
|
+
})
|
|
1107
|
+
.strict();
|
|
1108
|
+
const complianceScorePayloadSchema = zod_1.z
|
|
1109
|
+
.object({
|
|
1110
|
+
overallScore: guardian_score_schema_1.GuardianScoreFromModelSchema,
|
|
1111
|
+
byPolicy: zod_1.z
|
|
1112
|
+
.array(zod_1.z
|
|
1113
|
+
.object({
|
|
1114
|
+
policyId: compliancePolicyIdSchema,
|
|
1115
|
+
score: guardian_score_schema_1.GuardianScoreFromModelSchema,
|
|
1116
|
+
})
|
|
1117
|
+
.strict())
|
|
1118
|
+
.min(5),
|
|
1119
|
+
})
|
|
1120
|
+
.strict();
|
|
1121
|
+
const complianceRemediationPayloadSchema = zod_1.z
|
|
1122
|
+
.object({
|
|
1123
|
+
remediations: zod_1.z.array(zod_1.z
|
|
1124
|
+
.object({
|
|
1125
|
+
policyId: compliancePolicyIdSchema,
|
|
1126
|
+
title: zod_1.z.string().min(1),
|
|
1127
|
+
description: zod_1.z.string().min(1),
|
|
1128
|
+
artifactPaths: zod_1.z.array(zod_1.z.string().min(1)).min(1),
|
|
1129
|
+
priority: zod_1.z.enum(["low", "medium", "high"]),
|
|
1130
|
+
})
|
|
1131
|
+
.strict()),
|
|
1132
|
+
})
|
|
1133
|
+
.strict();
|
|
1134
|
+
const complianceFinalPayloadSchema = zod_1.z
|
|
1135
|
+
.object({
|
|
1136
|
+
summary: zod_1.z.string().min(10),
|
|
1137
|
+
overallScore: guardian_score_schema_1.GuardianScoreFromModelSchema,
|
|
1138
|
+
policyRollup: zod_1.z
|
|
1139
|
+
.array(zod_1.z
|
|
1140
|
+
.object({
|
|
1141
|
+
policyId: compliancePolicyIdSchema,
|
|
1142
|
+
status: zod_1.z.enum(["pass", "fail", "na"]),
|
|
1143
|
+
})
|
|
1144
|
+
.strict())
|
|
1145
|
+
.min(5),
|
|
1146
|
+
highlights: zod_1.z.array(zod_1.z.string().min(1)).min(1),
|
|
1147
|
+
})
|
|
1148
|
+
.strict();
|
|
1149
|
+
const reviewSeveritySchema = zod_1.z.enum(["info", "warning", "error", "critical"]);
|
|
1150
|
+
const reviewConsistencyPayloadSchema = zod_1.z
|
|
1151
|
+
.object({
|
|
1152
|
+
issues: zod_1.z.array(zod_1.z
|
|
1153
|
+
.object({
|
|
1154
|
+
severity: reviewSeveritySchema,
|
|
1155
|
+
location: zod_1.z.string().min(1).nullish(),
|
|
1156
|
+
summary: zod_1.z.string().min(1),
|
|
1157
|
+
})
|
|
1158
|
+
.strict()),
|
|
1159
|
+
})
|
|
1160
|
+
.strict();
|
|
1161
|
+
const reviewCodeFindingsPayloadSchema = zod_1.z
|
|
1162
|
+
.object({
|
|
1163
|
+
findings: zod_1.z.array(zod_1.z
|
|
1164
|
+
.object({
|
|
1165
|
+
severity: reviewSeveritySchema,
|
|
1166
|
+
location: zod_1.z.string().nullish(),
|
|
1167
|
+
summary: zod_1.z.string().min(1),
|
|
1168
|
+
suggestion: zod_1.z.string().nullish(),
|
|
1169
|
+
})
|
|
1170
|
+
.strict()),
|
|
1171
|
+
})
|
|
1172
|
+
.strict();
|
|
1173
|
+
const reviewThreatSeveritySchema = zod_1.z.enum([
|
|
1174
|
+
"info",
|
|
1175
|
+
"low",
|
|
1176
|
+
"medium",
|
|
1177
|
+
"high",
|
|
1178
|
+
"critical",
|
|
1179
|
+
]);
|
|
1180
|
+
exports.ReviewThreatPayloadSchema = zod_1.z
|
|
1181
|
+
.object({
|
|
1182
|
+
vulns: zod_1.z.array(zod_1.z
|
|
1183
|
+
.object({
|
|
1184
|
+
severity: reviewThreatSeveritySchema,
|
|
1185
|
+
category: zod_1.z.string().min(1),
|
|
1186
|
+
summary: zod_1.z.string().min(1),
|
|
1187
|
+
location: zod_1.z.string().nullish(),
|
|
1188
|
+
source: zod_1.z.enum(["heuristic", "llm"]),
|
|
1189
|
+
})
|
|
1190
|
+
.strict()),
|
|
1191
|
+
})
|
|
1192
|
+
.strict();
|
|
1193
|
+
const reviewReleasePayloadSchema = zod_1.z
|
|
1194
|
+
.object({
|
|
1195
|
+
decision: zod_1.z.enum(["release", "block", "needs_fixes"]),
|
|
1196
|
+
blockers: zod_1.z.array(zod_1.z.string()),
|
|
1197
|
+
rationale: zod_1.z.string().min(1),
|
|
1198
|
+
})
|
|
1199
|
+
.strict();
|
|
1200
|
+
const reviewAggregateRowSchema = zod_1.z
|
|
1201
|
+
.object({
|
|
1202
|
+
stageId: zod_1.z.string().min(1),
|
|
1203
|
+
guardianScore: guardian_score_schema_1.GuardianScoreFromModelSchema,
|
|
1204
|
+
})
|
|
1205
|
+
.strict();
|
|
1206
|
+
const reviewAggregatePayloadSchema = zod_1.z
|
|
1207
|
+
.object({
|
|
1208
|
+
summary: zod_1.z.string().min(10),
|
|
1209
|
+
stages: zod_1.z.array(reviewAggregateRowSchema).min(1),
|
|
1210
|
+
releaseDecision: zod_1.z.enum(["release", "block", "needs_fixes"]),
|
|
1211
|
+
blockerCount: zod_1.z.number().int().min(0),
|
|
1212
|
+
policyReasons: zod_1.z.array(review_policy_schema_1.ReviewBlockReasonSchema).optional(),
|
|
1213
|
+
})
|
|
1214
|
+
.strict();
|
|
1215
|
+
const specifyPrioritySchema = zod_1.z.enum(["low", "medium", "high", "critical"]);
|
|
1216
|
+
const specifyRequirementsPayloadSchema = zod_1.z
|
|
1217
|
+
.object({
|
|
1218
|
+
requirements: zod_1.z.array(zod_1.z
|
|
1219
|
+
.object({
|
|
1220
|
+
id: zod_1.z.string(),
|
|
1221
|
+
title: zod_1.z.string(),
|
|
1222
|
+
description: zod_1.z.string(),
|
|
1223
|
+
priority: specifyPrioritySchema,
|
|
1224
|
+
/** Audit-existing: real repo routes/files/domains cited from ingest inventory. */
|
|
1225
|
+
groundingRefs: zod_1.z.array(zod_1.z.string()).optional(),
|
|
1226
|
+
})
|
|
1227
|
+
.strict()),
|
|
1228
|
+
})
|
|
1229
|
+
.strict();
|
|
1230
|
+
const specifyAcceptanceCriteriaPayloadSchema = zod_1.z
|
|
1231
|
+
.object({
|
|
1232
|
+
acceptanceByRequirement: zod_1.z.array(zod_1.z
|
|
1233
|
+
.object({
|
|
1234
|
+
requirementId: zod_1.z.string(),
|
|
1235
|
+
criteria: zod_1.z.array(zod_1.z.string()),
|
|
1236
|
+
})
|
|
1237
|
+
.strict()),
|
|
1238
|
+
})
|
|
1239
|
+
.strict();
|
|
1240
|
+
const specifyEdgeCasesPayloadSchema = zod_1.z
|
|
1241
|
+
.object({
|
|
1242
|
+
edgeCases: zod_1.z.array(zod_1.z
|
|
1243
|
+
.object({
|
|
1244
|
+
id: zod_1.z.string(),
|
|
1245
|
+
title: zod_1.z.string(),
|
|
1246
|
+
given: zod_1.z.string(),
|
|
1247
|
+
when: zod_1.z.string(),
|
|
1248
|
+
then: zod_1.z.string(),
|
|
1249
|
+
})
|
|
1250
|
+
.strict()),
|
|
1251
|
+
})
|
|
1252
|
+
.strict();
|
|
1253
|
+
const specifyConstraintKindSchema = zod_1.z.enum([
|
|
1254
|
+
"technical",
|
|
1255
|
+
"business",
|
|
1256
|
+
"security",
|
|
1257
|
+
"performance",
|
|
1258
|
+
"regulatory",
|
|
1259
|
+
]);
|
|
1260
|
+
const specifyConstraintsPayloadSchema = zod_1.z
|
|
1261
|
+
.object({
|
|
1262
|
+
constraints: zod_1.z.array(zod_1.z
|
|
1263
|
+
.object({
|
|
1264
|
+
kind: specifyConstraintKindSchema,
|
|
1265
|
+
statement: zod_1.z.string(),
|
|
1266
|
+
})
|
|
1267
|
+
.strict()),
|
|
1268
|
+
})
|
|
1269
|
+
.strict();
|
|
1270
|
+
const specifyCategorySchema = zod_1.z.enum([
|
|
1271
|
+
"feature",
|
|
1272
|
+
"technical",
|
|
1273
|
+
"security",
|
|
1274
|
+
"performance",
|
|
1275
|
+
]);
|
|
1276
|
+
const specifyFinalPayloadSchema = zod_1.z
|
|
1277
|
+
.object({
|
|
1278
|
+
summary: zod_1.z.string(),
|
|
1279
|
+
specifications: zod_1.z.array(zod_1.z
|
|
1280
|
+
.object({
|
|
1281
|
+
id: zod_1.z.string(),
|
|
1282
|
+
title: zod_1.z.string(),
|
|
1283
|
+
description: zod_1.z.string(),
|
|
1284
|
+
requirements: zod_1.z.array(zod_1.z.string()),
|
|
1285
|
+
acceptanceCriteria: zod_1.z.array(zod_1.z.string()),
|
|
1286
|
+
priority: specifyPrioritySchema,
|
|
1287
|
+
category: specifyCategorySchema,
|
|
1288
|
+
groundingRefs: zod_1.z.array(zod_1.z.string()).optional(),
|
|
1289
|
+
})
|
|
1290
|
+
.strict()),
|
|
1291
|
+
auditOutputEvidence: audit_existing_output_evidence_schema_1.AuditExistingOutputEvidenceOptionalSchema,
|
|
1292
|
+
})
|
|
1293
|
+
.strict();
|
|
1294
|
+
const planComponentTypeSchema = zod_1.z.enum([
|
|
1295
|
+
"frontend",
|
|
1296
|
+
"backend",
|
|
1297
|
+
"database",
|
|
1298
|
+
"api",
|
|
1299
|
+
"service",
|
|
1300
|
+
"integration",
|
|
1301
|
+
"other",
|
|
1302
|
+
]);
|
|
1303
|
+
const planArchitecturePayloadSchema = zod_1.z
|
|
1304
|
+
.object({
|
|
1305
|
+
overview: zod_1.z.string(),
|
|
1306
|
+
components: zod_1.z.array(zod_1.z
|
|
1307
|
+
.object({
|
|
1308
|
+
name: zod_1.z.string(),
|
|
1309
|
+
type: planComponentTypeSchema,
|
|
1310
|
+
description: zod_1.z.string(),
|
|
1311
|
+
responsibilities: zod_1.z.array(zod_1.z.string()),
|
|
1312
|
+
})
|
|
1313
|
+
.strict()),
|
|
1314
|
+
})
|
|
1315
|
+
.strict();
|
|
1316
|
+
const planDataFlowPayloadSchema = zod_1.z
|
|
1317
|
+
.object({
|
|
1318
|
+
flows: zod_1.z.array(zod_1.z
|
|
1319
|
+
.object({
|
|
1320
|
+
id: zod_1.z.string(),
|
|
1321
|
+
from: zod_1.z.string(),
|
|
1322
|
+
to: zod_1.z.string(),
|
|
1323
|
+
dataDescription: zod_1.z.string(),
|
|
1324
|
+
protocol: zod_1.z.string().nullish(),
|
|
1325
|
+
})
|
|
1326
|
+
.strict()),
|
|
1327
|
+
})
|
|
1328
|
+
.strict();
|
|
1329
|
+
const planModuleBoundariesPayloadSchema = zod_1.z
|
|
1330
|
+
.object({
|
|
1331
|
+
modules: zod_1.z.array(zod_1.z
|
|
1332
|
+
.object({
|
|
1333
|
+
name: zod_1.z.string(),
|
|
1334
|
+
boundary: zod_1.z.string(),
|
|
1335
|
+
owns: zod_1.z.string(),
|
|
1336
|
+
dependsOn: zod_1.z.array(zod_1.z.string()),
|
|
1337
|
+
})
|
|
1338
|
+
.strict()),
|
|
1339
|
+
})
|
|
1340
|
+
.strict();
|
|
1341
|
+
const planRiskImpactSchema = zod_1.z.enum(["low", "medium", "high", "critical"]);
|
|
1342
|
+
const planRisksPayloadSchema = zod_1.z
|
|
1343
|
+
.object({
|
|
1344
|
+
risks: zod_1.z.array(zod_1.z
|
|
1345
|
+
.object({
|
|
1346
|
+
id: zod_1.z.string(),
|
|
1347
|
+
title: zod_1.z.string(),
|
|
1348
|
+
impact: planRiskImpactSchema,
|
|
1349
|
+
mitigation: zod_1.z.string(),
|
|
1350
|
+
owner: zod_1.z.string().nullish(),
|
|
1351
|
+
})
|
|
1352
|
+
.strict()),
|
|
1353
|
+
})
|
|
1354
|
+
.strict();
|
|
1355
|
+
const planDeliveryPhasesPayloadSchema = zod_1.z
|
|
1356
|
+
.object({
|
|
1357
|
+
phases: zod_1.z.array(zod_1.z
|
|
1358
|
+
.object({
|
|
1359
|
+
name: zod_1.z.string(),
|
|
1360
|
+
description: zod_1.z.string(),
|
|
1361
|
+
order: zod_1.z.number().int().min(0),
|
|
1362
|
+
estimatedWeeks: zod_1.z.number().min(0),
|
|
1363
|
+
deliverables: zod_1.z.array(zod_1.z.string()),
|
|
1364
|
+
})
|
|
1365
|
+
.strict()),
|
|
1366
|
+
})
|
|
1367
|
+
.strict();
|
|
1368
|
+
const planFinalPayloadSchema = zod_1.z
|
|
1369
|
+
.object({
|
|
1370
|
+
executiveSummary: zod_1.z.string(),
|
|
1371
|
+
consolidatedHighlights: zod_1.z.array(zod_1.z.string()),
|
|
1372
|
+
openQuestions: zod_1.z.array(zod_1.z.string()),
|
|
1373
|
+
nextStepRecommendations: zod_1.z.array(zod_1.z.string()),
|
|
1374
|
+
auditOutputEvidence: audit_existing_output_evidence_schema_1.AuditExistingOutputEvidenceOptionalSchema,
|
|
1375
|
+
})
|
|
1376
|
+
.strict();
|
|
1377
|
+
// --- Per-artifact schemas (envelope + artifactType + payload) ---
|
|
1378
|
+
// Use `z.object({ ...WorkflowArtifactBaseSchema.shape, ... })` instead of `.extend()` so
|
|
1379
|
+
// `z.infer` / `_output` keep required envelope fields (TS + Extract/switch friendly).
|
|
1380
|
+
exports.SchemaDomainModelArtifactSchema = zod_1.z
|
|
1381
|
+
.object({
|
|
1382
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1383
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.schemaDomainModel),
|
|
1384
|
+
payload: schemaDomainModelPayloadSchema,
|
|
1385
|
+
})
|
|
1386
|
+
.strict();
|
|
1387
|
+
exports.SchemaBlueprintArtifactSchema = zod_1.z
|
|
1388
|
+
.object({
|
|
1389
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1390
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.schemaBlueprint),
|
|
1391
|
+
payload: schemaBlueprintPayloadSchema,
|
|
1392
|
+
})
|
|
1393
|
+
.strict();
|
|
1394
|
+
exports.SchemaRelationsArtifactSchema = zod_1.z
|
|
1395
|
+
.object({
|
|
1396
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1397
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.schemaRelations),
|
|
1398
|
+
payload: schemaRelationsPayloadSchema,
|
|
1399
|
+
})
|
|
1400
|
+
.strict();
|
|
1401
|
+
exports.SchemaMigrationArtifactSchema = zod_1.z
|
|
1402
|
+
.object({
|
|
1403
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1404
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.schemaMigration),
|
|
1405
|
+
payload: schemaMigrationPayloadSchema,
|
|
1406
|
+
})
|
|
1407
|
+
.strict();
|
|
1408
|
+
exports.SchemaSecurityArtifactSchema = zod_1.z
|
|
1409
|
+
.object({
|
|
1410
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1411
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.schemaSecurity),
|
|
1412
|
+
payload: schemaSecurityPayloadSchema,
|
|
1413
|
+
})
|
|
1414
|
+
.strict();
|
|
1415
|
+
exports.SchemaTypesArtifactSchema = zod_1.z
|
|
1416
|
+
.object({
|
|
1417
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1418
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.schemaTypes),
|
|
1419
|
+
payload: schemaTypesPayloadSchema,
|
|
1420
|
+
})
|
|
1421
|
+
.strict();
|
|
1422
|
+
exports.SpecifyDomainModelArtifactSchema = zod_1.z
|
|
1423
|
+
.object({
|
|
1424
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1425
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.specifyDomainModel),
|
|
1426
|
+
payload: workflowDomainModelPayloadSchema,
|
|
1427
|
+
})
|
|
1428
|
+
.strict();
|
|
1429
|
+
exports.SpecifyRequirementsArtifactSchema = zod_1.z
|
|
1430
|
+
.object({
|
|
1431
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1432
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.specifyRequirements),
|
|
1433
|
+
payload: specifyRequirementsPayloadSchema,
|
|
1434
|
+
})
|
|
1435
|
+
.strict();
|
|
1436
|
+
exports.SpecifyAcceptanceCriteriaArtifactSchema = zod_1.z
|
|
1437
|
+
.object({
|
|
1438
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1439
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.specifyAcceptanceCriteria),
|
|
1440
|
+
payload: specifyAcceptanceCriteriaPayloadSchema,
|
|
1441
|
+
})
|
|
1442
|
+
.strict();
|
|
1443
|
+
exports.SpecifyEdgeCasesArtifactSchema = zod_1.z
|
|
1444
|
+
.object({
|
|
1445
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1446
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.specifyEdgeCases),
|
|
1447
|
+
payload: specifyEdgeCasesPayloadSchema,
|
|
1448
|
+
})
|
|
1449
|
+
.strict();
|
|
1450
|
+
exports.SpecifyConstraintsArtifactSchema = zod_1.z
|
|
1451
|
+
.object({
|
|
1452
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1453
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.specifyConstraints),
|
|
1454
|
+
payload: specifyConstraintsPayloadSchema,
|
|
1455
|
+
})
|
|
1456
|
+
.strict();
|
|
1457
|
+
exports.SpecifyFinalArtifactSchema = zod_1.z
|
|
1458
|
+
.object({
|
|
1459
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1460
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.specifyFinal),
|
|
1461
|
+
payload: specifyFinalPayloadSchema,
|
|
1462
|
+
})
|
|
1463
|
+
.strict();
|
|
1464
|
+
exports.PlanArchitectureArtifactSchema = zod_1.z
|
|
1465
|
+
.object({
|
|
1466
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1467
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.planArchitecture),
|
|
1468
|
+
payload: planArchitecturePayloadSchema,
|
|
1469
|
+
})
|
|
1470
|
+
.strict();
|
|
1471
|
+
exports.PlanDataFlowArtifactSchema = zod_1.z
|
|
1472
|
+
.object({
|
|
1473
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1474
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.planDataFlow),
|
|
1475
|
+
payload: planDataFlowPayloadSchema,
|
|
1476
|
+
})
|
|
1477
|
+
.strict();
|
|
1478
|
+
exports.PlanModuleBoundariesArtifactSchema = zod_1.z
|
|
1479
|
+
.object({
|
|
1480
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1481
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.planModuleBoundaries),
|
|
1482
|
+
payload: planModuleBoundariesPayloadSchema,
|
|
1483
|
+
})
|
|
1484
|
+
.strict();
|
|
1485
|
+
exports.PlanRisksArtifactSchema = zod_1.z
|
|
1486
|
+
.object({
|
|
1487
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1488
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.planRisks),
|
|
1489
|
+
payload: planRisksPayloadSchema,
|
|
1490
|
+
})
|
|
1491
|
+
.strict();
|
|
1492
|
+
exports.PlanDeliveryPhasesArtifactSchema = zod_1.z
|
|
1493
|
+
.object({
|
|
1494
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1495
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.planDeliveryPhases),
|
|
1496
|
+
payload: planDeliveryPhasesPayloadSchema,
|
|
1497
|
+
})
|
|
1498
|
+
.strict();
|
|
1499
|
+
exports.PlanFinalArtifactSchema = zod_1.z
|
|
1500
|
+
.object({
|
|
1501
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1502
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.planFinal),
|
|
1503
|
+
payload: planFinalPayloadSchema,
|
|
1504
|
+
})
|
|
1505
|
+
.strict();
|
|
1506
|
+
exports.ApiEndpointMapArtifactSchema = zod_1.z
|
|
1507
|
+
.object({
|
|
1508
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1509
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.apiEndpointMap),
|
|
1510
|
+
payload: apiEndpointMapPayloadSchema,
|
|
1511
|
+
})
|
|
1512
|
+
.strict();
|
|
1513
|
+
exports.ApiContractArtifactSchema = zod_1.z
|
|
1514
|
+
.object({
|
|
1515
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1516
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.apiContract),
|
|
1517
|
+
payload: apiContractPayloadSchema,
|
|
1518
|
+
})
|
|
1519
|
+
.strict();
|
|
1520
|
+
exports.UiScreenMapArtifactSchema = zod_1.z
|
|
1521
|
+
.object({
|
|
1522
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1523
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.uiScreenMap),
|
|
1524
|
+
payload: uiScreenMapPayloadSchema,
|
|
1525
|
+
})
|
|
1526
|
+
.strict();
|
|
1527
|
+
exports.UiComponentContractArtifactSchema = zod_1.z
|
|
1528
|
+
.object({
|
|
1529
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1530
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.uiComponentContract),
|
|
1531
|
+
payload: uiComponentContractPayloadSchema,
|
|
1532
|
+
})
|
|
1533
|
+
.strict();
|
|
1534
|
+
// Single envelope for task-phase artifacts sharing taskGraphPayloadSchema (smaller `.d.ts` than inlining x8).
|
|
1535
|
+
const workflowArtifactTaskGraphPayloadEnvelopeSchema = zod_1.z
|
|
1536
|
+
.object({
|
|
1537
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1538
|
+
payload: exports.taskGraphPayloadSchema,
|
|
1539
|
+
})
|
|
1540
|
+
.strict();
|
|
1541
|
+
exports.TaskGraphArtifactSchema = workflowArtifactTaskGraphPayloadEnvelopeSchema.extend({
|
|
1542
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.taskGraph),
|
|
1543
|
+
}).strict();
|
|
1544
|
+
exports.TaskContextIntakeArtifactSchema = workflowArtifactTaskGraphPayloadEnvelopeSchema.extend({
|
|
1545
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.taskContextIntake),
|
|
1546
|
+
}).strict();
|
|
1547
|
+
exports.TaskArtifactCoverageArtifactSchema = workflowArtifactTaskGraphPayloadEnvelopeSchema.extend({
|
|
1548
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.taskArtifactCoverage),
|
|
1549
|
+
}).strict();
|
|
1550
|
+
exports.TaskWorkBreakdownArtifactSchema = workflowArtifactTaskGraphPayloadEnvelopeSchema.extend({
|
|
1551
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.taskWorkBreakdown),
|
|
1552
|
+
}).strict();
|
|
1553
|
+
exports.TaskDependencyGraphArtifactSchema = workflowArtifactTaskGraphPayloadEnvelopeSchema.extend({
|
|
1554
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.taskDependencyGraph),
|
|
1555
|
+
}).strict();
|
|
1556
|
+
exports.TaskImplementationCardsArtifactSchema = workflowArtifactTaskGraphPayloadEnvelopeSchema.extend({
|
|
1557
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.taskImplementationCards),
|
|
1558
|
+
}).strict();
|
|
1559
|
+
exports.TaskValidationArtifactSchema = workflowArtifactTaskGraphPayloadEnvelopeSchema.extend({
|
|
1560
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.taskValidation),
|
|
1561
|
+
}).strict();
|
|
1562
|
+
exports.TaskFinalGraphArtifactSchema = workflowArtifactTaskGraphPayloadEnvelopeSchema.extend({
|
|
1563
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.taskFinalGraph),
|
|
1564
|
+
}).strict();
|
|
1565
|
+
exports.CicdWorkflowArtifactSchema = zod_1.z
|
|
1566
|
+
.object({
|
|
1567
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1568
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.cicdWorkflow),
|
|
1569
|
+
payload: cicdWorkflowPayloadSchema,
|
|
1570
|
+
})
|
|
1571
|
+
.strict();
|
|
1572
|
+
exports.CicdCommandsArtifactSchema = zod_1.z
|
|
1573
|
+
.object({
|
|
1574
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1575
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.cicdCommands),
|
|
1576
|
+
payload: cicdCommandsPayloadSchema,
|
|
1577
|
+
})
|
|
1578
|
+
.strict();
|
|
1579
|
+
exports.CicdWorkflowFileArtifactSchema = zod_1.z
|
|
1580
|
+
.object({
|
|
1581
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1582
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.cicdWorkflowFile),
|
|
1583
|
+
payload: cicdWorkflowFilePayloadSchema,
|
|
1584
|
+
})
|
|
1585
|
+
.strict();
|
|
1586
|
+
exports.CicdValidationArtifactSchema = zod_1.z
|
|
1587
|
+
.object({
|
|
1588
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1589
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.cicdValidation),
|
|
1590
|
+
payload: cicdValidationPayloadSchema,
|
|
1591
|
+
})
|
|
1592
|
+
.strict();
|
|
1593
|
+
exports.CicdCommitArtifactArtifactSchema = zod_1.z
|
|
1594
|
+
.object({
|
|
1595
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1596
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.cicdCommitArtifact),
|
|
1597
|
+
payload: cicdCommitArtifactPayloadSchema,
|
|
1598
|
+
})
|
|
1599
|
+
.strict();
|
|
1600
|
+
exports.CicdRepoApplyArtifactSchema = zod_1.z
|
|
1601
|
+
.object({
|
|
1602
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1603
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.cicdRepoApply),
|
|
1604
|
+
payload: cicdRepoApplyPayloadSchema,
|
|
1605
|
+
})
|
|
1606
|
+
.strict();
|
|
1607
|
+
exports.CicdFinalArtifactSchema = zod_1.z
|
|
1608
|
+
.object({
|
|
1609
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1610
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.cicdFinal),
|
|
1611
|
+
payload: cicdFinalPayloadSchema,
|
|
1612
|
+
})
|
|
1613
|
+
.strict();
|
|
1614
|
+
exports.DeployTargetConfigArtifactSchema = zod_1.z
|
|
1615
|
+
.object({
|
|
1616
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1617
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.deployTargetConfig),
|
|
1618
|
+
payload: deployTargetConfigPayloadSchema,
|
|
1619
|
+
})
|
|
1620
|
+
.strict();
|
|
1621
|
+
exports.DeployTriggerArtifactSchema = zod_1.z
|
|
1622
|
+
.object({
|
|
1623
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1624
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.deployTrigger),
|
|
1625
|
+
payload: deployTriggerPayloadSchema,
|
|
1626
|
+
})
|
|
1627
|
+
.strict();
|
|
1628
|
+
exports.DeployVercelResultArtifactSchema = zod_1.z
|
|
1629
|
+
.object({
|
|
1630
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1631
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.deployVercelResult),
|
|
1632
|
+
payload: deployVercelResultPayloadSchema,
|
|
1633
|
+
})
|
|
1634
|
+
.strict();
|
|
1635
|
+
exports.DeployStatusPersistArtifactSchema = zod_1.z
|
|
1636
|
+
.object({
|
|
1637
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1638
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.deployStatusPersist),
|
|
1639
|
+
payload: deployStatusPersistPayloadSchema,
|
|
1640
|
+
})
|
|
1641
|
+
.strict();
|
|
1642
|
+
exports.DeployFinalArtifactSchema = zod_1.z
|
|
1643
|
+
.object({
|
|
1644
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1645
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.deployFinal),
|
|
1646
|
+
payload: deployFinalPayloadSchema,
|
|
1647
|
+
})
|
|
1648
|
+
.strict();
|
|
1649
|
+
exports.ImplementFilePlanArtifactSchema = zod_1.z
|
|
1650
|
+
.object({
|
|
1651
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1652
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.implementFilePlan),
|
|
1653
|
+
payload: implementFilePlanPayloadSchema,
|
|
1654
|
+
})
|
|
1655
|
+
.strict();
|
|
1656
|
+
exports.ImplementCodeGenArtifactSchema = zod_1.z
|
|
1657
|
+
.object({
|
|
1658
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1659
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.implementCodeGen),
|
|
1660
|
+
payload: implementCodeGenPayloadSchema,
|
|
1661
|
+
})
|
|
1662
|
+
.strict();
|
|
1663
|
+
exports.ImplementTestsArtifactSchema = zod_1.z
|
|
1664
|
+
.object({
|
|
1665
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1666
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.implementTests),
|
|
1667
|
+
payload: implementTestsPayloadSchema,
|
|
1668
|
+
})
|
|
1669
|
+
.strict();
|
|
1670
|
+
exports.ImplementPrCreateArtifactSchema = zod_1.z
|
|
1671
|
+
.object({
|
|
1672
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1673
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.implementPrCreate),
|
|
1674
|
+
payload: implementPrCreatePayloadSchema,
|
|
1675
|
+
})
|
|
1676
|
+
.strict();
|
|
1677
|
+
exports.ImplementGuardianReviewArtifactSchema = zod_1.z
|
|
1678
|
+
.object({
|
|
1679
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1680
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.implementGuardianReview),
|
|
1681
|
+
payload: implementGuardianReviewPayloadSchema,
|
|
1682
|
+
})
|
|
1683
|
+
.strict();
|
|
1684
|
+
const gateImportValidityPayloadSchema = import_validity_schema_1.ImportValidityOutputSchema.extend({
|
|
1685
|
+
workflowRunId: zod_1.z.string().optional(),
|
|
1686
|
+
}).strict();
|
|
1687
|
+
exports.GateImportValidityArtifactSchema = zod_1.z
|
|
1688
|
+
.object({
|
|
1689
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1690
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.gateImportValidity),
|
|
1691
|
+
payload: gateImportValidityPayloadSchema,
|
|
1692
|
+
})
|
|
1693
|
+
.strict();
|
|
1694
|
+
const gateContextContaminationPayloadSchema = context_contamination_schema_1.ContextContaminationOutputSchema.extend({
|
|
1695
|
+
workflowRunId: zod_1.z.string().optional(),
|
|
1696
|
+
}).strict();
|
|
1697
|
+
exports.GateContextContaminationArtifactSchema = zod_1.z
|
|
1698
|
+
.object({
|
|
1699
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1700
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.gateContextContamination),
|
|
1701
|
+
payload: gateContextContaminationPayloadSchema,
|
|
1702
|
+
})
|
|
1703
|
+
.strict();
|
|
1704
|
+
exports.ImplementFinalArtifactSchema = zod_1.z
|
|
1705
|
+
.object({
|
|
1706
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1707
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.implementFinal),
|
|
1708
|
+
payload: implementRunFinalPayloadSchema,
|
|
1709
|
+
})
|
|
1710
|
+
.strict();
|
|
1711
|
+
exports.ComplianceEvidenceArtifactSchema = zod_1.z
|
|
1712
|
+
.object({
|
|
1713
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1714
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.complianceEvidence),
|
|
1715
|
+
payload: complianceEvidencePayloadSchema,
|
|
1716
|
+
})
|
|
1717
|
+
.strict();
|
|
1718
|
+
exports.CompliancePolicyArtifactSchema = zod_1.z
|
|
1719
|
+
.object({
|
|
1720
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1721
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.compliancePolicy),
|
|
1722
|
+
payload: compliancePolicyCheckPayloadSchema,
|
|
1723
|
+
})
|
|
1724
|
+
.strict();
|
|
1725
|
+
exports.ComplianceScoreArtifactSchema = zod_1.z
|
|
1726
|
+
.object({
|
|
1727
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1728
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.complianceScore),
|
|
1729
|
+
payload: complianceScorePayloadSchema,
|
|
1730
|
+
})
|
|
1731
|
+
.strict();
|
|
1732
|
+
exports.ComplianceRemediationArtifactSchema = zod_1.z
|
|
1733
|
+
.object({
|
|
1734
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1735
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.complianceRemediation),
|
|
1736
|
+
payload: complianceRemediationPayloadSchema,
|
|
1737
|
+
})
|
|
1738
|
+
.strict();
|
|
1739
|
+
exports.ComplianceFinalArtifactSchema = zod_1.z
|
|
1740
|
+
.object({
|
|
1741
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1742
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.complianceFinal),
|
|
1743
|
+
payload: complianceFinalPayloadSchema,
|
|
1744
|
+
})
|
|
1745
|
+
.strict();
|
|
1746
|
+
exports.ReviewConsistencyArtifactSchema = zod_1.z
|
|
1747
|
+
.object({
|
|
1748
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1749
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.reviewArtifact),
|
|
1750
|
+
payload: reviewConsistencyPayloadSchema,
|
|
1751
|
+
})
|
|
1752
|
+
.strict();
|
|
1753
|
+
exports.ReviewCodeFindingsArtifactSchema = zod_1.z
|
|
1754
|
+
.object({
|
|
1755
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1756
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.reviewCode),
|
|
1757
|
+
payload: reviewCodeFindingsPayloadSchema,
|
|
1758
|
+
})
|
|
1759
|
+
.strict();
|
|
1760
|
+
exports.ReviewThreatModelArtifactSchema = zod_1.z
|
|
1761
|
+
.object({
|
|
1762
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1763
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.reviewSecurity),
|
|
1764
|
+
payload: exports.ReviewThreatPayloadSchema,
|
|
1765
|
+
})
|
|
1766
|
+
.strict();
|
|
1767
|
+
exports.ReviewReleaseDecisionArtifactSchema = zod_1.z
|
|
1768
|
+
.object({
|
|
1769
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1770
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.reviewReleaseDecision),
|
|
1771
|
+
payload: reviewReleasePayloadSchema,
|
|
1772
|
+
})
|
|
1773
|
+
.strict();
|
|
1774
|
+
exports.ReviewAggregateArtifactSchema = zod_1.z
|
|
1775
|
+
.object({
|
|
1776
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1777
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.reviewFinal),
|
|
1778
|
+
payload: reviewAggregatePayloadSchema,
|
|
1779
|
+
})
|
|
1780
|
+
.strict();
|
|
1781
|
+
// --- Knowledge / docs pipeline (#260) ---
|
|
1782
|
+
const knowledgeDocTypeSchema = zod_1.z.enum([
|
|
1783
|
+
"readme",
|
|
1784
|
+
"api",
|
|
1785
|
+
"guide",
|
|
1786
|
+
"reference",
|
|
1787
|
+
"tutorial",
|
|
1788
|
+
]);
|
|
1789
|
+
const knowledgeSourceSummaryPayloadSchema = zod_1.z
|
|
1790
|
+
.object({
|
|
1791
|
+
summary: zod_1.z.string(),
|
|
1792
|
+
keyTopics: zod_1.z.array(zod_1.z.string()),
|
|
1793
|
+
sourceNotes: zod_1.z.array(zod_1.z.string()),
|
|
1794
|
+
})
|
|
1795
|
+
.strict();
|
|
1796
|
+
const knowledgeDomainKnowledgePayloadSchema = zod_1.z
|
|
1797
|
+
.object({
|
|
1798
|
+
domainOverview: zod_1.z.string(),
|
|
1799
|
+
concepts: zod_1.z.array(zod_1.z
|
|
1800
|
+
.object({
|
|
1801
|
+
name: zod_1.z.string(),
|
|
1802
|
+
description: zod_1.z.string(),
|
|
1803
|
+
})
|
|
1804
|
+
.strict()),
|
|
1805
|
+
})
|
|
1806
|
+
.strict();
|
|
1807
|
+
const knowledgeGraphEntriesPayloadSchema = zod_1.z
|
|
1808
|
+
.object({
|
|
1809
|
+
nodes: zod_1.z.array(zod_1.z
|
|
1810
|
+
.object({
|
|
1811
|
+
id: zod_1.z.string(),
|
|
1812
|
+
label: zod_1.z.string(),
|
|
1813
|
+
kind: zod_1.z.string(),
|
|
1814
|
+
summary: zod_1.z.string(),
|
|
1815
|
+
})
|
|
1816
|
+
.strict()),
|
|
1817
|
+
edges: zod_1.z.array(zod_1.z
|
|
1818
|
+
.object({
|
|
1819
|
+
fromId: zod_1.z.string(),
|
|
1820
|
+
toId: zod_1.z.string(),
|
|
1821
|
+
relation: zod_1.z.string(),
|
|
1822
|
+
})
|
|
1823
|
+
.strict()),
|
|
1824
|
+
})
|
|
1825
|
+
.strict();
|
|
1826
|
+
const knowledgeDocumentationEntrySchema = zod_1.z
|
|
1827
|
+
.object({
|
|
1828
|
+
title: zod_1.z.string(),
|
|
1829
|
+
content: zod_1.z.string(),
|
|
1830
|
+
type: knowledgeDocTypeSchema,
|
|
1831
|
+
sections: zod_1.z.array(zod_1.z.string()),
|
|
1832
|
+
})
|
|
1833
|
+
.strict();
|
|
1834
|
+
const knowledgeFinalPayloadSchema = zod_1.z
|
|
1835
|
+
.object({
|
|
1836
|
+
documentation: zod_1.z.array(knowledgeDocumentationEntrySchema),
|
|
1837
|
+
metadata: zod_1.z
|
|
1838
|
+
.object({
|
|
1839
|
+
docsGenerated: zod_1.z.number().int().min(0),
|
|
1840
|
+
totalWords: zod_1.z.number().int().min(0),
|
|
1841
|
+
})
|
|
1842
|
+
.strict(),
|
|
1843
|
+
nextRecommendedActions: zod_1.z.array(zod_1.z.string()).optional(),
|
|
1844
|
+
missingEvidenceItems: zod_1.z.array(zod_1.z.string()).optional(),
|
|
1845
|
+
})
|
|
1846
|
+
.strict();
|
|
1847
|
+
exports.KnowledgeSourceSummaryArtifactSchema = zod_1.z
|
|
1848
|
+
.object({
|
|
1849
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1850
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.knowledgeSourceSummary),
|
|
1851
|
+
payload: knowledgeSourceSummaryPayloadSchema,
|
|
1852
|
+
})
|
|
1853
|
+
.strict();
|
|
1854
|
+
exports.KnowledgeDomainKnowledgeArtifactSchema = zod_1.z
|
|
1855
|
+
.object({
|
|
1856
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1857
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.knowledgeDomainKnowledge),
|
|
1858
|
+
payload: knowledgeDomainKnowledgePayloadSchema,
|
|
1859
|
+
})
|
|
1860
|
+
.strict();
|
|
1861
|
+
exports.KnowledgeGraphEntriesArtifactSchema = zod_1.z
|
|
1862
|
+
.object({
|
|
1863
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1864
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.knowledgeGraphEntries),
|
|
1865
|
+
payload: knowledgeGraphEntriesPayloadSchema,
|
|
1866
|
+
})
|
|
1867
|
+
.strict();
|
|
1868
|
+
exports.KnowledgeFinalArtifactSchema = zod_1.z
|
|
1869
|
+
.object({
|
|
1870
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1871
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.knowledgeFinal),
|
|
1872
|
+
payload: knowledgeFinalPayloadSchema,
|
|
1873
|
+
})
|
|
1874
|
+
.strict();
|
|
1875
|
+
exports.KnowledgeCoverageArtifactSchema = zod_1.z
|
|
1876
|
+
.object({
|
|
1877
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1878
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.knowledgeCoverage),
|
|
1879
|
+
payload: coverage_schema_1.CoverageResponseSchema,
|
|
1880
|
+
})
|
|
1881
|
+
.strict();
|
|
1882
|
+
exports.SoftwareWorkflowLineageArtifactSchema = zod_1.z
|
|
1883
|
+
.object({
|
|
1884
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1885
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.softwareWorkflowLineage),
|
|
1886
|
+
payload: software_workflow_lineage_schema_1.SoftwareWorkflowLineageRecordSchema,
|
|
1887
|
+
})
|
|
1888
|
+
.strict();
|
|
1889
|
+
exports.BuildImprovementFindingsArtifactSchema = zod_1.z
|
|
1890
|
+
.object({
|
|
1891
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1892
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.buildImprovementFindings),
|
|
1893
|
+
payload: build_knowledge_schema_1.BuildImprovementFindingsSchema,
|
|
1894
|
+
})
|
|
1895
|
+
.strict();
|
|
1896
|
+
exports.BuildLessonsManifestArtifactSchema = zod_1.z
|
|
1897
|
+
.object({
|
|
1898
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1899
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.buildLessonsManifest),
|
|
1900
|
+
payload: build_knowledge_schema_1.BuildLessonsManifestSchema,
|
|
1901
|
+
})
|
|
1902
|
+
.strict();
|
|
1903
|
+
const analyticsFinalPayloadSchema = analytics_generate_schema_1.AnalyticsReportSchema.extend({
|
|
1904
|
+
pipelineStage: zod_1.z.literal("final_artifact"),
|
|
1905
|
+
}).strict();
|
|
1906
|
+
exports.AnalyticsFinalArtifactSchema = zod_1.z
|
|
1907
|
+
.object({
|
|
1908
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1909
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.analyticsFinal),
|
|
1910
|
+
payload: analyticsFinalPayloadSchema,
|
|
1911
|
+
})
|
|
1912
|
+
.strict();
|
|
1913
|
+
// --- Constitution governance artifact schemas ---
|
|
1914
|
+
const constitutionDraftPayloadSchema = zod_1.z
|
|
1915
|
+
.object({
|
|
1916
|
+
principles: zod_1.z.array(zod_1.z.string()),
|
|
1917
|
+
scope: zod_1.z.string(),
|
|
1918
|
+
})
|
|
1919
|
+
.strict();
|
|
1920
|
+
const constitutionRulesPayloadSchema = zod_1.z
|
|
1921
|
+
.object({
|
|
1922
|
+
rules: zod_1.z.array(zod_1.z.string()),
|
|
1923
|
+
standards: zod_1.z.array(zod_1.z.string()),
|
|
1924
|
+
})
|
|
1925
|
+
.strict();
|
|
1926
|
+
const constitutionCompliancePayloadSchema = zod_1.z
|
|
1927
|
+
.object({
|
|
1928
|
+
summary: zod_1.z.string(),
|
|
1929
|
+
ruleCount: zod_1.z.number().int().min(0),
|
|
1930
|
+
})
|
|
1931
|
+
.strict();
|
|
1932
|
+
const constitutionFinalPayloadSchema = zod_1.z
|
|
1933
|
+
.object({
|
|
1934
|
+
version: zod_1.z.string(),
|
|
1935
|
+
summary: zod_1.z.string(),
|
|
1936
|
+
ruleCount: zod_1.z.number().int().min(0),
|
|
1937
|
+
content: zod_1.z.string(),
|
|
1938
|
+
auditOutputEvidence: audit_existing_output_evidence_schema_1.AuditExistingOutputEvidenceOptionalSchema,
|
|
1939
|
+
})
|
|
1940
|
+
.strict();
|
|
1941
|
+
exports.ConstitutionDraftArtifactSchema = zod_1.z
|
|
1942
|
+
.object({
|
|
1943
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1944
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.constitutionDraft),
|
|
1945
|
+
payload: constitutionDraftPayloadSchema,
|
|
1946
|
+
})
|
|
1947
|
+
.strict();
|
|
1948
|
+
exports.ConstitutionRulesArtifactSchema = zod_1.z
|
|
1949
|
+
.object({
|
|
1950
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1951
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.constitutionRules),
|
|
1952
|
+
payload: constitutionRulesPayloadSchema,
|
|
1953
|
+
})
|
|
1954
|
+
.strict();
|
|
1955
|
+
exports.ConstitutionComplianceArtifactSchema = zod_1.z
|
|
1956
|
+
.object({
|
|
1957
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1958
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.constitutionCompliance),
|
|
1959
|
+
payload: constitutionCompliancePayloadSchema,
|
|
1960
|
+
})
|
|
1961
|
+
.strict();
|
|
1962
|
+
exports.ConstitutionFinalArtifactSchema = zod_1.z
|
|
1963
|
+
.object({
|
|
1964
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
1965
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.constitutionFinal),
|
|
1966
|
+
payload: constitutionFinalPayloadSchema,
|
|
1967
|
+
})
|
|
1968
|
+
.strict();
|
|
1969
|
+
const guardianFindingPayloadSchema = zod_1.z
|
|
1970
|
+
.object({
|
|
1971
|
+
ruleId: zod_1.z.string(),
|
|
1972
|
+
severity: zod_1.z.enum(["info", "warning", "error", "critical"]),
|
|
1973
|
+
message: zod_1.z.string(),
|
|
1974
|
+
file: zod_1.z.string().nullable().optional(),
|
|
1975
|
+
line: zod_1.z.number().nullable().optional(),
|
|
1976
|
+
})
|
|
1977
|
+
.strict();
|
|
1978
|
+
const guardianValidationPayloadSchema = zod_1.z
|
|
1979
|
+
.object({
|
|
1980
|
+
score: zod_1.z.number().min(0).max(100),
|
|
1981
|
+
passedChecks: zod_1.z.array(zod_1.z.string()),
|
|
1982
|
+
violations: zod_1.z.array(guardianFindingPayloadSchema),
|
|
1983
|
+
phase: zod_1.z.string(),
|
|
1984
|
+
constitutionVersion: zod_1.z.number(),
|
|
1985
|
+
reportId: zod_1.z.string().uuid(),
|
|
1986
|
+
})
|
|
1987
|
+
.strict();
|
|
1988
|
+
const guardianReportPayloadSchema = zod_1.z
|
|
1989
|
+
.object({
|
|
1990
|
+
score: zod_1.z.number().min(0).max(100),
|
|
1991
|
+
action: zod_1.z.enum(["allow", "warn", "block"]),
|
|
1992
|
+
severity: zod_1.z.enum(["info", "warning", "error", "critical"]),
|
|
1993
|
+
violationsCount: zod_1.z.number().int().min(0),
|
|
1994
|
+
passedCount: zod_1.z.number().int().min(0),
|
|
1995
|
+
reportId: zod_1.z.string().uuid(),
|
|
1996
|
+
summary: zod_1.z.string(),
|
|
1997
|
+
})
|
|
1998
|
+
.strict();
|
|
1999
|
+
exports.GuardianValidationArtifactSchema = zod_1.z
|
|
2000
|
+
.object({
|
|
2001
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2002
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.guardianValidation),
|
|
2003
|
+
payload: guardianValidationPayloadSchema,
|
|
2004
|
+
})
|
|
2005
|
+
.strict();
|
|
2006
|
+
exports.GuardianReportArtifactSchema = zod_1.z
|
|
2007
|
+
.object({
|
|
2008
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2009
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.guardianReport),
|
|
2010
|
+
payload: guardianReportPayloadSchema,
|
|
2011
|
+
})
|
|
2012
|
+
.strict();
|
|
2013
|
+
// --- Coding Quality Spine: repo intel + policy snapshots ---
|
|
2014
|
+
exports.RepoIntelSnapshotWorkflowArtifactSchema = zod_1.z
|
|
2015
|
+
.object({
|
|
2016
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2017
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.repoIntelSnapshot),
|
|
2018
|
+
payload: repo_intel_snapshot_schema_1.RepoIntelSnapshotPayloadSchema,
|
|
2019
|
+
})
|
|
2020
|
+
.strict();
|
|
2021
|
+
exports.RepoPolicySnapshotWorkflowArtifactSchema = zod_1.z
|
|
2022
|
+
.object({
|
|
2023
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2024
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.repoPolicySnapshot),
|
|
2025
|
+
payload: repo_policy_snapshot_schema_1.RepoPolicySnapshotPayloadSchema,
|
|
2026
|
+
})
|
|
2027
|
+
.strict();
|
|
2028
|
+
exports.IngestInventoryWorkflowArtifactSchema = zod_1.z
|
|
2029
|
+
.object({
|
|
2030
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2031
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.ingestInventory),
|
|
2032
|
+
payload: ingest_inventory_schema_1.IngestInventorySchema,
|
|
2033
|
+
})
|
|
2034
|
+
.strict();
|
|
2035
|
+
exports.FindingsRegisterWorkflowArtifactSchema = zod_1.z
|
|
2036
|
+
.object({
|
|
2037
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2038
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.findingsRegister),
|
|
2039
|
+
payload: findings_register_schema_1.FindingsRegisterPayloadSchema,
|
|
2040
|
+
})
|
|
2041
|
+
.strict();
|
|
2042
|
+
exports.ExistingCapabilityClassificationWorkflowArtifactSchema = zod_1.z
|
|
2043
|
+
.object({
|
|
2044
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2045
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.existingCapabilityClassification),
|
|
2046
|
+
payload: existing_capability_classification_schema_1.ExistingCapabilityClassificationPayloadSchema,
|
|
2047
|
+
})
|
|
2048
|
+
.strict();
|
|
2049
|
+
exports.CodeRealityGraphSnapshotWorkflowArtifactSchema = zod_1.z
|
|
2050
|
+
.object({
|
|
2051
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2052
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.codeRealityGraphSnapshot),
|
|
2053
|
+
payload: code_reality_artifacts_schema_1.CodeRealityGraphSnapshotPayloadSchema,
|
|
2054
|
+
})
|
|
2055
|
+
.strict();
|
|
2056
|
+
function makeDocDraftWorkflowArtifactSchema(artifactType) {
|
|
2057
|
+
return zod_1.z
|
|
2058
|
+
.object({
|
|
2059
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2060
|
+
artifactType: zod_1.z.literal(artifactType),
|
|
2061
|
+
payload: doc_draft_artifact_schema_1.DocDraftArtifactPayloadSchema,
|
|
2062
|
+
})
|
|
2063
|
+
.strict();
|
|
2064
|
+
}
|
|
2065
|
+
exports.OperatorManualWorkflowArtifactSchema = makeDocDraftWorkflowArtifactSchema(exports.WORKFLOW_ARTIFACT_TYPE.operatorManual);
|
|
2066
|
+
exports.OnboardingGuideWorkflowArtifactSchema = makeDocDraftWorkflowArtifactSchema(exports.WORKFLOW_ARTIFACT_TYPE.onboardingGuide);
|
|
2067
|
+
exports.FaqDraftWorkflowArtifactSchema = makeDocDraftWorkflowArtifactSchema(exports.WORKFLOW_ARTIFACT_TYPE.faqDraft);
|
|
2068
|
+
exports.ReleaseNotesDraftWorkflowArtifactSchema = makeDocDraftWorkflowArtifactSchema(exports.WORKFLOW_ARTIFACT_TYPE.releaseNotesDraft);
|
|
2069
|
+
exports.TroubleshootingGuideWorkflowArtifactSchema = makeDocDraftWorkflowArtifactSchema(exports.WORKFLOW_ARTIFACT_TYPE.troubleshootingGuide);
|
|
2070
|
+
exports.SalesEnablementDraftWorkflowArtifactSchema = makeDocDraftWorkflowArtifactSchema(exports.WORKFLOW_ARTIFACT_TYPE.salesEnablementDraft);
|
|
2071
|
+
exports.SupportArticleDraftWorkflowArtifactSchema = makeDocDraftWorkflowArtifactSchema(exports.WORKFLOW_ARTIFACT_TYPE.supportArticleDraft);
|
|
2072
|
+
exports.TrainingScriptDraftWorkflowArtifactSchema = makeDocDraftWorkflowArtifactSchema(exports.WORKFLOW_ARTIFACT_TYPE.trainingScriptDraft);
|
|
2073
|
+
exports.DocDraftWorkflowArtifactSchema = zod_1.z.discriminatedUnion('artifactType', [
|
|
2074
|
+
exports.OperatorManualWorkflowArtifactSchema,
|
|
2075
|
+
exports.OnboardingGuideWorkflowArtifactSchema,
|
|
2076
|
+
exports.FaqDraftWorkflowArtifactSchema,
|
|
2077
|
+
exports.ReleaseNotesDraftWorkflowArtifactSchema,
|
|
2078
|
+
exports.TroubleshootingGuideWorkflowArtifactSchema,
|
|
2079
|
+
exports.SalesEnablementDraftWorkflowArtifactSchema,
|
|
2080
|
+
exports.SupportArticleDraftWorkflowArtifactSchema,
|
|
2081
|
+
exports.TrainingScriptDraftWorkflowArtifactSchema,
|
|
2082
|
+
]);
|
|
2083
|
+
exports.CanonicalizationDecisionWorkflowArtifactSchema = zod_1.z
|
|
2084
|
+
.object({
|
|
2085
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2086
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.canonicalizationDecision),
|
|
2087
|
+
payload: canonicalization_decision_schema_1.CanonicalizationDecisionPayloadSchema,
|
|
2088
|
+
})
|
|
2089
|
+
.strict();
|
|
2090
|
+
exports.CursorExecutionRunArtifactSchema = zod_1.z
|
|
2091
|
+
.object({
|
|
2092
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2093
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.cursorExecutionRun),
|
|
2094
|
+
payload: cursor_execution_schema_1.CursorExecutionRunArtifactPayloadSchema,
|
|
2095
|
+
})
|
|
2096
|
+
.strict();
|
|
2097
|
+
// --- Sprint B: Route Manifest + Deployment Route Probe artifacts ---
|
|
2098
|
+
exports.RouteManifestArtifactSchema = zod_1.z
|
|
2099
|
+
.object({
|
|
2100
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2101
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.routeManifest),
|
|
2102
|
+
payload: route_manifest_schema_1.RouteManifestSchema,
|
|
2103
|
+
})
|
|
2104
|
+
.strict();
|
|
2105
|
+
exports.DeploymentRouteProbeArtifactSchema = zod_1.z
|
|
2106
|
+
.object({
|
|
2107
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2108
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.deploymentRouteProbe),
|
|
2109
|
+
payload: route_manifest_schema_1.RouteProbeRunSchema,
|
|
2110
|
+
})
|
|
2111
|
+
.strict();
|
|
2112
|
+
// --- Sprint C: Runtime Contract artifacts ---
|
|
2113
|
+
exports.RuntimeContractArtifactSchema = zod_1.z
|
|
2114
|
+
.object({
|
|
2115
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2116
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.runtimeContract),
|
|
2117
|
+
payload: runtime_contract_schema_1.RuntimeContractSchema,
|
|
2118
|
+
})
|
|
2119
|
+
.strict();
|
|
2120
|
+
exports.RuntimeContractVerificationArtifactSchema = zod_1.z
|
|
2121
|
+
.object({
|
|
2122
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2123
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.runtimeContractVerification),
|
|
2124
|
+
payload: runtime_contract_schema_1.RuntimeContractVerificationResultSchema,
|
|
2125
|
+
})
|
|
2126
|
+
.strict();
|
|
2127
|
+
// --- Sprint D: Domain Acceptance Manifest + Verification artifacts ---
|
|
2128
|
+
exports.DomainAcceptanceManifestArtifactSchema = zod_1.z
|
|
2129
|
+
.object({
|
|
2130
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2131
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.domainAcceptanceManifest),
|
|
2132
|
+
payload: domain_acceptance_schema_1.DomainAcceptanceManifestSchema,
|
|
2133
|
+
})
|
|
2134
|
+
.strict();
|
|
2135
|
+
exports.DomainAcceptanceVerificationArtifactSchema = zod_1.z
|
|
2136
|
+
.object({
|
|
2137
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2138
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.domainAcceptanceVerification),
|
|
2139
|
+
payload: domain_acceptance_schema_1.DomainAcceptanceVerificationRunSchema,
|
|
2140
|
+
})
|
|
2141
|
+
.strict();
|
|
2142
|
+
// --- Sprint E: Dependency Resolution Gate artifact ---
|
|
2143
|
+
const dependencyResolutionBlockerSchema = zod_1.z
|
|
2144
|
+
.object({
|
|
2145
|
+
code: zod_1.z.string(),
|
|
2146
|
+
message: zod_1.z.string(),
|
|
2147
|
+
file: zod_1.z.string().optional(),
|
|
2148
|
+
packageName: zod_1.z.string().optional(),
|
|
2149
|
+
})
|
|
2150
|
+
.strict();
|
|
2151
|
+
const dependencyResolutionPayloadSchema = zod_1.z
|
|
2152
|
+
.object({
|
|
2153
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.dependencyResolution),
|
|
2154
|
+
packageManager: zod_1.z.enum(["pnpm", "npm", "yarn", "bun", "unknown"]),
|
|
2155
|
+
nodeVersion: zod_1.z.string(),
|
|
2156
|
+
pnpmVersion: zod_1.z.string().optional(),
|
|
2157
|
+
packageJsonHash: zod_1.z.string(),
|
|
2158
|
+
lockfileHash: zod_1.z.string().optional(),
|
|
2159
|
+
importsScanned: zod_1.z.number().int().min(0),
|
|
2160
|
+
cssImportsScanned: zod_1.z.number().int().min(0),
|
|
2161
|
+
missingPackages: zod_1.z.array(zod_1.z.string()),
|
|
2162
|
+
cssToolchainComplete: zod_1.z.boolean(),
|
|
2163
|
+
lockfilePresent: zod_1.z.boolean(),
|
|
2164
|
+
lockfileAppearsCurrent: zod_1.z.boolean(),
|
|
2165
|
+
verdict: zod_1.z.enum(["passed", "blocked", "warning"]),
|
|
2166
|
+
blockers: zod_1.z.array(dependencyResolutionBlockerSchema),
|
|
2167
|
+
})
|
|
2168
|
+
.strict();
|
|
2169
|
+
exports.DependencyResolutionArtifactSchema = zod_1.z
|
|
2170
|
+
.object({
|
|
2171
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2172
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.dependencyResolution),
|
|
2173
|
+
payload: dependencyResolutionPayloadSchema,
|
|
2174
|
+
})
|
|
2175
|
+
.strict();
|
|
2176
|
+
// Writing mode artifact schemas — freeform JSON payloads from unstructured AI output
|
|
2177
|
+
const writingPayloadSchema = zod_1.z.record(zod_1.z.unknown());
|
|
2178
|
+
// Thesis pipeline (specify step, writing kind)
|
|
2179
|
+
exports.ThesisDomainArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.thesisDomain), payload: writingPayloadSchema }).strict();
|
|
2180
|
+
exports.ThesisStatementArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.thesisStatement), payload: writingPayloadSchema }).strict();
|
|
2181
|
+
exports.ThesisCounterclaimsArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.thesisCounterclaims), payload: writingPayloadSchema }).strict();
|
|
2182
|
+
exports.ThesisDefinitionsArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.thesisDefinitions), payload: writingPayloadSchema }).strict();
|
|
2183
|
+
exports.ThesisFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.thesisFinal), payload: writingPayloadSchema }).strict();
|
|
2184
|
+
// Outline pipeline (plan step, writing kind)
|
|
2185
|
+
exports.OutlineDomainArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.outlineDomain), payload: writingPayloadSchema }).strict();
|
|
2186
|
+
exports.OutlineStructureArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.outlineStructure), payload: writingPayloadSchema }).strict();
|
|
2187
|
+
exports.OutlineChaptersArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.outlineChapters), payload: writingPayloadSchema }).strict();
|
|
2188
|
+
exports.OutlineDependenciesArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.outlineDependencies), payload: writingPayloadSchema }).strict();
|
|
2189
|
+
exports.OutlineFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.outlineFinal), payload: writingPayloadSchema }).strict();
|
|
2190
|
+
// Draft pipeline (implement step, writing kind)
|
|
2191
|
+
exports.DraftScaffoldArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.draftScaffold), payload: writingPayloadSchema }).strict();
|
|
2192
|
+
exports.DraftProseArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.draftProse), payload: writingPayloadSchema }).strict();
|
|
2193
|
+
exports.DraftCitationsArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.draftCitations), payload: writingPayloadSchema }).strict();
|
|
2194
|
+
exports.DraftFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.draftFinal), payload: writingPayloadSchema }).strict();
|
|
2195
|
+
// Editorial review pipeline (review step, writing kind)
|
|
2196
|
+
exports.EditorialClaimAuditArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.editorialClaimAudit), payload: writingPayloadSchema }).strict();
|
|
2197
|
+
exports.EditorialContradictionsArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.editorialContradictions), payload: writingPayloadSchema }).strict();
|
|
2198
|
+
exports.EditorialStyleDriftArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.editorialStyleDrift), payload: writingPayloadSchema }).strict();
|
|
2199
|
+
exports.EditorialMissingSourcesArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.editorialMissingSources), payload: writingPayloadSchema }).strict();
|
|
2200
|
+
exports.EditorialFindingsFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.editorialFindingsFinal), payload: writingPayloadSchema }).strict();
|
|
2201
|
+
// Publication pipeline (deployments step, writing kind)
|
|
2202
|
+
exports.PublicationPackageArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.publicationPackage), payload: writingPayloadSchema }).strict();
|
|
2203
|
+
// Definitions & Claims pipeline (schema step, writing kind)
|
|
2204
|
+
exports.DefinitionsGlossaryArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.definitionsGlossary), payload: writingPayloadSchema }).strict();
|
|
2205
|
+
exports.DefinitionsClaimsArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.definitionsClaims), payload: writingPayloadSchema }).strict();
|
|
2206
|
+
exports.DefinitionsConceptMapArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.definitionsConceptMap), payload: writingPayloadSchema }).strict();
|
|
2207
|
+
exports.DefinitionsFinalArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.definitionsFinal), payload: writingPayloadSchema }).strict();
|
|
2208
|
+
// Writing mode — source registry pipeline (api step, writing kind)
|
|
2209
|
+
exports.SourceRegistryScanArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.sourceRegistryScan), payload: writingPayloadSchema }).strict();
|
|
2210
|
+
exports.SourceRegistrySourcesArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.sourceRegistrySources), payload: writingPayloadSchema }).strict();
|
|
2211
|
+
exports.SourceRegistryFinalArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.sourceRegistryFinal), payload: writingPayloadSchema }).strict();
|
|
2212
|
+
// Writing mode — style system pipeline (ui step, writing kind)
|
|
2213
|
+
exports.StyleVoiceProfileArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.styleVoiceProfile), payload: writingPayloadSchema }).strict();
|
|
2214
|
+
exports.StyleRulesArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.styleRules), payload: writingPayloadSchema }).strict();
|
|
2215
|
+
exports.StyleProseExamplesArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.styleProseExamples), payload: writingPayloadSchema }).strict();
|
|
2216
|
+
exports.StyleSystemFinalArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.styleSystemFinal), payload: writingPayloadSchema }).strict();
|
|
2217
|
+
// Writing mode — editorial constitution pipeline (constitution step, writing kind)
|
|
2218
|
+
exports.ConstitutionMissionArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.constitutionMission), payload: writingPayloadSchema }).strict();
|
|
2219
|
+
exports.ConstitutionPrinciplesArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.constitutionPrinciples), payload: writingPayloadSchema }).strict();
|
|
2220
|
+
exports.ConstitutionGatesArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.constitutionGates), payload: writingPayloadSchema }).strict();
|
|
2221
|
+
exports.ConstitutionWritingFinalArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.constitutionWritingFinal), payload: writingPayloadSchema }).strict();
|
|
2222
|
+
// Writing mode — editorial guardian pipeline (guardian step, writing kind)
|
|
2223
|
+
exports.GuardianCoherenceArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.guardianCoherence), payload: writingPayloadSchema }).strict();
|
|
2224
|
+
exports.GuardianComplianceArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.guardianCompliance), payload: writingPayloadSchema }).strict();
|
|
2225
|
+
exports.GuardianGapAnalysisArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.guardianGapAnalysis), payload: writingPayloadSchema }).strict();
|
|
2226
|
+
exports.GuardianFinalArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.guardianFinal), payload: writingPayloadSchema }).strict();
|
|
2227
|
+
// Writing mode — argument map pipeline (argument_map step, writing kind)
|
|
2228
|
+
exports.ArgumentMapClaimExtractionArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.argumentMapClaimExtraction), payload: writingPayloadSchema }).strict();
|
|
2229
|
+
exports.ArgumentMapDependencyMappingArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.argumentMapDependencyMapping), payload: writingPayloadSchema }).strict();
|
|
2230
|
+
exports.ArgumentMapFinalArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.argumentMapFinal), payload: writingPayloadSchema }).strict();
|
|
2231
|
+
// Writing mode — counterclaim framework pipeline (counterclaim_framework step, writing kind)
|
|
2232
|
+
exports.CounterclaimSurveyArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.counterclaimSurvey), payload: writingPayloadSchema }).strict();
|
|
2233
|
+
exports.CounterclaimFrameworkFinalArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.counterclaimFrameworkFinal), payload: writingPayloadSchema }).strict();
|
|
2234
|
+
// Writing mode — writing tasks pipeline (tasks step, writing kind)
|
|
2235
|
+
exports.WritingTasksScanArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.writingTasksScan), payload: writingPayloadSchema }).strict();
|
|
2236
|
+
exports.WritingTasksFinalArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.writingTasksFinal), payload: writingPayloadSchema }).strict();
|
|
2237
|
+
// Writing mode — draft-all manuscript pipeline (implement step, writing kind)
|
|
2238
|
+
exports.ChapterDraftArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.chapterDraft), payload: writingPayloadSchema }).strict();
|
|
2239
|
+
exports.ChapterRevisionBriefArtifactWorkflowSchema = zod_1.z
|
|
2240
|
+
.object({
|
|
2241
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2242
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.chapterRevisionBrief),
|
|
2243
|
+
payload: chapter_revision_schema_1.ChapterRevisionBriefPayloadSchema,
|
|
2244
|
+
})
|
|
2245
|
+
.strict();
|
|
2246
|
+
exports.ChapterRevisionDeltaArtifactWorkflowSchema = zod_1.z
|
|
2247
|
+
.object({
|
|
2248
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2249
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.chapterRevisionDelta),
|
|
2250
|
+
payload: chapter_revision_schema_1.ChapterRevisionDeltaPayloadSchema,
|
|
2251
|
+
})
|
|
2252
|
+
.strict();
|
|
2253
|
+
exports.ChapterRevisionQAReportArtifactWorkflowSchema = zod_1.z
|
|
2254
|
+
.object({
|
|
2255
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2256
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.chapterRevisionQAReport),
|
|
2257
|
+
payload: chapter_revision_schema_1.ChapterRevisionQAReportPayloadSchema,
|
|
2258
|
+
})
|
|
2259
|
+
.strict();
|
|
2260
|
+
exports.ChapterContinuityLedgerArtifactWorkflowSchema = zod_1.z
|
|
2261
|
+
.object({
|
|
2262
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2263
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.chapterContinuityLedger),
|
|
2264
|
+
payload: chapter_revision_schema_1.ChapterContinuityLedgerPayloadSchema,
|
|
2265
|
+
})
|
|
2266
|
+
.strict();
|
|
2267
|
+
exports.ArtifactDependencyArtifactWorkflowSchema = zod_1.z
|
|
2268
|
+
.object({
|
|
2269
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2270
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.artifactDependency),
|
|
2271
|
+
payload: chapter_revision_schema_1.ArtifactDependencyPayloadSchema,
|
|
2272
|
+
})
|
|
2273
|
+
.strict();
|
|
2274
|
+
exports.ManuscriptDraftArtifactWorkflowSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.manuscriptDraft), payload: writingPayloadSchema }).strict();
|
|
2275
|
+
exports.ManuscriptChecksReportArtifactWorkflowSchema = zod_1.z
|
|
2276
|
+
.object({
|
|
2277
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2278
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.manuscriptChecksReport),
|
|
2279
|
+
payload: manuscript_checks_schema_1.ManuscriptChecksReportSchema,
|
|
2280
|
+
})
|
|
2281
|
+
.strict();
|
|
2282
|
+
// Publication — documentary audiobook (deployments step, writing kind); typed payloads
|
|
2283
|
+
exports.AudioProductionSettingsWorkflowArtifactSchema = zod_1.z
|
|
2284
|
+
.object({
|
|
2285
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2286
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audioProductionSettings),
|
|
2287
|
+
payload: audiobook_artifacts_schema_1.AudioProductionSettingsArtifactPayloadSchema,
|
|
2288
|
+
})
|
|
2289
|
+
.strict();
|
|
2290
|
+
exports.AudiobookVoiceProfileWorkflowArtifactSchema = zod_1.z
|
|
2291
|
+
.object({
|
|
2292
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2293
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookVoiceProfile),
|
|
2294
|
+
payload: audiobook_artifacts_schema_1.AudiobookVoiceProfileSchema,
|
|
2295
|
+
})
|
|
2296
|
+
.strict();
|
|
2297
|
+
exports.AudiobookNarrationScriptWorkflowArtifactSchema = zod_1.z
|
|
2298
|
+
.object({
|
|
2299
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2300
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookNarrationScript),
|
|
2301
|
+
payload: audiobook_artifacts_schema_1.NarrationScriptArtifactPayloadSchema,
|
|
2302
|
+
})
|
|
2303
|
+
.strict();
|
|
2304
|
+
exports.AudiobookNarrationTimingWorkflowArtifactSchema = zod_1.z
|
|
2305
|
+
.object({
|
|
2306
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2307
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookNarrationTiming),
|
|
2308
|
+
payload: audiobook_artifacts_schema_1.NarrationTimingArtifactPayloadSchema,
|
|
2309
|
+
})
|
|
2310
|
+
.strict();
|
|
2311
|
+
exports.AudiobookProductionTimelineWorkflowArtifactSchema = zod_1.z
|
|
2312
|
+
.object({
|
|
2313
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2314
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookProductionTimeline),
|
|
2315
|
+
payload: audiobook_artifacts_schema_1.DocumentaryProductionTimelinePayloadSchema,
|
|
2316
|
+
})
|
|
2317
|
+
.strict();
|
|
2318
|
+
exports.AudiobookSoundCueSheetWorkflowArtifactSchema = zod_1.z
|
|
2319
|
+
.object({
|
|
2320
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2321
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookSoundCueSheet),
|
|
2322
|
+
payload: audiobook_artifacts_schema_1.SoundCueSheetPayloadSchema,
|
|
2323
|
+
})
|
|
2324
|
+
.strict();
|
|
2325
|
+
exports.AudiobookSoundAssetBundleWorkflowArtifactSchema = zod_1.z
|
|
2326
|
+
.object({
|
|
2327
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2328
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookSoundAssetBundle),
|
|
2329
|
+
payload: audiobook_artifacts_schema_1.SoundAssetBundlePayloadSchema,
|
|
2330
|
+
})
|
|
2331
|
+
.strict();
|
|
2332
|
+
exports.AudiobookMixPlanWorkflowArtifactSchema = zod_1.z
|
|
2333
|
+
.object({
|
|
2334
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2335
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookMixPlan),
|
|
2336
|
+
payload: audiobook_artifacts_schema_1.AudioMixPlanPayloadSchema,
|
|
2337
|
+
})
|
|
2338
|
+
.strict();
|
|
2339
|
+
exports.AudiobookMixedChapterAudioWorkflowArtifactSchema = zod_1.z
|
|
2340
|
+
.object({
|
|
2341
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2342
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookMixedChapterAudio),
|
|
2343
|
+
payload: audiobook_artifacts_schema_1.MixedChapterAudioPayloadSchema,
|
|
2344
|
+
})
|
|
2345
|
+
.strict();
|
|
2346
|
+
exports.AudiobookQaReportWorkflowArtifactSchema = zod_1.z
|
|
2347
|
+
.object({
|
|
2348
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2349
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookQaReport),
|
|
2350
|
+
payload: audiobook_artifacts_schema_1.AudioQAReportPayloadSchema,
|
|
2351
|
+
})
|
|
2352
|
+
.strict();
|
|
2353
|
+
exports.AudiobookVisualStoryboardWorkflowArtifactSchema = zod_1.z
|
|
2354
|
+
.object({
|
|
2355
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2356
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookVisualStoryboard),
|
|
2357
|
+
payload: audiobook_artifacts_schema_1.VisualStoryboardPayloadSchema,
|
|
2358
|
+
})
|
|
2359
|
+
.strict();
|
|
2360
|
+
exports.AudiobookStillImagePromptSetWorkflowArtifactSchema = zod_1.z
|
|
2361
|
+
.object({
|
|
2362
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2363
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookStillImagePromptSet),
|
|
2364
|
+
payload: audiobook_artifacts_schema_1.StillImagePromptSetPayloadSchema,
|
|
2365
|
+
})
|
|
2366
|
+
.strict();
|
|
2367
|
+
exports.AudiobookMotionStoryCueSheetWorkflowArtifactSchema = zod_1.z
|
|
2368
|
+
.object({
|
|
2369
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2370
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookMotionStoryCueSheet),
|
|
2371
|
+
payload: audiobook_artifacts_schema_1.MotionStoryCueSheetPayloadSchema,
|
|
2372
|
+
})
|
|
2373
|
+
.strict();
|
|
2374
|
+
exports.AudiobookProductionManifestWorkflowArtifactSchema = zod_1.z
|
|
2375
|
+
.object({
|
|
2376
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2377
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookProductionManifest),
|
|
2378
|
+
payload: audiobook_artifacts_schema_1.ProductionAssetManifestPayloadSchema,
|
|
2379
|
+
})
|
|
2380
|
+
.strict();
|
|
2381
|
+
exports.AudiobookEmbedPackageWorkflowArtifactSchema = zod_1.z
|
|
2382
|
+
.object({
|
|
2383
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2384
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookEmbedPackage),
|
|
2385
|
+
payload: audiobook_embed_schema_1.AudiobookEmbedArtifactPayloadSchema,
|
|
2386
|
+
})
|
|
2387
|
+
.strict();
|
|
2388
|
+
exports.AudiobookStudioExportPackageWorkflowArtifactSchema = zod_1.z
|
|
2389
|
+
.object({
|
|
2390
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2391
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookStudioExportPackage),
|
|
2392
|
+
payload: audiobook_studio_schema_1.AudiobookStudioExportArtifactPayloadSchema,
|
|
2393
|
+
})
|
|
2394
|
+
.strict();
|
|
2395
|
+
exports.AudiobookStudioImportRecordWorkflowArtifactSchema = zod_1.z
|
|
2396
|
+
.object({
|
|
2397
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2398
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookStudioImportRecord),
|
|
2399
|
+
payload: audiobook_studio_schema_1.ElevenLabsAudiobookImportRecordSchema,
|
|
2400
|
+
})
|
|
2401
|
+
.strict();
|
|
2402
|
+
exports.AudiobookProductionModeWorkflowArtifactSchema = zod_1.z
|
|
2403
|
+
.object({
|
|
2404
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2405
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookProductionMode),
|
|
2406
|
+
payload: audiobook_studio_schema_1.AudiobookProductionModeArtifactPayloadSchema,
|
|
2407
|
+
})
|
|
2408
|
+
.strict();
|
|
2409
|
+
exports.AudiobookDistributionStateWorkflowArtifactSchema = zod_1.z
|
|
2410
|
+
.object({
|
|
2411
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2412
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookDistributionState),
|
|
2413
|
+
payload: audiobook_studio_schema_1.AudiobookDistributionArtifactPayloadSchema,
|
|
2414
|
+
})
|
|
2415
|
+
.strict();
|
|
2416
|
+
exports.AudiobookElevenLabsStudioProjectWorkflowArtifactSchema = zod_1.z
|
|
2417
|
+
.object({
|
|
2418
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2419
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audiobookElevenLabsStudioProject),
|
|
2420
|
+
payload: audiobook_studio_schema_1.ElevenLabsStudioProjectArtifactPayloadSchema,
|
|
2421
|
+
})
|
|
2422
|
+
.strict();
|
|
2423
|
+
// Fiction mode — world ontology pipeline (schema step, fiction kind)
|
|
2424
|
+
exports.WorldOntologyDraftArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.worldOntologyDraft), payload: writingPayloadSchema }).strict();
|
|
2425
|
+
exports.FactionRegistryArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.factionRegistry), payload: writingPayloadSchema }).strict();
|
|
2426
|
+
exports.LoreSystemDraftArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.loreSystemDraft), payload: writingPayloadSchema }).strict();
|
|
2427
|
+
exports.SymbolRegistryArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.symbolRegistry), payload: writingPayloadSchema }).strict();
|
|
2428
|
+
exports.WorldOntologyFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.worldOntologyFinal), payload: writingPayloadSchema }).strict();
|
|
2429
|
+
// Fiction mode — premise pipeline (specify step, fiction kind)
|
|
2430
|
+
exports.PremiseDraftArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.premiseDraft), payload: writingPayloadSchema }).strict();
|
|
2431
|
+
exports.ThemeArticulationArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.themeArticulation), payload: writingPayloadSchema }).strict();
|
|
2432
|
+
exports.PremiseFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.premiseFinal), payload: writingPayloadSchema }).strict();
|
|
2433
|
+
// Fiction mode — story structure pipeline (plan step, fiction kind)
|
|
2434
|
+
exports.ActOutlineArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.actOutline), payload: writingPayloadSchema }).strict();
|
|
2435
|
+
exports.PlotBeatsArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.plotBeats), payload: writingPayloadSchema }).strict();
|
|
2436
|
+
exports.NarrativeArcArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.narrativeArc), payload: writingPayloadSchema }).strict();
|
|
2437
|
+
exports.StoryStructureFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.storyStructureFinal), payload: writingPayloadSchema }).strict();
|
|
2438
|
+
// Fiction mode — interaction systems pipeline (api step, fiction kind)
|
|
2439
|
+
exports.CharacterInteractionProtocolArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.characterInteractionProtocol), payload: writingPayloadSchema }).strict();
|
|
2440
|
+
exports.DialogueSystemDraftArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.dialogueSystemDraft), payload: writingPayloadSchema }).strict();
|
|
2441
|
+
exports.AgencyRulesArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.agencyRules), payload: writingPayloadSchema }).strict();
|
|
2442
|
+
exports.InteractionSystemsFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.interactionSystemsFinal), payload: writingPayloadSchema }).strict();
|
|
2443
|
+
// Fiction mode — reader experience pipeline (ui step, fiction kind)
|
|
2444
|
+
exports.VoiceToneProfileArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.voiceToneProfile), payload: writingPayloadSchema }).strict();
|
|
2445
|
+
exports.PacingGuideArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.pacingGuide), payload: writingPayloadSchema }).strict();
|
|
2446
|
+
exports.ImmersionTechniquesArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.immersionTechniques), payload: writingPayloadSchema }).strict();
|
|
2447
|
+
exports.ReaderExperienceFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.readerExperienceFinal), payload: writingPayloadSchema }).strict();
|
|
2448
|
+
// Fiction mode — scene tasks pipeline (tasks step, fiction kind)
|
|
2449
|
+
exports.SceneTaskDecompositionArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.sceneTaskDecomposition), payload: writingPayloadSchema }).strict();
|
|
2450
|
+
exports.ChapterScheduleArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.chapterSchedule), payload: writingPayloadSchema }).strict();
|
|
2451
|
+
exports.SceneTasksFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.sceneTasksFinal), payload: writingPayloadSchema }).strict();
|
|
2452
|
+
// Fiction mode — draft pipeline (implement step, fiction kind)
|
|
2453
|
+
exports.SceneDraftArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.sceneDraft), payload: writingPayloadSchema }).strict();
|
|
2454
|
+
exports.LoreEntryDraftArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.loreEntryDraft), payload: writingPayloadSchema }).strict();
|
|
2455
|
+
// Fiction mode — editorial review pipeline (review step, fiction kind)
|
|
2456
|
+
exports.LoreContinuityAuditArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.loreContinuityAudit), payload: writingPayloadSchema }).strict();
|
|
2457
|
+
exports.CharacterContinuityAuditArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.characterContinuityAudit), payload: writingPayloadSchema }).strict();
|
|
2458
|
+
exports.TonalDriftCheckArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.tonalDriftCheck), payload: writingPayloadSchema }).strict();
|
|
2459
|
+
exports.NarrativePacingReviewArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.narrativePacingReview), payload: writingPayloadSchema }).strict();
|
|
2460
|
+
exports.FictionEditorialFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.fictionEditorialFinal), payload: writingPayloadSchema }).strict();
|
|
2461
|
+
// Nonfiction mode — thesis pipeline (specify step, nonfiction kind)
|
|
2462
|
+
exports.ThesisDraftArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.thesisDraft), payload: writingPayloadSchema }).strict();
|
|
2463
|
+
exports.ThesisRefinementArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.thesisRefinement), payload: writingPayloadSchema }).strict();
|
|
2464
|
+
exports.AudienceProfileArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.audienceProfile), payload: writingPayloadSchema }).strict();
|
|
2465
|
+
exports.NonfictionThesisFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.nonfictionThesisFinal), payload: writingPayloadSchema }).strict();
|
|
2466
|
+
// Nonfiction mode — argument structure pipeline (plan step, nonfiction kind)
|
|
2467
|
+
exports.ArgumentStructureArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.argumentStructure), payload: writingPayloadSchema }).strict();
|
|
2468
|
+
exports.ChapterPlanArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.chapterPlan), payload: writingPayloadSchema }).strict();
|
|
2469
|
+
exports.EvidenceHierarchyArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.evidenceHierarchy), payload: writingPayloadSchema }).strict();
|
|
2470
|
+
exports.NonfictionArgumentFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.nonfictionArgumentFinal), payload: writingPayloadSchema }).strict();
|
|
2471
|
+
// Nonfiction mode — claim ontology pipeline (schema step, nonfiction kind)
|
|
2472
|
+
exports.ClaimRegistryArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.claimRegistry), payload: writingPayloadSchema }).strict();
|
|
2473
|
+
exports.DefinitionGlossaryArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.definitionGlossary), payload: writingPayloadSchema }).strict();
|
|
2474
|
+
exports.ConceptTaxonomyArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.conceptTaxonomy), payload: writingPayloadSchema }).strict();
|
|
2475
|
+
exports.NonfictionClaimOntologyFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.nonfictionClaimOntologyFinal), payload: writingPayloadSchema }).strict();
|
|
2476
|
+
// Nonfiction mode — source registry pipeline (api step, nonfiction kind)
|
|
2477
|
+
exports.NonfictionSourceRegistryArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.nonfictionSourceRegistry), payload: writingPayloadSchema }).strict();
|
|
2478
|
+
exports.EvidenceGraphArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.evidenceGraph), payload: writingPayloadSchema }).strict();
|
|
2479
|
+
exports.CitationSystemArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.citationSystem), payload: writingPayloadSchema }).strict();
|
|
2480
|
+
exports.NonfictionSourceRegistryFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.nonfictionSourceRegistryFinal), payload: writingPayloadSchema }).strict();
|
|
2481
|
+
// Nonfiction mode — narrative voice pipeline (ui step, nonfiction kind)
|
|
2482
|
+
exports.NarrativeVoiceDraftArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.narrativeVoiceDraft), payload: writingPayloadSchema }).strict();
|
|
2483
|
+
exports.RhetoricalRegisterArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.rhetoricalRegister), payload: writingPayloadSchema }).strict();
|
|
2484
|
+
exports.ReaderPositioningArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.readerPositioning), payload: writingPayloadSchema }).strict();
|
|
2485
|
+
exports.NonfictionNarrativeVoiceFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.nonfictionNarrativeVoiceFinal), payload: writingPayloadSchema }).strict();
|
|
2486
|
+
// Nonfiction mode — research tasks pipeline (tasks step, nonfiction kind)
|
|
2487
|
+
exports.ResearchTaskDecompositionArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.researchTaskDecomposition), payload: writingPayloadSchema }).strict();
|
|
2488
|
+
exports.SourceValidationArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.sourceValidation), payload: writingPayloadSchema }).strict();
|
|
2489
|
+
exports.NonfictionChapterScheduleArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.nonfictionChapterSchedule), payload: writingPayloadSchema }).strict();
|
|
2490
|
+
exports.NonfictionResearchTasksFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.nonfictionResearchTasksFinal), payload: writingPayloadSchema }).strict();
|
|
2491
|
+
// Nonfiction mode — draft pipeline (implement step, nonfiction kind)
|
|
2492
|
+
exports.ArgumentProseArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.argumentProse), payload: writingPayloadSchema }).strict();
|
|
2493
|
+
exports.EvidenceIntegrationArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.evidenceIntegration), payload: writingPayloadSchema }).strict();
|
|
2494
|
+
exports.NonfictionDraftFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.nonfictionDraftFinal), payload: writingPayloadSchema }).strict();
|
|
2495
|
+
// Nonfiction mode — peer review pipeline (review step, nonfiction kind)
|
|
2496
|
+
exports.SourceQualityAuditArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.sourceQualityAudit), payload: writingPayloadSchema }).strict();
|
|
2497
|
+
exports.ContradictionAnalysisArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.contradictionAnalysis), payload: writingPayloadSchema }).strict();
|
|
2498
|
+
exports.HallucinationCheckArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.hallucinationCheck), payload: writingPayloadSchema }).strict();
|
|
2499
|
+
exports.RhetoricalBalanceReviewArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.rhetoricalBalanceReview), payload: writingPayloadSchema }).strict();
|
|
2500
|
+
exports.NonfictionPeerReviewFinalArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.nonfictionPeerReviewFinal), payload: writingPayloadSchema }).strict();
|
|
2501
|
+
// Film production pipeline — artifact schemas (media_film_*)
|
|
2502
|
+
const filmPayloadSchema = zod_1.z.record(zod_1.z.unknown());
|
|
2503
|
+
exports.FilmLoglineWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_logline), payload: filmPayloadSchema }).strict();
|
|
2504
|
+
exports.FilmStoryBibleWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_storyBible), payload: filmPayloadSchema }).strict();
|
|
2505
|
+
exports.FilmCharacterBibleWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_characterBible), payload: filmPayloadSchema }).strict();
|
|
2506
|
+
exports.FilmLocationBibleWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_locationBible), payload: filmPayloadSchema }).strict();
|
|
2507
|
+
exports.FilmStyleBibleWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_styleBible), payload: filmPayloadSchema }).strict();
|
|
2508
|
+
exports.FilmSceneListWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_sceneList), payload: filmPayloadSchema }).strict();
|
|
2509
|
+
exports.FilmScreenplayDraftWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_screenplayDraft), payload: filmPayloadSchema }).strict();
|
|
2510
|
+
exports.FilmShotListWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_shotList), payload: filmPayloadSchema }).strict();
|
|
2511
|
+
exports.FilmPromptPackWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_promptPack), payload: filmPayloadSchema }).strict();
|
|
2512
|
+
exports.FilmClipManifestWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_clipManifest), payload: filmPayloadSchema }).strict();
|
|
2513
|
+
exports.FilmClipReviewWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_clipReview), payload: filmPayloadSchema }).strict();
|
|
2514
|
+
exports.FilmReviewReportWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_reviewReport), payload: filmPayloadSchema }).strict();
|
|
2515
|
+
exports.FilmEditSequenceWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_editSequence), payload: filmPayloadSchema }).strict();
|
|
2516
|
+
exports.FilmProductionPacketWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_productionPacket), payload: filmPayloadSchema }).strict();
|
|
2517
|
+
exports.FilmExportPacketWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_exportPacket), payload: filmPayloadSchema }).strict();
|
|
2518
|
+
exports.FilmOtioTimelineWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_otioTimeline), payload: filmPayloadSchema }).strict();
|
|
2519
|
+
exports.FilmStillReviewWorkflowArtifactSchema = zod_1.z.object({ ...exports.WorkflowArtifactBaseSchema.shape, artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_stillReview), payload: filmPayloadSchema }).strict();
|
|
2520
|
+
exports.FilmGenerationTaskWorkflowArtifactSchema = zod_1.z
|
|
2521
|
+
.object({
|
|
2522
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2523
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_generationTask),
|
|
2524
|
+
payload: film_generation_task_schema_1.FilmGenerationTaskArtifactPayloadSchema,
|
|
2525
|
+
})
|
|
2526
|
+
.strict();
|
|
2527
|
+
exports.FilmComfyUIWorkflowArtifactSchema = zod_1.z
|
|
2528
|
+
.object({
|
|
2529
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2530
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_comfyuiWorkflow),
|
|
2531
|
+
payload: film_comfyui_workflow_schema_1.FilmComfyUIWorkflowArtifactPayloadSchema,
|
|
2532
|
+
})
|
|
2533
|
+
.strict();
|
|
2534
|
+
exports.FilmTakeComparisonWorkflowArtifactSchema = zod_1.z
|
|
2535
|
+
.object({
|
|
2536
|
+
...exports.WorkflowArtifactBaseSchema.shape,
|
|
2537
|
+
artifactType: zod_1.z.literal(exports.WORKFLOW_ARTIFACT_TYPE.media_film_takeComparison),
|
|
2538
|
+
payload: film_take_comparison_schema_1.FilmTakeComparisonArtifactPayloadSchema,
|
|
2539
|
+
})
|
|
2540
|
+
.strict();
|
|
2541
|
+
/** ZodTypeAny annotation avoids TS7056 declaration-emit blow-up on this mega-union. */
|
|
2542
|
+
exports.WorkflowArtifactSchema = zod_1.z.discriminatedUnion("artifactType", [
|
|
2543
|
+
exports.SchemaDomainModelArtifactSchema,
|
|
2544
|
+
exports.SchemaBlueprintArtifactSchema,
|
|
2545
|
+
exports.SchemaRelationsArtifactSchema,
|
|
2546
|
+
exports.SchemaMigrationArtifactSchema,
|
|
2547
|
+
exports.SchemaSecurityArtifactSchema,
|
|
2548
|
+
exports.SchemaTypesArtifactSchema,
|
|
2549
|
+
exports.SpecifyDomainModelArtifactSchema,
|
|
2550
|
+
exports.SpecifyRequirementsArtifactSchema,
|
|
2551
|
+
exports.SpecifyAcceptanceCriteriaArtifactSchema,
|
|
2552
|
+
exports.SpecifyEdgeCasesArtifactSchema,
|
|
2553
|
+
exports.SpecifyConstraintsArtifactSchema,
|
|
2554
|
+
exports.SpecifyFinalArtifactSchema,
|
|
2555
|
+
exports.PlanArchitectureArtifactSchema,
|
|
2556
|
+
exports.PlanDataFlowArtifactSchema,
|
|
2557
|
+
exports.PlanModuleBoundariesArtifactSchema,
|
|
2558
|
+
exports.PlanRisksArtifactSchema,
|
|
2559
|
+
exports.PlanDeliveryPhasesArtifactSchema,
|
|
2560
|
+
exports.PlanFinalArtifactSchema,
|
|
2561
|
+
exports.ApiEndpointMapArtifactSchema,
|
|
2562
|
+
exports.ApiContractArtifactSchema,
|
|
2563
|
+
exports.UiScreenMapArtifactSchema,
|
|
2564
|
+
exports.UiComponentContractArtifactSchema,
|
|
2565
|
+
exports.TaskGraphArtifactSchema,
|
|
2566
|
+
exports.TaskContextIntakeArtifactSchema,
|
|
2567
|
+
exports.TaskArtifactCoverageArtifactSchema,
|
|
2568
|
+
exports.TaskWorkBreakdownArtifactSchema,
|
|
2569
|
+
exports.TaskDependencyGraphArtifactSchema,
|
|
2570
|
+
exports.TaskImplementationCardsArtifactSchema,
|
|
2571
|
+
exports.TaskValidationArtifactSchema,
|
|
2572
|
+
exports.TaskFinalGraphArtifactSchema,
|
|
2573
|
+
exports.BuildImprovementFindingsArtifactSchema,
|
|
2574
|
+
exports.BuildLessonsManifestArtifactSchema,
|
|
2575
|
+
exports.CicdWorkflowArtifactSchema,
|
|
2576
|
+
exports.CicdCommandsArtifactSchema,
|
|
2577
|
+
exports.CicdWorkflowFileArtifactSchema,
|
|
2578
|
+
exports.CicdValidationArtifactSchema,
|
|
2579
|
+
exports.CicdCommitArtifactArtifactSchema,
|
|
2580
|
+
exports.CicdRepoApplyArtifactSchema,
|
|
2581
|
+
exports.CicdFinalArtifactSchema,
|
|
2582
|
+
exports.DeployTargetConfigArtifactSchema,
|
|
2583
|
+
exports.DeployTriggerArtifactSchema,
|
|
2584
|
+
exports.DeployVercelResultArtifactSchema,
|
|
2585
|
+
exports.DeployStatusPersistArtifactSchema,
|
|
2586
|
+
exports.DeployFinalArtifactSchema,
|
|
2587
|
+
exports.GateImportValidityArtifactSchema,
|
|
2588
|
+
exports.GateContextContaminationArtifactSchema,
|
|
2589
|
+
exports.ImplementFilePlanArtifactSchema,
|
|
2590
|
+
exports.ImplementCodeGenArtifactSchema,
|
|
2591
|
+
exports.ImplementTestsArtifactSchema,
|
|
2592
|
+
exports.ImplementPrCreateArtifactSchema,
|
|
2593
|
+
exports.ImplementGuardianReviewArtifactSchema,
|
|
2594
|
+
exports.ImplementFinalArtifactSchema,
|
|
2595
|
+
exports.ComplianceEvidenceArtifactSchema,
|
|
2596
|
+
exports.CompliancePolicyArtifactSchema,
|
|
2597
|
+
exports.ComplianceScoreArtifactSchema,
|
|
2598
|
+
exports.ComplianceRemediationArtifactSchema,
|
|
2599
|
+
exports.ComplianceFinalArtifactSchema,
|
|
2600
|
+
exports.ReviewConsistencyArtifactSchema,
|
|
2601
|
+
exports.ReviewCodeFindingsArtifactSchema,
|
|
2602
|
+
exports.ReviewThreatModelArtifactSchema,
|
|
2603
|
+
exports.ReviewReleaseDecisionArtifactSchema,
|
|
2604
|
+
exports.ReviewAggregateArtifactSchema,
|
|
2605
|
+
exports.KnowledgeSourceSummaryArtifactSchema,
|
|
2606
|
+
exports.KnowledgeDomainKnowledgeArtifactSchema,
|
|
2607
|
+
exports.KnowledgeGraphEntriesArtifactSchema,
|
|
2608
|
+
exports.KnowledgeFinalArtifactSchema,
|
|
2609
|
+
exports.KnowledgeCoverageArtifactSchema,
|
|
2610
|
+
exports.SoftwareWorkflowLineageArtifactSchema,
|
|
2611
|
+
exports.AnalyticsFinalArtifactSchema,
|
|
2612
|
+
exports.ConstitutionDraftArtifactSchema,
|
|
2613
|
+
exports.ConstitutionRulesArtifactSchema,
|
|
2614
|
+
exports.ConstitutionComplianceArtifactSchema,
|
|
2615
|
+
exports.ConstitutionFinalArtifactSchema,
|
|
2616
|
+
exports.GuardianValidationArtifactSchema,
|
|
2617
|
+
exports.GuardianReportArtifactSchema,
|
|
2618
|
+
exports.RepoIntelSnapshotWorkflowArtifactSchema,
|
|
2619
|
+
exports.RepoPolicySnapshotWorkflowArtifactSchema,
|
|
2620
|
+
exports.IngestInventoryWorkflowArtifactSchema,
|
|
2621
|
+
exports.FindingsRegisterWorkflowArtifactSchema,
|
|
2622
|
+
exports.ExistingCapabilityClassificationWorkflowArtifactSchema,
|
|
2623
|
+
exports.CodeRealityGraphSnapshotWorkflowArtifactSchema,
|
|
2624
|
+
exports.OperatorManualWorkflowArtifactSchema,
|
|
2625
|
+
exports.OnboardingGuideWorkflowArtifactSchema,
|
|
2626
|
+
exports.FaqDraftWorkflowArtifactSchema,
|
|
2627
|
+
exports.ReleaseNotesDraftWorkflowArtifactSchema,
|
|
2628
|
+
exports.TroubleshootingGuideWorkflowArtifactSchema,
|
|
2629
|
+
exports.SalesEnablementDraftWorkflowArtifactSchema,
|
|
2630
|
+
exports.SupportArticleDraftWorkflowArtifactSchema,
|
|
2631
|
+
exports.TrainingScriptDraftWorkflowArtifactSchema,
|
|
2632
|
+
exports.CanonicalizationDecisionWorkflowArtifactSchema,
|
|
2633
|
+
exports.CursorExecutionRunArtifactSchema,
|
|
2634
|
+
exports.RouteManifestArtifactSchema,
|
|
2635
|
+
exports.DeploymentRouteProbeArtifactSchema,
|
|
2636
|
+
exports.RuntimeContractArtifactSchema,
|
|
2637
|
+
exports.RuntimeContractVerificationArtifactSchema,
|
|
2638
|
+
exports.DomainAcceptanceManifestArtifactSchema,
|
|
2639
|
+
exports.DomainAcceptanceVerificationArtifactSchema,
|
|
2640
|
+
exports.DependencyResolutionArtifactSchema,
|
|
2641
|
+
// Writing mode — thesis pipeline
|
|
2642
|
+
exports.ThesisDomainArtifactSchema,
|
|
2643
|
+
exports.ThesisStatementArtifactSchema,
|
|
2644
|
+
exports.ThesisCounterclaimsArtifactSchema,
|
|
2645
|
+
exports.ThesisDefinitionsArtifactSchema,
|
|
2646
|
+
exports.ThesisFinalArtifactSchema,
|
|
2647
|
+
// Writing mode — outline pipeline
|
|
2648
|
+
exports.OutlineDomainArtifactSchema,
|
|
2649
|
+
exports.OutlineStructureArtifactSchema,
|
|
2650
|
+
exports.OutlineChaptersArtifactSchema,
|
|
2651
|
+
exports.OutlineDependenciesArtifactSchema,
|
|
2652
|
+
exports.OutlineFinalArtifactSchema,
|
|
2653
|
+
// Writing mode — draft pipeline
|
|
2654
|
+
exports.DraftScaffoldArtifactSchema,
|
|
2655
|
+
exports.DraftProseArtifactSchema,
|
|
2656
|
+
exports.DraftCitationsArtifactSchema,
|
|
2657
|
+
exports.DraftFinalArtifactSchema,
|
|
2658
|
+
// Writing mode — editorial review pipeline
|
|
2659
|
+
exports.EditorialClaimAuditArtifactSchema,
|
|
2660
|
+
exports.EditorialContradictionsArtifactSchema,
|
|
2661
|
+
exports.EditorialStyleDriftArtifactSchema,
|
|
2662
|
+
exports.EditorialMissingSourcesArtifactSchema,
|
|
2663
|
+
exports.EditorialFindingsFinalArtifactSchema,
|
|
2664
|
+
// Writing mode — publication pipeline
|
|
2665
|
+
exports.PublicationPackageArtifactSchema,
|
|
2666
|
+
// Writing mode — definitions & claims pipeline
|
|
2667
|
+
exports.DefinitionsGlossaryArtifactWorkflowSchema,
|
|
2668
|
+
exports.DefinitionsClaimsArtifactWorkflowSchema,
|
|
2669
|
+
exports.DefinitionsConceptMapArtifactWorkflowSchema,
|
|
2670
|
+
exports.DefinitionsFinalArtifactWorkflowSchema,
|
|
2671
|
+
// Writing mode — source registry pipeline
|
|
2672
|
+
exports.SourceRegistryScanArtifactWorkflowSchema,
|
|
2673
|
+
exports.SourceRegistrySourcesArtifactWorkflowSchema,
|
|
2674
|
+
exports.SourceRegistryFinalArtifactWorkflowSchema,
|
|
2675
|
+
// Writing mode — style system pipeline
|
|
2676
|
+
exports.StyleVoiceProfileArtifactWorkflowSchema,
|
|
2677
|
+
exports.StyleRulesArtifactWorkflowSchema,
|
|
2678
|
+
exports.StyleProseExamplesArtifactWorkflowSchema,
|
|
2679
|
+
exports.StyleSystemFinalArtifactWorkflowSchema,
|
|
2680
|
+
// Writing mode — editorial constitution pipeline
|
|
2681
|
+
exports.ConstitutionMissionArtifactWorkflowSchema,
|
|
2682
|
+
exports.ConstitutionPrinciplesArtifactWorkflowSchema,
|
|
2683
|
+
exports.ConstitutionGatesArtifactWorkflowSchema,
|
|
2684
|
+
exports.ConstitutionWritingFinalArtifactWorkflowSchema,
|
|
2685
|
+
// Writing mode — editorial guardian pipeline
|
|
2686
|
+
exports.GuardianCoherenceArtifactWorkflowSchema,
|
|
2687
|
+
exports.GuardianComplianceArtifactWorkflowSchema,
|
|
2688
|
+
exports.GuardianGapAnalysisArtifactWorkflowSchema,
|
|
2689
|
+
exports.GuardianFinalArtifactWorkflowSchema,
|
|
2690
|
+
// Writing mode — argument map pipeline
|
|
2691
|
+
exports.ArgumentMapClaimExtractionArtifactWorkflowSchema,
|
|
2692
|
+
exports.ArgumentMapDependencyMappingArtifactWorkflowSchema,
|
|
2693
|
+
exports.ArgumentMapFinalArtifactWorkflowSchema,
|
|
2694
|
+
// Writing mode — counterclaim framework pipeline
|
|
2695
|
+
exports.CounterclaimSurveyArtifactWorkflowSchema,
|
|
2696
|
+
exports.CounterclaimFrameworkFinalArtifactWorkflowSchema,
|
|
2697
|
+
// Writing mode — writing tasks pipeline
|
|
2698
|
+
exports.WritingTasksScanArtifactWorkflowSchema,
|
|
2699
|
+
exports.WritingTasksFinalArtifactWorkflowSchema,
|
|
2700
|
+
// Writing mode — draft-all manuscript pipeline
|
|
2701
|
+
exports.ChapterDraftArtifactWorkflowSchema,
|
|
2702
|
+
exports.ChapterRevisionBriefArtifactWorkflowSchema,
|
|
2703
|
+
exports.ChapterRevisionDeltaArtifactWorkflowSchema,
|
|
2704
|
+
exports.ChapterRevisionQAReportArtifactWorkflowSchema,
|
|
2705
|
+
exports.ChapterContinuityLedgerArtifactWorkflowSchema,
|
|
2706
|
+
exports.ArtifactDependencyArtifactWorkflowSchema,
|
|
2707
|
+
exports.ManuscriptDraftArtifactWorkflowSchema,
|
|
2708
|
+
exports.ManuscriptChecksReportArtifactWorkflowSchema,
|
|
2709
|
+
// Publication — documentary audiobook
|
|
2710
|
+
exports.AudioProductionSettingsWorkflowArtifactSchema,
|
|
2711
|
+
exports.AudiobookVoiceProfileWorkflowArtifactSchema,
|
|
2712
|
+
exports.AudiobookNarrationScriptWorkflowArtifactSchema,
|
|
2713
|
+
exports.AudiobookNarrationTimingWorkflowArtifactSchema,
|
|
2714
|
+
exports.AudiobookProductionTimelineWorkflowArtifactSchema,
|
|
2715
|
+
exports.AudiobookSoundCueSheetWorkflowArtifactSchema,
|
|
2716
|
+
exports.AudiobookSoundAssetBundleWorkflowArtifactSchema,
|
|
2717
|
+
exports.AudiobookMixPlanWorkflowArtifactSchema,
|
|
2718
|
+
exports.AudiobookMixedChapterAudioWorkflowArtifactSchema,
|
|
2719
|
+
exports.AudiobookQaReportWorkflowArtifactSchema,
|
|
2720
|
+
exports.AudiobookVisualStoryboardWorkflowArtifactSchema,
|
|
2721
|
+
exports.AudiobookStillImagePromptSetWorkflowArtifactSchema,
|
|
2722
|
+
exports.AudiobookMotionStoryCueSheetWorkflowArtifactSchema,
|
|
2723
|
+
exports.AudiobookProductionManifestWorkflowArtifactSchema,
|
|
2724
|
+
exports.AudiobookEmbedPackageWorkflowArtifactSchema,
|
|
2725
|
+
exports.AudiobookStudioExportPackageWorkflowArtifactSchema,
|
|
2726
|
+
exports.AudiobookStudioImportRecordWorkflowArtifactSchema,
|
|
2727
|
+
exports.AudiobookProductionModeWorkflowArtifactSchema,
|
|
2728
|
+
exports.AudiobookDistributionStateWorkflowArtifactSchema,
|
|
2729
|
+
exports.AudiobookElevenLabsStudioProjectWorkflowArtifactSchema,
|
|
2730
|
+
// Fiction mode — world ontology pipeline
|
|
2731
|
+
exports.WorldOntologyDraftArtifactSchema,
|
|
2732
|
+
exports.FactionRegistryArtifactSchema,
|
|
2733
|
+
exports.LoreSystemDraftArtifactSchema,
|
|
2734
|
+
exports.SymbolRegistryArtifactSchema,
|
|
2735
|
+
exports.WorldOntologyFinalArtifactSchema,
|
|
2736
|
+
// Fiction mode — premise pipeline
|
|
2737
|
+
exports.PremiseDraftArtifactSchema,
|
|
2738
|
+
exports.ThemeArticulationArtifactSchema,
|
|
2739
|
+
exports.PremiseFinalArtifactSchema,
|
|
2740
|
+
// Fiction mode — story structure pipeline
|
|
2741
|
+
exports.ActOutlineArtifactSchema,
|
|
2742
|
+
exports.PlotBeatsArtifactSchema,
|
|
2743
|
+
exports.NarrativeArcArtifactSchema,
|
|
2744
|
+
exports.StoryStructureFinalArtifactSchema,
|
|
2745
|
+
// Fiction mode — interaction systems pipeline
|
|
2746
|
+
exports.CharacterInteractionProtocolArtifactSchema,
|
|
2747
|
+
exports.DialogueSystemDraftArtifactSchema,
|
|
2748
|
+
exports.AgencyRulesArtifactSchema,
|
|
2749
|
+
exports.InteractionSystemsFinalArtifactSchema,
|
|
2750
|
+
// Fiction mode — reader experience pipeline
|
|
2751
|
+
exports.VoiceToneProfileArtifactSchema,
|
|
2752
|
+
exports.PacingGuideArtifactSchema,
|
|
2753
|
+
exports.ImmersionTechniquesArtifactSchema,
|
|
2754
|
+
exports.ReaderExperienceFinalArtifactSchema,
|
|
2755
|
+
// Fiction mode — scene tasks pipeline
|
|
2756
|
+
exports.SceneTaskDecompositionArtifactSchema,
|
|
2757
|
+
exports.ChapterScheduleArtifactSchema,
|
|
2758
|
+
exports.SceneTasksFinalArtifactSchema,
|
|
2759
|
+
// Fiction mode — draft pipeline
|
|
2760
|
+
exports.SceneDraftArtifactSchema,
|
|
2761
|
+
exports.LoreEntryDraftArtifactSchema,
|
|
2762
|
+
// Fiction mode — editorial review pipeline
|
|
2763
|
+
exports.LoreContinuityAuditArtifactSchema,
|
|
2764
|
+
exports.CharacterContinuityAuditArtifactSchema,
|
|
2765
|
+
exports.TonalDriftCheckArtifactSchema,
|
|
2766
|
+
exports.NarrativePacingReviewArtifactSchema,
|
|
2767
|
+
exports.FictionEditorialFinalArtifactSchema,
|
|
2768
|
+
// Nonfiction mode — thesis pipeline
|
|
2769
|
+
exports.ThesisDraftArtifactSchema,
|
|
2770
|
+
exports.ThesisRefinementArtifactSchema,
|
|
2771
|
+
exports.AudienceProfileArtifactSchema,
|
|
2772
|
+
exports.NonfictionThesisFinalArtifactSchema,
|
|
2773
|
+
// Nonfiction mode — argument structure pipeline
|
|
2774
|
+
exports.ArgumentStructureArtifactSchema,
|
|
2775
|
+
exports.ChapterPlanArtifactSchema,
|
|
2776
|
+
exports.EvidenceHierarchyArtifactSchema,
|
|
2777
|
+
exports.NonfictionArgumentFinalArtifactSchema,
|
|
2778
|
+
// Nonfiction mode — claim ontology pipeline
|
|
2779
|
+
exports.ClaimRegistryArtifactSchema,
|
|
2780
|
+
exports.DefinitionGlossaryArtifactSchema,
|
|
2781
|
+
exports.ConceptTaxonomyArtifactSchema,
|
|
2782
|
+
exports.NonfictionClaimOntologyFinalArtifactSchema,
|
|
2783
|
+
// Nonfiction mode — source registry pipeline
|
|
2784
|
+
exports.NonfictionSourceRegistryArtifactSchema,
|
|
2785
|
+
exports.EvidenceGraphArtifactSchema,
|
|
2786
|
+
exports.CitationSystemArtifactSchema,
|
|
2787
|
+
exports.NonfictionSourceRegistryFinalArtifactSchema,
|
|
2788
|
+
// Nonfiction mode — narrative voice pipeline
|
|
2789
|
+
exports.NarrativeVoiceDraftArtifactSchema,
|
|
2790
|
+
exports.RhetoricalRegisterArtifactSchema,
|
|
2791
|
+
exports.ReaderPositioningArtifactSchema,
|
|
2792
|
+
exports.NonfictionNarrativeVoiceFinalArtifactSchema,
|
|
2793
|
+
// Nonfiction mode — research tasks pipeline
|
|
2794
|
+
exports.ResearchTaskDecompositionArtifactSchema,
|
|
2795
|
+
exports.SourceValidationArtifactSchema,
|
|
2796
|
+
exports.NonfictionChapterScheduleArtifactSchema,
|
|
2797
|
+
exports.NonfictionResearchTasksFinalArtifactSchema,
|
|
2798
|
+
// Nonfiction mode — draft pipeline
|
|
2799
|
+
exports.ArgumentProseArtifactSchema,
|
|
2800
|
+
exports.EvidenceIntegrationArtifactSchema,
|
|
2801
|
+
exports.NonfictionDraftFinalArtifactSchema,
|
|
2802
|
+
// Nonfiction mode — peer review pipeline
|
|
2803
|
+
exports.SourceQualityAuditArtifactSchema,
|
|
2804
|
+
exports.ContradictionAnalysisArtifactSchema,
|
|
2805
|
+
exports.HallucinationCheckArtifactSchema,
|
|
2806
|
+
exports.RhetoricalBalanceReviewArtifactSchema,
|
|
2807
|
+
exports.NonfictionPeerReviewFinalArtifactSchema,
|
|
2808
|
+
// Film production pipeline
|
|
2809
|
+
exports.FilmLoglineWorkflowArtifactSchema,
|
|
2810
|
+
exports.FilmStoryBibleWorkflowArtifactSchema,
|
|
2811
|
+
exports.FilmCharacterBibleWorkflowArtifactSchema,
|
|
2812
|
+
exports.FilmLocationBibleWorkflowArtifactSchema,
|
|
2813
|
+
exports.FilmStyleBibleWorkflowArtifactSchema,
|
|
2814
|
+
exports.FilmSceneListWorkflowArtifactSchema,
|
|
2815
|
+
exports.FilmScreenplayDraftWorkflowArtifactSchema,
|
|
2816
|
+
exports.FilmShotListWorkflowArtifactSchema,
|
|
2817
|
+
exports.FilmPromptPackWorkflowArtifactSchema,
|
|
2818
|
+
exports.FilmClipManifestWorkflowArtifactSchema,
|
|
2819
|
+
exports.FilmClipReviewWorkflowArtifactSchema,
|
|
2820
|
+
exports.FilmReviewReportWorkflowArtifactSchema,
|
|
2821
|
+
exports.FilmEditSequenceWorkflowArtifactSchema,
|
|
2822
|
+
exports.FilmProductionPacketWorkflowArtifactSchema,
|
|
2823
|
+
exports.FilmExportPacketWorkflowArtifactSchema,
|
|
2824
|
+
exports.FilmOtioTimelineWorkflowArtifactSchema,
|
|
2825
|
+
exports.FilmStillReviewWorkflowArtifactSchema,
|
|
2826
|
+
exports.FilmGenerationTaskWorkflowArtifactSchema,
|
|
2827
|
+
exports.FilmComfyUIWorkflowArtifactSchema,
|
|
2828
|
+
exports.FilmTakeComparisonWorkflowArtifactSchema,
|
|
2829
|
+
]);
|