deepmodebot 0.9.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (705) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.claude-plugin/marketplace.json +2 -2
  3. package/.omp-plugin/marketplace.json +2 -2
  4. package/README.md +38 -5
  5. package/bin/deepmodebot.mjs +257 -4
  6. package/lib/clients.mjs +50 -3
  7. package/lib/tree.mjs +64 -10
  8. package/native/dmb-gate/Cargo.toml +13 -0
  9. package/native/dmb-gate/src/agents.rs +110 -0
  10. package/native/dmb-gate/src/ci.rs +1032 -0
  11. package/native/dmb-gate/src/cleanup.rs +198 -0
  12. package/native/dmb-gate/src/gap.rs +1376 -0
  13. package/native/dmb-gate/src/guard.rs +135 -0
  14. package/native/dmb-gate/src/main.rs +535 -0
  15. package/native/dmb-gate/src/map.rs +173 -0
  16. package/native/dmb-gate/src/perf.rs +347 -0
  17. package/native/dmb-gate/src/reward.rs +2867 -0
  18. package/native/dmb-gate/src/sim.rs +969 -0
  19. package/native/dmb-gate/src/skill_check.rs +171 -0
  20. package/native/dmb-gate/src/slop.rs +2004 -0
  21. package/native/dmb-gate/src/ui.rs +842 -0
  22. package/native/dmb-gate/src/util.rs +260 -0
  23. package/native/dmb-net/go.mod +3 -0
  24. package/native/dmb-net/main.go +624 -0
  25. package/native/dmb-net/main_test.go +122 -0
  26. package/package.json +12 -2
  27. package/plugins/deepmodebot/.antigravity-plugin/plugin.json +1 -1
  28. package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +5 -5
  29. package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +1 -1
  30. package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +2 -2
  31. package/plugins/deepmodebot/.antigravity-plugin/skills/suggest/SKILL.md +13 -0
  32. package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +2 -2
  33. package/plugins/deepmodebot/.claude-plugin/plugin.json +1 -1
  34. package/plugins/deepmodebot/.codex-plugin/plugin.json +46 -0
  35. package/plugins/deepmodebot/agents/comment-sicko.md +29 -0
  36. package/plugins/deepmodebot/agents/researcher.md +29 -0
  37. package/plugins/deepmodebot/agents/reviewer.md +29 -0
  38. package/plugins/deepmodebot/agents/scout.md +28 -0
  39. package/plugins/deepmodebot/agents/security-reviewer.md +27 -0
  40. package/plugins/deepmodebot/commands/deep.md +7 -6
  41. package/plugins/deepmodebot/commands/research.md +8 -0
  42. package/plugins/deepmodebot/commands/suggest.md +10 -0
  43. package/plugins/deepmodebot/commands/tournament.md +2 -2
  44. package/plugins/deepmodebot/hooks/hooks.json +12 -2
  45. package/plugins/deepmodebot/hooks.json +1 -1
  46. package/plugins/deepmodebot/scripts/antigravity-guard.mjs +862 -26
  47. package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +179 -47
  48. package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +4 -6
  49. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +3 -0
  50. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +4 -0
  51. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +3 -1
  52. package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +3 -3
  53. package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +12 -2
  54. package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +11 -3
  55. package/plugins/deepmodebot/skills/app-automation-relay/SKILL.md +17 -0
  56. package/plugins/deepmodebot/skills/app-automation-relay/assets/relay_server.ts +364 -0
  57. package/plugins/deepmodebot/skills/app-automation-relay/references/adapter-cookbook.md +15 -0
  58. package/plugins/deepmodebot/skills/app-automation-relay/references/wire-protocol.md +23 -0
  59. package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +4 -3
  60. package/plugins/deepmodebot/skills/cloud-devsecops/references/cloudflare-edge.md +43 -0
  61. package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +15 -2
  62. package/plugins/deepmodebot/skills/contribute/SKILL.md +3 -35
  63. package/plugins/deepmodebot/skills/create-formal-verification-skill/LICENSE +21 -0
  64. package/plugins/deepmodebot/skills/create-formal-verification-skill/NOTICE.md +16 -0
  65. package/plugins/deepmodebot/skills/create-formal-verification-skill/SKILL.md +71 -0
  66. package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +2 -2
  67. package/plugins/deepmodebot/skills/deep-learning/LICENSE +21 -0
  68. package/plugins/deepmodebot/skills/deep-learning/SKILL.md +33 -0
  69. package/plugins/deepmodebot/skills/deep-learning/references/neural-architectures.md +43 -0
  70. package/plugins/deepmodebot/skills/deep-learning/references/papers-and-repos.md +128 -0
  71. package/plugins/deepmodebot/skills/deep-learning/references/reinforcement-learning.md +57 -0
  72. package/plugins/deepmodebot/skills/deep-learning/references/training-optimization.md +40 -0
  73. package/plugins/deepmodebot/skills/deep-learning/references/weight-space-programming.md +76 -0
  74. package/plugins/deepmodebot/skills/deep-learning/scripts/hf_passes.py +166 -0
  75. package/plugins/deepmodebot/skills/deep-learning/scripts/wsp.py +493 -0
  76. package/plugins/deepmodebot/skills/deep-stack/SKILL.md +1 -1
  77. package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +46 -92
  78. package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +1 -0
  79. package/plugins/deepmodebot/skills/deep-stack/references/prove.md +6 -0
  80. package/plugins/deepmodebot/skills/deep-stack/references/stack.md +11 -1
  81. package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +83 -146
  82. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +67 -24
  83. package/plugins/deepmodebot/skills/deepmodebot/assets/autoroute/autoroute.py +1026 -0
  84. package/plugins/deepmodebot/skills/deepmodebot/assets/cleanup/self_cleanup.py +305 -0
  85. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude-guard.sh +4 -0
  86. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +736 -6
  87. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/holdout_guard_cases.json +272 -0
  88. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +861 -9
  89. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +3 -0
  90. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +2 -0
  91. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/rehearsal_gate.py +536 -0
  92. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +2 -0
  93. package/plugins/deepmodebot/skills/deepmodebot/assets/f2p-gate/f2p_gate.py +547 -0
  94. package/plugins/deepmodebot/skills/deepmodebot/assets/formal-verification/verify_proof.py +638 -0
  95. package/plugins/deepmodebot/skills/deepmodebot/assets/gap-audit/gap_audit.py +1047 -0
  96. package/plugins/deepmodebot/skills/deepmodebot/assets/gen-ui/gen_ui.py +1782 -0
  97. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +7 -0
  98. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +55 -7
  99. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +55 -5
  100. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +2 -0
  101. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +2 -0
  102. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/local_ci.py +796 -0
  103. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/slop_gate.py +1049 -0
  104. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +748 -46
  105. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +2 -1
  106. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +2 -0
  107. package/plugins/deepmodebot/skills/deepmodebot/assets/memory/project_memory.py +928 -0
  108. package/plugins/deepmodebot/skills/deepmodebot/assets/mutation/mutation_gate.py +798 -0
  109. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +48 -21
  110. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +339 -5
  111. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +96 -6
  112. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +2 -0
  113. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +2 -0
  114. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +2 -0
  115. package/plugins/deepmodebot/skills/deepmodebot/assets/prompt-tools/prompt_tools.py +1239 -0
  116. package/plugins/deepmodebot/skills/deepmodebot/assets/quota-guard/quota_guard.py +424 -0
  117. package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +477 -1
  118. package/plugins/deepmodebot/skills/deepmodebot/assets/reward-guard/reward_guard.py +3447 -0
  119. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule-paths.json +100 -0
  120. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule_ledger.py +1671 -0
  121. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rules_watch.py +436 -0
  122. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +2 -0
  123. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +2 -0
  124. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +13 -10
  125. package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/static_sec_audit.py +275 -0
  126. package/plugins/deepmodebot/skills/deepmodebot/assets/self-grill/self_grill.py +2049 -0
  127. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/model_setup.py +329 -0
  128. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/project_setup.py +348 -0
  129. package/plugins/deepmodebot/skills/deepmodebot/assets/sim/sim.py +856 -0
  130. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +304 -18
  131. package/plugins/deepmodebot/skills/deepmodebot/assets/worker-gate/worker_gate.py +237 -0
  132. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +121 -78
  133. package/plugins/deepmodebot/skills/deepmodebot/references/README.md +14 -0
  134. package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +17 -11
  135. package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +2 -1
  136. package/plugins/deepmodebot/skills/deepmodebot/references/delegation.md +18 -0
  137. package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +2 -0
  138. package/plugins/deepmodebot/skills/deepmodebot/references/full-scope.md +9 -0
  139. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/authoring-a-skill.md +1 -1
  140. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +2 -0
  141. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +12 -9
  142. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +7 -3
  143. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +3 -0
  144. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +4 -4
  145. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +1 -1
  146. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +13 -10
  147. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +6 -6
  148. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +1 -0
  149. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +3 -1
  150. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/self-authoring.md +1 -1
  151. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +1 -2
  152. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +1 -0
  153. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +4 -2
  154. package/plugins/deepmodebot/skills/deepmodebot/references/principles/hardcore-mode.md +7 -0
  155. package/plugins/deepmodebot/skills/deepmodebot/references/principles/no-reward-hacking.md +8 -0
  156. package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +2 -1
  157. package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +2 -2
  158. package/plugins/deepmodebot/skills/deepmodebot/references/rule-approval.md +71 -0
  159. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +10 -24
  160. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +5 -4
  161. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +3 -3
  162. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/autoroute.md +50 -0
  163. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +1 -1
  164. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/catchup-video.md +13 -0
  165. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +9 -7
  166. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +2 -1
  167. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/devex-review.md +13 -0
  168. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/expand-contract.md +13 -0
  169. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/formal-verification.md +33 -0
  170. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/gen-ui.md +60 -0
  171. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +2 -1
  172. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +7 -18
  173. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +12 -8
  174. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/model-setup.md +14 -0
  175. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/modernize-pr.md +15 -0
  176. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/mutation-testing.md +35 -0
  177. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +5 -5
  178. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +9 -5
  179. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +1 -1
  180. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +8 -5
  181. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +1 -2
  182. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +33 -38
  183. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/product-lens.md +12 -0
  184. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prompt-upgrade.md +30 -0
  185. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +1 -1
  186. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reframe.md +18 -0
  187. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/release-and-canary.md +10 -0
  188. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +62 -89
  189. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +5 -1
  190. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/self-grill.md +54 -0
  191. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +3 -3
  192. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +7 -0
  193. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sim.md +41 -0
  194. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +3 -2
  195. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/suggest.md +24 -0
  196. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +7 -0
  197. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tdd.md +12 -0
  198. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +2 -2
  199. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +30 -18
  200. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/variant-analysis.md +11 -0
  201. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/video-forensics.md +46 -0
  202. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +10 -1
  203. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/webhook-ui.md +11 -0
  204. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +6 -0
  205. package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +7 -0
  206. package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +141 -18
  207. package/plugins/deepmodebot/skills/deepmodebot/worker.md +28 -0
  208. package/plugins/deepmodebot/skills/domain-rules/SKILL.md +13 -119
  209. package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +19 -1
  210. package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +7 -0
  211. package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +11 -0
  212. package/plugins/deepmodebot/skills/domain-rules/references/sources.md +108 -0
  213. package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +30 -131
  214. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/canvas.css +42 -0
  215. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/editorial.css +39 -0
  216. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/layouts.css +95 -0
  217. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/swiss.css +40 -0
  218. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/tactile.css +41 -0
  219. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/workbench.css +50 -0
  220. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-animations.md +49 -0
  221. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +46 -24
  222. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +27 -258
  223. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +26 -51
  224. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +22 -195
  225. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/00-art-direction.md +39 -0
  226. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +27 -24
  227. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +23 -17
  228. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +22 -45
  229. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +11 -0
  230. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +32 -152
  231. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +36 -91
  232. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +14 -120
  233. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +11 -10
  234. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +9 -9
  235. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06b-media-icons-charts.md +19 -0
  236. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06c-product-shots-craft.md +42 -0
  237. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +5 -6
  238. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +28 -56
  239. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +9 -7
  240. package/plugins/deepmodebot/skills/frontend-ui/scripts/motion_diff.py +259 -0
  241. package/plugins/deepmodebot/skills/frontend-ui/scripts/ui_audit.py +496 -0
  242. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/LICENSE +21 -0
  243. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/NOTICE.md +16 -0
  244. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/SKILL.md +68 -0
  245. package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +1 -1
  246. package/plugins/deepmodebot/skills/office-documents/SKILL.md +24 -0
  247. package/plugins/deepmodebot/skills/office-documents/references/documents-docx-pdf.md +15 -0
  248. package/plugins/deepmodebot/skills/office-documents/references/presentations-pptx.md +15 -0
  249. package/plugins/deepmodebot/skills/office-documents/references/spreadsheets-xlsx.md +15 -0
  250. package/plugins/deepmodebot/skills/office-documents/scripts/doc_audit.py +230 -0
  251. package/plugins/deepmodebot/skills/project-brief/SKILL.md +2 -19
  252. package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +4 -0
  253. package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +4 -0
  254. package/plugins/deepmodebot/skills/project-brief/references/claim-contract.md +55 -0
  255. package/plugins/deepmodebot/skills/research/SKILL.md +18 -0
  256. package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +1 -1
  257. package/plugins/deepmodebot/skills/seo-and-geo/SKILL.md +29 -0
  258. package/plugins/deepmodebot/skills/seo-and-geo/references/geo-and-agentic-web.md +30 -0
  259. package/plugins/deepmodebot/skills/seo-and-geo/references/technical-and-schema.md +25 -0
  260. package/plugins/deepmodebot/skills/seo-and-geo/scripts/seo_audit.py +282 -0
  261. package/plugins/deepmodebot/skills/software-architecture/SKILL.md +2 -2
  262. package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +5 -0
  263. package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +1 -0
  264. package/plugins/deepmodebot/skills/statechart/LICENSE +21 -0
  265. package/plugins/deepmodebot/skills/statechart/NOTICE.md +21 -0
  266. package/plugins/deepmodebot/skills/statechart/SKILL.md +106 -0
  267. package/plugins/deepmodebot/skills/statechart/references/render.md +93 -0
  268. package/plugins/deepmodebot/skills/statechart/references/tooling.md +78 -0
  269. package/plugins/deepmodebot/skills/statechart/scripts/backends/cfg.ts +33 -0
  270. package/plugins/deepmodebot/skills/statechart/scripts/backends/mermaid.ts +249 -0
  271. package/plugins/deepmodebot/skills/statechart/scripts/backends/plain-text.ts +72 -0
  272. package/plugins/deepmodebot/skills/statechart/scripts/backends/report.ts +177 -0
  273. package/plugins/deepmodebot/skills/statechart/scripts/frontends/config.ts +276 -0
  274. package/plugins/deepmodebot/skills/statechart/scripts/frontends/dot.ts +77 -0
  275. package/plugins/deepmodebot/skills/statechart/scripts/frontends/marks.ts +93 -0
  276. package/plugins/deepmodebot/skills/statechart/scripts/frontends/messages.ts +52 -0
  277. package/plugins/deepmodebot/skills/statechart/scripts/frontends/spec.ts +114 -0
  278. package/plugins/deepmodebot/skills/statechart/scripts/frontends/trace.ts +24 -0
  279. package/plugins/deepmodebot/skills/statechart/scripts/frontends/value.ts +166 -0
  280. package/plugins/deepmodebot/skills/statechart/scripts/frontends/verdict.ts +40 -0
  281. package/plugins/deepmodebot/skills/statechart/scripts/frontends/view.ts +119 -0
  282. package/plugins/deepmodebot/skills/statechart/scripts/ir.ts +547 -0
  283. package/plugins/deepmodebot/skills/statechart/scripts/janitor.ts +13 -0
  284. package/plugins/deepmodebot/skills/statechart/scripts/kill.ts +15 -0
  285. package/plugins/deepmodebot/skills/statechart/scripts/package.json +11 -0
  286. package/plugins/deepmodebot/skills/statechart/scripts/passes/annotate.ts +128 -0
  287. package/plugins/deepmodebot/skills/statechart/scripts/passes/label.ts +269 -0
  288. package/plugins/deepmodebot/skills/statechart/scripts/passes/lift.ts +85 -0
  289. package/plugins/deepmodebot/skills/statechart/scripts/passes/loop-check.ts +68 -0
  290. package/plugins/deepmodebot/skills/statechart/scripts/passes/paths.ts +60 -0
  291. package/plugins/deepmodebot/skills/statechart/scripts/passes/reach.ts +135 -0
  292. package/plugins/deepmodebot/skills/statechart/scripts/passes/region-check.ts +97 -0
  293. package/plugins/deepmodebot/skills/statechart/scripts/passes/regions.ts +295 -0
  294. package/plugins/deepmodebot/skills/statechart/scripts/pipeline.ts +76 -0
  295. package/plugins/deepmodebot/skills/statechart/scripts/run.ts +500 -0
  296. package/plugins/deepmodebot/skills/statechart/scripts/statechart +29 -0
  297. package/plugins/deepmodebot/skills/statechart/scripts/statechart.ts +165 -0
  298. package/plugins/deepmodebot/skills/statechart/scripts/test/ConfigOracle.java +63 -0
  299. package/plugins/deepmodebot/skills/statechart/scripts/test/chart.test.ts +1253 -0
  300. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Braces.mmd +7 -0
  301. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Escapes.mmd +11 -0
  302. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Phases.mmd +29 -0
  303. package/plugins/deepmodebot/skills/statechart/scripts/test/cli.test.ts +1344 -0
  304. package/plugins/deepmodebot/skills/statechart/scripts/test/config-fuzz.test.ts +263 -0
  305. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/ChartRun.out +57 -0
  306. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.cfg +3 -0
  307. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.tla +10 -0
  308. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/chart.mmd +9 -0
  309. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/graph.dot +16 -0
  310. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/report.md +7 -0
  311. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/sany.out +2 -0
  312. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/verdict-1.out +49 -0
  313. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/ChartRun.out +60 -0
  314. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.cfg +4 -0
  315. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.tla +22 -0
  316. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/chart.mmd +26 -0
  317. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/graph.dot +19 -0
  318. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/report.md +20 -0
  319. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/sany.out +2 -0
  320. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.exit +1 -0
  321. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.out +56 -0
  322. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.exit +1 -0
  323. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.out +82 -0
  324. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-3.out +57 -0
  325. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/ChartRun.out +59 -0
  326. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.cfg +3 -0
  327. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.tla +11 -0
  328. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/chart.mmd +22 -0
  329. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/graph.dot +16 -0
  330. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/report.md +17 -0
  331. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/sany.out +2 -0
  332. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.exit +1 -0
  333. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.out +56 -0
  334. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.exit +1 -0
  335. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.out +77 -0
  336. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/ChartRun.out +69 -0
  337. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.cfg +2 -0
  338. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.tla +11 -0
  339. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/chart.mmd +85 -0
  340. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/graph.dot +70 -0
  341. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/report.md +12 -0
  342. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/sany.out +2 -0
  343. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.exit +1 -0
  344. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.out +67 -0
  345. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-2.out +57 -0
  346. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.exit +1 -0
  347. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.out +85 -0
  348. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.cfg +6 -0
  349. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.tla +13 -0
  350. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/chart.mmd +5 -0
  351. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/graph.dot +10 -0
  352. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/report.md +31 -0
  353. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/sany.out +2 -0
  354. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.exit +1 -0
  355. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.out +64 -0
  356. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.exit +1 -0
  357. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.out +77 -0
  358. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/ChartRun.out +55 -0
  359. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.cfg +3 -0
  360. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.tla +10 -0
  361. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/chart.mmd +12 -0
  362. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/graph.dot +6 -0
  363. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/report.md +12 -0
  364. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/sany.out +2 -0
  365. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.exit +1 -0
  366. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.out +33 -0
  367. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-2.out +54 -0
  368. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/ChartRun.out +54 -0
  369. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.cfg +3 -0
  370. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.tla +10 -0
  371. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/chart.mmd +1 -0
  372. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/graph.dot +6 -0
  373. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/report.md +7 -0
  374. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/sany.out +2 -0
  375. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/verdict-1.out +46 -0
  376. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/ChartRun.out +59 -0
  377. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.cfg +2 -0
  378. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.tla +10 -0
  379. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterSteps.tla +6 -0
  380. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/chart.mmd +17 -0
  381. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/graph.dot +15 -0
  382. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/report.md +14 -0
  383. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/sany.out +3 -0
  384. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.exit +1 -0
  385. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.out +78 -0
  386. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/ChartRun.out +59 -0
  387. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.cfg +3 -0
  388. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.tla +19 -0
  389. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/chart.mmd +26 -0
  390. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/graph.dot +22 -0
  391. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/report.md +12 -0
  392. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/sany.out +2 -0
  393. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.exit +1 -0
  394. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.out +58 -0
  395. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-2.out +57 -0
  396. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/ChartRun.out +57 -0
  397. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.cfg +2 -0
  398. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.tla +11 -0
  399. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/chart.mmd +17 -0
  400. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/graph.dot +15 -0
  401. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/report.md +14 -0
  402. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/sany.out +2 -0
  403. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.exit +1 -0
  404. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.out +76 -0
  405. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/ChartRun.out +59 -0
  406. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.cfg +3 -0
  407. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.tla +11 -0
  408. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/chart.mmd +19 -0
  409. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/graph.dot +10 -0
  410. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/report.md +15 -0
  411. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/sany.out +2 -0
  412. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.exit +1 -0
  413. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.out +56 -0
  414. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.exit +1 -0
  415. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.out +67 -0
  416. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/ChartRun.out +62 -0
  417. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.cfg +6 -0
  418. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.tla +24 -0
  419. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/Moves.tla +5 -0
  420. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/chart.mmd +22 -0
  421. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/graph.dot +10 -0
  422. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/report.md +23 -0
  423. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/sany.out +3 -0
  424. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.exit +1 -0
  425. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.out +58 -0
  426. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.exit +1 -0
  427. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.out +66 -0
  428. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.exit +1 -0
  429. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.out +74 -0
  430. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-4.out +59 -0
  431. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/ChartRun.out +58 -0
  432. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.cfg +3 -0
  433. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.tla +15 -0
  434. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/chart.mmd +18 -0
  435. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/graph.dot +13 -0
  436. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/report.md +11 -0
  437. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/sany.out +2 -0
  438. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.exit +1 -0
  439. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.out +33 -0
  440. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-2.out +57 -0
  441. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/ChartRun.out +57 -0
  442. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.cfg +3 -0
  443. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.tla +15 -0
  444. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/chart.mmd +7 -0
  445. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/graph.dot +13 -0
  446. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/report.md +6 -0
  447. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/sany.out +2 -0
  448. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/verdict-1.out +49 -0
  449. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/ChartRun.out +61 -0
  450. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.cfg +4 -0
  451. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.tla +14 -0
  452. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/chart.mmd +30 -0
  453. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/graph.dot +19 -0
  454. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/report.md +27 -0
  455. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/sany.out +2 -0
  456. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.exit +1 -0
  457. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.out +56 -0
  458. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.exit +1 -0
  459. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.out +64 -0
  460. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.exit +1 -0
  461. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.out +87 -0
  462. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-4.out +57 -0
  463. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/ChartRun.out +60 -0
  464. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.cfg +3 -0
  465. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.tla +12 -0
  466. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/chart.mmd +23 -0
  467. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/graph.dot +19 -0
  468. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/report.md +11 -0
  469. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/sany.out +2 -0
  470. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.exit +1 -0
  471. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.out +56 -0
  472. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-2.out +57 -0
  473. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/ChartRun.out +61 -0
  474. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.cfg +4 -0
  475. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.tla +14 -0
  476. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/chart.mmd +23 -0
  477. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/graph.dot +19 -0
  478. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/report.md +27 -0
  479. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/sany.out +2 -0
  480. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.exit +1 -0
  481. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.out +56 -0
  482. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.exit +1 -0
  483. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.out +64 -0
  484. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.exit +1 -0
  485. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.out +87 -0
  486. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-4.out +57 -0
  487. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/view.mjs +1 -0
  488. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/ChartRun.out +59 -0
  489. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.cfg +4 -0
  490. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.tla +38 -0
  491. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/chart.mmd +92 -0
  492. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/graph.dot +126 -0
  493. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/report.md +17 -0
  494. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/sany.out +2 -0
  495. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.exit +1 -0
  496. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.out +91 -0
  497. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-2.out +57 -0
  498. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/ChartRun.out +61 -0
  499. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.cfg +6 -0
  500. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.tla +11 -0
  501. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/chart.mmd +22 -0
  502. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/graph.dot +16 -0
  503. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/report.md +25 -0
  504. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/sany.out +2 -0
  505. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.exit +1 -0
  506. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.out +56 -0
  507. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.exit +1 -0
  508. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.out +64 -0
  509. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.exit +1 -0
  510. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.out +64 -0
  511. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.exit +1 -0
  512. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.out +77 -0
  513. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/ChartRun.out +57 -0
  514. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.cfg +4 -0
  515. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.tla +11 -0
  516. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/chart.mmd +13 -0
  517. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/graph.dot +12 -0
  518. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/report.md +11 -0
  519. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/sany.out +2 -0
  520. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.exit +1 -0
  521. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.out +72 -0
  522. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/ChartRun.out +57 -0
  523. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.cfg +3 -0
  524. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.tla +62 -0
  525. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/chart.mmd +28 -0
  526. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/graph.dot +40 -0
  527. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/report.md +7 -0
  528. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/sany.out +1 -0
  529. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/verdict-1.out +47 -0
  530. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/view.mjs +1 -0
  531. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/ChartRun.out +57 -0
  532. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.cfg +2 -0
  533. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.tla +64 -0
  534. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/chart.mmd +28 -0
  535. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/graph.dot +37 -0
  536. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/report.md +8 -0
  537. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/sany.out +1 -0
  538. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/verdict-1.out +47 -0
  539. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/view.mjs +1 -0
  540. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/ChartRun.out +60 -0
  541. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.cfg +3 -0
  542. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.tla +64 -0
  543. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/chart.mmd +44 -0
  544. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/graph.dot +58 -0
  545. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/report.md +17 -0
  546. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/sany.out +1 -0
  547. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.exit +1 -0
  548. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.out +83 -0
  549. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-2.out +57 -0
  550. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/view.mjs +1 -0
  551. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/ChartRun.out +60 -0
  552. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.cfg +3 -0
  553. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.tla +103 -0
  554. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/chart.mmd +43 -0
  555. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/graph.dot +93 -0
  556. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/report.md +14 -0
  557. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/sany.out +1 -0
  558. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.exit +1 -0
  559. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.out +59 -0
  560. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-2.out +72 -0
  561. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/view.mjs +3 -0
  562. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/ChartRun.out +57 -0
  563. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.cfg +2 -0
  564. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.tla +100 -0
  565. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/chart.mmd +31 -0
  566. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/graph.dot +85 -0
  567. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/report.md +9 -0
  568. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/sany.out +1 -0
  569. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/verdict-1.out +47 -0
  570. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/view.mjs +3 -0
  571. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/ChartRun.out +59 -0
  572. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayer.tla +103 -0
  573. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.cfg +3 -0
  574. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.tla +6 -0
  575. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/chart.mmd +42 -0
  576. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/graph.dot +93 -0
  577. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/report.md +19 -0
  578. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/sany.out +2 -0
  579. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.exit +1 -0
  580. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.out +61 -0
  581. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-2.out +59 -0
  582. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-3.out +61 -0
  583. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.exit +1 -0
  584. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.out +66 -0
  585. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.exit +1 -0
  586. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.out +58 -0
  587. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-6.out +49 -0
  588. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/view.mjs +3 -0
  589. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/ChartRun.out +57 -0
  590. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.cfg +6 -0
  591. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.tla +11 -0
  592. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/chart.mmd +5 -0
  593. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/graph.dot +11 -0
  594. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/report.md +7 -0
  595. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/sany.out +5 -0
  596. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/verdict-1.out +70 -0
  597. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ChartRun.out +61 -0
  598. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.cfg +4 -0
  599. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.tla +11 -0
  600. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowLib.tla +6 -0
  601. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowSub.tla +3 -0
  602. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/chart.mmd +9 -0
  603. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/graph.dot +16 -0
  604. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/report.md +8 -0
  605. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/sany.out +4 -0
  606. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/verdict-1.out +65 -0
  607. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/ChartRun.out +59 -0
  608. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.cfg +2 -0
  609. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.tla +9 -0
  610. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/chart.mmd +23 -0
  611. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/graph.dot +17 -0
  612. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/report.md +15 -0
  613. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/sany.out +1 -0
  614. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.exit +1 -0
  615. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.out +65 -0
  616. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.exit +1 -0
  617. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.out +75 -0
  618. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/ChartRun.out +69 -0
  619. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.cfg +3 -0
  620. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.tla +75 -0
  621. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/chart.mmd +60 -0
  622. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/graph.dot +297 -0
  623. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/report.md +20 -0
  624. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/sany.out +1 -0
  625. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.exit +1 -0
  626. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.out +95 -0
  627. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-2.out +57 -0
  628. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/view.mjs +1 -0
  629. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/ChartRun.out +57 -0
  630. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.cfg +3 -0
  631. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.tla +75 -0
  632. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/chart.mmd +37 -0
  633. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/graph.dot +223 -0
  634. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/report.md +11 -0
  635. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/sany.out +1 -0
  636. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/verdict-1.out +47 -0
  637. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/view.mjs +1 -0
  638. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.exit +1 -0
  639. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.out +75 -0
  640. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.cfg +5 -0
  641. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.tla +11 -0
  642. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/chart.mmd +18 -0
  643. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/graph.dot +14 -0
  644. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/report.md +29 -0
  645. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/sany.out +2 -0
  646. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.exit +1 -0
  647. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.out +64 -0
  648. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.exit +1 -0
  649. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.out +75 -0
  650. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/ChartRun.out +58 -0
  651. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.cfg +2 -0
  652. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.tla +8 -0
  653. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/chart.mmd +22 -0
  654. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/graph.dot +16 -0
  655. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/report.md +15 -0
  656. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/sany.out +2 -0
  657. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.exit +1 -0
  658. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.out +56 -0
  659. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.exit +1 -0
  660. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.out +77 -0
  661. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus.test.ts +441 -0
  662. package/plugins/deepmodebot/skills/statechart/scripts/test/differential.test.ts +565 -0
  663. package/plugins/deepmodebot/skills/statechart/scripts/test/drawn.ts +20 -0
  664. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.cfg +2 -0
  665. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.tla +9 -0
  666. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/sany.out +2 -0
  667. package/plugins/deepmodebot/skills/statechart/scripts/test/java.ts +63 -0
  668. package/plugins/deepmodebot/skills/statechart/scripts/test/labels.ts +648 -0
  669. package/plugins/deepmodebot/skills/statechart/scripts/test/messages.test.ts +226 -0
  670. package/plugins/deepmodebot/skills/statechart/scripts/test/pipeline.test.ts +270 -0
  671. package/plugins/deepmodebot/skills/statechart/scripts/test/plain-tlc.test.ts +255 -0
  672. package/plugins/deepmodebot/skills/statechart/scripts/test/render.test.ts +145 -0
  673. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc-out.test.ts +90 -0
  674. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc.ts +158 -0
  675. package/plugins/deepmodebot/skills/statechart/scripts/tsconfig.json +11 -0
  676. package/plugins/deepmodebot/skills/statechart/scripts/worker.ts +35 -0
  677. package/plugins/deepmodebot/agents/reviewer/agent.md +0 -33
  678. package/plugins/deepmodebot/agents/scout/agent.md +0 -34
  679. package/plugins/deepmodebot/agents/security-reviewer/agent.md +0 -30
  680. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +0 -391
  681. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +0 -146
  682. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +0 -483
  683. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +0 -139
  684. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +0 -301
  685. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +0 -602
  686. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +0 -69
  687. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +0 -160
  688. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +0 -180
  689. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +0 -265
  690. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +0 -192
  691. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +0 -2182
  692. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +0 -19
  693. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +0 -691
  694. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +0 -127
  695. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +0 -496
  696. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +0 -1426
  697. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +0 -320
  698. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +0 -326
  699. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +0 -55
  700. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +0 -53
  701. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +0 -94
  702. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +0 -610
  703. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +0 -250
  704. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +0 -654
  705. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +0 -879
