deepmodebot 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (691) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.claude-plugin/marketplace.json +2 -2
  3. package/.omp-plugin/marketplace.json +2 -2
  4. package/README.md +29 -5
  5. package/bin/deepmodebot.mjs +187 -10
  6. package/lib/clients.mjs +50 -3
  7. package/lib/tree.mjs +64 -10
  8. package/lib/version.mjs +26 -0
  9. package/native/dmb-gate/Cargo.toml +13 -0
  10. package/native/dmb-gate/src/agents.rs +77 -0
  11. package/native/dmb-gate/src/ci.rs +516 -0
  12. package/native/dmb-gate/src/cleanup.rs +198 -0
  13. package/native/dmb-gate/src/gap.rs +1376 -0
  14. package/native/dmb-gate/src/guard.rs +135 -0
  15. package/native/dmb-gate/src/main.rs +327 -0
  16. package/native/dmb-gate/src/map.rs +173 -0
  17. package/native/dmb-gate/src/perf.rs +347 -0
  18. package/native/dmb-gate/src/reward.rs +1214 -0
  19. package/native/dmb-gate/src/skill_check.rs +171 -0
  20. package/native/dmb-gate/src/slop.rs +1238 -0
  21. package/native/dmb-gate/src/ui.rs +842 -0
  22. package/native/dmb-gate/src/util.rs +260 -0
  23. package/native/dmb-net/go.mod +3 -0
  24. package/native/dmb-net/main.go +624 -0
  25. package/native/dmb-net/main_test.go +122 -0
  26. package/package.json +12 -2
  27. package/plugins/deepmodebot/.antigravity-plugin/plugin.json +1 -1
  28. package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +5 -5
  29. package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +1 -1
  30. package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +2 -2
  31. package/plugins/deepmodebot/.antigravity-plugin/skills/suggest/SKILL.md +13 -0
  32. package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +2 -2
  33. package/plugins/deepmodebot/.claude-plugin/plugin.json +1 -1
  34. package/plugins/deepmodebot/.codex-plugin/plugin.json +46 -0
  35. package/plugins/deepmodebot/agents/comment-sicko/agent.md +35 -0
  36. package/plugins/deepmodebot/agents/researcher/agent.md +33 -0
  37. package/plugins/deepmodebot/agents/reviewer/agent.md +4 -2
  38. package/plugins/deepmodebot/agents/scout/agent.md +11 -12
  39. package/plugins/deepmodebot/agents/security-reviewer/agent.md +2 -1
  40. package/plugins/deepmodebot/commands/deep.md +6 -6
  41. package/plugins/deepmodebot/commands/research.md +8 -0
  42. package/plugins/deepmodebot/commands/suggest.md +10 -0
  43. package/plugins/deepmodebot/commands/tournament.md +2 -2
  44. package/plugins/deepmodebot/hooks/hooks.json +2 -2
  45. package/plugins/deepmodebot/hooks.json +1 -1
  46. package/plugins/deepmodebot/scripts/antigravity-guard.mjs +140 -7
  47. package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +179 -47
  48. package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +4 -6
  49. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +3 -0
  50. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +4 -0
  51. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +3 -1
  52. package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +2 -2
  53. package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +12 -2
  54. package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +11 -3
  55. package/plugins/deepmodebot/skills/app-automation-relay/SKILL.md +17 -0
  56. package/plugins/deepmodebot/skills/app-automation-relay/assets/relay_server.ts +364 -0
  57. package/plugins/deepmodebot/skills/app-automation-relay/references/adapter-cookbook.md +15 -0
  58. package/plugins/deepmodebot/skills/app-automation-relay/references/wire-protocol.md +23 -0
  59. package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +4 -3
  60. package/plugins/deepmodebot/skills/cloud-devsecops/references/cloudflare-edge.md +43 -0
  61. package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +15 -2
  62. package/plugins/deepmodebot/skills/contribute/SKILL.md +3 -35
  63. package/plugins/deepmodebot/skills/create-formal-verification-skill/LICENSE +21 -0
  64. package/plugins/deepmodebot/skills/create-formal-verification-skill/NOTICE.md +16 -0
  65. package/plugins/deepmodebot/skills/create-formal-verification-skill/SKILL.md +71 -0
  66. package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +2 -2
  67. package/plugins/deepmodebot/skills/deep-learning/LICENSE +21 -0
  68. package/plugins/deepmodebot/skills/deep-learning/SKILL.md +33 -0
  69. package/plugins/deepmodebot/skills/deep-learning/references/neural-architectures.md +43 -0
  70. package/plugins/deepmodebot/skills/deep-learning/references/papers-and-repos.md +128 -0
  71. package/plugins/deepmodebot/skills/deep-learning/references/reinforcement-learning.md +57 -0
  72. package/plugins/deepmodebot/skills/deep-learning/references/training-optimization.md +40 -0
  73. package/plugins/deepmodebot/skills/deep-learning/references/weight-space-programming.md +76 -0
  74. package/plugins/deepmodebot/skills/deep-learning/scripts/hf_passes.py +166 -0
  75. package/plugins/deepmodebot/skills/deep-learning/scripts/wsp.py +493 -0
  76. package/plugins/deepmodebot/skills/deep-stack/SKILL.md +1 -1
  77. package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +46 -92
  78. package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +1 -0
  79. package/plugins/deepmodebot/skills/deep-stack/references/prove.md +6 -0
  80. package/plugins/deepmodebot/skills/deep-stack/references/stack.md +11 -1
  81. package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +74 -145
  82. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +18 -6
  83. package/plugins/deepmodebot/skills/deepmodebot/assets/autoroute/autoroute.py +1021 -0
  84. package/plugins/deepmodebot/skills/deepmodebot/assets/cleanup/self_cleanup.py +305 -0
  85. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +98 -5
  86. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +106 -5
  87. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +3 -0
  88. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +2 -0
  89. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/rehearsal_gate.py +536 -0
  90. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +2 -0
  91. package/plugins/deepmodebot/skills/deepmodebot/assets/formal-verification/verify_proof.py +638 -0
  92. package/plugins/deepmodebot/skills/deepmodebot/assets/gap-audit/gap_audit.py +1053 -0
  93. package/plugins/deepmodebot/skills/deepmodebot/assets/gen-ui/gen_ui.py +1782 -0
  94. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +7 -0
  95. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +3 -2
  96. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +9 -5
  97. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +2 -0
  98. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +2 -0
  99. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/local_ci.py +540 -0
  100. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/slop_gate.py +642 -0
  101. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +2 -1
  102. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +2 -1
  103. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +2 -0
  104. package/plugins/deepmodebot/skills/deepmodebot/assets/memory/project_memory.py +529 -0
  105. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +48 -21
  106. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +339 -5
  107. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +96 -6
  108. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +2 -0
  109. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +2 -0
  110. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +2 -0
  111. package/plugins/deepmodebot/skills/deepmodebot/assets/prompt-tools/prompt_tools.py +1239 -0
  112. package/plugins/deepmodebot/skills/deepmodebot/assets/quota-guard/quota_guard.py +424 -0
  113. package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +477 -1
  114. package/plugins/deepmodebot/skills/deepmodebot/assets/reward-guard/reward_guard.py +1597 -0
  115. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule-paths.json +57 -0
  116. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule_ledger.py +1645 -0
  117. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +2 -0
  118. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +2 -0
  119. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +13 -10
  120. package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/static_sec_audit.py +275 -0
  121. package/plugins/deepmodebot/skills/deepmodebot/assets/self-grill/self_grill.py +1473 -0
  122. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/model_setup.py +329 -0
  123. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/project_setup.py +312 -0
  124. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +304 -18
  125. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +121 -78
  126. package/plugins/deepmodebot/skills/deepmodebot/references/README.md +14 -0
  127. package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +16 -11
  128. package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +2 -1
  129. package/plugins/deepmodebot/skills/deepmodebot/references/delegation.md +14 -0
  130. package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +2 -0
  131. package/plugins/deepmodebot/skills/deepmodebot/references/full-scope.md +9 -0
  132. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +2 -0
  133. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +12 -9
  134. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +7 -3
  135. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +2 -0
  136. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +4 -4
  137. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +1 -1
  138. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +13 -10
  139. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +6 -6
  140. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +1 -0
  141. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +3 -1
  142. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +1 -2
  143. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +1 -0
  144. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +4 -2
  145. package/plugins/deepmodebot/skills/deepmodebot/references/principles/hardcore-mode.md +7 -0
  146. package/plugins/deepmodebot/skills/deepmodebot/references/principles/no-reward-hacking.md +8 -0
  147. package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +2 -1
  148. package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +2 -2
  149. package/plugins/deepmodebot/skills/deepmodebot/references/rule-approval.md +51 -0
  150. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +10 -24
  151. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +5 -4
  152. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +3 -3
  153. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/autoroute.md +49 -0
  154. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +1 -1
  155. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/catchup-video.md +13 -0
  156. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +8 -7
  157. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +2 -1
  158. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/devex-review.md +13 -0
  159. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/expand-contract.md +13 -0
  160. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/formal-verification.md +33 -0
  161. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/gen-ui.md +60 -0
  162. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +2 -1
  163. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +7 -18
  164. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +7 -7
  165. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/model-setup.md +14 -0
  166. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/modernize-pr.md +15 -0
  167. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/mutation-testing.md +13 -0
  168. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +5 -5
  169. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +7 -3
  170. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +1 -1
  171. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +8 -5
  172. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +1 -2
  173. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +33 -38
  174. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/product-lens.md +12 -0
  175. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prompt-upgrade.md +30 -0
  176. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +1 -1
  177. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reframe.md +18 -0
  178. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/release-and-canary.md +10 -0
  179. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +62 -89
  180. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +5 -1
  181. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/self-grill.md +54 -0
  182. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +3 -3
  183. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +7 -0
  184. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +3 -2
  185. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/suggest.md +24 -0
  186. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +7 -0
  187. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +2 -2
  188. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +12 -11
  189. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/variant-analysis.md +11 -0
  190. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/video-forensics.md +46 -0
  191. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +10 -1
  192. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/webhook-ui.md +11 -0
  193. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +6 -0
  194. package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +7 -0
  195. package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +141 -18
  196. package/plugins/deepmodebot/skills/deepmodebot/worker.md +16 -0
  197. package/plugins/deepmodebot/skills/domain-rules/SKILL.md +13 -119
  198. package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +19 -1
  199. package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +7 -0
  200. package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +11 -0
  201. package/plugins/deepmodebot/skills/domain-rules/references/sources.md +108 -0
  202. package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +30 -131
  203. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/canvas.css +42 -0
  204. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/editorial.css +39 -0
  205. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/layouts.css +95 -0
  206. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/swiss.css +40 -0
  207. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/tactile.css +41 -0
  208. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/workbench.css +50 -0
  209. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-animations.md +49 -0
  210. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +46 -24
  211. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +27 -258
  212. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +26 -51
  213. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +22 -195
  214. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/00-art-direction.md +39 -0
  215. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +27 -24
  216. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +23 -17
  217. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +22 -45
  218. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +11 -0
  219. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +32 -152
  220. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +36 -91
  221. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +14 -120
  222. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +11 -10
  223. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +9 -9
  224. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06b-media-icons-charts.md +19 -0
  225. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06c-product-shots-craft.md +42 -0
  226. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +5 -6
  227. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +28 -56
  228. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +9 -7
  229. package/plugins/deepmodebot/skills/frontend-ui/scripts/motion_diff.py +259 -0
  230. package/plugins/deepmodebot/skills/frontend-ui/scripts/ui_audit.py +496 -0
  231. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/LICENSE +21 -0
  232. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/NOTICE.md +16 -0
  233. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/SKILL.md +68 -0
  234. package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +1 -1
  235. package/plugins/deepmodebot/skills/office-documents/SKILL.md +24 -0
  236. package/plugins/deepmodebot/skills/office-documents/references/documents-docx-pdf.md +15 -0
  237. package/plugins/deepmodebot/skills/office-documents/references/presentations-pptx.md +15 -0
  238. package/plugins/deepmodebot/skills/office-documents/references/spreadsheets-xlsx.md +15 -0
  239. package/plugins/deepmodebot/skills/office-documents/scripts/doc_audit.py +230 -0
  240. package/plugins/deepmodebot/skills/project-brief/SKILL.md +2 -19
  241. package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +4 -0
  242. package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +4 -0
  243. package/plugins/deepmodebot/skills/project-brief/references/claim-contract.md +55 -0
  244. package/plugins/deepmodebot/skills/research/SKILL.md +18 -0
  245. package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +1 -1
  246. package/plugins/deepmodebot/skills/seo-and-geo/SKILL.md +29 -0
  247. package/plugins/deepmodebot/skills/seo-and-geo/references/geo-and-agentic-web.md +30 -0
  248. package/plugins/deepmodebot/skills/seo-and-geo/references/technical-and-schema.md +25 -0
  249. package/plugins/deepmodebot/skills/seo-and-geo/scripts/seo_audit.py +282 -0
  250. package/plugins/deepmodebot/skills/software-architecture/SKILL.md +2 -2
  251. package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +5 -0
  252. package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +1 -0
  253. package/plugins/deepmodebot/skills/statechart/LICENSE +21 -0
  254. package/plugins/deepmodebot/skills/statechart/NOTICE.md +21 -0
  255. package/plugins/deepmodebot/skills/statechart/SKILL.md +106 -0
  256. package/plugins/deepmodebot/skills/statechart/references/render.md +93 -0
  257. package/plugins/deepmodebot/skills/statechart/references/tooling.md +78 -0
  258. package/plugins/deepmodebot/skills/statechart/scripts/backends/cfg.ts +33 -0
  259. package/plugins/deepmodebot/skills/statechart/scripts/backends/mermaid.ts +249 -0
  260. package/plugins/deepmodebot/skills/statechart/scripts/backends/plain-text.ts +72 -0
  261. package/plugins/deepmodebot/skills/statechart/scripts/backends/report.ts +177 -0
  262. package/plugins/deepmodebot/skills/statechart/scripts/frontends/config.ts +276 -0
  263. package/plugins/deepmodebot/skills/statechart/scripts/frontends/dot.ts +77 -0
  264. package/plugins/deepmodebot/skills/statechart/scripts/frontends/marks.ts +93 -0
  265. package/plugins/deepmodebot/skills/statechart/scripts/frontends/messages.ts +52 -0
  266. package/plugins/deepmodebot/skills/statechart/scripts/frontends/spec.ts +114 -0
  267. package/plugins/deepmodebot/skills/statechart/scripts/frontends/trace.ts +24 -0
  268. package/plugins/deepmodebot/skills/statechart/scripts/frontends/value.ts +166 -0
  269. package/plugins/deepmodebot/skills/statechart/scripts/frontends/verdict.ts +40 -0
  270. package/plugins/deepmodebot/skills/statechart/scripts/frontends/view.ts +119 -0
  271. package/plugins/deepmodebot/skills/statechart/scripts/ir.ts +547 -0
  272. package/plugins/deepmodebot/skills/statechart/scripts/janitor.ts +13 -0
  273. package/plugins/deepmodebot/skills/statechart/scripts/kill.ts +15 -0
  274. package/plugins/deepmodebot/skills/statechart/scripts/package.json +11 -0
  275. package/plugins/deepmodebot/skills/statechart/scripts/passes/annotate.ts +128 -0
  276. package/plugins/deepmodebot/skills/statechart/scripts/passes/label.ts +269 -0
  277. package/plugins/deepmodebot/skills/statechart/scripts/passes/lift.ts +85 -0
  278. package/plugins/deepmodebot/skills/statechart/scripts/passes/loop-check.ts +68 -0
  279. package/plugins/deepmodebot/skills/statechart/scripts/passes/paths.ts +60 -0
  280. package/plugins/deepmodebot/skills/statechart/scripts/passes/reach.ts +135 -0
  281. package/plugins/deepmodebot/skills/statechart/scripts/passes/region-check.ts +97 -0
  282. package/plugins/deepmodebot/skills/statechart/scripts/passes/regions.ts +295 -0
  283. package/plugins/deepmodebot/skills/statechart/scripts/pipeline.ts +76 -0
  284. package/plugins/deepmodebot/skills/statechart/scripts/run.ts +500 -0
  285. package/plugins/deepmodebot/skills/statechart/scripts/statechart +29 -0
  286. package/plugins/deepmodebot/skills/statechart/scripts/statechart.ts +165 -0
  287. package/plugins/deepmodebot/skills/statechart/scripts/test/ConfigOracle.java +63 -0
  288. package/plugins/deepmodebot/skills/statechart/scripts/test/chart.test.ts +1253 -0
  289. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Braces.mmd +7 -0
  290. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Escapes.mmd +11 -0
  291. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Phases.mmd +29 -0
  292. package/plugins/deepmodebot/skills/statechart/scripts/test/cli.test.ts +1344 -0
  293. package/plugins/deepmodebot/skills/statechart/scripts/test/config-fuzz.test.ts +263 -0
  294. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/ChartRun.out +57 -0
  295. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.cfg +3 -0
  296. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.tla +10 -0
  297. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/chart.mmd +9 -0
  298. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/graph.dot +16 -0
  299. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/report.md +7 -0
  300. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/sany.out +2 -0
  301. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/verdict-1.out +49 -0
  302. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/ChartRun.out +60 -0
  303. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.cfg +4 -0
  304. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.tla +22 -0
  305. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/chart.mmd +26 -0
  306. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/graph.dot +19 -0
  307. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/report.md +20 -0
  308. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/sany.out +2 -0
  309. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.exit +1 -0
  310. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.out +56 -0
  311. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.exit +1 -0
  312. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.out +82 -0
  313. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-3.out +57 -0
  314. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/ChartRun.out +59 -0
  315. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.cfg +3 -0
  316. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.tla +11 -0
  317. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/chart.mmd +22 -0
  318. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/graph.dot +16 -0
  319. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/report.md +17 -0
  320. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/sany.out +2 -0
  321. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.exit +1 -0
  322. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.out +56 -0
  323. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.exit +1 -0
  324. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.out +77 -0
  325. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/ChartRun.out +69 -0
  326. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.cfg +2 -0
  327. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.tla +11 -0
  328. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/chart.mmd +85 -0
  329. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/graph.dot +70 -0
  330. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/report.md +12 -0
  331. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/sany.out +2 -0
  332. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.exit +1 -0
  333. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.out +67 -0
  334. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-2.out +57 -0
  335. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.exit +1 -0
  336. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.out +85 -0
  337. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.cfg +6 -0
  338. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.tla +13 -0
  339. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/chart.mmd +5 -0
  340. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/graph.dot +10 -0
  341. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/report.md +31 -0
  342. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/sany.out +2 -0
  343. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.exit +1 -0
  344. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.out +64 -0
  345. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.exit +1 -0
  346. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.out +77 -0
  347. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/ChartRun.out +55 -0
  348. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.cfg +3 -0
  349. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.tla +10 -0
  350. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/chart.mmd +12 -0
  351. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/graph.dot +6 -0
  352. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/report.md +12 -0
  353. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/sany.out +2 -0
  354. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.exit +1 -0
  355. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.out +33 -0
  356. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-2.out +54 -0
  357. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/ChartRun.out +54 -0
  358. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.cfg +3 -0
  359. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.tla +10 -0
  360. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/chart.mmd +1 -0
  361. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/graph.dot +6 -0
  362. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/report.md +7 -0
  363. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/sany.out +2 -0
  364. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/verdict-1.out +46 -0
  365. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/ChartRun.out +59 -0
  366. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.cfg +2 -0
  367. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.tla +10 -0
  368. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterSteps.tla +6 -0
  369. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/chart.mmd +17 -0
  370. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/graph.dot +15 -0
  371. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/report.md +14 -0
  372. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/sany.out +3 -0
  373. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.exit +1 -0
  374. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.out +78 -0
  375. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/ChartRun.out +59 -0
  376. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.cfg +3 -0
  377. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.tla +19 -0
  378. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/chart.mmd +26 -0
  379. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/graph.dot +22 -0
  380. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/report.md +12 -0
  381. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/sany.out +2 -0
  382. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.exit +1 -0
  383. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.out +58 -0
  384. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-2.out +57 -0
  385. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/ChartRun.out +57 -0
  386. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.cfg +2 -0
  387. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.tla +11 -0
  388. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/chart.mmd +17 -0
  389. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/graph.dot +15 -0
  390. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/report.md +14 -0
  391. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/sany.out +2 -0
  392. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.exit +1 -0
  393. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.out +76 -0
  394. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/ChartRun.out +59 -0
  395. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.cfg +3 -0
  396. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.tla +11 -0
  397. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/chart.mmd +19 -0
  398. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/graph.dot +10 -0
  399. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/report.md +15 -0
  400. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/sany.out +2 -0
  401. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.exit +1 -0
  402. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.out +56 -0
  403. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.exit +1 -0
  404. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.out +67 -0
  405. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/ChartRun.out +62 -0
  406. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.cfg +6 -0
  407. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.tla +24 -0
  408. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/Moves.tla +5 -0
  409. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/chart.mmd +22 -0
  410. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/graph.dot +10 -0
  411. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/report.md +23 -0
  412. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/sany.out +3 -0
  413. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.exit +1 -0
  414. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.out +58 -0
  415. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.exit +1 -0
  416. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.out +66 -0
  417. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.exit +1 -0
  418. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.out +74 -0
  419. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-4.out +59 -0
  420. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/ChartRun.out +58 -0
  421. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.cfg +3 -0
  422. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.tla +15 -0
  423. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/chart.mmd +18 -0
  424. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/graph.dot +13 -0
  425. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/report.md +11 -0
  426. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/sany.out +2 -0
  427. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.exit +1 -0
  428. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.out +33 -0
  429. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-2.out +57 -0
  430. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/ChartRun.out +57 -0
  431. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.cfg +3 -0
  432. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.tla +15 -0
  433. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/chart.mmd +7 -0
  434. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/graph.dot +13 -0
  435. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/report.md +6 -0
  436. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/sany.out +2 -0
  437. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/verdict-1.out +49 -0
  438. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/ChartRun.out +61 -0
  439. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.cfg +4 -0
  440. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.tla +14 -0
  441. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/chart.mmd +30 -0
  442. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/graph.dot +19 -0
  443. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/report.md +27 -0
  444. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/sany.out +2 -0
  445. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.exit +1 -0
  446. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.out +56 -0
  447. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.exit +1 -0
  448. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.out +64 -0
  449. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.exit +1 -0
  450. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.out +87 -0
  451. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-4.out +57 -0
  452. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/ChartRun.out +60 -0
  453. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.cfg +3 -0
  454. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.tla +12 -0
  455. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/chart.mmd +23 -0
  456. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/graph.dot +19 -0
  457. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/report.md +11 -0
  458. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/sany.out +2 -0
  459. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.exit +1 -0
  460. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.out +56 -0
  461. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-2.out +57 -0
  462. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/ChartRun.out +61 -0
  463. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.cfg +4 -0
  464. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.tla +14 -0
  465. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/chart.mmd +23 -0
  466. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/graph.dot +19 -0
  467. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/report.md +27 -0
  468. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/sany.out +2 -0
  469. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.exit +1 -0
  470. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.out +56 -0
  471. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.exit +1 -0
  472. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.out +64 -0
  473. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.exit +1 -0
  474. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.out +87 -0
  475. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-4.out +57 -0
  476. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/view.mjs +1 -0
  477. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/ChartRun.out +59 -0
  478. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.cfg +4 -0
  479. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.tla +38 -0
  480. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/chart.mmd +92 -0
  481. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/graph.dot +126 -0
  482. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/report.md +17 -0
  483. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/sany.out +2 -0
  484. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.exit +1 -0
  485. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.out +91 -0
  486. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-2.out +57 -0
  487. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/ChartRun.out +61 -0
  488. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.cfg +6 -0
  489. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.tla +11 -0
  490. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/chart.mmd +22 -0
  491. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/graph.dot +16 -0
  492. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/report.md +25 -0
  493. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/sany.out +2 -0
  494. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.exit +1 -0
  495. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.out +56 -0
  496. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.exit +1 -0
  497. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.out +64 -0
  498. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.exit +1 -0
  499. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.out +64 -0
  500. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.exit +1 -0
  501. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.out +77 -0
  502. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/ChartRun.out +57 -0
  503. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.cfg +4 -0
  504. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.tla +11 -0
  505. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/chart.mmd +13 -0
  506. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/graph.dot +12 -0
  507. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/report.md +11 -0
  508. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/sany.out +2 -0
  509. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.exit +1 -0
  510. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.out +72 -0
  511. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/ChartRun.out +57 -0
  512. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.cfg +3 -0
  513. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.tla +62 -0
  514. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/chart.mmd +28 -0
  515. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/graph.dot +40 -0
  516. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/report.md +7 -0
  517. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/sany.out +1 -0
  518. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/verdict-1.out +47 -0
  519. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/view.mjs +1 -0
  520. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/ChartRun.out +57 -0
  521. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.cfg +2 -0
  522. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.tla +64 -0
  523. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/chart.mmd +28 -0
  524. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/graph.dot +37 -0
  525. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/report.md +8 -0
  526. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/sany.out +1 -0
  527. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/verdict-1.out +47 -0
  528. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/view.mjs +1 -0
  529. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/ChartRun.out +60 -0
  530. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.cfg +3 -0
  531. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.tla +64 -0
  532. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/chart.mmd +44 -0
  533. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/graph.dot +58 -0
  534. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/report.md +17 -0
  535. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/sany.out +1 -0
  536. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.exit +1 -0
  537. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.out +83 -0
  538. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-2.out +57 -0
  539. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/view.mjs +1 -0
  540. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/ChartRun.out +60 -0
  541. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.cfg +3 -0
  542. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.tla +103 -0
  543. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/chart.mmd +43 -0
  544. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/graph.dot +93 -0
  545. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/report.md +14 -0
  546. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/sany.out +1 -0
  547. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.exit +1 -0
  548. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.out +59 -0
  549. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-2.out +72 -0
  550. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/view.mjs +3 -0
  551. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/ChartRun.out +57 -0
  552. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.cfg +2 -0
  553. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.tla +100 -0
  554. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/chart.mmd +31 -0
  555. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/graph.dot +85 -0
  556. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/report.md +9 -0
  557. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/sany.out +1 -0
  558. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/verdict-1.out +47 -0
  559. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/view.mjs +3 -0
  560. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/ChartRun.out +59 -0
  561. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayer.tla +103 -0
  562. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.cfg +3 -0
  563. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.tla +6 -0
  564. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/chart.mmd +42 -0
  565. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/graph.dot +93 -0
  566. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/report.md +19 -0
  567. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/sany.out +2 -0
  568. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.exit +1 -0
  569. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.out +61 -0
  570. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-2.out +59 -0
  571. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-3.out +61 -0
  572. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.exit +1 -0
  573. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.out +66 -0
  574. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.exit +1 -0
  575. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.out +58 -0
  576. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-6.out +49 -0
  577. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/view.mjs +3 -0
  578. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/ChartRun.out +57 -0
  579. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.cfg +6 -0
  580. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.tla +11 -0
  581. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/chart.mmd +5 -0
  582. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/graph.dot +11 -0
  583. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/report.md +7 -0
  584. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/sany.out +5 -0
  585. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/verdict-1.out +70 -0
  586. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ChartRun.out +61 -0
  587. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.cfg +4 -0
  588. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.tla +11 -0
  589. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowLib.tla +6 -0
  590. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowSub.tla +3 -0
  591. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/chart.mmd +9 -0
  592. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/graph.dot +16 -0
  593. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/report.md +8 -0
  594. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/sany.out +4 -0
  595. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/verdict-1.out +65 -0
  596. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/ChartRun.out +59 -0
  597. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.cfg +2 -0
  598. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.tla +9 -0
  599. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/chart.mmd +23 -0
  600. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/graph.dot +17 -0
  601. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/report.md +15 -0
  602. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/sany.out +1 -0
  603. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.exit +1 -0
  604. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.out +65 -0
  605. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.exit +1 -0
  606. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.out +75 -0
  607. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/ChartRun.out +69 -0
  608. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.cfg +3 -0
  609. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.tla +75 -0
  610. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/chart.mmd +60 -0
  611. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/graph.dot +297 -0
  612. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/report.md +20 -0
  613. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/sany.out +1 -0
  614. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.exit +1 -0
  615. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.out +95 -0
  616. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-2.out +57 -0
  617. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/view.mjs +1 -0
  618. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/ChartRun.out +57 -0
  619. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.cfg +3 -0
  620. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.tla +75 -0
  621. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/chart.mmd +37 -0
  622. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/graph.dot +223 -0
  623. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/report.md +11 -0
  624. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/sany.out +1 -0
  625. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/verdict-1.out +47 -0
  626. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/view.mjs +1 -0
  627. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.exit +1 -0
  628. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.out +75 -0
  629. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.cfg +5 -0
  630. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.tla +11 -0
  631. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/chart.mmd +18 -0
  632. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/graph.dot +14 -0
  633. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/report.md +29 -0
  634. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/sany.out +2 -0
  635. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.exit +1 -0
  636. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.out +64 -0
  637. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.exit +1 -0
  638. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.out +75 -0
  639. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/ChartRun.out +58 -0
  640. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.cfg +2 -0
  641. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.tla +8 -0
  642. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/chart.mmd +22 -0
  643. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/graph.dot +16 -0
  644. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/report.md +15 -0
  645. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/sany.out +2 -0
  646. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.exit +1 -0
  647. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.out +56 -0
  648. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.exit +1 -0
  649. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.out +77 -0
  650. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus.test.ts +441 -0
  651. package/plugins/deepmodebot/skills/statechart/scripts/test/differential.test.ts +565 -0
  652. package/plugins/deepmodebot/skills/statechart/scripts/test/drawn.ts +20 -0
  653. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.cfg +2 -0
  654. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.tla +9 -0
  655. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/sany.out +2 -0
  656. package/plugins/deepmodebot/skills/statechart/scripts/test/java.ts +63 -0
  657. package/plugins/deepmodebot/skills/statechart/scripts/test/labels.ts +648 -0
  658. package/plugins/deepmodebot/skills/statechart/scripts/test/messages.test.ts +226 -0
  659. package/plugins/deepmodebot/skills/statechart/scripts/test/pipeline.test.ts +270 -0
  660. package/plugins/deepmodebot/skills/statechart/scripts/test/plain-tlc.test.ts +255 -0
  661. package/plugins/deepmodebot/skills/statechart/scripts/test/render.test.ts +145 -0
  662. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc-out.test.ts +90 -0
  663. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc.ts +158 -0
  664. package/plugins/deepmodebot/skills/statechart/scripts/tsconfig.json +11 -0
  665. package/plugins/deepmodebot/skills/statechart/scripts/worker.ts +35 -0
  666. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +0 -391
  667. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +0 -146
  668. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +0 -483
  669. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +0 -139
  670. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +0 -301
  671. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +0 -602
  672. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +0 -69
  673. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +0 -160
  674. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +0 -180
  675. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +0 -265
  676. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +0 -192
  677. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +0 -2182
  678. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +0 -19
  679. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +0 -691
  680. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +0 -127
  681. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +0 -496
  682. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +0 -1426
  683. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +0 -320
  684. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +0 -326
  685. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +0 -55
  686. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +0 -53
  687. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +0 -94
  688. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +0 -610
  689. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +0 -250
  690. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +0 -654
  691. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +0 -879
