@nebulacomponents/citable 1.18.2 → 1.20.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 (298) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/README.md +12 -1
  3. package/dist/universal/.agents/skills/citable/SKILL.md +11 -2
  4. package/dist/universal/.agents/skills/citable/VERSION +1 -1
  5. package/dist/universal/.agents/skills/citable/manifest.json +19 -13
  6. package/dist/universal/.agents/skills/citable/schemas/action-plan.schema.json +38 -1
  7. package/dist/universal/.agents/skills/citable/schemas/audit-coverage.schema.json +118 -0
  8. package/dist/universal/.agents/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  9. package/dist/universal/.agents/skills/citable/schemas/browser-network-events.schema.json +142 -0
  10. package/dist/universal/.agents/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  11. package/dist/universal/.agents/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  12. package/dist/universal/.agents/skills/citable/schemas/collection-result.schema.json +35 -0
  13. package/dist/universal/.agents/skills/citable/schemas/config.schema.json +2 -0
  14. package/dist/universal/.agents/skills/citable/schemas/cro-report.schema.json +8 -1
  15. package/dist/universal/.agents/skills/citable/schemas/finding.schema.json +105 -2
  16. package/dist/universal/.agents/skills/citable/schemas/remediation-verification.schema.json +12 -1
  17. package/dist/universal/.agents/skills/citable/schemas/run.schema.json +15 -2
  18. package/dist/universal/.agents/skills/citable/schemas/search-report.schema.json +8 -1
  19. package/dist/universal/.agents/skills/citable/schemas/summary.schema.json +41 -0
  20. package/dist/universal/.claude/agents/citable/manifest.json +2 -2
  21. package/dist/universal/.claude/skills/citable/SKILL.md +11 -2
  22. package/dist/universal/.claude/skills/citable/VERSION +1 -1
  23. package/dist/universal/.claude/skills/citable/manifest.json +19 -13
  24. package/dist/universal/.claude/skills/citable/schemas/action-plan.schema.json +38 -1
  25. package/dist/universal/.claude/skills/citable/schemas/audit-coverage.schema.json +118 -0
  26. package/dist/universal/.claude/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  27. package/dist/universal/.claude/skills/citable/schemas/browser-network-events.schema.json +142 -0
  28. package/dist/universal/.claude/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  29. package/dist/universal/.claude/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  30. package/dist/universal/.claude/skills/citable/schemas/collection-result.schema.json +35 -0
  31. package/dist/universal/.claude/skills/citable/schemas/config.schema.json +2 -0
  32. package/dist/universal/.claude/skills/citable/schemas/cro-report.schema.json +8 -1
  33. package/dist/universal/.claude/skills/citable/schemas/finding.schema.json +105 -2
  34. package/dist/universal/.claude/skills/citable/schemas/remediation-verification.schema.json +12 -1
  35. package/dist/universal/.claude/skills/citable/schemas/run.schema.json +15 -2
  36. package/dist/universal/.claude/skills/citable/schemas/search-report.schema.json +8 -1
  37. package/dist/universal/.claude/skills/citable/schemas/summary.schema.json +41 -0
  38. package/dist/universal/.cursor/skills/citable/SKILL.md +11 -2
  39. package/dist/universal/.cursor/skills/citable/VERSION +1 -1
  40. package/dist/universal/.cursor/skills/citable/manifest.json +19 -13
  41. package/dist/universal/.cursor/skills/citable/schemas/action-plan.schema.json +38 -1
  42. package/dist/universal/.cursor/skills/citable/schemas/audit-coverage.schema.json +118 -0
  43. package/dist/universal/.cursor/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  44. package/dist/universal/.cursor/skills/citable/schemas/browser-network-events.schema.json +142 -0
  45. package/dist/universal/.cursor/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  46. package/dist/universal/.cursor/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  47. package/dist/universal/.cursor/skills/citable/schemas/collection-result.schema.json +35 -0
  48. package/dist/universal/.cursor/skills/citable/schemas/config.schema.json +2 -0
  49. package/dist/universal/.cursor/skills/citable/schemas/cro-report.schema.json +8 -1
  50. package/dist/universal/.cursor/skills/citable/schemas/finding.schema.json +105 -2
  51. package/dist/universal/.cursor/skills/citable/schemas/remediation-verification.schema.json +12 -1
  52. package/dist/universal/.cursor/skills/citable/schemas/run.schema.json +15 -2
  53. package/dist/universal/.cursor/skills/citable/schemas/search-report.schema.json +8 -1
  54. package/dist/universal/.cursor/skills/citable/schemas/summary.schema.json +41 -0
  55. package/dist/universal/.gemini/skills/citable/SKILL.md +11 -2
  56. package/dist/universal/.gemini/skills/citable/VERSION +1 -1
  57. package/dist/universal/.gemini/skills/citable/manifest.json +19 -13
  58. package/dist/universal/.gemini/skills/citable/schemas/action-plan.schema.json +38 -1
  59. package/dist/universal/.gemini/skills/citable/schemas/audit-coverage.schema.json +118 -0
  60. package/dist/universal/.gemini/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  61. package/dist/universal/.gemini/skills/citable/schemas/browser-network-events.schema.json +142 -0
  62. package/dist/universal/.gemini/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  63. package/dist/universal/.gemini/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  64. package/dist/universal/.gemini/skills/citable/schemas/collection-result.schema.json +35 -0
  65. package/dist/universal/.gemini/skills/citable/schemas/config.schema.json +2 -0
  66. package/dist/universal/.gemini/skills/citable/schemas/cro-report.schema.json +8 -1
  67. package/dist/universal/.gemini/skills/citable/schemas/finding.schema.json +105 -2
  68. package/dist/universal/.gemini/skills/citable/schemas/remediation-verification.schema.json +12 -1
  69. package/dist/universal/.gemini/skills/citable/schemas/run.schema.json +15 -2
  70. package/dist/universal/.gemini/skills/citable/schemas/search-report.schema.json +8 -1
  71. package/dist/universal/.gemini/skills/citable/schemas/summary.schema.json +41 -0
  72. package/dist/universal/.github/skills/citable/SKILL.md +11 -2
  73. package/dist/universal/.github/skills/citable/VERSION +1 -1
  74. package/dist/universal/.github/skills/citable/manifest.json +19 -13
  75. package/dist/universal/.github/skills/citable/schemas/action-plan.schema.json +38 -1
  76. package/dist/universal/.github/skills/citable/schemas/audit-coverage.schema.json +118 -0
  77. package/dist/universal/.github/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  78. package/dist/universal/.github/skills/citable/schemas/browser-network-events.schema.json +142 -0
  79. package/dist/universal/.github/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  80. package/dist/universal/.github/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  81. package/dist/universal/.github/skills/citable/schemas/collection-result.schema.json +35 -0
  82. package/dist/universal/.github/skills/citable/schemas/config.schema.json +2 -0
  83. package/dist/universal/.github/skills/citable/schemas/cro-report.schema.json +8 -1
  84. package/dist/universal/.github/skills/citable/schemas/finding.schema.json +105 -2
  85. package/dist/universal/.github/skills/citable/schemas/remediation-verification.schema.json +12 -1
  86. package/dist/universal/.github/skills/citable/schemas/run.schema.json +15 -2
  87. package/dist/universal/.github/skills/citable/schemas/search-report.schema.json +8 -1
  88. package/dist/universal/.github/skills/citable/schemas/summary.schema.json +41 -0
  89. package/dist/universal/.kiro/skills/citable/SKILL.md +11 -2
  90. package/dist/universal/.kiro/skills/citable/VERSION +1 -1
  91. package/dist/universal/.kiro/skills/citable/manifest.json +19 -13
  92. package/dist/universal/.kiro/skills/citable/schemas/action-plan.schema.json +38 -1
  93. package/dist/universal/.kiro/skills/citable/schemas/audit-coverage.schema.json +118 -0
  94. package/dist/universal/.kiro/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  95. package/dist/universal/.kiro/skills/citable/schemas/browser-network-events.schema.json +142 -0
  96. package/dist/universal/.kiro/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  97. package/dist/universal/.kiro/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  98. package/dist/universal/.kiro/skills/citable/schemas/collection-result.schema.json +35 -0
  99. package/dist/universal/.kiro/skills/citable/schemas/config.schema.json +2 -0
  100. package/dist/universal/.kiro/skills/citable/schemas/cro-report.schema.json +8 -1
  101. package/dist/universal/.kiro/skills/citable/schemas/finding.schema.json +105 -2
  102. package/dist/universal/.kiro/skills/citable/schemas/remediation-verification.schema.json +12 -1
  103. package/dist/universal/.kiro/skills/citable/schemas/run.schema.json +15 -2
  104. package/dist/universal/.kiro/skills/citable/schemas/search-report.schema.json +8 -1
  105. package/dist/universal/.kiro/skills/citable/schemas/summary.schema.json +41 -0
  106. package/dist/universal/.opencode/skills/citable/SKILL.md +11 -2
  107. package/dist/universal/.opencode/skills/citable/VERSION +1 -1
  108. package/dist/universal/.opencode/skills/citable/manifest.json +19 -13
  109. package/dist/universal/.opencode/skills/citable/schemas/action-plan.schema.json +38 -1
  110. package/dist/universal/.opencode/skills/citable/schemas/audit-coverage.schema.json +118 -0
  111. package/dist/universal/.opencode/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  112. package/dist/universal/.opencode/skills/citable/schemas/browser-network-events.schema.json +142 -0
  113. package/dist/universal/.opencode/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  114. package/dist/universal/.opencode/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  115. package/dist/universal/.opencode/skills/citable/schemas/collection-result.schema.json +35 -0
  116. package/dist/universal/.opencode/skills/citable/schemas/config.schema.json +2 -0
  117. package/dist/universal/.opencode/skills/citable/schemas/cro-report.schema.json +8 -1
  118. package/dist/universal/.opencode/skills/citable/schemas/finding.schema.json +105 -2
  119. package/dist/universal/.opencode/skills/citable/schemas/remediation-verification.schema.json +12 -1
  120. package/dist/universal/.opencode/skills/citable/schemas/run.schema.json +15 -2
  121. package/dist/universal/.opencode/skills/citable/schemas/search-report.schema.json +8 -1
  122. package/dist/universal/.opencode/skills/citable/schemas/summary.schema.json +41 -0
  123. package/dist/universal/.pi/agent/skills/citable/SKILL.md +11 -2
  124. package/dist/universal/.pi/agent/skills/citable/VERSION +1 -1
  125. package/dist/universal/.pi/agent/skills/citable/manifest.json +19 -13
  126. package/dist/universal/.pi/agent/skills/citable/schemas/action-plan.schema.json +38 -1
  127. package/dist/universal/.pi/agent/skills/citable/schemas/audit-coverage.schema.json +118 -0
  128. package/dist/universal/.pi/agent/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  129. package/dist/universal/.pi/agent/skills/citable/schemas/browser-network-events.schema.json +142 -0
  130. package/dist/universal/.pi/agent/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  131. package/dist/universal/.pi/agent/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  132. package/dist/universal/.pi/agent/skills/citable/schemas/collection-result.schema.json +35 -0
  133. package/dist/universal/.pi/agent/skills/citable/schemas/config.schema.json +2 -0
  134. package/dist/universal/.pi/agent/skills/citable/schemas/cro-report.schema.json +8 -1
  135. package/dist/universal/.pi/agent/skills/citable/schemas/finding.schema.json +105 -2
  136. package/dist/universal/.pi/agent/skills/citable/schemas/remediation-verification.schema.json +12 -1
  137. package/dist/universal/.pi/agent/skills/citable/schemas/run.schema.json +15 -2
  138. package/dist/universal/.pi/agent/skills/citable/schemas/search-report.schema.json +8 -1
  139. package/dist/universal/.pi/agent/skills/citable/schemas/summary.schema.json +41 -0
  140. package/dist/universal/.qoder/skills/citable/SKILL.md +11 -2
  141. package/dist/universal/.qoder/skills/citable/VERSION +1 -1
  142. package/dist/universal/.qoder/skills/citable/manifest.json +19 -13
  143. package/dist/universal/.qoder/skills/citable/schemas/action-plan.schema.json +38 -1
  144. package/dist/universal/.qoder/skills/citable/schemas/audit-coverage.schema.json +118 -0
  145. package/dist/universal/.qoder/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  146. package/dist/universal/.qoder/skills/citable/schemas/browser-network-events.schema.json +142 -0
  147. package/dist/universal/.qoder/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  148. package/dist/universal/.qoder/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  149. package/dist/universal/.qoder/skills/citable/schemas/collection-result.schema.json +35 -0
  150. package/dist/universal/.qoder/skills/citable/schemas/config.schema.json +2 -0
  151. package/dist/universal/.qoder/skills/citable/schemas/cro-report.schema.json +8 -1
  152. package/dist/universal/.qoder/skills/citable/schemas/finding.schema.json +105 -2
  153. package/dist/universal/.qoder/skills/citable/schemas/remediation-verification.schema.json +12 -1
  154. package/dist/universal/.qoder/skills/citable/schemas/run.schema.json +15 -2
  155. package/dist/universal/.qoder/skills/citable/schemas/search-report.schema.json +8 -1
  156. package/dist/universal/.qoder/skills/citable/schemas/summary.schema.json +41 -0
  157. package/dist/universal/.rovodev/skills/citable/SKILL.md +11 -2
  158. package/dist/universal/.rovodev/skills/citable/VERSION +1 -1
  159. package/dist/universal/.rovodev/skills/citable/manifest.json +19 -13
  160. package/dist/universal/.rovodev/skills/citable/schemas/action-plan.schema.json +38 -1
  161. package/dist/universal/.rovodev/skills/citable/schemas/audit-coverage.schema.json +118 -0
  162. package/dist/universal/.rovodev/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  163. package/dist/universal/.rovodev/skills/citable/schemas/browser-network-events.schema.json +142 -0
  164. package/dist/universal/.rovodev/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  165. package/dist/universal/.rovodev/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  166. package/dist/universal/.rovodev/skills/citable/schemas/collection-result.schema.json +35 -0
  167. package/dist/universal/.rovodev/skills/citable/schemas/config.schema.json +2 -0
  168. package/dist/universal/.rovodev/skills/citable/schemas/cro-report.schema.json +8 -1
  169. package/dist/universal/.rovodev/skills/citable/schemas/finding.schema.json +105 -2
  170. package/dist/universal/.rovodev/skills/citable/schemas/remediation-verification.schema.json +12 -1
  171. package/dist/universal/.rovodev/skills/citable/schemas/run.schema.json +15 -2
  172. package/dist/universal/.rovodev/skills/citable/schemas/search-report.schema.json +8 -1
  173. package/dist/universal/.rovodev/skills/citable/schemas/summary.schema.json +41 -0
  174. package/dist/universal/.trae/skills/citable/SKILL.md +11 -2
  175. package/dist/universal/.trae/skills/citable/VERSION +1 -1
  176. package/dist/universal/.trae/skills/citable/manifest.json +19 -13
  177. package/dist/universal/.trae/skills/citable/schemas/action-plan.schema.json +38 -1
  178. package/dist/universal/.trae/skills/citable/schemas/audit-coverage.schema.json +118 -0
  179. package/dist/universal/.trae/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  180. package/dist/universal/.trae/skills/citable/schemas/browser-network-events.schema.json +142 -0
  181. package/dist/universal/.trae/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  182. package/dist/universal/.trae/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  183. package/dist/universal/.trae/skills/citable/schemas/collection-result.schema.json +35 -0
  184. package/dist/universal/.trae/skills/citable/schemas/config.schema.json +2 -0
  185. package/dist/universal/.trae/skills/citable/schemas/cro-report.schema.json +8 -1
  186. package/dist/universal/.trae/skills/citable/schemas/finding.schema.json +105 -2
  187. package/dist/universal/.trae/skills/citable/schemas/remediation-verification.schema.json +12 -1
  188. package/dist/universal/.trae/skills/citable/schemas/run.schema.json +15 -2
  189. package/dist/universal/.trae/skills/citable/schemas/search-report.schema.json +8 -1
  190. package/dist/universal/.trae/skills/citable/schemas/summary.schema.json +41 -0
  191. package/dist/universal/.trae-cn/skills/citable/SKILL.md +11 -2
  192. package/dist/universal/.trae-cn/skills/citable/VERSION +1 -1
  193. package/dist/universal/.trae-cn/skills/citable/manifest.json +19 -13
  194. package/dist/universal/.trae-cn/skills/citable/schemas/action-plan.schema.json +38 -1
  195. package/dist/universal/.trae-cn/skills/citable/schemas/audit-coverage.schema.json +118 -0
  196. package/dist/universal/.trae-cn/skills/citable/schemas/browser-evidence-plan.schema.json +186 -3
  197. package/dist/universal/.trae-cn/skills/citable/schemas/browser-network-events.schema.json +142 -0
  198. package/dist/universal/.trae-cn/skills/citable/schemas/browser-runtime-events.schema.json +112 -0
  199. package/dist/universal/.trae-cn/skills/citable/schemas/browser-state-observations.schema.json +97 -0
  200. package/dist/universal/.trae-cn/skills/citable/schemas/collection-result.schema.json +35 -0
  201. package/dist/universal/.trae-cn/skills/citable/schemas/config.schema.json +2 -0
  202. package/dist/universal/.trae-cn/skills/citable/schemas/cro-report.schema.json +8 -1
  203. package/dist/universal/.trae-cn/skills/citable/schemas/finding.schema.json +105 -2
  204. package/dist/universal/.trae-cn/skills/citable/schemas/remediation-verification.schema.json +12 -1
  205. package/dist/universal/.trae-cn/skills/citable/schemas/run.schema.json +15 -2
  206. package/dist/universal/.trae-cn/skills/citable/schemas/search-report.schema.json +8 -1
  207. package/dist/universal/.trae-cn/skills/citable/schemas/summary.schema.json +41 -0
  208. package/dist/universal/manifest.json +232 -160
  209. package/package.json +1 -1
  210. package/schemas/action-plan.schema.json +38 -1
  211. package/schemas/audit-coverage.schema.json +118 -0
  212. package/schemas/browser-evidence-plan.schema.json +186 -3
  213. package/schemas/browser-network-events.schema.json +142 -0
  214. package/schemas/browser-runtime-events.schema.json +112 -0
  215. package/schemas/browser-state-observations.schema.json +97 -0
  216. package/schemas/collection-result.schema.json +35 -0
  217. package/schemas/config.schema.json +2 -0
  218. package/schemas/cro-report.schema.json +8 -1
  219. package/schemas/finding.schema.json +105 -2
  220. package/schemas/remediation-verification.schema.json +12 -1
  221. package/schemas/run.schema.json +15 -2
  222. package/schemas/search-report.schema.json +8 -1
  223. package/schemas/summary.schema.json +41 -0
  224. package/skill/SKILL.md +11 -2
  225. package/src/acceptance/reproducibility.js +5 -25
  226. package/src/analysis/croRoadmap.js +3 -3
  227. package/src/analysis/strategicRoadmap.js +3 -3
  228. package/src/artifacts/interchange.js +2 -6
  229. package/src/cli/index.js +15 -3
  230. package/src/commands/actionPlan.js +46 -5
  231. package/src/commands/applyRemediation.js +5 -5
  232. package/src/commands/audit.js +75 -8
  233. package/src/commands/ciWorkflow.js +7 -2
  234. package/src/commands/compareSnapshots.js +155 -47
  235. package/src/commands/connect.js +24 -4
  236. package/src/commands/context.js +41 -2
  237. package/src/commands/croSuite.js +51 -13
  238. package/src/commands/delivery.js +7 -7
  239. package/src/commands/governance.js +9 -10
  240. package/src/commands/implementationKit.js +2 -1
  241. package/src/commands/init.js +8 -1
  242. package/src/commands/previewCro.js +1 -1
  243. package/src/commands/prioritize.js +3 -2
  244. package/src/commands/reviews.js +31 -5
  245. package/src/commands/roadmapCmd.js +7 -13
  246. package/src/commands/sweep.js +15 -2
  247. package/src/commands/verifyRemediation.js +94 -19
  248. package/src/connectors/collectionResult.js +80 -0
  249. package/src/connectors/ga4.js +46 -11
  250. package/src/connectors/gsc.js +41 -6
  251. package/src/connectors/index.js +1 -1
  252. package/src/connectors/webflow.js +140 -10
  253. package/src/connectors/wordpress.js +92 -8
  254. package/src/crawler/fetch.js +220 -24
  255. package/src/crawler/resourceValidity.js +119 -0
  256. package/src/crawler/sitemap.js +435 -16
  257. package/src/crawler/sitemapCollector.js +364 -0
  258. package/src/crawler/urlIdentity.js +97 -0
  259. package/src/detectors/agent.js +11 -0
  260. package/src/detectors/ans.js +16 -1
  261. package/src/detectors/arch.js +6 -0
  262. package/src/detectors/claim.js +9 -0
  263. package/src/detectors/crawl.js +7 -0
  264. package/src/detectors/cro.js +21 -0
  265. package/src/detectors/cwv.js +4 -0
  266. package/src/detectors/entity.js +7 -0
  267. package/src/detectors/evd.js +9 -0
  268. package/src/detectors/framework.js +28 -2
  269. package/src/detectors/geoReco.js +16 -0
  270. package/src/detectors/hreflang.js +3 -0
  271. package/src/detectors/lifeMeas.js +9 -0
  272. package/src/detectors/link.js +6 -1
  273. package/src/detectors/page.js +11 -0
  274. package/src/detectors/schemaData.js +16 -1
  275. package/src/detectors/tech.js +34 -3
  276. package/src/evidence/coverage.js +448 -0
  277. package/src/evidence/determination.js +157 -0
  278. package/src/evidence/downstream.js +110 -0
  279. package/src/evidence/hashes.js +109 -0
  280. package/src/evidence/run.js +68 -8
  281. package/src/extractor/page.js +29 -2
  282. package/src/extractor/site.js +298 -50
  283. package/src/observations/browser/correlation.js +83 -0
  284. package/src/observations/browser/networkCollector.js +413 -0
  285. package/src/observations/browser/runtimeEventCollector.js +337 -0
  286. package/src/observations/browser/sanitizer.js +322 -0
  287. package/src/observations/browser/stateCollector.js +386 -0
  288. package/src/observations/browserJourney.js +131 -3
  289. package/src/reporting/executiveCroReport.js +37 -14
  290. package/src/reporting/executiveExport.js +45 -16
  291. package/src/reporting/executiveSearchReport.js +57 -23
  292. package/src/reporting/report.js +56 -9
  293. package/src/shared/epistemicLanguage.js +86 -0
  294. package/src/shared/evidenceSourceResolver.js +48 -17
  295. package/src/shared/htmlEscape.js +8 -4
  296. package/src/shared/runPackageVerifier.js +99 -8
  297. package/src/shared/verifiedRunLoader.js +129 -0
  298. package/src/sow/generateSow.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebulacomponents/citable",
