deepmodebot 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (691) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.claude-plugin/marketplace.json +2 -2
  3. package/.omp-plugin/marketplace.json +2 -2
  4. package/README.md +29 -5
  5. package/bin/deepmodebot.mjs +187 -10
  6. package/lib/clients.mjs +50 -3
  7. package/lib/tree.mjs +64 -10
  8. package/lib/version.mjs +26 -0
  9. package/native/dmb-gate/Cargo.toml +13 -0
  10. package/native/dmb-gate/src/agents.rs +77 -0
  11. package/native/dmb-gate/src/ci.rs +516 -0
  12. package/native/dmb-gate/src/cleanup.rs +198 -0
  13. package/native/dmb-gate/src/gap.rs +1376 -0
  14. package/native/dmb-gate/src/guard.rs +135 -0
  15. package/native/dmb-gate/src/main.rs +327 -0
  16. package/native/dmb-gate/src/map.rs +173 -0
  17. package/native/dmb-gate/src/perf.rs +347 -0
  18. package/native/dmb-gate/src/reward.rs +1214 -0
  19. package/native/dmb-gate/src/skill_check.rs +171 -0
  20. package/native/dmb-gate/src/slop.rs +1238 -0
  21. package/native/dmb-gate/src/ui.rs +842 -0
  22. package/native/dmb-gate/src/util.rs +260 -0
  23. package/native/dmb-net/go.mod +3 -0
  24. package/native/dmb-net/main.go +624 -0
  25. package/native/dmb-net/main_test.go +122 -0
  26. package/package.json +12 -2
  27. package/plugins/deepmodebot/.antigravity-plugin/plugin.json +1 -1
  28. package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +5 -5
  29. package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +1 -1
  30. package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +2 -2
  31. package/plugins/deepmodebot/.antigravity-plugin/skills/suggest/SKILL.md +13 -0
  32. package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +2 -2
  33. package/plugins/deepmodebot/.claude-plugin/plugin.json +1 -1
  34. package/plugins/deepmodebot/.codex-plugin/plugin.json +46 -0
  35. package/plugins/deepmodebot/agents/comment-sicko/agent.md +35 -0
  36. package/plugins/deepmodebot/agents/researcher/agent.md +33 -0
  37. package/plugins/deepmodebot/agents/reviewer/agent.md +4 -2
  38. package/plugins/deepmodebot/agents/scout/agent.md +11 -12
  39. package/plugins/deepmodebot/agents/security-reviewer/agent.md +2 -1
  40. package/plugins/deepmodebot/commands/deep.md +6 -6
  41. package/plugins/deepmodebot/commands/research.md +8 -0
  42. package/plugins/deepmodebot/commands/suggest.md +10 -0
  43. package/plugins/deepmodebot/commands/tournament.md +2 -2
  44. package/plugins/deepmodebot/hooks/hooks.json +2 -2
  45. package/plugins/deepmodebot/hooks.json +1 -1
  46. package/plugins/deepmodebot/scripts/antigravity-guard.mjs +140 -7
  47. package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +179 -47
  48. package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +4 -6
  49. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +3 -0
  50. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +4 -0
  51. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +3 -1
  52. package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +2 -2
  53. package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +12 -2
  54. package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +11 -3
  55. package/plugins/deepmodebot/skills/app-automation-relay/SKILL.md +17 -0
  56. package/plugins/deepmodebot/skills/app-automation-relay/assets/relay_server.ts +364 -0
  57. package/plugins/deepmodebot/skills/app-automation-relay/references/adapter-cookbook.md +15 -0
  58. package/plugins/deepmodebot/skills/app-automation-relay/references/wire-protocol.md +23 -0
  59. package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +4 -3
  60. package/plugins/deepmodebot/skills/cloud-devsecops/references/cloudflare-edge.md +43 -0
  61. package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +15 -2
  62. package/plugins/deepmodebot/skills/contribute/SKILL.md +3 -35
  63. package/plugins/deepmodebot/skills/create-formal-verification-skill/LICENSE +21 -0
  64. package/plugins/deepmodebot/skills/create-formal-verification-skill/NOTICE.md +16 -0
  65. package/plugins/deepmodebot/skills/create-formal-verification-skill/SKILL.md +71 -0
  66. package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +2 -2
  67. package/plugins/deepmodebot/skills/deep-learning/LICENSE +21 -0
  68. package/plugins/deepmodebot/skills/deep-learning/SKILL.md +33 -0
  69. package/plugins/deepmodebot/skills/deep-learning/references/neural-architectures.md +43 -0
  70. package/plugins/deepmodebot/skills/deep-learning/references/papers-and-repos.md +128 -0
  71. package/plugins/deepmodebot/skills/deep-learning/references/reinforcement-learning.md +57 -0
  72. package/plugins/deepmodebot/skills/deep-learning/references/training-optimization.md +40 -0
  73. package/plugins/deepmodebot/skills/deep-learning/references/weight-space-programming.md +76 -0
  74. package/plugins/deepmodebot/skills/deep-learning/scripts/hf_passes.py +166 -0
  75. package/plugins/deepmodebot/skills/deep-learning/scripts/wsp.py +493 -0
  76. package/plugins/deepmodebot/skills/deep-stack/SKILL.md +1 -1
  77. package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +46 -92
  78. package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +1 -0
  79. package/plugins/deepmodebot/skills/deep-stack/references/prove.md +6 -0
  80. package/plugins/deepmodebot/skills/deep-stack/references/stack.md +11 -1
  81. package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +74 -145
  82. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +18 -6
  83. package/plugins/deepmodebot/skills/deepmodebot/assets/autoroute/autoroute.py +1021 -0
  84. package/plugins/deepmodebot/skills/deepmodebot/assets/cleanup/self_cleanup.py +305 -0
  85. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +98 -5
  86. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +106 -5
  87. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +3 -0
  88. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +2 -0
  89. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/rehearsal_gate.py +536 -0
  90. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +2 -0
  91. package/plugins/deepmodebot/skills/deepmodebot/assets/formal-verification/verify_proof.py +638 -0
  92. package/plugins/deepmodebot/skills/deepmodebot/assets/gap-audit/gap_audit.py +1053 -0
  93. package/plugins/deepmodebot/skills/deepmodebot/assets/gen-ui/gen_ui.py +1782 -0
  94. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +7 -0
  95. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +3 -2
  96. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +9 -5
  97. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +2 -0
  98. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +2 -0
  99. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/local_ci.py +540 -0
  100. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/slop_gate.py +642 -0
  101. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +2 -1
  102. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +2 -1
  103. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +2 -0
  104. package/plugins/deepmodebot/skills/deepmodebot/assets/memory/project_memory.py +529 -0
  105. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +48 -21
  106. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +339 -5
  107. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +96 -6
  108. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +2 -0
  109. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +2 -0
  110. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +2 -0
  111. package/plugins/deepmodebot/skills/deepmodebot/assets/prompt-tools/prompt_tools.py +1239 -0
  112. package/plugins/deepmodebot/skills/deepmodebot/assets/quota-guard/quota_guard.py +424 -0
  113. package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +477 -1
  114. package/plugins/deepmodebot/skills/deepmodebot/assets/reward-guard/reward_guard.py +1597 -0
  115. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule-paths.json +57 -0
  116. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule_ledger.py +1645 -0
  117. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +2 -0
  118. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +2 -0
  119. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +13 -10
  120. package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/static_sec_audit.py +275 -0
  121. package/plugins/deepmodebot/skills/deepmodebot/assets/self-grill/self_grill.py +1473 -0
  122. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/model_setup.py +329 -0
  123. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/project_setup.py +312 -0
  124. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +304 -18
  125. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +121 -78
  126. package/plugins/deepmodebot/skills/deepmodebot/references/README.md +14 -0
  127. package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +16 -11
  128. package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +2 -1
  129. package/plugins/deepmodebot/skills/deepmodebot/references/delegation.md +14 -0
  130. package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +2 -0
  131. package/plugins/deepmodebot/skills/deepmodebot/references/full-scope.md +9 -0
  132. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +2 -0
  133. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +12 -9
  134. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +7 -3
  135. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +2 -0
  136. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +4 -4
  137. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +1 -1
  138. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +13 -10
  139. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +6 -6
  140. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +1 -0
  141. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +3 -1
  142. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +1 -2
  143. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +1 -0
  144. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +4 -2
  145. package/plugins/deepmodebot/skills/deepmodebot/references/principles/hardcore-mode.md +7 -0
  146. package/plugins/deepmodebot/skills/deepmodebot/references/principles/no-reward-hacking.md +8 -0
  147. package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +2 -1
  148. package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +2 -2
  149. package/plugins/deepmodebot/skills/deepmodebot/references/rule-approval.md +51 -0
  150. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +10 -24
  151. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +5 -4
  152. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +3 -3
  153. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/autoroute.md +49 -0
  154. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +1 -1
  155. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/catchup-video.md +13 -0
  156. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +8 -7
  157. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +2 -1
  158. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/devex-review.md +13 -0
  159. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/expand-contract.md +13 -0
  160. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/formal-verification.md +33 -0
  161. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/gen-ui.md +60 -0
  162. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +2 -1
  163. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +7 -18
  164. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +7 -7
  165. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/model-setup.md +14 -0
  166. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/modernize-pr.md +15 -0
  167. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/mutation-testing.md +13 -0
  168. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +5 -5
  169. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +7 -3
  170. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +1 -1
  171. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +8 -5
  172. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +1 -2
  173. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +33 -38
  174. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/product-lens.md +12 -0
  175. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prompt-upgrade.md +30 -0
  176. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +1 -1
  177. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reframe.md +18 -0
  178. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/release-and-canary.md +10 -0
  179. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +62 -89
  180. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +5 -1
  181. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/self-grill.md +54 -0
  182. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +3 -3
  183. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +7 -0
  184. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +3 -2
  185. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/suggest.md +24 -0
  186. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +7 -0
  187. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +2 -2
  188. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +12 -11
  189. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/variant-analysis.md +11 -0
  190. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/video-forensics.md +46 -0
  191. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +10 -1
  192. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/webhook-ui.md +11 -0
  193. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +6 -0
  194. package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +7 -0
  195. package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +141 -18
  196. package/plugins/deepmodebot/skills/deepmodebot/worker.md +16 -0
  197. package/plugins/deepmodebot/skills/domain-rules/SKILL.md +13 -119
  198. package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +19 -1
  199. package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +7 -0
  200. package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +11 -0
  201. package/plugins/deepmodebot/skills/domain-rules/references/sources.md +108 -0
  202. package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +30 -131
  203. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/canvas.css +42 -0
  204. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/editorial.css +39 -0
  205. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/layouts.css +95 -0
  206. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/swiss.css +40 -0
  207. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/tactile.css +41 -0
  208. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/workbench.css +50 -0
  209. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-animations.md +49 -0
  210. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +46 -24
  211. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +27 -258
  212. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +26 -51
  213. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +22 -195
  214. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/00-art-direction.md +39 -0
  215. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +27 -24
  216. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +23 -17
  217. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +22 -45
  218. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +11 -0
  219. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +32 -152
  220. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +36 -91
  221. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +14 -120
  222. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +11 -10
  223. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +9 -9
  224. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06b-media-icons-charts.md +19 -0
  225. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06c-product-shots-craft.md +42 -0
  226. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +5 -6
  227. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +28 -56
  228. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +9 -7
  229. package/plugins/deepmodebot/skills/frontend-ui/scripts/motion_diff.py +259 -0
  230. package/plugins/deepmodebot/skills/frontend-ui/scripts/ui_audit.py +496 -0
  231. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/LICENSE +21 -0
  232. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/NOTICE.md +16 -0
  233. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/SKILL.md +68 -0
  234. package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +1 -1
  235. package/plugins/deepmodebot/skills/office-documents/SKILL.md +24 -0
  236. package/plugins/deepmodebot/skills/office-documents/references/documents-docx-pdf.md +15 -0
  237. package/plugins/deepmodebot/skills/office-documents/references/presentations-pptx.md +15 -0
  238. package/plugins/deepmodebot/skills/office-documents/references/spreadsheets-xlsx.md +15 -0
  239. package/plugins/deepmodebot/skills/office-documents/scripts/doc_audit.py +230 -0
  240. package/plugins/deepmodebot/skills/project-brief/SKILL.md +2 -19
  241. package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +4 -0
  242. package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +4 -0
  243. package/plugins/deepmodebot/skills/project-brief/references/claim-contract.md +55 -0
  244. package/plugins/deepmodebot/skills/research/SKILL.md +18 -0
  245. package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +1 -1
  246. package/plugins/deepmodebot/skills/seo-and-geo/SKILL.md +29 -0
  247. package/plugins/deepmodebot/skills/seo-and-geo/references/geo-and-agentic-web.md +30 -0
  248. package/plugins/deepmodebot/skills/seo-and-geo/references/technical-and-schema.md +25 -0
  249. package/plugins/deepmodebot/skills/seo-and-geo/scripts/seo_audit.py +282 -0
  250. package/plugins/deepmodebot/skills/software-architecture/SKILL.md +2 -2
  251. package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +5 -0
  252. package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +1 -0
  253. package/plugins/deepmodebot/skills/statechart/LICENSE +21 -0
  254. package/plugins/deepmodebot/skills/statechart/NOTICE.md +21 -0
  255. package/plugins/deepmodebot/skills/statechart/SKILL.md +106 -0
  256. package/plugins/deepmodebot/skills/statechart/references/render.md +93 -0
  257. package/plugins/deepmodebot/skills/statechart/references/tooling.md +78 -0
  258. package/plugins/deepmodebot/skills/statechart/scripts/backends/cfg.ts +33 -0
  259. package/plugins/deepmodebot/skills/statechart/scripts/backends/mermaid.ts +249 -0
  260. package/plugins/deepmodebot/skills/statechart/scripts/backends/plain-text.ts +72 -0
  261. package/plugins/deepmodebot/skills/statechart/scripts/backends/report.ts +177 -0
  262. package/plugins/deepmodebot/skills/statechart/scripts/frontends/config.ts +276 -0
  263. package/plugins/deepmodebot/skills/statechart/scripts/frontends/dot.ts +77 -0
  264. package/plugins/deepmodebot/skills/statechart/scripts/frontends/marks.ts +93 -0
  265. package/plugins/deepmodebot/skills/statechart/scripts/frontends/messages.ts +52 -0
  266. package/plugins/deepmodebot/skills/statechart/scripts/frontends/spec.ts +114 -0
  267. package/plugins/deepmodebot/skills/statechart/scripts/frontends/trace.ts +24 -0
  268. package/plugins/deepmodebot/skills/statechart/scripts/frontends/value.ts +166 -0
  269. package/plugins/deepmodebot/skills/statechart/scripts/frontends/verdict.ts +40 -0
  270. package/plugins/deepmodebot/skills/statechart/scripts/frontends/view.ts +119 -0
  271. package/plugins/deepmodebot/skills/statechart/scripts/ir.ts +547 -0
  272. package/plugins/deepmodebot/skills/statechart/scripts/janitor.ts +13 -0
  273. package/plugins/deepmodebot/skills/statechart/scripts/kill.ts +15 -0
  274. package/plugins/deepmodebot/skills/statechart/scripts/package.json +11 -0
  275. package/plugins/deepmodebot/skills/statechart/scripts/passes/annotate.ts +128 -0
  276. package/plugins/deepmodebot/skills/statechart/scripts/passes/label.ts +269 -0
  277. package/plugins/deepmodebot/skills/statechart/scripts/passes/lift.ts +85 -0
  278. package/plugins/deepmodebot/skills/statechart/scripts/passes/loop-check.ts +68 -0
  279. package/plugins/deepmodebot/skills/statechart/scripts/passes/paths.ts +60 -0
  280. package/plugins/deepmodebot/skills/statechart/scripts/passes/reach.ts +135 -0
  281. package/plugins/deepmodebot/skills/statechart/scripts/passes/region-check.ts +97 -0
  282. package/plugins/deepmodebot/skills/statechart/scripts/passes/regions.ts +295 -0
  283. package/plugins/deepmodebot/skills/statechart/scripts/pipeline.ts +76 -0
  284. package/plugins/deepmodebot/skills/statechart/scripts/run.ts +500 -0
  285. package/plugins/deepmodebot/skills/statechart/scripts/statechart +29 -0
  286. package/plugins/deepmodebot/skills/statechart/scripts/statechart.ts +165 -0
  287. package/plugins/deepmodebot/skills/statechart/scripts/test/ConfigOracle.java +63 -0
  288. package/plugins/deepmodebot/skills/statechart/scripts/test/chart.test.ts +1253 -0
  289. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Braces.mmd +7 -0
  290. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Escapes.mmd +11 -0
  291. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Phases.mmd +29 -0
  292. package/plugins/deepmodebot/skills/statechart/scripts/test/cli.test.ts +1344 -0
  293. package/plugins/deepmodebot/skills/statechart/scripts/test/config-fuzz.test.ts +263 -0
  294. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/ChartRun.out +57 -0
  295. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.cfg +3 -0
  296. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.tla +10 -0
  297. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/chart.mmd +9 -0
  298. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/graph.dot +16 -0
  299. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/report.md +7 -0
  300. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/sany.out +2 -0
  301. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/verdict-1.out +49 -0
  302. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/ChartRun.out +60 -0
  303. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.cfg +4 -0
  304. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.tla +22 -0
  305. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/chart.mmd +26 -0
  306. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/graph.dot +19 -0
  307. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/report.md +20 -0
  308. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/sany.out +2 -0
  309. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.exit +1 -0
  310. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.out +56 -0
  311. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.exit +1 -0
  312. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.out +82 -0
  313. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-3.out +57 -0
  314. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/ChartRun.out +59 -0
  315. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.cfg +3 -0
  316. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.tla +11 -0
  317. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/chart.mmd +22 -0
  318. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/graph.dot +16 -0
  319. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/report.md +17 -0
  320. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/sany.out +2 -0
  321. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.exit +1 -0
  322. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.out +56 -0
  323. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.exit +1 -0
  324. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.out +77 -0
  325. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/ChartRun.out +69 -0
  326. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.cfg +2 -0
  327. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.tla +11 -0
  328. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/chart.mmd +85 -0
  329. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/graph.dot +70 -0
  330. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/report.md +12 -0
  331. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/sany.out +2 -0
  332. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.exit +1 -0
  333. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.out +67 -0
  334. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-2.out +57 -0
  335. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.exit +1 -0
  336. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.out +85 -0
  337. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.cfg +6 -0
  338. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.tla +13 -0
  339. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/chart.mmd +5 -0
  340. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/graph.dot +10 -0
  341. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/report.md +31 -0
  342. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/sany.out +2 -0
  343. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.exit +1 -0
  344. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.out +64 -0
  345. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.exit +1 -0
  346. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.out +77 -0
  347. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/ChartRun.out +55 -0
  348. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.cfg +3 -0
  349. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.tla +10 -0
  350. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/chart.mmd +12 -0
  351. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/graph.dot +6 -0
  352. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/report.md +12 -0
  353. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/sany.out +2 -0
  354. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.exit +1 -0
  355. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.out +33 -0
  356. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-2.out +54 -0
  357. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/ChartRun.out +54 -0
  358. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.cfg +3 -0
  359. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.tla +10 -0
  360. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/chart.mmd +1 -0
  361. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/graph.dot +6 -0
  362. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/report.md +7 -0
  363. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/sany.out +2 -0
  364. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/verdict-1.out +46 -0
  365. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/ChartRun.out +59 -0
  366. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.cfg +2 -0
  367. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.tla +10 -0
  368. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterSteps.tla +6 -0
  369. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/chart.mmd +17 -0
  370. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/graph.dot +15 -0
  371. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/report.md +14 -0
  372. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/sany.out +3 -0
  373. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.exit +1 -0
  374. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.out +78 -0
  375. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/ChartRun.out +59 -0
  376. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.cfg +3 -0
  377. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.tla +19 -0
  378. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/chart.mmd +26 -0
  379. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/graph.dot +22 -0
  380. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/report.md +12 -0
  381. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/sany.out +2 -0
  382. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.exit +1 -0
  383. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.out +58 -0
  384. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-2.out +57 -0
  385. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/ChartRun.out +57 -0
  386. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.cfg +2 -0
  387. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.tla +11 -0
  388. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/chart.mmd +17 -0
  389. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/graph.dot +15 -0
  390. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/report.md +14 -0
  391. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/sany.out +2 -0
  392. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.exit +1 -0
  393. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.out +76 -0
  394. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/ChartRun.out +59 -0
  395. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.cfg +3 -0
  396. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.tla +11 -0
  397. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/chart.mmd +19 -0
  398. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/graph.dot +10 -0
  399. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/report.md +15 -0
  400. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/sany.out +2 -0
  401. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.exit +1 -0
  402. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.out +56 -0
  403. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.exit +1 -0
  404. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.out +67 -0
  405. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/ChartRun.out +62 -0
  406. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.cfg +6 -0
  407. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.tla +24 -0
  408. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/Moves.tla +5 -0
  409. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/chart.mmd +22 -0
  410. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/graph.dot +10 -0
  411. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/report.md +23 -0
  412. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/sany.out +3 -0
  413. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.exit +1 -0
  414. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.out +58 -0
  415. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.exit +1 -0
  416. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.out +66 -0
  417. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.exit +1 -0
  418. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.out +74 -0
  419. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-4.out +59 -0
  420. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/ChartRun.out +58 -0
  421. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.cfg +3 -0
  422. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.tla +15 -0
  423. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/chart.mmd +18 -0
  424. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/graph.dot +13 -0
  425. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/report.md +11 -0
  426. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/sany.out +2 -0
  427. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.exit +1 -0
  428. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.out +33 -0
  429. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-2.out +57 -0
  430. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/ChartRun.out +57 -0
  431. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.cfg +3 -0
  432. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.tla +15 -0
  433. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/chart.mmd +7 -0
  434. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/graph.dot +13 -0
  435. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/report.md +6 -0
  436. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/sany.out +2 -0
  437. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/verdict-1.out +49 -0
  438. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/ChartRun.out +61 -0
  439. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.cfg +4 -0
  440. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.tla +14 -0
  441. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/chart.mmd +30 -0
  442. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/graph.dot +19 -0
  443. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/report.md +27 -0
  444. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/sany.out +2 -0
  445. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.exit +1 -0
  446. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.out +56 -0
  447. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.exit +1 -0
  448. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.out +64 -0
  449. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.exit +1 -0
  450. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.out +87 -0
  451. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-4.out +57 -0
  452. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/ChartRun.out +60 -0
  453. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.cfg +3 -0
  454. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.tla +12 -0
  455. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/chart.mmd +23 -0
  456. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/graph.dot +19 -0
  457. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/report.md +11 -0
  458. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/sany.out +2 -0
  459. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.exit +1 -0
  460. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.out +56 -0
  461. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-2.out +57 -0
  462. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/ChartRun.out +61 -0
  463. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.cfg +4 -0
  464. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.tla +14 -0
  465. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/chart.mmd +23 -0
  466. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/graph.dot +19 -0
  467. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/report.md +27 -0
  468. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/sany.out +2 -0
  469. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.exit +1 -0
  470. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.out +56 -0
  471. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.exit +1 -0
  472. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.out +64 -0
  473. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.exit +1 -0
  474. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.out +87 -0
  475. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-4.out +57 -0
  476. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/view.mjs +1 -0
  477. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/ChartRun.out +59 -0
  478. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.cfg +4 -0
  479. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.tla +38 -0
  480. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/chart.mmd +92 -0
  481. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/graph.dot +126 -0
  482. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/report.md +17 -0
  483. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/sany.out +2 -0
  484. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.exit +1 -0
  485. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.out +91 -0
  486. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-2.out +57 -0
  487. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/ChartRun.out +61 -0
  488. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.cfg +6 -0
  489. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.tla +11 -0
  490. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/chart.mmd +22 -0
  491. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/graph.dot +16 -0
  492. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/report.md +25 -0
  493. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/sany.out +2 -0
  494. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.exit +1 -0
  495. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.out +56 -0
  496. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.exit +1 -0
  497. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.out +64 -0
  498. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.exit +1 -0
  499. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.out +64 -0
  500. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.exit +1 -0
  501. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.out +77 -0
  502. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/ChartRun.out +57 -0
  503. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.cfg +4 -0
  504. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.tla +11 -0
  505. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/chart.mmd +13 -0
  506. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/graph.dot +12 -0
  507. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/report.md +11 -0
  508. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/sany.out +2 -0
  509. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.exit +1 -0
  510. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.out +72 -0
  511. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/ChartRun.out +57 -0
  512. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.cfg +3 -0
  513. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.tla +62 -0
  514. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/chart.mmd +28 -0
  515. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/graph.dot +40 -0
  516. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/report.md +7 -0
  517. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/sany.out +1 -0
  518. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/verdict-1.out +47 -0
  519. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/view.mjs +1 -0
  520. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/ChartRun.out +57 -0
  521. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.cfg +2 -0
  522. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.tla +64 -0
  523. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/chart.mmd +28 -0
  524. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/graph.dot +37 -0
  525. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/report.md +8 -0
  526. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/sany.out +1 -0
  527. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/verdict-1.out +47 -0
  528. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/view.mjs +1 -0
  529. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/ChartRun.out +60 -0
  530. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.cfg +3 -0
  531. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.tla +64 -0
  532. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/chart.mmd +44 -0
  533. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/graph.dot +58 -0
  534. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/report.md +17 -0
  535. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/sany.out +1 -0
  536. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.exit +1 -0
  537. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.out +83 -0
  538. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-2.out +57 -0
  539. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/view.mjs +1 -0
  540. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/ChartRun.out +60 -0
  541. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.cfg +3 -0
  542. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.tla +103 -0
  543. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/chart.mmd +43 -0
  544. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/graph.dot +93 -0
  545. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/report.md +14 -0
  546. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/sany.out +1 -0
  547. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.exit +1 -0
  548. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.out +59 -0
  549. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-2.out +72 -0
  550. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/view.mjs +3 -0
  551. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/ChartRun.out +57 -0
  552. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.cfg +2 -0
  553. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.tla +100 -0
  554. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/chart.mmd +31 -0
  555. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/graph.dot +85 -0
  556. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/report.md +9 -0
  557. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/sany.out +1 -0
  558. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/verdict-1.out +47 -0
  559. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/view.mjs +3 -0
  560. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/ChartRun.out +59 -0
  561. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayer.tla +103 -0
  562. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.cfg +3 -0
  563. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.tla +6 -0
  564. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/chart.mmd +42 -0
  565. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/graph.dot +93 -0
  566. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/report.md +19 -0
  567. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/sany.out +2 -0
  568. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.exit +1 -0
  569. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.out +61 -0
  570. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-2.out +59 -0
  571. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-3.out +61 -0
  572. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.exit +1 -0
  573. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.out +66 -0
  574. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.exit +1 -0
  575. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.out +58 -0
  576. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-6.out +49 -0
  577. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/view.mjs +3 -0
  578. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/ChartRun.out +57 -0
  579. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.cfg +6 -0
  580. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.tla +11 -0
  581. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/chart.mmd +5 -0
  582. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/graph.dot +11 -0
  583. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/report.md +7 -0
  584. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/sany.out +5 -0
  585. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/verdict-1.out +70 -0
  586. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ChartRun.out +61 -0
  587. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.cfg +4 -0
  588. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.tla +11 -0
  589. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowLib.tla +6 -0
  590. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowSub.tla +3 -0
  591. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/chart.mmd +9 -0
  592. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/graph.dot +16 -0
  593. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/report.md +8 -0
  594. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/sany.out +4 -0
  595. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/verdict-1.out +65 -0
  596. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/ChartRun.out +59 -0
  597. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.cfg +2 -0
  598. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.tla +9 -0
  599. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/chart.mmd +23 -0
  600. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/graph.dot +17 -0
  601. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/report.md +15 -0
  602. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/sany.out +1 -0
  603. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.exit +1 -0
  604. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.out +65 -0
  605. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.exit +1 -0
  606. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.out +75 -0
  607. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/ChartRun.out +69 -0
  608. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.cfg +3 -0
  609. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.tla +75 -0
  610. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/chart.mmd +60 -0
  611. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/graph.dot +297 -0
  612. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/report.md +20 -0
  613. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/sany.out +1 -0
  614. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.exit +1 -0
  615. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.out +95 -0
  616. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-2.out +57 -0
  617. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/view.mjs +1 -0
  618. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/ChartRun.out +57 -0
  619. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.cfg +3 -0
  620. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.tla +75 -0
  621. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/chart.mmd +37 -0
  622. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/graph.dot +223 -0
  623. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/report.md +11 -0
  624. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/sany.out +1 -0
  625. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/verdict-1.out +47 -0
  626. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/view.mjs +1 -0
  627. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.exit +1 -0
  628. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.out +75 -0
  629. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.cfg +5 -0
  630. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.tla +11 -0
  631. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/chart.mmd +18 -0
  632. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/graph.dot +14 -0
  633. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/report.md +29 -0
  634. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/sany.out +2 -0
  635. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.exit +1 -0
  636. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.out +64 -0
  637. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.exit +1 -0
  638. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.out +75 -0
  639. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/ChartRun.out +58 -0
  640. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.cfg +2 -0
  641. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.tla +8 -0
  642. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/chart.mmd +22 -0
  643. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/graph.dot +16 -0
  644. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/report.md +15 -0
  645. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/sany.out +2 -0
  646. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.exit +1 -0
  647. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.out +56 -0
  648. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.exit +1 -0
  649. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.out +77 -0
  650. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus.test.ts +441 -0
  651. package/plugins/deepmodebot/skills/statechart/scripts/test/differential.test.ts +565 -0
  652. package/plugins/deepmodebot/skills/statechart/scripts/test/drawn.ts +20 -0
  653. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.cfg +2 -0
  654. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.tla +9 -0
  655. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/sany.out +2 -0
  656. package/plugins/deepmodebot/skills/statechart/scripts/test/java.ts +63 -0
  657. package/plugins/deepmodebot/skills/statechart/scripts/test/labels.ts +648 -0
  658. package/plugins/deepmodebot/skills/statechart/scripts/test/messages.test.ts +226 -0
  659. package/plugins/deepmodebot/skills/statechart/scripts/test/pipeline.test.ts +270 -0
  660. package/plugins/deepmodebot/skills/statechart/scripts/test/plain-tlc.test.ts +255 -0
  661. package/plugins/deepmodebot/skills/statechart/scripts/test/render.test.ts +145 -0
  662. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc-out.test.ts +90 -0
  663. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc.ts +158 -0
  664. package/plugins/deepmodebot/skills/statechart/scripts/tsconfig.json +11 -0
  665. package/plugins/deepmodebot/skills/statechart/scripts/worker.ts +35 -0
  666. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +0 -391
  667. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +0 -146
  668. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +0 -483
  669. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +0 -139
  670. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +0 -301
  671. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +0 -602
  672. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +0 -69
  673. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +0 -160
  674. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +0 -180
  675. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +0 -265
  676. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +0 -192
  677. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +0 -2182
  678. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +0 -19
  679. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +0 -691
  680. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +0 -127
  681. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +0 -496
  682. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +0 -1426
  683. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +0 -320
  684. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +0 -326
  685. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +0 -55
  686. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +0 -53
  687. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +0 -94
  688. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +0 -610
  689. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +0 -250
  690. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +0 -654
  691. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +0 -879