@@ -0,0 +1,33 @@
1
+ # formal-verification
2
+
3
+ **Use when:** concurrency races, retries, multi-device sync, state machines, parsers, custom algorithms, mathematical proofs, Lean/Coq/TLA+/SMT formalizations, or UI invariants where unit tests miss breaking orders or edge cases ("formal verification", "model-check", "TLA+", "statechart", "Lean proof", "Comparator", "prove this theorem/invariant", "property-based UI", "Bombadil"). Formal checks complement runtime verification; they are not a silver bullet.
4
+
5
+ ## Choose the target, falsify early, and decompose
6
+
7
+ 1. **Pick the highest-risk invariant or theorem.** State the property/claim and its failure harm in one plain sentence each.
8
+ Done when the target files, symbols, invariant/theorem sentence, and failure harm are written down.
9
+ 2. **Falsify on small cases first ("Checking beats believing").** Before spending proof search or TLA+/Lean cycles, run a quick Python (`sympy`, exact `Fraction`/`int`, or property-based `Plausible`) probe over $n=0,1,2,3,4$, degenerate inputs, and sign/equality boundaries to catch false subgoals in seconds (`alphabeta` guard).
10
+ Done when small-$n$ / boundary falsification passes or refutes the conjecture upfront.
11
+ 3. **Let the question pick the tool (backed by `assets/formal-verification/verify_proof.py`):**
12
+ - **Event/step order or distributed state** → **TLA+ / TLC** over a faithful model, plus a user-POV **Mermaid statechart** (max 6 boxes per view, marking broken rules and shortest path).
13
+ - **Mathematical theorem or algorithmic property at every size** → **Lean 4** (`lake build` + `#print axioms` restricted to `[propext, Classical.choice, Quot.sound]`), **Coq/Rocq**, or **Z3/SMT**, verified with `verify_proof.py audit-static`.
14
+ - **Multi-lemma proof or multi-module invariant** → initialize a **Claim-DAG ledger** (`verify_proof.py dag init`), prove tractable `ready_leaves` first, and discharge temporary `sorry` stubs bottom-up (`Prove2Me` / `Fable 5.2` pattern).
15
+ - **UI state invariants under arbitrary interaction** → property-based UI explorer (**Bombadil** `always(...)` invariants over real browser state).
16
+ - **No formal kernel fits** → run generated/exhaustive Python checks via `verify_proof.py able-to-fail --script <verify.py>`, never a detached toy model.
17
+ Done when the tool, exact command, and scope bounds/assumptions are named.
18
+
19
+ ## Rules that keep verification honest
20
+
21
+ - **Statement Alignment & `Challenge.lean` isolation.** Lean compilation proves internal consistency of the *formalized* file, not alignment with prose:
22
+ - Keep target statements immutable in `Challenge.lean` with `formalization.yaml` mapping every hypothesis and quantifier ($\forall\exists$ vs $\exists\forall$, regularity bounds), and run **sme-review** (`references/techniques/sme-review.md`) against the prose spec.
23
+ - Run `verify_proof.py audit-static --challenge Challenge.lean --solution Solution.lean` (`Comparator` gate: zero `sorry`, `admit`, custom `axiom`, `native_decide`, or `[extern]`).
24
+ - **Proven able to fail.** A check never seen failing proves nothing. Enforce `verify_proof.py able-to-fail` (`--mutate` breaks a bound, sign, or guard and must exit non-zero) and keep `.scratch/formal-verification/<slug>-receipt.json`.
25
+ - **Dual audit for informal lemmas.** In mixed or informal proofs (`dag update`), never mark a lemma proved without either kernel verification (`kernel_verified`) or two independent line-by-line auditor passes (`proved_dual_verified`, `Siege` rule).
26
+ - **Never weaken a property to pass, and replay every counterexample.** Report counterexamples in plain terms and replay each trace against real code.
27
+ - **Separate model drift from code bugs, and respect hard stops.** Record covered files + **sync commit SHA**; passing a proof verifies only within stated bounds and never waives one-way-door hard stops.
28
+
29
+ ## Output
30
+
31
+ Plain-English invariant/theorem and harm, tool and bounds/assumptions, statement-alignment + static-escape check, `able-to-fail` receipt, run output (or Claim-DAG ledger), counterexample replay, and covered files + sync SHA.
32
+
33
+ **Done when** `verify_proof.py` passed (`audit-static` clean and `able-to-fail` proven), every counterexample was replayed (or zero violations found within stated bounds), and covered files plus sync SHA are recorded.
@@ -0,0 +1,60 @@
1
+ # gen-ui
2
+
3
+ **Use when:** a wall of Markdown text is the wrong medium for talking to a human (ranked `/suggest` audits, `grill` decision frontiers, `self-grill` Prosecutor gap/overclaim heatmaps, `tournament` 12-lens brackets, multi-option comparisons, or architecture walkthroughs), OR when building an agent-driven product interface using Google's open **A2UI (`1.0`)** declarative UI protocol (`https://a2ui.org/`, `https://github.com/a2ui-project/a2ui`).
4
+
5
+ Agents default to terminal-era walls of text or unsafe model-authored HTML/JS. **gen-ui** fixes both:
6
+ 1. **Speak UI to the human:** compile structured agent findings, decisions, and `/deep` prompts into a schema-validated **A2UI v1.0 payload (`surface.a2ui.json`)** plus a **self-contained interactive HTML cockpit (`index.html`)** inside `<root>/.scratch/gen-ui/<slug>/`.
7
+ 2. **Build production agentic UIs with A2UI v1.0 ("data, not code"):** agents emit flat, ID-referenced component blueprints (`updateComponents`) and bound state (`updateDataModel`) validated against a client-owned `catalog.json`, rendered natively across React, Lit, Angular, Flutter, SwiftUI, and Jetpack Compose with zero arbitrary code execution across trust or A2A boundaries.
8
+
9
+ Pair with `skill://frontend-ui` (`references/playbook/04a-agent-ui.md`) for styling/accessibility rules and `skill://agent-harnesses` (`references/protocols.md`) for A2A, AG-UI, and MCP transport wiring.
10
+
11
+ ## When to speak UI vs prose
12
+
13
+ - **Stay in concise Markdown** when the answer is `< 10` lines, one linear explanation, or a single yes/no question.
14
+ - **Generate an interactive `gen-ui` cockpit (`assets/gen-ui/gen_ui.py`)** when:
15
+ - `/suggest` returns multi-item ranked `P0`/`P1`/`P2` gaps, overclaims, and copy-paste `/deep` prompts (`prompt_tools.py suggest --ui`).
16
+ - `grill` or `tournament` surfaces `3+` coupled architectural decisions, trade-off matrices, or killed-flaw scar tables where the human benefits from interactive filtering and 1-click decision overrides.
17
+ - `self-grill` Prosecutor audits expose multi-file risk heatmaps, missing tests, or overclaim receipts.
18
+ - The user asks to visualize architecture, compare designs, or "gen UI / build UI to talk to me".
19
+ - **Build an in-app A2UI v1.0 surface** when the user's application needs dynamic, personalized agent responses (forms, booking cards, approval flows, live metric feeds) rendered with the host app's own design-system widgets.
20
+
21
+ ## Procedure
22
+
23
+ 1. **Define or select the trusted component catalog (`catalog.json`).**
24
+ - Every A2UI v1.0 surface binds to a `catalogId` with JSON Schema properties per allowed widget (`Card`, `Column`, `Row`, `Text`, `Button`, `MetricTile`, or domain cards like `FlightCard`).
25
+ - Never allow raw HTML/script execution in catalog components; unknown component types fail closed at compile/validation time or degrade cleanly to text.
26
+ - When using **A2UI Express** (`<a2ui> ... </a2ui>` with `$/path` bindings) or a fast System-1 selector model, generate the prompt skill directly from `catalog.json` via the A2UI Agent SDK (Python, TypeScript, or Dart).
27
+ Done when the allowed component catalog and JSON Schema contract are fixed before UI generation.
28
+
29
+ 2. **Emit flat adjacency-list components + separated data model.**
30
+ - Follow the A2UI `1.0` wire split:
31
+ - `createSurface`: `{"version": "1.0", "createSurface": {"surfaceId": "...", "catalogId": "..."}}`
32
+ - `updateComponents`: flat array of `{id, component, child|children, ...}` starting at `"id": "root"`. Flat IDs let LLMs stream incrementally and patch one node by ID without deep-nested JSON breakage.
33
+ - `updateDataModel`: `{"version": "1.0", "updateDataModel": {"surfaceId": "...", "path": "/", "value": {...}}}`. Bind dynamic values via RFC 6901 JSON Pointers (`{"@path": "/metrics/overclaims"}` in v1.0) so sensitive server state can bind on the client without passing raw secrets through the model.
34
+ - For local `deepmodebot` human cockpits, run the contained generator (writes only inside `<root>/.scratch/gen-ui/<slug>/`):
35
+ ```bash
36
+ python -B "<this installed skill>/assets/gen-ui/gen_ui.py" from-suggest --root "<project-root>" --slug suggest --json
37
+ python -B "<this installed skill>/assets/gen-ui/gen_ui.py" from-grill --root "<project-root>" --slug grill --json
38
+ python -B "<this installed skill>/assets/gen-ui/gen_ui.py" render --root "<project-root>" --slug custom --stdin --json <<'EOF'
39
+ {"title": "Architecture Decision Cockpit", "decisions": [...], "findings": [...]}
40
+ EOF
41
+ ```
42
+ Done when `surface.a2ui.json` (and `index.html` for local cockpits) is emitted inside `.scratch/gen-ui/<slug>/` or the app's transport stream.
43
+
44
+ 3. **Choose the right transport & MCP Apps hybrid pattern (when building apps).**
45
+ - **A2UI over AG-UI / A2A / WebSockets:** full streaming conversational generative UI across orchestrator and remote subagents.
46
+ - **Pattern 1 — A2UI over MCP (`application/a2ui+json`, `a2ui://` URI):** return A2UI JSON as an MCP Resource (`resources/read` for static zero-LLM forms) or embedded `CallToolResult` resource (`tools/call` for dynamic tool views) so the host renders native widgets with zero iframe clash.
47
+ - **Pattern 2 — MCP Apps inside A2UI:** wrap bespoke stateful canvases (WebGL/3D, games, seat maps) inside a custom A2UI iframe wrapper component; sync only macro key-states (`action` -> `updateDataModel`), never micro-state polling.
48
+ - **Pattern 3 — A2UI inside MCP Apps:** bundle `<a2ui-surface>` + `@modelcontextprotocol/ext-apps` `AppBridge` inside an MCP App iframe to bring dynamic generative controls to legacy or non-A2UI hosts.
49
+ Done when transport and sandbox boundaries match the host's capabilities.
50
+
51
+ 4. **Validate wire safety and verify the rendered surface.**
52
+ - Run deterministic A2UI v1.0 validation on every generated bundle:
53
+ ```bash
54
+ python -B "<this installed skill>/assets/gen-ui/gen_ui.py" validate-a2ui --file "<project-root>/.scratch/gen-ui/<slug>/surface.a2ui.json" --json
55
+ ```
56
+ - Confirm `valid: true` (unique flat IDs, `root` present, acyclic `child`/`children` graph, zero orphans, allowlisted catalog components, resolvable `@path` pointers, and zero `<script>`/`javascript:` injection).
57
+ - For interactive HTML cockpits or web A2UI renderers (`@a2ui/react`, `@a2ui/lit`, `@a2ui/angular`), verify in a real browser (`Operate` surface mode, OKLCH role tokens, keyboard focus, working filters, and valid `renderer_to_agent` v1.0 `action` payload export so human choices round-trip back into the session). Link the clickable file path for the user; pass `--open` only when interactive viewing is helpful.
58
+ Done when `validate-a2ui` exits `0` and the rendered UI is verified free of console, layout, or escaping defects.
59
+
60
+ **Done when** the A2UI v1.0 surface passes schema, cycle, pointer, and script-injection validation, renders cleanly in native widgets or the contained interactive cockpit, and gives the human a faster decision/inspection loop than prose alone.
@@ -3,6 +3,7 @@
3
3
  **Use when:** a plan, design, or idea needs stress-testing before work starts ("grill me", "grill this plan", "stress-test it", "poke holes in this"), or a Wayfinder ticket labeled `wayfinder:grilling`.