@@ -1,6 +1,6 @@
1
1
  # Deepmodebot catalog
2
2
 
3
- On-demand index of deepmodebot's autonomous modes, all 30 playbooks, 52 techniques, 24 principles, and habits. `SKILL.md` holds the binding rules and compact router; read only the section and linked file your task needs. Paths are relative to this skill.
3
+ On-demand index of deepmodebot's autonomous modes, all 30 playbooks, 71 techniques, 26 principles, and habits. `SKILL.md` holds the binding rules and compact router; read only the section and linked file your task needs. Paths are relative to this skill.
4
4
 
5
5
  ## Running without the human
6
6
 
@@ -57,11 +57,14 @@ Every playbook lives at `references/playbooks/<file>.md`. Open a `todo` list wit
57
57
 
58
58
  Large cross-cutting work with no clean fit, or step-away work that must be trusted later, routes to `references/techniques/figure-it-out.md` (designs a bespoke rigorous playbook). Standing multi-day programs route to `references/playbooks/run-a-goal.md` at program scale.
59
59
 
60
- ## Full technique triggers (52)
60
+ ## Full technique triggers (71)
61
61
 
62
62
  Each technique is one file at `references/techniques/<name>.md`. Read only what applies; skip for size **S**. Technique and playbook names mean deepmodebot's files, not same-named global skills (`skill://tdd`, `skill://prototype`, `skill://teach`, `skill://wizard`, `skill://retro`, `skill://handoff`).
