semiotic 3.9.2 → 3.10.1
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/README.md +97 -76
- package/agent-skill/semiotic-charts/SKILL.md +13 -7
- package/ai/artifact-contract-reference.md +408 -0
- package/ai/artifact-surface-inventory.json +5586 -0
- package/ai/behaviorContracts.cjs +24 -2
- package/ai/cli.js +480 -56
- package/ai/componentMetadata.cjs +3 -1
- package/ai/dist/mcp-server.js +68 -68
- package/ai/examples.md +68 -1
- package/ai/reference.md +105 -14
- package/ai/schema.json +6646 -18
- package/ai/surface-manifest.json +34 -6
- package/ai/system-prompt.md +2 -0
- package/ai/task-packets/compare-category-totals.json +301 -0
- package/ai/task-packets/compare-category-totals.md +188 -0
- package/ai/task-packets/correct-published-chart.json +271 -0
- package/ai/task-packets/correct-published-chart.md +597 -0
- package/ai/task-packets/index.json +40 -0
- package/ai/task-packets/update-live-chart.json +289 -0
- package/ai/task-packets/update-live-chart.md +424 -0
- package/dist/c-2N7IU2NY.min.js +1 -0
- package/dist/c-2RL2QPZJ.min.js +1 -0
- package/dist/c-2WK7YJLL.min.js +1 -0
- package/dist/c-42PLDTX7.min.js +1 -0
- package/dist/c-45CQWZZ6.min.js +1 -0
- package/dist/c-4BRHKVKV.min.js +1 -0
- package/dist/c-7242NXSG.min.js +1 -0
- package/dist/c-7DVPSB5C.min.js +1 -0
- package/dist/c-7EGHJU2F.min.js +1 -0
- package/dist/c-A7OGOFSL.min.js +1 -0
- package/dist/c-AFBSWT77.min.js +1 -0
- package/dist/c-AH5HWZWS.min.js +1 -0
- package/dist/c-AJ7EC32V.min.js +1 -0
- package/dist/c-AQADQNY7.min.js +1 -0
- package/dist/c-ATM475SA.min.js +1 -0
- package/dist/c-AVO3Q7T7.min.js +1 -0
- package/dist/c-B7GW7IHJ.min.js +1 -0
- package/dist/c-BNFJMDHN.min.js +1 -0
- package/dist/c-BOHCQILI.min.js +1 -0
- package/dist/c-C3TZLTZK.min.js +1 -0
- package/dist/c-CGQAQWBV.min.js +1 -0
- package/dist/c-CPV4N35K.min.js +1 -0
- package/dist/c-D6HAAPTX.min.js +1 -0
- package/dist/c-DIPEYUOW.min.js +1 -0
- package/dist/c-E4JDJH4I.min.js +1 -0
- package/dist/c-E72OTUZU.min.js +1 -0
- package/dist/c-E7I2L7CU.min.js +1 -0
- package/dist/c-ELDWAO2V.min.js +1 -0
- package/dist/c-EUBTECGM.min.js +1 -0
- package/dist/c-EUMPMDCS.min.js +1 -0
- package/dist/c-EZZT2WAE.min.js +1 -0
- package/dist/c-FHBVFCQB.min.js +1 -0
- package/dist/c-G4HCO2IQ.min.js +1 -0
- package/dist/c-G5VIJEOK.min.js +1 -0
- package/dist/c-GHVOXAYH.min.js +1 -0
- package/dist/c-GNTXRXRN.min.js +1 -0
- package/dist/c-GXV3C3MO.min.js +1 -0
- package/dist/c-HHTK2R75.min.js +1 -0
- package/dist/c-HLLFJYTY.min.js +1 -0
- package/dist/c-HP4ZFM47.min.js +1 -0
- package/dist/c-HPOYKCCG.min.js +1 -0
- package/dist/c-HYDTS5OP.min.js +1 -0
- package/dist/c-I4QJ6YLM.min.js +1 -0
- package/dist/c-IK33LNZ6.min.js +1 -0
- package/dist/c-IK3PZHRY.min.js +1 -0
- package/dist/c-J6DVC236.min.js +1 -0
- package/dist/c-JIMJF6F6.min.js +1 -0
- package/dist/c-JUKIWTBJ.min.js +1 -0
- package/dist/c-KKPMHAZC.min.js +1 -0
- package/dist/c-L6WNDBHV.min.js +1 -0
- package/dist/c-LDEX5OFW.min.js +1 -0
- package/dist/c-LESEUVC5.min.js +1 -0
- package/dist/c-LYQMZMZQ.min.js +1 -0
- package/dist/c-MB6CV5NC.min.js +1 -0
- package/dist/c-MOKJOIPE.min.js +1 -0
- package/dist/c-MVR3RWF3.min.js +1 -0
- package/dist/c-N3FXLRNT.min.js +1 -0
- package/dist/c-N5NPTJVJ.min.js +1 -0
- package/dist/c-NHBL4J67.min.js +1 -0
- package/dist/c-ODG6TFSY.min.js +1 -0
- package/dist/c-ORLEBW72.min.js +1 -0
- package/dist/c-P65V6HLO.min.js +1 -0
- package/dist/c-PRIKOLTE.min.js +1 -0
- package/dist/c-PSKKFZNP.min.js +1 -0
- package/dist/c-PSNI6KAZ.min.js +1 -0
- package/dist/c-QA3HMQJP.min.js +1 -0
- package/dist/c-R2P4RR7Q.min.js +1 -0
- package/dist/c-RFC7UAG7.min.js +1 -0
- package/dist/c-S3AZX5PP.min.js +1 -0
- package/dist/c-SGAURYHG.min.js +1 -0
- package/dist/c-SJMWU6UX.min.js +1 -0
- package/dist/c-STIIGQOD.min.js +1 -0
- package/dist/c-T2ASIJVZ.min.js +1 -0
- package/dist/c-T2V7O2LO.min.js +1 -0
- package/dist/c-TKG2NP7G.min.js +1 -0
- package/dist/c-TX3THUTO.min.js +1 -0
- package/dist/c-TX7XJM3Z.min.js +1 -0
- package/dist/c-UC7SIU2W.min.js +1 -0
- package/dist/c-UMXSJIOV.min.js +1 -0
- package/dist/c-VJTDST2R.min.js +1 -0
- package/dist/c-VRSXMLYF.min.js +1 -0
- package/dist/c-VSLWSAN2.min.js +1 -0
- package/dist/c-VXLOLYTO.min.js +1 -0
- package/dist/c-W4ZUKSEQ.min.js +1 -0
- package/dist/c-WCBRPILW.min.js +1 -0
- package/dist/c-WGHT7OCY.min.js +1 -0
- package/dist/c-WUWXGQYA.min.js +1 -0
- package/dist/c-WWCW3APR.min.js +1 -0
- package/dist/{c-CKLIFCGN.min.js → c-XSB27XPS.min.js} +1 -1
- package/dist/c-Y6PYUMFU.min.js +1 -0
- package/dist/c-YDECTEUW.min.js +1 -0
- package/dist/c-YF3YKVQI.min.js +1 -0
- package/dist/c-YLZIV3VS.min.js +1 -0
- package/dist/c-ZIVPFTOC.min.js +1 -0
- package/dist/components/Annotation.d.ts +2 -1
- package/dist/components/ai/chartRecipeRegistry.d.ts +6 -1
- package/dist/components/ai/chartRecipes.d.ts +4 -0
- package/dist/components/ai/describePhysicsProjection.d.ts +18 -0
- package/dist/components/ai/describePhysicsSource.d.ts +13 -0
- package/dist/components/artifact/ArtifactInspector.d.ts +26 -0
- package/dist/components/artifact/ArtifactInspectorContextSections.d.ts +18 -0
- package/dist/components/artifact/artifactContractDiff.d.ts +8 -0
- package/dist/components/artifact/artifactInspectorSummary.d.ts +53 -0
- package/dist/components/artifact/artifactRevision.d.ts +54 -0
- package/dist/components/artifact/artifactTestFixtures.d.ts +17 -0
- package/dist/components/artifact/attachmentAudit.d.ts +13 -0
- package/dist/components/artifact/claimCorrections.d.ts +3 -0
- package/dist/components/artifact/claimGraph.d.ts +5 -0
- package/dist/components/artifact/claimLifecycle.d.ts +32 -0
- package/dist/components/artifact/claims.d.ts +24 -0
- package/dist/components/artifact/collection.d.ts +10 -0
- package/dist/components/artifact/collectionCorrectionScope.d.ts +4 -0
- package/dist/components/artifact/collectionImpact.d.ts +11 -0
- package/dist/components/artifact/collectionLineage.d.ts +3 -0
- package/dist/components/artifact/collectionOperations.d.ts +8 -0
- package/dist/components/artifact/collectionPolicy.d.ts +22 -0
- package/dist/components/artifact/collectionTypes.d.ts +117 -0
- package/dist/components/artifact/configurationRepair.d.ts +8 -0
- package/dist/components/artifact/contract.d.ts +30 -0
- package/dist/components/artifact/evaluateArtifact.d.ts +12 -0
- package/dist/components/artifact/evaluateArtifactTypes.d.ts +78 -0
- package/dist/components/artifact/evaluationPresentation.d.ts +9 -0
- package/dist/components/artifact/evidenceSample.d.ts +8 -0
- package/dist/components/artifact/exportPaths.d.ts +8 -0
- package/dist/components/artifact/fieldPolicies.d.ts +12 -0
- package/dist/components/artifact/fingerprint.d.ts +36 -0
- package/dist/components/artifact/grounding.d.ts +51 -0
- package/dist/components/artifact/groundingBudget.d.ts +38 -0
- package/dist/components/artifact/hostTransfer.d.ts +13 -0
- package/dist/components/artifact/identity.d.ts +19 -0
- package/dist/components/artifact/inheritance.d.ts +48 -0
- package/dist/components/artifact/inheritanceIntegrity.d.ts +3 -0
- package/dist/components/artifact/jsonCompatibility.d.ts +2 -0
- package/dist/components/artifact/obligations.d.ts +3 -0
- package/dist/components/artifact/policies.d.ts +45 -0
- package/dist/components/artifact/policyRelations.d.ts +3 -0
- package/dist/components/artifact/recordProjection.d.ts +7 -0
- package/dist/components/artifact/representation.d.ts +50 -0
- package/dist/components/artifact/serialization.d.ts +40 -0
- package/dist/components/artifact/temporal.d.ts +32 -0
- package/dist/components/artifact/temporalAdapters.d.ts +75 -0
- package/dist/components/artifact/temporalAuditHelpers.d.ts +12 -0
- package/dist/components/artifact/temporalPresentation.d.ts +8 -0
- package/dist/components/artifact/types.d.ts +341 -0
- package/dist/components/artifact/validation.d.ts +13 -0
- package/dist/components/artifact/validationFieldStatus.d.ts +7 -0
- package/dist/components/artifact/validationPrimitives.d.ts +24 -0
- package/dist/components/artifact/validationSurfaces.d.ts +7 -0
- package/dist/components/artifact/validationTemporal.d.ts +3 -0
- package/dist/components/charts/geo/FlowMap.d.ts +7 -0
- package/dist/components/charts/geo/flowMapLineStyle.d.ts +18 -0
- package/dist/components/charts/ordinal/DonutChart.d.ts +2 -0
- package/dist/components/charts/ordinal/FunnelChart.d.ts +2 -0
- package/dist/components/charts/ordinal/GroupedBarChart.d.ts +6 -0
- package/dist/components/charts/ordinal/PieChart.d.ts +2 -0
- package/dist/components/charts/ordinal/RadarChart.d.ts +2 -0
- package/dist/components/charts/ordinal/StackedBarChart.d.ts +6 -0
- package/dist/components/charts/physics/CollisionSwarmChart.d.ts +1 -1
- package/dist/components/charts/physics/EventDropChart.d.ts +3 -1
- package/dist/components/charts/physics/GaltonBoardChart.d.ts +4 -2
- package/dist/components/charts/physics/ProcessFlowChart.d.ts +6 -0
- package/dist/components/charts/physics/UnitPileChart.d.ts +2 -1
- package/dist/components/charts/physics/collisionSwarmPacking.d.ts +14 -0
- package/dist/components/charts/physics/collisionSwarmPhysics.d.ts +1 -0
- package/dist/components/charts/physics/eventDropAdmission.d.ts +32 -0
- package/dist/components/charts/physics/eventDropPhysics.d.ts +22 -1
- package/dist/components/charts/physics/galtonBoardPhysics.d.ts +2 -9
- package/dist/components/charts/physics/physicsChartReconcile.d.ts +4 -0
- package/dist/components/charts/physics/physicsChartUtils.d.ts +1 -1
- package/dist/components/charts/physics/physicsGaltonData.d.ts +10 -0
- package/dist/components/charts/physics/physicsHocHandle.d.ts +2 -0
- package/dist/components/charts/physics/physicsPileData.d.ts +11 -0
- package/dist/components/charts/physics/physicsPilePhysics.d.ts +5 -12
- package/dist/components/charts/physics/physicsProjectionOverlays.d.ts +1 -1
- package/dist/components/charts/physics/physicsSourceRows.d.ts +8 -0
- package/dist/components/charts/physics/usePhysicsChartData.d.ts +19 -0
- package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +4 -0
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +14 -6
- package/dist/components/charts/realtime/RealtimeLineChart.d.ts +4 -0
- package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +4 -0
- package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +4 -0
- package/dist/components/charts/realtime/realtimeAccessors.d.ts +4 -0
- package/dist/components/charts/realtime/realtimeChartRuntime.d.ts +8 -7
- package/dist/components/charts/realtime/realtimeChartTypes.d.ts +7 -0
- package/dist/components/charts/realtime/temporalHistogramConfig.d.ts +17 -11
- package/dist/components/charts/shared/GaugeReadout.d.ts +9 -0
- package/dist/components/charts/shared/ThresholdAnnotation.d.ts +18 -0
- package/dist/components/charts/shared/ThresholdEndCap.d.ts +7 -0
- package/dist/components/charts/shared/auditAccessibilityText.d.ts +4 -2
- package/dist/components/charts/shared/chartDataProps.d.ts +3 -0
- package/dist/components/charts/shared/chartSpecAtlasSchemas.d.ts +5 -0
- package/dist/components/charts/shared/chartSpecCore.d.ts +4 -0
- package/dist/components/charts/shared/chartSpecsAtlas.d.ts +2 -0
- package/dist/components/charts/shared/hooks.d.ts +3 -1
- package/dist/components/charts/shared/knownChartComponents.d.ts +1 -1
- package/dist/components/charts/shared/numericTickFormatter.d.ts +2 -0
- package/dist/components/charts/shared/radialCenterContent.d.ts +10 -0
- package/dist/components/charts/shared/tooltipUtils.d.ts +1 -1
- package/dist/components/charts/shared/useChartLegend.d.ts +4 -0
- package/dist/components/charts/shared/useXYPointStyle.d.ts +2 -0
- package/dist/components/charts/xy/BubbleChart.d.ts +7 -0
- package/dist/components/charts/xy/CandlestickChart.d.ts +7 -0
- package/dist/components/charts/xy/DifferenceChart.d.ts +7 -0
- package/dist/components/charts/xy/MinimapChart.d.ts +7 -0
- package/dist/components/charts/xy/MultiAxisLineChart.d.ts +7 -0
- package/dist/components/charts/xy/ScatterplotMatrix.d.ts +6 -0
- package/dist/components/charts/xy/WaterfallChart.d.ts +8 -0
- package/dist/components/charts/xy/differenceMarkStyle.d.ts +28 -0
- package/dist/components/charts/xy/multiAxisFields.d.ts +23 -0
- package/dist/components/charts/xy/scatterplotMatrixCells.d.ts +50 -0
- package/dist/components/evidence/chartEvidenceEnvelope.d.ts +16 -8
- package/dist/components/evidence/evidenceEnvelopeInput.d.ts +8 -0
- package/dist/components/evidence/evidenceEnvelopeValidation.d.ts +11 -0
- package/dist/components/evidence/evidenceGate.d.ts +3 -1
- package/dist/components/evidence/renderedSceneHash.d.ts +23 -0
- package/dist/components/evidence/stableJsonHash.d.ts +4 -0
- package/dist/components/export/chartConfig.d.ts +40 -5
- package/dist/components/export/chartConfigArtifact.d.ts +6 -0
- package/dist/components/legendLayout.d.ts +18 -0
- package/dist/components/legendStyles.d.ts +4 -0
- package/dist/components/recipes/atlas/DependencyForestChart.d.ts +20 -0
- package/dist/components/recipes/atlas/DependencyMatrix.d.ts +7 -0
- package/dist/components/recipes/atlas/FlowCircuitChart.d.ts +20 -0
- package/dist/components/recipes/atlas/MotifBraidChart.d.ts +17 -0
- package/dist/components/recipes/atlas/atlasChartOptions.d.ts +11 -0
- package/dist/components/recipes/atlas/braid.d.ts +62 -0
- package/dist/components/recipes/atlas/capsules.d.ts +18 -0
- package/dist/components/recipes/atlas/compare.d.ts +4 -0
- package/dist/components/recipes/atlas/completeness.d.ts +2 -0
- package/dist/components/recipes/atlas/dependencyForest.d.ts +32 -0
- package/dist/components/recipes/atlas/dependencyForestChartProps.d.ts +58 -0
- package/dist/components/recipes/atlas/dependencyForestLayout.d.ts +17 -0
- package/dist/components/recipes/atlas/dependencyQueries.d.ts +20 -0
- package/dist/components/recipes/atlas/dependencyTypes.d.ts +21 -0
- package/dist/components/recipes/atlas/directedGraph.d.ts +9 -0
- package/dist/components/recipes/atlas/entityCounts.d.ts +3 -0
- package/dist/components/recipes/atlas/flowCircuit.d.ts +32 -0
- package/dist/components/recipes/atlas/flowCircuitChartProps.d.ts +72 -0
- package/dist/components/recipes/atlas/flowCircuitChrome.d.ts +18 -0
- package/dist/components/recipes/atlas/flowCircuitGeometry.d.ts +11 -0
- package/dist/components/recipes/atlas/flowCircuitLayout.d.ts +20 -0
- package/dist/components/recipes/atlas/flowCircuitSemantics.d.ts +26 -0
- package/dist/components/recipes/atlas/flowCircuitTape.d.ts +22 -0
- package/dist/components/recipes/atlas/flowCircuitTypes.d.ts +144 -0
- package/dist/components/recipes/atlas/forests.d.ts +11 -0
- package/dist/components/recipes/atlas/ids.d.ts +6 -0
- package/dist/components/recipes/atlas/index.d.ts +26 -0
- package/dist/components/recipes/atlas/ledger.d.ts +7 -0
- package/dist/components/recipes/atlas/motifBraidChartProps.d.ts +51 -0
- package/dist/components/recipes/atlas/motifBraidGeometry.d.ts +5 -0
- package/dist/components/recipes/atlas/motifBraidLayout.d.ts +11 -0
- package/dist/components/recipes/atlas/motifs.d.ts +3 -0
- package/dist/components/recipes/atlas/prefixForest.d.ts +9 -0
- package/dist/components/recipes/atlas/prepare.d.ts +14 -0
- package/dist/components/recipes/atlas/prepareAsync.d.ts +7 -0
- package/dist/components/recipes/atlas/profile.d.ts +19 -0
- package/dist/components/recipes/atlas/publish.d.ts +10 -0
- package/dist/components/recipes/atlas/queries.d.ts +34 -0
- package/dist/components/recipes/atlas/requiredPaths.d.ts +9 -0
- package/dist/components/recipes/atlas/rootedForest.d.ts +4 -0
- package/dist/components/recipes/atlas/sections.d.ts +3 -0
- package/dist/components/recipes/atlas/support.d.ts +7 -0
- package/dist/components/recipes/atlas/types.d.ts +278 -0
- package/dist/components/recipes/atlas/validate.d.ts +12 -0
- package/dist/components/recipes/firstAvailableTrack.d.ts +17 -0
- package/dist/components/recipes/intervals.d.ts +1 -1
- package/dist/components/semiotic-ai-core.d.ts +33 -22
- package/dist/components/semiotic-ai.d.ts +15 -3
- package/dist/components/semiotic-artifact-react.d.ts +10 -0
- package/dist/components/semiotic-artifact.d.ts +23 -0
- package/dist/components/semiotic-atlas-core.d.ts +20 -0
- package/dist/components/semiotic-atlas.d.ts +8 -0
- package/dist/components/semiotic-experimental.d.ts +1 -1
- package/dist/components/semiotic-physics.d.ts +4 -4
- package/dist/components/semiotic-recipes-core.d.ts +9 -0
- package/dist/components/semiotic-text.d.ts +2 -0
- package/dist/components/semiotic-utils-core.d.ts +18 -18
- package/dist/components/semiotic.d.ts +3 -3
- package/dist/components/server/renderEvidence.d.ts +12 -0
- package/dist/components/server/renderToStaticSVG.d.ts +3 -0
- package/dist/components/server/serverChartConfigs.d.ts +3 -0
- package/dist/components/server/serverChartConfigsAtlas.d.ts +4 -0
- package/dist/components/server/staticSVGChrome.d.ts +1 -4
- package/dist/components/server/staticXYAxisTicks.d.ts +2 -38
- package/dist/components/server/staticXYGrid.d.ts +1 -1
- package/dist/components/server/svgSizing.d.ts +6 -0
- package/dist/components/shared/svgRoot.d.ts +17 -0
- package/dist/components/store/selectionProvenance.d.ts +6 -0
- package/dist/components/stream/GeoSVGOverlay.d.ts +4 -0
- package/dist/components/stream/NetworkPipelineStore.d.ts +1 -0
- package/dist/components/stream/NetworkSVGOverlay.d.ts +4 -0
- package/dist/components/stream/OrdinalSVGOverlay.d.ts +4 -0
- package/dist/components/stream/SVGOverlay.d.ts +4 -0
- package/dist/components/stream/SceneToSVG.d.ts +4 -19
- package/dist/components/stream/SceneToSVGXY.d.ts +13 -0
- package/dist/components/stream/StreamGeoFrame.d.ts +1 -2
- package/dist/components/stream/StreamOrdinalFrame.d.ts +1 -2
- package/dist/components/stream/XYGrid.d.ts +11 -0
- package/dist/components/stream/axisTickUtils.d.ts +0 -1
- package/dist/components/stream/canvasSetup.d.ts +1 -2
- package/dist/components/stream/fontLoading.d.ts +4 -0
- package/dist/components/stream/hitTestUtils.d.ts +2 -0
- package/dist/components/stream/networkCustomLayout.d.ts +8 -0
- package/dist/components/stream/networkCustomLayoutCache.d.ts +12 -0
- package/dist/components/stream/networkPipelineConfig.d.ts +0 -7
- package/dist/components/stream/overlayAccessibleText.d.ts +18 -0
- package/dist/components/stream/physics/PhysicsControllers.d.ts +1 -1
- package/dist/components/stream/physics/PhysicsKernel.d.ts +9 -0
- package/dist/components/stream/physics/PhysicsPipelineStore.d.ts +5 -4
- package/dist/components/stream/physics/PhysicsPipelineTypes.d.ts +9 -0
- package/dist/components/stream/physics/StreamPhysicsTypes.d.ts +3 -0
- package/dist/components/stream/physics/physicsCanvasCoordinates.d.ts +5 -0
- package/dist/components/stream/physics/physicsFixedPosition.d.ts +16 -0
- package/dist/components/stream/physics/physicsKernelCloning.d.ts +6 -0
- package/dist/components/stream/physics/physicsPipelineObservations.d.ts +2 -0
- package/dist/components/stream/physics/physicsPipelineSettle.d.ts +15 -9
- package/dist/components/stream/physics/physicsRegionRuntime.d.ts +8 -17
- package/dist/components/stream/physics/physicsSemanticUI.d.ts +11 -0
- package/dist/components/stream/physics/usePhysicsCanvasPointer.d.ts +3 -1
- package/dist/components/stream/physics/usePhysicsSemanticNavigation.d.ts +2 -0
- package/dist/components/stream/pipelineConfig.d.ts +4 -0
- package/dist/components/stream/pipelineStoreUpdateResults.d.ts +1 -1
- package/dist/components/stream/resolveXYAxes.d.ts +13 -0
- package/dist/components/stream/sceneToSVGShared.d.ts +2 -1
- package/dist/components/stream/seriesGeometry.d.ts +13 -0
- package/dist/components/stream/shallowEqual.d.ts +2 -0
- package/dist/components/stream/streamEncodingTypes.d.ts +53 -0
- package/dist/components/stream/types.d.ts +4 -53
- package/dist/components/stream/useEnsureCustomXYRenderers.d.ts +4 -2
- package/dist/components/stream/useGeoFrameHandle.d.ts +16 -0
- package/dist/components/stream/useOrdinalFrameHandle.d.ts +15 -0
- package/dist/components/stream/useXYFrameHandle.d.ts +15 -0
- package/dist/components/stream/xyAxisTicks.d.ts +25 -0
- package/dist/components/stream/xyDateTicks.d.ts +3 -2
- package/dist/components/stream/xyFrameAxisTypes.d.ts +2 -0
- package/dist/components/stream/xySceneBuilders/ribbonScene.d.ts +1 -1
- package/dist/components/stream/xySceneBuilders/types.d.ts +1 -0
- package/dist/components/text/annotationTextLayout.d.ts +28 -0
- package/dist/components/text/pretextAnnotationLayout.d.ts +29 -0
- package/dist/components/text/usePretextAnnotations.d.ts +12 -0
- package/dist/controls.module.min.js +1 -1
- package/dist/geo.min.js +1 -1
- package/dist/geo.module.min.js +1 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/physics-matter.min.js +1 -1
- package/dist/physics-matter.module.min.js +1 -1
- package/dist/physics-rapier.min.js +1 -1
- package/dist/physics-rapier.module.min.js +1 -1
- package/dist/physics.module.min.js +1 -1
- package/dist/physicsWorker.js +1 -1
- package/dist/processSankeyLayoutWorker.js +1 -1
- package/dist/rough.min.js +1 -1
- package/dist/rough.module.min.js +1 -1
- package/dist/semiotic-access.module.min.js +1 -1
- package/dist/semiotic-ai-artifact-policy-constants.module.min.js +2 -0
- package/dist/semiotic-ai-core.d.ts +33 -22
- package/dist/semiotic-ai-core.min.js +1 -1
- package/dist/semiotic-ai-core.module.min.js +1 -1
- package/dist/semiotic-ai-hash-primitives.module.min.js +2 -0
- package/dist/semiotic-ai.d.ts +15 -3
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-artifact-react.d.ts +10 -0
- package/dist/semiotic-artifact-react.min.js +2 -0
- package/dist/semiotic-artifact-react.module.min.js +2 -0
- package/dist/semiotic-artifact.d.ts +23 -0
- package/dist/semiotic-artifact.min.js +1 -0
- package/dist/semiotic-artifact.module.min.js +1 -0
- package/dist/semiotic-atlas-core.d.ts +20 -0
- package/dist/semiotic-atlas-core.min.js +1 -0
- package/dist/semiotic-atlas-core.module.min.js +1 -0
- package/dist/semiotic-atlas-selection.module.min.js +2 -0
- package/dist/semiotic-atlas.d.ts +8 -0
- package/dist/semiotic-atlas.min.js +2 -0
- package/dist/semiotic-atlas.module.min.js +2 -0
- package/dist/semiotic-client-cjs-shared.min.js +1 -1
- package/dist/semiotic-client-glyph.module.min.js +1 -1
- package/dist/semiotic-client-responsive.module.min.js +1 -1
- package/dist/semiotic-client-shared.module.min.js +1 -1
- package/dist/semiotic-custom-layout-selection-cjs-shared.min.js +1 -1
- package/dist/semiotic-data.min.js +1 -1
- package/dist/semiotic-data.module.min.js +1 -1
- package/dist/semiotic-evidence.min.js +1 -1
- package/dist/semiotic-evidence.module.min.js +1 -1
- package/dist/semiotic-experimental-auxiliary.module.min.js +1 -1
- package/dist/semiotic-experimental-node-auxiliary.module.min.js +1 -1
- package/dist/semiotic-experimental-react-shared.module.min.js +1 -1
- package/dist/semiotic-experimental-vacp.min.js +1 -1
- package/dist/semiotic-experimental-vacp.module.min.js +1 -1
- package/dist/semiotic-experimental.d.ts +1 -1
- package/dist/semiotic-line.module.min.js +1 -1
- package/dist/semiotic-physics.d.ts +4 -4
- package/dist/semiotic-realtime-core.module.min.js +1 -1
- package/dist/semiotic-realtime-react.module.min.js +1 -1
- package/dist/semiotic-recipes-core-cjs-base.min.js +1 -1
- package/dist/semiotic-recipes-core.d.ts +9 -0
- package/dist/semiotic-recipes-core.module.min.js +1 -1
- package/dist/semiotic-recipes-geo-cjs.min.js +1 -1
- package/dist/semiotic-recipes-react.min.js +1 -1
- package/dist/semiotic-server-edge-node.module.min.js +1 -1
- package/dist/semiotic-server-edge.min.js +1 -1
- package/dist/semiotic-server-edge.module.min.js +1 -1
- package/dist/semiotic-server-node.min.js +1 -1
- package/dist/semiotic-server-node.module.min.js +1 -1
- package/dist/semiotic-text.d.ts +2 -0
- package/dist/semiotic-text.min.js +2 -0
- package/dist/semiotic-text.module.min.js +2 -0
- package/dist/semiotic-themes-core.min.js +1 -1
- package/dist/semiotic-themes-core.module.min.js +1 -1
- package/dist/semiotic-themes.min.js +1 -1
- package/dist/semiotic-themes.module.min.js +1 -1
- package/dist/semiotic-utils-core.d.ts +18 -18
- package/dist/semiotic-utils-core.min.js +1 -1
- package/dist/semiotic-utils-core.module.min.js +1 -1
- package/dist/semiotic-value.module.min.js +1 -1
- package/dist/semiotic.d.ts +3 -3
- package/dist/semiotic.module.min.js +1 -1
- package/dist/server.min.js +1 -1
- package/dist/server.module.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +70 -14
- package/spec/README.md +8 -3
- package/spec/v0.1/artifact-contract.schema.json +2299 -0
- package/spec/v0.1/examples/artifact-contract-full.json +369 -0
- package/spec/v0.1/examples/artifact-contract-unknown-state.json +46 -0
- package/dist/c-3BLJEQNG.min.js +0 -1
- package/dist/c-3SCUN5HI.min.js +0 -1
- package/dist/c-3VVKFA4M.min.js +0 -1
- package/dist/c-43TJZS3F.min.js +0 -1
- package/dist/c-4DTZPSUD.min.js +0 -1
- package/dist/c-4ES5367Y.min.js +0 -1
- package/dist/c-52TEGIUJ.min.js +0 -1
- package/dist/c-54IRWOGM.min.js +0 -1
- package/dist/c-5D2S4RMI.min.js +0 -1
- package/dist/c-5JWCTX3G.min.js +0 -1
- package/dist/c-6CMMSN6N.min.js +0 -1
- package/dist/c-6HRB2L7H.min.js +0 -1
- package/dist/c-6O5EVOPH.min.js +0 -1
- package/dist/c-7W4SV36A.min.js +0 -1
- package/dist/c-A4WRGZFX.min.js +0 -1
- package/dist/c-AG7WWVIH.min.js +0 -1
- package/dist/c-AH6J4MTN.min.js +0 -1
- package/dist/c-AKAF6JAD.min.js +0 -1
- package/dist/c-ALYR5LKK.min.js +0 -1
- package/dist/c-BBKITSXB.min.js +0 -1
- package/dist/c-BYDPC44I.min.js +0 -1
- package/dist/c-CFFIU2MW.min.js +0 -1
- package/dist/c-CGNHBHCE.min.js +0 -1
- package/dist/c-CJYSXIFV.min.js +0 -1
- package/dist/c-CZF7MV67.min.js +0 -1
- package/dist/c-D53OKBSY.min.js +0 -1
- package/dist/c-DADXPJXV.min.js +0 -1
- package/dist/c-DBQ2V7CH.min.js +0 -1
- package/dist/c-DPMVAUAW.min.js +0 -1
- package/dist/c-ECJCKLYY.min.js +0 -1
- package/dist/c-EGATGOWJ.min.js +0 -1
- package/dist/c-EGR6VYBW.min.js +0 -1
- package/dist/c-ESNR43AN.min.js +0 -1
- package/dist/c-F3LIKINL.min.js +0 -1
- package/dist/c-F5ZB5GJ6.min.js +0 -1
- package/dist/c-G36WS6LN.min.js +0 -1
- package/dist/c-G3VYMHKE.min.js +0 -1
- package/dist/c-GGISSW5E.min.js +0 -1
- package/dist/c-GR6MOEQC.min.js +0 -1
- package/dist/c-GSVCN34B.min.js +0 -1
- package/dist/c-GYOQCEFP.min.js +0 -1
- package/dist/c-H3DNMTCC.min.js +0 -1
- package/dist/c-I6J3FEZE.min.js +0 -1
- package/dist/c-IGH6MGJ5.min.js +0 -1
- package/dist/c-II2EEAJN.min.js +0 -1
- package/dist/c-IUHFPMHD.min.js +0 -1
- package/dist/c-J6M4JHRS.min.js +0 -1
- package/dist/c-JM3MGLQV.min.js +0 -1
- package/dist/c-KM3N7F7R.min.js +0 -1
- package/dist/c-LF5BZFNC.min.js +0 -1
- package/dist/c-LKBSGFQC.min.js +0 -1
- package/dist/c-MNF2S4AA.min.js +0 -1
- package/dist/c-MT3WBK7M.min.js +0 -1
- package/dist/c-NDJADPIF.min.js +0 -1
- package/dist/c-NVPQCIL5.min.js +0 -1
- package/dist/c-NY3JWV2K.min.js +0 -1
- package/dist/c-OFWJBEE5.min.js +0 -1
- package/dist/c-OYFHP5F5.min.js +0 -1
- package/dist/c-PGKQGGQ2.min.js +0 -1
- package/dist/c-PPWDL5ZI.min.js +0 -1
- package/dist/c-Q2IPZ3MU.min.js +0 -1
- package/dist/c-QKHMBE2E.min.js +0 -1
- package/dist/c-QMVM3AY6.min.js +0 -1
- package/dist/c-QSGWX53A.min.js +0 -1
- package/dist/c-RJKEKZOO.min.js +0 -1
- package/dist/c-RSVIHIQ4.min.js +0 -1
- package/dist/c-S6U5CGT5.min.js +0 -1
- package/dist/c-SFDIIU5G.min.js +0 -1
- package/dist/c-SLGMUBUL.min.js +0 -1
- package/dist/c-SRTBCRVE.min.js +0 -1
- package/dist/c-T6UAIKBH.min.js +0 -1
- package/dist/c-TMCTEVVW.min.js +0 -1
- package/dist/c-TMOSJLT3.min.js +0 -1
- package/dist/c-TZW3JGJ5.min.js +0 -1
- package/dist/c-U6ESPM7V.min.js +0 -1
- package/dist/c-UC5PTTFI.min.js +0 -1
- package/dist/c-USFMFKIH.min.js +0 -1
- package/dist/c-VGKUEZBC.min.js +0 -1
- package/dist/c-VGW3VG3I.min.js +0 -1
- package/dist/c-VN2HG5BS.min.js +0 -1
- package/dist/c-VPZDY5Q4.min.js +0 -1
- package/dist/c-VRXUB2F2.min.js +0 -1
- package/dist/c-VUBQNQJH.min.js +0 -1
- package/dist/c-VUH4PGZY.min.js +0 -1
- package/dist/c-W3CE4A4S.min.js +0 -1
- package/dist/c-X5UBGU2V.min.js +0 -1
- package/dist/c-XDRV7RKW.min.js +0 -1
- package/dist/c-YGZHURXZ.min.js +0 -1
- package/dist/c-YZVRZGX2.min.js +0 -1
- /package/dist/{c-N4G2L7ID.min.js → c-HYW2XA4Q.min.js} +0 -0
- /package/dist/{c-ENF72HU5.min.js → c-QAVFOEUY.min.js} +0 -0
- /package/dist/{c-OCI56QF2.min.js → c-V4XMSLC3.min.js} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import { type AnnotationNoteText } from "./text/annotationTextLayout";
|
|
2
3
|
type AnnotationEventHandlers = Record<string, (e: React.SyntheticEvent) => void>;
|
|
3
|
-
type AnnotationNote = {
|
|
4
|
+
type AnnotationNote = AnnotationNoteText & {
|
|
4
5
|
label?: string;
|
|
5
6
|
title?: string;
|
|
6
7
|
wrap?: number;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { ChartCapability } from "./chartCapabilityTypes";
|
|
2
2
|
import type { Datum } from "../charts/shared/datumTypes";
|
|
3
3
|
import type { ChartRecipe, CustomLayoutFunction } from "./chartRecipes";
|
|
4
|
+
export interface RecipeLayoutIdentity {
|
|
5
|
+
version: string;
|
|
6
|
+
fingerprint?: string;
|
|
7
|
+
}
|
|
4
8
|
/** Register or replace a named recipe and its capability adapter. */
|
|
5
9
|
export declare function registerChartRecipe(recipe: ChartRecipe): void;
|
|
6
10
|
export declare function unregisterChartRecipe(recipeId: string): void;
|
|
@@ -9,7 +13,8 @@ export declare function listChartRecipes(): ChartRecipe[];
|
|
|
9
13
|
export declare function getRegisteredRecipeCapabilities(): ReadonlyArray<ChartCapability>;
|
|
10
14
|
export declare function hasRegisteredRecipeCapabilities(): boolean;
|
|
11
15
|
/** Register a known runtime implementation used by portable recipe manifests. */
|
|
12
|
-
export declare function registerRecipeLayout<TDatum extends Datum = Datum, TConfig extends object = Record<string, unknown>>(layoutId: string, layout: CustomLayoutFunction<TDatum, TConfig
|
|
16
|
+
export declare function registerRecipeLayout<TDatum extends Datum = Datum, TConfig extends object = Record<string, unknown>>(layoutId: string, layout: CustomLayoutFunction<TDatum, TConfig>, identity?: RecipeLayoutIdentity): void;
|
|
13
17
|
export declare function unregisterRecipeLayout(layoutId: string): void;
|
|
14
18
|
export declare function getRecipeLayout(layoutId: string): CustomLayoutFunction | undefined;
|
|
19
|
+
export declare function getRecipeLayoutIdentity(layoutId: string): RecipeLayoutIdentity | undefined;
|
|
15
20
|
export declare function resolveChartRecipe(value: unknown): ChartRecipe | undefined;
|
|
@@ -35,6 +35,10 @@ export type CustomLayoutFunction<TDatum extends Datum = Datum, TConfig extends o
|
|
|
35
35
|
*/
|
|
36
36
|
export interface RegisteredRecipeLayout {
|
|
37
37
|
id: string;
|
|
38
|
+
/** Stable executable-layout version used by portable config handoffs. */
|
|
39
|
+
version?: string;
|
|
40
|
+
/** Optional package- or author-supplied content identity. */
|
|
41
|
+
fingerprint?: string;
|
|
38
42
|
importPath?: string;
|
|
39
43
|
exportName?: string;
|
|
40
44
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import type { DescribeLevel } from "./describeChart";
|
|
3
|
+
import type { describePhysicsSource } from "./describePhysicsSource";
|
|
4
|
+
interface PhysicsProjectionRow {
|
|
5
|
+
label: string;
|
|
6
|
+
count: number;
|
|
7
|
+
secondary?: number;
|
|
8
|
+
secondaryLabel?: string;
|
|
9
|
+
observed?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function physicsProjectionRows(props: Datum, fmtNum: (n: number) => string): PhysicsProjectionRow[] | null;
|
|
12
|
+
export declare function applyPhysicsLevels(component: string, kind: string, rows: PhysicsProjectionRow[] | null, levels: {
|
|
13
|
+
l1?: string;
|
|
14
|
+
l2?: string;
|
|
15
|
+
l3?: string;
|
|
16
|
+
l4?: string;
|
|
17
|
+
}, want: Set<DescribeLevel>, fmtNum: (n: number) => string, source?: ReturnType<typeof describePhysicsSource>): void;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
type SourceProjectionRow = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: number;
|
|
5
|
+
secondary?: number;
|
|
6
|
+
secondaryLabel?: string;
|
|
7
|
+
};
|
|
8
|
+
/** Source statistics only: no world allocation, stepping, or implied process completion. */
|
|
9
|
+
export declare function describePhysicsSource(component: string, props: Datum): {
|
|
10
|
+
rows: SourceProjectionRow[];
|
|
11
|
+
generated: boolean;
|
|
12
|
+
} | null;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import type { ArtifactContract } from "./types";
|
|
3
|
+
import { type ArtifactInspectorEvaluation } from "./artifactInspectorSummary";
|
|
4
|
+
export type ArtifactInspectorSection = "details" | "claims" | "evidence" | "time" | "history" | "alternatives" | "policy" | "machine";
|
|
5
|
+
export interface ArtifactInspectorProps extends Omit<ComponentPropsWithoutRef<"section">, "children"> {
|
|
6
|
+
/** Complete interpretation sidecar to inspect. */
|
|
7
|
+
contract: ArtifactContract;
|
|
8
|
+
/** Optional result from `evaluateArtifact`; absence is shown as unknown. */
|
|
9
|
+
evaluation?: ArtifactInspectorEvaluation;
|
|
10
|
+
/** Accessible heading for the surface. */
|
|
11
|
+
title?: string;
|
|
12
|
+
/** Heading depth used when embedding the inspector in a page. */
|
|
13
|
+
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
14
|
+
/** Controlled native disclosure state. Omit to let each `details` element manage itself. */
|
|
15
|
+
expandedSections?: ReadonlyArray<ArtifactInspectorSection>;
|
|
16
|
+
/** Observe disclosure changes for analytics or controlled hosts. */
|
|
17
|
+
onDisclosureChange?: (section: ArtifactInspectorSection, expanded: boolean) => void;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Accessible, progressively disclosed view of an artifact contract.
|
|
21
|
+
*
|
|
22
|
+
* The always-visible summary distinguishes verified signals from unknown and
|
|
23
|
+
* manual-review states. Native `details` elements keep the deeper contract and
|
|
24
|
+
* evaluation readable without requiring JavaScript-managed disclosure state.
|
|
25
|
+
*/
|
|
26
|
+
export declare function ArtifactInspector({ contract, evaluation, title, headingLevel, expandedSections, onDisclosureChange, className, ...sectionProps }: ArtifactInspectorProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ReactEventHandler } from "react";
|
|
2
|
+
import type { ArtifactContract } from "./types";
|
|
3
|
+
import type { ArtifactInspectorEvaluation } from "./artifactInspectorSummary";
|
|
4
|
+
interface DisclosureSectionProps {
|
|
5
|
+
contract: ArtifactContract;
|
|
6
|
+
open: boolean | undefined;
|
|
7
|
+
onToggle: ReactEventHandler<HTMLDetailsElement> | undefined;
|
|
8
|
+
}
|
|
9
|
+
interface TimeSectionProps extends DisclosureSectionProps {
|
|
10
|
+
fallbackLabel: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function ArtifactInspectorTimeSection({ contract, fallbackLabel, open, onToggle }: TimeSectionProps): import("react").JSX.Element;
|
|
13
|
+
export declare function ArtifactInspectorHistorySection({ contract, open, onToggle }: DisclosureSectionProps): import("react").JSX.Element;
|
|
14
|
+
interface AlternativesSectionProps extends DisclosureSectionProps {
|
|
15
|
+
evaluation: ArtifactInspectorEvaluation | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare function ArtifactInspectorAlternativesSection({ contract, evaluation, open, onToggle }: AlternativesSectionProps): import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ArtifactContract } from "./types";
|
|
2
|
+
export interface ArtifactContractChange {
|
|
3
|
+
path: string;
|
|
4
|
+
kind: "added" | "removed" | "changed";
|
|
5
|
+
before?: unknown;
|
|
6
|
+
after?: unknown;
|
|
7
|
+
}
|
|
8
|
+
export declare function diffArtifactContracts(before: ArtifactContract, after: ArtifactContract): ArtifactContractChange[];
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { ArtifactContract, ObligationResult } from "./types";
|
|
2
|
+
export type ArtifactInspectorOutcome = "acceptable" | "conditional" | "refuse" | "unknown";
|
|
3
|
+
/** The evaluation fields consumed by the inspector. Full evaluations fit this shape. */
|
|
4
|
+
export interface ArtifactInspectorEvaluation {
|
|
5
|
+
status: "acceptable" | "conditional" | "refuse";
|
|
6
|
+
policy: {
|
|
7
|
+
id: string;
|
|
8
|
+
version: string;
|
|
9
|
+
};
|
|
10
|
+
obligations: ReadonlyArray<ObligationResult>;
|
|
11
|
+
manualChecks?: ReadonlyArray<string>;
|
|
12
|
+
alternatives?: ReadonlyArray<{
|
|
13
|
+
id: string;
|
|
14
|
+
label: string;
|
|
15
|
+
reasons?: ReadonlyArray<string>;
|
|
16
|
+
caveats?: ReadonlyArray<string>;
|
|
17
|
+
}>;
|
|
18
|
+
}
|
|
19
|
+
export interface ArtifactInspectionSummary {
|
|
20
|
+
outcome: ArtifactInspectorOutcome;
|
|
21
|
+
outcomeLabel: string;
|
|
22
|
+
time: {
|
|
23
|
+
status: string;
|
|
24
|
+
label: string;
|
|
25
|
+
};
|
|
26
|
+
claims: {
|
|
27
|
+
total: number;
|
|
28
|
+
active: number;
|
|
29
|
+
supported: number;
|
|
30
|
+
unresolved: number;
|
|
31
|
+
};
|
|
32
|
+
evidence: {
|
|
33
|
+
total: number;
|
|
34
|
+
referenced: number;
|
|
35
|
+
unreferenced: number;
|
|
36
|
+
missingReferences: number;
|
|
37
|
+
};
|
|
38
|
+
policy: {
|
|
39
|
+
status: "known" | "unknown";
|
|
40
|
+
label: string;
|
|
41
|
+
};
|
|
42
|
+
review: {
|
|
43
|
+
status: "required" | "clear" | "unknown";
|
|
44
|
+
count: number;
|
|
45
|
+
items: string[];
|
|
46
|
+
};
|
|
47
|
+
unknowns: {
|
|
48
|
+
count: number;
|
|
49
|
+
items: string[];
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
/** Build the concise, deterministic signals rendered above the disclosures. */
|
|
53
|
+
export declare function summarizeArtifactInspection(contract: ArtifactContract, evaluation?: ArtifactInspectorEvaluation): ArtifactInspectionSummary;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import { type ArtifactGrounding, type BuildArtifactGroundingOptions } from "./grounding";
|
|
3
|
+
import type { ArtifactEvaluation, EvaluateArtifactOptions } from "./evaluateArtifactTypes";
|
|
4
|
+
import type { ArtifactContract, Claim, CorrectionRecord, EvidenceRef, ReceptionChannel, TemporalContext } from "./types";
|
|
5
|
+
export type ArtifactClaimTransition = {
|
|
6
|
+
action: "supersede";
|
|
7
|
+
previousClaimId: string;
|
|
8
|
+
replacement: Claim;
|
|
9
|
+
correction: Omit<CorrectionRecord, "affectedClaimIds" | "replacementClaimIds">;
|
|
10
|
+
} | {
|
|
11
|
+
action: "retract";
|
|
12
|
+
claimId: string;
|
|
13
|
+
correction: Omit<CorrectionRecord, "affectedClaimIds" | "replacementClaimIds">;
|
|
14
|
+
};
|
|
15
|
+
export interface ArtifactRevisionPresentation {
|
|
16
|
+
title?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
summary?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface PrepareArtifactRevisionOptions extends Omit<EvaluateArtifactOptions, "data"> {
|
|
21
|
+
/** Required stable revision label for the resulting artifact. */
|
|
22
|
+
revision: string;
|
|
23
|
+
/** Optional new artifact id; the prior id is retained in source lineage. */
|
|
24
|
+
artifactId?: string;
|
|
25
|
+
/** Explicit replacement for the primary `data` prop. */
|
|
26
|
+
data?: ReadonlyArray<Datum>;
|
|
27
|
+
/** Other configuration or data-bearing prop updates. */
|
|
28
|
+
propUpdates?: Datum;
|
|
29
|
+
/** Complete evidence ledger for the revised data and claims. */
|
|
30
|
+
evidence?: ReadonlyArray<EvidenceRef>;
|
|
31
|
+
/** Temporal changes applied together with claims and presentation text. */
|
|
32
|
+
time: TemporalContext;
|
|
33
|
+
presentation?: ArtifactRevisionPresentation;
|
|
34
|
+
claimTransitions?: ReadonlyArray<ArtifactClaimTransition>;
|
|
35
|
+
groundingChannels?: ReadonlyArray<ReceptionChannel>;
|
|
36
|
+
grounding?: Omit<BuildArtifactGroundingOptions, "channel">;
|
|
37
|
+
}
|
|
38
|
+
export interface PreparedArtifactRevision {
|
|
39
|
+
/** True only for an acceptable evaluation; conditional results need review. */
|
|
40
|
+
publishable: boolean;
|
|
41
|
+
component: string;
|
|
42
|
+
props: Datum;
|
|
43
|
+
contract: ArtifactContract;
|
|
44
|
+
evaluation: ArtifactEvaluation;
|
|
45
|
+
grounding: Partial<Record<ReceptionChannel, ArtifactGrounding>>;
|
|
46
|
+
changedClaimIds: string[];
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Prepare one immutable artifact revision. Data, claims, visible text, time,
|
|
50
|
+
* identities, evaluation, and channel grounding all derive from the same
|
|
51
|
+
* snapshot. Conditional and refused results return `publishable: false`;
|
|
52
|
+
* this helper cannot discharge manual checks or authorize publication.
|
|
53
|
+
*/
|
|
54
|
+
export declare function prepareArtifactRevision(component: string, currentProps: Datum, currentContract: ArtifactContract, options: PrepareArtifactRevisionOptions): PreparedArtifactRevision;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ArtifactContract, Claim } from "./types";
|
|
2
|
+
export declare const rows: {
|
|
3
|
+
month: number;
|
|
4
|
+
value: number;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const props: {
|
|
7
|
+
data: {
|
|
8
|
+
month: number;
|
|
9
|
+
value: number;
|
|
10
|
+
}[];
|
|
11
|
+
xAccessor: string;
|
|
12
|
+
yAccessor: string;
|
|
13
|
+
title: string;
|
|
14
|
+
description: string;
|
|
15
|
+
summary: string;
|
|
16
|
+
};
|
|
17
|
+
export declare function contractWithClaim(id?: string, claim?: Partial<Claim>): ArtifactContract;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ArtifactIdentityBinding } from "./identity";
|
|
2
|
+
import type { ArtifactTransferStatus } from "./serialization";
|
|
3
|
+
export interface ArtifactAttachmentIssue {
|
|
4
|
+
id: string;
|
|
5
|
+
status: "fail" | "unknown";
|
|
6
|
+
message: string;
|
|
7
|
+
}
|
|
8
|
+
/** Shared judgments for identity and transfer reports attached to evidence. */
|
|
9
|
+
export declare function artifactAttachmentIssues(attachment: {
|
|
10
|
+
contract?: unknown;
|
|
11
|
+
transfer?: ArtifactTransferStatus;
|
|
12
|
+
binding?: ArtifactIdentityBinding;
|
|
13
|
+
}): ArtifactAttachmentIssue[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ArtifactContract, ObligationResult } from "./types";
|
|
2
|
+
/** Audit correction references and their corresponding claim lifecycle states. */
|
|
3
|
+
export declare function auditClaimCorrections(contract: Pick<ArtifactContract, "claims" | "contestability">): ObligationResult[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Claim, EvidenceRef } from "./types";
|
|
2
|
+
export declare function supersessionCycles(claims: ReadonlyArray<Claim>): string[][];
|
|
3
|
+
export declare function transformationCycles(evidence: ReadonlyArray<EvidenceRef>): string[][];
|
|
4
|
+
export declare function evidenceUsedByClaims(claims: ReadonlyArray<Claim>, evidenceById: ReadonlyMap<string, EvidenceRef>): Set<string>;
|
|
5
|
+
export declare function hasIndependentEvidenceBasis(ids: ReadonlyArray<string>, evidenceById: ReadonlyMap<string, EvidenceRef>, active?: Set<string>): boolean;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { DescribeChartResult, DescribeLevel } from "../ai/describeChart";
|
|
2
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
3
|
+
import type { ActorRef, ArtifactContract, Claim, ClaimChallenge, ClaimKind, CorrectionRecord, EvidenceRef } from "./types";
|
|
4
|
+
export interface DescriptionClaimOptions {
|
|
5
|
+
prefix?: string;
|
|
6
|
+
evidenceIds?: Partial<Record<DescribeLevel, ReadonlyArray<string>>>;
|
|
7
|
+
asOf?: string;
|
|
8
|
+
authoredBy?: ActorRef;
|
|
9
|
+
}
|
|
10
|
+
export interface AnnotationClaimProjection {
|
|
11
|
+
claims: Claim[];
|
|
12
|
+
evidence: EvidenceRef[];
|
|
13
|
+
unknownAnnotationIndexes: number[];
|
|
14
|
+
}
|
|
15
|
+
export interface AnnotationClaimOptions {
|
|
16
|
+
prefix?: string;
|
|
17
|
+
defaultKind?: ClaimKind;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Lift existing annotation origin and lifecycle blocks into artifact-wide
|
|
21
|
+
* claim and evidence records. Missing source facts remain unknown, and model
|
|
22
|
+
* output is recorded without allowing it to support the claim it generated.
|
|
23
|
+
*/
|
|
24
|
+
export declare function claimsFromAnnotations(annotations: ReadonlyArray<Datum>, options?: AnnotationClaimOptions): AnnotationClaimProjection;
|
|
25
|
+
/** Turn layered generated descriptions into traceable claim records. */
|
|
26
|
+
export declare function claimsFromDescription(description: DescribeChartResult, options?: DescriptionClaimOptions): Claim[];
|
|
27
|
+
/** Preserve the old claim and append a replacement linked by stable id. */
|
|
28
|
+
export declare function supersedeClaim(contract: ArtifactContract, previousClaimId: string, replacement: Claim, correction?: Omit<CorrectionRecord, "affectedClaimIds" | "replacementClaimIds">): ArtifactContract;
|
|
29
|
+
/** Retract a claim without deleting its text, evidence, or revision history. */
|
|
30
|
+
export declare function retractClaim(contract: ArtifactContract, claimId: string, correction: Omit<CorrectionRecord, "affectedClaimIds">): ArtifactContract;
|
|
31
|
+
/** Attach an attributable challenge and expose the claim as disputed. */
|
|
32
|
+
export declare function challengeClaim(contract: ArtifactContract, challenge: ClaimChallenge): ArtifactContract;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import { type ArtifactContract, type ObligationResult, type ObligationSummary } from "./types";
|
|
3
|
+
export { challengeClaim, claimsFromAnnotations, claimsFromDescription, retractClaim, supersedeClaim, type AnnotationClaimOptions, type AnnotationClaimProjection, type DescriptionClaimOptions } from "./claimLifecycle";
|
|
4
|
+
export interface ClaimAuditOptions {
|
|
5
|
+
/** Require source/version/fingerprint answerability for every used evidence ref. */
|
|
6
|
+
requireEvidenceIdentity?: boolean;
|
|
7
|
+
/** Escalate unreviewed model-authored supported claims from warning to failure. */
|
|
8
|
+
requireReviewForModelClaims?: boolean;
|
|
9
|
+
/** Optional rows for scoped checks such as category overlap. */
|
|
10
|
+
data?: ReadonlyArray<Datum>;
|
|
11
|
+
/** Explicit reference clock used to reject impossible future reviews. */
|
|
12
|
+
now?: string;
|
|
13
|
+
/** Allowed clock skew for review timestamps. Defaults to five minutes. */
|
|
14
|
+
maxFutureReviewSkewMs?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface ClaimAudit {
|
|
17
|
+
ok: boolean;
|
|
18
|
+
claims: number;
|
|
19
|
+
evidence: number;
|
|
20
|
+
summary: ObligationSummary;
|
|
21
|
+
findings: ObligationResult[];
|
|
22
|
+
}
|
|
23
|
+
/** Audit referential integrity and the boundary between evidence and prose. */
|
|
24
|
+
export declare function auditClaims(contract: Pick<ArtifactContract, "claims" | "evidence" | "contestability" | "accountability"> & Partial<Pick<ArtifactContract, "artifact">>, options?: ClaimAuditOptions): ClaimAudit;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ArtifactCollectionAuditOptions } from "./collectionPolicy";
|
|
2
|
+
import type { ArtifactCollectionContract, ArtifactCollectionAudit } from "./collectionTypes";
|
|
3
|
+
export type * from "./collectionTypes";
|
|
4
|
+
/** Audit failures that only become visible when individually valid views meet. */
|
|
5
|
+
export declare function auditArtifactCollection(collection: ArtifactCollectionContract, options?: ArtifactCollectionAuditOptions): ArtifactCollectionAudit;
|
|
6
|
+
export declare const auditDashboard: typeof auditArtifactCollection;
|
|
7
|
+
/** Stable identity for collection state and portable export comparisons. */
|
|
8
|
+
export declare function fingerprintArtifactCollection(collection: ArtifactCollectionContract): string;
|
|
9
|
+
export { applyCollectionCorrection, buildArtifactCollectionLineage, serializeArtifactCollection, validateArtifactCollection } from "./collectionOperations";
|
|
10
|
+
export { affectedCollectionClaims } from "./collectionImpact";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ArtifactCollectionContract, CollectionClaimReference, CollectionCorrectionRecord } from "./collection";
|
|
2
|
+
export declare function claimReferenceKey(reference: CollectionClaimReference): string;
|
|
3
|
+
export declare function scopedCorrectionReferences(collection: ArtifactCollectionContract, correction: CollectionCorrectionRecord, kind: "affected" | "replacement"): CollectionClaimReference[];
|
|
4
|
+
export declare function correctionScopeIsValid(collection: ArtifactCollectionContract, correction: CollectionCorrectionRecord): boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ArtifactCollectionContract, CollectionEvidenceReference } from "./collection";
|
|
2
|
+
/**
|
|
3
|
+
* Identify dependent claims using artifact-qualified evidence references.
|
|
4
|
+
* Legacy string IDs are accepted when unique across the collection; ambiguous
|
|
5
|
+
* IDs throw instead of invalidating unrelated panels. Unknown legacy IDs are
|
|
6
|
+
* ignored, while explicit references must identify existing evidence.
|
|
7
|
+
*/
|
|
8
|
+
export declare function affectedCollectionClaims(collection: ArtifactCollectionContract, changedEvidenceIds: ReadonlyArray<string | CollectionEvidenceReference>): Array<{
|
|
9
|
+
artifactId: string;
|
|
10
|
+
claimId: string;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ArtifactCollectionContract, ArtifactCollectionLineage } from "./collection";
|
|
2
|
+
/** Build a portable dependency graph from the collection's declared records. */
|
|
3
|
+
export declare function buildArtifactCollectionLineage(collection: ArtifactCollectionContract): ArtifactCollectionLineage;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ArtifactCollectionContract, ArtifactCollectionValidation, CollectionCorrectionRecord, SerializedArtifactCollection } from "./collection";
|
|
2
|
+
/** Dependency-free validation for untrusted collection payloads. */
|
|
3
|
+
export declare function validateArtifactCollection(value: unknown): ArtifactCollectionValidation;
|
|
4
|
+
/** Preserve a collection as deterministic JSON and report validation loss. */
|
|
5
|
+
export declare function serializeArtifactCollection(value: unknown): SerializedArtifactCollection;
|
|
6
|
+
/** Apply a collection correction without deleting the previous claim state. */
|
|
7
|
+
export declare function applyCollectionCorrection(collection: ArtifactCollectionContract, correction: CollectionCorrectionRecord): ArtifactCollectionContract;
|
|
8
|
+
export { buildArtifactCollectionLineage } from "./collectionLineage";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ArtifactPolicy } from "./policies";
|
|
2
|
+
import type { ArtifactCollectionContract } from "./collection";
|
|
3
|
+
import type { RenderEvidence } from "../server/renderEvidence";
|
|
4
|
+
import type { ObligationResult } from "./types";
|
|
5
|
+
/** The bounded renderer fields a collection policy consumes for each artifact. */
|
|
6
|
+
export type ArtifactCollectionRenderEvidence = Pick<RenderEvidence, "component" | "status" | "empty" | "markCount" | "semanticStatus">;
|
|
7
|
+
export interface ArtifactCollectionAuditOptions {
|
|
8
|
+
/** Explicit reference clock for review, freshness, and expiry checks. */
|
|
9
|
+
now?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Renderer results keyed by artifact ID. The audit reads at most one own
|
|
12
|
+
* entry for each artifact in the collection and never adds this input to the
|
|
13
|
+
* portable collection contract.
|
|
14
|
+
*/
|
|
15
|
+
renderEvidenceByArtifactId?: Readonly<Record<string, ArtifactCollectionRenderEvidence>>;
|
|
16
|
+
}
|
|
17
|
+
export interface ArtifactCollectionPolicyAudit {
|
|
18
|
+
policy?: Pick<ArtifactPolicy, "id" | "version">;
|
|
19
|
+
findings: ObligationResult[];
|
|
20
|
+
}
|
|
21
|
+
/** Apply collection policy rules without changing structural validation. */
|
|
22
|
+
export declare function auditArtifactCollectionPolicy(collection: ArtifactCollectionContract, options?: ArtifactCollectionAuditOptions): ArtifactCollectionPolicyAudit;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type { ActionRecord, ArtifactContract, CorrectionRecord, JsonObject, JsonValue, ObligationResult, ObligationSummary } from "./types";
|
|
2
|
+
export interface MetricDefinition {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
definition: string;
|
|
6
|
+
unit?: string;
|
|
7
|
+
denominator?: string;
|
|
8
|
+
version?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface CollectionFilterState {
|
|
11
|
+
id: string;
|
|
12
|
+
label?: string;
|
|
13
|
+
value?: JsonValue;
|
|
14
|
+
appliesToArtifactIds: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface ArtifactViewState {
|
|
17
|
+
artifactId: string;
|
|
18
|
+
metricIds?: string[];
|
|
19
|
+
filterIds?: string[];
|
|
20
|
+
selectionFingerprint?: string;
|
|
21
|
+
summarySelectionFingerprint?: string;
|
|
22
|
+
status?: "ready" | "stale" | "failed" | "unknown";
|
|
23
|
+
}
|
|
24
|
+
export interface ClaimDependency {
|
|
25
|
+
claimId: string;
|
|
26
|
+
artifactId: string;
|
|
27
|
+
evidenceIds: string[];
|
|
28
|
+
sourceIds?: string[];
|
|
29
|
+
}
|
|
30
|
+
/** An artifact-qualified claim reference for collection-wide records. */
|
|
31
|
+
export interface CollectionClaimReference {
|
|
32
|
+
artifactId: string;
|
|
33
|
+
claimId: string;
|
|
34
|
+
}
|
|
35
|
+
/** Evidence IDs are artifact-local, even when panels share a collection. */
|
|
36
|
+
export interface CollectionEvidenceReference {
|
|
37
|
+
artifactId: string;
|
|
38
|
+
evidenceId: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Optional exact targets for a correction whose claim identifiers are not
|
|
42
|
+
* unique across a collection. The unqualified CorrectionRecord fields remain
|
|
43
|
+
* available for compatibility with existing artifact-local records.
|
|
44
|
+
*/
|
|
45
|
+
export interface CollectionCorrectionScope {
|
|
46
|
+
affectedClaims?: CollectionClaimReference[];
|
|
47
|
+
replacementClaims?: CollectionClaimReference[];
|
|
48
|
+
}
|
|
49
|
+
export interface CollectionCorrectionRecord extends CorrectionRecord {
|
|
50
|
+
scope?: CollectionCorrectionScope;
|
|
51
|
+
}
|
|
52
|
+
export interface ArtifactCollectionContract {
|
|
53
|
+
collectionVersion: "0.1";
|
|
54
|
+
id: string;
|
|
55
|
+
title?: string;
|
|
56
|
+
artifacts: ArtifactContract[];
|
|
57
|
+
metrics?: MetricDefinition[];
|
|
58
|
+
policyId?: string;
|
|
59
|
+
filters?: CollectionFilterState[];
|
|
60
|
+
views?: ArtifactViewState[];
|
|
61
|
+
sourceRegistry?: Array<{
|
|
62
|
+
id: string;
|
|
63
|
+
label?: string;
|
|
64
|
+
version?: string;
|
|
65
|
+
fingerprint?: string;
|
|
66
|
+
}>;
|
|
67
|
+
claimDependencies?: ClaimDependency[];
|
|
68
|
+
actions?: ActionRecord[];
|
|
69
|
+
corrections?: CollectionCorrectionRecord[];
|
|
70
|
+
extensions?: JsonObject;
|
|
71
|
+
}
|
|
72
|
+
export interface ArtifactCollectionAudit {
|
|
73
|
+
ok: boolean;
|
|
74
|
+
policy?: {
|
|
75
|
+
id: string;
|
|
76
|
+
version: string;
|
|
77
|
+
};
|
|
78
|
+
summary: ObligationSummary;
|
|
79
|
+
findings: ObligationResult[];
|
|
80
|
+
}
|
|
81
|
+
export type { ArtifactCollectionAuditOptions } from "./collectionPolicy";
|
|
82
|
+
export interface ArtifactCollectionTransfer {
|
|
83
|
+
status: "preserved" | "unsupported-version" | "invalid";
|
|
84
|
+
omittedPaths: string[];
|
|
85
|
+
warnings: string[];
|
|
86
|
+
}
|
|
87
|
+
export interface SerializedArtifactCollection {
|
|
88
|
+
collection?: ArtifactCollectionContract | JsonObject;
|
|
89
|
+
transfer: ArtifactCollectionTransfer;
|
|
90
|
+
}
|
|
91
|
+
export interface ArtifactCollectionValidation {
|
|
92
|
+
valid: boolean;
|
|
93
|
+
errors: Array<{
|
|
94
|
+
path: string;
|
|
95
|
+
message: string;
|
|
96
|
+
}>;
|
|
97
|
+
warnings: Array<{
|
|
98
|
+
path: string;
|
|
99
|
+
message: string;
|
|
100
|
+
}>;
|
|
101
|
+
}
|
|
102
|
+
export type ArtifactLineageNodeKind = "source" | "schema" | "processing-job" | "quality-check" | "snapshot" | "artifact" | "evidence" | "claim" | "action";
|
|
103
|
+
export interface ArtifactLineageNode {
|
|
104
|
+
id: string;
|
|
105
|
+
kind: ArtifactLineageNodeKind;
|
|
106
|
+
label?: string;
|
|
107
|
+
artifactId?: string;
|
|
108
|
+
}
|
|
109
|
+
export interface ArtifactLineageEdge {
|
|
110
|
+
source: string;
|
|
111
|
+
target: string;
|
|
112
|
+
relation: "produces" | "supports" | "contains" | "acts-on" | "supersedes";
|
|
113
|
+
}
|
|
114
|
+
export interface ArtifactCollectionLineage {
|
|
115
|
+
nodes: ArtifactLineageNode[];
|
|
116
|
+
edges: ArtifactLineageEdge[];
|
|
117
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import type { ArtifactRepairLedgerEntry } from "./evaluateArtifactTypes";
|
|
3
|
+
/**
|
|
4
|
+
* Project deterministic chart-fit advice into the artifact repair ledger.
|
|
5
|
+
* Alternative components remain proposals: changing form can change emphasis,
|
|
6
|
+
* so the fit engine alone cannot establish semantic equivalence.
|
|
7
|
+
*/
|
|
8
|
+
export declare function configurationRepairLedgerEntries(component: string, props: Datum, data: ReadonlyArray<Datum> | null | undefined, intents: ReadonlyArray<string>): ArtifactRepairLedgerEntry[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import type { IntentManifest } from "../ai/intentManifest";
|
|
3
|
+
import { type ArtifactContract, type ArtifactContractInput } from "./types";
|
|
4
|
+
export { ARTIFACT_FIELD_POLICIES, type ArtifactFieldPolicy } from "./fieldPolicies";
|
|
5
|
+
export { validateArtifactContract, type ArtifactContractValidation } from "./validation";
|
|
6
|
+
/**
|
|
7
|
+
* Build the optional interpretation sidecar for a chart. Only configuration
|
|
8
|
+
* and data identities are inferred automatically; purpose, stakes, evidence,
|
|
9
|
+
* time, review, and approval remain unknown unless a caller supplies them.
|
|
10
|
+
*/
|
|
11
|
+
export declare function buildArtifactContract(component: string, props?: Datum, input?: ArtifactContractInput): ArtifactContract;
|
|
12
|
+
export interface IntentManifestProjection {
|
|
13
|
+
manifest: IntentManifest;
|
|
14
|
+
omittedPaths: string[];
|
|
15
|
+
}
|
|
16
|
+
/** Adapt the earlier intent manifest into the broader artifact contract. */
|
|
17
|
+
export declare function fromIntentManifest(manifest: IntentManifest): ArtifactContract;
|
|
18
|
+
/**
|
|
19
|
+
* Project a contract back to the earlier manifest format and report the richer
|
|
20
|
+
* paths that format cannot carry.
|
|
21
|
+
*/
|
|
22
|
+
export declare function toIntentManifest(contract: ArtifactContract): IntentManifestProjection;
|
|
23
|
+
export interface FormatArtifactContractOptions {
|
|
24
|
+
/** Include explicit unknown, manual, and not-applicable field states. */
|
|
25
|
+
includeFieldStatus?: boolean;
|
|
26
|
+
/** Override the separator used between output lines. */
|
|
27
|
+
lineSeparator?: string;
|
|
28
|
+
}
|
|
29
|
+
/** Compact text for logs, CLI output, and progressive disclosure headers. */
|
|
30
|
+
export declare function formatArtifactContract(contract: ArtifactContract, options?: FormatArtifactContractOptions): string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import type { ArtifactContract } from "./types";
|
|
3
|
+
import type { ArtifactEvaluation, ArtifactRepairResult, EvaluateArtifactOptions, RepairArtifactOptions } from "./evaluateArtifactTypes";
|
|
4
|
+
export type { ArtifactEvaluation, ArtifactRepairLedgerEntry, ArtifactRepairResult, EvaluateArtifactOptions, RepairArtifactOptions, RepairProposal } from "./evaluateArtifactTypes";
|
|
5
|
+
export { explainArtifactRefusal } from "./evaluationPresentation";
|
|
6
|
+
/**
|
|
7
|
+
* Compose chart, claim, time, accessibility, and policy evidence without
|
|
8
|
+
* flattening them into a single aggregate score.
|
|
9
|
+
*/
|
|
10
|
+
export declare function evaluateArtifact(component: string, props: Datum, contract: ArtifactContract, options?: EvaluateArtifactOptions): ArtifactEvaluation;
|
|
11
|
+
/** Apply deterministic repairs without inventing evidence, review, or claims. */
|
|
12
|
+
export declare function repairArtifact(component: string, props: Datum, contract: ArtifactContract, options?: RepairArtifactOptions): ArtifactRepairResult;
|