3
- "version": "1.18.2",
3
+ "version": "1.20.0",
4
4
  "description": "Production-grade SEO, AEO, and GEO agent skill with auditable detection, claim governance, evidence validation, and multi-agent installation.",
5
5
  "keywords": [
6
6
  "seo",
@@ -4,11 +4,23 @@
4
4
  "title": "Finding action plan",
5
5
  "type": "object",
6
6
  "additionalProperties": false,
7
- "required": ["source_run_id", "source_findings_hash", "generated_at", "summary", "actions"],
7
+ "required": ["source_run_id", "source_findings_hash", "generated_at", "summary", "actions", "source_coverage"],
8
8
  "properties": {
9
9
  "source_run_id": { "type": "string", "minLength": 1 },
10
10
  "source_findings_hash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
11
11
  "generated_at": { "type": "string" },
12
+ "source_coverage": {
13
+ "type": "object",
14
+ "additionalProperties": false,
15
+ "required": ["coverage_status", "determination_status", "evidence_scope", "limitations"],
16
+ "properties": {
17
+ "coverage_status": { "type": "string", "enum": ["complete", "truncated", "indeterminate", "not_applicable"] },
18
+ "determination_status": { "type": "string", "enum": ["supported", "qualified", "indeterminate", "not_applicable"] },
19
+ "artifact": { "type": ["string", "null"] },
20
+ "evidence_scope": { "$ref": "#/definitions/evidenceScope" },
21
+ "limitations": { "type": "array", "items": { "type": "string" } }
22
+ }
23
+ },
12
24
  "summary": {
13
25
  "type": "object",
14
26
  "additionalProperties": false,
@@ -40,6 +52,10 @@
40
52
  "owner": { "type": ["string", "null"] },
41
53
  "decision_owner": { "type": ["string", "null"] },
42
54
  "status": { "type": "string", "enum": ["ready", "blocked"] },
55
+ "coverage_status": { "type": "string", "enum": ["complete", "truncated", "indeterminate", "not_applicable"] },
56
+ "determination_status": { "type": "string", "enum": ["supported", "qualified", "indeterminate", "not_applicable"] },
57
+ "evidence_scope": { "$ref": "#/definitions/evidenceScope" },
58
+ "limitations": { "type": "array", "items": { "type": "string" } },
43
59
  "required_input": { "type": "array", "items": { "type": "string" } },
44
60
  "semantic_gates": { "type": "array", "items": { "type": "string" } },
45
61
  "unsafe_shortcuts": { "type": "array", "items": { "type": "string" } },
@@ -64,5 +80,26 @@
64
80
  }
65
81
  }
66
82
  }
