@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,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/**
|
|
18
|
+
* NeuraLoom — Knowledge Graph v2 schema barrel.
|
|
19
|
+
*
|
|
20
|
+
* Refs: GH umbrella #689.
|
|
21
|
+
* Canvas: canvases/mega-sprint-01-knowledge-graph-foundation.canvas.tsx
|
|
22
|
+
*
|
|
23
|
+
* KG-v2 lives alongside the existing traceability/* schemas; this barrel
|
|
24
|
+
* intentionally exports only the v2 additions to keep the public surface
|
|
25
|
+
* minimal until consumers opt-in.
|
|
26
|
+
*/
|
|
27
|
+
__exportStar(require("./node-v2.schema"), exports);
|
|
28
|
+
__exportStar(require("./edge-v2.schema"), exports);
|
|
29
|
+
__exportStar(require("./graph-query-v2.schema"), exports);
|
|
30
|
+
__exportStar(require("./sql-security-findings.schema"), exports);
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NeuraLoom — Knowledge Graph v2 node types (skeleton)
|
|
3
|
+
*
|
|
4
|
+
* Refs: GH umbrella #689, tasks #697 (schema), #698 (zod schemas).
|
|
5
|
+
* Canvas: canvases/mega-sprint-01-knowledge-graph-foundation.canvas.tsx
|
|
6
|
+
*
|
|
7
|
+
* This complements (does NOT replace) the existing
|
|
8
|
+
* `packages/contracts/src/schemas/traceability/traceability-graph.schema.ts`,
|
|
9
|
+
* which already covers requirement / task / file / pull_request / deployment /
|
|
10
|
+
* runtime_check node kinds.
|
|
11
|
+
*
|
|
12
|
+
* KG-v2 adds the 3-layer ontology (Intent / Architecture / Code Reality) plus
|
|
13
|
+
* the broader node-type registry needed by the indexer (Architecture +
|
|
14
|
+
* Code Reality layers).
|
|
15
|
+
*/
|
|
16
|
+
import { z } from "zod";
|
|
17
|
+
/** Three-layer ontology. */
|
|
18
|
+
export declare const KgLayerSchema: z.ZodEnum<["intent", "architecture", "code_reality"]>;
|
|
19
|
+
export type KgLayer = z.infer<typeof KgLayerSchema>;
|
|
20
|
+
/** Canonical registry of node types per layer. */
|
|
21
|
+
export declare const KgIntentNodeType: z.ZodEnum<["ProductConcept", "Requirement", "AcceptanceCriterion", "Constraint", "Risk", "DomainEntity", "Workflow", "UserRole", "Policy", "NonFunctionalRequirement", "SecurityRequirement", "ComplianceRequirement"]>;
|
|
22
|
+
export declare const KgArchitectureNodeType: z.ZodEnum<["Package", "Module", "FilePlan", "DBTable", "DBColumn", "DBIndex", "DBConstraint", "RLSPolicy", "APIEndpoint", "APIRoute", "FrontendRoute", "UIComponent", "Component", "Service", "Job", "Event", "Queue", "ExternalIntegration", "EnvVar", "SecretRef", "Permission", "TestPlan", "ConstitutionRule", "GuardianReport", "Task", "CodePatch"]>;
|
|
23
|
+
export declare const KgCodeRealityNodeType: z.ZodEnum<["File", "Symbol", "Function", "Class", "Type", "Import", "Export", "RouteHandler", "ServerAction", "ReactComponent", "ZodSchema", "SQLMigration", "SupabaseTable", "RLSActualPolicy", "GitHubIssue", "Branch", "PR", "Commit", "CheckRun", "Deployment", "RuntimeProbe", "SecurityFinding", "Vulnerability", "DriftFinding"]>;
|
|
24
|
+
/** Union of all node-type names (string-only; payload validation comes per-type). */
|
|
25
|
+
export declare const KgNodeTypeSchema: z.ZodUnion<[z.ZodEnum<["ProductConcept", "Requirement", "AcceptanceCriterion", "Constraint", "Risk", "DomainEntity", "Workflow", "UserRole", "Policy", "NonFunctionalRequirement", "SecurityRequirement", "ComplianceRequirement"]>, z.ZodEnum<["Package", "Module", "FilePlan", "DBTable", "DBColumn", "DBIndex", "DBConstraint", "RLSPolicy", "APIEndpoint", "APIRoute", "FrontendRoute", "UIComponent", "Component", "Service", "Job", "Event", "Queue", "ExternalIntegration", "EnvVar", "SecretRef", "Permission", "TestPlan", "ConstitutionRule", "GuardianReport", "Task", "CodePatch"]>, z.ZodEnum<["File", "Symbol", "Function", "Class", "Type", "Import", "Export", "RouteHandler", "ServerAction", "ReactComponent", "ZodSchema", "SQLMigration", "SupabaseTable", "RLSActualPolicy", "GitHubIssue", "Branch", "PR", "Commit", "CheckRun", "Deployment", "RuntimeProbe", "SecurityFinding", "Vulnerability", "DriftFinding"]>]>;
|
|
26
|
+
export type KgNodeType = z.infer<typeof KgNodeTypeSchema>;
|
|
27
|
+
/**
|
|
28
|
+
* Columns added to `public.knowledge_nodes` for KG v2 (overlay).
|
|
29
|
+
* Physical PK remains UUID id — deterministic keys live in kg_stable_key / proof helpers.
|
|
30
|
+
*/
|
|
31
|
+
export declare const KnowledgeNodeKgOverlaySchema: z.ZodObject<{
|
|
32
|
+
kg_layer: z.ZodOptional<z.ZodNullable<z.ZodEnum<["intent", "architecture", "code_reality"]>>>;
|
|
33
|
+
kg_ontology_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
kg_stable_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
kg_proof_slice: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
kg_proof_slice: Record<string, unknown>;
|
|
38
|
+
kg_layer?: "intent" | "architecture" | "code_reality" | null | undefined;
|
|
39
|
+
kg_ontology_type?: string | null | undefined;
|
|
40
|
+
kg_stable_key?: string | null | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
kg_layer?: "intent" | "architecture" | "code_reality" | null | undefined;
|
|
43
|
+
kg_ontology_type?: string | null | undefined;
|
|
44
|
+
kg_stable_key?: string | null | undefined;
|
|
45
|
+
kg_proof_slice?: Record<string, unknown> | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
export type KnowledgeNodeKgOverlay = z.infer<typeof KnowledgeNodeKgOverlaySchema>;
|
|
48
|
+
/**
|
|
49
|
+
* Logical proof-slice identity (indexer / apiClient) — not a DB PK.
|
|
50
|
+
* Format: `{layer}:{ontologyType}:{sha256HexPrefix}`
|
|
51
|
+
*/
|
|
52
|
+
export declare const KgProofSliceRefSchema: z.ZodObject<{
|
|
53
|
+
proofRef: z.ZodString;
|
|
54
|
+
layer: z.ZodEnum<["intent", "architecture", "code_reality"]>;
|
|
55
|
+
ontology_type: z.ZodUnion<[z.ZodEnum<["ProductConcept", "Requirement", "AcceptanceCriterion", "Constraint", "Risk", "DomainEntity", "Workflow", "UserRole", "Policy", "NonFunctionalRequirement", "SecurityRequirement", "ComplianceRequirement"]>, z.ZodEnum<["Package", "Module", "FilePlan", "DBTable", "DBColumn", "DBIndex", "DBConstraint", "RLSPolicy", "APIEndpoint", "APIRoute", "FrontendRoute", "UIComponent", "Component", "Service", "Job", "Event", "Queue", "ExternalIntegration", "EnvVar", "SecretRef", "Permission", "TestPlan", "ConstitutionRule", "GuardianReport", "Task", "CodePatch"]>, z.ZodEnum<["File", "Symbol", "Function", "Class", "Type", "Import", "Export", "RouteHandler", "ServerAction", "ReactComponent", "ZodSchema", "SQLMigration", "SupabaseTable", "RLSActualPolicy", "GitHubIssue", "Branch", "PR", "Commit", "CheckRun", "Deployment", "RuntimeProbe", "SecurityFinding", "Vulnerability", "DriftFinding"]>]>;
|
|
56
|
+
natural_key: z.ZodString;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
proofRef: string;
|
|
59
|
+
layer: "intent" | "architecture" | "code_reality";
|
|
60
|
+
ontology_type: "ProductConcept" | "Requirement" | "AcceptanceCriterion" | "Constraint" | "Risk" | "DomainEntity" | "Workflow" | "UserRole" | "Policy" | "NonFunctionalRequirement" | "SecurityRequirement" | "ComplianceRequirement" | "Package" | "Module" | "FilePlan" | "DBTable" | "DBColumn" | "DBIndex" | "DBConstraint" | "RLSPolicy" | "APIEndpoint" | "APIRoute" | "FrontendRoute" | "UIComponent" | "Component" | "Service" | "Job" | "Event" | "Queue" | "ExternalIntegration" | "EnvVar" | "SecretRef" | "Permission" | "TestPlan" | "ConstitutionRule" | "GuardianReport" | "Task" | "CodePatch" | "File" | "Symbol" | "Function" | "Class" | "Type" | "Import" | "Export" | "RouteHandler" | "ServerAction" | "ReactComponent" | "ZodSchema" | "SQLMigration" | "SupabaseTable" | "RLSActualPolicy" | "GitHubIssue" | "Branch" | "PR" | "Commit" | "CheckRun" | "Deployment" | "RuntimeProbe" | "SecurityFinding" | "Vulnerability" | "DriftFinding";
|
|
61
|
+
natural_key: string;
|
|
62
|
+
}, {
|
|
63
|
+
proofRef: string;
|
|
64
|
+
layer: "intent" | "architecture" | "code_reality";
|
|
65
|
+
ontology_type: "ProductConcept" | "Requirement" | "AcceptanceCriterion" | "Constraint" | "Risk" | "DomainEntity" | "Workflow" | "UserRole" | "Policy" | "NonFunctionalRequirement" | "SecurityRequirement" | "ComplianceRequirement" | "Package" | "Module" | "FilePlan" | "DBTable" | "DBColumn" | "DBIndex" | "DBConstraint" | "RLSPolicy" | "APIEndpoint" | "APIRoute" | "FrontendRoute" | "UIComponent" | "Component" | "Service" | "Job" | "Event" | "Queue" | "ExternalIntegration" | "EnvVar" | "SecretRef" | "Permission" | "TestPlan" | "ConstitutionRule" | "GuardianReport" | "Task" | "CodePatch" | "File" | "Symbol" | "Function" | "Class" | "Type" | "Import" | "Export" | "RouteHandler" | "ServerAction" | "ReactComponent" | "ZodSchema" | "SQLMigration" | "SupabaseTable" | "RLSActualPolicy" | "GitHubIssue" | "Branch" | "PR" | "Commit" | "CheckRun" | "Deployment" | "RuntimeProbe" | "SecurityFinding" | "Vulnerability" | "DriftFinding";
|
|
66
|
+
natural_key: string;
|
|
67
|
+
}>;
|
|
68
|
+
export type KgProofSliceRef = z.infer<typeof KgProofSliceRefSchema>;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* NeuraLoom — Knowledge Graph v2 node types (skeleton)
|
|
4
|
+
*
|
|
5
|
+
* Refs: GH umbrella #689, tasks #697 (schema), #698 (zod schemas).
|
|
6
|
+
* Canvas: canvases/mega-sprint-01-knowledge-graph-foundation.canvas.tsx
|
|
7
|
+
*
|
|
8
|
+
* This complements (does NOT replace) the existing
|
|
9
|
+
* `packages/contracts/src/schemas/traceability/traceability-graph.schema.ts`,
|
|
10
|
+
* which already covers requirement / task / file / pull_request / deployment /
|
|
11
|
+
* runtime_check node kinds.
|
|
12
|
+
*
|
|
13
|
+
* KG-v2 adds the 3-layer ontology (Intent / Architecture / Code Reality) plus
|
|
14
|
+
* the broader node-type registry needed by the indexer (Architecture +
|
|
15
|
+
* Code Reality layers).
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.KgProofSliceRefSchema = exports.KnowledgeNodeKgOverlaySchema = exports.KgNodeTypeSchema = exports.KgCodeRealityNodeType = exports.KgArchitectureNodeType = exports.KgIntentNodeType = exports.KgLayerSchema = void 0;
|
|
19
|
+
const zod_1 = require("zod");
|
|
20
|
+
/** Three-layer ontology. */
|
|
21
|
+
exports.KgLayerSchema = zod_1.z.enum([
|
|
22
|
+
"intent",
|
|
23
|
+
"architecture",
|
|
24
|
+
"code_reality",
|
|
25
|
+
]);
|
|
26
|
+
/** Canonical registry of node types per layer. */
|
|
27
|
+
exports.KgIntentNodeType = zod_1.z.enum([
|
|
28
|
+
"ProductConcept",
|
|
29
|
+
"Requirement",
|
|
30
|
+
"AcceptanceCriterion",
|
|
31
|
+
"Constraint",
|
|
32
|
+
"Risk",
|
|
33
|
+
"DomainEntity",
|
|
34
|
+
"Workflow",
|
|
35
|
+
"UserRole",
|
|
36
|
+
"Policy",
|
|
37
|
+
"NonFunctionalRequirement",
|
|
38
|
+
"SecurityRequirement",
|
|
39
|
+
"ComplianceRequirement",
|
|
40
|
+
]);
|
|
41
|
+
exports.KgArchitectureNodeType = zod_1.z.enum([
|
|
42
|
+
"Package",
|
|
43
|
+
"Module",
|
|
44
|
+
"FilePlan",
|
|
45
|
+
"DBTable",
|
|
46
|
+
"DBColumn",
|
|
47
|
+
"DBIndex",
|
|
48
|
+
"DBConstraint",
|
|
49
|
+
"RLSPolicy",
|
|
50
|
+
"APIEndpoint",
|
|
51
|
+
"APIRoute",
|
|
52
|
+
"FrontendRoute",
|
|
53
|
+
"UIComponent",
|
|
54
|
+
"Component",
|
|
55
|
+
"Service",
|
|
56
|
+
"Job",
|
|
57
|
+
"Event",
|
|
58
|
+
"Queue",
|
|
59
|
+
"ExternalIntegration",
|
|
60
|
+
"EnvVar",
|
|
61
|
+
"SecretRef",
|
|
62
|
+
"Permission",
|
|
63
|
+
"TestPlan",
|
|
64
|
+
"ConstitutionRule",
|
|
65
|
+
"GuardianReport",
|
|
66
|
+
"Task",
|
|
67
|
+
"CodePatch",
|
|
68
|
+
]);
|
|
69
|
+
exports.KgCodeRealityNodeType = zod_1.z.enum([
|
|
70
|
+
"File",
|
|
71
|
+
"Symbol",
|
|
72
|
+
"Function",
|
|
73
|
+
"Class",
|
|
74
|
+
"Type",
|
|
75
|
+
"Import",
|
|
76
|
+
"Export",
|
|
77
|
+
"RouteHandler",
|
|
78
|
+
"ServerAction",
|
|
79
|
+
"ReactComponent",
|
|
80
|
+
"ZodSchema",
|
|
81
|
+
"SQLMigration",
|
|
82
|
+
"SupabaseTable",
|
|
83
|
+
"RLSActualPolicy",
|
|
84
|
+
"GitHubIssue",
|
|
85
|
+
"Branch",
|
|
86
|
+
"PR",
|
|
87
|
+
"Commit",
|
|
88
|
+
"CheckRun",
|
|
89
|
+
"Deployment",
|
|
90
|
+
"RuntimeProbe",
|
|
91
|
+
"SecurityFinding",
|
|
92
|
+
"Vulnerability",
|
|
93
|
+
"DriftFinding",
|
|
94
|
+
]);
|
|
95
|
+
/** Union of all node-type names (string-only; payload validation comes per-type). */
|
|
96
|
+
exports.KgNodeTypeSchema = zod_1.z.union([
|
|
97
|
+
exports.KgIntentNodeType,
|
|
98
|
+
exports.KgArchitectureNodeType,
|
|
99
|
+
exports.KgCodeRealityNodeType,
|
|
100
|
+
]);
|
|
101
|
+
/**
|
|
102
|
+
* Columns added to `public.knowledge_nodes` for KG v2 (overlay).
|
|
103
|
+
* Physical PK remains UUID id — deterministic keys live in kg_stable_key / proof helpers.
|
|
104
|
+
*/
|
|
105
|
+
exports.KnowledgeNodeKgOverlaySchema = zod_1.z.object({
|
|
106
|
+
kg_layer: exports.KgLayerSchema.nullable().optional(),
|
|
107
|
+
kg_ontology_type: zod_1.z.string().nullable().optional(),
|
|
108
|
+
kg_stable_key: zod_1.z.string().nullable().optional(),
|
|
109
|
+
kg_proof_slice: zod_1.z.record(zod_1.z.unknown()).default({}),
|
|
110
|
+
});
|
|
111
|
+
/**
|
|
112
|
+
* Logical proof-slice identity (indexer / apiClient) — not a DB PK.
|
|
113
|
+
* Format: `{layer}:{ontologyType}:{sha256HexPrefix}`
|
|
114
|
+
*/
|
|
115
|
+
exports.KgProofSliceRefSchema = zod_1.z.object({
|
|
116
|
+
proofRef: zod_1.z.string().regex(/^[a-z_]+:[A-Za-z0-9_]+:[a-f0-9]{16}$/),
|
|
117
|
+
layer: exports.KgLayerSchema,
|
|
118
|
+
ontology_type: exports.KgNodeTypeSchema,
|
|
119
|
+
natural_key: zod_1.z.string().min(1).max(4096),
|
|
120
|
+
});
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Static SQL / migration analysis findings mapped toward KG `SecurityFinding` nodes.
|
|
3
|
+
* Refs: GH #726 (RLS & SQL security scanner), #770 (Supabase advisor class correlation).
|
|
4
|
+
*
|
|
5
|
+
* Live Supabase advisors expose remediation rows with advisor-specific metadata; when that
|
|
6
|
+
* export is unavailable, consumers should populate only `kind` + `resource` + `sqlEvidence`
|
|
7
|
+
* and leave `supabaseAdvisorClass` unset (see #770 — missing service-role advisor export).
|
|
8
|
+
*/
|
|
9
|
+
import { z } from "zod";
|
|
10
|
+
/** Canonical finding kinds produced by deterministic migration SQL analysis. */
|
|
11
|
+
export declare const SqlGraphSecurityFindingKindSchema: z.ZodEnum<["MISSING_RLS_ON_PUBLIC_TABLE", "RLS_POLICY_ALWAYS_TRUE", "SECURITY_DEFINER_VIEW_RISK", "EXTENSION_IN_PUBLIC_SCHEMA"]>;
|
|
12
|
+
export type SqlGraphSecurityFindingKind = z.infer<typeof SqlGraphSecurityFindingKindSchema>;
|
|
13
|
+
/** Optional correlation ids when bridging from Supabase Dashboard advisors API / CLI. */
|
|
14
|
+
export declare const SupabaseAdvisorClassSchema: z.ZodEnum<["rls_disabled_in_public", "rls_policy_always_true", "security_definer_view", "extension_in_public"]>;
|
|
15
|
+
export type SupabaseAdvisorClass = z.infer<typeof SupabaseAdvisorClassSchema>;
|
|
16
|
+
export declare const SqlSecurityResourceSchema: z.ZodObject<{
|
|
17
|
+
schema: z.ZodString;
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
objectType: z.ZodEnum<["table", "policy", "view", "function", "extension"]>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
schema: string;
|
|
22
|
+
name: string;
|
|
23
|
+
objectType: "function" | "table" | "policy" | "view" | "extension";
|
|
24
|
+
}, {
|
|
25
|
+
schema: string;
|
|
26
|
+
name: string;
|
|
27
|
+
objectType: "function" | "table" | "policy" | "view" | "extension";
|
|
28
|
+
}>;
|
|
29
|
+
export type SqlSecurityResource = z.infer<typeof SqlSecurityResourceSchema>;
|
|
30
|
+
export declare const SqlGraphSecurityFindingSchema: z.ZodObject<{
|
|
31
|
+
kind: z.ZodEnum<["MISSING_RLS_ON_PUBLIC_TABLE", "RLS_POLICY_ALWAYS_TRUE", "SECURITY_DEFINER_VIEW_RISK", "EXTENSION_IN_PUBLIC_SCHEMA"]>;
|
|
32
|
+
/** Human-readable detail for graph SecurityFinding.label / inspector UI. */
|
|
33
|
+
message: z.ZodString;
|
|
34
|
+
resource: z.ZodObject<{
|
|
35
|
+
schema: z.ZodString;
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
objectType: z.ZodEnum<["table", "policy", "view", "function", "extension"]>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
schema: string;
|
|
40
|
+
name: string;
|
|
41
|
+
objectType: "function" | "table" | "policy" | "view" | "extension";
|
|
42
|
+
}, {
|
|
43
|
+
schema: string;
|
|
44
|
+
name: string;
|
|
45
|
+
objectType: "function" | "table" | "policy" | "view" | "extension";
|
|
46
|
+
}>;
|
|
47
|
+
/** When matched from live Supabase advisors (#770); omitted for SQL-only analysis. */
|
|
48
|
+
supabaseAdvisorClass: z.ZodOptional<z.ZodEnum<["rls_disabled_in_public", "rls_policy_always_true", "security_definer_view", "extension_in_public"]>>;
|
|
49
|
+
sqlEvidence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
message: string;
|
|
52
|
+
kind: "MISSING_RLS_ON_PUBLIC_TABLE" | "RLS_POLICY_ALWAYS_TRUE" | "SECURITY_DEFINER_VIEW_RISK" | "EXTENSION_IN_PUBLIC_SCHEMA";
|
|
53
|
+
resource: {
|
|
54
|
+
schema: string;
|
|
55
|
+
name: string;
|
|
56
|
+
objectType: "function" | "table" | "policy" | "view" | "extension";
|
|
57
|
+
};
|
|
58
|
+
supabaseAdvisorClass?: "rls_disabled_in_public" | "rls_policy_always_true" | "security_definer_view" | "extension_in_public" | undefined;
|
|
59
|
+
sqlEvidence?: Record<string, unknown> | undefined;
|
|
60
|
+
}, {
|
|
61
|
+
message: string;
|
|
62
|
+
kind: "MISSING_RLS_ON_PUBLIC_TABLE" | "RLS_POLICY_ALWAYS_TRUE" | "SECURITY_DEFINER_VIEW_RISK" | "EXTENSION_IN_PUBLIC_SCHEMA";
|
|
63
|
+
resource: {
|
|
64
|
+
schema: string;
|
|
65
|
+
name: string;
|
|
66
|
+
objectType: "function" | "table" | "policy" | "view" | "extension";
|
|
67
|
+
};
|
|
68
|
+
supabaseAdvisorClass?: "rls_disabled_in_public" | "rls_policy_always_true" | "security_definer_view" | "extension_in_public" | undefined;
|
|
69
|
+
sqlEvidence?: Record<string, unknown> | undefined;
|
|
70
|
+
}>;
|
|
71
|
+
export type SqlGraphSecurityFinding = z.infer<typeof SqlGraphSecurityFindingSchema>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SqlGraphSecurityFindingSchema = exports.SqlSecurityResourceSchema = exports.SupabaseAdvisorClassSchema = exports.SqlGraphSecurityFindingKindSchema = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Static SQL / migration analysis findings mapped toward KG `SecurityFinding` nodes.
|
|
6
|
+
* Refs: GH #726 (RLS & SQL security scanner), #770 (Supabase advisor class correlation).
|
|
7
|
+
*
|
|
8
|
+
* Live Supabase advisors expose remediation rows with advisor-specific metadata; when that
|
|
9
|
+
* export is unavailable, consumers should populate only `kind` + `resource` + `sqlEvidence`
|
|
10
|
+
* and leave `supabaseAdvisorClass` unset (see #770 — missing service-role advisor export).
|
|
11
|
+
*/
|
|
12
|
+
const zod_1 = require("zod");
|
|
13
|
+
/** Canonical finding kinds produced by deterministic migration SQL analysis. */
|
|
14
|
+
exports.SqlGraphSecurityFindingKindSchema = zod_1.z.enum([
|
|
15
|
+
"MISSING_RLS_ON_PUBLIC_TABLE",
|
|
16
|
+
"RLS_POLICY_ALWAYS_TRUE",
|
|
17
|
+
"SECURITY_DEFINER_VIEW_RISK",
|
|
18
|
+
"EXTENSION_IN_PUBLIC_SCHEMA",
|
|
19
|
+
]);
|
|
20
|
+
/** Optional correlation ids when bridging from Supabase Dashboard advisors API / CLI. */
|
|
21
|
+
exports.SupabaseAdvisorClassSchema = zod_1.z.enum([
|
|
22
|
+
"rls_disabled_in_public",
|
|
23
|
+
"rls_policy_always_true",
|
|
24
|
+
"security_definer_view",
|
|
25
|
+
"extension_in_public",
|
|
26
|
+
]);
|
|
27
|
+
exports.SqlSecurityResourceSchema = zod_1.z.object({
|
|
28
|
+
schema: zod_1.z.string(),
|
|
29
|
+
name: zod_1.z.string(),
|
|
30
|
+
objectType: zod_1.z.enum(["table", "policy", "view", "function", "extension"]),
|
|
31
|
+
});
|
|
32
|
+
exports.SqlGraphSecurityFindingSchema = zod_1.z.object({
|
|
33
|
+
kind: exports.SqlGraphSecurityFindingKindSchema,
|
|
34
|
+
/** Human-readable detail for graph SecurityFinding.label / inspector UI. */
|
|
35
|
+
message: zod_1.z.string(),
|
|
36
|
+
resource: exports.SqlSecurityResourceSchema,
|
|
37
|
+
/** When matched from live Supabase advisors (#770); omitted for SQL-only analysis. */
|
|
38
|
+
supabaseAdvisorClass: exports.SupabaseAdvisorClassSchema.optional(),
|
|
39
|
+
sqlEvidence: zod_1.z.record(zod_1.z.unknown()).optional(),
|
|
40
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Canonical Guardian quality score for all product surfaces: integer 0–100.
|
|
4
|
+
* Issue #237 — not for normalized non-Guardian ratios (e.g. cosine similarity in 0–1).
|
|
5
|
+
*/
|
|
6
|
+
export declare const GuardianScoreSchema: z.ZodNumber;
|
|
7
|
+
/**
|
|
8
|
+
* LLMs often emit fractional percentages; coerce with Math.round before enforcing integers.
|
|
9
|
+
*/
|
|
10
|
+
export declare const GuardianScoreFromModelSchema: z.ZodPipeline<z.ZodEffects<z.ZodNumber, number, number>, z.ZodNumber>;
|
|
11
|
+
export declare const GuardianScoreNullableSchema: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
|
|
12
|
+
/** Optional/nullable variant for artifact envelopes that may omit scores. */
|
|
13
|
+
export declare const GuardianScoreNullishFromModelSchema: z.ZodOptional<z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodNumber, number, number>, z.ZodNumber>, z.ZodNull]>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GuardianScoreNullishFromModelSchema = exports.GuardianScoreNullableSchema = exports.GuardianScoreFromModelSchema = exports.GuardianScoreSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
/**
|
|
6
|
+
* Canonical Guardian quality score for all product surfaces: integer 0–100.
|
|
7
|
+
* Issue #237 — not for normalized non-Guardian ratios (e.g. cosine similarity in 0–1).
|
|
8
|
+
*/
|
|
9
|
+
exports.GuardianScoreSchema = zod_1.z.number().int().min(0).max(100);
|
|
10
|
+
/**
|
|
11
|
+
* LLMs often emit fractional percentages; coerce with Math.round before enforcing integers.
|
|
12
|
+
*/
|
|
13
|
+
exports.GuardianScoreFromModelSchema = zod_1.z
|
|
14
|
+
.number()
|
|
15
|
+
.transform((value) => Math.round(value))
|
|
16
|
+
.pipe(exports.GuardianScoreSchema);
|
|
17
|
+
exports.GuardianScoreNullableSchema = zod_1.z.union([
|
|
18
|
+
exports.GuardianScoreSchema,
|
|
19
|
+
zod_1.z.null(),
|
|
20
|
+
]);
|
|
21
|
+
/** Optional/nullable variant for artifact envelopes that may omit scores. */
|
|
22
|
+
exports.GuardianScoreNullishFromModelSchema = zod_1.z
|
|
23
|
+
.union([exports.GuardianScoreFromModelSchema, zod_1.z.null()])
|
|
24
|
+
.optional();
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const GuardianModeSchema: z.ZodEnum<["project_guardian", "chapter_guardian", "manuscript_guardian", "publication_guardian"]>;
|
|
3
|
+
export type GuardianMode = z.infer<typeof GuardianModeSchema>;
|
|
4
|
+
/** POST /api/guardian/validate request body — SSOT for Guardian validation API */
|
|
5
|
+
export declare const GuardianValidateInputSchema: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
phase: z.ZodOptional<z.ZodEnum<["discover", "design", "develop", "validate", "ship", "monitor"]>>;
|
|
8
|
+
constitutionVersion: z.ZodDefault<z.ZodNumber>;
|
|
9
|
+
autoResolve: z.ZodDefault<z.ZodBoolean>;
|
|
10
|
+
scope: z.ZodOptional<z.ZodEnum<["ai", "db", "constitution"]>>;
|
|
11
|
+
orchestrationId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
mode: z.ZodOptional<z.ZodEnum<["project_guardian", "chapter_guardian", "manuscript_guardian", "publication_guardian"]>>;
|
|
13
|
+
chapterIndex: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
constitutionVersion: number;
|
|
16
|
+
autoResolve: boolean;
|
|
17
|
+
projectId?: string | undefined;
|
|
18
|
+
phase?: "monitor" | "design" | "ship" | "discover" | "develop" | "validate" | undefined;
|
|
19
|
+
mode?: "project_guardian" | "chapter_guardian" | "manuscript_guardian" | "publication_guardian" | undefined;
|
|
20
|
+
scope?: "constitution" | "ai" | "db" | undefined;
|
|
21
|
+
chapterIndex?: number | undefined;
|
|
22
|
+
orchestrationId?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
projectId?: string | undefined;
|
|
25
|
+
phase?: "monitor" | "design" | "ship" | "discover" | "develop" | "validate" | undefined;
|
|
26
|
+
mode?: "project_guardian" | "chapter_guardian" | "manuscript_guardian" | "publication_guardian" | undefined;
|
|
27
|
+
scope?: "constitution" | "ai" | "db" | undefined;
|
|
28
|
+
chapterIndex?: number | undefined;
|
|
29
|
+
constitutionVersion?: number | undefined;
|
|
30
|
+
autoResolve?: boolean | undefined;
|
|
31
|
+
orchestrationId?: string | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
constitutionVersion: number;
|
|
34
|
+
autoResolve: boolean;
|
|
35
|
+
projectId?: string | undefined;
|
|
36
|
+
phase?: "monitor" | "design" | "ship" | "discover" | "develop" | "validate" | undefined;
|
|
37
|
+
mode?: "project_guardian" | "chapter_guardian" | "manuscript_guardian" | "publication_guardian" | undefined;
|
|
38
|
+
scope?: "constitution" | "ai" | "db" | undefined;
|
|
39
|
+
chapterIndex?: number | undefined;
|
|
40
|
+
orchestrationId?: string | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
projectId?: string | undefined;
|
|
43
|
+
phase?: "monitor" | "design" | "ship" | "discover" | "develop" | "validate" | undefined;
|
|
44
|
+
mode?: "project_guardian" | "chapter_guardian" | "manuscript_guardian" | "publication_guardian" | undefined;
|
|
45
|
+
scope?: "constitution" | "ai" | "db" | undefined;
|
|
46
|
+
chapterIndex?: number | undefined;
|
|
47
|
+
constitutionVersion?: number | undefined;
|
|
48
|
+
autoResolve?: boolean | undefined;
|
|
49
|
+
orchestrationId?: string | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
export type GuardianValidateInput = z.infer<typeof GuardianValidateInputSchema>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GuardianValidateInputSchema = exports.GuardianModeSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.GuardianModeSchema = zod_1.z.enum([
|
|
6
|
+
"project_guardian",
|
|
7
|
+
"chapter_guardian",
|
|
8
|
+
"manuscript_guardian",
|
|
9
|
+
"publication_guardian",
|
|
10
|
+
]);
|
|
11
|
+
/** POST /api/guardian/validate request body — SSOT for Guardian validation API */
|
|
12
|
+
exports.GuardianValidateInputSchema = zod_1.z
|
|
13
|
+
.object({
|
|
14
|
+
projectId: zod_1.z.string().uuid().optional(),
|
|
15
|
+
phase: zod_1.z
|
|
16
|
+
.enum(["discover", "design", "develop", "validate", "ship", "monitor"])
|
|
17
|
+
.optional(),
|
|
18
|
+
constitutionVersion: zod_1.z.number().default(1),
|
|
19
|
+
autoResolve: zod_1.z.boolean().default(false),
|
|
20
|
+
scope: zod_1.z.enum(["ai", "db", "constitution"]).optional(),
|
|
21
|
+
orchestrationId: zod_1.z.string().uuid().optional(),
|
|
22
|
+
mode: exports.GuardianModeSchema.optional(),
|
|
23
|
+
chapterIndex: zod_1.z.number().int().min(0).max(999).optional(),
|
|
24
|
+
})
|
|
25
|
+
// No .strict(): useAIMutation forwards agentRole/attempt; UI may send checkScope /
|
|
26
|
+
// includeRecommendations. Strip unknown keys instead of 400.
|
|
27
|
+
.superRefine((data, ctx) => {
|
|
28
|
+
if (data.mode === "chapter_guardian" &&
|
|
29
|
+
data.chapterIndex === undefined) {
|
|
30
|
+
ctx.addIssue({
|
|
31
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
32
|
+
message: "chapterIndex is required when mode is chapter_guardian",
|
|
33
|
+
path: ["chapterIndex"],
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Stable metadata for scaffold manifest templating — no semver SSOT here. */
|
|
3
|
+
export declare const NextjsScaffoldProjectMetaSchema: z.ZodObject<{
|
|
4
|
+
projectSlug: z.ZodString;
|
|
5
|
+
}, "strict", z.ZodTypeAny, {
|
|
6
|
+
projectSlug: string;
|
|
7
|
+
}, {
|
|
8
|
+
projectSlug: string;
|
|
9
|
+
}>;
|
|
10
|
+
export type NextjsScaffoldProjectMeta = z.infer<typeof NextjsScaffoldProjectMetaSchema>;
|
|
11
|
+
export declare const ScaffoldManifestEntrySchema: z.ZodObject<{
|
|
12
|
+
path: z.ZodString;
|
|
13
|
+
template: z.ZodString;
|
|
14
|
+
}, "strict", z.ZodTypeAny, {
|
|
15
|
+
path: string;
|
|
16
|
+
template: string;
|
|
17
|
+
}, {
|
|
18
|
+
path: string;
|
|
19
|
+
template: string;
|
|
20
|
+
}>;
|
|
21
|
+
export type ScaffoldManifestEntry = z.infer<typeof ScaffoldManifestEntrySchema>;
|
|
22
|
+
export declare const ScaffoldManifestSchema: z.ZodObject<{
|
|
23
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
24
|
+
path: z.ZodString;
|
|
25
|
+
template: z.ZodString;
|
|
26
|
+
}, "strict", z.ZodTypeAny, {
|
|
27
|
+
path: string;
|
|
28
|
+
template: string;
|
|
29
|
+
}, {
|
|
30
|
+
path: string;
|
|
31
|
+
template: string;
|
|
32
|
+
}>, "many">;
|
|
33
|
+
}, "strict", z.ZodTypeAny, {
|
|
34
|
+
entries: {
|
|
35
|
+
path: string;
|
|
36
|
+
template: string;
|
|
37
|
+
}[];
|
|
38
|
+
}, {
|
|
39
|
+
entries: {
|
|
40
|
+
path: string;
|
|
41
|
+
template: string;
|
|
42
|
+
}[];
|
|
43
|
+
}>;
|
|
44
|
+
export type ScaffoldManifest = z.infer<typeof ScaffoldManifestSchema>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScaffoldManifestSchema = exports.ScaffoldManifestEntrySchema = exports.NextjsScaffoldProjectMetaSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
/** Stable metadata for scaffold manifest templating — no semver SSOT here. */
|
|
6
|
+
exports.NextjsScaffoldProjectMetaSchema = zod_1.z
|
|
7
|
+
.object({
|
|
8
|
+
projectSlug: zod_1.z
|
|
9
|
+
.string()
|
|
10
|
+
.min(1)
|
|
11
|
+
.max(64)
|
|
12
|
+
.regex(/^[a-z0-9-]+$/),
|
|
13
|
+
})
|
|
14
|
+
.strict();
|
|
15
|
+
exports.ScaffoldManifestEntrySchema = zod_1.z
|
|
16
|
+
.object({
|
|
17
|
+
path: zod_1.z.string().min(1),
|
|
18
|
+
template: zod_1.z.string(),
|
|
19
|
+
})
|
|
20
|
+
.strict();
|
|
21
|
+
exports.ScaffoldManifestSchema = zod_1.z
|
|
22
|
+
.object({
|
|
23
|
+
entries: zod_1.z.array(exports.ScaffoldManifestEntrySchema),
|
|
24
|
+
})
|
|
25
|
+
.strict();
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PatchValidationDiagnosticCodeSchema: z.ZodEnum<["JSX_IN_API_ROUTE_TS", "JSX_IN_TS_FILE", "CONTRACTS_PACKAGE_UI_LEAK", "INTERNAL_WORKSPACE_IMPORT_UNRESOLVED", "EXTERNAL_DEPENDENCY_UNDECLARED", "PATCH_OUTSIDE_PACKET_SCOPE", "PATCH_DID_NOT_TOUCH_PACKET_FILES", "PATCH_VALIDATOR_TSCONFIG_MISCONFIGURED"]>;
|
|
3
|
+
export type PatchValidationDiagnosticCode = z.infer<typeof PatchValidationDiagnosticCodeSchema>;
|
|
4
|
+
export declare const ImplementGraphValidationFailureSchema: z.ZodObject<{
|
|
5
|
+
code: z.ZodEnum<["JSX_IN_API_ROUTE_TS", "JSX_IN_TS_FILE", "CONTRACTS_PACKAGE_UI_LEAK", "INTERNAL_WORKSPACE_IMPORT_UNRESOLVED", "EXTERNAL_DEPENDENCY_UNDECLARED", "PATCH_OUTSIDE_PACKET_SCOPE", "PATCH_DID_NOT_TOUCH_PACKET_FILES", "PATCH_VALIDATOR_TSCONFIG_MISCONFIGURED"]>;
|
|
6
|
+
message: z.ZodString;
|
|
7
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
code: "PATCH_OUTSIDE_PACKET_SCOPE" | "JSX_IN_API_ROUTE_TS" | "JSX_IN_TS_FILE" | "CONTRACTS_PACKAGE_UI_LEAK" | "INTERNAL_WORKSPACE_IMPORT_UNRESOLVED" | "EXTERNAL_DEPENDENCY_UNDECLARED" | "PATCH_DID_NOT_TOUCH_PACKET_FILES" | "PATCH_VALIDATOR_TSCONFIG_MISCONFIGURED";
|
|
10
|
+
message: string;
|
|
11
|
+
filePath?: string | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
code: "PATCH_OUTSIDE_PACKET_SCOPE" | "JSX_IN_API_ROUTE_TS" | "JSX_IN_TS_FILE" | "CONTRACTS_PACKAGE_UI_LEAK" | "INTERNAL_WORKSPACE_IMPORT_UNRESOLVED" | "EXTERNAL_DEPENDENCY_UNDECLARED" | "PATCH_DID_NOT_TOUCH_PACKET_FILES" | "PATCH_VALIDATOR_TSCONFIG_MISCONFIGURED";
|
|
14
|
+
message: string;
|
|
15
|
+
filePath?: string | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
export type ImplementGraphValidationFailure = z.infer<typeof ImplementGraphValidationFailureSchema>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImplementGraphValidationFailureSchema = exports.PatchValidationDiagnosticCodeSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PatchValidationDiagnosticCodeSchema = zod_1.z.enum([
|
|
6
|
+
'JSX_IN_API_ROUTE_TS',
|
|
7
|
+
'JSX_IN_TS_FILE',
|
|
8
|
+
'CONTRACTS_PACKAGE_UI_LEAK',
|
|
9
|
+
'INTERNAL_WORKSPACE_IMPORT_UNRESOLVED',
|
|
10
|
+
'EXTERNAL_DEPENDENCY_UNDECLARED',
|
|
11
|
+
'PATCH_OUTSIDE_PACKET_SCOPE',
|
|
12
|
+
'PATCH_DID_NOT_TOUCH_PACKET_FILES',
|
|
13
|
+
'PATCH_VALIDATOR_TSCONFIG_MISCONFIGURED',
|
|
14
|
+
]);
|
|
15
|
+
exports.ImplementGraphValidationFailureSchema = zod_1.z.object({
|
|
16
|
+
code: exports.PatchValidationDiagnosticCodeSchema,
|
|
17
|
+
message: zod_1.z.string(),
|
|
18
|
+
filePath: zod_1.z.string().optional(),
|
|
19
|
+
});
|