@lssm/lib.contracts-spec 17.3.2

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 (4858) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1727 -0
  3. package/dist/acp/acp.feature.d.ts +1 -0
  4. package/dist/acp/acp.feature.js +1 -0
  5. package/dist/acp/capabilities/acpTransport.capability.d.ts +11 -0
  6. package/dist/acp/capabilities/acpTransport.capability.js +4 -0
  7. package/dist/acp/capabilities/index.d.ts +1 -0
  8. package/dist/acp/capabilities/index.js +1 -0
  9. package/dist/acp/commands/acpFsAccess.command.d.ts +38 -0
  10. package/dist/acp/commands/acpFsAccess.command.js +4 -0
  11. package/dist/acp/commands/acpPromptTurn.command.d.ts +39 -0
  12. package/dist/acp/commands/acpPromptTurn.command.js +4 -0
  13. package/dist/acp/commands/acpSessionInit.command.d.ts +42 -0
  14. package/dist/acp/commands/acpSessionInit.command.js +4 -0
  15. package/dist/acp/commands/acpSessionResume.command.d.ts +26 -0
  16. package/dist/acp/commands/acpSessionResume.command.js +4 -0
  17. package/dist/acp/commands/acpSessionStop.command.d.ts +34 -0
  18. package/dist/acp/commands/acpSessionStop.command.js +4 -0
  19. package/dist/acp/commands/acpTerminalExec.command.d.ts +42 -0
  20. package/dist/acp/commands/acpTerminalExec.command.js +4 -0
  21. package/dist/acp/commands/acpToolCalls.command.d.ts +28 -0
  22. package/dist/acp/commands/acpToolCalls.command.js +4 -0
  23. package/dist/acp/commands/index.d.ts +7 -0
  24. package/dist/acp/commands/index.js +1 -0
  25. package/dist/acp/constants.d.ts +4 -0
  26. package/dist/acp/constants.js +1 -0
  27. package/dist/acp/contracts.d.ts +181 -0
  28. package/dist/acp/contracts.js +1 -0
  29. package/dist/acp/index.d.ts +5 -0
  30. package/dist/acp/index.js +1 -0
  31. package/dist/adaptive-shell/index.d.ts +2 -0
  32. package/dist/adaptive-shell/index.js +1 -0
  33. package/dist/adaptive-shell/types.d.ts +179 -0
  34. package/dist/adaptive-shell/types.js +0 -0
  35. package/dist/adaptive-shell/validation.d.ts +5 -0
  36. package/dist/adaptive-shell/validation.js +1 -0
  37. package/dist/adoption-catalog/index.d.ts +696 -0
  38. package/dist/adoption-catalog/index.js +1 -0
  39. package/dist/agent/agent.feature.d.ts +11 -0
  40. package/dist/agent/agent.feature.js +4 -0
  41. package/dist/agent/capabilities/agentExecution.capability.d.ts +1 -0
  42. package/dist/agent/capabilities/agentExecution.capability.js +1 -0
  43. package/dist/agent/capabilities/index.d.ts +1 -0
  44. package/dist/agent/capabilities/index.js +1 -0
  45. package/dist/agent/commands/agentApprovals.command.d.ts +42 -0
  46. package/dist/agent/commands/agentApprovals.command.js +4 -0
  47. package/dist/agent/commands/agentCancel.command.d.ts +38 -0
  48. package/dist/agent/commands/agentCancel.command.js +4 -0
  49. package/dist/agent/commands/agentRun.command.d.ts +69 -0
  50. package/dist/agent/commands/agentRun.command.js +4 -0
  51. package/dist/agent/commands/agentTaskOps.command.d.ts +94 -0
  52. package/dist/agent/commands/agentTaskOps.command.js +1 -0
  53. package/dist/agent/commands/graphCompose.command.d.ts +114 -0
  54. package/dist/agent/commands/graphCompose.command.js +1 -0
  55. package/dist/agent/commands/graphEdit.command.d.ts +75 -0
  56. package/dist/agent/commands/graphEdit.command.js +25 -0
  57. package/dist/agent/commands/graphOps.command.d.ts +198 -0
  58. package/dist/agent/commands/graphOps.command.js +31 -0
  59. package/dist/agent/commands/graphRefactor.command.d.ts +86 -0
  60. package/dist/agent/commands/graphRefactor.command.js +1 -0
  61. package/dist/agent/commands/graphSuggestEvolution.command.d.ts +90 -0
  62. package/dist/agent/commands/graphSuggestEvolution.command.js +35 -0
  63. package/dist/agent/commands/index.d.ts +9 -0
  64. package/dist/agent/commands/index.js +1 -0
  65. package/dist/agent/constants.d.ts +4 -0
  66. package/dist/agent/constants.js +1 -0
  67. package/dist/agent/contracts.d.ts +462 -0
  68. package/dist/agent/contracts.js +1 -0
  69. package/dist/agent/events/agentApprovalRequested.event.d.ts +47 -0
  70. package/dist/agent/events/agentApprovalRequested.event.js +4 -0
  71. package/dist/agent/events/agentRunCompleted.event.d.ts +55 -0
  72. package/dist/agent/events/agentRunCompleted.event.js +4 -0
  73. package/dist/agent/events/agentRunFailed.event.d.ts +71 -0
  74. package/dist/agent/events/agentRunFailed.event.js +4 -0
  75. package/dist/agent/events/agentRunStarted.event.d.ts +55 -0
  76. package/dist/agent/events/agentRunStarted.event.js +4 -0
  77. package/dist/agent/events/index.d.ts +4 -0
  78. package/dist/agent/events/index.js +1 -0
  79. package/dist/agent/forms/agentRun.form.d.ts +33 -0
  80. package/dist/agent/forms/agentRun.form.js +4 -0
  81. package/dist/agent/forms/index.d.ts +1 -0
  82. package/dist/agent/forms/index.js +1 -0
  83. package/dist/agent/graph-conversation.d.ts +157 -0
  84. package/dist/agent/graph-conversation.js +19 -0
  85. package/dist/agent/index.d.ts +16 -0
  86. package/dist/agent/index.js +1 -0
  87. package/dist/agent/presentations/agentRunAudit.presentation.d.ts +11 -0
  88. package/dist/agent/presentations/agentRunAudit.presentation.js +4 -0
  89. package/dist/agent/presentations/index.d.ts +1 -0
  90. package/dist/agent/presentations/index.js +1 -0
  91. package/dist/agent/protocol/application-signature.d.ts +43 -0
  92. package/dist/agent/protocol/application-signature.js +1 -0
  93. package/dist/agent/protocol/application.d.ts +114 -0
  94. package/dist/agent/protocol/application.js +4 -0
  95. package/dist/agent/protocol/automation/automation.test-fixture.d.ts +210 -0
  96. package/dist/agent/protocol/automation/automation.test-fixture.js +1 -0
  97. package/dist/agent/protocol/automation/contracts.d.ts +174 -0
  98. package/dist/agent/protocol/automation/contracts.js +4 -0
  99. package/dist/agent/protocol/automation/definition-validation.d.ts +9 -0
  100. package/dist/agent/protocol/automation/definition-validation.js +1 -0
  101. package/dist/agent/protocol/automation/digests.d.ts +11 -0
  102. package/dist/agent/protocol/automation/digests.js +1 -0
  103. package/dist/agent/protocol/automation/index.d.ts +4 -0
  104. package/dist/agent/protocol/automation/index.js +1 -0
  105. package/dist/agent/protocol/automation/lifecycle-validation.d.ts +27 -0
  106. package/dist/agent/protocol/automation/lifecycle-validation.js +1 -0
  107. package/dist/agent/protocol/automation/lifecycle.d.ts +362 -0
  108. package/dist/agent/protocol/automation/lifecycle.js +1 -0
  109. package/dist/agent/protocol/automation/run-validation.d.ts +17 -0
  110. package/dist/agent/protocol/automation/run-validation.js +1 -0
  111. package/dist/agent/protocol/automation/validation.d.ts +3 -0
  112. package/dist/agent/protocol/automation/validation.js +1 -0
  113. package/dist/agent/protocol/bindings.d.ts +25 -0
  114. package/dist/agent/protocol/bindings.js +1 -0
  115. package/dist/agent/protocol/budget.d.ts +48 -0
  116. package/dist/agent/protocol/budget.js +1 -0
  117. package/dist/agent/protocol/common.d.ts +128 -0
  118. package/dist/agent/protocol/common.js +1 -0
  119. package/dist/agent/protocol/delegation.d.ts +345 -0
  120. package/dist/agent/protocol/delegation.js +1 -0
  121. package/dist/agent/protocol/execution.d.ts +229 -0
  122. package/dist/agent/protocol/execution.js +1 -0
  123. package/dist/agent/protocol/graph-validation.d.ts +20 -0
  124. package/dist/agent/protocol/graph-validation.js +1 -0
  125. package/dist/agent/protocol/help.d.ts +200 -0
  126. package/dist/agent/protocol/help.js +1 -0
  127. package/dist/agent/protocol/index.d.ts +23 -0
  128. package/dist/agent/protocol/index.js +1 -0
  129. package/dist/agent/protocol/markdown-migration.d.ts +55 -0
  130. package/dist/agent/protocol/markdown-migration.js +1 -0
  131. package/dist/agent/protocol/memory-governance.d.ts +237 -0
  132. package/dist/agent/protocol/memory-governance.js +1 -0
  133. package/dist/agent/protocol/memory-validation.d.ts +19 -0
  134. package/dist/agent/protocol/memory-validation.js +1 -0
  135. package/dist/agent/protocol/memory.d.ts +139 -0
  136. package/dist/agent/protocol/memory.js +1 -0
  137. package/dist/agent/protocol/model-fallback-validation-v2.d.ts +15 -0
  138. package/dist/agent/protocol/model-fallback-validation-v2.js +1 -0
  139. package/dist/agent/protocol/model-fallback-validation.d.ts +12 -0
  140. package/dist/agent/protocol/model-fallback-validation.js +1 -0
  141. package/dist/agent/protocol/model-invocation-profile.d.ts +21 -0
  142. package/dist/agent/protocol/model-invocation-profile.js +1 -0
  143. package/dist/agent/protocol/model-route-contracts-v2.d.ts +180 -0
  144. package/dist/agent/protocol/model-route-contracts-v2.js +1 -0
  145. package/dist/agent/protocol/model-route-contracts.d.ts +104 -0
  146. package/dist/agent/protocol/model-route-contracts.js +1 -0
  147. package/dist/agent/protocol/model-routing-migration.d.ts +16 -0
  148. package/dist/agent/protocol/model-routing-migration.js +1 -0
  149. package/dist/agent/protocol/model-routing-v2.d.ts +309 -0
  150. package/dist/agent/protocol/model-routing-v2.js +1 -0
  151. package/dist/agent/protocol/model-routing-v2.test-fixtures.d.ts +590 -0
  152. package/dist/agent/protocol/model-routing-v2.test-fixtures.js +1 -0
  153. package/dist/agent/protocol/model-routing.d.ts +206 -0
  154. package/dist/agent/protocol/model-routing.js +1 -0
  155. package/dist/agent/protocol/model-routing.test-fixtures.d.ts +157 -0
  156. package/dist/agent/protocol/model-routing.test-fixtures.js +1 -0
  157. package/dist/agent/protocol/model-selection-validation-v2.d.ts +37 -0
  158. package/dist/agent/protocol/model-selection-validation-v2.js +1 -0
  159. package/dist/agent/protocol/model-selection-validation.d.ts +21 -0
  160. package/dist/agent/protocol/model-selection-validation.js +1 -0
  161. package/dist/agent/protocol/model-serving-validation-v2.d.ts +6 -0
  162. package/dist/agent/protocol/model-serving-validation-v2.js +1 -0
  163. package/dist/agent/protocol/planning.d.ts +159 -0
  164. package/dist/agent/protocol/planning.js +1 -0
  165. package/dist/agent/protocol/reflection.d.ts +73 -0
  166. package/dist/agent/protocol/reflection.js +1 -0
  167. package/dist/agent/protocol/task-result-validation.d.ts +6 -0
  168. package/dist/agent/protocol/task-result-validation.js +1 -0
  169. package/dist/agent/queries/agentArtifacts.query.d.ts +68 -0
  170. package/dist/agent/queries/agentArtifacts.query.js +4 -0
  171. package/dist/agent/queries/agentStatus.query.d.ts +76 -0
  172. package/dist/agent/queries/agentStatus.query.js +4 -0
  173. package/dist/agent/queries/index.d.ts +2 -0
  174. package/dist/agent/queries/index.js +1 -0
  175. package/dist/agent/registry.d.ts +41 -0
  176. package/dist/agent/registry.js +1 -0
  177. package/dist/agent/runner.d.ts +62 -0
  178. package/dist/agent/runner.js +1 -0
  179. package/dist/agent/spec.d.ts +264 -0
  180. package/dist/agent/spec.js +10 -0
  181. package/dist/agent/task-tree.d.ts +44 -0
  182. package/dist/agent/task-tree.js +22 -0
  183. package/dist/agent/views/agentRuns.dataView.d.ts +94 -0
  184. package/dist/agent/views/agentRuns.dataView.js +4 -0
  185. package/dist/agent/views/index.d.ts +1 -0
  186. package/dist/agent/views/index.js +1 -0
  187. package/dist/agent-platform/baseline-suites.d.ts +17 -0
  188. package/dist/agent-platform/baseline-suites.js +1 -0
  189. package/dist/agent-platform/digest.d.ts +1 -0
  190. package/dist/agent-platform/digest.js +1 -0
  191. package/dist/agent-platform/index.d.ts +5 -0
  192. package/dist/agent-platform/index.js +1 -0
  193. package/dist/agent-platform/types.d.ts +149 -0
  194. package/dist/agent-platform/types.js +1 -0
  195. package/dist/agent-platform/validation-v2.d.ts +40 -0
  196. package/dist/agent-platform/validation-v2.js +1 -0
  197. package/dist/agent-platform/validation.d.ts +86 -0
  198. package/dist/agent-platform/validation.js +1 -0
  199. package/dist/agent-step-observability/index.d.ts +2 -0
  200. package/dist/agent-step-observability/index.js +1 -0
  201. package/dist/agent-step-observability/types.d.ts +130 -0
  202. package/dist/agent-step-observability/types.js +0 -0
  203. package/dist/agent-step-observability/validation.d.ts +324 -0
  204. package/dist/agent-step-observability/validation.js +1 -0
  205. package/dist/agentic-interaction/constants.d.ts +4 -0
  206. package/dist/agentic-interaction/constants.js +1 -0
  207. package/dist/agentic-interaction/contracts.d.ts +156 -0
  208. package/dist/agentic-interaction/contracts.js +1 -0
  209. package/dist/agentic-interaction/index.d.ts +6 -0
  210. package/dist/agentic-interaction/index.js +1 -0
  211. package/dist/agentpacks/evidence-audit-validation.d.ts +185 -0
  212. package/dist/agentpacks/evidence-audit-validation.js +1 -0
  213. package/dist/agentpacks/evidence-canonicalization.d.ts +5 -0
  214. package/dist/agentpacks/evidence-canonicalization.js +2 -0
  215. package/dist/agentpacks/evidence-fixtures.d.ts +5 -0
  216. package/dist/agentpacks/evidence-fixtures.js +1 -0
  217. package/dist/agentpacks/evidence-schema-primitives.d.ts +56 -0
  218. package/dist/agentpacks/evidence-schema-primitives.js +1 -0
  219. package/dist/agentpacks/evidence-trace-validation.d.ts +444 -0
  220. package/dist/agentpacks/evidence-trace-validation.js +1 -0
  221. package/dist/agentpacks/evidence-types.d.ts +145 -0
  222. package/dist/agentpacks/evidence-types.js +0 -0
  223. package/dist/agentpacks/evidence-validation.d.ts +8 -0
  224. package/dist/agentpacks/evidence-validation.js +1 -0
  225. package/dist/agentpacks/index.d.ts +123 -0
  226. package/dist/agentpacks/index.js +1 -0
  227. package/dist/agentpacks/types.d.ts +160 -0
  228. package/dist/agentpacks/types.js +0 -0
  229. package/dist/agentpacks/validation.d.ts +1688 -0
  230. package/dist/agentpacks/validation.js +1 -0
  231. package/dist/ai-improvement/contracts-v2.d.ts +147 -0
  232. package/dist/ai-improvement/contracts-v2.js +1 -0
  233. package/dist/ai-improvement/evidence.d.ts +5 -0
  234. package/dist/ai-improvement/evidence.js +1 -0
  235. package/dist/ai-improvement/index.d.ts +6 -0
  236. package/dist/ai-improvement/index.js +1 -0
  237. package/dist/ai-improvement/policy.d.ts +33 -0
  238. package/dist/ai-improvement/policy.js +1 -0
  239. package/dist/ai-improvement/types.d.ts +60 -0
  240. package/dist/ai-improvement/types.js +0 -0
  241. package/dist/ai-improvement/validation-v2.d.ts +761 -0
  242. package/dist/ai-improvement/validation-v2.js +1 -0
  243. package/dist/ai-improvement/validation.d.ts +130 -0
  244. package/dist/ai-improvement/validation.js +1 -0
  245. package/dist/analytics/index.d.ts +6 -0
  246. package/dist/analytics/index.js +0 -0
  247. package/dist/analytics/semantic-spec.d.ts +60 -0
  248. package/dist/analytics/semantic-spec.js +0 -0
  249. package/dist/app-config/app-config.capability.d.ts +1 -0
  250. package/dist/app-config/app-config.capability.js +1 -0
  251. package/dist/app-config/app-config.contracts.d.ts +239 -0
  252. package/dist/app-config/app-config.contracts.js +1 -0
  253. package/dist/app-config/app-config.feature.d.ts +5 -0
  254. package/dist/app-config/app-config.feature.js +1 -0
  255. package/dist/app-config/branding.d.js +0 -0
  256. package/dist/app-config/branding.d.ts +184 -0
  257. package/dist/app-config/branding.js +0 -0
  258. package/dist/app-config/events.d.ts +115 -0
  259. package/dist/app-config/events.js +1 -0
  260. package/dist/app-config/index.d.ts +10 -0
  261. package/dist/app-config/index.js +1 -0
  262. package/dist/app-config/integrations.d.js +0 -0
  263. package/dist/app-config/integrations.d.ts +65 -0
  264. package/dist/app-config/integrations.js +0 -0
  265. package/dist/app-config/lifecycle-contracts.d.ts +265 -0
  266. package/dist/app-config/lifecycle-contracts.js +1 -0
  267. package/dist/app-config/lifecycle.d.js +0 -0
  268. package/dist/app-config/lifecycle.d.ts +23 -0
  269. package/dist/app-config/lifecycle.js +0 -0
  270. package/dist/app-config/runtime.d.js +0 -0
  271. package/dist/app-config/runtime.d.ts +124 -0
  272. package/dist/app-config/runtime.js +1 -0
  273. package/dist/app-config/spec.d.js +0 -0
  274. package/dist/app-config/spec.d.ts +220 -0
  275. package/dist/app-config/spec.js +162 -0
  276. package/dist/app-config/validation.d.ts +51 -0
  277. package/dist/app-config/validation.js +1 -0
  278. package/dist/app-submission-readiness/admin-rules.contracts.d.ts +145 -0
  279. package/dist/app-submission-readiness/admin-rules.contracts.js +1 -0
  280. package/dist/app-submission-readiness/assets.contracts.d.ts +89 -0
  281. package/dist/app-submission-readiness/assets.contracts.js +1 -0
  282. package/dist/app-submission-readiness/audit.contracts.d.ts +53 -0
  283. package/dist/app-submission-readiness/audit.contracts.js +1 -0
  284. package/dist/app-submission-readiness/constants.d.ts +24 -0
  285. package/dist/app-submission-readiness/constants.js +1 -0
  286. package/dist/app-submission-readiness/contracts.d.ts +20 -0
  287. package/dist/app-submission-readiness/contracts.js +1 -0
  288. package/dist/app-submission-readiness/events.d.ts +194 -0
  289. package/dist/app-submission-readiness/events.js +1 -0
  290. package/dist/app-submission-readiness/fixtures.d.ts +2 -0
  291. package/dist/app-submission-readiness/fixtures.js +1 -0
  292. package/dist/app-submission-readiness/index.d.ts +8 -0
  293. package/dist/app-submission-readiness/index.js +1 -0
  294. package/dist/app-submission-readiness/legal-links.contracts.d.ts +93 -0
  295. package/dist/app-submission-readiness/legal-links.contracts.js +1 -0
  296. package/dist/app-submission-readiness/manifests.contracts.d.ts +97 -0
  297. package/dist/app-submission-readiness/manifests.contracts.js +1 -0
  298. package/dist/app-submission-readiness/markdown-report.d.ts +7 -0
  299. package/dist/app-submission-readiness/markdown-report.js +3 -0
  300. package/dist/app-submission-readiness/privacy-disclosures.contracts.d.ts +101 -0
  301. package/dist/app-submission-readiness/privacy-disclosures.contracts.js +1 -0
  302. package/dist/app-submission-readiness/project.contracts.d.ts +137 -0
  303. package/dist/app-submission-readiness/project.contracts.js +1 -0
  304. package/dist/app-submission-readiness/provider-capabilities.d.ts +58 -0
  305. package/dist/app-submission-readiness/provider-capabilities.js +1 -0
  306. package/dist/app-submission-readiness/provider-capabilities.seeds.d.ts +25 -0
  307. package/dist/app-submission-readiness/provider-capabilities.seeds.js +1 -0
  308. package/dist/app-submission-readiness/registry.d.ts +1172 -0
  309. package/dist/app-submission-readiness/registry.js +1 -0
  310. package/dist/app-submission-readiness/rejection-response.contracts.d.ts +49 -0
  311. package/dist/app-submission-readiness/rejection-response.contracts.js +1 -0
  312. package/dist/app-submission-readiness/reports.contracts.d.ts +85 -0
  313. package/dist/app-submission-readiness/reports.contracts.js +1 -0
  314. package/dist/app-submission-readiness/reviewer-access.contracts.d.ts +93 -0
  315. package/dist/app-submission-readiness/reviewer-access.contracts.js +1 -0
  316. package/dist/app-submission-readiness/runtime.d.ts +9 -0
  317. package/dist/app-submission-readiness/runtime.js +1 -0
  318. package/dist/app-submission-readiness/sdk-inventory.contracts.d.ts +69 -0
  319. package/dist/app-submission-readiness/sdk-inventory.contracts.js +1 -0
  320. package/dist/app-submission-readiness/store-integrations.contracts.d.ts +85 -0
  321. package/dist/app-submission-readiness/store-integrations.contracts.js +1 -0
  322. package/dist/app-submission-readiness/types.d.ts +76 -0
  323. package/dist/app-submission-readiness/types.js +0 -0
  324. package/dist/capabilities/agent-workflow.d.js +0 -0
  325. package/dist/capabilities/agent-workflow.d.ts +52 -0
  326. package/dist/capabilities/agent-workflow.js +1 -0
  327. package/dist/capabilities/capabilities.d.js +0 -0
  328. package/dist/capabilities/capabilities.d.ts +109 -0
  329. package/dist/capabilities/capabilities.js +187 -0
  330. package/dist/capabilities/context.d.js +0 -0
  331. package/dist/capabilities/context.d.ts +110 -0
  332. package/dist/capabilities/context.js +1 -0
  333. package/dist/capabilities/guards.d.js +0 -0
  334. package/dist/capabilities/guards.d.ts +121 -0
  335. package/dist/capabilities/guards.js +1 -0
  336. package/dist/capabilities/index.d.js +1 -0
  337. package/dist/capabilities/index.d.ts +7 -0
  338. package/dist/capabilities/index.js +1 -0
  339. package/dist/capabilities/meeting-recorder.d.js +0 -0
  340. package/dist/capabilities/meeting-recorder.d.ts +5 -0
  341. package/dist/capabilities/meeting-recorder.js +1 -0
  342. package/dist/capabilities/openbanking.d.js +0 -0
  343. package/dist/capabilities/openbanking.d.ts +5 -0
  344. package/dist/capabilities/openbanking.js +1 -0
  345. package/dist/capabilities/validation.d.js +0 -0
  346. package/dist/capabilities/validation.d.ts +79 -0
  347. package/dist/capabilities/validation.js +1 -0
  348. package/dist/cli/command-pack.d.ts +37 -0
  349. package/dist/cli/command-pack.js +16 -0
  350. package/dist/cli/index.d.ts +1 -0
  351. package/dist/cli/index.js +1 -0
  352. package/dist/companyos/auth-production-topology.d.ts +24 -0
  353. package/dist/companyos/auth-production-topology.js +1 -0
  354. package/dist/companyos/booking-surfaces.d.ts +50 -0
  355. package/dist/companyos/booking-surfaces.js +1 -0
  356. package/dist/companyos/calendar-intelligence.d.ts +129 -0
  357. package/dist/companyos/calendar-intelligence.js +1 -0
  358. package/dist/companyos/calendar-microsoft-personal-discovery.d.ts +32 -0
  359. package/dist/companyos/calendar-microsoft-personal-discovery.js +1 -0
  360. package/dist/companyos/calendar-microsoft-personal-http.d.ts +32 -0
  361. package/dist/companyos/calendar-microsoft-personal-http.js +1 -0
  362. package/dist/companyos/calendar-microsoft-personal-selection.d.ts +38 -0
  363. package/dist/companyos/calendar-microsoft-personal-selection.js +1 -0
  364. package/dist/companyos/calendar-private-draft-preview.d.ts +144 -0
  365. package/dist/companyos/calendar-private-draft-preview.js +1 -0
  366. package/dist/companyos/commands/autonomousWorkOrderTransition.command.d.ts +63 -0
  367. package/dist/companyos/commands/autonomousWorkOrderTransition.command.js +1 -0
  368. package/dist/companyos/commands/builderReadinessEvaluate.command.d.ts +81 -0
  369. package/dist/companyos/commands/builderReadinessEvaluate.command.js +1 -0
  370. package/dist/companyos/commands/contextSetActive.command.d.ts +58 -0
  371. package/dist/companyos/commands/contextSetActive.command.js +1 -0
  372. package/dist/companyos/commands/decisionPacketAttest.command.d.ts +194 -0
  373. package/dist/companyos/commands/decisionPacketAttest.command.js +1 -0
  374. package/dist/companyos/commands/decisionPacketFounderApprove.command.d.ts +202 -0
  375. package/dist/companyos/commands/decisionPacketFounderApprove.command.js +1 -0
  376. package/dist/companyos/commands/index.d.ts +29 -0
  377. package/dist/companyos/commands/index.js +1 -0
  378. package/dist/companyos/commands/integrationConfigureByok.command.d.ts +32 -0
  379. package/dist/companyos/commands/integrationConfigureByok.command.js +1 -0
  380. package/dist/companyos/commands/integrationConfigureManaged.command.d.ts +32 -0
  381. package/dist/companyos/commands/integrationConfigureManaged.command.js +1 -0
  382. package/dist/companyos/commands/onboardingPreferencesComplete.command.d.ts +51 -0
  383. package/dist/companyos/commands/onboardingPreferencesComplete.command.js +8 -0
  384. package/dist/companyos/commands/organizationSetActive.command.d.ts +25 -0
  385. package/dist/companyos/commands/organizationSetActive.command.js +1 -0
  386. package/dist/companyos/commands/personaPreviewSet.command.d.ts +35 -0
  387. package/dist/companyos/commands/personaPreviewSet.command.js +7 -0
  388. package/dist/companyos/commands/personalBriefingCalendarsSelect.command.d.ts +32 -0
  389. package/dist/companyos/commands/personalBriefingCalendarsSelect.command.js +12 -0
  390. package/dist/companyos/commands/personalBriefingDeliveryRetry.command.d.ts +30 -0
  391. package/dist/companyos/commands/personalBriefingDeliveryRetry.command.js +8 -0
  392. package/dist/companyos/commands/personalBriefingGoogleOAuthComplete.command.d.ts +30 -0
  393. package/dist/companyos/commands/personalBriefingGoogleOAuthComplete.command.js +6 -0
  394. package/dist/companyos/commands/personalBriefingGoogleOAuthStart.command.d.ts +22 -0
  395. package/dist/companyos/commands/personalBriefingGoogleOAuthStart.command.js +6 -0
  396. package/dist/companyos/commands/personalBriefingMicrosoftDisconnect.command.d.ts +17 -0
  397. package/dist/companyos/commands/personalBriefingMicrosoftDisconnect.command.js +5 -0
  398. package/dist/companyos/commands/personalBriefingMicrosoftOAuthComplete.command.d.ts +30 -0
  399. package/dist/companyos/commands/personalBriefingMicrosoftOAuthComplete.command.js +9 -0
  400. package/dist/companyos/commands/personalBriefingMicrosoftOAuthStart.command.d.ts +17 -0
  401. package/dist/companyos/commands/personalBriefingMicrosoftOAuthStart.command.js +6 -0
  402. package/dist/companyos/commands/personalBriefingPreferencesUpdate.command.d.ts +60 -0
  403. package/dist/companyos/commands/personalBriefingPreferencesUpdate.command.js +11 -0
  404. package/dist/companyos/commands/personalBriefingPreviewSend.command.d.ts +46 -0
  405. package/dist/companyos/commands/personalBriefingPreviewSend.command.js +15 -0
  406. package/dist/companyos/commands/personalContextDisable.command.d.ts +37 -0
  407. package/dist/companyos/commands/personalContextDisable.command.js +1 -0
  408. package/dist/companyos/commands/personalContextEnsure.command.d.ts +45 -0
  409. package/dist/companyos/commands/personalContextEnsure.command.js +1 -0
  410. package/dist/companyos/commands/personalDailyOperationCreate.command.d.ts +24 -0
  411. package/dist/companyos/commands/personalDailyOperationCreate.command.js +1 -0
  412. package/dist/companyos/commands/personalDailyOperationTransition.command.d.ts +20 -0
  413. package/dist/companyos/commands/personalDailyOperationTransition.command.js +1 -0
  414. package/dist/companyos/commands/reviewCardDecide.command.d.ts +54 -0
  415. package/dist/companyos/commands/reviewCardDecide.command.js +1 -0
  416. package/dist/companyos/commands/shellPreferencesUpdate.command.d.ts +47 -0
  417. package/dist/companyos/commands/shellPreferencesUpdate.command.js +6 -0
  418. package/dist/companyos/commands/tenantOnboard.command.d.ts +32 -0
  419. package/dist/companyos/commands/tenantOnboard.command.js +1 -0
  420. package/dist/companyos/commands/tenantUpdate.command.d.ts +24 -0
  421. package/dist/companyos/commands/tenantUpdate.command.js +1 -0
  422. package/dist/companyos/commands/weeklyReportApprove.command.d.ts +54 -0
  423. package/dist/companyos/commands/weeklyReportApprove.command.js +1 -0
  424. package/dist/companyos/commands/workflowStart.command.d.ts +28 -0
  425. package/dist/companyos/commands/workflowStart.command.js +1 -0
  426. package/dist/companyos/company-intelligence/api-schemas.d.ts +232 -0
  427. package/dist/companyos/company-intelligence/api-schemas.js +1 -0
  428. package/dist/companyos/company-intelligence/api.d.ts +44 -0
  429. package/dist/companyos/company-intelligence/api.js +1 -0
  430. package/dist/companyos/company-intelligence/commands.d.ts +517 -0
  431. package/dist/companyos/company-intelligence/commands.js +1 -0
  432. package/dist/companyos/company-intelligence/events.d.ts +369 -0
  433. package/dist/companyos/company-intelligence/events.js +1 -0
  434. package/dist/companyos/company-intelligence/index.d.ts +8 -0
  435. package/dist/companyos/company-intelligence/index.js +1 -0
  436. package/dist/companyos/company-intelligence/models.d.ts +77 -0
  437. package/dist/companyos/company-intelligence/models.js +1 -0
  438. package/dist/companyos/company-intelligence/operations.d.ts +124 -0
  439. package/dist/companyos/company-intelligence/operations.js +1 -0
  440. package/dist/companyos/company-intelligence/queries.d.ts +183 -0
  441. package/dist/companyos/company-intelligence/queries.js +1 -0
  442. package/dist/companyos/company-intelligence/registry.d.ts +634 -0
  443. package/dist/companyos/company-intelligence/registry.js +1 -0
  444. package/dist/companyos/company-intelligence/surface.d.ts +45 -0
  445. package/dist/companyos/company-intelligence/surface.js +1 -0
  446. package/dist/companyos/company-metrics/commands.d.ts +1079 -0
  447. package/dist/companyos/company-metrics/commands.js +3 -0
  448. package/dist/companyos/company-metrics/events.d.ts +383 -0
  449. package/dist/companyos/company-metrics/events.js +3 -0
  450. package/dist/companyos/company-metrics/index.d.ts +5 -0
  451. package/dist/companyos/company-metrics/index.js +1 -0
  452. package/dist/companyos/company-metrics/queries.d.ts +367 -0
  453. package/dist/companyos/company-metrics/queries.js +3 -0
  454. package/dist/companyos/company-metrics/registry.d.ts +913 -0
  455. package/dist/companyos/company-metrics/registry.js +1 -0
  456. package/dist/companyos/company-metrics/shared.d.ts +72 -0
  457. package/dist/companyos/company-metrics/shared.js +1 -0
  458. package/dist/companyos/constants.d.ts +25 -0
  459. package/dist/companyos/constants.js +1 -0
  460. package/dist/companyos/index.d.ts +21 -0
  461. package/dist/companyos/index.js +1 -0
  462. package/dist/companyos/live-workspace-surfaces.d.ts +6 -0
  463. package/dist/companyos/live-workspace-surfaces.js +1 -0
  464. package/dist/companyos/organization-bootstrap.d.ts +103 -0
  465. package/dist/companyos/organization-bootstrap.js +1 -0
  466. package/dist/companyos/organization-seed-contract.d.ts +126 -0
  467. package/dist/companyos/organization-seed-contract.js +1 -0
  468. package/dist/companyos/organization-seed-manifest.d.ts +11 -0
  469. package/dist/companyos/organization-seed-manifest.js +1 -0
  470. package/dist/companyos/organization-seed-profile-manifest.d.ts +4 -0
  471. package/dist/companyos/organization-seed-profile-manifest.js +1 -0
  472. package/dist/companyos/organization-seed.d.ts +2 -0
  473. package/dist/companyos/organization-seed.js +1 -0
  474. package/dist/companyos/organization-self-service.d.ts +157 -0
  475. package/dist/companyos/organization-self-service.js +1 -0
  476. package/dist/companyos/production-semantics.d.ts +116 -0
  477. package/dist/companyos/production-semantics.js +1 -0
  478. package/dist/companyos/projections.d.ts +247 -0
  479. package/dist/companyos/projections.js +1 -0
  480. package/dist/companyos/public-composition.d.ts +742 -0
  481. package/dist/companyos/public-composition.js +1 -0
  482. package/dist/companyos/queries/approvalReasons.query.d.ts +25 -0
  483. package/dist/companyos/queries/approvalReasons.query.js +1 -0
  484. package/dist/companyos/queries/builderEvidenceReceiptGet.query.d.ts +75 -0
  485. package/dist/companyos/queries/builderEvidenceReceiptGet.query.js +1 -0
  486. package/dist/companyos/queries/builderReleaseCapsuleGet.query.d.ts +67 -0
  487. package/dist/companyos/queries/builderReleaseCapsuleGet.query.js +1 -0
  488. package/dist/companyos/queries/builderReplayPacketGet.query.d.ts +64 -0
  489. package/dist/companyos/queries/builderReplayPacketGet.query.js +1 -0
  490. package/dist/companyos/queries/contextList.query.d.ts +218 -0
  491. package/dist/companyos/queries/contextList.query.js +1 -0
  492. package/dist/companyos/queries/designPartnerReadinessGet.query.d.ts +154 -0
  493. package/dist/companyos/queries/designPartnerReadinessGet.query.js +1 -0
  494. package/dist/companyos/queries/evidenceGetReceipt.query.d.ts +63 -0
  495. package/dist/companyos/queries/evidenceGetReceipt.query.js +1 -0
  496. package/dist/companyos/queries/evidenceVerifyHash.query.d.ts +24 -0
  497. package/dist/companyos/queries/evidenceVerifyHash.query.js +1 -0
  498. package/dist/companyos/queries/graphQuery.query.d.ts +186 -0
  499. package/dist/companyos/queries/graphQuery.query.js +1 -0
  500. package/dist/companyos/queries/graphQueryByPolicy.query.d.ts +81 -0
  501. package/dist/companyos/queries/graphQueryByPolicy.query.js +1 -0
  502. package/dist/companyos/queries/healthApi.query.d.ts +23 -0
  503. package/dist/companyos/queries/healthApi.query.js +1 -0
  504. package/dist/companyos/queries/healthWebsocket.query.d.ts +23 -0
  505. package/dist/companyos/queries/healthWebsocket.query.js +1 -0
  506. package/dist/companyos/queries/healthWorker.query.d.ts +63 -0
  507. package/dist/companyos/queries/healthWorker.query.js +1 -0
  508. package/dist/companyos/queries/index.d.ts +29 -0
  509. package/dist/companyos/queries/index.js +1 -0
  510. package/dist/companyos/queries/integrationListProviders.query.d.ts +29 -0
  511. package/dist/companyos/queries/integrationListProviders.query.js +1 -0
  512. package/dist/companyos/queries/integrationStatus.query.d.ts +42 -0
  513. package/dist/companyos/queries/integrationStatus.query.js +1 -0
  514. package/dist/companyos/queries/organizationList.query.d.ts +64 -0
  515. package/dist/companyos/queries/organizationList.query.js +1 -0
  516. package/dist/companyos/queries/personalBriefingCalendarsList.query.d.ts +22 -0
  517. package/dist/companyos/queries/personalBriefingCalendarsList.query.js +6 -0
  518. package/dist/companyos/queries/personalBriefingStatus.query.d.ts +49 -0
  519. package/dist/companyos/queries/personalBriefingStatus.query.js +13 -0
  520. package/dist/companyos/queries/personalContextProvisioningStatus.query.d.ts +28 -0
  521. package/dist/companyos/queries/personalContextProvisioningStatus.query.js +1 -0
  522. package/dist/companyos/queries/personalDailyOperations.query.d.ts +17 -0
  523. package/dist/companyos/queries/personalDailyOperations.query.js +1 -0
  524. package/dist/companyos/queries/replayGetPacket.query.d.ts +56 -0
  525. package/dist/companyos/queries/replayGetPacket.query.js +1 -0
  526. package/dist/companyos/queries/replayListByTenant.query.d.ts +54 -0
  527. package/dist/companyos/queries/replayListByTenant.query.js +1 -0
  528. package/dist/companyos/queries/sessionAuthorityGet.query.d.ts +76 -0
  529. package/dist/companyos/queries/sessionAuthorityGet.query.js +1 -0
  530. package/dist/companyos/queries/shellPreferencesGet.query.d.ts +38 -0
  531. package/dist/companyos/queries/shellPreferencesGet.query.js +7 -0
  532. package/dist/companyos/queries/tenantGet.query.d.ts +79 -0
  533. package/dist/companyos/queries/tenantGet.query.js +1 -0
  534. package/dist/companyos/queries/tenantList.query.d.ts +58 -0
  535. package/dist/companyos/queries/tenantList.query.js +1 -0
  536. package/dist/companyos/queries/workflowGetStatus.query.d.ts +68 -0
  537. package/dist/companyos/queries/workflowGetStatus.query.js +1 -0
  538. package/dist/companyos/queries/workflowList.query.d.ts +56 -0
  539. package/dist/companyos/queries/workflowList.query.js +1 -0
  540. package/dist/companyos/queries/workspaceList.query.d.ts +69 -0
  541. package/dist/companyos/queries/workspaceList.query.js +1 -0
  542. package/dist/companyos/registry.d.ts +3614 -0
  543. package/dist/companyos/registry.js +1 -0
  544. package/dist/companyos/shell-preferences.d.ts +122 -0
  545. package/dist/companyos/shell-preferences.js +1 -0
  546. package/dist/content-analysis/constants.d.ts +10 -0
  547. package/dist/content-analysis/constants.js +1 -0
  548. package/dist/content-analysis/events.d.ts +307 -0
  549. package/dist/content-analysis/events.js +3 -0
  550. package/dist/content-analysis/index.d.ts +5 -0
  551. package/dist/content-analysis/index.js +1 -0
  552. package/dist/content-analysis/operations.d.ts +554 -0
  553. package/dist/content-analysis/operations.js +6 -0
  554. package/dist/content-analysis/registry.d.ts +9 -0
  555. package/dist/content-analysis/registry.js +1 -0
  556. package/dist/content-analysis/types.d.ts +90 -0
  557. package/dist/content-analysis/types.js +0 -0
  558. package/dist/content-generation/capabilities.d.ts +4 -0
  559. package/dist/content-generation/capabilities.js +1 -0
  560. package/dist/content-generation/content-generation.feature.d.ts +1 -0
  561. package/dist/content-generation/content-generation.feature.js +1 -0
  562. package/dist/content-generation/contracts.d.ts +1557 -0
  563. package/dist/content-generation/contracts.js +4 -0
  564. package/dist/content-generation/index.d.ts +5 -0
  565. package/dist/content-generation/index.js +1 -0
  566. package/dist/content-generation/media-status.d.ts +53 -0
  567. package/dist/content-generation/media-status.js +1 -0
  568. package/dist/content-generation/ports.d.ts +42 -0
  569. package/dist/content-generation/ports.js +0 -0
  570. package/dist/content-generation/rights-operations.d.ts +479 -0
  571. package/dist/content-generation/rights-operations.js +1 -0
  572. package/dist/content-generation/rights-withdrawal.d.ts +44 -0
  573. package/dist/content-generation/rights-withdrawal.js +1 -0
  574. package/dist/content-generation/rights.d.ts +79 -0
  575. package/dist/content-generation/rights.js +1 -0
  576. package/dist/content-generation/types.d.ts +84 -0
  577. package/dist/content-generation/types.js +1 -0
  578. package/dist/context/agent-context-validation.d.ts +38 -0
  579. package/dist/context/agent-context-validation.js +4 -0
  580. package/dist/context/agent-context.d.ts +310 -0
  581. package/dist/context/agent-context.js +1 -0
  582. package/dist/context/capabilities/contextSystem.capability.d.ts +11 -0
  583. package/dist/context/capabilities/contextSystem.capability.js +4 -0
  584. package/dist/context/capabilities/index.d.ts +1 -0
  585. package/dist/context/capabilities/index.js +1 -0
  586. package/dist/context/commands/contextPackSnapshot.command.d.ts +61 -0
  587. package/dist/context/commands/contextPackSnapshot.command.js +4 -0
  588. package/dist/context/commands/index.d.ts +1 -0
  589. package/dist/context/commands/index.js +1 -0
  590. package/dist/context/constants.d.ts +4 -0
  591. package/dist/context/constants.js +1 -0
  592. package/dist/context/context.feature.d.ts +1 -0
  593. package/dist/context/context.feature.js +1 -0
  594. package/dist/context/contracts.d.ts +369 -0
  595. package/dist/context/contracts.js +1 -0
  596. package/dist/context/events/contextSnapshotCreated.event.d.ts +63 -0
  597. package/dist/context/events/contextSnapshotCreated.event.js +4 -0
  598. package/dist/context/events/index.d.ts +1 -0
  599. package/dist/context/events/index.js +1 -0
  600. package/dist/context/forms/contextPackSearch.form.d.ts +29 -0
  601. package/dist/context/forms/contextPackSearch.form.js +4 -0
  602. package/dist/context/forms/index.d.ts +1 -0
  603. package/dist/context/forms/index.js +1 -0
  604. package/dist/context/index.d.ts +12 -0
  605. package/dist/context/index.js +1 -0
  606. package/dist/context/presentations/contextSnapshot.presentation.d.ts +11 -0
  607. package/dist/context/presentations/contextSnapshot.presentation.js +4 -0
  608. package/dist/context/presentations/index.d.ts +1 -0
  609. package/dist/context/presentations/index.js +1 -0
  610. package/dist/context/queries/contextPackDescribe.query.d.ts +87 -0
  611. package/dist/context/queries/contextPackDescribe.query.js +4 -0
  612. package/dist/context/queries/contextPackSearch.query.d.ts +90 -0
  613. package/dist/context/queries/contextPackSearch.query.js +4 -0
  614. package/dist/context/queries/index.d.ts +2 -0
  615. package/dist/context/queries/index.js +1 -0
  616. package/dist/context/views/contextSnapshots.dataView.d.ts +104 -0
  617. package/dist/context/views/contextSnapshots.dataView.js +4 -0
  618. package/dist/context/views/index.d.ts +1 -0
  619. package/dist/context/views/index.js +1 -0
  620. package/dist/contract-registry/index.d.ts +3 -0
  621. package/dist/contract-registry/index.js +1 -0
  622. package/dist/contract-registry/schemas.d.ts +135 -0
  623. package/dist/contract-registry/schemas.js +1 -0
  624. package/dist/contract-registry/types.d.ts +42 -0
  625. package/dist/contract-registry/types.js +0 -0
  626. package/dist/contracts-spec.feature.d.ts +1 -0
  627. package/dist/contracts-spec.feature.js +1 -0
  628. package/dist/control-plane/approval-kernel.d.ts +178 -0
  629. package/dist/control-plane/approval-kernel.js +1 -0
  630. package/dist/control-plane/capabilities/controlPlaneApproval.capability.d.ts +1 -0
  631. package/dist/control-plane/capabilities/controlPlaneApproval.capability.js +1 -0
  632. package/dist/control-plane/capabilities/controlPlaneAudit.capability.d.ts +1 -0
  633. package/dist/control-plane/capabilities/controlPlaneAudit.capability.js +1 -0
  634. package/dist/control-plane/capabilities/controlPlaneChannelRuntime.capability.d.ts +1 -0
  635. package/dist/control-plane/capabilities/controlPlaneChannelRuntime.capability.js +1 -0
  636. package/dist/control-plane/capabilities/controlPlaneCore.capability.d.ts +1 -0
  637. package/dist/control-plane/capabilities/controlPlaneCore.capability.js +1 -0
  638. package/dist/control-plane/capabilities/controlPlaneSkillRegistry.capability.d.ts +1 -0
  639. package/dist/control-plane/capabilities/controlPlaneSkillRegistry.capability.js +1 -0
  640. package/dist/control-plane/capabilities/index.d.ts +5 -0
  641. package/dist/control-plane/capabilities/index.js +1 -0
  642. package/dist/control-plane/commands/controlPlaneExecutionAbort.command.d.ts +28 -0
  643. package/dist/control-plane/commands/controlPlaneExecutionAbort.command.js +1 -0
  644. package/dist/control-plane/commands/controlPlaneExecutionApprove.command.d.ts +61 -0
  645. package/dist/control-plane/commands/controlPlaneExecutionApprove.command.js +1 -0
  646. package/dist/control-plane/commands/controlPlaneExecutionCancel.command.d.ts +28 -0
  647. package/dist/control-plane/commands/controlPlaneExecutionCancel.command.js +1 -0
  648. package/dist/control-plane/commands/controlPlaneExecutionEvidenceExport.command.d.ts +48 -0
  649. package/dist/control-plane/commands/controlPlaneExecutionEvidenceExport.command.js +1 -0
  650. package/dist/control-plane/commands/controlPlaneExecutionPause.command.d.ts +28 -0
  651. package/dist/control-plane/commands/controlPlaneExecutionPause.command.js +1 -0
  652. package/dist/control-plane/commands/controlPlaneExecutionReject.command.d.ts +61 -0
  653. package/dist/control-plane/commands/controlPlaneExecutionReject.command.js +1 -0
  654. package/dist/control-plane/commands/controlPlaneExecutionResume.command.d.ts +24 -0
  655. package/dist/control-plane/commands/controlPlaneExecutionResume.command.js +1 -0
  656. package/dist/control-plane/commands/controlPlaneExecutionRetry.command.d.ts +28 -0
  657. package/dist/control-plane/commands/controlPlaneExecutionRetry.command.js +1 -0
  658. package/dist/control-plane/commands/controlPlaneExecutionShutdown.command.d.ts +28 -0
  659. package/dist/control-plane/commands/controlPlaneExecutionShutdown.command.js +1 -0
  660. package/dist/control-plane/commands/controlPlaneExecutionStart.command.d.ts +28 -0
  661. package/dist/control-plane/commands/controlPlaneExecutionStart.command.js +1 -0
  662. package/dist/control-plane/commands/controlPlaneIntentSubmit.command.d.ts +47 -0
  663. package/dist/control-plane/commands/controlPlaneIntentSubmit.command.js +1 -0
  664. package/dist/control-plane/commands/controlPlanePlanCompile.command.d.ts +39 -0
  665. package/dist/control-plane/commands/controlPlanePlanCompile.command.js +1 -0
  666. package/dist/control-plane/commands/controlPlanePlanVerify.command.d.ts +33 -0
  667. package/dist/control-plane/commands/controlPlanePlanVerify.command.js +1 -0
  668. package/dist/control-plane/commands/controlPlaneSkillDisable.command.d.ts +36 -0
  669. package/dist/control-plane/commands/controlPlaneSkillDisable.command.js +1 -0
  670. package/dist/control-plane/commands/controlPlaneSkillInstall.command.d.ts +237 -0
  671. package/dist/control-plane/commands/controlPlaneSkillInstall.command.js +1 -0
  672. package/dist/control-plane/commands/index.d.ts +15 -0
  673. package/dist/control-plane/commands/index.js +1 -0
  674. package/dist/control-plane/connect-materialization.d.ts +101 -0
  675. package/dist/control-plane/connect-materialization.js +1 -0
  676. package/dist/control-plane/constants.d.ts +4 -0
  677. package/dist/control-plane/constants.js +1 -0
  678. package/dist/control-plane/contracts.d.ts +1661 -0
  679. package/dist/control-plane/contracts.js +1 -0
  680. package/dist/control-plane/control-plane.feature.d.ts +1 -0
  681. package/dist/control-plane/control-plane.feature.js +1 -0
  682. package/dist/control-plane/events/controlPlaneExecutionCompleted.event.d.ts +37 -0
  683. package/dist/control-plane/events/controlPlaneExecutionCompleted.event.js +1 -0
  684. package/dist/control-plane/events/controlPlaneExecutionFailed.event.d.ts +53 -0
  685. package/dist/control-plane/events/controlPlaneExecutionFailed.event.js +1 -0
  686. package/dist/control-plane/events/controlPlaneExecutionStepBlocked.event.d.ts +45 -0
  687. package/dist/control-plane/events/controlPlaneExecutionStepBlocked.event.js +1 -0
  688. package/dist/control-plane/events/controlPlaneExecutionStepCompleted.event.d.ts +37 -0
  689. package/dist/control-plane/events/controlPlaneExecutionStepCompleted.event.js +1 -0
  690. package/dist/control-plane/events/controlPlaneExecutionStepStarted.event.d.ts +37 -0
  691. package/dist/control-plane/events/controlPlaneExecutionStepStarted.event.js +1 -0
  692. package/dist/control-plane/events/controlPlaneIntentReceived.event.d.ts +45 -0
  693. package/dist/control-plane/events/controlPlaneIntentReceived.event.js +1 -0
  694. package/dist/control-plane/events/controlPlanePlanCompiled.event.d.ts +37 -0
  695. package/dist/control-plane/events/controlPlanePlanCompiled.event.js +1 -0
  696. package/dist/control-plane/events/controlPlanePlanRejected.event.d.ts +39 -0
  697. package/dist/control-plane/events/controlPlanePlanRejected.event.js +1 -0
  698. package/dist/control-plane/events/controlPlaneSkillInstalled.event.d.ts +61 -0
  699. package/dist/control-plane/events/controlPlaneSkillInstalled.event.js +1 -0
  700. package/dist/control-plane/events/controlPlaneSkillRejected.event.d.ts +81 -0
  701. package/dist/control-plane/events/controlPlaneSkillRejected.event.js +1 -0
  702. package/dist/control-plane/events/index.d.ts +10 -0
  703. package/dist/control-plane/events/index.js +1 -0
  704. package/dist/control-plane/hook-authority-digest.d.ts +5 -0
  705. package/dist/control-plane/hook-authority-digest.js +1 -0
  706. package/dist/control-plane/hook-authority-immutable.d.ts +2 -0
  707. package/dist/control-plane/hook-authority-immutable.js +1 -0
  708. package/dist/control-plane/hook-authority-records.d.ts +68 -0
  709. package/dist/control-plane/hook-authority-records.js +0 -0
  710. package/dist/control-plane/hook-authority-reference-adapter.d.ts +13 -0
  711. package/dist/control-plane/hook-authority-reference-adapter.js +1 -0
  712. package/dist/control-plane/hook-authority-reference-binding.d.ts +2 -0
  713. package/dist/control-plane/hook-authority-reference-binding.js +1 -0
  714. package/dist/control-plane/hook-authority-reference-capability.d.ts +8 -0
  715. package/dist/control-plane/hook-authority-reference-capability.js +1 -0
  716. package/dist/control-plane/hook-authority-reference-clock.d.ts +7 -0
  717. package/dist/control-plane/hook-authority-reference-clock.js +1 -0
  718. package/dist/control-plane/hook-authority-reference-helpers.d.ts +5 -0
  719. package/dist/control-plane/hook-authority-reference-helpers.js +1 -0
  720. package/dist/control-plane/hook-authority-reference-invoke.d.ts +2 -0
  721. package/dist/control-plane/hook-authority-reference-invoke.js +1 -0
  722. package/dist/control-plane/hook-authority-reference-leases.d.ts +6 -0
  723. package/dist/control-plane/hook-authority-reference-leases.js +1 -0
  724. package/dist/control-plane/hook-authority-reference-lock.d.ts +3 -0
  725. package/dist/control-plane/hook-authority-reference-lock.js +1 -0
  726. package/dist/control-plane/hook-authority-reference-result.d.ts +2 -0
  727. package/dist/control-plane/hook-authority-reference-result.js +1 -0
  728. package/dist/control-plane/hook-authority-reference-session.d.ts +5 -0
  729. package/dist/control-plane/hook-authority-reference-session.js +1 -0
  730. package/dist/control-plane/hook-authority-reference-state.d.ts +24 -0
  731. package/dist/control-plane/hook-authority-reference-state.js +1 -0
  732. package/dist/control-plane/hook-authority-reference-validation.d.ts +3 -0
  733. package/dist/control-plane/hook-authority-reference-validation.js +1 -0
  734. package/dist/control-plane/hook-authority-test-body.d.ts +7 -0
  735. package/dist/control-plane/hook-authority-test-body.js +1 -0
  736. package/dist/control-plane/hook-authority-test-fixtures.d.ts +5 -0
  737. package/dist/control-plane/hook-authority-test-fixtures.js +1 -0
  738. package/dist/control-plane/hook-authority-validation-events.d.ts +3 -0
  739. package/dist/control-plane/hook-authority-validation-events.js +1 -0
  740. package/dist/control-plane/hook-authority-validation-objects.d.ts +3 -0
  741. package/dist/control-plane/hook-authority-validation-objects.js +1 -0
  742. package/dist/control-plane/hook-authority-validation-paths.d.ts +2 -0
  743. package/dist/control-plane/hook-authority-validation-paths.js +1 -0
  744. package/dist/control-plane/hook-authority-validation-primitives.d.ts +8 -0
  745. package/dist/control-plane/hook-authority-validation-primitives.js +1 -0
  746. package/dist/control-plane/hook-authority-validation-request.d.ts +3 -0
  747. package/dist/control-plane/hook-authority-validation-request.js +1 -0
  748. package/dist/control-plane/hook-authority-validation.d.ts +6 -0
  749. package/dist/control-plane/hook-authority-validation.js +1 -0
  750. package/dist/control-plane/hook-authority.d.ts +180 -0
  751. package/dist/control-plane/hook-authority.js +1 -0
  752. package/dist/control-plane/index.d.ts +15 -0
  753. package/dist/control-plane/index.js +1 -0
  754. package/dist/control-plane/policies/controlPlaneMessaging.policy.d.ts +1 -0
  755. package/dist/control-plane/policies/controlPlaneMessaging.policy.js +1 -0
  756. package/dist/control-plane/policies/index.d.ts +1 -0
  757. package/dist/control-plane/policies/index.js +1 -0
  758. package/dist/control-plane/queries/controlPlaneExecutionGet.query.d.ts +82 -0
  759. package/dist/control-plane/queries/controlPlaneExecutionGet.query.js +1 -0
  760. package/dist/control-plane/queries/controlPlaneExecutionLane.models.d.ts +174 -0
  761. package/dist/control-plane/queries/controlPlaneExecutionLane.models.js +1 -0
  762. package/dist/control-plane/queries/controlPlaneExecutionLaneGet.query.d.ts +100 -0
  763. package/dist/control-plane/queries/controlPlaneExecutionLaneGet.query.js +1 -0
  764. package/dist/control-plane/queries/controlPlaneExecutionLaneList.query.d.ts +82 -0
  765. package/dist/control-plane/queries/controlPlaneExecutionLaneList.query.js +1 -0
  766. package/dist/control-plane/queries/controlPlaneExecutionList.query.d.ts +79 -0
  767. package/dist/control-plane/queries/controlPlaneExecutionList.query.js +1 -0
  768. package/dist/control-plane/queries/controlPlanePolicyExplain.query.d.ts +29 -0
  769. package/dist/control-plane/queries/controlPlanePolicyExplain.query.js +1 -0
  770. package/dist/control-plane/queries/controlPlaneSkillList.query.d.ts +54 -0
  771. package/dist/control-plane/queries/controlPlaneSkillList.query.js +1 -0
  772. package/dist/control-plane/queries/controlPlaneSkillVerify.query.d.ts +214 -0
  773. package/dist/control-plane/queries/controlPlaneSkillVerify.query.js +1 -0
  774. package/dist/control-plane/queries/controlPlaneTraceGet.query.d.ts +42 -0
  775. package/dist/control-plane/queries/controlPlaneTraceGet.query.js +1 -0
  776. package/dist/control-plane/queries/index.d.ts +9 -0
  777. package/dist/control-plane/queries/index.js +1 -0
  778. package/dist/control-plane/repository-authority-bootstrap.d.ts +42 -0
  779. package/dist/control-plane/repository-authority-bootstrap.js +1 -0
  780. package/dist/control-plane/skills/index.d.ts +5 -0
  781. package/dist/control-plane/skills/index.js +1 -0
  782. package/dist/control-plane/skills/schema.d.ts +174 -0
  783. package/dist/control-plane/skills/schema.js +1 -0
  784. package/dist/control-plane/skills/signer.d.ts +16 -0
  785. package/dist/control-plane/skills/signer.js +4 -0
  786. package/dist/control-plane/skills/types.d.ts +73 -0
  787. package/dist/control-plane/skills/types.js +0 -0
  788. package/dist/control-plane/skills/validator.d.ts +2 -0
  789. package/dist/control-plane/skills/validator.js +1 -0
  790. package/dist/control-plane/skills/verifier.d.ts +9 -0
  791. package/dist/control-plane/skills/verifier.js +1 -0
  792. package/dist/creative-intelligence/constants.d.ts +9 -0
  793. package/dist/creative-intelligence/constants.js +1 -0
  794. package/dist/creative-intelligence/events.d.ts +318 -0
  795. package/dist/creative-intelligence/events.js +3 -0
  796. package/dist/creative-intelligence/index.d.ts +5 -0
  797. package/dist/creative-intelligence/index.js +1 -0
  798. package/dist/creative-intelligence/operations.d.ts +756 -0
  799. package/dist/creative-intelligence/operations.js +6 -0
  800. package/dist/creative-intelligence/registry.d.ts +9 -0
  801. package/dist/creative-intelligence/registry.js +1 -0
  802. package/dist/creative-intelligence/types.d.ts +94 -0
  803. package/dist/creative-intelligence/types.js +0 -0
  804. package/dist/creator-operations/campaign.d.ts +94 -0
  805. package/dist/creator-operations/campaign.js +1 -0
  806. package/dist/creator-operations/common.d.ts +24 -0
  807. package/dist/creator-operations/common.js +1 -0
  808. package/dist/creator-operations/index.d.ts +7 -0
  809. package/dist/creator-operations/index.js +1 -0
  810. package/dist/creator-operations/operation-inputs.d.ts +147 -0
  811. package/dist/creator-operations/operation-inputs.js +1 -0
  812. package/dist/creator-operations/operations.d.ts +858 -0
  813. package/dist/creator-operations/operations.js +23 -0
  814. package/dist/creator-operations/ports.d.ts +67 -0
  815. package/dist/creator-operations/ports.js +0 -0
  816. package/dist/creator-operations/submission.d.ts +49 -0
  817. package/dist/creator-operations/submission.js +1 -0
  818. package/dist/creator-operations/training-course.d.ts +33 -0
  819. package/dist/creator-operations/training-course.js +1 -0
  820. package/dist/creator-operations/training-operations.d.ts +102 -0
  821. package/dist/creator-operations/training-operations.js +1 -0
  822. package/dist/creator-operations/training-progress-operation.d.ts +25 -0
  823. package/dist/creator-operations/training-progress-operation.js +1 -0
  824. package/dist/creator-operations/training-quiz-operation.d.ts +59 -0
  825. package/dist/creator-operations/training-quiz-operation.js +1 -0
  826. package/dist/creator-operations/training-quiz-read.d.ts +50 -0
  827. package/dist/creator-operations/training-quiz-read.js +1 -0
  828. package/dist/creator-operations/training-quiz-view.d.ts +18 -0
  829. package/dist/creator-operations/training-quiz-view.js +1 -0
  830. package/dist/creator-operations/training-quiz.d.ts +88 -0
  831. package/dist/creator-operations/training-quiz.js +1 -0
  832. package/dist/creator-operations/training.d.ts +158 -0
  833. package/dist/creator-operations/training.js +1 -0
  834. package/dist/creator-operations/wallet.d.ts +73 -0
  835. package/dist/creator-operations/wallet.js +1 -0
  836. package/dist/customer-support/ai-outcome-evaluation-events.d.ts +841 -0
  837. package/dist/customer-support/ai-outcome-evaluation-events.js +1 -0
  838. package/dist/customer-support/ai-outcome-evaluation-operations.d.ts +2360 -0
  839. package/dist/customer-support/ai-outcome-evaluation-operations.js +1 -0
  840. package/dist/customer-support/ai-outcome-evaluation-output-schemas.d.ts +628 -0
  841. package/dist/customer-support/ai-outcome-evaluation-output-schemas.js +1 -0
  842. package/dist/customer-support/ai-outcome-evaluation-projection-schemas.d.ts +288 -0
  843. package/dist/customer-support/ai-outcome-evaluation-projection-schemas.js +1 -0
  844. package/dist/customer-support/ai-outcome-evaluation-query-schemas.d.ts +528 -0
  845. package/dist/customer-support/ai-outcome-evaluation-query-schemas.js +1 -0
  846. package/dist/customer-support/ai-outcome-evaluation-schemas.d.ts +183 -0
  847. package/dist/customer-support/ai-outcome-evaluation-schemas.js +1 -0
  848. package/dist/customer-support/ai-outcome-evaluation.d.ts +173 -0
  849. package/dist/customer-support/ai-outcome-evaluation.js +1 -0
  850. package/dist/customer-support/ai-outcome-event-delivery-schemas.d.ts +45 -0
  851. package/dist/customer-support/ai-outcome-event-delivery-schemas.js +1 -0
  852. package/dist/customer-support/ai-outcome-event-delivery.d.ts +68 -0
  853. package/dist/customer-support/ai-outcome-event-delivery.js +0 -0
  854. package/dist/customer-support/ai-outcome-event-digest.d.ts +2 -0
  855. package/dist/customer-support/ai-outcome-event-digest.js +1 -0
  856. package/dist/customer-support/ai-outcome-learning-events.d.ts +331 -0
  857. package/dist/customer-support/ai-outcome-learning-events.js +1 -0
  858. package/dist/customer-support/ai-outcome-learning-operations.d.ts +623 -0
  859. package/dist/customer-support/ai-outcome-learning-operations.js +1 -0
  860. package/dist/customer-support/ai-outcome-learning-schema-support.d.ts +4 -0
  861. package/dist/customer-support/ai-outcome-learning-schema-support.js +1 -0
  862. package/dist/customer-support/ai-outcome-learning-schemas.d.ts +485 -0
  863. package/dist/customer-support/ai-outcome-learning-schemas.js +1 -0
  864. package/dist/customer-support/ai-outcome-learning.d.ts +115 -0
  865. package/dist/customer-support/ai-outcome-learning.js +1 -0
  866. package/dist/customer-support/attachment-safety-operations.d.ts +424 -0
  867. package/dist/customer-support/attachment-safety-operations.js +1 -0
  868. package/dist/customer-support/attachment-safety-schemas.d.ts +208 -0
  869. package/dist/customer-support/attachment-safety-schemas.js +1 -0
  870. package/dist/customer-support/attachment-safety.d.ts +87 -0
  871. package/dist/customer-support/attachment-safety.js +13 -0
  872. package/dist/customer-support/authos-session.d.ts +83 -0
  873. package/dist/customer-support/authos-session.js +10 -0
  874. package/dist/customer-support/billing-entitlement-events.d.ts +275 -0
  875. package/dist/customer-support/billing-entitlement-events.js +1 -0
  876. package/dist/customer-support/billing-entitlement-input-schemas.d.ts +61 -0
  877. package/dist/customer-support/billing-entitlement-input-schemas.js +1 -0
  878. package/dist/customer-support/billing-entitlement-operations.d.ts +731 -0
  879. package/dist/customer-support/billing-entitlement-operations.js +1 -0
  880. package/dist/customer-support/billing-entitlement-output-schemas.d.ts +410 -0
  881. package/dist/customer-support/billing-entitlement-output-schemas.js +1 -0
  882. package/dist/customer-support/billing-entitlement-schema-primitives.d.ts +21 -0
  883. package/dist/customer-support/billing-entitlement-schema-primitives.js +1 -0
  884. package/dist/customer-support/billing-entitlements.d.ts +108 -0
  885. package/dist/customer-support/billing-entitlements.js +1 -0
  886. package/dist/customer-support/capability-matrix-evidence.d.ts +9 -0
  887. package/dist/customer-support/capability-matrix-evidence.js +1 -0
  888. package/dist/customer-support/capability-matrix-registries.d.ts +21 -0
  889. package/dist/customer-support/capability-matrix-registries.js +1 -0
  890. package/dist/customer-support/capability-matrix-validation-evidence.d.ts +4 -0
  891. package/dist/customer-support/capability-matrix-validation-evidence.js +1 -0
  892. package/dist/customer-support/capability-matrix-validation-helpers.d.ts +5 -0
  893. package/dist/customer-support/capability-matrix-validation-helpers.js +1 -0
  894. package/dist/customer-support/capability-matrix-validation.d.ts +7 -0
  895. package/dist/customer-support/capability-matrix-validation.js +1 -0
  896. package/dist/customer-support/capability-matrix.d.ts +101 -0
  897. package/dist/customer-support/capability-matrix.js +3 -0
  898. package/dist/customer-support/case-assignments.d.ts +60 -0
  899. package/dist/customer-support/case-assignments.js +19 -0
  900. package/dist/customer-support/case-cursor.d.ts +17 -0
  901. package/dist/customer-support/case-cursor.js +8 -0
  902. package/dist/customer-support/case-lifecycle-event-schemas.d.ts +42 -0
  903. package/dist/customer-support/case-lifecycle-event-schemas.js +1 -0
  904. package/dist/customer-support/case-lifecycle.d.ts +268 -0
  905. package/dist/customer-support/case-lifecycle.js +8 -0
  906. package/dist/customer-support/case-presence.d.ts +221 -0
  907. package/dist/customer-support/case-presence.js +11 -0
  908. package/dist/customer-support/case-relations.d.ts +63 -0
  909. package/dist/customer-support/case-relations.js +14 -0
  910. package/dist/customer-support/company-action-events.d.ts +586 -0
  911. package/dist/customer-support/company-action-events.js +1 -0
  912. package/dist/customer-support/company-action-input-schemas.d.ts +113 -0
  913. package/dist/customer-support/company-action-input-schemas.js +1 -0
  914. package/dist/customer-support/company-action-operations.d.ts +1284 -0
  915. package/dist/customer-support/company-action-operations.js +1 -0
  916. package/dist/customer-support/company-action-output-schemas.d.ts +370 -0
  917. package/dist/customer-support/company-action-output-schemas.js +1 -0
  918. package/dist/customer-support/company-action-plans.d.ts +179 -0
  919. package/dist/customer-support/company-action-plans.js +1 -0
  920. package/dist/customer-support/company-action-schema-primitives.d.ts +20 -0
  921. package/dist/customer-support/company-action-schema-primitives.js +1 -0
  922. package/dist/customer-support/core.d.ts +143 -0
  923. package/dist/customer-support/core.js +1 -0
  924. package/dist/customer-support/crypto-lifecycle.d.ts +143 -0
  925. package/dist/customer-support/crypto-lifecycle.js +12 -0
  926. package/dist/customer-support/crypto-rotation-drill-events.d.ts +514 -0
  927. package/dist/customer-support/crypto-rotation-drill-events.js +1 -0
  928. package/dist/customer-support/crypto-rotation-drill-input-schemas.d.ts +125 -0
  929. package/dist/customer-support/crypto-rotation-drill-input-schemas.js +1 -0
  930. package/dist/customer-support/crypto-rotation-drill-operations.d.ts +997 -0
  931. package/dist/customer-support/crypto-rotation-drill-operations.js +1 -0
  932. package/dist/customer-support/crypto-rotation-drill-output-schemas.d.ts +392 -0
  933. package/dist/customer-support/crypto-rotation-drill-output-schemas.js +1 -0
  934. package/dist/customer-support/crypto-rotation-drill-schema-primitives.d.ts +21 -0
  935. package/dist/customer-support/crypto-rotation-drill-schema-primitives.js +1 -0
  936. package/dist/customer-support/crypto-rotation-drill.d.ts +142 -0
  937. package/dist/customer-support/crypto-rotation-drill.js +1 -0
  938. package/dist/customer-support/crypto-rotation-operations.d.ts +947 -0
  939. package/dist/customer-support/crypto-rotation-operations.js +1 -0
  940. package/dist/customer-support/crypto-rotation-schemas.d.ts +282 -0
  941. package/dist/customer-support/crypto-rotation-schemas.js +1 -0
  942. package/dist/customer-support/crypto-rotation.d.ts +141 -0
  943. package/dist/customer-support/crypto-rotation.js +10 -0
  944. package/dist/customer-support/csat-input-digest.d.ts +3 -0
  945. package/dist/customer-support/csat-input-digest.js +1 -0
  946. package/dist/customer-support/csat-invitation-job-schemas.d.ts +134 -0
  947. package/dist/customer-support/csat-invitation-job-schemas.js +1 -0
  948. package/dist/customer-support/csat-invitation-jobs.d.ts +83 -0
  949. package/dist/customer-support/csat-invitation-jobs.js +0 -0
  950. package/dist/customer-support/csat-operation-schemas.d.ts +264 -0
  951. package/dist/customer-support/csat-operation-schemas.js +1 -0
  952. package/dist/customer-support/csat-operations.d.ts +409 -0
  953. package/dist/customer-support/csat-operations.js +1 -0
  954. package/dist/customer-support/csat-schema-support.d.ts +1 -0
  955. package/dist/customer-support/csat-schema-support.js +1 -0
  956. package/dist/customer-support/csat-survey-events.d.ts +134 -0
  957. package/dist/customer-support/csat-survey-events.js +1 -0
  958. package/dist/customer-support/csat-survey-operations.d.ts +260 -0
  959. package/dist/customer-support/csat-survey-operations.js +1 -0
  960. package/dist/customer-support/csat-survey-schemas.d.ts +203 -0
  961. package/dist/customer-support/csat-survey-schemas.js +1 -0
  962. package/dist/customer-support/csat-surveys.d.ts +78 -0
  963. package/dist/customer-support/csat-surveys.js +15 -0
  964. package/dist/customer-support/csat.d.ts +80 -0
  965. package/dist/customer-support/csat.js +12 -0
  966. package/dist/customer-support/customer-session-consent-operations.d.ts +983 -0
  967. package/dist/customer-support/customer-session-consent-operations.js +1 -0
  968. package/dist/customer-support/customer-session-consent-output-schemas.d.ts +108 -0
  969. package/dist/customer-support/customer-session-consent-output-schemas.js +1 -0
  970. package/dist/customer-support/customer-session-consent-schemas.d.ts +172 -0
  971. package/dist/customer-support/customer-session-consent-schemas.js +1 -0
  972. package/dist/customer-support/customer-session-consent.d.ts +160 -0
  973. package/dist/customer-support/customer-session-consent.js +14 -0
  974. package/dist/customer-support/customer-session-schema-support.d.ts +30 -0
  975. package/dist/customer-support/customer-session-schema-support.js +1 -0
  976. package/dist/customer-support/customer-support.feature.d.ts +11 -0
  977. package/dist/customer-support/customer-support.feature.js +3 -0
  978. package/dist/customer-support/data-lifecycle-events.d.ts +409 -0
  979. package/dist/customer-support/data-lifecycle-events.js +1 -0
  980. package/dist/customer-support/data-lifecycle-input-schemas.d.ts +146 -0
  981. package/dist/customer-support/data-lifecycle-input-schemas.js +1 -0
  982. package/dist/customer-support/data-lifecycle-operations.d.ts +1028 -0
  983. package/dist/customer-support/data-lifecycle-operations.js +1 -0
  984. package/dist/customer-support/data-lifecycle-output-schemas.d.ts +429 -0
  985. package/dist/customer-support/data-lifecycle-output-schemas.js +1 -0
  986. package/dist/customer-support/data-lifecycle-ports.d.ts +115 -0
  987. package/dist/customer-support/data-lifecycle-ports.js +0 -0
  988. package/dist/customer-support/data-lifecycle-schema-primitives.d.ts +29 -0
  989. package/dist/customer-support/data-lifecycle-schema-primitives.js +1 -0
  990. package/dist/customer-support/data-lifecycle-schema-validation.d.ts +11 -0
  991. package/dist/customer-support/data-lifecycle-schema-validation.js +1 -0
  992. package/dist/customer-support/data-lifecycle.d.ts +98 -0
  993. package/dist/customer-support/data-lifecycle.js +5 -0
  994. package/dist/customer-support/errors.d.ts +18 -0
  995. package/dist/customer-support/errors.js +6 -0
  996. package/dist/customer-support/event-validation.d.ts +7 -0
  997. package/dist/customer-support/event-validation.js +1 -0
  998. package/dist/customer-support/events.d.ts +5436 -0
  999. package/dist/customer-support/events.js +1 -0
  1000. package/dist/customer-support/export-artifact-access-schemas.d.ts +223 -0
  1001. package/dist/customer-support/export-artifact-access-schemas.js +1 -0
  1002. package/dist/customer-support/export-artifact-access-validation.d.ts +14 -0
  1003. package/dist/customer-support/export-artifact-access-validation.js +1 -0
  1004. package/dist/customer-support/export-artifact-access.d.ts +93 -0
  1005. package/dist/customer-support/export-artifact-access.js +1 -0
  1006. package/dist/customer-support/export-artifact-event-schemas.d.ts +131 -0
  1007. package/dist/customer-support/export-artifact-event-schemas.js +1 -0
  1008. package/dist/customer-support/export-artifact-lifecycle-schemas.d.ts +152 -0
  1009. package/dist/customer-support/export-artifact-lifecycle-schemas.js +1 -0
  1010. package/dist/customer-support/export-artifact-lifecycle.d.ts +86 -0
  1011. package/dist/customer-support/export-artifact-lifecycle.js +1 -0
  1012. package/dist/customer-support/export-artifact-storage.d.ts +117 -0
  1013. package/dist/customer-support/export-artifact-storage.js +0 -0
  1014. package/dist/customer-support/export-events.d.ts +1251 -0
  1015. package/dist/customer-support/export-events.js +1 -0
  1016. package/dist/customer-support/export-input-schemas.d.ts +118 -0
  1017. package/dist/customer-support/export-input-schemas.js +1 -0
  1018. package/dist/customer-support/export-operations.d.ts +1471 -0
  1019. package/dist/customer-support/export-operations.js +1 -0
  1020. package/dist/customer-support/export-output-schemas.d.ts +284 -0
  1021. package/dist/customer-support/export-output-schemas.js +1 -0
  1022. package/dist/customer-support/export-schemas.d.ts +3 -0
  1023. package/dist/customer-support/export-schemas.js +1 -0
  1024. package/dist/customer-support/exports.d.ts +148 -0
  1025. package/dist/customer-support/exports.js +1 -0
  1026. package/dist/customer-support/identity-resolution-operations.d.ts +983 -0
  1027. package/dist/customer-support/identity-resolution-operations.js +1 -0
  1028. package/dist/customer-support/identity-resolution-output-schemas.d.ts +286 -0
  1029. package/dist/customer-support/identity-resolution-output-schemas.js +1 -0
  1030. package/dist/customer-support/identity-resolution-schemas.d.ts +107 -0
  1031. package/dist/customer-support/identity-resolution-schemas.js +1 -0
  1032. package/dist/customer-support/identity-resolution.d.ts +135 -0
  1033. package/dist/customer-support/identity-resolution.js +18 -0
  1034. package/dist/customer-support/index.d.ts +195 -0
  1035. package/dist/customer-support/index.js +1 -0
  1036. package/dist/customer-support/internal-note-operations.d.ts +1152 -0
  1037. package/dist/customer-support/internal-note-operations.js +1 -0
  1038. package/dist/customer-support/internal-note-schemas.d.ts +593 -0
  1039. package/dist/customer-support/internal-note-schemas.js +1 -0
  1040. package/dist/customer-support/internal-notes.d.ts +173 -0
  1041. package/dist/customer-support/internal-notes.js +27 -0
  1042. package/dist/customer-support/job-runtime.d.ts +86 -0
  1043. package/dist/customer-support/job-runtime.js +13 -0
  1044. package/dist/customer-support/knowledge-authority-citation-schema.d.ts +37 -0
  1045. package/dist/customer-support/knowledge-authority-citation-schema.js +1 -0
  1046. package/dist/customer-support/knowledge-authority-digest.d.ts +2 -0
  1047. package/dist/customer-support/knowledge-authority-digest.js +1 -0
  1048. package/dist/customer-support/knowledge-authority-operations.d.ts +332 -0
  1049. package/dist/customer-support/knowledge-authority-operations.js +1 -0
  1050. package/dist/customer-support/knowledge-authority-schema-primitives.d.ts +22 -0
  1051. package/dist/customer-support/knowledge-authority-schema-primitives.js +1 -0
  1052. package/dist/customer-support/knowledge-authority-schemas.d.ts +325 -0
  1053. package/dist/customer-support/knowledge-authority-schemas.js +1 -0
  1054. package/dist/customer-support/knowledge-authority.d.ts +84 -0
  1055. package/dist/customer-support/knowledge-authority.js +1 -0
  1056. package/dist/customer-support/live-chat-binding-activity-digest.d.ts +17 -0
  1057. package/dist/customer-support/live-chat-binding-activity-digest.js +1 -0
  1058. package/dist/customer-support/live-chat-continuity-events.d.ts +118 -0
  1059. package/dist/customer-support/live-chat-continuity-events.js +1 -0
  1060. package/dist/customer-support/live-chat-continuity-operations.d.ts +379 -0
  1061. package/dist/customer-support/live-chat-continuity-operations.js +1 -0
  1062. package/dist/customer-support/live-chat-continuity-schemas.d.ts +256 -0
  1063. package/dist/customer-support/live-chat-continuity-schemas.js +1 -0
  1064. package/dist/customer-support/live-chat-continuity.d.ts +83 -0
  1065. package/dist/customer-support/live-chat-continuity.js +9 -0
  1066. package/dist/customer-support/membership-capabilities.d.ts +13 -0
  1067. package/dist/customer-support/membership-capabilities.js +1 -0
  1068. package/dist/customer-support/membership-operation-schemas.d.ts +519 -0
  1069. package/dist/customer-support/membership-operation-schemas.js +1 -0
  1070. package/dist/customer-support/membership-operations.d.ts +1011 -0
  1071. package/dist/customer-support/membership-operations.js +1 -0
  1072. package/dist/customer-support/memberships.d.ts +134 -0
  1073. package/dist/customer-support/memberships.js +24 -0
  1074. package/dist/customer-support/metadata-operations.d.ts +811 -0
  1075. package/dist/customer-support/metadata-operations.js +1 -0
  1076. package/dist/customer-support/metadata-output-schemas.d.ts +414 -0
  1077. package/dist/customer-support/metadata-output-schemas.js +1 -0
  1078. package/dist/customer-support/metadata-schema-validation.d.ts +25 -0
  1079. package/dist/customer-support/metadata-schema-validation.js +1 -0
  1080. package/dist/customer-support/metadata-schemas.d.ts +209 -0
  1081. package/dist/customer-support/metadata-schemas.js +1 -0
  1082. package/dist/customer-support/metadata.d.ts +116 -0
  1083. package/dist/customer-support/metadata.js +12 -0
  1084. package/dist/customer-support/notification-operations.d.ts +980 -0
  1085. package/dist/customer-support/notification-operations.js +1 -0
  1086. package/dist/customer-support/notification-output-schemas.d.ts +350 -0
  1087. package/dist/customer-support/notification-output-schemas.js +1 -0
  1088. package/dist/customer-support/notification-schemas.d.ts +187 -0
  1089. package/dist/customer-support/notification-schemas.js +1 -0
  1090. package/dist/customer-support/notifications.d.ts +207 -0
  1091. package/dist/customer-support/notifications.js +17 -0
  1092. package/dist/customer-support/opa-handoff-operations.d.ts +580 -0
  1093. package/dist/customer-support/opa-handoff-operations.js +1 -0
  1094. package/dist/customer-support/opa-handoff-schemas.d.ts +250 -0
  1095. package/dist/customer-support/opa-handoff-schemas.js +1 -0
  1096. package/dist/customer-support/opa-handoffs.d.ts +85 -0
  1097. package/dist/customer-support/opa-handoffs.js +6 -0
  1098. package/dist/customer-support/operation-schemas.d.ts +563 -0
  1099. package/dist/customer-support/operation-schemas.js +1 -0
  1100. package/dist/customer-support/operations.d.ts +17887 -0
  1101. package/dist/customer-support/operations.js +9 -0
  1102. package/dist/customer-support/platform-authority-binding-registry.d.ts +7 -0
  1103. package/dist/customer-support/platform-authority-binding-registry.js +1 -0
  1104. package/dist/customer-support/platform-authority-bindings.d.ts +107 -0
  1105. package/dist/customer-support/platform-authority-bindings.js +1 -0
  1106. package/dist/customer-support/platform-authority-doc.d.ts +10 -0
  1107. package/dist/customer-support/platform-authority-doc.js +3 -0
  1108. package/dist/customer-support/platform-authority.d.ts +117 -0
  1109. package/dist/customer-support/platform-authority.js +1 -0
  1110. package/dist/customer-support/platform-ports.d.ts +202 -0
  1111. package/dist/customer-support/platform-ports.js +9 -0
  1112. package/dist/customer-support/policies.d.ts +38 -0
  1113. package/dist/customer-support/policies.js +0 -0
  1114. package/dist/customer-support/ports.d.ts +84 -0
  1115. package/dist/customer-support/ports.js +0 -0
  1116. package/dist/customer-support/provider.d.ts +49 -0
  1117. package/dist/customer-support/provider.js +0 -0
  1118. package/dist/customer-support/report-export-events.d.ts +218 -0
  1119. package/dist/customer-support/report-export-events.js +1 -0
  1120. package/dist/customer-support/report-export-operations.d.ts +571 -0
  1121. package/dist/customer-support/report-export-operations.js +1 -0
  1122. package/dist/customer-support/report-export-schemas.d.ts +294 -0
  1123. package/dist/customer-support/report-export-schemas.js +1 -0
  1124. package/dist/customer-support/report-export.d.ts +34 -0
  1125. package/dist/customer-support/report-export.js +0 -0
  1126. package/dist/customer-support/reporting-definition-schemas.d.ts +310 -0
  1127. package/dist/customer-support/reporting-definition-schemas.js +1 -0
  1128. package/dist/customer-support/reporting-definition-validation.d.ts +3 -0
  1129. package/dist/customer-support/reporting-definition-validation.js +1 -0
  1130. package/dist/customer-support/reporting-doc.d.ts +11 -0
  1131. package/dist/customer-support/reporting-doc.js +3 -0
  1132. package/dist/customer-support/reporting-event-schemas.d.ts +225 -0
  1133. package/dist/customer-support/reporting-event-schemas.js +1 -0
  1134. package/dist/customer-support/reporting-events.d.ts +781 -0
  1135. package/dist/customer-support/reporting-events.js +1 -0
  1136. package/dist/customer-support/reporting-metric-compatibility.d.ts +2 -0
  1137. package/dist/customer-support/reporting-metric-compatibility.js +1 -0
  1138. package/dist/customer-support/reporting-operations.d.ts +1593 -0
  1139. package/dist/customer-support/reporting-operations.js +1 -0
  1140. package/dist/customer-support/reporting-port.d.ts +17 -0
  1141. package/dist/customer-support/reporting-port.js +0 -0
  1142. package/dist/customer-support/reporting-query-schemas.d.ts +259 -0
  1143. package/dist/customer-support/reporting-query-schemas.js +1 -0
  1144. package/dist/customer-support/reporting-query-validation.d.ts +3 -0
  1145. package/dist/customer-support/reporting-query-validation.js +1 -0
  1146. package/dist/customer-support/reporting-record-schemas.d.ts +93 -0
  1147. package/dist/customer-support/reporting-record-schemas.js +1 -0
  1148. package/dist/customer-support/reporting-schema-primitives.d.ts +49 -0
  1149. package/dist/customer-support/reporting-schema-primitives.js +1 -0
  1150. package/dist/customer-support/reporting-schemas.d.ts +4 -0
  1151. package/dist/customer-support/reporting-schemas.js +1 -0
  1152. package/dist/customer-support/reporting.d.ts +148 -0
  1153. package/dist/customer-support/reporting.js +1 -0
  1154. package/dist/customer-support/routing-administration.d.ts +83 -0
  1155. package/dist/customer-support/routing-administration.js +12 -0
  1156. package/dist/customer-support/routing-operation-schemas.d.ts +379 -0
  1157. package/dist/customer-support/routing-operation-schemas.js +1 -0
  1158. package/dist/customer-support/routing-operations.d.ts +631 -0
  1159. package/dist/customer-support/routing-operations.js +1 -0
  1160. package/dist/customer-support/search-view-operations.d.ts +915 -0
  1161. package/dist/customer-support/search-view-operations.js +1 -0
  1162. package/dist/customer-support/search-view-output-schemas.d.ts +509 -0
  1163. package/dist/customer-support/search-view-output-schemas.js +1 -0
  1164. package/dist/customer-support/search-view-schemas.d.ts +192 -0
  1165. package/dist/customer-support/search-view-schemas.js +1 -0
  1166. package/dist/customer-support/search-views.d.ts +104 -0
  1167. package/dist/customer-support/search-views.js +19 -0
  1168. package/dist/customer-support/service-profile-operations.d.ts +675 -0
  1169. package/dist/customer-support/service-profile-operations.js +1 -0
  1170. package/dist/customer-support/service-profile-output-schemas.d.ts +126 -0
  1171. package/dist/customer-support/service-profile-output-schemas.js +1 -0
  1172. package/dist/customer-support/service-profile-party-schema.d.ts +17 -0
  1173. package/dist/customer-support/service-profile-party-schema.js +1 -0
  1174. package/dist/customer-support/service-profile-schemas.d.ts +124 -0
  1175. package/dist/customer-support/service-profile-schemas.js +1 -0
  1176. package/dist/customer-support/service-profile.d.ts +82 -0
  1177. package/dist/customer-support/service-profile.js +16 -0
  1178. package/dist/customer-support/signed-webhook-events.d.ts +621 -0
  1179. package/dist/customer-support/signed-webhook-events.js +1 -0
  1180. package/dist/customer-support/signed-webhook-input-schemas.d.ts +206 -0
  1181. package/dist/customer-support/signed-webhook-input-schemas.js +1 -0
  1182. package/dist/customer-support/signed-webhook-operations.d.ts +1745 -0
  1183. package/dist/customer-support/signed-webhook-operations.js +1 -0
  1184. package/dist/customer-support/signed-webhook-output-schemas.d.ts +613 -0
  1185. package/dist/customer-support/signed-webhook-output-schemas.js +1 -0
  1186. package/dist/customer-support/signed-webhook-ports.d.ts +112 -0
  1187. package/dist/customer-support/signed-webhook-ports.js +0 -0
  1188. package/dist/customer-support/signed-webhook-schema-primitives.d.ts +26 -0
  1189. package/dist/customer-support/signed-webhook-schema-primitives.js +1 -0
  1190. package/dist/customer-support/signed-webhook-schemas.d.ts +125 -0
  1191. package/dist/customer-support/signed-webhook-schemas.js +1 -0
  1192. package/dist/customer-support/signed-webhook-value-validation.d.ts +3 -0
  1193. package/dist/customer-support/signed-webhook-value-validation.js +1 -0
  1194. package/dist/customer-support/signed-webhook-wire-schema.d.ts +37 -0
  1195. package/dist/customer-support/signed-webhook-wire-schema.js +1 -0
  1196. package/dist/customer-support/signed-webhook-wire.d.ts +65 -0
  1197. package/dist/customer-support/signed-webhook-wire.js +1 -0
  1198. package/dist/customer-support/signed-webhooks.d.ts +116 -0
  1199. package/dist/customer-support/signed-webhooks.js +1 -0
  1200. package/dist/customer-support/skills-routing-operations.d.ts +554 -0
  1201. package/dist/customer-support/skills-routing-operations.js +1 -0
  1202. package/dist/customer-support/skills-routing-output-schemas.d.ts +229 -0
  1203. package/dist/customer-support/skills-routing-output-schemas.js +1 -0
  1204. package/dist/customer-support/skills-routing-schemas.d.ts +104 -0
  1205. package/dist/customer-support/skills-routing-schemas.js +1 -0
  1206. package/dist/customer-support/skills-routing.d.ts +104 -0
  1207. package/dist/customer-support/skills-routing.js +16 -0
  1208. package/dist/customer-support/sla-administration.d.ts +150 -0
  1209. package/dist/customer-support/sla-administration.js +15 -0
  1210. package/dist/customer-support/sla-operation-schemas.d.ts +304 -0
  1211. package/dist/customer-support/sla-operation-schemas.js +1 -0
  1212. package/dist/customer-support/sla-operations.d.ts +863 -0
  1213. package/dist/customer-support/sla-operations.js +1 -0
  1214. package/dist/customer-support/sla-policy-operation-schemas.d.ts +447 -0
  1215. package/dist/customer-support/sla-policy-operation-schemas.js +1 -0
  1216. package/dist/customer-support/sla-schema-validation.d.ts +11 -0
  1217. package/dist/customer-support/sla-schema-validation.js +1 -0
  1218. package/dist/customer-support/slo-incident-alert-input-schemas.d.ts +134 -0
  1219. package/dist/customer-support/slo-incident-alert-input-schemas.js +1 -0
  1220. package/dist/customer-support/slo-incident-alert.d.ts +26 -0
  1221. package/dist/customer-support/slo-incident-alert.js +0 -0
  1222. package/dist/customer-support/slo-incident-assessment-input-schemas.d.ts +239 -0
  1223. package/dist/customer-support/slo-incident-assessment-input-schemas.js +1 -0
  1224. package/dist/customer-support/slo-incident-assessment-output-schemas.d.ts +237 -0
  1225. package/dist/customer-support/slo-incident-assessment-output-schemas.js +1 -0
  1226. package/dist/customer-support/slo-incident-doc.d.ts +11 -0
  1227. package/dist/customer-support/slo-incident-doc.js +12 -0
  1228. package/dist/customer-support/slo-incident-event-delivery.d.ts +62 -0
  1229. package/dist/customer-support/slo-incident-event-delivery.js +0 -0
  1230. package/dist/customer-support/slo-incident-event-schemas.d.ts +677 -0
  1231. package/dist/customer-support/slo-incident-event-schemas.js +1 -0
  1232. package/dist/customer-support/slo-incident-event-types.d.ts +54 -0
  1233. package/dist/customer-support/slo-incident-event-types.js +0 -0
  1234. package/dist/customer-support/slo-incident-events.d.ts +1702 -0
  1235. package/dist/customer-support/slo-incident-events.js +1 -0
  1236. package/dist/customer-support/slo-incident-input-schemas.d.ts +126 -0
  1237. package/dist/customer-support/slo-incident-input-schemas.js +1 -0
  1238. package/dist/customer-support/slo-incident-operation-output-schemas.d.ts +961 -0
  1239. package/dist/customer-support/slo-incident-operation-output-schemas.js +1 -0
  1240. package/dist/customer-support/slo-incident-operations.d.ts +3331 -0
  1241. package/dist/customer-support/slo-incident-operations.js +1 -0
  1242. package/dist/customer-support/slo-incident-output-schemas.d.ts +170 -0
  1243. package/dist/customer-support/slo-incident-output-schemas.js +1 -0
  1244. package/dist/customer-support/slo-incident-ports.d.ts +49 -0
  1245. package/dist/customer-support/slo-incident-ports.js +0 -0
  1246. package/dist/customer-support/slo-incident-profile.d.ts +17 -0
  1247. package/dist/customer-support/slo-incident-profile.js +0 -0
  1248. package/dist/customer-support/slo-incident-results.d.ts +27 -0
  1249. package/dist/customer-support/slo-incident-results.js +0 -0
  1250. package/dist/customer-support/slo-incident-schema-support.d.ts +49 -0
  1251. package/dist/customer-support/slo-incident-schema-support.js +1 -0
  1252. package/dist/customer-support/slo-incident.d.ts +167 -0
  1253. package/dist/customer-support/slo-incident.js +1 -0
  1254. package/dist/customer-support/slo-qualification-authorization-schemas.d.ts +88 -0
  1255. package/dist/customer-support/slo-qualification-authorization-schemas.js +1 -0
  1256. package/dist/customer-support/slo-qualification-authorization.d.ts +46 -0
  1257. package/dist/customer-support/slo-qualification-authorization.js +0 -0
  1258. package/dist/customer-support/slo-qualification-plan.d.ts +61 -0
  1259. package/dist/customer-support/slo-qualification-plan.js +1 -0
  1260. package/dist/customer-support/workspace-administration.d.ts +59 -0
  1261. package/dist/customer-support/workspace-administration.js +12 -0
  1262. package/dist/customer-support/workspace-brand-locale-residency-events.d.ts +68 -0
  1263. package/dist/customer-support/workspace-brand-locale-residency-events.js +1 -0
  1264. package/dist/customer-support/workspace-brand-locale-residency-operations.d.ts +785 -0
  1265. package/dist/customer-support/workspace-brand-locale-residency-operations.js +1 -0
  1266. package/dist/customer-support/workspace-brand-locale-residency-schema-validation.d.ts +7 -0
  1267. package/dist/customer-support/workspace-brand-locale-residency-schema-validation.js +1 -0
  1268. package/dist/customer-support/workspace-brand-locale-residency-schemas.d.ts +510 -0
  1269. package/dist/customer-support/workspace-brand-locale-residency-schemas.js +1 -0
  1270. package/dist/customer-support/workspace-brand-locale-residency.d.ts +98 -0
  1271. package/dist/customer-support/workspace-brand-locale-residency.js +9 -0
  1272. package/dist/customer-support/workspace-migration-operations.d.ts +3026 -0
  1273. package/dist/customer-support/workspace-migration-operations.js +1 -0
  1274. package/dist/customer-support/workspace-migration-schemas.d.ts +618 -0
  1275. package/dist/customer-support/workspace-migration-schemas.js +1 -0
  1276. package/dist/customer-support/workspace-migration.d.ts +99 -0
  1277. package/dist/customer-support/workspace-migration.js +8 -0
  1278. package/dist/customer-support/workspace-onboarding-operations.d.ts +364 -0
  1279. package/dist/customer-support/workspace-onboarding-operations.js +1 -0
  1280. package/dist/customer-support/workspace-onboarding-schemas.d.ts +230 -0
  1281. package/dist/customer-support/workspace-onboarding-schemas.js +1 -0
  1282. package/dist/customer-support/workspace-onboarding.d.ts +66 -0
  1283. package/dist/customer-support/workspace-onboarding.js +14 -0
  1284. package/dist/customer-support/workspace-operation-schemas.d.ts +264 -0
  1285. package/dist/customer-support/workspace-operation-schemas.js +1 -0
  1286. package/dist/customer-support/workspace-operations.d.ts +425 -0
  1287. package/dist/customer-support/workspace-operations.js +1 -0
  1288. package/dist/data-views/annotation.d.js +0 -0
  1289. package/dist/data-views/annotation.d.ts +78 -0
  1290. package/dist/data-views/annotation.js +10 -0
  1291. package/dist/data-views/data-views.d.ts +3 -0
  1292. package/dist/data-views/data-views.js +1 -0
  1293. package/dist/data-views/edit-form-resolution.d.js +0 -0
  1294. package/dist/data-views/edit-form-resolution.d.ts +48 -0
  1295. package/dist/data-views/edit-form-resolution.js +1 -0
  1296. package/dist/data-views/filter-scope.d.js +0 -0
  1297. package/dist/data-views/filter-scope.d.ts +17 -0
  1298. package/dist/data-views/filter-scope.js +1 -0
  1299. package/dist/data-views/graph-export.d.js +0 -0
  1300. package/dist/data-views/graph-export.d.ts +80 -0
  1301. package/dist/data-views/graph-export.js +2 -0
  1302. package/dist/data-views/graph-filter-codec.d.js +0 -0
  1303. package/dist/data-views/graph-filter-codec.d.ts +21 -0
  1304. package/dist/data-views/graph-filter-codec.js +2 -0
  1305. package/dist/data-views/graph-filter-spec.d.js +0 -0
  1306. package/dist/data-views/graph-filter-spec.d.ts +53 -0
  1307. package/dist/data-views/graph-filter-spec.js +2 -0
  1308. package/dist/data-views/graph-spec.d.js +0 -0
  1309. package/dist/data-views/graph-spec.d.ts +125 -0
  1310. package/dist/data-views/graph-spec.js +80 -0
  1311. package/dist/data-views/graph-subscription.d.js +0 -0
  1312. package/dist/data-views/graph-subscription.d.ts +131 -0
  1313. package/dist/data-views/graph-subscription.js +3 -0
  1314. package/dist/data-views/i18n-constraint.d.js +1 -0
  1315. package/dist/data-views/i18n-constraint.d.ts +78 -0
  1316. package/dist/data-views/i18n-constraint.js +0 -0
  1317. package/dist/data-views/index.d.js +1 -0
  1318. package/dist/data-views/index.d.ts +25 -0
  1319. package/dist/data-views/index.js +1 -0
  1320. package/dist/data-views/layout-spec.d.js +0 -0
  1321. package/dist/data-views/layout-spec.d.ts +140 -0
  1322. package/dist/data-views/layout-spec.js +2 -0
  1323. package/dist/data-views/query-generator.d.ts +67 -0
  1324. package/dist/data-views/query-generator.js +1 -0
  1325. package/dist/data-views/registry.d.js +0 -0
  1326. package/dist/data-views/registry.d.ts +12 -0
  1327. package/dist/data-views/registry.js +1 -0
  1328. package/dist/data-views/report/contractVerificationTable.d.ts +89 -0
  1329. package/dist/data-views/report/contractVerificationTable.js +29 -0
  1330. package/dist/data-views/runtime.d.ts +25 -0
  1331. package/dist/data-views/runtime.js +1 -0
  1332. package/dist/data-views/saved-view.d.js +0 -0
  1333. package/dist/data-views/saved-view.d.ts +56 -0
  1334. package/dist/data-views/saved-view.js +1 -0
  1335. package/dist/data-views/spec.d.js +0 -0
  1336. package/dist/data-views/spec.d.ts +63 -0
  1337. package/dist/data-views/spec.js +23 -0
  1338. package/dist/data-views/story-slide.d.js +0 -0
  1339. package/dist/data-views/story-slide.d.ts +131 -0
  1340. package/dist/data-views/story-slide.js +2 -0
  1341. package/dist/data-views/types.d.js +0 -0
  1342. package/dist/data-views/types.d.ts +725 -0
  1343. package/dist/data-views/types.js +0 -0
  1344. package/dist/database/capabilities/databaseContext.capability.d.ts +11 -0
  1345. package/dist/database/capabilities/databaseContext.capability.js +4 -0
  1346. package/dist/database/capabilities/index.d.ts +1 -0
  1347. package/dist/database/capabilities/index.js +1 -0
  1348. package/dist/database/commands/databaseMutationExecute.command.d.ts +107 -0
  1349. package/dist/database/commands/databaseMutationExecute.command.js +4 -0
  1350. package/dist/database/commands/databaseMutationPlan.command.d.ts +134 -0
  1351. package/dist/database/commands/databaseMutationPlan.command.js +4 -0
  1352. package/dist/database/commands/index.d.ts +2 -0
  1353. package/dist/database/commands/index.js +1 -0
  1354. package/dist/database/constants.d.ts +4 -0
  1355. package/dist/database/constants.js +1 -0
  1356. package/dist/database/contracts.d.ts +561 -0
  1357. package/dist/database/contracts.js +1 -0
  1358. package/dist/database/database.feature.d.ts +1 -0
  1359. package/dist/database/database.feature.js +1 -0
  1360. package/dist/database/economic-evidence.d.ts +11 -0
  1361. package/dist/database/economic-evidence.js +1 -0
  1362. package/dist/database/index.d.ts +9 -0
  1363. package/dist/database/index.js +1 -0
  1364. package/dist/database/queries/databaseDictionaryGet.query.d.ts +60 -0
  1365. package/dist/database/queries/databaseDictionaryGet.query.js +4 -0
  1366. package/dist/database/queries/databaseMigrationsList.query.d.ts +72 -0
  1367. package/dist/database/queries/databaseMigrationsList.query.js +4 -0
  1368. package/dist/database/queries/databaseQueryReadonly.query.d.ts +67 -0
  1369. package/dist/database/queries/databaseQueryReadonly.query.js +4 -0
  1370. package/dist/database/queries/databaseRelationalQuery.query.d.ts +191 -0
  1371. package/dist/database/queries/databaseRelationalQuery.query.js +9 -0
  1372. package/dist/database/queries/databaseSchemaDescribe.query.d.ts +98 -0
  1373. package/dist/database/queries/databaseSchemaDescribe.query.js +4 -0
  1374. package/dist/database/queries/index.d.ts +5 -0
  1375. package/dist/database/queries/index.js +1 -0
  1376. package/dist/database/tables/capabilityEdges.table.d.ts +16 -0
  1377. package/dist/database/tables/capabilityEdges.table.js +1 -0
  1378. package/dist/database/tables/capabilityNodes.table.d.ts +16 -0
  1379. package/dist/database/tables/capabilityNodes.table.js +1 -0
  1380. package/dist/database/tables/databaseTables.d.ts +292 -0
  1381. package/dist/database/tables/databaseTables.js +1 -0
  1382. package/dist/database/tables/index.d.ts +6 -0
  1383. package/dist/database/tables/index.js +1 -0
  1384. package/dist/database/tables/organizationGrants.table.d.ts +10 -0
  1385. package/dist/database/tables/organizationGrants.table.js +1 -0
  1386. package/dist/database/tables/organizationTenantBindings.table.d.ts +16 -0
  1387. package/dist/database/tables/organizationTenantBindings.table.js +1 -0
  1388. package/dist/database/tables/workspaces.table.d.ts +23 -0
  1389. package/dist/database/tables/workspaces.table.js +1 -0
  1390. package/dist/database/views/databaseSchemas.dataView.d.ts +86 -0
  1391. package/dist/database/views/databaseSchemas.dataView.js +4 -0
  1392. package/dist/database/views/index.d.ts +1 -0
  1393. package/dist/database/views/index.js +1 -0
  1394. package/dist/decisioning/decisioning.feature.d.js +0 -0
  1395. package/dist/decisioning/decisioning.feature.d.ts +22 -0
  1396. package/dist/decisioning/decisioning.feature.js +5 -0
  1397. package/dist/decisioning/evaluation-events.d.js +1 -0
  1398. package/dist/decisioning/evaluation-events.d.ts +373 -0
  1399. package/dist/decisioning/evaluation-events.js +1 -0
  1400. package/dist/decisioning/evaluation-evidence-administration-operations.d.js +0 -0
  1401. package/dist/decisioning/evaluation-evidence-administration-operations.d.ts +291 -0
  1402. package/dist/decisioning/evaluation-evidence-administration-operations.js +1 -0
  1403. package/dist/decisioning/evaluation-evidence-administration-schemas.d.js +1 -0
  1404. package/dist/decisioning/evaluation-evidence-administration-schemas.d.ts +210 -0
  1405. package/dist/decisioning/evaluation-evidence-administration-schemas.js +1 -0
  1406. package/dist/decisioning/evaluation-evidence-administration.d.js +0 -0
  1407. package/dist/decisioning/evaluation-evidence-administration.d.ts +34 -0
  1408. package/dist/decisioning/evaluation-evidence-administration.js +0 -0
  1409. package/dist/decisioning/evaluation-evidence-output-schemas.d.js +1 -0
  1410. package/dist/decisioning/evaluation-evidence-output-schemas.d.ts +142 -0
  1411. package/dist/decisioning/evaluation-evidence-output-schemas.js +1 -0
  1412. package/dist/decisioning/evaluation-input-schemas.d.js +1 -0
  1413. package/dist/decisioning/evaluation-input-schemas.d.ts +89 -0
  1414. package/dist/decisioning/evaluation-input-schemas.js +1 -0
  1415. package/dist/decisioning/evaluation-output-primitives.d.js +1 -0
  1416. package/dist/decisioning/evaluation-output-primitives.d.ts +51 -0
  1417. package/dist/decisioning/evaluation-output-primitives.js +1 -0
  1418. package/dist/decisioning/evaluation-output-schemas.d.js +1 -0
  1419. package/dist/decisioning/evaluation-output-schemas.d.ts +133 -0
  1420. package/dist/decisioning/evaluation-output-schemas.js +1 -0
  1421. package/dist/decisioning/evaluation-schema-validation.d.js +0 -0
  1422. package/dist/decisioning/evaluation-schema-validation.d.ts +8 -0
  1423. package/dist/decisioning/evaluation-schema-validation.js +1 -0
  1424. package/dist/decisioning/evaluation-trace-output-schema.d.js +0 -0
  1425. package/dist/decisioning/evaluation-trace-output-schema.d.ts +9 -0
  1426. package/dist/decisioning/evaluation-trace-output-schema.js +1 -0
  1427. package/dist/decisioning/evaluation.d.js +0 -0
  1428. package/dist/decisioning/evaluation.d.ts +126 -0
  1429. package/dist/decisioning/evaluation.js +0 -0
  1430. package/dist/decisioning/index.d.js +1 -0
  1431. package/dist/decisioning/index.d.ts +16 -0
  1432. package/dist/decisioning/index.js +1 -0
  1433. package/dist/decisioning/lifecycle-events.d.js +0 -0
  1434. package/dist/decisioning/lifecycle-events.d.ts +108 -0
  1435. package/dist/decisioning/lifecycle-events.js +1 -0
  1436. package/dist/decisioning/lifecycle-input-schemas.d.js +1 -0
  1437. package/dist/decisioning/lifecycle-input-schemas.d.ts +73 -0
  1438. package/dist/decisioning/lifecycle-input-schemas.js +1 -0
  1439. package/dist/decisioning/lifecycle-operations.d.js +1 -0
  1440. package/dist/decisioning/lifecycle-operations.d.ts +882 -0
  1441. package/dist/decisioning/lifecycle-operations.js +7 -0
  1442. package/dist/decisioning/lifecycle-output-schemas.d.js +1 -0
  1443. package/dist/decisioning/lifecycle-output-schemas.d.ts +237 -0
  1444. package/dist/decisioning/lifecycle-output-schemas.js +1 -0
  1445. package/dist/decisioning/lifecycle.d.js +0 -0
  1446. package/dist/decisioning/lifecycle.d.ts +72 -0
  1447. package/dist/decisioning/lifecycle.js +1 -0
  1448. package/dist/decisioning/operation-metadata.d.js +0 -0
  1449. package/dist/decisioning/operation-metadata.d.ts +76 -0
  1450. package/dist/decisioning/operation-metadata.js +1 -0
  1451. package/dist/decisioning/operations.d.js +0 -0
  1452. package/dist/decisioning/operations.d.ts +3282 -0
  1453. package/dist/decisioning/operations.js +1 -0
  1454. package/dist/decisioning/predicate-evaluation.d.js +0 -0
  1455. package/dist/decisioning/predicate-evaluation.d.ts +6 -0
  1456. package/dist/decisioning/predicate-evaluation.js +1 -0
  1457. package/dist/decisioning/predicate.d.js +0 -0
  1458. package/dist/decisioning/predicate.d.ts +24 -0
  1459. package/dist/decisioning/predicate.js +1 -0
  1460. package/dist/decisioning/types.d.js +1 -0
  1461. package/dist/decisioning/types.d.ts +89 -0
  1462. package/dist/decisioning/types.js +0 -0
  1463. package/dist/decisioning/validation-diagnostics.d.js +0 -0
  1464. package/dist/decisioning/validation-diagnostics.d.ts +17 -0
  1465. package/dist/decisioning/validation-diagnostics.js +1 -0
  1466. package/dist/decisioning/validation-policy.d.js +0 -0
  1467. package/dist/decisioning/validation-policy.d.ts +14 -0
  1468. package/dist/decisioning/validation-policy.js +1 -0
  1469. package/dist/decisioning/validation-shape.d.js +0 -0
  1470. package/dist/decisioning/validation-shape.d.ts +4 -0
  1471. package/dist/decisioning/validation-shape.js +1 -0
  1472. package/dist/decisioning/validation.d.js +1 -0
  1473. package/dist/decisioning/validation.d.ts +5 -0
  1474. package/dist/decisioning/validation.js +1 -0
  1475. package/dist/delivery/authority.d.ts +301 -0
  1476. package/dist/delivery/authority.js +1 -0
  1477. package/dist/delivery/autonomy-context.d.ts +19 -0
  1478. package/dist/delivery/autonomy-context.js +1 -0
  1479. package/dist/delivery/chain.d.ts +396 -0
  1480. package/dist/delivery/chain.js +1 -0
  1481. package/dist/delivery/ci-budget.d.ts +197 -0
  1482. package/dist/delivery/ci-budget.js +1 -0
  1483. package/dist/delivery/contracts.d.ts +133 -0
  1484. package/dist/delivery/contracts.js +1 -0
  1485. package/dist/delivery/index.d.ts +9 -0
  1486. package/dist/delivery/index.js +1 -0
  1487. package/dist/delivery/manual-author-attestation.d.ts +67 -0
  1488. package/dist/delivery/manual-author-attestation.js +1 -0
  1489. package/dist/delivery/primitives.d.js +0 -0
  1490. package/dist/delivery/primitives.d.ts +68 -0
  1491. package/dist/delivery/primitives.js +1 -0
  1492. package/dist/delivery/project-profile.d.ts +173 -0
  1493. package/dist/delivery/project-profile.js +1 -0
  1494. package/dist/delivery/scoped-autonomy.d.ts +110 -0
  1495. package/dist/delivery/scoped-autonomy.js +1 -0
  1496. package/dist/design-packs/index.d.js +1 -0
  1497. package/dist/design-packs/index.d.ts +11 -0
  1498. package/dist/design-packs/index.js +1 -0
  1499. package/dist/design-packs/inheritance.d.js +0 -0
  1500. package/dist/design-packs/inheritance.d.ts +4 -0
  1501. package/dist/design-packs/inheritance.js +1 -0
  1502. package/dist/design-packs/legacy-theme.d.js +0 -0
  1503. package/dist/design-packs/legacy-theme.d.ts +12 -0
  1504. package/dist/design-packs/legacy-theme.js +1 -0
  1505. package/dist/design-packs/operations.d.js +1 -0
  1506. package/dist/design-packs/operations.d.ts +1883 -0
  1507. package/dist/design-packs/operations.js +3 -0
  1508. package/dist/design-packs/patch-validation.d.js +0 -0
  1509. package/dist/design-packs/patch-validation.d.ts +2 -0
  1510. package/dist/design-packs/patch-validation.js +1 -0
  1511. package/dist/design-packs/patch-value-validation.d.js +0 -0
  1512. package/dist/design-packs/patch-value-validation.d.ts +3 -0
  1513. package/dist/design-packs/patch-value-validation.js +1 -0
  1514. package/dist/design-packs/patches.d.js +1 -0
  1515. package/dist/design-packs/patches.d.ts +35 -0
  1516. package/dist/design-packs/patches.js +1 -0
  1517. package/dist/design-packs/policy.d.js +0 -0
  1518. package/dist/design-packs/policy.d.ts +37 -0
  1519. package/dist/design-packs/policy.js +0 -0
  1520. package/dist/design-packs/ports.d.js +0 -0
  1521. package/dist/design-packs/ports.d.ts +79 -0
  1522. package/dist/design-packs/ports.js +0 -0
  1523. package/dist/design-packs/records.d.js +0 -0
  1524. package/dist/design-packs/records.d.ts +73 -0
  1525. package/dist/design-packs/records.js +0 -0
  1526. package/dist/design-packs/registry.d.js +0 -0
  1527. package/dist/design-packs/registry.d.ts +9 -0
  1528. package/dist/design-packs/registry.js +1 -0
  1529. package/dist/design-packs/resolution-helpers.d.js +0 -0
  1530. package/dist/design-packs/resolution-helpers.d.ts +6 -0
  1531. package/dist/design-packs/resolution-helpers.js +1 -0
  1532. package/dist/design-packs/runtime.d.js +0 -0
  1533. package/dist/design-packs/runtime.d.ts +31 -0
  1534. package/dist/design-packs/runtime.js +1 -0
  1535. package/dist/design-packs/types.d.js +0 -0
  1536. package/dist/design-packs/types.d.ts +47 -0
  1537. package/dist/design-packs/types.js +1 -0
  1538. package/dist/design-packs/validation.d.js +0 -0
  1539. package/dist/design-packs/validation.d.ts +18 -0
  1540. package/dist/design-packs/validation.js +1 -0
  1541. package/dist/docs/capabilities/documentationSystem.capability.d.js +0 -0
  1542. package/dist/docs/capabilities/documentationSystem.capability.d.ts +1 -0
  1543. package/dist/docs/capabilities/documentationSystem.capability.js +1 -0
  1544. package/dist/docs/capabilities/index.d.js +1 -0
  1545. package/dist/docs/capabilities/index.d.ts +1 -0
  1546. package/dist/docs/capabilities/index.js +1 -0
  1547. package/dist/docs/commands/docsGenerate.command.d.js +0 -0
  1548. package/dist/docs/commands/docsGenerate.command.d.ts +97 -0
  1549. package/dist/docs/commands/docsGenerate.command.js +4 -0
  1550. package/dist/docs/commands/docsPublish.command.d.js +0 -0
  1551. package/dist/docs/commands/docsPublish.command.d.ts +66 -0
  1552. package/dist/docs/commands/docsPublish.command.js +4 -0
  1553. package/dist/docs/commands/index.d.js +1 -0
  1554. package/dist/docs/commands/index.d.ts +2 -0
  1555. package/dist/docs/commands/index.js +1 -0
  1556. package/dist/docs/constants.d.js +0 -0
  1557. package/dist/docs/constants.d.ts +4 -0
  1558. package/dist/docs/constants.js +1 -0
  1559. package/dist/docs/contracts.d.js +0 -0
  1560. package/dist/docs/contracts.d.ts +711 -0
  1561. package/dist/docs/contracts.js +1 -0
  1562. package/dist/docs/docblocks.manifest.generated.d.js +0 -0
  1563. package/dist/docs/docblocks.manifest.generated.d.ts +239 -0
  1564. package/dist/docs/docblocks.manifest.generated.js +3215 -0
  1565. package/dist/docs/docs.feature.d.js +0 -0
  1566. package/dist/docs/docs.feature.d.ts +14 -0
  1567. package/dist/docs/docs.feature.js +365 -0
  1568. package/dist/docs/events/docsGenerated.event.d.js +0 -0
  1569. package/dist/docs/events/docsGenerated.event.d.ts +55 -0
  1570. package/dist/docs/events/docsGenerated.event.js +1 -0
  1571. package/dist/docs/events/docsPublished.event.d.js +0 -0
  1572. package/dist/docs/events/docsPublished.event.d.ts +63 -0
  1573. package/dist/docs/events/docsPublished.event.js +1 -0
  1574. package/dist/docs/events/index.d.js +1 -0
  1575. package/dist/docs/events/index.d.ts +2 -0
  1576. package/dist/docs/events/index.js +1 -0
  1577. package/dist/docs/forms/docsSearch.form.d.js +0 -0
  1578. package/dist/docs/forms/docsSearch.form.d.ts +15 -0
  1579. package/dist/docs/forms/docsSearch.form.js +1 -0
  1580. package/dist/docs/forms/index.d.js +1 -0
  1581. package/dist/docs/forms/index.d.ts +1 -0
  1582. package/dist/docs/forms/index.js +1 -0
  1583. package/dist/docs/index.d.js +1 -0
  1584. package/dist/docs/index.d.ts +15 -0
  1585. package/dist/docs/index.js +1 -0
  1586. package/dist/docs/manifest-builder.d.ts +13 -0
  1587. package/dist/docs/manifest-builder.js +1 -0
  1588. package/dist/docs/manifest.d.js +0 -0
  1589. package/dist/docs/manifest.d.ts +18 -0
  1590. package/dist/docs/manifest.js +1 -0
  1591. package/dist/docs/presentations/docsLayout.presentation.d.js +0 -0
  1592. package/dist/docs/presentations/docsLayout.presentation.d.ts +1 -0
  1593. package/dist/docs/presentations/docsLayout.presentation.js +1 -0
  1594. package/dist/docs/presentations/docsReferencePage.presentation.d.js +0 -0
  1595. package/dist/docs/presentations/docsReferencePage.presentation.d.ts +1 -0
  1596. package/dist/docs/presentations/docsReferencePage.presentation.js +1 -0
  1597. package/dist/docs/presentations/index.d.js +1 -0
  1598. package/dist/docs/presentations/index.d.ts +2 -0
  1599. package/dist/docs/presentations/index.js +1 -0
  1600. package/dist/docs/presentations.d.js +0 -0
  1601. package/dist/docs/presentations.d.ts +27 -0
  1602. package/dist/docs/presentations.js +1 -0
  1603. package/dist/docs/queries/contractReference.query.d.js +0 -0
  1604. package/dist/docs/queries/contractReference.query.d.ts +220 -0
  1605. package/dist/docs/queries/contractReference.query.js +4 -0
  1606. package/dist/docs/queries/docsIndex.query.d.js +0 -0
  1607. package/dist/docs/queries/docsIndex.query.d.ts +275 -0
  1608. package/dist/docs/queries/docsIndex.query.js +4 -0
  1609. package/dist/docs/queries/index.d.js +1 -0
  1610. package/dist/docs/queries/index.d.ts +2 -0
  1611. package/dist/docs/queries/index.js +1 -0
  1612. package/dist/docs/registry.d.js +0 -0
  1613. package/dist/docs/registry.d.ts +20 -0
  1614. package/dist/docs/registry.js +1 -0
  1615. package/dist/docs/types.d.js +0 -0
  1616. package/dist/docs/types.d.ts +37 -0
  1617. package/dist/docs/types.js +0 -0
  1618. package/dist/docs/views/contractReference.dataView.d.js +0 -0
  1619. package/dist/docs/views/contractReference.dataView.d.ts +78 -0
  1620. package/dist/docs/views/contractReference.dataView.js +1 -0
  1621. package/dist/docs/views/docsIndex.dataView.d.js +0 -0
  1622. package/dist/docs/views/docsIndex.dataView.d.ts +119 -0
  1623. package/dist/docs/views/docsIndex.dataView.js +1 -0
  1624. package/dist/docs/views/exampleCatalog.dataView.d.js +0 -0
  1625. package/dist/docs/views/exampleCatalog.dataView.d.ts +97 -0
  1626. package/dist/docs/views/exampleCatalog.dataView.js +4 -0
  1627. package/dist/docs/views/index.d.js +1 -0
  1628. package/dist/docs/views/index.d.ts +3 -0
  1629. package/dist/docs/views/index.js +1 -0
  1630. package/dist/editions/companyos-scenario.d.ts +39 -0
  1631. package/dist/editions/companyos-scenario.js +1 -0
  1632. package/dist/editions/connect-gates.d.ts +30 -0
  1633. package/dist/editions/connect-gates.js +1 -0
  1634. package/dist/editions/delivery-audit.d.ts +25 -0
  1635. package/dist/editions/delivery-audit.js +1 -0
  1636. package/dist/editions/docs.d.ts +2 -0
  1637. package/dist/editions/docs.js +45 -0
  1638. package/dist/editions/editor/fixtures.d.ts +3 -0
  1639. package/dist/editions/editor/fixtures.js +1 -0
  1640. package/dist/editions/editor/index.d.ts +4 -0
  1641. package/dist/editions/editor/index.js +1 -0
  1642. package/dist/editions/editor/resolver.d.ts +2 -0
  1643. package/dist/editions/editor/resolver.js +1 -0
  1644. package/dist/editions/editor/schema.d.ts +246 -0
  1645. package/dist/editions/editor/schema.js +1 -0
  1646. package/dist/editions/editor/types.d.ts +100 -0
  1647. package/dist/editions/editor/types.js +0 -0
  1648. package/dist/editions/enterprise-guardrails.d.ts +25 -0
  1649. package/dist/editions/enterprise-guardrails.js +1 -0
  1650. package/dist/editions/evidence-boundary.d.ts +10 -0
  1651. package/dist/editions/evidence-boundary.js +1 -0
  1652. package/dist/editions/experiments.d.ts +57 -0
  1653. package/dist/editions/experiments.js +1 -0
  1654. package/dist/editions/fixtures.d.ts +3 -0
  1655. package/dist/editions/fixtures.js +1 -0
  1656. package/dist/editions/full-loop-gate.d.ts +6 -0
  1657. package/dist/editions/full-loop-gate.js +1 -0
  1658. package/dist/editions/harness-evidence.d.ts +41 -0
  1659. package/dist/editions/harness-evidence.js +1 -0
  1660. package/dist/editions/improvement-types.d.ts +52 -0
  1661. package/dist/editions/improvement-types.js +0 -0
  1662. package/dist/editions/improvement.d.ts +12 -0
  1663. package/dist/editions/improvement.js +1 -0
  1664. package/dist/editions/index.d.ts +23 -0
  1665. package/dist/editions/index.js +1 -0
  1666. package/dist/editions/intelligence-coach.d.ts +37 -0
  1667. package/dist/editions/intelligence-coach.js +1 -0
  1668. package/dist/editions/knowledge-provenance.d.ts +42 -0
  1669. package/dist/editions/knowledge-provenance.js +1 -0
  1670. package/dist/editions/ontology-boundary.d.ts +18 -0
  1671. package/dist/editions/ontology-boundary.js +1 -0
  1672. package/dist/editions/operation-specs.d.ts +206 -0
  1673. package/dist/editions/operation-specs.js +1 -0
  1674. package/dist/editions/rollback.d.ts +67 -0
  1675. package/dist/editions/rollback.js +1 -0
  1676. package/dist/editions/runtime-wiring.d.ts +18 -0
  1677. package/dist/editions/runtime-wiring.js +1 -0
  1678. package/dist/editions/schema.d.ts +216 -0
  1679. package/dist/editions/schema.js +1 -0
  1680. package/dist/editions/storage-file.d.ts +31 -0
  1681. package/dist/editions/storage-file.js +1 -0
  1682. package/dist/editions/storage-hybrid.d.ts +42 -0
  1683. package/dist/editions/storage-hybrid.js +1 -0
  1684. package/dist/editions/storage-parity.d.ts +16 -0
  1685. package/dist/editions/storage-parity.js +1 -0
  1686. package/dist/editions/storage.d.ts +49 -0
  1687. package/dist/editions/storage.js +1 -0
  1688. package/dist/editions/types.d.ts +109 -0
  1689. package/dist/editions/types.js +0 -0
  1690. package/dist/editions/validation.d.ts +5 -0
  1691. package/dist/editions/validation.js +1 -0
  1692. package/dist/entities/compatibility.d.ts +55 -0
  1693. package/dist/entities/compatibility.js +20 -0
  1694. package/dist/entities/defineContractEdge.d.js +0 -0
  1695. package/dist/entities/defineContractEdge.d.ts +49 -0
  1696. package/dist/entities/defineContractEdge.js +41 -0
  1697. package/dist/entities/defineContractEntity.d.js +0 -0
  1698. package/dist/entities/defineContractEntity.d.ts +97 -0
  1699. package/dist/entities/defineContractEntity.js +80 -0
  1700. package/dist/entities/index.d.ts +9 -0
  1701. package/dist/entities/index.js +1 -0
  1702. package/dist/entities/registry.d.js +0 -0
  1703. package/dist/entities/registry.d.ts +58 -0
  1704. package/dist/entities/registry.js +1 -0
  1705. package/dist/entities/types.d.js +0 -0
  1706. package/dist/entities/types.d.ts +109 -0
  1707. package/dist/entities/types.js +1 -0
  1708. package/dist/events.d.js +0 -0
  1709. package/dist/events.d.ts +142 -0
  1710. package/dist/events.js +1 -0
  1711. package/dist/examples/define.d.ts +5 -0
  1712. package/dist/examples/define.js +1 -0
  1713. package/dist/examples/index.d.ts +9 -0
  1714. package/dist/examples/index.js +141 -0
  1715. package/dist/examples/registry.d.ts +38 -0
  1716. package/dist/examples/registry.js +1 -0
  1717. package/dist/examples/schema.d.ts +278 -0
  1718. package/dist/examples/schema.js +1 -0
  1719. package/dist/examples/types.d.ts +162 -0
  1720. package/dist/examples/types.js +1 -0
  1721. package/dist/examples/validation.d.ts +61 -0
  1722. package/dist/examples/validation.js +1 -0
  1723. package/dist/experience-coverage/index.d.ts +3 -0
  1724. package/dist/experience-coverage/index.js +1 -0
  1725. package/dist/experience-coverage/scoring.d.ts +9 -0
  1726. package/dist/experience-coverage/scoring.js +1 -0
  1727. package/dist/experience-coverage/types.d.ts +94 -0
  1728. package/dist/experience-coverage/types.js +1 -0
  1729. package/dist/experience-coverage/validation.d.ts +8 -0
  1730. package/dist/experience-coverage/validation.js +1 -0
  1731. package/dist/experiments/evaluator.d.ts +33 -0
  1732. package/dist/experiments/evaluator.js +1 -0
  1733. package/dist/experiments/spec-resolver.d.js +0 -0
  1734. package/dist/experiments/spec-resolver.d.ts +12 -0
  1735. package/dist/experiments/spec-resolver.js +0 -0
  1736. package/dist/experiments/spec.d.js +0 -0
  1737. package/dist/experiments/spec.d.ts +81 -0
  1738. package/dist/experiments/spec.js +128 -0
  1739. package/dist/feature-hubs/federation.d.ts +44 -0
  1740. package/dist/feature-hubs/federation.js +1 -0
  1741. package/dist/feature-hubs/index.d.ts +6 -0
  1742. package/dist/feature-hubs/index.js +1 -0
  1743. package/dist/feature-hubs/policy.d.ts +30 -0
  1744. package/dist/feature-hubs/policy.js +0 -0
  1745. package/dist/feature-hubs/ports.d.ts +69 -0
  1746. package/dist/feature-hubs/ports.js +0 -0
  1747. package/dist/feature-hubs/registry.d.ts +28 -0
  1748. package/dist/feature-hubs/registry.js +0 -0
  1749. package/dist/feature-hubs/social-intent-ports.d.ts +30 -0
  1750. package/dist/feature-hubs/social-intent-ports.js +0 -0
  1751. package/dist/feature-hubs/social-media.d.ts +48 -0
  1752. package/dist/feature-hubs/social-media.js +0 -0
  1753. package/dist/feature-hubs/social-provider-v2.d.ts +53 -0
  1754. package/dist/feature-hubs/social-provider-v2.js +14 -0
  1755. package/dist/feature-hubs/social-scheduling-operations.d.ts +651 -0
  1756. package/dist/feature-hubs/social-scheduling-operations.js +17 -0
  1757. package/dist/feature-hubs/social-scheduling.d.ts +133 -0
  1758. package/dist/feature-hubs/social-scheduling.js +1 -0
  1759. package/dist/feature-hubs/types.d.ts +89 -0
  1760. package/dist/feature-hubs/types.js +1 -0
  1761. package/dist/features/index.d.js +1 -0
  1762. package/dist/features/index.d.ts +6 -0
  1763. package/dist/features/index.js +1 -0
  1764. package/dist/features/install.d.js +0 -0
  1765. package/dist/features/install.d.ts +38 -0
  1766. package/dist/features/install.js +1 -0
  1767. package/dist/features/registry.d.js +0 -0
  1768. package/dist/features/registry.d.ts +21 -0
  1769. package/dist/features/registry.js +1 -0
  1770. package/dist/features/types.d.js +0 -0
  1771. package/dist/features/types.d.ts +108 -0
  1772. package/dist/features/types.js +62 -0
  1773. package/dist/features/validate-bundle-requires.d.js +1 -0
  1774. package/dist/features/validate-bundle-requires.d.ts +29 -0
  1775. package/dist/features/validate-bundle-requires.js +1 -0
  1776. package/dist/features/validation.d.js +0 -0
  1777. package/dist/features/validation.d.ts +21 -0
  1778. package/dist/features/validation.js +1 -0
  1779. package/dist/forms/entity-bound-forms.d.js +0 -0
  1780. package/dist/forms/entity-bound-forms.d.ts +8 -0
  1781. package/dist/forms/entity-bound-forms.js +30 -0
  1782. package/dist/forms/entity-bound.d.ts +1 -0
  1783. package/dist/forms/entity-bound.js +1 -0
  1784. package/dist/forms/forms.d.js +1 -0
  1785. package/dist/forms/forms.d.ts +875 -0
  1786. package/dist/forms/forms.js +1 -0
  1787. package/dist/forms/index.d.js +1 -0
  1788. package/dist/forms/index.d.ts +21 -0
  1789. package/dist/forms/index.js +1 -0
  1790. package/dist/forms/marketing.forms.d.js +0 -0
  1791. package/dist/forms/marketing.forms.d.ts +71 -0
  1792. package/dist/forms/marketing.forms.js +1 -0
  1793. package/dist/forms/platform-ai-validation.d.js +0 -0
  1794. package/dist/forms/platform-ai-validation.d.ts +3 -0
  1795. package/dist/forms/platform-ai-validation.js +1 -0
  1796. package/dist/forms/platform-capability.d.js +0 -0
  1797. package/dist/forms/platform-capability.d.ts +3 -0
  1798. package/dist/forms/platform-capability.js +1 -0
  1799. package/dist/forms/platform-compiler.d.js +0 -0
  1800. package/dist/forms/platform-compiler.d.ts +4 -0
  1801. package/dist/forms/platform-compiler.js +1 -0
  1802. package/dist/forms/platform-decision-graph.d.js +0 -0
  1803. package/dist/forms/platform-decision-graph.d.ts +6 -0
  1804. package/dist/forms/platform-decision-graph.js +1 -0
  1805. package/dist/forms/platform-docs.d.js +0 -0
  1806. package/dist/forms/platform-docs.d.ts +18 -0
  1807. package/dist/forms/platform-docs.js +1 -0
  1808. package/dist/forms/platform-document-doc.d.js +0 -0
  1809. package/dist/forms/platform-document-doc.d.ts +8 -0
  1810. package/dist/forms/platform-document-doc.js +1 -0
  1811. package/dist/forms/platform-document.d.js +0 -0
  1812. package/dist/forms/platform-document.d.ts +187 -0
  1813. package/dist/forms/platform-document.js +1 -0
  1814. package/dist/forms/platform-ecosystem-operations.d.js +0 -0
  1815. package/dist/forms/platform-ecosystem-operations.d.ts +8 -0
  1816. package/dist/forms/platform-ecosystem-operations.js +1 -0
  1817. package/dist/forms/platform-features.d.js +0 -0
  1818. package/dist/forms/platform-features.d.ts +1 -0
  1819. package/dist/forms/platform-features.js +1 -0
  1820. package/dist/forms/platform-form-spec-serialization.d.js +0 -0
  1821. package/dist/forms/platform-form-spec-serialization.d.ts +4 -0
  1822. package/dist/forms/platform-form-spec-serialization.js +1 -0
  1823. package/dist/forms/platform-form-spec-validation.d.js +0 -0
  1824. package/dist/forms/platform-form-spec-validation.d.ts +6 -0
  1825. package/dist/forms/platform-form-spec-validation.js +1 -0
  1826. package/dist/forms/platform-locale-validation.d.js +0 -0
  1827. package/dist/forms/platform-locale-validation.d.ts +3 -0
  1828. package/dist/forms/platform-locale-validation.js +1 -0
  1829. package/dist/forms/platform-operation-catalog.d.js +0 -0
  1830. package/dist/forms/platform-operation-catalog.d.ts +1 -0
  1831. package/dist/forms/platform-operation-catalog.js +1 -0
  1832. package/dist/forms/platform-operation-errors.d.js +0 -0
  1833. package/dist/forms/platform-operation-errors.d.ts +146 -0
  1834. package/dist/forms/platform-operation-errors.js +1 -0
  1835. package/dist/forms/platform-operations.d.js +0 -0
  1836. package/dist/forms/platform-operations.d.ts +13 -0
  1837. package/dist/forms/platform-operations.js +1 -0
  1838. package/dist/forms/platform-product.d.js +0 -0
  1839. package/dist/forms/platform-product.d.ts +13 -0
  1840. package/dist/forms/platform-product.js +1 -0
  1841. package/dist/forms/platform-registry.d.js +0 -0
  1842. package/dist/forms/platform-registry.d.ts +4 -0
  1843. package/dist/forms/platform-registry.js +1 -0
  1844. package/dist/forms/platform-response-extension.d.js +0 -0
  1845. package/dist/forms/platform-response-extension.d.ts +14 -0
  1846. package/dist/forms/platform-response-extension.js +0 -0
  1847. package/dist/forms/platform-validation.d.js +0 -0
  1848. package/dist/forms/platform-validation.d.ts +11 -0
  1849. package/dist/forms/platform-validation.js +1 -0
  1850. package/dist/forms/richFieldsShowcase.form.d.js +0 -0
  1851. package/dist/forms/richFieldsShowcase.form.d.ts +39 -0
  1852. package/dist/forms/richFieldsShowcase.form.js +1 -0
  1853. package/dist/graph-artifacts/codebase.d.ts +240 -0
  1854. package/dist/graph-artifacts/codebase.js +1 -0
  1855. package/dist/graph-artifacts/common.d.ts +114 -0
  1856. package/dist/graph-artifacts/common.js +1 -0
  1857. package/dist/graph-artifacts/contracts.d.ts +299 -0
  1858. package/dist/graph-artifacts/contracts.js +1 -0
  1859. package/dist/graph-artifacts/drift.d.ts +97 -0
  1860. package/dist/graph-artifacts/drift.js +1 -0
  1861. package/dist/graph-artifacts/generation.d.ts +102 -0
  1862. package/dist/graph-artifacts/generation.js +1 -0
  1863. package/dist/graph-artifacts/index.d.ts +6 -0
  1864. package/dist/graph-artifacts/index.js +1 -0
  1865. package/dist/graph-artifacts/links.d.ts +218 -0
  1866. package/dist/graph-artifacts/links.js +1 -0
  1867. package/dist/harness/capabilities/harnessEvaluation.capability.d.ts +1 -0
  1868. package/dist/harness/capabilities/harnessEvaluation.capability.js +1 -0
  1869. package/dist/harness/capabilities/harnessEvidence.capability.d.ts +1 -0
  1870. package/dist/harness/capabilities/harnessEvidence.capability.js +1 -0
  1871. package/dist/harness/capabilities/harnessExecution.capability.d.ts +1 -0
  1872. package/dist/harness/capabilities/harnessExecution.capability.js +1 -0
  1873. package/dist/harness/capabilities/harnessTargeting.capability.d.ts +1 -0
  1874. package/dist/harness/capabilities/harnessTargeting.capability.js +1 -0
  1875. package/dist/harness/capabilities/index.d.ts +4 -0
  1876. package/dist/harness/capabilities/index.js +1 -0
  1877. package/dist/harness/commands/harnessEvaluationRun.command.d.ts +91 -0
  1878. package/dist/harness/commands/harnessEvaluationRun.command.js +1 -0
  1879. package/dist/harness/commands/harnessRunCancel.command.d.ts +24 -0
  1880. package/dist/harness/commands/harnessRunCancel.command.js +1 -0
  1881. package/dist/harness/commands/harnessRunStart.command.d.ts +168 -0
  1882. package/dist/harness/commands/harnessRunStart.command.js +1 -0
  1883. package/dist/harness/commands/index.d.ts +3 -0
  1884. package/dist/harness/commands/index.js +1 -0
  1885. package/dist/harness/constants.d.ts +4 -0
  1886. package/dist/harness/constants.js +1 -0
  1887. package/dist/harness/contracts.d.ts +1065 -0
  1888. package/dist/harness/contracts.js +1 -0
  1889. package/dist/harness/events/harnessEvaluationCompleted.event.d.ts +45 -0
  1890. package/dist/harness/events/harnessEvaluationCompleted.event.js +1 -0
  1891. package/dist/harness/events/harnessEvidenceCaptured.event.d.ts +37 -0
  1892. package/dist/harness/events/harnessEvidenceCaptured.event.js +1 -0
  1893. package/dist/harness/events/harnessRunCompleted.event.d.ts +37 -0
  1894. package/dist/harness/events/harnessRunCompleted.event.js +1 -0
  1895. package/dist/harness/events/harnessRunFailed.event.d.ts +37 -0
  1896. package/dist/harness/events/harnessRunFailed.event.js +1 -0
  1897. package/dist/harness/events/harnessRunStarted.event.d.ts +45 -0
  1898. package/dist/harness/events/harnessRunStarted.event.js +1 -0
  1899. package/dist/harness/events/harnessStepBlocked.event.d.ts +37 -0
  1900. package/dist/harness/events/harnessStepBlocked.event.js +1 -0
  1901. package/dist/harness/events/harnessStepCompleted.event.d.ts +37 -0
  1902. package/dist/harness/events/harnessStepCompleted.event.js +1 -0
  1903. package/dist/harness/events/harnessStepStarted.event.d.ts +45 -0
  1904. package/dist/harness/events/harnessStepStarted.event.js +1 -0
  1905. package/dist/harness/events/index.d.ts +8 -0
  1906. package/dist/harness/events/index.js +1 -0
  1907. package/dist/harness/harness.feature.d.ts +11 -0
  1908. package/dist/harness/harness.feature.js +1 -0
  1909. package/dist/harness/index.d.ts +11 -0
  1910. package/dist/harness/index.js +1 -0
  1911. package/dist/harness/models.d.ts +330 -0
  1912. package/dist/harness/models.js +1 -0
  1913. package/dist/harness/presentations/harnessRunAudit.presentation.d.ts +1 -0
  1914. package/dist/harness/presentations/harnessRunAudit.presentation.js +1 -0
  1915. package/dist/harness/presentations/index.d.ts +1 -0
  1916. package/dist/harness/presentations/index.js +1 -0
  1917. package/dist/harness/queries/harnessEvaluationGet.query.d.ts +72 -0
  1918. package/dist/harness/queries/harnessEvaluationGet.query.js +1 -0
  1919. package/dist/harness/queries/harnessEvidenceGet.query.d.ts +53 -0
  1920. package/dist/harness/queries/harnessEvidenceGet.query.js +1 -0
  1921. package/dist/harness/queries/harnessEvidenceList.query.d.ts +66 -0
  1922. package/dist/harness/queries/harnessEvidenceList.query.js +1 -0
  1923. package/dist/harness/queries/harnessRunGet.query.d.ts +137 -0
  1924. package/dist/harness/queries/harnessRunGet.query.js +1 -0
  1925. package/dist/harness/queries/harnessTargetResolve.query.d.ts +59 -0
  1926. package/dist/harness/queries/harnessTargetResolve.query.js +1 -0
  1927. package/dist/harness/queries/index.d.ts +5 -0
  1928. package/dist/harness/queries/index.js +1 -0
  1929. package/dist/harness/types.d.ts +210 -0
  1930. package/dist/harness/types.js +1 -0
  1931. package/dist/harness/views/harnessEvaluations.dataView.d.ts +74 -0
  1932. package/dist/harness/views/harnessEvaluations.dataView.js +1 -0
  1933. package/dist/harness/views/harnessEvidence.dataView.d.ts +74 -0
  1934. package/dist/harness/views/harnessEvidence.dataView.js +1 -0
  1935. package/dist/harness/views/harnessRuns.dataView.d.ts +74 -0
  1936. package/dist/harness/views/harnessRuns.dataView.js +1 -0
  1937. package/dist/harness/views/index.d.ts +3 -0
  1938. package/dist/harness/views/index.js +1 -0
  1939. package/dist/index.d.ts +76 -0
  1940. package/dist/index.js +1 -0
  1941. package/dist/install.d.js +1 -0
  1942. package/dist/install.d.ts +77 -0
  1943. package/dist/install.js +1 -0
  1944. package/dist/job-application/constants.d.ts +14 -0
  1945. package/dist/job-application/constants.js +1 -0
  1946. package/dist/job-application/events.d.ts +977 -0
  1947. package/dist/job-application/events.js +1 -0
  1948. package/dist/job-application/index.d.ts +7 -0
  1949. package/dist/job-application/index.js +1 -0
  1950. package/dist/job-application/operation-definitions.d.ts +2023 -0
  1951. package/dist/job-application/operation-definitions.js +1 -0
  1952. package/dist/job-application/operations.d.ts +1999 -0
  1953. package/dist/job-application/operations.js +1 -0
  1954. package/dist/job-application/registry.d.ts +10 -0
  1955. package/dist/job-application/registry.js +1 -0
  1956. package/dist/job-application/transport.d.ts +13 -0
  1957. package/dist/job-application/transport.js +1 -0
  1958. package/dist/job-application/types.d.ts +172 -0
  1959. package/dist/job-application/types.js +1 -0
  1960. package/dist/job-application/validation.d.ts +180 -0
  1961. package/dist/job-application/validation.js +1 -0
  1962. package/dist/jobs/define-job.d.ts +14 -0
  1963. package/dist/jobs/define-job.js +1 -0
  1964. package/dist/jobs/durable-queue-v2/admission-validation.d.ts +3 -0
  1965. package/dist/jobs/durable-queue-v2/admission-validation.js +1 -0
  1966. package/dist/jobs/durable-queue-v2/capability.d.ts +118 -0
  1967. package/dist/jobs/durable-queue-v2/capability.js +1 -0
  1968. package/dist/jobs/durable-queue-v2/digests.d.ts +15 -0
  1969. package/dist/jobs/durable-queue-v2/digests.js +1 -0
  1970. package/dist/jobs/durable-queue-v2/envelope.d.ts +113 -0
  1971. package/dist/jobs/durable-queue-v2/envelope.js +1 -0
  1972. package/dist/jobs/durable-queue-v2/index.d.ts +8 -0
  1973. package/dist/jobs/durable-queue-v2/index.js +1 -0
  1974. package/dist/jobs/durable-queue-v2/lifecycle.d.ts +160 -0
  1975. package/dist/jobs/durable-queue-v2/lifecycle.js +1 -0
  1976. package/dist/jobs/durable-queue-v2/primitives.d.ts +43 -0
  1977. package/dist/jobs/durable-queue-v2/primitives.js +1 -0
  1978. package/dist/jobs/durable-queue-v2/test-fixtures.d.ts +91 -0
  1979. package/dist/jobs/durable-queue-v2/test-fixtures.js +1 -0
  1980. package/dist/jobs/durable-queue-v2/validation.d.ts +13 -0
  1981. package/dist/jobs/durable-queue-v2/validation.js +1 -0
  1982. package/dist/jobs/durable-queue-v2/workload.d.ts +34 -0
  1983. package/dist/jobs/durable-queue-v2/workload.js +1 -0
  1984. package/dist/jobs/index.d.ts +4 -0
  1985. package/dist/jobs/index.js +1 -0
  1986. package/dist/jobs/queue.d.js +0 -0
  1987. package/dist/jobs/queue.d.ts +129 -0
  1988. package/dist/jobs/queue.js +1 -0
  1989. package/dist/jobs/spec.d.js +0 -0
  1990. package/dist/jobs/spec.d.ts +36 -0
  1991. package/dist/jobs/spec.js +1 -0
  1992. package/dist/jsonschema.d.ts +39 -0
  1993. package/dist/jsonschema.js +1 -0
  1994. package/dist/knowledge/binding.d.js +0 -0
  1995. package/dist/knowledge/binding.d.ts +28 -0
  1996. package/dist/knowledge/binding.js +0 -0
  1997. package/dist/knowledge/index.d.ts +6 -0
  1998. package/dist/knowledge/index.js +1 -0
  1999. package/dist/knowledge/knowledge.capability.d.ts +1 -0
  2000. package/dist/knowledge/knowledge.capability.js +1 -0
  2001. package/dist/knowledge/knowledge.feature.d.ts +5 -0
  2002. package/dist/knowledge/knowledge.feature.js +1 -0
  2003. package/dist/knowledge/operation-models.d.ts +338 -0
  2004. package/dist/knowledge/operation-models.js +1 -0
  2005. package/dist/knowledge/operations.d.ts +384 -0
  2006. package/dist/knowledge/operations.js +1 -0
  2007. package/dist/knowledge/registry.d.js +0 -0
  2008. package/dist/knowledge/registry.d.ts +6 -0
  2009. package/dist/knowledge/registry.js +1 -0
  2010. package/dist/knowledge/source.d.js +0 -0
  2011. package/dist/knowledge/source.d.ts +96 -0
  2012. package/dist/knowledge/source.js +1 -0
  2013. package/dist/knowledge/spaces/email-threads.d.ts +4 -0
  2014. package/dist/knowledge/spaces/email-threads.js +1 -0
  2015. package/dist/knowledge/spaces/financial-docs.d.ts +4 -0
  2016. package/dist/knowledge/spaces/financial-docs.js +1 -0
  2017. package/dist/knowledge/spaces/financial-overview.d.ts +4 -0
  2018. package/dist/knowledge/spaces/financial-overview.js +1 -0
  2019. package/dist/knowledge/spaces/index.d.ts +6 -0
  2020. package/dist/knowledge/spaces/index.js +1 -0
  2021. package/dist/knowledge/spaces/product-canon.d.ts +4 -0
  2022. package/dist/knowledge/spaces/product-canon.js +1 -0
  2023. package/dist/knowledge/spaces/support-faq.d.ts +4 -0
  2024. package/dist/knowledge/spaces/support-faq.js +1 -0
  2025. package/dist/knowledge/spaces/uploaded-docs.d.ts +4 -0
  2026. package/dist/knowledge/spaces/uploaded-docs.js +1 -0
  2027. package/dist/knowledge/spec.d.js +1 -0
  2028. package/dist/knowledge/spec.d.ts +74 -0
  2029. package/dist/knowledge/spec.js +172 -0
  2030. package/dist/llm/exporters.d.ts +75 -0
  2031. package/dist/llm/exporters.js +9 -0
  2032. package/dist/llm/index.d.ts +12 -0
  2033. package/dist/llm/index.js +1 -0
  2034. package/dist/llm/prompts.d.ts +53 -0
  2035. package/dist/llm/prompts.js +237 -0
  2036. package/dist/llm/types.d.ts +224 -0
  2037. package/dist/llm/types.js +0 -0
  2038. package/dist/markdown.d.ts +16 -0
  2039. package/dist/markdown.js +3 -0
  2040. package/dist/marketing/fixtures.d.ts +3 -0
  2041. package/dist/marketing/fixtures.js +1 -0
  2042. package/dist/marketing/forms.d.ts +32 -0
  2043. package/dist/marketing/forms.js +1 -0
  2044. package/dist/marketing/index.d.ts +4 -0
  2045. package/dist/marketing/index.js +1 -0
  2046. package/dist/marketing/types.d.ts +217 -0
  2047. package/dist/marketing/types.js +0 -0
  2048. package/dist/marketing/validation.d.ts +17 -0
  2049. package/dist/marketing/validation.js +3 -0
  2050. package/dist/migrations.d.ts +67 -0
  2051. package/dist/migrations.js +69 -0
  2052. package/dist/model-registry.d.ts +9 -0
  2053. package/dist/model-registry.js +1 -0
  2054. package/dist/navigation/index.d.ts +11 -0
  2055. package/dist/navigation/index.js +1 -0
  2056. package/dist/navigation/nav-graph.d.ts +79 -0
  2057. package/dist/navigation/nav-graph.js +69 -0
  2058. package/dist/navigation/nav-surface.d.ts +138 -0
  2059. package/dist/navigation/nav-surface.js +70 -0
  2060. package/dist/navigation/registry.d.ts +69 -0
  2061. package/dist/navigation/registry.js +1 -0
  2062. package/dist/node/acp/acp.feature.js +1 -0
  2063. package/dist/node/acp/capabilities/acpTransport.capability.js +4 -0
  2064. package/dist/node/acp/capabilities/index.js +1 -0
  2065. package/dist/node/acp/commands/acpFsAccess.command.js +4 -0
  2066. package/dist/node/acp/commands/acpPromptTurn.command.js +4 -0
  2067. package/dist/node/acp/commands/acpSessionInit.command.js +4 -0
  2068. package/dist/node/acp/commands/acpSessionResume.command.js +4 -0
  2069. package/dist/node/acp/commands/acpSessionStop.command.js +4 -0
  2070. package/dist/node/acp/commands/acpTerminalExec.command.js +4 -0
  2071. package/dist/node/acp/commands/acpToolCalls.command.js +4 -0
  2072. package/dist/node/acp/commands/index.js +1 -0
  2073. package/dist/node/acp/constants.js +1 -0
  2074. package/dist/node/acp/contracts.js +1 -0
  2075. package/dist/node/acp/index.js +1 -0
  2076. package/dist/node/adaptive-shell/index.js +1 -0
  2077. package/dist/node/adaptive-shell/types.js +0 -0
  2078. package/dist/node/adaptive-shell/validation.js +1 -0
  2079. package/dist/node/adoption-catalog/index.js +1 -0
  2080. package/dist/node/agent/agent.feature.js +4 -0
  2081. package/dist/node/agent/capabilities/agentExecution.capability.js +1 -0
  2082. package/dist/node/agent/capabilities/index.js +1 -0
  2083. package/dist/node/agent/commands/agentApprovals.command.js +4 -0
  2084. package/dist/node/agent/commands/agentCancel.command.js +4 -0
  2085. package/dist/node/agent/commands/agentRun.command.js +4 -0
  2086. package/dist/node/agent/commands/agentTaskOps.command.js +1 -0
  2087. package/dist/node/agent/commands/graphCompose.command.js +1 -0
  2088. package/dist/node/agent/commands/graphEdit.command.js +25 -0
  2089. package/dist/node/agent/commands/graphOps.command.js +31 -0
  2090. package/dist/node/agent/commands/graphRefactor.command.js +1 -0
  2091. package/dist/node/agent/commands/graphSuggestEvolution.command.js +35 -0
  2092. package/dist/node/agent/commands/index.js +1 -0
  2093. package/dist/node/agent/constants.js +1 -0
  2094. package/dist/node/agent/contracts.js +1 -0
  2095. package/dist/node/agent/events/agentApprovalRequested.event.js +4 -0
  2096. package/dist/node/agent/events/agentRunCompleted.event.js +4 -0
  2097. package/dist/node/agent/events/agentRunFailed.event.js +4 -0
  2098. package/dist/node/agent/events/agentRunStarted.event.js +4 -0
  2099. package/dist/node/agent/events/index.js +1 -0
  2100. package/dist/node/agent/forms/agentRun.form.js +4 -0
  2101. package/dist/node/agent/forms/index.js +1 -0
  2102. package/dist/node/agent/graph-conversation.js +19 -0
  2103. package/dist/node/agent/index.js +1 -0
  2104. package/dist/node/agent/presentations/agentRunAudit.presentation.js +4 -0
  2105. package/dist/node/agent/presentations/index.js +1 -0
  2106. package/dist/node/agent/protocol/application-signature.js +1 -0
  2107. package/dist/node/agent/protocol/application.js +4 -0
  2108. package/dist/node/agent/protocol/automation/automation.test-fixture.js +1 -0
  2109. package/dist/node/agent/protocol/automation/contracts.js +4 -0
  2110. package/dist/node/agent/protocol/automation/definition-validation.js +1 -0
  2111. package/dist/node/agent/protocol/automation/digests.js +1 -0
  2112. package/dist/node/agent/protocol/automation/index.js +1 -0
  2113. package/dist/node/agent/protocol/automation/lifecycle-validation.js +1 -0
  2114. package/dist/node/agent/protocol/automation/lifecycle.js +1 -0
  2115. package/dist/node/agent/protocol/automation/run-validation.js +1 -0
  2116. package/dist/node/agent/protocol/automation/validation.js +1 -0
  2117. package/dist/node/agent/protocol/bindings.js +1 -0
  2118. package/dist/node/agent/protocol/budget.js +1 -0
  2119. package/dist/node/agent/protocol/common.js +1 -0
  2120. package/dist/node/agent/protocol/delegation.js +1 -0
  2121. package/dist/node/agent/protocol/execution.js +1 -0
  2122. package/dist/node/agent/protocol/graph-validation.js +1 -0
  2123. package/dist/node/agent/protocol/help.js +1 -0
  2124. package/dist/node/agent/protocol/index.js +1 -0
  2125. package/dist/node/agent/protocol/markdown-migration.js +1 -0
  2126. package/dist/node/agent/protocol/memory-governance.js +1 -0
  2127. package/dist/node/agent/protocol/memory-validation.js +1 -0
  2128. package/dist/node/agent/protocol/memory.js +1 -0
  2129. package/dist/node/agent/protocol/model-fallback-validation-v2.js +1 -0
  2130. package/dist/node/agent/protocol/model-fallback-validation.js +1 -0
  2131. package/dist/node/agent/protocol/model-invocation-profile.js +1 -0
  2132. package/dist/node/agent/protocol/model-route-contracts-v2.js +1 -0
  2133. package/dist/node/agent/protocol/model-route-contracts.js +1 -0
  2134. package/dist/node/agent/protocol/model-routing-migration.js +1 -0
  2135. package/dist/node/agent/protocol/model-routing-v2.js +1 -0
  2136. package/dist/node/agent/protocol/model-routing-v2.test-fixtures.js +1 -0
  2137. package/dist/node/agent/protocol/model-routing.js +1 -0
  2138. package/dist/node/agent/protocol/model-routing.test-fixtures.js +1 -0
  2139. package/dist/node/agent/protocol/model-selection-validation-v2.js +1 -0
  2140. package/dist/node/agent/protocol/model-selection-validation.js +1 -0
  2141. package/dist/node/agent/protocol/model-serving-validation-v2.js +1 -0
  2142. package/dist/node/agent/protocol/planning.js +1 -0
  2143. package/dist/node/agent/protocol/reflection.js +1 -0
  2144. package/dist/node/agent/protocol/task-result-validation.js +1 -0
  2145. package/dist/node/agent/queries/agentArtifacts.query.js +4 -0
  2146. package/dist/node/agent/queries/agentStatus.query.js +4 -0
  2147. package/dist/node/agent/queries/index.js +1 -0
  2148. package/dist/node/agent/registry.js +1 -0
  2149. package/dist/node/agent/runner.js +1 -0
  2150. package/dist/node/agent/spec.js +10 -0
  2151. package/dist/node/agent/task-tree.js +22 -0
  2152. package/dist/node/agent/views/agentRuns.dataView.js +4 -0
  2153. package/dist/node/agent/views/index.js +1 -0
  2154. package/dist/node/agent-platform/baseline-suites.js +1 -0
  2155. package/dist/node/agent-platform/digest.js +1 -0
  2156. package/dist/node/agent-platform/index.js +1 -0
  2157. package/dist/node/agent-platform/types.js +1 -0
  2158. package/dist/node/agent-platform/validation-v2.js +1 -0
  2159. package/dist/node/agent-platform/validation.js +1 -0
  2160. package/dist/node/agent-step-observability/index.js +1 -0
  2161. package/dist/node/agent-step-observability/types.js +0 -0
  2162. package/dist/node/agent-step-observability/validation.js +1 -0
  2163. package/dist/node/agentic-interaction/constants.js +1 -0
  2164. package/dist/node/agentic-interaction/contracts.js +1 -0
  2165. package/dist/node/agentic-interaction/index.js +1 -0
  2166. package/dist/node/agentpacks/evidence-audit-validation.js +1 -0
  2167. package/dist/node/agentpacks/evidence-canonicalization.js +2 -0
  2168. package/dist/node/agentpacks/evidence-fixtures.js +1 -0
  2169. package/dist/node/agentpacks/evidence-schema-primitives.js +1 -0
  2170. package/dist/node/agentpacks/evidence-trace-validation.js +1 -0
  2171. package/dist/node/agentpacks/evidence-types.js +0 -0
  2172. package/dist/node/agentpacks/evidence-validation.js +1 -0
  2173. package/dist/node/agentpacks/index.js +1 -0
  2174. package/dist/node/agentpacks/types.js +0 -0
  2175. package/dist/node/agentpacks/validation.js +1 -0
  2176. package/dist/node/ai-improvement/contracts-v2.js +1 -0
  2177. package/dist/node/ai-improvement/evidence.js +1 -0
  2178. package/dist/node/ai-improvement/index.js +1 -0
  2179. package/dist/node/ai-improvement/policy.js +1 -0
  2180. package/dist/node/ai-improvement/types.js +0 -0
  2181. package/dist/node/ai-improvement/validation-v2.js +1 -0
  2182. package/dist/node/ai-improvement/validation.js +1 -0
  2183. package/dist/node/analytics/index.js +0 -0
  2184. package/dist/node/analytics/semantic-spec.js +0 -0
  2185. package/dist/node/app-config/app-config.capability.js +1 -0
  2186. package/dist/node/app-config/app-config.contracts.js +1 -0
  2187. package/dist/node/app-config/app-config.feature.js +1 -0
  2188. package/dist/node/app-config/branding.d.js +0 -0
  2189. package/dist/node/app-config/branding.js +0 -0
  2190. package/dist/node/app-config/events.js +1 -0
  2191. package/dist/node/app-config/index.js +1 -0
  2192. package/dist/node/app-config/integrations.d.js +0 -0
  2193. package/dist/node/app-config/integrations.js +0 -0
  2194. package/dist/node/app-config/lifecycle-contracts.js +1 -0
  2195. package/dist/node/app-config/lifecycle.d.js +0 -0
  2196. package/dist/node/app-config/lifecycle.js +0 -0
  2197. package/dist/node/app-config/runtime.d.js +0 -0
  2198. package/dist/node/app-config/runtime.js +1 -0
  2199. package/dist/node/app-config/spec.d.js +0 -0
  2200. package/dist/node/app-config/spec.js +162 -0
  2201. package/dist/node/app-config/validation.js +1 -0
  2202. package/dist/node/app-submission-readiness/admin-rules.contracts.js +1 -0
  2203. package/dist/node/app-submission-readiness/assets.contracts.js +1 -0
  2204. package/dist/node/app-submission-readiness/audit.contracts.js +1 -0
  2205. package/dist/node/app-submission-readiness/constants.js +1 -0
  2206. package/dist/node/app-submission-readiness/contracts.js +1 -0
  2207. package/dist/node/app-submission-readiness/events.js +1 -0
  2208. package/dist/node/app-submission-readiness/fixtures.js +1 -0
  2209. package/dist/node/app-submission-readiness/index.js +1 -0
  2210. package/dist/node/app-submission-readiness/legal-links.contracts.js +1 -0
  2211. package/dist/node/app-submission-readiness/manifests.contracts.js +1 -0
  2212. package/dist/node/app-submission-readiness/markdown-report.js +3 -0
  2213. package/dist/node/app-submission-readiness/privacy-disclosures.contracts.js +1 -0
  2214. package/dist/node/app-submission-readiness/project.contracts.js +1 -0
  2215. package/dist/node/app-submission-readiness/provider-capabilities.js +1 -0
  2216. package/dist/node/app-submission-readiness/provider-capabilities.seeds.js +1 -0
  2217. package/dist/node/app-submission-readiness/registry.js +1 -0
  2218. package/dist/node/app-submission-readiness/rejection-response.contracts.js +1 -0
  2219. package/dist/node/app-submission-readiness/reports.contracts.js +1 -0
  2220. package/dist/node/app-submission-readiness/reviewer-access.contracts.js +1 -0
  2221. package/dist/node/app-submission-readiness/runtime.js +1 -0
  2222. package/dist/node/app-submission-readiness/sdk-inventory.contracts.js +1 -0
  2223. package/dist/node/app-submission-readiness/store-integrations.contracts.js +1 -0
  2224. package/dist/node/app-submission-readiness/types.js +0 -0
  2225. package/dist/node/capabilities/agent-workflow.d.js +0 -0
  2226. package/dist/node/capabilities/agent-workflow.js +1 -0
  2227. package/dist/node/capabilities/capabilities.d.js +0 -0
  2228. package/dist/node/capabilities/capabilities.js +187 -0
  2229. package/dist/node/capabilities/context.d.js +0 -0
  2230. package/dist/node/capabilities/context.js +1 -0
  2231. package/dist/node/capabilities/guards.d.js +0 -0
  2232. package/dist/node/capabilities/guards.js +1 -0
  2233. package/dist/node/capabilities/index.d.js +1 -0
  2234. package/dist/node/capabilities/index.js +1 -0
  2235. package/dist/node/capabilities/meeting-recorder.d.js +0 -0
  2236. package/dist/node/capabilities/meeting-recorder.js +1 -0
  2237. package/dist/node/capabilities/openbanking.d.js +0 -0
  2238. package/dist/node/capabilities/openbanking.js +1 -0
  2239. package/dist/node/capabilities/validation.d.js +0 -0
  2240. package/dist/node/capabilities/validation.js +1 -0
  2241. package/dist/node/cli/command-pack.js +16 -0
  2242. package/dist/node/cli/index.js +1 -0
  2243. package/dist/node/companyos/auth-production-topology.js +1 -0
  2244. package/dist/node/companyos/booking-surfaces.js +1 -0
  2245. package/dist/node/companyos/calendar-intelligence.js +1 -0
  2246. package/dist/node/companyos/calendar-microsoft-personal-discovery.js +1 -0
  2247. package/dist/node/companyos/calendar-microsoft-personal-http.js +1 -0
  2248. package/dist/node/companyos/calendar-microsoft-personal-selection.js +1 -0
  2249. package/dist/node/companyos/calendar-private-draft-preview.js +1 -0
  2250. package/dist/node/companyos/commands/autonomousWorkOrderTransition.command.js +1 -0
  2251. package/dist/node/companyos/commands/builderReadinessEvaluate.command.js +1 -0
  2252. package/dist/node/companyos/commands/contextSetActive.command.js +1 -0
  2253. package/dist/node/companyos/commands/decisionPacketAttest.command.js +1 -0
  2254. package/dist/node/companyos/commands/decisionPacketFounderApprove.command.js +1 -0
  2255. package/dist/node/companyos/commands/index.js +1 -0
  2256. package/dist/node/companyos/commands/integrationConfigureByok.command.js +1 -0
  2257. package/dist/node/companyos/commands/integrationConfigureManaged.command.js +1 -0
  2258. package/dist/node/companyos/commands/onboardingPreferencesComplete.command.js +8 -0
  2259. package/dist/node/companyos/commands/organizationSetActive.command.js +1 -0
  2260. package/dist/node/companyos/commands/personaPreviewSet.command.js +7 -0
  2261. package/dist/node/companyos/commands/personalBriefingCalendarsSelect.command.js +12 -0
  2262. package/dist/node/companyos/commands/personalBriefingDeliveryRetry.command.js +8 -0
  2263. package/dist/node/companyos/commands/personalBriefingGoogleOAuthComplete.command.js +6 -0
  2264. package/dist/node/companyos/commands/personalBriefingGoogleOAuthStart.command.js +6 -0
  2265. package/dist/node/companyos/commands/personalBriefingMicrosoftDisconnect.command.js +5 -0
  2266. package/dist/node/companyos/commands/personalBriefingMicrosoftOAuthComplete.command.js +9 -0
  2267. package/dist/node/companyos/commands/personalBriefingMicrosoftOAuthStart.command.js +6 -0
  2268. package/dist/node/companyos/commands/personalBriefingPreferencesUpdate.command.js +11 -0
  2269. package/dist/node/companyos/commands/personalBriefingPreviewSend.command.js +15 -0
  2270. package/dist/node/companyos/commands/personalContextDisable.command.js +1 -0
  2271. package/dist/node/companyos/commands/personalContextEnsure.command.js +1 -0
  2272. package/dist/node/companyos/commands/personalDailyOperationCreate.command.js +1 -0
  2273. package/dist/node/companyos/commands/personalDailyOperationTransition.command.js +1 -0
  2274. package/dist/node/companyos/commands/reviewCardDecide.command.js +1 -0
  2275. package/dist/node/companyos/commands/shellPreferencesUpdate.command.js +6 -0
  2276. package/dist/node/companyos/commands/tenantOnboard.command.js +1 -0
  2277. package/dist/node/companyos/commands/tenantUpdate.command.js +1 -0
  2278. package/dist/node/companyos/commands/weeklyReportApprove.command.js +1 -0
  2279. package/dist/node/companyos/commands/workflowStart.command.js +1 -0
  2280. package/dist/node/companyos/company-intelligence/api-schemas.js +1 -0
  2281. package/dist/node/companyos/company-intelligence/api.js +1 -0
  2282. package/dist/node/companyos/company-intelligence/commands.js +1 -0
  2283. package/dist/node/companyos/company-intelligence/events.js +1 -0
  2284. package/dist/node/companyos/company-intelligence/index.js +1 -0
  2285. package/dist/node/companyos/company-intelligence/models.js +1 -0
  2286. package/dist/node/companyos/company-intelligence/operations.js +1 -0
  2287. package/dist/node/companyos/company-intelligence/queries.js +1 -0
  2288. package/dist/node/companyos/company-intelligence/registry.js +1 -0
  2289. package/dist/node/companyos/company-intelligence/surface.js +1 -0
  2290. package/dist/node/companyos/company-metrics/commands.js +3 -0
  2291. package/dist/node/companyos/company-metrics/events.js +3 -0
  2292. package/dist/node/companyos/company-metrics/index.js +1 -0
  2293. package/dist/node/companyos/company-metrics/queries.js +3 -0
  2294. package/dist/node/companyos/company-metrics/registry.js +1 -0
  2295. package/dist/node/companyos/company-metrics/shared.js +1 -0
  2296. package/dist/node/companyos/constants.js +1 -0
  2297. package/dist/node/companyos/index.js +1 -0
  2298. package/dist/node/companyos/live-workspace-surfaces.js +1 -0
  2299. package/dist/node/companyos/organization-bootstrap.js +1 -0
  2300. package/dist/node/companyos/organization-seed-contract.js +1 -0
  2301. package/dist/node/companyos/organization-seed-manifest.js +1 -0
  2302. package/dist/node/companyos/organization-seed-profile-manifest.js +1 -0
  2303. package/dist/node/companyos/organization-seed.js +1 -0
  2304. package/dist/node/companyos/organization-self-service.js +1 -0
  2305. package/dist/node/companyos/production-semantics.js +1 -0
  2306. package/dist/node/companyos/projections.js +1 -0
  2307. package/dist/node/companyos/public-composition.js +1 -0
  2308. package/dist/node/companyos/queries/approvalReasons.query.js +1 -0
  2309. package/dist/node/companyos/queries/builderEvidenceReceiptGet.query.js +1 -0
  2310. package/dist/node/companyos/queries/builderReleaseCapsuleGet.query.js +1 -0
  2311. package/dist/node/companyos/queries/builderReplayPacketGet.query.js +1 -0
  2312. package/dist/node/companyos/queries/contextList.query.js +1 -0
  2313. package/dist/node/companyos/queries/designPartnerReadinessGet.query.js +1 -0
  2314. package/dist/node/companyos/queries/evidenceGetReceipt.query.js +1 -0
  2315. package/dist/node/companyos/queries/evidenceVerifyHash.query.js +1 -0
  2316. package/dist/node/companyos/queries/graphQuery.query.js +1 -0
  2317. package/dist/node/companyos/queries/graphQueryByPolicy.query.js +1 -0
  2318. package/dist/node/companyos/queries/healthApi.query.js +1 -0
  2319. package/dist/node/companyos/queries/healthWebsocket.query.js +1 -0
  2320. package/dist/node/companyos/queries/healthWorker.query.js +1 -0
  2321. package/dist/node/companyos/queries/index.js +1 -0
  2322. package/dist/node/companyos/queries/integrationListProviders.query.js +1 -0
  2323. package/dist/node/companyos/queries/integrationStatus.query.js +1 -0
  2324. package/dist/node/companyos/queries/organizationList.query.js +1 -0
  2325. package/dist/node/companyos/queries/personalBriefingCalendarsList.query.js +6 -0
  2326. package/dist/node/companyos/queries/personalBriefingStatus.query.js +13 -0
  2327. package/dist/node/companyos/queries/personalContextProvisioningStatus.query.js +1 -0
  2328. package/dist/node/companyos/queries/personalDailyOperations.query.js +1 -0
  2329. package/dist/node/companyos/queries/replayGetPacket.query.js +1 -0
  2330. package/dist/node/companyos/queries/replayListByTenant.query.js +1 -0
  2331. package/dist/node/companyos/queries/sessionAuthorityGet.query.js +1 -0
  2332. package/dist/node/companyos/queries/shellPreferencesGet.query.js +7 -0
  2333. package/dist/node/companyos/queries/tenantGet.query.js +1 -0
  2334. package/dist/node/companyos/queries/tenantList.query.js +1 -0
  2335. package/dist/node/companyos/queries/workflowGetStatus.query.js +1 -0
  2336. package/dist/node/companyos/queries/workflowList.query.js +1 -0
  2337. package/dist/node/companyos/queries/workspaceList.query.js +1 -0
  2338. package/dist/node/companyos/registry.js +1 -0
  2339. package/dist/node/companyos/shell-preferences.js +1 -0
  2340. package/dist/node/content-analysis/constants.js +1 -0
  2341. package/dist/node/content-analysis/events.js +3 -0
  2342. package/dist/node/content-analysis/index.js +1 -0
  2343. package/dist/node/content-analysis/operations.js +6 -0
  2344. package/dist/node/content-analysis/registry.js +1 -0
  2345. package/dist/node/content-analysis/types.js +0 -0
  2346. package/dist/node/content-generation/capabilities.js +1 -0
  2347. package/dist/node/content-generation/content-generation.feature.js +1 -0
  2348. package/dist/node/content-generation/contracts.js +4 -0
  2349. package/dist/node/content-generation/index.js +1 -0
  2350. package/dist/node/content-generation/media-status.js +1 -0
  2351. package/dist/node/content-generation/ports.js +0 -0
  2352. package/dist/node/content-generation/rights-operations.js +1 -0
  2353. package/dist/node/content-generation/rights-withdrawal.js +1 -0
  2354. package/dist/node/content-generation/rights.js +1 -0
  2355. package/dist/node/content-generation/types.js +1 -0
  2356. package/dist/node/context/agent-context-validation.js +4 -0
  2357. package/dist/node/context/agent-context.js +1 -0
  2358. package/dist/node/context/capabilities/contextSystem.capability.js +4 -0
  2359. package/dist/node/context/capabilities/index.js +1 -0
  2360. package/dist/node/context/commands/contextPackSnapshot.command.js +4 -0
  2361. package/dist/node/context/commands/index.js +1 -0
  2362. package/dist/node/context/constants.js +1 -0
  2363. package/dist/node/context/context.feature.js +1 -0
  2364. package/dist/node/context/contracts.js +1 -0
  2365. package/dist/node/context/events/contextSnapshotCreated.event.js +4 -0
  2366. package/dist/node/context/events/index.js +1 -0
  2367. package/dist/node/context/forms/contextPackSearch.form.js +4 -0
  2368. package/dist/node/context/forms/index.js +1 -0
  2369. package/dist/node/context/index.js +1 -0
  2370. package/dist/node/context/presentations/contextSnapshot.presentation.js +4 -0
  2371. package/dist/node/context/presentations/index.js +1 -0
  2372. package/dist/node/context/queries/contextPackDescribe.query.js +4 -0
  2373. package/dist/node/context/queries/contextPackSearch.query.js +4 -0
  2374. package/dist/node/context/queries/index.js +1 -0
  2375. package/dist/node/context/views/contextSnapshots.dataView.js +4 -0
  2376. package/dist/node/context/views/index.js +1 -0
  2377. package/dist/node/contract-registry/index.js +1 -0
  2378. package/dist/node/contract-registry/schemas.js +1 -0
  2379. package/dist/node/contract-registry/types.js +0 -0
  2380. package/dist/node/contracts-spec.feature.js +1 -0
  2381. package/dist/node/control-plane/approval-kernel.js +1 -0
  2382. package/dist/node/control-plane/capabilities/controlPlaneApproval.capability.js +1 -0
  2383. package/dist/node/control-plane/capabilities/controlPlaneAudit.capability.js +1 -0
  2384. package/dist/node/control-plane/capabilities/controlPlaneChannelRuntime.capability.js +1 -0
  2385. package/dist/node/control-plane/capabilities/controlPlaneCore.capability.js +1 -0
  2386. package/dist/node/control-plane/capabilities/controlPlaneSkillRegistry.capability.js +1 -0
  2387. package/dist/node/control-plane/capabilities/index.js +1 -0
  2388. package/dist/node/control-plane/commands/controlPlaneExecutionAbort.command.js +1 -0
  2389. package/dist/node/control-plane/commands/controlPlaneExecutionApprove.command.js +1 -0
  2390. package/dist/node/control-plane/commands/controlPlaneExecutionCancel.command.js +1 -0
  2391. package/dist/node/control-plane/commands/controlPlaneExecutionEvidenceExport.command.js +1 -0
  2392. package/dist/node/control-plane/commands/controlPlaneExecutionPause.command.js +1 -0
  2393. package/dist/node/control-plane/commands/controlPlaneExecutionReject.command.js +1 -0
  2394. package/dist/node/control-plane/commands/controlPlaneExecutionResume.command.js +1 -0
  2395. package/dist/node/control-plane/commands/controlPlaneExecutionRetry.command.js +1 -0
  2396. package/dist/node/control-plane/commands/controlPlaneExecutionShutdown.command.js +1 -0
  2397. package/dist/node/control-plane/commands/controlPlaneExecutionStart.command.js +1 -0
  2398. package/dist/node/control-plane/commands/controlPlaneIntentSubmit.command.js +1 -0
  2399. package/dist/node/control-plane/commands/controlPlanePlanCompile.command.js +1 -0
  2400. package/dist/node/control-plane/commands/controlPlanePlanVerify.command.js +1 -0
  2401. package/dist/node/control-plane/commands/controlPlaneSkillDisable.command.js +1 -0
  2402. package/dist/node/control-plane/commands/controlPlaneSkillInstall.command.js +1 -0
  2403. package/dist/node/control-plane/commands/index.js +1 -0
  2404. package/dist/node/control-plane/connect-materialization.js +1 -0
  2405. package/dist/node/control-plane/constants.js +1 -0
  2406. package/dist/node/control-plane/contracts.js +1 -0
  2407. package/dist/node/control-plane/control-plane.feature.js +1 -0
  2408. package/dist/node/control-plane/events/controlPlaneExecutionCompleted.event.js +1 -0
  2409. package/dist/node/control-plane/events/controlPlaneExecutionFailed.event.js +1 -0
  2410. package/dist/node/control-plane/events/controlPlaneExecutionStepBlocked.event.js +1 -0
  2411. package/dist/node/control-plane/events/controlPlaneExecutionStepCompleted.event.js +1 -0
  2412. package/dist/node/control-plane/events/controlPlaneExecutionStepStarted.event.js +1 -0
  2413. package/dist/node/control-plane/events/controlPlaneIntentReceived.event.js +1 -0
  2414. package/dist/node/control-plane/events/controlPlanePlanCompiled.event.js +1 -0
  2415. package/dist/node/control-plane/events/controlPlanePlanRejected.event.js +1 -0
  2416. package/dist/node/control-plane/events/controlPlaneSkillInstalled.event.js +1 -0
  2417. package/dist/node/control-plane/events/controlPlaneSkillRejected.event.js +1 -0
  2418. package/dist/node/control-plane/events/index.js +1 -0
  2419. package/dist/node/control-plane/hook-authority-digest.js +1 -0
  2420. package/dist/node/control-plane/hook-authority-immutable.js +1 -0
  2421. package/dist/node/control-plane/hook-authority-records.js +0 -0
  2422. package/dist/node/control-plane/hook-authority-reference-adapter.js +1 -0
  2423. package/dist/node/control-plane/hook-authority-reference-binding.js +1 -0
  2424. package/dist/node/control-plane/hook-authority-reference-capability.js +1 -0
  2425. package/dist/node/control-plane/hook-authority-reference-clock.js +1 -0
  2426. package/dist/node/control-plane/hook-authority-reference-helpers.js +1 -0
  2427. package/dist/node/control-plane/hook-authority-reference-invoke.js +1 -0
  2428. package/dist/node/control-plane/hook-authority-reference-leases.js +1 -0
  2429. package/dist/node/control-plane/hook-authority-reference-lock.js +1 -0
  2430. package/dist/node/control-plane/hook-authority-reference-result.js +1 -0
  2431. package/dist/node/control-plane/hook-authority-reference-session.js +1 -0
  2432. package/dist/node/control-plane/hook-authority-reference-state.js +1 -0
  2433. package/dist/node/control-plane/hook-authority-reference-validation.js +1 -0
  2434. package/dist/node/control-plane/hook-authority-test-body.js +1 -0
  2435. package/dist/node/control-plane/hook-authority-test-fixtures.js +1 -0
  2436. package/dist/node/control-plane/hook-authority-validation-events.js +1 -0
  2437. package/dist/node/control-plane/hook-authority-validation-objects.js +1 -0
  2438. package/dist/node/control-plane/hook-authority-validation-paths.js +1 -0
  2439. package/dist/node/control-plane/hook-authority-validation-primitives.js +1 -0
  2440. package/dist/node/control-plane/hook-authority-validation-request.js +1 -0
  2441. package/dist/node/control-plane/hook-authority-validation.js +1 -0
  2442. package/dist/node/control-plane/hook-authority.js +1 -0
  2443. package/dist/node/control-plane/index.js +1 -0
  2444. package/dist/node/control-plane/policies/controlPlaneMessaging.policy.js +1 -0
  2445. package/dist/node/control-plane/policies/index.js +1 -0
  2446. package/dist/node/control-plane/queries/controlPlaneExecutionGet.query.js +1 -0
  2447. package/dist/node/control-plane/queries/controlPlaneExecutionLane.models.js +1 -0
  2448. package/dist/node/control-plane/queries/controlPlaneExecutionLaneGet.query.js +1 -0
  2449. package/dist/node/control-plane/queries/controlPlaneExecutionLaneList.query.js +1 -0
  2450. package/dist/node/control-plane/queries/controlPlaneExecutionList.query.js +1 -0
  2451. package/dist/node/control-plane/queries/controlPlanePolicyExplain.query.js +1 -0
  2452. package/dist/node/control-plane/queries/controlPlaneSkillList.query.js +1 -0
  2453. package/dist/node/control-plane/queries/controlPlaneSkillVerify.query.js +1 -0
  2454. package/dist/node/control-plane/queries/controlPlaneTraceGet.query.js +1 -0
  2455. package/dist/node/control-plane/queries/index.js +1 -0
  2456. package/dist/node/control-plane/repository-authority-bootstrap.js +1 -0
  2457. package/dist/node/control-plane/skills/index.js +1 -0
  2458. package/dist/node/control-plane/skills/schema.js +1 -0
  2459. package/dist/node/control-plane/skills/signer.js +4 -0
  2460. package/dist/node/control-plane/skills/types.js +0 -0
  2461. package/dist/node/control-plane/skills/validator.js +1 -0
  2462. package/dist/node/control-plane/skills/verifier.js +1 -0
  2463. package/dist/node/creative-intelligence/constants.js +1 -0
  2464. package/dist/node/creative-intelligence/events.js +3 -0
  2465. package/dist/node/creative-intelligence/index.js +1 -0
  2466. package/dist/node/creative-intelligence/operations.js +6 -0
  2467. package/dist/node/creative-intelligence/registry.js +1 -0
  2468. package/dist/node/creative-intelligence/types.js +0 -0
  2469. package/dist/node/creator-operations/campaign.js +1 -0
  2470. package/dist/node/creator-operations/common.js +1 -0
  2471. package/dist/node/creator-operations/index.js +1 -0
  2472. package/dist/node/creator-operations/operation-inputs.js +1 -0
  2473. package/dist/node/creator-operations/operations.js +23 -0
  2474. package/dist/node/creator-operations/ports.js +0 -0
  2475. package/dist/node/creator-operations/submission.js +1 -0
  2476. package/dist/node/creator-operations/training-course.js +1 -0
  2477. package/dist/node/creator-operations/training-operations.js +1 -0
  2478. package/dist/node/creator-operations/training-progress-operation.js +1 -0
  2479. package/dist/node/creator-operations/training-quiz-operation.js +1 -0
  2480. package/dist/node/creator-operations/training-quiz-read.js +1 -0
  2481. package/dist/node/creator-operations/training-quiz-view.js +1 -0
  2482. package/dist/node/creator-operations/training-quiz.js +1 -0
  2483. package/dist/node/creator-operations/training.js +1 -0
  2484. package/dist/node/creator-operations/wallet.js +1 -0
  2485. package/dist/node/customer-support/ai-outcome-evaluation-events.js +1 -0
  2486. package/dist/node/customer-support/ai-outcome-evaluation-operations.js +1 -0
  2487. package/dist/node/customer-support/ai-outcome-evaluation-output-schemas.js +1 -0
  2488. package/dist/node/customer-support/ai-outcome-evaluation-projection-schemas.js +1 -0
  2489. package/dist/node/customer-support/ai-outcome-evaluation-query-schemas.js +1 -0
  2490. package/dist/node/customer-support/ai-outcome-evaluation-schemas.js +1 -0
  2491. package/dist/node/customer-support/ai-outcome-evaluation.js +1 -0
  2492. package/dist/node/customer-support/ai-outcome-event-delivery-schemas.js +1 -0
  2493. package/dist/node/customer-support/ai-outcome-event-delivery.js +0 -0
  2494. package/dist/node/customer-support/ai-outcome-event-digest.js +1 -0
  2495. package/dist/node/customer-support/ai-outcome-learning-events.js +1 -0
  2496. package/dist/node/customer-support/ai-outcome-learning-operations.js +1 -0
  2497. package/dist/node/customer-support/ai-outcome-learning-schema-support.js +1 -0
  2498. package/dist/node/customer-support/ai-outcome-learning-schemas.js +1 -0
  2499. package/dist/node/customer-support/ai-outcome-learning.js +1 -0
  2500. package/dist/node/customer-support/attachment-safety-operations.js +1 -0
  2501. package/dist/node/customer-support/attachment-safety-schemas.js +1 -0
  2502. package/dist/node/customer-support/attachment-safety.js +13 -0
  2503. package/dist/node/customer-support/authos-session.js +10 -0
  2504. package/dist/node/customer-support/billing-entitlement-events.js +1 -0
  2505. package/dist/node/customer-support/billing-entitlement-input-schemas.js +1 -0
  2506. package/dist/node/customer-support/billing-entitlement-operations.js +1 -0
  2507. package/dist/node/customer-support/billing-entitlement-output-schemas.js +1 -0
  2508. package/dist/node/customer-support/billing-entitlement-schema-primitives.js +1 -0
  2509. package/dist/node/customer-support/billing-entitlements.js +1 -0
  2510. package/dist/node/customer-support/capability-matrix-evidence.js +1 -0
  2511. package/dist/node/customer-support/capability-matrix-registries.js +1 -0
  2512. package/dist/node/customer-support/capability-matrix-validation-evidence.js +1 -0
  2513. package/dist/node/customer-support/capability-matrix-validation-helpers.js +1 -0
  2514. package/dist/node/customer-support/capability-matrix-validation.js +1 -0
  2515. package/dist/node/customer-support/capability-matrix.js +3 -0
  2516. package/dist/node/customer-support/case-assignments.js +19 -0
  2517. package/dist/node/customer-support/case-cursor.js +8 -0
  2518. package/dist/node/customer-support/case-lifecycle-event-schemas.js +1 -0
  2519. package/dist/node/customer-support/case-lifecycle.js +8 -0
  2520. package/dist/node/customer-support/case-presence.js +11 -0
  2521. package/dist/node/customer-support/case-relations.js +14 -0
  2522. package/dist/node/customer-support/company-action-events.js +1 -0
  2523. package/dist/node/customer-support/company-action-input-schemas.js +1 -0
  2524. package/dist/node/customer-support/company-action-operations.js +1 -0
  2525. package/dist/node/customer-support/company-action-output-schemas.js +1 -0
  2526. package/dist/node/customer-support/company-action-plans.js +1 -0
  2527. package/dist/node/customer-support/company-action-schema-primitives.js +1 -0
  2528. package/dist/node/customer-support/core.js +1 -0
  2529. package/dist/node/customer-support/crypto-lifecycle.js +12 -0
  2530. package/dist/node/customer-support/crypto-rotation-drill-events.js +1 -0
  2531. package/dist/node/customer-support/crypto-rotation-drill-input-schemas.js +1 -0
  2532. package/dist/node/customer-support/crypto-rotation-drill-operations.js +1 -0
  2533. package/dist/node/customer-support/crypto-rotation-drill-output-schemas.js +1 -0
  2534. package/dist/node/customer-support/crypto-rotation-drill-schema-primitives.js +1 -0
  2535. package/dist/node/customer-support/crypto-rotation-drill.js +1 -0
  2536. package/dist/node/customer-support/crypto-rotation-operations.js +1 -0
  2537. package/dist/node/customer-support/crypto-rotation-schemas.js +1 -0
  2538. package/dist/node/customer-support/crypto-rotation.js +10 -0
  2539. package/dist/node/customer-support/csat-input-digest.js +1 -0
  2540. package/dist/node/customer-support/csat-invitation-job-schemas.js +1 -0
  2541. package/dist/node/customer-support/csat-invitation-jobs.js +0 -0
  2542. package/dist/node/customer-support/csat-operation-schemas.js +1 -0
  2543. package/dist/node/customer-support/csat-operations.js +1 -0
  2544. package/dist/node/customer-support/csat-schema-support.js +1 -0
  2545. package/dist/node/customer-support/csat-survey-events.js +1 -0
  2546. package/dist/node/customer-support/csat-survey-operations.js +1 -0
  2547. package/dist/node/customer-support/csat-survey-schemas.js +1 -0
  2548. package/dist/node/customer-support/csat-surveys.js +15 -0
  2549. package/dist/node/customer-support/csat.js +12 -0
  2550. package/dist/node/customer-support/customer-session-consent-operations.js +1 -0
  2551. package/dist/node/customer-support/customer-session-consent-output-schemas.js +1 -0
  2552. package/dist/node/customer-support/customer-session-consent-schemas.js +1 -0
  2553. package/dist/node/customer-support/customer-session-consent.js +14 -0
  2554. package/dist/node/customer-support/customer-session-schema-support.js +1 -0
  2555. package/dist/node/customer-support/customer-support.feature.js +3 -0
  2556. package/dist/node/customer-support/data-lifecycle-events.js +1 -0
  2557. package/dist/node/customer-support/data-lifecycle-input-schemas.js +1 -0
  2558. package/dist/node/customer-support/data-lifecycle-operations.js +1 -0
  2559. package/dist/node/customer-support/data-lifecycle-output-schemas.js +1 -0
  2560. package/dist/node/customer-support/data-lifecycle-ports.js +0 -0
  2561. package/dist/node/customer-support/data-lifecycle-schema-primitives.js +1 -0
  2562. package/dist/node/customer-support/data-lifecycle-schema-validation.js +1 -0
  2563. package/dist/node/customer-support/data-lifecycle.js +5 -0
  2564. package/dist/node/customer-support/errors.js +6 -0
  2565. package/dist/node/customer-support/event-validation.js +1 -0
  2566. package/dist/node/customer-support/events.js +1 -0
  2567. package/dist/node/customer-support/export-artifact-access-schemas.js +1 -0
  2568. package/dist/node/customer-support/export-artifact-access-validation.js +1 -0
  2569. package/dist/node/customer-support/export-artifact-access.js +1 -0
  2570. package/dist/node/customer-support/export-artifact-event-schemas.js +1 -0
  2571. package/dist/node/customer-support/export-artifact-lifecycle-schemas.js +1 -0
  2572. package/dist/node/customer-support/export-artifact-lifecycle.js +1 -0
  2573. package/dist/node/customer-support/export-artifact-storage.js +0 -0
  2574. package/dist/node/customer-support/export-events.js +1 -0
  2575. package/dist/node/customer-support/export-input-schemas.js +1 -0
  2576. package/dist/node/customer-support/export-operations.js +1 -0
  2577. package/dist/node/customer-support/export-output-schemas.js +1 -0
  2578. package/dist/node/customer-support/export-schemas.js +1 -0
  2579. package/dist/node/customer-support/exports.js +1 -0
  2580. package/dist/node/customer-support/identity-resolution-operations.js +1 -0
  2581. package/dist/node/customer-support/identity-resolution-output-schemas.js +1 -0
  2582. package/dist/node/customer-support/identity-resolution-schemas.js +1 -0
  2583. package/dist/node/customer-support/identity-resolution.js +18 -0
  2584. package/dist/node/customer-support/index.js +1 -0
  2585. package/dist/node/customer-support/internal-note-operations.js +1 -0
  2586. package/dist/node/customer-support/internal-note-schemas.js +1 -0
  2587. package/dist/node/customer-support/internal-notes.js +27 -0
  2588. package/dist/node/customer-support/job-runtime.js +13 -0
  2589. package/dist/node/customer-support/knowledge-authority-citation-schema.js +1 -0
  2590. package/dist/node/customer-support/knowledge-authority-digest.js +1 -0
  2591. package/dist/node/customer-support/knowledge-authority-operations.js +1 -0
  2592. package/dist/node/customer-support/knowledge-authority-schema-primitives.js +1 -0
  2593. package/dist/node/customer-support/knowledge-authority-schemas.js +1 -0
  2594. package/dist/node/customer-support/knowledge-authority.js +1 -0
  2595. package/dist/node/customer-support/live-chat-binding-activity-digest.js +1 -0
  2596. package/dist/node/customer-support/live-chat-continuity-events.js +1 -0
  2597. package/dist/node/customer-support/live-chat-continuity-operations.js +1 -0
  2598. package/dist/node/customer-support/live-chat-continuity-schemas.js +1 -0
  2599. package/dist/node/customer-support/live-chat-continuity.js +9 -0
  2600. package/dist/node/customer-support/membership-capabilities.js +1 -0
  2601. package/dist/node/customer-support/membership-operation-schemas.js +1 -0
  2602. package/dist/node/customer-support/membership-operations.js +1 -0
  2603. package/dist/node/customer-support/memberships.js +24 -0
  2604. package/dist/node/customer-support/metadata-operations.js +1 -0
  2605. package/dist/node/customer-support/metadata-output-schemas.js +1 -0
  2606. package/dist/node/customer-support/metadata-schema-validation.js +1 -0
  2607. package/dist/node/customer-support/metadata-schemas.js +1 -0
  2608. package/dist/node/customer-support/metadata.js +12 -0
  2609. package/dist/node/customer-support/notification-operations.js +1 -0
  2610. package/dist/node/customer-support/notification-output-schemas.js +1 -0
  2611. package/dist/node/customer-support/notification-schemas.js +1 -0
  2612. package/dist/node/customer-support/notifications.js +17 -0
  2613. package/dist/node/customer-support/opa-handoff-operations.js +1 -0
  2614. package/dist/node/customer-support/opa-handoff-schemas.js +1 -0
  2615. package/dist/node/customer-support/opa-handoffs.js +6 -0
  2616. package/dist/node/customer-support/operation-schemas.js +1 -0
  2617. package/dist/node/customer-support/operations.js +9 -0
  2618. package/dist/node/customer-support/platform-authority-binding-registry.js +1 -0
  2619. package/dist/node/customer-support/platform-authority-bindings.js +1 -0
  2620. package/dist/node/customer-support/platform-authority-doc.js +3 -0
  2621. package/dist/node/customer-support/platform-authority.js +1 -0
  2622. package/dist/node/customer-support/platform-ports.js +9 -0
  2623. package/dist/node/customer-support/policies.js +0 -0
  2624. package/dist/node/customer-support/ports.js +0 -0
  2625. package/dist/node/customer-support/provider.js +0 -0
  2626. package/dist/node/customer-support/report-export-events.js +1 -0
  2627. package/dist/node/customer-support/report-export-operations.js +1 -0
  2628. package/dist/node/customer-support/report-export-schemas.js +1 -0
  2629. package/dist/node/customer-support/report-export.js +0 -0
  2630. package/dist/node/customer-support/reporting-definition-schemas.js +1 -0
  2631. package/dist/node/customer-support/reporting-definition-validation.js +1 -0
  2632. package/dist/node/customer-support/reporting-doc.js +3 -0
  2633. package/dist/node/customer-support/reporting-event-schemas.js +1 -0
  2634. package/dist/node/customer-support/reporting-events.js +1 -0
  2635. package/dist/node/customer-support/reporting-metric-compatibility.js +1 -0
  2636. package/dist/node/customer-support/reporting-operations.js +1 -0
  2637. package/dist/node/customer-support/reporting-port.js +0 -0
  2638. package/dist/node/customer-support/reporting-query-schemas.js +1 -0
  2639. package/dist/node/customer-support/reporting-query-validation.js +1 -0
  2640. package/dist/node/customer-support/reporting-record-schemas.js +1 -0
  2641. package/dist/node/customer-support/reporting-schema-primitives.js +1 -0
  2642. package/dist/node/customer-support/reporting-schemas.js +1 -0
  2643. package/dist/node/customer-support/reporting.js +1 -0
  2644. package/dist/node/customer-support/routing-administration.js +12 -0
  2645. package/dist/node/customer-support/routing-operation-schemas.js +1 -0
  2646. package/dist/node/customer-support/routing-operations.js +1 -0
  2647. package/dist/node/customer-support/search-view-operations.js +1 -0
  2648. package/dist/node/customer-support/search-view-output-schemas.js +1 -0
  2649. package/dist/node/customer-support/search-view-schemas.js +1 -0
  2650. package/dist/node/customer-support/search-views.js +19 -0
  2651. package/dist/node/customer-support/service-profile-operations.js +1 -0
  2652. package/dist/node/customer-support/service-profile-output-schemas.js +1 -0
  2653. package/dist/node/customer-support/service-profile-party-schema.js +1 -0
  2654. package/dist/node/customer-support/service-profile-schemas.js +1 -0
  2655. package/dist/node/customer-support/service-profile.js +16 -0
  2656. package/dist/node/customer-support/signed-webhook-events.js +1 -0
  2657. package/dist/node/customer-support/signed-webhook-input-schemas.js +1 -0
  2658. package/dist/node/customer-support/signed-webhook-operations.js +1 -0
  2659. package/dist/node/customer-support/signed-webhook-output-schemas.js +1 -0
  2660. package/dist/node/customer-support/signed-webhook-ports.js +0 -0
  2661. package/dist/node/customer-support/signed-webhook-schema-primitives.js +1 -0
  2662. package/dist/node/customer-support/signed-webhook-schemas.js +1 -0
  2663. package/dist/node/customer-support/signed-webhook-value-validation.js +1 -0
  2664. package/dist/node/customer-support/signed-webhook-wire-schema.js +1 -0
  2665. package/dist/node/customer-support/signed-webhook-wire.js +1 -0
  2666. package/dist/node/customer-support/signed-webhooks.js +1 -0
  2667. package/dist/node/customer-support/skills-routing-operations.js +1 -0
  2668. package/dist/node/customer-support/skills-routing-output-schemas.js +1 -0
  2669. package/dist/node/customer-support/skills-routing-schemas.js +1 -0
  2670. package/dist/node/customer-support/skills-routing.js +16 -0
  2671. package/dist/node/customer-support/sla-administration.js +15 -0
  2672. package/dist/node/customer-support/sla-operation-schemas.js +1 -0
  2673. package/dist/node/customer-support/sla-operations.js +1 -0
  2674. package/dist/node/customer-support/sla-policy-operation-schemas.js +1 -0
  2675. package/dist/node/customer-support/sla-schema-validation.js +1 -0
  2676. package/dist/node/customer-support/slo-incident-alert-input-schemas.js +1 -0
  2677. package/dist/node/customer-support/slo-incident-alert.js +0 -0
  2678. package/dist/node/customer-support/slo-incident-assessment-input-schemas.js +1 -0
  2679. package/dist/node/customer-support/slo-incident-assessment-output-schemas.js +1 -0
  2680. package/dist/node/customer-support/slo-incident-doc.js +12 -0
  2681. package/dist/node/customer-support/slo-incident-event-delivery.js +0 -0
  2682. package/dist/node/customer-support/slo-incident-event-schemas.js +1 -0
  2683. package/dist/node/customer-support/slo-incident-event-types.js +0 -0
  2684. package/dist/node/customer-support/slo-incident-events.js +1 -0
  2685. package/dist/node/customer-support/slo-incident-input-schemas.js +1 -0
  2686. package/dist/node/customer-support/slo-incident-operation-output-schemas.js +1 -0
  2687. package/dist/node/customer-support/slo-incident-operations.js +1 -0
  2688. package/dist/node/customer-support/slo-incident-output-schemas.js +1 -0
  2689. package/dist/node/customer-support/slo-incident-ports.js +0 -0
  2690. package/dist/node/customer-support/slo-incident-profile.js +0 -0
  2691. package/dist/node/customer-support/slo-incident-results.js +0 -0
  2692. package/dist/node/customer-support/slo-incident-schema-support.js +1 -0
  2693. package/dist/node/customer-support/slo-incident.js +1 -0
  2694. package/dist/node/customer-support/slo-qualification-authorization-schemas.js +1 -0
  2695. package/dist/node/customer-support/slo-qualification-authorization.js +0 -0
  2696. package/dist/node/customer-support/slo-qualification-plan.js +1 -0
  2697. package/dist/node/customer-support/workspace-administration.js +12 -0
  2698. package/dist/node/customer-support/workspace-brand-locale-residency-events.js +1 -0
  2699. package/dist/node/customer-support/workspace-brand-locale-residency-operations.js +1 -0
  2700. package/dist/node/customer-support/workspace-brand-locale-residency-schema-validation.js +1 -0
  2701. package/dist/node/customer-support/workspace-brand-locale-residency-schemas.js +1 -0
  2702. package/dist/node/customer-support/workspace-brand-locale-residency.js +9 -0
  2703. package/dist/node/customer-support/workspace-migration-operations.js +1 -0
  2704. package/dist/node/customer-support/workspace-migration-schemas.js +1 -0
  2705. package/dist/node/customer-support/workspace-migration.js +8 -0
  2706. package/dist/node/customer-support/workspace-onboarding-operations.js +1 -0
  2707. package/dist/node/customer-support/workspace-onboarding-schemas.js +1 -0
  2708. package/dist/node/customer-support/workspace-onboarding.js +14 -0
  2709. package/dist/node/customer-support/workspace-operation-schemas.js +1 -0
  2710. package/dist/node/customer-support/workspace-operations.js +1 -0
  2711. package/dist/node/data-views/annotation.d.js +0 -0
  2712. package/dist/node/data-views/annotation.js +28 -0
  2713. package/dist/node/data-views/data-views.js +1 -0
  2714. package/dist/node/data-views/edit-form-resolution.d.js +0 -0
  2715. package/dist/node/data-views/edit-form-resolution.js +1 -0
  2716. package/dist/node/data-views/filter-scope.d.js +0 -0
  2717. package/dist/node/data-views/filter-scope.js +1 -0
  2718. package/dist/node/data-views/graph-export.d.js +0 -0
  2719. package/dist/node/data-views/graph-export.js +2 -0
  2720. package/dist/node/data-views/graph-filter-codec.d.js +0 -0
  2721. package/dist/node/data-views/graph-filter-codec.js +2 -0
  2722. package/dist/node/data-views/graph-filter-spec.d.js +0 -0
  2723. package/dist/node/data-views/graph-filter-spec.js +2 -0
  2724. package/dist/node/data-views/graph-spec.d.js +0 -0
  2725. package/dist/node/data-views/graph-spec.js +80 -0
  2726. package/dist/node/data-views/graph-subscription.d.js +0 -0
  2727. package/dist/node/data-views/graph-subscription.js +3 -0
  2728. package/dist/node/data-views/i18n-constraint.d.js +1 -0
  2729. package/dist/node/data-views/i18n-constraint.js +0 -0
  2730. package/dist/node/data-views/index.d.js +1 -0
  2731. package/dist/node/data-views/index.js +1 -0
  2732. package/dist/node/data-views/layout-spec.d.js +0 -0
  2733. package/dist/node/data-views/layout-spec.js +2 -0
  2734. package/dist/node/data-views/query-generator.js +1 -0
  2735. package/dist/node/data-views/registry.d.js +0 -0
  2736. package/dist/node/data-views/registry.js +1 -0
  2737. package/dist/node/data-views/report/contractVerificationTable.js +29 -0
  2738. package/dist/node/data-views/runtime.js +1 -0
  2739. package/dist/node/data-views/saved-view.d.js +0 -0
  2740. package/dist/node/data-views/saved-view.js +19 -0
  2741. package/dist/node/data-views/spec.d.js +0 -0
  2742. package/dist/node/data-views/spec.js +23 -0
  2743. package/dist/node/data-views/story-slide.d.js +0 -0
  2744. package/dist/node/data-views/story-slide.js +2 -0
  2745. package/dist/node/data-views/types.d.js +0 -0
  2746. package/dist/node/data-views/types.js +0 -0
  2747. package/dist/node/database/capabilities/databaseContext.capability.js +4 -0
  2748. package/dist/node/database/capabilities/index.js +1 -0
  2749. package/dist/node/database/commands/databaseMutationExecute.command.js +4 -0
  2750. package/dist/node/database/commands/databaseMutationPlan.command.js +4 -0
  2751. package/dist/node/database/commands/index.js +1 -0
  2752. package/dist/node/database/constants.js +1 -0
  2753. package/dist/node/database/contracts.js +1 -0
  2754. package/dist/node/database/database.feature.js +1 -0
  2755. package/dist/node/database/economic-evidence.js +1 -0
  2756. package/dist/node/database/index.js +1 -0
  2757. package/dist/node/database/queries/databaseDictionaryGet.query.js +4 -0
  2758. package/dist/node/database/queries/databaseMigrationsList.query.js +4 -0
  2759. package/dist/node/database/queries/databaseQueryReadonly.query.js +4 -0
  2760. package/dist/node/database/queries/databaseRelationalQuery.query.js +9 -0
  2761. package/dist/node/database/queries/databaseSchemaDescribe.query.js +4 -0
  2762. package/dist/node/database/queries/index.js +1 -0
  2763. package/dist/node/database/tables/capabilityEdges.table.js +1 -0
  2764. package/dist/node/database/tables/capabilityNodes.table.js +1 -0
  2765. package/dist/node/database/tables/databaseTables.js +1 -0
  2766. package/dist/node/database/tables/index.js +1 -0
  2767. package/dist/node/database/tables/organizationGrants.table.js +1 -0
  2768. package/dist/node/database/tables/organizationTenantBindings.table.js +1 -0
  2769. package/dist/node/database/tables/workspaces.table.js +1 -0
  2770. package/dist/node/database/views/databaseSchemas.dataView.js +4 -0
  2771. package/dist/node/database/views/index.js +1 -0
  2772. package/dist/node/decisioning/decisioning.feature.d.js +0 -0
  2773. package/dist/node/decisioning/decisioning.feature.js +5 -0
  2774. package/dist/node/decisioning/evaluation-events.d.js +1 -0
  2775. package/dist/node/decisioning/evaluation-events.js +1 -0
  2776. package/dist/node/decisioning/evaluation-evidence-administration-operations.d.js +0 -0
  2777. package/dist/node/decisioning/evaluation-evidence-administration-operations.js +1 -0
  2778. package/dist/node/decisioning/evaluation-evidence-administration-schemas.d.js +1 -0
  2779. package/dist/node/decisioning/evaluation-evidence-administration-schemas.js +1 -0
  2780. package/dist/node/decisioning/evaluation-evidence-administration.d.js +0 -0
  2781. package/dist/node/decisioning/evaluation-evidence-administration.js +0 -0
  2782. package/dist/node/decisioning/evaluation-evidence-output-schemas.d.js +1 -0
  2783. package/dist/node/decisioning/evaluation-evidence-output-schemas.js +1 -0
  2784. package/dist/node/decisioning/evaluation-input-schemas.d.js +1 -0
  2785. package/dist/node/decisioning/evaluation-input-schemas.js +1 -0
  2786. package/dist/node/decisioning/evaluation-output-primitives.d.js +1 -0
  2787. package/dist/node/decisioning/evaluation-output-primitives.js +1 -0
  2788. package/dist/node/decisioning/evaluation-output-schemas.d.js +1 -0
  2789. package/dist/node/decisioning/evaluation-output-schemas.js +1 -0
  2790. package/dist/node/decisioning/evaluation-schema-validation.d.js +0 -0
  2791. package/dist/node/decisioning/evaluation-schema-validation.js +1 -0
  2792. package/dist/node/decisioning/evaluation-trace-output-schema.d.js +0 -0
  2793. package/dist/node/decisioning/evaluation-trace-output-schema.js +1 -0
  2794. package/dist/node/decisioning/evaluation.d.js +0 -0
  2795. package/dist/node/decisioning/evaluation.js +0 -0
  2796. package/dist/node/decisioning/index.d.js +1 -0
  2797. package/dist/node/decisioning/index.js +1 -0
  2798. package/dist/node/decisioning/lifecycle-events.d.js +0 -0
  2799. package/dist/node/decisioning/lifecycle-events.js +1 -0
  2800. package/dist/node/decisioning/lifecycle-input-schemas.d.js +1 -0
  2801. package/dist/node/decisioning/lifecycle-input-schemas.js +1 -0
  2802. package/dist/node/decisioning/lifecycle-operations.d.js +1 -0
  2803. package/dist/node/decisioning/lifecycle-operations.js +7 -0
  2804. package/dist/node/decisioning/lifecycle-output-schemas.d.js +1 -0
  2805. package/dist/node/decisioning/lifecycle-output-schemas.js +1 -0
  2806. package/dist/node/decisioning/lifecycle.d.js +0 -0
  2807. package/dist/node/decisioning/lifecycle.js +1 -0
  2808. package/dist/node/decisioning/operation-metadata.d.js +0 -0
  2809. package/dist/node/decisioning/operation-metadata.js +1 -0
  2810. package/dist/node/decisioning/operations.d.js +0 -0
  2811. package/dist/node/decisioning/operations.js +1 -0
  2812. package/dist/node/decisioning/predicate-evaluation.d.js +0 -0
  2813. package/dist/node/decisioning/predicate-evaluation.js +1 -0
  2814. package/dist/node/decisioning/predicate.d.js +0 -0
  2815. package/dist/node/decisioning/predicate.js +1 -0
  2816. package/dist/node/decisioning/types.d.js +1 -0
  2817. package/dist/node/decisioning/types.js +0 -0
  2818. package/dist/node/decisioning/validation-diagnostics.d.js +0 -0
  2819. package/dist/node/decisioning/validation-diagnostics.js +1 -0
  2820. package/dist/node/decisioning/validation-policy.d.js +0 -0
  2821. package/dist/node/decisioning/validation-policy.js +1 -0
  2822. package/dist/node/decisioning/validation-shape.d.js +0 -0
  2823. package/dist/node/decisioning/validation-shape.js +1 -0
  2824. package/dist/node/decisioning/validation.d.js +1 -0
  2825. package/dist/node/decisioning/validation.js +1 -0
  2826. package/dist/node/delivery/authority.js +1 -0
  2827. package/dist/node/delivery/autonomy-context.js +1 -0
  2828. package/dist/node/delivery/chain.js +1 -0
  2829. package/dist/node/delivery/ci-budget.js +1 -0
  2830. package/dist/node/delivery/contracts.js +1 -0
  2831. package/dist/node/delivery/index.js +1 -0
  2832. package/dist/node/delivery/manual-author-attestation.js +1 -0
  2833. package/dist/node/delivery/primitives.d.js +0 -0
  2834. package/dist/node/delivery/primitives.js +1 -0
  2835. package/dist/node/delivery/project-profile.js +1 -0
  2836. package/dist/node/delivery/scoped-autonomy.js +1 -0
  2837. package/dist/node/design-packs/index.d.js +1 -0
  2838. package/dist/node/design-packs/index.js +1 -0
  2839. package/dist/node/design-packs/inheritance.d.js +0 -0
  2840. package/dist/node/design-packs/inheritance.js +1 -0
  2841. package/dist/node/design-packs/legacy-theme.d.js +0 -0
  2842. package/dist/node/design-packs/legacy-theme.js +1 -0
  2843. package/dist/node/design-packs/operations.d.js +1 -0
  2844. package/dist/node/design-packs/operations.js +3 -0
  2845. package/dist/node/design-packs/patch-validation.d.js +0 -0
  2846. package/dist/node/design-packs/patch-validation.js +1 -0
  2847. package/dist/node/design-packs/patch-value-validation.d.js +0 -0
  2848. package/dist/node/design-packs/patch-value-validation.js +1 -0
  2849. package/dist/node/design-packs/patches.d.js +1 -0
  2850. package/dist/node/design-packs/patches.js +1 -0
  2851. package/dist/node/design-packs/policy.d.js +0 -0
  2852. package/dist/node/design-packs/policy.js +0 -0
  2853. package/dist/node/design-packs/ports.d.js +0 -0
  2854. package/dist/node/design-packs/ports.js +0 -0
  2855. package/dist/node/design-packs/records.d.js +0 -0
  2856. package/dist/node/design-packs/records.js +0 -0
  2857. package/dist/node/design-packs/registry.d.js +0 -0
  2858. package/dist/node/design-packs/registry.js +1 -0
  2859. package/dist/node/design-packs/resolution-helpers.d.js +0 -0
  2860. package/dist/node/design-packs/resolution-helpers.js +1 -0
  2861. package/dist/node/design-packs/runtime.d.js +0 -0
  2862. package/dist/node/design-packs/runtime.js +1 -0
  2863. package/dist/node/design-packs/types.d.js +0 -0
  2864. package/dist/node/design-packs/types.js +1 -0
  2865. package/dist/node/design-packs/validation.d.js +0 -0
  2866. package/dist/node/design-packs/validation.js +1 -0
  2867. package/dist/node/docs/capabilities/documentationSystem.capability.d.js +0 -0
  2868. package/dist/node/docs/capabilities/documentationSystem.capability.js +1 -0
  2869. package/dist/node/docs/capabilities/index.d.js +1 -0
  2870. package/dist/node/docs/capabilities/index.js +1 -0
  2871. package/dist/node/docs/commands/docsGenerate.command.d.js +0 -0
  2872. package/dist/node/docs/commands/docsGenerate.command.js +4 -0
  2873. package/dist/node/docs/commands/docsPublish.command.d.js +0 -0
  2874. package/dist/node/docs/commands/docsPublish.command.js +4 -0
  2875. package/dist/node/docs/commands/index.d.js +1 -0
  2876. package/dist/node/docs/commands/index.js +1 -0
  2877. package/dist/node/docs/constants.d.js +0 -0
  2878. package/dist/node/docs/constants.js +1 -0
  2879. package/dist/node/docs/contracts.d.js +0 -0
  2880. package/dist/node/docs/contracts.js +1 -0
  2881. package/dist/node/docs/docblocks.manifest.generated.d.js +0 -0
  2882. package/dist/node/docs/docblocks.manifest.generated.js +3215 -0
  2883. package/dist/node/docs/docs.feature.d.js +0 -0
  2884. package/dist/node/docs/docs.feature.js +365 -0
  2885. package/dist/node/docs/events/docsGenerated.event.d.js +0 -0
  2886. package/dist/node/docs/events/docsGenerated.event.js +1 -0
  2887. package/dist/node/docs/events/docsPublished.event.d.js +0 -0
  2888. package/dist/node/docs/events/docsPublished.event.js +1 -0
  2889. package/dist/node/docs/events/index.d.js +1 -0
  2890. package/dist/node/docs/events/index.js +1 -0
  2891. package/dist/node/docs/forms/docsSearch.form.d.js +0 -0
  2892. package/dist/node/docs/forms/docsSearch.form.js +1 -0
  2893. package/dist/node/docs/forms/index.d.js +1 -0
  2894. package/dist/node/docs/forms/index.js +1 -0
  2895. package/dist/node/docs/index.d.js +1 -0
  2896. package/dist/node/docs/index.js +1 -0
  2897. package/dist/node/docs/manifest-builder.js +1 -0
  2898. package/dist/node/docs/manifest.d.js +0 -0
  2899. package/dist/node/docs/manifest.js +1 -0
  2900. package/dist/node/docs/presentations/docsLayout.presentation.d.js +0 -0
  2901. package/dist/node/docs/presentations/docsLayout.presentation.js +1 -0
  2902. package/dist/node/docs/presentations/docsReferencePage.presentation.d.js +0 -0
  2903. package/dist/node/docs/presentations/docsReferencePage.presentation.js +1 -0
  2904. package/dist/node/docs/presentations/index.d.js +1 -0
  2905. package/dist/node/docs/presentations/index.js +1 -0
  2906. package/dist/node/docs/presentations.d.js +0 -0
  2907. package/dist/node/docs/presentations.js +1 -0
  2908. package/dist/node/docs/queries/contractReference.query.d.js +0 -0
  2909. package/dist/node/docs/queries/contractReference.query.js +4 -0
  2910. package/dist/node/docs/queries/docsIndex.query.d.js +0 -0
  2911. package/dist/node/docs/queries/docsIndex.query.js +4 -0
  2912. package/dist/node/docs/queries/index.d.js +1 -0
  2913. package/dist/node/docs/queries/index.js +1 -0
  2914. package/dist/node/docs/registry.d.js +0 -0
  2915. package/dist/node/docs/registry.js +1 -0
  2916. package/dist/node/docs/types.d.js +0 -0
  2917. package/dist/node/docs/types.js +0 -0
  2918. package/dist/node/docs/views/contractReference.dataView.d.js +0 -0
  2919. package/dist/node/docs/views/contractReference.dataView.js +1 -0
  2920. package/dist/node/docs/views/docsIndex.dataView.d.js +0 -0
  2921. package/dist/node/docs/views/docsIndex.dataView.js +1 -0
  2922. package/dist/node/docs/views/exampleCatalog.dataView.d.js +0 -0
  2923. package/dist/node/docs/views/exampleCatalog.dataView.js +4 -0
  2924. package/dist/node/docs/views/index.d.js +1 -0
  2925. package/dist/node/docs/views/index.js +1 -0
  2926. package/dist/node/editions/companyos-scenario.js +1 -0
  2927. package/dist/node/editions/connect-gates.js +1 -0
  2928. package/dist/node/editions/delivery-audit.js +1 -0
  2929. package/dist/node/editions/docs.js +45 -0
  2930. package/dist/node/editions/editor/fixtures.js +1 -0
  2931. package/dist/node/editions/editor/index.js +1 -0
  2932. package/dist/node/editions/editor/resolver.js +1 -0
  2933. package/dist/node/editions/editor/schema.js +1 -0
  2934. package/dist/node/editions/editor/types.js +0 -0
  2935. package/dist/node/editions/enterprise-guardrails.js +1 -0
  2936. package/dist/node/editions/evidence-boundary.js +1 -0
  2937. package/dist/node/editions/experiments.js +1 -0
  2938. package/dist/node/editions/fixtures.js +1 -0
  2939. package/dist/node/editions/full-loop-gate.js +1 -0
  2940. package/dist/node/editions/harness-evidence.js +1 -0
  2941. package/dist/node/editions/improvement-types.js +0 -0
  2942. package/dist/node/editions/improvement.js +1 -0
  2943. package/dist/node/editions/index.js +1 -0
  2944. package/dist/node/editions/intelligence-coach.js +1 -0
  2945. package/dist/node/editions/knowledge-provenance.js +1 -0
  2946. package/dist/node/editions/ontology-boundary.js +1 -0
  2947. package/dist/node/editions/operation-specs.js +1 -0
  2948. package/dist/node/editions/rollback.js +1 -0
  2949. package/dist/node/editions/runtime-wiring.js +1 -0
  2950. package/dist/node/editions/schema.js +1 -0
  2951. package/dist/node/editions/storage-file.js +1 -0
  2952. package/dist/node/editions/storage-hybrid.js +1 -0
  2953. package/dist/node/editions/storage-parity.js +1 -0
  2954. package/dist/node/editions/storage.js +1 -0
  2955. package/dist/node/editions/types.js +0 -0
  2956. package/dist/node/editions/validation.js +1 -0
  2957. package/dist/node/entities/compatibility.js +20 -0
  2958. package/dist/node/entities/defineContractEdge.d.js +0 -0
  2959. package/dist/node/entities/defineContractEdge.js +41 -0
  2960. package/dist/node/entities/defineContractEntity.d.js +0 -0
  2961. package/dist/node/entities/defineContractEntity.js +80 -0
  2962. package/dist/node/entities/index.js +1 -0
  2963. package/dist/node/entities/registry.d.js +0 -0
  2964. package/dist/node/entities/registry.js +1 -0
  2965. package/dist/node/entities/types.d.js +0 -0
  2966. package/dist/node/entities/types.js +1 -0
  2967. package/dist/node/events.d.js +0 -0
  2968. package/dist/node/events.js +1 -0
  2969. package/dist/node/examples/define.js +1 -0
  2970. package/dist/node/examples/index.js +141 -0
  2971. package/dist/node/examples/registry.js +1 -0
  2972. package/dist/node/examples/schema.js +1 -0
  2973. package/dist/node/examples/types.js +1 -0
  2974. package/dist/node/examples/validation.js +1 -0
  2975. package/dist/node/experience-coverage/index.js +1 -0
  2976. package/dist/node/experience-coverage/scoring.js +1 -0
  2977. package/dist/node/experience-coverage/types.js +1 -0
  2978. package/dist/node/experience-coverage/validation.js +1 -0
  2979. package/dist/node/experiments/evaluator.js +1 -0
  2980. package/dist/node/experiments/spec-resolver.d.js +0 -0
  2981. package/dist/node/experiments/spec-resolver.js +0 -0
  2982. package/dist/node/experiments/spec.d.js +0 -0
  2983. package/dist/node/experiments/spec.js +128 -0
  2984. package/dist/node/feature-hubs/federation.js +1 -0
  2985. package/dist/node/feature-hubs/index.js +1 -0
  2986. package/dist/node/feature-hubs/policy.js +0 -0
  2987. package/dist/node/feature-hubs/ports.js +0 -0
  2988. package/dist/node/feature-hubs/registry.js +0 -0
  2989. package/dist/node/feature-hubs/social-intent-ports.js +0 -0
  2990. package/dist/node/feature-hubs/social-media.js +0 -0
  2991. package/dist/node/feature-hubs/social-provider-v2.js +14 -0
  2992. package/dist/node/feature-hubs/social-scheduling-operations.js +17 -0
  2993. package/dist/node/feature-hubs/social-scheduling.js +1 -0
  2994. package/dist/node/feature-hubs/types.js +1 -0
  2995. package/dist/node/features/index.d.js +1 -0
  2996. package/dist/node/features/index.js +1 -0
  2997. package/dist/node/features/install.d.js +0 -0
  2998. package/dist/node/features/install.js +1 -0
  2999. package/dist/node/features/registry.d.js +0 -0
  3000. package/dist/node/features/registry.js +1 -0
  3001. package/dist/node/features/types.d.js +0 -0
  3002. package/dist/node/features/types.js +62 -0
  3003. package/dist/node/features/validate-bundle-requires.d.js +1 -0
  3004. package/dist/node/features/validate-bundle-requires.js +1 -0
  3005. package/dist/node/features/validation.d.js +0 -0
  3006. package/dist/node/features/validation.js +1 -0
  3007. package/dist/node/forms/entity-bound-forms.d.js +0 -0
  3008. package/dist/node/forms/entity-bound-forms.js +30 -0
  3009. package/dist/node/forms/entity-bound.js +1 -0
  3010. package/dist/node/forms/forms.d.js +1 -0
  3011. package/dist/node/forms/forms.js +1 -0
  3012. package/dist/node/forms/index.d.js +1 -0
  3013. package/dist/node/forms/index.js +1 -0
  3014. package/dist/node/forms/marketing.forms.d.js +0 -0
  3015. package/dist/node/forms/marketing.forms.js +1 -0
  3016. package/dist/node/forms/platform-ai-validation.d.js +0 -0
  3017. package/dist/node/forms/platform-ai-validation.js +1 -0
  3018. package/dist/node/forms/platform-capability.d.js +0 -0
  3019. package/dist/node/forms/platform-capability.js +1 -0
  3020. package/dist/node/forms/platform-compiler.d.js +0 -0
  3021. package/dist/node/forms/platform-compiler.js +1 -0
  3022. package/dist/node/forms/platform-decision-graph.d.js +0 -0
  3023. package/dist/node/forms/platform-decision-graph.js +1 -0
  3024. package/dist/node/forms/platform-docs.d.js +0 -0
  3025. package/dist/node/forms/platform-docs.js +1 -0
  3026. package/dist/node/forms/platform-document-doc.d.js +0 -0
  3027. package/dist/node/forms/platform-document-doc.js +1 -0
  3028. package/dist/node/forms/platform-document.d.js +0 -0
  3029. package/dist/node/forms/platform-document.js +1 -0
  3030. package/dist/node/forms/platform-ecosystem-operations.d.js +0 -0
  3031. package/dist/node/forms/platform-ecosystem-operations.js +1 -0
  3032. package/dist/node/forms/platform-features.d.js +0 -0
  3033. package/dist/node/forms/platform-features.js +1 -0
  3034. package/dist/node/forms/platform-form-spec-serialization.d.js +0 -0
  3035. package/dist/node/forms/platform-form-spec-serialization.js +1 -0
  3036. package/dist/node/forms/platform-form-spec-validation.d.js +0 -0
  3037. package/dist/node/forms/platform-form-spec-validation.js +1 -0
  3038. package/dist/node/forms/platform-locale-validation.d.js +0 -0
  3039. package/dist/node/forms/platform-locale-validation.js +1 -0
  3040. package/dist/node/forms/platform-operation-catalog.d.js +0 -0
  3041. package/dist/node/forms/platform-operation-catalog.js +1 -0
  3042. package/dist/node/forms/platform-operation-errors.d.js +0 -0
  3043. package/dist/node/forms/platform-operation-errors.js +1 -0
  3044. package/dist/node/forms/platform-operations.d.js +0 -0
  3045. package/dist/node/forms/platform-operations.js +1 -0
  3046. package/dist/node/forms/platform-product.d.js +0 -0
  3047. package/dist/node/forms/platform-product.js +1 -0
  3048. package/dist/node/forms/platform-registry.d.js +0 -0
  3049. package/dist/node/forms/platform-registry.js +1 -0
  3050. package/dist/node/forms/platform-response-extension.d.js +0 -0
  3051. package/dist/node/forms/platform-response-extension.js +0 -0
  3052. package/dist/node/forms/platform-validation.d.js +0 -0
  3053. package/dist/node/forms/platform-validation.js +1 -0
  3054. package/dist/node/forms/richFieldsShowcase.form.d.js +0 -0
  3055. package/dist/node/forms/richFieldsShowcase.form.js +1 -0
  3056. package/dist/node/graph-artifacts/codebase.js +1 -0
  3057. package/dist/node/graph-artifacts/common.js +1 -0
  3058. package/dist/node/graph-artifacts/contracts.js +1 -0
  3059. package/dist/node/graph-artifacts/drift.js +1 -0
  3060. package/dist/node/graph-artifacts/generation.js +1 -0
  3061. package/dist/node/graph-artifacts/index.js +1 -0
  3062. package/dist/node/graph-artifacts/links.js +1 -0
  3063. package/dist/node/harness/capabilities/harnessEvaluation.capability.js +1 -0
  3064. package/dist/node/harness/capabilities/harnessEvidence.capability.js +1 -0
  3065. package/dist/node/harness/capabilities/harnessExecution.capability.js +1 -0
  3066. package/dist/node/harness/capabilities/harnessTargeting.capability.js +1 -0
  3067. package/dist/node/harness/capabilities/index.js +1 -0
  3068. package/dist/node/harness/commands/harnessEvaluationRun.command.js +1 -0
  3069. package/dist/node/harness/commands/harnessRunCancel.command.js +1 -0
  3070. package/dist/node/harness/commands/harnessRunStart.command.js +1 -0
  3071. package/dist/node/harness/commands/index.js +1 -0
  3072. package/dist/node/harness/constants.js +1 -0
  3073. package/dist/node/harness/contracts.js +1 -0
  3074. package/dist/node/harness/events/harnessEvaluationCompleted.event.js +1 -0
  3075. package/dist/node/harness/events/harnessEvidenceCaptured.event.js +1 -0
  3076. package/dist/node/harness/events/harnessRunCompleted.event.js +1 -0
  3077. package/dist/node/harness/events/harnessRunFailed.event.js +1 -0
  3078. package/dist/node/harness/events/harnessRunStarted.event.js +1 -0
  3079. package/dist/node/harness/events/harnessStepBlocked.event.js +1 -0
  3080. package/dist/node/harness/events/harnessStepCompleted.event.js +1 -0
  3081. package/dist/node/harness/events/harnessStepStarted.event.js +1 -0
  3082. package/dist/node/harness/events/index.js +1 -0
  3083. package/dist/node/harness/harness.feature.js +1 -0
  3084. package/dist/node/harness/index.js +1 -0
  3085. package/dist/node/harness/models.js +1 -0
  3086. package/dist/node/harness/presentations/harnessRunAudit.presentation.js +1 -0
  3087. package/dist/node/harness/presentations/index.js +1 -0
  3088. package/dist/node/harness/queries/harnessEvaluationGet.query.js +1 -0
  3089. package/dist/node/harness/queries/harnessEvidenceGet.query.js +1 -0
  3090. package/dist/node/harness/queries/harnessEvidenceList.query.js +1 -0
  3091. package/dist/node/harness/queries/harnessRunGet.query.js +1 -0
  3092. package/dist/node/harness/queries/harnessTargetResolve.query.js +1 -0
  3093. package/dist/node/harness/queries/index.js +1 -0
  3094. package/dist/node/harness/types.js +1 -0
  3095. package/dist/node/harness/views/harnessEvaluations.dataView.js +1 -0
  3096. package/dist/node/harness/views/harnessEvidence.dataView.js +1 -0
  3097. package/dist/node/harness/views/harnessRuns.dataView.js +1 -0
  3098. package/dist/node/harness/views/index.js +1 -0
  3099. package/dist/node/index.js +1 -0
  3100. package/dist/node/install.d.js +1 -0
  3101. package/dist/node/install.js +1 -0
  3102. package/dist/node/job-application/constants.js +1 -0
  3103. package/dist/node/job-application/events.js +1 -0
  3104. package/dist/node/job-application/index.js +1 -0
  3105. package/dist/node/job-application/operation-definitions.js +1 -0
  3106. package/dist/node/job-application/operations.js +1 -0
  3107. package/dist/node/job-application/registry.js +1 -0
  3108. package/dist/node/job-application/transport.js +1 -0
  3109. package/dist/node/job-application/types.js +1 -0
  3110. package/dist/node/job-application/validation.js +1 -0
  3111. package/dist/node/jobs/define-job.js +1 -0
  3112. package/dist/node/jobs/durable-queue-v2/admission-validation.js +1 -0
  3113. package/dist/node/jobs/durable-queue-v2/capability.js +1 -0
  3114. package/dist/node/jobs/durable-queue-v2/digests.js +1 -0
  3115. package/dist/node/jobs/durable-queue-v2/envelope.js +1 -0
  3116. package/dist/node/jobs/durable-queue-v2/index.js +1 -0
  3117. package/dist/node/jobs/durable-queue-v2/lifecycle.js +1 -0
  3118. package/dist/node/jobs/durable-queue-v2/primitives.js +1 -0
  3119. package/dist/node/jobs/durable-queue-v2/test-fixtures.js +1 -0
  3120. package/dist/node/jobs/durable-queue-v2/validation.js +1 -0
  3121. package/dist/node/jobs/durable-queue-v2/workload.js +1 -0
  3122. package/dist/node/jobs/index.js +1 -0
  3123. package/dist/node/jobs/queue.d.js +0 -0
  3124. package/dist/node/jobs/queue.js +1 -0
  3125. package/dist/node/jobs/spec.d.js +0 -0
  3126. package/dist/node/jobs/spec.js +1 -0
  3127. package/dist/node/jsonschema.js +1 -0
  3128. package/dist/node/knowledge/binding.d.js +0 -0
  3129. package/dist/node/knowledge/binding.js +0 -0
  3130. package/dist/node/knowledge/index.js +1 -0
  3131. package/dist/node/knowledge/knowledge.capability.js +1 -0
  3132. package/dist/node/knowledge/knowledge.feature.js +1 -0
  3133. package/dist/node/knowledge/operation-models.js +1 -0
  3134. package/dist/node/knowledge/operations.js +1 -0
  3135. package/dist/node/knowledge/registry.d.js +0 -0
  3136. package/dist/node/knowledge/registry.js +1 -0
  3137. package/dist/node/knowledge/source.d.js +0 -0
  3138. package/dist/node/knowledge/source.js +1 -0
  3139. package/dist/node/knowledge/spaces/email-threads.js +1 -0
  3140. package/dist/node/knowledge/spaces/financial-docs.js +1 -0
  3141. package/dist/node/knowledge/spaces/financial-overview.js +1 -0
  3142. package/dist/node/knowledge/spaces/index.js +1 -0
  3143. package/dist/node/knowledge/spaces/product-canon.js +1 -0
  3144. package/dist/node/knowledge/spaces/support-faq.js +1 -0
  3145. package/dist/node/knowledge/spaces/uploaded-docs.js +1 -0
  3146. package/dist/node/knowledge/spec.d.js +1 -0
  3147. package/dist/node/knowledge/spec.js +172 -0
  3148. package/dist/node/llm/exporters.js +9 -0
  3149. package/dist/node/llm/index.js +1 -0
  3150. package/dist/node/llm/prompts.js +237 -0
  3151. package/dist/node/llm/types.js +0 -0
  3152. package/dist/node/markdown.js +3 -0
  3153. package/dist/node/marketing/fixtures.js +1 -0
  3154. package/dist/node/marketing/forms.js +1 -0
  3155. package/dist/node/marketing/index.js +1 -0
  3156. package/dist/node/marketing/types.js +0 -0
  3157. package/dist/node/marketing/validation.js +3 -0
  3158. package/dist/node/migrations.js +69 -0
  3159. package/dist/node/model-registry.js +1 -0
  3160. package/dist/node/navigation/index.js +1 -0
  3161. package/dist/node/navigation/nav-graph.js +69 -0
  3162. package/dist/node/navigation/nav-surface.js +70 -0
  3163. package/dist/node/navigation/registry.js +1 -0
  3164. package/dist/node/notifications/contracts.js +1 -0
  3165. package/dist/node/notifications/index.js +1 -0
  3166. package/dist/node/notifications/notifications.capability.js +1 -0
  3167. package/dist/node/notifications/notifications.feature.js +1 -0
  3168. package/dist/node/observability/database-signals.js +1 -0
  3169. package/dist/node/observability/evidence-record.js +1 -0
  3170. package/dist/node/observability/index.js +1 -0
  3171. package/dist/node/observability/signal-spec.js +1 -0
  3172. package/dist/node/onboarding-base.js +1 -0
  3173. package/dist/node/ontology/autonomous-work-order.fixture.js +1 -0
  3174. package/dist/node/ontology/companyos.js +1 -0
  3175. package/dist/node/ontology/defineOntologyEdge.js +1 -0
  3176. package/dist/node/ontology/defineOntologyNode.js +1 -0
  3177. package/dist/node/ontology/evidence.js +1 -0
  3178. package/dist/node/ontology/graph.js +1 -0
  3179. package/dist/node/ontology/index.js +1 -0
  3180. package/dist/node/ontology/kinds.js +1 -0
  3181. package/dist/node/ontology/ref.js +1 -0
  3182. package/dist/node/ontology/registry.js +1 -0
  3183. package/dist/node/ontology/safety.js +1 -0
  3184. package/dist/node/ontology/types.js +0 -0
  3185. package/dist/node/openapi.js +38 -0
  3186. package/dist/node/operations/agent/archive.command.d.js +0 -0
  3187. package/dist/node/operations/agent/archive.command.js +1 -0
  3188. package/dist/node/operations/agent/assign-tool.command.d.js +0 -0
  3189. package/dist/node/operations/agent/assign-tool.command.js +1 -0
  3190. package/dist/node/operations/agent/clone.command.d.js +0 -0
  3191. package/dist/node/operations/agent/clone.command.js +1 -0
  3192. package/dist/node/operations/agent/create.command.d.js +0 -0
  3193. package/dist/node/operations/agent/create.command.js +1 -0
  3194. package/dist/node/operations/agent/fleet-health.query.d.js +0 -0
  3195. package/dist/node/operations/agent/fleet-health.query.js +1 -0
  3196. package/dist/node/operations/agent/get.query.d.js +0 -0
  3197. package/dist/node/operations/agent/get.query.js +1 -0
  3198. package/dist/node/operations/agent/import-memory.command.js +1 -0
  3199. package/dist/node/operations/agent/list.query.d.js +0 -0
  3200. package/dist/node/operations/agent/list.query.js +1 -0
  3201. package/dist/node/operations/agent/pause.command.d.js +0 -0
  3202. package/dist/node/operations/agent/pause.command.js +1 -0
  3203. package/dist/node/operations/agent/set-autonomy.command.d.js +0 -0
  3204. package/dist/node/operations/agent/set-autonomy.command.js +1 -0
  3205. package/dist/node/operations/agent/set-risk-tier.command.d.js +0 -0
  3206. package/dist/node/operations/agent/set-risk-tier.command.js +1 -0
  3207. package/dist/node/operations/agent/shared-schemas.d.js +0 -0
  3208. package/dist/node/operations/agent/shared-schemas.js +1 -0
  3209. package/dist/node/operations/agent/start.command.d.js +0 -0
  3210. package/dist/node/operations/agent/start.command.js +1 -0
  3211. package/dist/node/operations/agent/stop.command.d.js +0 -0
  3212. package/dist/node/operations/agent/stop.command.js +1 -0
  3213. package/dist/node/operations/agent/update.command.d.js +0 -0
  3214. package/dist/node/operations/agent/update.command.js +1 -0
  3215. package/dist/node/operations/approval.d.js +0 -0
  3216. package/dist/node/operations/approval.js +1 -0
  3217. package/dist/node/operations/audit/event.export.command.d.js +0 -0
  3218. package/dist/node/operations/audit/event.export.command.js +1 -0
  3219. package/dist/node/operations/audit/event.get.query.d.js +0 -0
  3220. package/dist/node/operations/audit/event.get.query.js +1 -0
  3221. package/dist/node/operations/audit/event.list.query.d.js +0 -0
  3222. package/dist/node/operations/audit/event.list.query.js +1 -0
  3223. package/dist/node/operations/audit/evidence.attach.command.d.js +0 -0
  3224. package/dist/node/operations/audit/evidence.attach.command.js +1 -0
  3225. package/dist/node/operations/audit/pipeline.health.query.d.js +0 -0
  3226. package/dist/node/operations/audit/pipeline.health.query.js +1 -0
  3227. package/dist/node/operations/audit/shared-schemas.d.js +0 -0
  3228. package/dist/node/operations/audit/shared-schemas.js +1 -0
  3229. package/dist/node/operations/ceremony-authority.d.js +0 -0
  3230. package/dist/node/operations/ceremony-authority.js +1 -0
  3231. package/dist/node/operations/coach/agent-suggest-tool.command.d.js +0 -0
  3232. package/dist/node/operations/coach/agent-suggest-tool.command.js +1 -0
  3233. package/dist/node/operations/coach/governance-suggest-constraint.command.d.js +0 -0
  3234. package/dist/node/operations/coach/governance-suggest-constraint.command.js +1 -0
  3235. package/dist/node/operations/coach/review-summarize.command.d.js +0 -0
  3236. package/dist/node/operations/coach/review-summarize.command.js +1 -0
  3237. package/dist/node/operations/coach/shared-schemas.d.js +0 -0
  3238. package/dist/node/operations/coach/shared-schemas.js +1 -0
  3239. package/dist/node/operations/coach/workflow-suggest-step.command.d.js +0 -0
  3240. package/dist/node/operations/coach/workflow-suggest-step.command.js +1 -0
  3241. package/dist/node/operations/economic-evidence.d.js +0 -0
  3242. package/dist/node/operations/economic-evidence.js +1 -0
  3243. package/dist/node/operations/fleet/health-snapshot.query.d.js +0 -0
  3244. package/dist/node/operations/fleet/health-snapshot.query.js +1 -0
  3245. package/dist/node/operations/fleet/metrics-summary.query.d.js +0 -0
  3246. package/dist/node/operations/fleet/metrics-summary.query.js +1 -0
  3247. package/dist/node/operations/fleet/roi-snapshot.query.d.js +0 -0
  3248. package/dist/node/operations/fleet/roi-snapshot.query.js +1 -0
  3249. package/dist/node/operations/fleet/shared-schemas.d.js +0 -0
  3250. package/dist/node/operations/fleet/shared-schemas.js +1 -0
  3251. package/dist/node/operations/governance/constraint.add.command.d.js +1 -0
  3252. package/dist/node/operations/governance/constraint.add.command.js +1 -0
  3253. package/dist/node/operations/governance/constraint.remove.command.d.js +0 -0
  3254. package/dist/node/operations/governance/constraint.remove.command.js +1 -0
  3255. package/dist/node/operations/governance/notification.dispatch.command.d.js +0 -0
  3256. package/dist/node/operations/governance/notification.dispatch.command.js +1 -0
  3257. package/dist/node/operations/governance/policy.get.query.d.js +0 -0
  3258. package/dist/node/operations/governance/policy.get.query.js +1 -0
  3259. package/dist/node/operations/governance/policy.health.query.d.js +0 -0
  3260. package/dist/node/operations/governance/policy.health.query.js +1 -0
  3261. package/dist/node/operations/governance/policy.list.query.d.js +1 -0
  3262. package/dist/node/operations/governance/policy.list.query.js +1 -0
  3263. package/dist/node/operations/governance/policy.simulate.query.d.js +0 -0
  3264. package/dist/node/operations/governance/policy.simulate.query.js +1 -0
  3265. package/dist/node/operations/governance/policy.update.command.d.js +1 -0
  3266. package/dist/node/operations/governance/policy.update.command.js +1 -0
  3267. package/dist/node/operations/governance/shared-schemas.d.js +0 -0
  3268. package/dist/node/operations/governance/shared-schemas.js +1 -0
  3269. package/dist/node/operations/index.d.js +1 -0
  3270. package/dist/node/operations/index.js +1 -0
  3271. package/dist/node/operations/integrations/audit.list_for_integration.command.d.js +1 -0
  3272. package/dist/node/operations/integrations/audit.list_for_integration.command.js +1 -0
  3273. package/dist/node/operations/integrations/config.get.command.d.js +0 -0
  3274. package/dist/node/operations/integrations/config.get.command.js +1 -0
  3275. package/dist/node/operations/integrations/config.update.command.d.js +0 -0
  3276. package/dist/node/operations/integrations/config.update.command.js +1 -0
  3277. package/dist/node/operations/integrations/connections.list.command.d.js +1 -0
  3278. package/dist/node/operations/integrations/connections.list.command.js +1 -0
  3279. package/dist/node/operations/integrations/credentials.list.command.d.js +1 -0
  3280. package/dist/node/operations/integrations/credentials.list.command.js +1 -0
  3281. package/dist/node/operations/integrations/credentials.request_rotation.command.d.js +0 -0
  3282. package/dist/node/operations/integrations/credentials.request_rotation.command.js +1 -0
  3283. package/dist/node/operations/integrations/credentials.revoke.command.d.js +0 -0
  3284. package/dist/node/operations/integrations/credentials.revoke.command.js +1 -0
  3285. package/dist/node/operations/integrations/credentials.rotate.command.d.js +0 -0
  3286. package/dist/node/operations/integrations/credentials.rotate.command.js +1 -0
  3287. package/dist/node/operations/integrations/index.js +1 -0
  3288. package/dist/node/operations/integrations/integrations.connect.command.d.js +0 -0
  3289. package/dist/node/operations/integrations/integrations.connect.command.js +1 -0
  3290. package/dist/node/operations/integrations/integrations.disconnect.command.d.js +0 -0
  3291. package/dist/node/operations/integrations/integrations.disconnect.command.js +1 -0
  3292. package/dist/node/operations/integrations/integrations.get.command.d.js +0 -0
  3293. package/dist/node/operations/integrations/integrations.get.command.js +1 -0
  3294. package/dist/node/operations/integrations/integrations.list.command.d.js +1 -0
  3295. package/dist/node/operations/integrations/integrations.list.command.js +1 -0
  3296. package/dist/node/operations/integrations/registry.d.js +0 -0
  3297. package/dist/node/operations/integrations/registry.js +1 -0
  3298. package/dist/node/operations/integrations/secrets.link.command.d.js +0 -0
  3299. package/dist/node/operations/integrations/secrets.link.command.js +1 -0
  3300. package/dist/node/operations/integrations/secrets.list.command.d.js +1 -0
  3301. package/dist/node/operations/integrations/secrets.list.command.js +1 -0
  3302. package/dist/node/operations/integrations/secrets.reveal_once_audit_only.command.d.js +0 -0
  3303. package/dist/node/operations/integrations/secrets.reveal_once_audit_only.command.js +1 -0
  3304. package/dist/node/operations/integrations/secrets.unlink.command.d.js +0 -0
  3305. package/dist/node/operations/integrations/secrets.unlink.command.js +1 -0
  3306. package/dist/node/operations/integrations/shared-schemas.d.js +0 -0
  3307. package/dist/node/operations/integrations/shared-schemas.js +1 -0
  3308. package/dist/node/operations/integrations/syncs.list.command.d.js +1 -0
  3309. package/dist/node/operations/integrations/syncs.list.command.js +1 -0
  3310. package/dist/node/operations/integrations/syncs.pause.command.d.js +0 -0
  3311. package/dist/node/operations/integrations/syncs.pause.command.js +1 -0
  3312. package/dist/node/operations/integrations/syncs.resume.command.d.js +0 -0
  3313. package/dist/node/operations/integrations/syncs.resume.command.js +1 -0
  3314. package/dist/node/operations/integrations/syncs.run_now.command.d.js +0 -0
  3315. package/dist/node/operations/integrations/syncs.run_now.command.js +1 -0
  3316. package/dist/node/operations/integrations/syncs.update_schedule.command.d.js +0 -0
  3317. package/dist/node/operations/integrations/syncs.update_schedule.command.js +1 -0
  3318. package/dist/node/operations/marketing.d.js +1 -0
  3319. package/dist/node/operations/marketing.handlers.d.js +0 -0
  3320. package/dist/node/operations/marketing.handlers.js +1 -0
  3321. package/dist/node/operations/marketing.js +14 -0
  3322. package/dist/node/operations/operation.d.js +0 -0
  3323. package/dist/node/operations/operation.js +1 -0
  3324. package/dist/node/operations/reference-detail.js +1 -0
  3325. package/dist/node/operations/reference-resolve.js +3 -0
  3326. package/dist/node/operations/registry.agent.d.js +0 -0
  3327. package/dist/node/operations/registry.agent.js +1 -0
  3328. package/dist/node/operations/registry.audit.d.js +0 -0
  3329. package/dist/node/operations/registry.audit.js +1 -0
  3330. package/dist/node/operations/registry.coach.d.js +0 -0
  3331. package/dist/node/operations/registry.coach.js +1 -0
  3332. package/dist/node/operations/registry.d.js +1 -0
  3333. package/dist/node/operations/registry.domains.d.js +0 -0
  3334. package/dist/node/operations/registry.domains.js +1 -0
  3335. package/dist/node/operations/registry.fleet.d.js +0 -0
  3336. package/dist/node/operations/registry.fleet.js +1 -0
  3337. package/dist/node/operations/registry.governance.d.js +0 -0
  3338. package/dist/node/operations/registry.governance.js +1 -0
  3339. package/dist/node/operations/registry.js +1 -0
  3340. package/dist/node/operations/registry.review.d.js +0 -0
  3341. package/dist/node/operations/registry.review.js +1 -0
  3342. package/dist/node/operations/registry.workflow.d.js +0 -0
  3343. package/dist/node/operations/registry.workflow.js +1 -0
  3344. package/dist/node/operations/report/getContractVerificationStatus.js +1 -0
  3345. package/dist/node/operations/report/index.js +1 -0
  3346. package/dist/node/operations/review/commands/index.js +1 -0
  3347. package/dist/node/operations/review/commands/reviewApprove.command.d.js +0 -0
  3348. package/dist/node/operations/review/commands/reviewApprove.command.js +1 -0
  3349. package/dist/node/operations/review/commands/reviewAssign.command.d.js +0 -0
  3350. package/dist/node/operations/review/commands/reviewAssign.command.js +12 -0
  3351. package/dist/node/operations/review/commands/reviewComment.command.d.js +0 -0
  3352. package/dist/node/operations/review/commands/reviewComment.command.js +1 -0
  3353. package/dist/node/operations/review/commands/reviewEscalate.command.d.js +0 -0
  3354. package/dist/node/operations/review/commands/reviewEscalate.command.js +1 -0
  3355. package/dist/node/operations/review/commands/reviewReject.command.d.js +0 -0
  3356. package/dist/node/operations/review/commands/reviewReject.command.js +1 -0
  3357. package/dist/node/operations/review/commands/reviewRequestChanges.command.d.js +0 -0
  3358. package/dist/node/operations/review/commands/reviewRequestChanges.command.js +1 -0
  3359. package/dist/node/operations/review/constants.d.js +0 -0
  3360. package/dist/node/operations/review/constants.js +1 -0
  3361. package/dist/node/operations/review/index.js +1 -0
  3362. package/dist/node/operations/review/queries/index.js +1 -0
  3363. package/dist/node/operations/review/queries/reviewGet.query.d.js +0 -0
  3364. package/dist/node/operations/review/queries/reviewGet.query.js +9 -0
  3365. package/dist/node/operations/review/queries/reviewList.query.d.js +0 -0
  3366. package/dist/node/operations/review/queries/reviewList.query.js +1 -0
  3367. package/dist/node/operations/review/queries/reviewQueueHealth.query.d.js +0 -0
  3368. package/dist/node/operations/review/queries/reviewQueueHealth.query.js +1 -0
  3369. package/dist/node/operations/review/shared-schemas.d.js +0 -0
  3370. package/dist/node/operations/review/shared-schemas.js +1 -0
  3371. package/dist/node/operations/workflow/commands/workflowActivate.command.d.js +0 -0
  3372. package/dist/node/operations/workflow/commands/workflowActivate.command.js +1 -0
  3373. package/dist/node/operations/workflow/commands/workflowCreate.command.d.js +0 -0
  3374. package/dist/node/operations/workflow/commands/workflowCreate.command.js +1 -0
  3375. package/dist/node/operations/workflow/commands/workflowDeactivate.command.d.js +0 -0
  3376. package/dist/node/operations/workflow/commands/workflowDeactivate.command.js +1 -0
  3377. package/dist/node/operations/workflow/commands/workflowRunCancel.command.d.js +0 -0
  3378. package/dist/node/operations/workflow/commands/workflowRunCancel.command.js +1 -0
  3379. package/dist/node/operations/workflow/commands/workflowRunDispatch.command.d.js +0 -0
  3380. package/dist/node/operations/workflow/commands/workflowRunDispatch.command.js +1 -0
  3381. package/dist/node/operations/workflow/commands/workflowRunPause.command.d.js +0 -0
  3382. package/dist/node/operations/workflow/commands/workflowRunPause.command.js +1 -0
  3383. package/dist/node/operations/workflow/commands/workflowRunResume.command.d.js +0 -0
  3384. package/dist/node/operations/workflow/commands/workflowRunResume.command.js +1 -0
  3385. package/dist/node/operations/workflow/commands/workflowRunRetry.command.d.js +0 -0
  3386. package/dist/node/operations/workflow/commands/workflowRunRetry.command.js +1 -0
  3387. package/dist/node/operations/workflow/commands/workflowStepAdvance.command.d.js +0 -0
  3388. package/dist/node/operations/workflow/commands/workflowStepAdvance.command.js +1 -0
  3389. package/dist/node/operations/workflow/commands/workflowStepSkip.command.d.js +0 -0
  3390. package/dist/node/operations/workflow/commands/workflowStepSkip.command.js +1 -0
  3391. package/dist/node/operations/workflow/commands/workflowUpdate.command.d.js +0 -0
  3392. package/dist/node/operations/workflow/commands/workflowUpdate.command.js +1 -0
  3393. package/dist/node/operations/workflow/constants.d.js +0 -0
  3394. package/dist/node/operations/workflow/constants.js +1 -0
  3395. package/dist/node/operations/workflow/index.d.js +1 -0
  3396. package/dist/node/operations/workflow/index.js +1 -0
  3397. package/dist/node/operations/workflow/queries/workflowGet.query.d.js +0 -0
  3398. package/dist/node/operations/workflow/queries/workflowGet.query.js +1 -0
  3399. package/dist/node/operations/workflow/queries/workflowList.query.d.js +0 -0
  3400. package/dist/node/operations/workflow/queries/workflowList.query.js +1 -0
  3401. package/dist/node/operations/workflow/queries/workflowRunnerHealth.query.d.js +0 -0
  3402. package/dist/node/operations/workflow/queries/workflowRunnerHealth.query.js +1 -0
  3403. package/dist/node/osint/capability-matrix-validation.js +2 -0
  3404. package/dist/node/osint/capability-matrix.js +3 -0
  3405. package/dist/node/osint/constants.js +1 -0
  3406. package/dist/node/osint/entities.js +0 -0
  3407. package/dist/node/osint/events.js +1 -0
  3408. package/dist/node/osint/exports.js +0 -0
  3409. package/dist/node/osint/fingerprint.js +1 -0
  3410. package/dist/node/osint/index.js +1 -0
  3411. package/dist/node/osint/job-reconciliation-contracts.js +1 -0
  3412. package/dist/node/osint/job-sources.js +18 -0
  3413. package/dist/node/osint/lifecycle-contracts.js +8 -0
  3414. package/dist/node/osint/lifecycle-worker-contracts.js +1 -0
  3415. package/dist/node/osint/operational-contracts.js +10 -0
  3416. package/dist/node/osint/operational-operations.js +1 -0
  3417. package/dist/node/osint/operational-schema-fields.js +1 -0
  3418. package/dist/node/osint/operations-continuation.js +1 -0
  3419. package/dist/node/osint/operations.js +1 -0
  3420. package/dist/node/osint/programs.js +0 -0
  3421. package/dist/node/osint/registry.js +1 -0
  3422. package/dist/node/osint/rights-contracts.js +8 -0
  3423. package/dist/node/osint/rights-operations.js +1 -0
  3424. package/dist/node/osint/source-state-operations.js +1 -0
  3425. package/dist/node/osint/transport.js +1 -0
  3426. package/dist/node/osint/types.js +0 -0
  3427. package/dist/node/outcome-claims/factory.js +1 -0
  3428. package/dist/node/outcome-claims/index.js +1 -0
  3429. package/dist/node/outcome-claims/types.js +0 -0
  3430. package/dist/node/outcome-claims/validation.js +1 -0
  3431. package/dist/node/ownership.d.js +0 -0
  3432. package/dist/node/ownership.js +1 -0
  3433. package/dist/node/policy/context.js +1 -0
  3434. package/dist/node/policy/engine.js +1 -0
  3435. package/dist/node/policy/guards.js +1 -0
  3436. package/dist/node/policy/index.js +1 -0
  3437. package/dist/node/policy/opa-adapter.js +1 -0
  3438. package/dist/node/policy/registry.d.js +0 -0
  3439. package/dist/node/policy/registry.js +1 -0
  3440. package/dist/node/policy/requirements.d.js +0 -0
  3441. package/dist/node/policy/requirements.js +1 -0
  3442. package/dist/node/policy/spec.d.js +0 -0
  3443. package/dist/node/policy/spec.js +150 -0
  3444. package/dist/node/policy/validation.js +1 -0
  3445. package/dist/node/presentations/index.d.js +1 -0
  3446. package/dist/node/presentations/index.js +1 -0
  3447. package/dist/node/presentations/presentations.d.js +0 -0
  3448. package/dist/node/presentations/presentations.js +83 -0
  3449. package/dist/node/presentations/registry.d.js +0 -0
  3450. package/dist/node/presentations/registry.js +1 -0
  3451. package/dist/node/presentations/shim-blocknotejs.d.js +0 -0
  3452. package/dist/node/presentations/shim-blocknotejs.js +0 -0
  3453. package/dist/node/product-intent/contract-patch-intent.js +1 -0
  3454. package/dist/node/product-intent/contract-spec-patch.js +1 -0
  3455. package/dist/node/product-intent/evidence.js +1 -0
  3456. package/dist/node/product-intent/findings.js +1 -0
  3457. package/dist/node/product-intent/impact-report.js +1 -0
  3458. package/dist/node/product-intent/index.js +1 -0
  3459. package/dist/node/product-intent/insights.js +1 -0
  3460. package/dist/node/product-intent/opportunity-brief.js +1 -0
  3461. package/dist/node/product-intent/problems.js +1 -0
  3462. package/dist/node/product-intent/registry.js +1 -0
  3463. package/dist/node/product-intent/runtime.js +1 -0
  3464. package/dist/node/product-intent/spec.js +1 -0
  3465. package/dist/node/product-intent/task-pack.js +1 -0
  3466. package/dist/node/product-intent/tickets.js +1 -0
  3467. package/dist/node/product-intent/types.js +1 -0
  3468. package/dist/node/product-intent/ui-wireframe.js +1 -0
  3469. package/dist/node/prompt.js +1 -0
  3470. package/dist/node/promptRegistry.js +1 -0
  3471. package/dist/node/provider-ranking/capabilities/index.js +1 -0
  3472. package/dist/node/provider-ranking/capabilities/providerRanking.capability.js +1 -0
  3473. package/dist/node/provider-ranking/commands/benchmarkIngest.command.js +4 -0
  3474. package/dist/node/provider-ranking/commands/benchmarkRunCustom.command.js +4 -0
  3475. package/dist/node/provider-ranking/commands/index.js +1 -0
  3476. package/dist/node/provider-ranking/commands/rankingRefresh.command.js +4 -0
  3477. package/dist/node/provider-ranking/constants.js +1 -0
  3478. package/dist/node/provider-ranking/contracts.js +1 -0
  3479. package/dist/node/provider-ranking/events/benchmarkCustomCompleted.event.js +4 -0
  3480. package/dist/node/provider-ranking/events/benchmarkIngested.event.js +4 -0
  3481. package/dist/node/provider-ranking/events/index.js +1 -0
  3482. package/dist/node/provider-ranking/events/rankingUpdated.event.js +4 -0
  3483. package/dist/node/provider-ranking/forms/benchmarkIngest.form.js +4 -0
  3484. package/dist/node/provider-ranking/forms/benchmarkRunCustom.form.js +4 -0
  3485. package/dist/node/provider-ranking/forms/index.js +1 -0
  3486. package/dist/node/provider-ranking/index.js +1 -0
  3487. package/dist/node/provider-ranking/presentations/index.js +1 -0
  3488. package/dist/node/provider-ranking/presentations/modelComparison.presentation.js +4 -0
  3489. package/dist/node/provider-ranking/provider-ranking.feature.js +4 -0
  3490. package/dist/node/provider-ranking/queries/benchmarkResultsList.query.js +4 -0
  3491. package/dist/node/provider-ranking/queries/index.js +1 -0
  3492. package/dist/node/provider-ranking/queries/modelProfileGet.query.js +4 -0
  3493. package/dist/node/provider-ranking/queries/providerRankingGet.query.js +4 -0
  3494. package/dist/node/provider-ranking/views/benchmarkResults.dataView.js +4 -0
  3495. package/dist/node/provider-ranking/views/index.js +1 -0
  3496. package/dist/node/provider-ranking/views/providerRankings.dataView.js +4 -0
  3497. package/dist/node/pwa/capabilities/index.js +1 -0
  3498. package/dist/node/pwa/capabilities/pwaUpdateManagement.capability.js +1 -0
  3499. package/dist/node/pwa/constants.js +1 -0
  3500. package/dist/node/pwa/contracts.js +1 -0
  3501. package/dist/node/pwa/events/index.js +1 -0
  3502. package/dist/node/pwa/events/pwaUpdateApplied.event.js +1 -0
  3503. package/dist/node/pwa/events/pwaUpdateDeferred.event.js +1 -0
  3504. package/dist/node/pwa/events/pwaUpdatePrompted.event.js +1 -0
  3505. package/dist/node/pwa/index.js +1 -0
  3506. package/dist/node/pwa/pwa.feature.js +1 -0
  3507. package/dist/node/pwa/queries/index.js +1 -0
  3508. package/dist/node/pwa/queries/pwaUpdateCheck.query.js +1 -0
  3509. package/dist/node/pwa/registry.js +1 -0
  3510. package/dist/node/pwa/types.js +6 -0
  3511. package/dist/node/quality/environment.js +1 -0
  3512. package/dist/node/quality/index.js +1 -0
  3513. package/dist/node/quality/plan.js +1 -0
  3514. package/dist/node/quality/primitives.js +1 -0
  3515. package/dist/node/quality/profile.js +1 -0
  3516. package/dist/node/quality/receipt.js +1 -0
  3517. package/dist/node/query/cache-status.d.js +0 -0
  3518. package/dist/node/query/cache-status.js +1 -0
  3519. package/dist/node/query/conflict-policy.d.js +0 -0
  3520. package/dist/node/query/conflict-policy.js +1 -0
  3521. package/dist/node/query/consistency.d.js +0 -0
  3522. package/dist/node/query/consistency.js +1 -0
  3523. package/dist/node/query/envelope.d.js +0 -0
  3524. package/dist/node/query/envelope.js +0 -0
  3525. package/dist/node/query/index.d.js +1 -0
  3526. package/dist/node/query/index.js +1 -0
  3527. package/dist/node/query/invalidation.d.js +0 -0
  3528. package/dist/node/query/invalidation.js +1 -0
  3529. package/dist/node/query/key.d.js +0 -0
  3530. package/dist/node/query/key.js +1 -0
  3531. package/dist/node/query/normalize.d.js +0 -0
  3532. package/dist/node/query/normalize.js +1 -0
  3533. package/dist/node/query/query-state.d.js +0 -0
  3534. package/dist/node/query/query-state.js +1 -0
  3535. package/dist/node/query/version-token.d.js +0 -0
  3536. package/dist/node/query/version-token.js +1 -0
  3537. package/dist/node/regenerator/adapters.js +0 -0
  3538. package/dist/node/regenerator/executor.js +1 -0
  3539. package/dist/node/regenerator/index.js +1 -0
  3540. package/dist/node/regenerator/service.js +1 -0
  3541. package/dist/node/regenerator/sinks.js +1 -0
  3542. package/dist/node/regenerator/types.js +0 -0
  3543. package/dist/node/regenerator/utils.js +1 -0
  3544. package/dist/node/registry-utils.d.js +0 -0
  3545. package/dist/node/registry-utils.js +1 -0
  3546. package/dist/node/registry.d.js +0 -0
  3547. package/dist/node/registry.js +1 -0
  3548. package/dist/node/release/index.js +1 -0
  3549. package/dist/node/resources.d.js +0 -0
  3550. package/dist/node/resources.js +1 -0
  3551. package/dist/node/results/builders.d.js +0 -0
  3552. package/dist/node/results/builders.js +1 -0
  3553. package/dist/node/results/error.d.js +0 -0
  3554. package/dist/node/results/error.js +1 -0
  3555. package/dist/node/results/factories.d.js +0 -0
  3556. package/dist/node/results/factories.js +1 -0
  3557. package/dist/node/results/guards.d.js +0 -0
  3558. package/dist/node/results/guards.js +1 -0
  3559. package/dist/node/results/index.d.js +1 -0
  3560. package/dist/node/results/index.js +1 -0
  3561. package/dist/node/results/normalize.d.js +0 -0
  3562. package/dist/node/results/normalize.js +1 -0
  3563. package/dist/node/results/problem.d.js +0 -0
  3564. package/dist/node/results/problem.js +1 -0
  3565. package/dist/node/results/result-specs.d.js +0 -0
  3566. package/dist/node/results/result-specs.js +0 -0
  3567. package/dist/node/results/standard-specs.d.js +0 -0
  3568. package/dist/node/results/standard-specs.js +1 -0
  3569. package/dist/node/results/status.d.js +0 -0
  3570. package/dist/node/results/status.js +1 -0
  3571. package/dist/node/results/types.d.js +0 -0
  3572. package/dist/node/results/types.js +0 -0
  3573. package/dist/node/results/value-utils.d.js +0 -0
  3574. package/dist/node/results/value-utils.js +1 -0
  3575. package/dist/node/rich-content/builders.js +3 -0
  3576. package/dist/node/rich-content/index.js +1 -0
  3577. package/dist/node/rich-content/preferences.js +0 -0
  3578. package/dist/node/rich-content/redaction.js +1 -0
  3579. package/dist/node/rich-content/types.js +0 -0
  3580. package/dist/node/rich-reference/__fixtures__/cross-adapter-fixture.js +1 -0
  3581. package/dist/node/rich-reference/agent-export.d.js +0 -0
  3582. package/dist/node/rich-reference/agent-export.js +1 -0
  3583. package/dist/node/rich-reference/canonical-serializer.d.js +0 -0
  3584. package/dist/node/rich-reference/canonical-serializer.js +1 -0
  3585. package/dist/node/rich-reference/contracts.js +1 -0
  3586. package/dist/node/rich-reference/define-kind.d.js +0 -0
  3587. package/dist/node/rich-reference/define-kind.js +1 -0
  3588. package/dist/node/rich-reference/denial-token-shape.d.js +0 -0
  3589. package/dist/node/rich-reference/denial-token-shape.js +1 -0
  3590. package/dist/node/rich-reference/denial-token.d.js +0 -0
  3591. package/dist/node/rich-reference/denial-token.js +1 -0
  3592. package/dist/node/rich-reference/detector.d.js +0 -0
  3593. package/dist/node/rich-reference/detector.js +1 -0
  3594. package/dist/node/rich-reference/handler.d.js +0 -0
  3595. package/dist/node/rich-reference/handler.js +0 -0
  3596. package/dist/node/rich-reference/index.d.js +1 -0
  3597. package/dist/node/rich-reference/index.js +19 -0
  3598. package/dist/node/rich-reference/kinds/code-symbol.d.js +1 -0
  3599. package/dist/node/rich-reference/kinds/code-symbol.js +1 -0
  3600. package/dist/node/rich-reference/kinds/database-record.d.js +1 -0
  3601. package/dist/node/rich-reference/kinds/database-record.js +1 -0
  3602. package/dist/node/rich-reference/kinds/entity.d.js +1 -0
  3603. package/dist/node/rich-reference/kinds/entity.js +27 -0
  3604. package/dist/node/rich-reference/kinds/file.d.js +1 -0
  3605. package/dist/node/rich-reference/kinds/file.js +1 -0
  3606. package/dist/node/rich-reference/kinds/index.d.js +1 -0
  3607. package/dist/node/rich-reference/kinds/index.js +1 -0
  3608. package/dist/node/rich-reference/kinds/link.d.js +1 -0
  3609. package/dist/node/rich-reference/kinds/link.js +1 -0
  3610. package/dist/node/rich-reference/kinds/media.d.js +1 -0
  3611. package/dist/node/rich-reference/kinds/media.js +1 -0
  3612. package/dist/node/rich-reference/kinds/object.d.js +1 -0
  3613. package/dist/node/rich-reference/kinds/object.js +1 -0
  3614. package/dist/node/rich-reference/markdown-envelope.d.js +0 -0
  3615. package/dist/node/rich-reference/markdown-envelope.js +1 -0
  3616. package/dist/node/rich-reference/ports/audit-sink.d.js +0 -0
  3617. package/dist/node/rich-reference/ports/audit-sink.js +0 -0
  3618. package/dist/node/rich-reference/ports/coarse-preferences-provider.d.js +0 -0
  3619. package/dist/node/rich-reference/ports/coarse-preferences-provider.js +0 -0
  3620. package/dist/node/rich-reference/ports/durable-audit-sink.d.js +0 -0
  3621. package/dist/node/rich-reference/ports/durable-audit-sink.js +0 -0
  3622. package/dist/node/rich-reference/ports/index.d.js +0 -0
  3623. package/dist/node/rich-reference/ports/index.js +0 -0
  3624. package/dist/node/rich-reference/ports/kind-policy-provider.d.js +0 -0
  3625. package/dist/node/rich-reference/ports/kind-policy-provider.js +0 -0
  3626. package/dist/node/rich-reference/ports/subject-provider.d.js +0 -0
  3627. package/dist/node/rich-reference/ports/subject-provider.js +0 -0
  3628. package/dist/node/rich-reference/redaction.d.js +0 -0
  3629. package/dist/node/rich-reference/redaction.js +1 -0
  3630. package/dist/node/rich-reference/registry.d.js +0 -0
  3631. package/dist/node/rich-reference/registry.js +1 -0
  3632. package/dist/node/rich-reference/runtime/dev-invariants.js +1 -0
  3633. package/dist/node/rich-reference/runtime/dispatch.js +1 -0
  3634. package/dist/node/rich-reference/runtime/index.js +1 -0
  3635. package/dist/node/rich-reference/runtime/redaction-enforcer.js +1 -0
  3636. package/dist/node/rich-reference/runtime/runtime.js +1 -0
  3637. package/dist/node/rich-reference/types.d.js +0 -0
  3638. package/dist/node/rich-reference/types.js +1 -0
  3639. package/dist/node/runtime-adapters.d.js +0 -0
  3640. package/dist/node/runtime-adapters.js +1 -0
  3641. package/dist/node/schema-to-markdown.js +10 -0
  3642. package/dist/node/self-improving-system/constants.js +1 -0
  3643. package/dist/node/self-improving-system/events.js +1 -0
  3644. package/dist/node/self-improving-system/index.js +1 -0
  3645. package/dist/node/self-improving-system/operation-definitions.js +1 -0
  3646. package/dist/node/self-improving-system/operations.js +1 -0
  3647. package/dist/node/self-improving-system/registry.js +1 -0
  3648. package/dist/node/self-improving-system/transport.js +1 -0
  3649. package/dist/node/self-improving-system/types.js +1 -0
  3650. package/dist/node/self-improving-system/validation.js +1 -0
  3651. package/dist/node/serialization/index.js +1 -0
  3652. package/dist/node/serialization/serializers.js +1 -0
  3653. package/dist/node/serialization/types.js +0 -0
  3654. package/dist/node/shared/attach-context.d.js +0 -0
  3655. package/dist/node/shared/attach-context.js +1 -0
  3656. package/dist/node/shared/audit.d.js +0 -0
  3657. package/dist/node/shared/audit.js +1 -0
  3658. package/dist/node/shared/idempotency-shape.d.js +0 -0
  3659. package/dist/node/shared/idempotency-shape.js +1 -0
  3660. package/dist/node/shared/idempotency.js +1 -0
  3661. package/dist/node/shared/index.d.js +1 -0
  3662. package/dist/node/shared/index.js +1 -0
  3663. package/dist/node/shared/window.d.js +0 -0
  3664. package/dist/node/shared/window.js +1 -0
  3665. package/dist/node/shared-entities/index.js +1 -0
  3666. package/dist/node/shared-entities/person.js +12 -0
  3667. package/dist/node/shared-entities/project.js +4 -0
  3668. package/dist/node/shared-entities/resource.js +4 -0
  3669. package/dist/node/shared-entities/task-validators.js +1 -0
  3670. package/dist/node/shared-entities/task.d.js +0 -0
  3671. package/dist/node/shared-entities/task.js +1 -0
  3672. package/dist/node/shared-entities/team.js +12 -0
  3673. package/dist/node/sop/generation-sources.js +5 -0
  3674. package/dist/node/sop/index.js +1 -0
  3675. package/dist/node/sop/operations.js +1 -0
  3676. package/dist/node/sop/sop.feature.js +3 -0
  3677. package/dist/node/sop/types.js +0 -0
  3678. package/dist/node/sop/validation.js +1 -0
  3679. package/dist/node/structured-data/derive.d.js +0 -0
  3680. package/dist/node/structured-data/derive.js +1 -0
  3681. package/dist/node/structured-data/index.d.js +1 -0
  3682. package/dist/node/structured-data/index.js +1 -0
  3683. package/dist/node/structured-data/kinds.d.js +0 -0
  3684. package/dist/node/structured-data/kinds.js +1 -0
  3685. package/dist/node/structured-data/schema-guards.js +0 -0
  3686. package/dist/node/structured-data/validate.d.js +0 -0
  3687. package/dist/node/structured-data/validate.js +1 -0
  3688. package/dist/node/telemetry/anomaly.d.js +0 -0
  3689. package/dist/node/telemetry/anomaly.js +1 -0
  3690. package/dist/node/telemetry/delivery-v2.d.js +0 -0
  3691. package/dist/node/telemetry/delivery-v2.js +1 -0
  3692. package/dist/node/telemetry/index.d.js +1 -0
  3693. package/dist/node/telemetry/index.js +1 -0
  3694. package/dist/node/telemetry/spec.d.js +0 -0
  3695. package/dist/node/telemetry/spec.js +1 -0
  3696. package/dist/node/telemetry/tracker.d.js +0 -0
  3697. package/dist/node/telemetry/tracker.js +1 -0
  3698. package/dist/node/telemetry/v2-primitives.d.js +0 -0
  3699. package/dist/node/telemetry/v2-primitives.js +1 -0
  3700. package/dist/node/telemetry/v2-validation.d.js +0 -0
  3701. package/dist/node/telemetry/v2-validation.js +1 -0
  3702. package/dist/node/telemetry/v2.d.js +1 -0
  3703. package/dist/node/telemetry/v2.js +1 -0
  3704. package/dist/node/tests/index.js +1 -0
  3705. package/dist/node/tests/runner.js +1 -0
  3706. package/dist/node/tests/spec.d.js +0 -0
  3707. package/dist/node/tests/spec.js +1 -0
  3708. package/dist/node/themes.d.js +1 -0
  3709. package/dist/node/themes.js +1 -0
  3710. package/dist/node/themes.platform-validation.d.js +0 -0
  3711. package/dist/node/themes.platform-validation.js +1 -0
  3712. package/dist/node/themes.validation.d.js +0 -0
  3713. package/dist/node/themes.validation.js +1 -0
  3714. package/dist/node/translations/catalog.d.js +0 -0
  3715. package/dist/node/translations/catalog.js +0 -0
  3716. package/dist/node/translations/diagnostics.d.js +0 -0
  3717. package/dist/node/translations/diagnostics.js +1 -0
  3718. package/dist/node/translations/i18n-factory-snapshot.d.js +0 -0
  3719. package/dist/node/translations/i18n-factory-snapshot.js +20 -0
  3720. package/dist/node/translations/i18n-factory.d.js +0 -0
  3721. package/dist/node/translations/i18n-factory.js +1 -0
  3722. package/dist/node/translations/index.d.js +1 -0
  3723. package/dist/node/translations/index.js +1 -0
  3724. package/dist/node/translations/locale.d.js +0 -0
  3725. package/dist/node/translations/locale.js +1 -0
  3726. package/dist/node/translations/registry.d.js +0 -0
  3727. package/dist/node/translations/registry.js +1 -0
  3728. package/dist/node/translations/spec.d.js +0 -0
  3729. package/dist/node/translations/spec.js +1 -0
  3730. package/dist/node/translations/tenant.d.js +0 -0
  3731. package/dist/node/translations/tenant.js +0 -0
  3732. package/dist/node/translations/validation.d.js +0 -0
  3733. package/dist/node/translations/validation.js +1 -0
  3734. package/dist/node/types.d.js +0 -0
  3735. package/dist/node/types.js +1 -0
  3736. package/dist/node/utils/safe-json.js +1 -0
  3737. package/dist/node/versioning/index.d.js +1 -0
  3738. package/dist/node/versioning/index.js +1 -0
  3739. package/dist/node/versioning/refs.d.js +0 -0
  3740. package/dist/node/versioning/refs.js +1 -0
  3741. package/dist/node/versioning/release-types.d.js +0 -0
  3742. package/dist/node/versioning/release-types.js +0 -0
  3743. package/dist/node/versioning/release-utils.d.js +0 -0
  3744. package/dist/node/versioning/release-utils.js +1 -0
  3745. package/dist/node/versioning/schema.d.js +0 -0
  3746. package/dist/node/versioning/schema.js +1 -0
  3747. package/dist/node/versioning/types.d.js +0 -0
  3748. package/dist/node/versioning/types.js +1 -0
  3749. package/dist/node/versioning/utils.d.js +0 -0
  3750. package/dist/node/versioning/utils.js +1 -0
  3751. package/dist/node/visual-scenarios/index.js +1 -0
  3752. package/dist/node/visual-scenarios/platform.js +1 -0
  3753. package/dist/node/visual-scenarios/registry.d.js +0 -0
  3754. package/dist/node/visual-scenarios/registry.js +1 -0
  3755. package/dist/node/visual-scenarios/spec.d.js +0 -0
  3756. package/dist/node/visual-scenarios/spec.js +1 -0
  3757. package/dist/node/visual-scenarios/validation-authoring.js +1 -0
  3758. package/dist/node/visual-scenarios/validation.js +1 -0
  3759. package/dist/node/visualizations/index.js +1 -0
  3760. package/dist/node/visualizations/registry.d.js +0 -0
  3761. package/dist/node/visualizations/registry.js +1 -0
  3762. package/dist/node/visualizations/spec.d.js +0 -0
  3763. package/dist/node/visualizations/spec.js +1 -0
  3764. package/dist/node/visualizations/types.d.js +0 -0
  3765. package/dist/node/visualizations/types.js +1 -0
  3766. package/dist/node/workflow/adapters/db-adapter.js +1 -0
  3767. package/dist/node/workflow/adapters/file-adapter.js +1 -0
  3768. package/dist/node/workflow/adapters/index.js +1 -0
  3769. package/dist/node/workflow/adapters/memory-store.js +1 -0
  3770. package/dist/node/workflow/context.js +1 -0
  3771. package/dist/node/workflow/dag-utils.js +1 -0
  3772. package/dist/node/workflow/expression.js +1 -0
  3773. package/dist/node/workflow/index.js +1 -0
  3774. package/dist/node/workflow/runner.js +1 -0
  3775. package/dist/node/workflow/sla-monitor.js +1 -0
  3776. package/dist/node/workflow/spec.d.js +0 -0
  3777. package/dist/node/workflow/spec.js +1 -0
  3778. package/dist/node/workflow/state.js +0 -0
  3779. package/dist/node/workflow/validation-workflow-devkit.js +1 -0
  3780. package/dist/node/workflow/validation.js +1 -0
  3781. package/dist/node/workflow/workflow-devkit.d.js +0 -0
  3782. package/dist/node/workflow/workflow-devkit.js +0 -0
  3783. package/dist/node/workflow/workflow-sdk.js +1 -0
  3784. package/dist/node/workspace-config/contractsrc-schema.js +1 -0
  3785. package/dist/node/workspace-config/contractsrc-types.js +0 -0
  3786. package/dist/node/workspace-config/environment-validation-alias.js +1 -0
  3787. package/dist/node/workspace-config/environment-validation.js +1 -0
  3788. package/dist/node/workspace-config/environment.js +1 -0
  3789. package/dist/node/workspace-config/index.js +1 -0
  3790. package/dist/node/workspace-config/lssm-os-config.fixture.js +1 -0
  3791. package/dist/node/workspace-config/lssm-os-constraints.js +1 -0
  3792. package/dist/node/workspace-config/lssm-os-extension-schema.js +1 -0
  3793. package/dist/node/workspace-config/lssm-os-inheritance.js +1 -0
  3794. package/dist/node/workspace-config/lssm-os-policy-merge.js +1 -0
  3795. package/dist/node/workspace-config/lssm-os-provider-merge.js +1 -0
  3796. package/dist/node/workspace-config/lssm-os-schema.js +1 -0
  3797. package/dist/node/workspace-config/lssm-os-secrets.js +1 -0
  3798. package/dist/node/workspace-config/lssm-os-types.js +1 -0
  3799. package/dist/notifications/contracts.d.ts +1012 -0
  3800. package/dist/notifications/contracts.js +1 -0
  3801. package/dist/notifications/index.d.ts +3 -0
  3802. package/dist/notifications/index.js +1 -0
  3803. package/dist/notifications/notifications.capability.d.ts +1 -0
  3804. package/dist/notifications/notifications.capability.js +1 -0
  3805. package/dist/notifications/notifications.feature.d.ts +1 -0
  3806. package/dist/notifications/notifications.feature.js +1 -0
  3807. package/dist/observability/database-signals.d.ts +31 -0
  3808. package/dist/observability/database-signals.js +1 -0
  3809. package/dist/observability/evidence-record.d.ts +201 -0
  3810. package/dist/observability/evidence-record.js +1 -0
  3811. package/dist/observability/index.d.ts +11 -0
  3812. package/dist/observability/index.js +1 -0
  3813. package/dist/observability/signal-spec.d.ts +113 -0
  3814. package/dist/observability/signal-spec.js +1 -0
  3815. package/dist/onboarding-base.d.ts +135 -0
  3816. package/dist/onboarding-base.js +1 -0
  3817. package/dist/ontology/autonomous-work-order.fixture.d.ts +352 -0
  3818. package/dist/ontology/autonomous-work-order.fixture.js +1 -0
  3819. package/dist/ontology/companyos.d.ts +146 -0
  3820. package/dist/ontology/companyos.js +1 -0
  3821. package/dist/ontology/defineOntologyEdge.d.ts +2 -0
  3822. package/dist/ontology/defineOntologyEdge.js +1 -0
  3823. package/dist/ontology/defineOntologyNode.d.ts +2 -0
  3824. package/dist/ontology/defineOntologyNode.js +1 -0
  3825. package/dist/ontology/evidence.d.ts +10 -0
  3826. package/dist/ontology/evidence.js +1 -0
  3827. package/dist/ontology/graph.d.ts +19 -0
  3828. package/dist/ontology/graph.js +1 -0
  3829. package/dist/ontology/index.d.ts +10 -0
  3830. package/dist/ontology/index.js +1 -0
  3831. package/dist/ontology/kinds.d.ts +17 -0
  3832. package/dist/ontology/kinds.js +1 -0
  3833. package/dist/ontology/ref.d.ts +6 -0
  3834. package/dist/ontology/ref.js +1 -0
  3835. package/dist/ontology/registry.d.ts +14 -0
  3836. package/dist/ontology/registry.js +1 -0
  3837. package/dist/ontology/safety.d.ts +3 -0
  3838. package/dist/ontology/safety.js +1 -0
  3839. package/dist/ontology/types.d.ts +67 -0
  3840. package/dist/ontology/types.js +0 -0
  3841. package/dist/openapi.d.ts +34 -0
  3842. package/dist/openapi.js +38 -0
  3843. package/dist/operations/agent/archive.command.d.js +0 -0
  3844. package/dist/operations/agent/archive.command.d.ts +141 -0
  3845. package/dist/operations/agent/archive.command.js +1 -0
  3846. package/dist/operations/agent/assign-tool.command.d.js +0 -0
  3847. package/dist/operations/agent/assign-tool.command.d.ts +187 -0
  3848. package/dist/operations/agent/assign-tool.command.js +1 -0
  3849. package/dist/operations/agent/clone.command.d.js +0 -0
  3850. package/dist/operations/agent/clone.command.d.ts +149 -0
  3851. package/dist/operations/agent/clone.command.js +1 -0
  3852. package/dist/operations/agent/create.command.d.js +0 -0
  3853. package/dist/operations/agent/create.command.d.ts +159 -0
  3854. package/dist/operations/agent/create.command.js +1 -0
  3855. package/dist/operations/agent/fleet-health.query.d.js +0 -0
  3856. package/dist/operations/agent/fleet-health.query.d.ts +71 -0
  3857. package/dist/operations/agent/fleet-health.query.js +1 -0
  3858. package/dist/operations/agent/get.query.d.js +0 -0
  3859. package/dist/operations/agent/get.query.d.ts +190 -0
  3860. package/dist/operations/agent/get.query.js +1 -0
  3861. package/dist/operations/agent/import-memory.command.d.ts +140 -0
  3862. package/dist/operations/agent/import-memory.command.js +1 -0
  3863. package/dist/operations/agent/list.query.d.js +0 -0
  3864. package/dist/operations/agent/list.query.d.ts +162 -0
  3865. package/dist/operations/agent/list.query.js +1 -0
  3866. package/dist/operations/agent/pause.command.d.js +0 -0
  3867. package/dist/operations/agent/pause.command.d.ts +149 -0
  3868. package/dist/operations/agent/pause.command.js +1 -0
  3869. package/dist/operations/agent/set-autonomy.command.d.js +0 -0
  3870. package/dist/operations/agent/set-autonomy.command.d.ts +156 -0
  3871. package/dist/operations/agent/set-autonomy.command.js +1 -0
  3872. package/dist/operations/agent/set-risk-tier.command.d.js +0 -0
  3873. package/dist/operations/agent/set-risk-tier.command.d.ts +152 -0
  3874. package/dist/operations/agent/set-risk-tier.command.js +1 -0
  3875. package/dist/operations/agent/shared-schemas.d.js +0 -0
  3876. package/dist/operations/agent/shared-schemas.d.ts +396 -0
  3877. package/dist/operations/agent/shared-schemas.js +1 -0
  3878. package/dist/operations/agent/start.command.d.js +0 -0
  3879. package/dist/operations/agent/start.command.d.ts +147 -0
  3880. package/dist/operations/agent/start.command.js +1 -0
  3881. package/dist/operations/agent/stop.command.d.js +0 -0
  3882. package/dist/operations/agent/stop.command.d.ts +155 -0
  3883. package/dist/operations/agent/stop.command.js +1 -0
  3884. package/dist/operations/agent/update.command.d.js +0 -0
  3885. package/dist/operations/agent/update.command.d.ts +155 -0
  3886. package/dist/operations/agent/update.command.js +1 -0
  3887. package/dist/operations/approval.d.js +0 -0
  3888. package/dist/operations/approval.d.ts +153 -0
  3889. package/dist/operations/approval.js +1 -0
  3890. package/dist/operations/audit/event.export.command.d.js +0 -0
  3891. package/dist/operations/audit/event.export.command.d.ts +71 -0
  3892. package/dist/operations/audit/event.export.command.js +1 -0
  3893. package/dist/operations/audit/event.get.query.d.js +0 -0
  3894. package/dist/operations/audit/event.get.query.d.ts +83 -0
  3895. package/dist/operations/audit/event.get.query.js +1 -0
  3896. package/dist/operations/audit/event.list.query.d.js +0 -0
  3897. package/dist/operations/audit/event.list.query.d.ts +90 -0
  3898. package/dist/operations/audit/event.list.query.js +1 -0
  3899. package/dist/operations/audit/evidence.attach.command.d.js +0 -0
  3900. package/dist/operations/audit/evidence.attach.command.d.ts +110 -0
  3901. package/dist/operations/audit/evidence.attach.command.js +1 -0
  3902. package/dist/operations/audit/pipeline.health.query.d.js +0 -0
  3903. package/dist/operations/audit/pipeline.health.query.d.ts +66 -0
  3904. package/dist/operations/audit/pipeline.health.query.js +1 -0
  3905. package/dist/operations/audit/shared-schemas.d.js +0 -0
  3906. package/dist/operations/audit/shared-schemas.d.ts +102 -0
  3907. package/dist/operations/audit/shared-schemas.js +1 -0
  3908. package/dist/operations/ceremony-authority.d.js +0 -0
  3909. package/dist/operations/ceremony-authority.d.ts +50 -0
  3910. package/dist/operations/ceremony-authority.js +1 -0
  3911. package/dist/operations/coach/agent-suggest-tool.command.d.js +0 -0
  3912. package/dist/operations/coach/agent-suggest-tool.command.d.ts +55 -0
  3913. package/dist/operations/coach/agent-suggest-tool.command.js +1 -0
  3914. package/dist/operations/coach/governance-suggest-constraint.command.d.js +0 -0
  3915. package/dist/operations/coach/governance-suggest-constraint.command.d.ts +61 -0
  3916. package/dist/operations/coach/governance-suggest-constraint.command.js +1 -0
  3917. package/dist/operations/coach/review-summarize.command.d.js +0 -0
  3918. package/dist/operations/coach/review-summarize.command.d.ts +66 -0
  3919. package/dist/operations/coach/review-summarize.command.js +1 -0
  3920. package/dist/operations/coach/shared-schemas.d.js +0 -0
  3921. package/dist/operations/coach/shared-schemas.d.ts +124 -0
  3922. package/dist/operations/coach/shared-schemas.js +1 -0
  3923. package/dist/operations/coach/workflow-suggest-step.command.d.js +0 -0
  3924. package/dist/operations/coach/workflow-suggest-step.command.d.ts +63 -0
  3925. package/dist/operations/coach/workflow-suggest-step.command.js +1 -0
  3926. package/dist/operations/economic-evidence.d.js +0 -0
  3927. package/dist/operations/economic-evidence.d.ts +6 -0
  3928. package/dist/operations/economic-evidence.js +1 -0
  3929. package/dist/operations/fleet/health-snapshot.query.d.js +0 -0
  3930. package/dist/operations/fleet/health-snapshot.query.d.ts +189 -0
  3931. package/dist/operations/fleet/health-snapshot.query.js +1 -0
  3932. package/dist/operations/fleet/metrics-summary.query.d.js +0 -0
  3933. package/dist/operations/fleet/metrics-summary.query.d.ts +224 -0
  3934. package/dist/operations/fleet/metrics-summary.query.js +1 -0
  3935. package/dist/operations/fleet/roi-snapshot.query.d.js +0 -0
  3936. package/dist/operations/fleet/roi-snapshot.query.d.ts +171 -0
  3937. package/dist/operations/fleet/roi-snapshot.query.js +1 -0
  3938. package/dist/operations/fleet/shared-schemas.d.js +0 -0
  3939. package/dist/operations/fleet/shared-schemas.d.ts +161 -0
  3940. package/dist/operations/fleet/shared-schemas.js +1 -0
  3941. package/dist/operations/governance/constraint.add.command.d.js +1 -0
  3942. package/dist/operations/governance/constraint.add.command.d.ts +102 -0
  3943. package/dist/operations/governance/constraint.add.command.js +1 -0
  3944. package/dist/operations/governance/constraint.remove.command.d.js +0 -0
  3945. package/dist/operations/governance/constraint.remove.command.d.ts +57 -0
  3946. package/dist/operations/governance/constraint.remove.command.js +1 -0
  3947. package/dist/operations/governance/notification.dispatch.command.d.js +0 -0
  3948. package/dist/operations/governance/notification.dispatch.command.d.ts +53 -0
  3949. package/dist/operations/governance/notification.dispatch.command.js +1 -0
  3950. package/dist/operations/governance/policy.get.query.d.js +0 -0
  3951. package/dist/operations/governance/policy.get.query.d.ts +68 -0
  3952. package/dist/operations/governance/policy.get.query.js +1 -0
  3953. package/dist/operations/governance/policy.health.query.d.js +0 -0
  3954. package/dist/operations/governance/policy.health.query.d.ts +61 -0
  3955. package/dist/operations/governance/policy.health.query.js +1 -0
  3956. package/dist/operations/governance/policy.list.query.d.js +1 -0
  3957. package/dist/operations/governance/policy.list.query.d.ts +64 -0
  3958. package/dist/operations/governance/policy.list.query.js +1 -0
  3959. package/dist/operations/governance/policy.simulate.query.d.js +0 -0
  3960. package/dist/operations/governance/policy.simulate.query.d.ts +80 -0
  3961. package/dist/operations/governance/policy.simulate.query.js +1 -0
  3962. package/dist/operations/governance/policy.update.command.d.js +1 -0
  3963. package/dist/operations/governance/policy.update.command.d.ts +115 -0
  3964. package/dist/operations/governance/policy.update.command.js +1 -0
  3965. package/dist/operations/governance/shared-schemas.d.js +0 -0
  3966. package/dist/operations/governance/shared-schemas.d.ts +136 -0
  3967. package/dist/operations/governance/shared-schemas.js +1 -0
  3968. package/dist/operations/index.d.js +1 -0
  3969. package/dist/operations/index.d.ts +14 -0
  3970. package/dist/operations/index.js +1 -0
  3971. package/dist/operations/integrations/audit.list_for_integration.command.d.js +1 -0
  3972. package/dist/operations/integrations/audit.list_for_integration.command.d.ts +37 -0
  3973. package/dist/operations/integrations/audit.list_for_integration.command.js +1 -0
  3974. package/dist/operations/integrations/config.get.command.d.js +0 -0
  3975. package/dist/operations/integrations/config.get.command.d.ts +33 -0
  3976. package/dist/operations/integrations/config.get.command.js +1 -0
  3977. package/dist/operations/integrations/config.update.command.d.js +0 -0
  3978. package/dist/operations/integrations/config.update.command.d.ts +42 -0
  3979. package/dist/operations/integrations/config.update.command.js +1 -0
  3980. package/dist/operations/integrations/connections.list.command.d.js +1 -0
  3981. package/dist/operations/integrations/connections.list.command.d.ts +29 -0
  3982. package/dist/operations/integrations/connections.list.command.js +1 -0
  3983. package/dist/operations/integrations/credentials.list.command.d.js +1 -0
  3984. package/dist/operations/integrations/credentials.list.command.d.ts +33 -0
  3985. package/dist/operations/integrations/credentials.list.command.js +1 -0
  3986. package/dist/operations/integrations/credentials.request_rotation.command.d.js +0 -0
  3987. package/dist/operations/integrations/credentials.request_rotation.command.d.ts +38 -0
  3988. package/dist/operations/integrations/credentials.request_rotation.command.js +1 -0
  3989. package/dist/operations/integrations/credentials.revoke.command.d.js +0 -0
  3990. package/dist/operations/integrations/credentials.revoke.command.d.ts +38 -0
  3991. package/dist/operations/integrations/credentials.revoke.command.js +1 -0
  3992. package/dist/operations/integrations/credentials.rotate.command.d.js +0 -0
  3993. package/dist/operations/integrations/credentials.rotate.command.d.ts +46 -0
  3994. package/dist/operations/integrations/credentials.rotate.command.js +1 -0
  3995. package/dist/operations/integrations/index.d.ts +27 -0
  3996. package/dist/operations/integrations/index.js +1 -0
  3997. package/dist/operations/integrations/integrations.connect.command.d.js +0 -0
  3998. package/dist/operations/integrations/integrations.connect.command.d.ts +38 -0
  3999. package/dist/operations/integrations/integrations.connect.command.js +1 -0
  4000. package/dist/operations/integrations/integrations.disconnect.command.d.js +0 -0
  4001. package/dist/operations/integrations/integrations.disconnect.command.d.ts +38 -0
  4002. package/dist/operations/integrations/integrations.disconnect.command.js +1 -0
  4003. package/dist/operations/integrations/integrations.get.command.d.js +0 -0
  4004. package/dist/operations/integrations/integrations.get.command.d.ts +49 -0
  4005. package/dist/operations/integrations/integrations.get.command.js +1 -0
  4006. package/dist/operations/integrations/integrations.list.command.d.js +1 -0
  4007. package/dist/operations/integrations/integrations.list.command.d.ts +29 -0
  4008. package/dist/operations/integrations/integrations.list.command.js +1 -0
  4009. package/dist/operations/integrations/registry.d.js +0 -0
  4010. package/dist/operations/integrations/registry.d.ts +21 -0
  4011. package/dist/operations/integrations/registry.js +1 -0
  4012. package/dist/operations/integrations/secrets.link.command.d.js +0 -0
  4013. package/dist/operations/integrations/secrets.link.command.d.ts +38 -0
  4014. package/dist/operations/integrations/secrets.link.command.js +1 -0
  4015. package/dist/operations/integrations/secrets.list.command.d.js +1 -0
  4016. package/dist/operations/integrations/secrets.list.command.d.ts +33 -0
  4017. package/dist/operations/integrations/secrets.list.command.js +1 -0
  4018. package/dist/operations/integrations/secrets.reveal_once_audit_only.command.d.js +0 -0
  4019. package/dist/operations/integrations/secrets.reveal_once_audit_only.command.d.ts +42 -0
  4020. package/dist/operations/integrations/secrets.reveal_once_audit_only.command.js +1 -0
  4021. package/dist/operations/integrations/secrets.unlink.command.d.js +0 -0
  4022. package/dist/operations/integrations/secrets.unlink.command.d.ts +38 -0
  4023. package/dist/operations/integrations/secrets.unlink.command.js +1 -0
  4024. package/dist/operations/integrations/shared-schemas.d.js +0 -0
  4025. package/dist/operations/integrations/shared-schemas.d.ts +259 -0
  4026. package/dist/operations/integrations/shared-schemas.js +1 -0
  4027. package/dist/operations/integrations/syncs.list.command.d.js +1 -0
  4028. package/dist/operations/integrations/syncs.list.command.d.ts +29 -0
  4029. package/dist/operations/integrations/syncs.list.command.js +1 -0
  4030. package/dist/operations/integrations/syncs.pause.command.d.js +0 -0
  4031. package/dist/operations/integrations/syncs.pause.command.d.ts +34 -0
  4032. package/dist/operations/integrations/syncs.pause.command.js +1 -0
  4033. package/dist/operations/integrations/syncs.resume.command.d.js +0 -0
  4034. package/dist/operations/integrations/syncs.resume.command.d.ts +34 -0
  4035. package/dist/operations/integrations/syncs.resume.command.js +1 -0
  4036. package/dist/operations/integrations/syncs.run_now.command.d.js +0 -0
  4037. package/dist/operations/integrations/syncs.run_now.command.d.ts +34 -0
  4038. package/dist/operations/integrations/syncs.run_now.command.js +1 -0
  4039. package/dist/operations/integrations/syncs.update_schedule.command.d.js +0 -0
  4040. package/dist/operations/integrations/syncs.update_schedule.command.d.ts +38 -0
  4041. package/dist/operations/integrations/syncs.update_schedule.command.js +1 -0
  4042. package/dist/operations/marketing.d.js +1 -0
  4043. package/dist/operations/marketing.d.ts +496 -0
  4044. package/dist/operations/marketing.handlers.d.js +0 -0
  4045. package/dist/operations/marketing.handlers.d.ts +24 -0
  4046. package/dist/operations/marketing.handlers.js +1 -0
  4047. package/dist/operations/marketing.js +14 -0
  4048. package/dist/operations/operation.d.js +0 -0
  4049. package/dist/operations/operation.d.ts +236 -0
  4050. package/dist/operations/operation.js +1 -0
  4051. package/dist/operations/reference-detail.d.ts +157 -0
  4052. package/dist/operations/reference-detail.js +1 -0
  4053. package/dist/operations/reference-resolve.d.ts +214 -0
  4054. package/dist/operations/reference-resolve.js +3 -0
  4055. package/dist/operations/registry.agent.d.js +0 -0
  4056. package/dist/operations/registry.agent.d.ts +22 -0
  4057. package/dist/operations/registry.agent.js +1 -0
  4058. package/dist/operations/registry.audit.d.js +0 -0
  4059. package/dist/operations/registry.audit.d.ts +23 -0
  4060. package/dist/operations/registry.audit.js +1 -0
  4061. package/dist/operations/registry.coach.d.js +0 -0
  4062. package/dist/operations/registry.coach.d.ts +31 -0
  4063. package/dist/operations/registry.coach.js +1 -0
  4064. package/dist/operations/registry.d.js +1 -0
  4065. package/dist/operations/registry.d.ts +77 -0
  4066. package/dist/operations/registry.domains.d.js +0 -0
  4067. package/dist/operations/registry.domains.d.ts +44 -0
  4068. package/dist/operations/registry.domains.js +1 -0
  4069. package/dist/operations/registry.fleet.d.js +0 -0
  4070. package/dist/operations/registry.fleet.d.ts +21 -0
  4071. package/dist/operations/registry.fleet.js +1 -0
  4072. package/dist/operations/registry.governance.d.js +0 -0
  4073. package/dist/operations/registry.governance.d.ts +20 -0
  4074. package/dist/operations/registry.governance.js +1 -0
  4075. package/dist/operations/registry.js +1 -0
  4076. package/dist/operations/registry.review.d.js +0 -0
  4077. package/dist/operations/registry.review.d.ts +18 -0
  4078. package/dist/operations/registry.review.js +1 -0
  4079. package/dist/operations/registry.workflow.d.js +0 -0
  4080. package/dist/operations/registry.workflow.d.ts +20 -0
  4081. package/dist/operations/registry.workflow.js +1 -0
  4082. package/dist/operations/report/getContractVerificationStatus.d.ts +68 -0
  4083. package/dist/operations/report/getContractVerificationStatus.js +1 -0
  4084. package/dist/operations/report/index.d.ts +10 -0
  4085. package/dist/operations/report/index.js +1 -0
  4086. package/dist/operations/review/commands/index.d.ts +6 -0
  4087. package/dist/operations/review/commands/index.js +1 -0
  4088. package/dist/operations/review/commands/reviewApprove.command.d.js +0 -0
  4089. package/dist/operations/review/commands/reviewApprove.command.d.ts +55 -0
  4090. package/dist/operations/review/commands/reviewApprove.command.js +1 -0
  4091. package/dist/operations/review/commands/reviewAssign.command.d.js +0 -0
  4092. package/dist/operations/review/commands/reviewAssign.command.d.ts +50 -0
  4093. package/dist/operations/review/commands/reviewAssign.command.js +12 -0
  4094. package/dist/operations/review/commands/reviewComment.command.d.js +0 -0
  4095. package/dist/operations/review/commands/reviewComment.command.d.ts +60 -0
  4096. package/dist/operations/review/commands/reviewComment.command.js +1 -0
  4097. package/dist/operations/review/commands/reviewEscalate.command.d.js +0 -0
  4098. package/dist/operations/review/commands/reviewEscalate.command.d.ts +62 -0
  4099. package/dist/operations/review/commands/reviewEscalate.command.js +1 -0
  4100. package/dist/operations/review/commands/reviewReject.command.d.js +0 -0
  4101. package/dist/operations/review/commands/reviewReject.command.d.ts +50 -0
  4102. package/dist/operations/review/commands/reviewReject.command.js +1 -0
  4103. package/dist/operations/review/commands/reviewRequestChanges.command.d.js +0 -0
  4104. package/dist/operations/review/commands/reviewRequestChanges.command.d.ts +64 -0
  4105. package/dist/operations/review/commands/reviewRequestChanges.command.js +1 -0
  4106. package/dist/operations/review/constants.d.js +0 -0
  4107. package/dist/operations/review/constants.d.ts +14 -0
  4108. package/dist/operations/review/constants.js +1 -0
  4109. package/dist/operations/review/index.d.ts +2 -0
  4110. package/dist/operations/review/index.js +1 -0
  4111. package/dist/operations/review/queries/index.d.ts +3 -0
  4112. package/dist/operations/review/queries/index.js +1 -0
  4113. package/dist/operations/review/queries/reviewGet.query.d.js +0 -0
  4114. package/dist/operations/review/queries/reviewGet.query.d.ts +127 -0
  4115. package/dist/operations/review/queries/reviewGet.query.js +9 -0
  4116. package/dist/operations/review/queries/reviewList.query.d.js +0 -0
  4117. package/dist/operations/review/queries/reviewList.query.d.ts +110 -0
  4118. package/dist/operations/review/queries/reviewList.query.js +1 -0
  4119. package/dist/operations/review/queries/reviewQueueHealth.query.d.js +0 -0
  4120. package/dist/operations/review/queries/reviewQueueHealth.query.d.ts +55 -0
  4121. package/dist/operations/review/queries/reviewQueueHealth.query.js +1 -0
  4122. package/dist/operations/review/shared-schemas.d.js +0 -0
  4123. package/dist/operations/review/shared-schemas.d.ts +180 -0
  4124. package/dist/operations/review/shared-schemas.js +1 -0
  4125. package/dist/operations/workflow/commands/workflowActivate.command.d.js +0 -0
  4126. package/dist/operations/workflow/commands/workflowActivate.command.d.ts +40 -0
  4127. package/dist/operations/workflow/commands/workflowActivate.command.js +1 -0
  4128. package/dist/operations/workflow/commands/workflowCreate.command.d.js +0 -0
  4129. package/dist/operations/workflow/commands/workflowCreate.command.d.ts +55 -0
  4130. package/dist/operations/workflow/commands/workflowCreate.command.js +1 -0
  4131. package/dist/operations/workflow/commands/workflowDeactivate.command.d.js +0 -0
  4132. package/dist/operations/workflow/commands/workflowDeactivate.command.d.ts +49 -0
  4133. package/dist/operations/workflow/commands/workflowDeactivate.command.js +1 -0
  4134. package/dist/operations/workflow/commands/workflowRunCancel.command.d.js +0 -0
  4135. package/dist/operations/workflow/commands/workflowRunCancel.command.d.ts +41 -0
  4136. package/dist/operations/workflow/commands/workflowRunCancel.command.js +1 -0
  4137. package/dist/operations/workflow/commands/workflowRunDispatch.command.d.js +0 -0
  4138. package/dist/operations/workflow/commands/workflowRunDispatch.command.d.ts +53 -0
  4139. package/dist/operations/workflow/commands/workflowRunDispatch.command.js +1 -0
  4140. package/dist/operations/workflow/commands/workflowRunPause.command.d.js +0 -0
  4141. package/dist/operations/workflow/commands/workflowRunPause.command.d.ts +37 -0
  4142. package/dist/operations/workflow/commands/workflowRunPause.command.js +1 -0
  4143. package/dist/operations/workflow/commands/workflowRunResume.command.d.js +0 -0
  4144. package/dist/operations/workflow/commands/workflowRunResume.command.d.ts +37 -0
  4145. package/dist/operations/workflow/commands/workflowRunResume.command.js +1 -0
  4146. package/dist/operations/workflow/commands/workflowRunRetry.command.d.js +0 -0
  4147. package/dist/operations/workflow/commands/workflowRunRetry.command.d.ts +40 -0
  4148. package/dist/operations/workflow/commands/workflowRunRetry.command.js +1 -0
  4149. package/dist/operations/workflow/commands/workflowStepAdvance.command.d.js +0 -0
  4150. package/dist/operations/workflow/commands/workflowStepAdvance.command.d.ts +49 -0
  4151. package/dist/operations/workflow/commands/workflowStepAdvance.command.js +1 -0
  4152. package/dist/operations/workflow/commands/workflowStepSkip.command.d.js +0 -0
  4153. package/dist/operations/workflow/commands/workflowStepSkip.command.d.ts +49 -0
  4154. package/dist/operations/workflow/commands/workflowStepSkip.command.js +1 -0
  4155. package/dist/operations/workflow/commands/workflowUpdate.command.d.js +0 -0
  4156. package/dist/operations/workflow/commands/workflowUpdate.command.d.ts +44 -0
  4157. package/dist/operations/workflow/commands/workflowUpdate.command.js +1 -0
  4158. package/dist/operations/workflow/constants.d.js +0 -0
  4159. package/dist/operations/workflow/constants.d.ts +38 -0
  4160. package/dist/operations/workflow/constants.js +1 -0
  4161. package/dist/operations/workflow/index.d.js +1 -0
  4162. package/dist/operations/workflow/index.d.ts +31 -0
  4163. package/dist/operations/workflow/index.js +1 -0
  4164. package/dist/operations/workflow/queries/workflowGet.query.d.js +0 -0
  4165. package/dist/operations/workflow/queries/workflowGet.query.d.ts +29 -0
  4166. package/dist/operations/workflow/queries/workflowGet.query.js +1 -0
  4167. package/dist/operations/workflow/queries/workflowList.query.d.js +0 -0
  4168. package/dist/operations/workflow/queries/workflowList.query.d.ts +42 -0
  4169. package/dist/operations/workflow/queries/workflowList.query.js +1 -0
  4170. package/dist/operations/workflow/queries/workflowRunnerHealth.query.d.js +0 -0
  4171. package/dist/operations/workflow/queries/workflowRunnerHealth.query.d.ts +24 -0
  4172. package/dist/operations/workflow/queries/workflowRunnerHealth.query.js +1 -0
  4173. package/dist/osint/capability-matrix-validation.d.ts +3 -0
  4174. package/dist/osint/capability-matrix-validation.js +2 -0
  4175. package/dist/osint/capability-matrix.d.ts +84 -0
  4176. package/dist/osint/capability-matrix.js +3 -0
  4177. package/dist/osint/constants.d.ts +14 -0
  4178. package/dist/osint/constants.js +1 -0
  4179. package/dist/osint/entities.d.ts +60 -0
  4180. package/dist/osint/entities.js +0 -0
  4181. package/dist/osint/events.d.ts +605 -0
  4182. package/dist/osint/events.js +1 -0
  4183. package/dist/osint/exports.d.ts +14 -0
  4184. package/dist/osint/exports.js +0 -0
  4185. package/dist/osint/fingerprint.d.ts +13 -0
  4186. package/dist/osint/fingerprint.js +1 -0
  4187. package/dist/osint/index.d.ts +22 -0
  4188. package/dist/osint/index.js +1 -0
  4189. package/dist/osint/job-reconciliation-contracts.d.ts +372 -0
  4190. package/dist/osint/job-reconciliation-contracts.js +1 -0
  4191. package/dist/osint/job-sources.d.ts +176 -0
  4192. package/dist/osint/job-sources.js +18 -0
  4193. package/dist/osint/lifecycle-contracts.d.ts +552 -0
  4194. package/dist/osint/lifecycle-contracts.js +8 -0
  4195. package/dist/osint/lifecycle-worker-contracts.d.ts +386 -0
  4196. package/dist/osint/lifecycle-worker-contracts.js +1 -0
  4197. package/dist/osint/operational-contracts.d.ts +641 -0
  4198. package/dist/osint/operational-contracts.js +10 -0
  4199. package/dist/osint/operational-operations.d.ts +1965 -0
  4200. package/dist/osint/operational-operations.js +1 -0
  4201. package/dist/osint/operational-schema-fields.d.ts +148 -0
  4202. package/dist/osint/operational-schema-fields.js +1 -0
  4203. package/dist/osint/operations-continuation.d.ts +1611 -0
  4204. package/dist/osint/operations-continuation.js +1 -0
  4205. package/dist/osint/operations.d.ts +2436 -0
  4206. package/dist/osint/operations.js +1 -0
  4207. package/dist/osint/programs.d.ts +54 -0
  4208. package/dist/osint/programs.js +0 -0
  4209. package/dist/osint/registry.d.ts +3510 -0
  4210. package/dist/osint/registry.js +1 -0
  4211. package/dist/osint/rights-contracts.d.ts +253 -0
  4212. package/dist/osint/rights-contracts.js +8 -0
  4213. package/dist/osint/rights-operations.d.ts +175 -0
  4214. package/dist/osint/rights-operations.js +1 -0
  4215. package/dist/osint/source-state-operations.d.ts +386 -0
  4216. package/dist/osint/source-state-operations.js +1 -0
  4217. package/dist/osint/transport.d.ts +76 -0
  4218. package/dist/osint/transport.js +1 -0
  4219. package/dist/osint/types.d.ts +184 -0
  4220. package/dist/osint/types.js +0 -0
  4221. package/dist/outcome-claims/factory.d.ts +9 -0
  4222. package/dist/outcome-claims/factory.js +1 -0
  4223. package/dist/outcome-claims/index.d.ts +3 -0
  4224. package/dist/outcome-claims/index.js +1 -0
  4225. package/dist/outcome-claims/types.d.ts +86 -0
  4226. package/dist/outcome-claims/types.js +0 -0
  4227. package/dist/outcome-claims/validation.d.ts +685 -0
  4228. package/dist/outcome-claims/validation.js +1 -0
  4229. package/dist/ownership.d.js +0 -0
  4230. package/dist/ownership.d.ts +209 -0
  4231. package/dist/ownership.js +1 -0
  4232. package/dist/policy/context.d.ts +234 -0
  4233. package/dist/policy/context.js +1 -0
  4234. package/dist/policy/engine.d.ts +36 -0
  4235. package/dist/policy/engine.js +1 -0
  4236. package/dist/policy/guards.d.ts +150 -0
  4237. package/dist/policy/guards.js +1 -0
  4238. package/dist/policy/index.d.ts +13 -0
  4239. package/dist/policy/index.js +1 -0
  4240. package/dist/policy/opa-adapter.d.ts +41 -0
  4241. package/dist/policy/opa-adapter.js +1 -0
  4242. package/dist/policy/registry.d.js +0 -0
  4243. package/dist/policy/registry.d.ts +5 -0
  4244. package/dist/policy/registry.js +1 -0
  4245. package/dist/policy/requirements.d.js +0 -0
  4246. package/dist/policy/requirements.d.ts +64 -0
  4247. package/dist/policy/requirements.js +1 -0
  4248. package/dist/policy/spec.d.js +0 -0
  4249. package/dist/policy/spec.d.ts +127 -0
  4250. package/dist/policy/spec.js +150 -0
  4251. package/dist/policy/validation.d.ts +84 -0
  4252. package/dist/policy/validation.js +1 -0
  4253. package/dist/presentations/index.d.js +1 -0
  4254. package/dist/presentations/index.d.ts +2 -0
  4255. package/dist/presentations/index.js +1 -0
  4256. package/dist/presentations/presentations.d.js +0 -0
  4257. package/dist/presentations/presentations.d.ts +54 -0
  4258. package/dist/presentations/presentations.js +83 -0
  4259. package/dist/presentations/registry.d.js +0 -0
  4260. package/dist/presentations/registry.d.ts +6 -0
  4261. package/dist/presentations/registry.js +1 -0
  4262. package/dist/presentations/shim-blocknotejs.d.js +0 -0
  4263. package/dist/presentations/shim-blocknotejs.d.ts +28 -0
  4264. package/dist/presentations/shim-blocknotejs.js +0 -0
  4265. package/dist/product-intent/contract-patch-intent.d.ts +100 -0
  4266. package/dist/product-intent/contract-patch-intent.js +1 -0
  4267. package/dist/product-intent/contract-spec-patch.d.ts +86 -0
  4268. package/dist/product-intent/contract-spec-patch.js +1 -0
  4269. package/dist/product-intent/evidence.d.ts +14 -0
  4270. package/dist/product-intent/evidence.js +1 -0
  4271. package/dist/product-intent/findings.d.ts +57 -0
  4272. package/dist/product-intent/findings.js +1 -0
  4273. package/dist/product-intent/impact-report.d.ts +57 -0
  4274. package/dist/product-intent/impact-report.js +1 -0
  4275. package/dist/product-intent/index.d.ts +13 -0
  4276. package/dist/product-intent/index.js +1 -0
  4277. package/dist/product-intent/insights.d.ts +62 -0
  4278. package/dist/product-intent/insights.js +1 -0
  4279. package/dist/product-intent/opportunity-brief.d.ts +192 -0
  4280. package/dist/product-intent/opportunity-brief.js +1 -0
  4281. package/dist/product-intent/problems.d.ts +59 -0
  4282. package/dist/product-intent/problems.js +1 -0
  4283. package/dist/product-intent/registry.d.ts +28 -0
  4284. package/dist/product-intent/registry.js +1 -0
  4285. package/dist/product-intent/runtime.d.ts +92 -0
  4286. package/dist/product-intent/runtime.js +1 -0
  4287. package/dist/product-intent/spec.d.ts +664 -0
  4288. package/dist/product-intent/spec.js +1 -0
  4289. package/dist/product-intent/task-pack.d.ts +98 -0
  4290. package/dist/product-intent/task-pack.js +1 -0
  4291. package/dist/product-intent/tickets.d.ts +67 -0
  4292. package/dist/product-intent/tickets.js +1 -0
  4293. package/dist/product-intent/types.d.ts +11 -0
  4294. package/dist/product-intent/types.js +1 -0
  4295. package/dist/product-intent/ui-wireframe.d.ts +100 -0
  4296. package/dist/product-intent/ui-wireframe.js +1 -0
  4297. package/dist/prompt.d.ts +49 -0
  4298. package/dist/prompt.js +1 -0
  4299. package/dist/promptRegistry.d.ts +11 -0
  4300. package/dist/promptRegistry.js +1 -0
  4301. package/dist/provider-ranking/capabilities/index.d.ts +1 -0
  4302. package/dist/provider-ranking/capabilities/index.js +1 -0
  4303. package/dist/provider-ranking/capabilities/providerRanking.capability.d.ts +1 -0
  4304. package/dist/provider-ranking/capabilities/providerRanking.capability.js +1 -0
  4305. package/dist/provider-ranking/commands/benchmarkIngest.command.d.ts +62 -0
  4306. package/dist/provider-ranking/commands/benchmarkIngest.command.js +4 -0
  4307. package/dist/provider-ranking/commands/benchmarkRunCustom.command.d.ts +61 -0
  4308. package/dist/provider-ranking/commands/benchmarkRunCustom.command.js +4 -0
  4309. package/dist/provider-ranking/commands/index.d.ts +3 -0
  4310. package/dist/provider-ranking/commands/index.js +1 -0
  4311. package/dist/provider-ranking/commands/rankingRefresh.command.d.ts +42 -0
  4312. package/dist/provider-ranking/commands/rankingRefresh.command.js +4 -0
  4313. package/dist/provider-ranking/constants.d.ts +4 -0
  4314. package/dist/provider-ranking/constants.js +1 -0
  4315. package/dist/provider-ranking/contracts.d.ts +624 -0
  4316. package/dist/provider-ranking/contracts.js +1 -0
  4317. package/dist/provider-ranking/events/benchmarkCustomCompleted.event.d.ts +71 -0
  4318. package/dist/provider-ranking/events/benchmarkCustomCompleted.event.js +4 -0
  4319. package/dist/provider-ranking/events/benchmarkIngested.event.d.ts +47 -0
  4320. package/dist/provider-ranking/events/benchmarkIngested.event.js +4 -0
  4321. package/dist/provider-ranking/events/index.d.ts +3 -0
  4322. package/dist/provider-ranking/events/index.js +1 -0
  4323. package/dist/provider-ranking/events/rankingUpdated.event.d.ts +39 -0
  4324. package/dist/provider-ranking/events/rankingUpdated.event.js +4 -0
  4325. package/dist/provider-ranking/forms/benchmarkIngest.form.d.ts +29 -0
  4326. package/dist/provider-ranking/forms/benchmarkIngest.form.js +4 -0
  4327. package/dist/provider-ranking/forms/benchmarkRunCustom.form.d.ts +29 -0
  4328. package/dist/provider-ranking/forms/benchmarkRunCustom.form.js +4 -0
  4329. package/dist/provider-ranking/forms/index.d.ts +2 -0
  4330. package/dist/provider-ranking/forms/index.js +1 -0
  4331. package/dist/provider-ranking/index.d.ts +10 -0
  4332. package/dist/provider-ranking/index.js +1 -0
  4333. package/dist/provider-ranking/presentations/index.d.ts +1 -0
  4334. package/dist/provider-ranking/presentations/index.js +1 -0
  4335. package/dist/provider-ranking/presentations/modelComparison.presentation.d.ts +11 -0
  4336. package/dist/provider-ranking/presentations/modelComparison.presentation.js +4 -0
  4337. package/dist/provider-ranking/provider-ranking.feature.d.ts +11 -0
  4338. package/dist/provider-ranking/provider-ranking.feature.js +4 -0
  4339. package/dist/provider-ranking/queries/benchmarkResultsList.query.d.ts +84 -0
  4340. package/dist/provider-ranking/queries/benchmarkResultsList.query.js +4 -0
  4341. package/dist/provider-ranking/queries/index.d.ts +3 -0
  4342. package/dist/provider-ranking/queries/index.js +1 -0
  4343. package/dist/provider-ranking/queries/modelProfileGet.query.d.ts +67 -0
  4344. package/dist/provider-ranking/queries/modelProfileGet.query.js +4 -0
  4345. package/dist/provider-ranking/queries/providerRankingGet.query.d.ts +72 -0
  4346. package/dist/provider-ranking/queries/providerRankingGet.query.js +4 -0
  4347. package/dist/provider-ranking/views/benchmarkResults.dataView.d.ts +108 -0
  4348. package/dist/provider-ranking/views/benchmarkResults.dataView.js +4 -0
  4349. package/dist/provider-ranking/views/index.d.ts +2 -0
  4350. package/dist/provider-ranking/views/index.js +1 -0
  4351. package/dist/provider-ranking/views/providerRankings.dataView.d.ts +90 -0
  4352. package/dist/provider-ranking/views/providerRankings.dataView.js +4 -0
  4353. package/dist/pwa/capabilities/index.d.ts +1 -0
  4354. package/dist/pwa/capabilities/index.js +1 -0
  4355. package/dist/pwa/capabilities/pwaUpdateManagement.capability.d.ts +1 -0
  4356. package/dist/pwa/capabilities/pwaUpdateManagement.capability.js +1 -0
  4357. package/dist/pwa/constants.d.ts +4 -0
  4358. package/dist/pwa/constants.js +1 -0
  4359. package/dist/pwa/contracts.d.ts +180 -0
  4360. package/dist/pwa/contracts.js +1 -0
  4361. package/dist/pwa/events/index.d.ts +3 -0
  4362. package/dist/pwa/events/index.js +1 -0
  4363. package/dist/pwa/events/pwaUpdateApplied.event.d.ts +45 -0
  4364. package/dist/pwa/events/pwaUpdateApplied.event.js +1 -0
  4365. package/dist/pwa/events/pwaUpdateDeferred.event.d.ts +22 -0
  4366. package/dist/pwa/events/pwaUpdateDeferred.event.js +1 -0
  4367. package/dist/pwa/events/pwaUpdatePrompted.event.d.ts +22 -0
  4368. package/dist/pwa/events/pwaUpdatePrompted.event.js +1 -0
  4369. package/dist/pwa/index.d.ts +8 -0
  4370. package/dist/pwa/index.js +1 -0
  4371. package/dist/pwa/pwa.feature.d.ts +1 -0
  4372. package/dist/pwa/pwa.feature.js +1 -0
  4373. package/dist/pwa/queries/index.d.ts +1 -0
  4374. package/dist/pwa/queries/index.js +1 -0
  4375. package/dist/pwa/queries/pwaUpdateCheck.query.d.ts +244 -0
  4376. package/dist/pwa/queries/pwaUpdateCheck.query.js +1 -0
  4377. package/dist/pwa/registry.d.ts +7 -0
  4378. package/dist/pwa/registry.js +1 -0
  4379. package/dist/pwa/types.d.ts +52 -0
  4380. package/dist/pwa/types.js +6 -0
  4381. package/dist/quality/environment.d.ts +51 -0
  4382. package/dist/quality/environment.js +1 -0
  4383. package/dist/quality/index.d.ts +5 -0
  4384. package/dist/quality/index.js +1 -0
  4385. package/dist/quality/plan.d.ts +185 -0
  4386. package/dist/quality/plan.js +1 -0
  4387. package/dist/quality/primitives.d.ts +143 -0
  4388. package/dist/quality/primitives.js +1 -0
  4389. package/dist/quality/profile.d.ts +155 -0
  4390. package/dist/quality/profile.js +1 -0
  4391. package/dist/quality/receipt.d.ts +237 -0
  4392. package/dist/quality/receipt.js +1 -0
  4393. package/dist/query/cache-status.d.js +0 -0
  4394. package/dist/query/cache-status.d.ts +15 -0
  4395. package/dist/query/cache-status.js +1 -0
  4396. package/dist/query/conflict-policy.d.js +0 -0
  4397. package/dist/query/conflict-policy.d.ts +27 -0
  4398. package/dist/query/conflict-policy.js +1 -0
  4399. package/dist/query/consistency.d.js +0 -0
  4400. package/dist/query/consistency.d.ts +12 -0
  4401. package/dist/query/consistency.js +1 -0
  4402. package/dist/query/envelope.d.js +0 -0
  4403. package/dist/query/envelope.d.ts +96 -0
  4404. package/dist/query/envelope.js +0 -0
  4405. package/dist/query/index.d.js +1 -0
  4406. package/dist/query/index.d.ts +17 -0
  4407. package/dist/query/index.js +1 -0
  4408. package/dist/query/invalidation.d.js +0 -0
  4409. package/dist/query/invalidation.d.ts +19 -0
  4410. package/dist/query/invalidation.js +1 -0
  4411. package/dist/query/key.d.js +0 -0
  4412. package/dist/query/key.d.ts +10 -0
  4413. package/dist/query/key.js +1 -0
  4414. package/dist/query/normalize.d.js +0 -0
  4415. package/dist/query/normalize.d.ts +49 -0
  4416. package/dist/query/normalize.js +1 -0
  4417. package/dist/query/query-state.d.js +0 -0
  4418. package/dist/query/query-state.d.ts +63 -0
  4419. package/dist/query/query-state.js +1 -0
  4420. package/dist/query/version-token.d.js +0 -0
  4421. package/dist/query/version-token.d.ts +20 -0
  4422. package/dist/query/version-token.js +1 -0
  4423. package/dist/regenerator/adapters.d.ts +15 -0
  4424. package/dist/regenerator/adapters.js +0 -0
  4425. package/dist/regenerator/executor.d.ts +66 -0
  4426. package/dist/regenerator/executor.js +1 -0
  4427. package/dist/regenerator/index.d.ts +6 -0
  4428. package/dist/regenerator/index.js +1 -0
  4429. package/dist/regenerator/service.d.ts +31 -0
  4430. package/dist/regenerator/service.js +1 -0
  4431. package/dist/regenerator/sinks.d.ts +23 -0
  4432. package/dist/regenerator/sinks.js +1 -0
  4433. package/dist/regenerator/types.d.ts +103 -0
  4434. package/dist/regenerator/types.js +0 -0
  4435. package/dist/regenerator/utils.d.ts +6 -0
  4436. package/dist/regenerator/utils.js +1 -0
  4437. package/dist/registry-utils.d.js +0 -0
  4438. package/dist/registry-utils.d.ts +105 -0
  4439. package/dist/registry-utils.js +1 -0
  4440. package/dist/registry.d.js +0 -0
  4441. package/dist/registry.d.ts +27 -0
  4442. package/dist/registry.js +1 -0
  4443. package/dist/release/index.d.ts +1 -0
  4444. package/dist/release/index.js +1 -0
  4445. package/dist/resources.d.js +0 -0
  4446. package/dist/resources.d.ts +60 -0
  4447. package/dist/resources.js +1 -0
  4448. package/dist/results/builders.d.js +0 -0
  4449. package/dist/results/builders.d.ts +51 -0
  4450. package/dist/results/builders.js +1 -0
  4451. package/dist/results/error.d.js +0 -0
  4452. package/dist/results/error.d.ts +8 -0
  4453. package/dist/results/error.js +1 -0
  4454. package/dist/results/factories.d.js +0 -0
  4455. package/dist/results/factories.d.ts +23 -0
  4456. package/dist/results/factories.js +1 -0
  4457. package/dist/results/guards.d.js +0 -0
  4458. package/dist/results/guards.d.ts +7 -0
  4459. package/dist/results/guards.js +1 -0
  4460. package/dist/results/index.d.js +1 -0
  4461. package/dist/results/index.d.ts +15 -0
  4462. package/dist/results/index.js +1 -0
  4463. package/dist/results/normalize.d.js +0 -0
  4464. package/dist/results/normalize.d.ts +9 -0
  4465. package/dist/results/normalize.js +1 -0
  4466. package/dist/results/problem.d.js +0 -0
  4467. package/dist/results/problem.d.ts +2 -0
  4468. package/dist/results/problem.js +1 -0
  4469. package/dist/results/result-specs.d.js +0 -0
  4470. package/dist/results/result-specs.d.ts +73 -0
  4471. package/dist/results/result-specs.js +0 -0
  4472. package/dist/results/standard-specs.d.js +0 -0
  4473. package/dist/results/standard-specs.d.ts +90 -0
  4474. package/dist/results/standard-specs.js +1 -0
  4475. package/dist/results/status.d.js +0 -0
  4476. package/dist/results/status.d.ts +3 -0
  4477. package/dist/results/status.js +1 -0
  4478. package/dist/results/types.d.js +0 -0
  4479. package/dist/results/types.d.ts +99 -0
  4480. package/dist/results/types.js +0 -0
  4481. package/dist/results/value-utils.d.js +0 -0
  4482. package/dist/results/value-utils.d.ts +5 -0
  4483. package/dist/results/value-utils.js +1 -0
  4484. package/dist/rich-content/builders.d.ts +19 -0
  4485. package/dist/rich-content/builders.js +3 -0
  4486. package/dist/rich-content/index.d.ts +4 -0
  4487. package/dist/rich-content/index.js +1 -0
  4488. package/dist/rich-content/preferences.d.ts +7 -0
  4489. package/dist/rich-content/preferences.js +0 -0
  4490. package/dist/rich-content/redaction.d.ts +5 -0
  4491. package/dist/rich-content/redaction.js +1 -0
  4492. package/dist/rich-content/types.d.ts +69 -0
  4493. package/dist/rich-content/types.js +0 -0
  4494. package/dist/rich-reference/__fixtures__/cross-adapter-fixture.d.ts +26 -0
  4495. package/dist/rich-reference/__fixtures__/cross-adapter-fixture.js +1 -0
  4496. package/dist/rich-reference/agent-export.d.js +0 -0
  4497. package/dist/rich-reference/agent-export.d.ts +59 -0
  4498. package/dist/rich-reference/agent-export.js +1 -0
  4499. package/dist/rich-reference/canonical-serializer.d.js +0 -0
  4500. package/dist/rich-reference/canonical-serializer.d.ts +29 -0
  4501. package/dist/rich-reference/canonical-serializer.js +1 -0
  4502. package/dist/rich-reference/contracts.d.ts +4 -0
  4503. package/dist/rich-reference/contracts.js +1 -0
  4504. package/dist/rich-reference/define-kind.d.js +0 -0
  4505. package/dist/rich-reference/define-kind.d.ts +46 -0
  4506. package/dist/rich-reference/define-kind.js +1 -0
  4507. package/dist/rich-reference/denial-token-shape.d.js +0 -0
  4508. package/dist/rich-reference/denial-token-shape.d.ts +16 -0
  4509. package/dist/rich-reference/denial-token-shape.js +1 -0
  4510. package/dist/rich-reference/denial-token.d.js +0 -0
  4511. package/dist/rich-reference/denial-token.d.ts +11 -0
  4512. package/dist/rich-reference/denial-token.js +1 -0
  4513. package/dist/rich-reference/detector.d.js +0 -0
  4514. package/dist/rich-reference/detector.d.ts +19 -0
  4515. package/dist/rich-reference/detector.js +1 -0
  4516. package/dist/rich-reference/handler.d.js +0 -0
  4517. package/dist/rich-reference/handler.d.ts +49 -0
  4518. package/dist/rich-reference/handler.js +0 -0
  4519. package/dist/rich-reference/index.d.js +1 -0
  4520. package/dist/rich-reference/index.d.ts +38 -0
  4521. package/dist/rich-reference/index.js +19 -0
  4522. package/dist/rich-reference/kinds/code-symbol.d.js +1 -0
  4523. package/dist/rich-reference/kinds/code-symbol.d.ts +39 -0
  4524. package/dist/rich-reference/kinds/code-symbol.js +1 -0
  4525. package/dist/rich-reference/kinds/database-record.d.js +1 -0
  4526. package/dist/rich-reference/kinds/database-record.d.ts +29 -0
  4527. package/dist/rich-reference/kinds/database-record.js +1 -0
  4528. package/dist/rich-reference/kinds/entity.d.js +1 -0
  4529. package/dist/rich-reference/kinds/entity.d.ts +62 -0
  4530. package/dist/rich-reference/kinds/entity.js +27 -0
  4531. package/dist/rich-reference/kinds/file.d.js +1 -0
  4532. package/dist/rich-reference/kinds/file.d.ts +26 -0
  4533. package/dist/rich-reference/kinds/file.js +1 -0
  4534. package/dist/rich-reference/kinds/index.d.js +1 -0
  4535. package/dist/rich-reference/kinds/index.d.ts +70 -0
  4536. package/dist/rich-reference/kinds/index.js +1 -0
  4537. package/dist/rich-reference/kinds/link.d.js +1 -0
  4538. package/dist/rich-reference/kinds/link.d.ts +24 -0
  4539. package/dist/rich-reference/kinds/link.js +1 -0
  4540. package/dist/rich-reference/kinds/media.d.js +1 -0
  4541. package/dist/rich-reference/kinds/media.d.ts +34 -0
  4542. package/dist/rich-reference/kinds/media.js +1 -0
  4543. package/dist/rich-reference/kinds/object.d.js +1 -0
  4544. package/dist/rich-reference/kinds/object.d.ts +24 -0
  4545. package/dist/rich-reference/kinds/object.js +1 -0
  4546. package/dist/rich-reference/markdown-envelope.d.js +0 -0
  4547. package/dist/rich-reference/markdown-envelope.d.ts +73 -0
  4548. package/dist/rich-reference/markdown-envelope.js +1 -0
  4549. package/dist/rich-reference/ports/audit-sink.d.js +0 -0
  4550. package/dist/rich-reference/ports/audit-sink.d.ts +32 -0
  4551. package/dist/rich-reference/ports/audit-sink.js +0 -0
  4552. package/dist/rich-reference/ports/coarse-preferences-provider.d.js +0 -0
  4553. package/dist/rich-reference/ports/coarse-preferences-provider.d.ts +39 -0
  4554. package/dist/rich-reference/ports/coarse-preferences-provider.js +0 -0
  4555. package/dist/rich-reference/ports/durable-audit-sink.d.js +0 -0
  4556. package/dist/rich-reference/ports/durable-audit-sink.d.ts +46 -0
  4557. package/dist/rich-reference/ports/durable-audit-sink.js +0 -0
  4558. package/dist/rich-reference/ports/index.d.js +0 -0
  4559. package/dist/rich-reference/ports/index.d.ts +12 -0
  4560. package/dist/rich-reference/ports/index.js +0 -0
  4561. package/dist/rich-reference/ports/kind-policy-provider.d.js +0 -0
  4562. package/dist/rich-reference/ports/kind-policy-provider.d.ts +35 -0
  4563. package/dist/rich-reference/ports/kind-policy-provider.js +0 -0
  4564. package/dist/rich-reference/ports/subject-provider.d.js +0 -0
  4565. package/dist/rich-reference/ports/subject-provider.d.ts +40 -0
  4566. package/dist/rich-reference/ports/subject-provider.js +0 -0
  4567. package/dist/rich-reference/redaction.d.js +0 -0
  4568. package/dist/rich-reference/redaction.d.ts +23 -0
  4569. package/dist/rich-reference/redaction.js +1 -0
  4570. package/dist/rich-reference/registry.d.js +0 -0
  4571. package/dist/rich-reference/registry.d.ts +35 -0
  4572. package/dist/rich-reference/registry.js +1 -0
  4573. package/dist/rich-reference/runtime/dev-invariants.d.ts +18 -0
  4574. package/dist/rich-reference/runtime/dev-invariants.js +1 -0
  4575. package/dist/rich-reference/runtime/dispatch.d.ts +48 -0
  4576. package/dist/rich-reference/runtime/dispatch.js +1 -0
  4577. package/dist/rich-reference/runtime/index.d.ts +16 -0
  4578. package/dist/rich-reference/runtime/index.js +1 -0
  4579. package/dist/rich-reference/runtime/redaction-enforcer.d.ts +21 -0
  4580. package/dist/rich-reference/runtime/redaction-enforcer.js +1 -0
  4581. package/dist/rich-reference/runtime/runtime.d.ts +27 -0
  4582. package/dist/rich-reference/runtime/runtime.js +1 -0
  4583. package/dist/rich-reference/types.d.js +0 -0
  4584. package/dist/rich-reference/types.d.ts +66 -0
  4585. package/dist/rich-reference/types.js +1 -0
  4586. package/dist/runtime-adapters.d.js +0 -0
  4587. package/dist/runtime-adapters.d.ts +25 -0
  4588. package/dist/runtime-adapters.js +1 -0
  4589. package/dist/schema-to-markdown.d.ts +56 -0
  4590. package/dist/schema-to-markdown.js +10 -0
  4591. package/dist/self-improving-system/constants.d.ts +14 -0
  4592. package/dist/self-improving-system/constants.js +1 -0
  4593. package/dist/self-improving-system/events.d.ts +1007 -0
  4594. package/dist/self-improving-system/events.js +1 -0
  4595. package/dist/self-improving-system/index.d.ts +7 -0
  4596. package/dist/self-improving-system/index.js +1 -0
  4597. package/dist/self-improving-system/operation-definitions.d.ts +1751 -0
  4598. package/dist/self-improving-system/operation-definitions.js +1 -0
  4599. package/dist/self-improving-system/operations.d.ts +1726 -0
  4600. package/dist/self-improving-system/operations.js +1 -0
  4601. package/dist/self-improving-system/registry.d.ts +9 -0
  4602. package/dist/self-improving-system/registry.js +1 -0
  4603. package/dist/self-improving-system/transport.d.ts +10 -0
  4604. package/dist/self-improving-system/transport.js +1 -0
  4605. package/dist/self-improving-system/types.d.ts +136 -0
  4606. package/dist/self-improving-system/types.js +1 -0
  4607. package/dist/self-improving-system/validation.d.ts +274 -0
  4608. package/dist/self-improving-system/validation.js +1 -0
  4609. package/dist/serialization/index.d.ts +10 -0
  4610. package/dist/serialization/index.js +1 -0
  4611. package/dist/serialization/serializers.d.ts +35 -0
  4612. package/dist/serialization/serializers.js +1 -0
  4613. package/dist/serialization/types.d.ts +100 -0
  4614. package/dist/serialization/types.js +0 -0
  4615. package/dist/shared/attach-context.d.js +0 -0
  4616. package/dist/shared/attach-context.d.ts +83 -0
  4617. package/dist/shared/attach-context.js +1 -0
  4618. package/dist/shared/audit.d.js +0 -0
  4619. package/dist/shared/audit.d.ts +93 -0
  4620. package/dist/shared/audit.js +1 -0
  4621. package/dist/shared/idempotency-shape.d.js +0 -0
  4622. package/dist/shared/idempotency-shape.d.ts +63 -0
  4623. package/dist/shared/idempotency-shape.js +1 -0
  4624. package/dist/shared/idempotency.d.ts +64 -0
  4625. package/dist/shared/idempotency.js +1 -0
  4626. package/dist/shared/index.d.js +1 -0
  4627. package/dist/shared/index.d.ts +39 -0
  4628. package/dist/shared/index.js +1 -0
  4629. package/dist/shared/window.d.js +0 -0
  4630. package/dist/shared/window.d.ts +81 -0
  4631. package/dist/shared/window.js +1 -0
  4632. package/dist/shared-entities/index.d.ts +8 -0
  4633. package/dist/shared-entities/index.js +1 -0
  4634. package/dist/shared-entities/person.d.ts +50 -0
  4635. package/dist/shared-entities/person.js +12 -0
  4636. package/dist/shared-entities/project.d.ts +53 -0
  4637. package/dist/shared-entities/project.js +4 -0
  4638. package/dist/shared-entities/resource.d.ts +36 -0
  4639. package/dist/shared-entities/resource.js +4 -0
  4640. package/dist/shared-entities/task-validators.d.ts +24 -0
  4641. package/dist/shared-entities/task-validators.js +1 -0
  4642. package/dist/shared-entities/task.d.js +0 -0
  4643. package/dist/shared-entities/task.d.ts +128 -0
  4644. package/dist/shared-entities/task.js +1 -0
  4645. package/dist/shared-entities/team.d.ts +44 -0
  4646. package/dist/shared-entities/team.js +12 -0
  4647. package/dist/sop/generation-sources.d.ts +57 -0
  4648. package/dist/sop/generation-sources.js +5 -0
  4649. package/dist/sop/index.d.ts +5 -0
  4650. package/dist/sop/index.js +1 -0
  4651. package/dist/sop/operations.d.ts +566 -0
  4652. package/dist/sop/operations.js +1 -0
  4653. package/dist/sop/sop.feature.d.ts +11 -0
  4654. package/dist/sop/sop.feature.js +3 -0
  4655. package/dist/sop/types.d.ts +144 -0
  4656. package/dist/sop/types.js +0 -0
  4657. package/dist/sop/validation.d.ts +9 -0
  4658. package/dist/sop/validation.js +1 -0
  4659. package/dist/structured-data/derive.d.js +0 -0
  4660. package/dist/structured-data/derive.d.ts +61 -0
  4661. package/dist/structured-data/derive.js +1 -0
  4662. package/dist/structured-data/index.d.js +1 -0
  4663. package/dist/structured-data/index.d.ts +3 -0
  4664. package/dist/structured-data/index.js +1 -0
  4665. package/dist/structured-data/kinds.d.js +0 -0
  4666. package/dist/structured-data/kinds.d.ts +143 -0
  4667. package/dist/structured-data/kinds.js +1 -0
  4668. package/dist/structured-data/schema-guards.d.ts +1 -0
  4669. package/dist/structured-data/schema-guards.js +0 -0
  4670. package/dist/structured-data/validate.d.js +0 -0
  4671. package/dist/structured-data/validate.d.ts +19 -0
  4672. package/dist/structured-data/validate.js +1 -0
  4673. package/dist/telemetry/anomaly.d.js +0 -0
  4674. package/dist/telemetry/anomaly.d.ts +22 -0
  4675. package/dist/telemetry/anomaly.js +1 -0
  4676. package/dist/telemetry/delivery-v2.d.js +0 -0
  4677. package/dist/telemetry/delivery-v2.d.ts +152 -0
  4678. package/dist/telemetry/delivery-v2.js +1 -0
  4679. package/dist/telemetry/index.d.js +1 -0
  4680. package/dist/telemetry/index.d.ts +5 -0
  4681. package/dist/telemetry/index.js +1 -0
  4682. package/dist/telemetry/spec.d.js +0 -0
  4683. package/dist/telemetry/spec.d.ts +89 -0
  4684. package/dist/telemetry/spec.js +1 -0
  4685. package/dist/telemetry/tracker.d.js +0 -0
  4686. package/dist/telemetry/tracker.d.ts +48 -0
  4687. package/dist/telemetry/tracker.js +1 -0
  4688. package/dist/telemetry/v2-primitives.d.js +0 -0
  4689. package/dist/telemetry/v2-primitives.d.ts +113 -0
  4690. package/dist/telemetry/v2-primitives.js +1 -0
  4691. package/dist/telemetry/v2-validation.d.js +0 -0
  4692. package/dist/telemetry/v2-validation.d.ts +3 -0
  4693. package/dist/telemetry/v2-validation.js +1 -0
  4694. package/dist/telemetry/v2.d.js +1 -0
  4695. package/dist/telemetry/v2.d.ts +520 -0
  4696. package/dist/telemetry/v2.js +1 -0
  4697. package/dist/tests/index.d.ts +2 -0
  4698. package/dist/tests/index.js +1 -0
  4699. package/dist/tests/runner.d.ts +38 -0
  4700. package/dist/tests/runner.js +1 -0
  4701. package/dist/tests/spec.d.js +0 -0
  4702. package/dist/tests/spec.d.ts +84 -0
  4703. package/dist/tests/spec.js +1 -0
  4704. package/dist/themes.d.js +1 -0
  4705. package/dist/themes.d.ts +248 -0
  4706. package/dist/themes.js +1 -0
  4707. package/dist/themes.platform-validation.d.js +0 -0
  4708. package/dist/themes.platform-validation.d.ts +7 -0
  4709. package/dist/themes.platform-validation.js +1 -0
  4710. package/dist/themes.validation.d.js +0 -0
  4711. package/dist/themes.validation.d.ts +18 -0
  4712. package/dist/themes.validation.js +1 -0
  4713. package/dist/translations/catalog.d.js +0 -0
  4714. package/dist/translations/catalog.d.ts +25 -0
  4715. package/dist/translations/catalog.js +0 -0
  4716. package/dist/translations/diagnostics.d.js +0 -0
  4717. package/dist/translations/diagnostics.d.ts +92 -0
  4718. package/dist/translations/diagnostics.js +1 -0
  4719. package/dist/translations/i18n-factory-snapshot.d.js +0 -0
  4720. package/dist/translations/i18n-factory-snapshot.d.ts +86 -0
  4721. package/dist/translations/i18n-factory-snapshot.js +1 -0
  4722. package/dist/translations/i18n-factory.d.js +0 -0
  4723. package/dist/translations/i18n-factory.d.ts +149 -0
  4724. package/dist/translations/i18n-factory.js +1 -0
  4725. package/dist/translations/index.d.js +1 -0
  4726. package/dist/translations/index.d.ts +48 -0
  4727. package/dist/translations/index.js +1 -0
  4728. package/dist/translations/locale.d.js +0 -0
  4729. package/dist/translations/locale.d.ts +9 -0
  4730. package/dist/translations/locale.js +1 -0
  4731. package/dist/translations/registry.d.js +0 -0
  4732. package/dist/translations/registry.d.ts +179 -0
  4733. package/dist/translations/registry.js +1 -0
  4734. package/dist/translations/spec.d.js +0 -0
  4735. package/dist/translations/spec.d.ts +296 -0
  4736. package/dist/translations/spec.js +1 -0
  4737. package/dist/translations/tenant.d.js +0 -0
  4738. package/dist/translations/tenant.d.ts +11 -0
  4739. package/dist/translations/tenant.js +0 -0
  4740. package/dist/translations/validation.d.js +0 -0
  4741. package/dist/translations/validation.d.ts +165 -0
  4742. package/dist/translations/validation.js +1 -0
  4743. package/dist/types.d.js +0 -0
  4744. package/dist/types.d.ts +310 -0
  4745. package/dist/types.js +1 -0
  4746. package/dist/utils/safe-json.d.ts +10 -0
  4747. package/dist/utils/safe-json.js +1 -0
  4748. package/dist/versioning/index.d.js +1 -0
  4749. package/dist/versioning/index.d.ts +12 -0
  4750. package/dist/versioning/index.js +1 -0
  4751. package/dist/versioning/refs.d.js +0 -0
  4752. package/dist/versioning/refs.d.ts +176 -0
  4753. package/dist/versioning/refs.js +1 -0
  4754. package/dist/versioning/release-types.d.js +0 -0
  4755. package/dist/versioning/release-types.d.ts +142 -0
  4756. package/dist/versioning/release-types.js +0 -0
  4757. package/dist/versioning/release-utils.d.js +0 -0
  4758. package/dist/versioning/release-utils.d.ts +5 -0
  4759. package/dist/versioning/release-utils.js +1 -0
  4760. package/dist/versioning/schema.d.js +0 -0
  4761. package/dist/versioning/schema.d.ts +24 -0
  4762. package/dist/versioning/schema.js +1 -0
  4763. package/dist/versioning/types.d.js +0 -0
  4764. package/dist/versioning/types.d.ts +130 -0
  4765. package/dist/versioning/types.js +1 -0
  4766. package/dist/versioning/utils.d.js +0 -0
  4767. package/dist/versioning/utils.d.ts +93 -0
  4768. package/dist/versioning/utils.js +1 -0
  4769. package/dist/visual-scenarios/index.d.ts +4 -0
  4770. package/dist/visual-scenarios/index.js +1 -0
  4771. package/dist/visual-scenarios/platform.d.ts +2 -0
  4772. package/dist/visual-scenarios/platform.js +1 -0
  4773. package/dist/visual-scenarios/registry.d.js +0 -0
  4774. package/dist/visual-scenarios/registry.d.ts +6 -0
  4775. package/dist/visual-scenarios/registry.js +1 -0
  4776. package/dist/visual-scenarios/spec.d.js +0 -0
  4777. package/dist/visual-scenarios/spec.d.ts +94 -0
  4778. package/dist/visual-scenarios/spec.js +1 -0
  4779. package/dist/visual-scenarios/validation-authoring.d.ts +5 -0
  4780. package/dist/visual-scenarios/validation-authoring.js +1 -0
  4781. package/dist/visual-scenarios/validation.d.ts +17 -0
  4782. package/dist/visual-scenarios/validation.js +1 -0
  4783. package/dist/visualizations/index.d.ts +4 -0
  4784. package/dist/visualizations/index.js +1 -0
  4785. package/dist/visualizations/registry.d.js +0 -0
  4786. package/dist/visualizations/registry.d.ts +6 -0
  4787. package/dist/visualizations/registry.js +1 -0
  4788. package/dist/visualizations/spec.d.js +0 -0
  4789. package/dist/visualizations/spec.d.ts +16 -0
  4790. package/dist/visualizations/spec.js +1 -0
  4791. package/dist/visualizations/types.d.js +0 -0
  4792. package/dist/visualizations/types.d.ts +187 -0
  4793. package/dist/visualizations/types.js +1 -0
  4794. package/dist/workflow/adapters/db-adapter.d.ts +43 -0
  4795. package/dist/workflow/adapters/db-adapter.js +1 -0
  4796. package/dist/workflow/adapters/file-adapter.d.ts +10 -0
  4797. package/dist/workflow/adapters/file-adapter.js +1 -0
  4798. package/dist/workflow/adapters/index.d.ts +3 -0
  4799. package/dist/workflow/adapters/index.js +1 -0
  4800. package/dist/workflow/adapters/memory-store.d.ts +13 -0
  4801. package/dist/workflow/adapters/memory-store.js +1 -0
  4802. package/dist/workflow/context.d.ts +217 -0
  4803. package/dist/workflow/context.js +1 -0
  4804. package/dist/workflow/dag-utils.d.ts +18 -0
  4805. package/dist/workflow/dag-utils.js +1 -0
  4806. package/dist/workflow/expression.d.ts +6 -0
  4807. package/dist/workflow/expression.js +1 -0
  4808. package/dist/workflow/index.d.ts +10 -0
  4809. package/dist/workflow/index.js +1 -0
  4810. package/dist/workflow/runner.d.ts +103 -0
  4811. package/dist/workflow/runner.js +1 -0
  4812. package/dist/workflow/sla-monitor.d.ts +16 -0
  4813. package/dist/workflow/sla-monitor.js +1 -0
  4814. package/dist/workflow/spec.d.js +0 -0
  4815. package/dist/workflow/spec.d.ts +203 -0
  4816. package/dist/workflow/spec.js +1 -0
  4817. package/dist/workflow/state.d.ts +46 -0
  4818. package/dist/workflow/state.js +0 -0
  4819. package/dist/workflow/validation-workflow-devkit.d.ts +3 -0
  4820. package/dist/workflow/validation-workflow-devkit.js +1 -0
  4821. package/dist/workflow/validation.d.ts +93 -0
  4822. package/dist/workflow/validation.js +1 -0
  4823. package/dist/workflow/workflow-devkit.d.js +0 -0
  4824. package/dist/workflow/workflow-devkit.d.ts +74 -0
  4825. package/dist/workflow/workflow-devkit.js +0 -0
  4826. package/dist/workflow/workflow-sdk.d.ts +8 -0
  4827. package/dist/workflow/workflow-sdk.js +1 -0
  4828. package/dist/workspace-config/contractsrc-schema.d.ts +226 -0
  4829. package/dist/workspace-config/contractsrc-schema.js +1 -0
  4830. package/dist/workspace-config/contractsrc-types.d.ts +707 -0
  4831. package/dist/workspace-config/contractsrc-types.js +0 -0
  4832. package/dist/workspace-config/environment-validation-alias.d.ts +3 -0
  4833. package/dist/workspace-config/environment-validation-alias.js +1 -0
  4834. package/dist/workspace-config/environment-validation.d.ts +4 -0
  4835. package/dist/workspace-config/environment-validation.js +1 -0
  4836. package/dist/workspace-config/environment.d.ts +77 -0
  4837. package/dist/workspace-config/environment.js +1 -0
  4838. package/dist/workspace-config/index.d.ts +13 -0
  4839. package/dist/workspace-config/index.js +1 -0
  4840. package/dist/workspace-config/lssm-os-config.fixture.d.ts +2 -0
  4841. package/dist/workspace-config/lssm-os-config.fixture.js +1 -0
  4842. package/dist/workspace-config/lssm-os-constraints.d.ts +14 -0
  4843. package/dist/workspace-config/lssm-os-constraints.js +1 -0
  4844. package/dist/workspace-config/lssm-os-extension-schema.d.ts +3 -0
  4845. package/dist/workspace-config/lssm-os-extension-schema.js +1 -0
  4846. package/dist/workspace-config/lssm-os-inheritance.d.ts +3 -0
  4847. package/dist/workspace-config/lssm-os-inheritance.js +1 -0
  4848. package/dist/workspace-config/lssm-os-policy-merge.d.ts +3 -0
  4849. package/dist/workspace-config/lssm-os-policy-merge.js +1 -0
  4850. package/dist/workspace-config/lssm-os-provider-merge.d.ts +3 -0
  4851. package/dist/workspace-config/lssm-os-provider-merge.js +1 -0
  4852. package/dist/workspace-config/lssm-os-schema.d.ts +20 -0
  4853. package/dist/workspace-config/lssm-os-schema.js +1 -0
  4854. package/dist/workspace-config/lssm-os-secrets.d.ts +2 -0
  4855. package/dist/workspace-config/lssm-os-secrets.js +1 -0
  4856. package/dist/workspace-config/lssm-os-types.d.ts +125 -0
  4857. package/dist/workspace-config/lssm-os-types.js +1 -0
  4858. package/package.json +22130 -0
@@ -0,0 +1,3215 @@
1
+ export const contractsSpecDocManifest={packageName:"@lssm/lib.contracts-spec",generatedAt:"1970-01-01T00:00:00.000Z",blocks:[{id:"ai-improvement-v2",exportName:"aiImprovementV2DocBlock",sourceModule:"ai-improvement/contracts-v2",block:{id:"ai-improvement-v2",title:"Governed adaptive improvement V2",body:"Versioned contracts for sanitized operational signals, explicit canary observation, deterministic automation risk, provider patch receipts, and work orders with an observing stage. V1 contracts remain unchanged. Operational signals carry metadata and evidence only; raw prompts, payloads, credentials, and personal data are outside this contract.",kind:"reference",route:"packages/libs/contracts-spec/src/ai-improvement/contracts-v2.ts",visibility:"public"}},{id:"contractspec-delivery-chain-artifact-v1",exportName:"deliveryChainArtifactV1DocBlock",sourceModule:"delivery/chain",block:{id:"contractspec-delivery-chain-artifact-v1",title:"Intent-to-production delivery chain artifacts",body:"The delivery chain links product intent, Builder planning, Connect decisions, candidate patches, release plans, infrastructure work orders, deployment receipts, runtime evidence, outcome observations, and governed evolution proposals through canonical SHA-256 digests. Every artifact has effectAuthority none: existing Connect, Runtime Node, infrastructure, release, and provider adapters retain execution authority.",kind:"reference",route:"/docs/contracts/delivery/chain-v1",visibility:"public"}},{id:"contractspec-delivery-ci-budget-state-v2",exportName:"ciBudgetStateV2DocBlock",sourceModule:"delivery/ci-budget",block:{id:"contractspec-delivery-ci-budget-state-v2",title:"CI budget state V2",body:"CiBudgetStateV2 is the provider-neutral, tenant-scoped economic admission state for delivery work. It reconciles fixed costs, provider actuals, active reservations, projections, and recovery reserve against strictly increasing tenant thresholds. Stale or mismatched evidence fails to recovery-only admission, and exposure at the hard limit closes all positive-cost admission.",kind:"reference",route:"/docs/contracts/delivery/ci-budget-state-v2",visibility:"public"}},{id:"contractspec-delivery-manual-author-attestation-v1",exportName:"manualAuthorAttestationV1DocBlock",sourceModule:"delivery/manual-author-attestation",block:{id:"contractspec-delivery-manual-author-attestation-v1",title:"Manual author attestation V1",body:"ManualAuthorAttestationV1 records who authored an exact existing worktree, commit, or patch series before its first governed remote mutation. It binds tenant, repository, source and path digests, intent, evidence, and a Connect decision. It explicitly grants no promotion, provider, migration, or other mutation authority; those actions require their own current Connect decisions and permits.",kind:"reference",route:"/docs/contracts/delivery/manual-author-attestation-v1",visibility:"public"}},{id:"contractspec-delivery-plan-v1",exportName:"deliveryPlanV1DocBlock",sourceModule:"delivery/contracts",block:{id:"contractspec-delivery-plan-v1",title:"Digest-bound delivery plan V1",body:"DeliveryPlanV1 is the provider-neutral aggregate for one exact candidate. Its canonical SHA-256 digest binds tenant, repository, environment, Git base/head/tree, intent, goals, contracts, ownership, autonomy, a signed Connect plan decision reference, catalog provenance, risk, quality, and observation. DeliveryEvidenceEnvelopeV2 links Builder, Connect, quality, release, infrastructure, deployment, runtime, economic, and outcome evidence without embedding provider payloads or secrets.",kind:"reference",route:"/docs/contracts/delivery/plan-v1",visibility:"public"}},{id:"contractspec-delivery-project-profile-v1",exportName:"deliveryProjectProfileV1DocBlock",sourceModule:"delivery/project-profile",block:{id:"contractspec-delivery-project-profile-v1",title:"Adaptive delivery project profiles",body:"DeliveryProjectProfileV1 independently selects adoption, control-plane placement, application hosting, state topology, optional agent execution and company context. Contracts-only consumers need no infrastructure. A mixed Vercel/Railway project needs no Kubernetes, broker, or persistent agent. Preview environments require bounded lifetime, access policy and teardown. CI and operating budget categories remain distinct. A digest proves identity, not qualification or authority: hosts must independently verify referenced qualifications and obtain Connect authorization before effects.",kind:"reference",route:"/docs/contracts/delivery/project-profile-v1",visibility:"public"}},{id:"contractspec-delivery-scoped-autonomy-v2",exportName:"deliveryScopedAutonomyV2DocBlock",sourceModule:"delivery/scoped-autonomy",block:{id:"contractspec-delivery-scoped-autonomy-v2",title:"Scoped delivery autonomy",body:"Additive V2 policies preserve TenantDeliveryPolicyV1. Organization roots and explicit parent chains constrain workspace, project, environment, team, user, action and resource policies. Resolution intersects autonomy, risk and cost limits and unions required checks. Missing parents, cycles, scope expansion, revocation, expiry and digest substitution block progression. Hosts must load the complete applicable policy set and authenticated context, then recheck current policy in Connect before execution. This helper computes an explanation, never a permit; qualified_autonomous still requires independent runtime qualification and authority.",kind:"reference",route:"/docs/contracts/delivery/scoped-autonomy-v2",visibility:"public"}},{id:"contractspec-delivery-telemetry-v2",exportName:"ContractSpecDeliveryTelemetryV2DocBlock",sourceModule:"telemetry/delivery-v2",block:{id:"contractspec-delivery-telemetry-v2",title:"ContractSpec engineering delivery telemetry V2",body:"The canonical delivery event taxonomy projects sanitized, HMAC-grouped operational evidence into the dedicated ContractSpec Engineering analytics project. Every event binds a delivery-plan digest and durable evidence reference. This projection measures the governed loop but can never authorize mutation, promotion, release, deployment, or evolution.",kind:"reference",route:"/docs/contracts/telemetry/delivery-v2",visibility:"public"}},{id:"contractspec-delivery-tenant-authority-v1",exportName:"tenantDeliveryAuthorityV1DocBlock",sourceModule:"delivery/authority",block:{id:"contractspec-delivery-tenant-authority-v1",title:"Tenant delivery authority V1",body:"TenantDeliveryPolicyV1 binds one active owner for every delivery role to tenant scope, risk rules, quality, environments, providers, budget, Connect policy, rollback, and evidence. Delegations expire and remain revocable. Fully autonomous policies additionally require expiry, qualification, and a kill switch. No mode waives exact authority or evidence.",kind:"reference",route:"/docs/contracts/delivery/tenant-authority-v1",visibility:"public"}},{id:"contractspec-quality-plan-v1",exportName:"qualityPlanV1DocBlock",sourceModule:"quality/plan",block:{id:"contractspec-quality-plan-v1",title:"Digest-bound quality plan V1",body:"QualityPlanV1 selects immutable QualityCheckRef values from a qualified profile for one exact delivery digest and Git tree. Each selected check names a gate, blocking or advisory requirement, dependency keys, a qualified execution reference, and reason references. CI executes this plan; it does not decide policy or receive raw command strings from Builder.",kind:"reference",route:"/docs/contracts/quality/plan-v1",visibility:"public"}},{id:"contractspec-quality-profile-v1",exportName:"qualityProfileSpecDocBlock",sourceModule:"quality/profile",block:{id:"contractspec-quality-profile-v1",title:"Quality profile specification V1",body:"QualityProfileSpec catalogs immutable typed checks, binds each check to one qualified execution capability and dependency set, assigns checks to the local, PR, risk, merge/release, nightly, and post-deploy gates, and caps duration and cost. Profiles do not embed provider commands or let an agent invent untyped checks.",kind:"reference",route:"/docs/contracts/quality/profile-v1",visibility:"public"}},{id:"contractspec-quality-run-receipt-v1",exportName:"qualityRunReceiptV1DocBlock",sourceModule:"quality/receipt",block:{id:"contractspec-quality-run-receipt-v1",title:"Quality run receipt V1",body:"QualityRunReceiptV1 binds one immutable quality plan and delivery plan to exact Git SHAs, runner image, toolchains, command digests, cache states, attempts, durations, costs, sanitized evidence digests, Connect decisions, and blocking reasons. Verification rejects omitted or changed checks and prevents a blocking failure from being represented as passing.",kind:"reference",route:"/docs/contracts/quality/run-receipt-v1",visibility:"public"}},{id:"contractspec-telemetry-spec-v2",exportName:"telemetrySpecV2DocBlock",sourceModule:"telemetry/v2",block:{id:"contractspec-telemetry-spec-v2",title:"Strict telemetry specification V2",body:"TelemetrySpecV2 is a provider-neutral, content-addressed contract for separate logs, metrics, traces, analytics, flags, experiments, and errors ports. It requires typed properties, consent, residency, deterministic sampling, HMAC-pseudonymized tenant/workspace/subject groups, cardinality/ingestion/cost budgets, sanitized evidence links, and fail-closed redaction. Raw secrets, prompts, payloads, reasoning, chain of thought, and direct personal identifiers are non-waivable forbidden data. Telemetry remains evidence projection, never promotion authority.",kind:"reference",route:"/docs/contracts/telemetry/spec-v2",visibility:"public"}},{id:"customer-support-v1",exportName:"CustomerSupportV1DocBlock",sourceModule:"customer-support/customer-support.feature",block:{id:"customer-support-v1",title:"Customer SupportOS v1",summary:"Provider-neutral cases, queues, SLAs, AI governance, provider cutover, messenger, portal, and help-center contracts.",kind:"reference",visibility:"public",route:"/docs/platform/customer-support-v1",tags:["support","supportos","intercom","communication-os"],body:`# Customer SupportOS v1
2
+
3
+ SupportOS owns cases and service operations. CommunicationOS owns messages and channels. Provider credentials are refs, authority is server-derived, and consequential actions remain Connect-governed.`}},{id:"customer-support-v1-capability-matrix",exportName:"SupportCapabilityMatrixDocBlock",sourceModule:"customer-support/capability-matrix",block:{id:"customer-support-v1-capability-matrix",title:"SupportOS v1 capability and qualification matrix",summary:"Typed delivery truth for SupportOS modules, feature hierarchy, ownership, routes, evidence, blockers, and production qualification.",kind:"reference",visibility:"public",route:"/docs/platform/supportos-v1-capability-matrix",tags:["supportos","delivery","qualification","product-health"],body:`# SupportOS v1 capability matrix
4
+
5
+ Version 1.1 adds registry-backed service, storage, event, journey, SLO, data-class, rollout, ownership, and qualification-scope metadata without removing the v1.0 authoring surface. The matrix separates implementation stage from open blockers. Source and test definitions are inventory evidence; executed proof requires immutable receipts, and production proof expires relative to the matrix asOf. Intrinsic semantics prevent proof-profile downgrades, newer failed or stale receipts supersede older passes, and blocker resolution links verified evidence. Only evidence-complete capabilities without open blockers may be marked qualified.`}},{id:"customer-support-v1-platform-authority",exportName:"SupportPlatformAuthorityDocBlock",sourceModule:"customer-support/platform-authority-doc",block:{id:"customer-support-v1-platform-authority",title:"SupportOS composite platform authority",summary:"Provider-neutral, capability-declared authority facets for managed and self-hosted SupportOS runtimes.",kind:"reference",visibility:"public",route:"/docs/platform/supportos/platform-authority",tags:["supportos","authority","ports","self-hosted"],body:`# SupportOS platform authority
6
+
7
+ The legacy four-method SupportAuthorityPort remains supported through adaptLegacySupportAuthority. Missing facets stay explicitly unavailable and fail conformance; adapters never silently claim complete v1 support. Production and self-hosted profiles declare every enabled facet, typed authority binding, and canonical operation they require. Conformance rejects missing bindings, undiscoverable operations, inconsistent facet registries, and capabilities advertised without an executable surface. Mutations carry idempotency, revision/fencing, policy, and evidence references. Queries carry pagination, watermark, and redaction intent.`}},{id:"decision-lifecycle-v2",exportName:"DecisionLifecycleDocBlock",sourceModule:"decisioning/lifecycle-operations",block:{id:"decision-lifecycle-v2",title:"Decision lifecycle v2",summary:"Revision-fenced drafts and immutable, digest-pinned DecisionGraph publications.",kind:"reference",visibility:"public",route:"/docs/platform/decision-lifecycle-v2",tags:["decisioning","supportos","revisioning","audit"],body:`# Decision lifecycle v2
8
+
9
+ Decision definitions are workspace-scoped by authenticated server context. Draft
10
+ mutations use optimistic revision fencing and stable idempotency keys. Publishing
11
+ creates an immutable digest-pinned revision; editing never mutates a published
12
+ revision. Lists use fixed watermarks and keyset cursors. Creator JavaScript and
13
+ business effects are not accepted or executed.`}},{id:"decision-operations-v1",exportName:"DecisionOperationsDocBlock",sourceModule:"decisioning/decisioning.feature",block:{id:"decision-operations-v1",title:"Decision operations v1",summary:"Deterministic, serializable decision graphs shared by Forms, SOPs, support, and workflows.",kind:"reference",visibility:"public",route:"/docs/platform/decision-operations-v1",tags:["decisioning","forms","workflow","support"],body:`# Decision operations v1
14
+
15
+ DecisionGraph is a pure, revision-pinned DAG. It evaluates typed predicates and produces replay traces; it never executes creator code or business effects.`}},{id:"decision-operations-v2",exportName:"DecisionOperationsV2DocBlock",sourceModule:"decisioning/decisioning.feature",block:{id:"decision-operations-v2",title:"Decision operations v2",summary:"Strict, deterministic, revision-pinned decision validation, simulation, evaluation, replay, comparison, and redacted evidence administration.",kind:"reference",visibility:"public",route:"/docs/platform/decision-operations-v2",tags:["decisioning","forms","workflow","support"],body:`# Decision operations v2
16
+
17
+ DecisionGraph is a pure, revision-pinned DAG. V2 operations use strict typed envelopes and stable idempotency keys. Evidence-producing validation, simulation, evaluation, replay, and comparison never execute creator code or business effects. Evidence list and detail queries expose digest-bound traces and engine provenance through opaque fixed-watermark pagination without protected inputs, outcome payload data, or authority scope. V1 remains available through its original aggregate and feature identity during migration.`}},{id:"doc:sop.generation-sources",exportName:"SopGenerationSourcesDocBlock",sourceModule:"sop/generation-sources",block:{id:"doc:sop.generation-sources",title:"Living SOP generation source snapshots",body:`Living SOP generation consumes canonical, serializable source contributions rather than provider objects or delivery-matrix state.
18
+
19
+ Each contribution names an immutable source revision, validity window, and opaque evidence references. Source providers must never place raw answers, message bodies, contact data, prompts, or secrets in identity or evidence references. The runtime copies only the declared semantic fields, applies kind-specific freshness ceilings, canonicalizes ordering, and computes a content-addressed snapshot. Live generation revalidates source expiry against the current clock; historical projection is replay-only. Product adapters derive authority from authenticated server context; generation intent never carries tenant, workspace, actor, policy, or capability authority.
20
+
21
+ Capability availability comes from the deployed runtime source. Delivery and qualification matrices may be recorded as documentation evidence, but never decide executable availability. Operation contributions resolve aliases to canonical registered key and version before snapshotting. The snapshot executes no effects; Workflow and Connect retain effect authority.`,tags:["sop","generation","provenance","security"]}},{id:"docs.accessibility_wcag_compliance_specs",exportName:"accessibility_wcag_compliance_specs_DocBlocks",sourceModule:"docs/docs.feature",block:{id:"docs.accessibility_wcag_compliance_specs",title:"Accessibility & WCAG Compliance — **specs.md**",summary:"> **Goal:** Ship interfaces that are usable by everyone, by default. This spec sets non‑negotiable rules, checklists, and CI gates to meet **WCAG 2.2 AA** (aim for AAA where low‑cost), align with **EN 301 549** (EU), and keep parity on **web (Next.js)** and **mobile (Expo/React Native)**.",kind:"reference",visibility:"public",route:"/docs/accessibility_wcag_compliance_specs",tags:["accessibility_wcag_compliance_specs"],body:`# Accessibility & WCAG Compliance — **specs.md**
22
+
23
+ > **Goal:** Ship interfaces that are usable by everyone, by default. This spec sets non‑negotiable rules, checklists, and CI gates to meet **WCAG 2.2 AA** (aim for AAA where low‑cost), align with **EN 301 549** (EU), and keep parity on **web (Next.js)** and **mobile (Expo/React Native)**.
24
+
25
+ ---
26
+
27
+ ## 0) Scope & Principles
28
+
29
+ - **Standards:** WCAG 2.2 AA (incl. new 2.2 SCs: Focus Not Obscured, Focus Appearance, Target Size, Dragging Movements, Accessible Authentication, Redundant Entry). EN 301 549 compliance by conformance to WCAG.
30
+ - **Principles:** Perceivable, Operable, Understandable, Robust (POUR).
31
+ - **Rule of ARIA:** “No ARIA is better than bad ARIA.” Prefer native elements.
32
+ - **Definition of Done (DoD):** No Critical/Major a11y issues in CI; keyboard complete; SR (screen reader) smoke test passed; contrasts pass; acceptance criteria below satisfied.
33
+ - **Repo Alignment:** Web apps use **Radix Primitives + shadcn** wrappers centralized in \`packages/lssm/libs/ui-kit-web\`. Prefer those components over per‑app duplicates (\`packages/*/apps/*/src/components/ui\`). When missing, add to \`ui-kit-web\` first, then adopt app‑side.
34
+
35
+ ---
36
+
37
+ ## 1) Design Requirements (Design System & Tokens)
38
+
39
+ **1.1 Color & Contrast**
40
+
41
+ - Body text, icons essential to meaning: **≥ 4.5:1**; large text (≥ 18.66px regular / 14px bold): **≥ 3:1**.
42
+ - Interactive states (default/hover/active/disabled/focus) must maintain contrast **≥ 3:1** against adjacent colors; text within components follows text ratios.
43
+ - Provide light & dark themes with tokens that guarantee minimums. **Never rely solely on color** to convey meaning; pair with text, shape, or icon.
44
+
45
+ **1.2 Focus Indicators (WCAG 2.4.11/12)**
46
+
47
+ - Every interactive element has a **visible focus** with clear offset; indicator contrast **≥ 3:1** vs adjacent colors and indicator **area ≥ 2 CSS px** thick.
48
+ - Focus **must not be obscured** by sticky headers/footers or scroll containers.
49
+
50
+ **1.3 Motion & Preferences**
51
+
52
+ - Respect \`prefers-reduced-motion\`: suppress large parallax, auto‑animations; provide instant alternatives.
53
+ - Avoid motion that could trigger vestibular issues; under PRM, use fade/scale under **150ms**.
54
+
55
+ **1.4 Target Size (2.5.8)**
56
+
57
+ - Hit areas **≥ 24×24 CSS px** (web) and **≥ 44×44 dp** (mobile) unless exempt.
58
+
59
+ **1.5 Typography & Layout**
60
+
61
+ - Support zoom to **400%** without loss of content/functionality; responsive reflow at **320 CSS px** width.
62
+ - Maintain clear heading hierarchy (h1…h6), one **h1** per view.
63
+
64
+ - Repository baseline (Web): default body text uses Tailwind \`text-lg\` (≈18px). As of 2025‑09‑20, the repository bumped all Tailwind typography scale usages by +1 step (e.g., \`text-sm\`→\`text-base\`, \`text-base\`→\`text-lg\`, …, \`text-8xl\`→\`text-9xl\`). For long‑form content, default to \`prose-lg\`.
65
+ - Do not use \`text-xs\` for body copy. Reserve \`text-sm\` only for non‑essential meta (timestamps, fine print) while ensuring contrast and touch targets remain compliant.
66
+ - When increasing font size, ensure line height supports readability. Prefer Tailwind defaults or \`leading-relaxed\`/\`leading-7\` for body text where dense blocks appear.
67
+
68
+ **1.6 Iconography & Imagery**
69
+
70
+ - Decorative images: \`alt=""\` or \`aria-hidden="true"\`.
71
+ - Informative images: concise, specific **alt**; complex charts require a **data table or long description**.
72
+
73
+ ---
74
+
75
+ ## 2) Content Requirements (UX Writing)
76
+
77
+ - Links say **what happens** (avoid “click here”).
78
+ - Buttons start with verbs; avoid ambiguous labels.
79
+ - Form labels are **visible**; placeholders are **not labels**.
80
+ - Error messages: human + programmatic association; avoid color‑only.
81
+ - Authentication: allow **copy/paste**, password managers, and avoid cognitive tests alone (**3.3.7/3.3.8/3.3.9**).
82
+ - Avoid CAPTCHAs that block users; if unavoidable, provide **multiple alternatives** (logic-free).
83
+
84
+ ---
85
+
86
+ ## 3) Engineering Requirements (Web — Next.js/React)
87
+
88
+ > Use and extend \`packages/lssm/libs/ui-kit-web\` as the default UI surface. It wraps **Radix** primitives with sensible a11y defaults (focus rings, roles, keyboard, ARIA binding). When a gap exists, add it to \`ui-kit-web\` first.
89
+
90
+ **3.1 Semantics & Landmarks**
91
+
92
+ - Use native elements: \`<button>\`, \`<a href>\`, \`<label for>\`, \`<fieldset>\`, \`<legend>\`, \`<table>\`, etc.
93
+ - Landmarks per page: \`header\`, \`nav\`, \`main\`, \`aside\`, \`footer\`. Provide a **Skip to main content** link.
94
+ - Provide a **Route Announcer** (\`aria-live="polite"\`) and move focus to page **h1** after navigation.
95
+
96
+ **3.2 Keyboard**
97
+
98
+ - All functionality available with keyboard alone. Tab order follows DOM/visual order; **no keyboard traps**.
99
+ - Common bindings:
100
+ - Space/Enter → activate button; Enter on link;
101
+ - Esc closes dialogs/menus;
102
+ - Arrow keys for lists/menus/tablists with **roving tabindex**.
103
+
104
+ **3.3 Focus Management**
105
+
106
+ - On route change (Next.js), move focus to the page \`<h1>\` or container and announce via a live region.
107
+ - Dialogs/menus: **trap focus** inside; return focus to invoking control on close.
108
+ - Don’t steal focus except after explicit user action.
109
+
110
+ **3.4 Forms**
111
+
112
+ - Each input has a \`<label>\` or \`aria-label\`. Group related inputs with \`<fieldset><legend>\`.
113
+ - Associate errors via \`aria-describedby\` or inline IDs; announce with \`role="alert"\` (assertive only for critical).
114
+ - Provide **autocomplete** tokens for known fields; show **inline validation** and do not block on **onBlur** alone.
115
+
116
+ **3.5 ARIA Usage**
117
+
118
+ - Only when needed; match patterns (dialog, menu, combobox, tablist, listbox) per ARIA Authoring Practices.
119
+ - Ensure **name/role/value** are programmatically determinable.
120
+
121
+ **3.6 Media**
122
+
123
+ - Videos: **captions**; provide **transcripts** for audio; audio descriptions for essential visual info.
124
+ - No auto‑playing audio. Auto‑playing video must be muted and pausable; provide controls.
125
+
126
+ **3.7 Tables & Data**
127
+
128
+ - Use \`<th scope>\` for headers; captions via \`<caption>\`; announce sorting via \`aria-sort\`.
129
+ - Provide CSV/JSON export where charts are primary.
130
+
131
+ **3.8 Performance & Robustness**
132
+
133
+ - Avoid content shifts that move focus; reserve space or use skeletons.
134
+ - Maintain accessible names through hydration/SSR; avoid \`dangerouslySetInnerHTML\` where possible.
135
+
136
+ **3.9 Next.js specifics**
137
+
138
+ - Use \`next/link\` for navigation; ensure links are **links**, not buttons.
139
+ - \`next/image\` must include **alt** (empty if decorative).
140
+ - Announce route changes with a **global live region** and shift focus to the new view.
141
+
142
+ **3.10 Accessibility library integration**
143
+
144
+ - Import \`@lssm/lib.accessibility\` at app root. It auto-imports its \`styles.css\` via the package entry; ensure bundlers keep CSS side effects. If your app tree-shakes CSS, explicitly import the stylesheet once in your root layout:
145
+
146
+ \`\`\`tsx
147
+ // app/layout.tsx
148
+ import '@lssm/lib.accessibility'; // includes tokens and provider exports
149
+ // or if needed: import '@lssm/lib.accessibility/src/styles.css';
150
+ \`\`\`
151
+
152
+ - Wrap the app with \`AccessibilityProvider\` and include an element with \`id="main"\` for the skip link target.
153
+
154
+ ---
155
+
156
+ ## 3b) lssm/ui-kit-web — Component Patterns & Defaults
157
+
158
+ > Source: \`packages/lssm/libs/ui-kit-web/ui/*\`
159
+
160
+ - **Button/Input/Textarea**: Built‑in \`focus-visible\` rings; ensure visible labels via \`FormLabel\` or \`aria-label\`.
161
+ - **Form** (\`form.tsx\`): \`FormControl\` wires \`aria-invalid\` and \`aria-describedby\` to \`FormMessage\` and \`FormDescription\`. Prefer \`FormMessage\` for inline errors. Add \`role="alert"\` only for critical.
162
+ - **Dialog/Sheet/Dropdown**: Use Radix wrappers for focus‑trap and return‑focus. Provide \`DialogTitle\` + \`DialogDescription\` for name/description.
163
+ - **Select/Combobox**: Prefer \`SelectTrigger\` with visible label; for icon‑only triggers, supply \`aria-label\`. Document examples in each app.
164
+ - **Tabs**: Use \`TabsList\`, \`TabsTrigger\`, \`TabsContent\`; names are programmatically determinable.
165
+ - **Toast/Toaster**: Prefer non‑blocking announcements; map critical to assertive region; include action buttons with clear labels.
166
+ - **Table**: Use \`TableCaption\`; ensure \`TableHead\` cells use proper \`scope\`. Provide \`aria-sort\` on sortable headers.
167
+ - **Utilities to add (repo action)**:
168
+ - \`SkipLink\` component and pattern in layouts.
169
+ - \`RouteAnnouncer\` (\`aria-live="polite"\`) and **FocusOnRouteChange** helper.
170
+ - \`VisuallyHidden\` wrapper (Radix visually-hidden or minimal utility).
171
+ - \`useReducedMotion\` helper; honor in animated components.
172
+ - Touch‑size variants (≥44×44) for interactive atoms.
173
+
174
+ ---
175
+
176
+ ## 4) Engineering Requirements (Mobile — Expo/React Native)
177
+
178
+ - Set \`accessibilityLabel\`, \`accessibilityHint\`, and \`accessibilityRole\` on touchables.
179
+ - Ensure **hit slop** / min size **≥ 44×44 dp**.
180
+ - Support Dynamic Type / font scaling; no clipped text at **200%**.
181
+ - Respect **Invert Colors** and **Reduce Motion**; avoid flashing.
182
+ - Group related items with \`accessibilityElements\` ordering; hide decoration with \`accessible={false}\` or \`importantForAccessibility="no-hide-descendants"\` when appropriate.
183
+ - Test with **VoiceOver (iOS)** and **TalkBack (Android)**.
184
+
185
+ ---
186
+
187
+ ## 5) Component Patterns (Acceptance Rules)
188
+
189
+ **Buttons & Links**
190
+
191
+ - Use \`<button>\` for actions, \`<a href>\` for navigation. Provide disabled states that are perceivable beyond color.
192
+
193
+ **Navigation**
194
+
195
+ - Provide **Skip link**. One primary nav landmark. Indicate current page (\`aria-current="page"\`).
196
+
197
+ **Menus/Combobox/Autocomplete**
198
+
199
+ - Follow ARIA patterns: focus moves into list; \`aria-expanded\`, \`aria-controls\`, \`aria-activedescendant\` when applicable; Esc closes; typing filters.
200
+
201
+ **Modals/Dialogs**
202
+
203
+ - \`role="dialog"\` or \`alertdialog\` with **label**; focus trapped; background inert; Esc closes; return focus to trigger.
204
+
205
+ **Tabs**
206
+
207
+ - \`role="tablist"\`; tabs are in the tab order; arrow keys switch focus; content is \`role="tabpanel"\` with \`aria-labelledby\`.
208
+
209
+ **Toasts/Notifications**
210
+
211
+ - Non-critical: \`aria-live="polite"\`; critical: \`role="alert"\` sparingly.
212
+
213
+ **Infinite Scroll / “Load More”**
214
+
215
+ - Provide **Load more** control; announce new content to SR; preserve keyboard position.
216
+
217
+ **Drag & Drop (2.5.7)**
218
+
219
+ - Provide **non‑drag** alternative (e.g., move up/down buttons).
220
+
221
+ **Charts & Maps**
222
+
223
+ - Provide **table alternative** or textual summary; keyboard access to datapoints where interactive.
224
+
225
+ ---
226
+
227
+ ## 6) Testing & CI (Blocking Gates)
228
+
229
+ **Static & Unit**
230
+
231
+ - \`eslint-plugin-jsx-a11y\` — error on violations.
232
+ - \`jest-axe\` — unit tests for components.
233
+
234
+ **Automated Integration**
235
+
236
+ - \`axe-core\` via Playwright or Cypress on critical flows.
237
+ - \`pa11y-ci\` on key routes; threshold: **0 Critical / 0 Serious** to merge.
238
+ - Lighthouse CI a11y score **≥ 95** on target pages.
239
+
240
+ **Manual QA (per release)**
241
+
242
+ - **Keyboard patrol:** navigate primary flows without mouse.
243
+ - **Screen reader smoke:** NVDA (Windows) or VoiceOver (macOS/iOS) across login, navigation, forms, dialogs.
244
+ - **Zoom & Reflow:** 200–400% & 320 px width.
245
+ - **Color/Contrast check:** tokens in both themes.
246
+
247
+ **Reporting**
248
+
249
+ - A11y issues labeled: \`a11y-blocker\`, \`a11y-bug\`, \`a11y-enhancement\` with WCAG ref.
250
+
251
+ ---
252
+
253
+ ## 7) Repository‑Specific Adoption Plan
254
+
255
+ - Centralize UI usage on \`packages/lssm/libs/ui-kit-web\` and de‑duplicate per‑app \`components/ui\` where feasible.
256
+ - Introduce \`SkipLink\`, \`RouteAnnouncer\`, \`FocusOnRouteChange\`, and \`VisuallyHidden\` in \`ui-kit-web\`. Adopt in app layouts (\`app/layout.tsx\`) first.
257
+ - Add \`useReducedMotion\` and wire into animated components (e.g., \`drawer\`, \`tooltip\`, \`carousel\`).
258
+ - Add touch‑size variants to \`Button\`, \`IconButton\`, \`TabsTrigger\`, toggles.
259
+ - Document Select label patterns and error association in Forms.
260
+
261
+ ---
262
+
263
+ ## 8) Code Snippets
264
+
265
+ **Skip Link**
266
+
267
+ \`\`\`html
268
+ <a
269
+ class="sr-only focus:not-sr-only focus-visible:outline focus-visible:ring-4 focus-visible:ring-offset-2"
270
+ href="#main"
271
+ >Skip to main content</a
272
+ >
273
+ <main id="main">…</main>
274
+ \`\`\`
275
+
276
+ **Dialog (Radix + shadcn/ui) — essentials**
277
+
278
+ \`\`\`tsx
279
+ // Ensure label, description, focus trap, and return focus on close remain intact
280
+ <Dialog>
281
+ <DialogTrigger asChild>
282
+ <button aria-haspopup="dialog">Open settings</button>
283
+ </DialogTrigger>
284
+ <DialogContent aria-describedby="settings-desc">
285
+ <DialogTitle>Settings</DialogTitle>
286
+ <p id="settings-desc">Update your preferences.</p>
287
+ <DialogClose asChild>
288
+ <button>Close</button>
289
+ </DialogClose>
290
+ </DialogContent>
291
+ </Dialog>
292
+ \`\`\`
293
+
294
+ **Form error association**
295
+
296
+ \`\`\`tsx
297
+ <label htmlFor="email">Email</label>
298
+ <input id="email" name="email" type="email" aria-describedby="email-err" />
299
+ <p id="email-err" role="alert">Enter a valid email.</p>
300
+ \`\`\`
301
+
302
+ **Route change announcement (Next.js)**
303
+
304
+ \`\`\`tsx
305
+ // Add once at app root
306
+ <div
307
+ aria-live="polite"
308
+ aria-atomic="true"
309
+ id="route-announcer"
310
+ className="sr-only"
311
+ />
312
+ \`\`\`
313
+
314
+ ---
315
+
316
+ ## 9) Exceptions & Waivers
317
+
318
+ - If a criterion cannot be met, file an issue with: context, attempted alternatives, WCAG reference, impact assessment, and a remediation date. **Temporary waivers only.**
319
+
320
+ ---
321
+
322
+ ## 10) Ownership
323
+
324
+ - **Design:** maintains token contrast, component specs.
325
+ - **Engineering:** enforces CI gates, implements patterns.
326
+ - **QA:** runs manual checks per release.
327
+ - **PM:** blocks release if AA not met on user‑visible flows.
328
+
329
+ ---
330
+
331
+ ## 11) References (internalize; no external dependency at runtime)
332
+
333
+ - WCAG 2.2 (AA), EN 301 549. ARIA Authoring Practices. Platform HIG (Apple, Material).
334
+ - \`packages/lssm/libs/ui-kit-web\` as the canonical UI source for web.
335
+
336
+ > **Bottom line:** Shipping means **accessible by default**. We don’t trade a11y for speed; we bake it into speed.
337
+
338
+ ---
339
+
340
+ ## 12) Adoption Status (2025-09-23)
341
+
342
+ - web-artisan: AccessibilityProvider integrated; sr-only/forced-colors applied; 44x44 targets; forms announce errors; jest-axe and cypress-axe in place.
343
+ - web-strit: AccessibilityProvider integrated; forced-colors, sr-only; forms announce errors; 44x44 targets; contrast tokens and text-scale wired; jest-axe and cypress-axe in place.
344
+ - web-coliving: AccessibilityProvider integrated; forced-colors and focus visibility added; text-scale wired; landing pages converted to \`Section\`/stacks with text-lg defaults; CTA capture standardized; ESLint guard for text-xs in main content; jest-axe and cypress-axe in place. Next: audit icon-only controls and ensure 44x44 targets; add role="alert" where critical.
345
+
346
+ > CI gates: run eslint a11y, jest-axe on components, and cypress-axe on critical flows per app.
347
+
348
+ ---
349
+
350
+ ## 13) CI Hardening & Visual QA
351
+
352
+ - Linting: Run eslint with jsx-a11y rules across all web apps; block on violations.
353
+ - Unit: Run jest-axe for ui-kit-web and app-level components.
354
+ - Integration: cypress-axe on key flows (auth, forms, dialogs, tables).
355
+ - Synthetic scans: pa11y-ci on critical pages (0 Critical/Serious policy).
356
+ - Performance/A11y audit: Lighthouse CI with a11y score >= 95 on target routes.
357
+ - Artifacts: Upload pa11y and Lighthouse reports per PR; annotate failures.
358
+
359
+ ### Recent additions (2025-09-26)
360
+
361
+ - AutocompleteInput (groceries): Upgraded to ARIA combobox pattern with \`aria-controls\`, \`aria-activedescendant\`, \`Escape\`/\`Tab\` handling, and labelled listbox.
362
+ - Cypress a11y tests added for furniture and incidents modules on \`/modules\` and operators flows; checks run axe with critical/serious impacts.
363
+
364
+ ## 14) Accessibility Telemetry (PostHog)
365
+
366
+ - Events (anonymized): a11y_pref_changed (text_scale, contrast_mode, reduce_motion), a11y_panel_opened.
367
+ - Properties: app, route, previous_value, new_value, timestamp.
368
+ - Dashboards: Adoption over time, per app/route; correlation with reduced bounce on forms.
369
+ - Privacy: No PII; aggregate only.
370
+ `}},{id:"docs.contracts-spec.data-views.annotation",exportName:"annotationDoc",sourceModule:"data-views/annotation",block:{id:"docs.contracts-spec.data-views.annotation",title:"Annotation contract — per-node sticky notes with @-mention support",summary:"Defines AnnotationState, MentionRecord, AnnotationStore and the conflict-resolution constants for graph sticky notes. LWW per field; edit-wins within 60 s of soft-delete; 5-min soft-delete TTL; mentions are append-only.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/data-views/annotation",tags:["graph","annotation","mention","conflict","lww","m3"],body:`# Annotation contract
371
+
372
+ Per-node sticky notes with @-mention support.
373
+
374
+ ## Conflict policy
375
+
376
+ | Rule | Value |
377
+ |---|---|
378
+ | Last-write-wins per field | Yes — fields are independent |
379
+ | Edit-wins window after delete | 60 s |
380
+ | Soft-delete TTL | 300 s |
381
+ | Mentions | Append-only |
382
+
383
+ ## AnnotationState fields
384
+
385
+ | Field | Mutable | Description |
386
+ |---|---|---|
387
+ | \`id\` | No | Unique annotation id |
388
+ | \`targetId\` | No | Node/edge this is pinned to |
389
+ | \`authorId\` | No | Creator user id |
390
+ | \`createdAt\` | No | ISO 8601 creation timestamp |
391
+ | \`title\` | Yes (LWW) | Short label |
392
+ | \`color\` | Yes (LWW) | Hex background color |
393
+ | \`resolved\` | Yes (LWW) | Resolved flag |
394
+ | \`body\` | Yes (LWW) | Markdown body with @-mentions |
395
+ | \`deletedAt\` | Yes (soft-delete) | ISO 8601 or null |
396
+ | \`mentions\` | Append-only | @-mention records |
397
+ `}},{id:"docs.contracts-spec.data-views.graph-export",exportName:"graphExportDoc",sourceModule:"data-views/graph-export",block:{id:"docs.contracts-spec.data-views.graph-export",title:"GraphExport — export pipeline contract",summary:"ExportFormat union (png/svg/json/pdf/mermaid/dot), shared option/result shapes, and the GraphExportProvider interface for format-specific exporters.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/data-views/graph-export",tags:["graph","export","contract","png","svg","pdf","mermaid","dot","m3"],body:`# GraphExport contract
398
+
399
+ ## ExportFormat
400
+ \`"png" | "svg" | "json" | "pdf" | "mermaid" | "dot"\`
401
+
402
+ ## GraphExportProvider
403
+ Interface all format exporters must implement.
404
+
405
+ \`\`\`ts
406
+ interface GraphExportProvider {
407
+ readonly format: ExportFormat;
408
+ export(options: GraphExportOptions): Promise<GraphExportResult>;
409
+ isSupported(): boolean;
410
+ }
411
+ \`\`\`
412
+
413
+ ## Web implementations (M3 P6/W6.2)
414
+ - \`PngExporter\` — dom-to-image-more, HiDPI scale=2
415
+ - \`SvgExporter\` — XMLSerializer + data URL`}},{id:"docs.contracts-spec.data-views.graph-filter-codec",exportName:"graphFilterCodecDoc",sourceModule:"data-views/graph-filter-codec",block:{id:"docs.contracts-spec.data-views.graph-filter-codec",title:"graph-filter-codec — URL round-trip codec for GraphFilterSpec",summary:"encodeFilterToUrl() + decodeFilterFromUrl(): lossless URL serialization with gf.* prefix (M3 P4/W4.1).",kind:"reference",visibility:"internal",route:"/docs/contracts-spec/data-views/graph-filter-codec",tags:["graph","filter","codec","url","m3"],body:"# graph-filter-codec\n\n`encodeFilterToUrl(spec)` → `URLSearchParams` with `gf.*` keys.\n`decodeFilterFromUrl(params)` → `GraphFilterSpec | null` (null = no active filter).\n\n| Tier-1 key | URL param |\n| --- | --- |\n| `kinds` | `gf.kinds` (comma-sep) |\n| `statuses` | `gf.statuses` |\n| `owners` | `gf.owners` |\n| `timeRange.from` | `gf.tr.from` |\n| `timeRange.to` | `gf.tr.to` |\n| `timeRange.field` | `gf.tr.field` |\n| `facets[i]` | `gf.facet.{field}` |\n| `predicates` | `gf.preds` (JSON) |"}},{id:"docs.contracts-spec.data-views.graph-filter-spec",exportName:"graphFilterSpecDoc",sourceModule:"data-views/graph-filter-spec",block:{id:"docs.contracts-spec.data-views.graph-filter-spec",title:"GraphFilterSpec — persistent graph filter contract",summary:"Two-tier persistent filter: named fields (kinds/statuses/owners/timeRange) + open fields (facets/predicates). URL-serialisable via graph-filter-codec (M3 P4/W4.1).",kind:"reference",visibility:"public",route:"/docs/contracts-spec/data-views/graph-filter-spec",tags:["graph","filter","contract","url","facet","predicate","m3"],body:"# GraphFilterSpec\n\n`GraphFilterSpec` lives at `DataViewGraphSpec.source.where`.\nAll fields optional — `{}` = no filter.\n\n| Field | Type | Tier |\n| --- | --- | --- |\n| `kinds` | `string[]` | 1 |\n| `statuses` | `string[]` | 1 |\n| `owners` | `string[]` | 1 |\n| `timeRange` | `GraphTimeRangeFilter` | 1 |\n| `facets` | `GraphFacetFilter[]` | 2 |\n| `predicates` | `GraphFilterPredicate[]` | 2 |\n\nURL codec: `encodeFilterToUrl(spec)` → `URLSearchParams`; `decodeFilterFromUrl(params)` → `GraphFilterSpec | null`."}},{id:"docs.contracts-spec.data-views.graph-subscription",exportName:"graphSubscriptionDoc",sourceModule:"data-views/graph-subscription",block:{id:"docs.contracts-spec.data-views.graph-subscription",title:"GraphSubscription — live graph subscription configuration contract",summary:"Configuration sent by clients to establish an SSE graph subscription. Server validates viewKey, applies filter, and streams GraphSubscriptionEvents.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/data-views/graph-subscription",tags:["graph","subscription","sse","live","contract","m3","p5"],body:`# GraphSubscription
416
+
417
+ \`\`\`typescript
418
+ interface GraphSubscription {
419
+ id: string; // client- or server-generated
420
+ viewKey: string; // DataView registry key
421
+ filter?: Record<string, unknown>; // optional server-side filter
422
+ eventKinds?: GraphSubscriptionEventKind[]; // subset of events
423
+ heartbeatMs?: number; // default 30_000
424
+ }
425
+ \`\`\`
426
+
427
+ ## SSE wire format
428
+
429
+ Each event is serialised as a standard SSE frame:
430
+ \`\`\`
431
+ data: {"kind":"node-added","node":{"id":"n1","label":"My Node"}}
432
+
433
+ \`\`\`
434
+
435
+ Heartbeat comments keep the connection alive:
436
+ \`\`\`
437
+ : heartbeat
438
+
439
+ \`\`\``}},{id:"docs.contracts-spec.data-views.graph-subscription-event",exportName:"graphSubscriptionEventDoc",sourceModule:"data-views/graph-subscription",block:{id:"docs.contracts-spec.data-views.graph-subscription-event",title:"GraphSubscriptionEvent — live graph update discriminated union",summary:"Discriminated union covering all live graph patch events: node-added, node-updated, node-removed, edge-*, and snapshot-replace. Consumed by SSE adapters and client hooks.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/data-views/graph-subscription-event",tags:["graph","subscription","sse","live","events","m3","p5"],body:"# GraphSubscriptionEvent\n\nDiscriminated union for live graph update events.\n\n| `kind` | Payload | Notes |\n| --- | --- | --- |\n| `node-added` | `node: SubscriptionNode` | New node arrived |\n| `node-updated` | `node`, `previous?` | Partial patch; previous is optional |\n| `node-removed` | `nodeId: string` | Node deleted |\n| `edge-added` | `edge: SubscriptionEdge` | New edge |\n| `edge-updated` | `edge`, `previous?` | Edge attribute change |\n| `edge-removed` | `edgeId: string` | Edge deleted |\n| `snapshot-replace` | `nodes[]`, `edges[]` | Full resync — replace all state |\n\n`snapshot-replace` is emitted on initial connect, reconnect after gap, or server invalidation.\nClients must exhaustively switch on `kind` for forward-compatibility."}},{id:"docs.contracts-spec.data-views.layout-spec",exportName:"layoutSpecDoc",sourceModule:"data-views/layout-spec",block:{id:"docs.contracts-spec.data-views.layout-spec",title:"LayoutSpec — M3 layout discriminated union",summary:"Six-variant discriminated union replacing M2 GraphLayoutKind. Variants: force, dag, radial, tree, swimlane, time-axis.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/data-views/layout-spec",tags:["graph","layout","spec","m3","elkjs","d3","discriminated-union"],body:"# LayoutSpec\n\nDiscriminated union replacing `GraphLayoutKind` from M2.\n\n| kind | Key config | Engine (web / native) | Async chunk |\n| --- | --- | --- | --- |\n| `force` | strength, alphaDecay, collisionRadius | d3-force | d3-force.chunk ≤20 KB gz |\n| `dag` | rankSep, nodeSep, direction | elkjs LAYERED / dagre | elkjs-layout-engine.chunk ≤250 KB gz |\n| `radial` | innerRadius, outerRadius, angularRange | d3-hierarchy | d3-hierarchy.chunk ≤15 KB gz |\n| `tree` | nodeSep, levelSep, orientation | d3-hierarchy tidy | d3-hierarchy.chunk ≤15 KB gz |\n| `swimlane` | laneBy (req), lanes | elkjs BOX / dag fallback | elkjs-layout-engine.chunk ≤250 KB gz |\n| `time-axis` | xField (req), scale | pure TS | base bundle (sync) |\n\n## Migration from M2\n\n```ts\nimport { layoutKindToSpec } from '@lssm/lib.contracts-spec/data-views/layout-spec';\nlayoutKindToSpec('dag') // → { kind: 'dag' }\n```\n\nRemove `layoutKindToSpec` shim in P10 alongside `GraphLayoutKind` removal."}},{id:"docs.contracts-spec.data-views.saved-view",exportName:"savedViewDoc",sourceModule:"data-views/saved-view",block:{id:"docs.contracts-spec.data-views.saved-view",title:"SavedView — serialisable graph viewport + filter + layout snapshot",summary:"Encodes graph viewport, active filter, and layout as a base64 URL param (?gv=). Use serializeSavedView / deserializeSavedView to persist and restore. useSavedViewRestore reads ?gv= on mount and applies the snapshot.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/data-views/saved-view",tags:["graph","saved-view","url","restore","viewport","m3"],body:"# SavedView\n\nSerialisable snapshot of the current graph state stored in `?gv=<base64>`.\n\n## Fields\n\n| Field | Type | Description |\n|---|---|---|\n| `id` | `string` | Unique view identifier |\n| `name` | `string` | Human-readable label |\n| `viewport` | `SavedViewport` | Pan + zoom state |\n| `filter` | `GraphFilterSpec?` | Active filter snapshot |\n| `layout` | `string?` | Layout kind key |\n| `savedAt` | `string` | ISO 8601 timestamp |\n\n## URL encoding\n\nZoom is clamped to `[0.05, 10]` on decode. Invalid or absent `?gv=` always yields `null`.\n"}},{id:"docs.contracts-spec.data-views.story-slide",exportName:"storySlideDoc",sourceModule:"data-views/story-slide",block:{id:"docs.contracts-spec.data-views.story-slide",title:"StorySlide — presenter-led graph slide contract",summary:"StorySlide type, DataViewGraphStory config, StorySlideTransition, and StoryPlaybackMode for presenter-led graph sequences (M3 P6/W6.7).",kind:"reference",visibility:"public",route:"/docs/contracts-spec/data-views/story-slide",tags:["graph","story","slide","presenter","contract","m3","p6"],body:"# StorySlide contract\n\nStory mode is a presentation overlay — it does **not** mutate graph structure.\n\n## Key types\n\n| Type | Purpose |\n|---|---|\n| `StorySlide` | One step in the sequence: viewport, highlights, transition, speaker notes |\n| `DataViewGraphStory` | Top-level config stored in `DataViewGraphSpec.story` |\n| `StorySlideTransition` | `viewport-pan \\| fade \\| zoom-to-node \\| zoom-out \\| instant` |\n| `StoryPlaybackMode` | `PRESENTER_LED` (default) or `PER_USER` |\n| `ViewportState` | `{ centerX, centerY, zoom }` in graph-space |\n\n## Playback state\nEphemeral Yjs Awareness — not persisted in the Y.Doc.\n`DataViewGraphStory.slides` is static config.\n\n## Reduced motion\nAll transitions skip-to-end-state when `prefers-reduced-motion` is active.\n\n## Voice narration\nWhen `voiceNarrationEnabled: true`, transcripts become annotations on `highlightedNodeIds[0]`."}},{id:"docs.contracts-spec.design-packs.operations",exportName:"DesignPackOperationsDocBlock",sourceModule:"design-packs/operations",block:{id:"docs.contracts-spec.design-packs.operations",title:"Design pack operations",summary:"Versioned catalog, selection, private draft, certification, publication, and evidence operations.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/design-packs/operations",tags:["design-pack","design-studio","operations"],body:`# Design pack operations
440
+
441
+ Queries cover catalog discovery, selection reads, previews, validation, and audit evidence. Commands cover selection changes, owner-scoped draft lifecycle, certification, immutable publication, and unpublication. Publication and unpublication require their exact permissions; runtime handlers must preserve tenant and RoleMorph boundaries.`}},{id:"docs.contracts-spec.forms.marketing",exportName:"MarketingFormsDocBlock",sourceModule:"forms/marketing.forms",block:{id:"docs.contracts-spec.forms.marketing",title:"Marketing & BillingOS-adjacent FormSpecs",summary:"Contract-first FormSpecs for form-like marketing/BillingOS UI; rendering goes through the design-system FormSpec renderer and submission binds to OperationSpecs.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/forms/marketing",tags:["marketing","billing","forms","lead-capture","estimate"],body:"# Marketing & BillingOS-adjacent FormSpecs\n\nThree generic, reusable FormSpecs make form-like marketing/BillingOS UI\ncontract-first. Each binds its action to an OperationSpec by `key`+`version`;\nhosts own copy, option catalogs, provider logic, and handlers.\n\n- `marketing.lead.capture.form` (`MarketingLeadCaptureFormSpec`) → action binds\n to `marketing.lead.capture` (command).\n- `marketing.estimate.input.form` (`MarketingEstimateInputFormSpec`) → action\n binds to `marketing.estimate.calculate` (query). Bundle options are\n illustrative defaults; hosts override them.\n- `billing.estimate.intake.form` (`BillingEstimateIntakeFormSpec`) → action binds\n to `billing.estimate.prepare` (query, **side-effect-free**).\n\nThese specs are schema/layout/action metadata only. The design system renders\nfields and an operation/host-provided result; it never computes pricing, calls a\nprovider, payment, CRM, or invoice path. Live billing execution stays host-owned.\n\nRelationship to `marketing/forms.ts`: `MarketingStudioDemoRequestForm` +\n`marketingFormRegistry` are the Studio-specific demo-CTA form and its registry;\nthe specs here are the generic, reusable lead/estimate/billing forms."}},{id:"docs.contracts-spec.operations.marketing",exportName:"MarketingOperationsDocBlock",sourceModule:"operations/marketing",block:{id:"docs.contracts-spec.operations.marketing",title:"Marketing agent tools",summary:"Public product/plan reads + auth-gated demo booking for the on-site agent and MCP projection.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/operations/marketing",tags:["marketing","agent-surface","operations"],body:`# Marketing agent tools
442
+
443
+ Three operations power the on-site embedded agent and the public MCP projection:
444
+
445
+ - \`marketing.product.get\` (query, **public**) — product/feature facts.
446
+ - \`marketing.plans.compare\` (query, **public**) — ranked pricing-plan comparison.
447
+ - \`marketing.demo.book\` (command, **auth + rate-limited**) — books a demo and
448
+ returns a synthetic booking id. Default-deny: unauthenticated callers are
449
+ rejected.
450
+
451
+ Schemas live in \`operations/marketing.ts\`; stub handlers in
452
+ \`operations/marketing.handlers.ts\`. Real product/plan data is sourced from
453
+ app-config \`aiDiscovery.productKnowledge\` and marketing config at the
454
+ composition root.`}},{id:"docs.contracts-spec.rich-reference.detail",exportName:"ReferenceDetailDocBlock",sourceModule:"operations/reference-detail",block:{id:"docs.contracts-spec.rich-reference.detail",title:"Detail of one rich reference",summary:"Resolve a single `(kindId, id)` reference with the kind-specific detail hook.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/rich-reference/detail",tags:["rich-reference","governance"],body:"# reference.detail\n\nResolves a single reference using the kind's optional `detail` handler (or the `resolve` fallback). Redaction is applied post-handler; unknown payload fields are stripped before propagation."}},{id:"docs.contracts-spec.rich-reference.goal",exportName:"richReferenceGoalDoc",sourceModule:"rich-reference/index",block:{id:"docs.contracts-spec.rich-reference.goal",title:"RichReference goal",summary:"One canonical, governance-aware reference type across all surfaces.",kind:"goal",visibility:"public",route:"/docs/contracts-spec/rich-reference/goal",tags:["rich-reference","governance","contracts-spec"],body:`# RichReference
455
+
456
+ RichReference is the canonical transport for governed, kind-typed references that travel through REST, GraphQL, MCP, and agent surfaces. Each kind declares its payload schema and the subset of fields that may carry sensitive data; the runtime (S-2) enforces post-handler redaction using HMAC-signed denial tokens (F-5 mitigation).`}},{id:"docs.contracts-spec.rich-reference.kinds.entity.goal",exportName:"entityKindGoalDoc",sourceModule:"rich-reference/kinds/entity",block:{id:"docs.contracts-spec.rich-reference.kinds.entity.goal",title:"entityKind — goal",summary:"Canonical reference kind for typed entity instances governed by ContractEntitySpec.",kind:"goal",visibility:"public",route:"/docs/contracts-spec/rich-reference/kinds/entity/goal",tags:["rich-reference","entity","kind","contracts-spec"],body:"# entityKind\n\n`entityKind` is the built-in `ReferenceKindDefinition` for entity references. Each instance\ncarries a `slug` (entity type key) and an `id` (instance identifier). The slug resolves to a\n`ContractEntitySpec` via `resolveEntitySpec(payload, registry)`, connecting RichReference\ngovernance (redaction, policy, audit) to the contracts-spec entity graph."}},{id:"docs.contracts-spec.rich-reference.kinds.entity.usage",exportName:"entityKindUsageDoc",sourceModule:"rich-reference/kinds/entity",block:{id:"docs.contracts-spec.rich-reference.kinds.entity.usage",title:"entityKind — usage",summary:"How to build entity references and resolve entity specs from payloads.",kind:"usage",visibility:"public",route:"/docs/contracts-spec/rich-reference/kinds/entity/usage",tags:["rich-reference","entity","kind"],body:`# Using entityKind
457
+
458
+ ## Building a reference
459
+
460
+ \`\`\`ts
461
+ import { asReferenceInstanceId, asReferenceKindId } from '@lssm/lib.contracts-spec/rich-reference';
462
+ import { entityKind } from '@lssm/lib.contracts-spec/rich-reference/kinds/entity';
463
+
464
+ const ref = {
465
+ kindId: asReferenceKindId('entity'),
466
+ id: asReferenceInstanceId('user-42'),
467
+ payload: { slug: 'user', id: 'user-42', label: 'Ada Lovelace' },
468
+ redactionState: 'unredacted',
469
+ } satisfies RichReference<EntityPayload>;
470
+ \`\`\`
471
+
472
+ ## Resolving the entity spec
473
+
474
+ \`\`\`ts
475
+ import { resolveEntitySpec } from '@lssm/lib.contracts-spec/rich-reference/kinds/entity';
476
+
477
+ const spec = resolveEntitySpec(ref.payload, registry);
478
+ // spec is ContractEntitySpec | undefined
479
+ \`\`\`
480
+
481
+ \`sensitiveFields\` for \`entityKind\` are \`['id', 'label', 'url']\`. The RichReference runtime
482
+ will redact these fields based on the active KindPolicy.`}},{id:"docs.contracts-spec.rich-reference.resolve",exportName:"ReferenceResolveDocBlock",sourceModule:"operations/reference-resolve",block:{id:"docs.contracts-spec.rich-reference.resolve",title:"Resolve rich references",summary:"Batch-resolve `(kindId, id)` references into governed RichReference payloads.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/rich-reference/resolve",tags:["rich-reference","governance","batch"],body:`# reference.resolve
483
+
484
+ Returns one wire-form RichReference per request. Sensitive fields are replaced with HMAC-signed denial tokens per the active KindPolicy; unknown payload fields are stripped before propagation (F-1 mitigation).`}},{id:"docs.contracts-spec.rich-reference.usage",exportName:"richReferenceUsageDoc",sourceModule:"rich-reference/index",block:{id:"docs.contracts-spec.rich-reference.usage",title:"RichReference usage",summary:"Authoring kinds and wiring governance ports.",kind:"usage",visibility:"public",route:"/docs/contracts-spec/rich-reference/usage",tags:["rich-reference","authoring"],body:`# Authoring a reference kind
485
+
486
+ \`\`\`ts
487
+ import { defineReferenceKind } from '@lssm/lib.contracts-spec/rich-reference';
488
+ import { z } from 'zod';
489
+
490
+ export const ticketKind = defineReferenceKind({
491
+ id: 'ticket',
492
+ schema: z.object({ id: z.string(), title: z.string() }),
493
+ sensitiveFields: ['title'],
494
+ defaultPreview: 'inline-card',
495
+ defaultPanel: 'drawer',
496
+ icon: 'ticket',
497
+ });
498
+ \`\`\`
499
+
500
+ \`sensitiveFields\` is required at the type level and at runtime; kinds with no sensitive fields MUST pass \`[]\` with an inline confirmation comment (F-4 mitigation).`}},{id:"docs.contracts-spec.structured-data",exportName:"StructuredDataDocBlock",sourceModule:"structured-data/kinds",block:{id:"docs.contracts-spec.structured-data",title:"Structured data (schema.org / JSON-LD)",summary:"Typed schema.org shapes + StructuredDataRef for route-level and derived JSON-LD.",kind:"reference",visibility:"public",route:"/docs/contracts-spec/structured-data",tags:["structured-data","seo","json-ld"],body:"# Structured data\n\nTyped schema.org shapes for marketing surfaces. `@context` is added at emission\n(the Next lane); shapes here carry only `@type` + fields.\n\n- **Derivable** (`Organization`, `WebSite`, `SoftwareApplication`) come from\n branding + app metadata via `structured-data/derive.ts`.\n- **Authored** (`Product`, `FAQPage`, `Article`, `BreadcrumbList`) are supplied\n inline on a route via `route.seo.schemaOrg`.\n\nA `StructuredDataRef` is either `{ mode: 'inline', kind, data }` (kind↔shape\ncorrelated) or `{ mode: 'derive', kind }` for the derivable kinds."}},{id:"docs.customer-support.attachment-safety",exportName:"SupportAttachmentSafetyDocBlock",sourceModule:"customer-support/attachment-safety",block:{id:"docs.customer-support.attachment-safety",title:"SupportOS attachment safety",summary:"Reference-only attachment scan, quarantine, consent, and release evidence.",kind:"reference",visibility:"public",route:"/docs/customer-support/attachment-safety",tags:["supportos","attachments","security","communication-os"],body:`# SupportOS attachment safety
501
+
502
+ CommunicationOS owns attachment bytes, storage, upload, download, and channel
503
+ linkage. SupportOS stores only opaque attachment and evidence references. Its
504
+ contracts never accept filenames, MIME claims, storage locations, digests, or
505
+ file content from callers.
506
+
507
+ Registration requires exact short-lived scanner, scope, case, attachment,
508
+ consent, and request-digest evidence. Quarantined material is never released by
509
+ scan state alone: release requires a separate state-bound governance decision.
510
+ Mutations are idempotent and revision-fenced; projections and events remain
511
+ body-free and safe for operational audit.
512
+ `}},{id:"docs.customer-support.authority-errors",exportName:"SupportAuthorityErrorsDocBlock",sourceModule:"customer-support/errors",block:{id:"docs.customer-support.authority-errors",title:"SupportOS authority errors",summary:"Stable failures shared by SupportOS authority implementations.",kind:"reference",visibility:"public",route:"/docs/customer-support/authority-errors",tags:["supportos","authority","errors"],body:`# SupportOS authority errors
513
+
514
+ Authority adapters throw \`SupportAuthorityError\` with a stable code. API
515
+ transports map the code to their protocol without inspecting human-readable
516
+ messages. Unknown adapter failures remain dependency failures and fail closed.
517
+ `}},{id:"docs.customer-support.authos-session-authority",exportName:"SupportAuthOsSessionDocBlock",sourceModule:"customer-support/authos-session",block:{id:"docs.customer-support.authos-session-authority",title:"SupportOS AuthOS session authority",summary:"Short-lived, live-checked AuthOS grants for SupportOS authority.",kind:"reference",visibility:"public",route:"/docs/customer-support/authos-session-authority",tags:["supportos","authos","oidc","security"],body:`# SupportOS AuthOS session authority
518
+
519
+ SupportOS accepts only short-lived AuthOS grants with a verified signature,
520
+ issuer, SupportOS audience, temporal claims, token id, and session or workload
521
+ identity. Every request checks AuthOS revocation/session status and current
522
+ SupportOS membership. Effective capabilities are the intersection of the grant
523
+ and live membership. Tenant and workspace authority never comes from request
524
+ bodies or query parameters. Raw grants, cookies, and claims are excluded from
525
+ logs and evidence.
526
+ `}},{id:"docs.customer-support.case-assignments",exportName:"SupportCaseAssignmentsDocBlock",sourceModule:"customer-support/case-assignments",block:{id:"docs.customer-support.case-assignments",title:"SupportOS case assignments",summary:"Revision-fenced claim, release, assignment, and governed steal semantics.",kind:"reference",visibility:"public",route:"/docs/customer-support/case-assignments",tags:["supportos","assignment","collision","idempotency"],body:`# SupportOS case assignments
527
+
528
+ Assignment mutations are scoped by authenticated tenant, workspace, and actor.
529
+ Claim always derives the assignee from that actor. Release is limited to the
530
+ current assignee or an administrator. Assign and steal require administrator
531
+ authority, and steal also requires governed evidence. Every write is fenced by
532
+ the case revision and a stable idempotency key. Durable authorities update the
533
+ assignment projection and immutable case history atomically.
534
+
535
+ The steal decision is verified server-side and bound to scope, case, target,
536
+ revision, and expiry. Exact receipt replay does not require a still-live
537
+ decision; any new or changed mutation does.
538
+
539
+ An assign or steal mutation may bind a routing decision. Production authorities
540
+ must revalidate the selected case, assignee, active team and membership, target
541
+ queue, current policy revision, and live capacity, then consume that immutable
542
+ decision exactly once in the assignment transaction. Authorities that cannot
543
+ provide atomic decision consumption fail closed.
544
+ `}},{id:"docs.customer-support.case-cursor",exportName:"SupportCaseCursorDocBlock",sourceModule:"customer-support/case-cursor",block:{id:"docs.customer-support.case-cursor",title:"SupportOS case cursor",summary:"Bounded, opaque keyset pagination cursor shared by authorities.",kind:"reference",visibility:"public",route:"/docs/customer-support/case-cursor",tags:["supportos","pagination","security"],body:`# SupportOS case cursor
545
+
546
+ Case collections use one bounded opaque keyset cursor containing the canonical
547
+ updated timestamp and case reference. Managed, self-hosted, and in-memory
548
+ authorities use the same encoder and validator. Malformed, oversized, or stale
549
+ shapes fail with the stable validation error and never become dependency
550
+ outages.
551
+ `}},{id:"docs.customer-support.case-lifecycle",exportName:"SupportCaseLifecycleDocBlock",sourceModule:"customer-support/case-lifecycle",block:{id:"docs.customer-support.case-lifecycle",title:"SupportOS durable case lifecycle",summary:"Revision-fenced snooze, automatic resume, and archive semantics.",kind:"reference",visibility:"public",route:"/docs/customer-support/case-lifecycle",tags:["supportos","cases","snooze","archive"],body:`# SupportOS durable case lifecycle
552
+
553
+ Snooze and archive mutations derive authority from server context, require an
554
+ idempotency key and current case revision, and append immutable events. Snooze
555
+ persists the prior service state and atomically emits a fenced unsnooze job.
556
+ Hosts must register the matching durable handler before enabling automatic
557
+ resume. Archive is terminal and cannot be used as a substitute for erasure.
558
+ `}},{id:"docs.customer-support.case-presence",exportName:"SupportCasePresenceDocBlock",sourceModule:"customer-support/case-presence",block:{id:"docs.customer-support.case-presence",title:"SupportOS case presence",summary:"Ephemeral, scope-bound collision awareness for case operators.",kind:"reference",visibility:"public",route:"/docs/customer-support/case-presence",tags:["supportos","presence","collision","realtime"],body:`# SupportOS case presence
559
+
560
+ Presence is ephemeral coordination state, never durable case history. A server
561
+ binds each opaque browser session to authenticated tenant, workspace, actor, and
562
+ case authority. Heartbeat sequence numbers are monotonic, timestamps and expiry
563
+ come from the server, and stale sessions disappear without an explicit leave.
564
+
565
+ Portable projections expose counts only. They never expose actor, contact,
566
+ message, answer, or note identifiers. Distributed adapters must preserve the
567
+ same scope, sequence, TTL, and fail-closed authorization semantics.
568
+ `}},{id:"docs.customer-support.case-relations",exportName:"SupportCaseRelationsDocBlock",sourceModule:"customer-support/case-relations",block:{id:"docs.customer-support.case-relations",title:"SupportOS case relations",summary:"Atomic, revision-fenced merge, split, and link evidence between support cases.",kind:"reference",visibility:"public",route:"/docs/customer-support/case-relations",tags:["supportos","cases","relations","idempotency"],body:`# SupportOS case relations
569
+
570
+ Case relations are immutable evidence edges. Both cases belong to the
571
+ server-derived tenant and workspace, both revisions are fenced, and both case
572
+ histories advance atomically. Implementations lock case rows in canonical order
573
+ to prevent deadlocks. Exact idempotent replays return the original receipt;
574
+ changed input fails closed. Relation records contain opaque references and
575
+ evidence references only. CommunicationOS message and attachment bodies are
576
+ never copied into SupportOS relation evidence.
577
+
578
+ The original one-revision relation input remains available as a deprecated
579
+ compatibility surface. Managed execution requires the strict mutation input,
580
+ including the related-case revision and a stable relation reference.
581
+ `}},{id:"docs.customer-support.crypto-lifecycle",exportName:"SupportCryptoLifecycleDocBlock",sourceModule:"customer-support/crypto-lifecycle",block:{id:"docs.customer-support.crypto-lifecycle",title:"SupportOS cryptographic lifecycle",summary:"Versioned envelope keys, scoped hashes, rotation, and secret refs.",kind:"reference",visibility:"public",route:"/docs/customer-support/crypto-lifecycle",tags:["supportos","security","kms","rotation"],body:`# SupportOS cryptographic lifecycle
582
+
583
+ Production data protection uses versioned envelope keys. Ciphertext identifies
584
+ the non-secret key reference and version needed to unwrap its data key; raw
585
+ master keys and secret values never enter persisted contracts or telemetry.
586
+ Authenticated context binds tenant, workspace, purpose, and data class.
587
+ Rotation creates a new active version, preserves decrypt-only predecessors,
588
+ and rewraps data keys through an idempotent, fenced, evidence-bearing workflow.
589
+ Scoped lookup hashes use a distinct key purpose and cannot be reused as
590
+ encryption or signing keys. Plaintext data keys are ephemeral, explicitly
591
+ destroyable runtime values. Secret references are scope-bound metadata only.
592
+ `}},{id:"docs.customer-support.crypto-rotation",exportName:"SupportCryptoRotationDocBlock",sourceModule:"customer-support/crypto-rotation",block:{id:"docs.customer-support.crypto-rotation",title:"SupportOS durable cryptographic rotation",summary:"Fenced key rotation and opaque online re-encryption evidence.",kind:"reference",visibility:"public",route:"/docs/customer-support/crypto-rotation",tags:["supportos","security","kms","rotation","worker"],body:`# SupportOS durable cryptographic rotation
593
+
594
+ Rotation plans bind a server-derived scope, cryptographic context, active key,
595
+ region, policy evidence, and immutable request digest. A plan never contains raw
596
+ keys, secrets, ciphertext, or protected values. Advancing a plan is revision and
597
+ fencing-token guarded. Online re-encryption jobs carry only opaque plan and
598
+ cursor references and use stable downstream idempotency keys. Production
599
+ qualification requires a managed KMS adapter, restore and rollback drills, and
600
+ digest-bound evidence; fixture receipts never qualify those gates.
601
+ `}},{id:"docs.customer-support.csat",exportName:"SupportCsatDocBlock",sourceModule:"customer-support/csat",block:{id:"docs.customer-support.csat",title:"SupportOS satisfaction evidence",summary:"Forms-verified satisfaction scores with immutable, privacy-safe provenance.",kind:"reference",visibility:"public",route:"/docs/customer-support/csat",tags:["supportos","csat","forms","privacy","reporting"],body:`# SupportOS satisfaction evidence
602
+
603
+ SupportOS stores the canonical score and opaque Forms definition, response,
604
+ revision, and stable score-question references. It never copies form answers or
605
+ free-text feedback. A server-side Forms verifier must echo the exact case,
606
+ definition, response, revision, score question, score, locale, and channel and
607
+ return immutable evidence before a score is accepted.
608
+
609
+ Recording is revision-fenced and idempotent. Reports use a fixed watermark and
610
+ keyset pagination. Tenant and workspace authority always comes from the
611
+ authenticated server context, never the request body.
612
+ `}},{id:"docs.customer-support.csat-surveys",exportName:"SupportCsatSurveyDocBlock",sourceModule:"customer-support/csat-surveys",block:{id:"docs.customer-support.csat-surveys",title:"SupportOS CSAT survey eligibility",summary:"Forms-authoritative, body-free CSAT invitation denominator evidence.",kind:"reference",visibility:"public",route:"/docs/customer-support/csat-surveys",tags:["supportos","csat","forms","privacy","reporting"],body:`# SupportOS CSAT survey eligibility
613
+
614
+ Forms decides whether a case is eligible and issues the survey invitation.
615
+ SupportOS persists only opaque survey, case, form revision, policy, and evidence
616
+ references plus channel, locale, a database-issued timestamp, and immutable
617
+ replay evidence. It never receives answers, identity, message bodies, or free
618
+ text.
619
+
620
+ Forms calls the service-only record-issued operation after issuance and retries
621
+ the stable idempotency key until SupportOS returns the immutable receipt.
622
+
623
+ The exact invitation is the reporting denominator for CSAT response rate.
624
+ Global and workspace rollout, live membership, current case revision, and exact
625
+ Forms evidence are rechecked fail closed.
626
+ `}},{id:"docs.customer-support.customer-session-consent",exportName:"SupportCustomerSessionConsentDocBlock",sourceModule:"customer-support/customer-session-consent",block:{id:"docs.customer-support.customer-session-consent",title:"SupportOS customer sessions and consent",summary:"Short-lived public sessions, immutable consent receipts, abuse minimization, and authenticated upgrade.",kind:"reference",visibility:"public",route:"/docs/customer-support/customer-session-consent",tags:["supportos","customer","session","consent","security"],body:`# Customer sessions and consent
627
+
628
+ Hosts issue opaque public-access tokens from an authenticated workspace context.
629
+ Public clients exchange the token for a short-lived session and rotate it with an
630
+ exact revision fence. Authorities persist only scoped token hashes and rotating
631
+ abuse identifiers; raw tokens, IP addresses, messages, answers, and contact data
632
+ never enter session evidence.
633
+
634
+ Consent is append-only, purpose-specific, localized, and bound to the exact
635
+ policy reference and notice digest shown to the customer. Withdrawal supersedes
636
+ an earlier grant without deleting its audit receipt. Authenticated upgrade uses
637
+ the server-derived AuthOS principal and assurance evidence; public request bodies
638
+ cannot choose tenant, workspace, principal, or capabilities.
639
+ `}},{id:"docs.customer-support.data-lifecycle",exportName:"SupportDataLifecycleDocBlock",sourceModule:"customer-support/data-lifecycle",block:{id:"docs.customer-support.data-lifecycle",title:"SupportOS governed data lifecycle",summary:"Retention, legal holds, and cross-owner subject erasure.",kind:"reference",visibility:"public",route:"/docs/customer-support/data-lifecycle",tags:["supportos","retention","legal-hold","erasure","privacy"],body:`# SupportOS governed data lifecycle
640
+
641
+ Retention policy, legal holds, and erasure requests derive scope from authenticated server authority. Erasure and subject-level holds begin from a revision-fenced case; the server derives the requester closure and never accepts an arbitrary subject target. Subject references are protected immediately; portable projections expose only a scoped digest. Active holds fail closed and remain visible.
642
+
643
+ Erasure is durable, idempotent, and evidence-bound across SupportOS, CommunicationOS, Forms, Knowledge, and CompanyOS. Each owner remains authoritative for its data. Completion requires terminal evidence from every owner, removal of the protected orchestration subject, and an immutable tombstone that prevents provider resurrection.`}},{id:"docs.customer-support.durable-job-contract",exportName:"SupportDurableJobContractDocBlock",sourceModule:"customer-support/job-runtime",block:{id:"docs.customer-support.durable-job-contract",title:"SupportOS durable job contract",summary:"Fenced, tenant-scoped background work for managed and self-hosted cells.",kind:"reference",visibility:"public",route:"/docs/customer-support/durable-jobs",tags:["supportos","operations","jobs"],body:`# SupportOS durable jobs
644
+
645
+ Claims are bounded and carry monotonically increasing fencing tokens. Completion,
646
+ retry, pause, and dead-letter settlement reject stale or expired leases. Pause
647
+ returns deliberately disabled work to the queue without consuming an attempt.
648
+ Abort signals
649
+ cancel active claims; an aborted handler leaves its lease unsettled for
650
+ expiry-based recovery. Delivery is at-least-once: handlers pass a stable effect
651
+ idempotency key to every downstream mutation. Payloads remain protected
652
+ references, and database time is authoritative for lease validity. Export
653
+ artifact cleanup uses the dedicated export.artifact.cleanup kind so exact-version
654
+ deletion, tombstones, retries, and readiness remain independently observable.
655
+ `}},{id:"docs.customer-support.exports",exportName:"SupportExportDocBlock",sourceModule:"customer-support/exports",block:{id:"docs.customer-support.exports",title:"SupportOS audited asynchronous exports",summary:"Snapshot-pinned, permission-separated SupportOS CSV exports.",kind:"reference",visibility:"public",route:"/docs/customer-support/exports",tags:["supportos","exports","csv","privacy","audit"],body:"# SupportOS audited exports\n\nExports are asynchronous, immutable-snapshot jobs. Redacted and sensitive permissions are separate, every mutation is idempotent and revision/fence-bound, and public projections never expose storage locators. Retrieval uses a separate `support.export-downloads` capability and authority. The public handoff contains only an opaque token and canonical relative path, expires within five minutes, and permits at most three exact idempotent downloads. Internal authorizations bind tenant, workspace, actor, export revision, immutable artifact version, digest, byte count, storage evidence, and ordinal without exposing provider URLs. Streams are explicitly authorized then settled as completed, aborted, or failed so partial delivery is audited accurately. Access can be revoked, and protected storage supports bounded streaming writes, exact-version reads, exact deletion, tombstones, and readiness. The cases export schema intentionally contains no message body, note body, form answer, attachment payload, or download URL. CSV writers emit UTF-8 and neutralize spreadsheet formulas."}},{id:"docs.customer-support.identity-resolution",exportName:"SupportIdentityResolutionDocBlock",sourceModule:"customer-support/identity-resolution",block:{id:"docs.customer-support.identity-resolution",title:"SupportOS identity resolution",summary:"Scoped-hash identity matching with explainable, governed, reversible merge edges.",kind:"reference",visibility:"public",route:"/docs/customer-support/identity-resolution",tags:["supportos","identity","privacy","governance","deduplication"],body:`# SupportOS identity resolution
656
+
657
+ SupportOS never accepts or persists raw email addresses, phone numbers, or
658
+ provider identifiers for matching. An injected server-side evidence port
659
+ resolves an opaque source identity into a tenant/workspace-scoped lookup hash,
660
+ key version, evidence reference, and short expiry. Hashes are never returned by
661
+ public queries or emitted in events.
662
+
663
+ Matches are candidates, not automatic merges. Operators review redacted profile
664
+ and candidate references. Merge and reversal operations require exact,
665
+ state-bound governance decisions covering scope, profiles, candidates, digest,
666
+ and expiry. A merge creates an immutable reversible graph edge; it does not copy,
667
+ delete, or rewrite profile fields or CommunicationOS identities.
668
+
669
+ Every mutation is idempotent and revision-fenced. Evidence is immutable,
670
+ tenant/workspace authority comes only from authenticated server context, and
671
+ key rotation must preserve version-addressed lookup until reindexing completes.
672
+ `}},{id:"docs.customer-support.internal-notes",exportName:"SupportInternalNotesDocBlock",sourceModule:"customer-support/internal-notes",block:{id:"docs.customer-support.internal-notes",title:"SupportOS internal-note evidence",summary:"Private immutable case-note evidence without duplicating CommunicationOS message content.",kind:"reference",visibility:"public",route:"/docs/customer-support/internal-notes",tags:["supportos","cases","notes","communicationos","privacy"],body:`# SupportOS internal-note evidence
673
+
674
+ CommunicationOS remains authoritative for private note content. SupportOS stores
675
+ only bounded note and evidence references, actor and case revision fencing,
676
+ policy/evidence references, and an immutable timestamp. Note bodies are rejected
677
+ from the semantic contract, persistence, events, telemetry, and list projection.
678
+
679
+ The compose operation is the sole exception at the transport boundary: SupportOS
680
+ may forward a bounded body directly to CommunicationOS, but never persists,
681
+ events, logs, traces, or returns it. Before forwarding, SupportOS persists a
682
+ body-free intent bound to authenticated scope, case revision, idempotency, and a
683
+ server-issued policy decision. CommunicationOS emits a redacted, intent-bound
684
+ delivery that SupportOS can reconcile after crashes without recovering content.
685
+
686
+ Creation requires a server-derived workspace scope, case-write permission,
687
+ idempotency, the current case revision, and a CommunicationOS verifier receipt
688
+ that proves the referenced note is private and linked to the same case. Missing,
689
+ mismatched, public, or unavailable verification fails closed. Lists require
690
+ case-read permission, use a bounded keyset cursor, and remain pinned to a stable
691
+ watermark.
692
+
693
+ Reconciliation is idempotent and explicit. Expired or revoked policy, stale case
694
+ revision, mismatched scope/case/actor, and unavailable dependencies produce a
695
+ visible needs-review or failed state; they never silently attach or discard a
696
+ CommunicationOS note. Composer, delivery, reconciliation worker, and read paths
697
+ remain behind independent global-and-workspace rollout controls.
698
+ `}},{id:"docs.customer-support.live-chat-continuity",exportName:"SupportLiveChatContinuityDocBlock",sourceModule:"customer-support/live-chat-continuity",block:{id:"docs.customer-support.live-chat-continuity",title:"Customer live-chat continuity",summary:"Short-lived immutable session-to-conversation grants.",kind:"reference",visibility:"public",route:"/docs/customer-support/live-chat-continuity",tags:["supportos","customer","session","live-chat","security"],body:`# Customer live-chat continuity
699
+
700
+ A customer session may receive a short-lived grant for one exact existing case
701
+ conversation and room. The grant never carries operator, queue, reporting, or
702
+ workload capability. Session rotation, revocation, expiry, or case revision
703
+ change invalidates the grant. Evidence contains opaque references only; message
704
+ bodies and transport tokens are prohibited. Binding requires an independently
705
+ created canonical case/conversation link plus an immutable relation-authority
706
+ receipt; existence of a CommunicationOS room is never ownership evidence.`}},{id:"docs.customer-support.membership-administration",exportName:"SupportMembershipAdministrationDocBlock",sourceModule:"customer-support/memberships",block:{id:"docs.customer-support.membership-administration",title:"SupportOS workspace membership administration",summary:"Revision-fenced, least-privilege membership grants and revocation for SupportOS workspaces.",kind:"reference",visibility:"public",route:"/docs/customer-support/membership-administration",tags:["supportos","authos","membership","security"],body:`# SupportOS workspace membership administration
707
+
708
+ Tenant and workspace authority comes only from the live AuthOS scope. Public
709
+ inputs carry opaque principal references, typed roles and capabilities,
710
+ expected revisions, policy references, evidence references, and caller-stable
711
+ idempotency. Roles are versioned presets; the frozen capability projection is
712
+ the sole authorization input. Role changes never silently expand an existing
713
+ membership.
714
+
715
+ Create, grant replacement, and revocation are distinct. Principal kind is
716
+ immutable, revoked memberships never reactivate implicitly, self-mutation and
717
+ last-administrator removal fail closed, and privileged grants require a Connect
718
+ decision reference. A server-side governance port binds the authenticated actor,
719
+ workspace, operation, expected revision, exact current and proposed membership
720
+ state digests, policy, and claimed evidence to the authorization digest. The
721
+ authority recomputes both state digests and rechecks approval expiry after its
722
+ database fence; client references are never treated as approval by themselves.
723
+ Exact replays return the original immutable receipt while changed input is rejected.
724
+
725
+ Authorized administrators can read a redacted immutable event timeline through
726
+ stable-watermark keyset pagination. The projection excludes request bodies,
727
+ session claims and provider tokens while retaining opaque actor, policy and
728
+ governance evidence references needed for review and replay.
729
+ `}},{id:"docs.customer-support.metadata",exportName:"SupportMetadataDocBlock",sourceModule:"customer-support/metadata",block:{id:"docs.customer-support.metadata",title:"SupportOS tags and custom fields",summary:"Localized metadata definitions and protected case values.",kind:"reference",visibility:"public",route:"/docs/customer-support/metadata",tags:["supportos","metadata","tags","custom-fields","privacy"],body:`# SupportOS tags and custom fields
730
+
731
+ Tag and field definitions are localized, revision-fenced, and workspace scoped.
732
+ Case metadata replacement is atomic with the case revision and immutable event
733
+ evidence. Scalar and option values are canonical and locale independent.
734
+
735
+ Case values are encrypted through the injected data-protection port; plaintext
736
+ values never enter database events, audit rows, outbox payloads, logs, or
737
+ idempotency receipts. Sensitive reads require an explicit capability. Lists use
738
+ fixed-watermark keyset pagination and tenant/workspace authority comes only from
739
+ authenticated server context.
740
+ `}},{id:"docs.customer-support.notifications",exportName:"SupportNotificationDocBlock",sourceModule:"customer-support/notifications",block:{id:"docs.customer-support.notifications",title:"SupportOS notification evidence",summary:"Preference-aware, body-free notification intent and CommunicationOS delivery evidence.",kind:"reference",visibility:"public",route:"/docs/customer-support/notifications",tags:["supportos","notifications","communication-os","privacy"],body:`# SupportOS notification evidence
741
+
742
+ SupportOS owns notification preferences, intent, escalation policy, and durable
743
+ delivery evidence. CommunicationOS owns channel identity, rendered message
744
+ content, provider delivery, and attachments. Notification contracts contain
745
+ only opaque party, template, source-event, policy, and delivery references;
746
+ message bodies, contact destinations, provider payloads, and credentials are
747
+ never copied into SupportOS.
748
+
749
+ Mutations derive tenant and workspace authority from authenticated server
750
+ context, require idempotency and revision fencing, and persist immutable audit
751
+ evidence. Collection reads use keyset pagination and a stable watermark.
752
+ Delivery failure never silently downgrades a required escalation.
753
+ Durable workers resolve only a body-free dispatch projection by opaque
754
+ notification reference, pass a stable effect-idempotency key to the channel
755
+ authority, and record exact delivery evidence before completing the fenced job.
756
+ `}},{id:"docs.customer-support.opa-handoffs",exportName:"SupportOpaHandoffsDocBlock",sourceModule:"customer-support/opa-handoffs",block:{id:"docs.customer-support.opa-handoffs",title:"SupportOS to OPA handoffs",summary:"Consent-bound public profile and booking handoffs owned by OPA.",kind:"reference",visibility:"public",route:"/docs/customer-support/opa-handoffs",tags:["supportos","opa","booking","profile","consent"],body:`# SupportOS to OPA handoffs
757
+
758
+ SupportOS stores only opaque destination references, an explicit consent receipt,
759
+ and redacted lifecycle evidence. OPA resolves the canonical public HTTPS URL and
760
+ retains profile, availability, booking, calendar, and provider authority.
761
+ `}},{id:"docs.customer-support.operations",exportName:"CustomerSupportOperationsDocBlock",sourceModule:"customer-support/operations",block:{id:"docs.customer-support.operations",title:"SupportOS operations",summary:"Semantic SupportOS commands and their transport bindings.",kind:"reference",visibility:"public",route:"/docs/customer-support/operations",tags:["supportos","operations","http"],body:`# SupportOS operations
762
+
763
+ The contracts are transport-neutral. The HTTP adapter derives tenant and
764
+ workspace authority from the authenticated session, reads \`caseRef\` from the
765
+ path for transitions, reads \`idempotencyKey\` from the Idempotency-Key header,
766
+ and validates the remaining semantic fields from the JSON body. Mutation
767
+ outputs may include a redacted \`projection\`; sensitive case content is never
768
+ required in a receipt. Stable error keys are mapped to protocol status codes.
769
+ `}},{id:"docs.customer-support.reporting",exportName:"SupportReportingDocBlock",sourceModule:"customer-support/reporting-doc",block:{id:"docs.customer-support.reporting",title:"SupportOS privacy-safe case reporting",summary:"Immutable report definitions and aggregate-only case outcome analytics.",kind:"reference",visibility:"public",route:"/docs/customer-support/reporting",tags:["supportos","reporting","analytics","privacy"],body:`# SupportOS reporting
770
+
771
+ Report definitions are immutable revisions. Definition reads default to the active published revision; administrators may explicitly request the current head while editing a draft without hiding or changing the published report. Queries pin an exact revision, timezone-data revision, and stable fact-sequence watermark. First-page requests omit both cursor and watermark; continuation requests provide both. Results contain aggregate cells and opaque references only; raw case, message, note, answer, attachment, identity, and AI content are forbidden. Minimum-cohort suppression applies to every projection, including sensitive reporting. A query projection cannot exceed the definition maximumProjection, and sensitive access additionally requires an explicit support.reporting.sensitive grant. Correction and outcome event time is assigned by the authority database clock. Aggregate CSV exports bind the immutable query receipt and watermark, then reuse the governed export artifact and protected-download pipeline.`}},{id:"docs.customer-support.routing-administration",exportName:"SupportRoutingAdministrationDocBlock",sourceModule:"customer-support/routing-administration",block:{id:"docs.customer-support.routing-administration",title:"SupportOS teams and queues",summary:"Revision-fenced, tenant-scoped team and queue administration for SupportOS routing.",kind:"reference",visibility:"public",route:"/docs/customer-support/routing-administration",tags:["supportos","routing","teams","queues"],body:`# SupportOS teams and queues
772
+
773
+ Team and queue administration is scoped exclusively by authenticated tenant,
774
+ workspace, and actor authority. Mutations use caller-stable idempotency keys,
775
+ expected revisions, server timestamps, and immutable evidence receipts. Exact
776
+ replays return the original projection; changed input fails closed.
777
+
778
+ Queue team references and fallback queues must resolve inside the same
779
+ workspace. Self-fallback and fallback cycles are invalid. Archiving a referenced
780
+ team or queue is rejected until dependants are migrated. Lists use stable-
781
+ watermark keyset pagination and expose opaque references only.
782
+ `}},{id:"docs.customer-support.runtime-readiness",exportName:"SupportRuntimeReadinessDocBlock",sourceModule:"customer-support/platform-ports",block:{id:"docs.customer-support.runtime-readiness",title:"SupportOS runtime readiness",summary:"Truthful dependency readiness for managed and self-hosted cells.",kind:"reference",visibility:"public",route:"/docs/customer-support/runtime-readiness",tags:["supportos","operations","readiness"],body:`# SupportOS runtime readiness
783
+
784
+ Liveness proves only that the API process can answer. Readiness is a fresh,
785
+ bounded projection of required migrations, database, worker, queue, feature
786
+ flag, and adapter checks. A missing port or any required non-ready check fails
787
+ closed. Callers provide an abort signal so timed-out checks release database and
788
+ provider resources. Evidence references must not contain credentials or
789
+ customer data.
790
+ `}},{id:"docs.customer-support.search-views",exportName:"SupportSearchViewsDocBlock",sourceModule:"customer-support/search-views",block:{id:"docs.customer-support.search-views",title:"SupportOS case search and saved views",summary:"Permission-aware redacted case discovery and revisioned operator views.",kind:"reference",visibility:"public",route:"/docs/customer-support/search-views",tags:["supportos","search","saved-views","privacy","pagination"],body:`# SupportOS case search and saved views
791
+
792
+ Search authority is derived from authenticated tenant and workspace context. A
793
+ client cannot provide either scope. Results are redacted case-operational
794
+ projections and never include subjects, requester identities, messages,
795
+ answers, notes, or protected values.
796
+
797
+ Free-text matching is limited to case numbers and explicitly indexed,
798
+ non-sensitive operational references. It never searches protected subjects,
799
+ requester identifiers, message or note content, form answers, or attachment
800
+ content.
801
+
802
+ Filters are typed and bounded. Every result set is pinned to a server-issued
803
+ watermark and traversed with opaque keyset cursors. Saved-view mutations require
804
+ idempotency, optimistic revision fencing, and immutable event receipts. Private
805
+ views are visible only to their owner; workspace views require scoped read and
806
+ write capabilities. Public saved-view v2 projections omit owner identity and
807
+ expose only the server-derived canMutate decision needed for operator controls.
808
+ `}},{id:"docs.customer-support.service-profile",exportName:"SupportServiceProfileDocBlock",sourceModule:"customer-support/service-profile",block:{id:"docs.customer-support.service-profile",title:"SupportOS service profiles",summary:"Consent-bound, encrypted customer context with redacted operator projections.",kind:"reference",visibility:"public",route:"/docs/customer-support/service-profiles",tags:["supportos","customer-context","privacy","consent","encryption"],body:`# SupportOS service profiles
809
+
810
+ SupportOS stores only opaque party references and an encrypted field envelope.
811
+ It never becomes the authority for CommunicationOS identities, CompanyOS graph
812
+ entities, Billing entitlements, or raw provider records.
813
+
814
+ Every write is revision-fenced and idempotent. A server-injected verifier binds
815
+ the exact party, segment, entitlement, consent, source-evidence, and input digest
816
+ before persistence. Missing, expired, mismatched, or unavailable evidence fails
817
+ closed. Immutable events store only field keys and verified evidence references.
818
+
819
+ The default operator projection exposes opaque references, classifications, and
820
+ available field keys, not encrypted references or field values. Sensitive reads
821
+ require a separate permission and are audited. Tenant and workspace authority
822
+ always comes from authenticated server context.
823
+ `}},{id:"docs.customer-support.skills-routing",exportName:"SupportSkillsRoutingDocBlock",sourceModule:"customer-support/skills-routing",block:{id:"docs.customer-support.skills-routing",title:"Deterministic skills routing",summary:"Pure, capacity-aware and replayable SupportOS operator selection without assignment effects.",kind:"reference",visibility:"public",route:"/docs/customer-support/skills-routing",tags:["supportos","routing","skills","capacity","fairness"],body:`# Deterministic skills routing
824
+
825
+ The skills-routing evaluator is a pure decision function. The protected
826
+ SupportOS authority derives bounded candidate projections from active teams,
827
+ live memberships and assignment load under a revision-pinned policy. Public
828
+ clients never supply candidates or workspace authority. It filters exclusions,
829
+ availability, capacity and required skills before applying
830
+ preferred-team, load, oldest-assignment and stable-reference ordering.
831
+
832
+ Policy mutations are revision-fenced and idempotent. Simulations freeze their
833
+ policy revision, input digest, candidate watermark and explainable trace in
834
+ immutable evidence. Optional skill fallback is
835
+ explicit in both the policy and result. The evaluator never assigns a case or
836
+ executes effects; assignment remains owned by the SupportOS assignment authority
837
+ and must persist the accepted decision and policy evidence separately.
838
+ `}},{id:"docs.customer-support.sla-administration",exportName:"SupportSlaAdministrationDocBlock",sourceModule:"customer-support/sla-administration",block:{id:"docs.customer-support.sla-administration",title:"SupportOS SLA administration",summary:"Revision-fenced SLA policies and database-time clock lifecycle contracts.",kind:"reference",visibility:"public",route:"/docs/customer-support/sla-administration",tags:["supportos","sla","business-hours","escalation"],body:`# SupportOS SLA administration
839
+
840
+ SLA authority is tenant and workspace scoped by the authenticated server
841
+ context. Policies are revision-fenced and immutable evidence receipts make
842
+ exact replays distinguishable from changed-input conflicts.
843
+
844
+ Canonical clock mutations are target-bound so first-response and resolution
845
+ deadlines cannot alias one another. Version 2 remains discoverable for pinned
846
+ clients; new authority implementations accept the strict version 3 shape.
847
+
848
+ Clock scheduling uses database time. Business-hours resolution is supplied by
849
+ an approved server adapter, and unavailable calendars fail closed. A breach is
850
+ recorded exactly once before a pinned Workflow/SOP escalation is requested;
851
+ the SLA runtime never performs consequential business effects directly.
852
+ `}},{id:"docs.customer-support.slo-incident",exportName:"SupportSloIncidentDocBlock",sourceModule:"customer-support/slo-incident-doc",block:{id:"docs.customer-support.slo-incident",title:"SupportOS SLO and incident authority",summary:"Privacy-safe SLO evidence, incident lifecycle, paging, and review contracts.",kind:"reference",visibility:"public",route:"/docs/customer-support/slo-incident",tags:["supportos","slo","incident","operations"],body:`# SupportOS SLO and incident authority
853
+
854
+ Public inputs never carry tenant, workspace, actor, timestamps, computed
855
+ verdicts, or receipt authority. SLO evidence separates API and customer-surface
856
+ availability windows and binds a stable source digest to opaque telemetry,
857
+ incident, and drill references. Incident mutations are revision-fenced and
858
+ idempotent; lifecycle actions contain only typed taxonomy and opaque references,
859
+ never narrative, customer content, destinations, or provider payloads. Lists
860
+ use bounded keyset cursors and a stable server watermark. Fixture evidence
861
+ proves deterministic behavior but never qualifies production SLO, alert
862
+ delivery, paging coverage, drills, or canaries.
863
+ `}},{id:"docs.customer-support.workspace-administration",exportName:"SupportWorkspaceAdministrationDocBlock",sourceModule:"customer-support/workspace-administration",block:{id:"docs.customer-support.workspace-administration",title:"SupportOS workspace topology administration",summary:"Revision-fenced brand, product, host, locale, and residency provenance for SupportOS workspaces.",kind:"reference",visibility:"public",route:"/docs/customer-support/workspace-administration",tags:["supportos","workspace","topology","residency"],body:`# SupportOS workspace topology administration
864
+
865
+ Tenant and workspace identifiers come only from authenticated server context.
866
+ Configuration records the exact product, host, brand, locale, and residency
867
+ provenance for an isolated or pooled workspace. Brand bindings are unique and
868
+ complete, the default locale must be enabled, and every mutation requires an
869
+ idempotency key, expected revision, policy evidence, and immutable receipt.
870
+
871
+ This contract configures one workspace. Moving data between isolated and pooled
872
+ workspaces uses the separately fenced migration planner and ledger; changing the
873
+ mode here never implies that cases, identities, messages, or attachments moved.
874
+ `}},{id:"docs.customer-support.workspace-brand-locale-residency",exportName:"SupportWorkspaceBrandLocaleResidencyDocBlock",sourceModule:"customer-support/workspace-brand-locale-residency",block:{id:"docs.customer-support.workspace-brand-locale-residency",title:"SupportOS workspace brand, locale, and residency policy",summary:"Topology-bound branding, localization, residency, and non-relaxing inherited policy evidence.",kind:"reference",visibility:"public",route:"/docs/customer-support/workspace-brand-locale-residency",tags:["supportos","workspace","brand","locale","residency"],body:`# Workspace brand, locale, and residency policy
875
+
876
+ The aggregate is bound to one exact workspace topology revision. Its brand set,
877
+ locale set, and residency region must exactly match that topology. Locale
878
+ fallbacks are acyclic. Global, tenant, and workspace policy layers are ordered
879
+ and may only narrow their predecessor. Artifact verification is provider-neutral
880
+ and expires. Reads expose topology drift as \`stale-topology\`; callers cannot
881
+ mistake stale configuration for current policy.
882
+ `}},{id:"docs.customer-support.workspace-migration",exportName:"SupportWorkspaceMigrationDocBlock",sourceModule:"customer-support/workspace-migration",block:{id:"docs.customer-support.workspace-migration",title:"SupportOS workspace topology migration",summary:"Collision-previewed, governed, fenced, resumable, and reversible workspace topology migration.",kind:"reference",visibility:"public",route:"/docs/customer-support/workspace-migration",tags:["supportos","workspace","migration","rollback"],body:`# SupportOS workspace topology migration
883
+
884
+ Preview persists the exact original and target topology plus deterministic
885
+ collision findings. Start and rollback require a state-bound Connect decision.
886
+ Advance uses a monotonic plan fence, is resumable, and records immutable step evidence.
887
+ Blocking collisions prevent execution. Completed topology never implies that
888
+ CommunicationOS messages, Forms answers, or Knowledge content changed owner.
889
+ `}},{id:"docs.customer-support.workspace-onboarding",exportName:"SupportWorkspaceOnboardingDocBlock",sourceModule:"customer-support/workspace-onboarding",block:{id:"docs.customer-support.workspace-onboarding",title:"SupportOS isolated workspace onboarding",summary:"Atomic tenant-authorized creation of an isolated workspace and its founding administrator.",kind:"reference",visibility:"public",route:"/docs/customer-support/workspace-onboarding",tags:["supportos","workspace","onboarding","authos","connect"],body:`# SupportOS isolated workspace onboarding
890
+
891
+ Onboarding uses a short-lived tenant bootstrap grant because a live workspace
892
+ membership cannot exist before the workspace is created. Tenant, workspace,
893
+ actor, and principal kind come only from authenticated server context; none is
894
+ accepted in the operation body. The grant must carry the dedicated
895
+ support.workspace.onboard capability and immutable authority evidence.
896
+
897
+ One transaction creates an isolated, single-brand workspace and its founding
898
+ support administrator. Exact retries replay a digest-bound receipt. Conflicting
899
+ workspace identities, stale or revoked Connect decisions, disabled rollout, or
900
+ partial writes fail closed. The bootstrap capability is not persisted as a
901
+ delegable workspace capability.
902
+ `}},{id:"docs.harness.browser-structured-reads",exportName:"HarnessBrowserStructuredReadsDocBlock",sourceModule:"harness/harness.feature",block:{id:"docs.harness.browser-structured-reads",title:"Harness browser structured reads",summary:"Keyed browser get actions collect exact deterministic values while legacy unkeyed reads remain output-neutral.",kind:"reference",visibility:"public",route:"/docs/harness/browser-structured-reads",tags:["harness","browser","playwright","structured-output"],body:"## Keyed reads\n\nAdd a non-empty `key` to a browser `get` action to collect its result in\nthe step output. Keyed reads execute in authored order and return a plain object\nwhose keys preserve that order. Values are strings, except a successful\n`text` read may return `null`.\n\n- `text`, `html`, and `value` require a selector.\n- `title` and `url` reject selectors.\n- Empty or duplicate keys and unsupported browser methods fail the step without\n returning partial output.\n- Unkeyed `get` actions remain legacy no-ops and do not create step output.\n\nHarness `json-match` assertions compare this object with exact deep equality;\nthey do not coerce values or ignore missing, extra, or mistyped fields.\n\n## Deterministic Playwright execution\n\nBefore navigation or interaction, the Playwright adapter verifies support for\nall requested actions, viewport changes and keyed reads. Missing capabilities\nfail setup; double-click never degrades to click, and typing never degrades to\nfill. Text waits wait for visible matching text. Legacy unkeyed reads retain\ntheir documented output-neutral behavior.\n\nA non-empty domain allowlist requires an isolated browser context with HTTP and\nWebSocket routing installed before navigation and service workers disabled.\nBlocked requests fail the run; failed setup closes partially created resources.\nBrowser routing is a QA guard, not an OS network sandbox: the execution host\nmust independently enforce the quality environment network policy, including\nredirect destinations, DNS and protocols outside browser routing."}},{id:"docs.meta.docblocks-process",exportName:"metaDocs",sourceModule:"docs/docs.feature",block:{id:"docs.meta.docblocks-process",title:"DocBlocks process",summary:"How to author goal/how/usage DocBlocks close to code.",kind:"reference",visibility:"mixed",route:"/docs/meta/docblocks-process",tags:["docs","process"],body:`## DocBlocks authoring rules
903
+
904
+ - Colocate docs beside implementation; avoid barrel /docs folders.
905
+ - Split intent:
906
+ - **goal**: why this exists (before implementation).
907
+ - **how**: operational/runbook steps.
908
+ - **usage**: quick checklist for consumers.
909
+ - Use \`visibility\`: public | internal | mixed.
910
+ - Prefer routes like \`/docs/<domain>/<topic>/<kind>\`; ids mirror that.
911
+ - Keep body Markdown LLM-friendly; avoid HTML.
912
+ - Add owners/tags/domain/stability when known.
913
+ - For presentations/markdown outputs, rely on TransformEngine via DocRegistry.
914
+ - No sourcePath; DocBlocks are canonical.`}},{id:"docs.tech.acp.fs.access",exportName:"AcpFsAccessDocBlock",sourceModule:"acp/commands/acpFsAccess.command",block:{id:"docs.tech.acp.fs.access",title:"ACP file system access",summary:"Access file system through ACP.",kind:"reference",visibility:"public",route:"/docs/tech/acp/fs/access",tags:["acp","filesystem"],body:`# acp.fs.access
915
+
916
+ Performs file system access with policy gating.
917
+ `}},{id:"docs.tech.acp.prompt.turn",exportName:"AcpPromptTurnDocBlock",sourceModule:"acp/commands/acpPromptTurn.command",block:{id:"docs.tech.acp.prompt.turn",title:"ACP prompt turn",summary:"Execute a prompt turn within a session.",kind:"reference",visibility:"public",route:"/docs/tech/acp/prompt/turn",tags:["acp","prompt"],body:`# acp.prompt.turn
918
+
919
+ Runs a prompt turn and returns structured outputs and tool calls.
920
+ `}},{id:"docs.tech.acp.session.init",exportName:"AcpSessionInitDocBlock",sourceModule:"acp/commands/acpSessionInit.command",block:{id:"docs.tech.acp.session.init",title:"ACP session init",summary:"Initialize a new ACP session.",kind:"reference",visibility:"public",route:"/docs/tech/acp/session/init",tags:["acp","session"],body:`# acp.session.init
921
+
922
+ Creates a new ACP session and returns session metadata.
923
+ `}},{id:"docs.tech.acp.session.resume",exportName:"AcpSessionResumeDocBlock",sourceModule:"acp/commands/acpSessionResume.command",block:{id:"docs.tech.acp.session.resume",title:"ACP session resume",summary:"Resume an existing ACP session.",kind:"reference",visibility:"public",route:"/docs/tech/acp/session/resume",tags:["acp","session"],body:`# acp.session.resume
924
+
925
+ Resumes a previously initialized ACP session.
926
+ `}},{id:"docs.tech.acp.session.stop",exportName:"AcpSessionStopDocBlock",sourceModule:"acp/commands/acpSessionStop.command",block:{id:"docs.tech.acp.session.stop",title:"ACP session stop",summary:"Stop an ACP session.",kind:"reference",visibility:"public",route:"/docs/tech/acp/session/stop",tags:["acp","session"],body:`# acp.session.stop
927
+
928
+ Stops an active ACP session with audit trails.
929
+ `}},{id:"docs.tech.acp.terminal.exec",exportName:"AcpTerminalExecDocBlock",sourceModule:"acp/commands/acpTerminalExec.command",block:{id:"docs.tech.acp.terminal.exec",title:"ACP terminal exec",summary:"Execute terminal commands via ACP.",kind:"reference",visibility:"public",route:"/docs/tech/acp/terminal/exec",tags:["acp","terminal"],body:`# acp.terminal.exec
930
+
931
+ Executes terminal commands in a governed ACP session.
932
+ `}},{id:"docs.tech.acp.tool.calls",exportName:"AcpToolCallsDocBlock",sourceModule:"acp/commands/acpToolCalls.command",block:{id:"docs.tech.acp.tool.calls",title:"ACP tool calls",summary:"Execute ACP tool calls.",kind:"reference",visibility:"public",route:"/docs/tech/acp/tool/calls",tags:["acp","tools"],body:`# acp.tool.calls
933
+
934
+ Executes tool calls with governance and telemetry.
935
+ `}},{id:"docs.tech.acp.transport",exportName:"AcpTransportDocBlock",sourceModule:"acp/capabilities/acpTransport.capability",block:{id:"docs.tech.acp.transport",title:"ACP transport",summary:"Agent Client Protocol transport surfaces.",kind:"reference",visibility:"public",route:"/docs/tech/acp/transport",tags:["acp","transport"],body:`# ACP transport
936
+
937
+ Defines the ContractSpec ACP server + client surfaces for HTTP streamable transport.
938
+ `}},{id:"docs.tech.agent.ai-agent-editor",exportName:"AiAgentEditorDocBlock",sourceModule:"agent/graph-conversation",block:{id:"docs.tech.agent.ai-agent-editor",title:"AiAgentEditor — graph editing session contract",summary:"Composes GraphConversation with graphOps capability refs for the AiPairPanel editing session.",kind:"reference",visibility:"public",route:"/docs/tech/agent/ai-agent-editor",tags:["automation","agent","execution","graph","ai","conversation","m5"],domain:"agent",owners:["platform.ai"],stability:"beta",body:"# AiAgentEditor\n\nSession contract that wires a `GraphConversation` to the set of graph\noperations available to the AI agent in this editing context.\n\n## Key invariants\n\n- `autoCommit` must default to `false` (W7.4 suggestion-confirmation UX)\n- `availableOps` defaults to all graphOps + `graph.edit`\n- `contextGraphId` matches the `contextGraphId` accepted by all graphOps commands\n\n## Composition\n\n`AiAgentEditor` is the session state held by `AiPairPanel` (M5 P3/W3.1).\nEach user interaction advances `conversation.history` and may trigger one or\nmore graphOps/edit tool calls.\n"}},{id:"docs.tech.agent.ai-turn-state",exportName:"AiTurnStateDocBlock",sourceModule:"agent/graph-conversation",block:{id:"docs.tech.agent.ai-turn-state",title:"AiTurnState — LLM turn discriminated union",summary:"Discriminated union for every LLM conversation turn: system | user | assistant | tool-call | tool-result.",kind:"reference",visibility:"public",route:"/docs/tech/agent/ai-turn-state",tags:["automation","agent","execution","graph","ai","conversation","m5"],domain:"agent",owners:["platform.ai"],stability:"beta",body:"# AiTurnState\n\nDiscriminated union covering all LLM conversation turn types. Discriminant: `role`.\n\n## Variants\n\n| role | purpose |\n|------|---------|\n| `system` | System-level instruction (persona, capability context) |\n| `user` | User message text |\n| `assistant` | LLM response, optionally carrying `toolCalls` |\n| `tool-call` | Tool invocation request from the LLM |\n| `tool-result` | Result returned by the tool handler |\n\n## Correlation\n\n`tool-call` and `tool-result` turns are linked by `toolCallId`.\n"}},{id:"docs.tech.agent.approval.requested",exportName:"AgentApprovalRequestedDocBlock",sourceModule:"agent/events/agentApprovalRequested.event",block:{id:"docs.tech.agent.approval.requested",title:"Agent approval requested event",summary:"Emitted when approval is required.",kind:"reference",visibility:"public",route:"/docs/tech/agent/approval/requested",tags:["agent","event","approval"],body:`# agent.approval.requested
939
+
940
+ Emitted when an approval gate is triggered.
941
+ `}},{id:"docs.tech.agent.approvals",exportName:"AgentApprovalsDocBlock",sourceModule:"agent/commands/agentApprovals.command",block:{id:"docs.tech.agent.approvals",title:"Agent approvals",summary:"Resolve an agent approval request.",kind:"reference",visibility:"public",route:"/docs/tech/agent/approvals",tags:["agent","approval"],body:`# agent.approvals
942
+
943
+ Approve or reject a pending agent action.
944
+ `}},{id:"docs.tech.agent.artifacts",exportName:"AgentArtifactsDocBlock",sourceModule:"agent/queries/agentArtifacts.query",block:{id:"docs.tech.agent.artifacts",title:"Agent artifacts",summary:"List artifacts produced by an agent run.",kind:"reference",visibility:"public",route:"/docs/tech/agent/artifacts",tags:["agent","artifacts"],body:`# agent.artifacts
945
+
946
+ Lists files, diffs, and outputs produced during agent execution.
947
+ `}},{id:"docs.tech.agent.automation-protocol-v1",exportName:"AgentAutomationProtocolV1DocBlock",sourceModule:"agent/protocol/automation/contracts",block:{id:"docs.tech.agent.automation-protocol-v1",title:"Governed agent automation protocol V1",summary:"Immutable previews, materializations, claims, receipts, and follow-ups for bounded durable automation.",kind:"reference",visibility:"public",route:"/docs/tech/agent/automation-protocol-v1",tags:["agent","automation","scheduling","durability"],body:`# Governed agent automation protocol V1
948
+
949
+ Protocol V1 maps a user preview onto one qualified application schedule, then binds materialization, lifecycle state, exact occurrence claims, durable run receipts, and CommunicationOS follow-ups by scope and digest. Every artifact carries \`effectAuthority: "none"\`. Agent Host owns scheduling and recovery, injected policy ports own authority, CommunicationOS owns delivery admission and fallback, and Runtime Nodes remain the only external-effect executors.
950
+ `}},{id:"docs.tech.agent.cancel",exportName:"AgentCancelDocBlock",sourceModule:"agent/commands/agentCancel.command",block:{id:"docs.tech.agent.cancel",title:"Cancel agent run",summary:"Cancel an in-flight agent run.",kind:"reference",visibility:"public",route:"/docs/tech/agent/cancel",tags:["agent","cancel"],body:`# agent.cancel
951
+
952
+ Stops an active agent run and records cancellation metadata.
953
+ `}},{id:"docs.tech.agent.context-v1",exportName:"AgentContextV1DocBlock",sourceModule:"context/agent-context-validation",block:{id:"docs.tech.agent.context-v1",title:"Agent context V1",summary:"Provenance-aware, least-privileged context compilation contracts.",kind:"reference",visibility:"public",route:"/docs/tech/agent/context-v1",tags:["agent","context","provenance"],body:`# Agent context V1
954
+
955
+ Every context item is scoped, hashed, classified, and attributable. Retrieved evidence, channel content, tool results, model summaries, memory proposals, and external documents are data only. Delegation uses explicit projections; compaction preserves source and evidence references.
956
+ `}},{id:"docs.tech.agent.eval.harness",exportName:"evalHarnessDoc",sourceModule:"agent/__tests__/eval/types",block:{id:"docs.tech.agent.eval.harness",title:"Eval harness — prompt fixtures + assertions",summary:"M5 P4 eval harness: 5 domain fixtures × 4 graphOps tools with tolerance-aware mutation assertions and per-tool latency/cost budgets.",kind:"reference",visibility:"internal",route:"/docs/tech/agent/eval/harness",tags:["agent","eval","graphOps","llm","m5"],body:`# Eval harness
957
+
958
+ Defines types for the M5 P4 eval gate across 5 template domains:
959
+ workflow-design | agent-tree | conversation-routing | engineering-loop | person-activity
960
+
961
+ Each EvalFixture bundles:
962
+ - EvalPromptFixture: id, domain, tool, prompt, contextGraphId, description
963
+ - EvalMutationAssertion[]: tolerance-gated checks on tool output
964
+ - EvalBudget: maxLatencyMs + GRAPH_AI_BUDGETS values for the tool
965
+
966
+ Tolerance in [0, 1]: 0 = exact match required, 1 = any output accepted.`}},{id:"docs.tech.agent.eval.runner",exportName:"runEvalDoc",sourceModule:"agent/__tests__/eval/run-eval",block:{id:"docs.tech.agent.eval.runner",title:"Eval runner — PASS / PARTIAL / FAIL diff",summary:"Runs EvalFixture assertions against actual LLM output, produces PASS/PARTIAL/FAIL with budget violation list.",kind:"how",visibility:"internal",route:"/docs/tech/agent/eval/runner",tags:["agent","eval","graphOps","llm","m5"],body:`# runEval
967
+
968
+ Diffs actual tool output against fixture assertions and emits a structured EvalResult.
969
+
970
+ Status rules:
971
+ FAIL — any assertion with tolerance=0.0 fails
972
+ PARTIAL — no zero-tolerance failures; at least one assertion with 0 < tolerance < 0.5 fails
973
+ PASS — all low-tolerance assertions pass (permissive ≥0.5 failures ignored)
974
+
975
+ Budget violations are non-fatal annotations (do not change status).
976
+ Use checkSessionBudget() to enforce the $0.50 / 50-query session ceiling.`}},{id:"docs.tech.agent.execution",exportName:"AgentExecutionDocBlock",sourceModule:"agent/agent.feature",block:{id:"docs.tech.agent.execution",title:"Agent execution",summary:"Background agent execution, approvals, and artifacts.",kind:"reference",visibility:"public",route:"/docs/tech/agent/execution",tags:["agent","execution"],body:`# Agent execution
977
+
978
+ Defines the core operations, events, and UI surfaces for background agent runs with auditability and approvals.
979
+ `}},{id:"docs.tech.agent.graph-conversation",exportName:"GraphConversationDocBlock",sourceModule:"agent/graph-conversation",block:{id:"docs.tech.agent.graph-conversation",title:"GraphConversation — AI session history buffer",summary:"Ordered turn history + capacity ceiling for AI graph agent sessions. Session identity via sessionId.",kind:"reference",visibility:"public",route:"/docs/tech/agent/graph-conversation",tags:["automation","agent","execution","graph","ai","conversation","m5"],domain:"agent",owners:["platform.ai"],stability:"beta",body:`# GraphConversation
980
+
981
+ Session history buffer for the AI graph agent. Holds up to \`capacity\` turns
982
+ (default 20, max 50).
983
+
984
+ ## Cost alignment
985
+
986
+ Capacity is bounded to keep context-window token costs within the per-session
987
+ $0.50 ceiling defined in \`m3-p0-ai-cost-ceiling.md\`.
988
+
989
+ ## Fields
990
+
991
+ | field | description |
992
+ |-------|-------------|
993
+ | \`sessionId\` | Stable session identifier |
994
+ | \`history\` | Ordered AiTurnState array (oldest first) |
995
+ | \`capacity\` | Max retained turns before eviction |
996
+ | \`createdAt\` | ISO 8601 timestamp when the session was created |
997
+ `}},{id:"docs.tech.agent.markdown-migration-v1",exportName:"AgentMarkdownMigrationV1DocBlock",sourceModule:"agent/protocol/markdown-migration",block:{id:"docs.tech.agent.markdown-migration-v1",title:"Reviewable external agent Markdown archives",kind:"reference",visibility:"public",route:"/docs/tech/agent/markdown-migration-v1",body:"Versioned restricted archives preserve selected Hermes/OpenClaw Markdown memory and skill definitions with content hashes, source provenance and disabled activation. Import data never grants permissions. Memory proposals remain owned by PersonalOS or CompanyOS governance. This initial slice does not migrate schedules, channel configuration, skill scripts/assets, or external memory databases. Hosts must authorize source selection and storage; archive data must not be logged or published as ordinary telemetry."}},{id:"docs.tech.agent.memory-tools",exportName:"AgentMemoryToolsDocBlock",sourceModule:"agent/spec",block:{id:"docs.tech.agent.memory-tools",title:"Memory tools",summary:"Governed memory proposals with legacy direct-store compatibility.",kind:"reference",visibility:"public",route:"/docs/tech/agent/memory-tools",tags:["agent","memory","tools"],body:`# Memory tools
998
+
999
+ Protocol V1 memory tools create provenance-bound proposals only. PersonalOS or CompanyOS must independently bind consent, policy, retention, authority, revision, and evidence before committing a mutation. The legacy direct-store adapter remains available only for non-Protocol-V1 agents and does not establish governed production memory.
1000
+ `}},{id:"docs.tech.agent.operations-as-tools",exportName:"AgentOperationsAsToolsDocBlock",sourceModule:"agent/spec",block:{id:"docs.tech.agent.operations-as-tools",title:"Operations as tools",summary:"Reference ContractSpec operations as agent tools. One contract to many surfaces.",kind:"reference",visibility:"public",route:"/docs/tech/agent/operations-as-tools",tags:["agent","tools","operations"],body:"# Operations as tools\n\nReference ContractSpec operations in `AgentSpec.tools` with `operationRef` to reuse schemas, handlers, and output bindings across REST, GraphQL, MCP, and agent execution.\n"}},{id:"docs.tech.agent.protocol-v1",exportName:"AgentProtocolV1DocBlock",sourceModule:"agent/protocol/application",block:{id:"docs.tech.agent.protocol-v1",title:"Agent protocol V1",summary:"Portable Plan–Act–Reflect contracts with deterministic authority.",kind:"reference",visibility:"public",route:"/docs/tech/agent/protocol-v1",tags:["agent","protocol","plan-act-reflect"],body:`# Agent protocol V1
1001
+
1002
+ The protocol describes durable context, plans, checkpoints, reflections, help, delegation, model routes, and evidence. It does not execute tools, grant authority, deliver messages, schedule work, or persist runtime state. External effects remain authorized by Connect and performed by Runtime Nodes.
1003
+ `}},{id:"docs.tech.agent.run",exportName:"AgentRunDocBlock",sourceModule:"agent/commands/agentRun.command",block:{id:"docs.tech.agent.run",title:"Run agent",summary:"Submit a background agent run.",kind:"reference",visibility:"public",route:"/docs/tech/agent/run",tags:["agent","run"],body:`# agent.run
1004
+
1005
+ Creates a new agent run with a context snapshot and execution metadata.
1006
+ `}},{id:"docs.tech.agent.run.audit",exportName:"AgentRunAuditDocBlock",sourceModule:"agent/presentations/agentRunAudit.presentation",block:{id:"docs.tech.agent.run.audit",title:"Agent run audit presentation",summary:"Presentation spec for agent run audit views.",kind:"reference",visibility:"public",route:"/docs/tech/agent/run/audit",tags:["agent","presentation","audit"],body:`# agent.run.audit
1007
+
1008
+ Presentation surface used to inspect run provenance, tools, approvals, and outputs.
1009
+ `}},{id:"docs.tech.agent.run.completed",exportName:"AgentRunCompletedDocBlock",sourceModule:"agent/events/agentRunCompleted.event",block:{id:"docs.tech.agent.run.completed",title:"Agent run completed event",summary:"Emitted when an agent run completes.",kind:"reference",visibility:"public",route:"/docs/tech/agent/run/completed",tags:["agent","event"],body:`# agent.run.completed
1010
+
1011
+ Emitted when a run completes successfully.
1012
+ `}},{id:"docs.tech.agent.run.failed",exportName:"AgentRunFailedDocBlock",sourceModule:"agent/events/agentRunFailed.event",block:{id:"docs.tech.agent.run.failed",title:"Agent run failed event",summary:"Emitted when an agent run fails.",kind:"reference",visibility:"public",route:"/docs/tech/agent/run/failed",tags:["agent","event"],body:`# agent.run.failed
1013
+
1014
+ Emitted when a run terminates with failure.
1015
+ `}},{id:"docs.tech.agent.run.form",exportName:"AgentRunFormDocBlock",sourceModule:"agent/forms/agentRun.form",block:{id:"docs.tech.agent.run.form",title:"Agent run form",summary:"Form specification for launching an agent run.",kind:"reference",visibility:"public",route:"/docs/tech/agent/run/form",tags:["agent","form"],body:`# agent.run.form
1016
+
1017
+ Form surface used by Studio to submit agent runs.
1018
+ `}},{id:"docs.tech.agent.run.index",exportName:"AgentRunsDataViewDocBlock",sourceModule:"agent/views/agentRuns.dataView",block:{id:"docs.tech.agent.run.index",title:"Agent run index view",summary:"Data view for listing agent runs.",kind:"reference",visibility:"public",route:"/docs/tech/agent/run/index",tags:["agent","data-view"],body:`# agent.run.index
1019
+
1020
+ List view over agent runs and their status.
1021
+ `}},{id:"docs.tech.agent.run.started",exportName:"AgentRunStartedDocBlock",sourceModule:"agent/events/agentRunStarted.event",block:{id:"docs.tech.agent.run.started",title:"Agent run started event",summary:"Emitted when an agent run starts.",kind:"reference",visibility:"public",route:"/docs/tech/agent/run/started",tags:["agent","event"],body:`# agent.run.started
1022
+
1023
+ Emitted when an agent run begins execution.
1024
+ `}},{id:"docs.tech.agent.runner.goal",exportName:"agentRunnerGoalDoc",sourceModule:"agent/runner",block:{id:"docs.tech.agent.runner.goal",title:"Agent runner — goal",summary:"Synchronous depth-first agent task-tree executor with cancel propagation.",kind:"goal",visibility:"public",route:"/docs/tech/agent/runner/goal",tags:["agent","runner","task-tree"],body:"# Agent runner\n\nThe agent runner walks a flat list of `AgentTask` records as a depth-first tree,\nexecuting parent tasks before their children. It emits four lifecycle events:\n`agent.task_started`, `agent.task_completed`, `agent.task_failed`, and\n`agent.task_cancelled`. Cancellation propagates to all remaining descendants."}},{id:"docs.tech.agent.status",exportName:"AgentStatusDocBlock",sourceModule:"agent/queries/agentStatus.query",block:{id:"docs.tech.agent.status",title:"Agent status",summary:"Query agent run status.",kind:"reference",visibility:"public",route:"/docs/tech/agent/status",tags:["agent","status"],body:`# agent.status
1025
+
1026
+ Returns status summaries for one or many agent runs.
1027
+ `}},{id:"docs.tech.agent.subagents",exportName:"AgentSubagentsDocBlock",sourceModule:"agent/spec",block:{id:"docs.tech.agent.subagents",title:"Subagents",summary:"Delegate tasks to subagents with streaming and isolated context.",kind:"reference",visibility:"public",route:"/docs/tech/agent/subagents",tags:["agent","subagents","delegation"],body:`# Subagents
1028
+
1029
+ Subagents let a primary agent delegate bounded work to worker agents while keeping orchestration, summaries, and approval policy in the parent flow.
1030
+ `}},{id:"docs.tech.agent.task-tree.goal",exportName:"agentTaskTreeGoalDoc",sourceModule:"agent/task-tree",block:{id:"docs.tech.agent.task-tree.goal",title:"AgentTask — goal",summary:"Tree-topology specialisation of SharedTask for the agent runtime.",kind:"goal",visibility:"public",route:"/docs/tech/agent/task-tree/goal",tags:["agent","task-tree","a9"],body:"# AgentTask\n\n`AgentTask` is the agent-context specialisation of `SharedTask` (A9 invariant).\nEach node carries at most one `parent` reference, forming a strict tree topology.\n`dependsOn` is prohibited at runtime — use `validateAgentTaskTree()` to enforce this.\n\n## Tree invariant\n\n- Exactly one root per tree (`parent` is `undefined`).\n- Every non-root task references one existing task as its parent.\n- `dependsOn` is reserved for workflow DAG context and MUST NOT be set here."}},{id:"docs.tech.agent.task-tree.usage",exportName:"agentTaskTreeUsageDoc",sourceModule:"agent/task-tree",block:{id:"docs.tech.agent.task-tree.usage",title:"AgentTask — usage",summary:"How to build and validate an agent task tree.",kind:"usage",visibility:"public",route:"/docs/tech/agent/task-tree/usage",tags:["agent","task-tree"],body:`# Using AgentTask
1031
+
1032
+ ## Build a tree
1033
+
1034
+ \`\`\`ts
1035
+ import type { AgentTask } from '@lssm/lib.contracts-spec/agent';
1036
+
1037
+ const tasks: AgentTask[] = [
1038
+ { id: 'root', label: 'Root task' },
1039
+ { id: 'child-a', label: 'Child A', parent: 'root' },
1040
+ { id: 'child-b', label: 'Child B', parent: 'root' },
1041
+ ];
1042
+ \`\`\`
1043
+
1044
+ ## Validate before running
1045
+
1046
+ \`\`\`ts
1047
+ import { validateAgentTaskTree } from '@lssm/lib.contracts-spec/agent';
1048
+
1049
+ const result = validateAgentTaskTree(tasks);
1050
+ if (!result.valid) throw new Error(result.error);
1051
+ \`\`\``}},{id:"docs.tech.agent.workflow-integration",exportName:"AgentWorkflowIntegrationDocBlock",sourceModule:"agent/spec",block:{id:"docs.tech.agent.workflow-integration",title:"Workflow-agent integration",summary:"Patterns for orchestrator-worker, workflow steps, and evaluator loops.",kind:"reference",visibility:"public",route:"/docs/tech/agent/workflow-integration",tags:["agent","workflow","orchestrator"],body:`# Workflow-agent integration
1052
+
1053
+ Agents can act as workflow workers, orchestrators, or evaluators. Contract-backed operations keep those integrations explicit and replayable.
1054
+ `}},{id:"docs.tech.companyos.calendar-intelligence.delivery.retry",exportName:"PersonalBriefingDeliveryRetryDocBlock",sourceModule:"companyos/commands/personalBriefingDeliveryRetry.command",block:{id:"docs.tech.companyos.calendar-intelligence.delivery.retry",title:"Retry a personal briefing delivery",summary:"Retries one failed or stale delivery owned by the authenticated recipient.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/delivery-retry",tags:["companyos","calendar-intelligence","briefings","recovery"],body:`# Retry personal briefing delivery
1055
+
1056
+ The opaque delivery identifier is resolved inside the authenticated user's
1057
+ personal tenant. Delivered, suppressed, fresh in-flight, exhausted, and
1058
+ cross-user records cannot be retried. The same idempotency key and bounded
1059
+ personal calendar pipeline are reused; no recipient or calendar authority is
1060
+ accepted from the browser.
1061
+ `}},{id:"docs.tech.companyos.calendar-intelligence.google-oauth.complete",exportName:"PersonalBriefingGoogleOAuthCompleteDocBlock",sourceModule:"companyos/commands/personalBriefingGoogleOAuthComplete.command",block:{id:"docs.tech.companyos.calendar-intelligence.google-oauth.complete",title:"Complete personal Google Calendar authorization",summary:"Completes signed OAuth state for the same authenticated CompanyOS user.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/google-oauth-complete",tags:["companyos","calendar-intelligence","google-calendar","oauth"],body:`# Complete personal Google Calendar OAuth
1062
+
1063
+ Signed provider state must resolve to the current user’s personal context and
1064
+ server-derived account reference. A mismatched user, tenant, account, state, or
1065
+ session is rejected before a personal source is materialized.
1066
+ `}},{id:"docs.tech.companyos.calendar-intelligence.google-oauth.start",exportName:"PersonalBriefingGoogleOAuthStartDocBlock",sourceModule:"companyos/commands/personalBriefingGoogleOAuthStart.command",block:{id:"docs.tech.companyos.calendar-intelligence.google-oauth.start",title:"Start personal Google Calendar authorization",summary:"Starts OAuth for the authenticated user’s non-shareable personal CompanyOS context.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/google-oauth-start",tags:["companyos","calendar-intelligence","google-calendar","oauth"],body:`# Start personal Google Calendar OAuth
1067
+
1068
+ The account reference, user, owner, and personal tenant are server-derived.
1069
+ The operation never accepts browser-provided identity selectors and never
1070
+ authorizes a workspace booking calendar as a personal source.
1071
+ `}},{id:"docs.tech.companyos.calendar-intelligence.microsoft-calendar.disconnect",exportName:"PersonalBriefingMicrosoftDisconnectDocBlock",sourceModule:"companyos/commands/personalBriefingMicrosoftDisconnect.command",block:{id:"docs.tech.companyos.calendar-intelligence.microsoft-calendar.disconnect",title:"Disconnect personal Microsoft Calendar",summary:"Revokes local credentials and disables only the current personal Microsoft connection.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/microsoft-calendar-disconnect",tags:["companyos","calendar-intelligence","microsoft-calendar","oauth"],body:`# Disconnect personal Microsoft Calendar
1072
+
1073
+ The account reference, user, owner, and personal tenant are server-derived.
1074
+ The operation deletes local account credentials and pending authorization state, disables the personal source, and preserves Google data. It does not claim to revoke consent in Microsoft itself. No provider network request is required.
1075
+ `}},{id:"docs.tech.companyos.calendar-intelligence.microsoft-oauth.complete",exportName:"PersonalBriefingMicrosoftOAuthCompleteDocBlock",sourceModule:"companyos/commands/personalBriefingMicrosoftOAuthComplete.command",block:{id:"docs.tech.companyos.calendar-intelligence.microsoft-oauth.complete",title:"Complete personal Microsoft Calendar authorization",summary:"Completes opaque one-use OAuth state for the same authenticated CompanyOS user.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/microsoft-oauth-complete",tags:["companyos","calendar-intelligence","microsoft-calendar","oauth"],body:`# Complete personal Microsoft Calendar OAuth
1076
+
1077
+ Opaque one-use provider state must resolve to the current user’s personal context and
1078
+ server-derived account reference. A mismatched user, tenant, account, state, or
1079
+ session is rejected before credentials are persisted.
1080
+ Successful HTML browser callbacks return HTTP 303 to the configured CompanyOS
1081
+ settings origin and fixed path, without forwarding callback parameters. JSON
1082
+ clients retain the connected boolean response. No caller return URL is accepted.
1083
+ `}},{id:"docs.tech.companyos.calendar-intelligence.microsoft-oauth.start",exportName:"PersonalBriefingMicrosoftOAuthStartDocBlock",sourceModule:"companyos/commands/personalBriefingMicrosoftOAuthStart.command",block:{id:"docs.tech.companyos.calendar-intelligence.microsoft-oauth.start",title:"Start personal Microsoft Calendar authorization",summary:"Starts OAuth for the authenticated user’s non-shareable personal CompanyOS context.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/microsoft-oauth-start",tags:["companyos","calendar-intelligence","microsoft-calendar","oauth"],body:`# Start personal Microsoft Calendar OAuth
1084
+
1085
+ The account reference, user, owner, and personal tenant are server-derived.
1086
+ The operation never accepts browser-provided identity selectors and never
1087
+ authorizes a workspace booking calendar as a personal source.
1088
+ `}},{id:"docs.tech.companyos.calendar-intelligence.personal-calendars.list",exportName:"PersonalBriefingCalendarsListDocBlock",sourceModule:"companyos/queries/personalBriefingCalendarsList.query",block:{id:"docs.tech.companyos.calendar-intelligence.personal-calendars.list",title:"List personal Google calendars",summary:"Enumerates only calendars available through the current user’s personal Google grant.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/personal-calendars-list",tags:["companyos","calendar-intelligence","google-calendar","privacy"],body:`# List personal Google calendars
1089
+
1090
+ The operation has no account, tenant, owner, or user input. It derives the
1091
+ personal account reference from the session and returns only opaque calendar
1092
+ references suitable for subsequent selection.
1093
+ `}},{id:"docs.tech.companyos.calendar-intelligence.personal-calendars.select",exportName:"PersonalBriefingCalendarsSelectDocBlock",sourceModule:"companyos/commands/personalBriefingCalendarsSelect.command",block:{id:"docs.tech.companyos.calendar-intelligence.personal-calendars.select",title:"Select personal briefing calendars",summary:"Selects calendars owned by the current user and maps each to currently authorized workspaces.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/personal-calendars-select",tags:["companyos","calendar-intelligence","oauth","authorization"],body:`# Personal calendar selection
1094
+
1095
+ Every calendar reference is re-enumerated from the authenticated user’s Google
1096
+ grant. Every selected calendar requires at least one explicit workspace mapping,
1097
+ and every mapping is revalidated against current CompanyOS membership.
1098
+
1099
+ Workspace booking resources are permanently excluded from this operation.
1100
+
1101
+ Compatibility intent: **breaking major** in
1102
+ \`companyos.calendar-intelligence@3.0.0\`. A successful selection returns the
1103
+ server-derived delivery rollout state alongside setup readiness.
1104
+ `}},{id:"docs.tech.companyos.calendar-intelligence.personal-preferences.update",exportName:"PersonalBriefingPreferencesUpdateDocBlock",sourceModule:"companyos/commands/personalBriefingPreferencesUpdate.command",block:{id:"docs.tech.companyos.calendar-intelligence.personal-preferences.update",title:"Update personal briefing preferences",summary:"Updates only the authenticated user’s locale, timezone, cadence, enablement, and delivery channels.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/personal-preferences-update",tags:["companyos","calendar-intelligence","briefings","privacy"],body:`# Personal briefing preferences
1105
+
1106
+ The server derives the user, personal context, and verified delivery address.
1107
+ Browser payloads cannot select another user, tenant, owner, or recipient.
1108
+
1109
+ Compatibility intent: **additive minor** in
1110
+ \`companyos.calendar-intelligence@3.1.0\`. The server derives delivery rollout
1111
+ from setup readiness and the two delivery toggles. Workspace briefing
1112
+ preferences are not read or migrated into the personal delivery runtime. The
1113
+ durable in-app route is mandatory and the user may additionally select email.
1114
+ `}},{id:"docs.tech.companyos.calendar-intelligence.personal-status",exportName:"PersonalBriefingStatusDocBlock",sourceModule:"companyos/queries/personalBriefingStatus.query",block:{id:"docs.tech.companyos.calendar-intelligence.personal-status",title:"Read personal briefing status",summary:"Returns only the authenticated user’s setup, sources, mappings, preferences, and privacy-safe delivery evidence.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/personal-status",tags:["companyos","calendar-intelligence","briefings","privacy"],body:`# Personal briefing status
1115
+
1116
+ This query has no identity input. The server derives the user and personal
1117
+ context from the session. Recent delivery evidence excludes event notes, graph
1118
+ content, rendered bodies, provider event identifiers, and attendee addresses.
1119
+ Provider delivery state is a monotonic, signed-webhook-derived projection. API
1120
+ acceptance alone must never be described as delivered.
1121
+
1122
+ Connection health is provider-backed rather than inferred from a persisted
1123
+ source row. A calendar enumeration authorization failure moves the source to
1124
+ \`reauthorization_required\` and records only a redacted failure stage; the
1125
+ status query must not continue to describe that source as connected.
1126
+ `}},{id:"docs.tech.companyos.calendar-intelligence.preview.send",exportName:"PersonalBriefingPreviewSendDocBlock",sourceModule:"companyos/commands/personalBriefingPreviewSend.command",block:{id:"docs.tech.companyos.calendar-intelligence.preview.send",title:"Send a personal briefing preview",summary:"Prepares a non-production morning or preparation preview through the current user’s selected CommunicationOS routes.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/calendar-intelligence/preview-send",tags:["companyos","calendar-intelligence","briefings","preview"],body:`# Send personal briefing preview
1127
+
1128
+ The browser supplies only the kind field as morning-recap or
1129
+ meeting-preparation; it supplies no recipient. The server resolves the
1130
+ current CompanyOS identity and resolves the selected delivery routes. Email
1131
+ uses exactly one verified recipient with no cc or bcc. The server reads only
1132
+ that user’s selected personal calendars, revalidates
1133
+ their mapped workspace authority, and composes the same grounded document used
1134
+ by live delivery. The rendered delivery is retained only as the canonical
1135
+ CommunicationOS message under the configured conversation-retention policy.
1136
+ Queue admission, provider acceptance, and confirmed delivery remain distinct. Preparation
1137
+ preview fails closed when no eligible timed event exists. Provider delivery
1138
+ failures return a stable, redacted unavailable error so the interface can show
1139
+ an actionable operator-owned blocker without exposing provider details.
1140
+ `}},{id:"docs.tech.companyos.company-metrics.commands",exportName:"CompanyMetricsCommandsDocBlock",sourceModule:"companyos/company-metrics/commands",block:{id:"docs.tech.companyos.company-metrics.commands",title:"Company metrics commands",summary:"Govern definition, collection, alert, digest, and publication lifecycle.",kind:"reference",visibility:"public",route:"/docs/tech/companyos/company-metrics/commands",tags:["companyos","metrics","governance"],body:`# Company metrics commands
1141
+
1142
+ Every mutation is scope-bound and idempotent. Discovery approval does not authorize changed tools or schemas.`}},{id:"docs.tech.companyos.company-metrics.events",exportName:"CompanyMetricsEventsDocBlock",sourceModule:"companyos/company-metrics/events",block:{id:"docs.tech.companyos.company-metrics.events",title:"Company metrics events",summary:"Evidence-bearing facts emitted by the governed metrics lifecycle.",kind:"reference",visibility:"public",route:"/docs/tech/companyos/company-metrics/events",tags:["companyos","metrics"],body:`# Company metrics events
1143
+
1144
+ Events contain aggregate references only; raw source payloads, prompts, credentials, and direct identifiers are excluded.`}},{id:"docs.tech.companyos.company-metrics.queries",exportName:"CompanyMetricsQueriesDocBlock",sourceModule:"companyos/company-metrics/queries",block:{id:"docs.tech.companyos.company-metrics.queries",title:"Company metrics queries",summary:"Read governed metric projections without provider-side reads.",kind:"reference",visibility:"public",route:"/docs/tech/companyos/company-metrics/queries",tags:["companyos","metrics"],body:`# Company metrics queries
1145
+
1146
+ Dashboard reads use immutable CompanyOS snapshots. Providers are queried only by collection jobs.`}},{id:"docs.tech.companyos.onboarding-preferences.complete",exportName:"CompanyOsOnboardingPreferencesCompleteDocBlock",sourceModule:"companyos/commands/onboardingPreferencesComplete.command",block:{id:"docs.tech.companyos.onboarding-preferences.complete",title:"Complete CompanyOS onboarding preferences",summary:"Persists tenant-bound experience preferences for the authenticated user with optimistic concurrency and idempotent replay.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/onboarding-preferences-complete",tags:["companyos","onboarding","preferences","concurrency"],body:`# Complete CompanyOS onboarding preferences
1147
+
1148
+ The browser supplies only a bounded preference patch, the last observed
1149
+ tenant-scoped experience revision, and an idempotency key. The host derives the
1150
+ user and tenant from the authenticated session. It stores one preference
1151
+ document per user and tenant, rejects cross-tenant selectors, and replays only
1152
+ the exact command within the same derived scope.
1153
+ `}},{id:"docs.tech.companyos.persona-preview.set",exportName:"CompanyOsPersonaPreviewSetDocBlock",sourceModule:"companyos/commands/personaPreviewSet.command",block:{id:"docs.tech.companyos.persona-preview.set",title:"Set CompanyOS persona preview",summary:"Sets or clears a server-authorized, session-scoped presentation-only persona preview.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/persona-preview-set",tags:["companyos","persona","rolemorph","session"],body:`# Set CompanyOS persona preview
1154
+
1155
+ This additive v1 command stores an authorized view persona in the current
1156
+ session only. It never changes the actual authorization persona or grants
1157
+ capabilities; presentation and actions remain the intersection of the actual
1158
+ subject and the selected preview. Passing null exits preview mode.
1159
+ `}},{id:"docs.tech.companyos.shell-preferences.get",exportName:"CompanyOsShellPreferencesGetDocBlock",sourceModule:"companyos/queries/shellPreferencesGet.query",block:{id:"docs.tech.companyos.shell-preferences.get",title:"Get CompanyOS shell preferences",summary:"Returns the authenticated user’s versioned shell preference snapshot.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/shell-preferences-get",tags:["companyos","shell","preferences"],body:`# Get CompanyOS shell preferences
1160
+
1161
+ Breaking v2 adds the required tenant-scoped experience preference document and
1162
+ its independent revision to the authenticated shell snapshot. The server still
1163
+ derives the user and tenant from the session. Placement and experience writes
1164
+ retain separate optimistic revisions.
1165
+ `}},{id:"docs.tech.companyos.shell-preferences.update",exportName:"CompanyOsShellPreferencesUpdateDocBlock",sourceModule:"companyos/commands/shellPreferencesUpdate.command",block:{id:"docs.tech.companyos.shell-preferences.update",title:"Update CompanyOS shell preferences",summary:"Updates the authenticated user’s context-switcher placement with optimistic concurrency.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/shell-preferences-update",tags:["companyos","shell","preferences","concurrency"],body:`# Update CompanyOS shell preferences
1166
+
1167
+ Breaking v2 returns the complete authenticated shell snapshot, including the
1168
+ required tenant-scoped experience preference document and its independent
1169
+ revision. The command still mutates only context-switcher placement.
1170
+ `}},{id:"docs.tech.companyos.special-ops.review-card.decide",exportName:"ReviewCardDecideDocBlock",sourceModule:"companyos/commands/reviewCardDecide.command",block:{id:"docs.tech.companyos.special-ops.review-card.decide",title:"Decide a Special Ops review card",summary:"Record a human approve/reject decision on a submitted Special Ops review card; tenant- and workspace-scoped, idempotent, audit-emitting.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/special-ops/review-card-decide",tags:["special-ops","review-card","decide","mutation"],body:"# specialOps.reviewCard.decide\n\nRecords a human review decision (`approved` ∨ `rejected`) on a previously\nsubmitted Special Ops review card. Governs the already-shipped\n`decideReviewCard` repository handler in `api-application-monolith`; authored\nhere (Managed CompanyOS production contracts surface) rather than the\n`packages/examples/special-ops-cockpit` fixture, which stays a pure demo.\n\nScope: tenant- and workspace-scoped. The handler resolves the actor session to\nan access scope and refuses cross-scope mutation (`TENANT_MISMATCH`). Decision\nis human-only — this is the anti-surveillance human-review boundary, not an\nautomated transition.\n\nIdempotency: `idempotencyKey` is required. Replays return the original result\nwith `idempotentReplay = true`; the underlying evidence receipt is preserved.\n\nAudit: every decision is intended to emit a `managed_companyos_audit_events`\nrow (see `sideEffects.audit`) distinct from the in-memory evidence receipt.\n\nCompatibility intent: **additive** (new operation key, no change to existing\ncontracts).\n"}},{id:"docs.tech.companyos.special-ops.weekly-report.approve",exportName:"WeeklyReportApproveDocBlock",sourceModule:"companyos/commands/weeklyReportApprove.command",block:{id:"docs.tech.companyos.special-ops.weekly-report.approve",title:"Approve (publish) a Special Ops weekly report",summary:"Human-approve a Special Ops weekly report draft, transitioning it to published; tenant- and workspace-scoped, idempotent, audit-emitting.",kind:"reference",visibility:"internal",route:"/docs/tech/companyos/special-ops/weekly-report-approve",tags:["special-ops","weekly-report","approve","publish","mutation"],body:"# specialOps.weeklyReport.approve\n\nHuman approval gate for a Special Ops weekly report. Approval is the publish\ntransition: a draft report becomes `published` and its\n`publish_policy_ref` flips to `allow` only after an explicit human decision.\nGoverns the already-shipped `publishWeeklyReport` repository handler in\n`api-application-monolith`; authored here (Managed CompanyOS production\ncontracts surface) rather than the `packages/examples/special-ops-cockpit`\nfixture, which stays a pure demo.\n\nScope: tenant- and workspace-scoped. Cross-scope approval is refused\n(`TENANT_MISMATCH`). The report must already exist as a composed draft built\nfrom approved review cards only.\n\nIdempotency: `idempotencyKey` is required. Replays return the original result\nwith `idempotentReplay = true`; the underlying evidence receipt is preserved.\n\nAudit: every approval is intended to emit a `managed_companyos_audit_events`\nrow (see `sideEffects.audit`) distinct from the in-memory evidence receipt.\n\nCompatibility intent: **additive** (new operation key, no change to existing\ncontracts).\n"}},{id:"docs.tech.content-analysis.events",exportName:"ContentAnalysisEventsDocBlock",sourceModule:"content-analysis/events",block:{id:"docs.tech.content-analysis.events",title:"Content analysis events",summary:"Immutable lifecycle notifications for assistive media analysis.",kind:"reference",visibility:"public",route:"/docs/tech/content-analysis/events",tags:["content-analysis","ai","evidence","creator-intelligence","events"],body:`# Content analysis events
1171
+
1172
+ Events carry identifiers and evidence references, never raw provider payloads or hidden reasoning.`}},{id:"docs.tech.content-analysis.operations",exportName:"ContentAnalysisOperationsDocBlock",sourceModule:"content-analysis/operations",block:{id:"docs.tech.content-analysis.operations",title:"Content analysis operations",summary:"Evidence-first, contestable analysis of text, image, audio, and video.",kind:"reference",visibility:"public",route:"/docs/tech/content-analysis/operations",tags:["content-analysis","ai","evidence","creator-intelligence"],body:`# Content analysis operations
1173
+
1174
+ Requests are tenant scoped, bounded, versioned, evidence backed, and idempotent.
1175
+ Results may support human review and coaching but never grant review, publication,
1176
+ ranking, creator-selection, or economic authority.
1177
+ `}},{id:"docs.tech.content-generation.system",exportName:"ContentGenerationSystemDocBlock",sourceModule:"content-generation/contracts",block:{id:"docs.tech.content-generation.system",title:"Content Generation Contracts",summary:"Provider-agnostic contracts for text, image, video, TTS, STT, conversation, and multimodal workflows.",kind:"reference",visibility:"public",route:"/docs/tech/content-generation/system",tags:["content-generation","multimodal","providers"],body:`# Content Generation Contracts
1178
+
1179
+ Defines source-of-truth operation schemas and provider ports for content-generation orchestration without owning concrete provider SDK adapters.
1180
+ `}},{id:"docs.tech.context.pack.describe",exportName:"ContextPackDescribeDocBlock",sourceModule:"context/queries/contextPackDescribe.query",block:{id:"docs.tech.context.pack.describe",title:"Describe context pack",summary:"Describe a context pack and its sources.",kind:"reference",visibility:"public",route:"/docs/tech/context/pack/describe",tags:["context","pack","describe"],body:`# context.pack.describe
1181
+
1182
+ Returns a canonical view of a context pack, including sources and ownership metadata.
1183
+ `}},{id:"docs.tech.context.pack.search",exportName:"ContextPackSearchDocBlock",sourceModule:"context/queries/contextPackSearch.query",block:{id:"docs.tech.context.pack.search",title:"Search context packs",summary:"Search and filter context packs and snapshots.",kind:"reference",visibility:"public",route:"/docs/tech/context/pack/search",tags:["context","pack","search"],body:`# context.pack.search
1184
+
1185
+ Search context packs and surface their latest snapshot details for discovery and UI lists.
1186
+ `}},{id:"docs.tech.context.pack.search.form",exportName:"ContextPackSearchFormDocBlock",sourceModule:"context/forms/contextPackSearch.form",block:{id:"docs.tech.context.pack.search.form",title:"Context pack search form",summary:"Form used to search context packs in UI surfaces.",kind:"reference",visibility:"public",route:"/docs/tech/context/pack/search-form",tags:["context","form","search"],body:`# context.pack.search.form
1187
+
1188
+ Form specification for searching context packs by query, tag, or owner.
1189
+ `}},{id:"docs.tech.context.pack.snapshot",exportName:"ContextPackSnapshotDocBlock",sourceModule:"context/commands/contextPackSnapshot.command",block:{id:"docs.tech.context.pack.snapshot",title:"Create context snapshot",summary:"Create an immutable context snapshot from a pack.",kind:"reference",visibility:"public",route:"/docs/tech/context/pack/snapshot",tags:["context","snapshot","create"],body:`# context.pack.snapshot
1190
+
1191
+ Creates a versioned snapshot that is used as the immutable context for agent execution.
1192
+ `}},{id:"docs.tech.context.snapshot.created",exportName:"ContextSnapshotCreatedDocBlock",sourceModule:"context/events/contextSnapshotCreated.event",block:{id:"docs.tech.context.snapshot.created",title:"Context snapshot created event",summary:"Emitted when a context snapshot is created.",kind:"reference",visibility:"public",route:"/docs/tech/context/snapshot/created",tags:["context","snapshot","event"],body:`# context.snapshot.created
1193
+
1194
+ Emitted when a new snapshot has been persisted and is ready for use.
1195
+ `}},{id:"docs.tech.context.snapshot.index",exportName:"ContextSnapshotsDataViewDocBlock",sourceModule:"context/views/contextSnapshots.dataView",block:{id:"docs.tech.context.snapshot.index",title:"Context snapshot index view",summary:"Data view for listing context snapshots.",kind:"reference",visibility:"public",route:"/docs/tech/context/snapshot/index",tags:["context","snapshot","data-view"],body:`# context.snapshot.index
1196
+
1197
+ Provides a list-oriented data view over context packs and snapshot metadata.
1198
+ `}},{id:"docs.tech.context.snapshot.presentation",exportName:"ContextSnapshotSummaryDocBlock",sourceModule:"context/presentations/contextSnapshot.presentation",block:{id:"docs.tech.context.snapshot.presentation",title:"Context snapshot presentation",summary:"Presentation spec for snapshot summaries.",kind:"reference",visibility:"public",route:"/docs/tech/context/snapshot/presentation",tags:["context","presentation","snapshot"],body:`# context.snapshot.summary
1199
+
1200
+ Defines the presentation surface for snapshot summaries across UI channels.
1201
+ `}},{id:"docs.tech.context.system",exportName:"ContextSystemDocBlock",sourceModule:"context/capabilities/contextSystem.capability",block:{id:"docs.tech.context.system",title:"Context system",summary:"Context packs, snapshots, and discovery surfaces.",kind:"reference",visibility:"public",route:"/docs/tech/context/system",tags:["context","system","snapshot"],body:`# Context system
1202
+
1203
+ The context system defines how ContractSpec bundles DocBlocks, contracts, knowledge spaces, and data views into deterministic snapshots.
1204
+ `}},{id:"docs.tech.contracts.app-config",exportName:"tech_contracts_app_config_DocBlocks",sourceModule:"app-config/spec",block:{id:"docs.tech.contracts.app-config",title:"App Configuration Layers",summary:"App orchestration is split into three explicit layers:",kind:"reference",visibility:"public",route:"/docs/tech/contracts/app-config",tags:["tech","contracts","app-config"],body:`## App Configuration Layers
1205
+
1206
+ App orchestration is split into three explicit layers:
1207
+
1208
+ 1. **AppBlueprintSpec**: global, versioned description of what an app can look like. Stored in Git with no tenant or environment data.
1209
+ 2. **TenantAppConfig**: tenant and environment overrides that Studio or control-plane workflows edit over time.
1210
+ 3. **ResolvedAppConfig**: the pure merged view consumed by runtime code.
1211
+
1212
+ - Types and registry: \`packages/libs/contracts-spec/src/app-config/spec.ts\`
1213
+ - Resolution helpers: \`packages/libs/contracts-spec/src/app-config/runtime.ts\`
1214
+ - Validation helpers: \`packages/libs/contracts-spec/src/app-config/validation.ts\`
1215
+ - CLI wizard: \`contractspec create app-config\`
1216
+
1217
+ ### 1. AppBlueprintSpec
1218
+
1219
+ \`\`\`ts
1220
+ export interface AppBlueprintSpec {
1221
+ meta: AppBlueprintMeta; // { key, version, appId, ownership }
1222
+ capabilities?: { enabled?: CapabilityRef[]; disabled?: CapabilityRef[] };
1223
+ features?: { include?: FeatureRef[]; exclude?: FeatureRef[] };
1224
+ integrationSlots?: AppIntegrationSlot[];
1225
+ branding?: BrandingDefaults;
1226
+ translationCatalog?: { key: string; version: string };
1227
+ dataViews?: Record<string, SpecPointer>;
1228
+ workflows?: Record<string, SpecPointer>;
1229
+ jobs?: Record<string, SpecPointer>;
1230
+ policies?: PolicyRef[];
1231
+ theme?: AppThemeBinding; // { primary: ThemeRef; fallbacks?: ThemeRef[] }
1232
+ telemetry?: TelemetryBinding; // { spec?: SpecPointer; disabledEvents?: string[] }
1233
+ experiments?: { active?: ExperimentRef[]; paused?: ExperimentRef[] };
1234
+ featureFlags?: FeatureFlagState[];
1235
+ routes?: AppRouteConfig[];
1236
+ notes?: string;
1237
+ }
1238
+ \`\`\`
1239
+
1240
+ Register blueprints with \`AppBlueprintRegistry\`. Blueprints only capture the default, global experience.
1241
+
1242
+ - **Integration slots** declare the categories and capability requirements an app expects. Slots never include secrets.
1243
+ - **Branding defaults** provide message-key-based names, placeholder assets, and token references that tenants can override later.
1244
+
1245
+ #### Branding meta surfaces (icons, manifest, verification)
1246
+
1247
+ \`BrandingDefaults\` also carries the marketing/meta surfaces consumed by the Next SEO lane (\`toNextMetadata\`, \`buildManifest\`). All fields are optional and additive:
1248
+
1249
+ - \`iconSet\` (\`BrandingIconSet\`): the full favicon/app-icon set (\`favicon\`, \`icon32\`, \`icon192\`, \`icon512\`, \`appleTouch180\`, \`maskable\`) plus PWA \`themeColor\`/\`backgroundColor\`. The run-once icon-gen CLI emits the referenced assets into the app's \`public/\`; the Next lane declares them via \`metadata.icons\`.
1250
+ - \`manifest\` (\`WebManifestDefaults\`): web app manifest fields in camelCase (\`shortName\`, \`startUrl\`, \`themeColor\`, …) including \`categories\`, \`shortcuts\`, and \`screenshots\`. \`buildManifest\` maps these onto the W3C snake_case manifest and derives top-level \`icons[]\` from \`iconSet\`.
1251
+ - \`seo.verification\` (\`SiteVerificationTokens\`): site-ownership tokens (\`google\`, \`bing\`, …; open-ended).
1252
+
1253
+ \`resolveAppConfig\` merges these defaults with \`TenantBrandingConfig\` overrides (per-field, override-wins) and surfaces them on \`ResolvedBranding\` as \`iconSet\`, \`manifest\`, and \`verification\` (the latter also mirrored onto \`ResolvedBranding.seo.verification\`).
1254
+
1255
+ ### 2. TenantAppConfig
1256
+
1257
+ \`\`\`ts
1258
+ export interface TenantAppConfig {
1259
+ meta: TenantAppConfigMeta; // { id, tenantId, appId, blueprintName, blueprintVersion, version, status }
1260
+ capabilities?: { enable?: CapabilityRef[]; disable?: CapabilityRef[] };
1261
+ features?: { include?: FeatureRef[]; exclude?: FeatureRef[] };
1262
+ dataViewOverrides?: TenantSpecOverride[];
1263
+ workflowOverrides?: TenantSpecOverride[];
1264
+ jobOverrides?: TenantSpecOverride[];
1265
+ additionalPolicies?: PolicyRef[];
1266
+ themeOverride?: { primary?: ThemeRef | null; fallbacks?: ThemeRef[] };
1267
+ telemetryOverride?: { spec?: SpecPointer | null; disabledEvents?: string[] };
1268
+ experiments?: { active?: ExperimentRef[]; paused?: ExperimentRef[] };
1269
+ featureFlags?: FeatureFlagState[];
1270
+ routeOverrides?: TenantRouteOverride[];
1271
+ integrations?: AppIntegrationBinding[];
1272
+ knowledge?: AppKnowledgeBinding[];
1273
+ locales?: { defaultLocale: Locale; enabledLocales: Locale[] };
1274
+ translationOverrides?: { entries?: TranslationEntry[] };
1275
+ branding?: TenantBrandingConfig;
1276
+ notes?: string;
1277
+ }
1278
+ \`\`\`
1279
+
1280
+ - **AppIntegrationBinding** maps \`slotId\` to \`connectionId\` plus optional workflow scopes.
1281
+ - **TenantBrandingConfig** allows per-tenant names, assets, and domains while keeping secrets and large files out of blueprints.
1282
+
1283
+ ### 3. ResolvedAppConfig
1284
+
1285
+ Use \`resolveAppConfig(blueprint, tenant)\` to build the merged pointer view. Use \`composeAppConfig(...)\` to hydrate those pointers against registries and collect missing references.
1286
+
1287
+ \`\`\`ts
1288
+ const blueprint = blueprintRegistry.get('core.app', '1.0.0');
1289
+ const tenant = loadTenantConfigFromDB();
1290
+
1291
+ const composition = composeAppConfig(blueprint!, tenant, {
1292
+ capabilities,
1293
+ features,
1294
+ dataViews,
1295
+ workflows,
1296
+ jobs,
1297
+ policies,
1298
+ themes,
1299
+ telemetry,
1300
+ experiments,
1301
+ });
1302
+
1303
+ if (composition.missing.length) {
1304
+ console.warn('Unresolved references', composition.missing);
1305
+ }
1306
+ \`\`\`
1307
+
1308
+ ### Static Validation
1309
+
1310
+ Use the validation helpers in \`@lssm/lib.contracts-spec/app-config/validation\` before publish or promotion:
1311
+
1312
+ \`\`\`ts
1313
+ import {
1314
+ assertBlueprintValid,
1315
+ assertResolvedConfigValid,
1316
+ assertTenantConfigValid,
1317
+ validateBlueprint,
1318
+ validateConfig,
1319
+ validateResolvedConfig,
1320
+ validateTenantConfig,
1321
+ } from '@lssm/lib.contracts-spec/app-config/validation';
1322
+
1323
+ const blueprintReport = validateBlueprint(blueprint, context);
1324
+ const tenantReport = validateTenantConfig(blueprint, tenant, context);
1325
+ const publishReport = validateConfig(blueprint, tenant, context);
1326
+ const resolvedReport = validateResolvedConfig(blueprint, resolved, context);
1327
+
1328
+ assertBlueprintValid(blueprint, context);
1329
+ assertTenantConfigValid(blueprint, tenant, context);
1330
+ assertResolvedConfigValid(blueprint, resolved, context);
1331
+ \`\`\`
1332
+
1333
+ - \`ValidationResult\` exposes \`valid\`, plus structured \`errors\`, \`warnings\`, and \`info\`.
1334
+ - Core rules cover capability references, integration slot bindings, knowledge bindings, branding constraints, and translation coverage.
1335
+ - Run \`composeAppConfig(..., { strict: true })\` and the validators in CI to catch drift early.
1336
+
1337
+ ### CLI
1338
+
1339
+ \`\`\`
1340
+ contractspec create app-config
1341
+ contractspec validate --blueprint packages/examples/integration-stripe/src/blueprint.ts
1342
+ \`\`\`
1343
+
1344
+ ### Lifecycle Types and Events
1345
+
1346
+ To model multi-step configuration changes, import the lifecycle helpers from \`@lssm/lib.contracts-spec/app-config\`:
1347
+
1348
+ \`\`\`ts
1349
+ import type {
1350
+ ConfigStatus,
1351
+ TenantAppConfigVersion,
1352
+ ConfigTransition,
1353
+ } from '@lssm/lib.contracts-spec/app-config';
1354
+ import {
1355
+ ConfigDraftCreatedEvent,
1356
+ ConfigPromotedToPreviewEvent,
1357
+ ConfigPublishedEvent,
1358
+ ConfigRolledBackEvent,
1359
+ } from '@lssm/lib.contracts-spec/app-config';
1360
+ \`\`\`
1361
+
1362
+ - \`ConfigStatus\` enumerates the canonical states: \`draft\`, \`preview\`, \`published\`, \`archived\`, \`superseded\`.
1363
+ - \`TenantAppConfigMeta\` includes lifecycle metadata such as \`createdBy\`, \`publishedBy\`, \`publishedAt\`, and rollback lineage.
1364
+ - Lifecycle contract specs under \`appConfig.lifecycle.*\` expose typed commands and queries for create -> preview -> publish -> rollback flows.
1365
+ `}},{id:"docs.tech.contracts.capabilities",exportName:"tech_contracts_capabilities_DocBlocks",sourceModule:"capabilities/capabilities",block:{id:"docs.tech.contracts.capabilities",title:"CapabilitySpec Overview",summary:"Capability specs define what a module provides (operations, events, presentations) and requires (dependencies). They enable bidirectional linking, inheritance, runtime enforcement, and automated validation.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/capabilities",tags:["tech","contracts","capabilities"],body:`# CapabilitySpec Overview
1366
+
1367
+ ## Purpose
1368
+
1369
+ Capabilities are **module interfaces** that define:
1370
+ 1. What operations, events, and presentations a module exposes (\`provides\`)
1371
+ 2. What other capabilities it depends on (\`requires\`)
1372
+ 3. Inheritance hierarchies via \`extends\`
1373
+
1374
+ They enable:
1375
+ - **Bidirectional linking**: Specs reference capabilities, capabilities list their specs
1376
+ - **Dependency validation**: Features can't install without satisfying requirements
1377
+ - **Runtime enforcement**: Check capabilities before executing operations
1378
+ - **Inheritance**: Build capability hierarchies with shared requirements
1379
+
1380
+ ## Schema
1381
+
1382
+ \`\`\`ts
1383
+ export interface CapabilitySpec {
1384
+ meta: CapabilityMeta; // ownership metadata + { key, version, kind }
1385
+ extends?: CapabilityRef; // NEW: inherit from parent capability
1386
+ provides?: CapabilitySurfaceRef[]; // surfaces this capability exposes
1387
+ requires?: CapabilityRequirement[];// capabilities that must exist
1388
+ }
1389
+ \`\`\`
1390
+
1391
+ ### Bidirectional Linking
1392
+
1393
+ Operations, events, and presentations can now declare their capability:
1394
+
1395
+ \`\`\`ts
1396
+ // In OperationSpec
1397
+ {
1398
+ meta: { key: 'payments.charge.create', ... },
1399
+ capability: { key: 'payments', version: '1.0.0' }, // Links to capability
1400
+ io: { ... }
1401
+ }
1402
+
1403
+ // In CapabilitySpec
1404
+ {
1405
+ meta: { key: 'payments', version: '1.0.0', ... },
1406
+ provides: [
1407
+ { surface: 'operation', key: 'payments.charge.create' }
1408
+ ]
1409
+ }
1410
+ \`\`\`
1411
+
1412
+ Validation ensures both sides match via \`validateCapabilityConsistency()\`.
1413
+
1414
+ ## Registry Query Methods
1415
+
1416
+ The \`CapabilityRegistry\` now provides rich query capabilities:
1417
+
1418
+ \`\`\`ts
1419
+ // Forward lookups: Capability → Specs
1420
+ registry.getOperationsFor('payments'); // ['payments.charge.create', ...]
1421
+ registry.getEventsFor('payments'); // ['payments.charge.succeeded', ...]
1422
+ registry.getPresentationsFor('payments'); // ['payments.dashboard', ...]
1423
+
1424
+ // Reverse lookups: Spec → Capabilities
1425
+ registry.getCapabilitiesForOperation('payments.charge.create');
1426
+ registry.getCapabilitiesForEvent('payments.charge.succeeded');
1427
+ registry.getCapabilitiesForPresentation('payments.dashboard');
1428
+
1429
+ // Inheritance
1430
+ registry.getAncestors('payments.stripe'); // Parent chain
1431
+ registry.getEffectiveRequirements('payments.stripe'); // Includes inherited
1432
+ registry.getEffectiveSurfaces('payments.stripe'); // Includes inherited
1433
+ \`\`\`
1434
+
1435
+ ## Inheritance
1436
+
1437
+ Capabilities can extend other capabilities:
1438
+
1439
+ \`\`\`ts
1440
+ // Base capability
1441
+ defineCapability({
1442
+ meta: { key: 'payments.base', version: '1.0.0', ... },
1443
+ requires: [{ key: 'auth', version: '1.0.0' }],
1444
+ provides: [{ surface: 'operation', key: 'payments.list' }]
1445
+ });
1446
+
1447
+ // Child capability inherits requirements
1448
+ defineCapability({
1449
+ meta: { key: 'payments.stripe', version: '1.0.0', ... },
1450
+ extends: { key: 'payments.base', version: '1.0.0' },
1451
+ requires: [{ key: 'encryption', version: '1.0.0' }], // Added
1452
+ provides: [{ surface: 'operation', key: 'payments.stripe.charge' }]
1453
+ });
1454
+
1455
+ // getEffectiveRequirements('payments.stripe') returns:
1456
+ // [{ key: 'auth', ... }, { key: 'encryption', ... }]
1457
+ \`\`\`
1458
+
1459
+ ## Runtime Enforcement
1460
+
1461
+ Use \`CapabilityContext\` for opt-in runtime checks:
1462
+
1463
+ \`\`\`ts
1464
+
1465
+ // Create context from user's enabled capabilities
1466
+ const ctx = createCapabilityContext(user.capabilities);
1467
+
1468
+ // Check capability
1469
+ if (ctx.hasCapability('payments')) {
1470
+ // User can access payments features
1471
+ }
1472
+
1473
+ // Assert capability (throws if missing)
1474
+ ctx.requireCapability('payments');
1475
+
1476
+ // Guard an operation
1477
+ assertCapabilityForOperation(ctx, paymentOperation);
1478
+
1479
+ // Filter operations by enabled capabilities
1480
+ const allowedOps = filterOperationsByCapability(ctx, allOperations);
1481
+ \`\`\`
1482
+
1483
+ ## Validation
1484
+
1485
+ Validate bidirectional consistency between capabilities and specs:
1486
+
1487
+ \`\`\`ts
1488
+
1489
+ const result = validateCapabilityConsistency({
1490
+ capabilities: capabilityRegistry,
1491
+ operations: operationRegistry,
1492
+ events: eventRegistry,
1493
+ presentations: presentationRegistry,
1494
+ });
1495
+
1496
+ if (!result.valid) {
1497
+ console.error('Validation errors:', result.errors);
1498
+ }
1499
+
1500
+ // Find specs without capability assignment (informational)
1501
+ const orphans = findOrphanSpecs({ capabilities, operations });
1502
+ \`\`\`
1503
+
1504
+ ## Feature Integration
1505
+
1506
+ During \`installFeature()\`:
1507
+ 1. \`provides\` capabilities must exist in the registry
1508
+ 2. \`requires\` must be satisfied by registered capabilities or local \`provides\`
1509
+ 3. Referenced operations/events/presentations must exist
1510
+
1511
+ ## Authoring Guidelines
1512
+
1513
+ 1. **Register capabilities first** before referencing them in features
1514
+ 2. **Use bidirectional linking** - set \`capability\` on specs and list them in \`provides\`
1515
+ 3. **Version consciously** - bump versions on breaking changes
1516
+ 4. **Document dependencies** with \`reason\` strings
1517
+ 5. **Use inheritance** for capability families with shared requirements
1518
+ 6. **Validate during CI** with \`validateCapabilityConsistency()\`
1519
+
1520
+ ## Error Handling
1521
+
1522
+ \`\`\`ts
1523
+
1524
+ try {
1525
+ ctx.requireCapability('premium-features');
1526
+ } catch (err) {
1527
+ if (err instanceof CapabilityMissingError) {
1528
+ console.log('Missing:', err.capabilityKey);
1529
+ console.log('Required version:', err.requiredVersion);
1530
+ }
1531
+ }
1532
+ \`\`\`
1533
+
1534
+ ## API Reference
1535
+
1536
+ ### Types
1537
+ - \`CapabilitySpec\` - Capability definition
1538
+ - \`CapabilityRef\` - Reference to a capability (key + version)
1539
+ - \`CapabilitySurfaceRef\` - Reference to a provided surface
1540
+ - \`CapabilityRequirement\` - Dependency requirement
1541
+ - \`CapabilityContext\` - Runtime capability context
1542
+ - \`CapabilityValidationResult\` - Validation result
1543
+
1544
+ ### Functions
1545
+ - \`defineCapability(spec)\` - Define a capability spec
1546
+ - \`createCapabilityContext(caps)\` - Create runtime context
1547
+ - \`validateCapabilityConsistency(deps)\` - Validate bidirectional links
1548
+ - \`findOrphanSpecs(deps)\` - Find specs without capability assignment
1549
+ - \`assertCapabilityForOperation/Event/Presentation(ctx, spec)\` - Guards
1550
+ - \`filterOperationsByCapability(ctx, ops)\` - Filter by enabled capabilities
1551
+ `}},{id:"docs.tech.contracts.cli-command-packs",exportName:"CliCommandPackDocBlock",sourceModule:"cli/command-pack",block:{id:"docs.tech.contracts.cli-command-packs",title:"CLI command packs",summary:"Portable metadata and consumer discovery controls for ContractSpec CLI command packs.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/cli-command-packs",tags:["cli","command-pack","configuration"],body:`## CLI command packs
1552
+
1553
+ Published command packs expose \`contractspec.commandPack\` metadata containing a module entry and a \`CliCommandPackSpec\`. The CLI discovers only direct consumer dependencies with that metadata.
1554
+
1555
+ Consumers can constrain discovery with \`.contractsrc.json\`:
1556
+
1557
+ \`\`\`json
1558
+ {
1559
+ "commandPacks": {
1560
+ "include": ["@lssm/integration.cli-contractspec-ai"],
1561
+ "exclude": ["@lssm/integration.cli-contractspec-examples"]
1562
+ }
1563
+ }
1564
+ \`\`\`
1565
+
1566
+ Exclusion wins when a package appears in both lists. Runtime registration and conflict handling are owned by \`@lssm/lib.cli-runtime\`.`}},{id:"docs.tech.contracts.data-views",exportName:"tech_contracts_data_views_DocBlocks",sourceModule:"data-views/spec",block:{id:"docs.tech.contracts.data-views",title:"DataViewSpec Overview",summary:"`DataViewSpec` is the declarative contract for projecting entities into list/detail/table/grid experiences. Each spec ties to contract operations (`source.primary`, `source.item`) and describes how the UI should present, sort, filter, paginate, pin records, and optionally compose adaptive entity-management command centers.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/data-views",tags:["tech","contracts","data-views"],body:`# DataViewSpec Overview
1567
+
1568
+ ## Purpose
1569
+
1570
+ \`DataViewSpec\` is the declarative contract for projecting entities into list/detail/table/grid experiences. Each spec ties to contract operations (\`source.primary\`, \`source.item\`) and describes how the UI should present, sort, filter, paginate, pin records, and optionally compose adaptive entity-management command centers.
1571
+
1572
+ ## Schema Highlights
1573
+
1574
+ - **DataViewMeta**: ownership metadata plus an entity slug.
1575
+ - **DataViewSource**: primary/item operation refs, mutation operation refs, refresh events, and optional database binding.
1576
+ - **DataViewConfig**: list/detail/table/grid definitions with fields, filters, actions, collection preferences, and optional \`view.management\` metadata.
1577
+ - **DataViewAction**: declarative actions with optional placement, intent, selection scope, approval/destructive boundary, and operation refs.
1578
+ - **DataViewConfig.management**: optional command-center metadata for header copy, master-detail layout, toolbar groups, selection/bulk actions, detail empty states, personalization keys, and RoleMorph refs.
1579
+ - **DataViewSections**: detail-view sections discriminated by \`kind\` (default \`'fields'\`). A \`'relationship'\` section carries a \`relationship: DataViewSectionRelationship\` (\`key\`, \`cardinality\`, \`dataPath?\`/\`source?\`/\`specKey?\`/inline \`fields?\`, \`displayMode?\`, \`limit?\`, \`emptyState?\`) and renders a related-record collection. The declared relation \`OpRef\` is host-executed; the design-system performs no I/O.
1580
+
1581
+ ## Authoring Guidelines
1582
+
1583
+ 1. Keep fetching logic inside contract operations; DataViewSpec only references them via \`source\`.
1584
+ 2. Use \`view.management\` for entity-management projection metadata only.
1585
+ 3. Keep persistence, validation, modal flow, destructive confirmations, and network side effects host-owned or FormSpec-owned.
1586
+ 4. Prefer additive metadata and version specs deliberately when field membership, ordering, or semantics change.
1587
+ 5. Declare relationships via a \`kind: 'relationship'\` section; supply related records embedded (\`dataPath\`) or host-supplied — the design-system never executes the relation \`OpRef\`.
1588
+ `}},{id:"docs.tech.contracts.data-views.graph",exportName:"tech_contracts_data_views_graph_DocBlocks",sourceModule:"data-views/graph-spec",block:{id:"docs.tech.contracts.data-views.graph",title:"DataViewGraphSpec & DataViewGraphSource",summary:"`DataViewGraphSpec` is the sibling-type contract for graph and timeline-graph data views. `DataViewGraphSource` is the discriminated union of three data-fetching strategies: `inline-op`, `two-op`, and `entity-declarative` (requires EntityRegistry at render time).",kind:"reference",visibility:"public",route:"/docs/tech/contracts/data-views/graph",tags:["tech","contracts","data-views","graph","timeline"],body:`# DataViewGraphSpec & DataViewGraphSource
1589
+
1590
+ ## Purpose
1591
+
1592
+ \`DataViewGraphSpec\` extends the data-view contract system for graph and
1593
+ timeline-graph experiences. It is a **sibling type** to \`DataViewSpec\`:
1594
+ both are accepted by \`defineDataView()\`, discriminated at runtime by
1595
+ \`view.kind\`.
1596
+
1597
+ - \`view.kind ∈ {graph, timeline-graph}\` → \`DataViewGraphSpec\` branch
1598
+ - \`view.kind ∈ {list, detail, table, grid, timeline}\` → \`DataViewSpec\` branch
1599
+
1600
+ \`DataViewSource\` shape is **intentionally unchanged** — no \`primary?\`
1601
+ optionalisation, no \`graph?\` field added.
1602
+
1603
+ ## DataViewGraphSource variants
1604
+
1605
+ ### \`inline-op\`
1606
+ Single operation returns both nodes and edges in one payload. Paths are
1607
+ dot-notation selectors into the result object.
1608
+
1609
+ No EntityRegistry precondition.
1610
+
1611
+ \`\`\`typescript
1612
+ source: {
1613
+ variant: 'inline-op',
1614
+ primary: { key: 'graph.getContractGraph', version: '1.0.0' },
1615
+ nodesPath: 'data.nodes',
1616
+ edgesPath: 'data.edges',
1617
+ }
1618
+ \`\`\`
1619
+
1620
+ ### \`two-op\`
1621
+ Separate operations for nodes and edges. Use when your API splits the graph
1622
+ across two endpoints.
1623
+
1624
+ No EntityRegistry precondition.
1625
+
1626
+ \`\`\`typescript
1627
+ source: {
1628
+ variant: 'two-op',
1629
+ nodes: { key: 'graph.getNodes', version: '1.0.0' },
1630
+ edges: { key: 'graph.getEdges', version: '1.0.0' },
1631
+ }
1632
+ \`\`\`
1633
+
1634
+ ### \`entity-declarative\`
1635
+ Derives graph structure from a registered entity slug and optional edge
1636
+ declarations. The renderer resolves the entity from the \`EntityRegistry\`
1637
+ at render time.
1638
+
1639
+ **⚠ Precondition (C12)**: \`EntityRegistry\` MUST be loaded before this view
1640
+ renders. The renderer asserts \`EntityRegistry.isLoaded()\` and throws if the
1641
+ registry is absent. \`inline-op\` and \`two-op\` do NOT share this precondition.
1642
+
1643
+ \`\`\`typescript
1644
+ source: {
1645
+ variant: 'entity-declarative',
1646
+ entity: 'user',
1647
+ edges: [{ from: 'user', to: 'project', relation: 'has-many' }],
1648
+ }
1649
+ \`\`\`
1650
+
1651
+ ## Example
1652
+
1653
+ \`\`\`typescript
1654
+ import { defineDataView } from '@lssm/lib.contracts-spec';
1655
+
1656
+ export const ContractGraphView = defineDataView({
1657
+ meta: { key: 'contractspec.graph', version: '1.0.0', entity: 'contract', ... },
1658
+ source: {
1659
+ variant: 'inline-op',
1660
+ primary: { key: 'graph.getContractGraph', version: '1.0.0' },
1661
+ nodesPath: 'nodes',
1662
+ edgesPath: 'edges',
1663
+ },
1664
+ view: { kind: 'graph', layout: { kind: 'dag', direction: 'TB' }, nodeKindField: 'type' },
1665
+ });
1666
+ \`\`\`
1667
+ `}},{id:"docs.tech.contracts.editions.lifecycle",exportName:"tech_contracts_editions_DocBlocks",sourceModule:"editions/docs",block:{id:"docs.tech.contracts.editions.lifecycle",title:"Contract editions: lifecycle, versioning, storage, and AI loops",summary:"Contract editions are lifecycle envelopes that make file-backed and database-backed contract evolution explicit, governed, replayable, and AI-editable.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/editions/lifecycle",tags:["tech","contracts","editions","versioning","storage","ai-native"],body:`# Contract editions lifecycle
1668
+
1669
+ A contract edition is the storage-agnostic lifecycle envelope around a typed TS contract. It lets humans and AI agents draft, review, experiment, publish, migrate, roll back, and archive contract changes without hiding authority, evidence, or storage behavior in runtime code.
1670
+
1671
+ ## Version taxonomy
1672
+
1673
+ | Name | Meaning | Typical owner |
1674
+ | --- | --- | --- |
1675
+ | contractVersion | Public contract semantics, usually matching the contract meta/version. | Contract author |
1676
+ | editionVersion | Lifecycle envelope revision for a specific draft, experiment, migration, rollback, or release candidate. | Steward workflow |
1677
+ | storageRevision | Physical persistence revision: Git commit/path selector or database revision id. | Storage adapter |
1678
+ | releaseVersion | Deployment/promoted release capsule that consumed an edition. | Release workflow |
1679
+ | experimentVersion | Experiment allocation/variant revision using the edition. | Experiment owner |
1680
+
1681
+ Rollback and migration are lifecycle states/events/evidence, not version numbers. They can create new editionVersion and storageRevision values, but the reason must stay explicit in lifecycle and evidence refs.
1682
+
1683
+ ## Storage kinds
1684
+
1685
+ | Storage | Use when | Required evidence |
1686
+ | --- | --- | --- |
1687
+ | file | Stable source-of-truth, Git review, build/deploy reproducibility, package exports. Same-file multi-edition is allowed only with selector/build metadata. | Git/path refs; selector refs for same-file multi-edition |
1688
+ | database | Realtime collaboration, long-living processes, quick AI/human iteration, vertical-specific drafts, and live governance. | Revision/history refs and rollback refs |
1689
+ | hybrid | Sync/projection state between file and database, not a third canonical store. | Source/target refs, conflict state, sync evidence refs |
1690
+
1691
+ ## Lifecycle and authority
1692
+
1693
+ Lifecycle states are draft, review, published, experiment, deprecated, archived, rollback, and migration. Authority is policy-per-vertical and can permit suggest-only AI, draft patches, reversible application, autonomous stewardship, human approval, or mixed control.
1694
+
1695
+ Promotion and sync are blocked without evidence. Published editions require test, replay, rollback, and promotion evidence. Breaking and migration-required intents require migration refs. Experiments require experiment refs and an experimentVersion.
1696
+
1697
+ ## Primitive mapping matrix
1698
+
1699
+ | Primitive | Edition role |
1700
+ | --- | --- |
1701
+ | agent-step-observability | Records AI/human suggestions, auto-apply decisions, and approval gates. |
1702
+ | ai-improvement | Produces draft patches, reversible applies, and evidence-linked improvement loops. |
1703
+ | experiments | Carries A/B allocations and experimentVersion for contract variants. |
1704
+ | ContractSpec Connect | Supplies policy verdicts, compatibility gates, and escalation evidence. |
1705
+ | release/replay capsules | Prove promoted editions are reproducible and rollback-ready. |
1706
+ | graph evolution commands | Provide human/AI editing surfaces for draft and migration flows. |
1707
+ | database contract surfaces | Persist realtime revisions, collaboration history, and rollback anchors. |
1708
+
1709
+ ## Managed CompanyOS posture
1710
+
1711
+ Managed CompanyOS should start with file-backed published editions for stable contracts and database-backed experiment editions for fast vertical iteration. Database drafts materialize to file patches before release unless the vertical policy explicitly grants database authority for that lifecycle state.`}},{id:"docs.tech.contracts.entities.compatibility",exportName:"tech_contracts_entities_compatibility_DocBlocks",sourceModule:"entities/compatibility",block:{id:"docs.tech.contracts.entities.compatibility",title:"Contract Entity Ontology Compatibility Ledger",summary:"Entity ontology symbols are additive from the root barrel and the narrow `./entities` package subpath.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/entities/compatibility",tags:["tech","contracts","entities","compatibility","exports"],body:`# Contract Entity Ontology Compatibility Ledger
1712
+
1713
+ The entity ontology public surface is intentionally additive through the root barrel and the narrow \`./entities\` package subpath.
1714
+
1715
+ ## Public import
1716
+
1717
+ \`\`\`ts
1718
+ import {
1719
+ defineContractEntity,
1720
+ defineContractEdge,
1721
+ EntityRegistry,
1722
+ } from '@lssm/lib.contracts-spec/entities';
1723
+ \`\`\`
1724
+
1725
+ ## Compatibility decision
1726
+
1727
+ - \`@lssm/lib.contracts-spec\` exports the entity ontology symbols from the root barrel.
1728
+ - \`@lssm/lib.contracts-spec/entities\` is not introduced by this ledger.
1729
+ - Future work that adds \`./entities\` must update \`package.json\`, the publish exports, tests, docs, and release metadata together.
1730
+ `}},{id:"docs.tech.contracts.entities.edge",exportName:"tech_contracts_entities_edge_DocBlocks",sourceModule:"entities/defineContractEdge",block:{id:"docs.tech.contracts.entities.edge",title:"ContractEdgeSpec — Declarative Graph Edge Contract",summary:"`ContractEdgeSpec` is the declarative graph edge contract: a versioned, ownership-tagged wrapper around `EdgeSpec` for use in `EntityRegistry` and graph `DataViewSpec` sources.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/entities/edge",tags:["tech","contracts","entities","edge","graph"],body:`# ContractEdgeSpec
1731
+
1732
+ ## Purpose
1733
+
1734
+ \`ContractEdgeSpec\` pairs an \`EdgeSpec\` with standard ownership metadata so
1735
+ graph edges can be registered, versioned, and discovered the same way other
1736
+ ContractSpec contracts are.
1737
+
1738
+ ## Factory
1739
+
1740
+ \`\`\`typescript
1741
+ import { defineContractEdge } from '@lssm/lib.contracts-spec';
1742
+
1743
+ export const UserToProjectEdge = defineContractEdge({
1744
+ meta: {
1745
+ key: 'user-to-project',
1746
+ version: '1.0.0',
1747
+ description: 'A user owns zero or more projects.',
1748
+ stability: 'stable',
1749
+ owners: ['platform.core'],
1750
+ tags: ['graph'],
1751
+ },
1752
+ edge: { id: 'user-to-project', from: 'user', to: 'project', relation: 'has-many', cardinality: 'one-to-many', directed: true },
1753
+ });
1754
+ \`\`\`
1755
+
1756
+ ## Registry
1757
+
1758
+ Register via \`EntityRegistry\`:
1759
+
1760
+ \`\`\`typescript
1761
+ const registry = new EntityRegistry();
1762
+ registry.registerEdge(UserToProjectEdge);
1763
+ \`\`\`
1764
+
1765
+ ## Related
1766
+
1767
+ - \`EdgeSpec\` — the inline edge shape (see \`entities/types.ts\`)
1768
+ - \`ContractEntitySpec\` — entity-level wrapper that can declare edges inline
1769
+ - \`EntityRegistry\` — stores both entity and edge contracts
1770
+ `}},{id:"docs.tech.contracts.entities.entity",exportName:"tech_contracts_entities_entity_DocBlocks",sourceModule:"entities/defineContractEntity",block:{id:"docs.tech.contracts.entities.entity",title:"ContractEntitySpec — Declarative Entity Contract (Layer 1 + 2)",summary:"`ContractEntitySpec` is the entity contract supporting two adoption layers: Layer 1 (slug + edges only) and Layer 2 (full `EntitySpec<TFields>` + edges). Schema layer's `defineEntity` is untouched per A4.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/entities/entity",tags:["tech","contracts","entities","graph"],body:`# ContractEntitySpec
1771
+
1772
+ ## Purpose
1773
+
1774
+ \`ContractEntitySpec\` is the entity contract. It provides:
1775
+
1776
+ 1. A canonical **entity slug** via \`meta.key\`.
1777
+ 2. Optional **inline edges** (\`edges?: EdgeSpec[]\`).
1778
+ 3. Standard **ownership metadata** (version, stability, owners, tags).
1779
+ 4. **Layer 2**: optional \`entity?: EntitySpec<TFields>\` for DB-modeling semantics
1780
+ delegated to \`@lssm/lib.schema\`'s \`EntitySpec\`.
1781
+
1782
+ ## Layer Summary
1783
+
1784
+ | Layer | What ships | \`entity\` field |
1785
+ |-------|------------|-----------------|
1786
+ | **Layer 1** | slug + edges | omitted |
1787
+ | **Layer 2** | slug + full \`EntitySpec<TFields>\` + edges | required |
1788
+
1789
+ ## Layer 1 Usage (slug + edges)
1790
+
1791
+ \`\`\`typescript
1792
+ import { defineContractEntity } from '@lssm/lib.contracts-spec';
1793
+
1794
+ export const UserEntity = defineContractEntity({
1795
+ meta: {
1796
+ key: 'user',
1797
+ version: '1.0.0',
1798
+ description: 'Platform user entity.',
1799
+ stability: 'stable',
1800
+ owners: ['platform.core'],
1801
+ tags: ['user', 'auth'],
1802
+ },
1803
+ edges: [
1804
+ { id: 'user-to-project', from: 'user', to: 'project', relation: 'has-many', cardinality: 'one-to-many', directed: true },
1805
+ ],
1806
+ });
1807
+ \`\`\`
1808
+
1809
+ ## Layer 2 Usage (full EntitySpec + edges)
1810
+
1811
+ \`\`\`typescript
1812
+ import { defineContractEntity } from '@lssm/lib.contracts-spec';
1813
+ import { defineEntity, field } from '@lssm/lib.schema';
1814
+
1815
+ export const UserEntity = defineContractEntity({
1816
+ meta: {
1817
+ key: 'user',
1818
+ version: '1.0.0',
1819
+ description: 'Platform user with auth + profile.',
1820
+ stability: 'stable',
1821
+ owners: ['platform.core'],
1822
+ tags: ['user', 'auth'],
1823
+ },
1824
+ entity: defineEntity({
1825
+ name: 'User',
1826
+ description: 'Platform user with auth + profile.',
1827
+ fields: {
1828
+ id: field.id(),
1829
+ email: field.email(),
1830
+ createdAt: field.createdAt(),
1831
+ },
1832
+ }),
1833
+ edges: [
1834
+ { id: 'user-to-project', from: 'user', to: 'project', relation: 'has-many', cardinality: 'one-to-many', directed: true },
1835
+ ],
1836
+ });
1837
+ \`\`\`
1838
+
1839
+ ## A4 Constraint
1840
+
1841
+ The schema layer's \`defineEntity\` (\`@lssm/lib.schema\`) remains untouched.
1842
+ \`defineContractEntity\` accepts its output via **structural typing** — no wrapping,
1843
+ no re-implementation, no modification to the schema package.
1844
+
1845
+ ## Registry Precondition (C12)
1846
+
1847
+ The \`EntityRegistry\` holding this spec **must** be initialized before graph
1848
+ \`DataViewRenderer\` accesses entity slugs or edge relationships.
1849
+ `}},{id:"docs.tech.contracts.entities.registry",exportName:"tech_contracts_entities_registry_DocBlocks",sourceModule:"entities/registry",block:{id:"docs.tech.contracts.entities.registry",title:"EntityRegistry — Entity & Edge Contract Registry",summary:"`EntityRegistry` stores `ContractEntitySpec` and `ContractEdgeSpec` instances, then exposes a unified `listEdges()` view for graph renderers.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/entities/registry",tags:["tech","contracts","entities","registry","graph"],body:"# EntityRegistry\n\n## Purpose\n\n`EntityRegistry` is the single runtime store for entity and edge contracts.\nIt extends `SpecContractRegistry<'entity', ContractEntitySpec>` and adds a\nsecondary edge map for named `ContractEdgeSpec` entries.\n\n## Initialization (C12 Precondition)\n\nThe registry **must** be initialized (entities and edges registered) before\nany graph `DataViewRenderer` reads entity slugs or edge relationships.\nInline-edge-only views do not share this requirement.\n\n## API Summary\n\n| Method | Description |\n|--------|-------------|\n| `register(spec)` | Register a `ContractEntitySpec` (inherited). |\n| `registerEdge(spec)` | Register a named `ContractEdgeSpec`. |\n| `list()` | List all entity specs (inherited). |\n| `listEdgeSpecs()` | List all named edge specs. |\n| `listEdges()` | Unified flat list of all `EdgeSpec` (inline + named). |\n| `get(key, version?)` | Retrieve entity spec by key (inherited). |\n| `getEdge(key, version?)` | Retrieve named edge spec by key. |\n\n## Example\n\n```typescript\nconst registry = new EntityRegistry([UserEntity, ProjectEntity]);\nregistry.registerEdge(UserToProjectEdge);\n\nconst edges = registry.listEdges();\n// [{ id: 'user-to-project', from: 'user', to: 'project', relation: 'has-many', cardinality: 'one-to-many', ... }]\n```\n"}},{id:"docs.tech.contracts.entities.types",exportName:"tech_contracts_entities_types_DocBlocks",sourceModule:"entities/types",block:{id:"docs.tech.contracts.entities.types",title:"EdgeSpec — Graph Edge Contract Type",summary:"`EdgeSpec` is the Layer-1 declarative type for a relationship between two entity slugs in a ContractSpec graph view. Required fields: `id`, `from`, `to`, `relation`, `cardinality`.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/entities/types",tags:["tech","contracts","entities","edge","graph"],body:"# EdgeSpec\n\n## Purpose\n\n`EdgeSpec` describes a graph edge (relationship) between two entity types in\na ContractSpec graph view.\n\n## Fields\n\n| Field | Type | Required | Description |\n|---------------|---------------------------------------------------------------|----------|--------------------------------------------|\n| `id` | `string` | ✅ | Stable edge identifier |\n| `from` | `string` | ✅ | Entity key of the source node |\n| `to` | `string` | ✅ | Entity key of the target node |\n| `relation` | `string` | ✅ | Semantic relation name |\n| `cardinality` | `'one-to-one' \\| 'one-to-many' \\| 'many-to-one' \\| 'many-to-many'` | ✅ | Cardinality |\n| `directed` | `boolean` | — | Defaults to `true` (from → to) |\n| `inverse` | `string` | — | `id` of the inverse edge spec |\n| `traversal` | `{ strategy?, maxDepth? }` | — | Graph traversal hints |\n| `label` | `string` | — | Human-readable edge label in graph views |\n| `attributes` | `Record<string, unknown>` | — | Domain-specific rendering/rule metadata |\n\n## Layer Roadmap\n\n- **Layer 1** (current): id + from/to + relation + cardinality. No DB modeling.\n- **Layer 2** (Phase 2): full `EntitySpec<TFields>` + edges via `defineContractEntity`.\n\n## Example\n\n```typescript\nimport { defineContractEdge } from '@lssm/lib.contracts-spec';\n\nconst UserToProjectEdge = defineContractEdge({\n meta: { key: 'user-to-project', version: '1.0.0', description: '...', stability: 'stable', owners: [], tags: [] },\n edge: {\n id: 'user-to-project',\n from: 'user',\n to: 'project',\n relation: 'has-many',\n cardinality: 'one-to-many',\n directed: true,\n },\n});\n```\n"}},{id:"docs.tech.contracts.examples",exportName:"tech_contracts_examples_DocBlocks",sourceModule:"examples/index",block:{id:"docs.tech.contracts.examples",title:"Example Specifications",summary:"ExampleSpec defines complete, demonstrable ContractSpec applications.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/examples",tags:["tech","contracts","examples","templates"],body:`## Example Specifications
1850
+
1851
+ ExampleSpec is a contract for defining complete, demonstrable ContractSpec applications. Examples integrate with AppBlueprintSpec and FeatureModuleSpec to provide a full application specification.
1852
+
1853
+ ### Overview
1854
+
1855
+ An \`ExampleSpec\` captures:
1856
+ - **Metadata** (via \`ExampleMeta\` extending \`OwnerShipMeta\`): key, version, title, description, ownership, tags, stability
1857
+ - **Example-specific fields**: kind, visibility, summary
1858
+ - **Surfaces**: where the example can be used (templates, sandbox, studio, MCP)
1859
+ - **Entrypoints**: package exports mapping
1860
+ - **Blueprint**: optional AppBlueprintSpec or reference
1861
+ - **Features**: optional FeatureModuleSpec array or references
1862
+
1863
+ ### Usage
1864
+
1865
+ \`\`\`typescript
1866
+
1867
+ const example: ExampleSpec = {
1868
+ meta: {
1869
+ key: 'saas-boilerplate',
1870
+ version: '1.0.0',
1871
+ title: 'SaaS Boilerplate',
1872
+ description: 'Multi-tenant SaaS foundation with billing and RBAC.',
1873
+ kind: 'template',
1874
+ visibility: 'public',
1875
+ stability: 'experimental',
1876
+ owners: ['@saas-team'],
1877
+ tags: ['saas', 'multi-tenant', 'billing'],
1878
+ summary: 'Complete SaaS starter.',
1879
+ },
1880
+ surfaces: {
1881
+ templates: true,
1882
+ sandbox: { enabled: true, modes: ['playground', 'specs', 'builder'] },
1883
+ studio: { enabled: true, installable: true },
1884
+ mcp: { enabled: true },
1885
+ },
1886
+ entrypoints: {
1887
+ packageName: '@lssm/example.saas-boilerplate',
1888
+ feature: './saas-boilerplate.feature',
1889
+ contracts: './contracts',
1890
+ },
1891
+ features: [SaasBoilerplateFeature],
1892
+ };
1893
+ \`\`\`
1894
+
1895
+ ### ExampleRegistry
1896
+
1897
+ Use \`ExampleRegistry\` to manage examples:
1898
+
1899
+ \`\`\`typescript
1900
+ const registry = new ExampleRegistry();
1901
+ registry.register(example);
1902
+
1903
+ // Query examples
1904
+ registry.listByKind('template');
1905
+ registry.listByVisibility('public');
1906
+ registry.listBySurface('studio');
1907
+ registry.listInstallable();
1908
+ registry.search('billing');
1909
+ \`\`\`
1910
+
1911
+ ### ExampleMeta
1912
+
1913
+ \`ExampleMeta\` extends \`OwnerShipMeta\` with example-specific fields:
1914
+
1915
+ | Field | Type | Description |
1916
+ |-------|------|-------------|
1917
+ | key | string | Unique identifier |
1918
+ | version | number | Spec version |
1919
+ | title | string? | Human-readable title |
1920
+ | description | string | Technical description |
1921
+ | kind | ExampleKind | template, workflow, integration, etc. |
1922
+ | visibility | ExampleVisibility | public, internal, experimental |
1923
+ | stability | Stability | idea, experimental, beta, stable, deprecated |
1924
+ | owners | string[] | Owner identifiers |
1925
+ | tags | string[] | Discovery tags |
1926
+ | summary | string? | Marketing summary |
1927
+
1928
+ ### ExampleKind
1929
+
1930
+ | Kind | Use Case |
1931
+ |------|----------|
1932
+ | template | Full application template |
1933
+ | workflow | Workflow automation example |
1934
+ | integration | Integration showcase |
1935
+ | knowledge | Knowledge base example |
1936
+ | blueprint | App blueprint example |
1937
+ | ui | UI component showcase |
1938
+ | script | CLI/script example |
1939
+ | library | Library/SDK example |
1940
+
1941
+ ### Surfaces
1942
+
1943
+ | Surface | Purpose |
1944
+ |---------|---------|
1945
+ | templates | Available as new project template |
1946
+ | sandbox | Interactive playground support |
1947
+ | studio | ContractSpec Studio support |
1948
+ | mcp | Model Context Protocol support |
1949
+
1950
+ ### Validation
1951
+
1952
+ \`\`\`typescript
1953
+
1954
+ const result = validateExample(example);
1955
+ if (!result.valid) {
1956
+ console.error(result.errors);
1957
+ }
1958
+
1959
+ // Batch validation with duplicate detection
1960
+ const batchResult = validateExamples([example1, example2]);
1961
+ \`\`\`
1962
+
1963
+ ### Integration with Blueprints and Features
1964
+
1965
+ Examples can reference or embed blueprints and features:
1966
+
1967
+ \`\`\`typescript
1968
+ const example: ExampleSpec = {
1969
+ // ... meta, surfaces, entrypoints
1970
+
1971
+ // Inline blueprint
1972
+ blueprint: myAppBlueprint,
1973
+
1974
+ // Or reference by pointer
1975
+ blueprint: { key: 'core.app', version: '1.0.0' },
1976
+
1977
+ // Inline features
1978
+ features: [MyFeature],
1979
+
1980
+ // Or reference
1981
+ features: [{ key: 'my-feature' }],
1982
+ };
1983
+ \`\`\`
1984
+
1985
+ ### Related
1986
+
1987
+ - [App Configuration](file:///docs/tech/contracts/app-config) - AppBlueprintSpec
1988
+ - [Features](file:///docs/tech/contracts/features) - FeatureModuleSpec
1989
+ `}},{id:"docs.tech.contracts.experiments",exportName:"tech_contracts_experiments_DocBlocks",sourceModule:"experiments/spec",block:{id:"docs.tech.contracts.experiments",title:"ExperimentSpec & ExperimentEvaluator",summary:"Use experiments to test alternative workflows, data views, or themes with controlled allocations and measurable outcomes.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/experiments",tags:["tech","contracts","experiments"],body:`# ExperimentSpec & ExperimentEvaluator
1990
+
1991
+ Use experiments to test alternative workflows, data views, or themes with controlled allocations and measurable outcomes.
1992
+
1993
+ - Types & registry: \`packages/libs/contracts/src/experiments/spec.ts\`
1994
+ - Runtime evaluator: \`packages/libs/contracts/src/experiments/evaluator.ts\`
1995
+ - CLI wizard/template: \`contractspec create experiment\`
1996
+
1997
+ ## Structure
1998
+
1999
+ \`\`\`ts
2000
+ export interface ExperimentSpec {
2001
+ meta: ExperimentMeta;
2002
+ controlVariant: string;
2003
+ variants: ExperimentVariant[];
2004
+ allocation: AllocationStrategy;
2005
+ successMetrics?: SuccessMetric[];
2006
+ }
2007
+ \`\`\`
2008
+
2009
+ - \`variants\`: define UI/behavior overrides (data views, workflows, themes, policies)
2010
+ - \`allocation\`:
2011
+ - \`random\`: 50/50 or weighted via \`weight\`
2012
+ - \`sticky\`: deterministic hash on user/organization/session
2013
+ - \`targeted\`: rule-based (policy + expression + optional percentage)
2014
+ - \`successMetrics\`: telemetry events + aggregation (count/avg/p95) to track outcomes
2015
+
2016
+ ### Example
2017
+
2018
+ \`\`\`ts
2019
+ export const OnboardingSplitFormExperiment: ExperimentSpec = {
2020
+ meta: {
2021
+ name: 'sigil.onboarding.split_form',
2022
+ version: '1.0.0',
2023
+ title: 'Split onboarding form',
2024
+ description: 'Compare single vs multi-step onboarding',
2025
+ domain: 'onboarding',
2026
+ owners: ['@team.onboarding'],
2027
+ tags: ['experiment'],
2028
+ stability: StabilityEnum.Experimental,
2029
+ },
2030
+ controlVariant: 'control',
2031
+ variants: [
2032
+ { id: 'control', name: 'Single-step form' },
2033
+ {
2034
+ id: 'multi_step',
2035
+ name: 'Multi-step form',
2036
+ overrides: [
2037
+ { type: 'workflow', target: 'sigil.onboarding.workflow.multi_step' },
2038
+ ],
2039
+ },
2040
+ ],
2041
+ allocation: {
2042
+ type: 'targeted',
2043
+ rules: [
2044
+ {
2045
+ variantId: 'multi_step',
2046
+ expression: "context.attributes?.segment === 'vip'",
2047
+ },
2048
+ ],
2049
+ fallback: 'random',
2050
+ },
2051
+ successMetrics: [
2052
+ {
2053
+ name: 'Completion rate',
2054
+ telemetryEvent: { name: 'sigil.telemetry.onboarding_completed', version: '1.0.0' },
2055
+ aggregation: 'count',
2056
+ },
2057
+ ],
2058
+ };
2059
+ \`\`\`
2060
+
2061
+ ## Variant evaluation
2062
+
2063
+ \`\`\`ts
2064
+ const evaluator = new ExperimentEvaluator({
2065
+ registry: experimentRegistry,
2066
+ policyChecker: (policyRef, context) =>
2067
+ policyEngine.decide({
2068
+ action: 'experiment_targeting',
2069
+ subject: { roles: context.flags },
2070
+ resource: { type: 'experiment', attributes: { name: context.experiment } },
2071
+ policies: [policyRef],
2072
+ }).effect === 'allow',
2073
+ });
2074
+
2075
+ const assignment = await evaluator.chooseVariant({
2076
+ experiment: 'sigil.onboarding.split_form',
2077
+ userId: ctx.userId,
2078
+ organizationId: ctx.organizationId,
2079
+ attributes: ctx.attributes,
2080
+ });
2081
+
2082
+ if (assignment) {
2083
+ // Apply overrides for the chosen variant
2084
+ applyExperimentOverrides(assignment.variant);
2085
+ }
2086
+ \`\`\`
2087
+
2088
+ - \`random\` uses deterministic hashing (\`salt\` optional) for stable splits
2089
+ - \`sticky\` hashes a specified attribute (userId/orgId/sessionId)
2090
+ - \`targeted\` evaluates rules in order; each rule can reference a PolicySpec and simple JS expressions (\`context\` input)
2091
+
2092
+ ## Integrations
2093
+
2094
+ - **Feature modules**: \`FeatureModuleSpec.experiments\` references experiments owned by a module
2095
+ - **DataViewSpec / WorkflowSpec**: \`experiments?: ExperimentRef[]\` indicate which experiments modify the spec
2096
+ - **Telemetry**: success metrics reference \`TelemetrySpec\` events to ensure compliant tracking
2097
+ - **Policy**: targeting rules call into \`PolicyEngine\` via the evaluator callback to respect privacy/security
2098
+
2099
+ ## CLI workflow
2100
+
2101
+ \`\`\`
2102
+ contractspec create experiment
2103
+ \`\`\`
2104
+
2105
+ - Prompts for control/variants, allocation strategy, targeting rules, success metrics
2106
+ - Outputs a typed \`ExperimentSpec\` file alongside your contracts
2107
+
2108
+ ## Best practices
2109
+
2110
+ 1. Keep experiments short-lived; increment \`meta.version\` when changing allocation or variants.
2111
+ 2. Always declare a control variant and ensure overrides are reversible.
2112
+ 3. Tie success metrics to privacy-reviewed telemetry events.
2113
+ 4. Use targeting rules sparingly; combine with PolicySpec to avoid exposing experiments to unauthorized users.
2114
+ 5. When an experiment wins, promote the variant to the canonical spec and retire the experiment.
2115
+
2116
+ `}},{id:"docs.tech.contracts.forms",exportName:"tech_contracts_forms_DocBlocks",sourceModule:"forms/forms",block:{id:"docs.tech.contracts.forms",title:"Contracts: FormSpec",summary:"This document defines the canonical contracts for declarative forms.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/forms",tags:["tech","contracts","forms"],body:"# Contracts: FormSpec\n\nThis document defines the canonical contracts for declarative forms.\n\n## Overview\n\n- `FormSpec` (in `@lssm/lib.contracts-spec/forms`) declares:\n - `meta` (extends `OwnerShipMeta`) + `key`/`version` for stability.\n - `model` (`@lssm/lib.schema` `SchemaModel`) as the single source of truth.\n - `fields` built from `FieldSpec` kinds: `text`, `email`, `textarea`, `select`, `checkbox`, `radio`, `switch`, `autocomplete`, `address`, `phone`, `number`, `percent`, `currency`, `date`, `time`, `datetime`, `duration`, `group`, `array`.\n - `text.password` for masked current/new password fields with password-manager hints.\n - field-level `readOnly` support that preserves submitted values.\n - Optional `layout`, `layout.flow`, `actions`, `policy.flags`, `constraints` and `renderHints`.\n- Relations DSL provides `visibleWhen`, `enabledWhen`, `requiredWhen` based on predicates.\n- Entity-bound projections use `projection.parts` for form-to-entity-path\n part bindings and `projection.relatedEdges` for references to actual\n entity `EdgeSpec` relations. Part bindings do not own graph cardinality.\n- `FormRegistry.getByEntityProjection(entityKey, projectionKind, version?)`\n deterministically resolves quick/full/intake/edit/part forms by entity\n projection metadata instead of by renderable form key only.\n- `buildZodWithRelations(spec)` augments the base zod with conditional rules and constraints.\n- Entity-bound projections are declared with optional `projection` metadata:\n `quick`, `full`, `intake`, `edit`, and `part` forms remain normal\n renderable `FormSpec` objects while `FormProjectionSpec.entity` binds them\n to a canonical `ContractEntitySpec.meta.key`.\n- `captureFormIntake(spec, values)` is permissive by design: it returns\n `accepted: true` for partial values and records missing completion debt.\n- `evaluateFormCompletion(spec, values)` is the strict readiness companion:\n it reports missing `FormCompletionDebt` for a completion profile without\n invalidating the permissive capture result.\n- React adapter renders with React Hook Form + driver API for UI components.\n\n## Rich field contracts\n\n- `autocomplete` supports local filtering or resolver-backed search, including debounce/min-query hints and configurable submit-value mapping.\n- Resolver-backed autocomplete stays runtime-neutral: forms declare `resolverKey`, dependency paths, and optional args while host renderers provide the actual fetcher.\n- `email` represents one string email-address field; schema validation remains model-owned while renderers supply email input affordances.\n- `address` uses the canonical `AddressFormValue` object shape.\n- `phone` uses the canonical `PhoneFormValue` object shape.\n- `number`, `percent`, and `currency` map numeric schema intent to native input controls while preserving locale, precision, rounding, and currency-display metadata.\n- `date`, `time`, `datetime`, and `duration` map temporal schema intent to native controls while preserving locale, timezone, unit, and display metadata.\n- `array` remains the canonical dynamic-field primitive and can repeat grouped item layouts.\n- `text` can declare `password.purpose` as `current` or `new`; renderers map those to masked controls and `current-password` / `new-password` autocomplete hints.\n\n## Progressive form layout\n\n- `layout.flow.kind: \"sections\"` groups existing fields into accessible sections while keeping all sections visible.\n- `layout.flow.kind: \"steps\"` uses the same section metadata for progressive, one-section-at-a-time rendering.\n- `FormSectionSpec.fieldNames` references existing immediate field names; field definitions stay in `FormSpec.fields`.\n- Unlisted fields remain visible so flow metadata cannot accidentally drop required model inputs.\n- `text` and `textarea` can declare portable `inputGroup` addons for text and host-resolved icons.\n\n## Entity-bound projections and intake\n\n- Entity-bound form work is entity-first: canonical identity and true entity-to-entity relations stay on entity contracts.\n- Forms remain renderable projections. Quick, full, edit, intake, and part forms should be discoverable by entity key, projection kind, and optional version.\n- Form part bindings describe sub-capture surfaces such as identity or address. They must not overload `EdgeSpec`, which remains reserved for real entity graph relations and cardinality.\n- Capture acceptance and strict readiness are separate. Quick or message intake can accept partial values and return completion debt; stricter profiles can later report missing fields without rejecting the original capture.\n- Communication runtime intake hooks should map normalized messages into entity-bound intake payloads with source refs and completion debt. They should not implement full AI extraction, database persistence, or CommunicationOS UI.\n- The public documentation/migration subpath for this first-pass guidance is `@lssm/lib.contracts-spec/forms/entity-bound`.\n- Form configuration chrome is a design-system concern: reuse `FormConfigShell`, `FormConfigMenuBar`, and `FormConfigPanel` from `@lssm/lib.design-system/forms` instead of forking configuration panels in examples or apps.\n- FormSpec and FormConfig docs describe render/config metadata only. Persistence of drafts, submissions, credentials, or tenant state remains host-owned and approval-gated; examples should expose deterministic proof maps, not storage guarantees.\n\n## Layout and Groups\n\n- `FormSpec.layout` and `group.layout` can declare 1-4 responsive columns, gap size, and default field orientation.\n- `field.layout.colSpan` lets fields span one or more grid columns or the full row.\n- `wrapper.orientation` remains a compatibility alias for `layout.orientation`.\n- `group.legendI18n` renders as the semantic legend, falling back to `labelI18n`.\n\n## Driver API (UI-agnostic)\n\nHost apps supply a driver mapping slots to components:\n\n- Required: `Field`, `FieldLabel`, `FieldDescription`, `FieldError`, `Input`, `Textarea`, `Select`, `Checkbox`, `RadioGroup`, `Switch`, `Autocomplete`, `AddressField`, `PhoneField`, `NumberField`, `PercentField`, `CurrencyField`, `DateField`, `TimeField`, `DateTimeField`, `DurationField`, `Button`.\n- Optional: `FieldContent`, `FieldGroup`, `FieldSet`, `FieldLegend`, `FieldSeparator`, `InputGroup`, `InputGroupAddon`, `InputGroupInput`, `InputGroupTextarea`, `InputGroupText`, `InputGroupIcon`, and `PasswordInput`.\n- Autocomplete drivers should accept optional `loading`, `error`, `emptyText`, `loadingText`, and `errorText` props so resolver-backed fields can expose async state without embedding transport details in the contract.\n\nUse `createFormRenderer({ driver })` to obtain a `render(spec)` function.\n\n## Arrays and Groups\n\n- `array` items are rendered with `useFieldArray`, honoring `min`/`max` and add/remove controls.\n- `array.of` can repeat grouped multi-field rows.\n- `group` composes nested fields and provides optional legend/description/layout.\n\n## Feature Flags\n\n- Declare `policy.flags` on forms to signal gating. Gate usage at host boundary; avoid scattering flags across individual fields.\n\n## Example\n\nUse the exported `RichFieldsShowcaseForm` as the canonical reference for readonly, password, autocomplete, address, phone, temporal, layout, and input-group field authoring.\n"}},{id:"docs.tech.contracts.forms.entityBound",exportName:"tech_contracts_forms_entity_bound_DocBlocks",sourceModule:"forms/entity-bound-forms",block:{id:"docs.tech.contracts.forms.entityBound",title:"Contracts: Entity-bound Form Projections",summary:"How to model entity-first form projections, completion debt, and message intake without overloading entity edges.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/forms/entity-bound",tags:["tech","contracts","forms","entities","intake"],body:`# Entity-bound form projections
2117
+
2118
+ Entity-bound forms treat the business entity as the stable semantic anchor and the form as a renderable projection. A customer, appointment, or other entity can expose quick, full, edit, intake, or part projections without turning each projection into a new entity type.
2119
+
2120
+ ## Authoring model
2121
+
2122
+ - Keep canonical entity identity and true entity-to-entity cardinality on entity contracts.
2123
+ - Keep renderable fields, layout, policy, and actions on \`FormSpec\`.
2124
+ - Bind a form projection to an entity with metadata such as entity key, projection kind, version, and field/path mappings.
2125
+ - Use form-part bindings for identity, address, contact, and other sub-capture surfaces when they are parts of one entity.
2126
+ - Use \`EdgeSpec\` only for real entity relations, such as customer-to-appointment, not for field-group containment.
2127
+
2128
+ ## Capture versus readiness
2129
+
2130
+ Capture acceptance and completion readiness are intentionally separate:
2131
+
2132
+ 1. **Capture accepted** means the user or message provided enough information to preserve a draft/intake payload.
2133
+ 2. **Completion debt** records skipped or missing fields with path/profile metadata.
2134
+ 3. **Strict readiness** can later require a full profile without invalidating the original capture.
2135
+
2136
+ This keeps quick creation and message intake permissive while still giving downstream workflows explicit quality gates.
2137
+
2138
+ ## Communication intake boundary
2139
+
2140
+ Communication runtime may map a normalized message/request into an entity-bound intake payload, but it should stay deterministic and adapter-free. The first-pass hook should carry source references such as message id, thread id, and channel, then return accepted values plus completion debt. Full AI extraction, persistence, and CommunicationOS UI remain downstream concerns.
2141
+
2142
+ ## Package exports
2143
+
2144
+ Consumers should import the form projection documentation surface from \`@lssm/lib.contracts-spec/forms/entity-bound\` and implementation primitives from \`@lssm/lib.contracts-spec/forms\` unless a narrower subpath is introduced with matching package exports and tests.
2145
+ `}},{id:"docs.tech.contracts.knowledge",exportName:"tech_contracts_knowledge_DocBlocks",sourceModule:"knowledge/spec",block:{id:"docs.tech.contracts.knowledge",title:"Knowledge Layer",summary:"The knowledge layer turns unstructured inputs (uploads, email threads,",kind:"reference",visibility:"public",route:"/docs/tech/contracts/knowledge",tags:["tech","contracts","knowledge"],body:`# Knowledge Layer
2146
+
2147
+ The knowledge layer turns unstructured inputs (uploads, email threads,
2148
+ notes) into searchable context for agents and workflows. The Pocket
2149
+ Family Office vertical ships a minimal but production-ready stack that
2150
+ covers ingestion, indexing, querying, and guardrails.
2151
+
2152
+ ## Knowledge Spaces
2153
+
2154
+ Knowledge is organised via \`KnowledgeSpaceSpec\` definitions under
2155
+ \`packages/libs/contracts-spec/src/knowledge/spaces\`:
2156
+
2157
+ - \`knowledge.financial-docs\` – canonical invoices, bills, and contracts.
2158
+ - \`knowledge.email-threads\` – operational Gmail threads.
2159
+ - \`knowledge.support-faq\` / \`knowledge.product-canon\` – reusable shared
2160
+ spaces available to any vertical.
2161
+
2162
+ Each space defines:
2163
+
2164
+ - Ownership metadata (domain, owners, stability tags).
2165
+ - Retention policy (TTL/archival).
2166
+ - Access policy (trust level, automation write permissions).
2167
+ - Indexing configuration (embedding model, chunk size, vector DB slot).
2168
+
2169
+ ## Sources & Bindings
2170
+
2171
+ - \`KnowledgeSourceConfig\` records tenant-specific connections (bucket,
2172
+ Gmail labels, sync cadence). Pocket Family Office provides sample
2173
+ configs in \`knowledge/sources.sample.ts\`.
2174
+ - \`AppKnowledgeBinding\` associates spaces with workflows/agents and adds
2175
+ per-tenant constraints (rate limits, scopes).
2176
+
2177
+ Validation ensures that:
2178
+
2179
+ - All referenced spaces exist in the registry.
2180
+ - At least one source is configured per binding.
2181
+ - External/ephemeral spaces trigger warnings for policy-sensitive flows.
2182
+
2183
+ ## Ingestion Pipeline
2184
+
2185
+ Implemented in \`@lssm/lib.knowledge/ingestion\`:
2186
+
2187
+ 1. **DocumentProcessor** – pluggable MIME extractors producing
2188
+ \`DocumentFragment\`s.
2189
+ 2. **EmbeddingService** – batches fragments through an \`EmbeddingProvider\`
2190
+ (Mistral in the reference implementation).
2191
+ 3. **VectorIndexer** – upserts fragments into a \`VectorStoreProvider\`
2192
+ (Qdrant in production, with in-memory implementations for tests) and
2193
+ persists canonical \`payload.text\` content alongside fragment metadata
2194
+ so retrieval and query flows can reuse indexed text directly.
2195
+ 4. **Adapters**
2196
+ - \`GmailIngestionAdapter\`: list threads → convert to raw documents →
2197
+ index.
2198
+ - \`StorageIngestionAdapter\`: fetch object from storage provider →
2199
+ index.
2200
+
2201
+ Background jobs (see \`@lssm/lib.jobs\`) orchestrate ingestion via
2202
+ Cloud Tasks / Pub/Sub or in-memory workers. Handlers:
2203
+
2204
+ - \`storage-document-handler\` – resolves storage object + indexes.
2205
+ - \`gmail-sync-handler\` – syncs threads based on label/date filters.
2206
+
2207
+ ## Query Service
2208
+
2209
+ \`KnowledgeQueryService\` performs retrieval-augmented generation:
2210
+
2211
+ 1. Embed the user query using the configured provider.
2212
+ 2. Search the vector store for top-k matches.
2213
+ 3. Compose prompts combining system instructions + indexed contextual
2214
+ snippets from \`payload.text\` (falling back to legacy \`payload.content\`
2215
+ when needed).
2216
+ 4. Invoke the LLM provider (Mistral) and return the answer plus
2217
+ references and token usage.
2218
+
2219
+ The service is designed for tooling: workflows can execute it directly
2220
+ or through custom operations (see \`pfo.summary.generate\` contract).
2221
+
2222
+ ## Guardrails
2223
+
2224
+ - Automation can only write to spaces where \`automationWritable\` is true.
2225
+ - Canonical spaces default to high trust; external/ephemeral spaces are
2226
+ flagged during validation.
2227
+ - Provider-free knowledge flows must block stale runbook or low-confidence
2228
+ evidence before action, and non-dry-run knowledge mutations require approval
2229
+ or audit references before execution.
2230
+ - Telemetry captures query volumes per tenant + space.
2231
+
2232
+ ## Extending
2233
+
2234
+ 1. Define a new \`KnowledgeSpaceSpec\` with indexing/retention policies.
2235
+ 2. Add sources pointing to storage providers or APIs.
2236
+ 3. Register adapters if ingestion requires bespoke logic.
2237
+ 4. Reference the space in blueprints (\`AppKnowledgeBinding\`) and update
2238
+ workflows/agents accordingly.
2239
+
2240
+ The Pocket Family Office tests (\`tests/pocket-family-office.test.ts\`)
2241
+ show how to wire the ingestion pipeline, index a document, and run an
2242
+ end-to-end knowledge query using in-memory providers.
2243
+ ## Knowledge Spaces & Guardrails
2244
+
2245
+ Knowledge surfaces (\`KnowledgeSpaceSpec\`) describe curated corpora that agents and workflows can consult. Tenant bindings (\`AppKnowledgeBinding\`) declare which spaces are active, who can use them, and optional usage constraints.
2246
+
2247
+ ### Binding recap
2248
+
2249
+ - \`spaceKey\` / \`spaceVersion\`: pointer to the \`KnowledgeSpaceSpec\`
2250
+ - \`scope.workflows\` / \`scope.agents\`: explicit allow-lists for consumers
2251
+ - \`constraints.maxTokensPerQuery\` & \`constraints.maxQueriesPerMinute\`: throttling knobs for LLM-backed search
2252
+ - \`required\`: mark the binding as blocking (defaults to \`true\`)
2253
+
2254
+ At runtime, \`ResolvedAppConfig.knowledge\` contains \`ResolvedKnowledge\` entries with the bound space, active sources, and the binding metadata above.
2255
+
2256
+ ### KnowledgeAccessGuard
2257
+
2258
+ \`KnowledgeAccessGuard\` (\`@lssm/lib.knowledge/access/guard\`) centralises the access checks that must run before any workflow/agent reads or mutates a knowledge space.
2259
+
2260
+ \`\`\`ts
2261
+ import { KnowledgeAccessGuard } from '@lssm/lib.knowledge/access/guard';
2262
+
2263
+ const guard = new KnowledgeAccessGuard({
2264
+ disallowWriteCategories: ['external', 'ephemeral'], // default
2265
+ requireWorkflowBinding: true,
2266
+ requireAgentBinding: false,
2267
+ });
2268
+
2269
+ const result = guard.checkAccess(resolvedKnowledge, {
2270
+ tenantId,
2271
+ appId,
2272
+ workflowName: 'order-processing',
2273
+ operation: 'read', // or 'write' / 'search'
2274
+ }, resolvedAppConfig);
2275
+
2276
+ if (!result.allowed) {
2277
+ throw new Error(result.reason);
2278
+ }
2279
+ \`\`\`
2280
+
2281
+ Key behaviours:
2282
+
2283
+ - **Binding**: rejects access when the space is not present in the resolved tenant config.
2284
+ - **Category guardrails**: blocks writes to \`external\` and \`ephemeral\` spaces by default; allows reads but emits warnings for \`ephemeral\`.
2285
+ - **Workflow/agent scoping**: when \`requireWorkflowBinding\` or \`requireAgentBinding\` is enabled, only explicitly authorised consumers may access the space.
2286
+
2287
+ Use the guard inside workflow operations or agent resolvers to guarantee multi-tenant isolation and honour data governance rules.
2288
+
2289
+ ## Agent memory tools and ephemeral spaces
2290
+
2291
+ Ephemeral spaces (\`category: 'ephemeral'\`) are the canonical home for agent memory storage (scratchpads, session context, drafts). Agent memory tools (Anthropic \`memory_20250818\`, custom operation-backed) can use ephemeral spaces as storage when configured with \`memoryTools.spaceKey\`.
2292
+
2293
+ ### Enabling agent memory writes
2294
+
2295
+ By default, \`KnowledgeAccessGuard\` blocks writes to ephemeral spaces (\`disallowWriteCategories: ['external', 'ephemeral']\`). To allow agent memory tools to write:
2296
+
2297
+ 1. Configure \`disallowWriteCategories: ['external']\` (allow ephemeral writes).
2298
+ 2. Ensure \`AppKnowledgeBinding.scope.agents\` includes the agent key when using knowledge-backed storage.
2299
+ 3. Set \`requireAgentBinding: true\` so only explicitly bound agents can write.
2300
+
2301
+ See \`@lssm/lib.ai-agent\` memory tools and \`AgentMemoryStore\` for implementation details.
2302
+ `}},{id:"docs.tech.contracts.knowledge-provider-backed",exportName:"tech_contracts_knowledge_DocBlocks",sourceModule:"knowledge/spec",block:{id:"docs.tech.contracts.knowledge-provider-backed",title:"Provider-backed knowledge",summary:"Provider-backed knowledge syncs Gmail and Google Drive through explicit provider delta and mutation governance evidence.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/knowledge-provider-backed",tags:["tech","contracts","knowledge","integrations"],body:`# Provider-backed knowledge
2303
+
2304
+ Provider-backed knowledge starts from the same \`KnowledgeSpaceSpec\` and
2305
+ \`KnowledgeSourceConfig\` surfaces, then adds explicit provider delta and
2306
+ mutation governance evidence before runtime sync begins.
2307
+
2308
+ Gmail and Google Drive ingestion should persist \`ProviderDeltaSyncState\` per
2309
+ source so leases, cursors, webhook channel expiry, provider event IDs,
2310
+ dedupe/idempotency keys, replay checkpoints, and tombstones survive retries.
2311
+
2312
+ External mutations should route through
2313
+ \`knowledge.mutation.evaluateGovernance\` or
2314
+ \`@lssm/lib.knowledge/governance\` so dry-runs, approval refs,
2315
+ idempotency keys, audit evidence, and outbound-send gates are recorded before
2316
+ provider writes happen.`}},{id:"docs.tech.contracts.migrations",exportName:"tech_contracts_migrations_DocBlocks",sourceModule:"migrations",block:{id:"docs.tech.contracts.migrations",title:"MigrationSpec Overview",summary:"`MigrationSpec` provides a declarative plan for schema/data/validation steps so migrations can be generated, reviewed, and executed safely by tooling. Each spec captures ownership metadata, target dialect, generated artifact provenance, ordered up/down steps, and optional dependency information. Runtime tooling can consume the spec to run SQL/data scripts with pre/post checks and produce audit logs.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/migrations",tags:["tech","contracts","migrations"],body:`# MigrationSpec Overview
2317
+
2318
+ ## Purpose
2319
+
2320
+ \`MigrationSpec\` provides a declarative plan for schema/data/validation steps so migrations can be generated, reviewed, and executed safely by tooling. Each spec captures ownership metadata, target dialect, generated artifact provenance, ordered up/down steps, and optional dependency information. Runtime tooling can consume the spec to run SQL/data scripts with pre/post checks and produce audit logs.
2321
+
2322
+ ## Location
2323
+
2324
+ - Spec + registry: \`packages/libs/contracts/src/migrations.ts\`
2325
+ - Tests: \`packages/.../migrations.test.ts\`
2326
+
2327
+ ## Schema
2328
+
2329
+ \`\`\`ts
2330
+ export interface MigrationSpec {
2331
+ meta: MigrationMeta; // ownership metadata + { name, version }
2332
+ plan: {
2333
+ up: MigrationStep[]; // required forward plan
2334
+ down?: MigrationStep[];// optional rollback steps
2335
+ };
2336
+ dependencies?: string[]; // optional list of migration keys this depends on
2337
+ }
2338
+ \`\`\`
2339
+
2340
+ - **MigrationStep**
2341
+ - \`kind\`: \`'schema' | 'data' | 'validation'\`
2342
+ - Shared fields: \`description?\`, \`timeoutMs?\`, \`retries?\`, \`preChecks?\`, \`postChecks?\`
2343
+ - \`schema\`: \`sql\` string executed in transactional context
2344
+ - \`data\`: arbitrary \`script\` (e.g., JS/TS snippet, path to file, instructions)
2345
+ - \`validation\`: \`assertion\` expression verifying state (e.g., SQL returning boolean)
2346
+ - **MigrationCheck** (\`preChecks\`/\`postChecks\`)
2347
+ - \`description\`: human context
2348
+ - \`expression\`: expression or SQL snippet to evaluate before/after the step
2349
+ - **Dependencies**
2350
+ - Array of migration keys (\`"boundedContext.namespace.timestamp_slug"\`) used to ensure the registry executes prerequisites first
2351
+
2352
+ ## Registry Usage
2353
+
2354
+ \`\`\`ts
2355
+ import { MigrationRegistry } from '@lssm/lib.contracts-spec/migrations';
2356
+ import { AddUsersMigration } from './migrations/core.db.2025_01_add_users';
2357
+
2358
+ const registry = new MigrationRegistry();
2359
+ registry.register(AddUsersMigration);
2360
+
2361
+ const migration = registry.get('core.db.2025_01_add_users');
2362
+ const all = registry.list(); // sorted by name/version
2363
+ \`\`\`
2364
+
2365
+ ## Authoring Guidelines
2366
+
2367
+ 1. Name migrations with timestamped slugs (\`domain.db.YYYY_MM_description\`) for clarity.
2368
+ 2. Capture ownership metadata (\`owners\`, \`tags\`, \`stability\`) so tooling can route approvals.
2369
+ 3. Prefer small, reversible steps. Use \`plan.down\` when safe; otherwise document fallback.
2370
+ 4. Use \`preChecks\`/\`postChecks\` for critical invariants (row counts, schema existence).
2371
+ 5. Specify dependencies explicitly to avoid parallel execution hazards.
2372
+ 6. For large data scripts, use \`script\` as a pointer (URL, file path) rather than embedding code directly.
2373
+
2374
+ ## Tooling Roadmap
2375
+
2376
+ Upcoming CLI support (Phase 4 plan):
2377
+
2378
+ - \`contractspec create --type migration\` (scaffolds spec skeleton)
2379
+ - \`contractspec build <migration>\` (generate executor harness)
2380
+ - \`contractspec migrate create/up/down/status\` orchestration commands
2381
+
2382
+ The current implementation focuses on the spec/registry foundation so downstream tooling can be layered iteratively.
2383
+
2384
+ `}},{id:"docs.tech.contracts.openapi-export",exportName:"tech_contracts_openapi_export_DocBlocks",sourceModule:"openapi",block:{id:"docs.tech.contracts.openapi-export",title:"OpenAPI export (OpenAPI 3.1) from OperationSpecRegistry",summary:"Generate a deterministic OpenAPI document from a OperationSpecRegistry using jsonSchemaForSpec + REST transport metadata.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/openapi-export",tags:["contracts","openapi","rest"],body:`## OpenAPI export (OpenAPI 3.1) from OperationSpecRegistry
2385
+
2386
+ ### Purpose
2387
+
2388
+ ContractSpec specs can be exported into an **OpenAPI 3.1** document for tooling (SDK generation, docs, gateways).
2389
+
2390
+ The export is **spec-first**:
2391
+
2392
+ - Uses \`jsonSchemaForSpec(spec)\` for input/output JSON Schema (from SchemaModel → zod → JSON Schema)
2393
+ - Uses \`spec.transport.rest.method/path\` when present
2394
+ - Falls back to deterministic defaults:
2395
+ - Method: \`POST\` for commands, \`GET\` for queries
2396
+ - Path: \`defaultRestPath(name, version)\` → \`/<dot/name>/v<version>\`
2397
+
2398
+ ### Library API
2399
+
2400
+ - Function: \`openApiForRegistry(registry, options?)\`
2401
+ - Location: \`@lssm/lib.contracts-spec/openapi\`
2402
+
2403
+ ### CLI
2404
+
2405
+ Export OpenAPI from a registry module:
2406
+
2407
+ \`\`\`bash
2408
+ contractspec openapi --registry ./src/registry.ts --out ./openapi.json
2409
+ \`\`\`
2410
+
2411
+ The registry module must export one of:
2412
+
2413
+ - \`registry: OperationSpecRegistry\`
2414
+ - \`default(): OperationSpecRegistry | Promise<OperationSpecRegistry>\`
2415
+ - \`createRegistry(): OperationSpecRegistry | Promise<OperationSpecRegistry>\`
2416
+
2417
+ ### Notes / limitations (current)
2418
+
2419
+ - Responses are generated as a basic \`200\` response (plus schemas when available).
2420
+ - Query (GET) inputs are currently represented as a JSON request body when an input schema exists.
2421
+ - Errors are not yet expanded into OpenAPI responses; that will be added when we standardize error envelopes.`}},{id:"docs.tech.contracts.ops-to-presentation-linking",exportName:"tech_contracts_ops_to_presentation_linking_DocBlocks",sourceModule:"features/types",block:{id:"docs.tech.contracts.ops-to-presentation-linking",title:"Ops ↔ Presentation linking (V2)",summary:"This document explains how operations (OperationSpec) are linked to Presentations (PresentationSpec) via Feature modules.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/ops-to-presentation-linking",tags:["tech","contracts","ops-to-presentation-linking"],body:`### Ops to Presentation Linking (V2)
2422
+
2423
+ This document explains how operations (\`OperationSpec\`) are linked to presentations (\`PresentationSpec\`) via feature modules.
2424
+
2425
+ - Location: \`packages/libs/contracts-spec/src/features/types.ts\`
2426
+ - Field: \`FeatureModuleSpec.opToPresentation?: { op: OpRef; pres: PresentationRef }[]\`
2427
+ - Validation:
2428
+ - \`validateFeatureSpec()\` checks that linked refs are declared in the feature itself
2429
+ - \`installFeature()\` checks that declared refs exist in the provided registries
2430
+ - \`validateFeatureTargetsV2()\` checks descriptor target support
2431
+
2432
+ Example:
2433
+
2434
+ \`\`\`ts
2435
+ import { defineFeature, FeatureRegistry } from '@lssm/lib.contracts-spec/features';
2436
+
2437
+ export const WidgetsFeature = defineFeature({
2438
+ meta: {
2439
+ key: 'myapp.widgets.linkage',
2440
+ version: '1.0.0',
2441
+ title: 'Widgets (linked)',
2442
+ description: 'Links create and update operations to UI presentations.',
2443
+ domain: 'widgets',
2444
+ owners: ['platform.widgets'],
2445
+ tags: ['widgets', 'linkage'],
2446
+ stability: 'beta',
2447
+ },
2448
+ operations: [
2449
+ { key: 'widgets.create', version: '1.0.0' },
2450
+ { key: 'widgets.update', version: '1.0.0' },
2451
+ ],
2452
+ presentations: [
2453
+ { key: 'myapp.widgets.editor.page', version: '1.0.0' },
2454
+ ],
2455
+ opToPresentation: [
2456
+ {
2457
+ op: { key: 'widgets.create', version: '1.0.0' },
2458
+ pres: { key: 'myapp.widgets.editor.page', version: '1.0.0' },
2459
+ },
2460
+ {
2461
+ op: { key: 'widgets.update', version: '1.0.0' },
2462
+ pres: { key: 'myapp.widgets.editor.page', version: '1.0.0' },
2463
+ },
2464
+ ],
2465
+ presentationsTargets: [
2466
+ {
2467
+ key: 'myapp.widgets.editor.page',
2468
+ version: '1.0.0',
2469
+ targets: ['react', 'markdown'],
2470
+ },
2471
+ ],
2472
+ });
2473
+
2474
+ const features = new FeatureRegistry().register(WidgetsFeature);
2475
+ \`\`\`
2476
+
2477
+ Notes:
2478
+
2479
+ - This enables traceability: the UI flow that realizes an operation is discoverable via the feature catalog.
2480
+ - Presentations can target multiple outputs (\`react\`, \`markdown\`, \`application/json\`, \`application/xml\`).
2481
+ - Use \`renderFeaturePresentation()\` to render a descriptor to a given target with a component map.
2482
+ `}},{id:"docs.tech.contracts.policy",exportName:"tech_contracts_policy_DocBlocks",sourceModule:"policy/spec",block:{id:"docs.tech.contracts.policy",title:"PolicySpec & PolicyEngine",summary:"`PolicySpec` gives a declarative, typed home for access-control logic covering:",kind:"reference",visibility:"public",route:"/docs/tech/contracts/policy",tags:["tech","contracts","policy"],body:`# PolicySpec & PolicyEngine
2483
+
2484
+ ## Purpose
2485
+
2486
+ \`PolicySpec\` gives a declarative, typed home for access-control logic covering:
2487
+ - **Who** can perform an action (ABAC/ReBAC style rules)
2488
+ - **What** they can access (resources + optional field-level overrides)
2489
+ - **When** special conditions apply (contextual expressions)
2490
+ - **How** PII should be handled (consent/retention hints)
2491
+
2492
+ \`PolicyEngine\` evaluates one or more policies and returns an \`allow\`/\`deny\` decision, field-level outcomes, and PII metadata suitable for downstream enforcement (\`OperationSpecRegistry\` → \`ctx.decide\`).
2493
+
2494
+ ## Location
2495
+
2496
+ - Types & registry: \`packages/libs/contracts/src/policy/spec.ts\`
2497
+ - Runtime evaluation: \`packages/libs/contracts/src/policy/engine.ts\`
2498
+ - Tests: \`packages/.../policy/engine.test.ts\`
2499
+
2500
+ ## \`PolicySpec\`
2501
+
2502
+ \`\`\`ts
2503
+ export interface PolicySpec {
2504
+ meta: PolicyMeta; // ownership metadata + { name, version, scope? }
2505
+ rules: PolicyRule[]; // allow/deny rules for actions
2506
+ fieldPolicies?: FieldPolicyRule[];
2507
+ pii?: { fields: string[]; consentRequired?: boolean; retentionDays?: number };
2508
+ relationships?: RelationshipDefinition[];
2509
+ consents?: ConsentDefinition[];
2510
+ rateLimits?: RateLimitDefinition[];
2511
+ opa?: { package: string; decision?: string };
2512
+ }
2513
+ \`\`\`
2514
+
2515
+ - \`PolicyRule\`
2516
+ - \`effect\`: \`'allow' | 'deny'\`
2517
+ - \`actions\`: e.g., \`['read', 'write', 'delete']\` (string namespace is flexible)
2518
+ - \`subject\`: \`{ roles?: string[]; attributes?: { attr: matcher } }\`
2519
+ - \`resource\`: \`{ type: string; fields?: string[]; attributes?: {...} }\`
2520
+ - \`relationships\`: \`{ relation, objectId?, objectType? }[]\` → ReBAC checks (use \`objectId: '$resource'\` to target the current resource)
2521
+ - \`requiresConsent\`: \`['consent_id']\` → references spec-level consent definitions
2522
+ - \`flags\`: feature flags that must be enabled (\`DecisionContext.flags\`)
2523
+ - \`rateLimit\`: string reference to \`rateLimits\` entry or inline object \`{ rpm, key?, windowSeconds?, burst? }\`
2524
+ - \`escalate\`: \`'human_review' | null\` to indicate manual approval
2525
+ - \`conditions\`: optional expression snippets evaluated against \`{ subject, resource, context }\`
2526
+ - \`FieldPolicyRule\`
2527
+ - \`field\`: dot-path string (e.g., \`contact.email\`)
2528
+ - \`actions\`: subset of \`['read', 'write']\`
2529
+ - Same \`subject\` / \`resource\` / \`conditions\` shape
2530
+ - Useful for redacting specific fields, even when the global action is allowed
2531
+ - \`RelationshipDefinition\`
2532
+ - Canonical tuples for relationship graph (\`subjectType\`, \`relation\`, \`objectType\`, \`transitive?\`)
2533
+ - \`ConsentDefinition\`
2534
+ - \`{ id, scope, purpose, lawfulBasis?, expiresInDays?, required? }\`
2535
+ - \`RateLimitDefinition\`
2536
+ - \`{ id, rpm, key?, windowSeconds?, burst? }\`
2537
+ - \`PolicyRef\`
2538
+ - \`{ name: string; version: string }\` → attach to contract specs / workflows
2539
+
2540
+ ## Registry
2541
+
2542
+ \`\`\`ts
2543
+ const registry = new PolicyRegistry();
2544
+ registry.register(CorePolicySpec);
2545
+ const spec = registry.get('core.default', 1);
2546
+ \`\`\`
2547
+
2548
+ Guarantees uniqueness per \`(name, version)\` and exposes helpers to resolve highest versions.
2549
+
2550
+ ## Engine
2551
+
2552
+ \`\`\`ts
2553
+ const engine = new PolicyEngine(policyRegistry);
2554
+
2555
+ const decision = engine.decide({
2556
+ action: 'read',
2557
+ subject: { roles: ['admin'] },
2558
+ resource: { type: 'resident', fields: ['contact.email'] },
2559
+ policies: [{ name: 'core.default', version: '1.0.0' }],
2560
+ });
2561
+ /*
2562
+ {
2563
+ effect: 'allow',
2564
+ reason: 'core.default',
2565
+ fieldDecisions: [{ field: 'contact.email', effect: 'allow' }],
2566
+ pii: { fields: ['contact.email'], consentRequired: true }
2567
+ }
2568
+ */
2569
+ \`\`\`
2570
+
2571
+ - First matching **deny** wins; otherwise the first **allow** is returned.
2572
+ - Field policies are aggregated across referenced policies:
2573
+ - Later denies override earlier allows for a given field.
2574
+ - Returned as \`fieldDecisions\` to simplify downstream masking.
2575
+ - PII metadata is surfaced when defined to help adapt logging/telemetry.
2576
+
2577
+ ### Expression Support
2578
+
2579
+ Conditions accept small JS snippets (e.g., \`subject.attributes.orgId === context.orgId\`). The engine runs them in a constrained scope (\`subject\`, \`resource\`, \`context\`) without access to global state.
2580
+
2581
+ ### ReBAC & Relationships
2582
+
2583
+ - Provide relationship tuples via \`PolicySpec.relationships\` for documentation/validation.
2584
+ - Reference them inside rules with \`relationships: [{ relation: 'manager_of', objectType: 'resident', objectId: '$resource' }]\`.
2585
+ - The execution context must populate \`subject.relationships\` (\`[{ relation, object, objectType }]\`) for the engine to evaluate ReBAC guards.
2586
+
2587
+ ### Consent & Rate Limits
2588
+
2589
+ - Declare reusable consent definitions under \`consents\`. Rules list the IDs they require; if a user session lacks the consent (\`DecisionContext.consents\`), the engine returns \`effect: 'deny'\` with \`reason: 'consent_required'\` and enumerates missing consents.
2590
+ - Attach rate limits either inline or via \`rateLimits\` references. When a rule matches, the engine surfaces \`{ rpm, key, windowSeconds?, burst? }\` so callers can feed it to shared limiters.
2591
+
2592
+ ### OPA Adapter
2593
+
2594
+ - \`OPAPolicyAdapter\` bridges engine decisions to Open Policy Agent (OPA). It forwards the evaluation context + policies to OPA and merges any override result (\`effect\`, \`reason\`, \`fieldDecisions\`, \`requiredConsents\`).
2595
+ - Use when migrating to OPA policies or running defense-in-depth: call \`engine.decide()\`, then pass the preliminary decision to \`adapter.evaluate(...)\`. The adapter marks merged decisions with \`evaluatedBy: 'opa'\`.
2596
+ - OPA inputs include meta, rules, relationships, rate limits, and consent catalogs to simplify policy authoring on the OPA side.
2597
+
2598
+ ## Contract Integration
2599
+
2600
+ \`ContractSpec.policy\` now supports:
2601
+
2602
+ \`\`\`ts
2603
+ policy: {
2604
+ auth: 'anonymous' | 'user' | 'admin';
2605
+ ...
2606
+ policies?: PolicyRef[]; // policies evaluated before execution
2607
+ fieldPolicies?: { // field hints (read/write) per policy
2608
+ field: string;
2609
+ actions: ('read' | 'write')[];
2610
+ policy?: PolicyRef;
2611
+ }[];
2612
+ }
2613
+ \`\`\`
2614
+
2615
+ Adapters can resolve refs through a shared \`PolicyEngine\` and populate \`ctx.decide\` so \`OperationSpecRegistry.execute\` benefits from centralized enforcement.
2616
+
2617
+ ## Authoring Guidelines
2618
+
2619
+ 1. Prefer **allow-by-default** policies but explicitly deny sensitive flows (defense-in-depth).
2620
+ 2. Keep rule scopes narrow (per feature/operation) and compose multiple \`PolicyRef\`s when necessary.
2621
+ 3. Store PII field lists here to avoid duplication across logs/telemetry.
2622
+ 4. Use explicit rule reasons for auditability and better developer feedback.
2623
+ 5. Treat versioning seriously; bump \`meta.version\` whenever behavior changes.
2624
+
2625
+ ## Future Enhancements
2626
+
2627
+ - Richer expression language (composable predicates, time-based conditions).
2628
+ - Multi-tenant relationship graph services (store/resolve relationships at scale).
2629
+ - Tooling that auto-generates docs/tests for policies referenced in specs.
2630
+
2631
+ `}},{id:"docs.tech.contracts.presentations",exportName:"techContractsDocs",sourceModule:"presentations/presentations",block:{id:"docs.tech.contracts.presentations",title:"Presentations — Unified Descriptor & Transform Engine",summary:"How PresentationSpec and TransformEngine keep docs/renderers consistent.",visibility:"public",route:"/docs/tech/contracts/presentations",kind:"reference",tags:["presentations","docs","mcp"],body:`## Presentations V2 — Unified Descriptor & Transform Engine
2632
+
2633
+ ### Purpose
2634
+
2635
+ Unify presentations into one descriptor (\`PresentationSpec\`) that declares a single source (React component key or BlockNote doc) and a list of output targets (react, markdown, application/json, application/xml). A pluggable \`TransformEngine\` renders any target and applies PII redaction.
2636
+
2637
+ ### Types
2638
+
2639
+ \`\`\`ts
2640
+ type PresentationTarget =
2641
+ | 'react'
2642
+ | 'markdown'
2643
+ | 'application/json'
2644
+ | 'application/xml';
2645
+
2646
+ type PresentationSource =
2647
+ | {
2648
+ type: 'component';
2649
+ framework: 'react';
2650
+ componentKey: string;
2651
+ props?: AnySchemaModel;
2652
+ }
2653
+ | { type: 'blocknotejs'; docJson: unknown; blockConfig?: unknown };
2654
+
2655
+ interface PresentationSpec {
2656
+ meta: PresentationMeta; // includes partial OwnerShipMeta + description
2657
+ policy?: SurfacePolicyRequirement;
2658
+ source: PresentationSource;
2659
+ targets: PresentationTarget[];
2660
+ }
2661
+
2662
+ // Shared ownership schema (source of truth in @lssm/lib.contracts-spec/src/ownership.ts)
2663
+ interface OwnerShipMeta {
2664
+ title: string;
2665
+ description: string;
2666
+ domain: string;
2667
+ owners: Owner[];
2668
+ tags: Tag[];
2669
+ stability: Stability;
2670
+ }
2671
+
2672
+ type Stability = 'experimental' | 'beta' | 'stable' | 'deprecated';
2673
+ type Owner = string; // curated list available in code (e.g., '@sigil-team', 'team-strit')
2674
+ type Tag = string; // curated list available in code (e.g., 'auth', 'spots')
2675
+
2676
+ // For presentations, meta is a Partial<OwnerShipMeta> plus description, name, version
2677
+ interface PresentationMeta extends Partial<OwnerShipMeta> {
2678
+ name: string;
2679
+ version: string;
2680
+ description?: string;
2681
+ }
2682
+ \`\`\`
2683
+
2684
+ ### Engine
2685
+
2686
+ Use \`createDefaultTransformEngine()\` from \`@lssm/lib.presentation-runtime-core/transform-engine\` and register custom renderers as needed. React hosts add \`registerDefaultReactRenderer()\` from \`@lssm/lib.contracts-runtime-client-react/transform-engine\`. The core engine supports markdown/json/xml; the React renderer returns a serializable descriptor the host app renders via a \`componentMap\` or a BlockNote renderer. The canonical source type string is \`blocknotejs\` (not \`blocknote\`).
2687
+
2688
+ PII paths (JSON-like) are redacted from rendered outputs.
2689
+
2690
+ ### MCP Integration
2691
+
2692
+ \`createMcpServer\` accepts \`presentationsV2\`. Each descriptor is exposed under \`presentation://<name>/v<version>\` and negotiated variants (\`.md/.json/.xml\`) are rendered by the engine.
2693
+
2694
+ ### Migration
2695
+
2696
+ - V1 \`PresentationSpec\` remains supported; a back-compat helper converts V1 → V2 when convenient.
2697
+ - Prefer V2 for new work.
2698
+
2699
+ ### Examples (Sigil)
2700
+
2701
+ - \`sigil.auth.webauth_tabs_v2\`: component source (\`componentKey: 'sigil.webauth.tabs'\`), targets \`react/json/xml\`.
2702
+ - \`sigil.signup.guide_v2\`: BlockNote doc source, targets \`react/markdown/json/xml\`.
2703
+
2704
+ ### React Rendering
2705
+
2706
+ Host apps use a \`componentMap\` (e.g., \`'sigil.webauth.tabs' → WebAuthTabs\`) and a BlockNote renderer to turn the React render descriptor into elements.`}},{id:"docs.tech.contracts.presentations-conventions",exportName:"tech_contracts_presentations_conventions_DocBlocks",sourceModule:"presentations/presentations",block:{id:"docs.tech.contracts.presentations-conventions",title:"Presentations Conventions (A11y & i18n)",summary:"- Always provide `meta.description` (≥ 3 chars) — used by a11y/docs/agents.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/presentations-conventions",tags:["tech","contracts","presentations-conventions"],body:`## Presentations Conventions (A11y & i18n)
2707
+
2708
+ - Always provide \`meta.description\` (≥ 3 chars) — used by a11y/docs/agents.
2709
+ - Prefer source = BlockNote for rich guides; use component key for interactive flows.
2710
+ - i18n strings belong in host apps; descriptors carry keys/defaults only.
2711
+ - Target selection: include only what you intend to support to avoid drift.
2712
+ - PII: declare JSON-like paths under \`policy.pii\`; engine redacts in outputs.
2713
+ `}},{id:"docs.tech.contracts.pwa-updates",exportName:"tech_contracts_pwa_updates_DocBlocks",sourceModule:"pwa/types",block:{id:"docs.tech.contracts.pwa-updates",title:"PWA update management",summary:"Configure frontend update checks with app defaults and release overrides.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/pwa-updates",tags:["tech","contracts","pwa","updates"],body:`# PWA update management
2714
+
2715
+ PWA manifests describe the latest frontend release and the policy a runtime should apply when a browser is running an older version.
2716
+
2717
+ Use \`defaultUpdatePolicy\` for application-wide behavior and \`release.updatePolicy\` when a release needs a stricter or looser policy. Host applications still own service worker registration and activation; ContractSpec standardizes the API contract, decision state, and update prompt behavior.
2718
+ `}},{id:"docs.tech.contracts.README",exportName:"tech_contracts_README_DocBlocks",sourceModule:"index",block:{id:"docs.tech.contracts.README",title:"Contracts: Specs, Registry, Handlers, Adapters",summary:"- `packages/lssm/libs/contracts` defines the contracts core (OperationSpecRegistry, OperationSpec, PresentationSpec, install helpers, REST/MCP adapters, ...).",kind:"reference",visibility:"public",route:"/docs/tech/contracts/README",tags:["tech","contracts","README"],body:"## Contracts: Specs, Registry, Handlers, Adapters\n\n### What lives where\n\n- `packages/lssm/libs/contracts` defines the contracts core (OperationSpecRegistry, OperationSpec, PresentationSpec, install helpers, REST/MCP adapters).\n- `packages/lssm/libs/schema` defines the schema dictionary (`SchemaModel`, `FieldType`) used to describe I/O once and map to multiple targets (zod, GraphQL, JSON Schema).\n- App adapters (e.g. GraphQL) live close to the app. Example: `packages/hcircle/apps/api-coliving/src/graphql/contracts-adapter.ts`.\n\n### npm distribution\n\n- `@lssm/lib.contracts-spec` is the contract-model package: specs, registries, install helpers, shared runtime types, and contract metadata.\n- `@lssm/lib.contracts-integrations` owns integration contracts, provider interfaces, connection models, and secret-provider abstractions.\n- `@lssm/lib.presentation-runtime-core` owns the platform-agnostic presentation transform engine for markdown/json/xml outputs.\n- `@lssm/lib.contracts-runtime-client-react` exposes browser-safe React helpers, including React presentation descriptors and feature rendering helpers.\n- `@lssm/lib.contracts-runtime-server-rest` covers HTTP/MCP adapters and other Node-only server helpers.\n- `@lssm/lib.schema`, `@lssm/lib.design-system`, `@lssm/lib.ui-kit`, `@lssm/lib.ui-kit-web`, `@lssm/lib.accessibility`, and the presentation runtime packages are published to npm alongside contracts; prefer the scoped packages to keep tree-shaking intact.\n- Bundlers with conditional exports should resolve subpaths first; keep root imports for server-only code paths.\n\n### Core concepts\n\n- **OperationSpec**: immutable description of an operation.\n - `meta`: `{ name, version, kind: 'query' | 'command' }`\n - `io`: `{ input: SchemaModel | zod schema, output: SchemaModel | zod schema }`\n - `policy`: `{ auth?: {...}, rateLimit?: {...}, flags?: string[] }`\n - `transport.gql.field?`: explicit GraphQL field name (otherwise derived via `defaultGqlField`).\n- **OperationSpecRegistry**: registry of specs + handlers. Use `installOp(reg, spec, handler)` to attach a handler.\n- **Handler**: `(ctx, input) => Promise<output>` implementing the operation.\n- **CapabilitySpec**: canonical capability declaration stored in `src/capabilities.ts`. Tracks `meta` (`{ key, version, kind, title, description, domain, owners, tags, stability }`), `provides` surfaces (`operation`, `event`, `workflow`, `presentation`, `resource`), and `requires` which other capabilities must be present. Enforced during `installFeature`.\n- **PolicySpec**: declarative policy rules (`src/policy/spec.ts`) covering ABAC/ReBAC, consent + rate limit requirements, field-level controls, and PII guidance. `PolicyEngine` evaluates refs, while `OPAPolicyAdapter` lets OPA override/augment runtime decisions.\n- **TelemetrySpec**: analytics definitions (`src/telemetry/spec.ts`) describing event semantics, privacy level, retention, sampling, and anomaly detection. `TelemetryTracker` handles redaction/sampling, `TelemetryAnomalyMonitor` raises alerts, and specs integrate with contracts/workflows via `ctx.telemetry`.\n- **TestSpec**: declarative scenario definitions in `src/tests/spec.ts`. `TestRunner` executes fixtures/actions/assertions against a `OperationSpecRegistry`, and the CLI (`contractspec test`) wraps the runner for automation.\n- **ExperimentSpec**: experiment definitions (`src/experiments/spec.ts`) describing variants, allocation strategies, and success metrics. `ExperimentEvaluator` assigns variants (random/sticky/targeted) and integrates with Policy/Telemetry for safe experimentation.\n- **AppBlueprintSpec / TenantAppConfig**: global blueprints and per-tenant overrides (`src/app-config/spec.ts`). `resolveAppConfig()` merges the two into a `ResolvedAppConfig`, while `composeAppConfig()` hydrates the merged view against registries and reports missing references for safe rollout.\n- **RegeneratorService**: background daemon (`src/regenerator/service.ts`) that consumes telemetry/error/behavior signals, evaluates regeneration rules, and produces `SpecChangeProposal`s for Studio review.\n- **DataViewSpec**: declarative data presentation layer in `src/data-views.ts`. Describes entity projections (`fields`, `filters`, `actions`) with `view.kind` (`list`, `table`, `detail`, `grid`), ties to query operations via `source.primary`, and exposes optional presentation-based empty/error states.\n- **ThemeSpec**: design token + component variant definitions in `src/themes.ts`. Supports inheritance (`extends`), tenant/user overrides, and component-specific variant metadata for the design system.\n- **MigrationSpec**: schema/data migration descriptors (`src/migrations.ts`) with ordered step plans, dependency tracking, and pre/post checks to support automated database/content migrations.\n- **WorkflowSpec**: typed definition of multi-step workflows living in `src/workflow/spec.ts`. `WorkflowRegistry` stores versioned specs, and `validateWorkflowSpec()` (in `src/workflow/validation.ts`) checks graph integrity, step references, and reachability.\n\n### Lifecycle\n\n1. Define the spec (I/O via `SchemaModel` or zod) in a vertical lib (e.g. `contracts-coliving`).\n2. Register it: `installOp(registry, spec, handler)` within the app/service.\n3. Expose it via an adapter (REST, GraphQL, MCP). Each adapter maps the I/O to its transport and enforces policy.\n4. Validate at runtime: parse `input` before executing, parse `output` before returning.\n\n### Adapters\n\n- **REST**: see `packages/lssm/libs/contracts/src/server/rest-*`. Binds routes, validates request/response, maps errors/policies.\n- **MCP**: see `packages/lssm/libs/contracts/src/server/provider-mcp.ts` (standalone MCP server) and `packages/lssm/libs/contracts/src/server/rest-next-mcp.ts` (MCP over Next.js route). Provides tools/resources/prompts.\n - Tools + resources are registered from Zod schemas.\n - Resource templates are keyed by full `ResourceMeta.uriTemplate` (e.g. `docs://list`, `docs://doc/{id}`), so multiple templates can share a scheme (`docs://*`) without collisions.\n- **GraphQL (Pothos)**: see `packages/lssm/libs/contracts/src/server/graphql-pothos.ts`. Adds Query/Mutation fields by transforming contract I/O to GraphQL types.\n\n### GraphQL adapter behaviour (summary)\n\n- Field naming: `spec.transport.gql.field` or `<name_with_dots>_v<version>`.\n- Input/Output types from `SchemaModel` (preferred) or fallback zod introspection.\n- Scalars: String/Int/Float/Boolean/Date/JSON; Objects/Arrays/Enums; unions for outputs; input unions => JSON.\n- Policy: auth gate checks GraphQL context; optional feature flag gating.\n- Complexity & tracing: attaches hints and records timings; log includes `{ specName, version }`.\n\n#### Returns mapping and hydration\n\n- `spec.transport.gql.returns` can declare the GraphQL return wrapper: e.g. `\"Spot\"` or `[Spot]`. If omitted, the adapter infers from `io.output` (SchemaModel) or `resourceRef.graphQLType`.\n- Resource outputs: when `io.output` is a `resourceRef(...)` or `transport.gql.resource` is set, the adapter will optionally hydrate via a `ResourceRegistry` using `contracts-adapter-hydration.ts`:\n - Grammar is parsed with `parseReturns()`.\n - Entities are resolved via `hydrateResourceIfNeeded(resources, result, { template, varName, returns })` after handler execution.\n\n### Resource outputs\n\n- Declare resource outputs using `resourceRef(uriTemplate, opts)`.\n- `opts.varName` (default `id`) selects the identifier field returned by the handler for URI substitution.\n- `opts.graphQLType` is the GraphQL return type name (e.g., `Spot`) or list form (e.g., `[Spot]`).\n- `opts.many: true` indicates the handler returns an array of resources. The handler type becomes an array of items that include the identifier field.\n\nExample:\n\n```ts\nio: {\n input: ListThingsInput,\n output: resourceRef('myapp://thing/{id}', { graphQLType: '[Thing]', many: true }),\n}\n```\n\nHandler return (simplified): `{ id: string | number }[]`.\n\n### Errors\n\n- Validation errors → transport 400/GraphQL UserInputError.\n- Policy/auth errors → 401/403 or GraphQL ForbiddenError.\n- Handler errors → mapped to transport error with safe message.\n\n### Versioning & naming\n\n- Keep `meta.version` monotonic. Clients should pin to a versioned field/key.\n- Avoid renaming existing fields; add new fields with new versions.\n\n### Ownership metadata (OwnerShipMeta)\n\nAll contracts, events, features, and presentations reference a shared ownership schema (source of truth in `packages/lssm/libs/contracts/src/ownership.ts`).\n\n- Required fields: `title`, `description`, `domain`, `owners[]`, `tags[]`, `stability`.\n- Curated enums: the library exports suggested constants for owners and tags; free-form strings are still allowed for forward-compatibility.\n- Operations (`spec.ts`): `meta` requires `stability`, `owners`, and `tags` alongside `name`, `version`, `kind`, `description`, `goal`, and `context`.\n- Presentations V2: `meta` is a partial of ownership plus `description`.\n- Events: may specify `ownership` (recommended) for discoverability and docs.\n\n### Quick start\n\n```ts\n// app bootstrap\nconst reg = new OperationSpecRegistry();\ninstallOp(reg, BeginSignupSpec, beginSignupHandler);\nregisterContractsOnBuilder(gqlSchemaBuilder, reg); // GraphQL\n// or: createRestRouter(reg) // REST\n```\n"}},{id:"docs.tech.contracts.regenerator",exportName:"tech_contracts_regenerator_DocBlocks",sourceModule:"regenerator/service",block:{id:"docs.tech.contracts.regenerator",title:"Regenerator Service",summary:"The Regenerator daemon observes telemetry, error, and behavior streams, then suggests spec-level changes (not code patches) that can be reviewed and applied through the App Studio.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/regenerator",tags:["tech","contracts","regenerator"],body:"## Regenerator Service\n\nThe Regenerator daemon observes telemetry, error, and behavior streams, then suggests spec-level changes (not code patches) that can be reviewed and applied through the App Studio.\n\n- Runtime entrypoint: `packages/libs/contracts/src/regenerator/service.ts`\n- Types/interfaces: `packages/libs/contracts/src/regenerator/types.ts`\n- Signal adapters: `packages/libs/contracts/src/regenerator/adapters.ts`\n\n### Architecture\n\n```text\nSignal Adapters ──► RegeneratorService ──► Rules ──► ProposalSink\n ▲ │\n │ ▼\n Telemetry / Errors / Behavior Spec change proposals\n```\n\n1. **Signal adapters** pull batches of telemetry, error logs, or behavior metrics for each `RegenerationContext`.\n2. `RegeneratorService` schedules polling (`resolveAppConfig` + `composeAppConfig` provide context).\n3. **Rules** implement domain heuristics and emit `SpecChangeProposal` objects.\n4. **Proposal sinks** persist or forward proposals for human review.\n\n### Key types\n\n```ts\nexport interface RegenerationContext {\n id: string;\n blueprint: AppBlueprintSpec;\n tenantConfig: TenantAppConfig;\n resolved: ResolvedAppConfig;\n}\n\nexport interface RegeneratorRule {\n id: string;\n description: string;\n evaluate(\n context: RegenerationContext,\n signals: RegeneratorSignal[]\n ): Promise<SpecChangeProposal[]>;\n}\n\nexport interface SpecChangeProposal {\n id: string;\n title: string;\n summary: string;\n confidence: 'low' | 'medium' | 'high';\n target: ProposalTarget;\n actions: ProposalAction[];\n blockers?: ProposalBlocker[];\n signalIds: string[];\n createdAt: Date;\n}\n```\n\n- Signals are normalized envelopes: telemetry (`count`, anomaly score), errors, and behavior trends.\n- Proposals reference blueprint or tenant specs via `ProposalTarget`.\n- Actions encode what the automation should perform (update blueprint, run tests/migrations, trigger regeneration).\n\n### Providing signals\n\nImplement `TelemetrySignalProvider`, `ErrorSignalProvider`, or `BehaviorSignalProvider`:\n\n```ts\nconst service = new RegeneratorService({\n contexts,\n adapters: {\n telemetry: new PosthogTelemetryAdapter(),\n errors: new SentryErrorAdapter(),\n },\n rules: [new WorkflowFailureRule(), new DataViewUsageRule()],\n sink: new ProposalQueueSink(),\n pollIntervalMs: 60_000,\n});\n```\n\nAdapters receive the full `RegenerationContext`, making it easy to scope queries per tenant/app.\n\n### Authoring rules\n\nRules focus on signals → proposals:\n\n```ts\nclass WorkflowFailureRule implements RegeneratorRule {\n id = 'workflow-failure';\n description = 'Suggest splitting workflows that exceed failure thresholds';\n\n async evaluate(context, signals) {\n const failures = signals.filter(\n (signal) =>\n signal.type === 'telemetry' &&\n signal.signal.eventName === 'workflow.failure' &&\n signal.signal.count >= 10\n );\n\n if (failures.length === 0) return [];\n\n return [\n {\n id: `${this.id}-${context.id}`,\n title: 'Split onboarding workflow',\n summary: 'Step 3 fails consistently; propose dedicated remediation branch.',\n confidence: 'medium',\n rationale: ['Failure count ≥ 10 within last window'],\n target: {\n specType: 'workflow',\n reference: { name: 'onboarding.workflow', version: '1.0.0' },\n tenantScoped: true,\n },\n actions: [\n { kind: 'update_tenant_config', summary: 'Add alternate fallback path' },\n { kind: 'run_tests', tests: ['workflows/onboarding.spec.ts'] },\n ],\n signalIds: failures.map((f) => f.signal.eventName),\n createdAt: new Date(),\n },\n ];\n }\n}\n```\n\n### Reviewing proposals\n\nProposals flow to a `ProposalSink` (queue, DB, messaging bus). The Studio will surface:\n\n1. Signal evidence (telemetry counts, error metadata)\n2. Proposed spec diffs and required actions (tests/migrations)\n3. Approval workflow (approve → write spec diff → run automation)\n\n### CLI driver\n\nRun the regenerator daemon from the CLI:\n\n```bash\nbunx contracts regenerator ./app.blueprint.ts ./tenant.config.ts ./regenerator.rules.ts auto \\\n --executor ./regenerator.executor.ts \\\n --poll-interval 60000 \\\n --batch-duration 300000 \\\n --dry-run\n```\n\n- Expects modules exporting default `AppBlueprintSpec`, `TenantAppConfig`, and one or more `RegenerationRule`s.\n- Pass a sink module path, or use the special `auto` value with `--executor <module>` to instantiate an `ExecutorProposalSink`.\n- Executor modules can export a `ProposalExecutor` instance, a factory, or a plain dependency object for the executor constructor. Optional exports: `sinkOptions`, `logger`, `onResult`, `dryRun`.\n- Optionally provide `--contexts ./contexts.ts` to load custom context arrays (advanced multi-tenant scenarios).\n- Use `--dry-run` to preview actions without mutating specs/configs, and `--once` for CI smoke tests.\n\n### Proposal executor\n\n`ProposalExecutor` + `ExecutorProposalSink` orchestrate follow-up actions once a proposal is approved:\n\n- Interfaces for applying blueprint or tenant-config updates (`BlueprintUpdater`, `TenantConfigUpdater`).\n- Hooks for running contract tests and migrations (`TestExecutor`, `MigrationExecutor`).\n- Optional trigger to recompose the runtime (`RegenerationTrigger`).\n- Built-in `dryRun` mode to preview outcomes.\n- Pluggable result logging/forwarding via `ExecutorSinkOptions`.\n\n```ts\nimport {\n ProposalExecutor,\n ExecutorProposalSink,\n} from '@lssm/lib.contracts-spec/regenerator';\n\nconst executor = new ProposalExecutor({\n tenantConfigUpdater,\n testExecutor,\n migrationExecutor,\n regenerationTrigger,\n});\n\nconst sink = new ExecutorProposalSink(executor, {\n dryRun: false,\n onResult: ({ result }) => console.log(result.status),\n});\n```\n\nExecution results include per-action status (`success`, `skipped`, `failed`) plus aggregated proposal status (`success`, `partial`, `failed`). Missing dependencies mark actions as `skipped`, making it easy to plug into partial automation flows today and extend later.\n\n### Next steps\n\n- Build adapters for existing telemetry/error providers.\n- Encode canonical rules (workflow failure, feature under-use, high latency).\n- Integrate with App Studio proposal inbox and automate acceptance (write spec diff, run tests, queue migrations).\n\n"}},{id:"docs.tech.contracts.shared-entities.person",exportName:"shared_entities_person_DocBlocks",sourceModule:"shared-entities/person",block:{id:"docs.tech.contracts.shared-entities.person",title:"PersonEntity — Cross-Domain Person Contract Entity",summary:"`PersonEntity` is the canonical cross-domain entity for a human actor. Layer 1: `person` slug with edges to team, project, and task.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/shared-entities/person",tags:["tech","contracts","shared-entities","person"],body:`# PersonEntity
2719
+
2720
+ Layer 1 (M2): slug + edges. Entity key: \`'person'\`.
2721
+
2722
+ ## Edges
2723
+
2724
+ | ID | From | To | Relation | Cardinality |
2725
+ |----|----|----|----|----|
2726
+ | \`person-to-team\` | person | team | member-of | many-to-many |
2727
+ | \`person-to-project\` | person | project | contributes-to | many-to-many |
2728
+ | \`person-to-task\` | person | task | assigned-to | one-to-many |
2729
+ `}},{id:"docs.tech.contracts.shared-entities.project",exportName:"shared_entities_project_DocBlocks",sourceModule:"shared-entities/project",block:{id:"docs.tech.contracts.shared-entities.project",title:"ProjectEntity — Cross-Domain Project Contract Entity",summary:"`ProjectEntity` is the canonical cross-domain entity for a bounded initiative. Layer 1: `project` slug with edges to team, person, task, resource.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/shared-entities/project",tags:["tech","contracts","shared-entities","project"],body:`# ProjectEntity
2730
+
2731
+ Layer 1 (M2): slug + edges. Entity key: \`'project'\`.
2732
+ `}},{id:"docs.tech.contracts.shared-entities.resource",exportName:"shared_entities_resource_DocBlocks",sourceModule:"shared-entities/resource",block:{id:"docs.tech.contracts.shared-entities.resource",title:"ResourceEntity — Cross-Domain Resource Contract Entity",summary:"`ResourceEntity` is the canonical cross-domain entity for a managed asset. Layer 1: `resource` slug with edges to team and project.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/shared-entities/resource",tags:["tech","contracts","shared-entities","resource"],body:`# ResourceEntity
2733
+
2734
+ Layer 1 (M2): slug + edges. Entity key: \`'resource'\`.
2735
+ `}},{id:"docs.tech.contracts.shared-entities.task",exportName:"shared_entities_task_DocBlocks",sourceModule:"shared-entities/task",block:{id:"docs.tech.contracts.shared-entities.task",title:"SharedTask + TaskEntity — Cross-Context Task (A9 Invariant)",summary:"`SharedTask` carries both `dependsOn?` (workflow DAG) and `parent?` (agent tree) as optional. Validators enforce mutual exclusion per A9. `TaskEntity` is the Layer-1 contract registration.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/shared-entities/task",tags:["tech","contracts","shared-entities","task","a9","workflow","agent"],body:"# SharedTask + TaskEntity\n\n## A9 Invariant\n\n| Field | Context | Validator rejects |\n|-------|---------|------------------|\n| `dependsOn?` | Workflow DAG | Agent validator |\n| `parent?` | Agent tree | Workflow validator |\n\nBoth `undefined` → root task (valid in either context).\n\n## V2 Execution Fields (Path B parity)\n\n- `type`: `automation` (default) | `human` | `decision`\n- `operation?: OpRef` — dispatched by the V2 runner's OperationExecutor\n- `guard?` — expression or policy guard evaluated before execution; task skipped on false\n- `retry?` — fixed/exponential backoff with configurable attempts, delay, and cap\n- `timeoutMs?` — per-task timeout; raises `WorkflowExecutionError('timeout')`\n- `requiredIntegrations?` — slot IDs checked during pre-flight\n- `requiredCapabilities?` — CapabilityRefs checked during pre-flight\n"}},{id:"docs.tech.contracts.shared-entities.task-validators",exportName:"shared_entities_task_validators_DocBlocks",sourceModule:"shared-entities/task-validators",block:{id:"docs.tech.contracts.shared-entities.task-validators",title:"Task Validators — Dual Workflow/Agent Runtime Validators (A9)",summary:"`validateWorkflowTask` rejects tasks with `parent`; `validateAgentTask` rejects tasks with `dependsOn`. Both enforce the A9 invariant at runtime.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/shared-entities/task-validators",tags:["tech","contracts","shared-entities","task","validators","a9"],body:"# Task Validators (A9)\n\n| Function | Context | Rejects |\n|----------|---------|--------|\n| `validateWorkflowTask` | Workflow DAG | `parent` set |\n| `validateWorkflowTasks` | Workflow DAG (batch) | first task with `parent` |\n| `validateAgentTask` | Agent tree | `dependsOn` set |\n| `validateAgentTasks` | Agent tree (batch) | first task with `dependsOn` |\n"}},{id:"docs.tech.contracts.shared-entities.team",exportName:"shared_entities_team_DocBlocks",sourceModule:"shared-entities/team",block:{id:"docs.tech.contracts.shared-entities.team",title:"TeamEntity — Cross-Domain Team Contract Entity",summary:"`TeamEntity` is the canonical cross-domain entity for a group of persons. Layer 1: `team` slug with edges to person, project, resource.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/shared-entities/team",tags:["tech","contracts","shared-entities","team"],body:`# TeamEntity
2736
+
2737
+ Layer 1 (M2): slug + edges. Entity key: \`'team'\`.
2738
+
2739
+ ## Edges
2740
+
2741
+ | ID | From | To | Relation | Cardinality |
2742
+ |----|----|----|----|----|
2743
+ | \`team-to-person\` | team | person | has-member | many-to-many |
2744
+ | \`team-to-project\` | team | project | owns | one-to-many |
2745
+ | \`team-to-resource\` | team | resource | manages | one-to-many |
2746
+ `}},{id:"docs.tech.contracts.telemetry",exportName:"tech_contracts_telemetry_DocBlocks",sourceModule:"telemetry/spec",block:{id:"docs.tech.contracts.telemetry",title:"TelemetrySpec",summary:"Telemetry specs describe product analytics in a durable, type-safe way. They reference existing `EventSpec`s (same name/version) but layer on privacy classification, retention, sampling, and anomaly detection so instrumentation stays compliant and observable.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/telemetry",tags:["tech","contracts","telemetry"],body:"## TelemetrySpec\n\nTelemetry specs describe product analytics in a durable, type-safe way. They reference existing `EventSpec`s (same name/version) but layer on privacy classification, retention, sampling, and anomaly detection so instrumentation stays compliant and observable.\n\n- **File location**: `packages/libs/contracts/src/telemetry/spec.ts`\n- **Runtime tracker**: `packages/libs/contracts/src/telemetry/tracker.ts`\n- **Anomaly monitor**: `packages/libs/contracts/src/telemetry/anomaly.ts`\n\n### Core concepts\n\n```ts\nexport interface TelemetrySpec {\n meta: TelemetryMeta;\n events: TelemetryEventDef[];\n config?: TelemetryConfig;\n}\n```\n\n- `meta`: ownership + identifiers (`name`, `version`, `domain`)\n- `events`: per-event semantics, property definitions, privacy level, retention, sampling, anomaly rules\n- `config`: defaults and provider configuration\n- `TelemetryRegistry`: registers specs, resolves latest version, finds event definitions by name/version\n\n### An example\n\n```ts\nexport const SigilTelemetry: TelemetrySpec = {\n meta: {\n name: 'sigil.telemetry',\n version: '1.0.0',\n title: 'Sigil telemetry',\n description: 'Core Sigil product telemetry',\n domain: 'sigil',\n owners: ['@team.analytics'],\n tags: ['telemetry'],\n stability: StabilityEnum.Experimental,\n },\n config: {\n defaultRetentionDays: 30,\n defaultSamplingRate: 1,\n providers: [\n { type: 'posthog', config: { projectApiKey: process.env.POSTHOG_KEY } },\n ],\n },\n events: [\n {\n name: 'sigil.telemetry.workflow_step',\n version: '1.0.0',\n semantics: {\n what: 'Workflow step executed',\n who: 'Actor executing the workflow',\n },\n privacy: 'internal',\n properties: {\n workflow: { type: 'string', required: true },\n step: { type: 'string', required: true },\n durationMs: { type: 'number' },\n userId: { type: 'string', pii: true, redact: true },\n },\n anomalyDetection: {\n enabled: true,\n minimumSample: 10,\n thresholds: [\n { metric: 'durationMs', max: 1500 },\n ],\n actions: ['alert', 'trigger_regen'],\n },\n },\n ],\n};\n```\n\n### Tracking events at runtime\n\n`TelemetryTracker` performs sampling, PII redaction, provider dispatch, and anomaly detection.\n\n```ts\nconst tracker = new TelemetryTracker({\n registry: telemetryRegistry,\n providers: [\n {\n id: 'posthog',\n async send(dispatch) {\n posthog.capture({\n event: dispatch.name,\n properties: dispatch.properties,\n distinctId: dispatch.context.userId ?? dispatch.context.sessionId,\n });\n },\n },\n ],\n anomalyMonitor: new TelemetryAnomalyMonitor({\n onAnomaly(event) {\n console.warn('Telemetry anomaly detected', event);\n },\n }),\n});\n\nawait tracker.track('sigil.telemetry.workflow_step', 1, {\n workflow: 'onboarding',\n step: 'verify_email',\n durationMs: 2100,\n userId: 'user-123',\n});\n```\n\n- Sampling obeys the event-specific rate (fallback to spec defaults)\n- Properties flagged with `pii` or `redact` are masked before dispatch\n- Anomaly monitor evaluates thresholds and triggers actions (e.g., log, alert, regeneration)\n\n### Spec integration\n\n- `ContractSpec.telemetry` allows operations to emit success/failure events automatically\n- `OperationSpecRegistry.execute()` uses the tracker when `ctx.telemetry` is provided\n- `WorkflowRunner` (Phase 4 follow-up) will emit telemetry during step transitions\n- `TelemetrySpec` events should reuse `EventSpec` names/versions to keep analytics/contract parity\n\n### CLI workflow\n\n```\ncontracts-cli create telemetry\n```\n\n- Interactive wizard prompts for meta, providers, events, properties, retention, anomaly rules\n- Output: `*.telemetry.ts` file using `TelemetrySpec`\n\n### Best practices\n\n- Prefer `internal` privacy for non-PII; mark PII properties explicitly with `pii` + `redact`\n- Keep sampling ≥0.05 except for high-volume events\n- Configure anomaly detection on key metrics (duration, error count, conversion)\n- Check telemetry into source control alongside contracts; regenerate via CLI when specs change\n\n### Next steps\n\n- Phase 5: Regenerator monitors telemetry anomalies to propose spec improvements\n- Phase 6: Studio surfaces telemetry controls per tenant via `TenantAppConfig`\n\n"}},{id:"docs.tech.contracts.tests",exportName:"tech_contracts_tests_DocBlocks",sourceModule:"tests/spec",block:{id:"docs.tech.contracts.tests",title:"TestSpec & TestRunner",summary:"Use `TestSpec` to describe end-to-end scenarios for contracts and workflows. Specs live alongside your contracts and exercise the same OperationSpecRegistry handlers the app uses.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/tests",tags:["tech","contracts","tests"],body:"## TestSpec & TestRunner\n\nUse `TestSpec` to describe end-to-end scenarios for contracts and workflows. Specs live alongside your contracts and exercise the same OperationSpecRegistry handlers the app uses.\n\n- Types & registry: `packages/libs/contracts/src/tests/spec.ts`\n- Runtime runner: `packages/libs/contracts/src/tests/runner.ts`\n- CLI: `contractspec test`\n\n### Structure\n\n```ts\nexport interface TestSpec {\n meta: TestSpecMeta;\n target: TestTarget; // contract or workflow\n fixtures?: Fixture[]; // optional shared setup before each scenario\n scenarios: TestScenario[];\n coverage?: CoverageRequirement;\n}\n```\n\n- `Fixture`: run an operation before the scenario (`operation`, optional `input`)\n- `Action`: operation input that the scenario exercises\n- `Assertion`:\n - `expectOutput` `{ match }` deep-equals the handler output\n - `expectError` `{ messageIncludes? }` ensures an error was thrown\n - `expectEvents` `{ events: [{ name, version, min?, max? }] }` checks emitted events\n\n### Example\n\n```ts\nimport { defineCommand, type TestSpec } from '@lssm/lib.contracts-spec';\n\nexport const AddNumbersSpec = defineCommand({\n meta: { key: 'math.add', version: '1.0.0', /* … */ },\n io: {\n input: AddNumbersInput,\n output: AddNumbersOutput,\n },\n policy: { auth: 'user' },\n});\n\nexport const MathAddTests: TestSpec = {\n meta: {\n name: 'math.add.tests',\n version: '1.0.0',\n title: 'Math add scenarios',\n owners: ['@team.math'],\n tags: ['math'],\n stability: StabilityEnum.Experimental,\n },\n target: { type: 'contract', operation: { name: 'math.add' } },\n scenarios: [\n {\n name: 'adds positive numbers',\n when: {\n operation: { name: 'math.add' },\n input: { a: 2, b: 3 },\n },\n then: [\n { type: 'expectOutput', match: { sum: 5 } },\n {\n type: 'expectEvents',\n events: [{ name: 'math.sum_calculated', version: '1.0.0', min: 1 }],\n },\n ],\n },\n ],\n};\n```\n\n### Running tests\n\n1. Register the contract handlers in a `OperationSpecRegistry`:\n\n```ts\nexport function createRegistry() {\n const registry = new OperationSpecRegistry();\n registry.register(AddNumbersSpec);\n registry.bind(AddNumbersSpec, addNumbersHandler);\n return registry;\n}\n```\n\n2. Run the CLI:\n\n```\ncontractspec test apps/math/tests/math.add.tests.ts \\\n --registry apps/math/tests/registry.ts\n```\n\n- The CLI loads the TestSpec, instantiates the registry (via the provided module), and executes each scenario via `TestRunner`.\n- `--json` outputs machine-readable results.\n\n### Programmatic usage\n\n```ts\nconst runner = new TestRunner({\n registry,\n createContext: () => ({ actor: 'user', organizationId: 'tenant-1' }),\n});\n\nconst result = await runner.run(MathAddTests);\nconsole.log(result.passed, result.failed);\n```\n\n- `createContext` can supply default `HandlerCtx` values.\n- `beforeEach` / `afterEach` hooks let you seed databases or reset state.\n\n### Best practices\n\n- Keep fixtures idempotent so scenarios can run in parallel in the future.\n- Use `expectEvents` to guard analytics/telemetry expectations.\n- Add specs to `TestRegistry` for discovery and documentation.\n- `coverage` captures desired coverage metrics (enforced by future tooling).\n- Pair TestSpec files with CI using `contractspec test --json` and fail builds when `failed > 0`.\n\n### Mocking with Bun's `vi`\n\n- Pass a single function type to `vi.fn<TFunction>()` so calls retain typed arguments:\n\n```ts\nconst handler = vi.fn<typeof fetch>();\nconst fetchImpl: typeof fetch = ((...args) => handler(...args)) as typeof fetch;\nObject.defineProperty(fetchImpl, 'preconnect', {\n value: vi.fn<typeof fetch.preconnect>(),\n});\n```\n\n- When you need to inspect calls, use the typed mock (`handler.mock.calls`) rather than casting to `any`.\n- Narrow optional request data defensively (e.g., check for headers before reading them) so tests remain type-safe under strict `tsconfig` settings.\n\n"}},{id:"docs.tech.contracts.themes",exportName:"tech_contracts_themes_DocBlocks",sourceModule:"themes",block:{id:"docs.tech.contracts.themes",title:"ThemeSpec Overview",summary:"`ThemeSpec` defines a structured, versioned source of truth for design tokens, component variants, and scoped overrides. Use it to describe how tenants or individual users should experience the design system without hand-maintaining ad-hoc theme files. Specs live in `@lssm/lib.contracts-spec`, making them accessible to generators, docs, and runtime tooling.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/themes",tags:["tech","contracts","themes"],body:'# ThemeSpec Overview\n\n## Purpose\n\n`ThemeSpec` defines a structured, versioned source of truth for design tokens, component variants, and scoped overrides. Use it to describe how tenants or individual users should experience the design system without hand-maintaining ad-hoc theme files.\n\n## Location\n\n- Types, helper, registry, and validation: `packages/libs/contracts-spec/src/themes.ts` and `packages/libs/contracts-spec/src/themes.validation.ts`\n- Design tokens bridge: `packages/libs/design-system/src/theme/*`\n\n## Schema\n\n```ts\nexport interface ThemeSpec {\n meta: ThemeMeta; // ownership metadata + { key, version, extends?, scopes? }\n tokens: ThemeTokens;\n components?: ComponentVariantSpec[];\n overrides?: ThemeOverride[];\n modes?: Record<string, ThemeModeSpec>; // use keys like "light" and "dark"\n}\n```\n\n- **ThemeMeta**\n - `key`: fully-qualified identifier (for example `design.pastel`)\n - `version`: semver string such as `1.0.0`\n - `extends?`: optional `ThemeRef` to a base theme\n - `scopes?`: default scopes where the theme applies (`global`, `tenant`, `user`)\n- **ThemeTokens**\n - `colors`, `radii`, `space`, `typography`, `shadows`, `motion`\n - each entry is a map of `{ value, description? }`\n - the ContractSpec editorial radius taxonomy is additive and public: scale keys `xs/sm/md/lg/xl/full/default` plus semantic aliases `control/card/panel/overlay/pill`. Smaller radii communicate precision or higher action gravity; `md/control` is the normal control default; `lg/card`, `default/panel`, and `xl/overlay` provide progressively softer editorial surfaces; `full/pill` is reserved for capsules, avatars, and dots.\n - persona-aware or RoleMorph-selected radius profiles are a future documentation hook only. This theme does not switch radius at runtime by persona, role, tone, or density.\n- **ComponentVariantSpec**\n - `component`: design-system component key (for example `Button`, `NavMain`)\n - `variants`: map of variant names to `{ props?, tokens? }`\n- **ThemeOverride**\n - `scope`: `\'global\' | \'tenant\' | \'user\'`\n - `target`: scoped identifier such as `tenant:artisanos` or `user:123`\n - `tokens?` / `components?`: partial overrides for that target\n\n## Authoring\n\n```ts\nimport { defineTheme } from \'@lssm/lib.contracts-spec/themes\';\n\nexport const PastelTheme = defineTheme({\n meta: {\n key: \'design.pastel\',\n version: \'1.0.0\',\n title: \'Pastel\',\n description: \'Soft pastel palette for marketing surfaces.\',\n domain: \'design-system\',\n owners: [\'platform.design\'],\n tags: [\'theme\', \'marketing\'],\n stability: \'experimental\',\n scopes: [\'tenant\'],\n },\n tokens: {\n colors: {\n background: { value: \'#fdf2f8\', format: \'hex\', usage: \'semantic\' },\n primary: {\n value: \'oklch(0.72 0.11 221.19)\',\n format: \'oklch\',\n usage: \'semantic\',\n },\n },\n },\n modes: {\n dark: {\n tokens: {\n colors: {\n background: {\n value: \'oklch(0.24 0.03 255)\',\n format: \'oklch\',\n usage: \'semantic\',\n },\n primary: {\n value: \'oklch(0.64 0.15 246)\',\n format: \'oklch\',\n usage: \'semantic\',\n },\n },\n },\n },\n },\n});\n```\n\n`tokens` stays the default/light-compatible token bag. Use `modes.dark.tokens` to overlay dark-mode values and preserve full CSS color strings such as OKLCH.\n\nUse `validateThemeSpec()` or `assertThemeSpecValid()` in CI and setup flows to catch duplicate overrides, empty targets, self-referential inheritance, invalid mode keys, and missing ownership metadata before publish time.\n\n## Registry Usage\n\n```ts\nimport { ThemeRegistry } from \'@lssm/lib.contracts-spec/themes\';\n\nconst themes = new ThemeRegistry();\nthemes.register(PastelTheme);\n\nconst theme = themes.get(\'design.pastel\', \'1.0.0\');\nconst tenantVariant = theme?.overrides?.find(\n (override) => override.target === \'tenant:artisanos\'\n);\n```\n\nThe registry guarantees `key + version` uniqueness and exposes `list()` for discovery tooling.\n\n## Rendering\n\nThe design system consumes specs through adapters you provide:\n\n1. Resolve the base theme plus applicable overrides.\n2. Merge default tokens plus the selected light/dark mode token map using `ThemeTokens`.\n3. Feed the result into `mapTokensForPlatform` or the Tailwind bridge in `@lssm/lib.design-system`.\n\n```ts\nfunction resolveTokens(\n registry: ThemeRegistry,\n ref: ThemeRef,\n ctx: { tenant?: string; user?: string }\n) {\n const spec = registry.get(ref.key, ref.version);\n if (!spec) throw new Error(\'Theme not found\');\n\n const tokens = deepMerge(spec.tokens, collectOverrides(spec.overrides, ctx));\n return mapTokensForPlatform(tokens);\n}\n```\n\n## CLI\n\n```\ncontractspec create theme\n```\n\nUse the theme wizard to scaffold a `.theme.ts` file that already imports and calls `defineTheme(...)`.\n'}},{id:"docs.tech.contracts.visual-scenarios",exportName:"VisualScenarioSpecDocBlock",sourceModule:"visual-scenarios/spec",block:{id:"docs.tech.contracts.visual-scenarios",title:"Visual scenario contracts",summary:"Provider-neutral, deterministic UI cases linked to React presentations.",kind:"reference",visibility:"public",route:"/docs/tech/contracts/visual-scenarios",tags:["contracts","presentations","visual-testing"],body:"# Visual scenario contracts\n\nVisual scenarios describe named, deterministic UI cases independently of Storybook or any visual-diff provider. Each scenario references a React presentation and a stable product surface. Args, globals, and parameters remain JSON-compatible and may contain nested `{ $binding: string }` references resolved by a host-owned binding registry. Non-serializable components, decorators, setup hooks, and interactions are referenced by package-owned binding names.\n\nEvery scenario classifies captured data as `synthetic` or `sanitized`. A snapshot policy with `publish: true` is valid only when `capture.external` is explicitly `true`; omission always fails closed. Modes and render bindings are references and must resolve when their registries are supplied to validation.\n"}},{id:"docs.tech.contracts.visualizations.graph",exportName:"tech_contracts_visualizations_graph_DocBlocks",sourceModule:"visualizations/types",block:{id:"docs.tech.contracts.visualizations.graph",title:"Graph & Timeline Visualization Configs",summary:"`GraphVisualizationConfig` and `TimelineVisualizationConfig` extend `VisualizationKind` with `graph` and `timeline` variants for aggregated graph analytics (node-count by dimension, edge-weight measure) and time-axis projections (time dimension + measure series).",kind:"reference",visibility:"public",route:"/docs/tech/contracts/visualizations/graph",tags:["tech","contracts","visualizations","graph","timeline"],body:"# Graph & Timeline Visualization Configs\n\n## GraphVisualizationConfig (`kind: 'graph'`)\n\nAggregated graph analytics view. Use when you want to visualize node\npopulations grouped by a dimension, or edge weights as a measure — not\ninteractive graph topology (use `DataViewGraphSpec` for that).\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `nodeDimension` | `string?` | Dimension key to group/color nodes (e.g. type, status). |\n| `edgeWeightMeasure` | `string?` | Measure key representing edge weight or count. |\n| `layout` | `'force' | 'dag' | 'radial' | 'grid'?` | Default layout algorithm. |\n\n## TimelineVisualizationConfig (`kind: 'timeline'`)\n\nProjects records along a time axis. Use for event/activity charts where the\ngoal is aggregate density or value over time — not interactive graph topology.\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `timeDimension` | `string` | **Required.** Dimension key holding the time value. |\n| `laneDimension` | `string?` | Dimension key for grouping swim-lanes. |\n| `measureSeries` | `string[]?` | Measure keys to render as overlaid chart series. |\n| `endDimension` | `string?` | End-time dimension for span/interval events. |\n\n## Choosing Between VisualizationSpec and DataViewGraphSpec\n\n- Use `VisualizationSpec` with `kind: 'graph' | 'timeline'` for **aggregated\n analytics** (e.g., charts, dashboards).\n- Use `DataViewGraphSpec` with `view.kind: 'graph' | 'timeline-graph'` for\n **interactive graph topology** (clickable nodes, editable edges, layout\n algorithms, node inspector panels).\n"}},{id:"docs.tech.contracts.workspace-config",exportName:"tech_workspace_config_DocBlocks",sourceModule:"workspace-config/index",block:{id:"docs.tech.contracts.workspace-config",title:"Workspace Configuration (.contractsrc)",summary:"Configuration-as-code conventions for ContractSpec workspaces (`.contractsrc.json`).",kind:"reference",visibility:"public",route:"/docs/tech/contracts/workspace-config",tags:["tech","contracts","config"],body:"## Workspace Configuration (.contractsrc)\n\nContractSpec uses a hierarchical configuration system anchored by `.contractsrc.json` files. Configuration loader supports standard rc-file discovery (cosmiconfig).\n\n### Schema Formats\n\nThe `schemaFormat` option controls the output format of schema generation commands (like `contractspec openapi import`).\n\nSupported formats:\n- `contractspec` (default): Generates standard `defineSchemaModel` code.\n- `zod`: Generates raw Zod schemas using `z.object({...})`.\n- `json-schema`: Generates JSON Schema definitions.\n- `graphql`: Generates GraphQL SDL type definitions.\n\n### Config Interface\n\n```ts\nexport interface ContractsrcConfig {\n // ... existing fields ...\n schemaFormat?: 'contractspec' | 'zod' | 'json-schema' | 'graphql';\n}\n```\n\nDefined in `@lssm/lib.contracts-spec/workspace-config`.\n\n### CI Package Declaration Coverage\n\nThe `ci.packageDeclarations` section lets workspaces stage package-level contract declaration enforcement across the monorepo.\n\n```ts\nexport interface ContractsrcConfig {\n ci?: {\n packageDeclarations?: {\n severity?: 'off' | 'warning' | 'error';\n requiredByKind?: {\n libs?: 'feature';\n modules?: 'feature';\n integrations?: 'integration';\n bundles?: 'module-bundle';\n apps?: 'app-config';\n appsRegistry?: 'app-config';\n examples?: 'example';\n };\n allowMissing?: string[];\n };\n };\n}\n```\n\n### Connect\n\nThe `connect` section configures ContractSpec Connect as a codebase-aligned adapter layer inside the existing CLI and runtime stack.\n\n```ts\nexport interface ContractsrcConfig {\n connect?: {\n enabled?: boolean;\n adapters?: {\n cursor?: { enabled?: boolean; mode?: 'plugin' | 'rule' | 'wrapper' };\n codex?: { enabled?: boolean; mode?: 'plugin' | 'rule' | 'wrapper' };\n 'claude-code'?: { enabled?: boolean; mode?: 'plugin' | 'rule' | 'wrapper' };\n };\n storage?: {\n root?: string;\n contextPack?: string;\n planPacket?: string;\n patchVerdict?: string;\n auditFile?: string;\n reviewPacketsDir?: string;\n };\n policy?: {\n protectedPaths?: string[];\n immutablePaths?: string[];\n generatedPaths?: string[];\n smokeChecks?: string[];\n reviewThresholds?: {\n protectedPathWrite?: 'permit' | 'rewrite' | 'require_review' | 'deny';\n unknownImpact?: 'permit' | 'rewrite' | 'require_review' | 'deny';\n contractDrift?: 'permit' | 'rewrite' | 'require_review' | 'deny';\n breakingChange?: 'permit' | 'rewrite' | 'require_review' | 'deny';\n destructiveCommand?: 'permit' | 'rewrite' | 'require_review' | 'deny';\n };\n };\n commands?: {\n allow?: string[];\n review?: string[];\n deny?: string[];\n };\n canonPacks?: Array<{ ref: string; readOnly?: boolean }>;\n studio?: { enabled?: boolean; mode?: 'off' | 'review-bridge'; endpoint?: string; queue?: string };\n adoption?: {\n enabled?: boolean;\n catalog?: {\n indexPath?: string;\n overrideManifestPath?: string;\n };\n workspaceScan?: {\n include?: string[];\n exclude?: string[];\n };\n families?: {\n ui?: boolean;\n contracts?: boolean;\n integrations?: boolean;\n runtime?: boolean;\n sharedLibs?: boolean;\n solutions?: boolean;\n };\n thresholds?: {\n workspaceReuse?: 'permit' | 'rewrite' | 'require_review' | 'deny';\n contractspecReuse?: 'permit' | 'rewrite' | 'require_review' | 'deny';\n ambiguous?: 'permit' | 'rewrite' | 'require_review' | 'deny';\n newExternalDependency?: 'permit' | 'rewrite' | 'require_review' | 'deny';\n newImplementation?: 'permit' | 'rewrite' | 'require_review' | 'deny';\n };\n };\n };\n}\n```\n\n### Builder\n\nThe `builder` section configures preset-driven Builder onboarding without requiring live bootstrap during setup.\n\n```ts\nexport interface ContractsrcConfig {\n builder?: {\n enabled?: boolean;\n runtimeMode?: 'managed' | 'local' | 'hybrid';\n bootstrapPreset?: 'managed_mvp' | 'local_daemon_mvp' | 'hybrid_mvp';\n api?: {\n baseUrl?: string;\n controlPlaneTokenEnvVar?: string;\n };\n localRuntime?: {\n runtimeId?: string;\n grantedTo?: string;\n providerIds?: string[];\n };\n };\n}\n```\n\n### LSSM OS\n\nThe optional `lssmOs` V1 section carries provider-neutral goals, contract\nreferences, workload envelopes, provider restrictions, exact minor-unit budgets,\nautonomy, infrastructure ownership, credential references, and evidence profiles.\nProvider-specific extensions are typed JSON escape hatches and reject raw secret\nfields recursively.\n\nScoped policy layers resolve deterministically in this order: platform,\norganization, workspace, environment, deployable, feature, operation, tenant.\nChildren may only tighten inherited constraints. A relaxation requires an\napproved, exact-path, exact-scope, unexpired waiver; inherited immutable rules\ncannot be waived.\n\nUse `resolveLssmOsConfigV1(config, now)` to produce a deterministic policy\nprojection and the exact scopes and waiver identifiers used by the resolution.\n"}},{id:"docs.tech.creative-intelligence.events",exportName:"CreativeIntelligenceEventsDocBlock",sourceModule:"creative-intelligence/events",block:{id:"docs.tech.creative-intelligence.events",title:"Creative intelligence events",summary:"Lifecycle events for signals, trends, hypotheses, outcomes, and benchmarks.",kind:"reference",visibility:"public",route:"/docs/tech/creative-intelligence/events",tags:["creative-intelligence","trends","evidence","benchmarks","events"],body:`# Creative intelligence events
2747
+
2748
+ Events retain evidence and causal boundaries without granting campaign authority.`}},{id:"docs.tech.creative-intelligence.operations",exportName:"CreativeIntelligenceOperationsDocBlock",sourceModule:"creative-intelligence/operations",block:{id:"docs.tech.creative-intelligence.operations",title:"Creative intelligence operations",summary:"Evidence-backed trend, hypothesis, outcome, and benchmark operations.",kind:"reference",visibility:"public",route:"/docs/tech/creative-intelligence/operations",tags:["creative-intelligence","trends","evidence","benchmarks"],body:`# Creative intelligence operations
2749
+
2750
+ Public-source and owned-performance evidence may produce bounded hypotheses.
2751
+ Missing metrics remain missing, causal claims stay explicit, and generated
2752
+ suggestions never activate campaigns or select creators.
2753
+ `}},{id:"docs.tech.creator-operations",exportName:"CreatorOperationsDocBlock",sourceModule:"creator-operations/operations",block:{id:"docs.tech.creator-operations",title:"Canonical creator operations",summary:"Reusable creator campaigns, immutable agreements, submission review and exact wallet settlement.",visibility:"public",kind:"reference",route:"/docs/tech/creator-operations",tags:["creators","marketing","payments"],body:`# Canonical creator operations
2754
+
2755
+ The creator-operations subpath owns provider-neutral creator business contracts.
2756
+ lib.creator-operations-runtime implements campaign transitions, immutable acceptance,
2757
+ submission review, incremental cumulative accrual, wallet reservations and settlement.
2758
+ integration.creator-persistence provides transactional SQL state and immutable history.
2759
+ module.creator-operations binds eleven operations into the shared REST/MCP registry.
2760
+
2761
+ Money has explicit currency/scale. Accepted terms and ledger credits are immutable.
2762
+ Repeated view observations pay only the newly earned difference. Exact tiered CPM
2763
+ arithmetic is compared against Hirly's source, while application migration remains
2764
+ unqualified. Unknown transfers keep reservations until definitive reconciliation.
2765
+
2766
+ provider-payments/creator-settlement adapts existing Stripe/PayPal marketplace
2767
+ capabilities and verified manual evidence. Minor-unit conversion rejects fractional
2768
+ or out-of-range values. Qualified host bindings authorize exact recipients, amount,
2769
+ tenant/workspace and account; package presence does not grant payment authority.
2770
+
2771
+ The September 2026 ownership amendment permits reusable business engines without
2772
+ sharing application databases. Existing Hirly operations remain unchanged until an
2773
+ explicit adapter migration. Manager, training and other creator features remain in
2774
+ the full parity program rather than being certified by these financial tests.
2775
+ `}},{id:"docs.tech.database.context",exportName:"DatabaseContextDocBlock",sourceModule:"database/capabilities/databaseContext.capability",block:{id:"docs.tech.database.context",title:"Database context",summary:"Schema, migrations, dictionary, read-only query, and governed mutation surfaces.",kind:"reference",visibility:"public",route:"/docs/tech/database/context",tags:["database","context"],body:`# Database context
2776
+
2777
+ Database context covers portable schema descriptions, migration artifact provenance, data dictionary entries, governed read-only access, and governed mutation planning/execution envelopes.
2778
+ `}},{id:"docs.tech.database.dictionary.get",exportName:"DatabaseDictionaryGetDocBlock",sourceModule:"database/queries/databaseDictionaryGet.query",block:{id:"docs.tech.database.dictionary.get",title:"Get data dictionary entry",summary:"Retrieve a dictionary entry for a schema field.",kind:"reference",visibility:"public",route:"/docs/tech/database/dictionary/get",tags:["database","dictionary"],body:`# database.dictionary.get
2779
+
2780
+ Returns semantic descriptions, PII tags, and portable field-to-column references for database fields.
2781
+ `}},{id:"docs.tech.database.migrations.list",exportName:"DatabaseMigrationsListDocBlock",sourceModule:"database/queries/databaseMigrationsList.query",block:{id:"docs.tech.database.migrations.list",title:"List database migrations",summary:"List migration history for a database.",kind:"reference",visibility:"public",route:"/docs/tech/database/migrations/list",tags:["database","migrations"],body:`# database.migrations.list
2782
+
2783
+ Returns migration registry entries, statuses, target dialects, and generated artifact provenance for auditability.
2784
+ `}},{id:"docs.tech.database.mutation.execute",exportName:"DatabaseMutationExecuteDocBlock",sourceModule:"database/commands/databaseMutationExecute.command",block:{id:"docs.tech.database.mutation.execute",title:"Governed database mutation execution",summary:"Execute a pre-planned database mutation through a provider adapter with audit, idempotency, and transaction evidence.",kind:"reference",visibility:"public",route:"/docs/tech/database/mutation/execute",tags:["database","mutation","execute","governance"],body:`# database.mutation.execute
2785
+
2786
+ Executes a previously planned portable database mutation through a provider/integration binding. SQL and Drizzle rendering remain outside contracts-spec; this command only defines the governed contract envelope.
2787
+ `}},{id:"docs.tech.database.mutation.plan",exportName:"DatabaseMutationPlanDocBlock",sourceModule:"database/commands/databaseMutationPlan.command",block:{id:"docs.tech.database.mutation.plan",title:"Governed database mutation plan",summary:"Plan a portable database mutation with domain-command authority and governance evidence.",kind:"reference",visibility:"public",route:"/docs/tech/database/mutation/plan",tags:["database","mutation","governance"],body:`# database.mutation.plan
2788
+
2789
+ Plans portable database mutation intent without generating SQL or importing a provider runtime. Business-state writes must carry the owning domain command reference; generic mutations are reserved for bootstrap, admin, or infrastructure cases and cannot bypass domain invariants.
2790
+ `}},{id:"docs.tech.database.query.readonly",exportName:"DatabaseQueryReadonlyDocBlock",sourceModule:"database/queries/databaseQueryReadonly.query",block:{id:"docs.tech.database.query.readonly",title:"Read-only data query",summary:"Perform a governed read-only query via data views.",kind:"reference",visibility:"public",route:"/docs/tech/database/query/readonly",tags:["database","query","readonly"],body:`# database.query.readonly
2791
+
2792
+ Executes read-only data access using governed data views over the portable database context with policy and redaction.
2793
+ `}},{id:"docs.tech.database.query.relational",exportName:"DatabaseRelationalQueryDocBlock",sourceModule:"database/queries/databaseRelationalQuery.query",block:{id:"docs.tech.database.query.relational",title:"Governed relational read",summary:"Perform a governed relational read that nests FK children per root row.",kind:"reference",visibility:"public",route:"/docs/tech/database/query/relational",tags:["database","query","relational"],body:`# database.query.relational
2794
+
2795
+ Executes a governed relational read over the portable database context. The root
2796
+ resource selects its allowlisted columns and each declared relation is projected
2797
+ as a nested children array via a fail-closed parent→child join. Mirrors the
2798
+ provider-database \`GovernedRelationalReadDescriptor\` builder (eq-only filters,
2799
+ identifier allowlisting). Additive to \`database.query.readonly\`; it never
2800
+ mutates state and returns a \`QueryResultEnvelope\`-shaped result.
2801
+ `}},{id:"docs.tech.database.schema.describe",exportName:"DatabaseSchemaDescribeDocBlock",sourceModule:"database/queries/databaseSchemaDescribe.query",block:{id:"docs.tech.database.schema.describe",title:"Describe database schema",summary:"Describe schemas and models with PII signals.",kind:"reference",visibility:"public",route:"/docs/tech/database/schema/describe",tags:["database","schema"],body:`# database.schema.describe
2802
+
2803
+ Returns portable database schema/entity summaries for agents and operators, with PostgreSQL target metadata when available.
2804
+ `}},{id:"docs.tech.database.schema.index",exportName:"DatabaseSchemasDataViewDocBlock",sourceModule:"database/views/databaseSchemas.dataView",block:{id:"docs.tech.database.schema.index",title:"Database schema index view",summary:"Data view for listing schemas and model counts.",kind:"reference",visibility:"public",route:"/docs/tech/database/schema/index",tags:["database","data-view"],body:`# database.schema.index
2805
+
2806
+ List view for database schemas and their metadata.
2807
+ `}},{id:"docs.tech.database.tables",exportName:"DatabaseTablesDocBlock",sourceModule:"database/tables/databaseTables",block:{id:"docs.tech.database.tables",title:"defineDatabaseTable — physical-table contracts",summary:"Spec-first declaration of physical tables (columns, PK, FK, tenantColumn).",kind:"reference",visibility:"public",route:"/docs/tech/database/tables",tags:["database","tables","schema","tenant"],body:"# defineDatabaseTable\n\nSpec-first physical-table contracts. Each `DatabaseTableSpec` declares columns\n(type/nullable/default), primary key, foreign-key relations, and the mandatory\n`tenantColumn` anchoring row-level tenant isolation.\n\nUse `defineUnscopedDatabaseTable` when a physical table has no intrinsic\ntenant column and authority is enforced through an owning relation or an\napplication-global boundary. RLS generators must omit these tables rather than\ninventing tenant authority. Text columns may declare `enumValues` so generated\nDrizzle models preserve the closed TypeScript vocabulary.\n\n- Declared as the `DatabaseTableSpecModel` `SchemaModel`; the TS shape is its\n Zod-inferred form.\n- `defineDatabaseTable(spec)` is fail-closed: it rejects a missing/empty\n `tenantColumn`, a `tenantColumn` absent from `columns`, and PK/FK columns\n that reference unknown columns.\n- `registerDatabaseTable`/`listDatabaseTables` expose the canonical registry\n that the Drizzle generator (F2) and relational read-model (F3) compile against.\n- `listPhysicalDatabaseTables` adds explicitly registered unscoped tables for\n consumers that need a complete typed query model.\n"}},{id:"docs.tech.docs-examples",exportName:"ExampleCatalogDocBlock",sourceModule:"docs/views/exampleCatalog.dataView",block:{id:"docs.tech.docs-examples",title:"Examples catalog",summary:"Document and surface example projects with sandbox support.",kind:"reference",visibility:"public",route:"/docs/tech/docs/examples",tags:["docs","examples"],body:`# Examples catalog
2808
+
2809
+ Examples are registered as ExampleSpecs and surface DocBlocks for discovery, templates, and sandbox entrypoints.
2810
+ `}},{id:"docs.tech.docs-generator",exportName:"DocsGenerateDocBlock",sourceModule:"docs/commands/docsGenerate.command",block:{id:"docs.tech.docs-generator",title:"Docs generator",summary:"Generate reference docs and metadata from ContractSpecs.",kind:"how",visibility:"public",route:"/docs/tech/docs/generator",tags:["docs","generator","cli"],body:`# Docs generator
2811
+
2812
+ The generator produces documentation artifacts, search metadata, and reference pages from ContractSpecs and DocBlocks.
2813
+ `}},{id:"docs.tech.docs-publish",exportName:"DocsPublishDocBlock",sourceModule:"docs/commands/docsPublish.command",block:{id:"docs.tech.docs-publish",title:"Docs publish",summary:"Publish generated artifacts to the docs host.",kind:"how",visibility:"public",route:"/docs/tech/docs/publish",tags:["docs","publish"],body:`# Docs publish
2814
+
2815
+ Publishing moves generated artifacts to a hosting target with versioning and release metadata.
2816
+ `}},{id:"docs.tech.docs-reference",exportName:"ContractReferenceDocBlock",sourceModule:"docs/queries/contractReference.query",block:{id:"docs.tech.docs-reference",title:"Contract reference pages",summary:"Resolve any spec into a docs-ready reference payload.",kind:"reference",visibility:"public",route:"/docs/tech/docs/reference",tags:["docs","reference"],body:`# Contract reference
2817
+
2818
+ Contract reference pages are generated from spec metadata plus schema details and exposed as a docs-ready payload.
2819
+ `}},{id:"docs.tech.docs-search",exportName:"DocsIndexDocBlock",sourceModule:"docs/queries/docsIndex.query",block:{id:"docs.tech.docs-search",title:"Docs index and search",summary:"Search DocBlocks by query, tag, kind, or visibility.",kind:"reference",visibility:"public",route:"/docs/tech/docs/search",tags:["docs","search"],body:`# Docs index and search
2820
+
2821
+ The docs index is the canonical list of DocBlocks exposed to UI, CLI, and MCP surfaces for filtering and retrieval.
2822
+ `}},{id:"docs.tech.docs-system",exportName:"DocsSystemDocBlock",sourceModule:"docs/docs.feature",block:{id:"docs.tech.docs-system",title:"Docs system overview",summary:"How ContractSpec generates, indexes, and presents documentation.",kind:"reference",visibility:"public",route:"/docs/tech/docs/system",tags:["docs","system","contracts"],body:`# Docs system overview
2823
+
2824
+ ContractSpec treats documentation as a first-class output of your specs. The docs system combines contracts, DocBlocks, manifests, and presentations into a consistent docs surface.
2825
+ `}},{id:"docs.tech.graph.cluster",exportName:"GraphClusterDocBlock",sourceModule:"agent/commands/graphOps.command",block:{id:"docs.tech.graph.cluster",title:"graph.cluster — NL cluster grouping",summary:"Generates cluster groupings with labels from a NL strategy query. Budget: 1 500 in / 400 out / $0.011.",kind:"reference",visibility:"public",route:"/docs/tech/graph/cluster",tags:["automation","agent","execution","graph","ai","nlq","m3"],body:`# graph.cluster
2826
+
2827
+ Groups graph nodes into labelled clusters based on a natural-language
2828
+ clustering strategy (e.g., "group by team ownership", "cluster by data flow").
2829
+
2830
+ ## Output shape
2831
+ \`clusters: Array<{ id, label, nodeIds, color? }>\`
2832
+
2833
+ ## Budget (\`m3-p0-ai-cost-ceiling.md\`)
2834
+ maxInputTokens=1 500 · maxOutputTokens=400 · hardCapUsd=$0.011`}},{id:"docs.tech.graph.compose",exportName:"GraphComposeDocBlock",sourceModule:"agent/commands/graphCompose.command",block:{id:"docs.tech.graph.compose",title:"graph.compose — build a graph from a NL spec",summary:"Generates a GraphConstruction[] mutation sequence from a natural-language description. Supports dry-run preview. Budget: 2 500 in / 1 200 out / $0.030.",kind:"reference",visibility:"public",route:"/docs/tech/graph/compose",tags:["automation","agent","execution","graph","ai","compose","generation","m5"],body:'# graph.compose\n\nTranslates a natural-language description into a `GraphConstruction[]` mutation\nsequence that the graph runtime can apply to create or extend a graph.\n\n## Construction types\n\n### `create_node`\n```json\n{ "type": "create_node", "nodeId": "n1", "label": "Build", "kind": "task", "metadata": {} }\n```\n\n### `create_edge`\n```json\n{ "type": "create_edge", "edgeId": "e1", "from": "n1", "to": "n2", "label": "triggers", "kind": "flow" }\n```\n\n### `set_metadata`\n```json\n{ "type": "set_metadata", "nodeId": "n1", "metadata": { "owner": "ci-team" } }\n```\n\n## Style hints\n\n- `workflow` — linear/branching task sequence\n- `sequence` — time-ordered event chain\n- `hierarchy` — parent/child containment tree\n- `dependency` — directed dependency graph\n- `freeform` — no structural bias (default)\n\n## Dry run\n\nPass `dryRun: true` to preview the construction without applying it.\n`applied` is `false` in the response; no state is mutated.\n\n## Budget (M5 P2/W2.3)\nmaxInputTokens=2 500 · maxOutputTokens=1 200 · hardCapUsd=$0.030'}},{id:"docs.tech.graph.edit",exportName:"GraphEditDocBlock",sourceModule:"agent/commands/graphEdit.command",block:{id:"docs.tech.graph.edit",title:"graph.edit — LLM-driven node/edge mutations",summary:"Single command for all structural graph mutations (add/remove/rename node, add/remove edge, edit metadata). Per-call budget: 1 500 in / 500 out / $0.025. Requires confirmation token for destructive ops.",kind:"reference",visibility:"public",route:"/docs/tech/graph/edit",tags:["automation","agent","execution","graph","ai","edit","mutation","m5"],body:`# graph.edit
2835
+
2836
+ Executes a batch of structural graph mutations in a single LLM tool call.
2837
+
2838
+ ## Supported ops (discriminated by \`type\`)
2839
+
2840
+ | type | Description |
2841
+ |---|---|
2842
+ | \`add_node\` | Insert node (id, label?, kind?, metadata?) |
2843
+ | \`remove_node\` | Delete node + all incident edges |
2844
+ | \`rename_node\` | Update node label |
2845
+ | \`edit_metadata\` | Patch metadata on node or edge |
2846
+ | \`add_edge\` | Insert directed edge (id, from, to, label?, kind?) |
2847
+ | \`remove_edge\` | Delete edge |
2848
+
2849
+ Max **20 ops per call** to stay within the token budget.
2850
+
2851
+ ## Confirmation requirement
2852
+
2853
+ Destructive ops (\`remove_node\`, \`remove_edge\`) require a \`confirmationToken\`
2854
+ issued by the AI suggestion confirmation UX (W7.4). The command returns
2855
+ \`CONFIRMATION_REQUIRED\` (403) when the token is absent or invalid.
2856
+
2857
+ ## Budget (M5 P2/W2.1)
2858
+ maxInputTokens=1 500 · maxOutputTokens=500 · hardCapUsd=$0.025`}},{id:"docs.tech.graph.filter",exportName:"GraphFilterDocBlock",sourceModule:"agent/commands/graphOps.command",block:{id:"docs.tech.graph.filter",title:"graph.filter — NL filter generation",summary:"Translates a NL query into a GraphFilterSpec for the filter rack. Budget: 1 200 in / 300 out / $0.008.",kind:"reference",visibility:"public",route:"/docs/tech/graph/filter",tags:["automation","agent","execution","graph","ai","nlq","m3"],body:`# graph.filter
2859
+
2860
+ Translates a natural-language filter request into a \`GraphFilterSpec\`
2861
+ JSON that the filter rack can apply directly.
2862
+
2863
+ ## Budget (\`m3-p0-ai-cost-ceiling.md\`)
2864
+ maxInputTokens=1 200 · maxOutputTokens=300 · hardCapUsd=$0.008`}},{id:"docs.tech.graph.refactor",exportName:"GraphRefactorDocBlock",sourceModule:"agent/commands/graphRefactor.command",block:{id:"docs.tech.graph.refactor",title:"graph.refactor — pattern-level graph transformations",summary:"Four structural refactoring ops: rename-by-pattern, extract-subgraph, merge-nodes, split-node. Supports dryRun preview. Budget: 2 000 in / 600 out / $0.035.",kind:"reference",visibility:"public",route:"/docs/tech/graph/refactor",tags:["automation","agent","execution","graph","ai","refactor","pattern","m5"],body:'# graph.refactor\n\nApplies a single pattern-level structural transformation to a graph. Choose the\noperation type via `operation.type`.\n\n## Supported operations\n\n### `rename_by_pattern`\nRenames node/edge labels matching a JS regex pattern.\n`scope`: `"nodes"` | `"edges"` | `"both"`.\n\n### `extract_subgraph`\nMoves specified nodes (and edges between them) into a new sub-graph.\nCross-boundary edges are preserved as stubs. Returns `resultGraphId`.\n\n### `merge_nodes`\nCollapses `sourceNodeIds` into `targetNodeId`.\n`strategy`: `"union"` (all edges kept) | `"intersect"` (shared edges only).\n\n### `split_node`\nExpands one node into multiple partitions. Edges re-distributed by kind affinity.\n\n## Dry run\n\nPass `dryRun: true` to preview the diff without mutating state.\nThe `preview` field in the output is always populated; `applied` is `false`.\n\n## Budget (M5 P2/W2.2)\nmaxInputTokens=2 000 · maxOutputTokens=600 · hardCapUsd=$0.035'}},{id:"docs.tech.graph.search",exportName:"GraphSearchDocBlock",sourceModule:"agent/commands/graphOps.command",block:{id:"docs.tech.graph.search",title:"graph.search — NL node search",summary:"Natural-language graph search returning ranked node/edge IDs and an optional viewport suggestion. Budget: 1 000 in / 200 out / $0.005.",kind:"reference",visibility:"public",route:"/docs/tech/graph/search",tags:["automation","agent","execution","graph","ai","nlq","m3"],body:"# graph.search\n\nTranslates a natural-language query into ranked `nodeIds` and `edgeIds`.\nAlso returns an optional viewport suggestion `{ centerX, centerY, zoom }`\nthe canvas can animate to.\n\n## Budget (`m3-p0-ai-cost-ceiling.md`)\nmaxInputTokens=1 000 · maxOutputTokens=200 · hardCapUsd=$0.005"}},{id:"docs.tech.graph.suggest",exportName:"GraphSuggestDocBlock",sourceModule:"agent/commands/graphOps.command",block:{id:"docs.tech.graph.suggest",title:"graph.suggest — AI graph-edit suggestions",summary:"Ranked read-only graph-edit suggestions. Mutations require explicit user confirmation. Budget: 2 000 in / 800 out / $0.020.",kind:"reference",visibility:"public",route:"/docs/tech/graph/suggest",tags:["automation","agent","execution","graph","ai","nlq","m3"],body:`# graph.suggest
2865
+
2866
+ Returns ranked suggestions for graph edits based on a natural-language request.
2867
+
2868
+ **Read-only**: suggestions are never auto-applied. Each must be confirmed via
2869
+ the AI suggestion confirmation UX (W7.4) before any mutation occurs.
2870
+
2871
+ ## Output shape
2872
+ \`suggestions: Array<{ id, label, description, confidence, action }>\`
2873
+
2874
+ ## Truncation
2875
+ Output >800 tokens is halted mid-stream; \`truncated: true\` is returned.
2876
+ Users may request expansion.
2877
+
2878
+ ## Budget (\`m3-p0-ai-cost-ceiling.md\`)
2879
+ maxInputTokens=2 000 · maxOutputTokens=800 · hardCapUsd=$0.020`}},{id:"docs.tech.graph.suggest-evolution",exportName:"GraphSuggestEvolutionDocBlock",sourceModule:"agent/commands/graphSuggestEvolution.command",block:{id:"docs.tech.graph.suggest-evolution",title:"graph.suggest_evolution — proactive graph evolution suggestions",summary:"Ranks structural and semantic improvement suggestions for a graph: missing reviewer, missing retry, weak path, isolated node, naming inconsistency, missing feedback loop, circular dependency, high fan-out. Budget: 2 500 in / 1 000 out / $0.028.",kind:"reference",visibility:"public",route:"/docs/tech/graph/suggest-evolution",tags:["automation","agent","execution","graph","ai","evolution","suggestions","m5"],body:`# graph.suggest_evolution
2880
+
2881
+ Analyses the current graph and returns ranked proactive improvement suggestions.
2882
+ Suggestions are **read-only** — nothing is applied automatically.
2883
+
2884
+ ## Suggestion kinds
2885
+
2886
+ | kind | Description |
2887
+ |---|---|
2888
+ | \`missing_reviewer\` | A node or flow has no assigned reviewer / approval step |
2889
+ | \`missing_retry\` | An error path has no retry or back-off edge |
2890
+ | \`weak_path\` | A critical path has only one route (no redundancy) |
2891
+ | \`isolated_node\` | A node has neither incoming nor outgoing edges |
2892
+ | \`naming_inconsistency\` | Labels diverge from the dominant naming style |
2893
+ | \`missing_feedback_loop\` | A workflow has no feedback or notification branch |
2894
+ | \`circular_dependency\` | A cycle exists that may indicate a design issue |
2895
+ | \`high_fan_out\` | A node has an unusually large number of outgoing edges |
2896
+
2897
+ ## focusArea
2898
+
2899
+ Narrow the scan to reduce cost and noise:
2900
+ - \`"reliability"\` — retry, redundancy, failure-path coverage
2901
+ - \`"coverage"\` — reviewer presence, approval steps, feedback loops
2902
+ - \`"connectivity"\` — isolated nodes, weak paths, high fan-out
2903
+ - \`"naming"\` — label consistency
2904
+ - \`"all"\` — full scan (default)
2905
+
2906
+ ## Acting on suggestions
2907
+
2908
+ Each suggestion includes a \`suggestedFix\` string.
2909
+ Pass that text back to \`graph.edit\` or \`graph.compose\` to apply the fix
2910
+ after confirming through the AI suggestion UX (W7.4).
2911
+
2912
+ ## Budget (M5 P2/W2.4)
2913
+ maxInputTokens=2 500 · maxOutputTokens=1 000 · hardCapUsd=$0.028`}},{id:"docs.tech.observability.database-signals",exportName:"DatabaseSignalsDocBlock",sourceModule:"observability/database-signals",block:{id:"docs.tech.observability.database-signals",title:"Database observability signals",summary:"Canonical database.query / database.mutation duration signals (ms).",kind:"reference",visibility:"public",route:"/docs/tech/observability/database-signals",tags:["observability","signals","database","latency"],body:"# Database signals\n\nCanonical observability signals for governed database access.\n\n- `database.query` — governed read duration metric (`ms`).\n- `database.mutation` — governed write duration metric (`ms`).\n\nBoth ids are stable, locale-free machine strings and reference canonical\ndimension ids only (`tenant.ref`, `database.table`, `database.operation`,\n`database.dialect`). Construct/validate via `defineSignal`.\n"}},{id:"docs.tech.observability.evidence-record",exportName:"EvidenceRecordDocBlock",sourceModule:"observability/evidence-record",block:{id:"docs.tech.observability.evidence-record",title:"EvidenceRecord — persisted signal evidence envelope",summary:"Type-only persisted envelope for observed signals; tenantId is the raw RLS key.",kind:"reference",visibility:"public",route:"/docs/tech/observability/evidence-record",tags:["observability","evidence","cost","usage","tenancy"],body:"# EvidenceRecord\n\nThe persisted envelope for a single observed signal — the shared spine consumed\nby observability and billing.\n\n- Declared as the `EvidenceRecordModel` `SchemaModel`; `EvidenceRecord` is its\n Zod-inferred TS shape.\n- `tenantId` is stored **raw**, never hashed: it is the row-level-security key.\n- `idempotencyKey` and `occurredAt` are required (at-least-once dedupe + time).\n- `value` or `quantities` carries the payload; `cost`/`usage` signals attach\n `SignalCostEvidence`.\n- `redactionRef` points at the redaction policy applied to payload values.\n\nThis module is type-only + a validator. Persistence/DB wiring lives in the app\nadapter, not here.\n"}},{id:"docs.tech.observability.signal-spec",exportName:"SignalSpecDocBlock",sourceModule:"observability/signal-spec",block:{id:"docs.tech.observability.signal-spec",title:"SignalSpec — observability/cost/usage signal declarations",summary:"Canonical, locale-free declaration layer for metric/trace/cost/usage signals.",kind:"reference",visibility:"public",route:"/docs/tech/observability/signal-spec",tags:["observability","signals","cost","usage","i18n"],body:"# SignalSpec\n\nThe typed declaration layer for all observability/cost/usage signals. One spine,\ntwo consumers: observability (metric/trace) and billing (cost/usage).\n\n- Declared as the `SignalSpecModel` `SchemaModel`; `SignalSpec` is its\n Zod-inferred TS shape.\n- `id` and `dimensions` are stable machine strings — never localized, never\n locale-suffixed (enforced by `i18n/no-localized-machine-contracts` and by\n `defineSignal` validation).\n- `dimensions` reuse canonical semantic dimension ids from the analytics layer.\n- `costModelVersion` and `redactionPolicyRef` are optional refs consumed by the\n billing/evidence pipeline.\n\nUse `defineSignal(spec)` to construct a validated `SignalSpec`.\n"}},{id:"docs.tech.osint.job-source-acquisition-routing",exportName:"JobSourceAcquisitionRoutingDocBlock",sourceModule:"osint/job-sources",block:{id:"docs.tech.osint.job-source-acquisition-routing",title:"Direct-first job source acquisition routing",summary:"Exact-plan direct acquisition with qualified, policy-bound provider escalation and append-only attempt evidence.",kind:"reference",visibility:"public",route:"/docs/tech/osint/job-source-acquisition-routing",tags:["osint","jobs","acquisition","routing","evidence"],relatedSpecs:["osint.source.sync","osint.source.revalidate.governed"],body:`# Direct-first job source acquisition routing
2914
+
2915
+ Every acquisition plan starts with credential-free direct fetch. A later route
2916
+ may execute only when it has an opaque qualified connection reference and the
2917
+ preceding failure is explicitly classified as safe to escalate. Authentication,
2918
+ policy, source-restriction, rate-limit, cancellation, and ambiguous failures do
2919
+ not rotate providers. Every attempt binds the immutable plan, request digest,
2920
+ route, timestamps, evidence, and selected result for exact replay.
2921
+ The complete execution receipt is persisted with the immutable source snapshot.
2922
+ `}},{id:"docs.tech.osint.job-source-live-qualification",exportName:"JobSourceLiveQualificationDocBlock",sourceModule:"osint/job-sources",block:{id:"docs.tech.osint.job-source-live-qualification",title:"Job source live qualification receipts",summary:"Exact-release, scope-, installation-, policy-, request-, response-, and evidence-bound live qualification without promoting fixtures.",kind:"reference",visibility:"public",route:"/docs/tech/osint/job-source-live-qualification",tags:["osint","jobs","qualification","evidence"],relatedSpecs:["osint.source.qualify.governed","osint.source.revalidate.governed"],body:`# Job source live qualification receipts
2923
+
2924
+ Live qualification is separate from deterministic fixtures. A passed receipt
2925
+ binds the exact release SHA, complete OSINT scope, source capability,
2926
+ installation and policy authorization fingerprints, request and response
2927
+ digests, immutable evidence, and observation window. Account- or
2928
+ permission-gated support remains blocked until an authorized live receipt is
2929
+ present. Unsupported capabilities cannot be promoted by a receipt.
2930
+ `}},{id:"docs.tech.osint.operational-recovery",exportName:"OsintOperationalRecoveryDocBlock",sourceModule:"osint/operational-contracts",block:{id:"docs.tech.osint.operational-recovery",title:"Governed OSINT Operational Recovery",summary:"Revision-, attempt-, authority-, evidence-, and fingerprint-bound recovery for dead letters, webhook deliveries, and job listing reconciliation.",kind:"reference",visibility:"public",route:"/docs/tech/osint/operational-recovery",tags:["osint","dead-letter","webhook","jobs","replay"],relatedSpecs:["osint.dead_letter.list","osint.dead_letter.replay","osint.webhook.delivery.status","osint.webhook.delivery.replay","osint.job.listing.revalidate","osint.job.listing.closure.reconcile"],body:`# Governed OSINT Operational Recovery
2931
+
2932
+ Operator recovery is fail-closed. Mutations bind the complete deployment scope,
2933
+ an idempotency key, the exact canonical revision and delivery or work attempt,
2934
+ authority and policy fingerprints, the public contract fingerprint, and
2935
+ authorized evidence. A stale replay or reconciliation request cannot silently
2936
+ repeat an effect. Job closure additionally requires explicit closure evidence,
2937
+ or repeated successful scans plus a direct detail recheck; a failed crawl is
2938
+ never closure evidence.
2939
+ `}},{id:"docs.tech.osint.rights-lifecycle",exportName:"OsintRightsLifecycleDocBlock",sourceModule:"osint/rights-contracts",block:{id:"docs.tech.osint.rights-lifecycle",title:"Governed OSINT Subject Rights",summary:"Effect-free admission and evidence-, revision-, policy-, deletion-, and replay-bound subject-rights processing.",kind:"reference",visibility:"public",route:"/docs/tech/osint/rights-lifecycle",tags:["osint","privacy","rights","deletion","governance"],relatedSpecs:["osint.rights.submit","osint.rights.get","osint.rights.list","osint.rights.verify","osint.rights.decide","osint.rights.complete"],body:`# Governed OSINT Subject Rights
2940
+
2941
+ Submission records a received request and has no suppression or deletion
2942
+ effect. Verification and decision are separate revision-fenced operations.
2943
+ Only an approved deletion-class decision may create monotonic suppression and
2944
+ explicit derived-destination work. Every transition binds evidence, actor,
2945
+ policy decision, operation request digest, contract fingerprint, and replay.
2946
+ `}},{id:"docs.tech.osint.source-lifecycle",exportName:"OsintSourceLifecycleDocBlock",sourceModule:"osint/lifecycle-contracts",block:{id:"docs.tech.osint.source-lifecycle",title:"Governed OSINT Source Lifecycle",summary:"Contract-first authority, replay, lease, and evidence bindings for source qualification, activation, and revalidation.",kind:"reference",visibility:"public",route:"/docs/tech/osint/source-lifecycle",tags:["osint","source-lifecycle","governance","replay"],relatedSpecs:["osint.source.qualify.governed","osint.source.activate","osint.source.revalidate.governed","osint.source.quarantine","osint.source.retire"],body:`# Governed OSINT Source Lifecycle
2947
+
2948
+ Lifecycle mutations bind the authenticated actor, scoped overlay authority,
2949
+ policy decision, contract fingerprint, canonical request digest, revision,
2950
+ evidence, and bounded claim before any evaluator or persistence effect.
2951
+ The original generic qualify and revalidate V1 contracts remain available only
2952
+ as compatibility surfaces; durable workers use the governed operation keys.
2953
+ `}},{id:"docs.tech.provider-ranking.benchmark.custom.completed",exportName:"BenchmarkCustomCompletedDocBlock",sourceModule:"provider-ranking/events/benchmarkCustomCompleted.event",block:{id:"docs.tech.provider-ranking.benchmark.custom.completed",title:"Custom benchmark completed event",summary:"Emitted when a custom benchmark run finishes.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/benchmark/custom/completed",tags:["ai","ranking","event","custom"],body:`# provider-ranking.benchmark.custom.completed
2954
+
2955
+ Emitted when a custom evaluation run completes execution.
2956
+ `}},{id:"docs.tech.provider-ranking.benchmark.ingest",exportName:"BenchmarkIngestDocBlock",sourceModule:"provider-ranking/commands/benchmarkIngest.command",block:{id:"docs.tech.provider-ranking.benchmark.ingest",title:"Ingest benchmark data",summary:"Trigger ingestion of external benchmark data.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/benchmark/ingest",tags:["ai","ranking","ingest"],body:`# provider-ranking.benchmark.ingest
2957
+
2958
+ Imports and normalizes benchmark scores from external leaderboards.
2959
+ `}},{id:"docs.tech.provider-ranking.benchmark.ingest.form",exportName:"BenchmarkIngestFormDocBlock",sourceModule:"provider-ranking/forms/benchmarkIngest.form",block:{id:"docs.tech.provider-ranking.benchmark.ingest.form",title:"Benchmark ingest form",summary:"Form specification for triggering benchmark ingestion.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/benchmark/ingest/form",tags:["ai","ranking","form"],body:`# provider-ranking.benchmark.ingest.form
2960
+
2961
+ Form surface used by Studio to trigger benchmark data ingestion.
2962
+ `}},{id:"docs.tech.provider-ranking.benchmark.ingested",exportName:"BenchmarkIngestedDocBlock",sourceModule:"provider-ranking/events/benchmarkIngested.event",block:{id:"docs.tech.provider-ranking.benchmark.ingested",title:"Benchmark ingested event",summary:"Emitted after external benchmark data is ingested.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/benchmark/ingested",tags:["ai","ranking","event"],body:`# provider-ranking.benchmark.ingested
2963
+
2964
+ Emitted when external benchmark data is successfully imported and stored.
2965
+ `}},{id:"docs.tech.provider-ranking.benchmark.results.index",exportName:"BenchmarkResultsDataViewDocBlock",sourceModule:"provider-ranking/views/benchmarkResults.dataView",block:{id:"docs.tech.provider-ranking.benchmark.results.index",title:"Benchmark results view",summary:"Data view for raw benchmark results.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/benchmark/results/index",tags:["ai","ranking","data-view"],body:`# provider-ranking.benchmark.results.index
2966
+
2967
+ List view over individual benchmark data points from all sources.
2968
+ `}},{id:"docs.tech.provider-ranking.benchmark.results.list",exportName:"BenchmarkResultsListDocBlock",sourceModule:"provider-ranking/queries/benchmarkResultsList.query",block:{id:"docs.tech.provider-ranking.benchmark.results.list",title:"List benchmark results",summary:"List raw benchmark results.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/benchmark/results/list",tags:["ai","ranking","results"],body:`# provider-ranking.benchmark.results.list
2969
+
2970
+ Returns individual benchmark data points filterable by source, model, and dimension.
2971
+ `}},{id:"docs.tech.provider-ranking.benchmark.run-custom",exportName:"BenchmarkRunCustomDocBlock",sourceModule:"provider-ranking/commands/benchmarkRunCustom.command",block:{id:"docs.tech.provider-ranking.benchmark.run-custom",title:"Run custom benchmark",summary:"Launch a custom benchmark evaluation against a model.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/benchmark/run-custom",tags:["ai","ranking","custom","eval"],body:`# provider-ranking.benchmark.run-custom
2972
+
2973
+ Evaluates model performance using internal eval suites with configurable parameters.
2974
+ `}},{id:"docs.tech.provider-ranking.benchmark.run-custom.form",exportName:"BenchmarkRunCustomFormDocBlock",sourceModule:"provider-ranking/forms/benchmarkRunCustom.form",block:{id:"docs.tech.provider-ranking.benchmark.run-custom.form",title:"Custom benchmark form",summary:"Form specification for launching custom benchmarks.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/benchmark/run-custom/form",tags:["ai","ranking","form"],body:`# provider-ranking.benchmark.run-custom.form
2975
+
2976
+ Form surface used by Studio to launch custom benchmark evaluations.
2977
+ `}},{id:"docs.tech.provider-ranking.model.comparison",exportName:"ModelComparisonDocBlock",sourceModule:"provider-ranking/presentations/modelComparison.presentation",block:{id:"docs.tech.provider-ranking.model.comparison",title:"Model comparison presentation",summary:"Presentation spec for side-by-side model comparison.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/model/comparison",tags:["ai","ranking","presentation","comparison"],body:`# provider-ranking.model.comparison
2978
+
2979
+ Presentation surface for comparing two or more models across all ranking dimensions.
2980
+ `}},{id:"docs.tech.provider-ranking.model.profile.get",exportName:"ModelProfileGetDocBlock",sourceModule:"provider-ranking/queries/modelProfileGet.query",block:{id:"docs.tech.provider-ranking.model.profile.get",title:"Get model profile",summary:"Get detailed profile for a single model.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/model/profile/get",tags:["ai","ranking","model","profile"],body:`# provider-ranking.model.profile.get
2981
+
2982
+ Returns comprehensive model information including scores, metadata, cost, context window, and capabilities.
2983
+ `}},{id:"docs.tech.provider-ranking.ranking.get",exportName:"ProviderRankingGetDocBlock",sourceModule:"provider-ranking/queries/providerRankingGet.query",block:{id:"docs.tech.provider-ranking.ranking.get",title:"Get provider rankings",summary:"Get ranked list of providers and models.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/ranking/get",tags:["ai","ranking","leaderboard"],body:`# provider-ranking.ranking.get
2984
+
2985
+ Returns a paginated, filterable leaderboard of AI models ranked by composite or per-dimension scores.
2986
+ `}},{id:"docs.tech.provider-ranking.ranking.index",exportName:"ProviderRankingsDataViewDocBlock",sourceModule:"provider-ranking/views/providerRankings.dataView",block:{id:"docs.tech.provider-ranking.ranking.index",title:"Provider rankings view",summary:"Data view for the model leaderboard.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/ranking/index",tags:["ai","ranking","data-view"],body:`# provider-ranking.ranking.index
2987
+
2988
+ List view over ranked models with composite and per-dimension scores.
2989
+ `}},{id:"docs.tech.provider-ranking.ranking.refresh",exportName:"RankingRefreshDocBlock",sourceModule:"provider-ranking/commands/rankingRefresh.command",block:{id:"docs.tech.provider-ranking.ranking.refresh",title:"Refresh rankings",summary:"Recompute composite rankings from latest benchmark data.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/ranking/refresh",tags:["ai","ranking","refresh"],body:`# provider-ranking.ranking.refresh
2990
+
2991
+ Recomputes weighted composite scores across all dimensions and updates the leaderboard.
2992
+ `}},{id:"docs.tech.provider-ranking.ranking.updated",exportName:"RankingUpdatedDocBlock",sourceModule:"provider-ranking/events/rankingUpdated.event",block:{id:"docs.tech.provider-ranking.ranking.updated",title:"Ranking updated event",summary:"Emitted when composite rankings are recomputed.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/ranking/updated",tags:["ai","ranking","event"],body:`# provider-ranking.ranking.updated
2993
+
2994
+ Emitted when the leaderboard is refreshed with new composite scores.
2995
+ `}},{id:"docs.tech.provider-ranking.system",exportName:"ProviderRankingSystemDocBlock",sourceModule:"provider-ranking/provider-ranking.feature",block:{id:"docs.tech.provider-ranking.system",title:"AI Provider Ranking",summary:"Benchmark ingestion, scoring, and ranking for AI providers and models.",kind:"reference",visibility:"public",route:"/docs/tech/provider-ranking/system",tags:["ai","ranking","benchmark"],body:`# AI Provider Ranking
2996
+
2997
+ Defines the core operations, events, and UI surfaces for ingesting benchmark data, computing composite rankings, and comparing AI models across dimensions.
2998
+ `}},{id:"docs.tech.report-verification-table",exportName:"reportVerificationTableDocBlocks",sourceModule:"data-views/report/contractVerificationTable",block:{id:"docs.tech.report-verification-table",title:"Contract Verification Table",summary:"How the impact report renders per-contract verification status.",kind:"how",visibility:"public",route:"/docs/tech/report/verification-table",tags:["report","drift","verification","impact"],owners:["platform.core"],domain:"report",body:`# Contract Verification Table
2999
+
3000
+ The impact report includes an optional per-contract verification table that summarises the health of each contract at a glance.
3001
+
3002
+ ## Columns
3003
+
3004
+ | Column | Description |
3005
+ |--------|-------------|
3006
+ | Contract / Endpoint / Event | Fully qualified contract name (e.g. \`user.create\`) |
3007
+ | Drift debt | Number of mismatches currently detected |
3008
+ | Time since verified | Human-friendly elapsed time (e.g. "23 days") or "Never" |
3009
+ | Surfaces covered | Comma-separated list (API, runtime validation, UI form, docs/examples, permissions) |
3010
+ | Last verified commit | Short SHA of the last drift-free commit |
3011
+
3012
+ ## Data flow
3013
+
3014
+ 1. The drift detector produces per-contract mismatch counts.
3015
+ 2. \`.contractspec/verified.json\` records the last clean commit per contract.
3016
+ 3. The report script reads both sources and renders the Markdown table.
3017
+
3018
+ ## Backward compatibility
3019
+
3020
+ When \`contracts\` is absent from the report JSON, the table is skipped and the existing report sections render unchanged.
3021
+
3022
+ ## Contracts
3023
+
3024
+ - Query: \`report.getContractVerificationStatus\` (v1.0.0)
3025
+ - Data view: \`report.contractVerificationTable\` (v1.0.0)
3026
+ `}},{id:"docs.tech.review.approve",exportName:"ReviewApproveDocBlock",sourceModule:"operations/review/commands/reviewApprove.command",block:{id:"docs.tech.review.approve",title:"Approve a review record",summary:"Terminal-approve a review record; emits one audit event and dispatches the SEAMS §3.7 subject-kind callee (when applicable).",kind:"reference",visibility:"public",route:"/docs/tech/review/approve",tags:["review","approve","mutation"],body:"# review.approve\n\nApproves a review record. Terminal at the record level — re-opening requires\na fresh review (no `review.reopen` in v1.0).\n\nPer SEAMS §3.7 (S-07): when `subject.kind` resolves a downstream callee\n(`governance.policy.activate` ∨ `workflow.run.resume` ∨\n`agent.set-autonomy`), the handler dispatches it via the\n`lib.companyos-runtime` outbox. The dispatched op runs under the original\nreviewer's auth context (§1.2); the handler pre-checks the reviewer's\ncapability at decide-time per Q-03 and refuses with `FORBIDDEN` when the\ndownstream capability is missing — prevents the \"approved but inert\" state.\n\nCapability: `review.act` (+ implicit downstream capability where dispatch\napplies). Per SEAMS §1.5, missing capability returns `FORBIDDEN` — auditor\npersona sees the button disabled with a read-only tooltip.\n\nIdempotency: `idempotencyKey` is required. Replays return the original\nresult; differing payload on replay → `IDEMPOTENCY_FAIL`.\n"}},{id:"docs.tech.review.assign",exportName:"ReviewAssignDocBlock",sourceModule:"operations/review/commands/reviewAssign.command",block:{id:"docs.tech.review.assign",title:"Assign a review to a reviewer",summary:"Assign (or reassign) a review record to a reviewer; idempotent on (id, assigneeId).",kind:"reference",visibility:"public",route:"/docs/tech/review/assign",tags:["review","assign","mutation"],body:`# review.assign
3027
+
3028
+ Assigns (or reassigns) a review to a reviewer. Idempotent on
3029
+ \`(id, assigneeId)\` — re-assigning to the same reviewer is a no-op success.
3030
+
3031
+ Per SEAMS §1.3 (S-11), emits one \`audit.event.append\` with kind
3032
+ \`review.assigned\` (retention class \`operational\`). Per SEAMS §3.6.4,
3033
+ downstream notifications to the new assignee are fire-and-forget; failure
3034
+ does NOT roll back the assignment.
3035
+
3036
+ Capability: \`review.act\`. Idempotency: required.
3037
+ `}},{id:"docs.tech.review.comment",exportName:"ReviewCommentDocBlock",sourceModule:"operations/review/commands/reviewComment.command",block:{id:"docs.tech.review.comment",title:"Comment on a review",summary:"Append a thread or private-to-assignee comment to a review record.",kind:"reference",visibility:"public",route:"/docs/tech/review/comment",tags:["review","comment","mutation"],body:"# review.comment\n\nAppends a comment to a review. Does not advance state. `visibility` is one\nof `'thread'` (visible to all participants) | `'private-to-assignee'`\n(visible only to the current assignee and the commenter).\n\nPer SEAMS §1.3 (S-11), emits one `audit.event.append` with kind\n`review.commented` (retention class `operational`).\n\nCapability: `review.act` for posting; `review.read` for thread reads.\nAuditor persona may read but cannot post — the UI renders the post button\ndisabled with a read-only tooltip per SEAMS §1.5.\n"}},{id:"docs.tech.review.escalate",exportName:"ReviewEscalateDocBlock",sourceModule:"operations/review/commands/reviewEscalate.command",block:{id:"docs.tech.review.escalate",title:"Escalate a review to a higher tier",summary:"Escalate a review to a target tier; emits an audit event and (optionally) a governance notification via the outbox.",kind:"reference",visibility:"public",route:"/docs/tech/review/escalate",tags:["review","escalate","mutation","governance","audit"],body:"# review.escalate\n\nPRIMARY cross-domain seam (SEAMS §3.6, S-06). On successful escalation, the\nhandler emits two ordered outbox messages alongside the review's own state\nchange:\n\n1. `audit.event.append { eventKind: 'review.escalated', retentionClass: 'regulatory', payload: { reviewId, fromStatus, toTier, escalationReason, decidedBy, decidedAt } }`. `auditEventId` is returned in the output for traceability.\n2. If `notifyOwners === true`, `governance.notification.dispatch { policyRefs: subject.policyRefs[], escalationContext: { reviewId, tier, auditEventId } }`. `governanceNotificationId` is returned in the output (optional field).\n\nPer SEAMS §1.4 transactional outbox: state change + outbox row commit\natomically; downstream callees are idempotent on\n`(reviewId, escalation-version)` so replays are safe.\n\nCapability: `review.escalate` (+ implicit `review.act`). Per SEAMS §1.5,\nmissing capability returns `FORBIDDEN`. Idempotency: required.\n\nTier vocabulary (`'tier-1' | 'tier-2' | 'admin'`) aligns with\n`lib.identity-rbac` role tiers (DOMAIN_NOTES §9 Q1; coordinated with W5).\n"}},{id:"docs.tech.review.get",exportName:"ReviewGetDocBlock",sourceModule:"operations/review/queries/reviewGet.query",block:{id:"docs.tech.review.get",title:"Get review detail",summary:"Return a full review record with history and attached evidence.",kind:"reference",visibility:"public",route:"/docs/tech/review/get",tags:["review","detail"],body:`# review.get
3038
+
3039
+ Returns the full review detail, including decision history and evidence
3040
+ references (from the audit append-only log). Read-only.
3041
+
3042
+ Capability: \`review.read\`. Per SEAMS §3.4a, this query is the verification
3043
+ gate used by \`workflow.step.advance { approvalRef }\` — handlers MUST treat
3044
+ the response as authoritative.
3045
+ `}},{id:"docs.tech.review.list",exportName:"ReviewListDocBlock",sourceModule:"operations/review/queries/reviewList.query",block:{id:"docs.tech.review.list",title:"List reviews in the queue",summary:"Paginated read of review records, filterable by status, priority, assignee, and subject.",kind:"reference",visibility:"public",route:"/docs/tech/review/list",tags:["review","list","queue"],body:"# review.list\n\nLists review records for the caller's tenant scope. Supports filters\n(`statuses`, `priorities`, `assigneeId`, `subjectKind`, `subjectId`)\nand cursor pagination. Auditor persona may invoke read-only.\n\nCapability: `review.read`. Per SEAMS §1.5, missing capability returns\n`FORBIDDEN` — never silent strip.\n"}},{id:"docs.tech.review.queue.health",exportName:"ReviewQueueHealthDocBlock",sourceModule:"operations/review/queries/reviewQueueHealth.query",block:{id:"docs.tech.review.queue.health",title:"Review queue health probe",summary:"Per-domain health probe consumed by fleet.health.snapshot to surface review-queue saturation, SLA, and pipeline state.",kind:"reference",visibility:"public",route:"/docs/tech/review/queue/health",tags:["review","health","fleet"],body:"# review.queue.health\n\nPer-domain health probe for the review queue, composed by\n`fleet.health.snapshot` (SEAMS §3.10, S-10). Returns a `green` |\n`amber` | `red` status plus a symptoms list; aggregations downgrade to\namber if the probe call itself fails.\n\nThresholds (initial v1.0; tunable via runtime config):\n- `red` when `backlogDepth > 100` OR `oldestPendingAgeMs > 24h` OR\n `audit-pipeline-degraded` is present.\n- `amber` when `backlogDepth > 25` OR `oldestPendingAgeMs > 4h` OR\n `escalatedCount > 5`.\n- `green` otherwise.\n\nCapability: `fleet.metrics.read` ∨ `review.read`.\n"}},{id:"docs.tech.review.reject",exportName:"ReviewRejectDocBlock",sourceModule:"operations/review/commands/reviewReject.command",block:{id:"docs.tech.review.reject",title:"Reject a review record",summary:"Terminal-reject a review record; emits one audit event with the reviewer-supplied reason.",kind:"reference",visibility:"public",route:"/docs/tech/review/reject",tags:["review","reject","mutation"],body:"# review.reject\n\nTerminally rejects a review record. Terminal at the record level — re-opening\nrequires a fresh review.\n\nPer SEAMS §1.3 (S-11), emits exactly one `audit.event.append` with kind\n`review.rejected` and retention class `regulatory`. Returns\n`auditEventId` so the UI can deep-link to the record.\n\nCapability: `review.act`. Per SEAMS §1.5, missing capability returns\n`FORBIDDEN` — auditor persona sees the button disabled.\n\nIdempotency: `idempotencyKey` is required.\n"}},{id:"docs.tech.review.request-changes",exportName:"ReviewRequestChangesDocBlock",sourceModule:"operations/review/commands/reviewRequestChanges.command",block:{id:"docs.tech.review.request-changes",title:"Request changes on a review",summary:"Push the review back to changes-requested with a structured list of change requests.",kind:"reference",visibility:"public",route:"/docs/tech/review/request-changes",tags:["review","request-changes","mutation"],body:"# review.request-changes\n\nTransitions the review record to `changes-requested` with a structured\nlist of `changeRequests` (field-scoped). Non-terminal: when the upstream\nsubject is updated, the review system fires an internal `review.resubmit`\nevent (not a public op) that returns the review to `pending`.\n\nPer SEAMS §1.3 (S-11), emits exactly one `audit.event.append` with kind\n`review.changes-requested`.\n\nCapability: `review.act`. Idempotency: required.\n"}},{id:"docs.tech.social-provider-v2",exportName:"SocialProviderV2DocBlock",sourceModule:"feature-hubs/social-provider-v2",block:{id:"docs.tech.social-provider-v2",title:"Scoped social publication providers",summary:"Versioned provider execution carries tenant identity and durable local publication keys.",visibility:"public",kind:"reference",route:"/docs/tech/social-provider-v2",tags:["social","marketing"],body:`# Scoped social publication providers
3046
+
3047
+ V2 publication and status ports require tenant identity, account identity and a durable
3048
+ local idempotency key. Native API idempotency support is independent of that local key.
3049
+ Integrations must bind content, credentials and provider resources to the requested tenant
3050
+ before dispatch. Partial or uncertain publication remains ambiguous. Multi-part adapters receive the
3051
+ named publishing grant and recheck it before every part. Optional resume crosses fresh
3052
+ authority and a fenced canonical continuation claim; status never publishes pending work.
3053
+
3054
+ The social runtime supports an explicit providersV2 map while preserving its legacy
3055
+ providers map. V2 takes precedence when configured; failures do not fall back to another
3056
+ publisher. Resolve legacy ambiguous receipts before switching provider implementations,
3057
+ or supply an explicitly authorized compatibility reader. Draft-only remains the default.
3058
+ `}},{id:"docs.tech.social-scheduling",exportName:"SocialSchedulingDocBlock",sourceModule:"feature-hubs/social-scheduling-operations",block:{id:"docs.tech.social-scheduling",title:"Durable social scheduling",summary:"Reviewed LinkedIn/X scheduling with canonical publication intents and SQL recovery.",visibility:"public",kind:"reference",route:"/docs/tech/social-scheduling",tags:["social","marketing"],body:`# Durable social scheduling
3059
+
3060
+ The feature-hubs/social-scheduling contracts add immutable LinkedIn/X schedules.
3061
+ Eight operations cover scheduling, cancellation, due scans, dispatch, continuation,
3062
+ reconciliation, scoped reads and bounded worker batches. Publication stays behind the
3063
+ existing SocialPublicationRuntime and its grant, digest, policy and effect gates.
3064
+ The default remains draft-only until a host explicitly configures publication authority.
3065
+
3066
+ SQL adapters preserve schedules, canonical publication intents, append-only history
3067
+ and fenced recovery leases. Cancellation cannot erase a claimed publication. Expired
3068
+ windows do not dispatch, and confirmed outcomes remain immutable. Interrupted workers
3069
+ may continue under fresh authority while canonical idempotency prevents duplicate posts.
3070
+
3071
+ Register workers through the existing lifecycle scheduler and persist batch outcomes
3072
+ through the supplied host observer. Native LinkedIn/X provider and account qualification,
3073
+ real media publication and application cutover remain separate acceptance requirements.
3074
+ `}},{id:"docs.tech.translations.i18n-factory",exportName:"I18nFactoryDocBlock",sourceModule:"translations/i18n-factory",block:{id:"docs.tech.translations.i18n-factory",title:"i18n factory",summary:"Package-scoped i18n factory with additive snapshot/hydration support.",kind:"reference",visibility:"public",route:"/docs/tech/translations/i18n-factory",tags:["i18n","translations"],body:"# i18n factory\n\n`createI18nFactory` removes the per-package i18n boilerplate (interpolation,\nregistry management, locale resolution, `t()` wiring).\n\nInstances and factories additionally expose `snapshot()` and\n`hydrationPayload()`, and the module exports\n`createI18nFactoryFromSnapshot` / `createI18nFactoryFromHydrationPayload`\nto rebuild a factory on the client. These additions are **ADDITIVE** and do not\nchange resolution behavior for existing consumers.\n"}},{id:"docs.tech.translations.i18n-factory.snapshot",exportName:"I18nFactorySnapshotDocBlock",sourceModule:"translations/i18n-factory-snapshot",block:{id:"docs.tech.translations.i18n-factory.snapshot",title:"i18n factory snapshot & hydration",summary:"Additive snapshot/serialization/hydration surface for the createI18nFactory stack.",kind:"reference",visibility:"public",route:"/docs/tech/translations/i18n-factory/snapshot",tags:["i18n","translations","ssr","hydration"],body:"# i18n factory snapshot & hydration\n\nThe canonical, additive (behavior-compatible) snapshot/hydration surface on the\n`createI18nFactory` stack.\n\n- `buildI18nFactorySnapshot` produces a **locale-scoped** snapshot containing\n only the catalogs needed to reproduce identical `t()` results for the locale\n (the locale plus its declared fallback chain).\n- `createI18nFactoryHydrationPayload` wraps a snapshot in a versioned envelope\n (`kind` = `contractspec.i18n-factory.hydration`, `version` =\n `1`) for SSR -> client transport.\n- `parseI18nFactoryHydrationPayload` validates and re-clones the payload.\n\nReconstruct a factory from a snapshot or payload with\n`createI18nFactoryFromSnapshot` / `createI18nFactoryFromHydrationPayload`\n(see the `i18n-factory` module).\n\nCompatibility classification: **ADDITIVE**. No existing exported symbol or\nresolution behavior changes.\n"}},{id:"docs.tech.workflows.overview",exportName:"tech_workflows_overview_DocBlocks",sourceModule:"workflow/spec",block:{id:"docs.tech.workflows.overview",title:"WorkflowSpec Overview",summary:"WorkflowSpec provides a declarative, versioned format for long-running flows that mix automation and human review, including runtime adapter capabilities/ports for checkpointing, suspend-resume orchestration, and explicit waiting/retry states. Specs stay inside `@lssm/lib.contracts-spec` (`src/workflow/spec.ts`) so the same definition powers runtime execution, documentation, and future generation.",kind:"reference",visibility:"public",route:"/docs/tech/workflows/overview",tags:["tech","workflows","overview"],body:"# WorkflowSpec Overview\n\n## Purpose\n\nWorkflowSpec provides a declarative, versioned format for long-running flows that mix automation and human review. Specs stay inside `@lssm/lib.contracts-spec` (`src/workflow/spec.ts`) so the same definition powers runtime execution, documentation, and future generation.\n\n## Core Types\n\n- `WorkflowMeta`: ownership metadata (`title`, `domain`, `owners`, `tags`, `stability`) plus `name` and `version`.\n- `WorkflowDefinition`:\n - `entryStepId?`: optional explicit entry point (defaults to first step).\n - `steps[]`: ordered list of `Step` descriptors.\n - `transitions[]`: directed edges between steps with optional expressions.\n - `sla?`: aggregated timing hints for the overall flow or per-step budgets.\n - `compensation?`: fallback operations executed when a workflow is rolled back or fails.\n- `Step`:\n - `type`: `human`, `automation`, or `decision`.\n - `action`: references either a `ContractSpec` (`operation`) or `FormSpec` (`form`).\n - Optional `guard`, `timeoutMs`, and retry policy (`maxAttempts`, `backoff`, `delayMs`, `maxDelayMs?`).\n - `requiredIntegrations?`: integration slot ids that must be bound before the step may execute.\n - `requiredCapabilities?`: `CapabilityRef[]` that must be enabled in the resolved app config.\n- `Transition`: `from` → `to` with optional `condition` string (simple data expressions).\n\n## Registry & Validation\n\n- `defineWorkflow()` is available from `@lssm/lib.contracts-spec/workflow/spec` for safe workflow authoring in VM-evaluated runtimes.\n- `WorkflowRegistry` (`src/workflow/spec.ts`) stores specs by key `<name>.v<version>` and exposes `register`, `list`, and `get`.\n- `validateWorkflowSpec()` (`src/workflow/validation.ts`) checks:\n - Duplicate step IDs.\n - Unknown `from`/`to` transitions.\n - Empty guards/conditions.\n - Reachability from the entry step.\n - Cycles in the graph.\n - Operation/Form references against provided registries.\n- `assertWorkflowSpecValid()` wraps validation and throws `WorkflowValidationError` when errors remain.\n\n## Runtime\n\n- `WorkflowRunner` (`src/workflow/runner.ts`) executes workflows and coordinates steps.\n - `start(name, version?, initialData?)` returns a `workflowId`.\n - `executeStep(workflowId, input?)` runs the current step (automation or human).\n - `getState(workflowId)` retrieves the latest state snapshot.\n - `cancel(workflowId)` marks the workflow as cancelled.\n - `preFlightCheck(name, version?, resolvedConfig?)` evaluates integration/capability requirements before the workflow starts.\n - Throws `WorkflowPreFlightError` if required integration slots are unbound or required capabilities are disabled.\n- `StateStore` (`src/workflow/state.ts`) abstracts persistence. V1 ships with:\n - `InMemoryStateStore` (`src/workflow/adapters/memory-store.ts`) for tests/dev.\n - Placeholder factories for file/database adapters (`adapters/file-adapter.ts`, `adapters/db-adapter.ts`).\n- Guard evaluation: expression guards run through `evaluateExpression()` (`src/workflow/expression.ts`); custom policy guards can be provided via `guardEvaluator`.\n- Events: the runner emits `workflow.started`, `workflow.step_completed`, `workflow.step_failed`, and `workflow.cancelled` through the optional `eventEmitter`.\n- React bindings (`@lssm/lib.presentation-runtime-react`):\n - `useWorkflow` hook (polls state, exposes `executeStep`, `cancel`, `refresh`).\n - `WorkflowStepper` progress indicator using design-system Stepper.\n - `WorkflowStepRenderer` helper to render human/automation/decision steps with sensible fallbacks.\n\n## Authoring Checklist\n\n1. Reuse existing operations/forms; create new specs when missing.\n2. Prefer explicit `entryStepId` for clarity (especially with decision branches).\n3. Give automation steps an `operation` and human steps a `form` (warnings surface otherwise).\n4. Use short, meaningful step IDs (`submit`, `review`, `finalize`) to simplify analytics.\n5. Keep guard expressions deterministic; complex policy logic should move to PolicySpec (Phase 2).\n6. For Vercel Workflow or other VM-evaluated runtimes, import `defineWorkflow` and `WorkflowSpec` from `@lssm/lib.contracts-spec/workflow/spec`.\n\n## Testing\n\n- Add unit tests for new workflows via `assertWorkflowSpecValid`.\n- Use the new Vitest suites (`validation.test.ts`, `expression.test.ts`, `runner.test.ts`) as examples.\n- CLI support will arrive in Phase 1 PR 3 (`contractspec create --type workflow`).\n\n## Tooling\n\n- `contractspec create --type workflow` scaffolds a WorkflowSpec with interactive prompts.\n- `contractspec build <spec.workflow.ts>` generates a runner scaffold (`.runner.ts`) wired to `WorkflowRunner` and the in-memory store.\n- `contractspec validate` understands `.workflow.ts` files and checks core structure (meta, steps, transitions).\n\n## Next Steps (Non-MVP)\n\n- Persistence adapters (database/file) for workflow state (Phase 2).\n- React bindings (`useWorkflow`, `WorkflowStepper`) and presentation-runtime integration (PR 3).\n- Policy engine integration (`guard.type === 'policy'` validated against PolicySpec).\n- Telemetry hooks for step execution metrics.\n\n"}},{id:"forms-platform-document",exportName:"formPlatformDocumentDocBlock",sourceModule:"forms/platform-document-doc",block:{id:"forms-platform-document",title:"Shared Forms Platform Document",body:"Portable Forms contracts for Pactena, CompanyOS, and CommunicationOS. Published revisions are immutable, responses pin a revision, creator logic is declarative, AI is off and redacted by default, and product hosts retain authority and storage ownership.",kind:"reference",route:"/docs/specs/forms/platform-document",visibility:"public"}},{id:"forms-platform-events",exportName:"formPlatformEventsDocBlock",sourceModule:"forms/platform-docs",block:{id:"forms-platform-events",title:"Shared Forms events",body:"PII-free lifecycle receipts for definition, response, and verification transitions. Raw answers, contact destinations, and verification codes are never event payloads.",kind:"reference",route:"/docs/specs/forms/platform-events",visibility:"public"}},{id:"forms-platform-operations",exportName:"formPlatformOperationsDocBlock",sourceModule:"forms/platform-docs",block:{id:"forms-platform-operations",title:"Shared Forms operations",body:"Versioned creator and public operations. Creator ownership is derived from authenticated server context; public operations accept opaque tokens and never tenant authority. This experimental foundation does not claim product-host availability until its adapters pass Connect review.",kind:"reference",route:"/docs/specs/forms/platform-operations",visibility:"public"}},{id:"living-sops-v1",exportName:"LivingSopsDocBlock",sourceModule:"sop/sop.feature",block:{id:"living-sops-v1",title:"Living SOPs v1",summary:"Evidence-bound, generated, simulated, qualified, and revision-pinned operational procedures.",kind:"reference",visibility:"public",route:"/docs/platform/living-sops-v1",tags:["sop","knowledge","workflow","health"],body:`# Living SOPs v1
3075
+
3076
+ SOP generation, publication, and execution are separate lifecycles. Generated revisions freeze their evidence and compile into WorkflowSpec for effects.`}},{id:"nav-graph-spec",exportName:"navGraphDocBlock",sourceModule:"navigation/nav-graph",block:{id:"nav-graph-spec",title:"NavGraphSpec",body:`Relationship graph over registered navigation surface items with hand-curated product knowledge edges.
3077
+
3078
+ ## Overview
3079
+
3080
+ \`NavGraphSpec\` models the navigation surface as a directed graph where:
3081
+ - **Nodes** are \`NavSurfaceItemSpec\` entries (typically auto-derived from \`NavRegistry.list()\`)
3082
+ - **Edges** are hand-maintained product relationships describing how surfaces relate
3083
+ - **Optional Layout** hints how to render the graph in the Nav Map viewer
3084
+
3085
+ ## Edge Semantics
3086
+
3087
+ Edges use semantic kinds to express relationship intent:
3088
+
3089
+ | Kind | Meaning | Example |
3090
+ |------|---------|---------|
3091
+ | \`related\` | Surfaces are related but not ordered | inbox ↔ threads |
3092
+ | \`leads-to\` | Natural workflow progression | workflow → evidence |
3093
+ | \`escalates-to\` | Escalation path | support → escalation-queue |
3094
+ | \`parent-of\` | Hierarchical containment | analytics → analytics/usage |
3095
+
3096
+ Each edge carries an optional \`weight\` (0..∞) indicating usage frequency or affinity.
3097
+
3098
+ ## Validation
3099
+
3100
+ \`validateNavGraph\` ensures:
3101
+ - No self-loops
3102
+ - Both endpoints resolve to node routes
3103
+ - No duplicate (from, to, kind) triples
3104
+
3105
+ ## Integration with Design-System Graph Templates
3106
+
3107
+ \`NavGraphSpec\` integrates with existing DS graph renderers:
3108
+ - \`ConversationGraphView\` — render conversation/discussion threads
3109
+ - \`WorkflowDagView\` — render workflow DAG
3110
+ - \`AgentTreeView\` — render agent hierarchy
3111
+ - \`EngineeringLoopView\` — render loop/feedback structures
3112
+
3113
+ The Nav Map view at \`/companyos/nav-map\` renders the full \`NavGraphSpec\` to show power users the complete navigation topology.
3114
+
3115
+ ## Example
3116
+
3117
+ \`\`\`typescript
3118
+ const navGraph = defineNavGraph({
3119
+ meta: {
3120
+ key: 'companyos-nav',
3121
+ version: '1.0.0',
3122
+ description: 'CompanyOS navigation graph',
3123
+ goal: 'Enable power-user nav-map view and routing suggestions',
3124
+ context: 'Global navigation topology for all personas',
3125
+ owners: ['team-platform'],
3126
+ tags: ['core', 'navigation'],
3127
+ },
3128
+ nodes: navRegistry.list(),
3129
+ edges: [
3130
+ defineNavEdge({
3131
+ from: { web: '/companyos/workflow' },
3132
+ to: { web: '/companyos/evidence' },
3133
+ kind: 'leads-to',
3134
+ weight: 2.5,
3135
+ }),
3136
+ defineNavEdge({
3137
+ from: { web: '/companyos/inbox' },
3138
+ to: { web: '/companyos/threads' },
3139
+ kind: 'related',
3140
+ }),
3141
+ ],
3142
+ layout: { type: 'force-directed', spacing: 200 },
3143
+ });
3144
+ \`\`\``,kind:"reference",route:"packages/libs/contracts-spec/src/navigation/nav-graph.ts",visibility:"public"}},{id:"nav-registry",exportName:"navRegistryDocBlock",sourceModule:"navigation/registry",block:{id:"nav-registry",title:"NavRegistry",body:"In-memory registry for navigation surface items with persona- and group-aware queries and capability binding validation.\n\n## Overview\n\n`NavRegistry` mirrors the `CapabilityRegistry` API and provides:\n- **Registration**: `register(spec)` with duplicate + capability validation\n- **Queries**: `get(key, version?)`, `list()`, `indexByPersona()`, `indexByGroup()`\n- **Role-aware resolution**: `resolveForRoleMorph(roleMorph, preferences)`\n\n## Registration Flow\n\n1. Create `NavSurfaceItemSpec` entries using `defineNavSurfaceItem()`\n2. Optionally pass a `CapabilityRegistry` to the `NavRegistry` constructor\n3. Call `register(spec)` for each entry\n - Throws if `meta.key + version` is duplicate\n - Throws if capability is not registered with `surface: 'navigation'` (when `CapabilityRegistry` is provided)\n4. Use queries to retrieve filtered nav items\n\n## resolveForRoleMorph Semantics\n\n`resolveForRoleMorph(roleMorph, preferences)` filters the registry to:\n1. **Persona intersection**: Keep entries where `personaVisibility` overlaps with `roleMorph.personas`\n2. **Group hiding**: Remove entries in `preferences.hiddenGroups`\n3. **De-duplication**: By `meta.key` (latest version wins)\n\nReturns a flat array of visible `NavSurfaceItemSpec` in insertion order.\n\n## CapabilityRegistry Binding Validation\n\nIf a `CapabilityRegistry` is provided at construction, `register()` validates that:\n- `spec.capability.key` is registered in capabilities with `surface: 'navigation'`\n- If not, throws: `\"Nav item {id} references capability {key} which is not registered with surface 'navigation'\"`\n\nThis ensures all nav items map to real capabilities at build time.\n\n## Index Caching\n\nBoth persona and group indexes are lazy-built and cached; they invalidate on `register()`.\n\n## Example Usage\n\n```typescript\nconst registry = new NavRegistry({ capabilities: capabilityRegistry });\n\nregistry.register(inboxNavSpec);\nregistry.register(workflowNavSpec);\nregistry.register(analyticsNavSpec);\n\n// Get entries visible to a persona\nconst founderNav = registry.indexByPersona('founder_approver');\n\n// Resolve for a role-morph with hidden groups\nconst visibleNav = registry.resolveForRoleMorph(\n { personas: ['founder_approver', 'operations_manager'] },\n { hiddenGroups: ['experimental'] }\n);\n\n// Build a NavGraphSpec from the registry\nconst graph = defineNavGraph({\n meta: { /* ... */ },\n nodes: registry.list(),\n edges: [ /* hand-curated */ ],\n});\n```",kind:"how",route:"packages/libs/contracts-spec/src/navigation/registry.ts",visibility:"public"}},{id:"nav-surface-item-spec",exportName:"navSurfaceDocBlock",sourceModule:"navigation/nav-surface",block:{id:"nav-surface-item-spec",title:"NavSurfaceItemSpec",body:`Single navigation entry contract that binds a capability to a web route with persona and grouping semantics. Includes optional mobile-extension fields for Expo Router native navigation (Phase D.0).
3145
+
3146
+ ## Overview
3147
+
3148
+ \`NavSurfaceItemSpec\` mirrors the \`PresentationSpec.capability\` pattern and defines a hard binding between:
3149
+ - A registered **capability** that provides the navigation surface (validated against CapabilityRegistry)
3150
+ - A **route** (web path + optional API root)
3151
+ - **Persona visibility** (which personas can see this entry)
3152
+ - **Grouping** (sidebar/nav section)
3153
+ - **Icon** (logical key resolved at render time)
3154
+
3155
+ ## Key Semantics
3156
+
3157
+ **Capability Binding**: Every nav item MUST reference a \`CapabilityRef\` so the host can validate at build time that every navigation surface is backed by a real capability registered with \`surface: 'navigation'\`.
3158
+
3159
+ **Persona Visibility**: The \`personaVisibility\` array lists personas allowed to see the entry. An empty array means hidden from all personas.
3160
+
3161
+ **Optional Policy**: The \`policy\` field adds an additional gate on top of persona visibility (e.g., require a feature flag or explicit permission).
3162
+
3163
+ **Optional Density Hint**: The \`densityHint\` field suggests UI density ('compact' | 'comfortable') applied to the rendered entry.
3164
+
3165
+ ## Mobile Extension Fields (additive, Phase D.0)
3166
+
3167
+ Three optional fields enable native Expo Router navigation without app-level hard-coding:
3168
+
3169
+ **\`tabBarIcon?\`**: Logical icon key for native tab bar rendering, separate from the web sidebar \`iconKey\`. When absent the host may fall back to \`iconKey\` or a platform default. Only meaningful on tab-root items (\`parentGroupKey\` absent).
3170
+
3171
+ **\`gestureHint?\`** (\`NativeGestureHint\`): Declares the primary gesture affordance for this screen. Use \`'none'\` to explicitly disable back/dismiss gestures (e.g. auditor audit-log where accidental swipe-dismiss would lose evidence context).
3172
+
3173
+ **\`parentGroupKey?\`**: Expresses the tab-vs-stack hierarchy. Absent = item IS a tab-bar root. Present = item is a stack-child pushed onto the named tab's navigator and does NOT appear in the tab bar.
3174
+
3175
+ Tab/stack hierarchy example:
3176
+ - \`cockpit\` → \`parentGroupKey: undefined\` → tab bar root
3177
+ - \`work-graph\` → \`parentGroupKey: 'cockpit'\` → stack child under cockpit tab
3178
+ - \`inbox\` → \`parentGroupKey: undefined\` → tab bar root
3179
+ - \`threads/[id]\` → \`parentGroupKey: 'inbox'\` → stack child under inbox tab
3180
+
3181
+ Web shells ignore these fields (absent optional fields produce no effect).
3182
+
3183
+ ## Usage in NavRegistry
3184
+
3185
+ The \`NavRegistry\` consumes \`NavSurfaceItemSpec\` entries and provides:
3186
+ - \`indexByPersona(persona)\`: Get all entries visible to a persona
3187
+ - \`indexByGroup(groupKey)\`: Get all entries in a nav group
3188
+ - \`resolveForRoleMorph(roleMorph, preferences)\`: Resolve visible entries for a role-morph projection (filtered by persona + hidden groups)
3189
+
3190
+ ## Example
3191
+
3192
+ \`\`\`typescript
3193
+ const inboxNav = defineNavSurfaceItem({
3194
+ meta: {
3195
+ key: 'inbox',
3196
+ version: '1.0.0',
3197
+ description: 'Inbox navigation entry',
3198
+ goal: 'Direct users to their messages and notifications',
3199
+ context: 'Core workflow entry point for all personas',
3200
+ owners: ['team-platform'],
3201
+ tags: ['core', 'workflow'],
3202
+ },
3203
+ capability: { key: 'inbox.read' },
3204
+ route: { web: '/companyos/inbox', api: '/api/companyos/inbox' },
3205
+ personaVisibility: ['founder_approver', 'operations_manager', 'frontline_staff'],
3206
+ groupKey: 'workflow',
3207
+ iconKey: 'icon.inbox',
3208
+ densityHint: 'comfortable',
3209
+ // Mobile extension fields (optional — web shell ignores these)
3210
+ tabBarIcon: 'tab.inbox',
3211
+ gestureHint: 'swipe-back',
3212
+ });
3213
+ \`\`\``,kind:"reference",route:"packages/libs/contracts-spec/src/navigation/nav-surface.ts",visibility:"public"}},{id:"osint-v0-capability-matrix",exportName:"OsintCapabilityMatrixDocBlock",sourceModule:"osint/capability-matrix",block:{id:"osint-v0-capability-matrix",title:"OSINT v0 capability and qualification matrix",summary:"Typed delivery truth for OSINT systems, provider surfaces, evidence, blockers, and production qualification.",kind:"reference",visibility:"public",route:"/docs/platform/osint-v0-capability-matrix",tags:["osint","delivery","qualification","providers"],body:`# OSINT v0 capability matrix
3214
+
3215
+ The matrix separates implemented behavior, deterministic qualification, live qualification, explicit unsupported vendor surfaces, and external production blockers. Unsupported methods are never simulated, and source or test definitions never count as live receipts.`}},{id:"quality-environment-v1",exportName:"qualityEnvironmentV1DocBlock",sourceModule:"quality/environment",block:{id:"quality-environment-v1",title:"Explicit QA environment dependencies",body:"QualityEnvironmentV1 distinguishes mocked, integrated and deployed test environments. Its digest binds fixtures, required readiness capabilities, a network policy and a bounded setup deadline. Unhandled requests must fail. Runners enforce network policy and verify fixtures before executing any test; environment configuration is never execution authority. Existing quality plans opt in through a digest-bound environment reference.",kind:"reference",route:"/docs/contracts/quality/environment-v1",visibility:"public"}},{id:"self-improving-system-v1",exportName:"selfImprovingSystemV1DocBlock",sourceModule:"self-improving-system/types",block:{id:"self-improving-system-v1",title:"Governed self-improving system V1",body:"Additive contracts bind improvement programs and candidates to immutable goals, budgets, policy, offline and independent evaluation, G01-G25 evidence, shadow and canary comparisons, Connect decisions, Builder receipts, LSSM plans, Runtime Node V2 work orders, observation, rollback, and exact replay. Runtime artifacts may use qualified automation; repository, schema, data-authority, security, and infrastructure changes remain approval-bound and repository work never self-applies.",kind:"reference",route:"packages/libs/contracts-spec/src/self-improving-system/types.ts",visibility:"public"}}]};