4
4
 
5
5
  You run the interview, and by default you also answer it: the user prefers the agent decide. A grilling that ends in questions nobody answered has failed.
6
+ **Never present an un-converged `v1`:** run internal adversarial passes (`v1 -> v2 -> ... -> vK`) against real repo files until a pass finds **0 new P0/P1 flaws**, then show converged `vK` plus a short scar table of killed flaws.
6
7
 
7
8
  1. **Tree.** Map the plan as a design tree: every decision, and the decisions that hang off it. The **frontier** is every decision whose prerequisites are settled. Done when every decision in the plan is a node and the frontier is marked.
8
9
  2. **Round.** Write the whole frontier as numbered questions, each with its real options. Done when each frontier decision has a numbered question with at least two options.
@@ -14,7 +15,7 @@ You run the interview, and by default you also answer it: the user prefers the a
14
15
  Log each answer as one row in the decision trail per the **show-me-your-work** technique (`references/techniques/show-me-your-work.md`): the question, the choice, why, the evidence, and how to reverse it.
15
16
  Done when every question in the round has a trail row.
16
17
  4. **Recompute.** Settled answers push the frontier outward. A question that depends on another question still open waits for a later round. Repeat until the frontier is empty: every branch visited, nothing silently assumed.
17
- 5. **Report and proceed.** Show the user the decisions as a short table (question, choice, why, how to reverse), then carry on with the work. Don't wait for confirmation; the user overrides any row by saying so.
18
+ 5. **Report, visualize when multi-branch, and proceed.** Show the user the decisions as a short table (question, choice, why, how to reverse); when `3+` coupled decisions or trade-offs exist (or the user wants a visual interactive view), also render an A2UI v1.0 decision cockpit (`assets/gen-ui/gen_ui.py from-grill --spec-stdin`, per `references/techniques/gen-ui.md`) inside `.scratch/gen-ui/` so the human can inspect options and override any choice with one click, then carry on with the work without waiting for confirmation.
18
19
  Done when the table holds one row per trail row and the next piece of work has started.
