deepmodebot 0.9.1 → 0.11.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 (705) 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 +38 -5
  5. package/bin/deepmodebot.mjs +257 -4
  6. package/lib/clients.mjs +50 -3
  7. package/lib/tree.mjs +64 -10
  8. package/native/dmb-gate/Cargo.toml +13 -0
  9. package/native/dmb-gate/src/agents.rs +110 -0
  10. package/native/dmb-gate/src/ci.rs +1032 -0
  11. package/native/dmb-gate/src/cleanup.rs +198 -0
  12. package/native/dmb-gate/src/gap.rs +1376 -0
  13. package/native/dmb-gate/src/guard.rs +135 -0
  14. package/native/dmb-gate/src/main.rs +535 -0
  15. package/native/dmb-gate/src/map.rs +173 -0
  16. package/native/dmb-gate/src/perf.rs +347 -0
  17. package/native/dmb-gate/src/reward.rs +2867 -0
  18. package/native/dmb-gate/src/sim.rs +969 -0
  19. package/native/dmb-gate/src/skill_check.rs +171 -0
  20. package/native/dmb-gate/src/slop.rs +2004 -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.md +29 -0
  36. package/plugins/deepmodebot/agents/researcher.md +29 -0
  37. package/plugins/deepmodebot/agents/reviewer.md +29 -0
  38. package/plugins/deepmodebot/agents/scout.md +28 -0
  39. package/plugins/deepmodebot/agents/security-reviewer.md +27 -0
  40. package/plugins/deepmodebot/commands/deep.md +7 -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 +12 -2
  45. package/plugins/deepmodebot/hooks.json +1 -1
  46. package/plugins/deepmodebot/scripts/antigravity-guard.mjs +862 -26
  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 +3 -3
  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 +83 -146
  82. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +67 -24
  83. package/plugins/deepmodebot/skills/deepmodebot/assets/autoroute/autoroute.py +1026 -0
  84. package/plugins/deepmodebot/skills/deepmodebot/assets/cleanup/self_cleanup.py +305 -0
  85. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude-guard.sh +4 -0
  86. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +736 -6
  87. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/holdout_guard_cases.json +272 -0
  88. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +861 -9
  89. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +3 -0
  90. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +2 -0
  91. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/rehearsal_gate.py +536 -0
  92. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +2 -0
  93. package/plugins/deepmodebot/skills/deepmodebot/assets/f2p-gate/f2p_gate.py +547 -0
  94. package/plugins/deepmodebot/skills/deepmodebot/assets/formal-verification/verify_proof.py +638 -0
  95. package/plugins/deepmodebot/skills/deepmodebot/assets/gap-audit/gap_audit.py +1047 -0
  96. package/plugins/deepmodebot/skills/deepmodebot/assets/gen-ui/gen_ui.py +1782 -0
  97. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +7 -0
  98. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +55 -7
  99. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +55 -5
  100. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +2 -0
  101. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +2 -0
  102. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/local_ci.py +796 -0
  103. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/slop_gate.py +1049 -0
  104. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +748 -46
  105. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +2 -1
  106. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +2 -0
  107. package/plugins/deepmodebot/skills/deepmodebot/assets/memory/project_memory.py +928 -0
  108. package/plugins/deepmodebot/skills/deepmodebot/assets/mutation/mutation_gate.py +798 -0
  109. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +48 -21
  110. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +339 -5
  111. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +96 -6
  112. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +2 -0
  113. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +2 -0
  114. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +2 -0
  115. package/plugins/deepmodebot/skills/deepmodebot/assets/prompt-tools/prompt_tools.py +1239 -0
  116. package/plugins/deepmodebot/skills/deepmodebot/assets/quota-guard/quota_guard.py +424 -0
  117. package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +477 -1
  118. package/plugins/deepmodebot/skills/deepmodebot/assets/reward-guard/reward_guard.py +3447 -0
  119. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule-paths.json +100 -0
  120. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule_ledger.py +1671 -0
  121. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rules_watch.py +436 -0
  122. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +2 -0
  123. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +2 -0
  124. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +13 -10
  125. package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/static_sec_audit.py +275 -0
  126. package/plugins/deepmodebot/skills/deepmodebot/assets/self-grill/self_grill.py +2049 -0
  127. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/model_setup.py +329 -0
  128. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/project_setup.py +348 -0
  129. package/plugins/deepmodebot/skills/deepmodebot/assets/sim/sim.py +856 -0
  130. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +304 -18
  131. package/plugins/deepmodebot/skills/deepmodebot/assets/worker-gate/worker_gate.py +237 -0
  132. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +121 -78
  133. package/plugins/deepmodebot/skills/deepmodebot/references/README.md +14 -0
  134. package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +17 -11
  135. package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +2 -1
  136. package/plugins/deepmodebot/skills/deepmodebot/references/delegation.md +18 -0
  137. package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +2 -0
  138. package/plugins/deepmodebot/skills/deepmodebot/references/full-scope.md +9 -0
  139. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/authoring-a-skill.md +1 -1
  140. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +2 -0
  141. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +12 -9
  142. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +7 -3
  143. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +3 -0
  144. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +4 -4
  145. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +1 -1
  146. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +13 -10
  147. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +6 -6
  148. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +1 -0
  149. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +3 -1
  150. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/self-authoring.md +1 -1
  151. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +1 -2
  152. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +1 -0
  153. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +4 -2
  154. package/plugins/deepmodebot/skills/deepmodebot/references/principles/hardcore-mode.md +7 -0
  155. package/plugins/deepmodebot/skills/deepmodebot/references/principles/no-reward-hacking.md +8 -0
  156. package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +2 -1
  157. package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +2 -2
  158. package/plugins/deepmodebot/skills/deepmodebot/references/rule-approval.md +71 -0
  159. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +10 -24
  160. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +5 -4
  161. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +3 -3
  162. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/autoroute.md +50 -0
  163. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +1 -1
  164. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/catchup-video.md +13 -0
  165. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +9 -7
  166. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +2 -1
  167. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/devex-review.md +13 -0
  168. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/expand-contract.md +13 -0
  169. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/formal-verification.md +33 -0
  170. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/gen-ui.md +60 -0
  171. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +2 -1
  172. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +7 -18
  173. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +12 -8
  174. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/model-setup.md +14 -0
  175. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/modernize-pr.md +15 -0
  176. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/mutation-testing.md +35 -0
  177. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +5 -5
  178. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +9 -5
  179. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +1 -1
  180. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +8 -5
  181. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +1 -2
  182. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +33 -38
  183. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/product-lens.md +12 -0
  184. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prompt-upgrade.md +30 -0
  185. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +1 -1
  186. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reframe.md +18 -0
  187. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/release-and-canary.md +10 -0
  188. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +62 -89
  189. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +5 -1
  190. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/self-grill.md +54 -0
  191. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +3 -3
  192. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +7 -0
  193. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sim.md +41 -0
  194. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +3 -2
  195. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/suggest.md +24 -0
  196. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +7 -0
  197. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tdd.md +12 -0
  198. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +2 -2
  199. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +30 -18
  200. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/variant-analysis.md +11 -0
  201. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/video-forensics.md +46 -0
  202. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +10 -1
  203. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/webhook-ui.md +11 -0
  204. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +6 -0
  205. package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +7 -0
  206. package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +141 -18
  207. package/plugins/deepmodebot/skills/deepmodebot/worker.md +28 -0
  208. package/plugins/deepmodebot/skills/domain-rules/SKILL.md +13 -119
  209. package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +19 -1
  210. package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +7 -0
  211. package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +11 -0
  212. package/plugins/deepmodebot/skills/domain-rules/references/sources.md +108 -0
  213. package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +30 -131
  214. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/canvas.css +42 -0
  215. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/editorial.css +39 -0
  216. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/layouts.css +95 -0
  217. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/swiss.css +40 -0
  218. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/tactile.css +41 -0
  219. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/workbench.css +50 -0
  220. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-animations.md +49 -0
  221. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +46 -24
  222. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +27 -258
  223. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +26 -51
  224. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +22 -195
  225. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/00-art-direction.md +39 -0
  226. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +27 -24
  227. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +23 -17
  228. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +22 -45
  229. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +11 -0
  230. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +32 -152
  231. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +36 -91
  232. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +14 -120
  233. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +11 -10
  234. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +9 -9
  235. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06b-media-icons-charts.md +19 -0
  236. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06c-product-shots-craft.md +42 -0
  237. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +5 -6
  238. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +28 -56
  239. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +9 -7
  240. package/plugins/deepmodebot/skills/frontend-ui/scripts/motion_diff.py +259 -0
  241. package/plugins/deepmodebot/skills/frontend-ui/scripts/ui_audit.py +496 -0
  242. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/LICENSE +21 -0
  243. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/NOTICE.md +16 -0
  244. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/SKILL.md +68 -0
  245. package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +1 -1
  246. package/plugins/deepmodebot/skills/office-documents/SKILL.md +24 -0
  247. package/plugins/deepmodebot/skills/office-documents/references/documents-docx-pdf.md +15 -0
  248. package/plugins/deepmodebot/skills/office-documents/references/presentations-pptx.md +15 -0
  249. package/plugins/deepmodebot/skills/office-documents/references/spreadsheets-xlsx.md +15 -0
  250. package/plugins/deepmodebot/skills/office-documents/scripts/doc_audit.py +230 -0
  251. package/plugins/deepmodebot/skills/project-brief/SKILL.md +2 -19
  252. package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +4 -0
  253. package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +4 -0
  254. package/plugins/deepmodebot/skills/project-brief/references/claim-contract.md +55 -0
  255. package/plugins/deepmodebot/skills/research/SKILL.md +18 -0
  256. package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +1 -1
  257. package/plugins/deepmodebot/skills/seo-and-geo/SKILL.md +29 -0
  258. package/plugins/deepmodebot/skills/seo-and-geo/references/geo-and-agentic-web.md +30 -0
  259. package/plugins/deepmodebot/skills/seo-and-geo/references/technical-and-schema.md +25 -0
  260. package/plugins/deepmodebot/skills/seo-and-geo/scripts/seo_audit.py +282 -0
  261. package/plugins/deepmodebot/skills/software-architecture/SKILL.md +2 -2
  262. package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +5 -0
  263. package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +1 -0
  264. package/plugins/deepmodebot/skills/statechart/LICENSE +21 -0
  265. package/plugins/deepmodebot/skills/statechart/NOTICE.md +21 -0
  266. package/plugins/deepmodebot/skills/statechart/SKILL.md +106 -0
  267. package/plugins/deepmodebot/skills/statechart/references/render.md +93 -0
  268. package/plugins/deepmodebot/skills/statechart/references/tooling.md +78 -0
  269. package/plugins/deepmodebot/skills/statechart/scripts/backends/cfg.ts +33 -0
  270. package/plugins/deepmodebot/skills/statechart/scripts/backends/mermaid.ts +249 -0
  271. package/plugins/deepmodebot/skills/statechart/scripts/backends/plain-text.ts +72 -0
  272. package/plugins/deepmodebot/skills/statechart/scripts/backends/report.ts +177 -0
  273. package/plugins/deepmodebot/skills/statechart/scripts/frontends/config.ts +276 -0
  274. package/plugins/deepmodebot/skills/statechart/scripts/frontends/dot.ts +77 -0
  275. package/plugins/deepmodebot/skills/statechart/scripts/frontends/marks.ts +93 -0
  276. package/plugins/deepmodebot/skills/statechart/scripts/frontends/messages.ts +52 -0
  277. package/plugins/deepmodebot/skills/statechart/scripts/frontends/spec.ts +114 -0
  278. package/plugins/deepmodebot/skills/statechart/scripts/frontends/trace.ts +24 -0
  279. package/plugins/deepmodebot/skills/statechart/scripts/frontends/value.ts +166 -0
  280. package/plugins/deepmodebot/skills/statechart/scripts/frontends/verdict.ts +40 -0
  281. package/plugins/deepmodebot/skills/statechart/scripts/frontends/view.ts +119 -0
  282. package/plugins/deepmodebot/skills/statechart/scripts/ir.ts +547 -0
  283. package/plugins/deepmodebot/skills/statechart/scripts/janitor.ts +13 -0
  284. package/plugins/deepmodebot/skills/statechart/scripts/kill.ts +15 -0
  285. package/plugins/deepmodebot/skills/statechart/scripts/package.json +11 -0
  286. package/plugins/deepmodebot/skills/statechart/scripts/passes/annotate.ts +128 -0
  287. package/plugins/deepmodebot/skills/statechart/scripts/passes/label.ts +269 -0
  288. package/plugins/deepmodebot/skills/statechart/scripts/passes/lift.ts +85 -0
  289. package/plugins/deepmodebot/skills/statechart/scripts/passes/loop-check.ts +68 -0
  290. package/plugins/deepmodebot/skills/statechart/scripts/passes/paths.ts +60 -0
  291. package/plugins/deepmodebot/skills/statechart/scripts/passes/reach.ts +135 -0
  292. package/plugins/deepmodebot/skills/statechart/scripts/passes/region-check.ts +97 -0
  293. package/plugins/deepmodebot/skills/statechart/scripts/passes/regions.ts +295 -0
  294. package/plugins/deepmodebot/skills/statechart/scripts/pipeline.ts +76 -0
  295. package/plugins/deepmodebot/skills/statechart/scripts/run.ts +500 -0
  296. package/plugins/deepmodebot/skills/statechart/scripts/statechart +29 -0
  297. package/plugins/deepmodebot/skills/statechart/scripts/statechart.ts +165 -0
  298. package/plugins/deepmodebot/skills/statechart/scripts/test/ConfigOracle.java +63 -0
  299. package/plugins/deepmodebot/skills/statechart/scripts/test/chart.test.ts +1253 -0
  300. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Braces.mmd +7 -0
  301. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Escapes.mmd +11 -0
  302. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Phases.mmd +29 -0
  303. package/plugins/deepmodebot/skills/statechart/scripts/test/cli.test.ts +1344 -0
  304. package/plugins/deepmodebot/skills/statechart/scripts/test/config-fuzz.test.ts +263 -0
  305. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/ChartRun.out +57 -0
  306. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.cfg +3 -0
  307. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.tla +10 -0
  308. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/chart.mmd +9 -0
  309. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/graph.dot +16 -0
  310. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/report.md +7 -0
  311. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/sany.out +2 -0
  312. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/verdict-1.out +49 -0
  313. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/ChartRun.out +60 -0
  314. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.cfg +4 -0
  315. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.tla +22 -0
  316. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/chart.mmd +26 -0
  317. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/graph.dot +19 -0
  318. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/report.md +20 -0
  319. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/sany.out +2 -0
  320. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.exit +1 -0
  321. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.out +56 -0
  322. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.exit +1 -0
  323. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.out +82 -0
  324. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-3.out +57 -0
  325. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/ChartRun.out +59 -0
  326. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.cfg +3 -0
  327. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.tla +11 -0
  328. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/chart.mmd +22 -0
  329. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/graph.dot +16 -0
  330. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/report.md +17 -0
  331. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/sany.out +2 -0
  332. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.exit +1 -0
  333. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.out +56 -0
  334. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.exit +1 -0
  335. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.out +77 -0
  336. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/ChartRun.out +69 -0
  337. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.cfg +2 -0
  338. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.tla +11 -0
  339. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/chart.mmd +85 -0
  340. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/graph.dot +70 -0
  341. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/report.md +12 -0
  342. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/sany.out +2 -0
  343. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.exit +1 -0
  344. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.out +67 -0
  345. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-2.out +57 -0
  346. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.exit +1 -0
  347. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.out +85 -0
  348. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.cfg +6 -0
  349. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.tla +13 -0
  350. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/chart.mmd +5 -0
  351. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/graph.dot +10 -0
  352. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/report.md +31 -0
  353. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/sany.out +2 -0
  354. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.exit +1 -0
  355. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.out +64 -0
  356. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.exit +1 -0
  357. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.out +77 -0
  358. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/ChartRun.out +55 -0
  359. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.cfg +3 -0
  360. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.tla +10 -0
  361. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/chart.mmd +12 -0
  362. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/graph.dot +6 -0
  363. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/report.md +12 -0
  364. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/sany.out +2 -0
  365. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.exit +1 -0
  366. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.out +33 -0
  367. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-2.out +54 -0
  368. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/ChartRun.out +54 -0
  369. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.cfg +3 -0
  370. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.tla +10 -0
  371. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/chart.mmd +1 -0
  372. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/graph.dot +6 -0
  373. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/report.md +7 -0
  374. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/sany.out +2 -0
  375. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/verdict-1.out +46 -0
  376. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/ChartRun.out +59 -0
  377. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.cfg +2 -0
  378. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.tla +10 -0
  379. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterSteps.tla +6 -0
  380. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/chart.mmd +17 -0
  381. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/graph.dot +15 -0
  382. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/report.md +14 -0
  383. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/sany.out +3 -0
  384. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.exit +1 -0
  385. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.out +78 -0
  386. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/ChartRun.out +59 -0
  387. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.cfg +3 -0
  388. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.tla +19 -0
  389. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/chart.mmd +26 -0
  390. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/graph.dot +22 -0
  391. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/report.md +12 -0
  392. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/sany.out +2 -0
  393. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.exit +1 -0
  394. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.out +58 -0
  395. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-2.out +57 -0
  396. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/ChartRun.out +57 -0
  397. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.cfg +2 -0
  398. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.tla +11 -0
  399. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/chart.mmd +17 -0
  400. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/graph.dot +15 -0
  401. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/report.md +14 -0
  402. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/sany.out +2 -0
  403. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.exit +1 -0
  404. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.out +76 -0
  405. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/ChartRun.out +59 -0
  406. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.cfg +3 -0
  407. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.tla +11 -0
  408. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/chart.mmd +19 -0
  409. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/graph.dot +10 -0
  410. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/report.md +15 -0
  411. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/sany.out +2 -0
  412. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.exit +1 -0
  413. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.out +56 -0
  414. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.exit +1 -0
  415. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.out +67 -0
  416. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/ChartRun.out +62 -0
  417. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.cfg +6 -0
  418. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.tla +24 -0
  419. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/Moves.tla +5 -0
  420. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/chart.mmd +22 -0
  421. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/graph.dot +10 -0
  422. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/report.md +23 -0
  423. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/sany.out +3 -0
  424. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.exit +1 -0
  425. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.out +58 -0
  426. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.exit +1 -0
  427. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.out +66 -0
  428. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.exit +1 -0
  429. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.out +74 -0
  430. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-4.out +59 -0
  431. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/ChartRun.out +58 -0
  432. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.cfg +3 -0
  433. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.tla +15 -0
  434. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/chart.mmd +18 -0
  435. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/graph.dot +13 -0
  436. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/report.md +11 -0
  437. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/sany.out +2 -0
  438. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.exit +1 -0
  439. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.out +33 -0
  440. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-2.out +57 -0
  441. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/ChartRun.out +57 -0
  442. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.cfg +3 -0
  443. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.tla +15 -0
  444. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/chart.mmd +7 -0
  445. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/graph.dot +13 -0
  446. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/report.md +6 -0
  447. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/sany.out +2 -0
  448. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/verdict-1.out +49 -0
  449. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/ChartRun.out +61 -0
  450. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.cfg +4 -0
  451. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.tla +14 -0
  452. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/chart.mmd +30 -0
  453. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/graph.dot +19 -0
  454. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/report.md +27 -0
  455. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/sany.out +2 -0
  456. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.exit +1 -0
  457. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.out +56 -0
  458. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.exit +1 -0
  459. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.out +64 -0
  460. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.exit +1 -0
  461. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.out +87 -0
  462. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-4.out +57 -0
  463. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/ChartRun.out +60 -0
  464. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.cfg +3 -0
  465. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.tla +12 -0
  466. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/chart.mmd +23 -0
  467. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/graph.dot +19 -0
  468. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/report.md +11 -0
  469. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/sany.out +2 -0
  470. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.exit +1 -0
  471. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.out +56 -0
  472. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-2.out +57 -0
  473. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/ChartRun.out +61 -0
  474. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.cfg +4 -0
  475. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.tla +14 -0
  476. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/chart.mmd +23 -0
  477. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/graph.dot +19 -0
  478. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/report.md +27 -0
  479. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/sany.out +2 -0
  480. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.exit +1 -0
  481. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.out +56 -0
  482. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.exit +1 -0
  483. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.out +64 -0
  484. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.exit +1 -0
  485. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.out +87 -0
  486. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-4.out +57 -0
  487. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/view.mjs +1 -0
  488. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/ChartRun.out +59 -0
  489. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.cfg +4 -0
  490. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.tla +38 -0
  491. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/chart.mmd +92 -0
  492. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/graph.dot +126 -0
  493. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/report.md +17 -0
  494. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/sany.out +2 -0
  495. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.exit +1 -0
  496. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.out +91 -0
  497. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-2.out +57 -0
  498. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/ChartRun.out +61 -0
  499. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.cfg +6 -0
  500. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.tla +11 -0
  501. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/chart.mmd +22 -0
  502. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/graph.dot +16 -0
  503. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/report.md +25 -0
  504. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/sany.out +2 -0
  505. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.exit +1 -0
  506. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.out +56 -0
  507. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.exit +1 -0
  508. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.out +64 -0
  509. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.exit +1 -0
  510. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.out +64 -0
  511. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.exit +1 -0
  512. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.out +77 -0
  513. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/ChartRun.out +57 -0
  514. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.cfg +4 -0
  515. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.tla +11 -0
  516. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/chart.mmd +13 -0
  517. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/graph.dot +12 -0
  518. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/report.md +11 -0
  519. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/sany.out +2 -0
  520. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.exit +1 -0
  521. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.out +72 -0
  522. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/ChartRun.out +57 -0
  523. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.cfg +3 -0
  524. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.tla +62 -0
  525. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/chart.mmd +28 -0
  526. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/graph.dot +40 -0
  527. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/report.md +7 -0
  528. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/sany.out +1 -0
  529. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/verdict-1.out +47 -0
  530. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/view.mjs +1 -0
  531. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/ChartRun.out +57 -0
  532. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.cfg +2 -0
  533. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.tla +64 -0
  534. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/chart.mmd +28 -0
  535. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/graph.dot +37 -0
  536. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/report.md +8 -0
  537. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/sany.out +1 -0
  538. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/verdict-1.out +47 -0
  539. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/view.mjs +1 -0
  540. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/ChartRun.out +60 -0
  541. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.cfg +3 -0
  542. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.tla +64 -0
  543. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/chart.mmd +44 -0
  544. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/graph.dot +58 -0
  545. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/report.md +17 -0
  546. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/sany.out +1 -0
  547. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.exit +1 -0
  548. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.out +83 -0
  549. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-2.out +57 -0
  550. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/view.mjs +1 -0
  551. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/ChartRun.out +60 -0
  552. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.cfg +3 -0
  553. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.tla +103 -0
  554. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/chart.mmd +43 -0
  555. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/graph.dot +93 -0
  556. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/report.md +14 -0
  557. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/sany.out +1 -0
  558. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.exit +1 -0
  559. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.out +59 -0
  560. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-2.out +72 -0
  561. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/view.mjs +3 -0
  562. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/ChartRun.out +57 -0
  563. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.cfg +2 -0
  564. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.tla +100 -0
  565. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/chart.mmd +31 -0
  566. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/graph.dot +85 -0
  567. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/report.md +9 -0
  568. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/sany.out +1 -0
  569. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/verdict-1.out +47 -0
  570. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/view.mjs +3 -0
  571. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/ChartRun.out +59 -0
  572. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayer.tla +103 -0
  573. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.cfg +3 -0
  574. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.tla +6 -0
  575. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/chart.mmd +42 -0
  576. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/graph.dot +93 -0
  577. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/report.md +19 -0
  578. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/sany.out +2 -0
  579. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.exit +1 -0
  580. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.out +61 -0
  581. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-2.out +59 -0
  582. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-3.out +61 -0
  583. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.exit +1 -0
  584. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.out +66 -0
  585. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.exit +1 -0
  586. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.out +58 -0
  587. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-6.out +49 -0
  588. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/view.mjs +3 -0
  589. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/ChartRun.out +57 -0
  590. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.cfg +6 -0
  591. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.tla +11 -0
  592. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/chart.mmd +5 -0
  593. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/graph.dot +11 -0
  594. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/report.md +7 -0
  595. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/sany.out +5 -0
  596. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/verdict-1.out +70 -0
  597. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ChartRun.out +61 -0
  598. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.cfg +4 -0
  599. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.tla +11 -0
  600. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowLib.tla +6 -0
  601. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowSub.tla +3 -0
  602. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/chart.mmd +9 -0
  603. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/graph.dot +16 -0
  604. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/report.md +8 -0
  605. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/sany.out +4 -0
  606. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/verdict-1.out +65 -0
  607. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/ChartRun.out +59 -0
  608. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.cfg +2 -0
  609. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.tla +9 -0
  610. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/chart.mmd +23 -0
  611. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/graph.dot +17 -0
  612. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/report.md +15 -0
  613. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/sany.out +1 -0
  614. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.exit +1 -0
  615. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.out +65 -0
  616. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.exit +1 -0
  617. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.out +75 -0
  618. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/ChartRun.out +69 -0
  619. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.cfg +3 -0
  620. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.tla +75 -0
  621. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/chart.mmd +60 -0
  622. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/graph.dot +297 -0
  623. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/report.md +20 -0
  624. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/sany.out +1 -0
  625. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.exit +1 -0
  626. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.out +95 -0
  627. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-2.out +57 -0
  628. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/view.mjs +1 -0
  629. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/ChartRun.out +57 -0
  630. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.cfg +3 -0
  631. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.tla +75 -0
  632. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/chart.mmd +37 -0
  633. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/graph.dot +223 -0
  634. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/report.md +11 -0
  635. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/sany.out +1 -0
  636. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/verdict-1.out +47 -0
  637. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/view.mjs +1 -0
  638. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.exit +1 -0
  639. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.out +75 -0
  640. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.cfg +5 -0
  641. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.tla +11 -0
  642. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/chart.mmd +18 -0
  643. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/graph.dot +14 -0
  644. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/report.md +29 -0
  645. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/sany.out +2 -0
  646. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.exit +1 -0
  647. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.out +64 -0
  648. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.exit +1 -0
  649. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.out +75 -0
  650. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/ChartRun.out +58 -0
  651. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.cfg +2 -0
  652. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.tla +8 -0
  653. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/chart.mmd +22 -0
  654. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/graph.dot +16 -0
  655. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/report.md +15 -0
  656. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/sany.out +2 -0
  657. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.exit +1 -0
  658. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.out +56 -0
  659. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.exit +1 -0
  660. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.out +77 -0
  661. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus.test.ts +441 -0
  662. package/plugins/deepmodebot/skills/statechart/scripts/test/differential.test.ts +565 -0
  663. package/plugins/deepmodebot/skills/statechart/scripts/test/drawn.ts +20 -0
  664. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.cfg +2 -0
  665. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.tla +9 -0
  666. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/sany.out +2 -0
  667. package/plugins/deepmodebot/skills/statechart/scripts/test/java.ts +63 -0
  668. package/plugins/deepmodebot/skills/statechart/scripts/test/labels.ts +648 -0
  669. package/plugins/deepmodebot/skills/statechart/scripts/test/messages.test.ts +226 -0
  670. package/plugins/deepmodebot/skills/statechart/scripts/test/pipeline.test.ts +270 -0
  671. package/plugins/deepmodebot/skills/statechart/scripts/test/plain-tlc.test.ts +255 -0
  672. package/plugins/deepmodebot/skills/statechart/scripts/test/render.test.ts +145 -0
  673. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc-out.test.ts +90 -0
  674. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc.ts +158 -0
  675. package/plugins/deepmodebot/skills/statechart/scripts/tsconfig.json +11 -0
  676. package/plugins/deepmodebot/skills/statechart/scripts/worker.ts +35 -0
  677. package/plugins/deepmodebot/agents/reviewer/agent.md +0 -33
  678. package/plugins/deepmodebot/agents/scout/agent.md +0 -34
  679. package/plugins/deepmodebot/agents/security-reviewer/agent.md +0 -30
  680. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +0 -391
  681. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +0 -146
  682. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +0 -483
  683. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +0 -139
  684. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +0 -301
  685. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +0 -602
  686. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +0 -69
  687. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +0 -160
  688. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +0 -180
  689. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +0 -265
  690. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +0 -192
  691. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +0 -2182
  692. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +0 -19
  693. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +0 -691
  694. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +0 -127
  695. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +0 -496
  696. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +0 -1426
  697. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +0 -320
  698. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +0 -326
  699. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +0 -55
  700. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +0 -53
  701. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +0 -94
  702. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +0 -610
  703. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +0 -250
  704. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +0 -654
  705. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +0 -879