63
63
 
64
64
  - **Fast orientation, Orca/git worktrees, own PRs, or manifest state** → **workspace-map** (`references/techniques/workspace-map.md`): zero-bloat memory-mapped SQLite/FTS5 index (`assets/workspace-map/workspace_map.py` `overview`/`query`/`workspaces`/`prs`/`sync`/`prune`), shared per repo across worktrees (~300-token turn-1 map).
65
+ - **Semantic auto-routing, prompt upgrade, expert vocabulary & repo suggestions** → **autoroute** (`references/techniques/autoroute.md`, `assets/autoroute/autoroute.py` 3-stage LLM router + route critic), **prompt-upgrade** (`references/techniques/prompt-upgrade.md`, `assets/prompt-tools/prompt_tools.py upgrade`), **reframe** (`references/techniques/reframe.md`, disambiguate problem shapes, teach 8–12 cited expert terms + neighboring-field analogies, rewrite spec), and **suggest** (`references/techniques/suggest.md`, `prompt_tools.py suggest --ui` repo gap/overclaim scanner).
66
+ - **Interactive human cockpits, A2UI surfaces & webhook bot UIs** → **gen-ui** (`references/techniques/gen-ui.md`, `assets/gen-ui/gen_ui.py` Google A2UI v1.0 compiler/validator + `.scratch/gen-ui/` 8-surface cap) and **webhook-ui** (`references/techniques/webhook-ui.md`, local + Tailscale dashboard relaying clicks with a server-held sender key and JSONL spool).
67
+ - **Per-role model & reasoning-budget configuration** → **model-setup** (`references/techniques/model-setup.md`, `assets/setup/model_setup.py` idempotent `.deepmodebot/models.json` writer with `large`/`medium`/`small` `<=xhigh` ladder and legacy migration).
65
68
 
66
69
  - **Before building anything new** → **prior-art** (`references/techniques/prior-art.md`): check trending first (`python -B "<this skill>/scripts/trending.py" find <terms>`, `py -3 -B` on Windows), then GitHub, registries, and docs; check license before copying or forking.
67
70
  - **Module/interface with 2+ viable shapes** → **architect** (`references/techniques/architect.md`) before coding; skip for small edits crossing one function boundary.
@@ -69,30 +72,33 @@ Each technique is one file at `references/techniques/<name>.md`. Read only what
69
72
  - **Parallel fan-out & sibling coordination** → **swarm** (`references/techniques/swarm.md`) for matrices, races, fuzzing, partitions; **arena** (`references/techniques/arena.md`) for code/design bakeoffs; **agent-collaboration** (`references/techniques/agent-collaboration.md`) for sibling messaging and ACP routing; **coworkers** (`references/techniques/coworkers.md`) for direct peer handoffs.
70
73
  - **Contested design only** → **interrogate** (`references/techniques/interrogate.md`), keeping only findings a run proves.
71
74
  - **Open direction, blind spots, or vague ambition** → **tournament** (`references/techniques/tournament.md`) before locking one shape.
72
- - **Draft plan or goal to stress-test** → **grill** (`references/techniques/grill.md`; With docs mode when `GLOSSARY.md`/`docs/adr/` exist); vague goal before looping → **goal-review** (`references/techniques/goal-review.md`) then `self-authoring`.
75
+ - **Draft plan or goal to stress-test** → **grill** (`references/techniques/grill.md`; With docs mode when `GLOSSARY.md`/`docs/adr/` exist); founder/10-star ambition & Cut/Keep/Amplify scope challenge → **product-lens** (`references/techniques/product-lens.md`); adversarial check/diff/overclaim Prosecutor audit → **self-grill** (`references/techniques/self-grill.md`, `assets/self-grill/self_grill.py`); mutant survival & property-based/fuzz hardening → **mutation-testing** (`references/techniques/mutation-testing.md`); vague goal before looping → **goal-review** (`references/techniques/goal-review.md`) then `self-authoring`.
76
+ - **Formal math proofs, TLA+/SMT invariants & Claim-DAGs** → **formal-verification** (`references/techniques/formal-verification.md`, `assets/formal-verification/verify_proof.py`: Lean 4 + Comparator, Rocq, TLA+, Z3/SMT-LIB2, natural-language Claim-DAG counterexample stress-testing).
73
77
  - **Complex domain or questionable customer spec** → **sme-review** (`references/techniques/sme-review.md`) before locking a spec, starting a loop, or advancing past Sprint 1 (`sme_gate: "required"`); escalate unverified P0/P1 rules via **questionnaire** (`references/techniques/questionnaire.md`).
74
78
  - **Multi-PR or customer-facing spec** → cut **incremental sprints** (Tickets + Phased build sprint mode; Sprint 1 = verified feedback slice, Sprint 2..N stay queued/deferred in the Scope Manifest as remaining scope, never falsely marked done).
75
79
  - **Before unattended loops/queues or AI code slop** → **inner-loop** (`references/techniques/inner-loop.md`): harden fast static checks, anti-slop guards, and protected configs before scaling iterations.
76
80
  - **Tool/skill routing** → **tool-routing** (`references/techniques/tool-routing.md`) for designing automatic tool or skill routers.
