semiotic 3.9.1 → 3.10.0

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.
Files changed (566) hide show
  1. package/README.md +137 -58
  2. package/agent-skill/semiotic-charts/SKILL.md +27 -17
  3. package/ai/artifact-contract-reference.md +408 -0
  4. package/ai/artifact-surface-inventory.json +5586 -0
  5. package/ai/behaviorContracts.cjs +24 -2
  6. package/ai/cli.js +480 -56
  7. package/ai/componentMetadata.cjs +13 -3
  8. package/ai/dist/mcp-server.js +140 -36407
  9. package/ai/examples.md +110 -7
  10. package/ai/reference.md +82 -28
  11. package/ai/schema.json +7675 -1471
  12. package/ai/surface-manifest.json +60 -9
  13. package/ai/system-prompt.md +18 -3
  14. package/ai/task-packets/compare-category-totals.json +301 -0
  15. package/ai/task-packets/compare-category-totals.md +188 -0
  16. package/ai/task-packets/correct-published-chart.json +271 -0
  17. package/ai/task-packets/correct-published-chart.md +597 -0
  18. package/ai/task-packets/index.json +40 -0
  19. package/ai/task-packets/update-live-chart.json +289 -0
  20. package/ai/task-packets/update-live-chart.md +424 -0
  21. package/dist/c-2N7IU2NY.min.js +1 -0
  22. package/dist/c-2WK7YJLL.min.js +1 -0
  23. package/dist/c-33QOXEUG.min.js +1 -0
  24. package/dist/c-42PLDTX7.min.js +1 -0
  25. package/dist/c-447VIMRO.min.js +1 -0
  26. package/dist/c-4FN7Q6VQ.min.js +1 -0
  27. package/dist/c-553QUDKA.min.js +1 -0
  28. package/dist/c-55BAJ333.min.js +1 -0
  29. package/dist/c-7242NXSG.min.js +1 -0
  30. package/dist/c-7EGHJU2F.min.js +1 -0
  31. package/dist/c-7HP7MB2I.min.js +1 -0
  32. package/dist/c-7NBU5ZKS.min.js +1 -0
  33. package/dist/c-AFBSWT77.min.js +1 -0
  34. package/dist/c-AJ7EC32V.min.js +1 -0
  35. package/dist/c-AQADQNY7.min.js +1 -0
  36. package/dist/c-ATM475SA.min.js +1 -0
  37. package/dist/c-AVO3Q7T7.min.js +1 -0
  38. package/dist/c-AZKPVBOC.min.js +1 -0
  39. package/dist/c-BNFJMDHN.min.js +1 -0
  40. package/dist/c-BNG5ECK5.min.js +1 -0
  41. package/dist/c-BOHCQILI.min.js +1 -0
  42. package/dist/c-CCTGN5CK.min.js +1 -0
  43. package/dist/c-CPSPZH6A.min.js +1 -0
  44. package/dist/c-CPV4N35K.min.js +1 -0
  45. package/dist/c-D6HAAPTX.min.js +1 -0
  46. package/dist/c-DE5Q3U2X.min.js +1 -0
  47. package/dist/c-DK662R77.min.js +1 -0
  48. package/dist/c-DY2676CR.min.js +1 -0
  49. package/dist/c-E32M6XW5.min.js +1 -0
  50. package/dist/c-E4JDJH4I.min.js +1 -0
  51. package/dist/c-E7I2L7CU.min.js +1 -0
  52. package/dist/c-EBOQ7ER7.min.js +1 -0
  53. package/dist/c-ELDWAO2V.min.js +1 -0
  54. package/dist/c-EUBTECGM.min.js +1 -0
  55. package/dist/c-GNTXRXRN.min.js +1 -0
  56. package/dist/c-GSZRZRD6.min.js +1 -0
  57. package/dist/c-GWX7JGMF.min.js +1 -0
  58. package/dist/c-GXV3C3MO.min.js +1 -0
  59. package/dist/c-HHTK2R75.min.js +1 -0
  60. package/dist/c-HLLFJYTY.min.js +1 -0
  61. package/dist/c-HPOYKCCG.min.js +1 -0
  62. package/dist/c-HXDKPIKR.min.js +1 -0
  63. package/dist/c-I4QJ6YLM.min.js +1 -0
  64. package/dist/c-IDJV3CZK.min.js +1 -0
  65. package/dist/c-ITKX3RC5.min.js +1 -0
  66. package/dist/c-JG2JCQLP.min.js +1 -0
  67. package/dist/c-JLGRHXGZ.min.js +1 -0
  68. package/dist/c-JO2UGTCP.min.js +1 -0
  69. package/dist/c-JUKIWTBJ.min.js +1 -0
  70. package/dist/c-KCRJGUHP.min.js +1 -0
  71. package/dist/c-LMGSSD2E.min.js +1 -0
  72. package/dist/c-LYQMZMZQ.min.js +1 -0
  73. package/dist/c-LYVKDBQJ.min.js +1 -0
  74. package/dist/c-MVR3RWF3.min.js +1 -0
  75. package/dist/c-MXCP7GNZ.min.js +1 -0
  76. package/dist/c-NG7BLZTR.min.js +1 -0
  77. package/dist/c-NYZ2QNAM.min.js +1 -0
  78. package/dist/c-OO5QLMJC.min.js +1 -0
  79. package/dist/c-OOVX2JPQ.min.js +1 -0
  80. package/dist/c-ORLEBW72.min.js +1 -0
  81. package/dist/c-P65V6HLO.min.js +1 -0
  82. package/dist/c-PP6VY3QU.min.js +1 -0
  83. package/dist/c-PRIKOLTE.min.js +1 -0
  84. package/dist/c-PSNI6KAZ.min.js +1 -0
  85. package/dist/c-PYNW54D2.min.js +1 -0
  86. package/dist/c-QA3HMQJP.min.js +1 -0
  87. package/dist/c-QAVFOEUY.min.js +1 -0
  88. package/dist/c-ROEHCIGV.min.js +1 -0
  89. package/dist/c-S3AZX5PP.min.js +1 -0
  90. package/dist/c-T2V7O2LO.min.js +1 -0
  91. package/dist/c-TIXX5CAU.min.js +1 -0
  92. package/dist/c-TKG2NP7G.min.js +1 -0
  93. package/dist/c-VJTDST2R.min.js +1 -0
  94. package/dist/c-VXLOLYTO.min.js +1 -0
  95. package/dist/c-W4ZUKSEQ.min.js +1 -0
  96. package/dist/c-WH2O53VI.min.js +1 -0
  97. package/dist/c-WNGH47HF.min.js +1 -0
  98. package/dist/c-WUWXGQYA.min.js +1 -0
  99. package/dist/c-XDQKXPX4.min.js +1 -0
  100. package/dist/c-XSB27XPS.min.js +1 -0
  101. package/dist/c-YDECTEUW.min.js +1 -0
  102. package/dist/c-YF3YKVQI.min.js +1 -0
  103. package/dist/c-YLZIV3VS.min.js +1 -0
  104. package/dist/c-ZYPXQF7B.min.js +1 -0
  105. package/dist/components/Annotation.d.ts +3 -2
  106. package/dist/components/access/chartAccessCapabilities.generated.d.ts +14 -0
  107. package/dist/components/access/chartAccessContract.d.ts +90 -0
  108. package/dist/components/access/chartAccessContractFixtures.d.ts +11 -0
  109. package/dist/components/ai/aestheticProfileTypes.d.ts +35 -0
  110. package/dist/components/ai/annotationProvenance.d.ts +2 -7
  111. package/dist/components/ai/auditVisualHierarchy.d.ts +49 -0
  112. package/dist/components/ai/builtInChartRecipeLayouts.d.ts +2 -0
  113. package/dist/components/ai/builtInChartRecipePublic.d.ts +4 -0
  114. package/dist/components/ai/builtInChartRecipes.d.ts +26 -0
  115. package/dist/components/ai/chartCapabilities.d.ts +3 -1
  116. package/dist/components/ai/chartRecipeRegistry.d.ts +7 -1
  117. package/dist/components/ai/chartRecipes.d.ts +10 -0
  118. package/dist/components/ai/colorEvidence.d.ts +12 -0
  119. package/dist/components/ai/describePhysicsProjection.d.ts +18 -0
  120. package/dist/components/ai/describePhysicsSource.d.ts +13 -0
  121. package/dist/components/ai/evaluateAesthetics.d.ts +47 -0
  122. package/dist/components/ai/geoNavigation.d.ts +4 -0
  123. package/dist/components/ai/hierarchyNavigation.d.ts +4 -0
  124. package/dist/components/ai/navigationTree.d.ts +7 -1
  125. package/dist/components/ai/qualityFixtures.d.ts +8 -0
  126. package/dist/components/ai/suggestionPropContracts.d.ts +1 -1
  127. package/dist/components/ai/useNavigationSync.d.ts +3 -3
  128. package/dist/components/artifact/ArtifactInspector.d.ts +26 -0
  129. package/dist/components/artifact/ArtifactInspectorContextSections.d.ts +18 -0
  130. package/dist/components/artifact/artifactContractDiff.d.ts +8 -0
  131. package/dist/components/artifact/artifactInspectorSummary.d.ts +53 -0
  132. package/dist/components/artifact/artifactRevision.d.ts +54 -0
  133. package/dist/components/artifact/artifactTestFixtures.d.ts +17 -0
  134. package/dist/components/artifact/attachmentAudit.d.ts +13 -0
  135. package/dist/components/artifact/claimCorrections.d.ts +3 -0
  136. package/dist/components/artifact/claimGraph.d.ts +5 -0
  137. package/dist/components/artifact/claimLifecycle.d.ts +32 -0
  138. package/dist/components/artifact/claims.d.ts +24 -0
  139. package/dist/components/artifact/collection.d.ts +10 -0
  140. package/dist/components/artifact/collectionCorrectionScope.d.ts +4 -0
  141. package/dist/components/artifact/collectionImpact.d.ts +11 -0
  142. package/dist/components/artifact/collectionLineage.d.ts +3 -0
  143. package/dist/components/artifact/collectionOperations.d.ts +8 -0
  144. package/dist/components/artifact/collectionPolicy.d.ts +22 -0
  145. package/dist/components/artifact/collectionTypes.d.ts +117 -0
  146. package/dist/components/artifact/configurationRepair.d.ts +8 -0
  147. package/dist/components/artifact/contract.d.ts +30 -0
  148. package/dist/components/artifact/evaluateArtifact.d.ts +12 -0
  149. package/dist/components/artifact/evaluateArtifactTypes.d.ts +78 -0
  150. package/dist/components/artifact/evaluationPresentation.d.ts +9 -0
  151. package/dist/components/artifact/evidenceSample.d.ts +8 -0
  152. package/dist/components/artifact/exportPaths.d.ts +8 -0
  153. package/dist/components/artifact/fieldPolicies.d.ts +12 -0
  154. package/dist/components/artifact/fingerprint.d.ts +36 -0
  155. package/dist/components/artifact/grounding.d.ts +51 -0
  156. package/dist/components/artifact/groundingBudget.d.ts +38 -0
  157. package/dist/components/artifact/hostTransfer.d.ts +13 -0
  158. package/dist/components/artifact/identity.d.ts +19 -0
  159. package/dist/components/artifact/inheritance.d.ts +48 -0
  160. package/dist/components/artifact/inheritanceIntegrity.d.ts +3 -0
  161. package/dist/components/artifact/jsonCompatibility.d.ts +2 -0
  162. package/dist/components/artifact/obligations.d.ts +3 -0
  163. package/dist/components/artifact/policies.d.ts +45 -0
  164. package/dist/components/artifact/policyRelations.d.ts +3 -0
  165. package/dist/components/artifact/recordProjection.d.ts +7 -0
  166. package/dist/components/artifact/representation.d.ts +50 -0
  167. package/dist/components/artifact/serialization.d.ts +40 -0
  168. package/dist/components/artifact/temporal.d.ts +32 -0
  169. package/dist/components/artifact/temporalAdapters.d.ts +75 -0
  170. package/dist/components/artifact/temporalAuditHelpers.d.ts +12 -0
  171. package/dist/components/artifact/temporalPresentation.d.ts +8 -0
  172. package/dist/components/artifact/types.d.ts +341 -0
  173. package/dist/components/artifact/validation.d.ts +13 -0
  174. package/dist/components/artifact/validationFieldStatus.d.ts +7 -0
  175. package/dist/components/artifact/validationPrimitives.d.ts +24 -0
  176. package/dist/components/artifact/validationSurfaces.d.ts +7 -0
  177. package/dist/components/artifact/validationTemporal.d.ts +3 -0
  178. package/dist/components/charts/geo/FlowMap.d.ts +7 -0
  179. package/dist/components/charts/geo/flowMapLineStyle.d.ts +18 -0
  180. package/dist/components/charts/index.d.ts +4 -0
  181. package/dist/components/charts/network/ChordDiagram.d.ts +5 -1
  182. package/dist/components/charts/network/CirclePack.d.ts +8 -1
  183. package/dist/components/charts/network/OrbitDiagram.d.ts +9 -0
  184. package/dist/components/charts/network/TreeDiagram.d.ts +8 -1
  185. package/dist/components/charts/network/Treemap.d.ts +8 -1
  186. package/dist/components/charts/ordinal/BarChart.d.ts +6 -0
  187. package/dist/components/charts/ordinal/BoxPlot.d.ts +3 -0
  188. package/dist/components/charts/ordinal/DonutChart.d.ts +5 -0
  189. package/dist/components/charts/ordinal/DotPlot.d.ts +3 -0
  190. package/dist/components/charts/ordinal/FunnelChart.d.ts +5 -0
  191. package/dist/components/charts/ordinal/GaugeChart.d.ts +3 -0
  192. package/dist/components/charts/ordinal/GroupedBarChart.d.ts +6 -0
  193. package/dist/components/charts/ordinal/Histogram.d.ts +3 -0
  194. package/dist/components/charts/ordinal/LikertChart.d.ts +3 -0
  195. package/dist/components/charts/ordinal/PieChart.d.ts +5 -0
  196. package/dist/components/charts/ordinal/RadarChart.capability.d.ts +2 -0
  197. package/dist/components/charts/ordinal/RadarChart.d.ts +77 -0
  198. package/dist/components/charts/ordinal/RidgelinePlot.d.ts +3 -0
  199. package/dist/components/charts/ordinal/StackedBarChart.d.ts +6 -0
  200. package/dist/components/charts/ordinal/SwarmPlot.d.ts +3 -0
  201. package/dist/components/charts/ordinal/SwimlaneChart.d.ts +3 -0
  202. package/dist/components/charts/ordinal/ViolinPlot.d.ts +3 -0
  203. package/dist/components/charts/physics/CollisionSwarmChart.d.ts +1 -1
  204. package/dist/components/charts/physics/EventDropChart.d.ts +3 -1
  205. package/dist/components/charts/physics/GaltonBoardChart.d.ts +4 -2
  206. package/dist/components/charts/physics/GauntletChart.d.ts +1 -5
  207. package/dist/components/charts/physics/ProcessFlowChart.d.ts +6 -0
  208. package/dist/components/charts/physics/UnitPileChart.d.ts +2 -1
  209. package/dist/components/charts/physics/chainReactionTypes.d.ts +3 -0
  210. package/dist/components/charts/physics/collisionSwarmPacking.d.ts +14 -0
  211. package/dist/components/charts/physics/collisionSwarmPhysics.d.ts +1 -0
  212. package/dist/components/charts/physics/eventDropAdmission.d.ts +32 -0
  213. package/dist/components/charts/physics/eventDropPhysics.d.ts +22 -1
  214. package/dist/components/charts/physics/galtonBoardPhysics.d.ts +2 -9
  215. package/dist/components/charts/physics/gauntletPhysics.d.ts +1 -0
  216. package/dist/components/charts/physics/physicsChartReconcile.d.ts +4 -0
  217. package/dist/components/charts/physics/physicsChartUtils.d.ts +1 -1
  218. package/dist/components/charts/physics/physicsGaltonData.d.ts +10 -0
  219. package/dist/components/charts/physics/physicsHocHandle.d.ts +2 -0
  220. package/dist/components/charts/physics/physicsHocUtils.d.ts +7 -1
  221. package/dist/components/charts/physics/physicsPileData.d.ts +11 -0
  222. package/dist/components/charts/physics/physicsPilePhysics.d.ts +5 -12
  223. package/dist/components/charts/physics/physicsProjectionOverlays.d.ts +1 -1
  224. package/dist/components/charts/physics/physicsSourceRows.d.ts +8 -0
  225. package/dist/components/charts/physics/usePhysicsChartData.d.ts +19 -0
  226. package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +14 -1
  227. package/dist/components/charts/realtime/RealtimeHistogram.d.ts +25 -7
  228. package/dist/components/charts/realtime/RealtimeLineChart.d.ts +18 -5
  229. package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +11 -1
  230. package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +11 -1
  231. package/dist/components/charts/realtime/aggregate.d.ts +12 -1
  232. package/dist/components/charts/realtime/realtimeAccessors.d.ts +4 -0
  233. package/dist/components/charts/realtime/realtimeChartRuntime.d.ts +8 -5
  234. package/dist/components/charts/realtime/realtimeChartTypes.d.ts +7 -0
  235. package/dist/components/charts/realtime/realtimeStyleRules.d.ts +4 -0
  236. package/dist/components/charts/realtime/temporalHistogramConfig.d.ts +17 -11
  237. package/dist/components/charts/shared/GaugeReadout.d.ts +9 -0
  238. package/dist/components/charts/shared/ThresholdAnnotation.d.ts +18 -0
  239. package/dist/components/charts/shared/ThresholdEndCap.d.ts +7 -0
  240. package/dist/components/charts/shared/annotationStatusFilter.d.ts +18 -0
  241. package/dist/components/charts/shared/auditAccessibilityText.d.ts +4 -2
  242. package/dist/components/charts/shared/chartDefinitionPilot.d.ts +5 -4
  243. package/dist/components/charts/shared/chartSpecCore.d.ts +2 -2
  244. package/dist/components/charts/shared/heatmapStyleRules.d.ts +13 -0
  245. package/dist/components/charts/shared/knownChartComponents.d.ts +1 -1
  246. package/dist/components/charts/shared/networkUtils.d.ts +14 -0
  247. package/dist/components/charts/shared/numericTickFormatter.d.ts +2 -0
  248. package/dist/components/charts/shared/radialCenterContent.d.ts +10 -0
  249. package/dist/components/charts/shared/selectionUtils.d.ts +3 -1
  250. package/dist/components/charts/shared/tooltipUtils.d.ts +1 -1
  251. package/dist/components/charts/shared/types.d.ts +4 -2
  252. package/dist/components/charts/shared/useChartLegend.d.ts +6 -1
  253. package/dist/components/charts/shared/useLikertAggregation.d.ts +8 -2
  254. package/dist/components/charts/shared/useNetworkChartSetup.d.ts +9 -5
  255. package/dist/components/charts/shared/useOrdinalPieceStyle.d.ts +1 -1
  256. package/dist/components/charts/shared/useXYBrush.d.ts +24 -0
  257. package/dist/components/charts/shared/useXYPointStyle.d.ts +2 -0
  258. package/dist/components/charts/xy/BubbleChart.d.ts +7 -0
  259. package/dist/components/charts/xy/CandlestickChart.d.ts +7 -0
  260. package/dist/components/charts/xy/DifferenceChart.d.ts +7 -0
  261. package/dist/components/charts/xy/Heatmap.d.ts +16 -0
  262. package/dist/components/charts/xy/LineChart.d.ts +9 -0
  263. package/dist/components/charts/xy/MinimapChart.d.ts +7 -0
  264. package/dist/components/charts/xy/MultiAxisLineChart.d.ts +7 -0
  265. package/dist/components/charts/xy/Scatterplot.d.ts +7 -0
  266. package/dist/components/charts/xy/ScatterplotMatrix.d.ts +6 -0
  267. package/dist/components/charts/xy/WaterfallChart.capability.d.ts +2 -0
  268. package/dist/components/charts/xy/WaterfallChart.d.ts +76 -0
  269. package/dist/components/charts/xy/differenceMarkStyle.d.ts +28 -0
  270. package/dist/components/charts/xy/multiAxisFields.d.ts +23 -0
  271. package/dist/components/charts/xy/scatterplotMatrixCells.d.ts +50 -0
  272. package/dist/components/evidence/chartEvidenceEnvelope.d.ts +154 -0
  273. package/dist/components/evidence/evidenceEnvelopeInput.d.ts +8 -0
  274. package/dist/components/evidence/evidenceEnvelopeValidation.d.ts +11 -0
  275. package/dist/components/evidence/evidenceGate.d.ts +30 -0
  276. package/dist/components/evidence/renderedSceneHash.d.ts +23 -0
  277. package/dist/components/evidence/stableJsonHash.d.ts +4 -0
  278. package/dist/components/export/chartConfig.d.ts +40 -5
  279. package/dist/components/export/chartConfigArtifact.d.ts +6 -0
  280. package/dist/components/legendLayout.d.ts +18 -0
  281. package/dist/components/legendStyles.d.ts +4 -0
  282. package/dist/components/realtime/BinAccumulator.d.ts +5 -1
  283. package/dist/components/realtime/types.d.ts +16 -7
  284. package/dist/components/recipes/adjacencyFlow.d.ts +12 -0
  285. package/dist/components/recipes/adjacencyFlowAggregation.d.ts +72 -0
  286. package/dist/components/recipes/adjacencyFlowGeometry.d.ts +79 -0
  287. package/dist/components/recipes/firstAvailableTrack.d.ts +17 -0
  288. package/dist/components/recipes/intervals.d.ts +1 -1
  289. package/dist/components/recipes/lineageDag.d.ts +17 -0
  290. package/dist/components/recipes/lineageDagHulls.d.ts +22 -0
  291. package/dist/components/recipes/transitDiagram.d.ts +75 -0
  292. package/dist/components/recipes/transitDiagramGeometry.d.ts +47 -0
  293. package/dist/components/semiotic-access.d.ts +9 -0
  294. package/dist/components/semiotic-ai-audits.d.ts +17 -0
  295. package/dist/components/semiotic-ai-core.d.ts +38 -18
  296. package/dist/components/semiotic-ai.d.ts +20 -20
  297. package/dist/components/semiotic-artifact-react.d.ts +10 -0
  298. package/dist/components/semiotic-artifact.d.ts +23 -0
  299. package/dist/components/semiotic-evidence.d.ts +10 -0
  300. package/dist/components/semiotic-experimental.d.ts +1 -1
  301. package/dist/components/semiotic-line.d.ts +9 -0
  302. package/dist/components/semiotic-network.d.ts +3 -0
  303. package/dist/components/semiotic-ordinal.d.ts +2 -0
  304. package/dist/components/semiotic-physics.d.ts +4 -4
  305. package/dist/components/semiotic-realtime-core.d.ts +3 -2
  306. package/dist/components/semiotic-recipes-core.d.ts +6 -0
  307. package/dist/components/semiotic-text.d.ts +2 -0
  308. package/dist/components/semiotic-themes-core.d.ts +3 -0
  309. package/dist/components/semiotic-utils-core.d.ts +19 -14
  310. package/dist/components/semiotic-xy.d.ts +3 -0
  311. package/dist/components/semiotic.d.ts +11 -5
  312. package/dist/components/server/renderDashboard.d.ts +37 -0
  313. package/dist/components/server/renderEvidence.d.ts +39 -0
  314. package/dist/components/server/renderToStaticSVG.d.ts +5 -30
  315. package/dist/components/server/serverChartConfigShared.d.ts +13 -0
  316. package/dist/components/server/serverChartConfigs.d.ts +9 -0
  317. package/dist/components/server/serverChartConfigsComposite.d.ts +4 -0
  318. package/dist/components/server/serverChartConfigsCustom.d.ts +2 -0
  319. package/dist/components/server/serverChartConfigsGeo.d.ts +1 -0
  320. package/dist/components/server/serverChartConfigsOrdinal.d.ts +3 -2
  321. package/dist/components/server/serverChartConfigsXY.d.ts +1 -0
  322. package/dist/components/server/serverChartConfigsXYExtra.d.ts +3 -0
  323. package/dist/components/server/serverCompositeChainReaction.d.ts +3 -0
  324. package/dist/components/server/serverOrdinalGauge.d.ts +3 -0
  325. package/dist/components/server/serverOrdinalLikert.d.ts +2 -0
  326. package/dist/components/server/staticSVGChrome.d.ts +1 -4
  327. package/dist/components/server/staticXYAxisTicks.d.ts +2 -38
  328. package/dist/components/server/staticXYGrid.d.ts +1 -1
  329. package/dist/components/server/svgSizing.d.ts +6 -0
  330. package/dist/components/shared/svgRoot.d.ts +17 -0
  331. package/dist/components/store/selectionProvenance.d.ts +14 -0
  332. package/dist/components/store/themeCore.d.ts +5 -1
  333. package/dist/components/stream/GeoPipelineStore.d.ts +1 -1
  334. package/dist/components/stream/GeoSVGOverlay.d.ts +4 -0
  335. package/dist/components/stream/MarginalGraphics.d.ts +3 -3
  336. package/dist/components/stream/MarginalGraphicsLazy.d.ts +22 -0
  337. package/dist/components/stream/NetworkPipelineStore.d.ts +2 -0
  338. package/dist/components/stream/NetworkSVGOverlay.d.ts +4 -0
  339. package/dist/components/stream/OrdinalPipelineStore.d.ts +1 -1
  340. package/dist/components/stream/OrdinalSVGOverlay.d.ts +4 -0
  341. package/dist/components/stream/PipelineStore.d.ts +1 -1
  342. package/dist/components/stream/SVGOverlay.d.ts +4 -0
  343. package/dist/components/stream/SceneToSVG.d.ts +4 -19
  344. package/dist/components/stream/SceneToSVGXY.d.ts +13 -0
  345. package/dist/components/stream/StreamGeoFrame.d.ts +1 -2
  346. package/dist/components/stream/StreamOrdinalFrame.d.ts +1 -2
  347. package/dist/components/stream/XYGrid.d.ts +11 -0
  348. package/dist/components/stream/axisTickUtils.d.ts +0 -1
  349. package/dist/components/stream/canvasSetup.d.ts +8 -2
  350. package/dist/components/stream/customLayoutAttempt.d.ts +21 -0
  351. package/dist/components/stream/geoTypes.d.ts +1 -1
  352. package/dist/components/stream/hitTestUtils.d.ts +2 -0
  353. package/dist/components/stream/isServerEnvironment.d.ts +6 -0
  354. package/dist/components/stream/layouts/forceLayoutNodeSize.d.ts +12 -0
  355. package/dist/components/stream/layouts/forceLayoutPlugin.d.ts +2 -9
  356. package/dist/components/stream/layouts/forceLayoutWorkerClient.d.ts +2 -21
  357. package/dist/components/stream/layouts/forceLayoutWorkerPolicy.d.ts +21 -0
  358. package/dist/components/stream/layouts/index.d.ts +6 -12
  359. package/dist/components/stream/layouts/missingPlugin.d.ts +7 -0
  360. package/dist/components/stream/layouts/registerBuiltIn.d.ts +1 -0
  361. package/dist/components/stream/layouts/registry.d.ts +12 -0
  362. package/dist/components/stream/marginalConfig.d.ts +3 -0
  363. package/dist/components/stream/networkCustomLayout.d.ts +7 -0
  364. package/dist/components/stream/networkCustomLayoutOutput.d.ts +13 -0
  365. package/dist/components/stream/networkCustomLayoutRunner.d.ts +1 -1
  366. package/dist/components/stream/networkTypes.d.ts +5 -1
  367. package/dist/components/stream/ordinalTypes.d.ts +1 -1
  368. package/dist/components/stream/overlayAccessibleText.d.ts +18 -0
  369. package/dist/components/stream/physics/PhysicsControllers.d.ts +1 -1
  370. package/dist/components/stream/physics/PhysicsKernel.d.ts +9 -0
  371. package/dist/components/stream/physics/PhysicsPipelineStore.d.ts +5 -4
  372. package/dist/components/stream/physics/PhysicsPipelineTypes.d.ts +9 -0
  373. package/dist/components/stream/physics/StreamPhysicsTypes.d.ts +4 -1
  374. package/dist/components/stream/physics/physicsCanvasCoordinates.d.ts +5 -0
  375. package/dist/components/stream/physics/physicsFixedPosition.d.ts +16 -0
  376. package/dist/components/stream/physics/physicsKernelCloning.d.ts +6 -0
  377. package/dist/components/stream/physics/physicsPipelineObservations.d.ts +2 -0
  378. package/dist/components/stream/physics/physicsPipelineSettle.d.ts +15 -9
  379. package/dist/components/stream/physics/physicsRegionRuntime.d.ts +8 -17
  380. package/dist/components/stream/physics/physicsSemanticUI.d.ts +9 -0
  381. package/dist/components/stream/pipelineConfig.d.ts +4 -0
  382. package/dist/components/stream/pipelineDomainResolution.d.ts +6 -0
  383. package/dist/components/stream/pipelineStoreUpdateResults.d.ts +1 -1
  384. package/dist/components/stream/renderers/pointCanvasRenderer.d.ts +4 -0
  385. package/dist/components/stream/renderers/resolveCSSColor.d.ts +4 -4
  386. package/dist/components/stream/resolveXYAxes.d.ts +13 -0
  387. package/dist/components/stream/sceneToSVGShared.d.ts +2 -1
  388. package/dist/components/stream/seriesGeometry.d.ts +13 -0
  389. package/dist/components/stream/streamEncodingTypes.d.ts +53 -0
  390. package/dist/components/stream/types.d.ts +12 -54
  391. package/dist/components/stream/useEnsureCustomXYRenderers.d.ts +18 -0
  392. package/dist/components/stream/useGeoFrameHandle.d.ts +16 -0
  393. package/dist/components/stream/useMarginalValues.d.ts +13 -0
  394. package/dist/components/stream/useOrdinalFrameHandle.d.ts +15 -0
  395. package/dist/components/stream/useXYFrameHandle.d.ts +15 -0
  396. package/dist/components/stream/xyAxisTicks.d.ts +25 -0
  397. package/dist/components/stream/xyCanvasRenderers.d.ts +4 -4
  398. package/dist/components/stream/xyDateTicks.d.ts +3 -2
  399. package/dist/components/stream/xyFrameAxisTypes.d.ts +2 -0
  400. package/dist/components/stream/xyPlugins/areaPlugin.d.ts +2 -0
  401. package/dist/components/stream/xyPlugins/barPlugin.d.ts +2 -0
  402. package/dist/components/stream/xyPlugins/candlestickPlugin.d.ts +2 -0
  403. package/dist/components/stream/xyPlugins/customPlugin.d.ts +6 -0
  404. package/dist/components/stream/xyPlugins/heatmapPlugin.d.ts +2 -0
  405. package/dist/components/stream/xyPlugins/lineFamily.d.ts +5 -0
  406. package/dist/components/stream/xyPlugins/linePlugin.d.ts +2 -0
  407. package/dist/components/stream/xyPlugins/missingPlugin.d.ts +7 -0
  408. package/dist/components/stream/xyPlugins/mixedPlugin.d.ts +2 -0
  409. package/dist/components/stream/xyPlugins/pointPlugin.d.ts +3 -0
  410. package/dist/components/stream/xyPlugins/registerBuiltIn.d.ts +1 -0
  411. package/dist/components/stream/xyPlugins/registry.d.ts +31 -0
  412. package/dist/components/stream/xyPlugins/stackedAreaPlugin.d.ts +2 -0
  413. package/dist/components/stream/xyPlugins/swarmPlugin.d.ts +2 -0
  414. package/dist/components/stream/xyPlugins/waterfallPlugin.d.ts +2 -0
  415. package/dist/components/stream/xySceneBuilders/ribbonScene.d.ts +1 -1
  416. package/dist/components/stream/xySceneBuilders/types.d.ts +1 -0
  417. package/dist/components/text/annotationTextLayout.d.ts +28 -0
  418. package/dist/components/text/pretextAnnotationLayout.d.ts +29 -0
  419. package/dist/components/text/usePretextAnnotations.d.ts +12 -0
  420. package/dist/controls.module.min.js +1 -1
  421. package/dist/forceLayoutWorker.js +1 -1
  422. package/dist/geo.min.js +1 -1
  423. package/dist/geo.module.min.js +1 -1
  424. package/dist/network.module.min.js +1 -1
  425. package/dist/ordinal.module.min.js +1 -1
  426. package/dist/physics-matter.min.js +1 -1
  427. package/dist/physics-matter.module.min.js +1 -1
  428. package/dist/physics-rapier.min.js +1 -1
  429. package/dist/physics-rapier.module.min.js +1 -1
  430. package/dist/physics.module.min.js +1 -1
  431. package/dist/physicsWorker.js +1 -1
  432. package/dist/processSankeyLayoutWorker.js +1 -1
  433. package/dist/rough.min.js +1 -1
  434. package/dist/rough.module.min.js +1 -1
  435. package/dist/semiotic-access.d.ts +9 -0
  436. package/dist/semiotic-access.min.js +2 -0
  437. package/dist/semiotic-access.module.min.js +2 -0
  438. package/dist/semiotic-ai-artifact-policy-constants.module.min.js +2 -0
  439. package/dist/semiotic-ai-core.d.ts +38 -18
  440. package/dist/semiotic-ai-core.min.js +1 -1
  441. package/dist/semiotic-ai-core.module.min.js +1 -1
  442. package/dist/semiotic-ai-hash-primitives.module.min.js +2 -0
  443. package/dist/semiotic-ai.d.ts +20 -20
  444. package/dist/semiotic-ai.module.min.js +1 -1
  445. package/dist/semiotic-artifact-react.d.ts +10 -0
  446. package/dist/semiotic-artifact-react.min.js +2 -0
  447. package/dist/semiotic-artifact-react.module.min.js +2 -0
  448. package/dist/semiotic-artifact.d.ts +23 -0
  449. package/dist/semiotic-artifact.min.js +1 -0
  450. package/dist/semiotic-artifact.module.min.js +1 -0
  451. package/dist/semiotic-client-cjs-shared.min.js +1 -1
  452. package/dist/semiotic-client-glyph.module.min.js +1 -1
  453. package/dist/semiotic-client-responsive.module.min.js +1 -1
  454. package/dist/semiotic-client-shared.module.min.js +1 -1
  455. package/dist/semiotic-custom-layout-selection-cjs-shared.min.js +1 -1
  456. package/dist/semiotic-data.min.js +1 -1
  457. package/dist/semiotic-data.module.min.js +1 -1
  458. package/dist/semiotic-evidence.d.ts +10 -0
  459. package/dist/semiotic-evidence.min.js +1 -0
  460. package/dist/semiotic-evidence.module.min.js +1 -0
  461. package/dist/semiotic-experimental-auxiliary.module.min.js +1 -1
  462. package/dist/semiotic-experimental-node-auxiliary.module.min.js +1 -1
  463. package/dist/semiotic-experimental-react-shared.module.min.js +1 -1
  464. package/dist/semiotic-experimental-vacp.min.js +1 -1
  465. package/dist/semiotic-experimental-vacp.module.min.js +1 -1
  466. package/dist/semiotic-experimental.d.ts +1 -1
  467. package/dist/semiotic-line.d.ts +9 -0
  468. package/dist/semiotic-line.min.js +2 -0
  469. package/dist/semiotic-line.module.min.js +2 -0
  470. package/dist/semiotic-network.d.ts +3 -0
  471. package/dist/semiotic-ordinal.d.ts +2 -0
  472. package/dist/semiotic-physics.d.ts +4 -4
  473. package/dist/semiotic-realtime-core.d.ts +3 -2
  474. package/dist/semiotic-realtime-core.module.min.js +1 -1
  475. package/dist/semiotic-realtime-react.module.min.js +1 -1
  476. package/dist/semiotic-recipes-core-cjs-base.min.js +1 -1
  477. package/dist/semiotic-recipes-core.d.ts +6 -0
  478. package/dist/semiotic-recipes-core.module.min.js +1 -1
  479. package/dist/semiotic-recipes-geo-cjs.min.js +1 -1
  480. package/dist/semiotic-recipes-react.min.js +1 -1
  481. package/dist/semiotic-server-edge-node.module.min.js +1 -1
  482. package/dist/semiotic-server-edge.min.js +1 -1
  483. package/dist/semiotic-server-edge.module.min.js +1 -1
  484. package/dist/semiotic-server-node.min.js +1 -1
  485. package/dist/semiotic-server-node.module.min.js +1 -1
  486. package/dist/semiotic-text.d.ts +2 -0
  487. package/dist/semiotic-text.min.js +2 -0
  488. package/dist/semiotic-text.module.min.js +2 -0
  489. package/dist/semiotic-themes-core.d.ts +3 -0
  490. package/dist/semiotic-themes-core.min.js +1 -1
  491. package/dist/semiotic-themes-core.module.min.js +1 -1
  492. package/dist/semiotic-themes.min.js +1 -1
  493. package/dist/semiotic-themes.module.min.js +1 -1
  494. package/dist/semiotic-utils-core.d.ts +19 -14
  495. package/dist/semiotic-utils-core.min.js +1 -1
  496. package/dist/semiotic-utils-core.module.min.js +1 -1
  497. package/dist/semiotic-value.module.min.js +1 -1
  498. package/dist/semiotic-xy.d.ts +3 -0
  499. package/dist/semiotic.d.ts +11 -5
  500. package/dist/semiotic.module.min.js +1 -1
  501. package/dist/server.min.js +1 -1
  502. package/dist/server.module.min.js +1 -1
  503. package/dist/xy.module.min.js +1 -1
  504. package/package.json +91 -71
  505. package/spec/README.md +8 -3
  506. package/spec/v0.1/artifact-contract.schema.json +2299 -0
  507. package/spec/v0.1/examples/artifact-contract-full.json +369 -0
  508. package/spec/v0.1/examples/artifact-contract-unknown-state.json +46 -0
  509. package/dist/c-3BLJEQNG.min.js +0 -1
  510. package/dist/c-3KZD6AXJ.min.js +0 -1
  511. package/dist/c-4TWEX5HG.min.js +0 -1
  512. package/dist/c-52TEGIUJ.min.js +0 -1
  513. package/dist/c-5YCIX3VZ.min.js +0 -1
  514. package/dist/c-6FEKTA3U.min.js +0 -1
  515. package/dist/c-6O5EVOPH.min.js +0 -1
  516. package/dist/c-74HEEZGK.min.js +0 -1
  517. package/dist/c-AKAF6JAD.min.js +0 -1
  518. package/dist/c-BBKITSXB.min.js +0 -1
  519. package/dist/c-BWNB6USU.min.js +0 -1
  520. package/dist/c-C25ENHIK.min.js +0 -1
  521. package/dist/c-CDR5AO3R.min.js +0 -1
  522. package/dist/c-COHXCW3Q.min.js +0 -1
  523. package/dist/c-DADXPJXV.min.js +0 -1
  524. package/dist/c-E3JFRRMI.min.js +0 -1
  525. package/dist/c-EBFPQHHO.min.js +0 -1
  526. package/dist/c-G36WS6LN.min.js +0 -1
  527. package/dist/c-GGISSW5E.min.js +0 -1
  528. package/dist/c-GIKRQI4X.min.js +0 -1
  529. package/dist/c-GPYOFETM.min.js +0 -1
  530. package/dist/c-IDUHYYSI.min.js +0 -1
  531. package/dist/c-IUHFPMHD.min.js +0 -1
  532. package/dist/c-J5G56TUH.min.js +0 -1
  533. package/dist/c-JAZ73J32.min.js +0 -1
  534. package/dist/c-KG3NXHAL.min.js +0 -1
  535. package/dist/c-KII3PLZE.min.js +0 -1
  536. package/dist/c-LIXGXMNS.min.js +0 -1
  537. package/dist/c-LVEY6D6B.min.js +0 -1
  538. package/dist/c-M4Y3BHFR.min.js +0 -1
  539. package/dist/c-MAIICR2Z.min.js +0 -1
  540. package/dist/c-MG5DM6VE.min.js +0 -1
  541. package/dist/c-MNF2S4AA.min.js +0 -1
  542. package/dist/c-MT3WBK7M.min.js +0 -1
  543. package/dist/c-NY3JWV2K.min.js +0 -1
  544. package/dist/c-O6U6K4CW.min.js +0 -1
  545. package/dist/c-OQ7M4AGV.min.js +0 -1
  546. package/dist/c-OXYMVK7Q.min.js +0 -1
  547. package/dist/c-PPWDL5ZI.min.js +0 -1
  548. package/dist/c-QHF5YON3.min.js +0 -1
  549. package/dist/c-RR3GO5SW.min.js +0 -1
  550. package/dist/c-RSVIHIQ4.min.js +0 -1
  551. package/dist/c-S2BXNNJN.min.js +0 -1
  552. package/dist/c-S6U5CGT5.min.js +0 -1
  553. package/dist/c-SLGMUBUL.min.js +0 -1
  554. package/dist/c-SUILCHWU.min.js +0 -1
  555. package/dist/c-TZW3JGJ5.min.js +0 -1
  556. package/dist/c-US5ZFT6E.min.js +0 -1
  557. package/dist/c-USFMFKIH.min.js +0 -1
  558. package/dist/c-UUKVD4WB.min.js +0 -1
  559. package/dist/c-VGW3VG3I.min.js +0 -1
  560. package/dist/c-W3CE4A4S.min.js +0 -1
  561. package/dist/c-WJCD5EUY.min.js +0 -1
  562. package/dist/c-X5UBGU2V.min.js +0 -1
  563. package/dist/c-YDAY2WFR.min.js +0 -1
  564. package/dist/c-ZOWWU34K.min.js +0 -1
  565. /package/dist/{c-N4G2L7ID.min.js → c-HYW2XA4Q.min.js} +0 -0
  566. /package/dist/{c-OCI56QF2.min.js → c-V4XMSLC3.min.js} +0 -0