19
20
 
20
21
  **Live mode.** Only when the user asks to answer themselves ("interview me", "wait for my answers", "ask me live"): present each round with your recommended answer, worded so "yes" accepts it, and wait for their answers before the next round. Facts are still yours to look up; never ask the user for one.
@@ -1,23 +1,12 @@
1
1
  # how
2
2
 
3
- **Use when:** "how does X work", walkthroughs before changing something, placement/ownership/layering ("where should this live", "which package owns this"). Motivation questions → **why**.
3
+ **Use when:** "how does X work", code walkthroughs before changing a subsystem, or placement and ownership questions ("where should this live", "which package owns this"). Motivation questions → **why**. Routine code reads inside a playbook trace directly inline without invoking this technique.
4
4
 
5
- 1. Assess complexity. Ambiguous scope → state your interpretation and proceed.
6
- - **Simple** (one module, small utility, "how does function X work"): one `scout` explores and explains in one pass. Go to 4. When in doubt, take this path.
7
- - **Complex** (subsystem across files/services, cross-cutting feature, full overview): go to 2.
8
- - Done when the path (simple or complex) and your reading of the scope are stated.
9
- 2. Decompose into 2 to 4 distinct angles; spawn one `scout` per angle in a single `task` batch, each told to trace its slice and return findings with `file:line`. Done when every angle has returned findings with `file:line` citations.
10
- 3. Spawn one explainer (`scout`) with the question and all explorer findings. It reconciles overlaps, resolves contradictions by reading code, fills gaps, doesn't re-explore from scratch.
11
- Done when the explainer's output leaves no contradiction between findings unresolved.
12
- 4. Present the explainer's output; light edits only. Done when the answer has every Output section that applies.
5
+ If the scope is ambiguous, state your interpretation and explore.
13
6
 