77
- - **Visual E2E & design evidence** → **visual-e2e** (`references/techniques/visual-e2e.md`) to record/replay full E2E workflows with 3-agent sampled-frame image review (capped at 24 images, not full-video review); **open-design-evidence** (`references/techniques/open-design-evidence.md`) for portable SVG/Mermaid/HTML workflow diagrams linked to recordings (with a Penpot import/edit check; report raw-SVG or raster limits).
78
- - **Rate limits, 429s, or heavy token burn** → `references/principles/guard-the-context-window.md` + `skill://agent-harnesses/references/delegation-efficiency.md`: pick tiers from LM benchmarks, avoid Fast/Ultrafast, `/clear` between unrelated tasks, plan L / execute S-M, cheap-first with an oracle, batch 3-5 spawns, reuse warm agents, pass file paths, set cost/cooldown caps, and back off or rotate model family on 429s.
81
+ - **Visual E2E, video forensics & design evidence** → **visual-e2e** (`references/techniques/visual-e2e.md`) to record/replay full E2E workflows with 3-agent sampled-frame image review (capped at 24 images, not full-video review); **open-design-evidence** (`references/techniques/open-design-evidence.md`) for portable SVG/Mermaid/HTML workflow diagrams linked to recordings (with a Penpot import/edit check; report raw-SVG or raster limits); **video-forensics** (`references/techniques/video-forensics.md`) for shot-by-shot `rea-video` / `VIDEO.md` deconstruction and remake verification.
82
+ - **Rate limits, 429s, or heavy token burn** → `references/principles/guard-the-context-window.md` + `skill://agent-harnesses/references/delegation-efficiency.md` + `assets/quota-guard/quota_guard.py`: enforce nested anti-stacking (`max_subagents=0`), pin `flash_lite`/`flash` helpers, pack 1 `prosecutor-bundle.md` reviewer for `M`, use delta-only re-review + `<2 KB` `.scratch/quota-guard/` checkpoints, and prune disposables with `assets/cleanup/self_cleanup.py`.
79
83
  - **Measured number** → **benchmark-checklist** (`references/techniques/benchmark-checklist.md`) before reporting or acting.
80
84
  - **Prose** (reply, docs, PR body, commit) → **unslop** (`references/techniques/unslop.md`); docs and PR/commit text also → **technical-writing** (`references/techniques/technical-writing.md`).
81
85
  - **Before review** → **no-comments** (`references/techniques/no-comments.md`) on the diff (apply inline for diffs under ~20 lines).
82
86
  - **Repeated correction & self-prompting loops** → **correct** (`references/techniques/correct.md`) at the highest rung; for prompts, skills, goals, or loops, use Self-authoring (`references/playbooks/self-authoring.md`).
87
+ - **Any harness edit (instructions, skills, hooks, gates, policy, loop) or continuing after a benchmark/model change** → **sim** (`references/techniques/sim.md`, `assets/sim/sim.py`): read the Self-Improvement Memory, `propose` before evaluating, `record` the evolve-set outcome; enforced by the slop gate and `loop.py`.
83
88
  - **Words, durable research, or issues** → **domain-model** (`references/techniques/domain-model.md`), **research** (`references/techniques/research.md`, including opportunity probe and decision-brief), **tracker** (`references/techniques/tracker.md`).
84
- - **PRs, bots, and gates** → **pr-review** (`references/techniques/pr-review.md`), **pr-agent** (`references/techniques/pr-agent.md`), **pr-conversation** (`references/techniques/pr-conversation.md`), **issue-conversation** (`references/techniques/issue-conversation.md`), **github-app** (`references/techniques/github-app.md`), **security-audit** (`references/techniques/security-audit.md`), **panel** (`references/techniques/panel.md`), **show-me-your-work** (`references/techniques/show-me-your-work.md`), **figure-it-out** (`references/techniques/figure-it-out.md`).
85
- - **Tooling & instruction hygiene** → **tdd** (`references/techniques/tdd.md`), **architecture-review** (`references/techniques/architecture-review.md`), **git-guardrails** (`references/techniques/git-guardrails.md`), **pre-commit** (`references/techniques/pre-commit.md`), **scrape** (`references/techniques/scrape.md`), **wizard** (`references/techniques/wizard.md`), **writing-for-agents** (`references/techniques/writing-for-agents.md`; generate/refresh `AGENTS.md` with `assets/agents-md/agents_md.py`).
86
- - **Communication & reflection** → **in-your-own-words** (`references/techniques/in-your-own-words.md`), **sharpen** (`references/techniques/sharpen.md`), **teach** (`references/techniques/teach.md`), **course** (`references/techniques/course.md`), **re-explain** (`references/techniques/re-explain.md`), **recall** (`references/techniques/recall.md`), **blast-radius** (`references/techniques/blast-radius.md`), **reflect** (`references/techniques/reflect.md`), **retro** (`references/techniques/retro.md`).
89
+ - **PRs, bots, and merge gates** → **pr-review** (`references/techniques/pr-review.md`), **modernize-pr** (`references/techniques/modernize-pr.md`), **pr-agent** (`references/techniques/pr-agent.md`), **pr-conversation** (`references/techniques/pr-conversation.md`), **issue-conversation** (`references/techniques/issue-conversation.md`), **github-app** (`references/techniques/github-app.md`), **panel** (`references/techniques/panel.md`), **show-me-your-work** (`references/techniques/show-me-your-work.md`), **figure-it-out** (`references/techniques/figure-it-out.md`).
90
+ - **Security, zero-downtime migrations & post-ship gates** → **security-audit** (`references/techniques/security-audit.md` + `static_sec_audit.py`), **variant-analysis** (`references/techniques/variant-analysis.md`), **expand-contract** (`references/techniques/expand-contract.md`), **release-and-canary** (`references/techniques/release-and-canary.md`).
91
+ - **Tooling, DX & instruction hygiene** → **tdd** (`references/techniques/tdd.md`), **devex-review** (`references/techniques/devex-review.md`, cold-start onboarding + CLI/SDK ergonomics), **architecture-review** (`references/techniques/architecture-review.md`), **git-guardrails** (`references/techniques/git-guardrails.md`), **pre-commit** (`references/techniques/pre-commit.md`), **scrape** (`references/techniques/scrape.md`), **wizard** (`references/techniques/wizard.md`), **writing-for-agents** (`references/techniques/writing-for-agents.md`; generate/refresh `AGENTS.md` with `assets/agents-md/agents_md.py`).
92
+ - **Communication & reflection** → **in-your-own-words** (`references/techniques/in-your-own-words.md`), **sharpen** (`references/techniques/sharpen.md`), **teach** (`references/techniques/teach.md`), **course** (`references/techniques/course.md`), **re-explain** (`references/techniques/re-explain.md`), **recall** (`references/techniques/recall.md`), **catchup-video** (`references/techniques/catchup-video.md`), **blast-radius** (`references/techniques/blast-radius.md`), **reflect** (`references/techniques/reflect.md`), **retro** (`references/techniques/retro.md`).
87
93
 
88
- ## Full principles directory (24)
94
+ ## Full principles directory (26)
89
95
 
90
96
  One file per principle in `references/principles/<name>.md`. Read the file before applying or citing it.
91
97
 
92
- - **Core (design):** `laziness-protocol` (bias to deletion, smallest change), `foundational-thinking` (types, data structures, shared state before logic), `redesign-from-first-principles` (integrate a requirement as if there from day one), `subtract-before-you-add` (remove complexity first), `experience-first` (design from user experience).
98
+ - **Core (design):** `hardcore-mode` (aim straight for the first-principles architectural ceiling, zero sandbagging), `laziness-protocol` (bias to deletion, smallest change), `foundational-thinking` (types, data structures, shared state before logic), `redesign-from-first-principles` (integrate a requirement as if there from day one), `subtract-before-you-add` (remove complexity first), `experience-first` (design from user experience).
93
99
  - **Core (execution):** `attack-the-premise` (two fixes sharing a premise failed the same gate, so test it), `minimize-reader-load` (count layers/hidden state; collapse one-caller wrappers), `outcome-oriented-execution` (converge on target architecture, no throwaway compat), `exhaust-the-design-space` (2-3 prototypes for novel decisions), `build-the-lever` (build the script/checker reviewers rerun).
94
100
  - **Architecture:** `model-the-domain`, `boundary-discipline` (guards at boundaries, trust internal types, pure core), `type-system-discipline` (illegal states unrepresentable, brand primitives, parse at boundaries), `make-operations-idempotent`, `migrate-callers-then-delete-legacy-apis`, `separate-before-serializing-shared-state`.
95
- - **Verification:** `prove-it-works`, `fix-root-causes` (a guard fixes only legitimate states), `sequence-verifiable-units`, `test-behavior-not-implementation`, `explain-the-number`.
101
+ - **Verification:** `prove-it-works`, `no-reward-hacking` (freeze test/reference thresholds, prove upstream build provenance, pair scalar gates with an independent perceptual/semantic judge), `fix-root-causes` (a guard fixes only legitimate states), `sequence-verifiable-units`, `test-behavior-not-implementation`, `explain-the-number`.
96
102
  - **Delegation:** `guard-the-context-window`, `never-block-on-the-human` (proceed on reversible work, present results, let the human correct).
97
103
  - **Meta:** `encode-lessons-in-structure` (repeated instruction becomes a lint, check, or script).
98
104
 
@@ -27,12 +27,13 @@ for d in "$ROOT/.scratch" "$MAIN/.worktrees"; do [ -f "$d/.gitignore" ] || print
27
27
 
28
28
  ## Guards
29
29
 
30
- - **Guards back file-edit tools; none covers shell commands.**
30
+ - **Containment guards back file-edit tools; none covers shell commands.**
31
31
  - Claude Code: the plugin's `hooks/hooks.json` and `SKILL.md` frontmatter hook deny `Write`, `Edit`, and `NotebookEdit` outside the root.
32
32
  - Antigravity: `hooks.json` + `scripts/antigravity-guard.mjs` deny file-edit tools outside the workspace roots (with `brain/` and `artifactDirectoryPath` allowed); combine with `--sandbox` and `allowNonWorkspaceAccess: false` when supported.
33
33
  - omp: `assets/contain/omp-contain.ts`, once installed, denies `write`, `edit`, and `ast_edit` outside the root.
34
34
  - Codex: its `workspace-write` sandbox (note: allows `/tmp` and `$TMPDIR` by default unless `exclude_slash_tmp = true` and `exclude_tmpdir_env_var = true` are set).
35
35
  - The rule still binds shell commands. A denial means move the file into the root; never route around the guard. Setup per harness: `skill://agent-harnesses`.
36
+ - **The same hooks enforce rule approval** (`references/rule-approval.md`) in every session: in a repo with `.deepmodebot/rules/ledger.json` they deny file-tool and shell writes to agent rule files and the ledger, and deny owner-only `rules` commands everywhere.
36
37
 
37
38
  ## Durable notes
38
39
 
@@ -0,0 +1,18 @@
1
+ # Subagents, model tiers & quota guard
2
+
3
+ Read before spawning subagents or running multi-seat reviews/panels.
4
+
5
+ - **Brief contract:** Start with `Read <this installed skill>/worker.md before anything else.` Give the goal, absolute root, exclusive `owned_files`, acceptance check, and applicable principles. omp drops `AGENTS.md` for subagents; generate sticky `.omp/RULES.md` with `agents_md.py build`. Inspect every delegate's diff.
6
+ - **Fence and receipt:** Before dispatch, run `assets/worker-gate/worker_gate.py init-slice --root <repo> --worker <id> --owned '<glob1>,<glob2>'`. Set `DEEPMODEBOT_WORKER_ID` in that worker's environment. File-tool hooks enforce the fence; shell writes still rely on the brief and receipt review.
7
+ - Run `worker_gate.py verify-receipt --root <repo> --worker <id> --from-text <transcript> --strict` on the slice checkout. It compares the checkout's whole delta to the receipt; isolate parallel slices when you need independent receipts. Only a non-build-owner can defer its checks to the build owner.
8
+ - **Anti-stacking & quota cap (`assets/quota-guard/quota_guard.py plan`):** Never stack `/teamwork` or `/swarm` on top of multi-seat review/panel waves; if already inside an outer orchestrator or child subagent, run deterministic scripts and 4-lens review inline in 1 pass (`max_subagents=0`).
9
+ - An explicitly authorized omp worker needs `ALLOW_NESTED_SUBAGENTS=1` in its environment: a context hint passes `task` preflight but does not override `before_subagent_spawn`.
10
+ - **Model & effort tiers (Opus-first, cap `xhigh`; `skill://agent-harnesses/references/delegation-efficiency.md`):**
11
+ - `S` (`low`/`medium`): search, mechanical work, local S.
12
+ - `M` (`medium`): oracle-backed M.
13
+ - `L` (`high`/`xhigh`, never above `xhigh`): planning, hard debug, security, final review.
14
+ - Fable 5.2 outside panels runs only when named or after two `xhigh` failures on the same brief; skip Fast/Ultrafast.
15
+ - **Pin overhead specialists:** Use `Model: "flash_lite"` for Antigravity scouts and `"flash"` for other overhead specialists; use `@smol` in omp, `haiku` (`sonnet` max) in Claude, and `gpt-6-luna` in Codex when available. The omp and active Antigravity hooks supply their low-tier defaults and worker kickoff prefix; Claude's hook blocks unauthorized nested spawns but does not pick a model.
16
+ - Keep overhead reviews to 2–4 batched tool turns. Reserve `inherit` / `pro` / Opus / Astra for the main agent, hard coding slices, or explicit high-tier review.
17
+ - **Delegate only when it pays:** Multi-agent runs cost ~15x chat + cold cache. Keep `<=150`-line, 1-file, coupled, and hard reasoning inline; use 1 `prosecutor-bundle.md` `flash`/`@smol` reviewer for `M` (`151–600` lines), delta-only re-review (`git diff <last_sha>..HEAD`), `<=2` parallel worktrees, and `.scratch/quota-guard/` checkpoints to prevent `429` cold respawns.
18
+ - **Panel seats & quota hygiene:** Reserve the 3-seat panel strictly for the final green merge SHA, and pin verifiers to fast low-tier models (`Model: "flash"` in Antigravity; `@smol` / `claude-haiku-5-5-high` / `gpt-6-luna` / `gemini-4-flash` across families when available; escalate to `opus`/`fable`/`neon-xhigh` only when explicitly requested by the user). Check quota (`omp usage`/`/usage`/`/status`), `/clear` between tasks, switch models at clean boundaries, reuse warm reviewers, and rotate family on 429s.
@@ -20,6 +20,8 @@ Skip phases the work doesn't need. One PR of settled work starts at phase 5 with
20
20
  | Situation | Flow |