@@ -0,0 +1,188 @@
1
+ <!-- Generated by scripts/generate-ai-task-packets.mjs; edit ai/tasks/compare-category-totals.json. -->
2
+
3
+ # Compare category totals you can check
4
+
5
+ Compare three totals in React, inspect their exact values, and verify the server-rendered bar geometry.
6
+
7
+ Source package: semiotic@3.10.0. Channel: source.
8
+ Source revision: sha256:5e5a22378c5f0f2ba897818a2d9a0daedca6f6a7b7465f8e248548b231ec1eae. Verified source checkout guidance; npm package, hosted site and MCP deployment identities require separate checks.
9
+
10
+ ## The job
11
+
12
+ Compare categories and keep a usable route to the values when the picture is unavailable.
13
+
14
+ Data: One already aggregated, nonnegative total per category, all in the same unit. The synthetic fixture is North 12, South 30, West 18.
15
+
16
+ ## Fit and constraints
17
+
18
+ - Use in an existing Semiotic React application or when structured chart access and schema-guided validation meet an explicit project requirement.
19
+
20
+ - A small chart change alone need not justify replacing a working visualization library.
21
+ - This fixture does not establish that an external source is accurate or that every reader can use the result.
22
+
23
+ ## Smallest working path
24
+
25
+ Component: BarChart from `semiotic/ordinal`. Usage: static. Data prop required in this mode: true.
26
+
27
+ ### React component
28
+
29
+ React browser; source: docs/src/pages/tasks/examples/CategoryComparisonExample.tsx.
30
+
31
+ ```tsx
32
+ import { useState } from "react"
33
+ import { BarChart } from "semiotic/ordinal"
34
+ import { categoryComparisonProps } from "./category-comparison"
35
+
36
+ export default function CategoryComparisonExample() {
37
+ const [orientation, setOrientation] = useState<"vertical" | "horizontal">("vertical")
38
+ return (
39
+ <section aria-label="Category comparison example" className="task-example">
40
+ <p>Synthetic fixture: three already aggregated regional totals, all measured in units.</p>
41
+ <label>
42
+ Bar direction{" "}
43
+ <select
44
+ value={orientation}
45
+ onChange={(event) => setOrientation(event.target.value as typeof orientation)}
46
+ >
47
+ <option value="vertical">Vertical</option>
48
+ <option value="horizontal">Horizontal</option>
49
+ </select>
50
+ </label>
51
+ <BarChart {...categoryComparisonProps} orientation={orientation} responsiveWidth />
52
+ <p>
53
+ South accounts for 30 of the 60 units. Changing direction preserves the values and category
54
+ order.
55
+ </p>
56
+ </section>
57
+ )
58
+ }
59
+ ```
60
+
61
+ ### Shared fixture and chart props
62
+
63
+ Browser and server; source: docs/src/pages/tasks/examples/category-comparison.ts.
64
+
65
+ ```ts
66
+ import type { BarChartProps } from "semiotic/ordinal"
67
+
68
+ export const regionalTotals = [
69
+ { region: "North", total: 12 },
70
+ { region: "South", total: 30 },
71
+ { region: "West", total: 18 },
72
+ ]
73
+
74
+ export const categoryComparisonProps = {
75
+ data: regionalTotals,
76
+ categoryAccessor: "region",
77
+ valueAccessor: "total",
78
+ sort: false,
79
+ title: "Regional totals",
80
+ description: "Synthetic regional totals in the same unit: North 12, South 30, West 18.",
81
+ summary:
82
+ "South has the largest total, 30. The three regions total 60 units. Open the data table for exact values.",
83
+ accessibleTable: true,
84
+ valueLabel: "Units",
85
+ height: 300,
86
+ } satisfies BarChartProps<(typeof regionalTotals)[number]>
87
+ ```
88
+
89
+ ### Optional server verification
90
+
91
+ Node authoring only; source: docs/src/pages/tasks/examples/check-category-comparison.ts.
92
+
93
+ ```ts
94
+ // Server-side authoring only: keep validation and SVG rendering out of the React route.
95
+ import { prepareChart } from "semiotic/ai/core"
96
+ import { renderChartWithEvidence } from "semiotic/server"
97
+ import { categoryComparisonProps } from "./category-comparison"
98
+
99
+ export function checkCategoryComparison() {
100
+ const result = prepareChart(
101
+ { component: "BarChart", props: categoryComparisonProps },
102
+ { render: renderChartWithEvidence },
103
+ )
104
+ if (!result.ok || !result.evidence || !result.svg) {
105
+ throw new Error(result.reasons.join("; ") || "Render evidence is unavailable")
106
+ }
107
+ return result
108
+ }
109
+ ```
110
+
111
+ ## Check the result
112
+
113
+ Evidence state: supported-in-scope. Only the content digests and environment recorded here; not a release range or an adoption result.
114
+
115
+ - North 12, South 30, West 18; total 60, with South largest.
116
+ - Three SVG bars retain 12:30:18 proportions and insertion order in both orientations.
117
+ - The browser data table retains the exact category/value mapping.
118
+ - An invalid value accessor is refused; the repaired configuration preserves the rows.
119
+
120
+ Run:
121
+
122
+ ```sh
123
+ npx vitest run docs/src/pages/tasks/examples/category-comparison.test.ts
124
+ npx playwright test --config playwright.docs-examples.config.ts integration-tests/docs-examples-tasks.spec.ts
125
+ ```
126
+
127
+ Recorded execution: 2026-09-11T03:13:52.427Z. Agent-observed execution of repository tests; independent review is not recorded.
128
+
129
+ Not assessed:
130
+
131
+ - Underlying source accuracy: this is a synthetic fixture.
132
+ - Assistive-technology reception and usability with actual readers.
133
+ - Organic discovery, model preference, and published-package parity.
134
+
135
+ ## Repair and recheck
136
+
137
+ ### The chart has no useful values after a field was renamed.
138
+
139
+ Set valueAccessor to the actual numeric field, total, while preserving data. Run the server check and inspect the exact-value table.
140
+
141
+ Recheck: The bars must encode 12, 30 and 18; a nonempty scene alone is insufficient.
142
+
143
+ Contract: props.data-required-by-usage-mode.
144
+
145
+ ### prepareChart returned ok, but there is no SVG.
146
+
147
+ Inject renderChartWithEvidence from semiotic/server in Node authoring code when rendered evidence is required.
148
+
149
+ Recheck: Inspect evidence and svg explicitly. Without a renderer, ok covers a different set of checks.
150
+
151
+ Contract: rendering.renderchart-static-props.
152
+
153
+ ## Exact API and mode guidance
154
+
155
+ Selected properties copied from ai/schema.json; retrieve the component resource for the full schema. React push mode follows the included behavior contracts.
156
+
157
+ Full component resource: semiotic://schema/BarChart. Machine packet: /tasks/compare-category-totals.json.
158
+
159
+ - **accessibility.description-props:** High-level charts expose title for the visible name, description for a concise accessible description, summary for a screen-reader-only takeaway and interaction guidance, and accessibleTable for the data-table fallback. Put title, description, summary, and accessibleTable directly on the chart component when they appear in its schema. If a consumer-owned role=img wraps the chart, use accessibleTable: { portalTarget: "element-id" } and render that target outside the image. For generated L1–L3 description or a navigable chart tree, use ChartContainer with chartConfig plus describe and/or navigable; do not invent frameProps fields.
160
+
161
+ - **props.data-required-by-usage-mode:** Static usage (`renderChart`, MCP previews, SSR snapshots, and copy/paste examples with immediate data) requires data in props. React push mode selects live ingestion by omitting data and mutating through a ref. Pass usageMode="push" to `semiotic-ai --doctor` when validating ref-based JSX with no data prop. Keep usageMode="static" or omit it for renderChart/MCP/static configs where data must be present.
162
+
163
+ - **rendering.renderchart-static-props:** MCP renderChart and semiotic/server renderChart render a single static SVG/PNG snapshot. Browser-only realtime components and future ref pushes are not renderable through that path. Use renderChart only with renderable HOC components and complete static data. For live behavior, return React code with a ref and do not promise MCP-rendered output.
164
+
165
+ - **serialization.formatters-are-react-callbacks:** xFormat, yFormat, categoryFormat, and valueFormat are callback props, not d3 format strings or axis-title strings. They are intentionally absent from JSON/MCP schemas and string values fail validation. In serialized props, omit formatter callbacks and use xLabel, yLabel, categoryLabel, or valueLabel for axis titles. In React JSX, pass a function such as xFormat={value => formatAxis(value)}.
166
+
167
+ ## Maintenance context
168
+
169
+ This project needs React rendering with inspectable category values.
170
+
171
+ - Category/value mapping, units, order, summary and the accessible table after source or dependency changes.
172
+
173
+ An image alone omits the source rows and verification context. Keep the config and fixture when the next reader needs exact values.
174
+
175
+ Read the installed package and lockfile before applying source guidance. A matching version string alone does not establish deployed parity. These notes are removable project context, subordinate to the current task and dependency policy.
176
+
177
+ ## Behavioral update
178
+
179
+ Status: source-only. Released introduction: not established.
180
+
181
+ Assumption to revisit: A valid configuration or a nonempty render establishes that the values are mapped correctly.
182
+
183
+ Run configuration checks, inspect the rendered geometry and compare the category/value table with independent fixture facts.
184
+
185
+ - Rendering evidence must be present when a render is claimed.
186
+ - An installed package version different from the packet's packageVersion needs matching guidance.
187
+
188
+ Source truth and usability with actual readers remain separate obligations.
@@ -0,0 +1,271 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "generatedBy": "scripts/generate-ai-task-packets.mjs",
4
+ "id": "correct-published-chart",
5
+ "title": "Correct a chart after its source changes",
6
+ "summary": "Apply a source correction, replace affected claims explicitly, and preserve the context a later reader needs.",
7
+ "route": "/tasks/correct-published-chart",
8
+ "identity": {
9
+ "packageName": "semiotic",
10
+ "packageVersion": "3.10.0",
11
+ "channel": "source",
12
+ "sourceRevision": "sha256:468d1a308430272a298f6cd79a05bf89f244cb3dcb401a7e83303bd835f816ec",
13
+ "revisionKind": "content-digest",
14
+ "runtime": {
15
+ "digest": "sha256:cf510709caa078398644ff232870d8405551b420c1b8967da1d08dbc9c7fc821",
16
+ "fileCount": 1082
17
+ },
18
+ "taskSources": {
19
+ "digest": "sha256:62733dc8fadd1c8655adc743fb1fcb2c555c73dd191c1df8cf8f6c689e2085ba",
20
+ "fileCount": 36
21
+ },
22
+ "availability": "Verified source checkout guidance; npm package, hosted site and MCP deployment identities require separate checks."
23
+ },
24
+ "job": "A source value changed. Update the chart and identify conclusions that still need review.",
25
+ "dataShape": "Synthetic regional totals: North 12, South 30, West 18. Correct West to 36; the new total is 78 and West becomes largest.",
26
+ "fit": [
27
+ "Use when published chart claims and source identity must remain inspectable across revisions.",
28
+ "Artifact sidecars are optional; ordinary chart rendering remains available without project notes."
29
+ ],
30
+ "exclusions": [
31
+ "A matching hash does not authenticate the source or prove arbitrary prose true.",
32
+ "A generated revision or transfer report does not grant publication approval or record a human review."
33
+ ],
34
+ "api": {
35
+ "name": "BarChart",
36
+ "category": "ordinal",
37
+ "importPath": "semiotic/ordinal",
38
+ "schemaResourceUri": "semiotic://schema/BarChart",
39
+ "renderable": true,
40
+ "requiresLiveData": false,
41
+ "description": "Vertical or horizontal bars for categorical comparisons.",
42
+ "component": "BarChart",
43
+ "usageMode": "static",
44
+ "dataRequired": true,
45
+ "schema": {
46
+ "type": "object",
47
+ "properties": {
48
+ "data": {
49
+ "type": "array",
50
+ "description": "Array of data objects"
51
+ },
52
+ "categoryAccessor": {
53
+ "type": "string",
54
+ "description": "Key for category labels",
55
+ "default": "category",
56
+ "x-semiotic-runtime-types": [
57
+ "string",
58
+ "function"
59
+ ]
60
+ },
61
+ "valueAccessor": {
62
+ "type": "string",
63
+ "description": "Key for bar values",
64
+ "default": "value",
65
+ "x-semiotic-runtime-types": [
66
+ "string",
67
+ "function"
68
+ ]
69
+ },
70
+ "title": {
71
+ "type": "string",
72
+ "description": "Visible chart title and the chart's accessible name."
73
+ },
74
+ "description": {
75
+ "type": "string",
76
+ "description": "Concise accessible description that overrides the chart's generated aria-label."
77
+ },
78
+ "summary": {
79
+ "type": "string",
80
+ "description": "Screen-reader-only summary of the chart's key takeaway; include keyboard interaction guidance when relevant."
81
+ },
82
+ "accessibleTable": {
83
+ "type": [
84
+ "boolean",
85
+ "object"
86
+ ],
87
+ "description": "Expose the chart data through Semiotic's screen-reader data table. Object form `{ portalTarget: string }` relocates its interactive UI to the DOM element with that ID.",
88
+ "default": true,
89
+ "oneOf": [
90
+ {
91
+ "type": "boolean"
92
+ },
93
+ {
94
+ "type": "object",
95
+ "additionalProperties": false,
96
+ "required": [
97
+ "portalTarget"
98
+ ],
99
+ "properties": {
100
+ "portalTarget": {
101
+ "type": "string",
102
+ "description": "ID of a DOM element outside any consumer-owned role=img wrapper. React callers may also pass an Element or a callback through the typed API."
103
+ }
104
+ }
105
+ }
106
+ ]
107
+ },
108
+ "height": {
109
+ "type": "number",
110
+ "default": 400
111
+ },
112
+ "responsiveWidth": {
113
+ "type": "boolean"
114
+ }
115
+ },
116
+ "requiredForStatic": [
117
+ "data"
118
+ ]
119
+ },
120
+ "schemaScope": "Selected properties copied from ai/schema.json; retrieve the component resource for the full schema. React push mode follows the included behavior contracts.",
121
+ "contracts": [
122
+ {
123
+ "id": "accessibility.description-props",
124
+ "title": "Accessible chart text uses direct chart props",
125
+ "summary": "High-level charts expose title for the visible name, description for a concise accessible description, summary for a screen-reader-only takeaway and interaction guidance, and accessibleTable for the data-table fallback.",
126
+ "action": "Put title, description, summary, and accessibleTable directly on the chart component when they appear in its schema. If a consumer-owned role=img wraps the chart, use accessibleTable: { portalTarget: \"element-id\" } and render that target outside the image. For generated L1–L3 description or a navigable chart tree, use ChartContainer with chartConfig plus describe and/or navigable; do not invent frameProps fields."
127
+ },
128
+ {
129
+ "id": "props.data-required-by-usage-mode",
130
+ "title": "Data required by usage mode",
131
+ "summary": "Static usage (`renderChart`, MCP previews, SSR snapshots, and copy/paste examples with immediate data) requires data in props. React push mode selects live ingestion by omitting data and mutating through a ref.",
132
+ "action": "Pass usageMode=\"push\" to `semiotic-ai --doctor` when validating ref-based JSX with no data prop. Keep usageMode=\"static\" or omit it for renderChart/MCP/static configs where data must be present."
133
+ },
134
+ {
135
+ "id": "rendering.renderchart-static-props",
136
+ "title": "renderChart uses static props only",
137
+ "summary": "MCP renderChart and semiotic/server renderChart render a single static SVG/PNG snapshot. Browser-only realtime components and future ref pushes are not renderable through that path.",
138
+ "action": "Use renderChart only with renderable HOC components and complete static data. For live behavior, return React code with a ref and do not promise MCP-rendered output."
139
+ }
140
+ ]
141
+ },
142
+ "examples": [
143
+ {
144
+ "title": "Correction and handoff controls",
145
+ "environment": "React browser",
146
+ "path": "docs/src/pages/tasks/examples/SourceCorrectionExample.tsx",
147
+ "source": "import { useMemo, useState } from \"react\"\nimport { BarChart } from \"semiotic/ordinal\"\nimport {\n correctedRows,\n inspectSourceHandoff,\n originalRows,\n originalSourceArtifact,\n reviseSourceArtifact,\n sourceChartProps,\n sourceCorrectionNote,\n sourceCorrectionSidecar,\n} from \"./source-correction\"\nimport \"./source-correction.css\"\n\nfunction downloadText(filename: string, content: string, type = \"application/json\") {\n const url = URL.createObjectURL(new Blob([content], { type }))\n const link = document.createElement(\"a\")\n link.href = url\n link.download = filename\n link.click()\n setTimeout(() => URL.revokeObjectURL(url), 0)\n}\n\nexport default function SourceCorrectionExample() {\n const original = useMemo(originalSourceArtifact, [])\n const [revised, setRevised] = useState<ReturnType<typeof reviseSourceArtifact>>()\n const [message, setMessage] = useState(\"Original revision: total 60; South leads with 30 units.\")\n const [includeSidecar, setIncludeSidecar] = useState(true)\n const [includeNote, setIncludeNote] = useState(false)\n const current = revised ?? original\n const props = current.props as ReturnType<typeof sourceChartProps>\n const sidecar = useMemo(() => sourceCorrectionSidecar(current.contract), [current.contract])\n const handoff = useMemo(\n () => inspectSourceHandoff(props, includeSidecar ? JSON.parse(sidecar.content) : undefined),\n [props, includeSidecar, sidecar.content],\n )\n\n function attemptCorrection(reassess: boolean) {\n try {\n const result = reviseSourceArtifact(reassess)\n setRevised(result)\n setMessage(\n \"Correction prepared: total 78; West leads with 36 units. Two previous claims were superseded. Human editorial review remains pending.\",\n )\n } catch (error) {\n setMessage(`Correction refused: ${error instanceof Error ? error.message : String(error)}`)\n }\n }\n\n return (\n <section className=\"source-correction-example\" aria-label=\"Source correction demonstration\">\n <p>\n The source corrects West from 18 to 36 units. That changes the total and the leading region.\n Updating the bars requires reviewing both conclusions. These are synthetic teaching values.\n </p>\n <table>\n <caption>The source correction, in units</caption>\n <thead>\n <tr>\n <th scope=\"col\">Region</th>\n <th scope=\"col\">Original</th>\n <th scope=\"col\">Corrected</th>\n </tr>\n </thead>\n <tbody>\n {originalRows.map((row, index) => (\n <tr key={row.region}>\n <th scope=\"row\">{row.region}</th>\n <td>{row.total}</td>\n <td>{correctedRows[index].total}</td>\n </tr>\n ))}\n <tr>\n <th scope=\"row\">Total</th>\n <td>60</td>\n <td>78</td>\n </tr>\n </tbody>\n </table>\n <div className=\"source-correction-actions\">\n <button type=\"button\" disabled={Boolean(revised)} onClick={() => attemptCorrection(false)}>\n Try changing data only\n </button>\n <button type=\"button\" disabled={Boolean(revised)} onClick={() => attemptCorrection(true)}>\n Correct data and both claims\n </button>\n <button\n type=\"button\"\n onClick={() => {\n setRevised(undefined)\n setMessage(\"Original revision restored: total 60; South leads with 30 units.\")\n }}\n >\n Reset example\n </button>\n </div>\n <p role=\"status\" data-testid=\"source-correction-status\">\n {message}\n </p>\n <BarChart {...props} />\n <p>\n <strong>Displayed revision {current.contract.artifact.revision}.</strong> {props.summary}\n </p>\n <ul aria-label=\"Claim history\">\n {current.contract.claims.map((claim) => (\n <li key={claim.id}>\n <strong>{claim.status}</strong>: {claim.text}\n {claim.supersedes?.length ? ` Replaces ${claim.supersedes.join(\", \")}.` : \"\"}\n </li>\n ))}\n </ul>\n <p>\n Supported here means an authored claim about this fixture, with arithmetic checked in its\n tests. The contract does not prove prose true. No human editorial approval is recorded.\n {revised\n ? ` The revision evaluation is ${revised.evaluation.status}; publishable is ${String(revised.publishable)}.`\n : \"\"}\n </p>\n {revised && (\n <details>\n <summary>Inspect correction identities and open checks</summary>\n <p>\n Original data identity: <code>{original.contract.artifact.dataFingerprint}</code>\n </p>\n <p>\n Revised data identity: <code>{revised.contract.artifact.dataFingerprint}</code>\n </p>\n <ul>\n {revised.evaluation.manualChecks.map((check) => (\n <li key={check}>{check}</li>\n ))}\n </ul>\n <pre>{JSON.stringify(revised.contract.contestability?.corrections, null, 2)}</pre>\n </details>\n )}\n <details>\n <summary>Optional handoff: see what another reader receives</summary>\n <p>\n The chart configuration includes its values. The separate sidecar carries claims, evidence\n identifiers and correction history. The optional note records project context. You can\n keep the chart without either file.\n </p>\n <label>\n <input\n type=\"checkbox\"\n checked={includeSidecar}\n onChange={(event) => setIncludeSidecar(event.target.checked)}\n />{\" \"}\n Include correction sidecar\n </label>\n <label>\n <input\n type=\"checkbox\"\n checked={includeNote}\n onChange={(event) => setIncludeNote(event.target.checked)}\n />{\" \"}\n Include project maintenance note\n </label>\n <p role=\"status\" data-testid=\"source-handoff-status\">\n {handoff.message}\n </p>\n <p>\n An image alone cannot establish the source values, correction history or review status.\n </p>\n <div className=\"source-correction-actions\">\n <button\n type=\"button\"\n onClick={() =>\n downloadText(\n \"regional-totals.config.json\",\n JSON.stringify({ component: \"BarChart\", props }, null, 2),\n )\n }\n >\n Download chart configuration\n </button>\n {includeSidecar && (\n <button\n type=\"button\"\n onClick={() => downloadText(sidecar.sidecarPath, sidecar.content)}\n >\n Download correction sidecar\n </button>\n )}\n {includeNote && (\n <button\n type=\"button\"\n onClick={() =>\n downloadText(\n \"regional-totals-maintenance.md\",\n sourceCorrectionNote,\n \"text/markdown\",\n )\n }\n >\n Download maintenance note\n </button>\n )}\n </div>\n {includeNote && <pre>{sourceCorrectionNote}</pre>}\n </details>\n </section>\n )\n}\n",
148
+ "digest": "sha256:d24f1f54777cbb533074ce9438f9e6ec3e681c187cc76610d336a6a12d6330c7"
149
+ },
150
+ {
151
+ "title": "Source correction and portable context",
152
+ "environment": "Host authoring and transfer",
153
+ "path": "docs/src/pages/tasks/examples/source-correction.ts",
154
+ "source": "import {\n buildArtifactContract,\n createAdjacentArtifactSidecar,\n createArtifactPacket,\n evaluateArtifact,\n fingerprintValue,\n prepareArtifactRevision,\n validateArtifactPacket,\n type ArtifactContract,\n type Claim,\n type EvidenceRef,\n type PrepareArtifactRevisionOptions,\n} from \"semiotic/artifact\"\nimport type { BarChartProps } from \"semiotic/ordinal\"\n\nexport const originalRows = [\n { region: \"North\", total: 12 },\n { region: \"South\", total: 30 },\n { region: \"West\", total: 18 },\n]\n\nexport const correctedRows = [\n { region: \"North\", total: 12 },\n { region: \"South\", total: 30 },\n { region: \"West\", total: 36 },\n]\n\n// Fixed teaching-fixture times describe the example, not a verification run.\nconst originalAt = \"2026-08-01T12:00:00Z\"\nexport const correctionAt = \"2026-08-02T12:00:00Z\"\nconst reason = \"The source corrected West from 18 to 36 units.\"\n\nexport function sourceChartProps(data = originalRows) {\n const sum = data.reduce((total, row) => total + row.total, 0)\n const largest = data.reduce((winner, row) => (row.total > winner.total ? row : winner))\n return {\n data: data.map((row) => ({ ...row })),\n categoryAccessor: \"region\",\n valueAccessor: \"total\",\n title: \"Regional totals\",\n description: \"Three synthetic regional totals, measured in the same unit.\",\n summary: `${largest.region} has the largest total: ${largest.total} units. All regions total ${sum} units.`,\n accessibleTable: true,\n height: 280,\n responsiveWidth: true,\n } satisfies BarChartProps<(typeof originalRows)[number]>\n}\n\nfunction sourceEvidence(revision: \"1\" | \"2\"): EvidenceRef {\n return {\n id: `regional-source-v${revision}`,\n role: \"source-data\",\n label: `Synthetic regional totals, revision ${revision}`,\n source: { name: \"Authored teaching fixture\", version: revision },\n dataVersion: revision,\n fingerprint: fingerprintValue(revision === \"1\" ? originalRows : correctedRows).fingerprint,\n observedAt: revision === \"1\" ? originalAt : correctionAt,\n }\n}\n\nfunction claims(revision: \"1\" | \"2\"): Claim[] {\n return [\n {\n id: `regional-total-v${revision}`,\n text: revision === \"1\" ? \"The total is 60 units.\" : \"The total is 78 units.\",\n kind: \"aggregation\",\n status: \"supported\",\n evidenceIds: [`regional-source-v${revision}`],\n scope: { unit: \"units\", coverage: \"three synthetic regions\" },\n authoredBy: { kind: \"system\", name: \"Deterministic teaching fixture\" },\n review: { status: \"proposed\" },\n },\n {\n id: `regional-largest-v${revision}`,\n text:\n revision === \"1\"\n ? \"South has the largest total: 30 units.\"\n : \"West has the largest total: 36 units.\",\n kind: \"observation\",\n status: \"supported\",\n evidenceIds: [`regional-source-v${revision}`],\n scope: { unit: \"units\", coverage: \"three synthetic regions\" },\n authoredBy: { kind: \"system\", name: \"Deterministic teaching fixture\" },\n review: { status: \"proposed\" },\n },\n ]\n}\n\nexport function originalSourceArtifact() {\n const props = sourceChartProps()\n const contract = buildArtifactContract(\"BarChart\", props, {\n id: \"regional-totals\",\n revision: \"1\",\n intents: [\"comparison\"],\n purpose: { stakes: \"informational\" },\n claims: claims(\"1\"),\n evidence: [sourceEvidence(\"1\")],\n time: {\n observedAt: originalAt,\n presentation: { state: \"historical\", label: \"Original synthetic source\" },\n revision: { status: \"original\" },\n },\n reception: {\n channels: [{ channel: \"visual\" }, { channel: \"agent\" }],\n description: props.description,\n dataFallback: true,\n },\n form: {\n chartFamily: \"ordinal\",\n whyThisForm: \"Bar lengths compare totals in the same unit.\",\n },\n contestability: { sourceRequestsAllowed: true },\n accountability: {\n authors: [{ kind: \"system\", name: \"Semiotic documentation fixture\" }],\n reviews: [{ id: \"editorial-review\", status: \"pending\" }],\n },\n inheritance: { privacy: \"public\", rawDataDefault: \"exclude\" },\n fieldStatus: {\n \"accountability.reviews\": {\n status: \"manual\",\n reason: \"This teaching example records no human editorial approval.\",\n suppliedBy: \"system\",\n },\n },\n })\n return { props, contract }\n}\n\nexport function sourceCorrectionOptions(current: ArtifactContract): PrepareArtifactRevisionOptions {\n return {\n revision: \"2\",\n data: correctedRows.map((row) => ({ ...row })),\n evidence: [...current.evidence, sourceEvidence(\"2\")],\n presentation: {\n summary: sourceChartProps(correctedRows).summary,\n description: \"Corrected synthetic regional totals; West changed from 18 to 36 units.\",\n },\n time: {\n observedAt: correctionAt,\n presentation: { state: \"historical\", label: \"Corrected synthetic source\" },\n revision: { status: \"corrected\", reason, correctionId: \"regional-total-correction\" },\n },\n claimTransitions: claims(\"2\").map((replacement, index) => ({\n action: \"supersede\",\n previousClaimId: claims(\"1\")[index].id,\n replacement,\n correction: {\n id: index === 0 ? \"regional-total-correction\" : \"regional-largest-correction\",\n reason,\n createdAt: correctionAt,\n createdBy: { kind: \"system\", name: \"Deterministic teaching fixture\" },\n },\n })),\n policy: \"exploratory\",\n now: correctionAt,\n recommendRepresentation: false,\n groundingChannels: [\"agent\"],\n }\n}\n\nexport function reviseSourceArtifact(reassessClaims = true) {\n const original = originalSourceArtifact()\n const options = sourceCorrectionOptions(original.contract)\n return prepareArtifactRevision(\"BarChart\", original.props, original.contract, {\n ...options,\n claimTransitions: reassessClaims ? options.claimTransitions : [],\n })\n}\n\nexport function sourceCorrectionSidecar(contract: ArtifactContract) {\n return createAdjacentArtifactSidecar(\n createArtifactPacket(contract, {\n format: \"static-package\",\n includeEvidenceSamples: false,\n }),\n \"regional-totals\",\n )\n}\n\nexport const sourceCorrectionNote = `Regional totals: maintenance context\n\nPurpose: compare three synthetic totals in the same unit.\nComponent: BarChart from semiotic/ordinal.\nChoice rationale: React charting with exact values and explicit correction history.\nConstraint: preserve the project's dependency policy; changed requirements may justify another library.\nVersion: inspect the installed package and lockfile before editing.\nVerification: this optional note stores no execution result or human approval.\nRecheck: category/value mapping, arithmetic, summary, claim transitions and accessible route.\nLimits: a matching fingerprint does not authenticate the source or prove arbitrary prose.\nFiles: retain chart configuration/data separately from the artifact-contract sidecar.\nDocumentation: /tasks/correct-published-chart (check its build identity against your installation).\n`\n\n/** A missing sidecar carries no evidence of source identity or prior review. */\nexport function inspectSourceHandoff(props: ReturnType<typeof sourceChartProps>, packet?: unknown) {\n if (packet === undefined) {\n return {\n status: \"unavailable\" as const,\n message:\n \"Correction context unavailable. Chart values remain available, but source identity, previous claims and review history were not transferred.\",\n }\n }\n const validation = validateArtifactPacket(packet)\n if (!validation.valid || !validation.packet) {\n return {\n status: \"refused\" as const,\n message: `Sidecar refused: ${validation.errors.join(\"; \")}`,\n }\n }\n const contract = validation.packet.contract\n const evaluation = evaluateArtifact(\"BarChart\", props, contract, {\n policy: \"exploratory\",\n now: correctionAt,\n recommendRepresentation: false,\n })\n if (\n evaluation.obligations.some(({ id, status }) => id.startsWith(\"identity.\") && status !== \"pass\")\n ) {\n return {\n status: \"refused\" as const,\n message:\n \"Sidecar refused: its identity does not establish a match with this chart configuration and data.\",\n }\n }\n return {\n status: \"available\" as const,\n message: `Revision ${contract.artifact.revision} correction context matches this chart. Human editorial approval remains unrecorded.`,\n contract,\n }\n}\n",
155
+ "digest": "sha256:9e752f3abdc425222816dc8ae824f2c11e17da84f0bf67e3a254cc851bee9443"
156
+ },
157
+ {
158
+ "title": "Example styles",
159
+ "environment": "Browser presentation",
160
+ "path": "docs/src/pages/tasks/examples/source-correction.css",
161
+ "source": ".source-correction-example {\n min-width: 0;\n}\n\n.source-correction-example table {\n border-collapse: collapse;\n margin-block: 1rem;\n width: 100%;\n}\n\n.source-correction-example th,\n.source-correction-example td {\n border-bottom: 1px solid var(--border-color, #ccc);\n padding: 0.5rem;\n text-align: left;\n}\n\n.source-correction-actions {\n display: flex;\n flex-wrap: wrap;\n gap: 0.5rem;\n margin-block: 1rem;\n}\n\n.source-correction-actions button {\n font: inherit;\n padding: 0.45rem 0.7rem;\n}\n\n.source-correction-example label {\n display: block;\n margin-block: 0.6rem;\n}\n\n.source-correction-example pre {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.source-correction-example code {\n overflow-wrap: anywhere;\n}\n",
162
+ "digest": "sha256:d900ca47c8923bb35ae01ac4a22979259203fab8af0fd4d8b831a48beb1eae34"
163
+ }
164
+ ],
165
+ "evidence": {
166
+ "claimId": "task.correct-published-chart",
167
+ "statement": "Apply a source correction, replace affected claims explicitly, and preserve the context a later reader needs.",
168
+ "owner": "Semiotic repository maintainers",
169
+ "status": "supported-in-scope",
170
+ "observed": {
171
+ "verifiedAt": "2026-09-11T03:13:52.427Z",
172
+ "environment": {
173
+ "node": "v22.22.1",
174
+ "platform": "darwin",
175
+ "architecture": "arm64",
176
+ "browser": "Playwright Chromium"
177
+ },
178
+ "runs": [
179
+ {
180
+ "kind": "unit",
181
+ "targets": [
182
+ "docs/src/pages/tasks/examples/category-comparison.test.ts",
183
+ "docs/src/pages/tasks/examples/live-chart.test.tsx",
184
+ "docs/src/pages/tasks/examples/source-correction.test.ts"
185
+ ],
186
+ "name": "Task source units",
187
+ "command": "node node_modules/vitest/vitest.mjs run ./docs/src/pages/tasks/examples/category-comparison.test.ts ./docs/src/pages/tasks/examples/live-chart.test.tsx ./docs/src/pages/tasks/examples/source-correction.test.ts --reporter=default --reporter=json --outputFile=<temporary-report-directory>/unit.json --allowOnly=false",
188
+ "exitCode": 0,
189
+ "passed": 14,
190
+ "skipped": 0,
191
+ "passedByFile": {
192
+ "docs/src/pages/tasks/examples/category-comparison.test.ts": 4,
193
+ "docs/src/pages/tasks/examples/live-chart.test.tsx": 5,
194
+ "docs/src/pages/tasks/examples/source-correction.test.ts": 5
195
+ }
196
+ },
197
+ {
198
+ "kind": "browser",
199
+ "targets": [
200
+ "integration-tests/docs-examples-task-live.spec.ts",
201
+ "integration-tests/docs-examples-tasks.spec.ts"
202
+ ],
203
+ "name": "Task browser behavior",
204
+ "command": "node node_modules/@playwright/test/cli.js test --config playwright.docs-examples.config.ts ./integration-tests/docs-examples-task-live.spec.ts ./integration-tests/docs-examples-tasks.spec.ts --reporter=list,json --forbid-only",
205
+ "exitCode": 0,
206
+ "passed": 6,
207
+ "skipped": 0,
208
+ "passedByFile": {
209
+ "integration-tests/docs-examples-task-live.spec.ts": 2,
210
+ "integration-tests/docs-examples-tasks.spec.ts": 4
211
+ }
212
+ }
213
+ ],
214
+ "record": "ai/tasks/verification.json",
215
+ "authorship": "Agent-observed execution of repository tests; independent review is not recorded."
216
+ },
217
+ "validity": "Only the content digests and environment recorded here; not a release range or an adoption result.",
218
+ "invalidation": "Changes to runtime source, schemas, manifests, task examples, tests, verification tooling or this task definition invalidate the recorded result.",
219
+ "commands": [
220
+ "npx vitest run docs/src/pages/tasks/examples/source-correction.test.ts",
221
+ "npx playwright test --config playwright.docs-examples.config.ts integration-tests/docs-examples-tasks.spec.ts"
222
+ ],
223
+ "checks": {
224
+ "unit": "docs/src/pages/tasks/examples/source-correction.test.ts",
225
+ "browser": "integration-tests/docs-examples-tasks.spec.ts"
226
+ },
227
+ "expected": [
228
+ "Changing data without revisiting active claims is refused.",
229
+ "The original total 60 and South-largest claims are superseded; replacements describe total 78 and West 36.",
230
+ "The original chart and evidence remain intact while corrected identities change.",
231
+ "Exported context retains the revision history; image-only delivery reports missing context.",
232
+ "Publication and human-review obligations remain visible."
233
+ ],
234
+ "unassessed": [
235
+ "Authenticity of upstream data and the truth of arbitrary editorial statements.",
236
+ "Independent human review, publication policy and reader reception.",
237
+ "Benefits to fresh-agent maintenance: the offline study defines cases but measures no adoption outcome."
238
+ ]
239
+ },
240
+ "recovery": [
241
+ {
242
+ "symptom": "prepareArtifactRevision refuses a changed source.",
243
+ "action": "Supply explicit transitions for every affected active claim. Retain prior evidence and give the correction a distinct revision and new source identity.",
244
+ "recheck": "Inspect superseded claims, replacement IDs, correction history and remaining manual obligations."
245
+ },
246
+ {
247
+ "symptom": "A recipient has the image but cannot inspect source or review context.",
248
+ "action": "Provide chart config/data and an optional artifact packet or adjacent sidecar. The sidecar contains the contract and transfer report, not a complete dataset.",
249
+ "recheck": "Check the transfer's omissions. Treat unavailable context as unknown; do not manufacture approval."
250
+ }
251
+ ],
252
+ "continuation": {
253
+ "rationale": "A published regional comparison needs source and claim continuity through a correction.",
254
+ "recheck": [
255
+ "Affected arithmetic, ranking, source identity, claim transitions and review obligations after a change."
256
+ ],
257
+ "loss": "Removing a project note does not break the chart. Image-only transfer loses inspectable source/review context; retain config/data separately from the artifact sidecar."
258
+ },
259
+ "update": {
260
+ "status": "source-only",
261
+ "introducedIn": null,
262
+ "previousAssumption": "Updating source rows or matching an identity automatically refreshes all conclusions and approves publication.",
263
+ "action": "Use explicit claim transitions for the changed source, preserve old evidence and inspect correction history, transfer losses and outstanding human review.",
264
+ "recheck": [
265
+ "Both total and ranking claims must change in this fixture.",
266
+ "A matching version string does not establish deployed parity or source authenticity."
267
+ ],
268
+ "remaining": "This is current source guidance with no recorded release introduction or editorial approval."
269
+ },
270
+ "definition": "ai/tasks/correct-published-chart.json"
271
+ }