@@ -1,10 +1,9 @@
1
1
  ---
2
2
  name: deepmodebot
3
- description: "Engineering rigor for /deep, Deepmodebot, or rigor requests on large/risky work: restate, choose a playbook, apply named principles, prove real behavior, report evidence."
4
- disable-model-invocation: true
3
+ description: "Hardcore Mode engineering orchestrator (/deep, Deepmodebot, non-trivial engineering): LLM autoroute, Confession + Adaptive Prosecutor, quota-safe delegation, real-app proof."
5
4
  hooks:
6
5
  PreToolUse:
7
- - matcher: "Write|Edit|NotebookEdit"
6
+ - matcher: "Write|Edit|NotebookEdit|Bash|Agent|Read|Grep|Glob|LS|NotebookRead"
8
7
  hooks:
9
8
  - type: command
10
9
  command: 'for f in "${CLAUDE_PLUGIN_ROOT:-/nonexistent}/skills/deepmodebot/assets/contain/claude-guard.sh" "${CLAUDE_PROJECT_DIR:-.}/.claude/skills/deepmodebot/assets/contain/claude-guard.sh" "$HOME/.claude/skills/deepmodebot/assets/contain/claude-guard.sh"; do if [ -f "$f" ]; then exec "${BASH:-bash}" "$f" enforce; fi; done; exit 0'
