@praxisui/editorial-forms 9.0.0-beta.76 → 9.0.0-beta.78
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/ai/component-registry.json +74 -4
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-19T03:55:15.480Z",
|
|
4
4
|
"packageName": "@praxisui/editorial-forms",
|
|
5
|
-
"packageVersion": "9.0.0-beta.
|
|
5
|
+
"packageVersion": "9.0.0-beta.78",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 2,
|
|
@@ -1336,9 +1336,79 @@
|
|
|
1336
1336
|
{
|
|
1337
1337
|
"chunkIndex": 1,
|
|
1338
1338
|
"chunkKind": "authoring_manifest",
|
|
1339
|
-
"content": "{\n \"schemaVersion\": \"1.0.0\",\n \"componentId\": \"praxis-editorial-forms\",\n \"ownerPackage\": \"@praxisui/editorial-forms\",\n \"configSchemaId\": \"EditorialRuntimeInput\",\n \"manifestVersion\": \"1.0.0\",\n \"runtimeInputs\": [\n {\n \"name\": \"solution\",\n \"type\": \"EditorialSolutionDefinition | null\",\n \"description\": \"Canonical editorial solution definition with journeys, steps, blocks and presentation.\"\n },\n {\n \"name\": \"instance\",\n \"type\": \"EditorialTemplateInstance | null\",\n \"description\": \"Runtime instance with selected journey, context, overrides and compatibility form configs.\"\n },\n {\n \"name\": \"runtimeContext\",\n \"type\": \"Record<string, unknown> | null\",\n \"description\": \"Host-provided immutable context merged into the resolved editorial snapshot.\"\n },\n {\n \"name\": \"hostConfig\",\n \"type\": \"EditorialRuntimeHostConfig | null\",\n \"description\": \"Host controls for operational event and adapter event forwarding.\"\n },\n {\n \"name\": \"snapshotChange\",\n \"type\": \"EditorialRuntimeSnapshot\",\n \"description\": \"Resolved runtime snapshot emitted to hosts for product UX and audit derivation.\"\n },\n {\n \"name\": \"fallbackChange\",\n \"type\": \"EditorialRuntimeFallbackState\",\n \"description\": \"Operational fallback state emitted when diagnostics affect runtime health.\"\n },\n {\n \"name\": \"operationalEvent\",\n \"type\": \"EditorialRuntimeOperationalEvent\",\n \"description\": \"Technical diagnostics event stream for logs, monitoring and runbooks.\"\n }\n ],\n \"editableTargets\": [\n {\n \"kind\": \"snapshot\",\n \"resolver\": \"editorial-runtime-snapshot\",\n \"description\": \"Resolved editorial state from solution, instance and runtime context.\"\n },\n {\n \"kind\": \"fallback\",\n \"resolver\": \"editorial-runtime-fallback-state\",\n \"description\": \"Explicit operational fallback state derived from runtime diagnostics.\"\n },\n {\n \"kind\": \"presentation\",\n \"resolver\": \"editorial-solution-presentation\",\n \"description\": \"Editorial presentation contract under solution.presentation.\"\n },\n {\n \"kind\": \"adapter\",\n \"resolver\": \"editorial-data-block-adapter-registry\",\n \"description\": \"Optional dataCollection adapter binding and compatibility requirements.\"\n },\n {\n \"kind\": \"dataBlock\",\n \"resolver\": \"editorial-journey-step-block-by-id\",\n \"description\": \"Editorial blocks inside journey steps, including dataCollection and presentational blocks.\"\n },\n {\n \"kind\": \"fieldBinding\",\n \"resolver\": \"editorial-data-block-field-binding\",\n \"description\": \"Field-to-runtime-context binding for dataCollection blocks without redefining FieldMetadata.\"\n }\n ],\n \"operations\": [\n {\n \"operationId\": \"snapshot.set\",\n \"title\": \"Set editorial snapshot inputs\",\n \"scope\": \"global\",\n \"targetKind\": \"snapshot\",\n \"target\": {\n \"kind\": \"snapshot\",\n \"resolver\": \"editorial-runtime-snapshot\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"solutionId\"\n ],\n \"properties\": {\n \"solutionId\": {\n \"type\": \"string\"\n },\n \"instanceId\": {\n \"type\": \"string\"\n },\n \"journeyId\": {\n \"type\": \"string\"\n },\n \"stepId\": {\n \"type\": \"string\"\n },\n \"runtimeContextPatch\": {\n \"type\": \"object\"\n },\n \"instanceContextPatch\": {\n \"type\": \"object\"\n },\n \"preserveDiagnostics\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"editorial-snapshot-set\",\n \"handlerContract\": {\n \"reads\": [\n \"EditorialSolutionDefinition\",\n \"EditorialTemplateInstance\",\n \"runtimeContext\",\n \"resolveEditorialRuntimeSnapshot\"\n ],\n \"writes\": [\n \"solution.solutionId\",\n \"instance.instanceId\",\n \"instance.context\",\n \"runtimeContext\"\n ],\n \"identityKeys\": [\n \"solutionId\",\n \"instanceId\",\n \"journeyId\"\n ],\n \"failureModes\": [\n \"solution-not-found\",\n \"journey-not-found\",\n \"step-not-found\",\n \"snapshot-shape-invalid\",\n \"diagnostics-lost\"\n ],\n \"description\": \"Compiles a deterministic patch to editorial runtime inputs, validates the requested journey/step against the resolved snapshot and requires diagnostics to be preserved.\"\n }\n }\n ],\n \"validators\": [\n \"snapshot-shape-canonical\",\n \"journey-exists\",\n \"step-exists\",\n \"diagnostics-preserved\",\n \"editorial-round-trip\"\n ],\n \"affectedPaths\": [\n \"solution.solutionId\",\n \"instance.instanceId\",\n \"instance.context\",\n \"runtimeContext\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"editorial-runtime-inputs-loaded\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"fallback.configure\",\n \"title\": \"Configure explicit fallback behavior\",\n \"scope\": \"meta\",\n \"targetKind\": \"fallback\",\n \"target\": {\n \"kind\": \"fallback\",\n \"resolver\": \"editorial-runtime-fallback-state\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"mode\"\n ],\n \"properties\": {\n \"mode\": {\n \"enum\": [\n \"normal\",\n \"warning\",\n \"degraded\",\n \"blocked\"\n ]\n },\n \"diagnosticCode\": {\n \"type\": \"string\"\n },\n \"progressionBlocked\": {\n \"type\": \"boolean\"\n },\n \"requiresEngineAttention\": {\n \"type\": \"boolean\"\n },\n \"scope\": {\n \"type\": \"object\",\n \"properties\": {\n \"journeyId\": {\n \"type\": \"string\"\n },\n \"stepId\": {\n \"type\": \"string\"\n },\n \"blockId\": {\n \"type\": \"string\"\n }\n }\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"editorial-fallback-configure\",\n \"handlerContract\": {\n \"reads\": [\n \"EditorialRuntimeDiagnostics\",\n \"deriveRuntimeFallbackState\",\n \"EditorialRuntimeFallbackScope\"\n ],\n \"writes\": [\n \"hostConfig.emitOperationalEvents\",\n \"snapshot.diagnostics.items\"\n ],\n \"identityKeys\": [\n \"mode\",\n \"diagnosticCode\",\n \"scope.journeyId\",\n \"scope.stepId\"\n ],\n \"failureModes\": [\n \"fallback-mode-invalid\",\n \"blocking-diagnostic-missing\",\n \"scope-not-found\",\n \"implicit-degradation-not-allowed\"\n ],\n \"description\": \"Requires fallback policy to be explicit and tied to snapshot diagnostics, because fallback state is derived by deriveRuntimeFallbackState instead of persisted as domain data.\"\n }\n }\n ],\n \"validators\": [\n \"fallback-explicit\",\n \"fallback-diagnostic-backed\",\n \"fallback-scope-exists\",\n \"editorial-round-trip\"\n ],\n \"affectedPaths\": [\n \"hostConfig.emitOperationalEvents\",\n \"snapshot.diagnostics.items\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"snapshot-resolved\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"presentation.configure\",\n \"title\": \"Configure editorial presentation\",\n \"scope\": \"skin\",\n \"targetKind\": \"presentation\",\n \"target\": {\n \"kind\": \"presentation\",\n \"resolver\": \"editorial-solution-presentation\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"minProperties\": 1,\n \"properties\": {\n \"layout\": {\n \"type\": \"object\",\n \"properties\": {\n \"orientation\": {\n \"enum\": [\n \"horizontal\",\n \"vertical\"\n ]\n },\n \"density\": {\n \"enum\": [\n \"compact\",\n \"comfortable\",\n \"relaxed\"\n ]\n },\n \"maxWidth\": {\n \"type\": \"string\"\n },\n \"shellVariant\": {\n \"type\": \"string\"\n },\n \"spacing\": {\n \"type\": \"object\"\n },\n \"responsive\": {\n \"type\": \"object\"\n }\n }\n },\n \"theme\": {\n \"type\": \"object\"\n },\n \"stepper\": {\n \"type\": \"object\",\n \"properties\": {\n \"visible\": {\n \"type\": \"boolean\"\n },\n \"orientation\": {\n \"enum\": [\n \"horizontal\",\n \"vertical\"\n ]\n },\n \"showLabels\": {\n \"type\": \"boolean\"\n },\n \"showDescriptions\": {\n \"type\": \"boolean\"\n },\n \"showConnectors\": {\n \"type\": \"boolean\"\n },\n \"connectorStyle\": {\n \"type\": \"string\"\n },\n \"allowStepJump\": {\n \"type\": \"boolean\"\n }\n }\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"editorial-presentation-configure\",\n \"handlerContract\": {\n \"reads\": [\n \"solution.presentation\",\n \"buildRuntimeLayoutCss\",\n \"buildRuntimeCssVars\",\n \"resolveRuntimeOrientation\"\n ],\n \"writes\": [\n \"solution.presentation.layout\",\n \"solution.presentation.theme\",\n \"solution.presentation.stepper\"\n ],\n \"identityKeys\": [\n \"solutionId\",\n \"presentation.layout.orientation\",\n \"presentation.stepper.orientation\"\n ],\n \"failureModes\": [\n \"presentation-key-unsupported\",\n \"theme-token-invalid\",\n \"domain-data-mutation-detected\",\n \"renderer-coverage-missing\"\n ],\n \"description\": \"Applies presentation-only changes under solution.presentation and rejects changes that mutate editorial domain data.\"\n }\n }\n ],\n \"validators\": [\n \"presentation-supported-by-runtime\",\n \"presentation-does-not-mutate-domain-data\",\n \"theme-tokens-valid\",\n \"editorial-round-trip\"\n ],\n \"affectedPaths\": [\n \"solution.presentation.layout\",\n \"solution.presentation.theme\",\n \"solution.presentation.stepper\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"solution-loaded\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"adapter.bind\",\n \"title\": \"Bind data block adapter\",\n \"scope\": \"dataBinding\",\n \"targetKind\": \"adapter\",\n \"target\": {\n \"kind\": \"adapter\",\n \"resolver\": \"editorial-data-block-adapter-registry\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"adapterId\",\n \"dataBlockType\"\n ],\n \"properties\": {\n \"adapterId\": {\n \"type\": \"string\"\n },\n \"dataBlockType\": {\n \"enum\": [\n \"dataCollection\"\n ]\n },\n \"componentRef\": {\n \"type\": \"string\"\n },\n \"requiredInputs\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"forwardOperationalEvents\": {\n \"type\": \"boolean\"\n },\n \"fallbackModeWhenMissing\": {\n \"enum\": [\n \"warning\",\n \"degraded\",\n \"blocked\"\n ]\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"editorial-adapter-bind\",\n \"handlerContract\": {\n \"reads\": [\n \"EDITORIAL_DATA_BLOCK_ADAPTER\",\n \"EditorialDataBlockAdapterRegistry\",\n \"EditorialDataBlockContext\",\n \"ComponentDocMeta\"\n ],\n \"writes\": [\n \"hostConfig.forwardAdapterOperationalEvents\",\n \"snapshot.diagnostics.items\"\n ],\n \"identityKeys\": [\n \"adapterId\",\n \"dataBlockType\"\n ],\n \"failureModes\": [\n \"adapter-not-registered\",\n \"adapter-does-not-support-data-block\",\n \"adapter-component-invalid\",\n \"fallback-policy-missing\"\n ],\n \"description\": \"Validates the external provider binding for a dataCollection adapter and records the host operational-event policy required when the adapter is missing or incompatible.\"\n }\n }\n ],\n \"validators\": [\n \"adapter-exists\",\n \"adapter-supports-data-block\",\n \"adapter-component-valid\",\n \"fallback-explicit\",\n \"editorial-round-trip\"\n ],\n \"affectedPaths\": [\n \"hostConfig.forwardAdapterOperationalEvents\",\n \"snapshot.diagnostics.items\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"adapter-registry-loaded\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"dataBlock.add\",\n \"title\": \"Add editorial data block\",\n \"scope\": \"section\",\n \"targetKind\": \"dataBlock\",\n \"target\": {\n \"kind\": \"dataBlock\",\n \"resolver\": \"editorial-journey-step-block-by-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"journeyId\",\n \"stepId\",\n \"block\"\n ],\n \"properties\": {\n \"journeyId\": {\n \"type\": \"string\"\n },\n \"stepId\": {\n \"type\": \"string\"\n },\n \"insert\": {\n \"type\": \"object\",\n \"properties\": {\n \"mode\": {\n \"enum\": [\n \"append\",\n \"insertBefore\",\n \"insertAfter\"\n ]\n },\n \"relativeToBlockId\": {\n \"type\": \"string\"\n }\n }\n },\n \"block\": {\n \"type\": \"object\",\n \"required\": [\n \"blockId\",\n \"kind\"\n ],\n \"properties\": {\n \"blockId\": {\n \"type\": \"string\"\n },\n \"kind\": {\n \"enum\": [\n \"dataCollection\",\n \"introHero\",\n \"selectionCards\",\n \"reviewSections\",\n \"successPanel\"\n ]\n },\n \"formBlockId\": {\n \"type\": \"string\"\n },\n \"formConfigRef\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"visibility\": {\n \"type\": \"array\"\n }\n }\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"editorial-data-block-add\",\n \"handlerContract\": {\n \"reads\": [\n \"EditorialSolutionDefinition.journeys\",\n \"EditorialResolvedStep.blocks\",\n \"EditorialDataBlockAdapterRegistry\"\n ],\n \"writes\": [\n \"solution.journeys[].steps[].blocks\"\n ],\n \"identityKeys\": [\n \"journeyId\",\n \"stepId\",\n \"block.blockId\"\n ],\n \"failureModes\": [\n \"journey-not-found\",\n \"step-not-found\",\n \"duplicate-block-id\",\n \"data-collection-config-unresolved\",\n \"adapter-not-registered\"\n ],\n \"description\": \"Adds a canonical editorial block to a step and validates dataCollection readiness without redefining Dynamic Form config semantics.\"\n }\n }\n ],\n \"validators\": [\n \"data-block-id-unique\",\n \"journey-exists\",\n \"step-exists\",\n \"adapter-supports-data-block\",\n \"editorial-round-trip\"\n ],\n \"affectedPaths\": [\n \"solution.journeys[].steps[].blocks\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"solution-loaded\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n },\n {\n \"operationId\": \"dataBlock.remove\",\n \"title\": \"Remove editorial data block\",\n \"scope\": \"section\",\n \"targetKind\": \"dataBlock\",\n \"target\": {\n \"kind\": \"dataBlock\",\n \"resolver\": \"editorial-journey-step-block-by-id\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"journeyId\",\n \"stepId\",\n \"blockId\"\n ],\n \"properties\": {\n \"journeyId\": {\n \"type\": \"string\"\n },\n \"stepId\": {\n \"type\": \"string\"\n },\n \"blockId\": {\n \"type\": \"string\"\n },\n \"requireNoFieldBindings\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"editorial-data-block-remove\",\n \"handlerContract\": {\n \"reads\": [\n \"EditorialSolutionDefinition.journeys\",\n \"EditorialResolvedStep.blocks\",\n \"fieldBinding\"\n ],\n \"writes\": [\n \"solution.journeys[].steps[].blocks\"\n ],\n \"identityKeys\": [\n \"journeyId\",\n \"stepId\",\n \"blockId\"\n ],\n \"failureModes\": [\n \"journey-not-found\",\n \"step-not-found\",\n \"block-not-found\",\n \"field-bindings-still-reference-block\"\n ],\n \"description\": \"Removes a block by stable id and rejects removal when governed field bindings still reference the block.\"\n }\n }\n ],\n \"destructive\": true,\n \"requiresConfirmation\": true,\n \"validators\": [\n \"data-block-exists\",\n \"field-binding-target-exists\",\n \"editorial-round-trip\"\n ],\n \"affectedPaths\": [\n \"solution.journeys[].steps[].blocks\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"solution-loaded\",\n \"explicit-confirmation-provided\"\n ]\n },\n {\n \"operationId\": \"fieldBinding.set\",\n \"title\": \"Set editorial field binding\",\n \"scope\": \"fieldMetadataPath\",\n \"targetKind\": \"fieldBinding\",\n \"target\": {\n \"kind\": \"fieldBinding\",\n \"resolver\": \"editorial-data-block-field-binding\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"blockId\",\n \"fieldName\",\n \"contextPath\"\n ],\n \"properties\": {\n \"blockId\": {\n \"type\": \"string\"\n },\n \"fieldName\": {\n \"type\": \"string\"\n },\n \"contextPath\": {\n \"type\": \"string\"\n },\n \"mode\": {\n \"enum\": [\n \"read\",\n \"write\",\n \"readWrite\"\n ]\n },\n \"valueMode\": {\n \"enum\": [\n \"merge\",\n \"replace\"\n ]\n },\n \"delegateFieldMetadataTo\": {\n \"enum\": [\n \"praxis-metadata-editor\"\n ]\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"editorial-field-binding-set\",\n \"handlerContract\": {\n \"reads\": [\n \"EditorialDataCollectionBlock\",\n \"resolvedFormConfig.fieldMetadata\",\n \"runtimeContext.formData\",\n \"PRAXIS_METADATA_EDITOR_AUTHORING_MANIFEST\"\n ],\n \"writes\": [\n \"runtimeContext.formData\"\n ],\n \"identityKeys\": [\n \"blockId\",\n \"fieldName\",\n \"contextPath\"\n ],\n \"failureModes\": [\n \"block-not-found\",\n \"field-not-found\",\n \"context-path-invalid\",\n \"field-metadata-delegation-required\",\n \"domain-data-mutation-detected\"\n ],\n \"description\": \"Sets the governed runtimeContext.formData path used by dataCollection adapters and delegates FieldMetadata shape changes to the metadata-editor manifest.\"\n }\n }\n ],\n \"validators\": [\n \"field-binding-target-exists\",\n \"field-binding-path-valid\",\n \"delegates-field-metadata\",\n \"editorial-round-trip\"\n ],\n \"affectedPaths\": [\n \"runtimeContext.formData\"\n ],\n \"submissionImpact\": \"affects-schema-backed-data\",\n \"preconditions\": [\n \"data-block-resolved\",\n \"field-metadata-loaded\"\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false\n }\n ],\n \"validators\": [\n {\n \"validatorId\": \"snapshot-shape-canonical\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_SNAPSHOT_SHAPE_CANONICAL\",\n \"description\": \"Resolved snapshot must remain compatible with EditorialRuntimeSnapshot.\"\n },\n {\n \"validatorId\": \"journey-exists\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_JOURNEY_EXISTS\",\n \"description\": \"Target journey must exist in the editorial solution.\"\n },\n {\n \"validatorId\": \"step-exists\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_STEP_EXISTS\",\n \"description\": \"Target step must exist in the selected journey.\"\n },\n {\n \"validatorId\": \"diagnostics-preserved\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_DIAGNOSTICS_PRESERVED\",\n \"description\": \"Patch compilation must not drop runtime diagnostics.\"\n },\n {\n \"validatorId\": \"fallback-explicit\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_FALLBACK_EXPLICIT\",\n \"description\": \"Fallback behavior must be explicit instead of implied by missing adapter or hidden diagnostics.\"\n },\n {\n \"validatorId\": \"fallback-diagnostic-backed\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_FALLBACK_DIAGNOSTIC_BACKED\",\n \"description\": \"Warning, degraded and blocked fallback states must be backed by diagnostics.\"\n },\n {\n \"validatorId\": \"fallback-scope-exists\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_FALLBACK_SCOPE_EXISTS\",\n \"description\": \"Fallback scope must resolve to an existing journey, step or block.\"\n },\n {\n \"validatorId\": \"presentation-supported-by-runtime\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_PRESENTATION_SUPPORTED\",\n \"description\": \"Presentation keys must be supported by the runtime or intentionally diagnosed as unsupported.\"\n },\n {\n \"validatorId\": \"presentation-does-not-mutate-domain-data\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_PRESENTATION_DOMAIN_SAFE\",\n \"description\": \"Presentation changes must not mutate solution journeys, blocks, field metadata or runtime context data.\"\n },\n {\n \"validatorId\": \"theme-tokens-valid\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_THEME_TOKENS_VALID\",\n \"description\": \"Theme tokens must be valid runtime CSS variable inputs.\"\n },\n {\n \"validatorId\": \"adapter-exists\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_ADAPTER_EXISTS\",\n \"description\": \"Requested adapter must exist in EditorialDataBlockAdapterRegistry.\"\n },\n {\n \"validatorId\": \"adapter-supports-data-block\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_ADAPTER_SUPPORTS_DATA_BLOCK\",\n \"description\": \"Requested adapter must support the target data block context.\"\n },\n {\n \"validatorId\": \"adapter-component-valid\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_ADAPTER_COMPONENT_VALID\",\n \"description\": \"Adapter component must expose the inputs required by the adapter contract.\"\n },\n {\n \"validatorId\": \"data-block-id-unique\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_DATA_BLOCK_ID_UNIQUE\",\n \"description\": \"Block ids must be unique within the resolved editorial step.\"\n },\n {\n \"validatorId\": \"data-block-exists\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_DATA_BLOCK_EXISTS\",\n \"description\": \"Target data block must exist before destructive or binding operations.\"\n },\n {\n \"validatorId\": \"field-binding-target-exists\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_FIELD_BINDING_TARGET_EXISTS\",\n \"description\": \"Field binding must target an existing dataCollection block and field.\"\n },\n {\n \"validatorId\": \"field-binding-path-valid\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_FIELD_BINDING_PATH_VALID\",\n \"description\": \"Field binding context path must be deterministic and inside governed runtime context data.\"\n },\n {\n \"validatorId\": \"delegates-field-metadata\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_DELEGATES_FIELD_METADATA\",\n \"description\": \"FieldMetadata shape changes must be delegated to the metadata-editor manifest instead of duplicated here.\"\n },\n {\n \"validatorId\": \"editorial-round-trip\",\n \"level\": \"error\",\n \"code\": \"EDITORIAL_ROUND_TRIP\",\n \"description\": \"Open, edit, apply/save, reopen and runtime consume must preserve the editorial document.\"\n }\n ],\n \"roundTripRequirements\": [\n \"EditorialRuntimeInput is the package-level authoring document; solution, instance and runtimeContext must resolve into EditorialRuntimeSnapshot without drift.\",\n \"Fallback behavior must be explicit and backed by diagnostics; missing adapters cannot be hidden as successful rendering.\",\n \"Presentation changes are constrained to solution.presentation and must not mutate journeys, blocks, FormConfig, FieldMetadata or runtimeContext domain data.\",\n \"dataCollection blocks require an adapter that exists and supports the requested context, while Dynamic Form config semantics remain owned by @praxisui/dynamic-form.\",\n \"FieldMetadata authoring is delegated to praxis-metadata-editor and dynamic-fields discovery; this manifest only governs editorial binding and orchestration.\",\n \"Destructive block removal requires confirmation and must reject references from existing field bindings.\"\n ],\n \"examples\": [\n {\n \"id\": \"select-journey\",\n \"request\": \"Set the onboarding journey as the active editorial path.\",\n \"operationId\": \"snapshot.set\",\n \"params\": {\n \"solutionId\": \"customer-onboarding\",\n \"journeyId\": \"onboarding\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"merge-runtime-context\",\n \"request\": \"Prefill the runtime context with the selected plan.\",\n \"operationId\": \"snapshot.set\",\n \"params\": {\n \"solutionId\": \"plan-signup\",\n \"runtimeContextPatch\": {\n \"selectedPlan\": \"pro\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"configure-blocked-fallback\",\n \"request\": \"Block progression when the required dataCollection adapter is missing.\",\n \"operationId\": \"fallback.configure\",\n \"params\": {\n \"mode\": \"blocked\",\n \"diagnosticCode\": \"data-collection-adapter-missing\",\n \"progressionBlocked\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"configure-stepper\",\n \"request\": \"Use a vertical compact stepper with hidden descriptions.\",\n \"operationId\": \"presentation.configure\",\n \"params\": {\n \"layout\": {\n \"orientation\": \"vertical\",\n \"density\": \"compact\"\n },\n \"stepper\": {\n \"showDescriptions\": false\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"bind-dynamic-form-adapter\",\n \"request\": \"Bind the dynamic-form adapter for dataCollection blocks.\",\n \"operationId\": \"adapter.bind\",\n \"params\": {\n \"adapterId\": \"dynamic-form\",\n \"dataBlockType\": \"dataCollection\",\n \"requiredInputs\": [\n \"config\",\n \"formId\",\n \"editorialContext\"\n ],\n \"fallbackModeWhenMissing\": \"blocked\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"add-data-block\",\n \"request\": \"Add a consent form block to the review step.\",\n \"operationId\": \"dataBlock.add\",\n \"params\": {\n \"journeyId\": \"privacy\",\n \"stepId\": \"review\",\n \"block\": {\n \"blockId\": \"consent-form\",\n \"kind\": \"dataCollection\",\n \"formBlockId\": \"consent-form\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"remove-block\",\n \"request\": \"Remove the unused legacy consent block.\",\n \"operationId\": \"dataBlock.remove\",\n \"params\": {\n \"journeyId\": \"privacy\",\n \"stepId\": \"review\",\n \"blockId\": \"legacy-consent\",\n \"requireNoFieldBindings\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"set-field-binding\",\n \"request\": \"Bind the email field into runtimeContext.formData.email.\",\n \"operationId\": \"fieldBinding.set\",\n \"params\": {\n \"blockId\": \"contact-form\",\n \"fieldName\": \"email\",\n \"contextPath\": \"formData.email\",\n \"mode\": \"readWrite\",\n \"delegateFieldMetadataTo\": \"praxis-metadata-editor\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"reject-presentation-domain-mutation\",\n \"request\": \"Change presentation and also rewrite the collected email value.\",\n \"operationId\": \"presentation.configure\",\n \"params\": {\n \"layout\": {\n \"density\": \"relaxed\"\n },\n \"runtimeContextPatch\": {\n \"formData\": {\n \"email\": \"changed@example.com\"\n }\n }\n },\n \"isPositive\": false\n },\n {\n \"id\": \"reject-missing-adapter\",\n \"request\": \"Render a dataCollection block with an adapter that is not registered.\",\n \"operationId\": \"adapter.bind\",\n \"params\": {\n \"adapterId\": \"unknown-form-engine\",\n \"dataBlockType\": \"dataCollection\"\n },\n \"isPositive\": false\n },\n {\n \"id\": \"reject-duplicate-block\",\n \"request\": \"Add another block using the existing consent-form id.\",\n \"operationId\": \"dataBlock.add\",\n \"params\": {\n \"journeyId\": \"privacy\",\n \"stepId\": \"review\",\n \"block\": {\n \"blockId\": \"consent-form\",\n \"kind\": \"dataCollection\",\n \"formBlockId\": \"consent-form-copy\"\n }\n },\n \"isPositive\": false\n },\n {\n \"id\": \"reject-field-metadata-duplication\",\n \"request\": \"Change the control type inside editorial forms instead of metadata editor.\",\n \"operationId\": \"fieldBinding.set\",\n \"params\": {\n \"blockId\": \"contact-form\",\n \"fieldName\": \"email\",\n \"contextPath\": \"formData.email\",\n \"controlType\": \"select\"\n },\n \"isPositive\": false\n }\n ]\n}",
|
|
1339
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-editorial-forms\",\"ownerPackage\":\"@praxisui/editorial-forms\",\"configSchemaId\":\"EditorialRuntimeInput\",\"chunkSection\":\"identity\"}",
|
|
1340
1340
|
"sourcePointer": "projects/praxis-editorial-forms/src/lib/ai/praxis-editorial-forms-authoring-manifest.ts",
|
|
1341
|
-
"contentHash": "
|
|
1341
|
+
"contentHash": "b3ea9fbab6405d181d3736ff322181a8c41040ef168c2072eb42c1a92594e40f",
|
|
1342
|
+
"sourceKind": "component_definition",
|
|
1343
|
+
"sourceId": "praxis-editorial-forms",
|
|
1344
|
+
"corpusVersion": "1.0.0"
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"chunkIndex": 2,
|
|
1348
|
+
"chunkKind": "authoring_manifest",
|
|
1349
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-editorial-forms\",\"ownerPackage\":\"@praxisui/editorial-forms\",\"configSchemaId\":\"EditorialRuntimeInput\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"solution\",\"type\":\"EditorialSolutionDefinition | null\",\"description\":\"Canonical editorial solution definition with journeys, steps, blocks and presentation.\"},{\"name\":\"instance\",\"type\":\"EditorialTemplateInstance | null\",\"description\":\"Runtime instance with selected journey, context, overrides and compatibility form configs.\"},{\"name\":\"runtimeContext\",\"type\":\"Record<string, unknown> | null\",\"description\":\"Host-provided immutable context merged into the resolved editorial snapshot.\"},{\"name\":\"hostConfig\",\"type\":\"EditorialRuntimeHostConfig | null\",\"description\":\"Host controls for operational event and adapter event forwarding.\"},{\"name\":\"snapshotChange\",\"type\":\"EditorialRuntimeSnapshot\",\"description\":\"Resolved runtime snapshot emitted to hosts for product UX and audit derivation.\"},{\"name\":\"fallbackChange\",\"type\":\"EditorialRuntimeFallbackState\",\"description\":\"Operational fallback state emitted when diagnostics affect runtime health.\"},{\"name\":\"operationalEvent\",\"type\":\"EditorialRuntimeOperationalEvent\",\"description\":\"Technical diagnostics event stream for logs, monitoring and runbooks.\"}]}",
|
|
1350
|
+
"sourcePointer": "projects/praxis-editorial-forms/src/lib/ai/praxis-editorial-forms-authoring-manifest.ts",
|
|
1351
|
+
"contentHash": "8522df10062d05a547a55b1ad270b72bb0cace002e307e6712726ad85d0663c6",
|
|
1352
|
+
"sourceKind": "component_definition",
|
|
1353
|
+
"sourceId": "praxis-editorial-forms",
|
|
1354
|
+
"corpusVersion": "1.0.0"
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"chunkIndex": 3,
|
|
1358
|
+
"chunkKind": "authoring_manifest",
|
|
1359
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-editorial-forms\",\"ownerPackage\":\"@praxisui/editorial-forms\",\"configSchemaId\":\"EditorialRuntimeInput\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"snapshot\",\"resolver\":\"editorial-runtime-snapshot\",\"description\":\"Resolved editorial state from solution, instance and runtime context.\"},{\"kind\":\"fallback\",\"resolver\":\"editorial-runtime-fallback-state\",\"description\":\"Explicit operational fallback state derived from runtime diagnostics.\"},{\"kind\":\"presentation\",\"resolver\":\"editorial-solution-presentation\",\"description\":\"Editorial presentation contract under solution.presentation.\"},{\"kind\":\"adapter\",\"resolver\":\"editorial-data-block-adapter-registry\",\"description\":\"Optional dataCollection adapter binding and compatibility requirements.\"},{\"kind\":\"dataBlock\",\"resolver\":\"editorial-journey-step-block-by-id\",\"description\":\"Editorial blocks inside journey steps, including dataCollection and presentational blocks.\"},{\"kind\":\"fieldBinding\",\"resolver\":\"editorial-data-block-field-binding\",\"description\":\"Field-to-runtime-context binding for dataCollection blocks without redefining FieldMetadata.\"}]}",
|
|
1360
|
+
"sourcePointer": "projects/praxis-editorial-forms/src/lib/ai/praxis-editorial-forms-authoring-manifest.ts",
|
|
1361
|
+
"contentHash": "2a6c9515d212dce3272b538b0869de4fd0c5e31f8d651ad742acddba2ce340e8",
|
|
1362
|
+
"sourceKind": "component_definition",
|
|
1363
|
+
"sourceId": "praxis-editorial-forms",
|
|
1364
|
+
"corpusVersion": "1.0.0"
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"chunkIndex": 4,
|
|
1368
|
+
"chunkKind": "authoring_manifest",
|
|
1369
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-editorial-forms\",\"ownerPackage\":\"@praxisui/editorial-forms\",\"configSchemaId\":\"EditorialRuntimeInput\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"snapshot.set\",\"title\":\"Set editorial snapshot inputs\",\"scope\":\"global\",\"targetKind\":\"snapshot\",\"target\":{\"kind\":\"snapshot\",\"resolver\":\"editorial-runtime-snapshot\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"required\":[\"solutionId\"],\"properties\":{\"solutionId\":{\"type\":\"string\"},\"instanceId\":{\"type\":\"string\"},\"journeyId\":{\"type\":\"string\"},\"stepId\":{\"type\":\"string\"},\"runtimeContextPatch\":{\"type\":\"object\"},\"instanceContextPatch\":{\"type\":\"object\"},\"preserveDiagnostics\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"editorial-snapshot-set\",\"handlerContract\":{\"reads\":[\"EditorialSolutionDefinition\",\"EditorialTemplateInstance\",\"runtimeContext\",\"resolveEditorialRuntimeSnapshot\"],\"writes\":[\"solution.solutionId\",\"instance.instanceId\",\"instance.context\",\"runtimeContext\"],\"identityKeys\":[\"solutionId\",\"instanceId\",\"journeyId\"],\"failureModes\":[\"solution-not-found\",\"journey-not-found\",\"step-not-found\",\"snapshot-shape-invalid\",\"diagnostics-lost\"],\"description\":\"Compiles a deterministic patch to editorial runtime inputs, validates the requested journey/step against the resolved snapshot and requires diagnostics to be preserved.\"}}],\"validators\":[\"snapshot-shape-canonical\",\"journey-exists\",\"step-exists\",\"diagnostics-preserved\",\"editorial-round-trip\"],\"affectedPaths\":[\"solution.solutionId\",\"instance.instanceId\",\"instance.context\",\"runtimeContext\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"editorial-runtime-inputs-loaded\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"fallback.configure\",\"title\":\"Configure explicit fallback behavior\",\"scope\":\"meta\",\"targetKind\":\"fallback\",\"target\":{\"kind\":\"fallback\",\"resolver\":\"editorial-runtime-fallback-state\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"required\":[\"mode\"],\"properties\":{\"mode\":{\"enum\":[\"normal\",\"warning\",\"degraded\",\"blocked\"]},\"diagnosticCode\":{\"type\":\"string\"},\"progressionBlocked\":{\"type\":\"boolean\"},\"requiresEngineAttention\":{\"type\":\"boolean\"},\"scope\":{\"type\":\"object\",\"properties\":{\"journeyId\":{\"type\":\"string\"},\"stepId\":{\"type\":\"string\"},\"blockId\":{\"type\":\"string\"}}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"editorial-fallback-configure\",\"handlerContract\":{\"reads\":[\"EditorialRuntimeDiagnostics\",\"deriveRuntimeFallbackState\",\"EditorialRuntimeFallbackScope\"],\"writes\":[\"hostConfig.emitOperationalEvents\",\"snapshot.diagnostics.items\"],\"identityKeys\":[\"mode\",\"diagnosticCode\",\"scope.journeyId\",\"scope.stepId\"],\"failureModes\":[\"fallback-mode-invalid\",\"blocking-diagnostic-missing\",\"scope-not-found\",\"implicit-degradation-not-allowed\"],\"description\":\"Requires fallback policy to be explicit and tied to snapshot diagnostics, because fallback state is derived by deriveRuntimeFallbackState instead of persisted as domain data.\"}}],\"validators\":[\"fallback-explicit\",\"fallback-diagnostic-backed\",\"fallback-scope-exists\",\"editorial-round-trip\"],\"affectedPaths\":[\"hostConfig.emitOperationalEvents\",\"snapshot.diagnostics.items\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"snapshot-resolved\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"presentation.configure\",\"title\":\"Configure editorial presentation\",\"scope\":\"skin\",\"targetKind\":\"presentation\",\"target\":{\"kind\":\"presentation\",\"resolver\":\"editorial-solution-presentation\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"layout\":{\"type\":\"object\",\"properties\":{\"orientation\":{\"enum\":[\"horizontal\",\"vertical\"]},\"density\":{\"enum\":[\"compact\",\"comfortable\",\"relaxed\"]},\"maxWidth\":{\"type\":\"string\"},\"shellVariant\":{\"type\":\"string\"},\"spacing\":{\"type\":\"object\"},\"responsive\":{\"type\":\"object\"}}},\"theme\":{\"type\":\"object\"},\"stepper\":{\"type\":\"object\",\"properties\":{\"visible\":{\"type\":\"boolean\"},\"orientation\":{\"enum\":[\"horizontal\",\"vertical\"]},\"showLabels\":{\"type\":\"boolean\"},\"showDescriptions\":{\"type\":\"boolean\"},\"showConnectors\":{\"type\":\"boolean\"},\"connectorStyle\":{\"type\":\"string\"},\"allowStepJump\":{\"type\":\"boolean\"}}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"editorial-presentation-configure\",\"handlerContract\":{\"reads\":[\"solution.presentation\",\"buildRuntimeLayoutCss\",\"buildRuntimeCssVars\",\"resolveRuntimeOrientation\"],\"writes\":[\"solution.presentation.layout\",\"solution.presentation.theme\",\"solution.presentation.stepper\"],\"identityKeys\":[\"solutionId\",\"presentation.layout.orientation\",\"presentation.stepper.orientation\"],\"failureModes\":[\"presentation-key-unsupported\",\"theme-token-invalid\",\"domain-data-mutation-detected\",\"renderer-coverage-missing\"],\"description\":\"Applies presentation-only changes under solution.presentation and rejects changes that mutate editorial domain data.\"}}],\"validators\":[\"presentation-supported-by-runtime\",\"presentation-does-not-mutate-domain-data\",\"theme-tokens-valid\",\"editorial-round-trip\"],\"affectedPaths\":[\"solution.presentation.layout\",\"solution.presentation.theme\",\"solution.presentation.stepper\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"solution-loaded\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"adapter.bind\",\"title\":\"Bind data block adapter\",\"scope\":\"dataBinding\",\"targetKind\":\"adapter\",\"target\":{\"kind\":\"adapter\",\"resolver\":\"editorial-data-block-adapter-registry\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"adapterId\",\"dataBlockType\"],\"properties\":{\"adapterId\":{\"type\":\"string\"},\"dataBlockType\":{\"enum\":[\"dataCollection\"]},\"componentRef\":{\"type\":\"string\"},\"requiredInputs\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"forwardOperationalEvents\":{\"type\":\"boolean\"},\"fallbackModeWhenMissing\":{\"enum\":[\"warning\",\"degraded\",\"blocked\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"editorial-adapter-bind\",\"handlerContract\":{\"reads\":[\"EDITORIAL_DATA_BLOCK_ADAPTER\",\"EditorialDataBlockAdapterRegistry\",\"EditorialDataBlockContext\",\"ComponentDocMeta\"],\"writes\":[\"hostConfig.forwardAdapterOperationalEvents\",\"snapshot.diagnostics.items\"],\"identityKeys\":[\"adapterId\",\"dataBlockType\"],\"failureModes\":[\"adapter-not-registered\",\"adapter-does-not-support-data-block\",\"adapter-component-invalid\",\"fallback-policy-missing\"],\"description\":\"Validates the external provider binding for a dataCollection adapter and records the host operational-event policy required when the adapter is missing or incompatible.\"}}],\"validators\":[\"adapter-exists\",\"adapter-supports-data-block\",\"adapter-component-valid\",\"fallback-explicit\",\"editorial-round-trip\"],\"affectedPaths\":[\"hostConfig.forwardAdapterOperationalEvents\",\"snapshot.diagnostics.items\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"adapter-registry-loaded\"],\"destructive\":false,\"requiresConfirmation\":false}]}",
|
|
1370
|
+
"sourcePointer": "projects/praxis-editorial-forms/src/lib/ai/praxis-editorial-forms-authoring-manifest.ts",
|
|
1371
|
+
"contentHash": "adfacafee488e156319c4698948f409f2b48e310c553b3084920af077272c01f",
|
|
1372
|
+
"sourceKind": "component_definition",
|
|
1373
|
+
"sourceId": "praxis-editorial-forms",
|
|
1374
|
+
"corpusVersion": "1.0.0"
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"chunkIndex": 5,
|
|
1378
|
+
"chunkKind": "authoring_manifest",
|
|
1379
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-editorial-forms\",\"ownerPackage\":\"@praxisui/editorial-forms\",\"configSchemaId\":\"EditorialRuntimeInput\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"dataBlock.add\",\"title\":\"Add editorial data block\",\"scope\":\"section\",\"targetKind\":\"dataBlock\",\"target\":{\"kind\":\"dataBlock\",\"resolver\":\"editorial-journey-step-block-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"journeyId\",\"stepId\",\"block\"],\"properties\":{\"journeyId\":{\"type\":\"string\"},\"stepId\":{\"type\":\"string\"},\"insert\":{\"type\":\"object\",\"properties\":{\"mode\":{\"enum\":[\"append\",\"insertBefore\",\"insertAfter\"]},\"relativeToBlockId\":{\"type\":\"string\"}}},\"block\":{\"type\":\"object\",\"required\":[\"blockId\",\"kind\"],\"properties\":{\"blockId\":{\"type\":\"string\"},\"kind\":{\"enum\":[\"dataCollection\",\"introHero\",\"selectionCards\",\"reviewSections\",\"successPanel\"]},\"formBlockId\":{\"type\":\"string\"},\"formConfigRef\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"visibility\":{\"type\":\"array\"}}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"editorial-data-block-add\",\"handlerContract\":{\"reads\":[\"EditorialSolutionDefinition.journeys\",\"EditorialResolvedStep.blocks\",\"EditorialDataBlockAdapterRegistry\"],\"writes\":[\"solution.journeys[].steps[].blocks\"],\"identityKeys\":[\"journeyId\",\"stepId\",\"block.blockId\"],\"failureModes\":[\"journey-not-found\",\"step-not-found\",\"duplicate-block-id\",\"data-collection-config-unresolved\",\"adapter-not-registered\"],\"description\":\"Adds a canonical editorial block to a step and validates dataCollection readiness without redefining Dynamic Form config semantics.\"}}],\"validators\":[\"data-block-id-unique\",\"journey-exists\",\"step-exists\",\"adapter-supports-data-block\",\"editorial-round-trip\"],\"affectedPaths\":[\"solution.journeys[].steps[].blocks\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"solution-loaded\"],\"destructive\":false,\"requiresConfirmation\":false},{\"operationId\":\"dataBlock.remove\",\"title\":\"Remove editorial data block\",\"scope\":\"section\",\"targetKind\":\"dataBlock\",\"target\":{\"kind\":\"dataBlock\",\"resolver\":\"editorial-journey-step-block-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"journeyId\",\"stepId\",\"blockId\"],\"properties\":{\"journeyId\":{\"type\":\"string\"},\"stepId\":{\"type\":\"string\"},\"blockId\":{\"type\":\"string\"},\"requireNoFieldBindings\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"editorial-data-block-remove\",\"handlerContract\":{\"reads\":[\"EditorialSolutionDefinition.journeys\",\"EditorialResolvedStep.blocks\",\"fieldBinding\"],\"writes\":[\"solution.journeys[].steps[].blocks\"],\"identityKeys\":[\"journeyId\",\"stepId\",\"blockId\"],\"failureModes\":[\"journey-not-found\",\"step-not-found\",\"block-not-found\",\"field-bindings-still-reference-block\"],\"description\":\"Removes a block by stable id and rejects removal when governed field bindings still reference the block.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"data-block-exists\",\"field-binding-target-exists\",\"editorial-round-trip\"],\"affectedPaths\":[\"solution.journeys[].steps[].blocks\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"solution-loaded\",\"explicit-confirmation-provided\"]},{\"operationId\":\"fieldBinding.set\",\"title\":\"Set editorial field binding\",\"scope\":\"fieldMetadataPath\",\"targetKind\":\"fieldBinding\",\"target\":{\"kind\":\"fieldBinding\",\"resolver\":\"editorial-data-block-field-binding\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"blockId\",\"fieldName\",\"contextPath\"],\"properties\":{\"blockId\":{\"type\":\"string\"},\"fieldName\":{\"type\":\"string\"},\"contextPath\":{\"type\":\"string\"},\"mode\":{\"enum\":[\"read\",\"write\",\"readWrite\"]},\"valueMode\":{\"enum\":[\"merge\",\"replace\"]},\"delegateFieldMetadataTo\":{\"enum\":[\"praxis-metadata-editor\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"editorial-field-binding-set\",\"handlerContract\":{\"reads\":[\"EditorialDataCollectionBlock\",\"resolvedFormConfig.fieldMetadata\",\"runtimeContext.formData\",\"PRAXIS_METADATA_EDITOR_AUTHORING_MANIFEST\"],\"writes\":[\"runtimeContext.formData\"],\"identityKeys\":[\"blockId\",\"fieldName\",\"contextPath\"],\"failureModes\":[\"block-not-found\",\"field-not-found\",\"context-path-invalid\",\"field-metadata-delegation-required\",\"domain-data-mutation-detected\"],\"description\":\"Sets the governed runtimeContext.formData path used by dataCollection adapters and delegates FieldMetadata shape changes to the metadata-editor manifest.\"}}],\"validators\":[\"field-binding-target-exists\",\"field-binding-path-valid\",\"delegates-field-metadata\",\"editorial-round-trip\"],\"affectedPaths\":[\"runtimeContext.formData\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"data-block-resolved\",\"field-metadata-loaded\"],\"destructive\":false,\"requiresConfirmation\":false}]}",
|
|
1380
|
+
"sourcePointer": "projects/praxis-editorial-forms/src/lib/ai/praxis-editorial-forms-authoring-manifest.ts",
|
|
1381
|
+
"contentHash": "c69fe3eb4b0b9d741bf53c32e5975e24ecf8a395a226681266d58d667e42cdf6",
|
|
1382
|
+
"sourceKind": "component_definition",
|
|
1383
|
+
"sourceId": "praxis-editorial-forms",
|
|
1384
|
+
"corpusVersion": "1.0.0"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"chunkIndex": 6,
|
|
1388
|
+
"chunkKind": "authoring_manifest",
|
|
1389
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-editorial-forms\",\"ownerPackage\":\"@praxisui/editorial-forms\",\"configSchemaId\":\"EditorialRuntimeInput\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"snapshot-shape-canonical\",\"level\":\"error\",\"code\":\"EDITORIAL_SNAPSHOT_SHAPE_CANONICAL\",\"description\":\"Resolved snapshot must remain compatible with EditorialRuntimeSnapshot.\"},{\"validatorId\":\"journey-exists\",\"level\":\"error\",\"code\":\"EDITORIAL_JOURNEY_EXISTS\",\"description\":\"Target journey must exist in the editorial solution.\"},{\"validatorId\":\"step-exists\",\"level\":\"error\",\"code\":\"EDITORIAL_STEP_EXISTS\",\"description\":\"Target step must exist in the selected journey.\"},{\"validatorId\":\"diagnostics-preserved\",\"level\":\"error\",\"code\":\"EDITORIAL_DIAGNOSTICS_PRESERVED\",\"description\":\"Patch compilation must not drop runtime diagnostics.\"},{\"validatorId\":\"fallback-explicit\",\"level\":\"error\",\"code\":\"EDITORIAL_FALLBACK_EXPLICIT\",\"description\":\"Fallback behavior must be explicit instead of implied by missing adapter or hidden diagnostics.\"},{\"validatorId\":\"fallback-diagnostic-backed\",\"level\":\"error\",\"code\":\"EDITORIAL_FALLBACK_DIAGNOSTIC_BACKED\",\"description\":\"Warning, degraded and blocked fallback states must be backed by diagnostics.\"},{\"validatorId\":\"fallback-scope-exists\",\"level\":\"error\",\"code\":\"EDITORIAL_FALLBACK_SCOPE_EXISTS\",\"description\":\"Fallback scope must resolve to an existing journey, step or block.\"},{\"validatorId\":\"presentation-supported-by-runtime\",\"level\":\"error\",\"code\":\"EDITORIAL_PRESENTATION_SUPPORTED\",\"description\":\"Presentation keys must be supported by the runtime or intentionally diagnosed as unsupported.\"},{\"validatorId\":\"presentation-does-not-mutate-domain-data\",\"level\":\"error\",\"code\":\"EDITORIAL_PRESENTATION_DOMAIN_SAFE\",\"description\":\"Presentation changes must not mutate solution journeys, blocks, field metadata or runtime context data.\"},{\"validatorId\":\"theme-tokens-valid\",\"level\":\"error\",\"code\":\"EDITORIAL_THEME_TOKENS_VALID\",\"description\":\"Theme tokens must be valid runtime CSS variable inputs.\"},{\"validatorId\":\"adapter-exists\",\"level\":\"error\",\"code\":\"EDITORIAL_ADAPTER_EXISTS\",\"description\":\"Requested adapter must exist in EditorialDataBlockAdapterRegistry.\"},{\"validatorId\":\"adapter-supports-data-block\",\"level\":\"error\",\"code\":\"EDITORIAL_ADAPTER_SUPPORTS_DATA_BLOCK\",\"description\":\"Requested adapter must support the target data block context.\"},{\"validatorId\":\"adapter-component-valid\",\"level\":\"error\",\"code\":\"EDITORIAL_ADAPTER_COMPONENT_VALID\",\"description\":\"Adapter component must expose the inputs required by the adapter contract.\"},{\"validatorId\":\"data-block-id-unique\",\"level\":\"error\",\"code\":\"EDITORIAL_DATA_BLOCK_ID_UNIQUE\",\"description\":\"Block ids must be unique within the resolved editorial step.\"},{\"validatorId\":\"data-block-exists\",\"level\":\"error\",\"code\":\"EDITORIAL_DATA_BLOCK_EXISTS\",\"description\":\"Target data block must exist before destructive or binding operations.\"},{\"validatorId\":\"field-binding-target-exists\",\"level\":\"error\",\"code\":\"EDITORIAL_FIELD_BINDING_TARGET_EXISTS\",\"description\":\"Field binding must target an existing dataCollection block and field.\"},{\"validatorId\":\"field-binding-path-valid\",\"level\":\"error\",\"code\":\"EDITORIAL_FIELD_BINDING_PATH_VALID\",\"description\":\"Field binding context path must be deterministic and inside governed runtime context data.\"},{\"validatorId\":\"delegates-field-metadata\",\"level\":\"error\",\"code\":\"EDITORIAL_DELEGATES_FIELD_METADATA\",\"description\":\"FieldMetadata shape changes must be delegated to the metadata-editor manifest instead of duplicated here.\"},{\"validatorId\":\"editorial-round-trip\",\"level\":\"error\",\"code\":\"EDITORIAL_ROUND_TRIP\",\"description\":\"Open, edit, apply/save, reopen and runtime consume must preserve the editorial document.\"}]}",
|
|
1390
|
+
"sourcePointer": "projects/praxis-editorial-forms/src/lib/ai/praxis-editorial-forms-authoring-manifest.ts",
|
|
1391
|
+
"contentHash": "eb8b53d4d24e4f951d0adf91b87a39373815a89a8c62b4c2279f6d8db76e1bd9",
|
|
1392
|
+
"sourceKind": "component_definition",
|
|
1393
|
+
"sourceId": "praxis-editorial-forms",
|
|
1394
|
+
"corpusVersion": "1.0.0"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"chunkIndex": 7,
|
|
1398
|
+
"chunkKind": "authoring_manifest",
|
|
1399
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-editorial-forms\",\"ownerPackage\":\"@praxisui/editorial-forms\",\"configSchemaId\":\"EditorialRuntimeInput\",\"chunkSection\":\"roundTripRequirements\",\"roundTripRequirements\":[\"EditorialRuntimeInput is the package-level authoring document; solution, instance and runtimeContext must resolve into EditorialRuntimeSnapshot without drift.\",\"Fallback behavior must be explicit and backed by diagnostics; missing adapters cannot be hidden as successful rendering.\",\"Presentation changes are constrained to solution.presentation and must not mutate journeys, blocks, FormConfig, FieldMetadata or runtimeContext domain data.\",\"dataCollection blocks require an adapter that exists and supports the requested context, while Dynamic Form config semantics remain owned by @praxisui/dynamic-form.\",\"FieldMetadata authoring is delegated to praxis-metadata-editor and dynamic-fields discovery; this manifest only governs editorial binding and orchestration.\",\"Destructive block removal requires confirmation and must reject references from existing field bindings.\"]}",
|
|
1400
|
+
"sourcePointer": "projects/praxis-editorial-forms/src/lib/ai/praxis-editorial-forms-authoring-manifest.ts",
|
|
1401
|
+
"contentHash": "29f7886bcc5783bf2e78a39ac09367cb555de06d465a0bf7e6250b3e53befdbc",
|
|
1402
|
+
"sourceKind": "component_definition",
|
|
1403
|
+
"sourceId": "praxis-editorial-forms",
|
|
1404
|
+
"corpusVersion": "1.0.0"
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"chunkIndex": 8,
|
|
1408
|
+
"chunkKind": "authoring_manifest",
|
|
1409
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-editorial-forms\",\"ownerPackage\":\"@praxisui/editorial-forms\",\"configSchemaId\":\"EditorialRuntimeInput\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"select-journey\",\"request\":\"Set the onboarding journey as the active editorial path.\",\"operationId\":\"snapshot.set\",\"params\":{\"solutionId\":\"customer-onboarding\",\"journeyId\":\"onboarding\"},\"isPositive\":true},{\"id\":\"merge-runtime-context\",\"request\":\"Prefill the runtime context with the selected plan.\",\"operationId\":\"snapshot.set\",\"params\":{\"solutionId\":\"plan-signup\",\"runtimeContextPatch\":{\"selectedPlan\":\"pro\"}},\"isPositive\":true},{\"id\":\"configure-blocked-fallback\",\"request\":\"Block progression when the required dataCollection adapter is missing.\",\"operationId\":\"fallback.configure\",\"params\":{\"mode\":\"blocked\",\"diagnosticCode\":\"data-collection-adapter-missing\",\"progressionBlocked\":true},\"isPositive\":true},{\"id\":\"configure-stepper\",\"request\":\"Use a vertical compact stepper with hidden descriptions.\",\"operationId\":\"presentation.configure\",\"params\":{\"layout\":{\"orientation\":\"vertical\",\"density\":\"compact\"},\"stepper\":{\"showDescriptions\":false}},\"isPositive\":true},{\"id\":\"bind-dynamic-form-adapter\",\"request\":\"Bind the dynamic-form adapter for dataCollection blocks.\",\"operationId\":\"adapter.bind\",\"params\":{\"adapterId\":\"dynamic-form\",\"dataBlockType\":\"dataCollection\",\"requiredInputs\":[\"config\",\"formId\",\"editorialContext\"],\"fallbackModeWhenMissing\":\"blocked\"},\"isPositive\":true},{\"id\":\"add-data-block\",\"request\":\"Add a consent form block to the review step.\",\"operationId\":\"dataBlock.add\",\"params\":{\"journeyId\":\"privacy\",\"stepId\":\"review\",\"block\":{\"blockId\":\"consent-form\",\"kind\":\"dataCollection\",\"formBlockId\":\"consent-form\"}},\"isPositive\":true},{\"id\":\"remove-block\",\"request\":\"Remove the unused legacy consent block.\",\"operationId\":\"dataBlock.remove\",\"params\":{\"journeyId\":\"privacy\",\"stepId\":\"review\",\"blockId\":\"legacy-consent\",\"requireNoFieldBindings\":true},\"isPositive\":true},{\"id\":\"set-field-binding\",\"request\":\"Bind the email field into runtimeContext.formData.email.\",\"operationId\":\"fieldBinding.set\",\"params\":{\"blockId\":\"contact-form\",\"fieldName\":\"email\",\"contextPath\":\"formData.email\",\"mode\":\"readWrite\",\"delegateFieldMetadataTo\":\"praxis-metadata-editor\"},\"isPositive\":true},{\"id\":\"reject-presentation-domain-mutation\",\"request\":\"Change presentation and also rewrite the collected email value.\",\"operationId\":\"presentation.configure\",\"params\":{\"layout\":{\"density\":\"relaxed\"},\"runtimeContextPatch\":{\"formData\":{\"email\":\"changed@example.com\"}}},\"isPositive\":false},{\"id\":\"reject-missing-adapter\",\"request\":\"Render a dataCollection block with an adapter that is not registered.\",\"operationId\":\"adapter.bind\",\"params\":{\"adapterId\":\"unknown-form-engine\",\"dataBlockType\":\"dataCollection\"},\"isPositive\":false},{\"id\":\"reject-duplicate-block\",\"request\":\"Add another block using the existing consent-form id.\",\"operationId\":\"dataBlock.add\",\"params\":{\"journeyId\":\"privacy\",\"stepId\":\"review\",\"block\":{\"blockId\":\"consent-form\",\"kind\":\"dataCollection\",\"formBlockId\":\"consent-form-copy\"}},\"isPositive\":false},{\"id\":\"reject-field-metadata-duplication\",\"request\":\"Change the control type inside editorial forms instead of metadata editor.\",\"operationId\":\"fieldBinding.set\",\"params\":{\"blockId\":\"contact-form\",\"fieldName\":\"email\",\"contextPath\":\"formData.email\",\"controlType\":\"select\"},\"isPositive\":false}]}",
|
|
1410
|
+
"sourcePointer": "projects/praxis-editorial-forms/src/lib/ai/praxis-editorial-forms-authoring-manifest.ts",
|
|
1411
|
+
"contentHash": "5af425504f214993b428cb55e33b396823fbba79bd71f39ad84501351ba8e9e8",
|
|
1342
1412
|
"sourceKind": "component_definition",
|
|
1343
1413
|
"sourceId": "praxis-editorial-forms",
|
|
1344
1414
|
"corpusVersion": "1.0.0"
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/editorial-forms",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.78",
|
|
4
4
|
"description": "Editorial form runtime for Praxis UI: journeys, presets, semantic blocks, and specialist hosting for editorial experiences.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
|
-
"@praxisui/core": "^9.0.0-beta.
|
|
8
|
+
"@praxisui/core": "^9.0.0-beta.78",
|
|
9
9
|
"@angular/material": "^21.0.0"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|