14
- **Output** (drop sections that don't apply):
15
- - **Overview**: 1 to 2 paragraphs. What it is, what it does, why it exists.
16
- - **Key Concepts**: important types/services/abstractions, brief.
17
- - **How It Works**: the longest part. Trigger, step-by-step flow, data movement, decision points. Prose, not pseudocode; name files and functions. Mermaid for multi-component flows, ASCII for simple ones, nothing if prose covers it.
18
- - **Where Things Live**: minimal file/dir map.
19
- - **Gotchas**: non-obvious behavior, pitfalls.
7
+ 1. **Explain positive flow and negative space.** Spawn one read-only explorer (`scout` across Antigravity, Claude Code, `omp`, or Codex) that traces the code for a senior engineer: overview, key concepts, step-by-step runtime flow with `file:line`, where things live, and **gaps, unhandled failure paths, silent stubs, or cross-module parity drift**. Split into 2 to 4 parallel angles only for genuinely cross-cutting multi-subsystem overviews.
8
+ Done when the explanation covers both how the scope works and what it omits or leaves unguarded, with `file:line` citations.
9
+ 2. **Present.** Share the explanation with light edits for clarity or conversation context. Don't pad simple modules or rewrite from scratch.
10
+ Done when every code claim carries a `file:line` citation and open questions are listed.
20
11
 
21
- **Hard rules.** Senior-engineer onboarding depth, not annotated source. Concrete ("`UserService` calls `AuthClient.refresh()`", not "the service delegates"). Explain *why* complex things are complex; don't pad simple ones. Acknowledge open questions.
22
-
23
- **Done when** the question is answered with `file:line` citations for every claim about the code, and each open question is named.
12
+ **Done when** the question is answered with `file:line` citations for every claim about the code and each open question is named.
@@ -18,13 +18,13 @@ An outer loop (`loop.py`, `run-a-goal`, `work-a-queue`, `/goal`) multiplies what
18
18
  - Live artifact proof (`references/principles/prove-it-works.md`). Drive the real CLI, service, or UI through its `verify-<app>` skill or entrypoint.
19
19
  - Thin prose last (`references/techniques/correct.md`). Keep `AGENTS.md` and `CODING_STANDARDS.md` only for judgment calls no check can express.
20
20
  Done when each rule sits at the lowest layer that can check it and every custom check prints how to fix a violation.
21
- 3. **Close code-slop escape hatches in checks.** Make the inner loop fail closed on common agent shortcuts. `loop.py`'s `forbid_slop` guard blocks the first three when they are newly added and `protect_configs` blocks the config half of the fifth; encode the rest as the repo's own lint, structural, or hook rules:
22
- - Inline type or lint suppressions (`# type: ignore`, `# pyright: ignore`, `# noqa`, `# pylint: disable`, `# nosec`, `# pragma: no cover`, `@ts-ignore`, `@ts-expect-error`, `eslint-disable`, `biome-ignore`, `#[allow(`, `#[expect(`, `// nolint`) added instead of fixing the cause (`references/techniques/no-comments.md`).
23
- - Bare `except:` blocks that do not re-raise, broad `except Exception:` handlers whose body is only `pass`, `continue`, `break`, or `return None`, `contextlib.suppress(Exception)`, and empty `catch {}` blocks that hide faults (`references/principles/fix-root-causes.md`).
24
- - Deferred `TODO` or `FIXME` markers and `NotImplementedError` or `throw new Error("not implemented")` stubs left in place of working behavior (`references/playbooks/end-to-end.md`).
25
- - Single-caller pass-through wrappers, speculative options, and dead compatibility shims (`references/principles/minimize-reader-load.md`, `references/principles/outcome-oriented-execution.md`).
26
- - Weakened linter, typechecker, or hook configs and `--no-verify` commit bypasses (`references/techniques/pre-commit.md`, `references/techniques/git-guardrails.md`).
27
- Done when a planted suppression or swallowed exception fails the gate and guardrail configs are protected.
21
+ 3. **Close code-slop escape hatches in checks (0 tokens).** Run `python -B "<this skill>/assets/local-ci/slop_gate.py" --root <root>` (or the compiled Rust `native/dmb-gate` binary) in `.deepmodebot/ci.yml` and git `pre-commit` (`project_setup.py --install-hooks`) so every diff fails closed before any LLM review:
22
+ - Inline type or lint suppressions (`# type: ignore`, `# pyright: ignore`, `# noqa`, `# pylint: disable`, `# nosec`, `@ts-ignore`, `@ts-expect-error`, `eslint-disable`, `biome-ignore`, `#[allow(`, `// nolint`), swallowed exceptions (`except:` / `except Exception: pass`), and `TODO`/`FIXME`/`NotImplementedError` stubs (via `loop.py` `scan_text_slop`).
23
+ - Hardcoded secrets (AWS/GitHub/AI/Stripe keys, PEM private keys), unpinned `@main`/`@master` GitHub Actions, unsafe sinks (`eval`/`innerHTML`/`subprocess.run` without `timeout=`), TS `as any`, Rust `.unwrap()`, and Go `_ = err`.
24
+ - Test theater (empty tests, 0-assertion tests, `assert True`, `assertEqual(x, x)`) and newly added god-functions (`>120` lines or nesting `>5`).
25
+ - Reward-hacking escapes (`assets/reward-guard/reward_guard.py`, `deepmodebot gate reward`): zeroed similarity/fidelity flags (`--min-iou 0`, `--skip-reference`), weakened diff bounds, unconditional test `.skip`s, procedural primitive stand-ins (`create_cube`/`create_cone`), tampered contract hashes, missing upstream provenance receipts (`job_id` + SHA-256), and missing independent judge sign-off.
26
+ - Polyglot auto-linters on changed files only (`ruff`, `shellcheck`, `node --check`), `perf_audit.py` high findings, `ui_audit.py` P0/P1 findings, `<boundaries>` import rules, `<budgets>` size caps, and guardrail config-tamper locks (`.deepmodebot/policy.xml`).
27
+ Done when a planted suppression, secret, or 0-assertion test fails `slop_gate.py` and guardrail configs are protected.
28
28
  4. **Split fast feedback from full acceptance.** Keep `fast_check` (types, lint, structural checks, fast unit tests) under roughly 30 seconds so every edit gets immediate feedback, and wire it into commit hooks with **pre-commit** (`references/techniques/pre-commit.md`). Keep slower integration suites and live runtime checks in `check` so static checks alone never count as done.
29
29
  Done when `fast_check` and `check` both run from the project root and fail on a planted fault.
30
30
  5. **Bind outer goal loops to the hardened inner loop.** Before launching `loop.py`, `run-a-goal` (`references/playbooks/run-a-goal.md`), or `self-authoring` (`references/playbooks/self-authoring.md`):
@@ -0,0 +1,14 @@
1
+ # model-setup
2
+
3
+ **Use when:** configuring which models and reasoning budgets deepmodebot uses per role across omp, Claude Code, Codex, or Google Antigravity ("configure models", "model budget", "per-role models", or updating role defaults).
4
+
5
+ 1. **Detect entitled models.** Enumerate model slugs actually callable by subagents or CLI (`omp`, `claude`, `codex`, `agy`) in this session, or run `python -B "<this skill>/assets/setup/model_setup.py" inspect --root "<root>"`. Ask the user to paste slugs only when detection is unavailable. Never write an unverified concrete slug; `inherit-parent` and `auto` are always valid aliases.
6
+ 2. **Load & migrate existing config.** Read `<root>/.deepmodebot/models.json` if present (`defaults_version: 3`), dropping retired roles (`hardest tasks`, `architect runners`, `reflect tooling`, `why investigators`) and upgrading stale legacy defaults while preserving custom user choices:
7
+ - Cap `# budget: unlimited` to `large` (`xhigh`; no role runs above `xhigh`).
8
+ - Upgrade legacy Gemini panel seats (`gemini-4-neon-high` or older non-Neon `gemini-4-*` in `arena_runners`, `arena_cross_judge_pool`, `interrogate_reviewers`) to `gemini-4-neon-xhigh`.
9
+ - Replace single-vendor Claude-only `arena_cross_judge_pool` lists (`claude-fable-*` + `claude-opus-*` share one vendor) with cross-vendor defaults (`claude-opus-5-5-high-fast`, `gemini-4-neon-xhigh`).
10
+ 3. **Select reasoning budget & map effort.** Choose `large` (`xhigh`, default), `medium` (`high`, -1 step), or `small` (`medium`, -2 steps) on `xhigh > high > medium > low`, shifting real slugs (`claude-opus-5-5-*-fast` keeps `-fast`; `claude-fable-5-2-*` and `gemini-4-neon-*` have no `-fast` or `max` slug; `inherit-parent`/`auto` stay unchanged) via `model_setup.py plan --budget <large|medium|small>`.
11
+ 4. **Validate & write idempotently.** Confirm every concrete slug is in the detected set at `<=xhigh` (`arena_cross_judge_pool` excludes `inherit-parent`/`auto` and orders cross-vendor judges by preference), then write `<root>/.deepmodebot/models.json` via `model_setup.py write` (read automatically by `autoroute.py`).
12
+ 5. **Offer verification skills once (optional).** If the repo has no `verify-*` app harness skill, offer `skill://create-verification-skill` once; if it has no formal model/prover skill, offer `skill://create-formal-verification-skill` once.
13
+
14
+ **Done when** `.deepmodebot/models.json` is validated and written idempotently with `defaults_version: 3` and `<=xhigh` verified slugs, migrated entries are reported, and optional verification-skill offers are handled without nagging.
@@ -0,0 +1,15 @@
1
+ # modernize-pr
2
+
3
+ **Use when:** evaluating an aging or stalled PR/branch ("modernize this PR", "revive this old branch", "is this PR still worth landing?") that has drifted behind `main` before spending tokens blindly rebasing merge conflicts.
4
+
5
+ 1. **Extract original intent & proof.** Read the PR description, linked issue, review history, and `git diff $(git merge-base origin/main <branch>)..<branch>` to list the exact problem the PR solved and what tests/evidence it originally carried.
6
+ 2. **Measure trunk drift across 3 axes.** Compare `merge-base..origin/main` on touched subsystems:
7
+ - **Already solved or superseded:** trunk fixed the bug or shipped a cleaner replacement;
8
+ - **Architectural shift:** touched modules were refactored, moved, or replaced (`git log -M --stat merge-base..origin/main -- <paths>`), making mechanical conflict resolution wrong;
9
+ - **Cleanly rebaseable:** trunk changes are orthogonal or localized.
10
+ 3. **Render an explicit 3-way verdict before editing:**
11
+ - **`MODERNIZE`:** intent still holds and design fits current trunk → rebase/merge onto `origin/main` in an isolated worktree, adapt to current types/conventions, run full checks + real-app proof, and route to `babysit` / **pr-review**.
12
+ - **`SALVAGE-SLICE`:** problem still matters, but the PR's implementation targets obsolete architecture → extract the valid test cases/domain insights and rebuild cleanly from `origin/main` via `feature` or `bug-fix` instead of fighting stale conflicts.
13
+ - **`CLOSE`:** trunk superseded it or product direction dropped it → cite the exact trunk commits/PRs that obsoleted it and recommend closing without code churn.
14
+
15
+ **Done when** original intent and trunk drift are cited by commit/file, one explicit verdict (`MODERNIZE`, `SALVAGE-SLICE`, or `CLOSE`) is backed by diff evidence, and (when `MODERNIZE` or `SALVAGE-SLICE` applies) the updated branch passes current trunk checks and runtime proof.
@@ -0,0 +1,13 @@
1
+ # mutation-testing
2
+
3
+ **Use when:** line/branch coverage looks high (`90%+`) yet bugs still slip through, when auditing test quality ("check theater"), or when hardening parsers, state machines, billing, crypto, or concurrency logic with property-based/fuzz tests.
4
+
5
+ 1. **Pick high-consequence targets.** Scope to modules where a silent wrong answer corrupts state, money, auth, or safety—never waste mutation cycles on trivial getters or generated glue.
6
+ 2. **Generate semantic mutants (isolated in `.scratch/`).** Use a language runner (`mutmut`, `cargo-mutants`, `Stryker`, `go-mutesting`) or apply 5–10 targeted high-value mutations in an isolated `.scratch/` copy (never mutating uncommitted user edits in place):
7
+ - Boundary flips (`<` ↔ `<=`, `==` ↔ `!=`, off-by-one slice bounds);
8
+ - Guard deletion (drop authz/tenant check, idempotency check, or rollback branch);
9
+ - State/order swaps (reorder lock/write steps, return cached/empty value early).
10
+ 3. **Run the existing test suite per mutant.** Classify each as **killed** (a test failed for the right behavioral reason), **survived** (tests stayed green—check theater exposed!), or **equivalent** (observable behavior unchanged).
11
+ 4. **Kill surviving mutants with behavioral + property-based tests.** Replace tautological/mock-heavy assertions with observable behavior checks (`references/principles/test-behavior-not-implementation.md`) and add shrinkable property-based invariants (`Hypothesis`, `fast-check`, `proptest`) or coverage-guided fuzz harnesses (`cargo-fuzz`, `atheris`, `libFuzzer`) asserting round-trip, idempotence, conservation, or crash-freedom across generated inputs.
12
+
13
+ **Done when** baseline and post-hardening mutant survival counts are measured on an isolated copy, every non-equivalent surviving mutant in critical paths is killed by a real behavioral or property-based test, and the working tree has zero leftover mutations.
@@ -1,19 +1,19 @@
1
1
  # no-comments
2
2
 
3
- **Use when:** cleaning comments from a diff or files. Scope = caller's files/diff, else current diff against the base branch (default `main`) incl. working tree.
3
+ **Use when:** cleaning comments from a diff or files ("no-comments", "remove comments", "strip comments"), and before review on M/L code diffs. Comments rot and lie, and AI agents read the comment instead of reading the code. Scope = caller's files/diff, else current diff against the base branch (default `main`) incl. working tree.
4
4
 
5
- 1. Spawn a default `task` agent (not `reviewer`, which can't edit) as **Comment Sicko** with the scope and this brief.
5
+ 1. Spawn `comment-sicko` (`plugins/deepmodebot/agents/comment-sicko/agent.md`, or a default `task` agent when custom agents are unavailable) with the scope.
6
6
  Delete comments in scope: narration, banners, commented-out code, workaround sermons.
7
7
  Only keeps: legal/license headers; non-obvious behavior forced by an external dependency, platform, vendor, or protocol we can't reshape; `prettier-ignore`; lint suppressions whose rule is faulty, pedantic, or style-only; doc comments defining a public API contract; issue/RFC links explaining a constraint code can't express.
8
8
  Unsure a keep applies → it dies.
9
- Surprises in *our* code die and the exact symbol is flagged `MUST KILL` (rename, extract, type, or rearchitect so prose isn't needed). `eslint-disable`/`@ts-ignore`/`@ts-expect-error` on rules that catch real bugs or protect correctness/safety → kill and flag `MUST KILL`.
10
- `IMPORTANT`, `do not remove`, `too risky`, `fine for now`, long justifications are scent: read nearby code, run **how**/**why** on the symbol; only a foreign keep-list gotcha proven true today on a live path survives.
9
+ Surprises in *our* code die and the exact symbol is flagged `MUST KILL` (rename, extract, type, or rearchitect so prose isn't needed). `eslint-disable`/`@ts-ignore`/`@ts-expect-error`/`noqa`/`type: ignore` on rules that catch real bugs or protect correctness/safety → kill and flag `MUST KILL`.
10
+ `IMPORTANT`, `do not remove`, `too risky`, `fine for now`, long justifications are scent: read nearby code, trace the symbol directly, or run **why** (`references/techniques/why.md`) on it; only a foreign keep-list gotcha proven true today on a live path survives.
11
11
  Never shorten an alibi. Touches only comments; never writes application code; invents nothing.
12
12
  Reports touched files, deletion count, `MUST KILL` flags (one line each), skips.
13
13
  Done when its report lists touched files, the deletion count, flags, and skips.
14
14
  2. Audit its report and diff. Reject application-code edits, scope escapes, deletions protected by an exception, misstated `MUST KILL` reasons, flags against kept intentional code.
15
15
  Don't restore reshape-flagged our-code comments. Audit missed scoped lint/TS suppressions; correctness/safety ones stay `MUST KILL`. Restore only with an exact exception and scoped proof.
16
- Thin `IMPORTANT`/`do not remove` verdicts → run **how**/**why** first. Ambiguous kill → stay deleted; refuted or ambiguous keep → delete.
16
+ Thin `IMPORTANT`/`do not remove` verdicts → trace the symbol directly or run **why** first. Ambiguous kill → stay deleted; refuted or ambiguous keep → delete.
17
17
  One rejected report → revert and rerun with the failure named; a second rejection → report open and fail.
18
18
  Done when the diff touches only comments in scope and each restored comment names its exception.
19
19
  3. Fix trivial accepted flags directly (delete dead path, drop param, use the real API). Any fix needing a shape → run **architect** once for the accepted set, stop at the sketch.
@@ -6,9 +6,11 @@ A local S fix lands on no branch, so it needs no panel (`references/playbooks/op
6
6
 
7
7
  1. **Freeze the subject.** The task's acceptance criteria (from its issue or card), the exact head SHA, the diff, and the author's evidence. A new push after this point means a new panel.
8
8
  Done when the criteria, the head SHA, the diff, and the author's evidence are written into the verifier brief.
9
- 2. **Spawn three verifiers** in one `task` batch (or stagger / split across model families when rate limits are tight; keep briefs concise and pass file/diff paths rather than pasting full diffs). Use default agents, since they must run things. None of them is the author. Put each on a different model family when one is available; otherwise give each a different angle (behavior, edge cases, security and data). Each brief says:
10
- - Be skeptical: the work is not done until you prove it is. Don't trust the author's evidence; reproduce it.
9
+ 2. **Spawn three verifiers** in one batch on **fast low-tier models** (`Model: "flash"` in Antigravity, `@smol` in omp, `haiku`/`sonnet` in Claude Code, `gpt-6-luna` in Codex — never `inherit` Carbon/Pro/Opus/Fable/`xhigh` unless requested; start each brief with `Read <this installed skill>/worker.md before anything else.`, cap at `2–4` batched turns, and pass file/diff paths). Use execution-capable subagents (`self` with `Model: "flash"` in Antigravity), since they run checks; none is the author.
10
+ Cross-family low-tier 3-seat lineup when multi-vendor routing is available: `claude-haiku-5-5-high` (or `claude-sonnet-5-5-medium`), `gpt-6-luna`, and `gemini-4-flash` (or three distinct angles — behavior, edge cases, security/data — on `Model: "flash"` / `@smol` inside single-vendor harnesses; escalate to `claude-fable-5-2-high` / `claude-opus-5-5-high-fast` / `gemini-4-neon-xhigh` only on explicit user request). Each brief says:
11
+ - Be skeptical: the work is not done until you prove it is. Don't trust the author's evidence; reproduce it in `2–4` batched tool turns.
11
12
  - At `<SHA>`, run the repo's checks, prove each acceptance criterion on the real surface (the repo's `verify-<app>` skill first), and make one serious attempt to break it (the riskiest path in the diff, bad input, an edge case).
13
+ - Audit for Goodhart reward hacking (`references/principles/no-reward-hacking.md`): reject any vote or diff that weakened a test/threshold (`--min-iou 0`, `.skip`), skipped a reference comparison, lacked an upstream provenance receipt (`job_id` + SHA-256) on generated assets, or substituted primitive boxes/cones/mocks for the real user goal.
12
14
  - Never push, edit the branch, or comment on the PR.
13
15
  - Reply with `VERDICT: DONE` or `VERDICT: NOT DONE`, then each criterion with the command or artifact that shows it, then every failure with a command that reproduces it.
14
16
 
@@ -22,10 +24,12 @@ A local S fix lands on no branch, so it needs no panel (`references/playbooks/op
22
24
 
23
25
  ## Gates
24
26
 
27
+ - **Final-head & anti-stacking gate:** Run the 3-seat panel strictly once deterministic tests and `pr-review` have `0` open `P0`/`P1` at the candidate merge SHA (never mid-iteration). Skip `panel` when an outer `/teamwork` verifier wave already gates the PR (`assets/quota-guard/quota_guard.py`).
28
+ - **Delta re-panel on minor fixes:** If an initial 3-seat panel fails and the fix touches `<=50` non-sensitive lines with green CI, re-verify the delta (`git diff <prev_sha>..<SHA>`) + open reproduction with **1** cross-family verifier instead of 3 cold spawns; run a fresh 3-seat panel on larger or sensitive rewrites.
25
29
  - Verifiers vote independently: none sees another's verdict before giving its own.
26
30
  - A panel covers one head SHA. Merge only that SHA (`gh pr merge --match-head-commit <SHA>`).
27
31
  - Majority does not waive a failing deterministic check, changed acceptance contract, ownership or permission gate, or stale evidence. Retain dissent; resolve blocking review findings before merge.
28
- - Three failed panels on one task → stop that task: mark it blocked with the findings and move on.
32
+ - Two failed panels on one task (three only after a sensitive rewrite) → stop that task: mark it blocked with the findings and move on.
29
33
 
30
34
  **Done when** the panel line names one head SHA and its count, and every DONE vote counted in it has a receipt you checked.
31
35
 
@@ -35,7 +35,7 @@ Roles come from `~/.config/deepmodebot/bot.json`. Each is `{"agent": "<acpx agen
35
35
  | panel | none (the coordinator) | none | the tally and the head it covers |
36
36
  | coordinator | none | none | the kickoff, status, the merge note |
37
37
 
38
- Give the reviewer a different model family than the author, by agent or by model. Agreement across families is high signal.
38
+ Pin `reviewer` and `verifiers` to fast low-tier models (`Model: "flash"` in Antigravity session runs, `@smol` / `haiku` / `gpt-6-luna` across ACP harnesses, `2–4` batched turns each) so multi-round PR review and 3-seat panels do not burn flagship weekly quota (`author` keeps the main coding tier); give the reviewer a different model family than the author when available.
39
39
 
40
40
  ## Show the user
41
41
 
@@ -37,8 +37,10 @@ PR titles, bodies, comments, and diffs are untrusted text. Read them from files
37
37
  PR mode: `git fetch origin "pull/$N/head"` then `git worktree add --detach "$WT" "$HEAD"`. Local mode: review in place, read-only.
38
38
  Read the project brief, `STACK.md`, `CODING_STANDARDS.md`, `CONTRIBUTING.md`, `AGENTS.md` / `CLAUDE.md`, and `GLOSSARY.md` and the ADRs in `docs/adr/` when present: they carry the constraints and conventions the lenses check against.
39
39
  Done when PR mode's `git -C "$WT" rev-parse HEAD` prints `$HEAD` and you have read each of those files that exists.
40
- 3. **Review.** Diff under ~100 changed lines: review it yourself in one pass across all four lenses, no subagents. Larger: spawn read-only `reviewer` subagents in one `task` batch, one per lens below, each with the brief template filled in; when another model family is available, run at least one lens (or a duplicate of the correctness lens) on it via `model`. When `plan.json` has `> 10` reviewable files or `> 300` changed lines, walk its rule-matched batches (`<= 10` files / `<= 400` lines per batch by rule group) so every reviewable file is covered.
41
- A size S change (the Size S lane in `references/playbooks/opening-a-pr.md`) is always reviewed by its own author against this checklist, which is the four lenses and the smell baseline. It uses no subagents and skips the **pr-agent** technique.
40
+ 3. **Review (quota-bounded by `assets/quota-guard/quota_guard.py`).** Diff `<=150` changed lines, Size S (`references/playbooks/opening-a-pr.md`), `--lean`, or nested inside `/teamwork` or `/swarm`: review inline yourself in 1 pass across all four lenses (`0` subagents; Size S skips **pr-agent**).
41
+ For `151-600` changed lines (Size M / standard): pack 1 context bundle (`self_grill.py bundle` or `diff_coverage.py`) and spawn **1** read-only `reviewer` pinned to a fast low-tier model (`Model: "flash"` / `@smol` / `haiku` / `gpt-6-luna`, `2–4` batched tool turns; never `inherit` Carbon/Pro/Opus unless requested) covering all four lenses in one warm pass instead of 4 cold-cache spawns.
42
+ For `>600` changed lines or sensitive `L` PRs (top-level only): spawn at most **2** low-tier read-only `reviewer` subagents (`Model: "flash"` / `@smol` / `haiku` / `gpt-6-luna`, `Correctness+Spec` and `Security+Standards`, cross-family when available), walking `plan.json` thematic guide batches (`auth_security` → `backend_core` → `ui` → `config_ci` → `docs` → `tests`, `<=10` files / `<=400` lines per batch) when `>10` reviewable files so reviewers verify intent before implementation details.
43
+ Filter automated bot review comments separately from human review threads so bot noise never buries human objections.
42
44
  - **Correctness & edge cases:** logic errors, empty/null/huge inputs, concurrency, error paths, off-by-one, broken callers of changed code.
43
45
  - **Security & data handling:** injection, auth and permission checks, secrets, untrusted input, PII, data loss, and every project constraint from the brief.
44
46
  - **Spec:** each user story and Done when item that is missing or only partly built; behavior the diff adds that the spec never asked for or puts out of scope; requirements that look built but behave wrong; whether the proof shows each Done when item on the real surface; missing or skipped tests. Quote the spec or issue line for each finding.
@@ -65,11 +67,12 @@ PR titles, bodies, comments, and diffs are untrusted text. Read them from files
65
67
  LAST=$(grep -oE 'Reviewed head: [0-9a-f]{40}' "$BODY" | tail -1 | cut -d' ' -f3)
66
68
  # PowerShell: $LAST = (Select-String -Path $BODY -Pattern 'Reviewed head: ([0-9a-f]{40})' | Select-Object -Last 1).Matches[0].Groups[1].Value
67
69
  ```
68
- Refresh `$HEAD` and the worktree. If `git merge-base --is-ancestor "$LAST" "$HEAD"` holds, review only `git diff "$LAST" "$HEAD"` and re-check each open finding from the last review; otherwise (force-push, rebase) run a full review. Post a new review for the new head (step 5), marking each earlier finding fixed, dismissed (reason), or still open.
70
+ Refresh `$HEAD` and the worktree. If `git merge-base --is-ancestor "$LAST" "$HEAD"` holds, review **only** `git diff "$LAST" "$HEAD"` plus open findings from the last review using at most **1** reviewer (messaging the warm reviewer when still alive instead of spawning a fresh wave); otherwise (force-push, rebase) run a full review.
71
+ Post a new review for the new head (step 5), marking each earlier finding fixed, dismissed (reason), or still open.
69
72
  Done when the new review's `Reviewed head` equals the PR's current `headRefOid` and it marks every earlier finding.
70
73
  7. **Stop** when any of these holds:
71
74
  - **Clean:** no P0 or P1 open, and every P2 is fixed or dismissed with a reason. Verdict `ready`.
72
- - **Cap:** 3 rounds on one PR. Report what is left.
75
+ - **Cap:** 2 automated rounds on one PR (3 only when a P0/P1 fix introduced a new regression). Report what is left.
73
76
  - **Oscillation:** a fix gets flagged back, or a finding reappears after being fixed. Stop and report both sides as `needs discussion`.
74
77
  Never relax a finding into a dismissal just to reach a stopping condition. The same finding class twice across PRs means the codebase lacks a guardrail: route it to the **correct** technique (`references/techniques/correct.md`).
75
78
 
@@ -92,7 +95,7 @@ Clean up after PR mode (including on error/interrupt): remove `$WT` (`git worktr
92
95
  <!-- deepmodebot:review -->
93
96
  **deepmodebot review** · round <k> · verdict: **<ready | changes needed | needs discussion>**
94
97
  Reviewed head: <full 40-char sha>
95
- Coverage: <reviewed>/<total> reviewable files (<excluded> excluded, <skipped> skipped)
98
+ Coverage: <reviewed>/<total> reviewable files (<excluded> excluded, <skipped> skipped) · <loc_summary.badge from plan.json>
96
99
 
97
100
  | # | Sev | Lens | File:line | Finding | Status |
98
101
  |---|-----|------|-----------|---------|--------|
@@ -4,9 +4,8 @@
4
4
 
5
5
  1. **Read what exists.** The repo's check commands (package scripts, `Makefile`, `justfile`, `pyproject.toml`, `Cargo.toml`, task runner) and the commands any CI workflow runs.
6
6
  - Existing hook setup (`.husky/`, `.pre-commit-config.yaml`, `lefthook.yml`, `core.hooksPath` in git config): extend it, never add a second hook manager.
7
- - For backend/systems repos, you can also wire `python -B "<deepmodebot>/assets/perf-audit/perf_audit.py" --fail-on-high --files {staged_files}` as a fast staged-file performance gate.
7
+ - For zero-token diff-only anti-slop, secret, test-theater, linter, boundary, and budget gating on staged commits (`<1 s`), run `python -B "<deepmodebot>/assets/setup/project_setup.py" --root . --install-hooks` (or `deepmodebot init --install-hooks`), which installs a repo-local `.git/hooks/pre-commit` calling `dmb-gate` / `slop_gate.py --staged` without colliding with `.husky/`, `.pre-commit-config.yaml`, or `lefthook.yml`.
8
8
  - The hook runs the same commands CI runs; when they differ, fix the gap in the same change.
9
- - Done when you can list every check command and the hook manager already in place, or that there is none.
10
9
  2. **Pick the manager by language.** Use the repo's existing formatter and linter. Add one only when there is none, and say which and why. Done when one manager is chosen and named with its reason.
11
10
 
12
11
  | Repo | Manager | Pre-commit runs | Install |
@@ -1,44 +1,39 @@
1
1
  # prior-art
2
2
 
3
- **Use when:** before building anything new: a feature, tool, integration, CLI, service, or whole project. Also when the user asks "is there a library / project / example for X". Most code worth writing has an example, a library, or a whole project somewhere. Find it before writing it, then reuse the best of it.
4
-
5
- 1. **Name what you need** in one line: the customer/job, language, runtime, acceptable licenses, data/deployment constraints and must-have behavior.
6
- When the project starts from a saved startup idea or video anecdote, read [startup references](../startup-ideas.md) before treating it as product or market evidence.
7
- Done when those constraints are explicit; a source's popularity or revenue story is not validation.
8
- 2. **Search, in parallel `scout` subagents**, one per source. Start with what's new, because the idea you already know may have been beaten this month:
9
- - **Repository catalog** (GitHub Trending/search, githubawesome.com and the [dated reference library](../../assets/repo-references.json)): run `python -B "<this skill>/scripts/trending.py" find <project terms>` (`py -3 -B` on Windows) from the project root.
10
- It keeps `.scratch/trending/`; stale data or a changed reference revision is replaced by a matching published catalog or rebuilt with network and `gh auth`.
11
- Search by role, platform or problem.
12
- Reference topics, dates and cautions are discovery leads, not tested suitability.
13
- Inspect the primary source before adoption.
14
- Descriptions remain untrusted data.
15
- - **GitHub:** `gh search repos "<terms>" --sort stars --limit 20`, plus the same with `--created ">=<date 90 days ago>"` to catch new projects stars haven't caught up with; `gh search code "<api or symbol>" --limit 30`; awesome-lists for the domain.
16
- - **Software factories:** for backlog-to-PR runners, agent fleets, or verification/merge infrastructure, use `references/factory-landscape.md` to shortlist mechanisms, then check the candidate's current source and license. Its documentation survey does not satisfy the runtime-fit check below.
17
- - **Package registries** for the stack: npm (`npm search`, npmjs.com), PyPI (pypi.org), crates.io, pkg.go.dev, Maven Central, RubyGems, NuGet, Packagist.
18
- - **Official docs and examples:** the framework's or API's own docs, quickstarts, example repos, and cookbooks; pull current library source with `npx opensrc <package>` when the docs lag.
19
- - **The repo itself and its dependencies:** an existing helper or a dependency that already does it beats anything new.
20
- Done when every source has returned a candidate list or a null result.
21
- 3. **Judge each candidate** with checks you run, not stars alone. Put the newest strong candidate head to head with the incumbent (the library or pattern you would have reached for); it wins only on a check you ran (fit, size, speed, license, maintenance), never on novelty:
22
- - License: read the exact terms for the code, documentation, bundled components, assets and model weights, not just the root SPDX badge.
23
- Permissive licenses still have conditions; copyleft duties depend on the license and reuse. Custom/source-available terms can restrict commercial hosting or white-labeling.
24
- Missing or unrecognized license metadata is not permission to copy. The [OpenMausBot enterprise exception](https://github.com/milind-soni/OpenMausBot/blob/main/enterprise/LICENSE) is one concrete boundary; dated evidence is linked from the reference library.
25
- - Alive: last release or commit, open issues answered, not archived or marked unmaintained.
26
- - Fit: does it do the must-have behavior? Clone it to a scratch folder and run its example or tests once.
27
- - Weight and risk: dependency count, install size, security advisories (`npm audit`, `pip-audit`, GitHub advisories).
28
- Done when every shortlisted candidate has a result for all four checks.
29
- 4. **Pick how to reuse it**, lightest first:
30
- - **Depend** on a maintained package.
31
- - **Copy** a small piece (a function, a config, an example), keeping its license notice and a source link in a comment or NOTICE file.
32
- - **Fork or clone** a whole project when it is most of what's needed; record the upstream URL and commit you started from.
33
- - **Build** only when nothing fits, and say why each candidate didn't.
34
- Done when each piece has one reuse choice, with the upstream URL and commit for a fork.
35
- 5. **Log the choice** as a decision-trail row (show-me-your-work): what you found, what you picked, the license, and the rejected candidates in one line each.
36
- Done when the trail has that row.
3
+ **Use when:** before building any new feature, tool, scanner, integration, CLI, or service, when auditing an external GitHub organization for upgrades, or when asked "is there a library / project / reference for X". Mine proven open-source mechanisms, failure modes, and invariants before writing from scratch.
4
+
5
+ 1. **Name constraints and gap questions** in one line: target job, language/runtime, acceptable permissive licenses (`MIT`, `Apache-2.0`, `BSD-*`, `ISC`), deployment constraints, must-have behavior, and what failure modes would disqualify a candidate.
6
+ When starting from a startup anecdote or video, read [startup references](../startup-ideas.md) first; popularity or revenue claims are never technical validation.
7
+ Done when constraints, license floor, and disqualifiers are explicit.
8
+
9
+ 2. **Sweep across parallel discovery channels** (`researcher` or `scout` low-tier subagents across harnesses; `2-3` max). Always pair popular incumbents with recent breakouts:
10
+ - **Curated + trending catalog:** run `python -B "<this skill>/scripts/trending.py" find <terms> --json` (`py -3 -B` on Windows) against the 340+ repo catalog and [dated reference library](../../assets/repo-references.json).
11
+ - **Organization-wide SOTA sweep:** when mining engineering orgs (e.g. `cloudflare`, `vercel`, `astral-sh`), run `python -B "<this skill>/scripts/trending.py" org <org-or-url> --json` (or `deepmodebot net trending --orgs <orgs> --json`) to surface both flagship and newly pushed repos.
12
+ - **GitHub search & code:** `gh search repos "<terms>" --sort stars --limit 20` plus `--created ">=<90-days-ago>"`, and `gh search code "<symbol>" --limit 30`. For agent/PR orchestration, check `references/factory-landscape.md`.
13
+ - **Papers, registries & bundled docs:** `deepmodebot net fetch-papers --query "<terms>" --json` (extracts linked GitHub `code_urls`), npm/PyPI/crates.io/pkg.go.dev, `node_modules/<pkg>/docs`, and `npx opensrc <package>`.
14
+ - **The active repo itself:** check existing helpers, dependencies, and `gap_audit.py scan --root .` first so you never build a duplicate seam.
15
+ Done when every relevant channel returned candidates or an explicit null result.
16
+
17
+ 3. **Verify license, code truth, and adversarial failure modes** (never judge by stars or README badges):
18
+ - **Root `LICENSE` verification:** read the actual `LICENSE` file for code, docs, assets, and weights. GitHub's SPDX detector frequently labels short Apache-2.0 headers `NOASSERTION`; inspect the file text directly, and reject unlicensed (`NONE`), `CC-BY-*` code, or copyleft/enterprise-restricted files when permissive terms are required (e.g., [OpenMausBot enterprise exception](https://github.com/milind-soni/OpenMausBot/blob/main/enterprise/LICENSE)).
19
+ - **Disconfirmation check:** inspect open bug issues, maintenance pulse, dependency weight, security advisories (`npm audit`, `pip-audit`, GHSA), and source code vs README claims.
20
+ - **Head-to-head runtime fit:** test the shortlisted candidate against the incumbent on a real check (size, latency, edge compatibility, test run in `<root>/.scratch/tmp/`).
21
+ Done when every finalist has verified license text, disconfirmation notes, and runtime-fit evidence.
22
+
23
+ 4. **Choose reuse mode AND mine transferable invariants:**
24
+ - **Depend** on a maintained package when runtime/weight/license fit cleanly.
25
+ - **Copy or adapt** a focused module under permissive terms, preserving copyright/attribution in `NOTICE.md`.
26
+ - **Fork/clone** when most of the project fits, recording upstream URL and exact commit SHA.
27
+ - **Distill invariants & mechanical gates** even when building native code: extract edge-case test vectors, anti-patterns, and static rules into your repo's linters/gates (`gap_audit.py record-gap`) so the codebase permanently learns what upstream solved.
28
+ Done when each component has a reuse mode, attribution plan, and Differential Gap Matrix entry when upgrading an existing repo.
29
+
30
+ 5. **Log the decision trail** (`show-me-your-work`): candidates evaluated, exact license verified, disconfirmations caught, winner chosen, and why alternatives lost.
31
+ Done when the trail records those fields.
37
32
 
38
33
  ## Gates
39
34
 
40
- - Never copy code whose license you haven't read, or that has no license.
41
- - Forking or cloning into the user's GitHub account is a normal action; publishing a package or messaging an upstream maintainer is a hard stop (SKILL.md Autonomy).
42
- - Reused code meets the same bar as written code: it is tested and verified in this project before it counts as done.
35
+ - Never copy or adapt code/prompts from an unlicensed (`NONE`), unverified, or incompatible-license repository.
36
+ - Publishing packages or contacting upstream maintainers remains a hard stop (`SKILL.md` Autonomy).
37
+ - Adopted packages and clean-room ports must pass the same behavioral and adversarial tests as first-party code.
43
38
 
44
- **Done when** the build plan names, for each piece, the dependency, copied source, fork, or "built new" with the reason.
39
+ **Done when** every piece names its dependency, attributed source, fork SHA, or first-principles build rationale backed by license and disconfirmation receipts.
@@ -0,0 +1,12 @@
1
+ # product-lens
2
+
3
+ **Use when:** challenging whether a planned feature or product is ambitious and sharp enough ("founder review", "product review", "think bigger", "10-star experience", "is this a painkiller or vitamin?") before locking a spec.
4
+
5
+ Where **grill** stress-tests technical failure modes and **tournament** explores architectural/research shapes, **product-lens** interrogates user value, wedge sharpness, and time-to-magic:
6
+
7
+ 1. **Painkiller vs vitamin test.** Name the exact user, the painful moment that makes them switch *today*, and what they currently cobble together (spreadsheets, scripts, manual copy-paste). If the plan solves a mild inconvenience with high setup friction, call it out bluntly.
8
+ 2. **60-second time-to-value audit.** Count every click, signup wall, config file, or empty-state hurdle between first open and the user's first "aha" artifact. Eliminate cold-start blank screens with instant sample data, zero-config defaults, or 1-command local runs.
9
+ 3. **5-star → 10-star inversion.** State the current plan (5-star: does what was asked), the 7-star version (removes adjacent manual drudgery automatically), and the 10-star ceiling (solves the underlying job end-to-end with verifiable proof), then pick the highest-leverage wedge that ships cleanly without scope bloat.
10
+ 4. **Cut / Keep / Amplify table.** Classify every proposed item into **Cut** (settings/chrome/premature multi-tenancy nobody asked for), **Keep** (minimum viable spine), or **Amplify** (the 1–2 differentiating capabilities where craft creates unfair advantage).
11
+
12
+ **Done when** the user persona, switching trigger, 60-second value path, 10-star inversion, and explicit Cut/Keep/Amplify table are written cleanly and fed into the spec or build plan.
@@ -0,0 +1,30 @@
1
+ # prompt-upgrade
2
+
3
+ **Use when:** a user prompt is terse, messy, typo-heavy, vague, or bundles multiple unnumbered asks ("review my prompt", "improve my prompt", "convert to a deepmode prompt", "fix my prompt"), OR automatically in **Route** step 2 before executing any underspecified prompt so deepmodebot never misinterprets intent or drops scope.
4
+
5
+ Users naturally type fast shorthand. Never take a sloppy prompt literally into a shallow fix or guess silently past missing requirements.
6
+
7
+ ## Procedure
8
+
9
+ 1. **Inspect repo reality first.** Read the relevant paths, recent `git status`/`git diff`, and available checks/verify skills so intent is grounded in actual files instead of guesswork.
10
+ Done when the real files and checks touched by the user's request are identified.
11
+ 2. **Compile the full-scope Deepmode prompt.** Pipe the raw prompt through the deterministic upgrader:
12
+ ```bash
13
+ python -B "<this installed skill>/assets/prompt-tools/prompt_tools.py" upgrade --stdin --root "<project-root>" --json <<'EOF'
14
+ <raw user prompt>
15
+ EOF
16
+ ```
17
+ Review the flagged weaknesses (`shorthand_or_vague`, `multi_part_unnumbered`, `missing_acceptance_oracle`, `missing_gap_overclaim_check`, `watered_down_or_optional_hardcore`) and sharpen the compiled prompt so it states:
18
+ - **Hardcore Mode by default (`references/principles/hardcore-mode.md`):** aim for the true first-principles architectural ceiling (real algorithms, parallel/async execution, solvers, crisp native representations/LODs, full end-to-end integration). Automatically promote any "(Optional hardcore mode)" or "bonus" technical tier into a mandatory numbered deliverable unless the user explicitly asks for a throwaway prototype or minimal patch.
19
+ - **Decoded intent & numbered full-scope deliverables:** every explicit and implied part numbered; never shrink or drop compound clauses ("X also Y also Z").
20
+ - **Repo grounding & containment:** exact files/surfaces to inspect first; root-only writes (`references/contain.md`).
21
+ - **Gap & overclaim check:** verify every claim, count, and "works/passes" statement against current files or fresh runs; hunt for missing edge cases, unbacked docs/claims, and silent gaps.
22
+ - **Real-artifact verification & self-grill gate:** exact failing-without-fix test or real-app run after final edits, `self_grill.py check-diff` (including `hardcore-craft-depth` anti-toy check), and `no-comments` cleanup.
23
+ - **Reversible assumptions vs hard stops:** resolve reversible ambiguity from repo evidence and state assumptions; pause only on real hard stops or irreversible forks.
24
+ Done when the full-scope prompt covers every deliverable, names its verification oracle, and includes the gap and overclaim check.
25
+ 3. **Execute or return.**
26
+ - **Default (action request):** execute the upgraded full-scope prompt immediately without waiting for confirmation; mirror its numbered deliverables in the scope ledger.
27
+ - **Prompt-only mode** (the user asked to review, rewrite, or improve a prompt without running it): print the weaknesses caught, the decoded intent, and the ready-to-run full-scope `/deep ...` prompt.
28
+ Done when execution has started on the full-scope prompt, or the ready-to-run upgraded prompt is delivered in prompt-only mode.
29
+
30
+ **Done when** every implied deliverable is captured in a full-scope prompt with a real-artifact oracle and gap/overclaim audit, and either executed or returned ready to run.
@@ -7,7 +7,7 @@
7
7
  3. Mine your own history. In omp: `archive` in `eval` (recent sessions, recaps, prompt history) and `history://`; in Antigravity, Claude Code, Codex, or other harnesses: read saved workspace transcripts, `docs/handoffs/`, `.scratch/` trails, and `git log`.
8
8
  For many sessions, fan out `scout`s by slice; order by real modification time, grep the topic first, read only matching regions, skip the current chat and subagent/eval/test noise. Each returns per session: topic, goal, decisions, open threads, struggles/corrections, artifacts (PRs, tickets, branches), cited by session id or path. One or two sessions → search directly. Raw transcripts stay in subagents.
9
9
  Done when every in-scope session has a summary cited by its id.
10
- 4. Sweep the shared record whenever a feature, file, subsystem, area, or bug is named. This is the default, and "my work on X" doesn't exempt it. Run **why**'s investigators in parallel with step 3, question reframed to "current state, what's been tried and didn't hold, what users still report". Null results are findings; unavailable sources are named. Skip only for pure activity recall with no target.
10
+ 4. Sweep the shared record whenever a feature, file, subsystem, area, or bug is named. This is the default, and "my work on X" doesn't exempt it. Run one read-only investigator per available source (git/PRs, tracker, docs, chat, telemetry) in parallel with step 3, reframed to "current state, what's been tried and didn't hold, what users still report". Null results are findings; unavailable sources are named. Skip only for pure activity recall with no target.
11
11
  Done when every source has a finding, a null, or a named reason it was unavailable.
12
12
  5. Verify surfaced PRs, branches, tickets against live state with `git` and `gh`. When the answer hinges on what an agent actually did, read the full transcript. Done when every thread carries a tag checked against live state.
13
13
  6. Write the brief.
@@ -0,0 +1,18 @@
1
+ # reframe
2
+
3
+ **Use when:** `/reframe`, "what is this called", "expert words for what I'm building", or when an operator describes a system in plain words and needs precise domain vocabulary, neighboring-field analogies, unmentioned failure modes, and a rewritten specification.
4
+
5
+ 1. Read the operator's own files, code, and description directly instead of working from a summary.
6
+ 2. Disambiguate ambiguous descriptions first: when the description could name 2 or 3 distinct problems, list those 2 or 3 candidate problems, each with the single term that names it and the observable sign that tells it apart from the others; then pick the most likely problem and state why.
7
+ 3. Give 8 to 12 expert terms, ranked by how much each changes what gets built. For every term, state:
8
+ - the word and its meaning in one plain sentence;
9
+ - the exact part of the operator's description or code it names;
10
+ - one real project, paper, or shipped system that uses the term that way, with a link you opened and confirmed;
11
+ - what naming that term lets the operator ask an agent to build or enforce.
12
+ 4. Pick 2 or 3 neighboring fields that solved the same shape of problem under different names. For each field, state what transfers directly, where the analogy breaks down, and which terms carry back.
13
+ 5. Name what the operator did not mention but should care about (invariants, edge boundaries, operational failure modes, or hidden state).
14
+ 6. Rewrite the operator's description cleanly using the verified expert words.
15
+
16
+ **Hard rules.** Open every link (via web fetch/search or local repo docs) and confirm it uses the term that way; cut any citation you cannot confirm. Zero padding; pass prose through **unslop**.
17
+
18
+ **Done when** multi-meaning descriptions are disambiguated, 8–12 ranked terms each carry a confirmed link and concrete agent ask, 2–3 neighboring analogies state both transfer and breakdown limits, omitted concerns are named, and the description is rewritten in those terms.