83
+ },
84
+ "definitions": {
85
+ "evidenceScope": {
86
+ "type": "object",
87
+ "additionalProperties": false,
88
+ "required": ["requirement", "satisfaction", "coverage_ref", "resource_ids"],
89
+ "properties": {
90
+ "requirement": { "type": "string", "minLength": 1 },
91
+ "satisfaction": { "type": "string", "enum": ["supported", "qualified", "indeterminate", "not_applicable"] },
92
+ "coverage_ref": { "type": ["string", "null"] },
93
+ "resource_ids": { "type": "array", "uniqueItems": true, "items": { "type": "string", "minLength": 1 } },
94
+ "population": { "type": "string", "enum": ["evaluated_subset", "none_observed"] },
95
+ "evaluated": { "type": ["integer", "null"], "minimum": 0 },
96
+ "eligible": { "type": ["integer", "null"], "minimum": 0 },
97
+ "excluded": { "type": ["integer", "null"], "minimum": 0 },
98
+ "failed": { "type": ["integer", "null"], "minimum": 0 },
99
+ "indeterminate": { "type": ["integer", "null"], "minimum": 0 },
100
+ "unvisited": { "type": ["integer", "null"], "minimum": 0 },
101
+ "denominator": { "type": ["integer", "null"], "minimum": 0 }
102
+ }
103
+ }
67
104
  }