@@ -27,13 +27,15 @@ import sys
27
27
  import time
28
28
  from pathlib import Path
29
29
 
30
+ sys.dont_write_bytecode = True
31
+
30
32
  SCHEMA_VERSION = 2
31
33
  MAX_FILE_BYTES = 256 * 1024
32
34
  MAX_SIGNATURE_CHARS = 120
33
35
  PR_TTL_SECONDS = 180.0
34
36
  DEFAULT_OVERVIEW_BYTES = 1400
35
37
  DEFAULT_PRUNE_DAYS = 30
36
- MMAP_SIZE_BYTES = 67_108_864
38
+ MMAP_SIZE_BYTES = 0
37
39
  MAX_DIRTY_CHECK_WORKTREES = 16
38
40
  CREATE_NO_WINDOW = getattr(subprocess, "CREATE_NO_WINDOW", 0)
39
41
 
@@ -929,6 +931,11 @@ def sync_files_and_symbols(conn, repo_info):
929
931
  files_indexed = 0
930
932
  files_skipped = 0
931
933
  files_filtered = 0
934
+ file_updates = []
935
+ delete_sym_ids = []
936
+ pending_existing_syms = []
937
+ file_inserts = []
938
+ pending_new_syms = []
932
939
 
933
940
  for rel_path, blob_sha in tracked:
934
941
  if should_skip_relpath(rel_path):
@@ -976,28 +983,50 @@ def sync_files_and_symbols(conn, repo_info):
976
983
 
977
984
  if prev is not None:
978
985
  file_id = prev[0]
979
- conn.execute(
980
- "UPDATE files SET mtime_ns = ?, size = ?, lang = ?, role = ?, blob_sha = ? WHERE id = ?",
981
- (st.st_mtime_ns, st.st_size, lang, role, blob_sha, file_id),
982
- )
983
- conn.execute("DELETE FROM symbols WHERE file_id = ?", (file_id,))
986
+ file_updates.append((st.st_mtime_ns, st.st_size, lang, role, blob_sha, file_id))
987
+ delete_sym_ids.append((file_id,))
988
+ if symbols:
989
+ for name, kind, line, sig in symbols:
990
+ pending_existing_syms.append((file_id, repo_key, target_wt, rel_path, name, kind, line, sig))
984
991
  else:
985
- cur = conn.execute(
986
- "INSERT INTO files(repo_key, worktree_key, rel_path, mtime_ns, size, lang, role, blob_sha) "
987
- "VALUES(?, ?, ?, ?, ?, ?, ?, ?)",
988
- (repo_key, target_wt, rel_path, st.st_mtime_ns, st.st_size, lang, role, blob_sha),
989
- )
990
- file_id = cur.lastrowid
991
-
992
- if symbols:
993
- conn.executemany(
994
- "INSERT INTO symbols(file_id, repo_key, worktree_key, rel_path, name, kind, line, signature) "
995
- "VALUES(?, ?, ?, ?, ?, ?, ?, ?)",
996
- [(file_id, repo_key, target_wt, rel_path, name, kind, line, sig) for name, kind, line, sig in symbols],
997
- )
992
+ file_inserts.append((repo_key, target_wt, rel_path, st.st_mtime_ns, st.st_size, lang, role, blob_sha))
993
+ if symbols:
994
+ pending_new_syms.append((rel_path, symbols))
998
995
  seen_target.add(rel_path)