@@ -14,185 +13,123 @@ hooks:
14
13
 
15
14
  Paths are relative to this skill (`skill://deepmodebot/...` in omp; elsewhere resolve on disk).
16
15
 
17
- **Cross-harness.** Guides/guards ship for omp, Claude Code, Codex, Antigravity (Cursor and others follow rules without shipped guards). Map omp names: `task` → subagents (or `acpx <agent> exec`); `todo` → tasks; `ask` → one question; `.omp/skills/` → `.claude/skills/` or `.agents/skills/`.
18
- Tool limits: `loop.py run` targets `omp|claude|codex`; `pr-agent` needs `omp`; `security-audit` needs `claude` on POSIX. Details: `skill://agent-harnesses`.
16
+ **Cross-harness:** Guards ship for omp, Claude Code, Codex, Antigravity (`skill://agent-harnesses`). Map omp tools: `task` → subagents (or `acpx <agent> exec`), `todo` → tasks, `ask` → one question, `.omp/skills/` → `.claude/skills/` or `.agents/skills/`. Tool limits: `loop.py run` targets `omp|claude|codex`; `pr-agent` needs `omp`; `security-audit` needs `claude` on POSIX.
19
17
 
20
18
  ## Full-scope completion
21
19
 
22
- Applies to M/L and multi-item routes (Size S tracks its single item inline, no Scope Manifest or continuation loop). Slicing sequences verification; it never shrinks scope.
23
-
24
- 1. **Total Scope vs. Active Sprint.** Keep 100% of deliverables/inventory in ONE Scope Manifest (`docs/specs/<slug>-manifest.json` or `.scratch/goals/<slug>-manifest.json`, `loop.py manifest`, mirrored in `todo`). Only the user removes scope; promises join it; an unqualified yes accepts offered options except hard stops. Rough ideas include real essentials (persistence, validation, error/empty states, wired entrypoints); complex/unclear domains clear via **sme-review** (`sme_gate`) before Sprint 2+.
25
- 2. **Machine-checked inventory.** For "all/every/full set", classify candidates in `"inventory"` as `included`, `duplicate` (`representative`), `non_target` (`reason`), or `blocked` (`evidence` + `unblock`). Any `pending` item fails `loop.py manifest`; batch without shrinking.
26
- 3. **Resolve reversible ambiguity.** Pick a scope-preserving structure from evidence, state assumptions, isolate uncertain groups. Ask only when evidence cannot settle a material choice, an `sme_gate` is required, or a safety/permission boundary applies. Finish independent work first.
27
- 4. **Close against evidence.** Reconcile manifest, inventory, deliverables, and tasks before replying. Single-run builds drive `1/N` to `N/N`. Sprint mode (`active_sprint: 1` / `sme_gate: "required"`) lands Sprint 1 with proof and pauses ONLY at the sprint/SME checkpoint, reporting Sprint 2..N as remaining (`scope_complete: false`). Blockers name item, failure, attempts, and unblock path.
28
- 5. **Zero-loss resume.** Arm one continuation mechanism (`references/playbooks/run-a-goal.md`) and record its ID/state. On quota/cost cap, `checkpoint_every` / `sme_gate` (`loop.py run` exit `6`), or passing Sprint 1 with deferred slices (`exit 0`, `scope_complete: false`), manifest + `latest-summary.json` is the resume ledger. A pause is never completion.
20
+ Applies to M/L and multi-item routes (Size **S** tracks its single item inline). Slicing sequences verification; it never shrinks scope. Full manifest, inventory, sprint/SME checkpoint, and zero-loss resume rules: `references/full-scope.md`.
21
+ - Keep 100% of deliverables/inventory in ONE Scope Manifest (`loop.py manifest`, mirrored in `todo`); any `pending` inventory item fails `loop.py manifest`. Only the user removes scope.
22
+ - When asked what to build/fix/improve, auditing gaps, or mapping a project, reveal **100% of verified high-leverage tasks** across all subsystems (`prompt_tools.py suggest --root "<root>" --limit 0` + domain/SOTA capability levers, grouped `Wave 1 P0` / `Wave 2 P1` / `Wave 3 P2`); never cherry-pick 1–3 items.
23
+ - Single-run builds drive `1/N` to `N/N`; Sprint mode (`active_sprint: 1` / `sme_gate: "required"`) pauses ONLY at the explicit sprint/SME checkpoint (`scope_complete: false`, never done). A pause is never completion.
29
24
 