68
105
  }
@@ -0,0 +1,118 @@
1
+ {
2
+ "$id": "citable://schemas/audit-coverage.schema.json",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Audit coverage",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "normalization_version",
10
+ "requested_scope",
11
+ "discovery",
12
+ "populations",
13
+ "resources",
14
+ "stop_reason",
15
+ "coverage_status",
16
+ "reconciliation",
17
+ "limitations"
18
+ ],
19
+ "properties": {
20
+ "schema_version": { "const": 1 },
21
+ "normalization_version": { "type": "string", "minLength": 1 },
22
+ "requested_scope": {
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": ["start_url", "origin", "max_pages", "time_budget_seconds"],
26
+ "properties": {
27
+ "start_url": { "type": "string", "format": "uri" },
28
+ "origin": { "type": "string", "format": "uri" },
29
+ "max_pages": { "type": "integer", "minimum": 1, "maximum": 10000 },
30
+ "time_budget_seconds": { "type": "integer", "minimum": 1, "maximum": 86400 }
31
+ }
32
+ },
33
+ "discovery": {
34
+ "type": "object",
35
+ "additionalProperties": false,
36
+ "required": ["status", "methods", "limitations"],
37
+ "properties": {
38
+ "status": { "type": "string", "enum": ["complete", "truncated", "indeterminate"] },
39
+ "methods": { "type": "array", "items": { "type": "string" } },
40
+ "limitations": { "type": "array", "items": { "type": "string" } }
41
+ }
42
+ },
43
+ "populations": {
44
+ "type": "object",
45
+ "additionalProperties": false,
46
+ "required": [
47
+ "discovered",
48
+ "eligible",
49
+ "excluded",
50
+ "attempted",
51
+ "retrieved",
52
+ "valid_resource",
53
+ "evaluated",
54
+ "valid_but_unevaluated",
55
+ "failed",
56
+ "indeterminate",
57
+ "unvisited"
58
+ ],
59
+ "properties": {
60
+ "discovered": { "$ref": "#/definitions/populationCount" },
61
+ "eligible": { "$ref": "#/definitions/populationCount" },
62
+ "excluded": { "$ref": "#/definitions/populationCount" },
63
+ "attempted": { "$ref": "#/definitions/populationCount" },
64
+ "retrieved": { "$ref": "#/definitions/populationCount" },
65
+ "valid_resource": { "$ref": "#/definitions/populationCount" },
66
+ "evaluated": { "$ref": "#/definitions/populationCount" },
67
+ "valid_but_unevaluated": { "$ref": "#/definitions/populationCount" },
68
+ "failed": { "$ref": "#/definitions/populationCount" },
69
+ "indeterminate": { "$ref": "#/definitions/populationCount" },
70
+ "unvisited": { "$ref": "#/definitions/populationCount" }
71
+ }
72
+ },
73
+ "resources": {
74
+ "type": "array",
75
+ "items": {
76
+ "type": "object",
77
+ "properties": {
78
+ "resource_id": { "type": ["string", "null"] },
79
+ "requested_url": { "type": ["string", "null"] },
80
+ "effective_url": { "type": ["string", "null"] },
81
+ "canonical_url": { "type": ["string", "null"] },
82
+ "response_body_hash": { "type": ["string", "null"], "pattern": "^[a-f0-9]{64}$" },
83
+ "rendered_dom_hash": { "type": ["string", "null"], "pattern": "^[a-f0-9]{64}$" },
84
+ "extracted_text_hash": { "type": ["string", "null"], "pattern": "^[a-f0-9]{64}$" },
85
+ "structured_data_hash": { "type": ["string", "null"], "pattern": "^[a-f0-9]{64}$" },
86
+ "evidence_hash": { "type": ["string", "null"], "pattern": "^[a-f0-9]{64}$" },
87
+ "artifact_hash": { "type": ["string", "null"], "pattern": "^[a-f0-9]{64}$" }
88
+ }
89
+ }
90
+ },
91
+ "stop_reason": {
92
+ "type": "string",
93
+ "enum": [
94
+ "frontier_exhausted",
95
+ "page_budget_exhausted",
96
+ "time_budget_exhausted",
97
+ "fatal_collection_failure"
98
+ ]
99
+ },
100
+ "coverage_status": {
101
+ "type": "string",
102
+ "enum": ["complete", "truncated", "indeterminate", "not_applicable"]
103
+ },
104
+ "reconciliation": {
105
+ "type": "object",
106
+ "additionalProperties": false,
107
+ "required": ["valid", "errors"],
108
+ "properties": {
109
+ "valid": { "type": "boolean" },
110
+ "errors": { "type": "array", "items": { "type": "string" } }
111
+ }
112
+ },
113
+ "limitations": { "type": "array", "items": { "type": "string" } }
114
+ },
115
+ "definitions": {
116
+ "populationCount": { "type": "integer", "minimum": 0 }
117
+ }
118
+ }
@@ -5,6 +5,181 @@
5
5
  "type": "object",