21
21
  |---|---|
22
22
  | Open architecture or research space, blind spots, or a high-vagueness ambition | **tournament** (`references/techniques/tournament.md`), proposing Champion and Runner-Up before phase 1 or 3 |
23
+ | Scanning a repo for gaps, overclaims, and ranked Hardcore Mode `/deep` prompts | **suggest** (`references/techniques/suggest.md`, with optional **gen-ui** A2UI 1.0 cockpit) |
24
+ | Auditing checks, diffs, or math proofs (`verify_proof.py`) for gaps, check theater, and overclaims | **self-grill** (`references/techniques/self-grill.md`) and **formal-verification** (`references/techniques/formal-verification.md`) |
23
25
  | First use of the planning flows in a repo | Setup (`references/playbooks/setup.md`) |
24
26
  | Building a whole app or rough idea end to end across all slices without stopping at an MVP | End-to-end (`references/playbooks/end-to-end.md`) |
25
27
  | Issues or outside PRs pile up | Triage (`references/playbooks/triage.md`), which feeds phase 5 with `triage:agent-ready` items |
@@ -0,0 +1,9 @@
1
+ # Full-scope completion
2
+
3
+ Applies to M/L and multi-item routes (Size **S** tracks its single item inline without a Scope Manifest or continuation loop). Slicing sequences verification; it never shrinks scope.
4
+
5
+ 1. **Total Scope vs. Active Sprint.** Keep 100% of deliverables and inventory in ONE Scope Manifest (`docs/specs/<slug>-manifest.json` or `.scratch/goals/<slug>-manifest.json`, validated by `assets/loop/loop.py manifest`, mirrored in `todo`). Only the user removes scope; promises join it; an unqualified yes accepts offered options except hard stops. Rough ideas include essentials (persistence, validation, error/empty states, wired entrypoints). Complex/unclear domains clear **sme-review** (`sme_gate`) before Sprint 2+.
6
+ 2. **Machine-checked inventory.** For "all/every/full set", classify every candidate in `"inventory"` as `included`, `duplicate` (`representative`), `non_target` (`reason`), or `blocked` (`evidence` + `unblock`). Any `pending` item fails `loop.py manifest`; batch without shrinking.
7
+ 3. **Resolve reversible ambiguity.** Pick a scope-preserving structure from evidence, state assumptions, and isolate uncertain groups. Ask only when evidence cannot settle a material choice, an `sme_gate` is required, or a safety/permission boundary applies. Finish independent work first.
8
+ 4. **Close against evidence.** Reconcile manifest, inventory, deliverables, and tasks before replying. Single-run builds drive `1/N` to `N/N`. Sprint mode (`active_sprint: 1` / `sme_gate: "required"`) lands Sprint 1 with proof and pauses ONLY at the sprint/SME checkpoint, reporting Sprint 2..N as remaining (`scope_complete: false`). Blockers name item, failure, attempts, and unblock path.
9
+ 5. **Zero-loss resume.** Arm one continuation mechanism (`references/playbooks/run-a-goal.md`) and record its ID/state. On quota/cost cap, `checkpoint_every` / `sme_gate` (`loop.py run` exit `6`), or passing Sprint 1 with deferred slices (`exit 0`, `scope_complete: false`), manifest + `latest-summary.json` is the resume ledger. A pause is never completion.
@@ -7,7 +7,7 @@ Use when: creating or modifying a skill (`SKILL.md` plus references). You own th
7
7
  1. Read the **writing-for-agents** technique (`references/techniques/writing-for-agents.md`) before writing. Done when you have read it end to end in this session.
8
8
  2. Before adding prose, check the ladder: can architecture/data structures prevent the mistake? Then a lint rule or test? Only then a skill/rule; human review last (`references/principles/encode-lessons-in-structure.md`).
9
9
  Done when each new rule names its rung (structure, lint, test, or prose) and why no lower rung fits.
10
- 3. Write or edit the skill:
10
+ 3. Write or edit the skill. First run **sim** (`references/techniques/sim.md`): `sim.py read`, then `sim.py propose` the edit with its rationale and predicted fixes; `sim.py record` the outcome of step 5's checks.
11
11
  - When in doubt, delete. Keep only prose that changes a decision.
12
12
  - Tell it to do the thing; skip the reason unless the rule is confusing without one.
13
13
  - Match tone to scope.
@@ -57,6 +57,8 @@ Verify every claim against the code before acting. Not every comment is a requir
57
57
  - A finding already fixed at the tip is stale only if the guard runs before the side effect and covers the principal in question.
58
58
  - Don't widen a deliberately narrow error condition (e.g. fallback gated on `ENOENT`) into a catch-all that masks the real error, unless it misses a same-category case.
59
59
  - Findings against manual reimplementations of native platform behavior (scroll, sticky, hit-testing, event forwarding) have been consistently real: default to fix.
60
+ - **Dependabot PRs (`app/dependabot`):** treat dependency/security bumps as real code changes (inspect release notes, lockfile diff, and breaking changes; run `.deepmodebot/ci.yml` locally).
61
+ Control Dependabot via PR comments (`@dependabot rebase`, `@dependabot recreate`, `@dependabot ignore this minor version` / `ignore this major version`, `@dependabot close`) instead of manual branch surgery; configure `.github/dependabot.yml` with grouped minor/patch updates and a 7-day `cooldown`.
60
62
 
61
63
  ## Gates
62
64
 
@@ -7,9 +7,12 @@ Single-run builds drive `1/N` to `N/N` without stopping early. Incremental Sprin
7
7
 
8
8
  ## Steps
9
9
 
10
+ 0. **Grill user intent & lock the E2E Rehearsal Standard (mandatory before building/recording E2E workflows).** For any app, tool, UI, or CLI end-to-end workflow, grill the user first on the exact intended user journey: ordered beats, inputs, state transitions, visual/UX bar, and failure criteria so the recorded workflow matches their true intention.
11
+ - Initialize the versioned rehearsal ledger in `.scratch/e2e/<slug>/rehearsal.db` (`REHEARSAL.md`): `python -B "<this skill>/assets/e2e/rehearsal_gate.py" init --root "<root>" --slug "<slug>" --app "<name>" --kind web|cli|desktop|tool|demo --intent "<intent>" --beats b1,b2,... --max-rounds 25` (`py -3 -B` on Windows).
12
+ - Once the user approves the workflow standard, lock it with `rehearsal_gate.py approve --root "<root>" --slug "<slug>" --note "<user approval>"`. Without approval, `rehearsal_gate.py verdict --strict` stays blocked.
13
+ Done when the user-approved workflow intent, ordered beats, and rehearsal standard are locked in `rehearsal.db` (`approved_by_user: true`).
10
14
  1. **Expand the prompt into a complete Scope Manifest.** Before writing feature code, turn 100% of the request into ONE machine-checked JSON manifest (`docs/specs/<slug>-manifest.json`, or `.scratch/goals/<slug>-manifest.json` for uncommitted local delivery):
11
15
  - Cover every capability a finished product needs: all user workflows (full lifecycle or CRUD, not create-only), persistent state across restarts (SQLite, files, or database unless ephemeral is requested), input validation, actionable error states, empty states, and complete CLI/API/UI entrypoints.
12
- - Decide reversible product details yourself and record each decision in a **show-me-your-work** trail (`references/techniques/show-me-your-work.md`). In complex or unclear domains, run **sme-review** (`references/techniques/sme-review.md`) and set `"sme_gate": "required"` on the manifest or Sprint 2+ slices until SME/user confirmation clears it (`"sme_gate": "cleared"`).
13
16
  - On greenfield work, run **prior-art** (`references/techniques/prior-art.md`) and `skill://deep-stack` (`references/any-app-stack.md`) to pick the stack, then continue straight into step 2 instead of stopping at `STACK.md`.
14
17
  - Format the manifest with `"product"` and `"slices"` (`[{"id", "title", "check", "sprint"?, "sme_gate"?}, ...]`, 3 to 8 vertical slices from core domain/persistence through full workflows and cold-start proof). Tag `"sprint": 1, 2, ...` when running incremental sprints.
15
18
  - For "all", "every", or "full set" work, record every candidate in `"inventory"` with `"id"` and `"status"` in `included` (optional `"slice"`), `duplicate` (`"representative"`), `non_target` (`"reason"`), `blocked` (`"evidence"` + `"unblock"`), or `pending`. Unclassified `pending` items fail `loop.py manifest`.
@@ -26,13 +29,13 @@ Single-run builds drive `1/N` to `N/N` without stopping early. Incremental Sprin
26
29
  - In-session when remaining slices fit the context window: implement slice `k`, run `python -B "<this skill>/assets/loop/loop.py" check .scratch/goals/<slug>.md` (runs `fast_check`, slop guard against `HEAD`, all active manifest slices with `sprint <= active_sprint` plus inventory/SME status, then `check`), and immediately start slice `k + 1` in the same turn.
27
30
  - Across fresh context windows or unattended runs (`omp|claude|codex`): `python -B "<this skill>/assets/loop/loop.py" run .scratch/goals/<slug>.md`. On quota/cost cap, `checkpoint_every` / `sme_gate: "required"` (exit `6`), or passing Sprint 1 with deferred slices (exit `0`, `scope_complete: false`), the Scope Manifest + `latest-summary.json` form the exact zero-loss resume ledger.
28
31
  Done when `python -B "<this skill>/assets/loop/loop.py" check .scratch/goals/<slug>.md` (`py -3 -B` on Windows) prints `check exit 0 (pass)` with zero `pending` inventory items, zero slop findings, and either `N/N` slices green (`scope_complete: true`) or the active sprint gate cleanly met with Sprint `n+1..N` recorded as deferred remaining scope (`scope_complete: false`).