30
25
  ## Route (do this first)
31
26
 
32
- `/deep <anything>` routes and sizes without asking which mode to use.
27
+ `/deep <anything>` is the zero-human-thought autopilot across `agy`, `omp`, Claude Code, and Codex: the user never needs to pick subcommands (`/research`, `/suggest`, `/tournament`, `/grill`) or engineer prompts.
28
+
29
+ **0. Confirm intent before routing or acting.** Read the latest request and relevant prior decisions. Decode typos and shorthand. Inspect facts read-only when needed. Restate the target, requested deliverables, intended outcome, how to tell it was achieved, and what execution or publication the user authorized. A named method, metric, or tool is not automatically the goal. Keep every clause; treat an earlier decision as binding unless the user changes it.
30
+ Use `prompt_tools.py clarify` as a hint. Ask once only if the remaining interpretations would materially change the outcome or scope. Otherwise proceed with a stated assumption when it matters. In headless mode, choose a reversible default for ambiguity; stop at any unauthorized hard stop.
31
+ Use this intent statement for routing, scope, and evaluation. A prompt upgrade may clarify it, not expand it. Done when the planned work and success criteria match the original request and the user's latest correction.
33
32
 
34
- **1. Orient.** In git repos, use Antigravity's hook-injected offline git-only **workspace-map** overview if present; else run `python -B "<this skill>/assets/workspace-map/workspace_map.py" overview --fast --offline --no-orca` (`py -3 -B` on Windows; writes `<main-checkout>/.scratch/workspace-map.db`).
35
- Skip `overview` on strictly read-only routes (`investigation`, local `pr-review`, `pr-thread`) when no DB exists. Run `query <term>` before broad greps and `workspaces`/`prs` (`--global --all-repos` cross-repo); never ask the user to run map commands.
36
- Check `git remote`, `docs/PROJECT_BRIEF.md`, `STACK.md`, and verify skills (`.omp`/`.claude`/`.agents/skills/verify-*`). GitHub delivery checks `gh repo view --json nameWithOwner,viewerPermission,isEmpty` and `gh api user -q .login`. Outside/empty repo: Contain the work. Process conflicts: Setup (`references/playbooks/setup.md`, two owner yeses before rewriting rule files).
33
+ **1. Orient & auto-bootstrap.** Use Antigravity's hook-injected offline **workspace-map** overview if present; else run `python -B "<this skill>/assets/workspace-map/workspace_map.py" overview --fast --offline --no-orca` (`py -3 -B` on Windows; writes `<main-checkout>/.scratch/workspace-map.db`).
34
+ On non-read-only sessions in an uninitialized repo, auto-run `python -B "<this skill>/assets/setup/project_setup.py" --root "<root>"` to create missing `.deepmodebot/ci.yml`, `.deepmodebot/policy.xml`, `.scratch/deepmode-memory.db`, and managed `AGENTS.md`/`CLAUDE.md` blocks (preserves user text; rewriting conflicting rules needs two owner yeses).
35
+ Recall top project memories via `project_memory.py recall --root "<root>" --format xml --budget-tokens 600`. Skip `overview` and bootstrap on strictly read-only routes (`investigation`, local `pr-review`, `pr-thread`, `suggest`) when no DB exists. Run `query <term>` before broad greps; check `git remote`, `docs/PROJECT_BRIEF.md`, `STACK.md`, verify skills, and `gh repo view`. Outside/empty repo: Contain the work.
37
36
 
38
- **2. Route by intent & vagueness.** Match `## Routes` (first match wins, aligned with `tournament.py route`). When ambiguous, pipe to `python -B "<this skill>/assets/tournament/tournament.py" route --stdin --json` (`--empty-dir` in empty/new dirs, `--has-factory` if `factory.json` exists). Concrete tasks run directly; draft plans → **grill**; open gaps/vague ambitions → **tournament** (`references/techniques/tournament.md`).
37
+ **2. Route semantically & chain research/gaps (`references/techniques/autoroute.md`).** Run the LLM router (`assets/autoroute/autoroute.py menu --json` → LLM JSON → `autoroute.py verify --strict --json`, or headless `autoroute.py route --json`). On `APPROVED`, open every `locked_plan.read_targets` entry in order. Pass the URIs verbatim in omp; elsewhere resolve them against the named skill's root.
38
+ Use `prompt_tools.py upgrade` on messy asks. Automatically chain **research** / **prior-art** (`gap_audit.py` + `trending.py` + `dmb-net`) when external SOTA/orgs/APIs apply and `deepmodebot gate gap` for repo drift/stubs; re-route mid-flight via `autoroute.py reroute`.
39
39
 
40
- **3. Size it** (re-size if scope grows).
40
+ **3. Size & delivery** (re-size if scope grows; delivery != size).
41
41
 
42
- | Size | Looks like | How to run it |
42
+ | Size | Scope | Execution |
43
43
  |---|---|---|
44
- | **S** | <= 30 changed lines in <= 2 files; no auth, secrets, permissions, trust-boundary parsing, migrations, CI, or agent config | One-line restate, fix, regression if behavioral, prove real artifact. **Local S** stays uncommitted. Publication: S lane (`references/playbooks/opening-a-pr.md`) + 3-reviewer, 2-of-3 panel. |
45
- | **M** | Few files, one feature or bug with a cause to find | Matched playbook; inline if one owner suffices. Local: uncommitted edit; publish: Opening a PR. |
46
- | **L** | Cross-cutting, new module, many files, risky, or long-running | Full playbook with subagents, **architect** if shapes differ, **show-me-your-work** trail. |
44
+ | **S** | <= 30 lines in <= 2 files; no auth, secrets, permissions, trust-boundary parsing, migrations, CI, or agent config | One-line restate, fix, regression if behavioral, real-artifact proof. Local S stays uncommitted; publishing uses S lane + 3-seat 2-of-3 panel. |
45
+ | **M** | Few files, one feature or bug with a cause to find | Matched playbook; inline if one owner suffices. Local: uncommitted; publish: Opening a PR. |
46
+ | **L** | Cross-cutting, new module, many files, risky, or long-running | Full playbook + subagents, **architect** if shapes differ, **show-me-your-work** trail. |
47
47
 
48
- **Delivery != size.** No remote, local-review ask, or ordinary local S/M edit (no PR/commit/ship ask) → **local edit**: leave verified S/M uncommitted, review diff, prove real behavior, stop (no default-branch commit/PR/push). Explicit PR/ship/land/queue asks publish via Opening a PR + 3-reviewer panel.
49
- Worktree only for concurrent writers or dirty unrelated work. Local M skips shipping panels, new verify frameworks, design contests; auth/permissions/migrations/security/L keep full checks. Discovery = size `none` (no panel); business cases use `references/techniques/research.md`.
48
+ No remote, local-review ask, or ordinary local S/M edit → **local edit** (uncommitted + diff review + real proof; skips shipping panels/contests unless touching auth/permissions/migrations/security/L). Explicit PR/ship/land/queue asks publish via Opening a PR + 3-seat panel. Worktree only for concurrent writers or dirty unrelated work. Discovery/read-only = size `none`.
50
49
 
51
- **4. Cadence, tier & SME.** Before turn 1 or kickoff, pick the smallest benchmark-proven tier and `<= medium` effort for S/search/mechanical/oracle-backed M (`skill://agent-harnesses/references/delegation-efficiency.md`); reserve `L` for planning, hard debug, security, final review; skip Fast/Ultrafast. Complex/unclear domains → **sme-review** (+ **questionnaire** for unverified P0/P1 rules) before specs, loops, or Sprint 2+. Split multi-PR/customer specs into sprints.
50
+ **4. Tier, Prosecutor & SME.** Pick smallest benchmark-proven tier (`references/delegation.md`). Run `self_grill.py init --phase plan` before risky coding and `--phase both --refresh` + `self_grill.py bundle` (**Confession + Adaptive Hotspot Prosecutor + Sieve**, `references/techniques/self-grill.md`) on M/L or sensitive diffs before replying. Complex/unclear domains → **sme-review** (+ **questionnaire**) before specs, loops, or Sprint 2+.
52
51
 
53
- **5. Act, then report.** Follow Autonomy's gates and hard stops. Report result and proof.
52
+ **5. Act, CI gate, clean, report.** Follow Autonomy gates/hard stops. When `.deepmodebot/ci.yml` exists, run `assets/local-ci/local_ci.py run --cached` before reporting done or opening a PR, record durable lessons in `project_memory.py`, and run `assets/cleanup/self_cleanup.py --apply` for disposables. Report result and proof.
54
53
 
