@kenkaiiii/ggcoder 6.4.0 → 7.0.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 (1116) 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 +8 -1
  13. package/dist/app-sidecar/branch-routes.js +154 -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 +6 -6
  35. package/dist/app-sidecar/history-routes.js.map +1 -1
  36. package/dist/app-sidecar/history.d.ts +2 -2
  37. package/dist/app-sidecar/integration-routes.js +4 -6
  38. package/dist/app-sidecar/integration-routes.js.map +1 -1
  39. package/dist/app-sidecar/keep-awake.d.ts +1 -1
  40. package/dist/app-sidecar/keep-awake.js +1 -1
  41. package/dist/app-sidecar/keep-awake.js.map +1 -1
  42. package/dist/app-sidecar/ken-context.d.ts +2 -2
  43. package/dist/app-sidecar/ken-context.js +1 -1
  44. package/dist/app-sidecar/ken-context.js.map +1 -1
  45. package/dist/app-sidecar/live-preview/dev-url.d.ts +1 -1
  46. package/dist/app-sidecar/live-preview/manager.d.ts +2 -14
  47. package/dist/app-sidecar/live-preview/manager.js.map +1 -1
  48. package/dist/app-sidecar/live-preview/routes.js +1 -1
  49. package/dist/app-sidecar/live-preview/routes.js.map +1 -1
  50. package/dist/app-sidecar/live-preview/servers.js +1 -1
  51. package/dist/app-sidecar/live-preview/servers.js.map +1 -1
  52. package/dist/app-sidecar/mcp-routes.js +2 -2
  53. package/dist/app-sidecar/mcp-routes.js.map +1 -1
  54. package/dist/app-sidecar/mcp-rows.d.ts +3 -15
  55. package/dist/app-sidecar/mcp-rows.js +7 -2
  56. package/dist/app-sidecar/mcp-rows.js.map +1 -1
  57. package/dist/app-sidecar/mcp-shell-command.d.ts +1 -1
  58. package/dist/app-sidecar/mcp-shell-command.js +3 -3
  59. package/dist/app-sidecar/mcp-shell-command.js.map +1 -1
  60. package/dist/app-sidecar/mcp-sync.d.ts +2 -2
  61. package/dist/app-sidecar/mcp-sync.js +3 -3
  62. package/dist/app-sidecar/mcp-sync.js.map +1 -1
  63. package/dist/app-sidecar/progress-manager.d.ts +1 -1
  64. package/dist/app-sidecar/progress-manager.js +6 -6
  65. package/dist/app-sidecar/progress-manager.js.map +1 -1
  66. package/dist/app-sidecar/prompt-routes.js +5 -5
  67. package/dist/app-sidecar/prompt-routes.js.map +1 -1
  68. package/dist/app-sidecar/repo-polls.d.ts +3 -3
  69. package/dist/app-sidecar/repo-polls.js +4 -4
  70. package/dist/app-sidecar/repo-polls.js.map +1 -1
  71. package/dist/app-sidecar/route-context.d.ts +17 -17
  72. package/dist/app-sidecar/run-control-routes.js +2 -5
  73. package/dist/app-sidecar/run-control-routes.js.map +1 -1
  74. package/dist/app-sidecar/session-file-routes.d.ts +1 -1
  75. package/dist/app-sidecar/session-file-routes.js +2 -2
  76. package/dist/app-sidecar/session-file-routes.js.map +1 -1
  77. package/dist/app-sidecar/session-routes.js +3 -4
  78. package/dist/app-sidecar/session-routes.js.map +1 -1
  79. package/dist/app-sidecar/session-types.d.ts +5 -13
  80. package/dist/app-sidecar/shell-routes.js +1 -1
  81. package/dist/app-sidecar/shell-routes.js.map +1 -1
  82. package/dist/app-sidecar/shell-runs.js +2 -2
  83. package/dist/app-sidecar/shell-runs.js.map +1 -1
  84. package/dist/app-sidecar/shell-suggestions.d.ts +2 -8
  85. package/dist/app-sidecar/shell-suggestions.js +1 -1
  86. package/dist/app-sidecar/shell-suggestions.js.map +1 -1
  87. package/dist/app-sidecar/task-routes.js +5 -5
  88. package/dist/app-sidecar/task-routes.js.map +1 -1
  89. package/dist/app-sidecar/trophy-manager.d.ts +2 -2
  90. package/dist/app-sidecar/trophy-manager.js +3 -3
  91. package/dist/app-sidecar/trophy-manager.js.map +1 -1
  92. package/dist/app-sidecar/usage.d.ts +1 -1
  93. package/dist/app-sidecar/usage.js +3 -2
  94. package/dist/app-sidecar/usage.js.map +1 -1
  95. package/dist/app-sidecar/workspace-routes.js +4 -4
  96. package/dist/app-sidecar/workspace-routes.js.map +1 -1
  97. package/dist/app-sidecar/worktrees.js +1 -1
  98. package/dist/app-sidecar/worktrees.js.map +1 -1
  99. package/dist/app-sidecar-sessions.d.ts +2 -5
  100. package/dist/app-sidecar-sessions.js +1 -1
  101. package/dist/app-sidecar-sessions.js.map +1 -1
  102. package/dist/app-sidecar.d.ts +1 -1
  103. package/dist/app-sidecar.js +47 -45
  104. package/dist/app-sidecar.js.map +1 -1
  105. package/dist/chat-agents/general.d.ts +1 -1
  106. package/dist/chat-agents/index.d.ts +1 -1
  107. package/dist/chat-agents/jiwa.d.ts +2 -9
  108. package/dist/chat-agents/jiwa.js +1 -0
  109. package/dist/chat-agents/jiwa.js.map +1 -1
  110. package/dist/chat-agents/memory.d.ts +2 -9
  111. package/dist/chat-agents/memory.js +1 -0
  112. package/dist/chat-agents/memory.js.map +1 -1
  113. package/dist/chat-agents/research.d.ts +1 -1
  114. package/dist/chat-agents/shared.d.ts +1 -1
  115. package/dist/chat-agents/shared.js +1 -1
  116. package/dist/chat-agents/shared.js.map +1 -1
  117. package/dist/chat-agents/therapist.d.ts +1 -1
  118. package/dist/chat-agents/types.d.ts +2 -1
  119. package/dist/chat-agents/types.js +6 -1
  120. package/dist/chat-agents/types.js.map +1 -1
  121. package/dist/cli/auth.js +3 -6
  122. package/dist/cli/auth.js.map +1 -1
  123. package/dist/cli/mcp.js +4 -3
  124. package/dist/cli/mcp.js.map +1 -1
  125. package/dist/cli.d.ts +1 -0
  126. package/dist/cli.js +26 -27
  127. package/dist/cli.js.map +1 -1
  128. package/dist/goals-agent/goal-team.d.ts +1 -1
  129. package/dist/goals-agent/goals-agent.d.ts +3 -3
  130. package/dist/goals-agent/goals-agent.js +5 -5
  131. package/dist/goals-agent/goals-agent.js.map +1 -1
  132. package/dist/hf-pull.d.ts +2 -1
  133. package/dist/hf-pull.js +0 -1
  134. package/dist/hf-pull.js.map +1 -1
  135. package/dist/index.d.ts +0 -8
  136. package/dist/index.js +1 -14
  137. package/dist/index.js.map +1 -1
  138. package/dist/modes/acp-autopilot.js +3 -3
  139. package/dist/modes/acp-autopilot.js.map +1 -1
  140. package/dist/modes/acp-goals.d.ts +2 -2
  141. package/dist/modes/acp-goals.js +3 -3
  142. package/dist/modes/acp-goals.js.map +1 -1
  143. package/dist/modes/acp-mode.d.ts +6 -6
  144. package/dist/modes/acp-mode.js +22 -23
  145. package/dist/modes/acp-mode.js.map +1 -1
  146. package/dist/modes/agent-home-mode.js +7 -8
  147. package/dist/modes/agent-home-mode.js.map +1 -1
  148. package/dist/modes/json-mode.js +4 -4
  149. package/dist/modes/json-mode.js.map +1 -1
  150. package/dist/modes/print-mode.js +4 -3
  151. package/dist/modes/print-mode.js.map +1 -1
  152. package/dist/modes/rpc-mode.js +2 -2
  153. package/dist/modes/rpc-mode.js.map +1 -1
  154. package/dist/modes/serve-mode.js +10 -11
  155. package/dist/modes/serve-mode.js.map +1 -1
  156. package/dist/modes/subagent-worker-mode.d.ts +1 -1
  157. package/dist/modes/subagent-worker-mode.js +8 -8
  158. package/dist/modes/subagent-worker-mode.js.map +1 -1
  159. package/dist/motion-agent/motion-agent.d.ts +3 -2
  160. package/dist/motion-agent/motion-agent.js +3 -2
  161. package/dist/motion-agent/motion-agent.js.map +1 -1
  162. package/dist/motion-agent/motion-bundle.d.ts +18 -0
  163. package/dist/motion-agent/motion-bundle.js +34 -0
  164. package/dist/motion-agent/motion-bundle.js.map +1 -0
  165. package/dist/subagent-entry-path.d.ts +1 -0
  166. package/dist/subagent-entry-path.js +13 -0
  167. package/dist/subagent-entry-path.js.map +1 -0
  168. package/dist/subagent-entry.d.ts +1 -1
  169. package/dist/subagent-entry.js +2 -1
  170. package/dist/subagent-entry.js.map +1 -1
  171. package/dist/ui/App.d.ts +8 -8
  172. package/dist/ui/App.js +20 -21
  173. package/dist/ui/App.js.map +1 -1
  174. package/dist/ui/app-items.d.ts +1 -1
  175. package/dist/ui/components/BackgroundTasksBar.d.ts +1 -1
  176. package/dist/ui/components/Banner.js +1 -1
  177. package/dist/ui/components/Banner.js.map +1 -1
  178. package/dist/ui/components/ChatFooterPane.d.ts +1 -1
  179. package/dist/ui/components/ChatScreen.d.ts +4 -4
  180. package/dist/ui/components/Footer.d.ts +1 -1
  181. package/dist/ui/components/Footer.js +1 -1
  182. package/dist/ui/components/Footer.js.map +1 -1
  183. package/dist/ui/components/FooterStatusRow.d.ts +1 -1
  184. package/dist/ui/components/InputArea.d.ts +2 -2
  185. package/dist/ui/components/InputArea.js +2 -2
  186. package/dist/ui/components/InputArea.js.map +1 -1
  187. package/dist/ui/components/ModelSelector.js +1 -1
  188. package/dist/ui/components/ModelSelector.js.map +1 -1
  189. package/dist/ui/components/RewindOverlay.d.ts +1 -1
  190. package/dist/ui/components/RewindOverlay.js.map +1 -1
  191. package/dist/ui/components/SessionSelector.d.ts +1 -1
  192. package/dist/ui/components/SettingsSelector.d.ts +1 -1
  193. package/dist/ui/components/SkillsOverlay.js +2 -2
  194. package/dist/ui/components/SkillsOverlay.js.map +1 -1
  195. package/dist/ui/components/StreamingArea.js +1 -1
  196. package/dist/ui/components/StreamingArea.js.map +1 -1
  197. package/dist/ui/components/TaskPickerMenu.d.ts +1 -1
  198. package/dist/ui/components/ToolExecution.js +1 -1
  199. package/dist/ui/components/ToolExecution.js.map +1 -1
  200. package/dist/ui/error-item.js +2 -2
  201. package/dist/ui/error-item.js.map +1 -1
  202. package/dist/ui/hooks/useAgentLoop.d.ts +2 -2
  203. package/dist/ui/hooks/useAgentLoop.js +8 -8
  204. package/dist/ui/hooks/useAgentLoop.js.map +1 -1
  205. package/dist/ui/hooks/useChatLayoutMeasurements.d.ts +1 -1
  206. package/dist/ui/hooks/useContextCompaction.d.ts +3 -3
  207. package/dist/ui/hooks/useContextCompaction.js +6 -7
  208. package/dist/ui/hooks/useContextCompaction.js.map +1 -1
  209. package/dist/ui/hooks/useModeState.d.ts +2 -2
  210. package/dist/ui/hooks/useModeState.js +2 -2
  211. package/dist/ui/hooks/useModeState.js.map +1 -1
  212. package/dist/ui/hooks/useSessionPersistence.d.ts +1 -1
  213. package/dist/ui/hooks/useSessionPersistence.js +3 -3
  214. package/dist/ui/hooks/useSessionPersistence.js.map +1 -1
  215. package/dist/ui/hooks/useTaskPickerController.d.ts +1 -1
  216. package/dist/ui/hooks/useTaskPickerController.js +1 -1
  217. package/dist/ui/hooks/useTaskPickerController.js.map +1 -1
  218. package/dist/ui/hooks/useTranscriptHistory.d.ts +1 -1
  219. package/dist/ui/item-helpers.js +1 -1
  220. package/dist/ui/item-helpers.js.map +1 -1
  221. package/dist/ui/language-pack-update.d.ts +1 -1
  222. package/dist/ui/language-pack-update.js +1 -1
  223. package/dist/ui/language-pack-update.js.map +1 -1
  224. package/dist/ui/login.js +1 -1
  225. package/dist/ui/login.js.map +1 -1
  226. package/dist/ui/mcp.d.ts +1 -1
  227. package/dist/ui/prompt-routing.d.ts +3 -3
  228. package/dist/ui/prompt-routing.js +3 -3
  229. package/dist/ui/prompt-routing.js.map +1 -1
  230. package/dist/ui/render.d.ts +8 -8
  231. package/dist/ui/sessions.js +1 -1
  232. package/dist/ui/sessions.js.map +1 -1
  233. package/dist/ui/stores/taskbar-store.d.ts +1 -1
  234. package/dist/ui/stores/taskbar-store.js.map +1 -1
  235. package/dist/ui/submit-prompt-command.d.ts +2 -2
  236. package/dist/ui/submit-prompt-command.js +2 -3
  237. package/dist/ui/submit-prompt-command.js.map +1 -1
  238. package/dist/ui/terminal-history-status-renderers.d.ts +1 -1
  239. package/dist/ui/terminal-history.js +2 -3
  240. package/dist/ui/terminal-history.js.map +1 -1
  241. package/dist/ui/theme/theme.d.ts +2 -1
  242. package/dist/ui/theme/theme.js.map +1 -1
  243. package/dist/ui/thinking-level.d.ts +1 -1
  244. package/dist/ui/thinking-level.js +1 -1
  245. package/dist/ui/thinking-level.js.map +1 -1
  246. package/dist/ui/tool-line-summary.js +1 -1
  247. package/dist/ui/tool-line-summary.js.map +1 -1
  248. package/dist/ui/transcript/presentation.js +1 -1
  249. package/dist/ui/transcript/presentation.js.map +1 -1
  250. package/dist/ui/utils/text-utils.js +1 -1
  251. package/dist/ui/utils/text-utils.js.map +1 -1
  252. package/dist/utils/git-overview.d.ts +2 -23
  253. package/dist/utils/git-overview.js +8 -1
  254. package/dist/utils/git-overview.js.map +1 -1
  255. package/package.json +13 -103
  256. package/assets/skills/bulletproof/SKILL.md +0 -132
  257. package/assets/skills/bulletproof/references/agent-surface.md +0 -113
  258. package/assets/skills/bulletproof/references/attack-classes.md +0 -226
  259. package/assets/skills/bulletproof/references/audit-protocol.md +0 -232
  260. package/assets/skills/bulletproof/references/platform-playbooks.md +0 -196
  261. package/assets/skills/bulletproof/references/provenance.md +0 -146
  262. package/assets/skills/bulletproof/references/secure-defaults.md +0 -137
  263. package/assets/skills/bulletproof/references/supply-chain.md +0 -84
  264. package/assets/skills/bulletproof/references/threat-landscape.md +0 -66
  265. package/assets/skills/bulletproof/references/verification.md +0 -74
  266. package/assets/skills/compliance-guard/SKILL.md +0 -115
  267. package/assets/skills/compliance-guard/references/artifacts.md +0 -199
  268. package/assets/skills/compliance-guard/references/eu-uk.md +0 -162
  269. package/assets/skills/compliance-guard/references/exposure-triage.md +0 -177
  270. package/assets/skills/compliance-guard/references/full-review.md +0 -155
  271. package/assets/skills/compliance-guard/references/lawsuit-vectors.md +0 -153
  272. package/assets/skills/compliance-guard/references/provenance.md +0 -135
  273. package/assets/skills/compliance-guard/references/sector-gates.md +0 -187
  274. package/assets/skills/compliance-guard/references/security-baseline.md +0 -117
  275. package/assets/skills/compliance-guard/references/trigger-map.md +0 -177
  276. package/assets/skills/compliance-guard/references/us.md +0 -194
  277. package/assets/skills/durable/SKILL.md +0 -114
  278. package/assets/skills/durable/references/agent-db-safety.md +0 -76
  279. package/assets/skills/durable/references/backups-and-runtime.md +0 -93
  280. package/assets/skills/durable/references/migrations-and-schema.md +0 -87
  281. package/assets/skills/gg-guide/SKILL.md +0 -43
  282. package/assets/skills/gg-guide/references/chat-motion-goals.md +0 -217
  283. package/assets/skills/gg-guide/references/checklist-and-safety.md +0 -177
  284. package/assets/skills/gg-guide/references/code-mode.md +0 -268
  285. package/assets/skills/gg-guide/references/getting-started.md +0 -290
  286. package/assets/skills/gg-guide/references/ken-and-autopilot.md +0 -172
  287. package/assets/skills/gg-guide/references/mcp-and-skills.md +0 -204
  288. package/assets/skills/gg-guide/references/models-and-sign-in.md +0 -200
  289. package/assets/skills/gg-guide/references/sessions-and-history.md +0 -213
  290. package/assets/skills/gg-guide/references/settings.md +0 -193
  291. package/assets/skills/gg-guide/references/troubleshooting-and-data.md +0 -186
  292. package/assets/skills/lean/SKILL.md +0 -117
  293. package/assets/skills/lean/references/memory-and-processes.md +0 -99
  294. package/assets/skills/lean/references/playbooks.md +0 -134
  295. package/dist/app-error.d.ts +0 -22
  296. package/dist/app-error.js +0 -41
  297. package/dist/app-error.js.map +0 -1
  298. package/dist/config.d.ts +0 -90
  299. package/dist/config.js +0 -240
  300. package/dist/config.js.map +0 -1
  301. package/dist/core/acceptance-checks.d.ts +0 -48
  302. package/dist/core/acceptance-checks.js +0 -151
  303. package/dist/core/acceptance-checks.js.map +0 -1
  304. package/dist/core/action-threats.d.ts +0 -68
  305. package/dist/core/action-threats.js +0 -894
  306. package/dist/core/action-threats.js.map +0 -1
  307. package/dist/core/agent-notifications.d.ts +0 -79
  308. package/dist/core/agent-notifications.js +0 -125
  309. package/dist/core/agent-notifications.js.map +0 -1
  310. package/dist/core/agent-session/helpers.d.ts +0 -26
  311. package/dist/core/agent-session/helpers.js +0 -47
  312. package/dist/core/agent-session/helpers.js.map +0 -1
  313. package/dist/core/agent-session/mcp-tools.d.ts +0 -87
  314. package/dist/core/agent-session/mcp-tools.js +0 -227
  315. package/dist/core/agent-session/mcp-tools.js.map +0 -1
  316. package/dist/core/agent-session/run-loop-monitor.d.ts +0 -63
  317. package/dist/core/agent-session/run-loop-monitor.js +0 -164
  318. package/dist/core/agent-session/run-loop-monitor.js.map +0 -1
  319. package/dist/core/agent-session/transcript-markers.d.ts +0 -57
  320. package/dist/core/agent-session/transcript-markers.js +0 -166
  321. package/dist/core/agent-session/transcript-markers.js.map +0 -1
  322. package/dist/core/agent-session/verification-tracker.d.ts +0 -71
  323. package/dist/core/agent-session/verification-tracker.js +0 -295
  324. package/dist/core/agent-session/verification-tracker.js.map +0 -1
  325. package/dist/core/agent-session.d.ts +0 -1398
  326. package/dist/core/agent-session.js +0 -5123
  327. package/dist/core/agent-session.js.map +0 -1
  328. package/dist/core/agents.d.ts +0 -63
  329. package/dist/core/agents.js +0 -160
  330. package/dist/core/agents.js.map +0 -1
  331. package/dist/core/ask-user.d.ts +0 -163
  332. package/dist/core/ask-user.js +0 -178
  333. package/dist/core/ask-user.js.map +0 -1
  334. package/dist/core/auth/index.d.ts +0 -11
  335. package/dist/core/auth/index.js +0 -11
  336. package/dist/core/auth/index.js.map +0 -1
  337. package/dist/core/auth-providers.d.ts +0 -2
  338. package/dist/core/auth-providers.js +0 -5
  339. package/dist/core/auth-providers.js.map +0 -1
  340. package/dist/core/auth-storage.d.ts +0 -1
  341. package/dist/core/auth-storage.js +0 -4
  342. package/dist/core/auth-storage.js.map +0 -1
  343. package/dist/core/auto-update.d.ts +0 -6
  344. package/dist/core/auto-update.js +0 -15
  345. package/dist/core/auto-update.js.map +0 -1
  346. package/dist/core/autopilot-cycle.d.ts +0 -127
  347. package/dist/core/autopilot-cycle.js +0 -182
  348. package/dist/core/autopilot-cycle.js.map +0 -1
  349. package/dist/core/autopilot-gate.d.ts +0 -106
  350. package/dist/core/autopilot-gate.js +0 -192
  351. package/dist/core/autopilot-gate.js.map +0 -1
  352. package/dist/core/autopilot-verdict.d.ts +0 -55
  353. package/dist/core/autopilot-verdict.js +0 -226
  354. package/dist/core/autopilot-verdict.js.map +0 -1
  355. package/dist/core/blocked-packages-file.d.ts +0 -33
  356. package/dist/core/blocked-packages-file.js +0 -274
  357. package/dist/core/blocked-packages-file.js.map +0 -1
  358. package/dist/core/bundled-agents.d.ts +0 -2
  359. package/dist/core/bundled-agents.js +0 -253
  360. package/dist/core/bundled-agents.js.map +0 -1
  361. package/dist/core/cache-diagnostics.d.ts +0 -72
  362. package/dist/core/cache-diagnostics.js +0 -200
  363. package/dist/core/cache-diagnostics.js.map +0 -1
  364. package/dist/core/cache-expiry.d.ts +0 -89
  365. package/dist/core/cache-expiry.js +0 -117
  366. package/dist/core/cache-expiry.js.map +0 -1
  367. package/dist/core/checklist-detection.d.ts +0 -11
  368. package/dist/core/checklist-detection.js +0 -238
  369. package/dist/core/checklist-detection.js.map +0 -1
  370. package/dist/core/checklist-git.d.ts +0 -19
  371. package/dist/core/checklist-git.js +0 -54
  372. package/dist/core/checklist-git.js.map +0 -1
  373. package/dist/core/checklist-items.d.ts +0 -181
  374. package/dist/core/checklist-items.js +0 -230
  375. package/dist/core/checklist-items.js.map +0 -1
  376. package/dist/core/checklist-prompt.d.ts +0 -14
  377. package/dist/core/checklist-prompt.js +0 -64
  378. package/dist/core/checklist-prompt.js.map +0 -1
  379. package/dist/core/checklist-snapshot.d.ts +0 -17
  380. package/dist/core/checklist-snapshot.js +0 -46
  381. package/dist/core/checklist-snapshot.js.map +0 -1
  382. package/dist/core/checklist-store.d.ts +0 -63
  383. package/dist/core/checklist-store.js +0 -273
  384. package/dist/core/checklist-store.js.map +0 -1
  385. package/dist/core/checkout-record.d.ts +0 -22
  386. package/dist/core/checkout-record.js +0 -68
  387. package/dist/core/checkout-record.js.map +0 -1
  388. package/dist/core/checkpoint-store.d.ts +0 -109
  389. package/dist/core/checkpoint-store.js +0 -260
  390. package/dist/core/checkpoint-store.js.map +0 -1
  391. package/dist/core/claude-code/complete.d.ts +0 -35
  392. package/dist/core/claude-code/complete.js +0 -125
  393. package/dist/core/claude-code/complete.js.map +0 -1
  394. package/dist/core/claude-code/events.d.ts +0 -67
  395. package/dist/core/claude-code/events.js +0 -460
  396. package/dist/core/claude-code/events.js.map +0 -1
  397. package/dist/core/claude-code/live-session.d.ts +0 -94
  398. package/dist/core/claude-code/live-session.js +0 -525
  399. package/dist/core/claude-code/live-session.js.map +0 -1
  400. package/dist/core/claude-code/loop.d.ts +0 -9
  401. package/dist/core/claude-code/loop.js +0 -15
  402. package/dist/core/claude-code/loop.js.map +0 -1
  403. package/dist/core/claude-code/session-sync.d.ts +0 -28
  404. package/dist/core/claude-code/session-sync.js +0 -53
  405. package/dist/core/claude-code/session-sync.js.map +0 -1
  406. package/dist/core/claude-code/tool-bridge.d.ts +0 -49
  407. package/dist/core/claude-code/tool-bridge.js +0 -352
  408. package/dist/core/claude-code/tool-bridge.js.map +0 -1
  409. package/dist/core/claude-code/transcripts.d.ts +0 -39
  410. package/dist/core/claude-code/transcripts.js +0 -195
  411. package/dist/core/claude-code/transcripts.js.map +0 -1
  412. package/dist/core/code-retrieval-chunkers.d.ts +0 -26
  413. package/dist/core/code-retrieval-chunkers.js +0 -264
  414. package/dist/core/code-retrieval-chunkers.js.map +0 -1
  415. package/dist/core/code-retrieval.d.ts +0 -18
  416. package/dist/core/code-retrieval.js +0 -124
  417. package/dist/core/code-retrieval.js.map +0 -1
  418. package/dist/core/codex-request-shape.d.ts +0 -7
  419. package/dist/core/codex-request-shape.js +0 -19
  420. package/dist/core/codex-request-shape.js.map +0 -1
  421. package/dist/core/compaction/active-context.d.ts +0 -16
  422. package/dist/core/compaction/active-context.js +0 -20
  423. package/dist/core/compaction/active-context.js.map +0 -1
  424. package/dist/core/compaction/compactor.d.ts +0 -281
  425. package/dist/core/compaction/compactor.js +0 -1452
  426. package/dist/core/compaction/compactor.js.map +0 -1
  427. package/dist/core/compaction/plan-step-policy.d.ts +0 -46
  428. package/dist/core/compaction/plan-step-policy.js +0 -57
  429. package/dist/core/compaction/plan-step-policy.js.map +0 -1
  430. package/dist/core/compaction/policy.d.ts +0 -36
  431. package/dist/core/compaction/policy.js +0 -144
  432. package/dist/core/compaction/policy.js.map +0 -1
  433. package/dist/core/compaction/query-aware-selector.d.ts +0 -32
  434. package/dist/core/compaction/query-aware-selector.js +0 -202
  435. package/dist/core/compaction/query-aware-selector.js.map +0 -1
  436. package/dist/core/compaction/token-estimator.d.ts +0 -36
  437. package/dist/core/compaction/token-estimator.js +0 -180
  438. package/dist/core/compaction/token-estimator.js.map +0 -1
  439. package/dist/core/compaction/tool-result-pruner.d.ts +0 -90
  440. package/dist/core/compaction/tool-result-pruner.js +0 -238
  441. package/dist/core/compaction/tool-result-pruner.js.map +0 -1
  442. package/dist/core/completion-review.d.ts +0 -24
  443. package/dist/core/completion-review.js +0 -2
  444. package/dist/core/completion-review.js.map +0 -1
  445. package/dist/core/context-files.d.ts +0 -8
  446. package/dist/core/context-files.js +0 -46
  447. package/dist/core/context-files.js.map +0 -1
  448. package/dist/core/context-limits.d.ts +0 -40
  449. package/dist/core/context-limits.js +0 -43
  450. package/dist/core/context-limits.js.map +0 -1
  451. package/dist/core/custom-commands.d.ts +0 -18
  452. package/dist/core/custom-commands.js +0 -57
  453. package/dist/core/custom-commands.js.map +0 -1
  454. package/dist/core/destructive-git-guard.d.ts +0 -113
  455. package/dist/core/destructive-git-guard.js +0 -874
  456. package/dist/core/destructive-git-guard.js.map +0 -1
  457. package/dist/core/encode-cwd.d.ts +0 -41
  458. package/dist/core/encode-cwd.js +0 -53
  459. package/dist/core/encode-cwd.js.map +0 -1
  460. package/dist/core/env-delta.d.ts +0 -34
  461. package/dist/core/env-delta.js +0 -84
  462. package/dist/core/env-delta.js.map +0 -1
  463. package/dist/core/event-bus.d.ts +0 -178
  464. package/dist/core/event-bus.js +0 -171
  465. package/dist/core/event-bus.js.map +0 -1
  466. package/dist/core/extensions/loader.d.ts +0 -7
  467. package/dist/core/extensions/loader.js +0 -68
  468. package/dist/core/extensions/loader.js.map +0 -1
  469. package/dist/core/extensions/plugin-bundles.d.ts +0 -13
  470. package/dist/core/extensions/plugin-bundles.js +0 -45
  471. package/dist/core/extensions/plugin-bundles.js.map +0 -1
  472. package/dist/core/extensions/types.d.ts +0 -18
  473. package/dist/core/extensions/types.js +0 -2
  474. package/dist/core/extensions/types.js.map +0 -1
  475. package/dist/core/foreign-session-import.d.ts +0 -119
  476. package/dist/core/foreign-session-import.js +0 -598
  477. package/dist/core/foreign-session-import.js.map +0 -1
  478. package/dist/core/foreign-transcript-blocks.d.ts +0 -50
  479. package/dist/core/foreign-transcript-blocks.js +0 -151
  480. package/dist/core/foreign-transcript-blocks.js.map +0 -1
  481. package/dist/core/frontmatter.d.ts +0 -22
  482. package/dist/core/frontmatter.js +0 -90
  483. package/dist/core/frontmatter.js.map +0 -1
  484. package/dist/core/goal-run-marker.d.ts +0 -32
  485. package/dist/core/goal-run-marker.js +0 -178
  486. package/dist/core/goal-run-marker.js.map +0 -1
  487. package/dist/core/goal-summary.d.ts +0 -32
  488. package/dist/core/goal-summary.js +0 -110
  489. package/dist/core/goal-summary.js.map +0 -1
  490. package/dist/core/goals-store.d.ts +0 -215
  491. package/dist/core/goals-store.js +0 -577
  492. package/dist/core/goals-store.js.map +0 -1
  493. package/dist/core/hashline.d.ts +0 -51
  494. package/dist/core/hashline.js +0 -76
  495. package/dist/core/hashline.js.map +0 -1
  496. package/dist/core/idle-wake.d.ts +0 -62
  497. package/dist/core/idle-wake.js +0 -103
  498. package/dist/core/idle-wake.js.map +0 -1
  499. package/dist/core/index.d.ts +0 -14
  500. package/dist/core/index.js +0 -14
  501. package/dist/core/index.js.map +0 -1
  502. package/dist/core/injection-detect.d.ts +0 -39
  503. package/dist/core/injection-detect.js +0 -241
  504. package/dist/core/injection-detect.js.map +0 -1
  505. package/dist/core/installed-threats.d.ts +0 -23
  506. package/dist/core/installed-threats.js +0 -71
  507. package/dist/core/installed-threats.js.map +0 -1
  508. package/dist/core/internal-diagnostics.d.ts +0 -159
  509. package/dist/core/internal-diagnostics.js +0 -495
  510. package/dist/core/internal-diagnostics.js.map +0 -1
  511. package/dist/core/keep-awake.d.ts +0 -88
  512. package/dist/core/keep-awake.js +0 -251
  513. package/dist/core/keep-awake.js.map +0 -1
  514. package/dist/core/ken-ask-answer.d.ts +0 -24
  515. package/dist/core/ken-ask-answer.js +0 -96
  516. package/dist/core/ken-ask-answer.js.map +0 -1
  517. package/dist/core/ken-context.d.ts +0 -119
  518. package/dist/core/ken-context.js +0 -447
  519. package/dist/core/ken-context.js.map +0 -1
  520. package/dist/core/ken-model.d.ts +0 -45
  521. package/dist/core/ken-model.js +0 -26
  522. package/dist/core/ken-model.js.map +0 -1
  523. package/dist/core/ken-prompt.d.ts +0 -21
  524. package/dist/core/ken-prompt.js +0 -370
  525. package/dist/core/ken-prompt.js.map +0 -1
  526. package/dist/core/language-detector.d.ts +0 -41
  527. package/dist/core/language-detector.js +0 -293
  528. package/dist/core/language-detector.js.map +0 -1
  529. package/dist/core/live-preview.d.ts +0 -26
  530. package/dist/core/live-preview.js +0 -80
  531. package/dist/core/live-preview.js.map +0 -1
  532. package/dist/core/local-endpoint-store.d.ts +0 -53
  533. package/dist/core/local-endpoint-store.js +0 -221
  534. package/dist/core/local-endpoint-store.js.map +0 -1
  535. package/dist/core/logger.d.ts +0 -22
  536. package/dist/core/logger.js +0 -95
  537. package/dist/core/logger.js.map +0 -1
  538. package/dist/core/loop-breaker.d.ts +0 -89
  539. package/dist/core/loop-breaker.js +0 -204
  540. package/dist/core/loop-breaker.js.map +0 -1
  541. package/dist/core/lsp/client.d.ts +0 -206
  542. package/dist/core/lsp/client.js +0 -685
  543. package/dist/core/lsp/client.js.map +0 -1
  544. package/dist/core/lsp/edit-telemetry.d.ts +0 -26
  545. package/dist/core/lsp/edit-telemetry.js +0 -52
  546. package/dist/core/lsp/edit-telemetry.js.map +0 -1
  547. package/dist/core/lsp/format.d.ts +0 -11
  548. package/dist/core/lsp/format.js +0 -30
  549. package/dist/core/lsp/format.js.map +0 -1
  550. package/dist/core/lsp/jsonrpc.d.ts +0 -68
  551. package/dist/core/lsp/jsonrpc.js +0 -153
  552. package/dist/core/lsp/jsonrpc.js.map +0 -1
  553. package/dist/core/lsp/manager.d.ts +0 -188
  554. package/dist/core/lsp/manager.js +0 -576
  555. package/dist/core/lsp/manager.js.map +0 -1
  556. package/dist/core/lsp/pool.d.ts +0 -114
  557. package/dist/core/lsp/pool.js +0 -259
  558. package/dist/core/lsp/pool.js.map +0 -1
  559. package/dist/core/lsp/project-root.d.ts +0 -9
  560. package/dist/core/lsp/project-root.js +0 -75
  561. package/dist/core/lsp/project-root.js.map +0 -1
  562. package/dist/core/lsp/reference-project.d.ts +0 -6
  563. package/dist/core/lsp/reference-project.js +0 -110
  564. package/dist/core/lsp/reference-project.js.map +0 -1
  565. package/dist/core/lsp/servers.d.ts +0 -44
  566. package/dist/core/lsp/servers.js +0 -289
  567. package/dist/core/lsp/servers.js.map +0 -1
  568. package/dist/core/lsp/test-support.d.ts +0 -17
  569. package/dist/core/lsp/test-support.js +0 -27
  570. package/dist/core/lsp/test-support.js.map +0 -1
  571. package/dist/core/mcp/catalog-cache.d.ts +0 -64
  572. package/dist/core/mcp/catalog-cache.js +0 -167
  573. package/dist/core/mcp/catalog-cache.js.map +0 -1
  574. package/dist/core/mcp/client.d.ts +0 -317
  575. package/dist/core/mcp/client.js +0 -1168
  576. package/dist/core/mcp/client.js.map +0 -1
  577. package/dist/core/mcp/content.d.ts +0 -23
  578. package/dist/core/mcp/content.js +0 -194
  579. package/dist/core/mcp/content.js.map +0 -1
  580. package/dist/core/mcp/defaults.d.ts +0 -26
  581. package/dist/core/mcp/defaults.js +0 -81
  582. package/dist/core/mcp/defaults.js.map +0 -1
  583. package/dist/core/mcp/deferred-catalog.d.ts +0 -53
  584. package/dist/core/mcp/deferred-catalog.js +0 -117
  585. package/dist/core/mcp/deferred-catalog.js.map +0 -1
  586. package/dist/core/mcp/elicitation-bridge.d.ts +0 -40
  587. package/dist/core/mcp/elicitation-bridge.js +0 -36
  588. package/dist/core/mcp/elicitation-bridge.js.map +0 -1
  589. package/dist/core/mcp/index.d.ts +0 -16
  590. package/dist/core/mcp/index.js +0 -10
  591. package/dist/core/mcp/index.js.map +0 -1
  592. package/dist/core/mcp/loopback.d.ts +0 -26
  593. package/dist/core/mcp/loopback.js +0 -66
  594. package/dist/core/mcp/loopback.js.map +0 -1
  595. package/dist/core/mcp/oauth-provider.d.ts +0 -55
  596. package/dist/core/mcp/oauth-provider.js +0 -106
  597. package/dist/core/mcp/oauth-provider.js.map +0 -1
  598. package/dist/core/mcp/oauth-store.d.ts +0 -44
  599. package/dist/core/mcp/oauth-store.js +0 -77
  600. package/dist/core/mcp/oauth-store.js.map +0 -1
  601. package/dist/core/mcp/parse-add-command.d.ts +0 -50
  602. package/dist/core/mcp/parse-add-command.js +0 -391
  603. package/dist/core/mcp/parse-add-command.js.map +0 -1
  604. package/dist/core/mcp/resolve-stdio.d.ts +0 -77
  605. package/dist/core/mcp/resolve-stdio.js +0 -359
  606. package/dist/core/mcp/resolve-stdio.js.map +0 -1
  607. package/dist/core/mcp/shared-pool.d.ts +0 -157
  608. package/dist/core/mcp/shared-pool.js +0 -236
  609. package/dist/core/mcp/shared-pool.js.map +0 -1
  610. package/dist/core/mcp/store.d.ts +0 -100
  611. package/dist/core/mcp/store.js +0 -202
  612. package/dist/core/mcp/store.js.map +0 -1
  613. package/dist/core/mcp/tool-guard.d.ts +0 -58
  614. package/dist/core/mcp/tool-guard.js +0 -215
  615. package/dist/core/mcp/tool-guard.js.map +0 -1
  616. package/dist/core/mcp/types.d.ts +0 -57
  617. package/dist/core/mcp/types.js +0 -2
  618. package/dist/core/mcp/types.js.map +0 -1
  619. package/dist/core/message-images.d.ts +0 -11
  620. package/dist/core/message-images.js +0 -52
  621. package/dist/core/message-images.js.map +0 -1
  622. package/dist/core/model-registry.d.ts +0 -1
  623. package/dist/core/model-registry.js +0 -5
  624. package/dist/core/model-registry.js.map +0 -1
  625. package/dist/core/model-unavailable.d.ts +0 -14
  626. package/dist/core/model-unavailable.js +0 -23
  627. package/dist/core/model-unavailable.js.map +0 -1
  628. package/dist/core/network-guard.d.ts +0 -28
  629. package/dist/core/network-guard.js +0 -251
  630. package/dist/core/network-guard.js.map +0 -1
  631. package/dist/core/node-debugger.d.ts +0 -148
  632. package/dist/core/node-debugger.js +0 -642
  633. package/dist/core/node-debugger.js.map +0 -1
  634. package/dist/core/oauth/openai.d.ts +0 -1
  635. package/dist/core/oauth/openai.js +0 -3
  636. package/dist/core/oauth/openai.js.map +0 -1
  637. package/dist/core/oauth/types.d.ts +0 -1
  638. package/dist/core/oauth/types.js +0 -2
  639. package/dist/core/oauth/types.js.map +0 -1
  640. package/dist/core/opencode-catalog-store.d.ts +0 -20
  641. package/dist/core/opencode-catalog-store.js +0 -82
  642. package/dist/core/opencode-catalog-store.js.map +0 -1
  643. package/dist/core/openrouter-catalog-store.d.ts +0 -24
  644. package/dist/core/openrouter-catalog-store.js +0 -140
  645. package/dist/core/openrouter-catalog-store.js.map +0 -1
  646. package/dist/core/package-cooldown.d.ts +0 -69
  647. package/dist/core/package-cooldown.js +0 -297
  648. package/dist/core/package-cooldown.js.map +0 -1
  649. package/dist/core/package-threats.d.ts +0 -92
  650. package/dist/core/package-threats.js +0 -1340
  651. package/dist/core/package-threats.js.map +0 -1
  652. package/dist/core/parked-requests.d.ts +0 -43
  653. package/dist/core/parked-requests.js +0 -34
  654. package/dist/core/parked-requests.js.map +0 -1
  655. package/dist/core/persistent-shell.d.ts +0 -81
  656. package/dist/core/persistent-shell.js +0 -452
  657. package/dist/core/persistent-shell.js.map +0 -1
  658. package/dist/core/plan-delta.d.ts +0 -23
  659. package/dist/core/plan-delta.js +0 -36
  660. package/dist/core/plan-delta.js.map +0 -1
  661. package/dist/core/plan-handoff.d.ts +0 -38
  662. package/dist/core/plan-handoff.js +0 -21
  663. package/dist/core/plan-handoff.js.map +0 -1
  664. package/dist/core/plan-submission-gate.d.ts +0 -28
  665. package/dist/core/plan-submission-gate.js +0 -27
  666. package/dist/core/plan-submission-gate.js.map +0 -1
  667. package/dist/core/platform-clis.d.ts +0 -15
  668. package/dist/core/platform-clis.js +0 -299
  669. package/dist/core/platform-clis.js.map +0 -1
  670. package/dist/core/process-gate.d.ts +0 -61
  671. package/dist/core/process-gate.js +0 -103
  672. package/dist/core/process-gate.js.map +0 -1
  673. package/dist/core/process-manager.d.ts +0 -242
  674. package/dist/core/process-manager.js +0 -902
  675. package/dist/core/process-manager.js.map +0 -1
  676. package/dist/core/progress/engine.d.ts +0 -22
  677. package/dist/core/progress/engine.js +0 -131
  678. package/dist/core/progress/engine.js.map +0 -1
  679. package/dist/core/progress/git-xp.d.ts +0 -15
  680. package/dist/core/progress/git-xp.js +0 -100
  681. package/dist/core/progress/git-xp.js.map +0 -1
  682. package/dist/core/progress/ranks.d.ts +0 -31
  683. package/dist/core/progress/ranks.js +0 -310
  684. package/dist/core/progress/ranks.js.map +0 -1
  685. package/dist/core/progress/rebuild.d.ts +0 -8
  686. package/dist/core/progress/rebuild.js +0 -125
  687. package/dist/core/progress/rebuild.js.map +0 -1
  688. package/dist/core/progress/store.d.ts +0 -34
  689. package/dist/core/progress/store.js +0 -200
  690. package/dist/core/progress/store.js.map +0 -1
  691. package/dist/core/progress/types.d.ts +0 -108
  692. package/dist/core/progress/types.js +0 -3
  693. package/dist/core/progress/types.js.map +0 -1
  694. package/dist/core/project-discovery.d.ts +0 -88
  695. package/dist/core/project-discovery.js +0 -907
  696. package/dist/core/project-discovery.js.map +0 -1
  697. package/dist/core/project-files.d.ts +0 -15
  698. package/dist/core/project-files.js +0 -37
  699. package/dist/core/project-files.js.map +0 -1
  700. package/dist/core/project-health-scan.d.ts +0 -109
  701. package/dist/core/project-health-scan.js +0 -673
  702. package/dist/core/project-health-scan.js.map +0 -1
  703. package/dist/core/project-health-score.d.ts +0 -41
  704. package/dist/core/project-health-score.js +0 -257
  705. package/dist/core/project-health-score.js.map +0 -1
  706. package/dist/core/prompt-command-expansion.d.ts +0 -13
  707. package/dist/core/prompt-command-expansion.js +0 -48
  708. package/dist/core/prompt-command-expansion.js.map +0 -1
  709. package/dist/core/prompt-commands.d.ts +0 -13
  710. package/dist/core/prompt-commands.js +0 -370
  711. package/dist/core/prompt-commands.js.map +0 -1
  712. package/dist/core/radio-players.d.ts +0 -28
  713. package/dist/core/radio-players.js +0 -133
  714. package/dist/core/radio-players.js.map +0 -1
  715. package/dist/core/radio.d.ts +0 -50
  716. package/dist/core/radio.js +0 -480
  717. package/dist/core/radio.js.map +0 -1
  718. package/dist/core/regrounding.d.ts +0 -37
  719. package/dist/core/regrounding.js +0 -89
  720. package/dist/core/regrounding.js.map +0 -1
  721. package/dist/core/resolve-start.d.ts +0 -28
  722. package/dist/core/resolve-start.js +0 -35
  723. package/dist/core/resolve-start.js.map +0 -1
  724. package/dist/core/run-claim.d.ts +0 -36
  725. package/dist/core/run-claim.js +0 -46
  726. package/dist/core/run-claim.js.map +0 -1
  727. package/dist/core/run-lifecycle.d.ts +0 -58
  728. package/dist/core/run-lifecycle.js +0 -104
  729. package/dist/core/run-lifecycle.js.map +0 -1
  730. package/dist/core/run-status.d.ts +0 -17
  731. package/dist/core/run-status.js +0 -28
  732. package/dist/core/run-status.js.map +0 -1
  733. package/dist/core/runtime-mode.d.ts +0 -21
  734. package/dist/core/runtime-mode.js +0 -43
  735. package/dist/core/runtime-mode.js.map +0 -1
  736. package/dist/core/sandbox-domains.d.ts +0 -13
  737. package/dist/core/sandbox-domains.js +0 -76
  738. package/dist/core/sandbox-domains.js.map +0 -1
  739. package/dist/core/sandbox-feedback.d.ts +0 -21
  740. package/dist/core/sandbox-feedback.js +0 -69
  741. package/dist/core/sandbox-feedback.js.map +0 -1
  742. package/dist/core/sandbox.d.ts +0 -106
  743. package/dist/core/sandbox.js +0 -383
  744. package/dist/core/sandbox.js.map +0 -1
  745. package/dist/core/semantic-loop-check.d.ts +0 -58
  746. package/dist/core/semantic-loop-check.js +0 -103
  747. package/dist/core/semantic-loop-check.js.map +0 -1
  748. package/dist/core/session-compaction.d.ts +0 -23
  749. package/dist/core/session-compaction.js +0 -54
  750. package/dist/core/session-compaction.js.map +0 -1
  751. package/dist/core/session-export.d.ts +0 -97
  752. package/dist/core/session-export.js +0 -368
  753. package/dist/core/session-export.js.map +0 -1
  754. package/dist/core/session-history.d.ts +0 -160
  755. package/dist/core/session-history.js +0 -467
  756. package/dist/core/session-history.js.map +0 -1
  757. package/dist/core/session-manager.d.ts +0 -509
  758. package/dist/core/session-manager.js +0 -1367
  759. package/dist/core/session-manager.js.map +0 -1
  760. package/dist/core/session-preview.d.ts +0 -12
  761. package/dist/core/session-preview.js +0 -58
  762. package/dist/core/session-preview.js.map +0 -1
  763. package/dist/core/session-storage.d.ts +0 -78
  764. package/dist/core/session-storage.js +0 -659
  765. package/dist/core/session-storage.js.map +0 -1
  766. package/dist/core/session-summary-index.d.ts +0 -51
  767. package/dist/core/session-summary-index.js +0 -192
  768. package/dist/core/session-summary-index.js.map +0 -1
  769. package/dist/core/settings-manager.d.ts +0 -113
  770. package/dist/core/settings-manager.js +0 -281
  771. package/dist/core/settings-manager.js.map +0 -1
  772. package/dist/core/shared-checkout-guard.d.ts +0 -78
  773. package/dist/core/shared-checkout-guard.js +0 -219
  774. package/dist/core/shared-checkout-guard.js.map +0 -1
  775. package/dist/core/shell-path.d.ts +0 -13
  776. package/dist/core/shell-path.js +0 -175
  777. package/dist/core/shell-path.js.map +0 -1
  778. package/dist/core/shell-threats-popular-packages.d.ts +0 -11
  779. package/dist/core/shell-threats-popular-packages.js +0 -675
  780. package/dist/core/shell-threats-popular-packages.js.map +0 -1
  781. package/dist/core/shell-threats.d.ts +0 -21
  782. package/dist/core/shell-threats.js +0 -235
  783. package/dist/core/shell-threats.js.map +0 -1
  784. package/dist/core/shell.d.ts +0 -54
  785. package/dist/core/shell.js +0 -99
  786. package/dist/core/shell.js.map +0 -1
  787. package/dist/core/shutdown.d.ts +0 -70
  788. package/dist/core/shutdown.js +0 -144
  789. package/dist/core/shutdown.js.map +0 -1
  790. package/dist/core/skill-scan.d.ts +0 -112
  791. package/dist/core/skill-scan.js +0 -781
  792. package/dist/core/skill-scan.js.map +0 -1
  793. package/dist/core/skills.d.ts +0 -100
  794. package/dist/core/skills.js +0 -299
  795. package/dist/core/skills.js.map +0 -1
  796. package/dist/core/slash-commands.d.ts +0 -58
  797. package/dist/core/slash-commands.js +0 -242
  798. package/dist/core/slash-commands.js.map +0 -1
  799. package/dist/core/steering.d.ts +0 -47
  800. package/dist/core/steering.js +0 -65
  801. package/dist/core/steering.js.map +0 -1
  802. package/dist/core/steroids.d.ts +0 -66
  803. package/dist/core/steroids.js +0 -243
  804. package/dist/core/steroids.js.map +0 -1
  805. package/dist/core/stream-diag-level.d.ts +0 -3
  806. package/dist/core/stream-diag-level.js +0 -24
  807. package/dist/core/stream-diag-level.js.map +0 -1
  808. package/dist/core/stream-rules.d.ts +0 -30
  809. package/dist/core/stream-rules.js +0 -151
  810. package/dist/core/stream-rules.js.map +0 -1
  811. package/dist/core/subagent-manager.d.ts +0 -239
  812. package/dist/core/subagent-manager.js +0 -1060
  813. package/dist/core/subagent-manager.js.map +0 -1
  814. package/dist/core/subagent-policy.d.ts +0 -9
  815. package/dist/core/subagent-policy.js +0 -41
  816. package/dist/core/subagent-policy.js.map +0 -1
  817. package/dist/core/subagent-receipt.d.ts +0 -54
  818. package/dist/core/subagent-receipt.js +0 -274
  819. package/dist/core/subagent-receipt.js.map +0 -1
  820. package/dist/core/subagent-store.d.ts +0 -41
  821. package/dist/core/subagent-store.js +0 -284
  822. package/dist/core/subagent-store.js.map +0 -1
  823. package/dist/core/subagent-turn-record.d.ts +0 -18
  824. package/dist/core/subagent-turn-record.js +0 -82
  825. package/dist/core/subagent-turn-record.js.map +0 -1
  826. package/dist/core/tasks-store.d.ts +0 -31
  827. package/dist/core/tasks-store.js +0 -97
  828. package/dist/core/tasks-store.js.map +0 -1
  829. package/dist/core/telegram-config.d.ts +0 -20
  830. package/dist/core/telegram-config.js +0 -52
  831. package/dist/core/telegram-config.js.map +0 -1
  832. package/dist/core/telegram.d.ts +0 -1
  833. package/dist/core/telegram.js +0 -3
  834. package/dist/core/telegram.js.map +0 -1
  835. package/dist/core/temp-paths.d.ts +0 -5
  836. package/dist/core/temp-paths.js +0 -50
  837. package/dist/core/temp-paths.js.map +0 -1
  838. package/dist/core/test-impact.d.ts +0 -73
  839. package/dist/core/test-impact.js +0 -467
  840. package/dist/core/test-impact.js.map +0 -1
  841. package/dist/core/thinking-level.d.ts +0 -1
  842. package/dist/core/thinking-level.js +0 -4
  843. package/dist/core/thinking-level.js.map +0 -1
  844. package/dist/core/threat-feed.d.ts +0 -65
  845. package/dist/core/threat-feed.js +0 -335
  846. package/dist/core/threat-feed.js.map +0 -1
  847. package/dist/core/trophies/catalog-more.d.ts +0 -2
  848. package/dist/core/trophies/catalog-more.js +0 -837
  849. package/dist/core/trophies/catalog-more.js.map +0 -1
  850. package/dist/core/trophies/catalog.d.ts +0 -4
  851. package/dist/core/trophies/catalog.js +0 -649
  852. package/dist/core/trophies/catalog.js.map +0 -1
  853. package/dist/core/trophies/engine.d.ts +0 -70
  854. package/dist/core/trophies/engine.js +0 -347
  855. package/dist/core/trophies/engine.js.map +0 -1
  856. package/dist/core/trophies/store.d.ts +0 -17
  857. package/dist/core/trophies/store.js +0 -113
  858. package/dist/core/trophies/store.js.map +0 -1
  859. package/dist/core/trophies/types.d.ts +0 -119
  860. package/dist/core/trophies/types.js +0 -76
  861. package/dist/core/trophies/types.js.map +0 -1
  862. package/dist/core/ui-adoption.d.ts +0 -32
  863. package/dist/core/ui-adoption.js +0 -302
  864. package/dist/core/ui-adoption.js.map +0 -1
  865. package/dist/core/ui-compatibility.d.ts +0 -10
  866. package/dist/core/ui-compatibility.js +0 -51
  867. package/dist/core/ui-compatibility.js.map +0 -1
  868. package/dist/core/ui-registry.d.ts +0 -101
  869. package/dist/core/ui-registry.js +0 -292
  870. package/dist/core/ui-registry.js.map +0 -1
  871. package/dist/core/user-shell-context.d.ts +0 -8
  872. package/dist/core/user-shell-context.js +0 -12
  873. package/dist/core/user-shell-context.js.map +0 -1
  874. package/dist/core/verification-evidence.d.ts +0 -49
  875. package/dist/core/verification-evidence.js +0 -816
  876. package/dist/core/verification-evidence.js.map +0 -1
  877. package/dist/core/verification-gate.d.ts +0 -77
  878. package/dist/core/verification-gate.js +0 -504
  879. package/dist/core/verification-gate.js.map +0 -1
  880. package/dist/core/verification-snapshot.d.ts +0 -7
  881. package/dist/core/verification-snapshot.js +0 -109
  882. package/dist/core/verification-snapshot.js.map +0 -1
  883. package/dist/core/verify-commands.d.ts +0 -34
  884. package/dist/core/verify-commands.js +0 -203
  885. package/dist/core/verify-commands.js.map +0 -1
  886. package/dist/core/voice-transcriber.d.ts +0 -1
  887. package/dist/core/voice-transcriber.js +0 -4
  888. package/dist/core/voice-transcriber.js.map +0 -1
  889. package/dist/core/workspace-guard.d.ts +0 -56
  890. package/dist/core/workspace-guard.js +0 -334
  891. package/dist/core/workspace-guard.js.map +0 -1
  892. package/dist/session.d.ts +0 -44
  893. package/dist/session.js +0 -105
  894. package/dist/session.js.map +0 -1
  895. package/dist/system-prompt.d.ts +0 -104
  896. package/dist/system-prompt.js +0 -480
  897. package/dist/system-prompt.js.map +0 -1
  898. package/dist/test-support/fake-home.d.ts +0 -19
  899. package/dist/test-support/fake-home.js +0 -37
  900. package/dist/test-support/fake-home.js.map +0 -1
  901. package/dist/test-support/keep-alive.d.ts +0 -14
  902. package/dist/test-support/keep-alive.js +0 -17
  903. package/dist/test-support/keep-alive.js.map +0 -1
  904. package/dist/test-support/slow-git.d.ts +0 -1
  905. package/dist/test-support/slow-git.js +0 -21
  906. package/dist/test-support/slow-git.js.map +0 -1
  907. package/dist/test-support/system-tools.d.ts +0 -6
  908. package/dist/test-support/system-tools.js +0 -36
  909. package/dist/test-support/system-tools.js.map +0 -1
  910. package/dist/tools/ask-user.d.ts +0 -34
  911. package/dist/tools/ask-user.js +0 -99
  912. package/dist/tools/ask-user.js.map +0 -1
  913. package/dist/tools/background-watch-lint.d.ts +0 -18
  914. package/dist/tools/background-watch-lint.js +0 -102
  915. package/dist/tools/background-watch-lint.js.map +0 -1
  916. package/dist/tools/bash-read-evidence.d.ts +0 -23
  917. package/dist/tools/bash-read-evidence.js +0 -180
  918. package/dist/tools/bash-read-evidence.js.map +0 -1
  919. package/dist/tools/bash.d.ts +0 -64
  920. package/dist/tools/bash.js +0 -552
  921. package/dist/tools/bash.js.map +0 -1
  922. package/dist/tools/browser-api.d.ts +0 -27
  923. package/dist/tools/browser-api.js +0 -449
  924. package/dist/tools/browser-api.js.map +0 -1
  925. package/dist/tools/browser-sandbox.d.ts +0 -16
  926. package/dist/tools/browser-sandbox.js +0 -158
  927. package/dist/tools/browser-sandbox.js.map +0 -1
  928. package/dist/tools/browser-session.d.ts +0 -84
  929. package/dist/tools/browser-session.js +0 -304
  930. package/dist/tools/browser-session.js.map +0 -1
  931. package/dist/tools/browser-snapshot.d.ts +0 -19
  932. package/dist/tools/browser-snapshot.js +0 -109
  933. package/dist/tools/browser-snapshot.js.map +0 -1
  934. package/dist/tools/browser.d.ts +0 -11
  935. package/dist/tools/browser.js +0 -106
  936. package/dist/tools/browser.js.map +0 -1
  937. package/dist/tools/checklist.d.ts +0 -49
  938. package/dist/tools/checklist.js +0 -154
  939. package/dist/tools/checklist.js.map +0 -1
  940. package/dist/tools/compress.d.ts +0 -56
  941. package/dist/tools/compress.js +0 -226
  942. package/dist/tools/compress.js.map +0 -1
  943. package/dist/tools/debug.d.ts +0 -54
  944. package/dist/tools/debug.js +0 -230
  945. package/dist/tools/debug.js.map +0 -1
  946. package/dist/tools/document-text.d.ts +0 -6
  947. package/dist/tools/document-text.js +0 -154
  948. package/dist/tools/document-text.js.map +0 -1
  949. package/dist/tools/edit-diff.d.ts +0 -123
  950. package/dist/tools/edit-diff.js +0 -476
  951. package/dist/tools/edit-diff.js.map +0 -1
  952. package/dist/tools/edit-targets.d.ts +0 -10
  953. package/dist/tools/edit-targets.js +0 -31
  954. package/dist/tools/edit-targets.js.map +0 -1
  955. package/dist/tools/edit.d.ts +0 -38
  956. package/dist/tools/edit.js +0 -695
  957. package/dist/tools/edit.js.map +0 -1
  958. package/dist/tools/enter-plan.d.ts +0 -7
  959. package/dist/tools/enter-plan.js +0 -20
  960. package/dist/tools/enter-plan.js.map +0 -1
  961. package/dist/tools/exit-plan.d.ts +0 -7
  962. package/dist/tools/exit-plan.js +0 -51
  963. package/dist/tools/exit-plan.js.map +0 -1
  964. package/dist/tools/find.d.ts +0 -17
  965. package/dist/tools/find.js +0 -100
  966. package/dist/tools/find.js.map +0 -1
  967. package/dist/tools/generate-image.d.ts +0 -83
  968. package/dist/tools/generate-image.js +0 -625
  969. package/dist/tools/generate-image.js.map +0 -1
  970. package/dist/tools/grep-scan.d.ts +0 -96
  971. package/dist/tools/grep-scan.js +0 -283
  972. package/dist/tools/grep-scan.js.map +0 -1
  973. package/dist/tools/grep.d.ts +0 -48
  974. package/dist/tools/grep.js +0 -1013
  975. package/dist/tools/grep.js.map +0 -1
  976. package/dist/tools/html-extract.d.ts +0 -57
  977. package/dist/tools/html-extract.js +0 -130
  978. package/dist/tools/html-extract.js.map +0 -1
  979. package/dist/tools/index.d.ts +0 -198
  980. package/dist/tools/index.js +0 -216
  981. package/dist/tools/index.js.map +0 -1
  982. package/dist/tools/live-preview.d.ts +0 -23
  983. package/dist/tools/live-preview.js +0 -41
  984. package/dist/tools/live-preview.js.map +0 -1
  985. package/dist/tools/ls.d.ts +0 -9
  986. package/dist/tools/ls.js +0 -59
  987. package/dist/tools/ls.js.map +0 -1
  988. package/dist/tools/operations.d.ts +0 -86
  989. package/dist/tools/operations.js +0 -117
  990. package/dist/tools/operations.js.map +0 -1
  991. package/dist/tools/overflow.d.ts +0 -17
  992. package/dist/tools/overflow.js +0 -68
  993. package/dist/tools/overflow.js.map +0 -1
  994. package/dist/tools/path-utils.d.ts +0 -30
  995. package/dist/tools/path-utils.js +0 -74
  996. package/dist/tools/path-utils.js.map +0 -1
  997. package/dist/tools/pdf-extract.d.ts +0 -17
  998. package/dist/tools/pdf-extract.js +0 -43
  999. package/dist/tools/pdf-extract.js.map +0 -1
  1000. package/dist/tools/prompt-hints.d.ts +0 -46
  1001. package/dist/tools/prompt-hints.js +0 -171
  1002. package/dist/tools/prompt-hints.js.map +0 -1
  1003. package/dist/tools/read-only-bash.d.ts +0 -31
  1004. package/dist/tools/read-only-bash.js +0 -338
  1005. package/dist/tools/read-only-bash.js.map +0 -1
  1006. package/dist/tools/read-tracker.d.ts +0 -43
  1007. package/dist/tools/read-tracker.js +0 -120
  1008. package/dist/tools/read-tracker.js.map +0 -1
  1009. package/dist/tools/read.d.ts +0 -18
  1010. package/dist/tools/read.js +0 -316
  1011. package/dist/tools/read.js.map +0 -1
  1012. package/dist/tools/redaction-guard.d.ts +0 -10
  1013. package/dist/tools/redaction-guard.js +0 -55
  1014. package/dist/tools/redaction-guard.js.map +0 -1
  1015. package/dist/tools/routine-output.d.ts +0 -39
  1016. package/dist/tools/routine-output.js +0 -281
  1017. package/dist/tools/routine-output.js.map +0 -1
  1018. package/dist/tools/safe-env.d.ts +0 -1
  1019. package/dist/tools/safe-env.js +0 -79
  1020. package/dist/tools/safe-env.js.map +0 -1
  1021. package/dist/tools/session-stats.d.ts +0 -26
  1022. package/dist/tools/session-stats.js +0 -51
  1023. package/dist/tools/session-stats.js.map +0 -1
  1024. package/dist/tools/side-web-search.d.ts +0 -34
  1025. package/dist/tools/side-web-search.js +0 -146
  1026. package/dist/tools/side-web-search.js.map +0 -1
  1027. package/dist/tools/skill.d.ts +0 -12
  1028. package/dist/tools/skill.js +0 -94
  1029. package/dist/tools/skill.js.map +0 -1
  1030. package/dist/tools/source-path.d.ts +0 -8
  1031. package/dist/tools/source-path.js +0 -128
  1032. package/dist/tools/source-path.js.map +0 -1
  1033. package/dist/tools/steroids.d.ts +0 -44
  1034. package/dist/tools/steroids.js +0 -356
  1035. package/dist/tools/steroids.js.map +0 -1
  1036. package/dist/tools/subagent-control.d.ts +0 -5
  1037. package/dist/tools/subagent-control.js +0 -211
  1038. package/dist/tools/subagent-control.js.map +0 -1
  1039. package/dist/tools/subagent-shared.d.ts +0 -110
  1040. package/dist/tools/subagent-shared.js +0 -180
  1041. package/dist/tools/subagent-shared.js.map +0 -1
  1042. package/dist/tools/subagent.d.ts +0 -37
  1043. package/dist/tools/subagent.js +0 -406
  1044. package/dist/tools/subagent.js.map +0 -1
  1045. package/dist/tools/task-output.d.ts +0 -10
  1046. package/dist/tools/task-output.js +0 -74
  1047. package/dist/tools/task-output.js.map +0 -1
  1048. package/dist/tools/task-send.d.ts +0 -11
  1049. package/dist/tools/task-send.js +0 -36
  1050. package/dist/tools/task-send.js.map +0 -1
  1051. package/dist/tools/task-stop.d.ts +0 -8
  1052. package/dist/tools/task-stop.js +0 -15
  1053. package/dist/tools/task-stop.js.map +0 -1
  1054. package/dist/tools/tasks.d.ts +0 -15
  1055. package/dist/tools/tasks.js +0 -94
  1056. package/dist/tools/tasks.js.map +0 -1
  1057. package/dist/tools/tool-search.d.ts +0 -26
  1058. package/dist/tools/tool-search.js +0 -81
  1059. package/dist/tools/tool-search.js.map +0 -1
  1060. package/dist/tools/tool-tiers.d.ts +0 -65
  1061. package/dist/tools/tool-tiers.js +0 -121
  1062. package/dist/tools/tool-tiers.js.map +0 -1
  1063. package/dist/tools/truncate.d.ts +0 -39
  1064. package/dist/tools/truncate.js +0 -242
  1065. package/dist/tools/truncate.js.map +0 -1
  1066. package/dist/tools/ui-adopt.d.ts +0 -16
  1067. package/dist/tools/ui-adopt.js +0 -66
  1068. package/dist/tools/ui-adopt.js.map +0 -1
  1069. package/dist/tools/ui-registry.d.ts +0 -15
  1070. package/dist/tools/ui-registry.js +0 -39
  1071. package/dist/tools/ui-registry.js.map +0 -1
  1072. package/dist/tools/verification-review.d.ts +0 -2
  1073. package/dist/tools/verification-review.js +0 -41
  1074. package/dist/tools/verification-review.js.map +0 -1
  1075. package/dist/tools/web-fetch.d.ts +0 -52
  1076. package/dist/tools/web-fetch.js +0 -986
  1077. package/dist/tools/web-fetch.js.map +0 -1
  1078. package/dist/tools/web-search.d.ts +0 -35
  1079. package/dist/tools/web-search.js +0 -926
  1080. package/dist/tools/web-search.js.map +0 -1
  1081. package/dist/tools/write.d.ts +0 -16
  1082. package/dist/tools/write.js +0 -196
  1083. package/dist/tools/write.js.map +0 -1
  1084. package/dist/types.d.ts +0 -44
  1085. package/dist/types.js +0 -2
  1086. package/dist/types.js.map +0 -1
  1087. package/dist/utils/git.d.ts +0 -102
  1088. package/dist/utils/git.js +0 -325
  1089. package/dist/utils/git.js.map +0 -1
  1090. package/dist/utils/github-ci.d.ts +0 -18
  1091. package/dist/utils/github-ci.js +0 -138
  1092. package/dist/utils/github-ci.js.map +0 -1
  1093. package/dist/utils/github.d.ts +0 -19
  1094. package/dist/utils/github.js +0 -67
  1095. package/dist/utils/github.js.map +0 -1
  1096. package/dist/utils/image.d.ts +0 -166
  1097. package/dist/utils/image.js +0 -673
  1098. package/dist/utils/image.js.map +0 -1
  1099. package/dist/utils/open-browser.d.ts +0 -13
  1100. package/dist/utils/open-browser.js +0 -31
  1101. package/dist/utils/open-browser.js.map +0 -1
  1102. package/dist/utils/plan-steps.d.ts +0 -90
  1103. package/dist/utils/plan-steps.js +0 -209
  1104. package/dist/utils/plan-steps.js.map +0 -1
  1105. package/dist/utils/process.d.ts +0 -48
  1106. package/dist/utils/process.js +0 -175
  1107. package/dist/utils/process.js.map +0 -1
  1108. package/dist/utils/prompt-enhancer.d.ts +0 -53
  1109. package/dist/utils/prompt-enhancer.js +0 -178
  1110. package/dist/utils/prompt-enhancer.js.map +0 -1
  1111. package/dist/utils/text.d.ts +0 -61
  1112. package/dist/utils/text.js +0 -68
  1113. package/dist/utils/text.js.map +0 -1
  1114. package/dist/web.d.ts +0 -5
  1115. package/dist/web.js +0 -5
  1116. package/dist/web.js.map +0 -1