29
- 5. **Prove the finished product from a cold start.** Run the built CLI, service, or UI from scratch against fresh persisted state (`references/principles/prove-it-works.md`):
30
- - Exercise the full primary workflow (or the active sprint's end-to-end journey), restart or re-invoke the process to prove state persisted, trigger invalid-input handling, and check the empty state.
31
- - Save command transcripts, outputs, or UI captures under `.scratch/evidence/<slug>/`.
32
- Done when the cold-start end-to-end run passes and its artifacts sit under `.scratch/evidence/<slug>/`.
32
+ 5. **Rehearse, record full video, watch collectively, and pass hard gates (`v1..v25`).** Prove the finished app/tool/UI from a cold start against fresh persisted state (`references/principles/prove-it-works.md`):
33
+ - Exercise EVERY approved beat from start to settled payoff, restart/re-invoke to confirm persistence, test invalid input and empty states, and record a **complete continuous end-to-end video** (`.mp4`/`.webm` via `assets/e2e/record.py`, browser/terminal recorder, or ffmpeg) — isolated still frames alone fail the gate.
34
+ - **Watch the entire video together** (not just single keyframes): inspect continuity, transitions between beats, pacing, flicker, layout jumps, digit rolls, and reset seams end-to-end, plus keyframes at desktop (`1440×900`) and mobile (`390×844`) for UI apps.
35
+ - Log each iteration `v1..vN` in `rehearsal_gate.py record-run` and run a fresh-eye critic against the full video and approved intent. Iterate internally (`v1..v25`) until `python -B "<this skill>/assets/e2e/rehearsal_gate.py" verdict --root "<root>" --slug "<slug>" --strict` exits `0` (`REHEARSAL_PASSED`). Never report an E2E workflow done while any gate is red.
36
+ Done when `rehearsal_gate.py verdict --strict` returns `REHEARSAL_PASSED` (exit 0) and the verified video + `REHEARSAL.md` sit under `.scratch/e2e/<slug>/`.
33
37
  6. **Self-review against the full manifest and deliver.** Run **no-comments** (`references/techniques/no-comments.md`) and **pr-review** in local mode (`references/techniques/pr-review.md`) with the Scope Manifest as the spec claim so any missing workflow, unwired flag, unclassified inventory item, or stubbed edge case is caught before delivery. Follow `SKILL.md` for local delivery versus Opening a PR (`references/playbooks/opening-a-pr.md`).
34
- Done when local `pr-review` has no open P0/P1 findings, active/all slices and the cold-start check pass, any deferred sprints are explicitly reported as remaining scope (incomplete), and the requested delivery target holds.
35
-
38
+ Done when local `pr-review` has no open P0/P1 findings, active/all slices and `rehearsal_gate.py verdict --strict` pass, any deferred sprints are explicitly reported as remaining scope (incomplete), and the requested delivery target holds.
36
39
  ## Gates
37
40
 
38
41
  - Single-run mode: slice `1` passing is `1/N`, never completion. Stopping with unchecked slices requires a real hard stop (`SKILL.md` Autonomy) or three documented dead-end attempts, never convenience.
@@ -40,11 +43,11 @@ Single-run builds drive `1/N` to `N/N` without stopping early. Incremental Sprin
40
43
  - Zero unclassified `"pending"` inventory items may remain when closing; `loop.py manifest` rejects `pending` items and missing proof fields (`representative`, `reason`, `evidence`/`unblock`).
41
44
  - No `TODO`, `FIXME`, `NotImplementedError`, `todo!()`, or `throw new Error("not implemented")` stubs in delivered code.
42
45
  - Every slice check with `sprint <= active_sprint` re-runs on later slices so finishing slice `N` cannot silently break slice `1`.
43
- - Passing unit tests never waive the step 5 cold-start end-to-end run on the real artifact.
46
+ - Passing unit tests or cherry-picked single screenshots never waive the Step 5 full-video E2E rehearsal gate (`rehearsal_gate.py verdict --strict`).
44
47
 
45
48
  ## Evidence
46
49
 
47
50
  - The Scope Manifest path and `python -B "<this skill>/assets/loop/loop.py" manifest <manifest.json>` (`py -3 -B` on Windows) scoreboard (slice pass ratio, `scope_complete`, `deferred_slices`, and inventory classification counts when used).
48
51
  - Inner-loop check output (`fast_check`, anti-slop status, and `sme_gate` state).
49
- - Cold-start end-to-end proof artifacts under `.scratch/evidence/<slug>/` (plus `latest-summary.json` resume ledger if paused at a sprint, SME, or quota gate).
52
+ - Rehearsal gate verdict (`rehearsal_gate.py verdict --strict` -> `REHEARSAL_PASSED`), `.scratch/e2e/<slug>/REHEARSAL.md`, full recorded video path + SHA-256, and cold-start proof artifacts.
50
53
  - Product decisions made when expanding the prompt, each with how to override it.
@@ -7,9 +7,13 @@ Use when: adding new behavior. You own the design, review and proof. Choose loca
7
7
  For a local M feature, use this short path instead of the shipping steps below:
8
8
 
9
9
  1. Read the affected code, callers and existing checks. Name the requested behavior and the data shape that fits the existing design.
10
- Done when each requirement has an observable check, and no design or trust-boundary uncertainty requires size L.
11
- 2. Implement in the starting working tree. Reuse the existing test and CLI/app paths; add regression coverage for uncertain behavior, not for wording or wiring.
12
- Done when the requested behavior works without unrelated features or policy changes.
10
+ - In a monorepo (`package.json` workspaces, `pnpm-workspace.yaml`, `uv`/`Cargo` workspace), read `skill://software-architecture/references/monorepos.md` and identify the owning package and direct dependents before editing.
11
+ - On backend routes, DB queries, migrations, or hot loops, read `skill://domain-rules/references/high-scale-server-optimization.md` and `skill://domain-rules/references/data-structures-and-cache-optimization.md`.
12
+ Done when each requirement has an observable check, package scope is named (if monorepo), and no design or trust-boundary uncertainty requires size L.
13
+ 2. Implement in the starting working tree. Reuse the existing test and CLI/app paths (in monorepos, run workspace-filtered checks on the owning package and its direct dependents unless a shared config changed).
14
+ - On backend/systems changes, avoid N+1 / `await`-in-loop waterfalls, sync-in-async blocking I/O, missing HTTP timeouts, per-request pools, `OFFSET` scans, and unindexed FKs; verify with `python -B "<this installed skill>/assets/perf-audit/perf_audit.py" --path "<root>" --fail-on-high`.
15
+ - Add regression coverage for uncertain behavior, not for wording or wiring.
16
+ Done when the requested behavior works without unrelated features, policy changes, or high-severity `perf_audit` traps.
13
17
  3. Run the actual user path, including its relevant boundaries and failure cases. Review the diff against the request and existing conventions; fix findings a code read or run proves.
14
18
  Done when the real output proves every requirement and the checked-out tree contains the result.
15
19
  4. Report the changed behavior, command and observed result. Leave the changes uncommitted for local review.
@@ -7,6 +7,7 @@ Core discipline: one change, one measurement, keep or revert. Never stack untest
7
7
  ## Steps
8
8
  1. Ground workload and architecture with the **how** technique (`references/techniques/how.md`): name the workload dimensions that move the result (data size, history, state, concurrency) and pick a case that reproduces the user's complaint.
9
9
  Done when the dimensions are listed and the chosen case is named.
10
+ - **Compute the hardware/algorithmic roofline ceiling first:** for throughput/latency hillclimbs (LLM decode/prefill `tok/s`, `TTFT`, GPU kernels, DB/IO scans), measure real device copy bandwidth and compute throughput on the machine (never spec-sheet peaks) and calculate the theoretical ceiling (`measured_bandwidth / bytes_per_step` when memory-bound; `measured_flops / flops_per_step` when compute-bound). Log baseline and every iteration as `% of ceiling` so you switch from kernel/scheduling tuning to byte/op reduction (quantization, speculative decoding, caching) once near the roofline.
10
11
  2. Fix one metric, the better direction, and a checkable stop predicate pairing a target with a minimum attempt count (e.g. "≥50% better than baseline and ≥10 iterations"). Use the user's numbers, else pick them yourself and log why.
11
12
  Done when the metric, direction, and predicate are written down; they become the first rows of the decision log (step 6).
12
13
  3. Build the harness (`references/principles/build-the-lever.md`): run contrasting realistic workloads; confirm the target case shows the symptom and easier cases separate. Can't distinguish → revise workload or metric.
@@ -34,9 +35,11 @@ Core discipline: one change, one measurement, keep or revert. Never stack untest
34
35
  ## Gates
35
36
  - No reproducing case → fix the repro, don't hillclimb.
36
37
  - Harness frozen after vetting: no edits mid-run.
38
+ - Anti-reward-hacking (Goodhart / CoastRunners gate, `references/principles/no-reward-hacking.md`): lock gate scripts, reference hashes, and positive similarity floors via `assets/reward-guard/reward_guard.py lock-contract` before iterating; immediately revert any metric gain achieved by relaxing thresholds (`--min-iou 0`), skipping reference checks, or substituting procedural primitives for real outputs.
37
39
  - Held-out rubric check: when using an agent-authored evaluation rubric or scorer, validate it against held-out cases before hillclimbing so the loop cannot overfit ("benchmax") to one tuning example (`https://www.youtube.com/watch?v=6TjFjHPjVH0`, 16:36).
38
40
  - Print-mode `/autoresearch` caveat: observed on `omp 18.22.2`, invoking `/autoresearch` in `-p` print mode creates a branch and exits 0 before running a turn; for headless or scripted experiment loops, drive this Hillclimb playbook directly instead of assuming `/autoresearch` executes in print mode.
39
41
  - Every iteration ends in a check before the next begins (`references/principles/sequence-verifiable-units.md`).
42
+ - Harness hillclimbs (prompts, skills, hooks, gates, loop) also run **sim** (`references/techniques/sim.md`): read the Self-Improvement Memory before each hypothesis, `propose` it with predicted fixes before measuring, and `record` the kept change's measured outcome, misses included. Reverted candidates use `record --no-accepted`.
40
43
  - A "might help" tweak is never kept. Correctness and simplicity outrank the number: revert a win that breaks behavior; keep a simplification that holds the number (`references/principles/laziness-protocol.md`).
41
44
  - Stop only when the predicate is met, or remaining ideas are marginal and not worth their cost. Never relax the predicate; never quit while cheap untried hypotheses remain. Stuck → surface it, don't spin.
42
45
 
@@ -3,11 +3,11 @@
3
3
  Use when: the user wants a cited explanation or a recommendation (how/why/are-we-sure), not a code change. Read-only. You own the answer: plan, route, write.
4
4
 
5
5
  ## Steps
6
- 1. Route through the **how** technique (`references/techniques/how.md`); for motivation questions also the **why** technique (`references/techniques/why.md`). Delegate unknown-code mapping to `task` with `agent: "scout"`.
7
- Done when every claim you plan to make has a file/symbol citation.
6
+ 1. Route through the **how** technique (`references/techniques/how.md`); for motivation questions also the **why** technique (`references/techniques/why.md`). Delegate unknown-code and negative-space mapping to `scout` (`invoke_subagent` / `Agent` / `task` / `spawn_agent`) and run `python -B "<this skill>/assets/gap-audit/gap_audit.py" scan --root "<root>" --advisory --json` when auditing repo health or "are we sure" questions.
7
+ Done when every positive and negative claim you plan to make has a file/symbol or scan citation.
8
8
  2. Throughput checkpoint stays one line: `throughput checkpoint: n/a, read-only investigation`.
9
- 3. Produce the how-shaped output: Overview / Key Concepts / How It Works / Where Things Live / Gotchas. For a choice between alternatives, produce a recommendation with a tradeoffs table instead.
10
- Done when every section is present, or the recommendation and table are.
9
+ 3. Produce the how-shaped output: Overview / Key Concepts / How It Works / Where Things Live / Gaps, Failure Modes & Gotchas. For a choice between alternatives, produce a conditional recommendation with a tradeoffs and disconfirmation table instead.
10
+ Done when every section (including negative-space gaps/omissions) is present, or the recommendation and table are.
11
11
  4. Apply the **unslop** technique (`references/techniques/unslop.md`) to the reply. Done when unslop's own `Done when` holds for the reply.
12
12
 
13
13
  ## Gates
@@ -57,7 +57,7 @@ The S lane skips step 5's implementation-review subagents and step 12 (PR-Agent)
57
57
  Done when the title matches `type(scope): subject` with an allowed type and no trailing period.
58
58
  8. Body: a one-minute briefing for a reviewer who has the diff; short sentences, few identifiers; under ~40 lines (it becomes the squash body). `##` headings in this order, dropping empty ones:
59
59
  - `## Why`: problem and approach, 1 to 3 sentences. No SHAs, rebase genealogy, "based on main".
60
- - `## What changed`: 1 to 3 bullets; name both sides of a rename or retarget.
60
+ - `## What changed`: 1 to 3 bullets ordered by thematic intent (`auth/security` → `core domain` → `UI` → `config/tests`, never an alphabetical file dump); name both sides of a rename or retarget, and state `Meaningful code +X -Y · Total +A -B` (from `diff_coverage.py plan`) when tests, snapshots, or generated files inflate total line count.
61
61
  - `## Scope`: always; 1 to 3 items on what it covers and deliberately leaves out.
62
62
  - `## Tradeoffs`: only rejected alternatives a reviewer would ask about.
63
63
  - `## Blast Radius`: 1 to 2 sentences on who/what it touches and why safe or risky; if main is red, the cost of leaving it red.
@@ -3,16 +3,19 @@
3
3
  Use when: something is slow or heavy and needs a one-off fix tied to a measurement. For sustained improvement against a metric use `references/playbooks/hillclimb.md`. You own the measurement story: plan, review, verify the numbers. Measure; don't read source instead of measuring.
4
4
 
5
5
  ## Steps
6
- 1. Capture a baseline trace on the matching surface via the repo's `verify-<app>` skill (in `.omp/skills/`, `.claude/skills/`, or `.agents/skills/`); if none, use `python -B "<this skill>/assets/perf-audit/bench_harness.py"` (`http` or `cmd`), omp `eval` `browser`, Playwright/CDP, or bash. Vet it, and every later number, with the **benchmark-checklist** technique (`references/techniques/benchmark-checklist.md`).
7
- Done when a saved baseline artifact passes every benchmark-checklist item.
8
- 2. Ground hypotheses with the **how** technique (`references/techniques/how.md`). For server/DB/runtime or data-structure bottlenecks, run `python -B "<this skill>/assets/perf-audit/perf_audit.py"` and check `domain-rules/references/high-scale-server-optimization.md` and `domain-rules/references/data-structures-and-cache-optimization.md`. Try the performance mantras in order, cheapest first; stop at the first that meets the target:
9
- 1. Don't do it (stop work whose result nothing uses).
10
- 2. Do it, but don't do it again.
11
- 3. Do it less.
12
- 4. Do it later.
13
- 5. Do it when they're not looking.
14
- 6. Do it concurrently.
15
- 7. Do it cheaper.
6
+ 1. Capture a baseline trace and static hot-path audit on the matching surface:
7
+ - Run `python -B "<this skill>/assets/perf-audit/perf_audit.py" --path "<root>" --json` and check `domain-rules/references/high-scale-server-optimization.md` and `domain-rules/references/data-structures-and-cache-optimization.md`.
8
+ - Measure via the repo's `verify-<app>` skill (in `.omp/skills/`, `.claude/skills/`, or `.agents/skills/`), `python -B "<this skill>/assets/perf-audit/bench_harness.py"` (`http` or `cmd`), DB `EXPLAIN (ANALYZE, BUFFERS)` + query-count assertions, CPU/alloc profilers, omp `eval` `browser`, Playwright/CDP, or bash.
9
+ - Vet it, and every later number, with **benchmark-checklist** (`references/techniques/benchmark-checklist.md`).
10
+ Done when `perf_audit.py` has run and a saved baseline artifact passes every benchmark-checklist item.
11
+ 2. Ground hypotheses with the **how** technique (`references/techniques/how.md`). Try the performance mantras in order, cheapest first; stop at the first that meets the target:
12
+ 1. Don't do it (drop unused fields/serialization, skip gzip before DB waits, cut dead queries).
13
+ 2. Do it, but don't do it again (prepared statements, module-level pools, `singleflight` + jittered cache-aside).
14
+ 3. Do it less (replace N+1 / `await`-in-loop with `= ANY($1)` batching, `OFFSET` with keyset cursors, composite/FK indexes).
15
+ 4. Do it later (transactional outbox / background queue off the request thread).
16
+ 5. Do it when they're not looking (precompute rollups, warm pools/JIT before traffic).
17
+ 6. Do it concurrently (non-blocking async I/O, semaphore-bounded fan-out `p-limit`/`Semaphore`, SPSC sharding).
18
+ 7. Do it cheaper (`orjson`/`msgspec`, flat hash maps, arena/slab buffers, SoA layout, literal SQL `LIMIT`).
16
19
  - Done when each tried mantra has a hypothesis tied to the trace, stopping at the first that meets the target.
17
20
  3. Plan the fix from the trace. Changes a module or public interface with two or more viable shapes → the **architect** technique (`references/techniques/architect.md`) first. Size L → delegate implementation to a default `task` agent (exclusive file ownership, reasoning level per job) and review the diff. Size M → make the change yourself, then run the **pr-review** self-review (`references/techniques/pr-review.md`, local mode).
18
21
  Done when the fix is implemented and, for Size M, the self-review has no open P0/P1.
@@ -6,12 +6,12 @@ Use when: changing structure while behavior stays fixed, including a language po
6
6
 
7
7
  Use the two accounts in `references/rust-migration-case-studies.md` as evidence, not a mandate to choose Rust or one cutover strategy.
8
8
 
9
- 1. **Freeze the oracle.** Record the source revision and run existing consumer-facing tests against it. Keep fixtures, snapshots, schemas, test selection and compatibility thresholds outside implementers' write scope. An intended contract change is a separate decision, not a way to turn a port green. Done when baseline commands, results and protected paths are recorded.
10
- 2. **Inventory behavior, not just files.** Map each public entrypoint, callback, I/O path, state owner, cancellation/disposal pair and packaging target to its destination and proof. Record numeric serialization, missing/empty values, ordering, ambient inputs, dependency semantics and release-only behavior. Done when every source surface has an owner, destination and acceptance case; unknowns stay open.
11
- 3. **Pilot before scaling.** Choose incremental closed slices or an all-at-once cutover from coupling, live churn and rollback needs. Translate behavior before redesigning algorithms. Run a small representative slice through compile, link, startup and its consumer path. Done when the pilot proves the recipe; a compiler-only pass is not sufficient.
12
- 4. **Turn failures into work.** Group compiler/runtime failures by owning slice; use Self-authoring (`references/playbooks/self-authoring.md`) for bounded repair loops. A repeated translation mistake changes the shared porting recipe and gets a regression case, not another one-off workaround. For parallel work, follow **coworkers** (`references/techniques/coworkers.md`) and pick small/mid model tiers for mechanical or oracle-backed batches (`skill://agent-harnesses/references/delegation-efficiency.md`). Done when each queue item has a reproduced failure, owner and closure evidence.
13
- 5. **Check parity and completeness separately.** Exercise the unchanged oracle in supported release configurations and compare externally visible results. Independently reconcile the inventory against current source, including changes that arrived during the port. Compilation cannot detect an omitted callback. Done when every row is proven or explicitly blocked; stubs, skipped tests and lowered baselines never close rows.
14
- 6. **Close the migration.** Migrate callers and remove superseded implementations in each closed slice. Remove temporary scaffolding before declaring the port complete. Record real consumer runs and workload-matched resource measurements; keep merge, rollout and release readiness distinct. Done when the requested native/runtime boundary holds end to end, not merely on the hot path.
9
+ 1. **Freeze the oracle & record `cases.jsonl`.** Pin the source revision, run consumer tests, and record real `(args, stdin, env, stdout, stderr, exit/return)` tuples from the unchanged runtime into a read-only `cases.jsonl` corpus (disable parser recursion caps such as `serde_json`'s 128-depth limit so deep AST/config trees record intact). Keep fixtures, schemas, and thresholds outside implementers' write scope. Done when baseline commands, `cases.jsonl`, and protected paths are recorded.
10
+ 2. **Inventory behavior via one shared bridge-eligibility check.** Map each public entrypoint, callback, I/O path, state owner, cancellation/disposal pair, and packaging target to its destination and proof. Planner (`analyze`), profiler, and FFI bridge generator must share one eligibility predicate (covering overloads, `.d.ts` aliases, and host-only callbacks) so no slice is scheduled that the bridge refuses. Record IEEE-754 shortest-roundtrip float tie rules (`ryu`/`zmij`), ordering, and release-only behavior. Done when every surface has an owner, destination, and acceptance case.
11
+ 3. **Pilot with stdin-preserving shadow fallback.** Choose incremental closed slices or all-at-once cutover; isolate build output dirs per target (`CARGO_TARGET_DIR` per-app subdir) so binaries never overwrite each other. During incremental strangler slices, let glue hand unsupported inputs back to `original::run_with_stdin(args, consumed_bytes)` without losing already-read stdin, and check every ported case against `cases.jsonl`. Done when the pilot compiles, links, starts, and passes replay.
12
+ 4. **Turn failures into work.** Group compiler/runtime/replay failures by owning slice; use Self-authoring (`references/playbooks/self-authoring.md`) for bounded repair loops. A repeated translation mistake updates the shared porting recipe and adds a `cases.jsonl` regression case. For parallel slices, follow **coworkers** (`references/techniques/coworkers.md`) on small/mid model tiers (`skill://agent-harnesses/references/delegation-efficiency.md`). Done when each queue item has a reproduced failure, owner, and replay closure.
13
+ 5. **Check parity and completeness separately.** Replay the full `cases.jsonl` oracle in release mode and compare externally visible outputs. Independently reconcile the inventory against current source (including upstream churn) and **mechanically fail completion while any `original::` fallback call remains in glue**. Done when every row is proven with zero `original::` fallbacks; stubs or skipped tests never close rows.
14
+ 6. **Close the migration.** Migrate callers, delete superseded implementations and shadow harnesses in each closed slice, and record workload-matched latency/memory measurements; keep merge, rollout, and release readiness distinct. Done when the native runtime boundary holds end to end.
15
15
 
16
16
  The language-port steps are the acceptance sequence, not a prerequisite to structural redesign. Preserve the architecture and valid branches unless the target runtime boundary requires a change. Keep the behavior pin, real-artifact proof, and SKILL.md delivery-target rules below; mandatory subtraction and reader-load reduction do not apply. Judge the port against its stated migration objective.
17
17
 
@@ -18,6 +18,7 @@ Method adapted from Nick Vasilescu's Grok Bot rebuild (T3 Code + Paper MCP, yout
18
18
  5. **Build from the canvas**, one screen per owner, shared tokens and primitives first (`references/playbooks/visual-parity.md` for the harness and per-component loop). Done when every canvas screen renders in the running app.
19
19
  6. **Prove it in the real app**, not a mock: screenshot each built screen in the running app at the canvas size and compare it frame by frame with the canvas; fix and reshoot until each matches.
20
20
  Add real-data and worst-case passes (long names, empty, every state, outages, narrow widths).
21
+ For animated interactions (menus, sheets, card entrances), record reference vs built clips and verify timing/easing parity with `python -B "<frontend-ui skill>/scripts/motion_diff.py" <ref.mp4> <built.mp4>` (`<= 0.08 s` start/duration delta, matching easing family, `<= 0.5%` rest jitter).
21
22
  Done when every screen has a matching canvas-vs-app screenshot pair and every worst-case pass has a result.
22
23
 
23
24
  Run steps 1 to 3 as parallel threads when they are independent (reference study, backend mapping, canvas), and settle each thread when its output is saved.
@@ -17,6 +17,8 @@ Headless engines this playbook may use:
17
17
  - `assets/loop/loop.py` runs a goal file under headless omp, Claude Code, or Codex until its check passes. Details are in the Self-authoring playbook (`references/playbooks/self-authoring.md`).
18
18
  - The GitHub App bot (`references/techniques/github-app.md`) polls the user's repos and runs pr-conversation and issue-conversation with no session open.
19
19
 
20
+ **Inner-loop-first & signal grouping:** Harden local verification and deterministic checks before scaling outer-loop automation (automating a sloppy inner loop multiplies slop). Group related incoming bug reports or signals in the coordinator before fanning out workers so shared root causes are solved once instead of duplicated.
21
+
20
22
  ## Session scale
21
23
 
22
24
  One task, one session, one completion predicate.
@@ -106,7 +108,7 @@ Work two tracks at once: the tactical one (land the next unit) and the strategic
106
108
  Done when the tracker lists each sampled retro and marks each candidate it produced dispatched or filed.
107
109
  16. A chunk too big for one PR goes through the Spec playbook (`references/playbooks/spec.md`), then Tickets (`references/playbooks/tickets.md`), then Phased build in build mode (`references/playbooks/phased-build.md`), with this playbook still owning the workers.
108
110
  Done when the chunk has a spec, tickets, and an integration branch with an owner in the tracker.
109
- 17. Schedule the recurring work: a wiki lint (contradictions, orphan pages, missing links, claims newer sources overtook), a sweep of open PRs and issues, and checks on anything the goal depends on.
111
+ 17. Schedule the recurring work: a wiki lint (contradictions, orphan pages, missing links, claims newer sources overtook), a sweep of open PRs and issues, and two standing self-healthchecks (periodic transcript friction scan + token/waste audit) that stay quiet when there is nothing actionable to propose.
110
112
  Use the harness's scheduler if it has one; otherwise a background heartbeat job as in Session scale step 3. Recurring work that should outlive this session goes in the final report as a proposed schedule (cron or Task Scheduler running `omp -p @<prompt file>`, or the harness's equivalent) for the user to enable.
111
113
  Done when each recurring job is scheduled with its id in the tracker, or listed in the final report as a proposed schedule.
112
114
 
@@ -59,7 +59,7 @@ Within an approved task, deepmodebot may author and revise its own bounded loop
59
59
  7. **Promote in order.** Project-local, committed through a PR only after the skill gate passes. Then deepmodebot itself: a PR via authoring-a-skill and Eval. Use authoring-a-skill's writing/validation steps first; defer its PR step until this gate.
60
60
  User-level folders (`~/.omp/agent/`, omp `manage_skill`, `~/.claude/`, `~/.agents/`, `~/.gemini/`) only with the user's yes, because they are outside the root.
61
61
  Done when the PR for the level reached is open, its own merge gate is satisfied before merging, and any user-level write has the user's yes on record. Local skill approval does not replace PR approval.
62
- 8. **Log and prune.** Use the show-me-your-work trail (`references/techniques/show-me-your-work.md`): what changed, why, evidence and removal path. Route observed recurring failures through correct/reflect/retro rather than appending another instruction layer.
62
+ 8. **Log and prune.** Use the show-me-your-work trail (`references/techniques/show-me-your-work.md`): what changed, why, evidence and removal path. Record the promoted artifact's attempt in Self-Improvement Memory (**sim**, `references/techniques/sim.md`), misses included. Route observed recurring failures through correct/reflect/retro rather than appending another instruction layer.
63
63
  Done when the trail holds all four, superseded instructions are removed, and the report separates authored, executed, reviewed and promoted states.
64
64
 
65
65
  ## Authored-skill acceptance packet
@@ -54,8 +54,7 @@ Files it may write:
54
54
  Sources, in order: `CONTRIBUTING.md`, `AGENTS.md` or `CLAUDE.md`, then patterns the code already follows consistently.
55
55
  Leave out anything a linter, formatter, or type checker already enforces; the **pr-review** technique reads this file as its standards source.
56
56
  Done when the file exists and every rule in it cites a `file:line`.
57
- 7. **Point to it.** Edit `AGENTS.md` when it exists, else `CLAUDE.md` when it exists, else create `AGENTS.md` (and `@AGENTS.md` in `CLAUDE.md`) with `python -B "<this skill>/assets/agents-md/agents_md.py" build .` (`py -3 -B` on Windows; see `references/techniques/writing-for-agents.md`) so it also carries the finish-line rule and the repo's checks. Add or update one `## deepmodebot` section: one line each for the tracker file, the glossary, the ADR folder, and the standards file.
58
- Update the section in place on a re-run; never duplicate it or touch the rest of the file. Done when the file holds exactly one `## deepmodebot` section with those four lines.
57
+ 7. **Bootstrap CI, XML policy, memory DB, and instructions.** Run `python -B "<this skill>/assets/setup/project_setup.py" --root .` (`py -3 -B` on Windows) to create missing `.deepmodebot/ci.yml`, `.deepmodebot/policy.xml`, `.scratch/deepmode-memory.db`, and refresh the managed deepmodebot block in `AGENTS.md` and `CLAUDE.md` (`@AGENTS.md`, preserving user rules outside markers). Add or update one `## deepmodebot` section pointing to the tracker, glossary, ADR folder, and standards file. Done when `project_setup.py --check` passes and the file holds one `## deepmodebot` section.
59
58
  8. **Optional guardrails.** When the user asks for commit-time checks or protection against destructive git commands, run the **pre-commit** technique (`references/techniques/pre-commit.md`) or the **git-guardrails** technique (`references/techniques/git-guardrails.md`).
60
59
  Done when each asked-for technique has reached its own Done when, or none was asked.
61
60
  9. **Ship it** as one `chore(deepmodebot): set up tracker and project docs` change through Opening a PR (`references/playbooks/opening-a-pr.md`).
@@ -8,6 +8,7 @@ Use when: migrating or reimplementing UI that must stay pixel-identical. You own
8
8
  3. Migrate shared primitives first as a blocking phase. Done when every shared primitive is migrated and its diff is zero.
9
9
  4. Migrate one component at a time; parallelize with `task` agents, one owner per component with exclusive file ownership (`references/principles/separate-before-serializing-shared-state.md`). Done when every component has a migrated version.
10
10
  5. Verify each component against its baseline by image diff on the matching surface via the repo's `verify-<app>` skill (in `.omp/skills/`, `.claude/skills/`, or `.agents/skills/`); if none, use omp `eval` `browser`, Playwright/CDP, or bash. Nonzero diff → investigate the pixel delta, fix, re-diff; loop per component until zero.
11
+ - For animated components or transitions, record both reference and candidate at matching FPS and run `python -B "<frontend-ui skill>/scripts/motion_diff.py" <ref.mp4> <cand.mp4> --mode pixel` so start/duration timing (`<= 0.08 s`), easing curve (`RMSE <= 0.08`), and rest frames (`<= 0.5%`) match mathematically, not just on a static end frame.
11
12
  6. Deliver per SKILL.md's delivery-target rule: for local review or a repo with no remote, leave verified S/M edits uncommitted (or on a non-default working branch) with zero-diff proof; for publication, commit per component or safe batch, run **Opening a PR** (`references/playbooks/opening-a-pr.md`), and land through **pr-conversation** or `references/playbooks/shipping.md` on a panel pass. Done when the requested delivery target holds.
12
13
 
13
14
  ## Gates
@@ -37,7 +37,7 @@ The commands below are the **github** kind's. When the user keeps a GitHub Proje
37
37
  - Pass → `gh pr merge <pr> --match-head-commit <sha>` with the repo's merge method, then run the checks on the new trunk. Red trunk → open a revert PR at once (PR source step 11). Green → `board:done`.
38
38
  - Fail → the owner fixes the findings, pushes, and a fresh panel runs. The third failed panel → `board:blocked` with the findings in a comment.
39
39
  - Done when the task is `board:done` with a green trunk check, has a revert PR open, or is `board:blocked` with the findings commented.
40
- 6. **Loop.** Run up to three tasks at once when they touch different files (raise only when provider rate limits and quotas allow; back off or rotate model families on 429s). After each merge, re-read the board. Re-plan tasks the merge changed, unblock dependents, and add the panel's dissent tasks.
40
+ 6. **Loop.** Run at most **2** non-overlapping tasks concurrently (drop to `1` immediately on any `429`, save `.scratch/quota-guard/<slug>-checkpoint.json`, and never wrap `work-a-queue` inside `/teamwork`; back off or rotate model families on 429s). After each merge, re-read the board. Re-plan tasks the merge changed, unblock dependents, and add the panel's dissent tasks.
41
41
  Done when no task is `board:todo`, `board:in-progress`, or `board:review`, or every one left is blocked on something only the user can supply.
42
42
 
43
43
  ### Gates
@@ -64,7 +64,9 @@ A queue of PRs is built and verified with full autonomy, one owner per PR. In mo
64
64
  Done when the trail's first row and the heartbeat-tick prompt both name the mode.
65
65
  2. Apply the operator's gates first. The grant covers only the queue's items. Items the operator names as theirs and PRs outside the queue stop at merge-ready. A request to state the plan is not a go.
66
66
  Done when the trail lists the queue's items and every item that stops at merge-ready.
67
- 3. Spawn one owner per PR with `task`, each in its own `git worktree` with exclusive file ownership (shared-`.git` rules in Run a goal, Program scale step 3, `references/playbooks/run-a-goal.md`). Select each owner's model tier and effort per `skill://agent-harnesses/references/delegation-efficiency.md` (small/mid for routine or oracle-backed PRs; `L` for hard design, security, and final review), pace spawns to 3-5 per wave, and reuse owners across fix rounds so prompt caches stay warm. The request authorizes branches and PRs; merging only in `merge` mode.
67
+ 3. Spawn one owner per PR with `task`, each in its own `git worktree` with exclusive file ownership (shared-`.git` rules in Run a goal, Program scale step 3, `references/playbooks/run-a-goal.md`). Select each owner's model tier and effort per `skill://agent-harnesses/references/delegation-efficiency.md` (small/mid for routine or oracle-backed PRs; `L` for hard design, security, and final review).
68
+ Cap concurrent active owners at **1-2** per wave (never 4-5 in parallel, which triggers `429` cold-respawn storms), reuse owners across fix rounds, and save `.scratch/quota-guard/<slug>-checkpoint.json` (`assets/quota-guard/quota_guard.py`) before any rate-limit pause.
69
+ The request authorizes branches and PRs; merging only in `merge` mode.
68
70
  For complex or uncertain domains, clear the PR spec with **sme-review** (`references/techniques/sme-review.md`) before writing hidden tests or spawning owners.
69
71
  Each owner builds, opens its PR early (per `references/playbooks/opening-a-pr.md`) so CI and bots run alongside, proves the change on the real artifact, and babysits to green per `references/playbooks/babysit.md`.
70
72
  Before an owner starts, a different agent writes hidden acceptance tests from the PR's spec. They are stored in the root's store, outside every owner's worktree, and are black-box tests of the spec's public behavior.
@@ -0,0 +1,7 @@
1
+ # hardcore-mode
2
+
3
+ Group: core. When: default ON for every non-trivial task, upgrade, plan, architecture design, and prompt suggestion.
4
+ - **Rule.** Aim straight for the first-principles architectural ceiling — never sandbag into a watered-down toy MVP or bury the real engineering under "(Optional hardcore mode)".
5
+ - **Steps.** Ask "what is the real, production-ceiling version of this system on this platform?" Choose true first-principles algorithms, real concurrency/parallelism, real constraint solvers, crisp native representations/LODs, and full end-to-end integration over flat approximations, single-threaded O(n^2) shortcuts, or stubbed demos. Promote optional hardcore tiers into mandatory deliverables unless the user explicitly asks for a throwaway prototype or minimal patch, or a verified platform/budget constraint blocks it (cite the observed limit plainly).
6
+ - **Distinct from** laziness-protocol (hardcore maximizes algorithmic and architectural craft while laziness-protocol deletes dead wrappers, unused flags, and boilerplate — zero bloat, zero overclaims, real-artifact proof still required).
7
+ - **Anti-patterns.** Watered-down 2D/flat approximations when a true 3D/volumetric/solver architecture fits; hedging real engineering behind "(Optional hardcore mode)" or "future work"; shipping mocks, stubs, or hardcoded demo data in place of the real subsystem.
@@ -0,0 +1,8 @@
1
+ # no-reward-hacking
2
+
3
+ Group: verification. When: writing code or tests, fixing bugs, iterating against any check/benchmark/gate, building UIs/APIs/CLIs/ML/3D, or declaring work done.
4
+ - **Rule.** Satisfy the operator's true goal rather than gaming the proxy metric across **all** engineering domains (Goodhart's Law: once a test, benchmark, linter, or scalar gate becomes the optimization target, shortcuts score 100% while failing the real requirement).
5
+ - **Freeze tests, snapshots, strictness & shell flags.** Never delete/tautologize assertions (`assert True`), overwrite golden snapshots unprompted (`--update-snapshots`, `jest/vitest -u`, `cargo insta accept`), replace `package.json` scripts with `echo`/`true`/`exit 0`, run empty filters (`go test -run=^$`), add `.skip`/`xfail`/`--no-cov`/`--passWithNoTests`/`continue-on-error: true`, weaken `tsconfig`/`mypy`/`pyright`/`biome`/Rust `#![allow(warnings)]`, lower quality/latency/throughput/coverage bounds, stub `/api/` in E2E specs, fit ML models on `test`/`eval` splits, disable TLS/FK checks (`verify=False`, `PRAGMA foreign_keys = OFF`), or branch on `PYTEST_CURRENT_TEST`/`JEST_WORKER_ID` in production.
6
+ - **Universal sealed judge (`run-judge`).** On code/API/CLI/ML/perf tasks (no images or DGX required), `reward_guard.py run-judge` runs `--verify-cmd` itself, captures `git diff` + untracked files, and audits both inside a sealed `omp -p --no-tools` prosecutor signed with an outer-supervisor RFC 8032 Ed25519 key. On UI/2D/3D tasks, it attaches locked references + owned headless Blender renders (`.glb`/`.fbx`/`.blend`/`.obj`) and verifies upstream Ed25519 receipts when required.
7
+ - **Outer-supervisor & CI ownership (`loop.py` + `slop_gate.py` + `self_grill.py`).** `slop_gate.py` scans both git diffs and `.scratch/` scripts/symlinks on every `local_ci.py run`; `self_grill.py` enforces critical `no-reward-hacking` verification across test/config/eval/E2E diffs; and `loop.py` freezes protected files and guardrail configs (`exit 4` on mutation) while running `run-judge` from a private `realpath`-verified holdout.
8
+ - **Anti-patterns.** Hardcoding test fixture inputs or `PYTEST_CURRENT_TEST` branches in `src/`; overwriting snapshots (`-u`) to silence regressions; stubbing backend `/api/` routes in E2E tests; fitting on `X_test`; `verify=False` to silence TLS failures; deleting assertions; letting the builder own the final completion gate.
@@ -2,6 +2,7 @@
2
2
 