55
54
  ## Reasoning gates
56
55
 
57
- Apply proportionally on M/L; S uses goal + real-artifact check directly.
58
-
59
- 1. **Before planning:** name user, deliverable, acceptance evidence, sources. Inspect sources first; separate facts from assumptions, check if done/superseded, resolve contradictions, mark gaps unknown.
60
- 2. **At phase boundaries & delivery:** check output against goal/evidence for missing items, stale facts, unsupported claims, or drift; replan if premise fails.
61
- 3. **When stalled:** after two attempts without better evidence, repeated rewrites, or contradictions, pause. Inspect real artifacts, test premise, pivot or report blocker. Never drop scope.
62
-
63
- Business cases: prove one workflow on observable user success before scaling (`references/techniques/research.md`); label unproven market/revenue/exit claims as estimates.
56
+ 1. **Before planning:** name user, deliverable, acceptance evidence, sources; separate facts from assumptions, mark gaps unknown.
57
+ 2. **At phase boundaries & delivery:** check output against goal/evidence for missing items, stale facts, **gaps, and overclaims** (`self_grill.py check-diff` on M/L or sensitive diffs; `verify_proof.py` on formal/math claims); replan if premise fails.
58
+ 3. **When stalled:** after two attempts without better evidence, pause, inspect real artifacts, test premise, pivot or report blocker. Never drop scope.
64
59
 
65
60
  ## Contain the work
66
61
 
67
- One project root per task; every write stays inside it (code, scratch, temp, logs, clones, worktrees, evidence, delegates). Details: `references/contain.md`.
68
-
69
- - **Root.** `git rev-parse --show-toplevel` (including worktrees); name absolute path in restate. Outside/new project: create `<parent>/<kebab-case-name>/` (never nest repos) + `git init -b main`; if a write guard pins this session to an existing repo, reopen in the new root (`references/contain.md`).
70
- - **Scratch & worktrees.** Temp in `<root>/.scratch/tmp/`; worktrees in main checkout's `.worktrees/<branch>/` (`.gitignore` `*`). Run Python with `-B` or `PYTHONDONTWRITEBYTECODE=1`.
71
- - **No system temp/global installs.** Never write `/tmp`, `$TMPDIR`, `%TEMP%`, home files, or sibling dirs; scope `TMPDIR`/`TMP`/`TEMP` to `$ROOT/.scratch/tmp`. Install deps locally; global installs and user-config edits are hard stops.
72
- - **Reads free; writes fenced.** Outside writes allowed only for: new repo folder; tool-managed state (`local://`/`artifact://`, Antigravity `brain/`/artifacts, package/browser caches, Claude plan/memory); `.deepmodebot.json` `"extraWriteRoots"`; deepmodebot's own outside writes (`references/contain.md`). All else is a hard stop.
73
- - **Notes, delegates & guards.** Durable notes go in `.scratch/` or git common dir. Delegate briefs name absolute root and own subdir/worktree. Guards back file-edit tools (none covers shell commands; this rule still binds shell commands); on denial move inside root, never bypass.
74
- - **Cleanup.** Delete only this session's disposables and empty `.scratch/tmp/` without disturbing originals, other sessions, active jobs, or unpushed work; `git status --porcelain` shows only intended changes and evidence stays in `.scratch/evidence/` or verify dir.
75
-
62
+ One project root (`git rev-parse --show-toplevel`) per task; every write stays inside it (`references/contain.md`). Temp in `<root>/.scratch/tmp/` (scope `TMPDIR`/`TMP`/`TEMP` there; never system temp/home/siblings); worktrees in `<main>/.worktrees/<branch>/`; run Python with `-B` / `PYTHONDONTWRITEBYTECODE=1`. Global installs and user-config edits are hard stops.
63
+ Outside writes allowed only for new repo folder, tool-managed state (`local://`/`artifact://`, Antigravity `brain/`, caches), `.deepmodebot.json` `"extraWriteRoots"`, and deepmodebot's own outside writes. Guards back file tools (rule still binds shell). Clean session disposables via `assets/cleanup/self_cleanup.py --apply`.
76
64
  ## Non-negotiables
77
65
 
78
66
  For **S**, only one-line restate, single-item scope check, real-artifact proof, and (if landing) S lane apply.
79
-
80
- - **Restate first.** State goal, problem, and smallest change without waiting for confirmation (stop if premise fails).
81
- - **Scope ledger.** Track 100% of the request per Full-scope completion (M/L/multi-item use a Scope Manifest; Size S tracks its single item inline).
82
- - **Name principles.** On M/L, add a "Why I chose this" line naming each read principle (`references/principles/`) that changed a decision.
83
- - **Prove on the real artifact.** Run the real app/CLI/service and capture evidence. Reuse an existing verify skill; else drive directly; create one only when requested or justified by repeated runs. Tests alone are not proof.
84
- - **Decide; don't ask.** Fact → look up. Observable fork → Prototype. Product/design/preference → decide (Autonomy). Investigation answers read-only from evidence.
85
- - **Secrets, logins, tokens, auth** → read `skill://secrets-and-auth` first. Never print, paste, or commit secrets; use scoped short-lived identities; rotate leaks.
86
- - **Name data shape first** (`references/principles/model-the-domain.md`); new domains/DBs/layouts/boundaries also read `skill://software-architecture`.
87
- - **Comments.** Only non-obvious *why* or external constraints; no phase-narrating comments.
88
- - **Long/step-away work** → decision trail via **show-me-your-work** (`references/techniques/show-me-your-work.md`).
89
- - **PR & gate layer.** Self-review (**pr-review**) before opening; run **pr-agent** + local checks once open; land own PRs via **pr-conversation**; incoming PRs use `/deepmodebot:review-pr <PR>`. No CI/hosted bots. Run **security-audit** on merge head when opted in or touching auth, permissions, parsing, or secrets (blocking = P0).
90
-
91
- ## Autonomy
92
-
93
- - **Own PRs land on their own** when publishing/landing a PR (via **pr-conversation**) once findings resolve, linked issues are answered, panel passes, and required checks are green.
94
- - **Exact-head panel pass.** Nothing lands on default/shared branches until **panel** (`references/techniques/panel.md`) passes at that head: 3 independent verifiers, >=2 passes (including S lane). Merge via `gh pr merge --match-head-commit <sha>`, verify trunk, revert if red. Verified local S/M edits stay uncommitted.
95
- - **Decisions are yours.** Pick the smallest reversible codebase-consistent option for product/design/scope/preference calls; log trail rows and list under "Decisions I made". **Tournament** pauses at Champion + Runner-Up for discovery-only or choose-first asks; build asks continue with Champion within permissions. Others' repos keep their asks.
96
- - **Hard stops** (batch into one question at end unless asked): force-push/history rewrite on shared/default branch; deleting others' branches/data/resources; deploys/releases/publishing; external messages; bypassing forge protections; spending money/accounts; user-only credentials; outside-root writes; rewriting repo rule files (two owner yeses).
97
- - **Admin merge on own PRs.** Only on explicit land/merge ask or `"autonomousMerge": true` (`~/.config/deepmodebot/bot.json` or base-branch `.deepmodebot.json`; `false` stops and asks): `--admin` may bypass only a required review after an exact-head panel pass, never a failing/cancelled check or non-review rules (signed commits, linear history, CODEOWNERS, unresolved threads).
98
- - **Subscription, not API.** Logged-in subscriptions only (session, subagents, headless CLIs, `acpx`). Never set up API keys; unset `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, `OPENAI_API_KEY`, `CODEX_API_KEY`, `GEMINI_API_KEY`, `GOOGLE_API_KEY`, and `CLAUDE_CODE_USE_{BEDROCK,VERTEX,FOUNDRY}` in child envs.
99
- - **Finish line & candor.** Tick waypoints and start the next item in the same turn; never stop at slice 1 on single-run builds, and report deferred sprints as remaining scope. Say "no" when warranted.
100
-
101
- ## Subagents
102
-
103
- - You run the playbook; delegates own exclusive files. Roles: read-only → `scout`/`Explore`/`explorer`; diff review → `reviewer` (omp/Antigravity) or read-only general subagent with `pr-review` prompt (Claude Code/Codex); edits/runs → default agent.
104
- - Briefs state goal, absolute root, exact files, acceptance check, root-only writes, and applicable `references/principles/<name>.md` (omp omits `AGENTS.md`). Parallel delegates are **coworkers** (`references/techniques/coworkers.md`); panel verifiers vote before talking.
105
- - **Delegate only when it pays.** Multi-agent runs cost ~15x chat + cold cache. Delegate wide searches, log digests, fresh-eyes review, independent slices; keep 1-file/coupled/hard reasoning inline. Batch 3-5 spawns, pass paths, reuse warm children.
106
- - **Rate-limit & tier discipline.** Pin tiers per Route 4 (`delegation-efficiency.md`): small for search/mechanical, mid (`medium`) for oracle-backed slices, `L` (`high`) for design/debug/security/final review, cross-family for judges. Check quota (`omp usage`/`/usage`/`/status`), `/clear` between tasks, switch models at clean boundaries, cap unattended runs, back off or rotate family on 429s.
107
- - Inspect every delegate's diff and write your own summary. Fresh delegates by default; reuse only for live state.
67
+ - **Restate first** (goal, problem, smallest change) without waiting; track 100% scope (`references/full-scope.md`).
68
+ - **Hardcore mode by default (`references/principles/hardcore-mode.md`):** build the first-principles architectural ceiling (real algorithms, solvers, parallelism, full integration) rather than stubs/toy MVPs unless asked.
69
+ - **Zero reward hacking (`references/principles/no-reward-hacking.md`):** across all code, APIs, UIs, data/ML, and 3D, never weaken assertions/coverage/strictness, branch on `PYTEST_CURRENT_TEST`/`JEST_WORKER_ID` in prod, mock the SUT, add `.skip`/`--no-cov`/`continue-on-error`, or substitute stubs/primitives; lock gates first and pair checks with sealed `reward_guard.py run-judge` (`deepmodebot gate reward`).
70
+ - **Self-Improvement Memory on every harness edit (`references/techniques/sim.md`, arXiv:2611.18856):** before changing instructions, skills, hooks, gates, policy, or the loop, `sim.py read`, then `sim.py propose` (problem, edit + rationale, predicted fixes) before evaluating, then `sim.py record` the evolve-set outcome, misses included. `.deepmodebot/sim.json` is append-only and gate-enforced.
71
+ - **Owner-approved rules (`references/rule-approval.md`):** with `.deepmodebot/rules/ledger.json` in the repo or home (`~/.omp/agent`, `~/.claude`, `~/.codex`, `~/.gemini` hooks/skills/settings), never edit agent rule files (AGENTS.md, CLAUDE.md, `.cursor/rules/`, skills, agent settings; `assets/rules/rule-paths.json`); draft under `.scratch/`, run `rule_ledger.py propose [--user]`, and ask the owner to `deepmodebot rules review [--user]`. Never run `rules init|approve|reject` or edit the ledger.
72
+ - **Name principles:** on M/L, add "Why I chose this" naming each read principle (`references/principles/`) that changed a decision.
73
+ - **Prove on the real artifact (E2E Rehearsal Gate):** run the real app/CLI/service; tests alone are not proof. For E2E workflows (any app/tool/UI), grill & lock user intent first (`assets/e2e/rehearsal_gate.py init` + `approve`), record the full continuous video, watch the entire video together (never isolated frames alone), and iterate `v1..v25` until `rehearsal_gate.py verdict --strict` returns `REHEARSAL_PASSED`.
74
+ - **Clarify once upfront, then decide autonomously:** repo/doc/code fact → look up yourself; empirical engineering fork → Prototype; genuine human-intent ambiguity (`2+` distinct user outcomes) → ask `1-3` `(Recommended)`-first choices once before coding, then drive to 100% completion with zero interruptions.
75
+ - **Secrets/logins/auth** → read `skill://secrets-and-auth` first; never print/paste/commit secrets.
76
+ - **Name data shape first** (`references/principles/model-the-domain.md`; new domains/DBs/layouts → `skill://software-architecture`).
77
+ - **No lying comments:** zero narration/banner/workaround comments; run **no-comments** before review. Long work → **show-me-your-work**.
78
+ - **UI & Operate craft (`skill://frontend-ui`):** enforce 2-round `ui_audit.py` + clean-context critique, 3-seed OKLCH themes (`Accent`, `Background`, `Contrast`), directional trigger origins + submenu safe polygons, roving tiered tooltips, frozen-order multi-select pickers, anti-Christmas-tree stillness, and zero-spinner local state on daily Operate views.
79
+ - **PR & gate layer:** **pr-review** before opening (with **Intent-First Diff Guides** + **Meaningful-LOC** breakdown); **pr-agent** + local checks once open; land own PRs via **pr-conversation**; incoming PRs via `/deepmodebot:review-pr <PR>`; **security-audit** on auth/permissions/parsing/secrets (blocking = P0). No hosted review bots.
80
+
81
+ ## Autonomy & Subagents
82
+
83
+ - **Own PRs land on their own** via **pr-conversation** once findings resolve, linked issues are answered, exact-head **panel** (`references/techniques/panel.md`: 3 verifiers, >=2 passes, including S lane) passes, and checks are green. Merge via `gh pr merge --match-head-commit <sha>`, verify trunk, revert if red.
84
+ - **Admin merge:** only on explicit land/merge ask or `"autonomousMerge": true`; `--admin` may bypass only a required review after exact-head panel pass, never failing checks or non-review rules.
85
+ - **Decisions & hard stops:** pick smallest reversible codebase-consistent choice and log under "Decisions I made". Hard stops (batch once at end): force-push/history rewrite on shared/default branch; deleting others' branches/data; deploys/releases/publishing; external messages; bypassing forge protections; spending money; user-only credentials; outside-root writes; rewriting repo rule files (two owner yeses).
86
+ - **Subscription, not API:** logged-in subscriptions only; unset all provider API key env vars in child processes. Tick waypoints and keep moving; say "no" when warranted.
87
+ - **Subagents & quota (`references/delegation.md`):** Start each brief with `Read <this installed skill>/worker.md before anything else.` and give the worker exclusive files. omp loads `.omp/RULES.md` even when it drops `AGENTS.md`. Keep small work inline and reserve the three-seat panel for the final merge SHA.
88
+ - **Worker guards:** Use `assets/worker-gate/worker_gate.py` to initialize a slice and verify its receipt. Installed omp, Claude, and Antigravity hooks block unauthorized nested spawns and enforce configured slice fences on file tools. omp and Antigravity also inject the worker brief and route overhead specialists to low-cost tiers.
108
89
 