999
996
  files_indexed += 1
1000
997
 
998
+ if file_updates:
999
+ conn.executemany(
1000
+ "UPDATE files SET mtime_ns = ?, size = ?, lang = ?, role = ?, blob_sha = ? WHERE id = ?",
1001
+ file_updates,
1002
+ )
1003
+ if delete_sym_ids:
1004
+ conn.executemany("DELETE FROM symbols WHERE file_id = ?", delete_sym_ids)
1005
+ if file_inserts:
1006
+ conn.executemany(
1007
+ "INSERT INTO files(repo_key, worktree_key, rel_path, mtime_ns, size, lang, role, blob_sha) "
1008
+ "VALUES(?, ?, ?, ?, ?, ?, ?, ?)",
1009
+ file_inserts,
1010
+ )
1011
+ if pending_new_syms:
1012
+ new_id_map = {
1013
+ r["rel_path"]: r["id"]
1014
+ for r in conn.execute(
1015
+ "SELECT id, rel_path FROM files WHERE repo_key = ? AND worktree_key = ?",
1016
+ (repo_key, target_wt),
1017
+ ).fetchall()
1018
+ }
1019
+ for rel_path, symbols in pending_new_syms:
1020
+ fid = new_id_map.get(rel_path)
1021
+ if fid is not None:
1022
+ for name, kind, line, sig in symbols:
1023
+ pending_existing_syms.append((fid, repo_key, target_wt, rel_path, name, kind, line, sig))
1024
+ if pending_existing_syms:
1025
+ conn.executemany(
1026
+ "INSERT INTO symbols(file_id, repo_key, worktree_key, rel_path, name, kind, line, signature) "
1027
+ "VALUES(?, ?, ?, ?, ?, ?, ?, ?)",
1028
+ pending_existing_syms,
1029
+ )
1001
1030
  removed_ids = [file_id for rel_path, (file_id, _, _, _) in existing.items() if rel_path not in seen_target]
1002
1031
  if removed_ids:
1003
1032
  conn.executemany("DELETE FROM files WHERE id = ?", [(fid,) for fid in removed_ids])