6
6
  "additionalProperties": false,
7
7
  "required": ["schema_version", "plan_id", "target", "profiles", "limitations"],
8
+ "definitions": {
9
+ "network_policy": {
10
+ "type": "object",
11
+ "additionalProperties": false,
12
+ "properties": {
13
+ "enabled": { "type": "boolean" },
14
+ "allowed_host_patterns": {
15
+ "type": "array",
16
+ "items": { "type": "string", "minLength": 1 }
17
+ },
18
+ "allowed_methods": {
19
+ "type": "array",
20
+ "items": { "type": "string", "enum": ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"] }
21
+ },
22
+ "allowed_resource_types": {
23
+ "type": "array",
24
+ "items": { "type": "string", "enum": ["document", "stylesheet", "image", "media", "font", "script", "texttrack", "xhr", "fetch", "eventsource", "websocket", "manifest", "other"] }
25
+ },
26
+ "capture_request_headers": {
27
+ "type": "array",
28
+ "items": { "type": "string", "minLength": 1 }
29
+ },
30
+ "capture_response_headers": {
31
+ "type": "array",
32
+ "items": { "type": "string", "minLength": 1 }
33
+ },
34
+ "capture_query_params": {
35
+ "type": "array",
36
+ "items": { "type": "string", "minLength": 1 }
37
+ },
38
+ "capture_payload": {
39
+ "type": "object",
40
+ "additionalProperties": false,
41
+ "properties": {
42
+ "request_body": { "type": "boolean" },
43
+ "response_body": { "type": "boolean" },
44
+ "allowed_json_fields": {
45
+ "type": "array",
46
+ "items": { "type": "string", "minLength": 1 }
47
+ },
48
+ "hash_only": { "type": "boolean" },
49
+ "max_bytes": { "type": "integer", "minimum": 0, "maximum": 65536 }
50
+ }
51
+ },
52
+ "max_events": { "type": "integer", "minimum": 1, "maximum": 1000 },
53
+ "max_field_size": { "type": "integer", "minimum": 1, "maximum": 8192 },
54
+ "settling_timeout_ms": { "type": "integer", "minimum": 0, "maximum": 5000 }
55
+ }
56
+ },
57
+ "state_policy": {
58
+ "type": "object",
59
+ "additionalProperties": false,
60
+ "properties": {
61
+ "enabled": { "type": "boolean" },
62
+ "checkpoints": {
63
+ "type": "array",
64
+ "items": { "type": "string", "enum": ["initial", "step", "final"] }
65
+ },
66
+ "capture_url": { "type": "boolean" },
67
+ "allowed_query_params": {
68
+ "type": "array",
69
+ "items": { "type": "string", "minLength": 1 }
70
+ },
71
+ "capture_referrer": { "type": "boolean" },
72
+ "capture_navigation": { "type": "boolean" },
73
+ "cookies": {
74
+ "type": "object",
75
+ "additionalProperties": false,
76
+ "properties": {
77
+ "allowed_names": {
78
+ "type": "array",
79
+ "items": { "type": "string", "minLength": 1 }
80
+ },
81
+ "mode": { "enum": ["presence_only", "hash_only", "allowlist_values"] },
82
+ "max_keys": { "type": "integer", "minimum": 1, "maximum": 100 }
83
+ }
84
+ },
85
+ "local_storage": {
86
+ "type": "object",
87
+ "additionalProperties": false,
88
+ "properties": {
89
+ "allowed_keys": {
90
+ "type": "array",
91
+ "items": { "type": "string", "minLength": 1 }
92
+ },
93
+ "mode": { "enum": ["presence_only", "hash_only", "allowlist_values"] },
94
+ "max_keys": { "type": "integer", "minimum": 1, "maximum": 100 }
95
+ }
96
+ },
97
+ "session_storage": {
98
+ "type": "object",
99
+ "additionalProperties": false,
100
+ "properties": {
101
+ "allowed_keys": {
102
+ "type": "array",
103
+ "items": { "type": "string", "minLength": 1 }
104
+ },
105
+ "mode": { "enum": ["presence_only", "hash_only", "allowlist_values"] },
106
+ "max_keys": { "type": "integer", "minimum": 1, "maximum": 100 }
107
+ }
108
+ },
109
+ "globals": {
110
+ "type": "array",
111
+ "items": {
112
+ "type": "object",
113
+ "additionalProperties": false,
114
+ "required": ["name", "expression"],
115
+ "properties": {
116
+ "name": { "type": "string", "pattern": "^[a-zA-Z0-9_.-]+$" },
117
+ "expression": { "type": "string", "pattern": "^[a-zA-Z0-9_$.\\[\\]'\"]+$" },
118
+ "mode": { "enum": ["presence_only", "type_only", "hash_only", "scalar_value"] }
119
+ }
120
+ }
121
+ },
122
+ "dom_queries": {
123
+ "type": "array",
124
+ "items": {
125
+ "type": "object",
126
+ "additionalProperties": false,
127
+ "required": ["name", "selector", "property"],
128
+ "properties": {
129
+ "name": { "type": "string", "pattern": "^[a-zA-Z0-9_.-]+$" },
130
+ "selector": { "type": "string", "minLength": 1 },
131
+ "property": { "enum": ["presence", "visible", "text_hash", "text_length", "text_content", "attribute_value"] },
132
+ "attribute_name": { "type": "string" }
133
+ }
134
+ }
135
+ },
136
+ "max_observations": { "type": "integer", "minimum": 1, "maximum": 500 },
137
+ "max_value_length": { "type": "integer", "minimum": 1, "maximum": 4096 }
138
+ }
139
+ },
140
+ "runtime_event_policy": {
141
+ "type": "object",
142
+ "additionalProperties": false,
143
+ "properties": {
144
+ "enabled": { "type": "boolean" },
145
+ "sources": {
146
+ "type": "array",
147
+ "minItems": 1,
148
+ "items": {
149
+ "type": "object",
150
+ "additionalProperties": false,
151
+ "required": ["source_id", "type"],
152
+ "properties": {
153
+ "source_id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9_-]*$" },
154
+ "type": { "enum": ["global_array", "window_event", "custom_stream"] },
155
+ "global_name": { "type": "string", "pattern": "^[a-zA-Z0-9_.]+$" },
156
+ "event_name": { "type": "string", "minLength": 1 },
157
+ "event_name_key": { "type": "string", "minLength": 1 }
158
+ }
159
+ }
160
+ },
161
+ "allowed_event_names": {
162
+ "type": "array",
163
+ "items": { "type": "string", "minLength": 1 }
164
+ },
165
+ "allowed_fields": {
166
+ "type": "array",
167
+ "items": { "type": "string", "minLength": 1 }
168
+ },
169
+ "hash_fields": {
170
+ "type": "array",
171
+ "items": { "type": "string", "minLength": 1 }
172
+ },
173
+ "redact_fields": {
174
+ "type": "array",
175
+ "items": { "type": "string", "minLength": 1 }
176
+ },
177
+ "max_events": { "type": "integer", "minimum": 1, "maximum": 1000 },
178
+ "max_payload_depth": { "type": "integer", "minimum": 1, "maximum": 10 },
179
+ "max_field_size": { "type": "integer", "minimum": 1, "maximum": 4096 }
180
+ }
181
+ }
182
+ },
8
183
  "properties": {
9
184
  "schema_version": { "const": 1 },
10
185
  "plan_id": { "type": "string", "pattern": "^BROWSER-PLAN-[A-Z0-9_-]+$" },
@@ -16,13 +191,16 @@
16
191
  "properties": {
17
192
  "policy_id": { "type": "string", "pattern": "^RENDER-POLICY-[A-Z0-9_-]+$" },
18
193
  "review_owner": { "type": "string", "minLength": 1 },
19
- "min_text_retention_ratio": { "type": "number", "minimum": 0, "maximum": 1 },
194
+ "min_text_retention_ratio": { "number": 0, "minimum": 0, "maximum": 1 },
20
195
  "require_heading_parity": { "type": "boolean" },
21
196
  "require_link_parity": { "type": "boolean" },
22
197
  "require_structured_data_parity": { "type": "boolean" },
23
198
  "limitations": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } }
24
199
  }
25
200
  },
201
+ "network_policy": { "$ref": "#/definitions/network_policy" },
202
+ "state_policy": { "$ref": "#/definitions/state_policy" },
203
+ "runtime_event_policy": { "$ref": "#/definitions/runtime_event_policy" },
26
204
  "profiles": {
27
205
  "type": "array",
28
206
  "minItems": 1,
@@ -63,6 +241,9 @@
63
241
  "locale": { "type": "string", "minLength": 2 },
64
242
  "consent_state": { "enum": ["not_present", "denied", "granted", "unresolved", "unknown"] },
65
243
  "authentication_state": { "enum": ["anonymous", "owner_authenticated", "unresolved", "unknown"] },
244
+ "network_policy": { "$ref": "#/definitions/network_policy" },
245
+ "state_policy": { "$ref": "#/definitions/state_policy" },
246
+ "runtime_event_policy": { "$ref": "#/definitions/runtime_event_policy" },
66
247
  "steps": {
67
248
  "type": "array",
68
249
  "items": {
@@ -71,13 +252,15 @@
71
252
  "required": ["step_id", "action", "locator", "value_env", "key", "url", "required", "capture_screenshot"],
72
253
  "properties": {
73
254
  "step_id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9_-]*$" },
74
- "action": { "enum": ["navigate", "click", "fill", "select_option", "check", "press", "wait_for", "assert_visible", "scroll"] },
255
+ "action": { "enum": ["navigate", "click", "fill", "select_option", "check", "press", "wait_for", "assert_visible", "scroll", "checkpoint"] },
75
256
  "locator": { "type": ["string", "null"] },
76
257
  "value_env": { "type": ["string", "null"], "pattern": "^[A-Z][A-Z0-9_]*$" },
77
258
  "key": { "type": ["string", "null"] },
78
259
  "url": { "type": ["string", "null"], "format": "uri" },
79
260
  "required": { "type": "boolean" },
80
- "capture_screenshot": { "type": "boolean" }
261
+ "capture_screenshot": { "type": "boolean" },
262
+ "checkpoint_id": { "type": ["string", "null"], "pattern": "^[a-z0-9][a-z0-9_-]*$" },
263
+ "state_checkpoint": { "type": ["boolean", "null"] }
81
264
  }
82
265
  }
83
266
  },
