deepmodebot 0.9.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (705) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.claude-plugin/marketplace.json +2 -2
  3. package/.omp-plugin/marketplace.json +2 -2
  4. package/README.md +38 -5
  5. package/bin/deepmodebot.mjs +257 -4
  6. package/lib/clients.mjs +50 -3
  7. package/lib/tree.mjs +64 -10
  8. package/native/dmb-gate/Cargo.toml +13 -0
  9. package/native/dmb-gate/src/agents.rs +110 -0
  10. package/native/dmb-gate/src/ci.rs +1032 -0
  11. package/native/dmb-gate/src/cleanup.rs +198 -0
  12. package/native/dmb-gate/src/gap.rs +1376 -0
  13. package/native/dmb-gate/src/guard.rs +135 -0
  14. package/native/dmb-gate/src/main.rs +535 -0
  15. package/native/dmb-gate/src/map.rs +173 -0
  16. package/native/dmb-gate/src/perf.rs +347 -0
  17. package/native/dmb-gate/src/reward.rs +2867 -0
  18. package/native/dmb-gate/src/sim.rs +969 -0
  19. package/native/dmb-gate/src/skill_check.rs +171 -0
  20. package/native/dmb-gate/src/slop.rs +2004 -0
  21. package/native/dmb-gate/src/ui.rs +842 -0
  22. package/native/dmb-gate/src/util.rs +260 -0
  23. package/native/dmb-net/go.mod +3 -0
  24. package/native/dmb-net/main.go +624 -0
  25. package/native/dmb-net/main_test.go +122 -0
  26. package/package.json +12 -2
  27. package/plugins/deepmodebot/.antigravity-plugin/plugin.json +1 -1
  28. package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +5 -5
  29. package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +1 -1
  30. package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +2 -2
  31. package/plugins/deepmodebot/.antigravity-plugin/skills/suggest/SKILL.md +13 -0
  32. package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +2 -2
  33. package/plugins/deepmodebot/.claude-plugin/plugin.json +1 -1
  34. package/plugins/deepmodebot/.codex-plugin/plugin.json +46 -0
  35. package/plugins/deepmodebot/agents/comment-sicko.md +29 -0
  36. package/plugins/deepmodebot/agents/researcher.md +29 -0
  37. package/plugins/deepmodebot/agents/reviewer.md +29 -0
  38. package/plugins/deepmodebot/agents/scout.md +28 -0
  39. package/plugins/deepmodebot/agents/security-reviewer.md +27 -0
  40. package/plugins/deepmodebot/commands/deep.md +7 -6
  41. package/plugins/deepmodebot/commands/research.md +8 -0
  42. package/plugins/deepmodebot/commands/suggest.md +10 -0
  43. package/plugins/deepmodebot/commands/tournament.md +2 -2
  44. package/plugins/deepmodebot/hooks/hooks.json +12 -2
  45. package/plugins/deepmodebot/hooks.json +1 -1
  46. package/plugins/deepmodebot/scripts/antigravity-guard.mjs +862 -26
  47. package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +179 -47
  48. package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +4 -6
  49. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +3 -0
  50. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +4 -0
  51. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +3 -1
  52. package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +3 -3
  53. package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +12 -2
  54. package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +11 -3
  55. package/plugins/deepmodebot/skills/app-automation-relay/SKILL.md +17 -0
  56. package/plugins/deepmodebot/skills/app-automation-relay/assets/relay_server.ts +364 -0
  57. package/plugins/deepmodebot/skills/app-automation-relay/references/adapter-cookbook.md +15 -0
  58. package/plugins/deepmodebot/skills/app-automation-relay/references/wire-protocol.md +23 -0
  59. package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +4 -3
  60. package/plugins/deepmodebot/skills/cloud-devsecops/references/cloudflare-edge.md +43 -0
  61. package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +15 -2
  62. package/plugins/deepmodebot/skills/contribute/SKILL.md +3 -35
  63. package/plugins/deepmodebot/skills/create-formal-verification-skill/LICENSE +21 -0
  64. package/plugins/deepmodebot/skills/create-formal-verification-skill/NOTICE.md +16 -0
  65. package/plugins/deepmodebot/skills/create-formal-verification-skill/SKILL.md +71 -0
  66. package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +2 -2
  67. package/plugins/deepmodebot/skills/deep-learning/LICENSE +21 -0
  68. package/plugins/deepmodebot/skills/deep-learning/SKILL.md +33 -0
  69. package/plugins/deepmodebot/skills/deep-learning/references/neural-architectures.md +43 -0
  70. package/plugins/deepmodebot/skills/deep-learning/references/papers-and-repos.md +128 -0
  71. package/plugins/deepmodebot/skills/deep-learning/references/reinforcement-learning.md +57 -0
  72. package/plugins/deepmodebot/skills/deep-learning/references/training-optimization.md +40 -0
  73. package/plugins/deepmodebot/skills/deep-learning/references/weight-space-programming.md +76 -0
  74. package/plugins/deepmodebot/skills/deep-learning/scripts/hf_passes.py +166 -0
  75. package/plugins/deepmodebot/skills/deep-learning/scripts/wsp.py +493 -0
  76. package/plugins/deepmodebot/skills/deep-stack/SKILL.md +1 -1
  77. package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +46 -92
  78. package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +1 -0
  79. package/plugins/deepmodebot/skills/deep-stack/references/prove.md +6 -0
  80. package/plugins/deepmodebot/skills/deep-stack/references/stack.md +11 -1
  81. package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +83 -146
  82. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +67 -24
  83. package/plugins/deepmodebot/skills/deepmodebot/assets/autoroute/autoroute.py +1026 -0
  84. package/plugins/deepmodebot/skills/deepmodebot/assets/cleanup/self_cleanup.py +305 -0
  85. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude-guard.sh +4 -0
  86. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +736 -6
  87. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/holdout_guard_cases.json +272 -0
  88. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +861 -9
  89. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +3 -0
  90. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +2 -0
  91. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/rehearsal_gate.py +536 -0
  92. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +2 -0
  93. package/plugins/deepmodebot/skills/deepmodebot/assets/f2p-gate/f2p_gate.py +547 -0
  94. package/plugins/deepmodebot/skills/deepmodebot/assets/formal-verification/verify_proof.py +638 -0
  95. package/plugins/deepmodebot/skills/deepmodebot/assets/gap-audit/gap_audit.py +1047 -0
  96. package/plugins/deepmodebot/skills/deepmodebot/assets/gen-ui/gen_ui.py +1782 -0
  97. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +7 -0
  98. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +55 -7
  99. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +55 -5
  100. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +2 -0
  101. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +2 -0
  102. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/local_ci.py +796 -0
  103. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/slop_gate.py +1049 -0
  104. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +748 -46
  105. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +2 -1
  106. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +2 -0
  107. package/plugins/deepmodebot/skills/deepmodebot/assets/memory/project_memory.py +928 -0
  108. package/plugins/deepmodebot/skills/deepmodebot/assets/mutation/mutation_gate.py +798 -0
  109. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +48 -21
  110. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +339 -5
  111. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +96 -6
  112. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +2 -0
  113. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +2 -0
  114. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +2 -0
  115. package/plugins/deepmodebot/skills/deepmodebot/assets/prompt-tools/prompt_tools.py +1239 -0
  116. package/plugins/deepmodebot/skills/deepmodebot/assets/quota-guard/quota_guard.py +424 -0
  117. package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +477 -1
  118. package/plugins/deepmodebot/skills/deepmodebot/assets/reward-guard/reward_guard.py +3447 -0
  119. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule-paths.json +100 -0
  120. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule_ledger.py +1671 -0
  121. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rules_watch.py +436 -0
  122. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +2 -0
  123. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +2 -0
  124. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +13 -10
  125. package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/static_sec_audit.py +275 -0
  126. package/plugins/deepmodebot/skills/deepmodebot/assets/self-grill/self_grill.py +2049 -0
  127. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/model_setup.py +329 -0
  128. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/project_setup.py +348 -0
  129. package/plugins/deepmodebot/skills/deepmodebot/assets/sim/sim.py +856 -0
  130. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +304 -18
  131. package/plugins/deepmodebot/skills/deepmodebot/assets/worker-gate/worker_gate.py +237 -0
  132. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +121 -78
  133. package/plugins/deepmodebot/skills/deepmodebot/references/README.md +14 -0
  134. package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +17 -11
  135. package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +2 -1
  136. package/plugins/deepmodebot/skills/deepmodebot/references/delegation.md +18 -0
  137. package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +2 -0
  138. package/plugins/deepmodebot/skills/deepmodebot/references/full-scope.md +9 -0
  139. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/authoring-a-skill.md +1 -1
  140. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +2 -0
  141. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +12 -9
  142. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +7 -3
  143. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +3 -0
  144. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +4 -4
  145. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +1 -1
  146. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +13 -10
  147. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +6 -6
  148. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +1 -0
  149. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +3 -1
  150. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/self-authoring.md +1 -1
  151. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +1 -2
  152. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +1 -0
  153. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +4 -2
  154. package/plugins/deepmodebot/skills/deepmodebot/references/principles/hardcore-mode.md +7 -0
  155. package/plugins/deepmodebot/skills/deepmodebot/references/principles/no-reward-hacking.md +8 -0
  156. package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +2 -1
  157. package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +2 -2
  158. package/plugins/deepmodebot/skills/deepmodebot/references/rule-approval.md +71 -0
  159. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +10 -24
  160. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +5 -4
  161. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +3 -3
  162. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/autoroute.md +50 -0
  163. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +1 -1
  164. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/catchup-video.md +13 -0
  165. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +9 -7
  166. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +2 -1
  167. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/devex-review.md +13 -0
  168. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/expand-contract.md +13 -0
  169. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/formal-verification.md +33 -0
  170. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/gen-ui.md +60 -0
  171. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +2 -1
  172. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +7 -18
  173. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +12 -8
  174. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/model-setup.md +14 -0
  175. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/modernize-pr.md +15 -0
  176. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/mutation-testing.md +35 -0
  177. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +5 -5
  178. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +9 -5
  179. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +1 -1
  180. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +8 -5
  181. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +1 -2
  182. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +33 -38
  183. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/product-lens.md +12 -0
  184. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prompt-upgrade.md +30 -0
  185. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +1 -1
  186. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reframe.md +18 -0
  187. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/release-and-canary.md +10 -0
  188. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +62 -89
  189. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +5 -1
  190. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/self-grill.md +54 -0
  191. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +3 -3
  192. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +7 -0
  193. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sim.md +41 -0
  194. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +3 -2
  195. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/suggest.md +24 -0
  196. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +7 -0
  197. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tdd.md +12 -0
  198. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +2 -2
  199. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +30 -18
  200. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/variant-analysis.md +11 -0
  201. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/video-forensics.md +46 -0
  202. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +10 -1
  203. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/webhook-ui.md +11 -0
  204. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +6 -0
  205. package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +7 -0
  206. package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +141 -18
  207. package/plugins/deepmodebot/skills/deepmodebot/worker.md +28 -0
  208. package/plugins/deepmodebot/skills/domain-rules/SKILL.md +13 -119
  209. package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +19 -1
  210. package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +7 -0
  211. package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +11 -0
  212. package/plugins/deepmodebot/skills/domain-rules/references/sources.md +108 -0
  213. package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +30 -131
  214. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/canvas.css +42 -0
  215. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/editorial.css +39 -0
  216. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/layouts.css +95 -0
  217. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/swiss.css +40 -0
  218. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/tactile.css +41 -0
  219. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/workbench.css +50 -0
  220. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-animations.md +49 -0
  221. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +46 -24
  222. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +27 -258
  223. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +26 -51
  224. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +22 -195
  225. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/00-art-direction.md +39 -0
  226. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +27 -24
  227. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +23 -17
  228. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +22 -45
  229. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +11 -0
  230. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +32 -152
  231. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +36 -91
  232. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +14 -120
  233. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +11 -10
  234. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +9 -9
  235. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06b-media-icons-charts.md +19 -0
  236. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06c-product-shots-craft.md +42 -0
  237. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +5 -6
  238. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +28 -56
  239. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +9 -7
  240. package/plugins/deepmodebot/skills/frontend-ui/scripts/motion_diff.py +259 -0
  241. package/plugins/deepmodebot/skills/frontend-ui/scripts/ui_audit.py +496 -0
  242. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/LICENSE +21 -0
  243. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/NOTICE.md +16 -0
  244. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/SKILL.md +68 -0
  245. package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +1 -1
  246. package/plugins/deepmodebot/skills/office-documents/SKILL.md +24 -0
  247. package/plugins/deepmodebot/skills/office-documents/references/documents-docx-pdf.md +15 -0
  248. package/plugins/deepmodebot/skills/office-documents/references/presentations-pptx.md +15 -0
  249. package/plugins/deepmodebot/skills/office-documents/references/spreadsheets-xlsx.md +15 -0
  250. package/plugins/deepmodebot/skills/office-documents/scripts/doc_audit.py +230 -0
  251. package/plugins/deepmodebot/skills/project-brief/SKILL.md +2 -19
  252. package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +4 -0
  253. package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +4 -0
  254. package/plugins/deepmodebot/skills/project-brief/references/claim-contract.md +55 -0
  255. package/plugins/deepmodebot/skills/research/SKILL.md +18 -0
  256. package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +1 -1
  257. package/plugins/deepmodebot/skills/seo-and-geo/SKILL.md +29 -0
  258. package/plugins/deepmodebot/skills/seo-and-geo/references/geo-and-agentic-web.md +30 -0
  259. package/plugins/deepmodebot/skills/seo-and-geo/references/technical-and-schema.md +25 -0
  260. package/plugins/deepmodebot/skills/seo-and-geo/scripts/seo_audit.py +282 -0
  261. package/plugins/deepmodebot/skills/software-architecture/SKILL.md +2 -2
  262. package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +5 -0
  263. package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +1 -0
  264. package/plugins/deepmodebot/skills/statechart/LICENSE +21 -0
  265. package/plugins/deepmodebot/skills/statechart/NOTICE.md +21 -0
  266. package/plugins/deepmodebot/skills/statechart/SKILL.md +106 -0
  267. package/plugins/deepmodebot/skills/statechart/references/render.md +93 -0
  268. package/plugins/deepmodebot/skills/statechart/references/tooling.md +78 -0
  269. package/plugins/deepmodebot/skills/statechart/scripts/backends/cfg.ts +33 -0
  270. package/plugins/deepmodebot/skills/statechart/scripts/backends/mermaid.ts +249 -0
  271. package/plugins/deepmodebot/skills/statechart/scripts/backends/plain-text.ts +72 -0
  272. package/plugins/deepmodebot/skills/statechart/scripts/backends/report.ts +177 -0
  273. package/plugins/deepmodebot/skills/statechart/scripts/frontends/config.ts +276 -0
  274. package/plugins/deepmodebot/skills/statechart/scripts/frontends/dot.ts +77 -0
  275. package/plugins/deepmodebot/skills/statechart/scripts/frontends/marks.ts +93 -0
  276. package/plugins/deepmodebot/skills/statechart/scripts/frontends/messages.ts +52 -0
  277. package/plugins/deepmodebot/skills/statechart/scripts/frontends/spec.ts +114 -0
  278. package/plugins/deepmodebot/skills/statechart/scripts/frontends/trace.ts +24 -0
  279. package/plugins/deepmodebot/skills/statechart/scripts/frontends/value.ts +166 -0
  280. package/plugins/deepmodebot/skills/statechart/scripts/frontends/verdict.ts +40 -0
  281. package/plugins/deepmodebot/skills/statechart/scripts/frontends/view.ts +119 -0
  282. package/plugins/deepmodebot/skills/statechart/scripts/ir.ts +547 -0
  283. package/plugins/deepmodebot/skills/statechart/scripts/janitor.ts +13 -0
  284. package/plugins/deepmodebot/skills/statechart/scripts/kill.ts +15 -0
  285. package/plugins/deepmodebot/skills/statechart/scripts/package.json +11 -0
  286. package/plugins/deepmodebot/skills/statechart/scripts/passes/annotate.ts +128 -0
  287. package/plugins/deepmodebot/skills/statechart/scripts/passes/label.ts +269 -0
  288. package/plugins/deepmodebot/skills/statechart/scripts/passes/lift.ts +85 -0
  289. package/plugins/deepmodebot/skills/statechart/scripts/passes/loop-check.ts +68 -0
  290. package/plugins/deepmodebot/skills/statechart/scripts/passes/paths.ts +60 -0
  291. package/plugins/deepmodebot/skills/statechart/scripts/passes/reach.ts +135 -0
  292. package/plugins/deepmodebot/skills/statechart/scripts/passes/region-check.ts +97 -0
  293. package/plugins/deepmodebot/skills/statechart/scripts/passes/regions.ts +295 -0
  294. package/plugins/deepmodebot/skills/statechart/scripts/pipeline.ts +76 -0
  295. package/plugins/deepmodebot/skills/statechart/scripts/run.ts +500 -0
  296. package/plugins/deepmodebot/skills/statechart/scripts/statechart +29 -0
  297. package/plugins/deepmodebot/skills/statechart/scripts/statechart.ts +165 -0
  298. package/plugins/deepmodebot/skills/statechart/scripts/test/ConfigOracle.java +63 -0
  299. package/plugins/deepmodebot/skills/statechart/scripts/test/chart.test.ts +1253 -0
  300. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Braces.mmd +7 -0
  301. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Escapes.mmd +11 -0
  302. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Phases.mmd +29 -0
  303. package/plugins/deepmodebot/skills/statechart/scripts/test/cli.test.ts +1344 -0
  304. package/plugins/deepmodebot/skills/statechart/scripts/test/config-fuzz.test.ts +263 -0
  305. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/ChartRun.out +57 -0
  306. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.cfg +3 -0
  307. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.tla +10 -0
  308. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/chart.mmd +9 -0
  309. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/graph.dot +16 -0
  310. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/report.md +7 -0
  311. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/sany.out +2 -0
  312. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/verdict-1.out +49 -0
  313. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/ChartRun.out +60 -0
  314. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.cfg +4 -0
  315. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.tla +22 -0
  316. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/chart.mmd +26 -0
  317. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/graph.dot +19 -0
  318. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/report.md +20 -0
  319. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/sany.out +2 -0
  320. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.exit +1 -0
  321. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.out +56 -0
  322. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.exit +1 -0
  323. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.out +82 -0
  324. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-3.out +57 -0
  325. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/ChartRun.out +59 -0
  326. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.cfg +3 -0
  327. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.tla +11 -0
  328. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/chart.mmd +22 -0
  329. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/graph.dot +16 -0
  330. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/report.md +17 -0
  331. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/sany.out +2 -0
  332. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.exit +1 -0
  333. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.out +56 -0
  334. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.exit +1 -0
  335. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.out +77 -0
  336. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/ChartRun.out +69 -0
  337. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.cfg +2 -0
  338. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.tla +11 -0
  339. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/chart.mmd +85 -0
  340. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/graph.dot +70 -0
  341. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/report.md +12 -0
  342. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/sany.out +2 -0
  343. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.exit +1 -0
  344. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.out +67 -0
  345. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-2.out +57 -0
  346. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.exit +1 -0
  347. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.out +85 -0
  348. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.cfg +6 -0
  349. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.tla +13 -0
  350. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/chart.mmd +5 -0
  351. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/graph.dot +10 -0
  352. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/report.md +31 -0
  353. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/sany.out +2 -0
  354. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.exit +1 -0
  355. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.out +64 -0
  356. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.exit +1 -0
  357. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.out +77 -0
  358. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/ChartRun.out +55 -0
  359. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.cfg +3 -0
  360. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.tla +10 -0
  361. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/chart.mmd +12 -0
  362. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/graph.dot +6 -0
  363. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/report.md +12 -0
  364. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/sany.out +2 -0
  365. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.exit +1 -0
  366. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.out +33 -0
  367. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-2.out +54 -0
  368. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/ChartRun.out +54 -0
  369. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.cfg +3 -0
  370. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.tla +10 -0
  371. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/chart.mmd +1 -0
  372. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/graph.dot +6 -0
  373. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/report.md +7 -0
  374. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/sany.out +2 -0
  375. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/verdict-1.out +46 -0
  376. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/ChartRun.out +59 -0
  377. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.cfg +2 -0
  378. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.tla +10 -0
  379. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterSteps.tla +6 -0
  380. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/chart.mmd +17 -0
  381. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/graph.dot +15 -0
  382. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/report.md +14 -0
  383. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/sany.out +3 -0
  384. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.exit +1 -0
  385. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.out +78 -0
  386. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/ChartRun.out +59 -0
  387. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.cfg +3 -0
  388. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.tla +19 -0
  389. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/chart.mmd +26 -0
  390. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/graph.dot +22 -0
  391. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/report.md +12 -0
  392. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/sany.out +2 -0
  393. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.exit +1 -0
  394. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.out +58 -0
  395. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-2.out +57 -0
  396. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/ChartRun.out +57 -0
  397. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.cfg +2 -0
  398. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.tla +11 -0
  399. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/chart.mmd +17 -0
  400. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/graph.dot +15 -0
  401. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/report.md +14 -0
  402. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/sany.out +2 -0
  403. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.exit +1 -0
  404. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.out +76 -0
  405. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/ChartRun.out +59 -0
  406. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.cfg +3 -0
  407. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.tla +11 -0
  408. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/chart.mmd +19 -0
  409. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/graph.dot +10 -0
  410. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/report.md +15 -0
  411. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/sany.out +2 -0
  412. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.exit +1 -0
  413. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.out +56 -0
  414. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.exit +1 -0
  415. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.out +67 -0
  416. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/ChartRun.out +62 -0
  417. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.cfg +6 -0
  418. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.tla +24 -0
  419. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/Moves.tla +5 -0
  420. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/chart.mmd +22 -0
  421. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/graph.dot +10 -0
  422. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/report.md +23 -0
  423. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/sany.out +3 -0
  424. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.exit +1 -0
  425. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.out +58 -0
  426. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.exit +1 -0
  427. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.out +66 -0
  428. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.exit +1 -0
  429. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.out +74 -0
  430. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-4.out +59 -0
  431. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/ChartRun.out +58 -0
  432. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.cfg +3 -0
  433. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.tla +15 -0
  434. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/chart.mmd +18 -0
  435. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/graph.dot +13 -0
  436. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/report.md +11 -0
  437. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/sany.out +2 -0
  438. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.exit +1 -0
  439. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.out +33 -0
  440. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-2.out +57 -0
  441. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/ChartRun.out +57 -0
  442. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.cfg +3 -0
  443. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.tla +15 -0
  444. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/chart.mmd +7 -0
  445. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/graph.dot +13 -0
  446. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/report.md +6 -0
  447. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/sany.out +2 -0
  448. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/verdict-1.out +49 -0
  449. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/ChartRun.out +61 -0
  450. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.cfg +4 -0
  451. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.tla +14 -0
  452. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/chart.mmd +30 -0
  453. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/graph.dot +19 -0
  454. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/report.md +27 -0
  455. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/sany.out +2 -0
  456. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.exit +1 -0
  457. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.out +56 -0
  458. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.exit +1 -0
  459. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.out +64 -0
  460. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.exit +1 -0
  461. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.out +87 -0
  462. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-4.out +57 -0
  463. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/ChartRun.out +60 -0
  464. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.cfg +3 -0
  465. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.tla +12 -0
  466. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/chart.mmd +23 -0
  467. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/graph.dot +19 -0
  468. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/report.md +11 -0
  469. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/sany.out +2 -0
  470. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.exit +1 -0
  471. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.out +56 -0
  472. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-2.out +57 -0
  473. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/ChartRun.out +61 -0
  474. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.cfg +4 -0
  475. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.tla +14 -0
  476. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/chart.mmd +23 -0
  477. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/graph.dot +19 -0
  478. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/report.md +27 -0
  479. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/sany.out +2 -0
  480. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.exit +1 -0
  481. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.out +56 -0
  482. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.exit +1 -0
  483. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.out +64 -0
  484. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.exit +1 -0
  485. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.out +87 -0
  486. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-4.out +57 -0
  487. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/view.mjs +1 -0
  488. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/ChartRun.out +59 -0
  489. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.cfg +4 -0
  490. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.tla +38 -0
  491. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/chart.mmd +92 -0
  492. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/graph.dot +126 -0
  493. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/report.md +17 -0
  494. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/sany.out +2 -0
  495. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.exit +1 -0
  496. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.out +91 -0
  497. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-2.out +57 -0
  498. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/ChartRun.out +61 -0
  499. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.cfg +6 -0
  500. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.tla +11 -0
  501. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/chart.mmd +22 -0
  502. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/graph.dot +16 -0
  503. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/report.md +25 -0
  504. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/sany.out +2 -0
  505. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.exit +1 -0
  506. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.out +56 -0
  507. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.exit +1 -0
  508. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.out +64 -0
  509. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.exit +1 -0
  510. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.out +64 -0
  511. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.exit +1 -0
  512. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.out +77 -0
  513. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/ChartRun.out +57 -0
  514. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.cfg +4 -0
  515. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.tla +11 -0
  516. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/chart.mmd +13 -0
  517. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/graph.dot +12 -0
  518. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/report.md +11 -0
  519. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/sany.out +2 -0
  520. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.exit +1 -0
  521. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.out +72 -0
  522. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/ChartRun.out +57 -0
  523. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.cfg +3 -0
  524. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.tla +62 -0
  525. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/chart.mmd +28 -0
  526. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/graph.dot +40 -0
  527. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/report.md +7 -0
  528. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/sany.out +1 -0
  529. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/verdict-1.out +47 -0
  530. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/view.mjs +1 -0
  531. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/ChartRun.out +57 -0
  532. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.cfg +2 -0
  533. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.tla +64 -0
  534. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/chart.mmd +28 -0
  535. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/graph.dot +37 -0
  536. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/report.md +8 -0
  537. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/sany.out +1 -0
  538. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/verdict-1.out +47 -0
  539. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/view.mjs +1 -0
  540. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/ChartRun.out +60 -0
  541. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.cfg +3 -0
  542. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.tla +64 -0
  543. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/chart.mmd +44 -0
  544. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/graph.dot +58 -0
  545. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/report.md +17 -0
  546. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/sany.out +1 -0
  547. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.exit +1 -0
  548. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.out +83 -0
  549. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-2.out +57 -0
  550. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/view.mjs +1 -0
  551. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/ChartRun.out +60 -0
  552. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.cfg +3 -0
  553. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.tla +103 -0
  554. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/chart.mmd +43 -0
  555. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/graph.dot +93 -0
  556. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/report.md +14 -0
  557. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/sany.out +1 -0
  558. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.exit +1 -0
  559. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.out +59 -0
  560. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-2.out +72 -0
  561. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/view.mjs +3 -0
  562. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/ChartRun.out +57 -0
  563. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.cfg +2 -0
  564. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.tla +100 -0
  565. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/chart.mmd +31 -0
  566. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/graph.dot +85 -0
  567. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/report.md +9 -0
  568. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/sany.out +1 -0
  569. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/verdict-1.out +47 -0
  570. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/view.mjs +3 -0
  571. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/ChartRun.out +59 -0
  572. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayer.tla +103 -0
  573. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.cfg +3 -0
  574. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.tla +6 -0
  575. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/chart.mmd +42 -0
  576. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/graph.dot +93 -0
  577. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/report.md +19 -0
  578. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/sany.out +2 -0
  579. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.exit +1 -0
  580. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.out +61 -0
  581. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-2.out +59 -0
  582. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-3.out +61 -0
  583. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.exit +1 -0
  584. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.out +66 -0
  585. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.exit +1 -0
  586. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.out +58 -0
  587. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-6.out +49 -0
  588. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/view.mjs +3 -0
  589. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/ChartRun.out +57 -0
  590. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.cfg +6 -0
  591. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.tla +11 -0
  592. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/chart.mmd +5 -0
  593. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/graph.dot +11 -0
  594. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/report.md +7 -0
  595. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/sany.out +5 -0
  596. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/verdict-1.out +70 -0
  597. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ChartRun.out +61 -0
  598. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.cfg +4 -0
  599. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.tla +11 -0
  600. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowLib.tla +6 -0
  601. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowSub.tla +3 -0
  602. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/chart.mmd +9 -0
  603. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/graph.dot +16 -0
  604. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/report.md +8 -0
  605. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/sany.out +4 -0
  606. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/verdict-1.out +65 -0
  607. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/ChartRun.out +59 -0
  608. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.cfg +2 -0
  609. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.tla +9 -0
  610. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/chart.mmd +23 -0
  611. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/graph.dot +17 -0
  612. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/report.md +15 -0
  613. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/sany.out +1 -0
  614. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.exit +1 -0
  615. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.out +65 -0
  616. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.exit +1 -0
  617. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.out +75 -0
  618. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/ChartRun.out +69 -0
  619. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.cfg +3 -0
  620. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.tla +75 -0
  621. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/chart.mmd +60 -0
  622. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/graph.dot +297 -0
  623. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/report.md +20 -0
  624. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/sany.out +1 -0
  625. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.exit +1 -0
  626. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.out +95 -0
  627. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-2.out +57 -0
  628. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/view.mjs +1 -0
  629. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/ChartRun.out +57 -0
  630. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.cfg +3 -0
  631. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.tla +75 -0
  632. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/chart.mmd +37 -0
  633. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/graph.dot +223 -0
  634. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/report.md +11 -0
  635. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/sany.out +1 -0
  636. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/verdict-1.out +47 -0
  637. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/view.mjs +1 -0
  638. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.exit +1 -0
  639. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.out +75 -0
  640. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.cfg +5 -0
  641. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.tla +11 -0
  642. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/chart.mmd +18 -0
  643. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/graph.dot +14 -0
  644. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/report.md +29 -0
  645. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/sany.out +2 -0
  646. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.exit +1 -0
  647. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.out +64 -0
  648. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.exit +1 -0
  649. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.out +75 -0
  650. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/ChartRun.out +58 -0
  651. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.cfg +2 -0
  652. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.tla +8 -0
  653. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/chart.mmd +22 -0
  654. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/graph.dot +16 -0
  655. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/report.md +15 -0
  656. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/sany.out +2 -0
  657. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.exit +1 -0
  658. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.out +56 -0
  659. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.exit +1 -0
  660. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.out +77 -0
  661. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus.test.ts +441 -0
  662. package/plugins/deepmodebot/skills/statechart/scripts/test/differential.test.ts +565 -0
  663. package/plugins/deepmodebot/skills/statechart/scripts/test/drawn.ts +20 -0
  664. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.cfg +2 -0
  665. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.tla +9 -0
  666. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/sany.out +2 -0
  667. package/plugins/deepmodebot/skills/statechart/scripts/test/java.ts +63 -0
  668. package/plugins/deepmodebot/skills/statechart/scripts/test/labels.ts +648 -0
  669. package/plugins/deepmodebot/skills/statechart/scripts/test/messages.test.ts +226 -0
  670. package/plugins/deepmodebot/skills/statechart/scripts/test/pipeline.test.ts +270 -0
  671. package/plugins/deepmodebot/skills/statechart/scripts/test/plain-tlc.test.ts +255 -0
  672. package/plugins/deepmodebot/skills/statechart/scripts/test/render.test.ts +145 -0
  673. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc-out.test.ts +90 -0
  674. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc.ts +158 -0
  675. package/plugins/deepmodebot/skills/statechart/scripts/tsconfig.json +11 -0
  676. package/plugins/deepmodebot/skills/statechart/scripts/worker.ts +35 -0
  677. package/plugins/deepmodebot/agents/reviewer/agent.md +0 -33
  678. package/plugins/deepmodebot/agents/scout/agent.md +0 -34
  679. package/plugins/deepmodebot/agents/security-reviewer/agent.md +0 -30
  680. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +0 -391
  681. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +0 -146
  682. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +0 -483
  683. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +0 -139
  684. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +0 -301
  685. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +0 -602
  686. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +0 -69
  687. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +0 -160
  688. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +0 -180
  689. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +0 -265
  690. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +0 -192
  691. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +0 -2182
  692. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +0 -19
  693. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +0 -691
  694. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +0 -127
  695. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +0 -496
  696. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +0 -1426
  697. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +0 -320
  698. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +0 -326
  699. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +0 -55
  700. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +0 -53
  701. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +0 -94
  702. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +0 -610
  703. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +0 -250
  704. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +0 -654
  705. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +0 -879
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: create-formal-verification-skill
3
+ description: "Generate a project-local skill that formally verifies the code where a bug costs the most and tests reach the least, in any language, with whichever verification tool fits. Use for /create-formal-verification-skill, \"model-check this race\", \"prove this invariant\", or when concurrency, retries, state machines, parsers, or unsafe code need more than tests."
4
+ ---
5
+
6
+ # Create a formal verification skill
7
+
8
+ A test checks the cases that someone thought to write. Formal verification checks every case in a stated scope: every order of steps in a model, every input up to a bound, or every input.
9
+ This skill finds the part of the repo where that matters most, verifies one property of it, and leaves a project-local skill that lets the next agent check a change against that property.
10
+ Write that skill for an agent who reads it cold, mid-change, and has never seen your work. The user must be able to trust the result and act on it without learning the verification language.
11
+
12
+ ## Harness and working directory
13
+
14
+ Use `.omp/skills/verify-<subsystem>/` for omp, `.claude/skills/verify-<subsystem>/` for Claude Code, and `.agents/skills/verify-<subsystem>/` for Google Antigravity and Codex.
15
+ Select the current harness's discovered directory; do not create competing copies across folders.
16
+ Codex may require approval to write `.agents/`; use the harness approval mechanism rather than bypassing it.
17
+ Read `skill://agent-harnesses` when discovery rules are uncertain.
18
+ Keep scratch mutations, model runs, downloaded tools, and proof artifacts under the repo's ignored `.scratch/`.
19
+ Check existing empirical and formal verify skills before choosing a name; keep their responsibilities separate.
20
+ Use `skill://create-verification-skill` for exercising the real application: a model is complementary evidence, not a substitute.
21
+
22
+ ## Choose the target from the code
23
+
24
+ Answer from the codebase, and ask the user only what you cannot observe. If the user named an area or a bug, start there.
25
+
26
+ A good target is a promise the code makes, where a break harms users and tests rarely reach the case that breaks it. Choose the strongest such target in the repo, not the one that is easiest to verify.
27
+
28
+ ## Let the question choose the tool
29
+
30
+ Pick the tool that answers the question at the lowest cost: a model checker, a proof assistant, an SMT-backed verifier, or another tool.
31
+ Whether events can happen in a bad order usually suits a model checker over a small model of the design, and TLA+ is the default for that in any language.
32
+ Whether the code itself behaves for every input, as with memory safety, overflow, or a data-structure invariant, usually suits a verifier that runs on the code.
33
+ If no verifier runs on this language, say so, and test the real code with generated inputs, not a hand model of the function.
34
+ A property that must hold at every size, where a bound is not enough, can need a proof. Prefer a tool that the repo's developers can install and run, and tell the user why you chose it.
35
+
36
+ ## What makes it good
37
+
38
+ - **True to the code.** Every part of the model or proof points to code that a reviewer can open. What the verification treats as one indivisible step is one indivisible step in the code. Names come from this repo.
39
+ - **Able to fail.** A check that you have never seen fail proves nothing. Show each property failing on a broken variant of the code it guards, such as a removed check or a reordered step.
40
+ - **Findings stay findings.** When the current code breaks the property, report it with the counterexample in the code's terms. Do not weaken the property or the model until it passes, and do not change product code unless the user asks.
41
+ - **Honest about scope.** Say what is verified, under which bounds and assumptions, and what is left out. A pass covers the model or the bound, not the whole system.
42
+ - **Readable without the tool.** State the property and the harm in one plain sentence each. Tell a counterexample as a short sequence of steps in the code's words.
43
+ - **Cheap to rerun.** One command, a reproducible tool version, and a run short enough that the next agent will use it on every relevant change.
44
+ - **Kept in step with the code.** Record which files and functions each check covers, and the commit at which you last confirmed that the verification describes them. When covered code changes after that commit, the next agent can see that the verification needs another look.
45
+
46
+ ## Generate the verify skill
47
+
48
+ Write a project-local skill with frontmatter that names the area and says when to use it. Without frontmatter, the skill never registers.
49
+ From the skill alone, the next agent must be able to tell whether a change touches verified code, run the check, tell a real bug from a modeling error, and update the verification when a change is intended.
50
+ Put the coverage record and the sync commit in the skill, and tell the next agent to move the sync commit forward only after confirming that the verification describes the code at the new commit. Use this repo's real commands, paths, and nouns, and leave no placeholders.
51
+
52
+ If the check is a TLA+ model, tell the next agent to read every result with `skill://statechart` (`../statechart/SKILL.md`).
53
+ It shows each invariant violation the checker finds as its shortest path in plain words, and when the check passes, `/statechart` draws how the system moves between states.
54
+ Refer to `/statechart` by name; its commands, options, and file paths change between releases and machines, so copy none of them into the generated skill or its scripts.
55
+
56
+ ## Prove it before you hand off
57
+
58
+ Follow the generated skill once, as the next agent would, on a scratch change that breaks the property in the real code. It must catch the break. Make mutations only in an isolated scratch copy or worktree; never overwrite the user's edits.
59
+ Then drop the scratch change and confirm that the check is back where it started: passing, or failing only on the findings you will report. A verify skill that was never run is a draft. If the skill misses the break or a step does not run, fix the skill or the verification, not the scratch change.
60
+
61
+ ## Hand off
62
+
63
+ Tell the user what you verified, which tool you used and why, the bounds, what the check found in plain words, how to run it, and what it does not cover.
64
+ Suggest a second target only if you found a close one. Point the user at `skill://maintain-formal-verification-skill` (`../maintain-formal-verification-skill/SKILL.md`) for bringing the verification back in line after changes that did not recheck it.
65
+
66
+ ## Done when
67
+
68
+ The project-local skill registers in the current harness and names real covered code, a sync commit, properties, assumptions, tool versions, and a rerun command.
69
+ Its check has run on the actual target and caught a deliberately broken variant; the baseline was restored without touching unrelated edits.
70
+ Each model counterexample has been replayed against the implementation or explicitly labeled unconfirmed.
71
+ If the tool or mutation proof could not run, deliver the files as an unverified draft and name the blocker; do not claim a proof.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: create-verification-skill
3
- description: "Generate a project-local verification skill (.omp/skills/verify-<app>/, .claude/skills/verify-<app>/, or .agents/skills/verify-<app>/) that drives the app the way a user does and captures proof: control CLI, launch/doctor/drive/evidence/cleanup, and a feature map. Any language or platform. Use for create-verification-skill, \"make a verify skill for this repo\", or when a repo has no scripted way to prove UI/CLI/service behavior."
3
+ description: "Generate a project-local verify-<app> skill (control CLI, launch/doctor/drive/evidence/cleanup, feature map)."
4
4
  disable-model-invocation: true