@@ -1225,6 +1254,7 @@ def sync_workspaces(conn, repo_info, no_orca=False, include_foreign_orca=False,
1225
1254
  if orca_rows is not None:
1226
1255
  orca_used = True
1227
1256
  main_prefix = repo_key + "/"
1257
+ foreign_orca_rows = []
1228
1258
  for row in orca_rows:
1229
1259
  wkey = row["worktree_key"]
1230
1260
  if wkey in by_key:
@@ -1263,26 +1293,27 @@ def sync_workspaces(conn, repo_info, no_orca=False, include_foreign_orca=False,
1263
1293
  foreign = resolve_repo(row["raw_path"])
1264
1294
  if foreign and foreign["repo_key"] != repo_key:
1265
1295
  upsert_repo_row(conn, foreign, touch_sync=False)
1266
- conn.execute(
1267
- """INSERT INTO workspaces(
1268
- worktree_key, repo_key, path, branch, head_sha, is_main, is_detached,
1269
- is_dirty, dirty_count, source, orca_id, orca_name, orca_host, orca_status, updated_at
1270
- ) VALUES(?, ?, ?, ?, '', ?, ?, ?, ?, 'orca', ?, ?, ?, ?, ?)
1271
- ON CONFLICT(worktree_key) DO UPDATE SET
1272
- repo_key=excluded.repo_key, path=excluded.path, branch=excluded.branch,
1273
- source=CASE WHEN workspaces.source='git' THEN 'git+orca' ELSE excluded.source END,
1274
- orca_id=excluded.orca_id, orca_name=excluded.orca_name,
1275
- orca_host=excluded.orca_host, orca_status=excluded.orca_status,
1276
- updated_at=excluded.updated_at""",
1277
- (
1278
- wkey, foreign["repo_key"], row["path"], row["branch"],
1279
- 1 if wkey == foreign["repo_key"] else 0,
1280
- 0 if row["branch"] else 1,
1281
- row["is_dirty"], 1 if row["is_dirty"] else 0,
1282
- row["orca_id"], row["orca_name"], row["orca_host"], row["orca_status"], now,
1283
- ),
1284
- )
1285
-
1296
+ foreign_orca_rows.append((
1297
+ wkey, foreign["repo_key"], row["path"], row["branch"],
1298
+ 1 if wkey == foreign["repo_key"] else 0,
1299
+ 0 if row["branch"] else 1,
1300
+ row["is_dirty"], 1 if row["is_dirty"] else 0,
1301
+ row["orca_id"], row["orca_name"], row["orca_host"], row["orca_status"], now,
1302
+ ))
1303
+ if foreign_orca_rows:
1304
+ conn.executemany(
1305
+ """INSERT INTO workspaces(
1306
+ worktree_key, repo_key, path, branch, head_sha, is_main, is_detached,
1307
+ is_dirty, dirty_count, source, orca_id, orca_name, orca_host, orca_status, updated_at
1308
+ ) VALUES(?, ?, ?, ?, '', ?, ?, ?, ?, 'orca', ?, ?, ?, ?, ?)
1309
+ ON CONFLICT(worktree_key) DO UPDATE SET
1310
+ repo_key=excluded.repo_key, path=excluded.path, branch=excluded.branch,
1311
+ source=CASE WHEN workspaces.source='git' THEN 'git+orca' ELSE excluded.source END,
1312
+ orca_id=excluded.orca_id, orca_name=excluded.orca_name,
1313
+ orca_host=excluded.orca_host, orca_status=excluded.orca_status,
1314
+ updated_at=excluded.updated_at""",
1315
+ foreign_orca_rows,
1316
+ )
1286
1317
  existing_keys = {
1287
1318
  r["worktree_key"]
1288
1319
  for r in conn.execute("SELECT worktree_key FROM workspaces WHERE repo_key = ?", (repo_key,))
@@ -1296,8 +1327,16 @@ def sync_workspaces(conn, repo_info, no_orca=False, include_foreign_orca=False,
1296
1327
  [(repo_key, k) for k in stale_keys],
1297
1328
  )
1298
1329
 
1299
- for wt in by_key.values():
1300
- conn.execute(
1330
+ wt_params = [
1331
+ (
1332
+ wt["worktree_key"], repo_key, wt["path"], wt["branch"], wt["head_sha"],
1333
+ wt["is_main"], wt["is_detached"], wt["is_dirty"], wt["dirty_count"],
1334
+ wt["source"], wt["orca_id"], wt["orca_name"], wt["orca_host"], wt["orca_status"], now,
1335
+ )
1336
+ for wt in by_key.values()
1337
+ ]
1338
+ if wt_params:
1339
+ conn.executemany(
1301
1340
  """INSERT INTO workspaces(
1302
1341
  worktree_key, repo_key, path, branch, head_sha, is_main, is_detached,
1303
1342
  is_dirty, dirty_count, source, orca_id, orca_name, orca_host, orca_status, updated_at
@@ -1308,11 +1347,7 @@ def sync_workspaces(conn, repo_info, no_orca=False, include_foreign_orca=False,
1308
1347
  is_dirty=excluded.is_dirty, dirty_count=excluded.dirty_count, source=excluded.source,
1309
1348
  orca_id=excluded.orca_id, orca_name=excluded.orca_name, orca_host=excluded.orca_host,
1310
1349
  orca_status=excluded.orca_status, updated_at=excluded.updated_at""",
1311
- (
1312
- wt["worktree_key"], repo_key, wt["path"], wt["branch"], wt["head_sha"],
1313
- wt["is_main"], wt["is_detached"], wt["is_dirty"], wt["dirty_count"],
1314
- wt["source"], wt["orca_id"], wt["orca_name"], wt["orca_host"], wt["orca_status"], now,
1315
- ),
1350
+ wt_params,
1316
1351
  )
1317
1352
  return len(by_key), orca_used
1318
1353
 
@@ -1380,12 +1415,29 @@ def sync_prs(conn, repo_info, offline=False, force_prs=False):
1380
1415
  return count, True
1381
1416
 
1382
1417
  seen_nums = set()
1418
+ pr_params = []
1383
1419
  for pr in items:
1384
1420
  if not isinstance(pr, dict) or not isinstance(pr.get("number"), int):
1385
1421
  continue
1386
1422
  num = pr["number"]
1387
1423
  seen_nums.add(num)
1388
- conn.execute(
1424
+ pr_params.append((
1425
+ repo_key,
1426
+ num,
1427
+ cap_sig(str(pr.get("title") or ""), 120),
1428
+ str(pr.get("headRefName") or ""),
1429
+ str(pr.get("baseRefName") or ""),
1430
+ str(pr.get("state") or "OPEN"),
1431
+ 1 if pr.get("isDraft") else 0,
1432
+ str(pr.get("mergeStateStatus") or ""),
1433
+ str(pr.get("reviewDecision") or ""),
1434
+ summarize_checks(pr.get("statusCheckRollup")),
1435
+ str(pr.get("url") or ""),
1436
+ str(pr.get("updatedAt") or ""),
1437
+ now,
1438
+ ))
1439
+ if pr_params:
1440
+ conn.executemany(
1389
1441
  """INSERT INTO prs(
1390
1442
  repo_key, number, title, head_branch, base_branch, state, is_draft,
1391
1443
  merge_state, review_decision, checks_summary, url, updated_at, synced_at
@@ -1395,23 +1447,8 @@ def sync_prs(conn, repo_info, offline=False, force_prs=False):
1395
1447
  state=excluded.state, is_draft=excluded.is_draft, merge_state=excluded.merge_state,
1396
1448
  review_decision=excluded.review_decision, checks_summary=excluded.checks_summary,
1397
1449
  url=excluded.url, updated_at=excluded.updated_at, synced_at=excluded.synced_at""",
1398
- (
1399
- repo_key,
1400
- num,
1401
- cap_sig(str(pr.get("title") or ""), 120),
1402
- str(pr.get("headRefName") or ""),
1403
- str(pr.get("baseRefName") or ""),
1404
- str(pr.get("state") or "OPEN"),
1405
- 1 if pr.get("isDraft") else 0,
1406
- str(pr.get("mergeStateStatus") or ""),
1407
- str(pr.get("reviewDecision") or ""),
1408
- summarize_checks(pr.get("statusCheckRollup")),
1409
- str(pr.get("url") or ""),
1410
- str(pr.get("updatedAt") or ""),
1411
- now,
1412
- ),
1450
+ pr_params,
1413
1451
  )
1414
-
1415
1452
  existing_nums = {
1416
1453
  r["number"] for r in conn.execute("SELECT number FROM prs WHERE repo_key = ?", (repo_key,))
1417
1454
  }
@@ -1650,8 +1687,17 @@ def sync_project_state(conn, repo_info):
1650
1687
  [(repo_key, wkey, sk) for sk in stale],
1651
1688
  )
1652
1689
 
1653
- for rec in records.values():
1654
- conn.execute(
1690
+ state_params = [
1691
+ (
1692
+ repo_key, wkey, rec["state_key"], rec["source_kind"], rec["source_path"], rec["product"],
1693
+ rec["active_sprint"], rec["passed_slices"], rec["active_slices"], rec["total_slices"],
1694
+ rec["deferred_count"], rec["pending_inventory"], rec["sme_gate_blocked"],
1695
+ rec["last_exit_code"], rec["last_exit_reason"], now,
1696
+ )
1697
+ for rec in records.values()
1698
+ ]
1699
+ if state_params:
1700
+ conn.executemany(
1655
1701
  """INSERT INTO project_state(
1656
1702
  repo_key, worktree_key, state_key, source_kind, source_path, product,
1657
1703
  active_sprint, passed_slices, active_slices, total_slices, deferred_count,
@@ -1664,12 +1710,7 @@ def sync_project_state(conn, repo_info):
1664
1710
  deferred_count=excluded.deferred_count, pending_inventory=excluded.pending_inventory,
1665
1711
  sme_gate_blocked=excluded.sme_gate_blocked, last_exit_code=excluded.last_exit_code,
1666
1712
  last_exit_reason=excluded.last_exit_reason, updated_at=excluded.updated_at""",
1667
- (
1668
- repo_key, wkey, rec["state_key"], rec["source_kind"], rec["source_path"], rec["product"],
1669
- rec["active_sprint"], rec["passed_slices"], rec["active_slices"], rec["total_slices"],
1670
- rec["deferred_count"], rec["pending_inventory"], rec["sme_gate_blocked"],
1671
- rec["last_exit_code"], rec["last_exit_reason"], now,
1672
- ),
1713
+ state_params,
1673
1714
  )
1674
1715
  return len(records)
1675
1716
 
@@ -2294,14 +2335,15 @@ def cmd_prune(opts):
2294
2335
  conn = connect_db(db_path)
2295
2336
  try:
2296
2337
  drop_repos = []
2297
- for row in conn.execute("SELECT repo_key, main_checkout, last_sync_ts FROM repos").fetchall():
2338
+ wt_max_by_repo = {
2339
+ r[0]: float(r[1] or 0.0)
2340
+ for r in conn.execute("SELECT repo_key, MAX(updated_at) FROM workspaces GROUP BY repo_key").fetchall()
2341
+ }
2342
+ repo_rows = conn.execute("SELECT repo_key, main_checkout, last_sync_ts FROM repos").fetchall()
2343
+ for row in repo_rows:
2298
2344
  last_ts = float(row["last_sync_ts"] or 0.0)
2299
2345
  if last_ts <= 0.0:
2300
- wt_ts = conn.execute(
2301
- "SELECT MAX(updated_at) FROM workspaces WHERE repo_key = ?",
2302
- (row["repo_key"],),
2303
- ).fetchone()[0]
2304
- last_ts = float(wt_ts or 0.0)
2346
+ last_ts = wt_max_by_repo.get(row["repo_key"], 0.0)
2305
2347
  stale = (last_ts <= 0.0 and float(opts.days) >= 0.0) or (last_ts > 0.0 and last_ts < cutoff)
2306
2348
  if not os.path.isdir(row["main_checkout"]) or stale:
2307
2349
  drop_repos.append(row["repo_key"])
@@ -2309,7 +2351,8 @@ def cmd_prune(opts):
2309
2351
  conn.executemany("DELETE FROM repos WHERE repo_key = ?", [(k,) for k in drop_repos])
2310
2352
 
2311
2353
  drop_wts = []
2312
- for row in conn.execute("SELECT repo_key, worktree_key, path, updated_at FROM workspaces").fetchall():
2354
+ wt_rows = conn.execute("SELECT repo_key, worktree_key, path, updated_at FROM workspaces").fetchall()
2355
+ for row in wt_rows:
2313
2356
  stale = row["updated_at"] and row["updated_at"] < cutoff
2314
2357
  if not os.path.isdir(row["path"]) or stale:
2315
2358
  drop_wts.append((row["repo_key"], row["worktree_key"]))
@@ -22,6 +22,8 @@ For vague intent, quantitative milestones and independent two-of-three goal revi
22
22
 
23
23
  **Credentials and agent authentication** (sharing secrets and `.env` safely, password managers, logins and MFA for agents, credential brokers, protecting MCP servers and agent APIs, OAuth delegation, CI OIDC, secret scanning, leak response) → `skill://secrets-and-auth`. It holds the free-first picks, the rules, and the cited research, checked 2026-11-11.
24
24
 
25
+ **Rule approval** (which agent rule files and memory conventions the owner has approved, proposing a rule change, owner-only `deepmodebot rules` commands, the ledger and its gate) → `references/rule-approval.md`.
26
+
25
27
  **Architecture: monorepos, ontology, databases, backend infrastructure** (repo layout and workspace tooling, domain vocabulary and typed models, knowledge graphs and semantic layers, choosing, organizing, or migrating a database, multi-tenancy, queues and durable workflows, API style, reliability, observability, deployment, IaC) → `skill://software-architecture`, then only the file it routes to. Cited and dated 2026-11-11; it builds on `skill://domain-rules/references/backend-system-design.md` and the model-the-domain principle rather than repeating them.
26
28
 
27
29
  **Agent-assisted language rewrites** (assessing a Rust migration, choosing incremental replacement versus an all-at-once port, or preserving behavior during a rewrite) → `references/rust-migration-case-studies.md`. Cited accounts from the GitHub Copilot runtime and Bun; reported outcomes are separate from transferable guidance.
@@ -43,6 +45,15 @@ For vague intent, quantitative milestones and independent two-of-three goal revi
43
45
 
44
46
  Frontend evidence and media live in the private `TimothyVang/frontend` (skip if inaccessible). When you need them, shallow-clone read-only to gitignored `.scratch/refs/frontend` (reference-only exception to the no-nested-project-repos rule) and never commit from it.
45
47
 
48
+
49
+ **Technical SEO, GEO/AEO, Schema.org & Agentic Web readiness** (auditing or shipping indexable HTML, Core Web Vitals, JSON-LD, `robots.txt` AI crawler rules, `sitemap.xml`, `/llms.txt`, and browser-agent-ready forms) → `skill://seo-and-geo` (`scripts/seo_audit.py`).
50
+
51
+ **Office & document engineering** (creating, editing, extracting, or verifying `.xlsx` financial/formula spreadsheets, `.pptx` widescreen decks, `.docx` reports/redlines, and `.pdf` documents/forms) → `skill://office-documents` (`scripts/doc_audit.py`).
52
+
53
+ **Deep learning, RL, neural networks & weight-space programming** (non-LLM neural architectures, reinforcement learning, world models, geometric/scientific ML, training optimization, and gradient-free `READ`/`FIX`/`WRITE` weight-space edits via `scripts/wsp.py`) → `skill://deep-learning`, then only the reference file the task touches (`weight-space-programming.md`, `reinforcement-learning.md`, `neural-architectures.md`, `training-optimization.md`, `papers-and-repos.md`).
54
+
55
+ **App automation relay:** for revision-checked `observe → act → wait` over native app interfaces, see `skill://app-automation-relay`. Its `assets/relay_server.ts` is a runnable Bun HTTP/stdio starter.
56
+
46
57
  **Cloud security and DevSecOps rules** come from `skill://cloud-devsecops` (cited reports in `TimothyVang/cloud-devsecops`, private — skip direct repo cloning if inaccessible; its `SKILL.md` lists them). They cover securing and wiring up a cloud, where `skill://domain-rules/references/aws-networking.md` covers how AWS networking works. Read the file the task touches before designing, reviewing, or changing cloud access, policy, or pipelines:
47
58
 
48
59
  - AWS accounts, Organizations, SCP/RCP, IAM, GuardDuty or Security Hub, KMS, or CI access to AWS → `skill://cloud-devsecops/references/aws.md`.
@@ -57,5 +68,8 @@ Frontend evidence and media live in the private `TimothyVang/frontend` (skip if
57
68
  **Verification and contributor sibling skills** bundled alongside deepmodebot:
58
69
  - Creating a repo `verify-<app>` skill when repeated journeys justify one → `skill://create-verification-skill`.
59
70
  - Auditing or updating an existing `verify-<app>` skill as features drift → `skill://maintain-verification-skill`.
71
+ - Creating a project-local formal verification skill (TLA+, proof assistant, SMT, or bounded code verifier) → `skill://create-formal-verification-skill`.
72
+ - Bringing formal models/harnesses back in sync after code changes without weakening properties → `skill://maintain-formal-verification-skill`.
73
+ - Checking a TLA+ state model and rendering shortest-counterexample Mermaid statecharts → `skill://statechart`.
60
74
  - Picking unclaimed non-overlapping work in someone else's repo → `skill://contribute`.
61
75
  - Publishing a newcomer `PROJECT_BRIEF.md`, task board, and overlap guardrails for contributors → `skill://project-brief`.
@@ -1,6 +1,6 @@
1
1
  # Deepmodebot catalog
2
2
 
3
- On-demand index of deepmodebot's autonomous modes, all 30 playbooks, 52 techniques, 24 principles, and habits. `SKILL.md` holds the binding rules and compact router; read only the section and linked file your task needs. Paths are relative to this skill.
3
+ On-demand index of deepmodebot's autonomous modes, all 30 playbooks, 70 techniques, 26 principles, and habits. `SKILL.md` holds the binding rules and compact router; read only the section and linked file your task needs. Paths are relative to this skill.
4
4
 
5
5
  ## Running without the human
6
6
 
@@ -57,11 +57,14 @@ Every playbook lives at `references/playbooks/<file>.md`. Open a `todo` list wit
57
57
 
58
58
  Large cross-cutting work with no clean fit, or step-away work that must be trusted later, routes to `references/techniques/figure-it-out.md` (designs a bespoke rigorous playbook). Standing multi-day programs route to `references/playbooks/run-a-goal.md` at program scale.
59
59
 
60
- ## Full technique triggers (52)
60
+ ## Full technique triggers (70)
61
61
 
62
62
  Each technique is one file at `references/techniques/<name>.md`. Read only what applies; skip for size **S**. Technique and playbook names mean deepmodebot's files, not same-named global skills (`skill://tdd`, `skill://prototype`, `skill://teach`, `skill://wizard`, `skill://retro`, `skill://handoff`).
63
63
 
64
64
  - **Fast orientation, Orca/git worktrees, own PRs, or manifest state** → **workspace-map** (`references/techniques/workspace-map.md`): zero-bloat memory-mapped SQLite/FTS5 index (`assets/workspace-map/workspace_map.py` `overview`/`query`/`workspaces`/`prs`/`sync`/`prune`), shared per repo across worktrees (~300-token turn-1 map).
65
+ - **Semantic auto-routing, prompt upgrade, expert vocabulary & repo suggestions** → **autoroute** (`references/techniques/autoroute.md`, `assets/autoroute/autoroute.py` 3-stage LLM router + route critic), **prompt-upgrade** (`references/techniques/prompt-upgrade.md`, `assets/prompt-tools/prompt_tools.py upgrade`), **reframe** (`references/techniques/reframe.md`, disambiguate problem shapes, teach 8–12 cited expert terms + neighboring-field analogies, rewrite spec), and **suggest** (`references/techniques/suggest.md`, `prompt_tools.py suggest --ui` repo gap/overclaim scanner).
66
+ - **Interactive human cockpits, A2UI surfaces & webhook bot UIs** → **gen-ui** (`references/techniques/gen-ui.md`, `assets/gen-ui/gen_ui.py` Google A2UI v1.0 compiler/validator + `.scratch/gen-ui/` 8-surface cap) and **webhook-ui** (`references/techniques/webhook-ui.md`, local + Tailscale dashboard relaying clicks with a server-held sender key and JSONL spool).
67
+ - **Per-role model & reasoning-budget configuration** → **model-setup** (`references/techniques/model-setup.md`, `assets/setup/model_setup.py` idempotent `.deepmodebot/models.json` writer with `large`/`medium`/`small` `<=xhigh` ladder and legacy migration).
65
68
 
66
69
  - **Before building anything new** → **prior-art** (`references/techniques/prior-art.md`): check trending first (`python -B "<this skill>/scripts/trending.py" find <terms>`, `py -3 -B` on Windows), then GitHub, registries, and docs; check license before copying or forking.
67
70
  - **Module/interface with 2+ viable shapes** → **architect** (`references/techniques/architect.md`) before coding; skip for small edits crossing one function boundary.
@@ -69,30 +72,32 @@ Each technique is one file at `references/techniques/<name>.md`. Read only what
69
72
  - **Parallel fan-out & sibling coordination** → **swarm** (`references/techniques/swarm.md`) for matrices, races, fuzzing, partitions; **arena** (`references/techniques/arena.md`) for code/design bakeoffs; **agent-collaboration** (`references/techniques/agent-collaboration.md`) for sibling messaging and ACP routing; **coworkers** (`references/techniques/coworkers.md`) for direct peer handoffs.
70
73
  - **Contested design only** → **interrogate** (`references/techniques/interrogate.md`), keeping only findings a run proves.
71
74
  - **Open direction, blind spots, or vague ambition** → **tournament** (`references/techniques/tournament.md`) before locking one shape.
72
- - **Draft plan or goal to stress-test** → **grill** (`references/techniques/grill.md`; With docs mode when `GLOSSARY.md`/`docs/adr/` exist); vague goal before looping → **goal-review** (`references/techniques/goal-review.md`) then `self-authoring`.
75
+ - **Draft plan or goal to stress-test** → **grill** (`references/techniques/grill.md`; With docs mode when `GLOSSARY.md`/`docs/adr/` exist); founder/10-star ambition & Cut/Keep/Amplify scope challenge → **product-lens** (`references/techniques/product-lens.md`); adversarial check/diff/overclaim Prosecutor audit → **self-grill** (`references/techniques/self-grill.md`, `assets/self-grill/self_grill.py`); mutant survival & property-based/fuzz hardening → **mutation-testing** (`references/techniques/mutation-testing.md`); vague goal before looping → **goal-review** (`references/techniques/goal-review.md`) then `self-authoring`.
76
+ - **Formal math proofs, TLA+/SMT invariants & Claim-DAGs** → **formal-verification** (`references/techniques/formal-verification.md`, `assets/formal-verification/verify_proof.py`: Lean 4 + Comparator, Rocq, TLA+, Z3/SMT-LIB2, natural-language Claim-DAG counterexample stress-testing).
73
77
  - **Complex domain or questionable customer spec** → **sme-review** (`references/techniques/sme-review.md`) before locking a spec, starting a loop, or advancing past Sprint 1 (`sme_gate: "required"`); escalate unverified P0/P1 rules via **questionnaire** (`references/techniques/questionnaire.md`).
74
78
  - **Multi-PR or customer-facing spec** → cut **incremental sprints** (Tickets + Phased build sprint mode; Sprint 1 = verified feedback slice, Sprint 2..N stay queued/deferred in the Scope Manifest as remaining scope, never falsely marked done).
75
79
  - **Before unattended loops/queues or AI code slop** → **inner-loop** (`references/techniques/inner-loop.md`): harden fast static checks, anti-slop guards, and protected configs before scaling iterations.
76
80
  - **Tool/skill routing** → **tool-routing** (`references/techniques/tool-routing.md`) for designing automatic tool or skill routers.
77
- - **Visual E2E & design evidence** → **visual-e2e** (`references/techniques/visual-e2e.md`) to record/replay full E2E workflows with 3-agent sampled-frame image review (capped at 24 images, not full-video review); **open-design-evidence** (`references/techniques/open-design-evidence.md`) for portable SVG/Mermaid/HTML workflow diagrams linked to recordings (with a Penpot import/edit check; report raw-SVG or raster limits).
78
- - **Rate limits, 429s, or heavy token burn** → `references/principles/guard-the-context-window.md` + `skill://agent-harnesses/references/delegation-efficiency.md`: pick tiers from LM benchmarks, avoid Fast/Ultrafast, `/clear` between unrelated tasks, plan L / execute S-M, cheap-first with an oracle, batch 3-5 spawns, reuse warm agents, pass file paths, set cost/cooldown caps, and back off or rotate model family on 429s.
81
+ - **Visual E2E, video forensics & design evidence** → **visual-e2e** (`references/techniques/visual-e2e.md`) to record/replay full E2E workflows with 3-agent sampled-frame image review (capped at 24 images, not full-video review); **open-design-evidence** (`references/techniques/open-design-evidence.md`) for portable SVG/Mermaid/HTML workflow diagrams linked to recordings (with a Penpot import/edit check; report raw-SVG or raster limits); **video-forensics** (`references/techniques/video-forensics.md`) for shot-by-shot `rea-video` / `VIDEO.md` deconstruction and remake verification.
82
+ - **Rate limits, 429s, or heavy token burn** → `references/principles/guard-the-context-window.md` + `skill://agent-harnesses/references/delegation-efficiency.md` + `assets/quota-guard/quota_guard.py`: enforce nested anti-stacking (`max_subagents=0`), pin `flash_lite`/`flash` helpers, pack 1 `prosecutor-bundle.md` reviewer for `M`, use delta-only re-review + `<2 KB` `.scratch/quota-guard/` checkpoints, and prune disposables with `assets/cleanup/self_cleanup.py`.
79
83
  - **Measured number** → **benchmark-checklist** (`references/techniques/benchmark-checklist.md`) before reporting or acting.
80
84
  - **Prose** (reply, docs, PR body, commit) → **unslop** (`references/techniques/unslop.md`); docs and PR/commit text also → **technical-writing** (`references/techniques/technical-writing.md`).
81
85
  - **Before review** → **no-comments** (`references/techniques/no-comments.md`) on the diff (apply inline for diffs under ~20 lines).
82
86
  - **Repeated correction & self-prompting loops** → **correct** (`references/techniques/correct.md`) at the highest rung; for prompts, skills, goals, or loops, use Self-authoring (`references/playbooks/self-authoring.md`).
83
87
  - **Words, durable research, or issues** → **domain-model** (`references/techniques/domain-model.md`), **research** (`references/techniques/research.md`, including opportunity probe and decision-brief), **tracker** (`references/techniques/tracker.md`).
84
- - **PRs, bots, and gates** → **pr-review** (`references/techniques/pr-review.md`), **pr-agent** (`references/techniques/pr-agent.md`), **pr-conversation** (`references/techniques/pr-conversation.md`), **issue-conversation** (`references/techniques/issue-conversation.md`), **github-app** (`references/techniques/github-app.md`), **security-audit** (`references/techniques/security-audit.md`), **panel** (`references/techniques/panel.md`), **show-me-your-work** (`references/techniques/show-me-your-work.md`), **figure-it-out** (`references/techniques/figure-it-out.md`).
85
- - **Tooling & instruction hygiene** → **tdd** (`references/techniques/tdd.md`), **architecture-review** (`references/techniques/architecture-review.md`), **git-guardrails** (`references/techniques/git-guardrails.md`), **pre-commit** (`references/techniques/pre-commit.md`), **scrape** (`references/techniques/scrape.md`), **wizard** (`references/techniques/wizard.md`), **writing-for-agents** (`references/techniques/writing-for-agents.md`; generate/refresh `AGENTS.md` with `assets/agents-md/agents_md.py`).
86
- - **Communication & reflection** → **in-your-own-words** (`references/techniques/in-your-own-words.md`), **sharpen** (`references/techniques/sharpen.md`), **teach** (`references/techniques/teach.md`), **course** (`references/techniques/course.md`), **re-explain** (`references/techniques/re-explain.md`), **recall** (`references/techniques/recall.md`), **blast-radius** (`references/techniques/blast-radius.md`), **reflect** (`references/techniques/reflect.md`), **retro** (`references/techniques/retro.md`).
88
+ - **PRs, bots, and merge gates** → **pr-review** (`references/techniques/pr-review.md`), **modernize-pr** (`references/techniques/modernize-pr.md`), **pr-agent** (`references/techniques/pr-agent.md`), **pr-conversation** (`references/techniques/pr-conversation.md`), **issue-conversation** (`references/techniques/issue-conversation.md`), **github-app** (`references/techniques/github-app.md`), **panel** (`references/techniques/panel.md`), **show-me-your-work** (`references/techniques/show-me-your-work.md`), **figure-it-out** (`references/techniques/figure-it-out.md`).
89
+ - **Security, zero-downtime migrations & post-ship gates** → **security-audit** (`references/techniques/security-audit.md` + `static_sec_audit.py`), **variant-analysis** (`references/techniques/variant-analysis.md`), **expand-contract** (`references/techniques/expand-contract.md`), **release-and-canary** (`references/techniques/release-and-canary.md`).
90
+ - **Tooling, DX & instruction hygiene** → **tdd** (`references/techniques/tdd.md`), **devex-review** (`references/techniques/devex-review.md`, cold-start onboarding + CLI/SDK ergonomics), **architecture-review** (`references/techniques/architecture-review.md`), **git-guardrails** (`references/techniques/git-guardrails.md`), **pre-commit** (`references/techniques/pre-commit.md`), **scrape** (`references/techniques/scrape.md`), **wizard** (`references/techniques/wizard.md`), **writing-for-agents** (`references/techniques/writing-for-agents.md`; generate/refresh `AGENTS.md` with `assets/agents-md/agents_md.py`).
91
+ - **Communication & reflection** → **in-your-own-words** (`references/techniques/in-your-own-words.md`), **sharpen** (`references/techniques/sharpen.md`), **teach** (`references/techniques/teach.md`), **course** (`references/techniques/course.md`), **re-explain** (`references/techniques/re-explain.md`), **recall** (`references/techniques/recall.md`), **catchup-video** (`references/techniques/catchup-video.md`), **blast-radius** (`references/techniques/blast-radius.md`), **reflect** (`references/techniques/reflect.md`), **retro** (`references/techniques/retro.md`).
87
92
 
88
- ## Full principles directory (24)
93
+ ## Full principles directory (26)
89
94
 
90
95
  One file per principle in `references/principles/<name>.md`. Read the file before applying or citing it.
91
96
 
92
- - **Core (design):** `laziness-protocol` (bias to deletion, smallest change), `foundational-thinking` (types, data structures, shared state before logic), `redesign-from-first-principles` (integrate a requirement as if there from day one), `subtract-before-you-add` (remove complexity first), `experience-first` (design from user experience).
97
+ - **Core (design):** `hardcore-mode` (aim straight for the first-principles architectural ceiling, zero sandbagging), `laziness-protocol` (bias to deletion, smallest change), `foundational-thinking` (types, data structures, shared state before logic), `redesign-from-first-principles` (integrate a requirement as if there from day one), `subtract-before-you-add` (remove complexity first), `experience-first` (design from user experience).
93
98
  - **Core (execution):** `attack-the-premise` (two fixes sharing a premise failed the same gate, so test it), `minimize-reader-load` (count layers/hidden state; collapse one-caller wrappers), `outcome-oriented-execution` (converge on target architecture, no throwaway compat), `exhaust-the-design-space` (2-3 prototypes for novel decisions), `build-the-lever` (build the script/checker reviewers rerun).
94
99
  - **Architecture:** `model-the-domain`, `boundary-discipline` (guards at boundaries, trust internal types, pure core), `type-system-discipline` (illegal states unrepresentable, brand primitives, parse at boundaries), `make-operations-idempotent`, `migrate-callers-then-delete-legacy-apis`, `separate-before-serializing-shared-state`.
95
- - **Verification:** `prove-it-works`, `fix-root-causes` (a guard fixes only legitimate states), `sequence-verifiable-units`, `test-behavior-not-implementation`, `explain-the-number`.
100
+ - **Verification:** `prove-it-works`, `no-reward-hacking` (freeze test/reference thresholds, prove upstream build provenance, pair scalar gates with an independent perceptual/semantic judge), `fix-root-causes` (a guard fixes only legitimate states), `sequence-verifiable-units`, `test-behavior-not-implementation`, `explain-the-number`.
96
101
  - **Delegation:** `guard-the-context-window`, `never-block-on-the-human` (proceed on reversible work, present results, let the human correct).
97
102
  - **Meta:** `encode-lessons-in-structure` (repeated instruction becomes a lint, check, or script).
98
103
 
@@ -27,12 +27,13 @@ for d in "$ROOT/.scratch" "$MAIN/.worktrees"; do [ -f "$d/.gitignore" ] || print
27
27
 
28
28
  ## Guards
29
29
 
30
- - **Guards back file-edit tools; none covers shell commands.**
30
+ - **Containment guards back file-edit tools; none covers shell commands.**
31
31
  - Claude Code: the plugin's `hooks/hooks.json` and `SKILL.md` frontmatter hook deny `Write`, `Edit`, and `NotebookEdit` outside the root.
32
32
  - Antigravity: `hooks.json` + `scripts/antigravity-guard.mjs` deny file-edit tools outside the workspace roots (with `brain/` and `artifactDirectoryPath` allowed); combine with `--sandbox` and `allowNonWorkspaceAccess: false` when supported.
33
33
  - omp: `assets/contain/omp-contain.ts`, once installed, denies `write`, `edit`, and `ast_edit` outside the root.
34
34
  - Codex: its `workspace-write` sandbox (note: allows `/tmp` and `$TMPDIR` by default unless `exclude_slash_tmp = true` and `exclude_tmpdir_env_var = true` are set).
35
35
  - The rule still binds shell commands. A denial means move the file into the root; never route around the guard. Setup per harness: `skill://agent-harnesses`.
36
+ - **The same hooks enforce rule approval** (`references/rule-approval.md`) in every session: in a repo with `.deepmodebot/rules/ledger.json` they deny file-tool and shell writes to agent rule files and the ledger, and deny owner-only `rules` commands everywhere.
36
37
 
37
38
  ## Durable notes
38
39
 
@@ -0,0 +1,14 @@
1
+ # Subagents, model tiers & quota guard
2
+
3
+ Read before spawning subagents or running multi-seat reviews/panels.
4
+
5
+ - **Brief contract:** You run the playbook; delegates own exclusive files. Start every subagent brief with `Read <this installed skill>/worker.md before anything else.` plus goal, absolute root, exact files, acceptance check, root-only writes, and applicable `references/principles/<name>.md` (omp omits `AGENTS.md`). Inspect every delegate's diff yourself.
6
+ - **Anti-stacking & quota cap (`assets/quota-guard/quota_guard.py plan`):** Never stack `/teamwork` or `/swarm` on top of multi-seat review/panel waves; if already inside an outer orchestrator or child subagent, run deterministic scripts and 4-lens review inline in 1 pass (`max_subagents=0`).
7
+ - **Model & effort tiers (Opus-first, cap `xhigh`; `skill://agent-harnesses/references/delegation-efficiency.md`):**
8
+ - `S` (`low`/`medium`): search, mechanical work, local S.
9
+ - `M` (`medium`): oracle-backed M.
10
+ - `L` (`high`/`xhigh`, never above `xhigh`): planning, hard debug, security, final review.
11
+ - Fable 5.2 outside panels runs only when named or after two `xhigh` failures on the same brief; skip Fast/Ultrafast.
12
+ - **Pin low-tier models on ALL scouts, reviewers & verifiers (never `inherit` Carbon/Opus/Pro onto overhead):** Pass `Model: "flash_lite"` / `@smol` / `haiku` / `gpt-6-luna` for `scout`/`Explore`/`explorer`, and `Model: "flash"` / `@smol` / `haiku` (`sonnet` max) / `gpt-6-luna` for `comment-sicko`, mechanical slices, `reviewer`, `security-reviewer`, `self-grill` Prosecutor, and `panel` verifiers (`2–4` batched tool turns max). Reserve `inherit` / `pro` / Opus / Astra strictly for the main agent and hard `L` coding slice authors (or when the user explicitly requests high-tier review).
13
+ - **Delegate only when it pays:** Multi-agent runs cost ~15x chat + cold cache. Keep `<=150`-line, 1-file, coupled, and hard reasoning inline; use 1 `prosecutor-bundle.md` `flash`/`@smol` reviewer for `M` (`151–600` lines), delta-only re-review (`git diff <last_sha>..HEAD`), `<=2` parallel worktrees, and `.scratch/quota-guard/` checkpoints to prevent `429` cold respawns.
14
+ - **Panel seats & quota hygiene:** Reserve the 3-seat panel strictly for the final green merge SHA, and pin verifiers to fast low-tier models (`Model: "flash"` in Antigravity; `@smol` / `claude-haiku-5-5-high` / `gpt-6-luna` / `gemini-4-flash` across families when available; escalate to `opus`/`fable`/`neon-xhigh` only when explicitly requested by the user). Check quota (`omp usage`/`/usage`/`/status`), `/clear` between tasks, switch models at clean boundaries, reuse warm reviewers, and rotate family on 429s.
@@ -20,6 +20,8 @@ Skip phases the work doesn't need. One PR of settled work starts at phase 5 with
20
20
  | Situation | Flow |
21
21
  |---|---|
22
22
  | Open architecture or research space, blind spots, or a high-vagueness ambition | **tournament** (`references/techniques/tournament.md`), proposing Champion and Runner-Up before phase 1 or 3 |
23
+ | Scanning a repo for gaps, overclaims, and ranked Hardcore Mode `/deep` prompts | **suggest** (`references/techniques/suggest.md`, with optional **gen-ui** A2UI 1.0 cockpit) |
24
+ | Auditing checks, diffs, or math proofs (`verify_proof.py`) for gaps, check theater, and overclaims | **self-grill** (`references/techniques/self-grill.md`) and **formal-verification** (`references/techniques/formal-verification.md`) |
23
25
  | First use of the planning flows in a repo | Setup (`references/playbooks/setup.md`) |
24
26
  | Building a whole app or rough idea end to end across all slices without stopping at an MVP | End-to-end (`references/playbooks/end-to-end.md`) |
25
27
  | Issues or outside PRs pile up | Triage (`references/playbooks/triage.md`), which feeds phase 5 with `triage:agent-ready` items |
@@ -0,0 +1,9 @@
1
+ # Full-scope completion
2
+
3
+ Applies to M/L and multi-item routes (Size **S** tracks its single item inline without a Scope Manifest or continuation loop). Slicing sequences verification; it never shrinks scope.
4
+
5
+ 1. **Total Scope vs. Active Sprint.** Keep 100% of deliverables and inventory in ONE Scope Manifest (`docs/specs/<slug>-manifest.json` or `.scratch/goals/<slug>-manifest.json`, validated by `assets/loop/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 essentials (persistence, validation, error/empty states, wired entrypoints). Complex/unclear domains clear **sme-review** (`sme_gate`) before Sprint 2+.
6
+ 2. **Machine-checked inventory.** For "all/every/full set", classify every candidate in `"inventory"` as `included`, `duplicate` (`representative`), `non_target` (`reason`), or `blocked` (`evidence` + `unblock`). Any `pending` item fails `loop.py manifest`; batch without shrinking.
7
+ 3. **Resolve reversible ambiguity.** Pick a scope-preserving structure from evidence, state assumptions, and 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.
8
+ 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.
9
+ 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.
@@ -57,6 +57,8 @@ Verify every claim against the code before acting. Not every comment is a requir
57
57
  - A finding already fixed at the tip is stale only if the guard runs before the side effect and covers the principal in question.
58
58
  - Don't widen a deliberately narrow error condition (e.g. fallback gated on `ENOENT`) into a catch-all that masks the real error, unless it misses a same-category case.
59
59
  - Findings against manual reimplementations of native platform behavior (scroll, sticky, hit-testing, event forwarding) have been consistently real: default to fix.
60
+ - **Dependabot PRs (`app/dependabot`):** treat dependency/security bumps as real code changes (inspect release notes, lockfile diff, and breaking changes; run `.deepmodebot/ci.yml` locally).
61
+ Control Dependabot via PR comments (`@dependabot rebase`, `@dependabot recreate`, `@dependabot ignore this minor version` / `ignore this major version`, `@dependabot close`) instead of manual branch surgery; configure `.github/dependabot.yml` with grouped minor/patch updates and a 7-day `cooldown`.
60
62
 
61
63
  ## Gates
62
64
 
@@ -7,9 +7,12 @@ Single-run builds drive `1/N` to `N/N` without stopping early. Incremental Sprin
7
7
 
8
8
  ## Steps
9
9
 
10
+ 0. **Grill user intent & lock the E2E Rehearsal Standard (mandatory before building/recording E2E workflows).** For any app, tool, UI, or CLI end-to-end workflow, grill the user first on the exact intended user journey: ordered beats, inputs, state transitions, visual/UX bar, and failure criteria so the recorded workflow matches their true intention.
11
+ - Initialize the versioned rehearsal ledger in `.scratch/e2e/<slug>/rehearsal.db` (`REHEARSAL.md`): `python -B "<this skill>/assets/e2e/rehearsal_gate.py" init --root "<root>" --slug "<slug>" --app "<name>" --kind web|cli|desktop|tool|demo --intent "<intent>" --beats b1,b2,... --max-rounds 25` (`py -3 -B` on Windows).
12
+ - Once the user approves the workflow standard, lock it with `rehearsal_gate.py approve --root "<root>" --slug "<slug>" --note "<user approval>"`. Without approval, `rehearsal_gate.py verdict --strict` stays blocked.
13
+ Done when the user-approved workflow intent, ordered beats, and rehearsal standard are locked in `rehearsal.db` (`approved_by_user: true`).
10
14
  1. **Expand the prompt into a complete Scope Manifest.** Before writing feature code, turn 100% of the request into ONE machine-checked JSON manifest (`docs/specs/<slug>-manifest.json`, or `.scratch/goals/<slug>-manifest.json` for uncommitted local delivery):
11
15
  - Cover every capability a finished product needs: all user workflows (full lifecycle or CRUD, not create-only), persistent state across restarts (SQLite, files, or database unless ephemeral is requested), input validation, actionable error states, empty states, and complete CLI/API/UI entrypoints.
12
- - Decide reversible product details yourself and record each decision in a **show-me-your-work** trail (`references/techniques/show-me-your-work.md`). In complex or unclear domains, run **sme-review** (`references/techniques/sme-review.md`) and set `"sme_gate": "required"` on the manifest or Sprint 2+ slices until SME/user confirmation clears it (`"sme_gate": "cleared"`).
13
16
  - On greenfield work, run **prior-art** (`references/techniques/prior-art.md`) and `skill://deep-stack` (`references/any-app-stack.md`) to pick the stack, then continue straight into step 2 instead of stopping at `STACK.md`.
14
17
  - Format the manifest with `"product"` and `"slices"` (`[{"id", "title", "check", "sprint"?, "sme_gate"?}, ...]`, 3 to 8 vertical slices from core domain/persistence through full workflows and cold-start proof). Tag `"sprint": 1, 2, ...` when running incremental sprints.
15
18
  - For "all", "every", or "full set" work, record every candidate in `"inventory"` with `"id"` and `"status"` in `included` (optional `"slice"`), `duplicate` (`"representative"`), `non_target` (`"reason"`), `blocked` (`"evidence"` + `"unblock"`), or `pending`. Unclassified `pending` items fail `loop.py manifest`.
@@ -26,13 +29,13 @@ Single-run builds drive `1/N` to `N/N` without stopping early. Incremental Sprin
26
29
  - In-session when remaining slices fit the context window: implement slice `k`, run `python -B "<this skill>/assets/loop/loop.py" check .scratch/goals/<slug>.md` (runs `fast_check`, slop guard against `HEAD`, all active manifest slices with `sprint <= active_sprint` plus inventory/SME status, then `check`), and immediately start slice `k + 1` in the same turn.
27
30
  - Across fresh context windows or unattended runs (`omp|claude|codex`): `python -B "<this skill>/assets/loop/loop.py" run .scratch/goals/<slug>.md`. On quota/cost cap, `checkpoint_every` / `sme_gate: "required"` (exit `6`), or passing Sprint 1 with deferred slices (exit `0`, `scope_complete: false`), the Scope Manifest + `latest-summary.json` form the exact zero-loss resume ledger.
28
31
  Done when `python -B "<this skill>/assets/loop/loop.py" check .scratch/goals/<slug>.md` (`py -3 -B` on Windows) prints `check exit 0 (pass)` with zero `pending` inventory items, zero slop findings, and either `N/N` slices green (`scope_complete: true`) or the active sprint gate cleanly met with Sprint `n+1..N` recorded as deferred remaining scope (`scope_complete: false`).
29
- 5. **Prove the finished product from a cold start.** Run the built CLI, service, or UI from scratch against fresh persisted state (`references/principles/prove-it-works.md`):
30
- - Exercise the full primary workflow (or the active sprint's end-to-end journey), restart or re-invoke the process to prove state persisted, trigger invalid-input handling, and check the empty state.
31
- - Save command transcripts, outputs, or UI captures under `.scratch/evidence/<slug>/`.
32
- Done when the cold-start end-to-end run passes and its artifacts sit under `.scratch/evidence/<slug>/`.
32
+ 5. **Rehearse, record full video, watch collectively, and pass hard gates (`v1..v25`).** Prove the finished app/tool/UI from a cold start against fresh persisted state (`references/principles/prove-it-works.md`):
33
+ - Exercise EVERY approved beat from start to settled payoff, restart/re-invoke to confirm persistence, test invalid input and empty states, and record a **complete continuous end-to-end video** (`.mp4`/`.webm` via `assets/e2e/record.py`, browser/terminal recorder, or ffmpeg) — isolated still frames alone fail the gate.
34
+ - **Watch the entire video together** (not just single keyframes): inspect continuity, transitions between beats, pacing, flicker, layout jumps, digit rolls, and reset seams end-to-end, plus keyframes at desktop (`1440×900`) and mobile (`390×844`) for UI apps.
35
+ - Log each iteration `v1..vN` in `rehearsal_gate.py record-run` and run a fresh-eye critic against the full video and approved intent. Iterate internally (`v1..v25`) until `python -B "<this skill>/assets/e2e/rehearsal_gate.py" verdict --root "<root>" --slug "<slug>" --strict` exits `0` (`REHEARSAL_PASSED`). Never report an E2E workflow done while any gate is red.
36
+ Done when `rehearsal_gate.py verdict --strict` returns `REHEARSAL_PASSED` (exit 0) and the verified video + `REHEARSAL.md` sit under `.scratch/e2e/<slug>/`.
33
37
  6. **Self-review against the full manifest and deliver.** Run **no-comments** (`references/techniques/no-comments.md`) and **pr-review** in local mode (`references/techniques/pr-review.md`) with the Scope Manifest as the spec claim so any missing workflow, unwired flag, unclassified inventory item, or stubbed edge case is caught before delivery. Follow `SKILL.md` for local delivery versus Opening a PR (`references/playbooks/opening-a-pr.md`).
34
- Done when local `pr-review` has no open P0/P1 findings, active/all slices and the cold-start check pass, any deferred sprints are explicitly reported as remaining scope (incomplete), and the requested delivery target holds.
35
-
38
+ Done when local `pr-review` has no open P0/P1 findings, active/all slices and `rehearsal_gate.py verdict --strict` pass, any deferred sprints are explicitly reported as remaining scope (incomplete), and the requested delivery target holds.
36
39
  ## Gates
37
40
 
38
41
  - Single-run mode: slice `1` passing is `1/N`, never completion. Stopping with unchecked slices requires a real hard stop (`SKILL.md` Autonomy) or three documented dead-end attempts, never convenience.
@@ -40,11 +43,11 @@ Single-run builds drive `1/N` to `N/N` without stopping early. Incremental Sprin
40
43
  - Zero unclassified `"pending"` inventory items may remain when closing; `loop.py manifest` rejects `pending` items and missing proof fields (`representative`, `reason`, `evidence`/`unblock`).
41
44
  - No `TODO`, `FIXME`, `NotImplementedError`, `todo!()`, or `throw new Error("not implemented")` stubs in delivered code.
42
45
  - Every slice check with `sprint <= active_sprint` re-runs on later slices so finishing slice `N` cannot silently break slice `1`.
43
- - Passing unit tests never waive the step 5 cold-start end-to-end run on the real artifact.
46
+ - Passing unit tests or cherry-picked single screenshots never waive the Step 5 full-video E2E rehearsal gate (`rehearsal_gate.py verdict --strict`).
44
47
 
45
48
  ## Evidence
46
49
 
47
50
  - The Scope Manifest path and `python -B "<this skill>/assets/loop/loop.py" manifest <manifest.json>` (`py -3 -B` on Windows) scoreboard (slice pass ratio, `scope_complete`, `deferred_slices`, and inventory classification counts when used).
48
51
  - Inner-loop check output (`fast_check`, anti-slop status, and `sme_gate` state).
49
- - Cold-start end-to-end proof artifacts under `.scratch/evidence/<slug>/` (plus `latest-summary.json` resume ledger if paused at a sprint, SME, or quota gate).
52
+ - Rehearsal gate verdict (`rehearsal_gate.py verdict --strict` -> `REHEARSAL_PASSED`), `.scratch/e2e/<slug>/REHEARSAL.md`, full recorded video path + SHA-256, and cold-start proof artifacts.
50
53
  - Product decisions made when expanding the prompt, each with how to override it.
@@ -7,9 +7,13 @@ Use when: adding new behavior. You own the design, review and proof. Choose loca
7
7
  For a local M feature, use this short path instead of the shipping steps below:
8
8
 
9
9
  1. Read the affected code, callers and existing checks. Name the requested behavior and the data shape that fits the existing design.
10
- Done when each requirement has an observable check, and no design or trust-boundary uncertainty requires size L.
11
- 2. Implement in the starting working tree. Reuse the existing test and CLI/app paths; add regression coverage for uncertain behavior, not for wording or wiring.
12
- Done when the requested behavior works without unrelated features or policy changes.
10
+ - In a monorepo (`package.json` workspaces, `pnpm-workspace.yaml`, `uv`/`Cargo` workspace), read `skill://software-architecture/references/monorepos.md` and identify the owning package and direct dependents before editing.
11
+ - On backend routes, DB queries, migrations, or hot loops, read `skill://domain-rules/references/high-scale-server-optimization.md` and `skill://domain-rules/references/data-structures-and-cache-optimization.md`.
12
+ Done when each requirement has an observable check, package scope is named (if monorepo), and no design or trust-boundary uncertainty requires size L.
13
+ 2. Implement in the starting working tree. Reuse the existing test and CLI/app paths (in monorepos, run workspace-filtered checks on the owning package and its direct dependents unless a shared config changed).
14
+ - On backend/systems changes, avoid N+1 / `await`-in-loop waterfalls, sync-in-async blocking I/O, missing HTTP timeouts, per-request pools, `OFFSET` scans, and unindexed FKs; verify with `python -B "<this installed skill>/assets/perf-audit/perf_audit.py" --path "<root>" --fail-on-high`.
15
+ - Add regression coverage for uncertain behavior, not for wording or wiring.
16
+ Done when the requested behavior works without unrelated features, policy changes, or high-severity `perf_audit` traps.
13
17
  3. Run the actual user path, including its relevant boundaries and failure cases. Review the diff against the request and existing conventions; fix findings a code read or run proves.
14
18
  Done when the real output proves every requirement and the checked-out tree contains the result.
15
19
  4. Report the changed behavior, command and observed result. Leave the changes uncommitted for local review.
@@ -7,6 +7,7 @@ Core discipline: one change, one measurement, keep or revert. Never stack untest
7
7
  ## Steps
8
8
  1. Ground workload and architecture with the **how** technique (`references/techniques/how.md`): name the workload dimensions that move the result (data size, history, state, concurrency) and pick a case that reproduces the user's complaint.
9
9
  Done when the dimensions are listed and the chosen case is named.
10
+ - **Compute the hardware/algorithmic roofline ceiling first:** for throughput/latency hillclimbs (LLM decode/prefill `tok/s`, `TTFT`, GPU kernels, DB/IO scans), measure real device copy bandwidth and compute throughput on the machine (never spec-sheet peaks) and calculate the theoretical ceiling (`measured_bandwidth / bytes_per_step` when memory-bound; `measured_flops / flops_per_step` when compute-bound). Log baseline and every iteration as `% of ceiling` so you switch from kernel/scheduling tuning to byte/op reduction (quantization, speculative decoding, caching) once near the roofline.
10
11
  2. Fix one metric, the better direction, and a checkable stop predicate pairing a target with a minimum attempt count (e.g. "≥50% better than baseline and ≥10 iterations"). Use the user's numbers, else pick them yourself and log why.
11
12
  Done when the metric, direction, and predicate are written down; they become the first rows of the decision log (step 6).
12
13
  3. Build the harness (`references/principles/build-the-lever.md`): run contrasting realistic workloads; confirm the target case shows the symptom and easier cases separate. Can't distinguish → revise workload or metric.
@@ -34,6 +35,7 @@ Core discipline: one change, one measurement, keep or revert. Never stack untest
34
35
  ## Gates
35
36
  - No reproducing case → fix the repro, don't hillclimb.
36
37
  - Harness frozen after vetting: no edits mid-run.
38
+ - Anti-reward-hacking (Goodhart / CoastRunners gate, `references/principles/no-reward-hacking.md`): lock gate scripts, reference hashes, and positive similarity floors via `assets/reward-guard/reward_guard.py lock-contract` before iterating; immediately revert any metric gain achieved by relaxing thresholds (`--min-iou 0`), skipping reference checks, or substituting procedural primitives for real outputs.
37
39
  - Held-out rubric check: when using an agent-authored evaluation rubric or scorer, validate it against held-out cases before hillclimbing so the loop cannot overfit ("benchmax") to one tuning example (`https://www.youtube.com/watch?v=6TjFjHPjVH0`, 16:36).
38
40
  - Print-mode `/autoresearch` caveat: observed on `omp 18.22.2`, invoking `/autoresearch` in `-p` print mode creates a branch and exits 0 before running a turn; for headless or scripted experiment loops, drive this Hillclimb playbook directly instead of assuming `/autoresearch` executes in print mode.
39
41
  - Every iteration ends in a check before the next begins (`references/principles/sequence-verifiable-units.md`).