@kenkaiiii/ggcoder 6.4.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1120) hide show
  1. package/README.md +9 -8
  2. package/dist/app-sidecar/app-settings.d.ts +1 -1
  3. package/dist/app-sidecar/app-settings.js +3 -4
  4. package/dist/app-sidecar/app-settings.js.map +1 -1
  5. package/dist/app-sidecar/attachments.js +1 -1
  6. package/dist/app-sidecar/attachments.js.map +1 -1
  7. package/dist/app-sidecar/auth-routes.js +2 -5
  8. package/dist/app-sidecar/auth-routes.js.map +1 -1
  9. package/dist/app-sidecar/autopilot-runner.d.ts +8 -8
  10. package/dist/app-sidecar/autopilot-runner.js +8 -8
  11. package/dist/app-sidecar/autopilot-runner.js.map +1 -1
  12. package/dist/app-sidecar/branch-routes.d.ts +10 -1
  13. package/dist/app-sidecar/branch-routes.js +170 -2
  14. package/dist/app-sidecar/branch-routes.js.map +1 -1
  15. package/dist/app-sidecar/detached-sessions.d.ts +2 -10
  16. package/dist/app-sidecar/detached-sessions.js.map +1 -1
  17. package/dist/app-sidecar/file-search.js +1 -1
  18. package/dist/app-sidecar/file-search.js.map +1 -1
  19. package/dist/app-sidecar/git-branches.d.ts +18 -1
  20. package/dist/app-sidecar/git-branches.js +24 -6
  21. package/dist/app-sidecar/git-branches.js.map +1 -1
  22. package/dist/app-sidecar/git-ship.d.ts +42 -0
  23. package/dist/app-sidecar/git-ship.js +349 -0
  24. package/dist/app-sidecar/git-ship.js.map +1 -0
  25. package/dist/app-sidecar/git-target.d.ts +2 -2
  26. package/dist/app-sidecar/git-target.js +2 -2
  27. package/dist/app-sidecar/git-target.js.map +1 -1
  28. package/dist/app-sidecar/goal-routes.d.ts +1 -1
  29. package/dist/app-sidecar/goal-routes.js +5 -6
  30. package/dist/app-sidecar/goal-routes.js.map +1 -1
  31. package/dist/app-sidecar/hf-pull-manager.d.ts +5 -4
  32. package/dist/app-sidecar/hf-pull-manager.js +1 -1
  33. package/dist/app-sidecar/hf-pull-manager.js.map +1 -1
  34. package/dist/app-sidecar/history-routes.js +19 -6
  35. package/dist/app-sidecar/history-routes.js.map +1 -1
  36. package/dist/app-sidecar/history.d.ts +7 -2
  37. package/dist/app-sidecar/history.js.map +1 -1
  38. package/dist/app-sidecar/integration-routes.js +4 -6
  39. package/dist/app-sidecar/integration-routes.js.map +1 -1
  40. package/dist/app-sidecar/keep-awake.d.ts +1 -1
  41. package/dist/app-sidecar/keep-awake.js +1 -1
  42. package/dist/app-sidecar/keep-awake.js.map +1 -1
  43. package/dist/app-sidecar/ken-context.d.ts +2 -2
  44. package/dist/app-sidecar/ken-context.js +1 -1
  45. package/dist/app-sidecar/ken-context.js.map +1 -1
  46. package/dist/app-sidecar/live-preview/dev-url.d.ts +1 -1
  47. package/dist/app-sidecar/live-preview/manager.d.ts +2 -14
  48. package/dist/app-sidecar/live-preview/manager.js.map +1 -1
  49. package/dist/app-sidecar/live-preview/routes.js +1 -1
  50. package/dist/app-sidecar/live-preview/routes.js.map +1 -1
  51. package/dist/app-sidecar/live-preview/servers.js +1 -1
  52. package/dist/app-sidecar/live-preview/servers.js.map +1 -1
  53. package/dist/app-sidecar/mcp-routes.js +2 -2
  54. package/dist/app-sidecar/mcp-routes.js.map +1 -1
  55. package/dist/app-sidecar/mcp-rows.d.ts +3 -15
  56. package/dist/app-sidecar/mcp-rows.js +7 -2
  57. package/dist/app-sidecar/mcp-rows.js.map +1 -1
  58. package/dist/app-sidecar/mcp-shell-command.d.ts +1 -1
  59. package/dist/app-sidecar/mcp-shell-command.js +3 -3
  60. package/dist/app-sidecar/mcp-shell-command.js.map +1 -1
  61. package/dist/app-sidecar/mcp-sync.d.ts +2 -2
  62. package/dist/app-sidecar/mcp-sync.js +3 -3
  63. package/dist/app-sidecar/mcp-sync.js.map +1 -1
  64. package/dist/app-sidecar/pr-card.d.ts +33 -0
  65. package/dist/app-sidecar/pr-card.js +95 -0
  66. package/dist/app-sidecar/pr-card.js.map +1 -0
  67. package/dist/app-sidecar/progress-manager.d.ts +1 -1
  68. package/dist/app-sidecar/progress-manager.js +6 -6
  69. package/dist/app-sidecar/progress-manager.js.map +1 -1
  70. package/dist/app-sidecar/prompt-routes.js +12 -5
  71. package/dist/app-sidecar/prompt-routes.js.map +1 -1
  72. package/dist/app-sidecar/repo-polls.d.ts +3 -3
  73. package/dist/app-sidecar/repo-polls.js +4 -4
  74. package/dist/app-sidecar/repo-polls.js.map +1 -1
  75. package/dist/app-sidecar/route-context.d.ts +20 -17
  76. package/dist/app-sidecar/run-control-routes.js +2 -5
  77. package/dist/app-sidecar/run-control-routes.js.map +1 -1
  78. package/dist/app-sidecar/session-file-routes.d.ts +1 -1
  79. package/dist/app-sidecar/session-file-routes.js +2 -2
  80. package/dist/app-sidecar/session-file-routes.js.map +1 -1
  81. package/dist/app-sidecar/session-routes.js +3 -4
  82. package/dist/app-sidecar/session-routes.js.map +1 -1
  83. package/dist/app-sidecar/session-types.d.ts +5 -13
  84. package/dist/app-sidecar/shell-routes.js +1 -1
  85. package/dist/app-sidecar/shell-routes.js.map +1 -1
  86. package/dist/app-sidecar/shell-runs.js +2 -2
  87. package/dist/app-sidecar/shell-runs.js.map +1 -1
  88. package/dist/app-sidecar/shell-suggestions.d.ts +2 -8
  89. package/dist/app-sidecar/shell-suggestions.js +1 -1
  90. package/dist/app-sidecar/shell-suggestions.js.map +1 -1
  91. package/dist/app-sidecar/task-routes.js +5 -5
  92. package/dist/app-sidecar/task-routes.js.map +1 -1
  93. package/dist/app-sidecar/trophy-manager.d.ts +2 -2
  94. package/dist/app-sidecar/trophy-manager.js +3 -3
  95. package/dist/app-sidecar/trophy-manager.js.map +1 -1
  96. package/dist/app-sidecar/usage.d.ts +1 -1
  97. package/dist/app-sidecar/usage.js +3 -2
  98. package/dist/app-sidecar/usage.js.map +1 -1
  99. package/dist/app-sidecar/workspace-routes.js +4 -4
  100. package/dist/app-sidecar/workspace-routes.js.map +1 -1
  101. package/dist/app-sidecar/worktrees.js +1 -1
  102. package/dist/app-sidecar/worktrees.js.map +1 -1
  103. package/dist/app-sidecar-sessions.d.ts +2 -5
  104. package/dist/app-sidecar-sessions.js +1 -1
  105. package/dist/app-sidecar-sessions.js.map +1 -1
  106. package/dist/app-sidecar.d.ts +1 -1
  107. package/dist/app-sidecar.js +86 -47
  108. package/dist/app-sidecar.js.map +1 -1
  109. package/dist/chat-agents/general.d.ts +1 -1
  110. package/dist/chat-agents/index.d.ts +1 -1
  111. package/dist/chat-agents/jiwa.d.ts +2 -9
  112. package/dist/chat-agents/jiwa.js +1 -0
  113. package/dist/chat-agents/jiwa.js.map +1 -1
  114. package/dist/chat-agents/memory.d.ts +2 -9
  115. package/dist/chat-agents/memory.js +1 -0
  116. package/dist/chat-agents/memory.js.map +1 -1
  117. package/dist/chat-agents/research.d.ts +1 -1
  118. package/dist/chat-agents/shared.d.ts +1 -1
  119. package/dist/chat-agents/shared.js +1 -1
  120. package/dist/chat-agents/shared.js.map +1 -1
  121. package/dist/chat-agents/therapist.d.ts +1 -1
  122. package/dist/chat-agents/types.d.ts +2 -1
  123. package/dist/chat-agents/types.js +6 -1
  124. package/dist/chat-agents/types.js.map +1 -1
  125. package/dist/cli/auth.js +3 -6
  126. package/dist/cli/auth.js.map +1 -1
  127. package/dist/cli/mcp.js +4 -3
  128. package/dist/cli/mcp.js.map +1 -1
  129. package/dist/cli.d.ts +1 -0
  130. package/dist/cli.js +26 -27
  131. package/dist/cli.js.map +1 -1
  132. package/dist/goals-agent/goal-team.d.ts +1 -1
  133. package/dist/goals-agent/goals-agent.d.ts +3 -3
  134. package/dist/goals-agent/goals-agent.js +5 -5
  135. package/dist/goals-agent/goals-agent.js.map +1 -1
  136. package/dist/hf-pull.d.ts +2 -1
  137. package/dist/hf-pull.js +0 -1
  138. package/dist/hf-pull.js.map +1 -1
  139. package/dist/index.d.ts +0 -8
  140. package/dist/index.js +1 -14
  141. package/dist/index.js.map +1 -1
  142. package/dist/modes/acp-autopilot.js +3 -3
  143. package/dist/modes/acp-autopilot.js.map +1 -1
  144. package/dist/modes/acp-goals.d.ts +2 -2
  145. package/dist/modes/acp-goals.js +3 -3
  146. package/dist/modes/acp-goals.js.map +1 -1
  147. package/dist/modes/acp-mode.d.ts +6 -6
  148. package/dist/modes/acp-mode.js +22 -23
  149. package/dist/modes/acp-mode.js.map +1 -1
  150. package/dist/modes/agent-home-mode.js +7 -8
  151. package/dist/modes/agent-home-mode.js.map +1 -1
  152. package/dist/modes/json-mode.js +4 -4
  153. package/dist/modes/json-mode.js.map +1 -1
  154. package/dist/modes/print-mode.js +4 -3
  155. package/dist/modes/print-mode.js.map +1 -1
  156. package/dist/modes/rpc-mode.js +2 -2
  157. package/dist/modes/rpc-mode.js.map +1 -1
  158. package/dist/modes/serve-mode.js +10 -11
  159. package/dist/modes/serve-mode.js.map +1 -1
  160. package/dist/modes/subagent-worker-mode.d.ts +1 -1
  161. package/dist/modes/subagent-worker-mode.js +8 -8
  162. package/dist/modes/subagent-worker-mode.js.map +1 -1
  163. package/dist/motion-agent/motion-agent.d.ts +3 -2
  164. package/dist/motion-agent/motion-agent.js +3 -2
  165. package/dist/motion-agent/motion-agent.js.map +1 -1
  166. package/dist/motion-agent/motion-bundle.d.ts +18 -0
  167. package/dist/motion-agent/motion-bundle.js +34 -0
  168. package/dist/motion-agent/motion-bundle.js.map +1 -0
  169. package/dist/subagent-entry-path.d.ts +1 -0
  170. package/dist/subagent-entry-path.js +13 -0
  171. package/dist/subagent-entry-path.js.map +1 -0
  172. package/dist/subagent-entry.d.ts +1 -1
  173. package/dist/subagent-entry.js +2 -1
  174. package/dist/subagent-entry.js.map +1 -1
  175. package/dist/ui/App.d.ts +8 -8
  176. package/dist/ui/App.js +20 -21
  177. package/dist/ui/App.js.map +1 -1
  178. package/dist/ui/app-items.d.ts +1 -1
  179. package/dist/ui/components/BackgroundTasksBar.d.ts +1 -1
  180. package/dist/ui/components/Banner.js +1 -1
  181. package/dist/ui/components/Banner.js.map +1 -1
  182. package/dist/ui/components/ChatFooterPane.d.ts +1 -1
  183. package/dist/ui/components/ChatScreen.d.ts +4 -4
  184. package/dist/ui/components/Footer.d.ts +1 -1
  185. package/dist/ui/components/Footer.js +1 -1
  186. package/dist/ui/components/Footer.js.map +1 -1
  187. package/dist/ui/components/FooterStatusRow.d.ts +1 -1
  188. package/dist/ui/components/InputArea.d.ts +2 -2
  189. package/dist/ui/components/InputArea.js +2 -2
  190. package/dist/ui/components/InputArea.js.map +1 -1
  191. package/dist/ui/components/ModelSelector.js +1 -1
  192. package/dist/ui/components/ModelSelector.js.map +1 -1
  193. package/dist/ui/components/RewindOverlay.d.ts +1 -1
  194. package/dist/ui/components/RewindOverlay.js.map +1 -1
  195. package/dist/ui/components/SessionSelector.d.ts +1 -1
  196. package/dist/ui/components/SettingsSelector.d.ts +1 -1
  197. package/dist/ui/components/SkillsOverlay.js +2 -2
  198. package/dist/ui/components/SkillsOverlay.js.map +1 -1
  199. package/dist/ui/components/StreamingArea.js +1 -1
  200. package/dist/ui/components/StreamingArea.js.map +1 -1
  201. package/dist/ui/components/TaskPickerMenu.d.ts +1 -1
  202. package/dist/ui/components/ToolExecution.js +1 -1
  203. package/dist/ui/components/ToolExecution.js.map +1 -1
  204. package/dist/ui/error-item.js +2 -2
  205. package/dist/ui/error-item.js.map +1 -1
  206. package/dist/ui/hooks/useAgentLoop.d.ts +2 -2
  207. package/dist/ui/hooks/useAgentLoop.js +8 -8
  208. package/dist/ui/hooks/useAgentLoop.js.map +1 -1
  209. package/dist/ui/hooks/useChatLayoutMeasurements.d.ts +1 -1
  210. package/dist/ui/hooks/useContextCompaction.d.ts +3 -3
  211. package/dist/ui/hooks/useContextCompaction.js +6 -7
  212. package/dist/ui/hooks/useContextCompaction.js.map +1 -1
  213. package/dist/ui/hooks/useModeState.d.ts +2 -2
  214. package/dist/ui/hooks/useModeState.js +2 -2
  215. package/dist/ui/hooks/useModeState.js.map +1 -1
  216. package/dist/ui/hooks/useSessionPersistence.d.ts +1 -1
  217. package/dist/ui/hooks/useSessionPersistence.js +3 -3
  218. package/dist/ui/hooks/useSessionPersistence.js.map +1 -1
  219. package/dist/ui/hooks/useTaskPickerController.d.ts +1 -1
  220. package/dist/ui/hooks/useTaskPickerController.js +1 -1
  221. package/dist/ui/hooks/useTaskPickerController.js.map +1 -1
  222. package/dist/ui/hooks/useTranscriptHistory.d.ts +1 -1
  223. package/dist/ui/item-helpers.js +1 -1
  224. package/dist/ui/item-helpers.js.map +1 -1
  225. package/dist/ui/language-pack-update.d.ts +1 -1
  226. package/dist/ui/language-pack-update.js +1 -1
  227. package/dist/ui/language-pack-update.js.map +1 -1
  228. package/dist/ui/login.js +1 -1
  229. package/dist/ui/login.js.map +1 -1
  230. package/dist/ui/mcp.d.ts +1 -1
  231. package/dist/ui/prompt-routing.d.ts +3 -3
  232. package/dist/ui/prompt-routing.js +3 -3
  233. package/dist/ui/prompt-routing.js.map +1 -1
  234. package/dist/ui/render.d.ts +8 -8
  235. package/dist/ui/sessions.js +1 -1
  236. package/dist/ui/sessions.js.map +1 -1
  237. package/dist/ui/stores/taskbar-store.d.ts +1 -1
  238. package/dist/ui/stores/taskbar-store.js.map +1 -1
  239. package/dist/ui/submit-prompt-command.d.ts +2 -2
  240. package/dist/ui/submit-prompt-command.js +2 -3
  241. package/dist/ui/submit-prompt-command.js.map +1 -1
  242. package/dist/ui/terminal-history-status-renderers.d.ts +1 -1
  243. package/dist/ui/terminal-history.js +2 -3
  244. package/dist/ui/terminal-history.js.map +1 -1
  245. package/dist/ui/theme/theme.d.ts +2 -1
  246. package/dist/ui/theme/theme.js.map +1 -1
  247. package/dist/ui/thinking-level.d.ts +1 -1
  248. package/dist/ui/thinking-level.js +1 -1
  249. package/dist/ui/thinking-level.js.map +1 -1
  250. package/dist/ui/tool-line-summary.js +1 -1
  251. package/dist/ui/tool-line-summary.js.map +1 -1
  252. package/dist/ui/transcript/presentation.js +1 -1
  253. package/dist/ui/transcript/presentation.js.map +1 -1
  254. package/dist/ui/utils/text-utils.js +1 -1
  255. package/dist/ui/utils/text-utils.js.map +1 -1
  256. package/dist/utils/git-overview.d.ts +2 -23
  257. package/dist/utils/git-overview.js +8 -1
  258. package/dist/utils/git-overview.js.map +1 -1
  259. package/package.json +13 -103
  260. package/assets/skills/bulletproof/SKILL.md +0 -132
  261. package/assets/skills/bulletproof/references/agent-surface.md +0 -113
  262. package/assets/skills/bulletproof/references/attack-classes.md +0 -226
  263. package/assets/skills/bulletproof/references/audit-protocol.md +0 -232
  264. package/assets/skills/bulletproof/references/platform-playbooks.md +0 -196
  265. package/assets/skills/bulletproof/references/provenance.md +0 -146
  266. package/assets/skills/bulletproof/references/secure-defaults.md +0 -137
  267. package/assets/skills/bulletproof/references/supply-chain.md +0 -84
  268. package/assets/skills/bulletproof/references/threat-landscape.md +0 -66
  269. package/assets/skills/bulletproof/references/verification.md +0 -74
  270. package/assets/skills/compliance-guard/SKILL.md +0 -115
  271. package/assets/skills/compliance-guard/references/artifacts.md +0 -199
  272. package/assets/skills/compliance-guard/references/eu-uk.md +0 -162
  273. package/assets/skills/compliance-guard/references/exposure-triage.md +0 -177
  274. package/assets/skills/compliance-guard/references/full-review.md +0 -155
  275. package/assets/skills/compliance-guard/references/lawsuit-vectors.md +0 -153
  276. package/assets/skills/compliance-guard/references/provenance.md +0 -135
  277. package/assets/skills/compliance-guard/references/sector-gates.md +0 -187
  278. package/assets/skills/compliance-guard/references/security-baseline.md +0 -117
  279. package/assets/skills/compliance-guard/references/trigger-map.md +0 -177
  280. package/assets/skills/compliance-guard/references/us.md +0 -194
  281. package/assets/skills/durable/SKILL.md +0 -114
  282. package/assets/skills/durable/references/agent-db-safety.md +0 -76
  283. package/assets/skills/durable/references/backups-and-runtime.md +0 -93
  284. package/assets/skills/durable/references/migrations-and-schema.md +0 -87
  285. package/assets/skills/gg-guide/SKILL.md +0 -43
  286. package/assets/skills/gg-guide/references/chat-motion-goals.md +0 -217
  287. package/assets/skills/gg-guide/references/checklist-and-safety.md +0 -177
  288. package/assets/skills/gg-guide/references/code-mode.md +0 -268
  289. package/assets/skills/gg-guide/references/getting-started.md +0 -290
  290. package/assets/skills/gg-guide/references/ken-and-autopilot.md +0 -172
  291. package/assets/skills/gg-guide/references/mcp-and-skills.md +0 -204
  292. package/assets/skills/gg-guide/references/models-and-sign-in.md +0 -200
  293. package/assets/skills/gg-guide/references/sessions-and-history.md +0 -213
  294. package/assets/skills/gg-guide/references/settings.md +0 -193
  295. package/assets/skills/gg-guide/references/troubleshooting-and-data.md +0 -186
  296. package/assets/skills/lean/SKILL.md +0 -117
  297. package/assets/skills/lean/references/memory-and-processes.md +0 -99
  298. package/assets/skills/lean/references/playbooks.md +0 -134
  299. package/dist/app-error.d.ts +0 -22
  300. package/dist/app-error.js +0 -41
  301. package/dist/app-error.js.map +0 -1
  302. package/dist/config.d.ts +0 -90
  303. package/dist/config.js +0 -240
  304. package/dist/config.js.map +0 -1
  305. package/dist/core/acceptance-checks.d.ts +0 -48
  306. package/dist/core/acceptance-checks.js +0 -151
  307. package/dist/core/acceptance-checks.js.map +0 -1
  308. package/dist/core/action-threats.d.ts +0 -68
  309. package/dist/core/action-threats.js +0 -894
  310. package/dist/core/action-threats.js.map +0 -1
  311. package/dist/core/agent-notifications.d.ts +0 -79
  312. package/dist/core/agent-notifications.js +0 -125
  313. package/dist/core/agent-notifications.js.map +0 -1
  314. package/dist/core/agent-session/helpers.d.ts +0 -26
  315. package/dist/core/agent-session/helpers.js +0 -47
  316. package/dist/core/agent-session/helpers.js.map +0 -1
  317. package/dist/core/agent-session/mcp-tools.d.ts +0 -87
  318. package/dist/core/agent-session/mcp-tools.js +0 -227
  319. package/dist/core/agent-session/mcp-tools.js.map +0 -1
  320. package/dist/core/agent-session/run-loop-monitor.d.ts +0 -63
  321. package/dist/core/agent-session/run-loop-monitor.js +0 -164
  322. package/dist/core/agent-session/run-loop-monitor.js.map +0 -1
  323. package/dist/core/agent-session/transcript-markers.d.ts +0 -57
  324. package/dist/core/agent-session/transcript-markers.js +0 -166
  325. package/dist/core/agent-session/transcript-markers.js.map +0 -1
  326. package/dist/core/agent-session/verification-tracker.d.ts +0 -71
  327. package/dist/core/agent-session/verification-tracker.js +0 -295
  328. package/dist/core/agent-session/verification-tracker.js.map +0 -1
  329. package/dist/core/agent-session.d.ts +0 -1398
  330. package/dist/core/agent-session.js +0 -5123
  331. package/dist/core/agent-session.js.map +0 -1
  332. package/dist/core/agents.d.ts +0 -63
  333. package/dist/core/agents.js +0 -160
  334. package/dist/core/agents.js.map +0 -1
  335. package/dist/core/ask-user.d.ts +0 -163
  336. package/dist/core/ask-user.js +0 -178
  337. package/dist/core/ask-user.js.map +0 -1
  338. package/dist/core/auth/index.d.ts +0 -11
  339. package/dist/core/auth/index.js +0 -11
  340. package/dist/core/auth/index.js.map +0 -1
  341. package/dist/core/auth-providers.d.ts +0 -2
  342. package/dist/core/auth-providers.js +0 -5
  343. package/dist/core/auth-providers.js.map +0 -1
  344. package/dist/core/auth-storage.d.ts +0 -1
  345. package/dist/core/auth-storage.js +0 -4
  346. package/dist/core/auth-storage.js.map +0 -1
  347. package/dist/core/auto-update.d.ts +0 -6
  348. package/dist/core/auto-update.js +0 -15
  349. package/dist/core/auto-update.js.map +0 -1
  350. package/dist/core/autopilot-cycle.d.ts +0 -127
  351. package/dist/core/autopilot-cycle.js +0 -182
  352. package/dist/core/autopilot-cycle.js.map +0 -1
  353. package/dist/core/autopilot-gate.d.ts +0 -106
  354. package/dist/core/autopilot-gate.js +0 -192
  355. package/dist/core/autopilot-gate.js.map +0 -1
  356. package/dist/core/autopilot-verdict.d.ts +0 -55
  357. package/dist/core/autopilot-verdict.js +0 -226
  358. package/dist/core/autopilot-verdict.js.map +0 -1
  359. package/dist/core/blocked-packages-file.d.ts +0 -33
  360. package/dist/core/blocked-packages-file.js +0 -274
  361. package/dist/core/blocked-packages-file.js.map +0 -1
  362. package/dist/core/bundled-agents.d.ts +0 -2
  363. package/dist/core/bundled-agents.js +0 -253
  364. package/dist/core/bundled-agents.js.map +0 -1
  365. package/dist/core/cache-diagnostics.d.ts +0 -72
  366. package/dist/core/cache-diagnostics.js +0 -200
  367. package/dist/core/cache-diagnostics.js.map +0 -1
  368. package/dist/core/cache-expiry.d.ts +0 -89
  369. package/dist/core/cache-expiry.js +0 -117
  370. package/dist/core/cache-expiry.js.map +0 -1
  371. package/dist/core/checklist-detection.d.ts +0 -11
  372. package/dist/core/checklist-detection.js +0 -238
  373. package/dist/core/checklist-detection.js.map +0 -1
  374. package/dist/core/checklist-git.d.ts +0 -19
  375. package/dist/core/checklist-git.js +0 -54
  376. package/dist/core/checklist-git.js.map +0 -1
  377. package/dist/core/checklist-items.d.ts +0 -181
  378. package/dist/core/checklist-items.js +0 -230
  379. package/dist/core/checklist-items.js.map +0 -1
  380. package/dist/core/checklist-prompt.d.ts +0 -14
  381. package/dist/core/checklist-prompt.js +0 -64
  382. package/dist/core/checklist-prompt.js.map +0 -1
  383. package/dist/core/checklist-snapshot.d.ts +0 -17
  384. package/dist/core/checklist-snapshot.js +0 -46
  385. package/dist/core/checklist-snapshot.js.map +0 -1
  386. package/dist/core/checklist-store.d.ts +0 -63
  387. package/dist/core/checklist-store.js +0 -273
  388. package/dist/core/checklist-store.js.map +0 -1
  389. package/dist/core/checkout-record.d.ts +0 -22
  390. package/dist/core/checkout-record.js +0 -68
  391. package/dist/core/checkout-record.js.map +0 -1
  392. package/dist/core/checkpoint-store.d.ts +0 -109
  393. package/dist/core/checkpoint-store.js +0 -260
  394. package/dist/core/checkpoint-store.js.map +0 -1
  395. package/dist/core/claude-code/complete.d.ts +0 -35
  396. package/dist/core/claude-code/complete.js +0 -125
  397. package/dist/core/claude-code/complete.js.map +0 -1
  398. package/dist/core/claude-code/events.d.ts +0 -67
  399. package/dist/core/claude-code/events.js +0 -460
  400. package/dist/core/claude-code/events.js.map +0 -1
  401. package/dist/core/claude-code/live-session.d.ts +0 -94
  402. package/dist/core/claude-code/live-session.js +0 -525
  403. package/dist/core/claude-code/live-session.js.map +0 -1
  404. package/dist/core/claude-code/loop.d.ts +0 -9
  405. package/dist/core/claude-code/loop.js +0 -15
  406. package/dist/core/claude-code/loop.js.map +0 -1
  407. package/dist/core/claude-code/session-sync.d.ts +0 -28
  408. package/dist/core/claude-code/session-sync.js +0 -53
  409. package/dist/core/claude-code/session-sync.js.map +0 -1
  410. package/dist/core/claude-code/tool-bridge.d.ts +0 -49
  411. package/dist/core/claude-code/tool-bridge.js +0 -352
  412. package/dist/core/claude-code/tool-bridge.js.map +0 -1
  413. package/dist/core/claude-code/transcripts.d.ts +0 -39
  414. package/dist/core/claude-code/transcripts.js +0 -195
  415. package/dist/core/claude-code/transcripts.js.map +0 -1
  416. package/dist/core/code-retrieval-chunkers.d.ts +0 -26
  417. package/dist/core/code-retrieval-chunkers.js +0 -264
  418. package/dist/core/code-retrieval-chunkers.js.map +0 -1
  419. package/dist/core/code-retrieval.d.ts +0 -18
  420. package/dist/core/code-retrieval.js +0 -124
  421. package/dist/core/code-retrieval.js.map +0 -1
  422. package/dist/core/codex-request-shape.d.ts +0 -7
  423. package/dist/core/codex-request-shape.js +0 -19
  424. package/dist/core/codex-request-shape.js.map +0 -1
  425. package/dist/core/compaction/active-context.d.ts +0 -16
  426. package/dist/core/compaction/active-context.js +0 -20
  427. package/dist/core/compaction/active-context.js.map +0 -1
  428. package/dist/core/compaction/compactor.d.ts +0 -281
  429. package/dist/core/compaction/compactor.js +0 -1452
  430. package/dist/core/compaction/compactor.js.map +0 -1
  431. package/dist/core/compaction/plan-step-policy.d.ts +0 -46
  432. package/dist/core/compaction/plan-step-policy.js +0 -57
  433. package/dist/core/compaction/plan-step-policy.js.map +0 -1
  434. package/dist/core/compaction/policy.d.ts +0 -36
  435. package/dist/core/compaction/policy.js +0 -144
  436. package/dist/core/compaction/policy.js.map +0 -1
  437. package/dist/core/compaction/query-aware-selector.d.ts +0 -32
  438. package/dist/core/compaction/query-aware-selector.js +0 -202
  439. package/dist/core/compaction/query-aware-selector.js.map +0 -1
  440. package/dist/core/compaction/token-estimator.d.ts +0 -36
  441. package/dist/core/compaction/token-estimator.js +0 -180
  442. package/dist/core/compaction/token-estimator.js.map +0 -1
  443. package/dist/core/compaction/tool-result-pruner.d.ts +0 -90
  444. package/dist/core/compaction/tool-result-pruner.js +0 -238
  445. package/dist/core/compaction/tool-result-pruner.js.map +0 -1
  446. package/dist/core/completion-review.d.ts +0 -24
  447. package/dist/core/completion-review.js +0 -2
  448. package/dist/core/completion-review.js.map +0 -1
  449. package/dist/core/context-files.d.ts +0 -8
  450. package/dist/core/context-files.js +0 -46
  451. package/dist/core/context-files.js.map +0 -1
  452. package/dist/core/context-limits.d.ts +0 -40
  453. package/dist/core/context-limits.js +0 -43
  454. package/dist/core/context-limits.js.map +0 -1
  455. package/dist/core/custom-commands.d.ts +0 -18
  456. package/dist/core/custom-commands.js +0 -57
  457. package/dist/core/custom-commands.js.map +0 -1
  458. package/dist/core/destructive-git-guard.d.ts +0 -113
  459. package/dist/core/destructive-git-guard.js +0 -874
  460. package/dist/core/destructive-git-guard.js.map +0 -1
  461. package/dist/core/encode-cwd.d.ts +0 -41
  462. package/dist/core/encode-cwd.js +0 -53
  463. package/dist/core/encode-cwd.js.map +0 -1
  464. package/dist/core/env-delta.d.ts +0 -34
  465. package/dist/core/env-delta.js +0 -84
  466. package/dist/core/env-delta.js.map +0 -1
  467. package/dist/core/event-bus.d.ts +0 -178
  468. package/dist/core/event-bus.js +0 -171
  469. package/dist/core/event-bus.js.map +0 -1
  470. package/dist/core/extensions/loader.d.ts +0 -7
  471. package/dist/core/extensions/loader.js +0 -68
  472. package/dist/core/extensions/loader.js.map +0 -1
  473. package/dist/core/extensions/plugin-bundles.d.ts +0 -13
  474. package/dist/core/extensions/plugin-bundles.js +0 -45
  475. package/dist/core/extensions/plugin-bundles.js.map +0 -1
  476. package/dist/core/extensions/types.d.ts +0 -18
  477. package/dist/core/extensions/types.js +0 -2
  478. package/dist/core/extensions/types.js.map +0 -1
  479. package/dist/core/foreign-session-import.d.ts +0 -119
  480. package/dist/core/foreign-session-import.js +0 -598
  481. package/dist/core/foreign-session-import.js.map +0 -1
  482. package/dist/core/foreign-transcript-blocks.d.ts +0 -50
  483. package/dist/core/foreign-transcript-blocks.js +0 -151
  484. package/dist/core/foreign-transcript-blocks.js.map +0 -1
  485. package/dist/core/frontmatter.d.ts +0 -22
  486. package/dist/core/frontmatter.js +0 -90
  487. package/dist/core/frontmatter.js.map +0 -1
  488. package/dist/core/goal-run-marker.d.ts +0 -32
  489. package/dist/core/goal-run-marker.js +0 -178
  490. package/dist/core/goal-run-marker.js.map +0 -1
  491. package/dist/core/goal-summary.d.ts +0 -32
  492. package/dist/core/goal-summary.js +0 -110
  493. package/dist/core/goal-summary.js.map +0 -1
  494. package/dist/core/goals-store.d.ts +0 -215
  495. package/dist/core/goals-store.js +0 -577
  496. package/dist/core/goals-store.js.map +0 -1
  497. package/dist/core/hashline.d.ts +0 -51
  498. package/dist/core/hashline.js +0 -76
  499. package/dist/core/hashline.js.map +0 -1
  500. package/dist/core/idle-wake.d.ts +0 -62
  501. package/dist/core/idle-wake.js +0 -103
  502. package/dist/core/idle-wake.js.map +0 -1
  503. package/dist/core/index.d.ts +0 -14
  504. package/dist/core/index.js +0 -14
  505. package/dist/core/index.js.map +0 -1
  506. package/dist/core/injection-detect.d.ts +0 -39
  507. package/dist/core/injection-detect.js +0 -241
  508. package/dist/core/injection-detect.js.map +0 -1
  509. package/dist/core/installed-threats.d.ts +0 -23
  510. package/dist/core/installed-threats.js +0 -71
  511. package/dist/core/installed-threats.js.map +0 -1
  512. package/dist/core/internal-diagnostics.d.ts +0 -159
  513. package/dist/core/internal-diagnostics.js +0 -495
  514. package/dist/core/internal-diagnostics.js.map +0 -1
  515. package/dist/core/keep-awake.d.ts +0 -88
  516. package/dist/core/keep-awake.js +0 -251
  517. package/dist/core/keep-awake.js.map +0 -1
  518. package/dist/core/ken-ask-answer.d.ts +0 -24
  519. package/dist/core/ken-ask-answer.js +0 -96
  520. package/dist/core/ken-ask-answer.js.map +0 -1
  521. package/dist/core/ken-context.d.ts +0 -119
  522. package/dist/core/ken-context.js +0 -447
  523. package/dist/core/ken-context.js.map +0 -1
  524. package/dist/core/ken-model.d.ts +0 -45
  525. package/dist/core/ken-model.js +0 -26
  526. package/dist/core/ken-model.js.map +0 -1
  527. package/dist/core/ken-prompt.d.ts +0 -21
  528. package/dist/core/ken-prompt.js +0 -370
  529. package/dist/core/ken-prompt.js.map +0 -1
  530. package/dist/core/language-detector.d.ts +0 -41
  531. package/dist/core/language-detector.js +0 -293
  532. package/dist/core/language-detector.js.map +0 -1
  533. package/dist/core/live-preview.d.ts +0 -26
  534. package/dist/core/live-preview.js +0 -80
  535. package/dist/core/live-preview.js.map +0 -1
  536. package/dist/core/local-endpoint-store.d.ts +0 -53
  537. package/dist/core/local-endpoint-store.js +0 -221
  538. package/dist/core/local-endpoint-store.js.map +0 -1
  539. package/dist/core/logger.d.ts +0 -22
  540. package/dist/core/logger.js +0 -95
  541. package/dist/core/logger.js.map +0 -1
  542. package/dist/core/loop-breaker.d.ts +0 -89
  543. package/dist/core/loop-breaker.js +0 -204
  544. package/dist/core/loop-breaker.js.map +0 -1
  545. package/dist/core/lsp/client.d.ts +0 -206
  546. package/dist/core/lsp/client.js +0 -685
  547. package/dist/core/lsp/client.js.map +0 -1
  548. package/dist/core/lsp/edit-telemetry.d.ts +0 -26
  549. package/dist/core/lsp/edit-telemetry.js +0 -52
  550. package/dist/core/lsp/edit-telemetry.js.map +0 -1
  551. package/dist/core/lsp/format.d.ts +0 -11
  552. package/dist/core/lsp/format.js +0 -30
  553. package/dist/core/lsp/format.js.map +0 -1
  554. package/dist/core/lsp/jsonrpc.d.ts +0 -68
  555. package/dist/core/lsp/jsonrpc.js +0 -153
  556. package/dist/core/lsp/jsonrpc.js.map +0 -1
  557. package/dist/core/lsp/manager.d.ts +0 -188
  558. package/dist/core/lsp/manager.js +0 -576
  559. package/dist/core/lsp/manager.js.map +0 -1
  560. package/dist/core/lsp/pool.d.ts +0 -114
  561. package/dist/core/lsp/pool.js +0 -259
  562. package/dist/core/lsp/pool.js.map +0 -1
  563. package/dist/core/lsp/project-root.d.ts +0 -9
  564. package/dist/core/lsp/project-root.js +0 -75
  565. package/dist/core/lsp/project-root.js.map +0 -1
  566. package/dist/core/lsp/reference-project.d.ts +0 -6
  567. package/dist/core/lsp/reference-project.js +0 -110
  568. package/dist/core/lsp/reference-project.js.map +0 -1
  569. package/dist/core/lsp/servers.d.ts +0 -44
  570. package/dist/core/lsp/servers.js +0 -289
  571. package/dist/core/lsp/servers.js.map +0 -1
  572. package/dist/core/lsp/test-support.d.ts +0 -17
  573. package/dist/core/lsp/test-support.js +0 -27
  574. package/dist/core/lsp/test-support.js.map +0 -1
  575. package/dist/core/mcp/catalog-cache.d.ts +0 -64
  576. package/dist/core/mcp/catalog-cache.js +0 -167
  577. package/dist/core/mcp/catalog-cache.js.map +0 -1
  578. package/dist/core/mcp/client.d.ts +0 -317
  579. package/dist/core/mcp/client.js +0 -1168
  580. package/dist/core/mcp/client.js.map +0 -1
  581. package/dist/core/mcp/content.d.ts +0 -23
  582. package/dist/core/mcp/content.js +0 -194
  583. package/dist/core/mcp/content.js.map +0 -1
  584. package/dist/core/mcp/defaults.d.ts +0 -26
  585. package/dist/core/mcp/defaults.js +0 -81
  586. package/dist/core/mcp/defaults.js.map +0 -1
  587. package/dist/core/mcp/deferred-catalog.d.ts +0 -53
  588. package/dist/core/mcp/deferred-catalog.js +0 -117
  589. package/dist/core/mcp/deferred-catalog.js.map +0 -1
  590. package/dist/core/mcp/elicitation-bridge.d.ts +0 -40
  591. package/dist/core/mcp/elicitation-bridge.js +0 -36
  592. package/dist/core/mcp/elicitation-bridge.js.map +0 -1
  593. package/dist/core/mcp/index.d.ts +0 -16
  594. package/dist/core/mcp/index.js +0 -10
  595. package/dist/core/mcp/index.js.map +0 -1
  596. package/dist/core/mcp/loopback.d.ts +0 -26
  597. package/dist/core/mcp/loopback.js +0 -66
  598. package/dist/core/mcp/loopback.js.map +0 -1
  599. package/dist/core/mcp/oauth-provider.d.ts +0 -55
  600. package/dist/core/mcp/oauth-provider.js +0 -106
  601. package/dist/core/mcp/oauth-provider.js.map +0 -1
  602. package/dist/core/mcp/oauth-store.d.ts +0 -44
  603. package/dist/core/mcp/oauth-store.js +0 -77
  604. package/dist/core/mcp/oauth-store.js.map +0 -1
  605. package/dist/core/mcp/parse-add-command.d.ts +0 -50
  606. package/dist/core/mcp/parse-add-command.js +0 -391
  607. package/dist/core/mcp/parse-add-command.js.map +0 -1
  608. package/dist/core/mcp/resolve-stdio.d.ts +0 -77
  609. package/dist/core/mcp/resolve-stdio.js +0 -359
  610. package/dist/core/mcp/resolve-stdio.js.map +0 -1
  611. package/dist/core/mcp/shared-pool.d.ts +0 -157
  612. package/dist/core/mcp/shared-pool.js +0 -236
  613. package/dist/core/mcp/shared-pool.js.map +0 -1
  614. package/dist/core/mcp/store.d.ts +0 -100
  615. package/dist/core/mcp/store.js +0 -202
  616. package/dist/core/mcp/store.js.map +0 -1
  617. package/dist/core/mcp/tool-guard.d.ts +0 -58
  618. package/dist/core/mcp/tool-guard.js +0 -215
  619. package/dist/core/mcp/tool-guard.js.map +0 -1
  620. package/dist/core/mcp/types.d.ts +0 -57
  621. package/dist/core/mcp/types.js +0 -2
  622. package/dist/core/mcp/types.js.map +0 -1
  623. package/dist/core/message-images.d.ts +0 -11
  624. package/dist/core/message-images.js +0 -52
  625. package/dist/core/message-images.js.map +0 -1
  626. package/dist/core/model-registry.d.ts +0 -1
  627. package/dist/core/model-registry.js +0 -5
  628. package/dist/core/model-registry.js.map +0 -1
  629. package/dist/core/model-unavailable.d.ts +0 -14
  630. package/dist/core/model-unavailable.js +0 -23
  631. package/dist/core/model-unavailable.js.map +0 -1
  632. package/dist/core/network-guard.d.ts +0 -28
  633. package/dist/core/network-guard.js +0 -251
  634. package/dist/core/network-guard.js.map +0 -1
  635. package/dist/core/node-debugger.d.ts +0 -148
  636. package/dist/core/node-debugger.js +0 -642
  637. package/dist/core/node-debugger.js.map +0 -1
  638. package/dist/core/oauth/openai.d.ts +0 -1
  639. package/dist/core/oauth/openai.js +0 -3
  640. package/dist/core/oauth/openai.js.map +0 -1
  641. package/dist/core/oauth/types.d.ts +0 -1
  642. package/dist/core/oauth/types.js +0 -2
  643. package/dist/core/oauth/types.js.map +0 -1
  644. package/dist/core/opencode-catalog-store.d.ts +0 -20
  645. package/dist/core/opencode-catalog-store.js +0 -82
  646. package/dist/core/opencode-catalog-store.js.map +0 -1
  647. package/dist/core/openrouter-catalog-store.d.ts +0 -24
  648. package/dist/core/openrouter-catalog-store.js +0 -140
  649. package/dist/core/openrouter-catalog-store.js.map +0 -1
  650. package/dist/core/package-cooldown.d.ts +0 -69
  651. package/dist/core/package-cooldown.js +0 -297
  652. package/dist/core/package-cooldown.js.map +0 -1
  653. package/dist/core/package-threats.d.ts +0 -92
  654. package/dist/core/package-threats.js +0 -1340
  655. package/dist/core/package-threats.js.map +0 -1
  656. package/dist/core/parked-requests.d.ts +0 -43
  657. package/dist/core/parked-requests.js +0 -34
  658. package/dist/core/parked-requests.js.map +0 -1
  659. package/dist/core/persistent-shell.d.ts +0 -81
  660. package/dist/core/persistent-shell.js +0 -452
  661. package/dist/core/persistent-shell.js.map +0 -1
  662. package/dist/core/plan-delta.d.ts +0 -23
  663. package/dist/core/plan-delta.js +0 -36
  664. package/dist/core/plan-delta.js.map +0 -1
  665. package/dist/core/plan-handoff.d.ts +0 -38
  666. package/dist/core/plan-handoff.js +0 -21
  667. package/dist/core/plan-handoff.js.map +0 -1
  668. package/dist/core/plan-submission-gate.d.ts +0 -28
  669. package/dist/core/plan-submission-gate.js +0 -27
  670. package/dist/core/plan-submission-gate.js.map +0 -1
  671. package/dist/core/platform-clis.d.ts +0 -15
  672. package/dist/core/platform-clis.js +0 -299
  673. package/dist/core/platform-clis.js.map +0 -1
  674. package/dist/core/process-gate.d.ts +0 -61
  675. package/dist/core/process-gate.js +0 -103
  676. package/dist/core/process-gate.js.map +0 -1
  677. package/dist/core/process-manager.d.ts +0 -242
  678. package/dist/core/process-manager.js +0 -902
  679. package/dist/core/process-manager.js.map +0 -1
  680. package/dist/core/progress/engine.d.ts +0 -22
  681. package/dist/core/progress/engine.js +0 -131
  682. package/dist/core/progress/engine.js.map +0 -1
  683. package/dist/core/progress/git-xp.d.ts +0 -15
  684. package/dist/core/progress/git-xp.js +0 -100
  685. package/dist/core/progress/git-xp.js.map +0 -1
  686. package/dist/core/progress/ranks.d.ts +0 -31
  687. package/dist/core/progress/ranks.js +0 -310
  688. package/dist/core/progress/ranks.js.map +0 -1
  689. package/dist/core/progress/rebuild.d.ts +0 -8
  690. package/dist/core/progress/rebuild.js +0 -125
  691. package/dist/core/progress/rebuild.js.map +0 -1
  692. package/dist/core/progress/store.d.ts +0 -34
  693. package/dist/core/progress/store.js +0 -200
  694. package/dist/core/progress/store.js.map +0 -1
  695. package/dist/core/progress/types.d.ts +0 -108
  696. package/dist/core/progress/types.js +0 -3
  697. package/dist/core/progress/types.js.map +0 -1
  698. package/dist/core/project-discovery.d.ts +0 -88
  699. package/dist/core/project-discovery.js +0 -907
  700. package/dist/core/project-discovery.js.map +0 -1
  701. package/dist/core/project-files.d.ts +0 -15
  702. package/dist/core/project-files.js +0 -37
  703. package/dist/core/project-files.js.map +0 -1
  704. package/dist/core/project-health-scan.d.ts +0 -109
  705. package/dist/core/project-health-scan.js +0 -673
  706. package/dist/core/project-health-scan.js.map +0 -1
  707. package/dist/core/project-health-score.d.ts +0 -41
  708. package/dist/core/project-health-score.js +0 -257
  709. package/dist/core/project-health-score.js.map +0 -1
  710. package/dist/core/prompt-command-expansion.d.ts +0 -13
  711. package/dist/core/prompt-command-expansion.js +0 -48
  712. package/dist/core/prompt-command-expansion.js.map +0 -1
  713. package/dist/core/prompt-commands.d.ts +0 -13
  714. package/dist/core/prompt-commands.js +0 -370
  715. package/dist/core/prompt-commands.js.map +0 -1
  716. package/dist/core/radio-players.d.ts +0 -28
  717. package/dist/core/radio-players.js +0 -133
  718. package/dist/core/radio-players.js.map +0 -1
  719. package/dist/core/radio.d.ts +0 -50
  720. package/dist/core/radio.js +0 -480
  721. package/dist/core/radio.js.map +0 -1
  722. package/dist/core/regrounding.d.ts +0 -37
  723. package/dist/core/regrounding.js +0 -89
  724. package/dist/core/regrounding.js.map +0 -1
  725. package/dist/core/resolve-start.d.ts +0 -28
  726. package/dist/core/resolve-start.js +0 -35
  727. package/dist/core/resolve-start.js.map +0 -1
  728. package/dist/core/run-claim.d.ts +0 -36
  729. package/dist/core/run-claim.js +0 -46
  730. package/dist/core/run-claim.js.map +0 -1
  731. package/dist/core/run-lifecycle.d.ts +0 -58
  732. package/dist/core/run-lifecycle.js +0 -104
  733. package/dist/core/run-lifecycle.js.map +0 -1
  734. package/dist/core/run-status.d.ts +0 -17
  735. package/dist/core/run-status.js +0 -28
  736. package/dist/core/run-status.js.map +0 -1
  737. package/dist/core/runtime-mode.d.ts +0 -21
  738. package/dist/core/runtime-mode.js +0 -43
  739. package/dist/core/runtime-mode.js.map +0 -1
  740. package/dist/core/sandbox-domains.d.ts +0 -13
  741. package/dist/core/sandbox-domains.js +0 -76
  742. package/dist/core/sandbox-domains.js.map +0 -1
  743. package/dist/core/sandbox-feedback.d.ts +0 -21
  744. package/dist/core/sandbox-feedback.js +0 -69
  745. package/dist/core/sandbox-feedback.js.map +0 -1
  746. package/dist/core/sandbox.d.ts +0 -106
  747. package/dist/core/sandbox.js +0 -383
  748. package/dist/core/sandbox.js.map +0 -1
  749. package/dist/core/semantic-loop-check.d.ts +0 -58
  750. package/dist/core/semantic-loop-check.js +0 -103
  751. package/dist/core/semantic-loop-check.js.map +0 -1
  752. package/dist/core/session-compaction.d.ts +0 -23
  753. package/dist/core/session-compaction.js +0 -54
  754. package/dist/core/session-compaction.js.map +0 -1
  755. package/dist/core/session-export.d.ts +0 -97
  756. package/dist/core/session-export.js +0 -368
  757. package/dist/core/session-export.js.map +0 -1
  758. package/dist/core/session-history.d.ts +0 -160
  759. package/dist/core/session-history.js +0 -467
  760. package/dist/core/session-history.js.map +0 -1
  761. package/dist/core/session-manager.d.ts +0 -509
  762. package/dist/core/session-manager.js +0 -1367
  763. package/dist/core/session-manager.js.map +0 -1
  764. package/dist/core/session-preview.d.ts +0 -12
  765. package/dist/core/session-preview.js +0 -58
  766. package/dist/core/session-preview.js.map +0 -1
  767. package/dist/core/session-storage.d.ts +0 -78
  768. package/dist/core/session-storage.js +0 -659
  769. package/dist/core/session-storage.js.map +0 -1
  770. package/dist/core/session-summary-index.d.ts +0 -51
  771. package/dist/core/session-summary-index.js +0 -192
  772. package/dist/core/session-summary-index.js.map +0 -1
  773. package/dist/core/settings-manager.d.ts +0 -113
  774. package/dist/core/settings-manager.js +0 -281
  775. package/dist/core/settings-manager.js.map +0 -1
  776. package/dist/core/shared-checkout-guard.d.ts +0 -78
  777. package/dist/core/shared-checkout-guard.js +0 -219
  778. package/dist/core/shared-checkout-guard.js.map +0 -1
  779. package/dist/core/shell-path.d.ts +0 -13
  780. package/dist/core/shell-path.js +0 -175
  781. package/dist/core/shell-path.js.map +0 -1
  782. package/dist/core/shell-threats-popular-packages.d.ts +0 -11
  783. package/dist/core/shell-threats-popular-packages.js +0 -675
  784. package/dist/core/shell-threats-popular-packages.js.map +0 -1
  785. package/dist/core/shell-threats.d.ts +0 -21
  786. package/dist/core/shell-threats.js +0 -235
  787. package/dist/core/shell-threats.js.map +0 -1
  788. package/dist/core/shell.d.ts +0 -54
  789. package/dist/core/shell.js +0 -99
  790. package/dist/core/shell.js.map +0 -1
  791. package/dist/core/shutdown.d.ts +0 -70
  792. package/dist/core/shutdown.js +0 -144
  793. package/dist/core/shutdown.js.map +0 -1
  794. package/dist/core/skill-scan.d.ts +0 -112
  795. package/dist/core/skill-scan.js +0 -781
  796. package/dist/core/skill-scan.js.map +0 -1
  797. package/dist/core/skills.d.ts +0 -100
  798. package/dist/core/skills.js +0 -299
  799. package/dist/core/skills.js.map +0 -1
  800. package/dist/core/slash-commands.d.ts +0 -58
  801. package/dist/core/slash-commands.js +0 -242
  802. package/dist/core/slash-commands.js.map +0 -1
  803. package/dist/core/steering.d.ts +0 -47
  804. package/dist/core/steering.js +0 -65
  805. package/dist/core/steering.js.map +0 -1
  806. package/dist/core/steroids.d.ts +0 -66
  807. package/dist/core/steroids.js +0 -243
  808. package/dist/core/steroids.js.map +0 -1
  809. package/dist/core/stream-diag-level.d.ts +0 -3
  810. package/dist/core/stream-diag-level.js +0 -24
  811. package/dist/core/stream-diag-level.js.map +0 -1
  812. package/dist/core/stream-rules.d.ts +0 -30
  813. package/dist/core/stream-rules.js +0 -151
  814. package/dist/core/stream-rules.js.map +0 -1
  815. package/dist/core/subagent-manager.d.ts +0 -239
  816. package/dist/core/subagent-manager.js +0 -1060
  817. package/dist/core/subagent-manager.js.map +0 -1
  818. package/dist/core/subagent-policy.d.ts +0 -9
  819. package/dist/core/subagent-policy.js +0 -41
  820. package/dist/core/subagent-policy.js.map +0 -1
  821. package/dist/core/subagent-receipt.d.ts +0 -54
  822. package/dist/core/subagent-receipt.js +0 -274
  823. package/dist/core/subagent-receipt.js.map +0 -1
  824. package/dist/core/subagent-store.d.ts +0 -41
  825. package/dist/core/subagent-store.js +0 -284
  826. package/dist/core/subagent-store.js.map +0 -1
  827. package/dist/core/subagent-turn-record.d.ts +0 -18
  828. package/dist/core/subagent-turn-record.js +0 -82
  829. package/dist/core/subagent-turn-record.js.map +0 -1
  830. package/dist/core/tasks-store.d.ts +0 -31
  831. package/dist/core/tasks-store.js +0 -97
  832. package/dist/core/tasks-store.js.map +0 -1
  833. package/dist/core/telegram-config.d.ts +0 -20
  834. package/dist/core/telegram-config.js +0 -52
  835. package/dist/core/telegram-config.js.map +0 -1
  836. package/dist/core/telegram.d.ts +0 -1
  837. package/dist/core/telegram.js +0 -3
  838. package/dist/core/telegram.js.map +0 -1
  839. package/dist/core/temp-paths.d.ts +0 -5
  840. package/dist/core/temp-paths.js +0 -50
  841. package/dist/core/temp-paths.js.map +0 -1
  842. package/dist/core/test-impact.d.ts +0 -73
  843. package/dist/core/test-impact.js +0 -467
  844. package/dist/core/test-impact.js.map +0 -1
  845. package/dist/core/thinking-level.d.ts +0 -1
  846. package/dist/core/thinking-level.js +0 -4
  847. package/dist/core/thinking-level.js.map +0 -1
  848. package/dist/core/threat-feed.d.ts +0 -65
  849. package/dist/core/threat-feed.js +0 -335
  850. package/dist/core/threat-feed.js.map +0 -1
  851. package/dist/core/trophies/catalog-more.d.ts +0 -2
  852. package/dist/core/trophies/catalog-more.js +0 -837
  853. package/dist/core/trophies/catalog-more.js.map +0 -1
  854. package/dist/core/trophies/catalog.d.ts +0 -4
  855. package/dist/core/trophies/catalog.js +0 -649
  856. package/dist/core/trophies/catalog.js.map +0 -1
  857. package/dist/core/trophies/engine.d.ts +0 -70
  858. package/dist/core/trophies/engine.js +0 -347
  859. package/dist/core/trophies/engine.js.map +0 -1
  860. package/dist/core/trophies/store.d.ts +0 -17
  861. package/dist/core/trophies/store.js +0 -113
  862. package/dist/core/trophies/store.js.map +0 -1
  863. package/dist/core/trophies/types.d.ts +0 -119
  864. package/dist/core/trophies/types.js +0 -76
  865. package/dist/core/trophies/types.js.map +0 -1
  866. package/dist/core/ui-adoption.d.ts +0 -32
  867. package/dist/core/ui-adoption.js +0 -302
  868. package/dist/core/ui-adoption.js.map +0 -1
  869. package/dist/core/ui-compatibility.d.ts +0 -10
  870. package/dist/core/ui-compatibility.js +0 -51
  871. package/dist/core/ui-compatibility.js.map +0 -1
  872. package/dist/core/ui-registry.d.ts +0 -101
  873. package/dist/core/ui-registry.js +0 -292
  874. package/dist/core/ui-registry.js.map +0 -1
  875. package/dist/core/user-shell-context.d.ts +0 -8
  876. package/dist/core/user-shell-context.js +0 -12
  877. package/dist/core/user-shell-context.js.map +0 -1
  878. package/dist/core/verification-evidence.d.ts +0 -49
  879. package/dist/core/verification-evidence.js +0 -816
  880. package/dist/core/verification-evidence.js.map +0 -1
  881. package/dist/core/verification-gate.d.ts +0 -77
  882. package/dist/core/verification-gate.js +0 -504
  883. package/dist/core/verification-gate.js.map +0 -1
  884. package/dist/core/verification-snapshot.d.ts +0 -7
  885. package/dist/core/verification-snapshot.js +0 -109
  886. package/dist/core/verification-snapshot.js.map +0 -1
  887. package/dist/core/verify-commands.d.ts +0 -34
  888. package/dist/core/verify-commands.js +0 -203
  889. package/dist/core/verify-commands.js.map +0 -1
  890. package/dist/core/voice-transcriber.d.ts +0 -1
  891. package/dist/core/voice-transcriber.js +0 -4
  892. package/dist/core/voice-transcriber.js.map +0 -1
  893. package/dist/core/workspace-guard.d.ts +0 -56
  894. package/dist/core/workspace-guard.js +0 -334
  895. package/dist/core/workspace-guard.js.map +0 -1
  896. package/dist/session.d.ts +0 -44
  897. package/dist/session.js +0 -105
  898. package/dist/session.js.map +0 -1
  899. package/dist/system-prompt.d.ts +0 -104
  900. package/dist/system-prompt.js +0 -480
  901. package/dist/system-prompt.js.map +0 -1
  902. package/dist/test-support/fake-home.d.ts +0 -19
  903. package/dist/test-support/fake-home.js +0 -37
  904. package/dist/test-support/fake-home.js.map +0 -1
  905. package/dist/test-support/keep-alive.d.ts +0 -14
  906. package/dist/test-support/keep-alive.js +0 -17
  907. package/dist/test-support/keep-alive.js.map +0 -1
  908. package/dist/test-support/slow-git.d.ts +0 -1
  909. package/dist/test-support/slow-git.js +0 -21
  910. package/dist/test-support/slow-git.js.map +0 -1
  911. package/dist/test-support/system-tools.d.ts +0 -6
  912. package/dist/test-support/system-tools.js +0 -36
  913. package/dist/test-support/system-tools.js.map +0 -1
  914. package/dist/tools/ask-user.d.ts +0 -34
  915. package/dist/tools/ask-user.js +0 -99
  916. package/dist/tools/ask-user.js.map +0 -1
  917. package/dist/tools/background-watch-lint.d.ts +0 -18
  918. package/dist/tools/background-watch-lint.js +0 -102
  919. package/dist/tools/background-watch-lint.js.map +0 -1
  920. package/dist/tools/bash-read-evidence.d.ts +0 -23
  921. package/dist/tools/bash-read-evidence.js +0 -180
  922. package/dist/tools/bash-read-evidence.js.map +0 -1
  923. package/dist/tools/bash.d.ts +0 -64
  924. package/dist/tools/bash.js +0 -552
  925. package/dist/tools/bash.js.map +0 -1
  926. package/dist/tools/browser-api.d.ts +0 -27
  927. package/dist/tools/browser-api.js +0 -449
  928. package/dist/tools/browser-api.js.map +0 -1
  929. package/dist/tools/browser-sandbox.d.ts +0 -16
  930. package/dist/tools/browser-sandbox.js +0 -158
  931. package/dist/tools/browser-sandbox.js.map +0 -1
  932. package/dist/tools/browser-session.d.ts +0 -84
  933. package/dist/tools/browser-session.js +0 -304
  934. package/dist/tools/browser-session.js.map +0 -1
  935. package/dist/tools/browser-snapshot.d.ts +0 -19
  936. package/dist/tools/browser-snapshot.js +0 -109
  937. package/dist/tools/browser-snapshot.js.map +0 -1
  938. package/dist/tools/browser.d.ts +0 -11
  939. package/dist/tools/browser.js +0 -106
  940. package/dist/tools/browser.js.map +0 -1
  941. package/dist/tools/checklist.d.ts +0 -49
  942. package/dist/tools/checklist.js +0 -154
  943. package/dist/tools/checklist.js.map +0 -1
  944. package/dist/tools/compress.d.ts +0 -56
  945. package/dist/tools/compress.js +0 -226
  946. package/dist/tools/compress.js.map +0 -1
  947. package/dist/tools/debug.d.ts +0 -54
  948. package/dist/tools/debug.js +0 -230
  949. package/dist/tools/debug.js.map +0 -1
  950. package/dist/tools/document-text.d.ts +0 -6
  951. package/dist/tools/document-text.js +0 -154
  952. package/dist/tools/document-text.js.map +0 -1
  953. package/dist/tools/edit-diff.d.ts +0 -123
  954. package/dist/tools/edit-diff.js +0 -476
  955. package/dist/tools/edit-diff.js.map +0 -1
  956. package/dist/tools/edit-targets.d.ts +0 -10
  957. package/dist/tools/edit-targets.js +0 -31
  958. package/dist/tools/edit-targets.js.map +0 -1
  959. package/dist/tools/edit.d.ts +0 -38
  960. package/dist/tools/edit.js +0 -695
  961. package/dist/tools/edit.js.map +0 -1
  962. package/dist/tools/enter-plan.d.ts +0 -7
  963. package/dist/tools/enter-plan.js +0 -20
  964. package/dist/tools/enter-plan.js.map +0 -1
  965. package/dist/tools/exit-plan.d.ts +0 -7
  966. package/dist/tools/exit-plan.js +0 -51
  967. package/dist/tools/exit-plan.js.map +0 -1
  968. package/dist/tools/find.d.ts +0 -17
  969. package/dist/tools/find.js +0 -100
  970. package/dist/tools/find.js.map +0 -1
  971. package/dist/tools/generate-image.d.ts +0 -83
  972. package/dist/tools/generate-image.js +0 -625
  973. package/dist/tools/generate-image.js.map +0 -1
  974. package/dist/tools/grep-scan.d.ts +0 -96
  975. package/dist/tools/grep-scan.js +0 -283
  976. package/dist/tools/grep-scan.js.map +0 -1
  977. package/dist/tools/grep.d.ts +0 -48
  978. package/dist/tools/grep.js +0 -1013
  979. package/dist/tools/grep.js.map +0 -1
  980. package/dist/tools/html-extract.d.ts +0 -57
  981. package/dist/tools/html-extract.js +0 -130
  982. package/dist/tools/html-extract.js.map +0 -1
  983. package/dist/tools/index.d.ts +0 -198
  984. package/dist/tools/index.js +0 -216
  985. package/dist/tools/index.js.map +0 -1
  986. package/dist/tools/live-preview.d.ts +0 -23
  987. package/dist/tools/live-preview.js +0 -41
  988. package/dist/tools/live-preview.js.map +0 -1
  989. package/dist/tools/ls.d.ts +0 -9
  990. package/dist/tools/ls.js +0 -59
  991. package/dist/tools/ls.js.map +0 -1
  992. package/dist/tools/operations.d.ts +0 -86
  993. package/dist/tools/operations.js +0 -117
  994. package/dist/tools/operations.js.map +0 -1
  995. package/dist/tools/overflow.d.ts +0 -17
  996. package/dist/tools/overflow.js +0 -68
  997. package/dist/tools/overflow.js.map +0 -1
  998. package/dist/tools/path-utils.d.ts +0 -30
  999. package/dist/tools/path-utils.js +0 -74
  1000. package/dist/tools/path-utils.js.map +0 -1
  1001. package/dist/tools/pdf-extract.d.ts +0 -17
  1002. package/dist/tools/pdf-extract.js +0 -43
  1003. package/dist/tools/pdf-extract.js.map +0 -1
  1004. package/dist/tools/prompt-hints.d.ts +0 -46
  1005. package/dist/tools/prompt-hints.js +0 -171
  1006. package/dist/tools/prompt-hints.js.map +0 -1
  1007. package/dist/tools/read-only-bash.d.ts +0 -31
  1008. package/dist/tools/read-only-bash.js +0 -338
  1009. package/dist/tools/read-only-bash.js.map +0 -1
  1010. package/dist/tools/read-tracker.d.ts +0 -43
  1011. package/dist/tools/read-tracker.js +0 -120
  1012. package/dist/tools/read-tracker.js.map +0 -1
  1013. package/dist/tools/read.d.ts +0 -18
  1014. package/dist/tools/read.js +0 -316
  1015. package/dist/tools/read.js.map +0 -1
  1016. package/dist/tools/redaction-guard.d.ts +0 -10
  1017. package/dist/tools/redaction-guard.js +0 -55
  1018. package/dist/tools/redaction-guard.js.map +0 -1
  1019. package/dist/tools/routine-output.d.ts +0 -39
  1020. package/dist/tools/routine-output.js +0 -281
  1021. package/dist/tools/routine-output.js.map +0 -1
  1022. package/dist/tools/safe-env.d.ts +0 -1
  1023. package/dist/tools/safe-env.js +0 -79
  1024. package/dist/tools/safe-env.js.map +0 -1
  1025. package/dist/tools/session-stats.d.ts +0 -26
  1026. package/dist/tools/session-stats.js +0 -51
  1027. package/dist/tools/session-stats.js.map +0 -1
  1028. package/dist/tools/side-web-search.d.ts +0 -34
  1029. package/dist/tools/side-web-search.js +0 -146
  1030. package/dist/tools/side-web-search.js.map +0 -1
  1031. package/dist/tools/skill.d.ts +0 -12
  1032. package/dist/tools/skill.js +0 -94
  1033. package/dist/tools/skill.js.map +0 -1
  1034. package/dist/tools/source-path.d.ts +0 -8
  1035. package/dist/tools/source-path.js +0 -128
  1036. package/dist/tools/source-path.js.map +0 -1
  1037. package/dist/tools/steroids.d.ts +0 -44
  1038. package/dist/tools/steroids.js +0 -356
  1039. package/dist/tools/steroids.js.map +0 -1
  1040. package/dist/tools/subagent-control.d.ts +0 -5
  1041. package/dist/tools/subagent-control.js +0 -211
  1042. package/dist/tools/subagent-control.js.map +0 -1
  1043. package/dist/tools/subagent-shared.d.ts +0 -110
  1044. package/dist/tools/subagent-shared.js +0 -180
  1045. package/dist/tools/subagent-shared.js.map +0 -1
  1046. package/dist/tools/subagent.d.ts +0 -37
  1047. package/dist/tools/subagent.js +0 -406
  1048. package/dist/tools/subagent.js.map +0 -1
  1049. package/dist/tools/task-output.d.ts +0 -10
  1050. package/dist/tools/task-output.js +0 -74
  1051. package/dist/tools/task-output.js.map +0 -1
  1052. package/dist/tools/task-send.d.ts +0 -11
  1053. package/dist/tools/task-send.js +0 -36
  1054. package/dist/tools/task-send.js.map +0 -1
  1055. package/dist/tools/task-stop.d.ts +0 -8
  1056. package/dist/tools/task-stop.js +0 -15
  1057. package/dist/tools/task-stop.js.map +0 -1
  1058. package/dist/tools/tasks.d.ts +0 -15
  1059. package/dist/tools/tasks.js +0 -94
  1060. package/dist/tools/tasks.js.map +0 -1
  1061. package/dist/tools/tool-search.d.ts +0 -26
  1062. package/dist/tools/tool-search.js +0 -81
  1063. package/dist/tools/tool-search.js.map +0 -1
  1064. package/dist/tools/tool-tiers.d.ts +0 -65
  1065. package/dist/tools/tool-tiers.js +0 -121
  1066. package/dist/tools/tool-tiers.js.map +0 -1
  1067. package/dist/tools/truncate.d.ts +0 -39
  1068. package/dist/tools/truncate.js +0 -242
  1069. package/dist/tools/truncate.js.map +0 -1
  1070. package/dist/tools/ui-adopt.d.ts +0 -16
  1071. package/dist/tools/ui-adopt.js +0 -66
  1072. package/dist/tools/ui-adopt.js.map +0 -1
  1073. package/dist/tools/ui-registry.d.ts +0 -15
  1074. package/dist/tools/ui-registry.js +0 -39
  1075. package/dist/tools/ui-registry.js.map +0 -1
  1076. package/dist/tools/verification-review.d.ts +0 -2
  1077. package/dist/tools/verification-review.js +0 -41
  1078. package/dist/tools/verification-review.js.map +0 -1
  1079. package/dist/tools/web-fetch.d.ts +0 -52
  1080. package/dist/tools/web-fetch.js +0 -986
  1081. package/dist/tools/web-fetch.js.map +0 -1
  1082. package/dist/tools/web-search.d.ts +0 -35
  1083. package/dist/tools/web-search.js +0 -926
  1084. package/dist/tools/web-search.js.map +0 -1
  1085. package/dist/tools/write.d.ts +0 -16
  1086. package/dist/tools/write.js +0 -196
  1087. package/dist/tools/write.js.map +0 -1
  1088. package/dist/types.d.ts +0 -44
  1089. package/dist/types.js +0 -2
  1090. package/dist/types.js.map +0 -1
  1091. package/dist/utils/git.d.ts +0 -102
  1092. package/dist/utils/git.js +0 -325
  1093. package/dist/utils/git.js.map +0 -1
  1094. package/dist/utils/github-ci.d.ts +0 -18
  1095. package/dist/utils/github-ci.js +0 -138
  1096. package/dist/utils/github-ci.js.map +0 -1
  1097. package/dist/utils/github.d.ts +0 -19
  1098. package/dist/utils/github.js +0 -67
  1099. package/dist/utils/github.js.map +0 -1
  1100. package/dist/utils/image.d.ts +0 -166
  1101. package/dist/utils/image.js +0 -673
  1102. package/dist/utils/image.js.map +0 -1
  1103. package/dist/utils/open-browser.d.ts +0 -13
  1104. package/dist/utils/open-browser.js +0 -31
  1105. package/dist/utils/open-browser.js.map +0 -1
  1106. package/dist/utils/plan-steps.d.ts +0 -90
  1107. package/dist/utils/plan-steps.js +0 -209
  1108. package/dist/utils/plan-steps.js.map +0 -1
  1109. package/dist/utils/process.d.ts +0 -48
  1110. package/dist/utils/process.js +0 -175
  1111. package/dist/utils/process.js.map +0 -1
  1112. package/dist/utils/prompt-enhancer.d.ts +0 -53
  1113. package/dist/utils/prompt-enhancer.js +0 -178
  1114. package/dist/utils/prompt-enhancer.js.map +0 -1
  1115. package/dist/utils/text.d.ts +0 -61
  1116. package/dist/utils/text.js +0 -68
  1117. package/dist/utils/text.js.map +0 -1
  1118. package/dist/web.d.ts +0 -5
  1119. package/dist/web.js +0 -5
  1120. package/dist/web.js.map +0 -1