109
90
  ## Routes
110
91
 
111
- Step 2 of Route (first match wins). Techniques: `references/techniques/<name>.md`; playbooks: `references/playbooks/<file>.md`. Full catalog (30 playbooks, 52 techniques, 24 principles): `references/catalog.md`.
112
-
113
- | Request or repo looks like | Route |
114
- |---|---|
115
- | "review" a PR, or PR number/URL alone | **pr-review** (PR mode) |
116
- | "review since <ref>", branch vs spec/standards | **pr-review** (local mode) |
117
- | "land / finish / merge this PR on your own", own PR | **pr-conversation** |
118
- | "bots plan / discuss / implement issue", "@deepmodebot implement" | **issue-conversation** |
119
- | "install deepmodebot on my repos", "run the bots on their own", subscription bots | **github-app** |
120
- | "check on / babysit / get green" a PR | `babysit` |
121
- | "help on / contribute to / what can I work on", read-only repo w/ brief | `skill://contribute` |
122
- | "set up / publish for contributors", issues for helpers | `skill://project-brief` |
123
- | "run the factory", issue queue via `factory.json` | `work-a-queue` (factory) |
124
- | "drive the board / backlog", autonomous roadmap | `work-a-queue` (board) |
125
- | "autopilot this queue", "stack them, don't merge" | `work-a-queue` (PR; `stack-only`) |
126
- | "set up deepmodebot", tracker/glossary/ADRs, first spec/tickets/triage | `setup` (then resume) |
127
- | "triage issues", "is #N ready for an agent" | `triage` |
128
- | Complex domain/customer spec/"SME in the loop" (**sme-review**); "questionnaire" (**questionnaire**) | Named technique |
129
- | "vague goal into measurable milestones", "review my goal with 3 agents" | **goal-review** → `self-authoring` |
130
- | "grill me / this plan / stress-test", draft plan (`GLOSSARY.md`/`docs/adr/` → With docs) | **grill** |
131
- | "write / turn into a spec", "spec it up" | `spec` |
132
- | "break into tickets", "split spec into issues" | `tickets` |
133
- | "implement / build spec #N", "ship in sprints" | `phased-build` (sprint/build) |
134
- | Writing/editing a skill (`SKILL.md`) | `authoring-a-skill` (**writing-for-agents** first) |
135
- | Writing/editing `AGENTS.md`, `CLAUDE.md`, rule file, brief | **writing-for-agents** (`assets/agents-md/agents_md.py`) |
136
- | "write/improve prompt, skill, goal, or loop", repeated workflow | `self-authoring` |
137
- | "what do we call this"/glossary/ADR (**domain-model**); "research X" (**research**); "which flow" (`references/flows.md`); "TDD" (**tdd**) | Named target |
138
- | "hand this off", "continue in a new session", background handoff | `handoff` |
139
- | "chief of staff", "own this goal long-term", across sessions | `run-a-goal` (program) |
140
- | "loop until X", "keep going until green", "going to bed, finish it" | `run-a-goal` (session) |
141
- | Multi-session foggy route: "wayfinder", "plan migration" | `wayfinder` |
142
- | "port / rewrite / migrate" to another language | `refactoring` (Language ports) |
143
- | "security-audit PRs", security gate or audit | **security-audit** (own agent, no CI) |
144
- | "run pr-agent" on a PR | **pr-agent** |
145
- | "is there a library/project/example for X", fork/copy | **prior-art** |
146
- | "tighten/audit/harden inner loop", "stop AI code slop" | **inner-loop** |
147
- | "index/map workspace", "list Orca worktrees/open PRs", "find symbol fast" | **workspace-map** |
148
- | "what stack", "pick a stack for <app>" (stack choice only) | `skill://deep-stack` (`references/any-app-stack.md`, after **prior-art**) |
149
- | "finish / build full project end to end", "don't stop at a slice/MVP" | `end-to-end` |
150
- | Specialist: `tool-routing`, `agent-collaboration`, `visual-e2e`, `open-design-evidence`, `git-guardrails`, `pre-commit`, `scrape`, `architecture-review`, `wizard`, `course`, `re-explain`, `retro` | Named technique |
151
- | "tournament", "arena debate", "architecture/research gaps", "blind spots", "propose best system" | **tournament** |
152
- | Open/vague ambition ("rethink X", "make smarter", "build me an AI app" w/o behaviors) | **tournament** |
153
- | New app with concrete behaviors ("build me <app> that ...") | **prior-art** → `skill://deep-stack` → `end-to-end` |
154
- | Anything else | `## Playbooks` below |
155
-
156
- ## Playbooks
157
-
158
- List matched steps (`<n>. <short imperative>`) in `todo`; note skips. Full 30-playbook table: `references/catalog.md`.
92
+ Look up route paths in `autoroute.py menu --json` or `references/catalog.md`. Open the verified `locked_plan.read_targets` from Step 2; don't construct paths from bare names.
93
+
94
+ - **PRs, releases & migrations:** review PR / "review since <ref>" → **pr-review**; land own PR → **pr-conversation**; aging/stale PR → **modernize-pr**; bot issue work → **issue-conversation**; bots on own sub → **github-app**; get green → `babysit`; security gate → **security-audit** (`static_sec_audit.py` + **variant-analysis**); run pr-agent → **pr-agent**; zero-downtime DB/API cutover → **expand-contract**; post-deploy canary & release docs → **release-and-canary**.
95
+ - **Contributing & repos:** read-only repo → `skill://contribute`; publish for helpers → `skill://project-brief`; repo setup → `setup`; DX/CLI onboarding audit → **devex-review**; triage → `triage`; spec → `spec`; tickets → `tickets`; implement spec/sprints → `phased-build`; full project → `end-to-end`.
96
+ - **Queues, goals & orientation:** `factory.json`/board/PR queue → `work-a-queue`; session/program goal → `run-a-goal`; vague goal → **goal-review** → `self-authoring`; harden checks/anti-slop → **inner-loop**; index repo/worktrees/PRs/symbols → **workspace-map**; foggy multi-session → `wayfinder`; handoff → `handoff`.
97
+ - **Prompts, audits & checks:** LLM router → **autoroute**; upgrade prompt → **prompt-upgrade**; expert words / problem disambiguation → **reframe**; founder/ambition check → **product-lens**; scan repo gaps/overclaims → **suggest**; grill plan → **grill**; "are you sure" / gaps / overclaims → **self-grill** (`bundle` Prosecutor); kill weak tests / fuzz → **mutation-testing**; stuck → `bug-fix` + **self-grill**; blast radius → **blast-radius**; deepen → **sharpen**.
98
+ - **Formal proofs & statecharts:** Lean/Rocq/TLA+/SMT/Claim-DAGs → **formal-verification** (`verify_proof.py`); TLA+ model + Mermaid statechart → `skill://statechart`; author/maintain project formal verify skill → `skill://create-formal-verification-skill` / `skill://maintain-formal-verification-skill`.
99
+ - **Design, stack & SEO:** open gaps or vague ambition → **tournament**; 2+ shapes → **architect**; contested design → **interrogate**; new app → **prior-art** (`scripts/trending.py`) → `skill://deep-stack` → `end-to-end`; SEO/GEO, `llms.txt`, Schema.org, and agentic browsing → `skill://seo-and-geo` (`seo_audit.py`).
100
+ - **Docs & domain:** `.xlsx`/`.pptx`/`.docx`/`.pdf` → `skill://office-documents` (`doc_audit.py`); catch up → **recall** (video → **catchup-video**); glossary/ADR → **domain-model**; research → `skill://research` (**research**); SME → **sme-review** / **questionnaire**.
101
+ - **UI, E2E & design evidence:** A2UI (`a2ui.org`) / cockpit → **gen-ui**; webhook/Tailscale bot UI → **webhook-ui**; E2E full-video rehearsal gate (`v1..v25`, `REHEARSAL.md`) → `assets/e2e/rehearsal_gate.py` + [`visual-e2e`](references/techniques/visual-e2e.md); Penpot/editable design → **open-design-evidence**.
102
+ - **Perf & media:** backend/DB/API slowness, N+1, pools, hot loops → `perf-issue` (`assets/perf-audit/perf_audit.py` + **benchmark-checklist** + `skill://domain-rules`); video breakdown (`rea-video`/`VIDEO.md`) → **video-forensics**.
103
+ - **Build, CI, slop & memory:** parallel gates (`deepmodebot gate slop|reward|sim|ci|perf|ui|seo|docs|sec|cleanup|agents|skill-check|map|guard|gap`); `native/dmb-net`: `trending|pr-overlap|fetch-papers|webhook`. Bootstrap with `project_setup.py --install-hooks`; see `references/catalog.md` for tools and fallbacks.
104
+ - **Gate fallbacks:** `local_ci.py`, `slop_gate.py`, `reward_guard.py`, `sim.py`, `gap_audit.py`, and `project_memory.py`.
105
+ - **Build & maintenance techniques:** model and budget → **model-setup** (`model_setup.py`); TDD → **tdd**; comments → **no-comments**; prose → **unslop** + **technical-writing**; garden → **correct**; fan-out → **swarm**/**arena**; port → `refactoring`.
106
+ - **Skills, rules & meta:** edit `SKILL.md` → `authoring-a-skill` (**writing-for-agents** first); edit `AGENTS.md`/`CLAUDE.md`/brief → **writing-for-agents** (`assets/agents-md/agents_md.py`); prompt/loop → `self-authoring`; specialist (`tool-routing`, `git-guardrails`, `pre-commit`, `scrape`, `architecture-review`, `wizard`, `course`, `re-explain`, `reflect`, `retro`, `tracker`, `agent-collaboration`) → named technique.
107
+ ## Playbooks & Principles
108
+
109
+ List matched playbook steps (`<n>. <short imperative>`) in `todo`; note skips. Read `references/principles/<name>.md` before citing. Full tables: `references/catalog.md`.
159
110
 
160
111
  - **Diagnose:** `investigation`, `bug-fix`, `perf-issue`, `hillclimb`, `runtime-forensics`, `trace-forensics`.
161
- - **Build:** `feature`, `end-to-end`, `refactoring`, `prototype`, `visual-parity`, `reference-rebuild`.
162
- - **Meta:** `authoring-a-skill`, `self-authoring`, `eval`.
163
- - **Plan & ship:** `setup`, `spec`, `tickets`, `triage`, `phased-build`, `wayfinder`, `babysit`, `shipping`, `opening-a-pr`.
164
- - **Autonomous & continuity:** `run-a-goal`, `work-a-queue`, `session-pickup`, `pause-safely`, `handoff`, `worktree-cleanup`. Bespoke large effort → **figure-it-out**.
165
-
166
- ## Technique triggers
167
-
168
- M/L when a rule changes work; skip for S. All 52 techniques: `references/catalog.md`. Names = deepmodebot's files.
169
-
170
- - **New build** → **prior-art** (`scripts/trending.py`). **2+ shapes** → **architect**. **Open gaps/vague** → **tournament**. **Draft plan** → **grill**.
171
- - **Complex domain** → **sme-review** + **questionnaire**. **Loops/slop** → **inner-loop**. **Orient/Orca/PRs/tokens** → **workspace-map** + `guard-the-context-window` + `delegation-efficiency.md`.
172
- - **Numbers** → **benchmark-checklist**. **Prose** → **unslop** + **technical-writing**. **Pre-review** → **no-comments**. **Repeated fix** → **correct** + `self-authoring`.
173
- - **Terms/ADRs** → **domain-model**. **Research** → **research**. **Issues** → **tracker**. **Fan-out** → **swarm** / **arena**. **Contested design** → **interrogate**.
174
-
175
- ## Principles
176
-
177
- Read `references/principles/<name>.md` before citing; definitions in `references/catalog.md`.
178
-
179
- - **Core:** `laziness-protocol`, `foundational-thinking`, `redesign-from-first-principles`, `attack-the-premise`, `subtract-before-you-add`, `minimize-reader-load`, `outcome-oriented-execution`, `experience-first`, `exhaust-the-design-space`, `build-the-lever`.
180
- - **Architecture:** `model-the-domain`, `boundary-discipline`, `type-system-discipline`, `make-operations-idempotent`, `migrate-callers-then-delete-legacy-apis`, `separate-before-serializing-shared-state`.
181
- - **Verification:** `prove-it-works`, `fix-root-causes`, `sequence-verifiable-units`, `test-behavior-not-implementation`, `explain-the-number`.
182
- - **Delegation & Meta:** `guard-the-context-window`, `never-block-on-the-human`, `encode-lessons-in-structure`.
112
+ - **Build & Meta:** `feature`, `end-to-end`, `refactoring`, `prototype`, `visual-parity`, `reference-rebuild`, `authoring-a-skill`, `self-authoring`, `eval`.
113
+ - **Plan, Ship & Continuity:** `setup`, `spec`, `tickets`, `triage`, `phased-build`, `wayfinder`, `babysit`, `shipping`, `opening-a-pr`, `run-a-goal`, `work-a-queue`, `session-pickup`, `pause-safely`, `handoff`, `worktree-cleanup`. Bespoke large effort → **figure-it-out**.
114
+ - **Principles (Core & Architecture):** `hardcore-mode`, `laziness-protocol`, `foundational-thinking`, `redesign-from-first-principles`, `attack-the-premise`, `subtract-before-you-add`, `minimize-reader-load`, `outcome-oriented-execution`, `experience-first`, `exhaust-the-design-space`, `build-the-lever`; `model-the-domain`, `boundary-discipline`, `type-system-discipline`, `make-operations-idempotent`, `migrate-callers-then-delete-legacy-apis`, `separate-before-serializing-shared-state`.
115
+ - **Principles (Verification, Delegation & Meta):** `prove-it-works`, `no-reward-hacking`, `fix-root-causes`, `sequence-verifiable-units`, `test-behavior-not-implementation`, `explain-the-number`; `guard-the-context-window`, `never-block-on-the-human`, `encode-lessons-in-structure`.
183
116
 
184
117
  ## Reference library
185
118
 
186
119
  Read entry skill first; full index: `references/README.md`:
187
- - UI/motion/color/a11y/chat → `skill://frontend-ui`; stack/UI design/proof → `skill://deep-stack`
120
+ - UI/motion/color/a11y/chat/A2UI → `skill://frontend-ui`; stack/UI design/proof → `skill://deep-stack`; SEO/GEO/Schema.org/`llms.txt`/Agentic Browsing → `skill://seo-and-geo`
121
+ - Spreadsheets (`.xlsx`), slide decks (`.pptx`), Word docs (`.docx`), and PDFs (`.pdf`) → `skill://office-documents`
188
122
  - Harnesses (omp/Claude/Codex/Antigravity), MCP/ACP, tiers → `skill://agent-harnesses` (`langchain-ecosystem.md`, `ai-sdk-selection.md`)
189
- - Secrets/logins/MFA/OAuth/auth → `skill://secrets-and-auth`; repo/domain/DB/backend → `skill://software-architecture`
190
- - Agents/LLMs/AWS/backend/languages/DevOps/debug → `skill://domain-rules`
123
+ - Secrets/logins/MFA/OAuth/auth → `skill://secrets-and-auth`; repo/domain/DB/pools/backend → `skill://software-architecture`
124
+ - Agents/LLMs/AWS/high-scale backend/cache/languages/DevOps/debug → `skill://domain-rules`
191
125
  - Docker/K8s/cloud/IAM/policy/pipelines/IaC/emulators → `skill://cloud-devsecops`
126
+ - Deep learning, RL, neural nets, world models, geometric/SciML & weight-space programming (`wsp.py`) → `skill://deep-learning`
127
+ - Build an agent control adapter for a desktop, terminal, mobile or headless app → `skill://app-automation-relay`
128
+ - TLA+ statechart compiler & formal verification lifecycle → `skill://statechart`, `skill://create-formal-verification-skill`, `skill://maintain-formal-verification-skill`
192
129
 
193
130
  ## Writing the reply
194
131
 
195
- - Short declarative sentences, one thought each; no long dashes or mid-sentence colons (colons before lists ok).
132
+ - Short declarative sentences, one thought each; no long dashes or mid-sentence colons (colons before lists ok). Keep prose tight without truncating lists; project audits, `/suggest`, `/research`, and `/tournament` list **all** verified high-leverage tasks (`1..N`) by wave instead of stopping at 1-3 items.
196
133
  - Keep required playbook sections; lead with consumer/maintainer impact before detail.
197
- - Never fabricate links/citations/outputs; link only what you produced/read; label claims (measured, inferred, guess); never hand off checks you can run.
134
+ - Never fabricate links/citations/outputs; link only what you produced/read; never overclaim (counts/guarantees must match fresh observed runs); label claims (measured, inferred, guess); never hand off checks you can run.
198
135
  - **No machinery.** Omit skills, playbooks, routes, sizes, verify bookkeeping, pre-authorizations, models/subagents, internal codes unless required by a playbook section or "Why I chose this". Report result, proof, risks, blockers; mention machinery only when it affects trust.
@@ -1,16 +1,14 @@
1
1
  #!/usr/bin/env python3
2
- """Generate or refresh a repo's AGENTS.md and CLAUDE.md (deepmodebot "writing-for-agents" technique).
2
+ """Generate or refresh a repo's AGENTS.md, CLAUDE.md, and sticky .omp/RULES.md.
3
3
 
4
4
  python agents_md.py build [path] [--overwrite] [--dry-run]
5
5
  python agents_md.py check [path]
6
6
  python agents_md.py user [--write]
7
7
 
8
8
  AGENTS.md is the one home for the rules. CLAUDE.md imports it with `@AGENTS.md`, because Claude Code reads
9
- CLAUDE.md, not AGENTS.md. build writes a managed block between deepmodebot markers and keeps everything outside it;
10
- running it again refreshes the block in place. --overwrite replaces both whole files after copying the old ones to
11
- <root>/.scratch/agents-md-backup/<timestamp>/. The block holds the finish-line rule, the repo's real check commands
12
- (from `loop.py audit`), and where scratch files go.
13
- check exits 1 when either file lacks the current block, so a stale block fails a repo check.
9
+ CLAUDE.md, not AGENTS.md. omp `task` workers load .omp/RULES.md instead. build refreshes only the managed blocks;
10
+ --overwrite replaces all three files after backing them up under <root>/.scratch/agents-md-backup/<timestamp>/.
11
+ check exits 1 when any managed block is missing or stale.
14
12
  user previews the finish-line block for ~/.claude/CLAUDE.md, which Claude Code loads in every project; --write adds
15
13
  it. That file is the user's own config: write it only on the user's explicit yes.
16
14
  """
@@ -22,6 +20,8 @@ import shutil
22
20
  import sys
23
21
  import time
24
22
 
23
+ sys.dont_write_bytecode = True
24
+
25
25
 
26
26
  def load_loop():
27
27
  """loop.py is a sibling asset, not an installed package; load it by path for its repo audit."""
@@ -48,6 +48,7 @@ FINISH_LINE = """## Finish line
48
48
  4. Passing tests or a working demo mean "this part works", not "the request is done".
49
49
  5. When you shrink or skip a part, say so at that moment, not in a caveats list at the end.
50
50
  6. When asked "are we done?", answer with the list first.
51
+ 7. Passing a check by weakening tests/types/thresholds, stubbing the system under test, overwriting snapshots, or faking outputs is reward hacking, not done.
51
52
  """
52
53
 
53
54
 
@@ -55,9 +56,14 @@ def code_list(commands):
55
56
  return ", ".join(f"`{cmd}`" for cmd in commands)
56
57
 
57
58
 
58
- def repo_block(report):
59
+ def repo_block(report, root=None):
59
60
  layers = report["layers"]
60
61
  lines = [FINISH_LINE, "## Checks", ""]
62
+ has_ci = bool(root and os.path.isfile(os.path.join(root, ".deepmodebot", "ci.yml")))
63
+ has_policy = bool(root and os.path.isfile(os.path.join(root, ".deepmodebot", "policy.xml")))
64
+ if has_ci:
65
+ lines.append("- Local CI gate (mandatory before reporting done or opening a PR): run `.deepmodebot/ci.yml` via "
66
+ "`python -B <deepmodebot skill>/assets/local-ci/local_ci.py run --cached`.")
61
67
  static, tests = layers["static_checks"], layers["test_checks"]
62
68
  if static and not tests:
63
69
  lines.append(f"- Checks, after every edit and before calling a part done: {code_list(static)}. No separate "
@@ -71,15 +77,45 @@ def repo_block(report):
71
77
  lines.append(f"- Live proof: the {code_list(layers['runtime_verify'])} skill. Tests alone are not proof.")
72
78
  else:
73
79
  lines.append("- Live proof: run the real app, CLI, or service path. Tests alone are not proof.")
74
- lines += ["", "## Work area", "",
75
- "- Scratch, temp files, logs, and evidence go in `.scratch/` (git-ignored), never system temp.", ""]
80
+ lines += ["", "## Work area & memory", "",
81
+ "- Scratch, temp files, logs, and evidence go in `.scratch/` (git-ignored), never system temp."]
82
+ if has_policy:
83
+ lines.append("- Governance policy: `.deepmodebot/policy.xml` (containment, CI gate, UI gate, hard stops).")
84
+ if has_ci or has_policy:
85
+ lines.append("- Project memory DB: `.scratch/deepmode-memory.db` (SQLite WAL+FTS5); recall compact XML via "
86
+ "`project_memory.py recall --format xml --budget-tokens 800`.")
87
+ if root and os.path.isfile(os.path.join(root, ".deepmodebot", "sim.json")):
88
+ lines.append("- Self-Improvement Memory (arXiv:2611.18856): before editing harness files (agent instructions, skills, "
89
+ "hooks, gates, policy), run `<deepmodebot skill>/assets/sim/sim.py read`, cite or open a problem with "
90
+ "`sim.py propose` (edit, rationale, predicted fixes) before evaluating, then `sim.py record` the "
91
+ "evolve-set outcome, misses included. `.deepmodebot/sim.json` is append-only; the slop gate blocks "
92
+ "harness edits without a new attempt.")
93
+ lines.append("")
76
94
  return "\n".join(lines)
77
-
78
-
79
95
  def wrap(body):
80
96
  return f"{BEGIN}\n{body.rstrip()}\n{END}\n"
81
97
 
82
98
 
99
+ def omp_rules_block(report, root=None):
100
+ layers = report["layers"]
101
+ lines = [
102
+ "- Execute inline: 0 child spawns unless kickoff authorizes a model tier and cap. Read the installed `worker.md` for role rules.",
103
+ "- Edit only assigned `owned_files`; escalate shared contract changes to the coordinator. Keep narration, banner, and workaround comments out of code.",
104
+ "- Zero reward hacking: keep assertions, types, coverage, and thresholds strict; verify the real system and preserve provenance.",
105
+ "- Keep all writes inside the project. Set `TMPDIR`, `TMP`, and `TEMP` to `<root>/.scratch/tmp/`; keep worktrees in `<main>/.worktrees/` and run Python with `-B`.",
106
+ ]
107
+ for label, key in (("Repo fast checks", "static_checks"), ("Repo tests", "test_checks"),
108
+ ("Live proof", "runtime_verify")):
109
+ if layers[key]:
110
+ lines.append(f"- {label}: {code_list(layers[key])}.")
111
+ if not layers["runtime_verify"]:
112
+ lines.append("- Live proof: run the real app, CLI, or service path.")
113
+ lines.append("- Run scoped checks on your slice; leave whole-repo checks to the build owner in parallel work.")
114
+ if root and os.path.isfile(os.path.join(root, ".deepmodebot", "sim.json")):
115
+ lines.append("- Before harness edits, read `sim.py read` output and stage `sim.py propose` or use the coordinator's staged attempt. Record the outcome with `sim.py record` when you own the attempt.")
116
+ return wrap("\n".join(lines))
117
+
118
+
83
119
  def upsert(text, block):
84
120
  """Replace the managed block in text, or append it. Text outside the markers is kept byte for byte."""
85
121
  if "<!-- deepmodebot:begin" in text and not BLOCK_RE.search(text):
@@ -92,9 +128,12 @@ def upsert(text, block):
92
128
 
93
129
 
94
130
  def safe_target(root, name):
95
- path = os.path.join(root, name)
96
- if os.path.islink(path):
97
- raise SystemExit(f"{name} is a symlink; refusing to write through it")
131
+ path = root
132
+ is_junction = getattr(os.path, "isjunction", lambda _: False)
133
+ for part in name.split("/"):
134
+ path = os.path.join(path, part)
135
+ if os.path.islink(path) or is_junction(path):
136
+ raise SystemExit(f"{path} is a symlink or junction; refusing to write through it")
98
137
  return path
99
138
 
100
139
 
@@ -112,12 +151,14 @@ def write(path, text):
112
151
 
113
152
 
114
153
  def planned(root, overwrite):
115
- """Return {file name: (path, current text, wanted text)} for AGENTS.md and CLAUDE.md."""
116
- agents_block = wrap(repo_block(audit_repo(root)))
154
+ """Return {file name: (path, current text, wanted text)} for each managed instruction file."""
155
+ report = audit_repo(root)
156
+ agents_block = wrap(repo_block(report, root=root))
117
157
  claude_block = wrap("@AGENTS.md")
118
158
  plan = {}
119
159
  for name, block, title in (("AGENTS.md", agents_block, "# Agent instructions"),
120
- ("CLAUDE.md", claude_block, "# Claude Code")):
160
+ ("CLAUDE.md", claude_block, "# Claude Code"),
161
+ (".omp/RULES.md", omp_rules_block(report, root=root), "# Sticky worker rules")):
121
162
  path = safe_target(root, name)
122
163
  current = read(path)
123
164
  if overwrite:
@@ -135,10 +176,11 @@ def backup(root, plan):
135
176
  ignore = os.path.join(root, ".scratch", ".gitignore")
136
177
  if not os.path.exists(ignore):
137
178
  write(ignore, "*\n")
138
- for name, (path, current, _) in plan.items():
179
+ for name, (path, _, _) in plan.items():
139
180
  if os.path.exists(path):
140
- os.makedirs(folder, exist_ok=True)
141
- shutil.copy2(path, os.path.join(folder, name))
181
+ dest = os.path.join(folder, name)
182
+ os.makedirs(os.path.dirname(dest), exist_ok=True)
183
+ shutil.copy2(path, dest)
142
184
  return folder
143
185
 
144
186
 
@@ -162,11 +204,12 @@ def run_build(opts):
162
204
 
163
205
  def run_check(opts):
164
206
  root = project_root(opts.path)
165
- stale = [name for name, (_, current, wanted) in planned(root, False).items() if wanted != current]
207
+ plan = planned(root, False)
208
+ stale = [name for name, (_, current, wanted) in plan.items() if wanted != current]
166
209
  for name in stale:
167
210
  print(f"{name}: missing or stale deepmodebot block; run `agents_md.py build`")
168
211
  if not stale:
169
- print("AGENTS.md and CLAUDE.md: up to date")
212
+ print(f"{', '.join(plan)}: up to date")
170
213
  return 1 if stale else 0
171
214
 
172
215
 
@@ -191,11 +234,11 @@ def run_user(opts):
191
234
  def main():
192
235
  parser = argparse.ArgumentParser(description=__doc__.splitlines()[0])
193
236
  sub = parser.add_subparsers(dest="action", required=True)
194
- build = sub.add_parser("build", help="create or refresh AGENTS.md and CLAUDE.md")
237
+ build = sub.add_parser("build", help="create or refresh the managed instruction files")
195
238
  build.add_argument("path", nargs="?", default=".")
196
239
  build.add_argument("--overwrite", action="store_true", help="replace whole files, backing up the old ones")
197
240
  build.add_argument("--dry-run", action="store_true", help="print the files and write nothing")
198
- check = sub.add_parser("check", help="exit 1 when either file lacks the current block")
241
+ check = sub.add_parser("check", help="exit 1 when a managed instruction block is missing or stale")
199
242
  check.add_argument("path", nargs="?", default=".")
200
243
  user = sub.add_parser("user", help="preview, or --write, the finish-line block in ~/.claude/CLAUDE.md")
201
244
  user.add_argument("--write", action="store_true")