@@ -0,0 +1,142 @@
1
+ {
2
+ "$id": "citable://schemas/browser-network-events.schema.json",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Browser network activity evidence artifact",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "plan_id",
10
+ "profile_id",
11
+ "collected_at",
12
+ "capture_policy",
13
+ "summary",
14
+ "events"
15
+ ],
16
+ "properties": {
17
+ "schema_version": { "const": 1 },
18
+ "plan_id": { "type": "string" },
19
+ "profile_id": { "type": "string" },
20
+ "collected_at": { "type": "string", "format": "date-time" },
21
+ "capture_policy": { "type": "object" },
22
+ "summary": {
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": ["total_requests", "successful_responses", "failed_requests", "filtered_requests", "truncated", "status_codes"],
26
+ "properties": {
27
+ "total_requests": { "type": "integer", "minimum": 0 },
28
+ "successful_responses": { "type": "integer", "minimum": 0 },
29
+ "failed_requests": { "type": "integer", "minimum": 0 },
30
+ "filtered_requests": { "type": "integer", "minimum": 0 },
31
+ "in_flight_requests": { "type": "integer", "minimum": 0 },
32
+ "collector_status": { "enum": ["complete", "truncated", "failed"] },
33
+ "truncated": { "type": "boolean" },
34
+ "truncation_reason": { "type": ["string", "null"] },
35
+ "status_codes": {
36
+ "type": "object",
37
+ "additionalProperties": { "type": "integer" }
38
+ }
39
+ }
40
+ },
41
+ "events": {
42
+ "type": "array",
43
+ "items": {
44
+ "type": "object",
45
+ "additionalProperties": false,
46
+ "required": [
47
+ "sequence",
48
+ "transaction_id",
49
+ "direction",
50
+ "phase",
51
+ "timing",
52
+ "correlation",
53
+ "request"
54
+ ],
55
+ "properties": {
56
+ "sequence": { "type": "integer", "minimum": 1 },
57
+ "transaction_id": { "type": "string" },
58
+ "direction": { "enum": ["request", "response"] },
59
+ "phase": { "enum": ["request_sent", "response_received", "failed", "redirect"] },
60
+ "timing": {
61
+ "type": "object",
62
+ "additionalProperties": false,
63
+ "required": ["monotonic_offset_ms", "timestamp"],
64
+ "properties": {
65
+ "monotonic_offset_ms": { "type": "number", "minimum": 0 },
66
+ "timestamp": { "type": "string", "format": "date-time" }
67
+ }
68
+ },
69
+ "correlation": {
70
+ "type": "object",
71
+ "additionalProperties": false,
72
+ "required": ["step_id", "step_sequence", "attribution_phase"],
73
+ "properties": {
74
+ "step_id": { "type": ["string", "null"] },
75
+ "step_sequence": { "type": ["integer", "null"] },
76
+ "checkpoint_id": { "type": ["string", "null"] },
77
+ "attribution_phase": { "enum": ["initial", "during_step", "between_steps", "post_journey", "ambiguous_async"] },
78
+ "initiated_step_id": { "type": ["string", "null"] },
79
+ "completed_step_id": { "type": ["string", "null"] },
80
+ "ambiguous_async": { "type": "boolean" }
81
+ }
82
+ },
83
+ "request": {
84
+ "type": "object",
85
+ "additionalProperties": false,
86
+ "required": ["url", "method", "scheme", "host", "path", "resource_type"],
87
+ "properties": {
88
+ "url": { "type": "string" },
89
+ "method": { "type": "string" },
90
+ "scheme": { "type": "string" },
91
+ "host": { "type": "string" },
92
+ "path": { "type": "string" },
93
+ "resource_type": { "type": "string" },
94
+ "query": { "type": ["object", "null"] },
95
+ "query_status": { "enum": ["captured", "not_requested", "filtered", "none_present", "redacted"] },
96
+ "headers": { "type": ["object", "null"] },
97
+ "headers_status": { "enum": ["captured", "not_requested", "filtered", "redacted"] },
98
+ "payload_hash": { "type": ["string", "null"] },
99
+ "payload_bytes": { "type": ["integer", "null"] },
100
+ "payload_fields": { "type": ["object", "null"] },
101
+ "payload_status": { "enum": ["not_requested", "captured", "filtered", "truncated", "unavailable", "hash_only"] }
102
+ }
103
+ },
104
+ "response": {
105
+ "type": ["object", "null"],
106
+ "additionalProperties": false,
107
+ "properties": {
108
+ "status": { "type": "integer" },
109
+ "status_text": { "type": "string" },
110
+ "headers": { "type": ["object", "null"] },
111
+ "headers_status": { "enum": ["captured", "not_requested", "filtered", "redacted"] },
112
+ "mime_type": { "type": ["string", "null"] },
113
+ "body_hash": { "type": ["string", "null"] },
114
+ "body_bytes": { "type": ["integer", "null"] },
115
+ "body_fields": { "type": ["object", "null"] },
116
+ "body_status": { "enum": ["not_requested", "captured", "filtered", "truncated", "unavailable", "hash_only"] },
117
+ "redirect_url": { "type": ["string", "null"] },
118
+ "from_cache": { "type": "boolean" }
119
+ }
120
+ },
121
+ "failure": {
122
+ "type": ["object", "null"],
123
+ "additionalProperties": false,
124
+ "properties": {
125
+ "error_text": { "type": "string" }
126
+ }
127
+ },
128
+ "disposition": {
129
+ "type": "object",
130
+ "additionalProperties": false,
131
+ "required": ["capture_status", "redacted_count", "filtered_fields"],
132
+ "properties": {
133
+ "capture_status": { "enum": ["captured", "filtered", "redacted", "truncated", "error"] },
134
+ "redacted_count": { "type": "integer", "minimum": 0 },
135
+ "filtered_fields": { "type": "array", "items": { "type": "string" } }
136
+ }
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
142
+ }