@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,959 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WorkflowChannelRegistry — canonical SSOT for all workflow channels.
|
|
3
|
+
*
|
|
4
|
+
* Platform law: a stage is valid only when registry, orchestrator, artifact schema,
|
|
5
|
+
* display component, completion rule, and stale rule all agree on the same step,
|
|
6
|
+
* stage IDs, artifact types, and workflow variant.
|
|
7
|
+
*
|
|
8
|
+
* No step page, route, or orchestrator may use stage IDs, artifact types, or
|
|
9
|
+
* orchestrator keys that are not declared in this registry.
|
|
10
|
+
*/
|
|
11
|
+
import { z } from 'zod';
|
|
12
|
+
import { type WorkflowStepDefinition } from '../constants/workflow-registry';
|
|
13
|
+
export declare const WORKFLOW_FAMILIES: readonly ["software", "writing", "research", "media", "publication", "transformation"];
|
|
14
|
+
export type WorkflowFamily = (typeof WORKFLOW_FAMILIES)[number];
|
|
15
|
+
export declare const WORKFLOW_VARIANTS: readonly ["software_app", "nonfiction_book", "fiction_book", "research_report", "scientific_paper", "policy_framework", "screenplay", "movie_package", "audiobook", "documentary", "cross_channel_transformation", "film_production"];
|
|
16
|
+
export type WorkflowVariant = (typeof WORKFLOW_VARIANTS)[number];
|
|
17
|
+
/** Exact structured-output contract for one lossless nonfiction review map unit. */
|
|
18
|
+
export declare const NonfictionPeerReviewMapOutputSchema: z.ZodObject<{
|
|
19
|
+
mapUnitEcho: z.ZodObject<{
|
|
20
|
+
unitId: z.ZodString;
|
|
21
|
+
unitHash: z.ZodString;
|
|
22
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
23
|
+
segmentIndex: z.ZodNumber;
|
|
24
|
+
draftArtifactId: z.ZodString;
|
|
25
|
+
chapterIndex: z.ZodNumber;
|
|
26
|
+
chapterTitle: z.ZodString;
|
|
27
|
+
proseStart: z.ZodNumber;
|
|
28
|
+
proseEnd: z.ZodNumber;
|
|
29
|
+
proseHash: z.ZodString;
|
|
30
|
+
}, "strict", z.ZodTypeAny, {
|
|
31
|
+
chapterIndex: number;
|
|
32
|
+
chapterTitle: string;
|
|
33
|
+
draftArtifactId: string;
|
|
34
|
+
proseHash: string;
|
|
35
|
+
segmentIndex: number;
|
|
36
|
+
proseStart: number;
|
|
37
|
+
proseEnd: number;
|
|
38
|
+
}, {
|
|
39
|
+
chapterIndex: number;
|
|
40
|
+
chapterTitle: string;
|
|
41
|
+
draftArtifactId: string;
|
|
42
|
+
proseHash: string;
|
|
43
|
+
segmentIndex: number;
|
|
44
|
+
proseStart: number;
|
|
45
|
+
proseEnd: number;
|
|
46
|
+
}>, "many">;
|
|
47
|
+
}, "strict", z.ZodTypeAny, {
|
|
48
|
+
segments: {
|
|
49
|
+
chapterIndex: number;
|
|
50
|
+
chapterTitle: string;
|
|
51
|
+
draftArtifactId: string;
|
|
52
|
+
proseHash: string;
|
|
53
|
+
segmentIndex: number;
|
|
54
|
+
proseStart: number;
|
|
55
|
+
proseEnd: number;
|
|
56
|
+
}[];
|
|
57
|
+
unitId: string;
|
|
58
|
+
unitHash: string;
|
|
59
|
+
}, {
|
|
60
|
+
segments: {
|
|
61
|
+
chapterIndex: number;
|
|
62
|
+
chapterTitle: string;
|
|
63
|
+
draftArtifactId: string;
|
|
64
|
+
proseHash: string;
|
|
65
|
+
segmentIndex: number;
|
|
66
|
+
proseStart: number;
|
|
67
|
+
proseEnd: number;
|
|
68
|
+
}[];
|
|
69
|
+
unitId: string;
|
|
70
|
+
unitHash: string;
|
|
71
|
+
}>;
|
|
72
|
+
sourceQualityConcerns: z.ZodArray<z.ZodObject<{
|
|
73
|
+
concern: z.ZodString;
|
|
74
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
75
|
+
location: z.ZodString;
|
|
76
|
+
recommendation: z.ZodString;
|
|
77
|
+
}, "strict", z.ZodTypeAny, {
|
|
78
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
79
|
+
recommendation: string;
|
|
80
|
+
location: string;
|
|
81
|
+
concern: string;
|
|
82
|
+
}, {
|
|
83
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
84
|
+
recommendation: string;
|
|
85
|
+
location: string;
|
|
86
|
+
concern: string;
|
|
87
|
+
}>, "many">;
|
|
88
|
+
localContradictions: z.ZodArray<z.ZodObject<{
|
|
89
|
+
claimA: z.ZodString;
|
|
90
|
+
claimB: z.ZodString;
|
|
91
|
+
contradictionType: z.ZodEnum<["logical", "factual", "tonal", "definitional"]>;
|
|
92
|
+
location: z.ZodString;
|
|
93
|
+
resolution: z.ZodString;
|
|
94
|
+
}, "strict", z.ZodTypeAny, {
|
|
95
|
+
location: string;
|
|
96
|
+
resolution: string;
|
|
97
|
+
claimA: string;
|
|
98
|
+
claimB: string;
|
|
99
|
+
contradictionType: "definitional" | "logical" | "factual" | "tonal";
|
|
100
|
+
}, {
|
|
101
|
+
location: string;
|
|
102
|
+
resolution: string;
|
|
103
|
+
claimA: string;
|
|
104
|
+
claimB: string;
|
|
105
|
+
contradictionType: "definitional" | "logical" | "factual" | "tonal";
|
|
106
|
+
}>, "many">;
|
|
107
|
+
unsupportedClaims: z.ZodArray<z.ZodObject<{
|
|
108
|
+
claim: z.ZodString;
|
|
109
|
+
location: z.ZodString;
|
|
110
|
+
riskLevel: z.ZodEnum<["high", "medium", "low"]>;
|
|
111
|
+
verificationAction: z.ZodString;
|
|
112
|
+
}, "strict", z.ZodTypeAny, {
|
|
113
|
+
claim: string;
|
|
114
|
+
location: string;
|
|
115
|
+
riskLevel: "low" | "medium" | "high";
|
|
116
|
+
verificationAction: string;
|
|
117
|
+
}, {
|
|
118
|
+
claim: string;
|
|
119
|
+
location: string;
|
|
120
|
+
riskLevel: "low" | "medium" | "high";
|
|
121
|
+
verificationAction: string;
|
|
122
|
+
}>, "many">;
|
|
123
|
+
underengagedCounterarguments: z.ZodArray<z.ZodObject<{
|
|
124
|
+
counterargument: z.ZodString;
|
|
125
|
+
location: z.ZodString;
|
|
126
|
+
currentTreatment: z.ZodString;
|
|
127
|
+
recommendedTreatment: z.ZodString;
|
|
128
|
+
}, "strict", z.ZodTypeAny, {
|
|
129
|
+
location: string;
|
|
130
|
+
counterargument: string;
|
|
131
|
+
currentTreatment: string;
|
|
132
|
+
recommendedTreatment: string;
|
|
133
|
+
}, {
|
|
134
|
+
location: string;
|
|
135
|
+
counterargument: string;
|
|
136
|
+
currentTreatment: string;
|
|
137
|
+
recommendedTreatment: string;
|
|
138
|
+
}>, "many">;
|
|
139
|
+
claimLedger: z.ZodArray<z.ZodObject<{
|
|
140
|
+
claim: z.ZodString;
|
|
141
|
+
location: z.ZodString;
|
|
142
|
+
stance: z.ZodString;
|
|
143
|
+
evidenceStatus: z.ZodEnum<["supported", "partially_supported", "unsupported", "speculative"]>;
|
|
144
|
+
sourceIds: z.ZodArray<z.ZodString, "many">;
|
|
145
|
+
}, "strict", z.ZodTypeAny, {
|
|
146
|
+
claim: string;
|
|
147
|
+
location: string;
|
|
148
|
+
stance: string;
|
|
149
|
+
evidenceStatus: "supported" | "unsupported" | "speculative" | "partially_supported";
|
|
150
|
+
sourceIds: string[];
|
|
151
|
+
}, {
|
|
152
|
+
claim: string;
|
|
153
|
+
location: string;
|
|
154
|
+
stance: string;
|
|
155
|
+
evidenceStatus: "supported" | "unsupported" | "speculative" | "partially_supported";
|
|
156
|
+
sourceIds: string[];
|
|
157
|
+
}>, "many">;
|
|
158
|
+
qualityLedger: z.ZodObject<{
|
|
159
|
+
readerJourney: z.ZodArray<z.ZodObject<{
|
|
160
|
+
location: z.ZodString;
|
|
161
|
+
finding: z.ZodString;
|
|
162
|
+
whyItMatters: z.ZodString;
|
|
163
|
+
recommendation: z.ZodString;
|
|
164
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
165
|
+
}, "strict", z.ZodTypeAny, {
|
|
166
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
167
|
+
recommendation: string;
|
|
168
|
+
finding: string;
|
|
169
|
+
location: string;
|
|
170
|
+
whyItMatters: string;
|
|
171
|
+
}, {
|
|
172
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
173
|
+
recommendation: string;
|
|
174
|
+
finding: string;
|
|
175
|
+
location: string;
|
|
176
|
+
whyItMatters: string;
|
|
177
|
+
}>, "many">;
|
|
178
|
+
humanismStorytelling: z.ZodArray<z.ZodObject<{
|
|
179
|
+
location: z.ZodString;
|
|
180
|
+
finding: z.ZodString;
|
|
181
|
+
whyItMatters: z.ZodString;
|
|
182
|
+
recommendation: z.ZodString;
|
|
183
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
184
|
+
}, "strict", z.ZodTypeAny, {
|
|
185
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
186
|
+
recommendation: string;
|
|
187
|
+
finding: string;
|
|
188
|
+
location: string;
|
|
189
|
+
whyItMatters: string;
|
|
190
|
+
}, {
|
|
191
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
192
|
+
recommendation: string;
|
|
193
|
+
finding: string;
|
|
194
|
+
location: string;
|
|
195
|
+
whyItMatters: string;
|
|
196
|
+
}>, "many">;
|
|
197
|
+
printClarity: z.ZodArray<z.ZodObject<{
|
|
198
|
+
location: z.ZodString;
|
|
199
|
+
finding: z.ZodString;
|
|
200
|
+
whyItMatters: z.ZodString;
|
|
201
|
+
recommendation: z.ZodString;
|
|
202
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
203
|
+
}, "strict", z.ZodTypeAny, {
|
|
204
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
205
|
+
recommendation: string;
|
|
206
|
+
finding: string;
|
|
207
|
+
location: string;
|
|
208
|
+
whyItMatters: string;
|
|
209
|
+
}, {
|
|
210
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
211
|
+
recommendation: string;
|
|
212
|
+
finding: string;
|
|
213
|
+
location: string;
|
|
214
|
+
whyItMatters: string;
|
|
215
|
+
}>, "many">;
|
|
216
|
+
audiobookListenability: z.ZodArray<z.ZodObject<{
|
|
217
|
+
location: z.ZodString;
|
|
218
|
+
finding: z.ZodString;
|
|
219
|
+
whyItMatters: z.ZodString;
|
|
220
|
+
recommendation: z.ZodString;
|
|
221
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
222
|
+
}, "strict", z.ZodTypeAny, {
|
|
223
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
224
|
+
recommendation: string;
|
|
225
|
+
finding: string;
|
|
226
|
+
location: string;
|
|
227
|
+
whyItMatters: string;
|
|
228
|
+
}, {
|
|
229
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
230
|
+
recommendation: string;
|
|
231
|
+
finding: string;
|
|
232
|
+
location: string;
|
|
233
|
+
whyItMatters: string;
|
|
234
|
+
}>, "many">;
|
|
235
|
+
voiceStyleFidelity: z.ZodArray<z.ZodObject<{
|
|
236
|
+
location: z.ZodString;
|
|
237
|
+
finding: z.ZodString;
|
|
238
|
+
whyItMatters: z.ZodString;
|
|
239
|
+
recommendation: z.ZodString;
|
|
240
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
241
|
+
}, "strict", z.ZodTypeAny, {
|
|
242
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
243
|
+
recommendation: string;
|
|
244
|
+
finding: string;
|
|
245
|
+
location: string;
|
|
246
|
+
whyItMatters: string;
|
|
247
|
+
}, {
|
|
248
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
249
|
+
recommendation: string;
|
|
250
|
+
finding: string;
|
|
251
|
+
location: string;
|
|
252
|
+
whyItMatters: string;
|
|
253
|
+
}>, "many">;
|
|
254
|
+
}, "strict", z.ZodTypeAny, {
|
|
255
|
+
humanismStorytelling: {
|
|
256
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
257
|
+
recommendation: string;
|
|
258
|
+
finding: string;
|
|
259
|
+
location: string;
|
|
260
|
+
whyItMatters: string;
|
|
261
|
+
}[];
|
|
262
|
+
voiceStyleFidelity: {
|
|
263
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
264
|
+
recommendation: string;
|
|
265
|
+
finding: string;
|
|
266
|
+
location: string;
|
|
267
|
+
whyItMatters: string;
|
|
268
|
+
}[];
|
|
269
|
+
printClarity: {
|
|
270
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
271
|
+
recommendation: string;
|
|
272
|
+
finding: string;
|
|
273
|
+
location: string;
|
|
274
|
+
whyItMatters: string;
|
|
275
|
+
}[];
|
|
276
|
+
readerJourney: {
|
|
277
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
278
|
+
recommendation: string;
|
|
279
|
+
finding: string;
|
|
280
|
+
location: string;
|
|
281
|
+
whyItMatters: string;
|
|
282
|
+
}[];
|
|
283
|
+
audiobookListenability: {
|
|
284
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
285
|
+
recommendation: string;
|
|
286
|
+
finding: string;
|
|
287
|
+
location: string;
|
|
288
|
+
whyItMatters: string;
|
|
289
|
+
}[];
|
|
290
|
+
}, {
|
|
291
|
+
humanismStorytelling: {
|
|
292
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
293
|
+
recommendation: string;
|
|
294
|
+
finding: string;
|
|
295
|
+
location: string;
|
|
296
|
+
whyItMatters: string;
|
|
297
|
+
}[];
|
|
298
|
+
voiceStyleFidelity: {
|
|
299
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
300
|
+
recommendation: string;
|
|
301
|
+
finding: string;
|
|
302
|
+
location: string;
|
|
303
|
+
whyItMatters: string;
|
|
304
|
+
}[];
|
|
305
|
+
printClarity: {
|
|
306
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
307
|
+
recommendation: string;
|
|
308
|
+
finding: string;
|
|
309
|
+
location: string;
|
|
310
|
+
whyItMatters: string;
|
|
311
|
+
}[];
|
|
312
|
+
readerJourney: {
|
|
313
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
314
|
+
recommendation: string;
|
|
315
|
+
finding: string;
|
|
316
|
+
location: string;
|
|
317
|
+
whyItMatters: string;
|
|
318
|
+
}[];
|
|
319
|
+
audiobookListenability: {
|
|
320
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
321
|
+
recommendation: string;
|
|
322
|
+
finding: string;
|
|
323
|
+
location: string;
|
|
324
|
+
whyItMatters: string;
|
|
325
|
+
}[];
|
|
326
|
+
}>;
|
|
327
|
+
localRatings: z.ZodObject<{
|
|
328
|
+
sourceQuality: z.ZodEnum<["high", "medium", "low", "critical"]>;
|
|
329
|
+
coherence: z.ZodEnum<["coherent", "mostly_coherent", "some_issues", "significant_issues"]>;
|
|
330
|
+
hallucinationRisk: z.ZodEnum<["high", "medium", "low", "minimal"]>;
|
|
331
|
+
rhetoricalBalance: z.ZodEnum<["balanced", "slightly_one_sided", "one_sided", "polemical"]>;
|
|
332
|
+
}, "strict", z.ZodTypeAny, {
|
|
333
|
+
coherence: "coherent" | "mostly_coherent" | "some_issues" | "significant_issues";
|
|
334
|
+
sourceQuality: "critical" | "low" | "medium" | "high";
|
|
335
|
+
hallucinationRisk: "low" | "medium" | "high" | "minimal";
|
|
336
|
+
rhetoricalBalance: "balanced" | "slightly_one_sided" | "one_sided" | "polemical";
|
|
337
|
+
}, {
|
|
338
|
+
coherence: "coherent" | "mostly_coherent" | "some_issues" | "significant_issues";
|
|
339
|
+
sourceQuality: "critical" | "low" | "medium" | "high";
|
|
340
|
+
hallucinationRisk: "low" | "medium" | "high" | "minimal";
|
|
341
|
+
rhetoricalBalance: "balanced" | "slightly_one_sided" | "one_sided" | "polemical";
|
|
342
|
+
}>;
|
|
343
|
+
unitSummary: z.ZodString;
|
|
344
|
+
}, "strict", z.ZodTypeAny, {
|
|
345
|
+
mapUnitEcho: {
|
|
346
|
+
segments: {
|
|
347
|
+
chapterIndex: number;
|
|
348
|
+
chapterTitle: string;
|
|
349
|
+
draftArtifactId: string;
|
|
350
|
+
proseHash: string;
|
|
351
|
+
segmentIndex: number;
|
|
352
|
+
proseStart: number;
|
|
353
|
+
proseEnd: number;
|
|
354
|
+
}[];
|
|
355
|
+
unitId: string;
|
|
356
|
+
unitHash: string;
|
|
357
|
+
};
|
|
358
|
+
sourceQualityConcerns: {
|
|
359
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
360
|
+
recommendation: string;
|
|
361
|
+
location: string;
|
|
362
|
+
concern: string;
|
|
363
|
+
}[];
|
|
364
|
+
localContradictions: {
|
|
365
|
+
location: string;
|
|
366
|
+
resolution: string;
|
|
367
|
+
claimA: string;
|
|
368
|
+
claimB: string;
|
|
369
|
+
contradictionType: "definitional" | "logical" | "factual" | "tonal";
|
|
370
|
+
}[];
|
|
371
|
+
unsupportedClaims: {
|
|
372
|
+
claim: string;
|
|
373
|
+
location: string;
|
|
374
|
+
riskLevel: "low" | "medium" | "high";
|
|
375
|
+
verificationAction: string;
|
|
376
|
+
}[];
|
|
377
|
+
underengagedCounterarguments: {
|
|
378
|
+
location: string;
|
|
379
|
+
counterargument: string;
|
|
380
|
+
currentTreatment: string;
|
|
381
|
+
recommendedTreatment: string;
|
|
382
|
+
}[];
|
|
383
|
+
claimLedger: {
|
|
384
|
+
claim: string;
|
|
385
|
+
location: string;
|
|
386
|
+
stance: string;
|
|
387
|
+
evidenceStatus: "supported" | "unsupported" | "speculative" | "partially_supported";
|
|
388
|
+
sourceIds: string[];
|
|
389
|
+
}[];
|
|
390
|
+
qualityLedger: {
|
|
391
|
+
humanismStorytelling: {
|
|
392
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
393
|
+
recommendation: string;
|
|
394
|
+
finding: string;
|
|
395
|
+
location: string;
|
|
396
|
+
whyItMatters: string;
|
|
397
|
+
}[];
|
|
398
|
+
voiceStyleFidelity: {
|
|
399
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
400
|
+
recommendation: string;
|
|
401
|
+
finding: string;
|
|
402
|
+
location: string;
|
|
403
|
+
whyItMatters: string;
|
|
404
|
+
}[];
|
|
405
|
+
printClarity: {
|
|
406
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
407
|
+
recommendation: string;
|
|
408
|
+
finding: string;
|
|
409
|
+
location: string;
|
|
410
|
+
whyItMatters: string;
|
|
411
|
+
}[];
|
|
412
|
+
readerJourney: {
|
|
413
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
414
|
+
recommendation: string;
|
|
415
|
+
finding: string;
|
|
416
|
+
location: string;
|
|
417
|
+
whyItMatters: string;
|
|
418
|
+
}[];
|
|
419
|
+
audiobookListenability: {
|
|
420
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
421
|
+
recommendation: string;
|
|
422
|
+
finding: string;
|
|
423
|
+
location: string;
|
|
424
|
+
whyItMatters: string;
|
|
425
|
+
}[];
|
|
426
|
+
};
|
|
427
|
+
localRatings: {
|
|
428
|
+
coherence: "coherent" | "mostly_coherent" | "some_issues" | "significant_issues";
|
|
429
|
+
sourceQuality: "critical" | "low" | "medium" | "high";
|
|
430
|
+
hallucinationRisk: "low" | "medium" | "high" | "minimal";
|
|
431
|
+
rhetoricalBalance: "balanced" | "slightly_one_sided" | "one_sided" | "polemical";
|
|
432
|
+
};
|
|
433
|
+
unitSummary: string;
|
|
434
|
+
}, {
|
|
435
|
+
mapUnitEcho: {
|
|
436
|
+
segments: {
|
|
437
|
+
chapterIndex: number;
|
|
438
|
+
chapterTitle: string;
|
|
439
|
+
draftArtifactId: string;
|
|
440
|
+
proseHash: string;
|
|
441
|
+
segmentIndex: number;
|
|
442
|
+
proseStart: number;
|
|
443
|
+
proseEnd: number;
|
|
444
|
+
}[];
|
|
445
|
+
unitId: string;
|
|
446
|
+
unitHash: string;
|
|
447
|
+
};
|
|
448
|
+
sourceQualityConcerns: {
|
|
449
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
450
|
+
recommendation: string;
|
|
451
|
+
location: string;
|
|
452
|
+
concern: string;
|
|
453
|
+
}[];
|
|
454
|
+
localContradictions: {
|
|
455
|
+
location: string;
|
|
456
|
+
resolution: string;
|
|
457
|
+
claimA: string;
|
|
458
|
+
claimB: string;
|
|
459
|
+
contradictionType: "definitional" | "logical" | "factual" | "tonal";
|
|
460
|
+
}[];
|
|
461
|
+
unsupportedClaims: {
|
|
462
|
+
claim: string;
|
|
463
|
+
location: string;
|
|
464
|
+
riskLevel: "low" | "medium" | "high";
|
|
465
|
+
verificationAction: string;
|
|
466
|
+
}[];
|
|
467
|
+
underengagedCounterarguments: {
|
|
468
|
+
location: string;
|
|
469
|
+
counterargument: string;
|
|
470
|
+
currentTreatment: string;
|
|
471
|
+
recommendedTreatment: string;
|
|
472
|
+
}[];
|
|
473
|
+
claimLedger: {
|
|
474
|
+
claim: string;
|
|
475
|
+
location: string;
|
|
476
|
+
stance: string;
|
|
477
|
+
evidenceStatus: "supported" | "unsupported" | "speculative" | "partially_supported";
|
|
478
|
+
sourceIds: string[];
|
|
479
|
+
}[];
|
|
480
|
+
qualityLedger: {
|
|
481
|
+
humanismStorytelling: {
|
|
482
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
483
|
+
recommendation: string;
|
|
484
|
+
finding: string;
|
|
485
|
+
location: string;
|
|
486
|
+
whyItMatters: string;
|
|
487
|
+
}[];
|
|
488
|
+
voiceStyleFidelity: {
|
|
489
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
490
|
+
recommendation: string;
|
|
491
|
+
finding: string;
|
|
492
|
+
location: string;
|
|
493
|
+
whyItMatters: string;
|
|
494
|
+
}[];
|
|
495
|
+
printClarity: {
|
|
496
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
497
|
+
recommendation: string;
|
|
498
|
+
finding: string;
|
|
499
|
+
location: string;
|
|
500
|
+
whyItMatters: string;
|
|
501
|
+
}[];
|
|
502
|
+
readerJourney: {
|
|
503
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
504
|
+
recommendation: string;
|
|
505
|
+
finding: string;
|
|
506
|
+
location: string;
|
|
507
|
+
whyItMatters: string;
|
|
508
|
+
}[];
|
|
509
|
+
audiobookListenability: {
|
|
510
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
511
|
+
recommendation: string;
|
|
512
|
+
finding: string;
|
|
513
|
+
location: string;
|
|
514
|
+
whyItMatters: string;
|
|
515
|
+
}[];
|
|
516
|
+
};
|
|
517
|
+
localRatings: {
|
|
518
|
+
coherence: "coherent" | "mostly_coherent" | "some_issues" | "significant_issues";
|
|
519
|
+
sourceQuality: "critical" | "low" | "medium" | "high";
|
|
520
|
+
hallucinationRisk: "low" | "medium" | "high" | "minimal";
|
|
521
|
+
rhetoricalBalance: "balanced" | "slightly_one_sided" | "one_sided" | "polemical";
|
|
522
|
+
};
|
|
523
|
+
unitSummary: string;
|
|
524
|
+
}>;
|
|
525
|
+
export type NonfictionPeerReviewMapOutput = z.infer<typeof NonfictionPeerReviewMapOutputSchema>;
|
|
526
|
+
/** Exact structured-output contract for the compact full-book review reducer. */
|
|
527
|
+
export declare const NonfictionPeerReviewReducerOutputSchema: z.ZodObject<{
|
|
528
|
+
crossChapterContradictions: z.ZodArray<z.ZodObject<{
|
|
529
|
+
claimA: z.ZodString;
|
|
530
|
+
claimB: z.ZodString;
|
|
531
|
+
contradictionType: z.ZodEnum<["logical", "factual", "tonal", "definitional"]>;
|
|
532
|
+
locations: z.ZodArray<z.ZodString, "many">;
|
|
533
|
+
resolution: z.ZodString;
|
|
534
|
+
}, "strict", z.ZodTypeAny, {
|
|
535
|
+
locations: string[];
|
|
536
|
+
resolution: string;
|
|
537
|
+
claimA: string;
|
|
538
|
+
claimB: string;
|
|
539
|
+
contradictionType: "definitional" | "logical" | "factual" | "tonal";
|
|
540
|
+
}, {
|
|
541
|
+
locations: string[];
|
|
542
|
+
resolution: string;
|
|
543
|
+
claimA: string;
|
|
544
|
+
claimB: string;
|
|
545
|
+
contradictionType: "definitional" | "logical" | "factual" | "tonal";
|
|
546
|
+
}>, "many">;
|
|
547
|
+
crossChapterRepetition: z.ZodArray<z.ZodObject<{
|
|
548
|
+
repeatedIdea: z.ZodString;
|
|
549
|
+
locations: z.ZodArray<z.ZodString, "many">;
|
|
550
|
+
readerCost: z.ZodString;
|
|
551
|
+
directEdit: z.ZodString;
|
|
552
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
553
|
+
}, "strict", z.ZodTypeAny, {
|
|
554
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
555
|
+
locations: string[];
|
|
556
|
+
repeatedIdea: string;
|
|
557
|
+
readerCost: string;
|
|
558
|
+
directEdit: string;
|
|
559
|
+
}, {
|
|
560
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
561
|
+
locations: string[];
|
|
562
|
+
repeatedIdea: string;
|
|
563
|
+
readerCost: string;
|
|
564
|
+
directEdit: string;
|
|
565
|
+
}>, "many">;
|
|
566
|
+
readerJourney: z.ZodArray<z.ZodObject<{
|
|
567
|
+
location: z.ZodString;
|
|
568
|
+
finding: z.ZodString;
|
|
569
|
+
whyItMatters: z.ZodString;
|
|
570
|
+
recommendation: z.ZodString;
|
|
571
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
572
|
+
}, "strict", z.ZodTypeAny, {
|
|
573
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
574
|
+
recommendation: string;
|
|
575
|
+
finding: string;
|
|
576
|
+
location: string;
|
|
577
|
+
whyItMatters: string;
|
|
578
|
+
}, {
|
|
579
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
580
|
+
recommendation: string;
|
|
581
|
+
finding: string;
|
|
582
|
+
location: string;
|
|
583
|
+
whyItMatters: string;
|
|
584
|
+
}>, "many">;
|
|
585
|
+
humanismStorytelling: z.ZodArray<z.ZodObject<{
|
|
586
|
+
location: z.ZodString;
|
|
587
|
+
finding: z.ZodString;
|
|
588
|
+
whyItMatters: z.ZodString;
|
|
589
|
+
recommendation: z.ZodString;
|
|
590
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
591
|
+
}, "strict", z.ZodTypeAny, {
|
|
592
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
593
|
+
recommendation: string;
|
|
594
|
+
finding: string;
|
|
595
|
+
location: string;
|
|
596
|
+
whyItMatters: string;
|
|
597
|
+
}, {
|
|
598
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
599
|
+
recommendation: string;
|
|
600
|
+
finding: string;
|
|
601
|
+
location: string;
|
|
602
|
+
whyItMatters: string;
|
|
603
|
+
}>, "many">;
|
|
604
|
+
printClarity: z.ZodArray<z.ZodObject<{
|
|
605
|
+
location: z.ZodString;
|
|
606
|
+
finding: z.ZodString;
|
|
607
|
+
whyItMatters: z.ZodString;
|
|
608
|
+
recommendation: z.ZodString;
|
|
609
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
610
|
+
}, "strict", z.ZodTypeAny, {
|
|
611
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
612
|
+
recommendation: string;
|
|
613
|
+
finding: string;
|
|
614
|
+
location: string;
|
|
615
|
+
whyItMatters: string;
|
|
616
|
+
}, {
|
|
617
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
618
|
+
recommendation: string;
|
|
619
|
+
finding: string;
|
|
620
|
+
location: string;
|
|
621
|
+
whyItMatters: string;
|
|
622
|
+
}>, "many">;
|
|
623
|
+
audiobookListenability: z.ZodArray<z.ZodObject<{
|
|
624
|
+
location: z.ZodString;
|
|
625
|
+
finding: z.ZodString;
|
|
626
|
+
whyItMatters: z.ZodString;
|
|
627
|
+
recommendation: z.ZodString;
|
|
628
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
629
|
+
}, "strict", z.ZodTypeAny, {
|
|
630
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
631
|
+
recommendation: string;
|
|
632
|
+
finding: string;
|
|
633
|
+
location: string;
|
|
634
|
+
whyItMatters: string;
|
|
635
|
+
}, {
|
|
636
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
637
|
+
recommendation: string;
|
|
638
|
+
finding: string;
|
|
639
|
+
location: string;
|
|
640
|
+
whyItMatters: string;
|
|
641
|
+
}>, "many">;
|
|
642
|
+
voiceStyleFidelity: z.ZodArray<z.ZodObject<{
|
|
643
|
+
location: z.ZodString;
|
|
644
|
+
finding: z.ZodString;
|
|
645
|
+
whyItMatters: z.ZodString;
|
|
646
|
+
recommendation: z.ZodString;
|
|
647
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
648
|
+
}, "strict", z.ZodTypeAny, {
|
|
649
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
650
|
+
recommendation: string;
|
|
651
|
+
finding: string;
|
|
652
|
+
location: string;
|
|
653
|
+
whyItMatters: string;
|
|
654
|
+
}, {
|
|
655
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
656
|
+
recommendation: string;
|
|
657
|
+
finding: string;
|
|
658
|
+
location: string;
|
|
659
|
+
whyItMatters: string;
|
|
660
|
+
}>, "many">;
|
|
661
|
+
overallSourceQuality: z.ZodEnum<["high", "medium", "low", "critical"]>;
|
|
662
|
+
overallCoherence: z.ZodEnum<["coherent", "mostly_coherent", "some_issues", "significant_issues"]>;
|
|
663
|
+
overallHallucinationRisk: z.ZodEnum<["high", "medium", "low", "minimal"]>;
|
|
664
|
+
overallBalance: z.ZodEnum<["balanced", "slightly_one_sided", "one_sided", "polemical"]>;
|
|
665
|
+
bookLevelAssessment: z.ZodString;
|
|
666
|
+
}, "strict", z.ZodTypeAny, {
|
|
667
|
+
humanismStorytelling: {
|
|
668
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
669
|
+
recommendation: string;
|
|
670
|
+
finding: string;
|
|
671
|
+
location: string;
|
|
672
|
+
whyItMatters: string;
|
|
673
|
+
}[];
|
|
674
|
+
voiceStyleFidelity: {
|
|
675
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
676
|
+
recommendation: string;
|
|
677
|
+
finding: string;
|
|
678
|
+
location: string;
|
|
679
|
+
whyItMatters: string;
|
|
680
|
+
}[];
|
|
681
|
+
printClarity: {
|
|
682
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
683
|
+
recommendation: string;
|
|
684
|
+
finding: string;
|
|
685
|
+
location: string;
|
|
686
|
+
whyItMatters: string;
|
|
687
|
+
}[];
|
|
688
|
+
overallCoherence: "coherent" | "mostly_coherent" | "some_issues" | "significant_issues";
|
|
689
|
+
readerJourney: {
|
|
690
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
691
|
+
recommendation: string;
|
|
692
|
+
finding: string;
|
|
693
|
+
location: string;
|
|
694
|
+
whyItMatters: string;
|
|
695
|
+
}[];
|
|
696
|
+
audiobookListenability: {
|
|
697
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
698
|
+
recommendation: string;
|
|
699
|
+
finding: string;
|
|
700
|
+
location: string;
|
|
701
|
+
whyItMatters: string;
|
|
702
|
+
}[];
|
|
703
|
+
crossChapterContradictions: {
|
|
704
|
+
locations: string[];
|
|
705
|
+
resolution: string;
|
|
706
|
+
claimA: string;
|
|
707
|
+
claimB: string;
|
|
708
|
+
contradictionType: "definitional" | "logical" | "factual" | "tonal";
|
|
709
|
+
}[];
|
|
710
|
+
crossChapterRepetition: {
|
|
711
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
712
|
+
locations: string[];
|
|
713
|
+
repeatedIdea: string;
|
|
714
|
+
readerCost: string;
|
|
715
|
+
directEdit: string;
|
|
716
|
+
}[];
|
|
717
|
+
overallSourceQuality: "critical" | "low" | "medium" | "high";
|
|
718
|
+
overallHallucinationRisk: "low" | "medium" | "high" | "minimal";
|
|
719
|
+
overallBalance: "balanced" | "slightly_one_sided" | "one_sided" | "polemical";
|
|
720
|
+
bookLevelAssessment: string;
|
|
721
|
+
}, {
|
|
722
|
+
humanismStorytelling: {
|
|
723
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
724
|
+
recommendation: string;
|
|
725
|
+
finding: string;
|
|
726
|
+
location: string;
|
|
727
|
+
whyItMatters: string;
|
|
728
|
+
}[];
|
|
729
|
+
voiceStyleFidelity: {
|
|
730
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
731
|
+
recommendation: string;
|
|
732
|
+
finding: string;
|
|
733
|
+
location: string;
|
|
734
|
+
whyItMatters: string;
|
|
735
|
+
}[];
|
|
736
|
+
printClarity: {
|
|
737
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
738
|
+
recommendation: string;
|
|
739
|
+
finding: string;
|
|
740
|
+
location: string;
|
|
741
|
+
whyItMatters: string;
|
|
742
|
+
}[];
|
|
743
|
+
overallCoherence: "coherent" | "mostly_coherent" | "some_issues" | "significant_issues";
|
|
744
|
+
readerJourney: {
|
|
745
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
746
|
+
recommendation: string;
|
|
747
|
+
finding: string;
|
|
748
|
+
location: string;
|
|
749
|
+
whyItMatters: string;
|
|
750
|
+
}[];
|
|
751
|
+
audiobookListenability: {
|
|
752
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
753
|
+
recommendation: string;
|
|
754
|
+
finding: string;
|
|
755
|
+
location: string;
|
|
756
|
+
whyItMatters: string;
|
|
757
|
+
}[];
|
|
758
|
+
crossChapterContradictions: {
|
|
759
|
+
locations: string[];
|
|
760
|
+
resolution: string;
|
|
761
|
+
claimA: string;
|
|
762
|
+
claimB: string;
|
|
763
|
+
contradictionType: "definitional" | "logical" | "factual" | "tonal";
|
|
764
|
+
}[];
|
|
765
|
+
crossChapterRepetition: {
|
|
766
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
767
|
+
locations: string[];
|
|
768
|
+
repeatedIdea: string;
|
|
769
|
+
readerCost: string;
|
|
770
|
+
directEdit: string;
|
|
771
|
+
}[];
|
|
772
|
+
overallSourceQuality: "critical" | "low" | "medium" | "high";
|
|
773
|
+
overallHallucinationRisk: "low" | "medium" | "high" | "minimal";
|
|
774
|
+
overallBalance: "balanced" | "slightly_one_sided" | "one_sided" | "polemical";
|
|
775
|
+
bookLevelAssessment: string;
|
|
776
|
+
}>;
|
|
777
|
+
export type NonfictionPeerReviewReducerOutput = z.infer<typeof NonfictionPeerReviewReducerOutputSchema>;
|
|
778
|
+
export type WorkflowStageDefinition = {
|
|
779
|
+
/** Canonical stage ID — must match workflow_artifacts.stage_id exactly. */
|
|
780
|
+
stageId: string;
|
|
781
|
+
/** Human label for Doctor / UI. */
|
|
782
|
+
label: string;
|
|
783
|
+
/** Corresponding artifactType (usually same as stageId for legacy rows). */
|
|
784
|
+
artifactType: string;
|
|
785
|
+
/** Required for step completion. */
|
|
786
|
+
required: boolean;
|
|
787
|
+
/** This stage is the final rollup; downstream steps consume it. */
|
|
788
|
+
final: boolean;
|
|
789
|
+
/** Sort order within the step. */
|
|
790
|
+
displayOrder: number;
|
|
791
|
+
/** Optional schema key for payload validation. */
|
|
792
|
+
schemaKey?: string;
|
|
793
|
+
};
|
|
794
|
+
export type ArtifactRequirement = {
|
|
795
|
+
stepId: string;
|
|
796
|
+
stageId: string;
|
|
797
|
+
artifactType?: string;
|
|
798
|
+
required: boolean;
|
|
799
|
+
};
|
|
800
|
+
export type ArtifactOutput = {
|
|
801
|
+
stageId: string;
|
|
802
|
+
artifactType: string;
|
|
803
|
+
final?: boolean;
|
|
804
|
+
};
|
|
805
|
+
export type CompletionRule = {
|
|
806
|
+
mode: 'all_required_stages' | 'final_artifact' | 'any_of_stages' | 'custom';
|
|
807
|
+
requiredStageIds: string[];
|
|
808
|
+
/** The single stage whose presence = step done (used in final_artifact mode). */
|
|
809
|
+
finalStageId?: string;
|
|
810
|
+
/**
|
|
811
|
+
* For mode 'any_of_stages': the step is complete once ANY ONE of these stage IDs has an
|
|
812
|
+
* accepted artifact — never all of them. `requiredStageIds` stays empty for this mode;
|
|
813
|
+
* this is the canonical field the shared reader consumes. Use this — never `'custom'` — for
|
|
814
|
+
* a step that seeds one of several mutually-exclusive target-specific artifacts (e.g. a
|
|
815
|
+
* cross-channel transformation seed), so completion still reads through the one shared
|
|
816
|
+
* reader instead of a per-variant special case.
|
|
817
|
+
*/
|
|
818
|
+
anyOfStageIds?: string[];
|
|
819
|
+
};
|
|
820
|
+
export type GateRule = {
|
|
821
|
+
gateId: string;
|
|
822
|
+
required: boolean;
|
|
823
|
+
condition: string;
|
|
824
|
+
};
|
|
825
|
+
export type StaleRule = {
|
|
826
|
+
/** Artifact types that, when changed, trigger staleness. */
|
|
827
|
+
triggerArtifactTypes: string[];
|
|
828
|
+
/** Artifact types that become stale when triggered. */
|
|
829
|
+
staleArtifactTypes: string[];
|
|
830
|
+
reason: string;
|
|
831
|
+
};
|
|
832
|
+
/** A single step within a workflow channel (pipeline execution, not navigation). */
|
|
833
|
+
export type ChannelStepDefinition = {
|
|
834
|
+
stepId: string;
|
|
835
|
+
label: string;
|
|
836
|
+
/** Route path fragment, e.g. '/specify'. */
|
|
837
|
+
routePath: string;
|
|
838
|
+
/** Canonical presentation/execution phase for workflow navigation. */
|
|
839
|
+
phase?: number;
|
|
840
|
+
stages: WorkflowStageDefinition[];
|
|
841
|
+
/** Key into OrchestratorRegistry. */
|
|
842
|
+
orchestratorKey: string;
|
|
843
|
+
/** Route module key, e.g. 'ai.code.generate'. */
|
|
844
|
+
apiRouteKey: string;
|
|
845
|
+
/** Key into ComponentRegistry for the primary display. */
|
|
846
|
+
displayComponentKey: string;
|
|
847
|
+
/** Optional key for the inline editor component. */
|
|
848
|
+
editorComponentKey?: string;
|
|
849
|
+
requiredInputs: ArtifactRequirement[];
|
|
850
|
+
producedArtifacts: ArtifactOutput[];
|
|
851
|
+
completion: CompletionRule;
|
|
852
|
+
gates: GateRule[];
|
|
853
|
+
staleRules: StaleRule[];
|
|
854
|
+
/** ID of the next logical step; optional. */
|
|
855
|
+
nextStepId?: string;
|
|
856
|
+
/** If true, this step is registered but not yet fully implemented. */
|
|
857
|
+
experimental?: boolean;
|
|
858
|
+
/**
|
|
859
|
+
* Parallel spine retired from operator UI — retained for registry/orchestrator compatibility.
|
|
860
|
+
* Canonical coding-quality path is Ingest (`WORKFLOW_STEPS` in workflow-registry.ts).
|
|
861
|
+
*/
|
|
862
|
+
deprecated?: boolean;
|
|
863
|
+
};
|
|
864
|
+
export type WorkflowChannelDefinition = {
|
|
865
|
+
/** Legacy project_kind value this channel maps from (for backcompat). */
|
|
866
|
+
projectKind: string;
|
|
867
|
+
family: WorkflowFamily;
|
|
868
|
+
variant: WorkflowVariant;
|
|
869
|
+
workflowVersion: string;
|
|
870
|
+
label: string;
|
|
871
|
+
description: string;
|
|
872
|
+
steps: ChannelStepDefinition[];
|
|
873
|
+
/** If true, channel is declared but not fully implemented. */
|
|
874
|
+
experimental?: boolean;
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* The canonical WorkflowChannelRegistry keyed by WorkflowVariant.
|
|
878
|
+
* This is the single source of truth for all active workflow channels.
|
|
879
|
+
*/
|
|
880
|
+
export declare const WORKFLOW_CHANNEL_REGISTRY: Record<WorkflowVariant, WorkflowChannelDefinition>;
|
|
881
|
+
/** Get the channel definition for a workflow variant. Returns undefined for unknown variants. */
|
|
882
|
+
export declare function getWorkflowChannel(variant: WorkflowVariant): WorkflowChannelDefinition;
|
|
883
|
+
/** Get a step definition from a channel. Returns undefined if stepId not registered. */
|
|
884
|
+
export declare function getChannelStep(variant: WorkflowVariant, stepId: string): ChannelStepDefinition | undefined;
|
|
885
|
+
/** Get all stage definitions for a step. Returns [] for unregistered steps. */
|
|
886
|
+
export declare function getWorkflowStages(variant: WorkflowVariant, stepId: string): readonly WorkflowStageDefinition[];
|
|
887
|
+
/** Get stage IDs for a step (for backwards compatibility with getPipelineStages callers). */
|
|
888
|
+
export declare function getWorkflowStageIds(variant: WorkflowVariant, stepId: string): readonly string[];
|
|
889
|
+
/** Get the final stage definition for a step. */
|
|
890
|
+
export declare function getWorkflowFinalStage(variant: WorkflowVariant, stepId: string): WorkflowStageDefinition | undefined;
|
|
891
|
+
/** Get the completion rule for a step. */
|
|
892
|
+
export declare function getCompletionRule(variant: WorkflowVariant, stepId: string): CompletionRule | undefined;
|
|
893
|
+
/** Get required input artifact requirements for a step. */
|
|
894
|
+
export declare function getRequiredInputs(variant: WorkflowVariant, stepId: string): readonly ArtifactRequirement[];
|
|
895
|
+
/** Get produced artifact outputs for a step. */
|
|
896
|
+
export declare function getProducedArtifacts(variant: WorkflowVariant, stepId: string): readonly ArtifactOutput[];
|
|
897
|
+
/** Get the orchestrator key for a step. Returns undefined if step not registered. */
|
|
898
|
+
export declare function getOrchestratorKey(variant: WorkflowVariant, stepId: string): string | undefined;
|
|
899
|
+
/** Get the display component key for a step. Returns undefined if step not registered. */
|
|
900
|
+
export declare function getDisplayComponentKey(variant: WorkflowVariant, stepId: string): string | undefined;
|
|
901
|
+
/** Derive WorkflowFamily from WorkflowVariant without a DB column. */
|
|
902
|
+
export declare function getWorkflowFamily(variant: WorkflowVariant): WorkflowFamily;
|
|
903
|
+
/**
|
|
904
|
+
* One registry-derived plan shape shared by navigation, completion readers, and
|
|
905
|
+
* durable execution. `software_app` retains its rich operator workflow while
|
|
906
|
+
* every other variant is projected from its channel configuration.
|
|
907
|
+
*/
|
|
908
|
+
export declare function getWorkflowPlan(variant: WorkflowVariant): WorkflowStepDefinition[];
|
|
909
|
+
/**
|
|
910
|
+
* True only for `software_app`: completion uses API/UI KG gates, tasks row parity,
|
|
911
|
+
* Vercel CI + product-realization + deployment verification, and implementation lineage checks.
|
|
912
|
+
* All other variants use manuscript/publication/spine semantics — never infer from `isWritingKind`.
|
|
913
|
+
*/
|
|
914
|
+
export declare function isSoftwareAppCompletionSpine(variant: WorkflowVariant): boolean;
|
|
915
|
+
/** Check if a stage ID is declared for a given variant + step (used by dispatcher for validation). */
|
|
916
|
+
export declare function isStageIdDeclared(variant: WorkflowVariant, stepId: string, stageId: string): boolean;
|
|
917
|
+
/** List all registered (non-experimental) variants. */
|
|
918
|
+
export declare function getActiveVariants(): WorkflowVariant[];
|
|
919
|
+
/**
|
|
920
|
+
* Returns all unique final stage IDs for the given step across all registered active variants.
|
|
921
|
+
* Used by compute-workflow-step-stats and step-completion to avoid hardcoded stage_id arrays.
|
|
922
|
+
*
|
|
923
|
+
* Example: getRegistryFinalStageIds('plan') →
|
|
924
|
+
* ['planFinal', 'storyStructureFinal', 'outlineFinal']
|
|
925
|
+
*/
|
|
926
|
+
export declare function getRegistryFinalStageIds(stepId: string): string[];
|
|
927
|
+
export { resolveRegistryWorkflowStepId, resolveWorkflowStepRoutePath, resolveCanonicalWorkflowStepId, normalizeWorkflowStepStatsStepId, } from './step-id-canonical';
|
|
928
|
+
/** One completion stage pulled from `completion.requiredStageIds` + stage `artifactType`. */
|
|
929
|
+
export type RegistryPipelineStageExpectation = {
|
|
930
|
+
stageId: string;
|
|
931
|
+
artifactType: string;
|
|
932
|
+
};
|
|
933
|
+
/**
|
|
934
|
+
* How `expectedStages` combine to satisfy the step:
|
|
935
|
+
* - 'all': every expected stage must have an accepted artifact (all_required_stages / final_artifact).
|
|
936
|
+
* - 'any': at least one expected stage must have an accepted artifact — the canonical shape for a
|
|
937
|
+
* step that seeds one of several mutually-exclusive target-specific artifacts (any_of_stages).
|
|
938
|
+
*/
|
|
939
|
+
export type RegistryPipelineStageMatchMode = 'all' | 'any';
|
|
940
|
+
/** Inputs for registry-backed pipeline checks (variant filter, expectations, staleRules). */
|
|
941
|
+
export type RegistryPipelineCheckContext = {
|
|
942
|
+
variant: WorkflowVariant;
|
|
943
|
+
workflowStepId: string;
|
|
944
|
+
expectedStages: readonly RegistryPipelineStageExpectation[];
|
|
945
|
+
staleRules: readonly StaleRule[];
|
|
946
|
+
matchMode: RegistryPipelineStageMatchMode;
|
|
947
|
+
};
|
|
948
|
+
/**
|
|
949
|
+
* Build registry-backed pipeline expectations for `checkPipelineStages`.
|
|
950
|
+
* Returns null when the step is not in the channel or has no required completion stages.
|
|
951
|
+
*/
|
|
952
|
+
export declare function buildRegistryPipelineCheckContext(variant: WorkflowVariant, registryStepId: string): RegistryPipelineCheckContext | null;
|
|
953
|
+
/** Object payload passed through `runWorkflowStep` merged `input`. */
|
|
954
|
+
export type WorkflowOrchestratorInput = Record<string, unknown>;
|
|
955
|
+
export type WorkflowOrchestratorFn = (input: WorkflowOrchestratorInput) => Promise<unknown>;
|
|
956
|
+
/**
|
|
957
|
+
* Canonical bridge from heterogeneous pipeline callables → dispatch shape (`===` identity at runtime).
|
|
958
|
+
*/
|
|
959
|
+
export declare function asWorkflowOrchestratorFn(native: unknown): WorkflowOrchestratorFn;
|