@@ -1,117 +0,0 @@
1
- # Security Baseline
2
-
3
- ## Contents
4
- - PRE-DEPLOY BLOCKERS
5
- - Why AI-generated code fails here specifically
6
- - Security depth lives in the bulletproof skill
7
- - Payments
8
- - Data handling that maps to legal duties
9
- - Incident readiness
10
- - AI features: the compliance side
11
- - Assurance for B2B sales
12
-
13
-
14
- Security is the fastest route from "small app" to "regulatory incident": a breach triggers notification duties, class actions in states with a breach private right of action, and the deception theory that your privacy policy promised protection you did not provide. This file is the pre-deploy floor, weighted toward the failure modes that AI-generated and rapidly built apps produce most often.
15
-
16
- Snapshot **11 Aug 2026**, spot re-verified 3 Oct 2026 and 22 Oct 2026 (see `provenance.md`). Verify version numbers and vendor terms before asserting them.
17
-
18
- ---
19
-
20
- ## PRE-DEPLOY BLOCKERS
21
-
22
- Do not ship with any of these unresolved. Each is P0.
23
-
24
- 1. **Secrets in the client or the repo.** Any API key, service-role key, database URL, or private key present in a client bundle, a `NEXT_PUBLIC_*`/`VITE_*` variable, committed `.env`, or git history. Fix: move server-side, rotate the exposed value (rotation is mandatory — history is public forever), add `.env*` to `.gitignore`, add a secret scanner to CI, purge history if the repo is public.
25
- 2. **Row-level security or equivalent not enabled** on any table reachable by a client SDK (Supabase, Firebase, PocketBase, direct PostgREST). Default-deny, then add policies per table. Verify by querying as an anonymous user, not by reading the dashboard.
26
- 3. **Service-role / admin key reachable from the browser or an edge function that any user can call.** This bypasses every policy you wrote.
27
- 4. **Authorization enforced only in the UI or only on the route.** Every read and write must check *this user may act on this object* server-side, at the data layer. Broken object-level authorization is the most common serious defect in generated code: `/api/orders/:id` returning any id, `PATCH /users/:id` accepting an arbitrary id, an `isAdmin` check that lives only in a React component.
28
- 4a. **Defaults that grant instead of deny.** Any column, flag, or config whose default hands out access, verification, or entitlement without anyone checking: `is_verified DEFAULT TRUE`, `is_adult_verified DEFAULT TRUE`, `role DEFAULT 'admin'`, `plan DEFAULT 'pro'`, `approved BOOLEAN DEFAULT TRUE`, a permissive fallback in `getEnv("MODE", "debug")`. These read as harmless schema lines and silently defeat the entire control they belong to — an age gate whose column defaults to verified is not an age gate. Grep every `DEFAULT TRUE`, `DEFAULT 'admin'`, and default-valued boolean in the schema, and ask what it authorises before anyone acts.
29
-
30
- 4b. **Tenant isolation derived from client input.** In any B2B or multi-tenant product, a handler that takes `org_id`, `employer_id`, `workspace_id`, `account_id` or similar **from the request** and filters on it lets any customer read another customer's records by changing one value. The tenant must come from the authenticated session or token, never from a parameter. Enforce it once — a session-level filter, a policy, or a repository wrapper — not per route, and test it by authenticating as tenant A and requesting tenant B's id.
31
- 5. **Mass assignment.** Spreading a request body into a create/update (`{...req.body}`, `Object.assign(user, body)`, `prisma.user.update({data: body})`) lets a user set `role`, `is_admin`, `credits`, `plan`, or `stripe_customer_id`. Fix: explicit allow-listed field mapping or a strict schema with unknown-key rejection.
32
- 6. **String-built queries.** Any SQL, NoSQL filter, or ORM raw call assembled by concatenation or template literal from user input. Use parameterised queries everywhere, no exceptions.
33
- 7. **Unauthenticated internal endpoints.** Cron routes, webhooks, admin actions, migration or seed endpoints, debug routes, `/api/dev/*`, and server actions with no auth check. Webhooks must verify the provider's signature; cron routes must verify a shared secret.
34
- 8. **Publicly writable or listable storage buckets.** Signed URLs with sane expiry; no public write; no directory listing; validate content type and size server-side; never trust the client-supplied filename or MIME.
35
- 9. **No rate limiting on anything expensive or abusable** — auth, password reset, signup, search, file upload, and every LLM call. Absence produces credential stuffing, enumeration, and unbounded vendor bills.
36
- 10. **Password storage that is not a modern memory-hard hash** (argon2id or bcrypt/scrypt with adequate parameters). Never MD5/SHA-family, never unsalted, never encryption-instead-of-hashing. Or drop passwords entirely for an identity provider or passkeys.
37
- 11. **Session cookies without `HttpOnly`, `Secure`, and `SameSite`**, or tokens stored in `localStorage` where XSS can read them, or sessions that never expire and are not invalidated on password change.
38
- 12. **JWT verification that trusts the token** — `decode` instead of `verify`, algorithm not pinned, `none` accepted, no expiry check, secret shared with the client.
39
- 13. **CORS `*` combined with credentials**, or an origin reflected from the request header.
40
- 14. **Card data touching your systems.** PAN, CVV, or full track data in your database, your logs, or your error tracker. Use hosted fields or hosted checkout so the data never reaches your origin.
41
- 14b. **Financial and identity columns stored in the clear.** `payout_iban`, `bank_account`, `routing`, `tax_id`, `ssn`, `national_id`, `passport`, `government_id` sitting in a table with no encryption, no restricted access path, and no retention rule. They look like ordinary text columns and are routinely written that way; a breach involving them is materially worse than one involving emails, and several regimes treat them as their own category.
42
- 15. **PII in logs and error trackers** — request bodies, headers with tokens, full user objects, prompts containing user data. Scrub at the transport, set retention, sign the vendor DPA.
43
- 16. **No transport security or mixed content** — HTTPS everywhere, HSTS, secure cookies, no `http://` asset loads.
44
- 17. **SSRF in any server-side fetch of a user-supplied URL** (image import, webhook test, link preview, RSS, "fetch my site"). Allow-list schemes and hosts, block private/link-local ranges and metadata endpoints, disable redirects to internal addresses.
45
- 18. **No backup, or an untested restore.** Data loss is the incident nobody calls a breach and everybody suffers.
46
-
47
- ---
48
-
49
- ## Why AI-generated code fails here specifically
50
-
51
- Generated code optimises for a working happy path. The recurring gaps, in rough order of frequency:
52
-
53
- - Authorization is written as UI conditionals, not data-layer policy.
54
- - Database-level security is left at the framework default, which is often permissive for client SDKs.
55
- - Convenience keys (service role, admin tokens) get wired into wherever made the demo work.
56
- - Input validation exists at the form, not at the API boundary.
57
- - Error handling leaks stack traces, queries, and internal paths to the client.
58
- - Rate limits, quotas, and abuse controls are simply absent.
59
- - Dependencies are added freely, including hallucinated or typosquatted package names.
60
- - Secrets end up in whichever file the example used.
61
-
62
- Academic and vendor studies through 2024–2026 consistently find a substantial share of LLM-generated code samples contain a known weakness **[S]** — treat the prevalence as directionally real and the specific percentages as unverified.
63
-
64
- **Review heuristic:** for every table, ask "who can read this row, who can write it, and where is that enforced?" For every endpoint, ask "what happens if I change the id to someone else's?" Those two questions find most of it.
65
-
66
- ---
67
-
68
- ## Security depth lives in the bulletproof skill
69
-
70
- Supply chain, authentication and account recovery, prompt injection, agent tool permissions, sandboxing, and abuse limits are covered in depth by the separate **bulletproof** skill. Load it for any fix beyond a blocker above; do not duplicate it here. The compliance-specific residue:
71
-
72
- - **Licence scan** in the same CI step as vulnerability scanning; fail on copyleft and unknown (see `lawsuit-vectors.md` §6).
73
- - **Hallucinated or typosquatted packages** ("slopsquatting") are a supply-chain incident with breach-notice consequences; verify every new package name.
74
-
75
- ## Payments
76
-
77
- - Use hosted fields/checkout from your processor so PAN never touches your origin. This is what keeps your PCI scope minimal.
78
- - PCI DSS v4.0.1 is the only active version (v4.0 retired 31 Dec 2024), and all 51 formerly future-dated requirements have been mandatory since **31 March 2025**, with no remaining grace period **[S]**. For web checkouts the ones that bite are 6.4.3 (inventory, authorise and integrity-check every script on the payment page) and 11.6.1 (detect unauthorised changes to payment-page scripts and security headers) **[S]**. Confirm SAQ eligibility with your processor before advising: it differs between a fully hosted redirect and embedded fields/iframes.
79
- - Verify webhook signatures; make handlers idempotent; never grant entitlements from a client-side success callback.
80
- - Reconcile: entitlement state must derive from the processor's record, not from your optimistic write.
81
- - Store only the processor's customer/payment-method reference, never card data.
82
-
83
- ---
84
-
85
- ## Data handling that maps to legal duties
86
-
87
- - **Encryption** in transit always; at rest via managed disk/db encryption plus column-level encryption for sensitive categories.
88
- - **Minimisation** — every column you do not collect is a column you cannot leak, cannot be asked to delete, and cannot be sued over. This is the highest-leverage privacy control that exists.
89
- - **Retention** — a documented schedule per data class, implemented as a scheduled job, not a policy sentence. Include logs, analytics, backups, email provider, CRM, and LLM vendor retention.
90
- - **Deletion propagation** — deletion that leaves the row in backups, the analytics warehouse, the email tool, and the vendor's logs is not deletion. Document the realistic backup-expiry approach rather than claiming instant erasure.
91
- - **Access logging** for administrative access to user data.
92
- - **"Reasonable security"** is the legal standard in most US enforcement: the failures above are what regulators cite. Meeting this list is most of it.
93
-
94
- ---
95
-
96
- ## Incident readiness
97
-
98
- - Know your clocks before you need them: EU/UK supervisory-authority notification runs on a short deadline from awareness **[V]**; US state deadlines vary and several require attorney-general notice above thresholds; sector rules add their own.
99
- - Keep an incident runbook: who decides, how to contain, how to preserve evidence, notification templates, and a contact list.
100
- - Preserve logs long enough to reconstruct an event — 30 days is often too short.
101
- - Do not publicly characterise scope before you know it.
102
-
103
- ---
104
-
105
- ## AI features: the compliance side
106
-
107
- Prompt injection, tool scoping, sandboxing and cost limits: load **bulletproof**. What stays a legal duty here:
108
-
109
- - **PII into prompts** — redact what you can, name the vendor in the privacy notice, sign its DPA, prefer zero/limited-retention endpoints. Business/API and consumer tiers of the same vendor often differ on training and retention **[S]**; verify the specific endpoint's terms before telling a user their data is not trained on.
110
- - **Prompt and output logs** often hold the most sensitive data in the system; their retention belongs in the retention schedule.
111
- - **Unbounded per-user LLM spend** is also blocker 9 (rate limits); record it in the ledger, not only as a cost issue.
112
-
113
- ---
114
-
115
- ## Assurance for B2B sales
116
-
117
- Only when a buyer demands it: SOC 2 Type II or ISO 27001 are months and meaningful cost; a security questionnaire answer pack, a public trust page, a pen-test report, and a VPAT cover most early enterprise deals. Do not start a certification because it feels responsible — start it because a deal requires it.
@@ -1,177 +0,0 @@
1
- # Trigger Map
2
-
3
- ## Contents
4
- - A. Universal — applies to essentially any product with real users
5
- - B. Tracking, analytics, advertising
6
- - C. Money
7
- - D. Users, content, community
8
- - E. Minors
9
- - F. Sensitive data classes
10
- - G. AI features
11
- - H. Messaging
12
- - I. Data sourcing
13
- - J. Regulated domains — evaluate before anything else
14
- - K. Fast severity heuristics
15
-
16
-
17
- Observable fact → what it triggers → what to actually do. This is the routing index; depth lives in the jurisdiction and vector files.
18
-
19
- Status markers: **[V]** verified against a primary source (11 Aug 2026 snapshot, spot re-verified 3 Oct 2026 and 22 Oct 2026 — see `provenance.md`) · **[S]** snapshot claim, re-verify date/threshold before asserting · **[U]** uncertain or contested, present as uncertain.
20
-
21
- ---
22
-
23
- ## A. Universal — applies to essentially any product with real users
24
-
25
- | Observed fact | Triggers | Do this |
26
- |---|---|---|
27
- | Any personal data at all, any deployed app | GDPR/UK GDPR if EU/UK reachable; US state privacy laws by residency | Privacy notice at collection; lawful basis recorded; deletion path that actually deletes; vendor list |
28
- | Third-party scripts on a public page | ePrivacy consent **[V]**, CIPA/wiretap claims **[V]**, state "sharing" opt-outs | Block non-essential tags until consent; consent banner with reject parity; disclose recipients |
29
- | Accounts / login | Security baseline; breach-notification readiness | See `security-baseline.md` P0 list; hashing, session flags, server-side authz |
30
- | A public marketing or product web page | ADA Title III / EAA accessibility **[V]** | WCAG 2.1 AA minimum (2.2 AA if targeting EU public-sector or new work); axe CI gate; accessibility statement |
31
- | Any email you send | CAN-SPAM; Gmail/Yahoo bulk-sender rules **[S]** | Physical postal address, working unsubscribe, `List-Unsubscribe` + one-click, honour within 10 business days |
32
- | Contact/support form | Privacy notice; retention | Say what you do with it; delete on a schedule |
33
- | Error tracking / logs | Personal data in logs; transfer duties | Scrub PII, set retention, sign the vendor DPA |
34
- | No entity, personal liability | Contract/liability exposure | LAWYER item — do not paper over it |
35
-
36
- ---
37
-
38
- ## B. Tracking, analytics, advertising
39
-
40
- | Observed fact | Triggers | Do this |
41
- |---|---|---|
42
- | Any analytics that sets a cookie or reads device storage | ePrivacy consent (EU/UK) **[V]** regardless of whether data is personal | Prior blocking; granular purposes; consent record with timestamp + policy version |
43
- | Meta/TikTok/Google ad pixel | CIPA §631/§638.51 **[V]**, state "sale/share" opt-out, GDPR joint-controller | Consent-gated load; GPC honoured server-side; DPA/joint-controller terms; list recipient in the notice |
44
- | Session replay (Hotjar, Clarity, FullStory, LogRocket) | Wiretap claims — the strongest fingerprint **[V]** | Prefer removal. If kept: post-login only, mask all inputs, explicit in-product consent, no keystroke capture |
45
- | Chat widget (Intercom, Drift, Zendesk, tawk) | Wiretap/third-party-eavesdropper claims **[V]** | Disclose the third party in the chat UI before the first message; consent-gate the script |
46
- | Fingerprinting / device ID | Consent; several state laws treat it as an identifier | Consent-gate; document purpose; do not use to defeat opt-outs |
47
- | Cross-origin Google Fonts / CDN assets | EU transfer + consent claims **[S]** | Self-host fonts. Cheapest fix in the whole file |
48
- | Cookie banner that loads tags first, or has no reject button | Regulator fines and litigation **[V]** | Reject-all as prominent as accept-all; nothing fires pre-consent; withdrawal as easy as consent |
49
- | Video content + any ad pixel | VPPA class actions **[U]** — circuit split, actively litigated | Strip ad pixels from pages containing video until resolved. **Passing the video title or id into the pixel payload is the exact fingerprint** — check tag parameters, not just tag presence |
50
- | Any cross-context tracking at all | Universal opt-out / GPC duty **[V]** | Handle `Sec-GPC: 1` server-side before tags load. The defect is an **absent handler**, so grep for its absence rather than waiting for something to look wrong |
51
-
52
- ---
53
-
54
- ## C. Money
55
-
56
- | Observed fact | Triggers | Do this |
57
- |---|---|---|
58
- | Card payments via Stripe/Paddle/etc. | PCI DSS scope, consumer law, tax | Never let PAN touch your server; hosted fields/Checkout; verify webhook signatures; idempotency keys |
59
- | Auto-renewing subscription | ROSCA + ~25 state auto-renewal laws **[V]** | Clear pre-purchase disclosure adjacent to the CTA; separate affirmative consent + stored record; cancel in the same medium in ≤2 clicks; renewal reminders; price-change notice |
60
- | Free trial converting to paid | Highest-risk consumer pattern **[V]** | Pre-conversion reminder; disclose conversion date and amount before charging |
61
- | Hidden mandatory fees at checkout | Junk-fee and honest-pricing rules **[V]** | One `displayPrice()` returning base + all mandatory fees, used on every surface |
62
- | You hold, route, or pool user funds | Money transmission licensing | **Gate** — see `sector-gates.md` §3 before writing the ledger |
63
- | Payouts to users | Tax reporting, KYC, sanctions | Use a provider that owns the obligation (Stripe Connect/Express) rather than building it |
64
- | Selling to EU/UK consumers | Distance-selling info duties, withdrawal rights, VAT/OSS **[V]** | Pre-contract info before the pay button, 14-day withdrawal terms **plus the digital-content waiver checkbox pair**, tax handling or a merchant-of-record. **Fires on any paid consumer flow reachable from the EU/UK, independently of auto-renewal and pricing findings** — do not treat those as covering it |
65
- | Crypto, tokens, wallets | MiCA / US regimes | **Gate** — `sector-gates.md` §3 |
66
-
67
- ---
68
-
69
- ## D. Users, content, community
70
-
71
- | Observed fact | Triggers | Do this |
72
- |---|---|---|
73
- | In-app currency, credits, gems, or tips **that can be cashed out** | Money transmission / e-money licensing **[V]** | **ILLEGAL without authorisation** — route through a licensed provider's managed payouts; never hold a user-owned balance. See `sector-gates.md` §3 |
74
- | Any generated audio, video, image, or synthetic persona shown to users | Synthetic-content marking + labelling **[V]** | Machine-readable provenance on the artifact **and** a visible label, separate from whether generating it was allowed |
75
- | Users can upload files or post content | DMCA safe harbour prerequisites **[V]**; intermediary duties | Register a DMCA designated agent (small fee, expires after 3 years — calendar a renewal); publish it; repeat-infringer policy with a real termination mechanism |
76
- | Users can upload **images or video** | CSAM reporting duties **[V]**; NCII takedown duty **[V]** | Hash-matching where feasible; NCMEC reporting path and preservation; public NCII report form with a 48-hour removal SLA and identical-copy removal |
77
- | Hosting user content while established in, or reachable from, the EU/UK | **EU DSA** intermediary duties **[V]**; UK Online Safety Act | Notice-and-action mechanism, published point of contact, moderation criteria in the terms, minors' protection. **Separate from and additional to the US DMCA/CSAM/NCII duties** — naming only the US set leaves an EU-established platform's own regulator unaddressed |
78
- | Public profiles, DMs, feeds | EU DSA / UK Online Safety duties **[V]**, harassment/safety | Notice-and-action mechanism, contact point, terms describing moderation, risk assessment if UK-facing |
79
- | Reviews or testimonials displayed | FTC Consumer Reviews Rule **[V]** | No fabricated or seeded reviews, no incentives conditioned on sentiment, no rating-filtered display, disclose insider reviews. Delete fixture testimonials before launch |
80
- | Adult content | State age-verification laws **[V]** | **Gate** — `sector-gates.md` §6 |
81
- | Deepfakes, voice cloning, likeness | Right of publicity, NCII, state AI laws **[V]** | **Gate** — consent-of-subject architecture or do not build |
82
-
83
- ---
84
-
85
- ## E. Minors
86
-
87
- | Observed fact | Triggers | Do this |
88
- |---|---|---|
89
- | Any realistic under-13 users (US) | COPPA **[V]** | Verifiable parental consent before collection; separate consent for third-party disclosure; published retention policy; no behavioural ads to children; delete on request |
90
- | Under-16/18 users | State minor-protection laws, UK/EU children's codes **[V]** | High-privacy defaults, no profiling ads, age-appropriate design, no dark patterns |
91
- | App-store distribution to minors | Platform family policies + state app-store age laws **[S]** | Correct age rating, families policy compliance, no third-party ad SDKs in kids builds |
92
- | Education/school customers | FERPA/PPRA and state student-privacy contracts **[V]** | School-consent model, contractual terms, no secondary use, no ads |
93
- | AI companion features reachable by minors | Companion-chatbot laws **[V]**, incl. a private right of action in at least one state | Disclosure, crisis handling, minor mode, incident logs — see `us.md` |
94
-
95
- **Rule:** "we don't allow under-13s" in the terms is not a defence if the design attracts them or you have actual knowledge. Actual-knowledge signals include a user telling support their age.
96
-
97
- ---
98
-
99
- ## F. Sensitive data classes
100
-
101
- | Observed fact | Triggers | Do this |
102
- |---|---|---|
103
- | Estimating age, gender, or any attribute from a face or voice | Biometric categorisation duties **[V]**; age-assurance law where it gates content | Inform the exposed person; document the GDPR Art 9 analysis; an *estimate* is not verification where a law requires effective age assurance |
104
- | Face/voice templates, fingerprints, iris | Illinois BIPA and analogues **[V]** — per-person statutory damages, no volume threshold | Written release before capture; published retention/destruction schedule; prefer on-device matching returning a boolean, never storing a template |
105
- | Health, symptoms, fitness, mental health, cycle/fertility | Consumer-health-data laws with a private right of action **[V]**; possibly HIPAA | Separate consent for collection; separate signed authorisation before any sale/share; strict vendor control; see `sector-gates.md` §1 |
106
- | Precise geolocation | Sensitive category in most state laws; consent required | Opt-in, purpose-limited, coarse where possible, short retention |
107
- | Genetic data | Dedicated genetic-privacy statutes | LAWYER before building |
108
- | Government ID / identity documents | Retention and security duties, breach severity | Use a verification vendor; do not store images; keep only a boolean and a reference |
109
- | Immigration, criminal, union, religion, sexual orientation, race | GDPR Art 9 / state sensitive-data rules | Explicit opt-in, DPIA, minimise or drop the field |
110
-
111
- ---
112
-
113
- ## G. AI features
114
-
115
- | Observed fact | Triggers | Do this |
116
- |---|---|---|
117
- | User-facing chatbot | EU AI Act Art 50 disclosure **[V]**; several US state chatbot-disclosure laws **[V]** | Persistent "you are talking to an AI" disclosure, not buried in terms. See `eu-uk.md` §3 (Art 50) and `us.md` §5 |
118
- | Companion / emotional / therapy-adjacent chatbot | Companion-AI laws + AI-therapy bans **[V]** | **Gate** — `sector-gates.md` §1 and §5, `us.md` §2 (CA SB 243, PRA) and §5. Crisis protocol, minor protections, and in some states you cannot offer therapy at all |
119
- | Scoring emotion, confidence, engagement or sincerity from face/voice in **hiring, work, or education** | EU AI Act Art 5(1)(f) **prohibited practice** **[V]** | **ILLEGAL in the EU — remove the feature.** Not curable by disclosure or consent. See `eu-uk.md` Art 5 |
120
- | Inferring race, ethnicity, gender, religion, union membership or sexual orientation from a photo, face or voice | EU AI Act Art 5(1)(g) **prohibited** **[V]**; discrimination law everywhere | **ILLEGAL in the EU — delete the field and the model.** Also a discrimination claim if it touches any decision |
121
- | Building a face database by scraping images from the web or CCTV | EU AI Act Art 5(1)(e) **prohibited** **[V]** | **ILLEGAL in the EU.** Also BIPA and scraping exposure |
122
- | Cross-context "trust score" or "reputation score" affecting unrelated treatment | EU AI Act Art 5(1)(c) social scoring **[V]** | **Gate** — narrow the score to the context it was collected for |
123
- | Generated images/audio/video | Synthetic-content marking duties **[V]** | Machine-readable provenance (C2PA-style) + visible label where required. EU: Art 50(2)/(4), legacy systems by 2 Dec 2026 — `eu-uk.md` §3. CA SB 942/AB 853 if >1M monthly users — `us.md` §2. Sexual deepfakes of real people: `sector-gates.md` §6 |
124
- | AI in hiring, lending, housing, insurance, education, essential services | High-risk/ADS regimes **[V]** | Notice, human review, bias testing, records, adverse-action reasons. LAWYER item |
125
- | Training or fine-tuning on user data | Lawful basis, notice, opt-in expectations, training-data disclosure laws **[S]** | Default to opt-out-by-default = off; document data sources; check vendor terms. CA AB 2013 (no size threshold) — `us.md` §2 |
126
- | Agent with tool access / code execution | Prompt injection, exfiltration, cost abuse | See `security-baseline.md` §9 — this is a security blocker, not a policy item |
127
- | Sending user PII to an LLM vendor | Processor relationship, transfers, retention | Sign the DPA, use zero/limited-retention endpoints, redact before send, disclose the vendor |
128
- | Marketing claims like "AI-powered", "99% accurate", "fully automated" | Deceptive-claims enforcement **[V]** | Keep a dated substantiation file mapping each claim to evidence |
129
-
130
- ---
131
-
132
- ## H. Messaging
133
-
134
- | Observed fact | Triggers | Do this |
135
- |---|---|---|
136
- | Marketing email | CAN-SPAM, EU/UK consent + soft opt-in, CASL for Canada **[V]** | Consent record per recipient per channel; postal address; one-click unsubscribe; suppression list enforced at send |
137
- | SMS / voice | TCPA + state analogues **[V]** — uncapped per-message statutory damages | One `canSend()` chokepoint enforcing consent + opt-out + quiet hours in the recipient's timezone + frequency cap; STOP/HELP handling; carrier registration |
138
- | Push notifications used for marketing | Platform policy + consent expectations | Separate marketing toggle from transactional |
139
- | Cold outreach / scraped contacts | Anti-spam and data-protection breaches | Usually unlawful in the EU/UK without consent. Say so plainly |
140
-
141
- ---
142
-
143
- ## I. Data sourcing
144
-
145
- | Observed fact | Triggers | Do this |
146
- |---|---|---|
147
- | Scraping public web pages | Contract/ToS, trespass, database rights **[V]** | Never authenticate to scrape; never click through terms on the target; honour `robots.txt`; rate-limit; log `{url, timestamp, status, robots snapshot}` |
148
- | Scraping personal data | EU regulators treat this as high-risk **[V]** | Document a legitimate-interest assessment or do not do it; expect it to be the weakest point in any audit |
149
- | Selling or licensing data about people who never used you | Data-broker registration + deletion-mechanism duties **[V]** | Ask at design review: "do we sell PI of people who never used us?" If yes: registration, deletion pipeline, real budget |
150
- | Training on data of unknown provenance | Infringement exposure turns on *how you obtained it* **[V]** | No pirated corpora, ever. Keep provenance records |
151
- | Bundled images, fonts, icons, UI kits | Stock-photo and font demand letters — high base rate **[V]** | Build-step asset inventory: every image/font needs a row in a checked-in licence manifest with source + licence + receipt. Fail the build on unmatched assets |
152
- | Dependencies | Copyleft contamination in closed-source SaaS **[V]** | Blocking licence scan in CI denying AGPL/SSPL/GPL/CC-BY-SA/BUSL/unknown; generate an SBOM; ship the attribution notices MIT/Apache actually require |
153
-
154
- ---
155
-
156
- ## J. Regulated domains — evaluate before anything else
157
-
158
- Any hit here goes to `sector-gates.md` first, because the answer may be "this cannot ship as described".
159
-
160
- Health/medical · mental health/therapy · telehealth/prescribing · legal advice · financial/investment advice · tax preparation · insurance · lending/BNPL · money transmission/wallets/crypto · gambling/sweepstakes/prize contests/loot boxes · firearms · alcohol/tobacco/vape/cannabis · pharmacy · adult content · dating/safety · background checks/tenant screening/hiring decisions · credit/housing decisions · children's education · drones/aviation/maritime · export-controlled technology · elections/political ads.
161
-
162
- ---
163
-
164
- ## K. Fast severity heuristics
165
-
166
- Treat as **BLOCKER** on sight:
167
-
168
- 1. Secrets, service-role keys, or admin credentials reachable from a client bundle or committed to the repo.
169
- 2. Any table with user data readable or writable without a server-side authorization check on the object (not just the route).
170
- 3. Tracking or ad pixels firing before consent where consent is required.
171
- 4. Children's data collected with no parental-consent path.
172
- 5. Biometric templates persisted with no written release and no retention schedule.
173
- 6. Payment card data touching your server or logs.
174
- 7. Auto-renewing charges with no in-product cancel.
175
- 8. SMS sending with no per-recipient consent record.
176
- 9. User uploads of images with no abuse-reporting or takedown path.
177
- 10. A regulated-domain product with no licence and no disclaimer, presented as the real service.
@@ -1,194 +0,0 @@
1
- # United States
2
-
3
- ## Contents
4
- - 0. Scoping reality for a tiny startup
5
- - 1. State comprehensive privacy laws
6
- - 2. California specifics
7
- - 3. Children and teens
8
- - 4. Health, biometric, genetic, location
9
- - 5. AI laws
10
- - 6. Cross-cutting federal
11
- - 7. PRA ranking — what actually produces suits against small companies
12
- - 8. Verify before relying
13
-
14
-
15
- Snapshot **11 Aug 2026**, spot re-verified 3 Oct 2026 and 22 Oct 2026 (see `provenance.md`). Markers: **[V]** verified against a primary/first-tier source · **[S]** snapshot, re-verify · **[U]** contested or fast-moving.
16
-
17
- **PRA** = private right of action. This is the field that matters most for a small company: regulator-only laws are a compliance project, PRA laws are a lawsuit.
18
-
19
- ---
20
-
21
- ## 0. Scoping reality for a tiny startup
22
-
23
- Most **comprehensive state privacy laws will not apply** to a pre-scale product — they need tens of thousands of residents' data or large revenue. But four categories apply **at any size**:
24
-
25
- 1. FTC Act §5 and state unfair-and-deceptive-practices analogues (most state UDAPs *do* have a PRA).
26
- 2. Breach-notification statutes in every state.
27
- 3. Sector laws: COPPA, HIPAA, GLBA, TCPA, BIPA, consumer-health-data laws.
28
- 4. No-threshold plaintiff statutes: CIPA, BIPA, MHMDA, TCPA, VPPA.
29
-
30
- Also note **Texas and Nebraska have no revenue or volume threshold** — they apply to anyone doing business in-state who is not an SBA "small business", and even exempt small businesses may not sell sensitive personal data without consent **[V]**.
31
-
32
- **Practical answer:** a US indie app under ~25k users in any single state usually falls outside the comprehensive laws — and is still fully exposed to everything in categories 1–4.
33
-
34
- ---
35
-
36
- ## 1. State comprehensive privacy laws
37
-
38
- **In force in 2026: 20 states** (CA, VA, CO, CT, UT, TX, OR, MT, IA, DE, NE, NH, NJ, TN, MN, MD, and — from 1 Jan 2026 — IN, KY, RI; plus Florida's narrower law which applies only above $1B revenue) **[S]**. Enforcement is AG-only; penalties commonly $7,500–$10,000 per violation **[S]**. Cure periods are expiring across states during 2026 **[S]**. Further states have enacted laws taking effect from 2027 **[U]** on the exact list — re-check before advising.
39
-
40
- Thresholds range from 25,000 consumers (Montana) to 175,000 (Tennessee); 10,000 consumers where a share of revenue comes from selling data (RI, DE, NH, MD); Maryland pairs a 35,000-consumer threshold with the strictest data-minimisation and sensitive-data rules, and bans the sale of sensitive data outright **[V]**.
41
-
42
- **Universal opt-out / Global Privacy Control — the cheapest high-value engineering task.** As of 1 Jan 2026, twelve states require honouring it (CA, CO, CT, DE, MD, MN, MT, NE, NH, NJ, OR, TX); Virginia-template states, including the 2026 newcomers Indiana, Kentucky and Rhode Island, do not **[V]**. California's regulations effective 1 Jan 2026 also require the business to display whether the signal was honoured (11 CCR §7025(c)(6)) **[S]**. California, Colorado and Connecticut have run a coordinated GPC enforcement sweep **[S]**.
43
-
44
- ```
45
- Read the Sec-GPC: 1 request header and navigator.globalPrivacyControl.
46
- Treat as an opt-out of sale/share + targeted advertising.
47
- Apply BEFORE firing any ad pixel. Persist server-side against the user/device.
48
- Disclose signal handling in the privacy notice.
49
- ```
50
- Honouring GPC for **every** visitor is the safe default: it satisfies the strictest state and violates none **[V]**.
51
-
52
- **Taking effect in 2027** — Oklahoma and Louisiana on 1 Jan 2027, Alabama on 1 May 2027 **[S]**; Vermont (Act 145) on 1 Jan 2028, per the statute pages and most trackers **[S]**. Delaware's threshold drops to 10,000 consumers (5,000 with data-sale revenue) from 1 Jan 2027 **[S]**. Which states add a GPC duty in 2027 is disputed (trackers disagree even on Alabama) **[U]**; honouring GPC for everyone stays the safe default.
53
-
54
- **Why an ordinary ad pixel triggers everything.** "Sale" requires no money — any disclosure for other valuable consideration counts — and "sharing" expressly covers cross-context behavioural advertising **[V]**. Meta Pixel, GA4 with ad features, TikTok, Reddit and LinkedIn tags are a sale/share/targeted ad in nearly every state. Build: a tag inventory, consent-gated loading, and an opt-out that actually severs the pixel rather than filing a form.
55
-
56
- **Sensitive data requires opt-in** in Virginia-model states (precise geolocation, race, religion, health, sex life/orientation, immigration status, biometrics, genetic data, children's data) **[V]**. California instead grants a right to limit use.
57
-
58
- **Minors:** opt-in for targeted ads, sale, and profiling for known 13–16 year-olds; Maryland extends to under-18 on a "should have known" standard **[V]**.
59
-
60
- **Rights and timing:** access, delete, correct, portability, opt-out, non-discrimination. **45 days, extendable by 45** **[V]**. Virginia-model states require an **appeal** mechanism. California requires two intake methods. Never identity-verify an opt-out — verification is for access/deletion.
61
-
62
- **Notice content:** categories collected/sources/purposes/recipients, sensitive-data uses, **retention periods per category** (California), rights and how to exercise them, opt-out-signal handling, appeal process, contact, and a last-updated date with an annual refresh **[V]**.
63
-
64
- **Assessments:** written data-protection assessments required in most Virginia-model states for targeted advertising, sale, sensitive data, and risky profiling; retained and producible to the AG **[V]**.
65
-
66
- ---
67
-
68
- ## 2. California specifics
69
-
70
- **Applicability:** for-profit doing business in CA meeting any one of — annual gross revenue over ~$26.6M (CPI-adjusted), buying/selling/sharing PI of 100,000+ CA consumers or households a year, or 50%+ of revenue from selling/sharing PI **[V]**. Penalties per violation with a higher tier for intentional violations or those involving minors. **Consumers may sue only over certain breaches** ($107–$799 per consumer per incident) — there is no general PRA for policy or opt-out-link failures **[V]**.
71
-
72
- **2026 regulations package (effective 1 Jan 2026; approved by OAL 22 Sep 2025, per cppa.ca.gov)** **[V]**:
73
- - *Risk assessments* — required before starting covered processing from 1 Jan 2026; complete for pre-2026 ongoing activities by 31 Dec 2027; attestation plus summary to the CPPA by 1 Apr 2028. Triggered by sensitive PI, targeted ads to minors, ADMT for significant decisions, or training ADMT.
74
- - *ADMT* — pre-use notice, access, and opt-out (or a qualifying exception) for automated decision-making about significant decisions (including employees, contractors, applicants). **Compliance deadline 1 Jan 2027**; ADMT deployed after that date must comply before first use. Targeted advertising alone is not a significant decision.
75
- - *Cyber audits* — only above revenue plus scale thresholds; first certifications due 1 Apr 2028 (>$100M revenue), 1 Apr 2029 ($50–100M), 1 Apr 2030 (<$50M) **[V]**. A pre-revenue startup is out of scope.
76
-
77
- **Delete Act / DROP** — if you sell PI of consumers you have no direct relationship with, you are a data broker. **No revenue threshold.** Registration plus, **from 1 Aug 2026**, processing consumer deletion requests through the state mechanism every 45 days with downstream deletion directives; per-day penalties apply whether or not you registered **[V]** (1 Aug 2026 / 45-day cadence re-confirmed on cppa.ca.gov/data_brokers, 3 Oct 2026). All brokers operating in 2025 or 2026 must have a DROP account **[V]**. AB 883 (signed Sep 2026) cuts a broker turnaround from 45 to 30 days; sources disagree whether that is the request-response deadline or the DROP check cadence **[U]**.
78
-
79
- **AB 2561 (signed 27 Sep 2026)** — an OS or app may not undo a user's privacy setting (including after an update) without consent **[S]**. Never reset privacy toggles in a migration. Enforcement has already hit companies of exactly this size. Ask at design review: *do we sell PI of people who never used us?*
80
-
81
- **Breach notice (SB 446)** — since 1 Jan 2026, notify affected California residents within **30 calendar days** of discovery, and report to the AG within **15 calendar days** of notifying individuals **[V]**.
82
-
83
- **AI transparency (SB 942 as amended by AB 853)** — covered providers are generative-AI systems with **over 1M monthly users**; duties operative 2 Aug 2026, with hosting-platform duties from 1 Jan 2027 **[V]**. Most small devs are out of scope, but the hosting-platform duty catches anyone distributing GenAI systems.
84
-
85
- **AB 2713 (2026)** amends the AI Transparency Act: large online platforms must show whether content was AI-generated or altered (provenance data) **[S]**.
86
-
87
- **AB 1609 (signed 28 Sep 2026)** — customer-service chatbot disclosure and human access for large businesses; the reported revenue threshold of $500M is **[U]**.
88
-
89
- **AB 2013 training-data transparency** — **no size threshold**. Developers of generative AI systems made available to Californians must publish training-data documentation; compliance required from 1 Jan 2026 and on substantial modification **[V]**. Catches small fine-tuners, not mere API consumers.
90
-
91
- **SB 243 companion chatbots — the highest-risk new law for small AI apps.** Effective 1 Jan 2026. Applies to chatbots sustaining a relationship or human-like emotional engagement (excludes customer-service bots, limited game NPCs, voice assistants). Requires non-human disclosure, mental-health crisis protocols, and minor protections including blocking sexual content and enforcing breaks; annual reporting to the state Office of Suicide Prevention is reported to start 1 Jul 2027 **[S]** (bill text not reachable 3 Oct 2026). **PRA: YES** — minimum $1,000 damages plus fees, and UCL pairing can reach individuals personally **[V]**. **SB 1119** (signed 10 Sep 2026 **[V]**) adds minor protections from 1 Jan 2027, core duties 1 Jul 2027, and independent child-safety audits from 1 Jan 2029 **[S]**. **SB 867** bans toys with a companion chatbot for under-16s from 1 Jan 2027 to 1 Jan 2031 **[S]**.
92
-
93
- **Employment ADS regulations** under state anti-discrimination law add notice and recordkeeping duties for automated decision systems **[S]**.
94
-
95
- ---
96
-
97
- ## 3. Children and teens
98
-
99
- **COPPA amended Rule (16 CFR Part 312, 90 FR 16918) — effective 23 June 2025, full compliance date 22 Apr 2026, now passed and enforceable** **[S]** (secondary sources citing the Federal Register; FR text not opened). The FTC issued a February 2026 policy statement limiting enforcement where children's data is collected solely for age verification, but only for operators compliant in every other respect **[S]**. Trigger: a child-directed service, or actual knowledge of collecting personal information from under-13s. Mixed-audience services may age-screen. Concrete changes:
100
-
101
- - **Separate** verifiable parental consent for disclosing children's data to third parties (including for targeted advertising).
102
- - New **data-retention limits** and a **published written retention policy** — indefinite retention is prohibited.
103
- - Broader definition of personal information now expressly including **biometric identifiers** (face templates, fingerprints, voiceprints), government identifiers, phone numbers, audio recordings, and certain geolocation.
104
- - A written children's information security programme with vendor due diligence.
105
- - Parent review/deletion flows must cover biometric data.
106
-
107
- **App Store Accountability Acts (TX, UT, LA, AL) and California's Digital Age Assurance Act** — these impose duties on **app developers**, not just the stores **[V]**. Status as of 22 Oct 2026:
108
- - **Texas SB 2420** — in force under the Fifth Circuit's 4 June 2026 stay pending appeal; the Supreme Court denied vacatur on 6 Jul 2026 (not a merits ruling); the merits appeal was argued 4 Aug 2026 with no opinion at 22 Oct 2026 **[S]** (court orders not opened).
109
- - **Utah** — HB 498 (2026) pushed the main store/developer duties to **6 May 2027**, removed AG enforcement, and left a private right of action effective **31 Dec 2026** **[S]**.
110
- - **Louisiana** — HB 977 (signed 15 May 2026) pushed the effective date to **1 July 2027** **[S]**.
111
- - **California AB 1043** — effective **1 Jan 2027**: OS-level self-declared age brackets; developers must request the age signal and are then treated as having actual knowledge of the user's age range; no per-download parental consent; AG enforcement up to $2,500 negligent / $7,500 wilful per violation **[S]**.
112
- - **Alabama** — enacted; effective date not re-verified **[U]**.
113
- Build: consume the store/OS age-signal API, branch features on age category, store only a category flag, re-request consent on significant app changes.
114
-
115
- **California 2026 minors package (signed 10 Sep 2026 [V], gov.ca.gov)** — AB 1709: no addictive features (activity-based feeds, autoplay) for under-16s on covered UGC platforms from 1 Jan 2027; AB 2246 repeals and replaces the Age-Appropriate Design Code with a reasonable-steps duty for services likely accessed by under-18s, from 1 Jan 2027; AB 1856 amends AB 1043 (OS and app stores only; developers deemed to know the age range from the device signal) **[S]**.
116
-
117
- **NY SAFE for Kids** — final rules July 2026, effective **25 Jan 2027**, targeting platforms with addictive feeds **[V]**.
118
-
119
- **Adult content age verification** — 26 states with live laws following the 2025 Supreme Court decision upholding Texas's law **[V]**. Typical trigger is ≥1/3 sexual material harmful to minors, a few with no threshold. Use a third-party verifier returning a boolean; retain nothing reconstructable; geo-route per state. Several states allow private suits.
120
-
121
- **TAKE IT DOWN Act §3 (NCII) — enforced by the FTC from 19 May 2026, and it reaches tiny platforms** **[V]** (ftc.gov press release, May 2026). The FTC runs a complaint portal (TakeItDown.ftc.gov) and has sent warning letters **[V]**; violations are treated as violations of an FTC rule, so civil penalties per violation apply **[S]** on the exact inflation-adjusted amount. Any site, app or service that hosts user content must publish a plain-language notice-and-removal process usable by **users and non-users**, and remove reported non-consensual intimate imagery — including AI-generated — plus known identical copies **within 48 hours**. Non-compliance is trivially detectable: a regulator just checks whether the notice exists. Build `/report/ncii`, an acknowledgement + 48h SLA timer, hash-based re-upload suppression, and a footer link.
122
-
123
- **CSAM reporting** — providers must report apparent child sexual abuse material to the national tipline as soon as reasonably possible after obtaining actual knowledge, with a **one-year preservation** duty; there is no general proactive monitoring mandate **[V]**. Register a point of contact, define an escalation path, and never re-transmit the material except to the tipline or law enforcement.
124
-
125
- ---
126
-
127
- ## 4. Health, biometric, genetic, location
128
-
129
- **HIPAA usually does *not* cover a direct-to-consumer wellness app** — it reaches covered entities and their business associates. You become a business associate the moment you handle PHI *on behalf of* a covered entity, which requires a BAA, Security Rule compliance, and 60-day breach notice **[V]**. If you are not HIPAA, you are in the consumer-health-data regime below.
130
-
131
- **Washington My Health My Data Act (RCW 19.373) — the top small-company landmine.** **No revenue or volume threshold**, in effect since 31 Mar 2024 (small businesses from 30 June 2024) **[V]**. "Consumer health data" is defined broadly enough to include precise location that could indicate seeking health services. Requires a **standalone** consumer-health-data privacy policy at its own link, **separate consent for collection**, **separate consent for sharing**, and a **distinct signed authorisation to sell**, plus a geofencing prohibition and processor contracts. **PRA: YES**, via the state Consumer Protection Act: actual damages, trebling up to $25,000, and fees; the AG can separately seek civil penalties **[S]**. The lawsuits on record (from Feb 2025) target ad SDKs and website/app tracking, not hospitals **[S]**. Any period tracker, fitness, mental-health, or symptom app — or anything collecting precise location — is squarely in scope. Nevada (SB 370) and Connecticut have similar consent and geofencing rules without a PRA; New York bans geofencing health facilities; New York's broader Health Information Privacy Act had not become law at 3 Oct 2026 **[S]**.
132
-
133
- **California AB 1979 (signed Sep 2026, from 1 Jan 2027)** — a business offering a healthcare chatbot to consumers is treated as a provider of health care under the CMIA (California's medical-confidentiality law), and AI may not independently perform functions reserved to licensed clinicians **[S]**.
134
-
135
- **Illinois BIPA** — see `lawsuit-vectors.md` §3. Required **before first capture**: written notice of collection and specific purpose, notice of the retention schedule and destruction guidelines, a **written release**, a publicly available retention/destruction policy, no profiting from biometrics, and reasonable-care storage **[V]**. Texas and Washington have AG-enforced analogues.
136
-
137
- **Genetic data** — roughly 14 states require separate express consent per purpose and per disclosure; some allow private suits **[S]**. Treat raw DNA as opt-in-per-purpose and get counsel.
138
-
139
- **Precise geolocation** — sensitive/opt-in in every Virginia-model state, and health-linked location is consumer health data **[V]**. Request coarse location by default; never ship precise location to ad SDKs.
140
-
141
- **FTC Health Breach Notification Rule** — applies to non-HIPAA health apps that can draw data from multiple sources (e.g. platform health data plus user input). Critically, a "breach" includes an **unauthorised disclosure** — firing a health event to an ad pixel is itself reportable **[V]**. 500+ affected means notifying the regulator within 60 days.
142
-
143
- ---
144
-
145
- ## 5. AI laws
146
-
147
- - **Colorado** — SB 24-205 never took effect: SB 26-189 (signed 14 May 2026) repealed and replaced it with a narrower automated-decision-making (ADMT) disclosure law effective **1 Jan 2027** — point-of-interaction notice, post-adverse-decision explanation, correction and human-review rights for consequential decisions. Repeal-and-reenact confirmed on leg.colorado.gov **[V]**; the 1 Jan 2027 date and obligation detail are consistent across law-firm summaries **[S]**. AG rules (4 CCR 904-6, also covering the HB 26-1263 chatbot law): proposed 11 Aug 2026, interim draft 6 Oct, comments close 26 Oct 2026 **[V]** (coag.gov/ai), with the rulemaking hearing that day **[S]**. Final rules are due by 1 Jan 2027 and pending xAI litigation could still delay it; re-check before building **[S]**.
148
- - **Texas TRAIGA (HB 149)** — signed 22 Jun 2025, effective 1 Jan 2026 (capitol.texas.gov bill history, 3 Oct 2026), reaching out-of-state developers whose AI is accessible to Texas users. Intent-based liability for AI that promotes self-harm, facilitates crime, discriminates, or produces prohibited deepfakes. AG-only with a 60-day cure; **safe harbour for documented NIST AI RMF-aligned compliance** **[V]**. Practical step for a small dev: a one-page RMF-aligned policy plus retained prompt/eval logs.
149
- - **Illinois HB 3773** — from 1 Jan 2026, using AI with a discriminatory *effect* in employment violates the state human-rights act; intent is no defence **[V]**.
150
- - **NYC Local Law 144** — annual independent bias audit plus published summary and candidate notice for automated employment decision tools used for NYC roles **[V]**.
151
- - **Mental-health AI** — Illinois bans AI delivering mental-health treatment or clinical decisions outright; Nevada, Utah and Tennessee restrict or require disclosure; treat "AI therapist" as a **hard gate** **[V]**.
152
- - **Companion chatbots** — California (PRA), New York (AG-only), Oregon (PRA, from 2027), Washington (from 2027), Colorado (HB 26-1263, from 1 Jan 2027: age estimation plus disclosures and restrictions for minors) **[V]**. **Baseline build for any consumer LLM chat:** persistent non-human disclosure, self-harm detection with a crisis interstitial, minor-mode content restrictions and break reminders, retained incident logs.
153
- - **Frontier-model laws** target training compute far beyond any small developer **[V]**.
154
- - **Federal posture** — a December 2025 executive order seeks to weaken state AI regulation via litigation and funding conditions, with a DOJ task force operating from January 2026 **[V]**. Do **not** advise a user to ignore state AI law on this basis; the laws remain in force unless and until enjoined.
155
-
156
- ---
157
-
158
- ## 6. Cross-cutting federal
159
-
160
- - **FTC Act §5** — any statement in your privacy policy, marketing page, app-store listing or in-app copy that is not literally true of your code is deception. Dark patterns in consent and cancellation flows are deception/unfairness; failure to maintain reasonable security is unfairness **[V]**. No federal PRA, but most state UDAP analogues have one.
161
- - **Consumer Reviews and Testimonials Rule** — prohibits fake, incentivised-by-sentiment, and undisclosed insider reviews, with civil penalties in the tens of thousands per violation; enforcement is active **[V]**.
162
- - **Negative option / click-to-cancel** — the 2024 rule was vacated by the Eighth Circuit on 8 July 2025; the FTC published a new advance notice of proposed rulemaking in March 2026, so no new federal rule is in force **[S]**. The FTC keeps pleading the same three duties (disclose terms, express informed consent, easy cancel) under §5 and ROSCA. Do not tell a user they are safe: ROSCA and roughly 30 state auto-renewal laws still govern, and California's amended law broadened liability **[V]**.
163
- - **TCPA** — see `lawsuit-vectors.md` §4. Consent records, revocation handling on any channel, quiet hours in the recipient's timezone, DNC scrubbing, carrier campaign registration **[V]**. Revocation: opt-outs must be honoured within 10 business days **[S]**. FCC 26-67 (adopted 30 Sep 2026, released 1 Oct) replaces the 2024 "revoke-all" rule and its 31 Jan 2027 date: an opt-out from an informational message may be limited to that category, a marketing opt-out still stops all marketing, callers may designate an exclusive opt-out method, and the 10-business-day window stays **[V]**. It was published in the Federal Register on 26 Oct 2026 (FR Doc 2026-21821) and takes effect **25 Nov 2026** **[S]**; a companion proposal (FR Doc 2026-21820) asks about a shorter revocation window and a revoke-all method **[S]**. Build to the strict reading: any STOP-type reply stops all marketing on every channel.
164
- - **CAN-SPAM** — accurate headers and subject, advertising identification, **valid physical postal address**, working opt-out honoured within **10 business days** and functional for 30 days after send; you are liable for your sending platform and affiliates **[V]**.
165
- - **State breach notification** — all states; deadlines and AG-notice thresholds vary; several sector rules add shorter clocks **[V]**.
166
- - **ADA accessibility** — **Title II** (state and local government, including their contractors' web and app content): a DOJ interim final rule of 20 Apr 2026 moved the WCAG 2.1 AA compliance dates to **26 Apr 2027** (population ≥50,000) and **26 Apr 2028** (smaller entities and special districts); the technical standard is unchanged and DOJ signalled further review **[S]** (law-firm and SBA Office of Advocacy reports; the Federal Register text was not retrieved). **Title III** (private businesses) has no technical rule and no deadline — exposure is private litigation, which rose in 2025: 3,117 federal website suits, up 27% on 2024, over 5,000 counting state courts, with e-commerce the main target **[S]**. WCAG 2.1 AA is the practical benchmark; build to 2.2 AA.
167
- - **GLBA Safeguards Rule** — "financial institution" is far broader than banks and catches many fintech, lending, tax-prep and advisory products: written InfoSec programme, a named qualified individual, MFA, encryption, vendor oversight, and 30-day regulator notice for larger incidents **[V]**.
168
- - **FCRA** — if you assemble or use consumer reports for employment, tenant, credit or insurance decisions: permissible purpose, **standalone** disclosure plus authorisation, pre-adverse-action packet with a waiting period, adverse-action notice. **PRA: YES**, with heavy class-action volume over standalone-disclosure defects **[V]**.
169
- - **ECOA/Reg B and FHA** — adverse-action notices with **specific principal reasons** within 30 days. A black-box model that cannot articulate reasons is itself the violation **[V]**. **PRA: YES.**
170
-
171
- ---
172
-
173
- ## 7. PRA ranking — what actually produces suits against small companies
174
-
175
- 1. California CIPA (trackers, pixels, chat widgets, session replay) — $5,000 per violation, no threshold **[V]**
176
- 2. ADA Title III accessibility (plus state statutory damages) **[V]**
177
- 3. TCPA/SMS — $500–$1,500 per message, uncapped **[V]**
178
- 4. Illinois BIPA — per-person statutory damages ($1,000 / $5,000), a single in-state user suffices; the 2024 per-person cap applies retroactively to pending cases (Seventh Circuit, *Clay v. Union Pacific*, 1 Apr 2026) **[S]**
179
- 5. Washington MHMDA — actual damages trebled up to $25,000 plus fees, extremely broad health-data definition **[S]**
180
- 6. Auto-renewal claims via state consumer statutes **[V]**
181
- 7. CCPA breach claims — $107–$799 per consumer, filed reflexively after AG breach reports **[V]**
182
- 8. California SB 243 companion chatbots — new, untested, minimum $1,000 plus fees **[V]**
183
- 9. VPPA — video plus ad pixel, $2,500 per person, circuit split **[U]**
184
- 10. FCRA — standalone-disclosure defects **[V]**
185
- 11. State wiretap analogues beyond California **[U]** on the exact state list
186
- 12. AI employment discrimination — low volume today, rising **[S]**
187
-
188
- **Regulator-only (no PRA):** every state comprehensive privacy law except California's breach claim, COPPA, TAKE IT DOWN, TRAIGA, frontier-model laws, SB 942, NYC LL144, Nevada health law, the Delete Act, GLBA, CAN-SPAM, and FTC rules.
189
-
190
- ---
191
-
192
- ## 8. Verify before relying
193
-
194
- Colorado AG rules under SB 26-189 · Vermont and Nebraska children's-code dates · FCC companion proposal on the TCPA revocation window (FR Doc 2026-21820) · Utah, Louisiana and Alabama app-store law dates and litigation · DOJ's further Title II review · state privacy laws taking effect in 2027 · VPPA scope · state mini-TCPA and mini-wiretap lists · genetic-privacy specifics per state · SaaS sales-tax nexus.