@@ -1,162 +0,0 @@
1
- # EU / EEA / UK
2
-
3
- ## Contents
4
- - 1. GDPR / UK GDPR
5
- - 2. ePrivacy — cookies and device storage
6
- - 3. EU AI Act — timeline
7
- - 4. Other EU acts
8
- - 5. UK specifics
9
- - 6. Consumer and tax blindsides
10
- - 7. Verify before relying
11
-
12
-
13
- Snapshot **11 Aug 2026**, spot re-verified 3 Oct, 22 Oct and 22 Nov 2026 (see `provenance.md`). Markers: **[V]** verified against a primary/first-tier source · **[S]** snapshot, re-verify · **[U]** contested or in flux.
14
-
15
- **Territorial reality:** GDPR applies to anyone offering goods or services to, or *monitoring the behaviour of*, people in the EU/EEA — regardless of where the developer sits **[V]**. Monitoring includes analytics cookies, session replay, ad pixels, and behavioural profiling. A US solo dev with an open signup form and Google Analytics is in scope. Blocking EU traffic is a legitimate engineering answer and should be offered as an option.
16
-
17
- ---
18
-
19
- ## 1. GDPR / UK GDPR
20
-
21
- **Lawful basis (Art 6)** — pick one *per purpose*, before shipping, and record it **[V]**. Typical mapping: consent for marketing, non-essential analytics, and optional AI-training use; contract for account creation and core feature delivery; legitimate interests (with a documented assessment) for security, fraud prevention, and basic product telemetry. The UK adds a "recognised legitimate interests" list that removes the balancing test for some purposes **[V]**.
22
-
23
- **Consent quality (Art 4(11), 7)** — unbundled, granular per purpose, an affirmative act, as easy to withdraw as to give, and logged with timestamp, version and scope **[V]**. You cannot bundle analytics, advertising and functional purposes into one checkbox.
24
-
25
- **Transparency notice (Art 13/14)** must contain: controller identity and contact (plus the Art 27 representative), DPO if any, purposes and lawful basis **per purpose**, the legitimate-interests description, recipients or categories of recipients (name subprocessors), third-country transfers with the mechanism and how to obtain a copy of safeguards, retention periods, the full rights list including withdrawal and the right to complain to a supervisory authority, whether provision is statutory or contractual, and any automated decision-making with meaningful information about the logic **[V]**.
26
-
27
- **Rights and deadlines** — one month, extendable by two for complexity, with notification inside the first month **[V]**. The UK now calculates the clock differently under a new Art 12A, allowing a stop-the-clock while you seek identification or clarification **[V]**.
28
-
29
- **UK complaints duty** — from 19 June 2026 UK controllers must operate a formal data-protection complaints procedure and acknowledge complaints within 30 days **[V]**. Artifact: a published complaints route and a tracked queue.
30
-
31
- **Art 30 records** — the "under 250 employees" exemption is effectively worthless because it falls away for non-occasional processing (any live product), risky processing, or special-category data **[V]**. Assume you need a record of processing activities.
32
-
33
- **DPIA (Art 35)** — required when two or more of the WP248 criteria hit: scoring/evaluation, automated decisions with legal or significant effect, systematic monitoring, sensitive data, large scale, matched or combined datasets, vulnerable subjects including children, innovative technology (**LLM features count**), or preventing access to a service **[V]**. Many AI features trip two criteria immediately.
34
-
35
- **Art 27 representative** — a non-EU controller targeting EU users must appoint a written-mandated EU representative in a Member State where subjects are located and publish it in the notice; the UK requires a separate one **[V]**. The exemption is narrow (occasional, low-risk, no special-category data), so most US indie SaaS with EU users technically needs both. Cost is a real annual subscription — flag it as a business decision, not a code change.
36
-
37
- **DPO** — only for large-scale systematic monitoring, large-scale special-category/criminal data, or public authorities. A typical small SaaS does not need one; name a privacy contact instead **[V]**.
38
-
39
- **Art 28 processor contracts** — every vendor processing personal data on your behalf (hosting, database, CDN, error tracking, analytics, email, LLM APIs) needs a DPA with the Art 28(3) clauses, documented subprocessor authorisation, and change notification **[V]**. Most major vendors publish a self-serve DPA; some require acceptance in the dashboard. Note that some vendors act as independent controllers for parts of their service — check rather than assume.
40
-
41
- **International transfers** — the EU–US Data Privacy Framework remains valid: the General Court dismissed the Latombe challenge in September 2025 and the appeal (C-703/25 P) is still pending: Microsoft was admitted as an intervener for the Commission on 4 Jun 2026, and there was no judgment at 22 Oct 2026 **[S]**. Design for reversibility: execute SCCs alongside DPF reliance and know which vendors are US-only **[V]**.
42
-
43
- **Breach notification** — 72 hours to the lead supervisory authority from *awareness*, not from confirmation, unless a risk is unlikely; without undue delay to individuals where the risk is high; and an internal register of **all** breaches regardless of reportability **[V]**.
44
-
45
- **Children (Art 8)** — the digital age of consent varies by Member State between 13 and 16 **[V]**. If you cannot gate per country, set 16, or design so that no consent-based processing applies to minors.
46
-
47
- ---
48
-
49
- ## 2. ePrivacy — cookies and device storage
50
-
51
- Consent is required **before** any non-essential storage or access on the user's device, under the ePrivacy Directive as transposed by each Member State — 27 variants **[V]**. The data half of the Digital Omnibus is **not law** **[S]**. "Art 88a/88b GDPR: one-click refuse, no re-asking for six months, browser signals" describes only the Commission's proposal. The Council Presidency's 2 Oct 2026 text keeps cookie consent in ePrivacy Art 5(3), deletes 88a/88b including the browser-signal duty, and allows re-asking after four months **[S]**. Coreper agreed a Council mandate on 21 Oct 2026 on that approach, adding wider consent exemptions for audience and contextual-ad measurement; at 22 Nov 2026 Parliament had no position and no trilogue had begun **[S]**. Do not build to it; one-click reject is already the defensible design anyway. Scope is technology-neutral and expressly reaches pixels, local storage, and similar techniques **[V]**. This applies **whether or not** the data is personal, which is why "we only use anonymous analytics" is not an answer.
52
-
53
- **Banner technical spec** (this is the implementable contract):
54
- - No third-party script, pixel, or network request before an affirmative choice.
55
- - No pre-ticked boxes.
56
- - Reject at the same layer and with the same visual weight as accept.
57
- - Granular per-purpose toggles.
58
- - A persistent re-open control for withdrawal.
59
- - Store the choice with a bounded expiry and re-ask; log timestamp, version and scope.
60
-
61
- **Enforcement reality:** very large fines have gone to large platforms, and regulators have run complaint-driven sweeps and warning campaigns against ordinary websites, including fines for pre-ticked boxes **[V]**. Small sites are targeted by complaints, not by proactive audits.
62
-
63
- **Consent-or-pay:** permitted only under conditions, with the guidance scoped to large platforms; a hard cookie wall with no free path is high risk for a small app **[V]**. A third "free without personalised tracking" option is the defensible design. Later broadening of this guidance is reported but unconfirmed **[U]**.
64
-
65
- **Google Analytics** is not illegal in Europe in 2026 — the transfer defect behind the 2022 decisions has an answer in the DPF — but the consent-before-tracking requirement still applies **[V]**.
66
-
67
- **UK divergence (important):** from 5 February 2026 certain first-party analytics and functionality cookies are exempt from the PECR consent requirement where you give clear information and a simple, free way to object **[V]**. This does **not** extend to third-party advertising cookies, and it does not change EU rules — a single banner serving both markets should keep the stricter behaviour unless you geo-branch.
68
-
69
- **PECR penalties** rose to £17.5m or 4% of global turnover **[V]**.
70
-
71
- ---
72
-
73
- ## 3. EU AI Act — timeline
74
-
75
- The Digital Omnibus on AI (Reg (EU) 2026/1744 of 8 July 2026) was published in the OJ on 24 July 2026 and entered into force on the third day after publication **[V]** (EUR-Lex OJ text opened 3 Oct 2026). Dates below marked **[V]** were read in that text; 2 Feb 2027 was not located there **[U]**. **Any guidance dated before mid-2026 saying high-risk obligations apply from 2 August 2026 is now wrong.**
76
-
77
- | Date | Status |
78
- |---|---|
79
- | 2 Feb 2025 | Prohibited practices and AI literacy — **in force** **[V]** |
80
- | 2 Aug 2025 | GPAI models, governance, penalties — **in force** **[S]** |
81
- | **2 Aug 2026** | **Article 50 transparency obligations — in force now** (general application date) **[V]** |
82
- | 2 Dec 2026 | Art 50(2) marking for generative systems placed on the market before 2 Aug 2026; new Art 5(1)(ba)/(bb) prohibitions incl. non-consensual sexual deepfakes of identifiable people **[V]**. No further amendment found at the 22 Nov 2026 re-check: imminent |
83
- | 2 Feb 2027 | Watermark-detection interoperability deadline for providers **[U]** |
84
- | **2 Dec 2027** | High-risk obligations for standalone Annex III systems — **deferred** **[V]** |
85
- | 2 Aug 2028 | High-risk obligations for embedded Annex I systems **[V]** |
86
-
87
- **Provider vs deployer is the consequential classification.** Providers develop an AI system, or have it developed, and place it on the market or into service **under their own name or trademark**, regardless of establishment **[V]**. Wrapping a foundation model in your own product and shipping it under your brand generally makes you a provider of that AI system — not merely a deployer.
88
-
89
- **What applies right now:**
90
- - **Art 4 AI literacy** — provider *or* deployer, no size exemption, in force since Feb 2025. Realistic artifact for a small team: a one-page internal AI-use policy plus a dated reading/training record **[V]**.
91
- ### Art 5 prohibited practices — check these FIRST
92
-
93
- These are **bans**, in force since 2 Feb 2025, carrying the top penalty tier of €35M or 7% of global turnover **[V]**. They map to the **ILLEGAL** severity label: the answer is "delete the feature", never "add a disclosure". Check this list before Art 50, because Art 50 tells you how to *label* a system you are allowed to ship, and it will quietly mislead you into labelling one you are not.
94
-
95
- Eight categories are prohibited **[V]**. The ones a small developer realistically builds by accident:
96
-
97
- - **Art 5(1)(f) — inferring emotions in the workplace or education**, except for medical or safety reasons **[V]**. The Commission reads "workplace" broadly and it **expressly covers recruitment and hiring** **[V]**. Any system scoring an interview candidate's confidence, enthusiasm, engagement, or sincerity from face, voice, or physiology is caught, and commentary concludes there is no realistic exemption for interview assessment **[V]**. Same for exam proctoring and student-attention scoring in education **[V]**. A narrow carve-out exists for personal training use where results are not shared with HR and cannot affect assessment or promotion **[S]** — do not rely on it without advice.
98
- - **Art 5(1)(g) — biometric categorisation to infer race, political opinions, trade union membership, religious or philosophical beliefs, sex life, or sexual orientation** from biometric data **[V]**. Any "guess ethnicity/gender/orientation from a photo" feature is prohibited, including as an internal analytics field.
99
- - **Art 5(1)(e) — untargeted scraping of facial images** from the internet or CCTV to build or expand facial-recognition databases **[V]**. This bans the face-search-engine pattern outright.
100
- - **Art 5(1)(c) — social scoring** leading to detrimental or disproportionate treatment in unrelated contexts — including by private actors **[V]**. A general-purpose "trust score" or "reputation score" applied across unrelated domains is the risky shape.
101
- - **Art 5(1)(b) — exploiting vulnerabilities** of age, disability, or socio-economic situation to materially distort behaviour **[V]**; **Art 5(1)(a) — subliminal or manipulative techniques** causing significant harm **[V]**. Aggressive engagement mechanics aimed at children or people in financial distress live here.
102
- - **Art 5(1)(d)** — predicting criminal offending from profiling or personality traits; **Art 5(1)(h)** — real-time remote biometric identification in public spaces for law enforcement **[V]**. Rare for small devs, but absolute.
103
-
104
- **Territorial reach:** the ban applies to use affecting people in the EU regardless of where the company is established **[V]**. A US or UK company running emotion analysis on EU candidates is in scope.
105
-
106
- **Stacking:** emotion recognition and biometric categorisation almost always process biometric data, which is Art 9 special-category data, so a prohibited-practice finding normally carries a parallel GDPR violation **[V]**. Report both.
107
-
108
- ### Art 50 transparency — for systems you are allowed to ship
109
-
110
- - **Art 50(1) chatbot disclosure** — disclose that the user is interacting with an AI at first interaction, in the UI. The "obvious to a reasonable person" carve-out exists but is a bad bet; label it **[V]**.
111
- - **Art 50(2) synthetic-output marking** — providers of generative systems must embed machine-readable provenance in generated audio, image, video and text: C2PA/Content Credentials manifests, watermarking where feasible **[V]**. New systems now; pre-2 Aug 2026 systems from 2 Dec 2026 — **record your placing-on-the-market date**.
112
- - **Art 50(4) deepfake and public-interest text labelling** — deployers must apply a user-visible label at first exposure; guidance takes a broad territorial view for globally accessible content **[V]**.
113
- - **Art 50(3)** — emotion recognition or biometric categorisation requires informing exposed persons, and is special-category processing under GDPR **[V]**.
114
- - **Code of Practice safe harbour** — adherence to the transparency Code of Practice is the cheapest defensible posture for a small provider, though not conclusive evidence of compliance **[V]**. The final transparency Code of Practice was published 10 Jun 2026 and Commission guidelines on Art 50 (C(2026) 5054) adopted 20 Jul 2026 **[V]** (existence checked, content not reviewed): read both before advising on labelling detail.
115
-
116
- **High-risk (Annex III)** is unlikely unless the feature does CV screening or hiring, credit scoring, education assessment, biometric identification, essential-service eligibility, or law-enforcement/migration work **[V]**. If it does, treat it as a major project and route to counsel.
117
-
118
- **Minimum for a small dev shipping an LLM feature — do all five:** visible AI label; provenance marking on generated media; user-facing label on deepfakes and AI-published text on matters of public interest; an `ai-literacy.md` plus AI-use policy; and a one-page system description recording model provider, purpose, limitations, human-oversight path, and your provider/deployer determination.
119
-
120
- Penalties for Art 50 breaches reach €15M or 3% of global turnover; prohibited practices reach €35M or 7% **[S]** on the exact tier post-Omnibus.
121
-
122
- ---
123
-
124
- ## 4. Other EU acts
125
-
126
- - **Digital Services Act** — triggered by *hosting information provided by a recipient*: user uploads, comments, profiles, public pastes, shared docs. Single-tenant B2B SaaS with no third-party-visible content is generally out **[V]**. All hosting providers regardless of size owe a point of contact for authorities and users, a notice-and-action mechanism, statements of reasons for removals, and terms describing moderation. Micro and small enterprises are exempt from several heavier duties but **not** from the basics.
127
- - **European Accessibility Act (Directive (EU) 2019/882)** — applies to **service categories**, not all software: e-commerce (any consumer-facing online sale), consumer banking, e-books, electronic communications, transport ticketing, and access to audiovisual media **[V]**. Applies since 28 June 2025 to products placed on the market and services provided to consumers after that date (Art 31(2)) **[V]**. Art 32 transitional rules: service contracts agreed before 28 June 2025 may run unaltered until expiry but no later than **28 June 2030**; products already used to deliver services may continue until 28 June 2030; self-service terminals up to 20 years **[S]** (Article text as quoted by secondary sources; EUR-Lex not opened). None of this exempts a new or changed web checkout. A B2B-only SaaS is out of scope; a B2C app with a checkout is in. Technical standard is EN 301 549 (WCAG 2.1 AA today; a WCAG 2.2-aligned revision is in progress **[U]** — build to 2.2 AA now, it is backwards-compatible). Microenterprises (<10 staff and ≤€2M turnover) are exempt for services, but the detail varies by transposition **[S]**.
128
- - **Cyber Resilience Act** — applies to *manufacturers* of products with digital elements placed on the EU market: downloadable or installable software, desktop and mobile apps, browser extensions, firmware, monetised libraries **[V]**. Main obligations from 11 December 2027, but **reporting obligations have applied since 11 September 2026**: actively exploited vulnerabilities and severe incidents are reported once through ENISA's Single Reporting Platform **[V]**, with an early warning within 24h, a notification within 72h, and a final report later **[S]**. Reporting also covers products placed on the market before December 2027 (legacy products), but not exploitation already known before 11 Sep 2026 **[S]**. Pure SaaS is generally outside, but the SaaS boundary is exactly where small products get caught unexpectedly; re-read the Commission's practical guidance **[U]**.
129
- - **NIS2** — sector plus size; cloud, data-centre, managed-service and managed-security providers are in scope, but the size cap generally means ≥50 staff or >€10M turnover **[S]**. A small SaaS is normally out unless designated.
130
- - **Data Act (Regulation (EU) 2023/2854)** — applicable since **12 September 2025** (Art 50) **[S]**. Two developer-relevant parts: (1) providers of data processing services (expressly including SaaS, PaaS, IaaS) with EU customers, with no carve-out for small providers, owe contractual switching and egress terms, no unreasonable exit barriers, and data-porting support; switching charges must be abolished from **12 January 2027** **[S]**. (2) Makers of **connected products** (IoT devices, wearables, connected cars) and their companion apps owe user access to product and related-service data; from **12 September 2026** products placed on the market must be designed so users can access that data directly where relevant and technically feasible (Art 3(1)) **[S]**. Chapter IV unfair-terms rules apply to B2B data contracts concluded after 12 Sept 2025 **[S]**.
131
- - **DORA** — only if you are a financial entity or a contracted ICT provider to one; for a small dev it arrives as customer contract terms **[S]**.
132
- - **PSD2 SCA** — use a PSP with 3-D Secure rather than building card flows; exemptions belong to the PSP **[S]**.
133
- - **MiCA** — issuing a token or providing crypto-asset services to EU users requires authorisation; merely accepting crypto payment through a licensed processor generally does not **[S]**.
134
- - **GPSR** — whether standalone software is a "product" is genuinely unresolved: the Commission's FAQ says software is included, while a recital excludes services **[U]**. Flag as uncertain rather than asserting either way.
135
- - **Platform-to-Business Regulation** — if you let business users offer goods or services to consumers (a marketplace, a booking layer): plain-language terms with 15-day change notice, disclosed ranking parameters, stated reasons for suspension, and an internal complaints process **[V]**.
136
-
137
- ---
138
-
139
- ## 5. UK specifics
140
-
141
- - **Data (Use and Access) Act 2025** — Royal Assent 19 June 2025; commenced in stages. The principal data-protection provisions came into force on **5 February 2026** under SI 2026/82 (legislation.gov.uk): ss. 70, 76, 80, 112 and Schedules 4, 6, 11, 12 **[V]**. Code-relevant changes: the new DSAR clock (Art 12A UK GDPR), recognised legitimate interests (no balancing test), Arts 22A–22D replacing the automated-decision prohibition with permission plus safeguards (information, representations, human intervention, contest) for non-special-category data, and the PECR analytics/functionality cookie exemption. The complaints-handling duty (new s. 164A DPA 2018) followed on **19 June 2026** **[V]**. The ICO's functions passed to the **Information Commission** on 30 Sep 2026 (Commencement No. 9) **[V]**: name the Information Commission in new UK notices and policies; the change is otherwise institutional.
142
- - **Online Safety Act** — triggered by **user-to-user** services (anywhere users can encounter content uploaded by others — comments, DMs, forums, shared galleries, multiplayer chat), search services, and pornography publishers, with UK links. **There is no small-service exemption from the core duties**, and the regulator runs a dedicated "small but risky" supervision function **[V]**. Duties include illegal-content and children's-access risk assessments, proportionate safety measures, reporting and complaints mechanisms, and highly effective age assurance where required. Ofcom has been fining since late 2025 — mostly for missing highly effective age assurance on pornographic services, and in one case for a missing illegal-content risk assessment and deficient terms — with penalties up to £18M or 10% of qualifying worldwide revenue **[S]**. Age-assurance fines continued through 2026 (e.g. £1.35M on 23 Feb, £700k on 4 Sep) **[V]**. An Additional Safety Measures statement (reported mid-Nov 2026) expands hash-matching for child sexual abuse material **[S]**; whether the amended illegal-content codes are already in force is **[U]**. The register of categorised services (Category 1, 2A, 2B; extra duties) was published on 10 July 2026 **[V]**; small services are not categorised, but the core duties still apply. Treat any UK-reachable UGC product as in scope and produce the risk assessments — their absence is itself the enforceable failure.
143
- - **Children's Code** — applies to services *likely to be accessed* by under-18s, a much lower bar than "aimed at children": high-privacy defaults, geolocation off by default, no nudges toward weaker privacy, a DPIA covering children, minimised profiling **[V]**.
144
- - **Accessibility** — no private-sector EAA equivalent; exposure runs through the Equality Act duty to make reasonable adjustments, with WCAG 2.1 AA as the de facto benchmark **[S]**.
145
-
146
- ---
147
-
148
- ## 6. Consumer and tax blindsides
149
-
150
- - **VAT on B2C digital sales to EU consumers** — there is **no small-seller threshold for businesses established outside the EU**; VAT is due from the first sale, via OSS registration or a merchant-of-record **[V]**. This is the single most commonly missed obligation for indie SaaS selling to Europe.
151
- - **Right of withdrawal for digital content** — a 14-day cooling-off period applies by default. You lose it for immediately-supplied digital content **only if** you obtain prior express consent to immediate performance **and** the consumer's acknowledgement that they thereby lose the right, and you confirm it **[V]**. That means a specific checkbox pair at checkout, not a link to terms.
152
- - **A claim circulating that a mandatory "withdrawal button" applies to all EU online traders from 19 June 2026 is a misreading of a financial-services directive** **[V]**. Do not implement it as a general obligation; do not repeat the claim.
153
- - **Pre-contract information** — before the order: main characteristics, total price inclusive of taxes and all charges, duration and minimum term, auto-renewal terms, trader identity with geographic address and email, complaint handling, and digital-content functionality and interoperability. The order button must be labelled to make the payment obligation explicit **[V]**.
154
- - **Pricing and dark patterns** — price-reduction claims must reference the lowest price in the previous 30 days; paid ranking placement must be disclosed; review verification must be described honestly; personalised pricing must be disclosed **[V]**.
155
- - **Digital Fairness Act** — a Commission **proposal** of 11 Nov 2026, **not law** **[V]**, aimed at dark patterns, addictive design, free trials that roll into paid subscriptions, auto-renewals, cancellation obstacles and access to a human. Never cite it as a current duty; it shows where enforcement of existing law is heading, so build one-click cancellation and a clear notice before a trial converts.
156
- - **Unfair terms** — in B2C, non-negotiated terms creating significant imbalance are void: blanket liability exclusions, unilateral changes without notice and an exit right, forum clauses depriving consumers of their home courts, and mandatory arbitration **[V]**. **Do not copy a US ToS into an EU-facing product** — the arbitration and class-waiver clauses that protect you in the US are unenforceable and can themselves be an unfair-terms violation.
157
-
158
- ---
159
-
160
- ## 7. Verify before relying
161
-
162
- AI Act fine tiers post-Omnibus · EN 301 549 version status · the GDPR/ePrivacy half of the Digital Omnibus (**not law**: Council mandate 21 Oct 2026; no Parliament position or trilogue at 22 Nov 2026) · Digital Fairness Act (proposal, 11 Nov 2026) · Ofcom's categorised-services duties consultation outcome · consent-or-pay scope broadening · CRA SaaS boundary · NIS2 small-provider designation practice · UK adequacy status.
@@ -1,177 +0,0 @@
1
- # Exposure Triage
2
-
3
- ## Contents
4
- - 1. Reach — can a stranger touch this?
5
- - 1b. Translate the signatures to the stack in front of you
6
- - 2. Personal data inventory
7
- - 3. Third-party recipients
8
- - 4. Money
9
- - 5. Decisions about people
10
- - 6. User-generated content
11
- - 7. Messaging
12
- - 8. AI surface
13
- - 9. Domain signal scan
14
- - 10. Jurisdiction inference
15
- - 11. Question set (max five, batched, with defaults)
16
- - 12. Proportionality rule
17
-
18
-
19
- Determine what the product actually is before deciding what applies. Everything here is code-observable; do not ask the user what the repo can answer.
20
-
21
- ## 1. Reach — can a stranger touch this?
22
-
23
- Obligations scale almost entirely with reach. Establish it first.
24
-
25
- | Class | Signals | Baseline exposure |
26
- |---|---|---|
27
- | **Local-only** | CLI, no server, no network calls with user data, no deploy config, no telemetry | Near zero. Licence hygiene and secrets hygiene only. Do not generate a compliance program. |
28
- | **Internal / self-hosted, no third parties** | Docker compose for one org, no public DNS, SSO to one tenant | Security baseline, employment/monitoring rules if it watches staff, vendor terms |
29
- | **Private beta / invite-only** | Auth required, invite table, no public signup | Full privacy stack applies to real users; volume-threshold laws mostly do not |
30
- | **Public app** | Open signup, public marketing page, app-store listing | Everything in `trigger-map.md` |
31
- | **Public + UGC** | Uploads, comments, profiles, messaging | Adds intermediary/safe-harbour, CSAM, NCII, moderation duties |
32
- | **Public + money** | Checkout, subscriptions, payouts | Adds payments, auto-renewal, tax, consumer law |
33
-
34
- Deploy signals: `vercel.json`, `netlify.toml`, `fly.toml`, `render.yaml`, `app.yaml`, `wrangler.toml`, `Procfile`, Dockerfile with exposed ports, Terraform/Pulumi with public ingress, GitHub Actions deploy jobs, `CNAME`, custom-domain config, `robots.txt`, sitemap, `apple-app-site-association`, `.well-known/assetlinks.json`, Fastlane, EAS config, `Info.plist`, `AndroidManifest.xml`.
35
-
36
- Absence of deploy config does not prove absence of a deployment. If it looks like a web app, ask.
37
-
38
- ## 1b. Translate the signatures to the stack in front of you
39
-
40
- The greps in this file lean JavaScript because that is what most of these apps are built in. **They are examples of a pattern, not the pattern itself.** Before concluding "not applicable", restate the signature in the project's own idiom:
41
-
42
- | Signature | JS/TS | Python | Ruby | Go / Rust / PHP / mobile |
43
- |---|---|---|---|---|
44
- | Dependency manifest | `package.json`, lockfile | `requirements.txt`, `pyproject.toml`, `poetry.lock` | `Gemfile`, `Gemfile.lock` | `go.mod`, `Cargo.toml`, `composer.json`, `Podfile`, `build.gradle` |
45
- | Secret leaked to the client | `NEXT_PUBLIC_*`, `VITE_*`, `REACT_APP_*` | hardcoded literal in source; a default in `os.environ.get("KEY", "sk-...")`; committed `settings.py` | mis-scoped credentials, hardcoded literal | `EXPO_PUBLIC_*`, `Info.plist`, `AndroidManifest`, strings compiled into a shipped binary |
46
- | Injection sink | template literal in a query | f-string / `%` / `.format()` into `text()` or `execute()` | interpolation into `where("...")` | any concatenated query in any language |
47
- | Missing object authorization | handler reading `params.id` | FastAPI/Flask/Django view trusting a query or body field | controller trusting `params[:id]` | any handler trusting a client-supplied id |
48
- | Mass assignment | `{...req.body}` spread | `Model(**payload)`, `setattr` loops, unrestricted serializer | `update_attributes(params)` without strong params | any bulk bind of request data to a model |
49
- | Licence/vuln scanning | `npm audit`, licence checker | `pip-audit`, `pip-licenses` | `bundler-audit` | `govulncheck`, `cargo audit`, `cargo deny` |
50
- | Tracking/tags | `<script src>`, tag manager | server-rendered template blocks, or a separate frontend repo | ERB/HAML layouts | native SDK init in the app delegate |
51
-
52
- **If the repo is backend-only, say so and check whether a separate frontend exists** rather than silently reporting the tracking and accessibility sections as clean. "No frontend in this repo" and "no frontend in this product" are different findings, and only the second one is good news.
53
-
54
- ## 2. Personal data inventory
55
-
56
- Grep the schema, not the prose. Look at migrations, ORM models, Zod/Pydantic schemas, form components, and event payloads.
57
-
58
- ```
59
- # identity & contact
60
- email|phone|mobile|first_?name|last_?name|full_?name|address|postcode|zip|dob|date_of_birth|ssn|national_id|passport|driver
61
- # online identifiers (these ARE personal data in the EU/UK and most US state laws)
62
- ip_?address|user_?agent|device_?id|advertising_?id|idfa|gaid|fingerprint|cookie_?id|session_?id
63
- # location
64
- lat|lng|latitude|longitude|geo|coords|precise_location|geofence
65
- # special categories / sensitive
66
- health|medical|diagnos|symptom|prescription|patient|therapy|mental|cycle|period|fertility|pregnan
67
- biometric|face_?(embedding|descriptor|template|encoding)|voice_?(print|embedding)|fingerprint_template|iris|gait
68
- race|ethnic|religio|politic|union|sexual|orientation|gender_identity|immigration|criminal|conviction
69
- genetic|dna|genome
70
- # financial
71
- card|pan|cvv|iban|routing|account_number|balance|ledger|payout|tax_id
72
- # minors
73
- age|birthday|minor|child|parent_consent|guardian|grade|school|student
74
- ```
75
-
76
- Classify each hit into: **basic** (name/email), **identifier** (IP/device/cookie), **sensitive** (health, biometric, precise location, sexual life, race, religion, union, immigration, criminal, genetic, financial account), **children's**, **credential**. Sensitive and children's data change the legal analysis more than volume ever does.
77
-
78
- Also record for each class: where it is stored, who it is sent to, how long it is kept, and whether deletion actually removes it. Most vibe-coded apps have no answer to the last two — that gap *is* a finding.
79
-
80
- ## 3. Third-party recipients
81
-
82
- Every external call is a disclosure. Enumerate exhaustively — this is the single highest-yield sweep for litigation risk.
83
-
84
- ```
85
- # tags & trackers
86
- googletagmanager|google-analytics|gtag|analytics\.js|connect\.facebook\.net|fbq\(|fbevents
87
- tiktok.*analytics|ttq\.|snap.*sc-static|pinterest.*pintrk|linkedin.*insight|_linkedin_partner
88
- clarity\.ms|hotjar|fullstory|logrocket|smartlook|mouseflow|inspectlet|quantummetric|heap|mixpanel|amplitude|segment|posthog|plausible|fathom|matomo
89
- # chat & support widgets (a wiretap-claim magnet)
90
- intercom|drift|zendesk|tawk|crisp|livechat|hubspot|freshchat|olark
91
- # infra & vendors
92
- sentry|datadog|bugsnag|rollbar|newrelic|cloudflare|vercel|supabase|firebase|auth0|clerk|stripe|paddle|lemonsqueezy
93
- resend|sendgrid|postmark|mailgun|twilio|vonage|onesignal|expo-notifications
94
- openai|anthropic|googleapis.*generativelanguage|bedrock|azure.*openai|replicate|huggingface|elevenlabs|deepgram|assemblyai
95
- # fonts & assets loaded cross-origin
96
- fonts\.googleapis|fonts\.gstatic|cdnjs|unpkg|jsdelivr
97
- ```
98
-
99
- For each: what data does it receive, is it a processor or an independent controller, is there a signed DPA, and does it fire before consent? Cross-origin Google Fonts alone has produced German damages awards; ad pixels firing pre-consent are the top demand-letter fingerprint in `lawsuit-vectors.md`.
100
-
101
- ## 4. Money
102
-
103
- ```
104
- stripe|paddle|lemonsqueezy|braintree|adyen|paypal|razorpay|square|revenuecat|chargebee|recurly
105
- subscription|plan_id|price_id|trial|renew|invoice|refund|payout|wallet|balance|escrow|transfer|topup|credits
106
- ```
107
-
108
- Distinguish: one-off purchase, **auto-renewing subscription** (adds ROSCA/state auto-renewal duties), **free trial converting to paid** (highest-risk pattern), **holding or routing user funds** (money-transmission analysis, see `sector-gates.md`), **paying users out** (tax reporting, KYC), **in-app currency or loot boxes** (consumer-protection scrutiny).
109
-
110
- ## 5. Decisions about people
111
-
112
- Any code path that scores, ranks, filters, approves, denies, prices, or flags a human. Grep `score|risk|approve|reject|eligib|screen|rank|match|fraud|verify_identity|creditworth|applicant|candidate|tenant`.
113
-
114
- If the output affects **employment, credit, housing, insurance, education, or access to essential services**, the analysis changes completely — see the automated-decision sections in `us.md` and `eu-uk.md`. An LLM in that path is still an automated decision system.
115
-
116
- ## 6. User-generated content
117
-
118
- Uploads, comments, profiles, DMs, public feeds, file sharing, avatars. Grep `upload|multipart|presigned|s3\.|bucket|attachment|comment|post|message|thread|profile|avatar|report_abuse|moderat`.
119
-
120
- If images or video can be uploaded by users, CSAM detection/reporting and NCII takedown duties attach in the US regardless of size — see `sector-gates.md` §6. If it is a service in the EU or UK, intermediary duties attach.
121
-
122
- ## 7. Messaging
123
-
124
- Separate **transactional** (receipt, password reset, security alert) from **marketing/promotional** (newsletter, offers, re-engagement, "we miss you", abandoned cart). The legal treatment is completely different and most codebases blur them in one `sendEmail()`.
125
-
126
- Grep for template names, campaign tables, `unsubscribe`, `List-Unsubscribe`, cron/scheduled sends, SMS providers, push topics.
127
-
128
- ## 8. AI surface
129
-
130
- ```
131
- openai|anthropic|gemini|generativelanguage|bedrock|ollama|vllm|langchain|llamaindex|ai-sdk|streamText|createAgent|tool_choice|function_call
132
- embedding|vector|pgvector|pinecone|qdrant|weaviate|chroma
133
- diffusion|stable-?diffusion|dall-?e|midjourney|tts|voice_?clone|speech_?synth|avatar
134
- ```
135
-
136
- Then classify:
137
- - **AI-assisted internal tooling** — low external exposure.
138
- - **User-facing chatbot** — disclosure duties (EU AI Act Art 50, several US state laws); companion/emotional framing pulls in far stricter rules.
139
- - **Generated synthetic media** — marking/provenance duties.
140
- - **AI in a consequential decision** — high-risk classification.
141
- - **Agent with tools/code execution** — prompt-injection and sandboxing become security blockers, see `security-baseline.md`.
142
- - **Training or fine-tuning on user data** — needs a lawful basis, notice, and usually opt-in; check vendor training terms.
143
-
144
- ## 9. Domain signal scan
145
-
146
- Route names, table names, and README copy reveal the regulated domain faster than asking. Match against the red-flag phrase table in `sector-gates.md`. Any hit escalates immediately — the domain gate is evaluated *before* the privacy checklist, because if the product cannot lawfully exist as described, the cookie banner is irrelevant.
147
-
148
- ## 10. Jurisdiction inference
149
-
150
- Do not assume the company's country limits exposure.
151
-
152
- - **EU/UK in scope if**: the app is reachable from there and offers goods/services (any language/currency targeting, EU/UK addresses accepted, EUR/GBP pricing, EU-targeted marketing) or monitors behaviour of people there (analytics, ad tracking, profiling). Mere accessibility alone is weaker, but analytics on EU visitors is monitoring.
153
- - **US state laws in scope by**: residents of that state using the service, subject to per-state thresholds — but several states have low or no thresholds, and California's threshold is met by ordinary ad-tech "sharing" more often than founders expect.
154
- - **Geoblocking is a real control.** If the user wants to reduce scope, blocking signup by country/region at the edge (and enforcing it, not just hiding UI) is legitimate and should be offered as an option. Note that it must be enforced server-side and that IP geolocation is imperfect.
155
- - **Sanctions screening is not optional** and applies to hobby projects: OFAC-restricted jurisdictions must be blocked for US persons.
156
-
157
- ## 11. Question set (max five, batched, with defaults)
158
-
159
- Only ask what the repo cannot answer. Always state the default you will assume.
160
-
161
- 1. **Reach** — "Public signup, invite-only, internal, or just you?" *(default: public if a deploy target and open signup exist)*
162
- 2. **Geography** — "Which countries can sign up? Anything blocked today?" *(default: worldwide, nothing blocked → EU/UK/US all in scope)*
163
- 3. **Real data** — "Real users and real data, or test data only?" *(default: real if there is a production deploy)*
164
- 4. **Minors** — "Could under-18s (or under-13s) realistically use it? Any age gate?" *(default: no age gate present → treat general-audience unless the product is clearly workplace-only)*
165
- 5. **Entity** — "Company entity and country, or personal/no entity yet?" *(default: unknown → flag as a LAWYER item, do not fill in documents)*
166
-
167
- Ask a sixth only if a domain gate fired and the answer determines legality (e.g. "do you hold a licence for X?").
168
-
169
- ## 12. Proportionality rule
170
-
171
- Scale output to reach:
172
-
173
- - Local-only / prototype with fake data → at most a short note: secrets, licences, and "here is what changes when you deploy".
174
- - Private beta → security blockers, privacy notice, deletion path, vendor DPAs.
175
- - Public launch → the full register.
176
-
177
- Never produce a 60-item report for a project with no users. Findings nobody acts on are worse than none, because they teach the user to ignore the skill.
@@ -1,155 +0,0 @@
1
- # Full Review Workflow
2
-
3
- Read this file in full before starting a full review. The inline gate does not need it.
4
-
5
- ## Contents
6
- - 1. Profile the exposure from the code
7
- - 2. Map triggers to obligations
8
- - 3. Coverage ledger
9
- - 4. Second pass on the product model
10
- - 5. One duty, every jurisdiction
11
- - 6. Rank
12
- - 7. Implement
13
- - 8. Prove it, then leave the check behind
14
- - 9. COMPLIANCE.md
15
- - 10. Write it for someone who has never read a statute
16
-
17
- ## 1. Profile the exposure from the code
18
-
19
- Do this before the intake questions. `exposure-triage.md` has the full sweep; the fast version:
20
-
21
- - **Reach**: deploy config (`vercel.json`, `netlify.toml`, `fly.toml`, Dockerfile + ingress, `wrangler.toml`), a domain, a marketing page, app-store metadata, an auth flow.
22
- - **Personal data**: schemas, migrations, form fields, session tables — email, name, phone, address, IP, device ID, location, DOB, photo, voice, health, payment, government ID.
23
- - **Third parties**: every `<script src>`, tag manager, analytics, ad pixel, session replay, chat widget, error tracker, CDN font, LLM API, email/SMS and payment provider.
24
- - **Money**: payment SDK, plan tables, trials, refunds, payouts, wallets, balances.
25
- - **Decisions about people**: code that scores, ranks, screens, approves, or rejects a human.
26
- - **UGC**: uploads, comments, profiles, messaging, sharing, public feeds.
27
- - **Domain signals**: `patients`, `diagnos*`, `prescription`, `loan`, `kyc`, `wallet`, `bet`, `wager`, `prize`, `minor`, `age`, `student`, `applicant`, `background_check`, `face_embedding`, `voiceprint`.
28
- - **Messaging**: transactional vs marketing email, SMS, push.
29
- - **AI**: model calls, agents with tools, personas, generated media, training on user data.
30
-
31
- **Read the prose, not only the code.** README files, landing copy, pricing pages and app-store text state the audience and claims the schema never shows — "kids can make profiles too", "tells you what medication to give", "we import listings from X", "HIPAA-ready", "bank-level security". A sentence about who uses the product or what it does for them is a trigger like a column name, and is often the only place a minors audience, a health claim, or a data-sourcing practice is admitted.
32
-
33
- ## 2. Map triggers to obligations
34
-
35
- `trigger-map.md` is the spine: observable fact → regimes → required change. Then load only what fired:
36
-
37
- - `lawsuit-vectors.md` **first** for any consumer-facing web product (highest hit rate).
38
- - `us.md`, `eu-uk.md` for thresholds and dates.
39
- - `sector-gates.md` whenever a domain signal fires.
40
- - `security-baseline.md` for the pre-deploy blockers.
41
- - `artifacts.md` for what each document or flow must contain.
42
-
43
- ## 3. Coverage ledger
44
-
45
- Narrative review finds what stands out and drops the boring items; an item never written down was never checked. For any deployed product, emit this coverage ledger **before** any findings:
46
-
47
- ```
48
- | # | Checklist item | fail / pass / n-a | Evidence |
49
- ```
50
-
51
- Mandatory rows — you may not shorten the list, merge rows, or drop an item because something more dramatic was found:
52
-
53
- - **Every numbered item** of PRE-DEPLOY BLOCKERS in `security-baseline.md`: one row per numbered item, in order, including sub-numbers such as 4a, 4b, 14b.
54
- - **Every universal row** of `trigger-map.md` section A.
55
- - **Accessibility**, on any public UI — one row each: image alternatives, form labels, keyboard operability of every clickable element, colour contrast computed from the literal values in the source, focus visibility, media controls and captions on any audio/video, page language. These are the most frequent real-world claim and the most often dropped under output pressure; emit them even when the report is long and the drama is elsewhere.
56
- - **Consumer contract duties** wherever consumers pay, and **platform duties** wherever users publish or upload — one row **per applicable jurisdiction**, not one total.
57
- - **Minors**, on any consumer-facing product: `fail` unless the code shows an actual age gate ("the terms say 18+" is not one). `n-a` needs a reason.
58
-
59
- Most often missed: blocker 1 (**committed secrets and `.gitignore` gaps** — compare the actual `.gitignore` to the files present) and blocker 2 (**row-level security left at the framework default** — check a policy exists on every client-reachable table). Other habitual casualties: webhook signature verification, rate limits on expensive endpoints, bucket permissions and client-supplied filenames, precise geolocation as its own sensitive class, fabricated or placeholder testimonials.
60
-
61
- **Every `fail` row becomes its own finding, and coverage survives the output format.** The ledger is a working artifact. If the requested format has no ledger, or asks for findings only, still run the sweep and report each failing item as a separate numbered finding. Never merge into one "accessibility issues" or "platform duties" finding, and never describe a defect you did not see in the source — report the elements actually present, not the examples listed here.
62
-
63
- ## 4. Second pass on the product model
64
-
65
- The code sweep finds defects that live in a line; it misses obligations from **what the product is** or from two facts combined. So always do a second pass on the product model, asking:
66
-
67
- 1. **Does value move?** Balances, credits, in-app currency, tips, wallets, payouts. Currency in + cash out = money transmission, a **licensing gate**, not a to-do.
68
- 2. **Is it a platform?** Users publish, upload, or message each other → notice-and-action, contact point, moderation terms, DMCA agent, illegal-content and child-safety processes. These show up as *absence*, never as a code defect.
69
- 3. **Does it generate or manipulate media?** Synthetic audio, video, images, or a persona need provenance marking and labelling — a **separate finding** from whether generating it was permitted. Consent to generate and disclosure of what was generated are different duties to different people; emit both.
70
- 3b. **Where do credentials and financial identifiers live?** IBANs, bank accounts, tax IDs, government IDs, payout details are often stored with no access control, encryption, or retention rule. Check them whenever a schema has payout, KYC, or identity fields.
71
- 4. **Are people tracked across contexts?** Opt-out signals must be honoured server-side and the opt-out must sever the recipient. Nothing looks broken; the handler simply does not exist.
72
- 5. **Which pairs make a third regime?** Video + ad pixel = video-privacy claim. Currency + withdrawal = money movement. Biometrics + minor = a different statute. Uploads + adult content = age assurance.
73
-
74
- ## 5. One duty, every jurisdiction
75
-
76
- **Name every jurisdiction's version of the same duty.** A review names the first instantiation it thinks of and stops. Once a duty fires, ask what the other regime calls it and emit a row for each:
77
-
78
- | Duty | US | EU/UK |
79
- |---|---|---|
80
- | Hosting user content | DMCA agent + repeat-infringer policy, CSAM reporting, NCII takedown | **DSA** notice-and-action, contact point, moderation terms, minors' protection; UK Online Safety duties |
81
- | Selling to consumers | ROSCA and state auto-renewal, junk-fee rules | **Pre-contract information, 14-day withdrawal and the digital-content waiver**, unfair terms, VAT/OSS |
82
- | Tracking | CIPA, state opt-out, GPC | ePrivacy prior consent, GDPR lawful basis |
83
- | Biometrics | BIPA written release + retention schedule | GDPR Art 9 basis, AI Act biometric duties |
84
- | Automated decisions | ADMT notice and opt-out, FCRA, ECOA | AI Act risk tier, GDPR Art 22 |
85
- | Accessibility | ADA Title III, WCAG in practice | EAA and EN 301 549 |
86
- | Synthetic media | State provenance and disclosure laws | AI Act Art 50 marking and labelling |
87
-
88
- An EU-established company gets the EU column as the headline: it is what its own regulator opens with, and what a US-shaped review omits.
89
-
90
- ## 6. Rank
91
-
92
- Rank by the probability the fingerprint is **detected in the wild**, not by statutory maximum. A missing form label produces more real letters than an exotic treaty issue.
93
-
94
- **Lead with the jurisdiction the product actually operates in.** Worldwide reach makes other regimes apply, not equally likely. An EU company selling to EU customers gets the EU regime as the headline and US exposure as a secondary section, and the reverse for a US product. Framing an EU-only product's central finding under a US statute buries the rule that will be enforced and sends the user to the wrong kind of lawyer. State the primary regime, then "also applies if you have users in X".
95
-
96
- **Check for an outright ban before writing up an obligation.** Some regimes prohibit rather than condition — the EU AI Act Art 5 list is the one small builders hit by accident. A banned feature is **ILLEGAL** and the fix is deletion. Never report it as a disclosure or consent duty: a transparency rule next to a prohibition reads as the applicable one and quietly authorises the forbidden thing.
97
-
98
- Apply the severity rule for licensed activities from SKILL.md: missing licence = ILLEGAL, never BLOCKER.
99
-
100
- ## 7. Implement
101
-
102
- Report first and fix what the user selects, unless they already asked for fixes (SKILL.md rule 5). Order: BLOCKER security → tracking/consent gating → required disclosures and flows → documents → backlog. Smallest change that holds; one enforced chokepoint over scattered checks (one `canSend()`, one `displayPrice()`, one consent state, one server-side authorization helper). Documents are templates with `[PLACEHOLDER]` fields, marked as needing review.
103
-
104
- ## 8. Prove it, then leave the check behind
105
-
106
- Static detection misses what matters most: tags injected by a tag manager, scripts added in a hosting dashboard, a framework script component whose loading strategy decides consent, a vendor SDK phoning home from a dependency. Where the app runs, observe: load a page and record third-party origins contacted before any consent click; sign in as one user and request another's object by id; submit the form and read what reaches the network. Label each finding RUNTIME / CODE / DEDUCED (SKILL.md). If the app could not run at all, say so once at the top, noting the review cannot see runtime-injected tags, dashboard scripts, or anything outside the repo.
107
-
108
- A register rots; a failing test does not. For every BLOCKER and HIGH fixed, leave a check wired into the project's existing test or CI setup, using tools already installed. A check that needs a new package or workflow (`axe-core`, a secret scanner, a licence scanner) is a recommendation unless the user agrees:
109
-
110
- | Fix | Guard |
111
- |---|---|
112
- | Consent gating | Test asserting **zero third-party requests before consent** on first paint — the highest-value check here |
113
- | Accessibility | `axe-core` over top routes, failing on `serious` and `critical` |
114
- | Secrets | Secret scanner on commits + test that the client bundle has no key pattern |
115
- | Authorization | Test that user A cannot read or write user B's object by id |
116
- | Marketing email | Test that every send path goes through the one gate and carries an unsubscribe header |
117
- | Licence contamination | Licence scan that **fails**, not warns, on copyleft and unknown |
118
-
119
- No test runner at all: say so, and recommend the one check with the best protection-to-setup ratio.
120
-
121
- ## 9. COMPLIANCE.md
122
-
123
- Write or extend the register at the repo root:
124
-
125
- ```markdown
126
- # Compliance Register
127
- Snapshot: <date> · Commit: <sha> · Reviewed by: GG Coder compliance-guard · NOT LEGAL ADVICE
128
-
129
- ## Assumed exposure profile
130
- <reach, jurisdictions, data classes, minors, money, domain, third parties — each Confirmed or Assumed>
131
-
132
- ## Findings
133
- | ID | Severity | Trigger | Evidence (RUNTIME / CODE / DEDUCED) | Obligation | Status | Guard |
134
-
135
- ## Implemented in this pass
136
- ## Open — needs a decision from you
137
- ## Needs a lawyer
138
- ## Not checked
139
- ## Re-verify before relying (date-sensitive)
140
- ```
141
-
142
- Keep IDs stable across runs; update statuses rather than rewriting history. On a later run, re-check existing findings first and mark anything not re-confirmed as stale — never carry it forward as still true.
143
-
144
- ## 10. Write it for someone who has never read a statute
145
-
146
- Each surfaced finding answers, in plain words:
147
-
148
- 1. **What in your app causes this** — file, line, or feature.
149
- 2. **What could actually happen** — the real consequence and base rate, not the statute.
150
- 3. **What it takes to fix** — "already fixed" / "20 minutes" / "a lawyer, a few hundred dollars".
151
- 4. **What happens if you ignore it** — honestly, including "probably nothing for a while".
152
-
153
- Plain-English name first, statute in parentheses only if it helps a search — "tracking people before they agree (CIPA)". No unexplained acronyms; translate legal terms on first use (a *processor* handles your users' data for you; a *lawful basis* is your reason for being allowed to hold it). Say "do this before launch", not "you may wish to consider".
154
-
155
- End with at most three next actions, smallest first. Separate *fixed while I was here* / *you decide* / *needs a lawyer*. State base rates; never moralise or catastrophise ("you could be fined €20 million" ends the reading).