5
5
  ---
6
6
 
@@ -62,7 +62,7 @@ Write `.omp/skills/verify-<app>/SKILL.md`. Frontmatter is required: omp skips pr
62
62
 
63
63
  ## 4. Seed the feature map
64
64
 
65
- Create `.omp/skills/verify-<app>/features/README.md` plus one file per user-facing feature you can identify (top 3–5 to start, from routes, commands, menus, or docs). Follow the shape in `references/feature-map-example/`: a README index (baseline preconditions, driving conventions, proof and skip reporting, entry contract, feature list) and one file per feature.
65
+ Create `.omp/skills/verify-<app>/features/README.md` plus one file for **every** user-facing feature surface identified across routes, CLI commands, menus, background workflows, and docs (ordered by user criticality; never cap at a partial 3–5 subset). Follow the shape in `references/feature-map-example/`: a README index (baseline preconditions, driving conventions, proof and skip reporting, entry contract, complete feature list) and one file per feature.
66
66
 
67
67
  Each feature file: H1 title, one paragraph of user-visible behavior, then exactly these four H2s in order: `Sub-features`, `How to get to it (user POV)`, `Driving it with control-<app>`, `Gotchas`. The driving section starts with `Preconditions:` and pairs each user action with an exact command and its observable result.
68
68
 
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Caglar Ulkuderner
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: deep-learning
3
+ description: "Non-LLM deep learning, RL, neural architectures, world models, geometric/SciML, optimization, and gradient-free weight-space programming."
4
+ metadata:
5
+ as-of: "2026-11-25"
6
+ ---
7
+
8
+ # Deep Learning, RL, Neural Networks & Weight-Space Programming
9
+
10
+ Non-LLM deep learning reference: neural architectures, reinforcement learning, world models, geometric/scientific ML, optimization dynamics, and direct weight-space programming. Every paper ID (`arXiv`) and GitHub repository in `references/` was verified against primary sources (`export.arxiv.org` and GitHub API) as of 2026-11-24.
11
+
12
+ ## Route (read only the branch the task touches)
13
+
14
+ | Task | Read |
15
+ |---|---|
16
+ | Inspect, diagnose, surgically repair, or hand-compile neural network weights without gradient descent (`READ` / `FIX` / `WRITE`); circuit analysis (`QK`/`OV`, induction heads, direction ablation, bypass units); `scripts/wsp.py` | `references/weight-space-programming.md` |
17
+ | Reinforcement learning (DQN, PPO, SAC, TD3, MuZero, DreamerV3, TD-MPC2, Offline RL CQL/IQL, Diffusion Policy, RND exploration, vectorized GPU sims) | `references/reinforcement-learning.md` |
18
+ | Neural architectures (ResNet, U-Net, ViT, DINOv2, I-JEPA/V-JEPA 2, Mamba/Mamba-2 SSM, DDPM/Flow Matching/Rectified Flow, MoE, GCN/GAT/E(n)-GNN, Fourier Neural Operators, KAN, Modern Hopfield) | `references/neural-architectures.md` |
19
+ | Optimizers, scaling & GPU/Rust ML systems (AdamW, Muon, SAM, muP, NTK, Double Descent, Grokking, BF16/FP8 mixed precision, FlashAttention, ZeRO/FSDP, Triton, JAX/Optax, Burn/Candle/tinygrad) | `references/training-optimization.md` |
20
+ | Full scraped paper catalog (58 verified arXiv papers) and curated non-LLM DL/RL/ML GitHub repo index (37 verified repos with licenses & star counts) | `references/papers-and-repos.md` |
21
+
22
+ ## Bundled Scripts (MIT, from `ulkuderner/weight-space-programming`)
23
+
24
+ - `scripts/wsp.py` — NumPy-only weight-space toolkit (`load_weights`, `summarize`, `eff_rank`, `group_mass`, `ascii_grid`, `qk_ov`, `composition`, `baseline_composition`, `copying_score`, `EditSession`, `unit_direction`, `top_writers`, `ablate_direction`, `random_control`, `bypass_unit`, `Budget`, `paired_stats`).
25
+ - `scripts/hf_passes.py` — Budgeted, logged `generate` / `teacher_forced` forward-pass evaluator for PyTorch/Transformers checkpoints (refunds failed passes; enforces no-training protocol).
26
+
27
+ ## Hard Engineering Rules
28
+
29
+ 1. **Measure baseline & roofline ceiling before mutating.** Establish baseline metrics, a null control, and the measured hardware ceiling (device-copy GB/s and real `4096^3`/`8192^3` GEMM TFLOP/s — never spec sheets; for autoregressive/MoE serving, include `lm_head` bytes, `kv_bytes * ctx`, and routed-expert union `1 - (1 - top_k/n_experts)^(k+1)` under speculative decoding) before changing architecture, kernels, or weights.
30
+ 2. **Isolate causes.** Change one variable at a time (learning rate, architecture, reward term, or single targeted weight tensor) and confirm on held-out seeds/environments with paired standard error (`gain > 2 * SE`).
31
+ 3. **Never confuse LLM prompting with deep learning.** For LLM agent harnesses, RAG, or prompt orchestration, route to `skill://agent-harnesses` or `skill://domain-rules/references/ai-concepts.md`; this skill covers neural computation, RL, representation learning, and weight-space engineering.
32
+ 4. **Prevent silent numerical failure.** Log grad norms, activation variance, NaN/Inf counts, and effective rank; prefer BF16 over FP16 when hardware supports it; use deterministic seeds for ablations.
33
+ 5. **Respect licenses and attribution.** Bundled `scripts/wsp.py` and `scripts/hf_passes.py` are MIT-licensed (`LICENSE`, Caglar Ulkuderner); the adapted experiment catalogue follows CC BY 4.0 from Takehi, Teoh, Zhang & Khattab (MIT CSAIL, Nov 2026).
@@ -0,0 +1,43 @@
1
+ # Neural Network Architectures (Non-LLM Deep Learning)
2
+
3
+ Architecture selection, inductive biases, and core structural mechanisms across vision, sequences, generative modeling, graphs, geometry, and scientific computing.
4
+
5
+ ## Architecture Decision Matrix
6
+
7
+ | Modality / Problem | Primary Architecture | Key Inductive Bias / Tradeoff | Core Papers (arXiv) |
8
+ |---|---|---|---|
9
+ | Dense spatial / segmentation / denoising backbone | **U-Net** + ResNet blocks or **DiT** | Multi-scale skip connections preserve exact spatial alignment | `1505.04597`, `1512.03385` |
10
+ | Image/video representation (no labels) | **DINOv2** (discriminative SSL) / **I-JEPA** & **V-JEPA 2** (predictive latent) / **MAE** | Predict masked latents instead of pixels (avoids wasted high-frequency capacity) | `2304.07193`, `2301.08243`, `2506.09985`, `2111.06377`, `2002.05709` |
11
+ | Vision backbone (supervised / transfer) | **ViT** / ConvNeXt / `timm` models | Global self-attention scales with data; convs win on small datasets | `2010.11929`, `1512.03385` |
12
+ | 3D visual geometry & pose reconstruction | **VGGT** (Visual Geometry Grounded Transformer) | Direct feed-forward camera, depth, point-map & track estimation | `facebookresearch/vggt` |
13
+ | Long continuous/discrete sequences ($L \gg 8\text{k}$) | **Mamba / Mamba-2 (SSD)** or hybrid Attention+SSM | $O(L)$ scan with input-selective state transitions; exact duality with structured attention | `2312.00752`, `2405.21060` |
14
+ | Continuous generative modeling (images, audio, actions, molecules) | **Flow Matching / Rectified Flow** (default over DDPM) | Straight ODE trajectories need 1-10 NFE vs 50-1000 for DDPM; simpler velocity MSE loss | `2210.02747`, `2209.03003`, `2006.11239`, `1312.6114` |
15
+ | Sparse high-capacity scaling | **Mixture of Experts (Switch MoE)** | Conditional top-$k$ routing decouples parameter count from per-token FLOPs | `2101.03961` |
16
+ | Relational / graph-structured data | **GCN / GAT / Message-Passing GNN** | Permutation equivariance over nodes/edges; watch over-smoothing beyond 3-6 layers | `1609.02907`, `1710.10903`, `2104.13478` |
17
+ | 3D molecules, point clouds, physics | **E(n)-Equivariant GNN** | Exact rotation, translation & reflection equivariance without data augmentation | `2102.09844`, `2104.13478` |
18
+ | PDEs, fluid dynamics, continuous fields | **Fourier Neural Operator (FNO)** | Spectral convolution learns resolution-invariant mappings between function spaces | `2010.08895` |
19
+ | Associative memory & scientific symbolic curves | **Modern Hopfield** / **KAN** | Exponential memory capacity (equivalent to attention); learnable B-spline edges for low-dim science | `2008.02217`, `2404.19756` |
20
+
21
+ ## Architectural Primitives & Failure Modes
22
+
23
+ - **Residual Connections & Normalization:**
24
+ - Always use **Pre-Norm** (`x + f(Norm(x))`) with **RMSNorm** (`1910.07467`) or **LayerNorm** (`1607.06450`) for deep stacks; avoid **BatchNorm** (`1502.03167`) whenever batch sizes are small, sequence lengths vary, or train/eval distribution shifts occur (use GroupNorm/LayerNorm instead).
25
+ - For very deep residual nets, scale residual branch projections by $1/\sqrt{2L}$ (or use QK-Norm in attention) to prevent logit growth and attention entropy collapse.
26
+ - **Self-Supervised Representation Learning (SSL):**
27
+ - **Contrastive** (`SimCLR 2002.05709`) requires large negative batches and heavy augmentations; **Non-contrastive / JEPA** (`I-JEPA 2301.08243`, `V-JEPA 2 2506.09985`, `DINOv2 2304.07193`) avoids dimensional collapse via asymmetric predictor + stop-gradient EMA target encoder (`2209.15007`).
28
+ - Always verify learned embeddings with **linear probing + k-NN accuracy** and check effective rank (`eff_rank`) of feature covariance to catch silent rank collapse early.
29
+ - **Flow Matching vs DDPM vs VAE vs GAN:**
30
+ - Prefer **Conditional Flow Matching / Rectified Flow** (`2210.02747`, `2209.03003`) for new continuous generative models: linear interpolation $x_t = (1-t)x_0 + t x_1$ and velocity regression $\|v_\theta(x_t, t) - (x_1 - x_0)\|^2$ gives straight sampling paths and beats GAN mode collapse (`1406.2661`) and VAE blur (`1312.6114`).
31
+ - Keep **VAEs** as continuous latent compressors (e.g., spatial latent autoencoders feeding latent diffusion/flow models or Dreamer-style world models).
32
+ - **State-Space Models (Mamba `2312.00752`, Mamba-2 `2405.21060`):**
33
+ - Selective SSMs make $\Delta, B, C$ input-dependent so the model filters/resets state dynamically; Mamba-2's Structured State Space Duality (SSD) maps SSMs to block-matrix multiplications running on Tensor Cores. Pair SSM blocks with sparse attention layers when exact long-range associative recall matters.
34
+ - **Geometric & Operator Learning (`2104.13478`, `2102.09844`, `2010.08895`):**
35
+ - Encode domain symmetries (translation, permutation, $SO(3)$/$E(n)$) into the layer equations rather than relying purely on augmentation; in GNNs, add residual connections + PairNorm/DropEdge to mitigate over-smoothing and over-squashing.
36
+
37
+ ## Verified Architecture Repositories
38
+
39
+ - Vision & SSL: `huggingface/timm`, `facebookresearch/dinov2`, `facebookresearch/ijepa`, `facebookresearch/vjepa2`, `facebookresearch/vggt`
40
+ - SSM & Attention: `state-spaces/mamba`, `Dao-AILab/flash-attention`
41
+ - Diffusion & Flow: `huggingface/diffusers`
42
+ - Graphs & Neural Operators: `pyg-team/pytorch_geometric`, `neuraloperator/neuraloperator`
43
+ - Education / First Principles: `karpathy/micrograd`, `karpathy/nn-zero-to-hero`
@@ -0,0 +1,128 @@
1
+ # Scraped Primary-Source Paper Catalog & Verified Deep Learning / RL Repositories
2
+
3
+ Every arXiv entry below was fetched and verified via `export.arxiv.org/api/query` and every GitHub repo via `gh api` on 2026-11-24. Scoped strictly to **Deep Learning, RL, Neural Networks, World Models, Geometric/Scientific ML & Weight-Space Programming** (no LLM-prompting wrappers).
4
+
5
+ ## 1. Weight-Space Programming, Circuits & Generalization Theory (10 Papers)
6
+
7
+ | arXiv / Source | Date | Title & First Authors | Core Takeaway |
8
+ |---|---|---|---|
9
+ | [Sparks of WSP](https://rikiyat.github.io/blog/weight-space-programming/) | 2026-11 | Sparks of Weight-Space Programming (Takehi, Teoh, Zhang, Khattab — MIT CSAIL) | READ/FIX/WRITE neural weights via reasoning + budgeted passes without backprop |
10
+ | `arXiv:2106.06981` | 2021-06 | Thinking Like Transformers — RASP (Weiss, Goldberg, Yahav) | Formal sequence-processing language mapping algorithms to attention/MLP layers |
11
+ | `arXiv:2301.05062` | 2023-01 | Tracr: Compiled Transformers as a Laboratory for Interpretability (Lindner et al.) | Compiles RASP programs directly into ground-truth transformer weights |
12
+ | `arXiv:1609.09106` | 2016-09 | HyperNetworks (Ha, Dai, Le) | One neural network generates weights for another |
13
+ | `arXiv:2209.04836` | 2022-09 | Git Re-Basin: Merging Models modulo Permutation Symmetries (Ainsworth et al.) | Zero-barrier linear mode connectivity after aligning neuron permutations |
14
+ | `arXiv:2212.04089` | 2022-12 | Editing Models with Task Arithmetic (Ilharco et al.) | Weight-space task vectors compose, add, and negate learned skills |
15
+ | `arXiv:1806.07572` | 2018-06 | Neural Tangent Kernel: Convergence and Generalization (Jacot, Gabriel, Hongler) | Infinite-width linearized kernel dynamics of gradient descent |
16
+ | `arXiv:1912.02292` | 2019-12 | Deep Double Descent (Nakkiran, Kaplun, Bansal) | Test error peaks at interpolation threshold then drops with overparameterization |
17
+ | `arXiv:2201.02177` | 2022-01 | Grokking: Generalization Beyond Overfitting (Power, Burda, Edwards) | Delayed phase transition from memorization to generalizing circuits under weight decay |
18
+ | `arXiv:2203.03466` | 2022-03 | Tensor Programs V: muP Zero-Shot Hyperparameter Transfer (Yang, Hu, Babuschkin) | Width-invariant parametrization transfers optimal LRs from tiny proxy nets |
19
+
20
+ ## 2. Reinforcement Learning & World Models (19 Papers)
21
+
22
+ | arXiv ID | Date | Title & First Authors | Core Takeaway |
23
+ |---|---|---|---|
24
+ | `arXiv:1312.5602` | 2013-12 | Playing Atari with Deep Reinforcement Learning — DQN (Mnih et al.) | Experience replay + target network stabilize off-policy deep Q-learning |
25
+ | `arXiv:1502.05477` | 2015-02 | Trust Region Policy Optimization — TRPO (Schulman et al.) | KL-constrained surrogate guarantees monotonic policy improvement |
26
+ | `arXiv:1506.02438` | 2015-06 | Generalized Advantage Estimation — GAE (Schulman et al.) | Exponentially weighted TD residuals balance advantage bias vs variance |
27
+ | `arXiv:1509.02971` | 2015-09 | Continuous Control with Deep RL — DDPG (Lillicrap et al.) | Deterministic actor-critic for continuous action spaces |
28
+ | `arXiv:1707.06347` | 2017-07 | Proximal Policy Optimization — PPO (Schulman et al.) | Clipped probability-ratio surrogate; universal first-order on-policy baseline |
29
+ | `arXiv:1707.06887` | 2017-07 | A Distributional Perspective on RL — C51 (Bellemare, Dabney, Munos) | Learn full return distribution instead of scalar expected Q-value |
30
+ | `arXiv:1710.02298` | 2017-10 | Rainbow: Combining Improvements in Deep RL (Hessel et al.) | Double + Dueling + Prioritized Replay + Multi-step + Noisy + C51 |
31
+ | `arXiv:1801.01290` | 2018-01 | Soft Actor-Critic — SAC (Haarnoja, Zhou, Abbeel) | Maximum-entropy off-policy actor-critic for robust continuous control |
32
+ | `arXiv:1802.09477` | 2018-02 | Addressing Function Approximation Error — TD3 (Fujimoto et al.) | Clipped double Q + delayed policy updates + target smoothing |
33
+ | `arXiv:1803.10122` | 2018-03 | World Models (Ha, Schmidhuber) | Train compact policies inside a learned VAE+MDN-RNN dream simulator |
34
+ | `arXiv:1810.12894` | 2018-10 | Exploration by Random Network Distillation — RND (Burda et al.) | Intrinsic bonus from predicting fixed random network solves Montezuma's Revenge |
35
+ | `arXiv:1911.08265` | 2019-11 | Mastering Atari, Go, Chess & Shogi — MuZero (Schrittwieser et al.) | MCTS planning over learned value/reward/policy latent dynamics |
36
+ | `arXiv:2006.04779` | 2020-06 | Conservative Q-Learning — CQL (Kumar, Zhou, Tucker) | Penalizes OOD action Q-values for safe offline RL |
37
+ | `arXiv:2106.01345` | 2021-06 | Decision Transformer (Chen, Lu, Rajeswaran) | Return-conditioned sequence modeling reframes offline RL without TD bootstrapping |
38
+ | `arXiv:2110.06169` | 2021-10 | Implicit Q-Learning — IQL (Kostrikov, Nair, Levine) | Expectile regression learns offline value functions without ever querying OOD actions |
39
+ | `arXiv:2301.04104` | 2023-01 | Mastering Diverse Domains through World Models — DreamerV3 (Hafner et al.) | Fixed-hyperparameter latent world model masters 150+ tasks incl. Minecraft diamonds |
40
+ | `arXiv:2303.04137` | 2023-03 | Diffusion Policy (Chi, Xu, Feng) | Conditional action-sequence denoising handles multimodal robotics control |
41
+ | `arXiv:2310.16828` | 2023-10 | TD-MPC2 (Hansen, Su, Wang) | Scalable decoder-free latent world model + MPPI continuous control |
42
+ | `arXiv:2402.15391` | 2024-02 | Genie: Generative Interactive Environments (Bruce et al.) | Unsupervised latent-action video world models |
43
+
44
+ ## 3. Neural Architectures, SSL, Generative, Geometric & Scientific ML (28 Papers)
45
+
46
+ | arXiv ID | Date | Title & First Authors | Core Takeaway |
47
+ |---|---|---|---|
48
+ | `arXiv:1312.6114` | 2013-12 | Auto-Encoding Variational Bayes — VAE (Kingma, Welling) | Reparameterization trick for scalable variational latent generative models |
49
+ | `arXiv:1406.2661` | 2014-06 | Generative Adversarial Networks — GAN (Goodfellow et al.) | Minimax generator/discriminator implicit density learning |
50
+ | `arXiv:1502.03167` | 2015-02 | Batch Normalization (Ioffe, Szegedy) | Mini-batch activation standardization accelerates CNN convergence |
51
+ | `arXiv:1505.04597` | 2015-05 | U-Net (Ronneberger, Fischer, Brox) | Symmetric encoder-decoder with skip connections for dense prediction & diffusion |
52
+ | `arXiv:1512.03385` | 2015-12 | Deep Residual Learning — ResNet (He, Zhang, Ren) | Identity skip connections solve degradation in very deep networks |
53
+ | `arXiv:1607.06450` | 2016-07 | Layer Normalization (Ba, Kiros, Hinton) | Per-sample feature normalization independent of batch size |
54
+ | `arXiv:1609.02907` | 2016-09 | Graph Convolutional Networks — GCN (Kipf, Welling) | First-order spectral neighborhood aggregation on graphs |
55
+ | `arXiv:1706.03762` | 2017-06 | Attention Is All You Need — Transformer (Vaswani et al.) | Multi-head dot-product self-attention replaces recurrence |
56
+ | `arXiv:1710.10903` | 2017-10 | Graph Attention Networks — GAT (Velickovic et al.) | Learned anisotropic attention weights over graph neighborhoods |
57
+ | `arXiv:1910.07467` | 2019-10 | Root Mean Square Layer Normalization — RMSNorm (Zhang, Sennrich) | Drops mean-centering for faster, equally stable deep normalization |
58
+ | `arXiv:2002.05709` | 2020-02 | SimCLR (Chen, Kornblith, Norouzi) | Contrastive visual SSL with projection head + strong data augmentation |
59
+ | `arXiv:2006.11239` | 2020-06 | Denoising Diffusion Probabilistic Models — DDPM (Ho, Jain, Abbeel) | Iterative score/noise prediction yields high-fidelity mode-covering generation |
60
+ | `arXiv:2008.02217` | 2020-08 | Hopfield Networks is All You Need (Ramsauer et al.) | Continuous modern Hopfield update equals transformer attention |
61
+ | `arXiv:2010.08895` | 2020-10 | Fourier Neural Operator — FNO (Li, Kovachki et al.) | Frequency-domain operator learning solves parametric PDEs zero-shot across grids |
62
+ | `arXiv:2010.11929` | 2020-10 | Vision Transformer — ViT (Dosovitskiy et al.) | Patch-tokenized pure transformer scales vision representation learning |
63
+ | `arXiv:2101.03961` | 2021-01 | Switch Transformers — MoE (Fedus, Zoph, Shazeer) | Top-1 sparse expert routing scales capacity at constant FLOPs |
64
+ | `arXiv:2102.09844` | 2021-02 | E(n) Equivariant Graph Neural Networks (Satorras, Hoogeboom, Welling) | Simple coordinate/invariant message passing preserves $E(n)$ symmetry |
65
+ | `arXiv:2104.13478` | 2021-04 | Geometric Deep Learning Blueprint (Bronstein, Bruna, Cohen) | Unifies CNNs, GNNs, Transformers & equivariant nets via group symmetry |
66
+ | `arXiv:2111.06377` | 2021-11 | Masked Autoencoders — MAE (He et al.) | High-ratio (75%) patch masking enables scalable asymmetric vision pretraining |
67
+ | `arXiv:2209.03003` | 2022-09 | Rectified Flow (Liu, Gong, Liu) | Straightens ODE transport paths via reflow for few-step generation |
68
+ | `arXiv:2209.15007` | 2022-09 | Understanding Collapse in Non-Contrastive SSL (Li, Efros, Pathak) | Explains how predictor + stop-gradient + EMA prevent representation collapse |
69
+ | `arXiv:2210.02747` | 2022-10 | Flow Matching for Generative Modeling (Lipman, Chen, Ben-Hamu) | Simulation-free conditional vector-field regression generalizes diffusion |
70
+ | `arXiv:2301.08243` | 2023-01 | I-JEPA (Assran, Duval, Misra) | Predicts abstract target block representations in latent space, not pixels |
71
+ | `arXiv:2304.07193` | 2023-04 | DINOv2 (Oquab, Darcet, Moutakanni) | Curated data + discriminative self-distillation yields universal visual features |
72
+ | `arXiv:2312.00752` | 2023-12 | Mamba: Selective State Spaces (Gu, Dao) | Input-selective SSMs achieve linear-time sequence modeling with hardware scan |
73
+ | `arXiv:2404.19756` | 2024-04 | KAN: Kolmogorov-Arnold Networks (Liu, Wang, Vaidya) | Spline activations on edges improve interpretability on low-dim scientific tasks |
74
+ | `arXiv:2405.21060` | 2024-05 | Transformers are SSMs — Mamba-2 (Dao, Gu) | Structured State Space Duality unifies linear attention and selective SSMs |
75
+ | `arXiv:2506.09985` | 2025-06 | V-JEPA 2 (Assran, Bardes, Fan) | Self-supervised video world model enables prediction and zero-shot robot planning |
76
+
77
+ ## 4. Optimization & Systems (6 Papers)
78
+
79
+ | arXiv ID | Date | Title & First Authors | Core Takeaway |
80
+ |---|---|---|---|
81
+ | `arXiv:1412.6980` | 2014-12 | Adam (Kingma, Ba) | First + second moment adaptive per-parameter learning rates |
82
+ | `arXiv:1710.03740` | 2017-10 | Mixed Precision Training (Micikevicius et al.) | FP16/BF16 Tensor Core compute with FP32 master weights halves VRAM |
83
+ | `arXiv:1711.05101` | 2017-11 | Decoupled Weight Decay — AdamW (Loshchilov, Hutter) | Decoupling $L_2$ decay from adaptive gradient denominator fixes generalization |
84
+ | `arXiv:1910.02054` | 2019-10 | ZeRO Memory Optimizations (Rajbhandari et al.) | Shards optimizer states, gradients & weights across data-parallel ranks |
85
+ | `arXiv:2010.01412` | 2020-10 | Sharpness-Aware Minimization — SAM (Foret et al.) | Flatter loss basins improve generalization and label-noise robustness |
86
+ | `arXiv:2205.14135` | 2022-05 | FlashAttention (Dao, Fu, Ermon) | IO-aware SRAM tiling delivers exact attention in $O(N)$ HBM memory |
87
+
88
+ ## 5. Curated Non-LLM Deep Learning, RL & Weight-Space GitHub Repos (37 Verified)
89
+
90
+ | Repo | Stars (2026-11) | License | Domain |
91
+ |---|---|---|---|
92
+ | `jax-ml/jax` | 36.7k | Apache-2.0 | Functional autodiff + XLA JIT/vmap/shard_map |
93
+ | `huggingface/diffusers` | 35.0k | Apache-2.0 | Diffusion & flow-matching models (image/video/audio) |
94
+ | `tinygrad/tinygrad` | 34.0k | MIT | Minimalist lazy tensor compiler & accelerator backend |
95
+ | `karpathy/nn-zero-to-hero` | 26.0k | MIT | First-principles neural network & backprop curriculum |
96
+ | `Dao-AILab/flash-attention` | 25.3k | BSD-3-Clause | IO-aware exact CUDA/Triton attention kernels |
97
+ | `pyg-team/pytorch_geometric` | 24.2k | MIT | Graph Neural Networks & geometric deep learning |
98
+ | `huggingface/candle` | 21.4k | Apache-2.0 | Minimalist zero-Python Rust ML framework |
99
+ | `triton-lang/triton` | 20.6k | MIT | Python GPU kernel compiler |
100
+ | `karpathy/micrograd` | 19.1k | MIT | ~100-LOC scalar autograd engine |
101
+ | `state-spaces/mamba` | 19.0k | Apache-2.0 | Mamba / Mamba-2 Selective State Space Models |
102
+ | `google-deepmind/mujoco` | 18.5k | Apache-2.0 | Contact-rich physics engine (CPU + MJX GPU) |
103
+ | `tracel-ai/burn` | 16.3k | Apache-2.0 | Full Rust deep learning framework (CubeCL/CUDA/WGPU) |
104
+ | `facebookresearch/vggt` | 14.7k | Custom | CVPR 2025 Best Paper — 3D visual geometry transformer |
105
+ | `DLR-RM/stable-baselines3` | 14.0k | MIT | Reliable PyTorch RL baselines |
106
+ | `facebookresearch/dinov2` | 13.6k | Apache-2.0 | Self-supervised universal visual representations |
107
+ | `Farama-Foundation/Gymnasium` | 12.9k | MIT | Standard RL environment interface |
108
+ | `vwxyzjn/cleanrl` | 10.7k | MIT-style | Clean single-file PyTorch RL algorithms |
109
+ | `google/flax` | 7.4k | Apache-2.0 | Flexible neural network library for JAX |
110
+ | `PufferAI/PufferLib` | 6.9k | MIT | High-throughput vectorized RL engine |
111
+ | `pytorch/torchtitan` | 6.0k | BSD-3-Clause | PyTorch-native distributed training (FSDP2/FP8/compile) |
112
+ | `facebookresearch/vjepa2` | 4.9k | MIT | Self-supervised video world model for prediction & planning |
113
+ | `real-stanford/diffusion_policy` | 4.7k | MIT | Visuomotor robotics control via action diffusion |
114
+ | `danijar/dreamerv3` | 4.0k | MIT | Generalist latent world-model RL agent |
115
+ | `neuraloperator/neuraloperator` | 4.0k | MIT | Fourier & graph neural operators for PDEs |
116
+ | `pytorch/rl` | 3.6k | MIT | Modular TorchRL primitives & distributed collectors |
117
+ | `facebookresearch/ijepa` | 3.5k | Custom | Image Joint-Embedding Predictive Architecture |
118
+ | `google/brax` | 3.3k | Apache-2.0 | Massively parallel JAX rigid-body physics for RL |
119
+ | `patrick-kidger/equinox` | 3.0k | Apache-2.0 | PyTree neural nets + scientific computing in JAX |
120
+ | `KellerJordan/Muon` | 3.0k | MIT | Orthogonalized momentum optimizer for hidden matrices |
121
+ | `google-deepmind/optax` | 2.4k | Apache-2.0 | Composable gradient & optimizer transforms for JAX |
122
+ | `google-deepmind/mujoco_playground` | 2.3k | Apache-2.0 | GPU-accelerated MuJoCo robotics RL benchmarks |
123
+ | `RikiyaT/lm_understand-logs` | 1.3k | CC BY 4.0 | MIT CSAIL Weight-Space Programming experiment logs |
124
+ | `luchris429/purejaxrl` | 1.1k | Apache-2.0 | End-to-end JIT-compiled JAX RL training loops |
125
+ | `nicklashansen/tdmpc2` | 1.0k | MIT | Decoder-free latent world model + MPC control |
126
+ | `bold-lab-ai/JaxMARL` | 0.9k | Apache-2.0 | Multi-agent RL compiled in JAX |
127
+ | `google-deepmind/tracr` | 0.6k | Apache-2.0 | RASP-to-transformer weight compiler |
128
+ | `ulkuderner/weight-space-programming` | 0 | MIT | Weight-space READ/FIX/WRITE skill, MCP server, NumPy library |
@@ -0,0 +1,57 @@
1
+ # Reinforcement Learning & World Models
2
+
3
+ Algorithm selection, mathematical primitives, failure diagnostics, and verified codebases for deep RL (control, games, robotics, multi-agent, offline RL, and world models).
4
+
5
+ ## Algorithm Selector
6
+
7
+ | Regime | Default Pick | Runner-Up / Upgrade | Key Papers (arXiv) |
8
+ |---|---|---|---|
9
+ | Discrete actions, cheap sim, fast iteration | **PPO + GAE** (vectorized envs) | **Rainbow DQN / C51** (sample-efficient off-policy) | `1707.06347`, `1506.02438`, `1312.5602`, `1710.02298`, `1707.06887` |
10
+ | Continuous control, sample efficiency critical | **SAC** (max-entropy stochastic actor) | **TD3** (clipped double Q + delayed policy) | `1801.01290`, `1802.09477`, `1509.02971` |
11
+ | Pixel observations, sparse rewards, multi-domain sample efficiency | **DreamerV3** (latent RSSM world model) | **TD-MPC2** (continuous latent MPC) / **MuZero** (tree search) | `2301.04104`, `2310.16828`, `1911.08265`, `1803.10122` |
12
+ | Fixed offline dataset (no online env rollouts) | **IQL** (expectile regression, no OOD query) | **CQL** (conservative Q penalty) / **Decision Transformer** | `2110.06169`, `2006.04779`, `2106.01345` |
13
+ | Visuomotor robotics / multimodal action chunks | **Diffusion Policy** (action-sequence denoising) | **TD-MPC2** | `2303.04137` |
14
+ | Hard sparse-reward exploration | **PPO + RND** (random target prediction error) | DreamerV3 / curiosity bonuses | `1810.12894` |
15
+ | Interactive video-based world simulation | **Genie** (latent action world model) | **V-JEPA 2** (predictive video planning) | `2402.15391`, `2506.09985` |
16
+
17
+ ## Core Mathematical & Implementation Invariants
18
+
19
+ - **Policy Gradients (TRPO `1502.05477` -> PPO `1707.06347` + GAE `1506.02438`):**
20
+ - Always separate **termination** (true terminal state, bootstrap $V(s') = 0$) from **truncation** (time-limit cutoff, MUST bootstrap $V(s')$); conflating them breaks value estimation near horizon boundaries.
21
+ - Normalize advantages per minibatch (`(A - mean) / (std + 1e-8)`), clip global grad norm (`0.5`), anneal LR linearly, and track empirical KL divergence (`approx_kl`) + clip fraction (`0.1-0.25` healthy; `>0.4` means LR/step too large).
22
+ - Use orthogonal initialization (`gain=sqrt(2)` hidden, `0.01` policy head, `1.0` value head) for stable initial entropy.
23
+ - **Off-Policy Actor-Critic (DDPG `1509.02971` -> TD3 `1802.09477` -> SAC `1801.01290`):**
24
+ - Twin critics (`min(Q1, Q2)`) suppress overestimation bias; update target networks with Polyak averaging ($\tau \approx 0.005$).
25
+ - In SAC, auto-tune entropy temperature $\alpha$ toward target entropy $-\dim(\mathcal{A})$ and apply the tanh-squashing Jacobian log-prob correction (missing this causes silent policy collapse).
26
+ - Never let replay buffer warmup drop below `1,000-10,000` transitions before starting critic updates; monitor Q-value drift for divergence.
27
+ - **Model-Based RL & World Models (World Models `1803.10122`, MuZero `1911.08265`, DreamerV3 `2301.04104`, TD-MPC2 `2310.16828`):**
28
+ - DreamerV3 stabilizes across domains via symlog predictions ($\text{symlog}(x) = \text{sign}(x)\ln(|x|+1)$), two-hot discrete regression targets, percentile return normalization, and free-bits KL balancing.
29
+ - TD-MPC2 plans in a learned decoder-free latent space with MPPI over short horizons — avoids wasting capacity reconstructing background pixels.
30
+ - **Offline RL (CQL `2006.04779`, IQL `2110.06169`, Decision Transformer `2106.01345`):**
31
+ - Standard Q-learning explodes offline because Bellman backups query out-of-distribution (OOD) actions. IQL completely avoids OOD action queries via asymmetric expectile regression on $V(s)$ and advantage-weighted behavioral extraction.
32
+
33
+ ## RL Debugging Checklist (Run In Order)
34
+
35
+ 1. **Sanity env first:** Verify the algorithm solves `CartPole-v1` (discrete) or `Pendulum-v1` (continuous) in minutes before touching custom envs.
36
+ 2. **Observation & reward scaling:** Running mean/std normalization (clipped to `[-10, 10]`) prevents gradient explosion; never normalize sparse terminal rewards with unstable variance.
37
+ 3. **Seed variance:** Report IQM (interquartile mean) across $\ge 5$ random seeds — single-seed RL curves are noise.
38
+ 4. **Throughput bottleneck:** CPU-bound Python envs starve GPUs. Move vectorization to `PufferLib`, `Brax`, `MuJoCo Playground`, or end-to-end JAX (`PureJaxRL`, `JaxMARL`) for $10^5-10^6$ steps/sec.
39
+ 5. **Reward hacking audit:** Visually inspect rolled-out policy episodes; high scalar return frequently exploits physics glitches or terminal loops.
40
+
41
+ ## Verified RL Repositories
42
+
43
+ | Repo | License | Best For |
44
+ |---|---|---|
45
+ | `vwxyzjn/cleanrl` | MIT-style | Single-file, readable, reproducible PyTorch RL baselines (PPO, SAC, TD3, DQN, C51) |
46
+ | `PufferAI/PufferLib` | MIT | High-throughput vectorized RL environments and C/PyTorch PPO training |
47
+ | `Farama-Foundation/Gymnasium` | MIT | Standard Python RL environment API (`step -> obs, reward, terminated, truncated, info`) |
48
+ | `pytorch/rl` (TorchRL) | MIT | Modular PyTorch RL primitives, TensorDict replay buffers, distributed collectors |
49
+ | `DLR-RM/stable-baselines3` | MIT | Battle-tested PyTorch RL baselines with evaluation callbacks |
50
+ | `google-deepmind/mujoco` | Apache-2.0 | Fast, accurate contact-rich physics engine (CPU + MJX GPU) |
51
+ | `google-deepmind/mujoco_playground` | Apache-2.0 | GPU-accelerated MuJoCo robotics & sim-to-real RL benchmarks |
52
+ | `google/brax` | Apache-2.0 | Massively parallel JAX differentiable rigid-body physics |
53
+ | `luchris429/purejaxrl` | Apache-2.0 | End-to-end JIT-compiled JAX RL loops (env + policy on one GPU/TPU) |
54
+ | `bold-lab-ai/JaxMARL` | Apache-2.0 | Multi-agent RL environments and algorithms compiled in JAX |
55
+ | `danijar/dreamerv3` | MIT | Official DreamerV3 world-model RL implementation |
56
+ | `nicklashansen/tdmpc2` | MIT | Official TD-MPC2 decoder-free latent world model + MPC |
57
+ | `real-stanford/diffusion_policy` | MIT | Official visuomotor Diffusion Policy codebase |
@@ -0,0 +1,40 @@
1
+ # Deep Learning Optimization, Scaling Dynamics & Systems
2
+
3
+ Optimizers, hyperparameter transfer, generalization phenomena, low-level GPU/Rust ML frameworks, and numerical debugging for neural networks.
4
+
5
+ ## Optimizers & Schedules
6
+
7
+ | Optimizer | Best For | Core Mechanism & Defaults | Reference |
8
+ |---|---|---|---|
9
+ | **AdamW** | Default baseline across CNNs, ViTs, RL, diffusion | Decoupled weight decay ($\theta \leftarrow (1-\lambda\eta)\theta - \eta \hat m / (\sqrt{\hat v}+\epsilon)$); never decay biases or 1D norm weights | `arXiv:1711.05101`, `1412.6980` |
10
+ | **Muon** | Hidden 2D weight matrices in deep networks | Orthogonalizes momentum update via Newton-Schulz iterations; pair with AdamW for 1D params, embeddings, and heads | `KellerJordan/Muon` |
11
+ | **SAM** | Small/medium vision or tabular datasets prone to sharp minima | Minimizes worst-case loss in $\rho$-ball ($\max_{\|\epsilon\|\le\rho} L(\theta+\epsilon)$); 2x step cost, stronger generalization | `arXiv:2010.01412` |
12
+ | **Optax** | Custom JAX gradient pipelines | Composable `chain(clip_by_global_norm, scale_by_adam, add_decayed_weights)` | `google-deepmind/optax` |
13
+
14
+ Schedule rule: linear warmup (1-5% of steps) -> cosine decay to 1-10% of peak LR (or Warmup-Stable-Decay / WSD for open-ended runs). Always clip global gradient norm (`1.0` standard; `0.5` for RL).
15
+
16
+ ## Scaling Theory & Training Dynamics
17
+
18
+ - **muP — Maximal Update Parametrization (`arXiv:2203.03466`):** Standard initialization breaks optimal LR when scaling model width. Under muP, tune LR/init on a cheap proxy width (e.g., $d=256$) and transfer zero-shot to wide models ($d=4096+$) by scaling hidden LRs as $1/\text{width}$ and output head weights as $1/\text{width}$.
19
+ - **Neural Tangent Kernel (`arXiv:1806.07572`):** Distinguishes the *lazy/kernel* regime (features barely move) from the *rich/feature-learning* regime (where deep nets actually learn representations). Verify feature movement by tracking $\Delta W / \|W\|_F$.
20
+ - **Deep Double Descent (`arXiv:1912.02292`):** Test error rises near the interpolation threshold (model capacity $\approx$ dataset size/noise), then drops again in the overparameterized regime. Do not mistake interpolation-peak error for monotone overfitting.
21
+ - **Grokking (`arXiv:2201.02177`):** On algorithmic/structured tasks, validation accuracy can jump from chance to ~100% long after 100% training accuracy once weight decay prunes memorization circuits into generalizing circuits. Weight decay + sufficient post-memorization steps are the trigger.
22
+
23
+ ## Precision, Memory & Hardware Efficiency
24
+
25
+ - **Mixed Precision (`arXiv:1710.03740`):** Default to **BF16** on Ampere+ GPUs (same exponent range as FP32, no loss scaler required). Use FP16 only on older hardware with dynamic `GradScaler`. Keep master weights, optimizer moments, and reductions (norms/softmax/losses) in FP32.
26
+ - **IO-Aware Attention (`arXiv:2205.14135`):** FlashAttention tiles $Q, K, V$ in GPU SRAM, eliminating $O(N^2)$ HBM materialization — exact math, 2-4x faster, linear memory. Never materialize $N \times N$ attention matrices manually.
27
+ - **Distributed Memory (`arXiv:1910.02054`, ZeRO / FSDP):** Partition optimizer states (Stage 1: 4x savings), gradients (Stage 2: 8x), and parameters (Stage 3 / FSDP: linear in GPUs) before resorting to pipeline parallelism. Combine with activation checkpointing (`torch.utils.checkpoint`) when activations dominate VRAM.
28
+ - **Custom Kernels & Lean Runtimes:**
29
+ - `triton-lang/triton` — Write fused GPU kernels in Python (softmax, layernorm, custom SSM scans, sparse ops) at near-CUDA speed.
30
+ - `jax-ml/jax` + `google/flax` + `patrick-kidger/equinox` — Pure functional autodiff, `jit`/`vmap`/`pmap`/`shard_map`, ideal for RL and scientific ML.
31
+ - `pytorch/torchtitan` — Clean PyTorch-native distributed training recipes (FSDP2, TP, FP8, `torch.compile`).
32
+ - `tracel-ai/burn` and `huggingface/candle` — Zero-Python, low-RAM Rust deep learning & inference frameworks (CPU/CUDA/WGPU/Metal).
33
+ - `tinygrad/tinygrad` — Minimalist lazy-evaluated tensor compiler (~few thousand LOC) for understanding/customizing kernels.
34
+
35
+ ## Numerical Debugging Playbook (Fast Root-Cause Order)
36
+
37
+ 1. **Overfit one batch first:** If the model cannot reach ~0 loss on 8-32 samples in 200 steps, stop — you have a data/label alignment, mask, loss-sign, or gradient-flow bug.
38
+ 2. **Gradient flow audit:** Check per-layer `grad.norm()` and `% zero grads` on step 1 and step 50; dead layers reveal broken residual scaling, vanishing activations, or detached tensors.
39
+ 3. **NaN/Inf bisection:** Enable `torch.autograd.set_detect_anomaly(True)` on 1 step; top culprits are `log(0)`, `sqrt(0)` backward (`1 / (2*sqrt(x))` -> `inf` at 0 — always add `eps` *inside* `sqrt`), or unclipped `exp()`.
40
+ 4. **Data pipeline check:** Profile GPU utilization (`nvtop` / `torch.profiler`); if GPU util < 80%, fix `DataLoader` (`pin_memory=True`, `persistent_workers=True`, pre-tokenized/sharded memmap or WebDataset) before buying faster GPUs.
@@ -0,0 +1,76 @@
1
+ # Weight-Space Programming (READ / FIX / WRITE Without Gradient Descent)
2
+
3
+ Distilled from `ulkuderner/weight-space-programming` (MIT) and Takehi, Teoh, Zhang & Khattab, *"Sparks of Weight-Space Programming"* (MIT CSAIL, Nov 2026; experiment logs `RikiyaT/lm_understand-logs`, CC BY 4.0), alongside foundational weight-space theory.
4
+
5
+ ## Protocol Contract
6
+
7
+ | Level | Forward Passes Allowed | Use When |
8
+ |---|---|---|
9
+ | `strict` | None, or fixed logged pass budget | Reproducing interpretability claims or blind weight reading |
10
+ | `standard` | Budgeted passes (default 25) via `Budget` | Surgical fixes where every evaluation is a scarce measurement |
11
+ | `practical` | Unlimited evaluation runs, still zero gradient descent | Engineering and unit-testing hand-compiled neural networks |
12
+
13
+ Four non-negotiable rules at every level:
14
+ 1. **No training.** No backprop, autograd, optimizers, or iterative loss minimization. Closed-form linear algebra (SVD, difference of means, least-squares solve) is allowed.
15
+ 2. **Budgeted evaluation.** Run checkpoints only through logged evaluators wrapped with `Budget.spend` (refund failed passes via `Budget.refund`).
16
+ 3. **Targeted edits only.** Keep embeddings, output heads, and final norms frozen (`forbidden=[...]`) unless the task explicitly targets them. `EditSession` rejects whole-tensor rescaling.
17
+ 4. **Mechanism + evidence.** Every edit records target tensor, exact changed weight count (`ses.manifest_text()`), causal mechanism, norm-matched random control, and held-out paired gain (`gain > 2 * SE`).
18
+
19
+ ## Quick Start (`scripts/wsp.py`, NumPy-only)
20
+
21
+ ```bash
22
+ python -B scripts/wsp.py path/to/model.safetensors > .scratch/wsp_inventory.txt
23
+ ```
24
+ ```python
25
+ from wsp import (
26
+ load_weights, summarize, EditSession, Budget,
27
+ unit_direction, top_writers, ablate_direction, random_control, paired_stats,
28
+ )
29
+ W = load_weights("model.safetensors") # .safetensors, .npz, .npy, .pt/.bin, .json
30
+ ses = EditSession(W, ".scratch/wsp_work", forbidden=["lm_head.weight", "model.norm.weight"])
31
+ budget = Budget(".scratch/wsp_work", total=25)
32
+ ```
33
+
34
+ Tensor layout rule: PyTorch `nn.Linear.weight` is `[out, in]` (`layout="out_in"`, where column `j` is what input unit `j` writes); plain NumPy `x @ W` MLPs are `[in, out]` (`layout="in_out"`). Always verify bf16 round-trip survival (`ses.stat(name)["changed"]`).
35
+
36
+ ## Mode 1: READ (Infer Function From Raw Weights)
37
+
38
+ Always compare every statistic against a null model (random tensor of matching shape/scale or sibling checkpoints):
39
+ 1. **Global inventory:** `summarize(W)` reports shape, mean, std, `|max|`, zero %, and `eff_rank` (participation ratio $(\sum s_i^2)^2 / \sum s_i^4$).
40
+ 2. **Input edge (Layer 1):** `group_mass(W1, groups)` and `ascii_grid(row_norms, (H, W))` reveal which input channels and spatial regions drive the network (e.g., Breakout agent channel concentrates on the bottom paddle row).
41
+ 3. **Output edge (Last layer):** `spectrum(W_last)` and reshaped output rows expose geometric primitives or class separation (e.g., DDPM output rows trace shape outlines directly).
42
+ 4. **Transformer circuits:** `qk_ov(Wq, Wk, Wv, Wo)` + `rank_compositions(heads, "K")` vs `baseline_composition(d_model, head_dim)` + `copying_score(OV)`. A previous-token head K-composing into a positive-eigenvalue OV head identifies an induction head.
43
+ 5. **Known limit:** Pure weight inspection failed on behavioral traits like sycophancy (0/4); use attention-pattern-only probes on synthetic prompts when protocol permits.
44
+
45
+ ## Mode 2: FIX (Minimal Causal Repair)
46
+
47
+ 1. **Diagnose:** Run one generation pass on practice items (never test set); bucket failures (wrong answer, no answer, looping/cutoff).
48
+ 2. **Matched-context localization:** Take the *same* input with one failing continuation and one productive continuation. Extract activations via one teacher-forced pass; compute `u = unit_direction(acts_fail, acts_ok)` and `writers = top_writers(W_down, u, k=64)`.
49
+ 3. **Dose-response + random control:** Apply `ablate_direction(W, u, alpha, units=writers)` across `alpha = 1, 2, 4, 6` and verify failing log-prob drops more than productive log-prob while `random_control(u)` does not reproduce the gain.
50
+ 4. **Three surgical repair primitives:**
51
+ - *Direction ablation:* $W' = W - \alpha u (m \odot (u^T W))$ on top-$k$ writers (paper Exp. 8: 64 MLP `down_proj` columns in 2 layers, 0.016% of weights, lifted MATH-500 from 7.9% to 48.1%).
52
+ - *Head switch-off:* `ablate_units(W_o, head_cols, scale=0.0)`.
53
+ - *Bypass sub-circuit:* `bypass_unit(W_in, b_in, W_out, unit, read, bias, write)` injects hand-written neurons active only in the failure regime (paper Exp. 4: 0% to 100% over 1,024 episodes editing 3.5% of weights).
54
+ 5. **Paired confirmation:** Evaluate base vs edited on identical held-out items/seeds (`paired_stats`), accept only if `gain > 2 * se`, and export sparse diff via `ses.export_diff("edit.npz")`.
55
+ 6. **Hard limit:** Edits remove obstacles (looping, broken heads, local minima); they cannot create missing capability (Gemma 3 270M showed <1 pt movement).
56
+
57
+ ## Mode 3: WRITE (Compile Algorithms Directly Into Weights)
58
+
59
+ 1. **Symbolic spec first:** Write explicit feature detectors, multi-step propagation rules, and priority-weighted action scores.
60
+ 2. **ReLU/tanh gate primitives** (use crisp weights $\approx \pm 10$, leave unused units exact `0`):
61
+ - `AND(x_1..x_k)`: weights `+1`, bias `-(k - 1)`.
62
+ - `OR(x_1..x_k)`: weights `+1`, bias `0` (clamped downstream).
63
+ - `NOT(x)`: weight `-1`, bias `+1`.
64
+ - `Threshold(x > t)`: weight `+1`, bias `-t`.
65
+ - `Comparator(a > b)`: `ReLU(a - b)`.
66
+ - `Signed pass-through`: `h+ / h-` twin units (`ReLU(x)` and `ReLU(-x)`).
67
+ 3. **Generate programmatically:** One Python builder per layer calling `bypass_unit` / `ses.save_edit`; verify symbolically and empirically against RL baselines (paper Exp. 5-6: hand-compiled MinAtar Breakout scored 517 vs PPO-500M's 25; 1.48M-weight 9x9 Go beat equal-size 20M-game PPO).
68
+
69
+ ## Foundational Weight-Space & Compiled-Network Papers
70
+
71
+ - **RASP** (`arXiv:2106.06981`, Weiss et al. 2021) — Formal programming language that compiles sequence algorithms into transformer attention/MLP primitives.
72
+ - **Tracr** (`arXiv:2301.05062`, Lindner et al. 2023; `google-deepmind/tracr`) — End-to-end compiler turning RASP programs into exact transformer weights for mechanistic ground truth.
73
+ - **HyperNetworks** (`arXiv:1609.09106`, Ha et al. 2016) — A smaller network generates weights for a larger target network, coupling weight space with functional structure.
74
+ - **Git Re-Basin** (`arXiv:2209.04836`, Ainsworth et al. 2022) — Linear mode connectivity via neuron permutation matching across independently trained models.
75
+ - **Task Arithmetic** (`arXiv:2212.04089`, Ilharco et al. 2022) — Adding/negating weight-space task vectors ($\tau = \theta_{\text{ft}} - \theta_{\text{pre}}$) edits capabilities compositionally.
76
+ - **Neural Tangent Kernel** (`arXiv:1806.07572`, Jacot et al. 2018) — Infinite-width linearized weight-space dynamics governing gradient flow and generalization.