3
3
  Group: verification. When: writing, changing, or keeping a test.
4
4
  - **Rule.** A test claims what the code does for its users (caller, end user, other service): return values, errors, readable state, external effects (request sent, row written, message emitted). Not private helpers, internal call order, intermediate data, which collaborator did the work.
5
- - **Two imagined edits.** *Break the behavior* (wrong value, skipped or doubled effect): if the test still passes it proves nothing — usual causes: assertion looser than the contract, expected value computed by the code under test, restated constant/prompt string that never runs the reading code, asserting on data the test built itself. *Change the internals* (same observable results): if the test fails it's pinned to implementation. Keep tests that catch the first and survive the second; rewrite or delete the rest.
5
+ - **Two imagined edits (kill tautological tests).** *Break the behavior* (wrong value, skipped or doubled effect): if the test still passes it is a **tautological test** that proves nothing — usual causes: assertion looser than the contract, expected value computed by the code under test, restated constant/prompt string that never runs the reading code, asserting on mocked data the test built itself. *Change the internals* (same observable results): if the test fails it is pinned to implementation. Keep tests that catch the first and survive the second; rewrite or delete the rest.
6
+ - **Real tests over mocks.** Don't mock what you can run locally: prefer real test primitives, real temp repos/DBs, and running-app checks; mock only external systems already isolated behind a production boundary.
6
7
  - **Writing.** Drive through the users' interface with concrete input; derive expected values from the requirement, not a run; assert exactly the contract.
7
8
  - The contract decides: "empty cart never charges" → asserting no payment-client call is behavior (pair with a case where the charge happens). Payload a mocked *external* service receives is behavior; an internal helper call is not. Exact error message pins wording no caller reads; the error type callers branch on is the contract. Invariants (key exists in two tables, compile-time type check) are behavior.
@@ -2,5 +2,5 @@
2
2
 
3
3
  Group: architecture. When: designing types, reviewing a signature, writing any statically-typed code.
4
4
  - **Rule.** Make the compiler reject impossible states, mismatched primitives, and unhandled variants. Define errors and special cases out of existence rather than multiplying handlers.
5
- - **Checks.** Brand semantic primitives (`UserId` vs `OrderId`; branded intersection or newtype); validate once at creation, trust downstream; two args sharing a primitive but meaning different things → brand them. External data is untyped until parsed (RPC, JSON, IPC, CLI, config, env, DB rows): a parse function at every boundary (see boundary-discipline). Derive types from the authoritative schema (protobuf, OpenAPI, GraphQL, migrations, design tokens) instead of hand-rolling a parallel type (see encode-lessons-in-structure). Exhaust variants.
6
- - **Anti-patterns.** Hand-maintained parallel types; casts and `any` instead of parsing.
5
+ - **Checks.** Brand semantic primitives (`UserId` vs `OrderId`) via verifying type guards (`input is UserId`), never via `as`. Model invariants constructively so illegal values cannot be built (`[T, ...T[]]` for non-empty, `start` + `duration` for ranges) while keeping `T[]` when operations stay total. Use `unknown` over `any`; parse external data with the repo's schema library (`z.infer` etc.) before hand-writing guards, stopping `Record<string, unknown>` at the boundary. Narrow in order: discriminant switch > `in` > `typeof`/`instanceof` > verifying type guard > `as` (last resort). Prefer `satisfies` over `as`, derive types (`Pick`/`Omit`/`ReturnType`/`typeof`) from schemas, and enforce exhaustiveness with `const _exhaustive: never = x;`.
6
+ - **Anti-patterns.** Hand-maintained parallel types; `as any` / `as unknown as` casts; lying type guards that do not verify the claim; optional-field bags instead of discriminated unions.