deepmodebot 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (691) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.claude-plugin/marketplace.json +2 -2
  3. package/.omp-plugin/marketplace.json +2 -2
  4. package/README.md +29 -5
  5. package/bin/deepmodebot.mjs +187 -10
  6. package/lib/clients.mjs +50 -3
  7. package/lib/tree.mjs +64 -10
  8. package/lib/version.mjs +26 -0
  9. package/native/dmb-gate/Cargo.toml +13 -0
  10. package/native/dmb-gate/src/agents.rs +77 -0
  11. package/native/dmb-gate/src/ci.rs +516 -0
  12. package/native/dmb-gate/src/cleanup.rs +198 -0
  13. package/native/dmb-gate/src/gap.rs +1376 -0
  14. package/native/dmb-gate/src/guard.rs +135 -0
  15. package/native/dmb-gate/src/main.rs +327 -0
  16. package/native/dmb-gate/src/map.rs +173 -0
  17. package/native/dmb-gate/src/perf.rs +347 -0
  18. package/native/dmb-gate/src/reward.rs +1214 -0
  19. package/native/dmb-gate/src/skill_check.rs +171 -0
  20. package/native/dmb-gate/src/slop.rs +1238 -0
  21. package/native/dmb-gate/src/ui.rs +842 -0
  22. package/native/dmb-gate/src/util.rs +260 -0
  23. package/native/dmb-net/go.mod +3 -0
  24. package/native/dmb-net/main.go +624 -0
  25. package/native/dmb-net/main_test.go +122 -0
  26. package/package.json +12 -2
  27. package/plugins/deepmodebot/.antigravity-plugin/plugin.json +1 -1
  28. package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +5 -5
  29. package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +1 -1
  30. package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +2 -2
  31. package/plugins/deepmodebot/.antigravity-plugin/skills/suggest/SKILL.md +13 -0
  32. package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +2 -2
  33. package/plugins/deepmodebot/.claude-plugin/plugin.json +1 -1
  34. package/plugins/deepmodebot/.codex-plugin/plugin.json +46 -0
  35. package/plugins/deepmodebot/agents/comment-sicko/agent.md +35 -0
  36. package/plugins/deepmodebot/agents/researcher/agent.md +33 -0
  37. package/plugins/deepmodebot/agents/reviewer/agent.md +4 -2
  38. package/plugins/deepmodebot/agents/scout/agent.md +11 -12
  39. package/plugins/deepmodebot/agents/security-reviewer/agent.md +2 -1
  40. package/plugins/deepmodebot/commands/deep.md +6 -6
  41. package/plugins/deepmodebot/commands/research.md +8 -0
  42. package/plugins/deepmodebot/commands/suggest.md +10 -0
  43. package/plugins/deepmodebot/commands/tournament.md +2 -2
  44. package/plugins/deepmodebot/hooks/hooks.json +2 -2
  45. package/plugins/deepmodebot/hooks.json +1 -1
  46. package/plugins/deepmodebot/scripts/antigravity-guard.mjs +140 -7
  47. package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +179 -47
  48. package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +4 -6
  49. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +3 -0
  50. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +4 -0
  51. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +3 -1
  52. package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +2 -2
  53. package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +12 -2
  54. package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +11 -3
  55. package/plugins/deepmodebot/skills/app-automation-relay/SKILL.md +17 -0
  56. package/plugins/deepmodebot/skills/app-automation-relay/assets/relay_server.ts +364 -0
  57. package/plugins/deepmodebot/skills/app-automation-relay/references/adapter-cookbook.md +15 -0
  58. package/plugins/deepmodebot/skills/app-automation-relay/references/wire-protocol.md +23 -0
  59. package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +4 -3
  60. package/plugins/deepmodebot/skills/cloud-devsecops/references/cloudflare-edge.md +43 -0
  61. package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +15 -2
  62. package/plugins/deepmodebot/skills/contribute/SKILL.md +3 -35
  63. package/plugins/deepmodebot/skills/create-formal-verification-skill/LICENSE +21 -0
  64. package/plugins/deepmodebot/skills/create-formal-verification-skill/NOTICE.md +16 -0
  65. package/plugins/deepmodebot/skills/create-formal-verification-skill/SKILL.md +71 -0
  66. package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +2 -2
  67. package/plugins/deepmodebot/skills/deep-learning/LICENSE +21 -0
  68. package/plugins/deepmodebot/skills/deep-learning/SKILL.md +33 -0
  69. package/plugins/deepmodebot/skills/deep-learning/references/neural-architectures.md +43 -0
  70. package/plugins/deepmodebot/skills/deep-learning/references/papers-and-repos.md +128 -0
  71. package/plugins/deepmodebot/skills/deep-learning/references/reinforcement-learning.md +57 -0
  72. package/plugins/deepmodebot/skills/deep-learning/references/training-optimization.md +40 -0
  73. package/plugins/deepmodebot/skills/deep-learning/references/weight-space-programming.md +76 -0
  74. package/plugins/deepmodebot/skills/deep-learning/scripts/hf_passes.py +166 -0
  75. package/plugins/deepmodebot/skills/deep-learning/scripts/wsp.py +493 -0
  76. package/plugins/deepmodebot/skills/deep-stack/SKILL.md +1 -1
  77. package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +46 -92
  78. package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +1 -0
  79. package/plugins/deepmodebot/skills/deep-stack/references/prove.md +6 -0
  80. package/plugins/deepmodebot/skills/deep-stack/references/stack.md +11 -1
  81. package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +74 -145
  82. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +18 -6
  83. package/plugins/deepmodebot/skills/deepmodebot/assets/autoroute/autoroute.py +1021 -0
  84. package/plugins/deepmodebot/skills/deepmodebot/assets/cleanup/self_cleanup.py +305 -0
  85. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +98 -5
  86. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +106 -5
  87. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +3 -0
  88. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +2 -0
  89. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/rehearsal_gate.py +536 -0
  90. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +2 -0
  91. package/plugins/deepmodebot/skills/deepmodebot/assets/formal-verification/verify_proof.py +638 -0
  92. package/plugins/deepmodebot/skills/deepmodebot/assets/gap-audit/gap_audit.py +1053 -0
  93. package/plugins/deepmodebot/skills/deepmodebot/assets/gen-ui/gen_ui.py +1782 -0
  94. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +7 -0
  95. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +3 -2
  96. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +9 -5
  97. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +2 -0
  98. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +2 -0
  99. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/local_ci.py +540 -0
  100. package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/slop_gate.py +642 -0
  101. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +2 -1
  102. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +2 -1
  103. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +2 -0
  104. package/plugins/deepmodebot/skills/deepmodebot/assets/memory/project_memory.py +529 -0
  105. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +48 -21
  106. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +339 -5
  107. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +96 -6
  108. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +2 -0
  109. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +2 -0
  110. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +2 -0
  111. package/plugins/deepmodebot/skills/deepmodebot/assets/prompt-tools/prompt_tools.py +1239 -0
  112. package/plugins/deepmodebot/skills/deepmodebot/assets/quota-guard/quota_guard.py +424 -0
  113. package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +477 -1
  114. package/plugins/deepmodebot/skills/deepmodebot/assets/reward-guard/reward_guard.py +1597 -0
  115. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule-paths.json +57 -0
  116. package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule_ledger.py +1645 -0
  117. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +2 -0
  118. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +2 -0
  119. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +13 -10
  120. package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/static_sec_audit.py +275 -0
  121. package/plugins/deepmodebot/skills/deepmodebot/assets/self-grill/self_grill.py +1473 -0
  122. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/model_setup.py +329 -0
  123. package/plugins/deepmodebot/skills/deepmodebot/assets/setup/project_setup.py +312 -0
  124. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +304 -18
  125. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +121 -78
  126. package/plugins/deepmodebot/skills/deepmodebot/references/README.md +14 -0
  127. package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +16 -11
  128. package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +2 -1
  129. package/plugins/deepmodebot/skills/deepmodebot/references/delegation.md +14 -0
  130. package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +2 -0
  131. package/plugins/deepmodebot/skills/deepmodebot/references/full-scope.md +9 -0
  132. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +2 -0
  133. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +12 -9
  134. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +7 -3
  135. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +2 -0
  136. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +4 -4
  137. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +1 -1
  138. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +13 -10
  139. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +6 -6
  140. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +1 -0
  141. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +3 -1
  142. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +1 -2
  143. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +1 -0
  144. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +4 -2
  145. package/plugins/deepmodebot/skills/deepmodebot/references/principles/hardcore-mode.md +7 -0
  146. package/plugins/deepmodebot/skills/deepmodebot/references/principles/no-reward-hacking.md +8 -0
  147. package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +2 -1
  148. package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +2 -2
  149. package/plugins/deepmodebot/skills/deepmodebot/references/rule-approval.md +51 -0
  150. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +10 -24
  151. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +5 -4
  152. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +3 -3
  153. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/autoroute.md +49 -0
  154. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +1 -1
  155. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/catchup-video.md +13 -0
  156. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +8 -7
  157. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +2 -1
  158. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/devex-review.md +13 -0
  159. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/expand-contract.md +13 -0
  160. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/formal-verification.md +33 -0
  161. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/gen-ui.md +60 -0
  162. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +2 -1
  163. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +7 -18
  164. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +7 -7
  165. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/model-setup.md +14 -0
  166. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/modernize-pr.md +15 -0
  167. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/mutation-testing.md +13 -0
  168. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +5 -5
  169. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +7 -3
  170. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +1 -1
  171. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +8 -5
  172. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +1 -2
  173. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +33 -38
  174. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/product-lens.md +12 -0
  175. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prompt-upgrade.md +30 -0
  176. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +1 -1
  177. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reframe.md +18 -0
  178. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/release-and-canary.md +10 -0
  179. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +62 -89
  180. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +5 -1
  181. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/self-grill.md +54 -0
  182. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +3 -3
  183. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +7 -0
  184. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +3 -2
  185. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/suggest.md +24 -0
  186. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +7 -0
  187. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +2 -2
  188. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +12 -11
  189. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/variant-analysis.md +11 -0
  190. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/video-forensics.md +46 -0
  191. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +10 -1
  192. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/webhook-ui.md +11 -0
  193. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +6 -0
  194. package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +7 -0
  195. package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +141 -18
  196. package/plugins/deepmodebot/skills/deepmodebot/worker.md +16 -0
  197. package/plugins/deepmodebot/skills/domain-rules/SKILL.md +13 -119
  198. package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +19 -1
  199. package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +7 -0
  200. package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +11 -0
  201. package/plugins/deepmodebot/skills/domain-rules/references/sources.md +108 -0
  202. package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +30 -131
  203. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/canvas.css +42 -0
  204. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/editorial.css +39 -0
  205. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/layouts.css +95 -0
  206. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/swiss.css +40 -0
  207. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/tactile.css +41 -0
  208. package/plugins/deepmodebot/skills/frontend-ui/assets/themes/workbench.css +50 -0
  209. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-animations.md +49 -0
  210. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +46 -24
  211. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +27 -258
  212. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +26 -51
  213. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +22 -195
  214. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/00-art-direction.md +39 -0
  215. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +27 -24
  216. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +23 -17
  217. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +22 -45
  218. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +11 -0
  219. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +32 -152
  220. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +36 -91
  221. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +14 -120
  222. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +11 -10
  223. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +9 -9
  224. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06b-media-icons-charts.md +19 -0
  225. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06c-product-shots-craft.md +42 -0
  226. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +5 -6
  227. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +28 -56
  228. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +9 -7
  229. package/plugins/deepmodebot/skills/frontend-ui/scripts/motion_diff.py +259 -0
  230. package/plugins/deepmodebot/skills/frontend-ui/scripts/ui_audit.py +496 -0
  231. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/LICENSE +21 -0
  232. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/NOTICE.md +16 -0
  233. package/plugins/deepmodebot/skills/maintain-formal-verification-skill/SKILL.md +68 -0
  234. package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +1 -1
  235. package/plugins/deepmodebot/skills/office-documents/SKILL.md +24 -0
  236. package/plugins/deepmodebot/skills/office-documents/references/documents-docx-pdf.md +15 -0
  237. package/plugins/deepmodebot/skills/office-documents/references/presentations-pptx.md +15 -0
  238. package/plugins/deepmodebot/skills/office-documents/references/spreadsheets-xlsx.md +15 -0
  239. package/plugins/deepmodebot/skills/office-documents/scripts/doc_audit.py +230 -0
  240. package/plugins/deepmodebot/skills/project-brief/SKILL.md +2 -19
  241. package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +4 -0
  242. package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +4 -0
  243. package/plugins/deepmodebot/skills/project-brief/references/claim-contract.md +55 -0
  244. package/plugins/deepmodebot/skills/research/SKILL.md +18 -0
  245. package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +1 -1
  246. package/plugins/deepmodebot/skills/seo-and-geo/SKILL.md +29 -0
  247. package/plugins/deepmodebot/skills/seo-and-geo/references/geo-and-agentic-web.md +30 -0
  248. package/plugins/deepmodebot/skills/seo-and-geo/references/technical-and-schema.md +25 -0
  249. package/plugins/deepmodebot/skills/seo-and-geo/scripts/seo_audit.py +282 -0
  250. package/plugins/deepmodebot/skills/software-architecture/SKILL.md +2 -2
  251. package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +5 -0
  252. package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +1 -0
  253. package/plugins/deepmodebot/skills/statechart/LICENSE +21 -0
  254. package/plugins/deepmodebot/skills/statechart/NOTICE.md +21 -0
  255. package/plugins/deepmodebot/skills/statechart/SKILL.md +106 -0
  256. package/plugins/deepmodebot/skills/statechart/references/render.md +93 -0
  257. package/plugins/deepmodebot/skills/statechart/references/tooling.md +78 -0
  258. package/plugins/deepmodebot/skills/statechart/scripts/backends/cfg.ts +33 -0
  259. package/plugins/deepmodebot/skills/statechart/scripts/backends/mermaid.ts +249 -0
  260. package/plugins/deepmodebot/skills/statechart/scripts/backends/plain-text.ts +72 -0
  261. package/plugins/deepmodebot/skills/statechart/scripts/backends/report.ts +177 -0
  262. package/plugins/deepmodebot/skills/statechart/scripts/frontends/config.ts +276 -0
  263. package/plugins/deepmodebot/skills/statechart/scripts/frontends/dot.ts +77 -0
  264. package/plugins/deepmodebot/skills/statechart/scripts/frontends/marks.ts +93 -0
  265. package/plugins/deepmodebot/skills/statechart/scripts/frontends/messages.ts +52 -0
  266. package/plugins/deepmodebot/skills/statechart/scripts/frontends/spec.ts +114 -0
  267. package/plugins/deepmodebot/skills/statechart/scripts/frontends/trace.ts +24 -0
  268. package/plugins/deepmodebot/skills/statechart/scripts/frontends/value.ts +166 -0
  269. package/plugins/deepmodebot/skills/statechart/scripts/frontends/verdict.ts +40 -0
  270. package/plugins/deepmodebot/skills/statechart/scripts/frontends/view.ts +119 -0
  271. package/plugins/deepmodebot/skills/statechart/scripts/ir.ts +547 -0
  272. package/plugins/deepmodebot/skills/statechart/scripts/janitor.ts +13 -0
  273. package/plugins/deepmodebot/skills/statechart/scripts/kill.ts +15 -0
  274. package/plugins/deepmodebot/skills/statechart/scripts/package.json +11 -0
  275. package/plugins/deepmodebot/skills/statechart/scripts/passes/annotate.ts +128 -0
  276. package/plugins/deepmodebot/skills/statechart/scripts/passes/label.ts +269 -0
  277. package/plugins/deepmodebot/skills/statechart/scripts/passes/lift.ts +85 -0
  278. package/plugins/deepmodebot/skills/statechart/scripts/passes/loop-check.ts +68 -0
  279. package/plugins/deepmodebot/skills/statechart/scripts/passes/paths.ts +60 -0
  280. package/plugins/deepmodebot/skills/statechart/scripts/passes/reach.ts +135 -0
  281. package/plugins/deepmodebot/skills/statechart/scripts/passes/region-check.ts +97 -0
  282. package/plugins/deepmodebot/skills/statechart/scripts/passes/regions.ts +295 -0
  283. package/plugins/deepmodebot/skills/statechart/scripts/pipeline.ts +76 -0
  284. package/plugins/deepmodebot/skills/statechart/scripts/run.ts +500 -0
  285. package/plugins/deepmodebot/skills/statechart/scripts/statechart +29 -0
  286. package/plugins/deepmodebot/skills/statechart/scripts/statechart.ts +165 -0
  287. package/plugins/deepmodebot/skills/statechart/scripts/test/ConfigOracle.java +63 -0
  288. package/plugins/deepmodebot/skills/statechart/scripts/test/chart.test.ts +1253 -0
  289. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Braces.mmd +7 -0
  290. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Escapes.mmd +11 -0
  291. package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Phases.mmd +29 -0
  292. package/plugins/deepmodebot/skills/statechart/scripts/test/cli.test.ts +1344 -0
  293. package/plugins/deepmodebot/skills/statechart/scripts/test/config-fuzz.test.ts +263 -0
  294. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/ChartRun.out +57 -0
  295. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.cfg +3 -0
  296. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.tla +10 -0
  297. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/chart.mmd +9 -0
  298. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/graph.dot +16 -0
  299. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/report.md +7 -0
  300. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/sany.out +2 -0
  301. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/verdict-1.out +49 -0
  302. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/ChartRun.out +60 -0
  303. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.cfg +4 -0
  304. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.tla +22 -0
  305. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/chart.mmd +26 -0
  306. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/graph.dot +19 -0
  307. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/report.md +20 -0
  308. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/sany.out +2 -0
  309. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.exit +1 -0
  310. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.out +56 -0
  311. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.exit +1 -0
  312. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.out +82 -0
  313. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-3.out +57 -0
  314. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/ChartRun.out +59 -0
  315. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.cfg +3 -0
  316. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.tla +11 -0
  317. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/chart.mmd +22 -0
  318. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/graph.dot +16 -0
  319. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/report.md +17 -0
  320. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/sany.out +2 -0
  321. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.exit +1 -0
  322. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.out +56 -0
  323. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.exit +1 -0
  324. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.out +77 -0
  325. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/ChartRun.out +69 -0
  326. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.cfg +2 -0
  327. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.tla +11 -0
  328. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/chart.mmd +85 -0
  329. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/graph.dot +70 -0
  330. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/report.md +12 -0
  331. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/sany.out +2 -0
  332. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.exit +1 -0
  333. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.out +67 -0
  334. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-2.out +57 -0
  335. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.exit +1 -0
  336. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.out +85 -0
  337. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.cfg +6 -0
  338. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.tla +13 -0
  339. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/chart.mmd +5 -0
  340. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/graph.dot +10 -0
  341. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/report.md +31 -0
  342. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/sany.out +2 -0
  343. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.exit +1 -0
  344. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.out +64 -0
  345. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.exit +1 -0
  346. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.out +77 -0
  347. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/ChartRun.out +55 -0
  348. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.cfg +3 -0
  349. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.tla +10 -0
  350. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/chart.mmd +12 -0
  351. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/graph.dot +6 -0
  352. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/report.md +12 -0
  353. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/sany.out +2 -0
  354. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.exit +1 -0
  355. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.out +33 -0
  356. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-2.out +54 -0
  357. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/ChartRun.out +54 -0
  358. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.cfg +3 -0
  359. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.tla +10 -0
  360. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/chart.mmd +1 -0
  361. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/graph.dot +6 -0
  362. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/report.md +7 -0
  363. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/sany.out +2 -0
  364. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/verdict-1.out +46 -0
  365. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/ChartRun.out +59 -0
  366. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.cfg +2 -0
  367. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.tla +10 -0
  368. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterSteps.tla +6 -0
  369. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/chart.mmd +17 -0
  370. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/graph.dot +15 -0
  371. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/report.md +14 -0
  372. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/sany.out +3 -0
  373. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.exit +1 -0
  374. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.out +78 -0
  375. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/ChartRun.out +59 -0
  376. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.cfg +3 -0
  377. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.tla +19 -0
  378. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/chart.mmd +26 -0
  379. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/graph.dot +22 -0
  380. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/report.md +12 -0
  381. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/sany.out +2 -0
  382. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.exit +1 -0
  383. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.out +58 -0
  384. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-2.out +57 -0
  385. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/ChartRun.out +57 -0
  386. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.cfg +2 -0
  387. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.tla +11 -0
  388. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/chart.mmd +17 -0
  389. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/graph.dot +15 -0
  390. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/report.md +14 -0
  391. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/sany.out +2 -0
  392. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.exit +1 -0
  393. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.out +76 -0
  394. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/ChartRun.out +59 -0
  395. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.cfg +3 -0
  396. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.tla +11 -0
  397. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/chart.mmd +19 -0
  398. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/graph.dot +10 -0
  399. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/report.md +15 -0
  400. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/sany.out +2 -0
  401. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.exit +1 -0
  402. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.out +56 -0
  403. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.exit +1 -0
  404. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.out +67 -0
  405. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/ChartRun.out +62 -0
  406. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.cfg +6 -0
  407. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.tla +24 -0
  408. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/Moves.tla +5 -0
  409. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/chart.mmd +22 -0
  410. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/graph.dot +10 -0
  411. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/report.md +23 -0
  412. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/sany.out +3 -0
  413. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.exit +1 -0
  414. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.out +58 -0
  415. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.exit +1 -0
  416. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.out +66 -0
  417. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.exit +1 -0
  418. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.out +74 -0
  419. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-4.out +59 -0
  420. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/ChartRun.out +58 -0
  421. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.cfg +3 -0
  422. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.tla +15 -0
  423. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/chart.mmd +18 -0
  424. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/graph.dot +13 -0
  425. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/report.md +11 -0
  426. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/sany.out +2 -0
  427. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.exit +1 -0
  428. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.out +33 -0
  429. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-2.out +57 -0
  430. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/ChartRun.out +57 -0
  431. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.cfg +3 -0
  432. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.tla +15 -0
  433. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/chart.mmd +7 -0
  434. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/graph.dot +13 -0
  435. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/report.md +6 -0
  436. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/sany.out +2 -0
  437. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/verdict-1.out +49 -0
  438. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/ChartRun.out +61 -0
  439. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.cfg +4 -0
  440. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.tla +14 -0
  441. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/chart.mmd +30 -0
  442. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/graph.dot +19 -0
  443. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/report.md +27 -0
  444. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/sany.out +2 -0
  445. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.exit +1 -0
  446. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.out +56 -0
  447. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.exit +1 -0
  448. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.out +64 -0
  449. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.exit +1 -0
  450. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.out +87 -0
  451. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-4.out +57 -0
  452. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/ChartRun.out +60 -0
  453. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.cfg +3 -0
  454. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.tla +12 -0
  455. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/chart.mmd +23 -0
  456. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/graph.dot +19 -0
  457. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/report.md +11 -0
  458. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/sany.out +2 -0
  459. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.exit +1 -0
  460. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.out +56 -0
  461. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-2.out +57 -0
  462. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/ChartRun.out +61 -0
  463. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.cfg +4 -0
  464. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.tla +14 -0
  465. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/chart.mmd +23 -0
  466. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/graph.dot +19 -0
  467. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/report.md +27 -0
  468. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/sany.out +2 -0
  469. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.exit +1 -0
  470. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.out +56 -0
  471. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.exit +1 -0
  472. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.out +64 -0
  473. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.exit +1 -0
  474. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.out +87 -0
  475. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-4.out +57 -0
  476. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/view.mjs +1 -0
  477. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/ChartRun.out +59 -0
  478. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.cfg +4 -0
  479. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.tla +38 -0
  480. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/chart.mmd +92 -0
  481. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/graph.dot +126 -0
  482. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/report.md +17 -0
  483. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/sany.out +2 -0
  484. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.exit +1 -0
  485. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.out +91 -0
  486. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-2.out +57 -0
  487. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/ChartRun.out +61 -0
  488. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.cfg +6 -0
  489. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.tla +11 -0
  490. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/chart.mmd +22 -0
  491. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/graph.dot +16 -0
  492. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/report.md +25 -0
  493. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/sany.out +2 -0
  494. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.exit +1 -0
  495. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.out +56 -0
  496. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.exit +1 -0
  497. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.out +64 -0
  498. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.exit +1 -0
  499. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.out +64 -0
  500. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.exit +1 -0
  501. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.out +77 -0
  502. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/ChartRun.out +57 -0
  503. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.cfg +4 -0
  504. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.tla +11 -0
  505. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/chart.mmd +13 -0
  506. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/graph.dot +12 -0
  507. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/report.md +11 -0
  508. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/sany.out +2 -0
  509. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.exit +1 -0
  510. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.out +72 -0
  511. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/ChartRun.out +57 -0
  512. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.cfg +3 -0
  513. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.tla +62 -0
  514. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/chart.mmd +28 -0
  515. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/graph.dot +40 -0
  516. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/report.md +7 -0
  517. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/sany.out +1 -0
  518. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/verdict-1.out +47 -0
  519. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/view.mjs +1 -0
  520. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/ChartRun.out +57 -0
  521. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.cfg +2 -0
  522. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.tla +64 -0
  523. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/chart.mmd +28 -0
  524. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/graph.dot +37 -0
  525. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/report.md +8 -0
  526. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/sany.out +1 -0
  527. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/verdict-1.out +47 -0
  528. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/view.mjs +1 -0
  529. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/ChartRun.out +60 -0
  530. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.cfg +3 -0
  531. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.tla +64 -0
  532. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/chart.mmd +44 -0
  533. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/graph.dot +58 -0
  534. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/report.md +17 -0
  535. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/sany.out +1 -0
  536. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.exit +1 -0
  537. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.out +83 -0
  538. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-2.out +57 -0
  539. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/view.mjs +1 -0
  540. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/ChartRun.out +60 -0
  541. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.cfg +3 -0
  542. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.tla +103 -0
  543. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/chart.mmd +43 -0
  544. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/graph.dot +93 -0
  545. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/report.md +14 -0
  546. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/sany.out +1 -0
  547. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.exit +1 -0
  548. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.out +59 -0
  549. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-2.out +72 -0
  550. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/view.mjs +3 -0
  551. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/ChartRun.out +57 -0
  552. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.cfg +2 -0
  553. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.tla +100 -0
  554. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/chart.mmd +31 -0
  555. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/graph.dot +85 -0
  556. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/report.md +9 -0
  557. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/sany.out +1 -0
  558. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/verdict-1.out +47 -0
  559. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/view.mjs +3 -0
  560. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/ChartRun.out +59 -0
  561. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayer.tla +103 -0
  562. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.cfg +3 -0
  563. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.tla +6 -0
  564. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/chart.mmd +42 -0
  565. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/graph.dot +93 -0
  566. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/report.md +19 -0
  567. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/sany.out +2 -0
  568. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.exit +1 -0
  569. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.out +61 -0
  570. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-2.out +59 -0
  571. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-3.out +61 -0
  572. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.exit +1 -0
  573. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.out +66 -0
  574. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.exit +1 -0
  575. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.out +58 -0
  576. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-6.out +49 -0
  577. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/view.mjs +3 -0
  578. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/ChartRun.out +57 -0
  579. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.cfg +6 -0
  580. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.tla +11 -0
  581. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/chart.mmd +5 -0
  582. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/graph.dot +11 -0
  583. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/report.md +7 -0
  584. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/sany.out +5 -0
  585. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/verdict-1.out +70 -0
  586. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ChartRun.out +61 -0
  587. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.cfg +4 -0
  588. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.tla +11 -0
  589. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowLib.tla +6 -0
  590. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowSub.tla +3 -0
  591. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/chart.mmd +9 -0
  592. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/graph.dot +16 -0
  593. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/report.md +8 -0
  594. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/sany.out +4 -0
  595. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/verdict-1.out +65 -0
  596. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/ChartRun.out +59 -0
  597. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.cfg +2 -0
  598. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.tla +9 -0
  599. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/chart.mmd +23 -0
  600. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/graph.dot +17 -0
  601. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/report.md +15 -0
  602. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/sany.out +1 -0
  603. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.exit +1 -0
  604. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.out +65 -0
  605. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.exit +1 -0
  606. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.out +75 -0
  607. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/ChartRun.out +69 -0
  608. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.cfg +3 -0
  609. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.tla +75 -0
  610. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/chart.mmd +60 -0
  611. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/graph.dot +297 -0
  612. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/report.md +20 -0
  613. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/sany.out +1 -0
  614. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.exit +1 -0
  615. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.out +95 -0
  616. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-2.out +57 -0
  617. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/view.mjs +1 -0
  618. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/ChartRun.out +57 -0
  619. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.cfg +3 -0
  620. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.tla +75 -0
  621. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/chart.mmd +37 -0
  622. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/graph.dot +223 -0
  623. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/report.md +11 -0
  624. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/sany.out +1 -0
  625. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/verdict-1.out +47 -0
  626. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/view.mjs +1 -0
  627. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.exit +1 -0
  628. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.out +75 -0
  629. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.cfg +5 -0
  630. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.tla +11 -0
  631. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/chart.mmd +18 -0
  632. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/graph.dot +14 -0
  633. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/report.md +29 -0
  634. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/sany.out +2 -0
  635. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.exit +1 -0
  636. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.out +64 -0
  637. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.exit +1 -0
  638. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.out +75 -0
  639. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/ChartRun.out +58 -0
  640. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.cfg +2 -0
  641. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.tla +8 -0
  642. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/chart.mmd +22 -0
  643. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/graph.dot +16 -0
  644. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/report.md +15 -0
  645. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/sany.out +2 -0
  646. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.exit +1 -0
  647. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.out +56 -0
  648. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.exit +1 -0
  649. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.out +77 -0
  650. package/plugins/deepmodebot/skills/statechart/scripts/test/corpus.test.ts +441 -0
  651. package/plugins/deepmodebot/skills/statechart/scripts/test/differential.test.ts +565 -0
  652. package/plugins/deepmodebot/skills/statechart/scripts/test/drawn.ts +20 -0
  653. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.cfg +2 -0
  654. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.tla +9 -0
  655. package/plugins/deepmodebot/skills/statechart/scripts/test/grid/sany.out +2 -0
  656. package/plugins/deepmodebot/skills/statechart/scripts/test/java.ts +63 -0
  657. package/plugins/deepmodebot/skills/statechart/scripts/test/labels.ts +648 -0
  658. package/plugins/deepmodebot/skills/statechart/scripts/test/messages.test.ts +226 -0
  659. package/plugins/deepmodebot/skills/statechart/scripts/test/pipeline.test.ts +270 -0
  660. package/plugins/deepmodebot/skills/statechart/scripts/test/plain-tlc.test.ts +255 -0
  661. package/plugins/deepmodebot/skills/statechart/scripts/test/render.test.ts +145 -0
  662. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc-out.test.ts +90 -0
  663. package/plugins/deepmodebot/skills/statechart/scripts/test/tlc.ts +158 -0
  664. package/plugins/deepmodebot/skills/statechart/scripts/tsconfig.json +11 -0
  665. package/plugins/deepmodebot/skills/statechart/scripts/worker.ts +35 -0
  666. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +0 -391
  667. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +0 -146
  668. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +0 -483
  669. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +0 -139
  670. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +0 -301
  671. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +0 -602
  672. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +0 -69
  673. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +0 -160
  674. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +0 -180
  675. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +0 -265
  676. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +0 -192
  677. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +0 -2182
  678. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +0 -19
  679. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +0 -691
  680. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +0 -127
  681. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +0 -496
  682. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +0 -1426
  683. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +0 -320
  684. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +0 -326
  685. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +0 -55
  686. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +0 -53
  687. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +0 -94
  688. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +0 -610
  689. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +0 -250
  690. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +0 -654
  691. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +0 -879
@@ -12,16 +12,22 @@ import subprocess
12
12
  import sys
13
13
  from pathlib import Path
14
14
 
15
+ sys.dont_write_bytecode = True
16
+
15
17
  REF = re.compile(r"(?<![\w/])((?:references|scripts)/[\w./-]+\.(?:md|py|sh|json|txt))")
16
18
  LINK = re.compile(r"skill://([\w-]+(?:/[\w-]+)?)(?![\w<-])")
17
19
  FILE_LINK = re.compile(r"skill://([\w-]+)/([\w./-]+\.(?:md|py|sh|json|txt|ts|cjs))")
18
20
  EXPORTED = {"frontend-ui"} # skills exported from another repo; a scripts/ path there names that repo's file
21
+ NO_WINDOW = getattr(subprocess, "CREATE_NO_WINDOW", 0)
19
22
 
20
23
 
21
24
  def installed_skills(skill_dir: Path) -> tuple[dict[str, Path], bool]:
22
25
  """The skills a link may name: this skill's siblings, plus what `omp skill list` reports. The flag says whether
23
26
  that list was read; without it a link to a global skill (skill://tdd) can't be judged, so it isn't."""
24
27
  found = {p.parent.name: p.parent for p in skill_dir.parent.glob("*/SKILL.md")}
28
+ if skill_dir.parent.name == "skills" and skill_dir.parent.parent.name == ".antigravity-plugin":
29
+ for p in (skill_dir.parents[2] / "skills").glob("*/SKILL.md"):
30
+ found.setdefault(p.parent.name, p.parent)
25
31
  omp = shutil.which("omp")
26
32
  if not omp:
27
33
  return found, False
@@ -33,6 +39,7 @@ def installed_skills(skill_dir: Path) -> tuple[dict[str, Path], bool]:
33
39
  encoding="utf-8",
34
40
  errors="replace",
35
41
  timeout=60,
42
+ creationflags=NO_WINDOW,
36
43
  ).stdout
37
44
  data = json.loads(out)
38
45
  for skill in data if isinstance(data, list) else data.get("skills", []):
@@ -24,6 +24,8 @@ import urllib.request
24
24
  import xml.etree.ElementTree as ET
25
25
  from pathlib import Path
26
26
 
27
+ sys.dont_write_bytecode = True
28
+
27
29
  SKILL_DIR = Path(__file__).resolve().parent.parent
28
30
  REFERENCE_FILE = SKILL_DIR / "assets" / "repo-references.json"
29
31
  REFERENCE_REVISION = hashlib.sha256(REFERENCE_FILE.read_text(encoding="utf-8").encode("utf-8")).hexdigest()
@@ -36,8 +38,11 @@ STALE_AFTER_DAYS = 1
36
38
  USER_AGENT = "deepmodebot-trending (+https://github.com/TimothyVang/deepmodebot)"
37
39
  WATCH_TOPICS = [
38
40
  "agent-skills", "claude-skills", "claude-code", "mcp", "mcp-server", "ai-agents",
39
- "coding-agent", "llm", "browser-automation", "sandbox",
41
+ "coding-agent", "llm", "browser-automation", "sandbox", "cloudflare-workers",
42
+ "edge-computing", "design-system", "rust", "distributed-systems", "formal-verification",
43
+ "static-analysis", "webgpu",
40
44
  ]
45
+ PERMISSIVE_SPDX = frozenset({"MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "0BSD", "Unlicense"})
41
46
  KEEP_DAYS = 120
42
47
  RECENT_DAYS = 30
43
48
  NEW_REPO_DAYS = 30
@@ -66,6 +71,7 @@ CATEGORIES = [
66
71
  "self-hosted", "rust", "typescript", "golang", "python"]),
67
72
  ]
68
73
  OTHER = "Everything else"
74
+ NO_WINDOW = getattr(subprocess, "CREATE_NO_WINDOW", 0)
69
75
 
70
76
 
71
77
  def today():
@@ -77,7 +83,7 @@ def github_token():
77
83
  if token:
78
84
  return token
79
85
  try:
80
- out = subprocess.run(["gh", "auth", "token"], capture_output=True, text=True, timeout=10)
86
+ out = subprocess.run(["gh", "auth", "token"], capture_output=True, text=True, timeout=10, creationflags=NO_WINDOW)
81
87
  return out.stdout.strip() or None
82
88
  except (OSError, subprocess.SubprocessError):
83
89
  return None
@@ -443,7 +449,7 @@ def short_count(n):
443
449
  return f"{n / 1000:.1f}k" if n >= 1000 else str(n)
444
450
 
445
451
 
446
- def line(entry):
452
+ def line(entry, wrap_bytes=None):
447
453
  gained = entry["stars"] - entry["stars_first_seen"]
448
454
  parts = [f"[{entry['name']}]({entry['url']})", f"★{short_count(entry['stars'])}"
449
455
  + (f" (+{short_count(gained)} since seen)" if gained > 0 else "")]
@@ -454,12 +460,17 @@ def line(entry):
454
460
  statuses = [name for name in ("archived", "fork") if entry.get(name)]
455
461
  if statuses:
456
462
  parts.append(("reference only: " if reference else "") + ", ".join(statuses))
463
+ caution_part = None
457
464
  if reference:
458
465
  parts.append(f"reference {reference['reviewed']}: " + ", ".join(reference["topics"]))
459
466
  if reference["caution"]:
460
- parts.append("caution: " + clean(reference["caution"], limit=None))
461
- return "- " + " · ".join(parts)
462
-
467
+ caution_part = "caution: " + clean(reference["caution"], limit=None)
468
+ parts.append(caution_part)
469
+ rendered = "- " + " · ".join(parts)
470
+ if wrap_bytes and caution_part and len(rendered.encode("utf-8")) > wrap_bytes:
471
+ head = "- " + " · ".join(parts[:-1])
472
+ return f"{head}\n {caution_part}"
473
+ return rendered
463
474
 
464
475
  def render(catalog):
465
476
  now = today()
@@ -483,7 +494,7 @@ def render(catalog):
483
494
  f"## Created in the last {NEW_REPO_DAYS} days",
484
495
  "",
485
496
  ]
486
- out += [line(e) for e in by_stars if e["created"] >= new][: PER_SECTION * 2] or ["- (none)"]
497
+ out += [line(e, wrap_bytes=700) for e in by_stars if e["created"] >= new][: PER_SECTION * 2] or ["- (none)"]
487
498
  sections = {title: [] for title, _ in CATEGORIES}
488
499
  sections[OTHER] = []
489
500
  for entry in by_stars:
@@ -492,7 +503,7 @@ def render(catalog):
492
503
  for title, members in sections.items():
493
504
  out += ["", f"## {title}", "", f"Top {min(PER_SECTION, len(members))} of {len(members)} by stars, "
494
505
  f"observed from these sources in the last {RECENT_DAYS} days.", ""]
495
- out += [line(e) for e in members[:PER_SECTION]] or ["- (none)"]
506
+ out += [line(e, wrap_bytes=700) for e in members[:PER_SECTION]] or ["- (none)"]
496
507
  return "\n".join(out) + "\n"
497
508
 
498
509
 
@@ -507,6 +518,7 @@ def project_cache() -> Path:
507
518
  encoding="utf-8",
508
519
  errors="replace",
509
520
  timeout=15,
521
+ creationflags=NO_WINDOW,
510
522
  )
511
523
  root = Path(proc.stdout.strip()) if proc.returncode == 0 and proc.stdout.strip() else Path.cwd()
512
524
  except (OSError, subprocess.SubprocessError):
@@ -551,44 +563,155 @@ def fetch_published(out: Path, local) -> bool:
551
563
  return not is_stale(local)
552
564
 
553
565
 
566
+ def _score_token(tok: str, name_l: str, topics_l: str, desc_l: str, lang_l: str) -> float:
567
+ if len(tok) < 2:
568
+ return 0.0
569
+ if tok in name_l:
570
+ return 3.0
571
+ if tok in topics_l:
572
+ return 2.0
573
+ if tok in desc_l or tok == lang_l:
574
+ return 1.0
575
+ return 0.0
576
+
577
+
578
+ def _score_phrase(phrase: str, name_l: str, all_topics_l: str, desc_l: str, caution_l: str, lang_l: str) -> float:
579
+ pts = 0.0
580
+ if phrase in name_l:
581
+ pts += 8.0
582
+ if phrase in all_topics_l:
583
+ pts += 5.0
584
+ if phrase in desc_l:
585
+ pts += 3.0
586
+ if phrase in caution_l or phrase == lang_l:
587
+ pts += 1.5
588
+ tokens = re.findall(r"[a-z0-9][a-z0-9.+-]*", phrase)
589
+ if len(tokens) > 1 or pts == 0.0:
590
+ pts += sum(_score_token(t, name_l, all_topics_l, desc_l, lang_l) for t in tokens)
591
+ return pts
592
+
593
+
594
+ def _score_entry(entry: dict, raw_terms: list[str]) -> float:
595
+ name_l = (entry.get("name") or "").lower()
596
+ desc_l = (entry.get("description") or "").lower()
597
+ ref = entry.get("reference") or {}
598
+ all_topics_l = " ".join([*(entry.get("topics") or []), *(ref.get("topics") or [])]).lower()
599
+ caution_l = (ref.get("caution") or "").lower()
600
+ lang_l = (entry.get("language") or "").lower()
601
+ return sum(
602
+ _score_phrase(raw.strip().lower(), name_l, all_topics_l, desc_l, caution_l, lang_l)
603
+ for raw in raw_terms
604
+ if raw.strip()
605
+ )
606
+
607
+
554
608
  def find(args):
555
609
  out = args.out or project_cache()
556
610
  catalog_path = out / "catalog.json"
557
611
  catalog = load_catalog(catalog_path)
558
- if not args.no_refresh and is_stale(catalog) and not fetch_published(out, catalog):
612
+ if not getattr(args, "no_refresh", False) and is_stale(catalog) and not fetch_published(out, catalog):
559
613
  print(f"catalog last updated {catalog['updated']}; rebuilding it", file=sys.stderr)
560
614
  try:
561
615
  update(argparse.Namespace(out=out))
562
616
  except SystemExit as err:
563
617
  print(f"warning: refresh failed ({err}); searching the stale catalog", file=sys.stderr)
564
618
  catalog = load_catalog(catalog_path)
565
- terms = [t.lower() for t in args.terms]
566
619
  ranked = []
567
620
  for entry in catalog["repos"].values():
568
- haystack = " ".join([entry["name"], entry["description"], " ".join(entry["topics"]),
569
- " ".join(entry.get("reference", {}).get("topics", [])),
570
- entry["language"] or ""]).lower()
571
- hits = sum(term in haystack for term in terms)
572
- if hits:
573
- ranked.append((hits, entry["stars"], entry))
621
+ sc = _score_entry(entry, args.terms)
622
+ if sc > 0:
623
+ ranked.append((sc, entry["stars"], entry))
574
624
  ranked.sort(key=lambda r: (-r[0], -r[1]))
625
+ chosen = [entry for _, _, entry in ranked[: args.limit]]
626
+ if getattr(args, "json", False):
627
+ print(json.dumps({
628
+ "updated": catalog["updated"],
629
+ "query": args.terms,
630
+ "count": len(ranked),
631
+ "results": chosen,
632
+ }, indent=2, ensure_ascii=False))
633
+ return
575
634
  print(f"catalog updated {catalog['updated']} ({out / 'README.md'}); {len(ranked)} matches for {' '.join(args.terms)}")
576
- for hits, _, entry in ranked[: args.limit]:
635
+ for entry in chosen:
577
636
  print(f"{line(entry)} · [{category(entry)}]")
578
637
 
579
638
 
639
+ def _clean_org_name(raw: str) -> str:
640
+ s = raw.strip()
641
+ for pfx in ("https://github.com/orgs/", "http://github.com/orgs/", "https://github.com/", "orgs/"):
642
+ if s.lower().startswith(pfx):
643
+ s = s[len(pfx):]
644
+ break
645
+ return s.split("/", 1)[0].strip()
646
+
647
+
648
+ def org_sweep(args):
649
+ token = github_token()
650
+ cutoff = (today() - dt.timedelta(days=max(1, args.days))).isoformat()
651
+ seen: dict[str, dict] = {}
652
+ for raw_org in args.orgs:
653
+ org = _clean_org_name(raw_org)
654
+ if not org:
655
+ continue
656
+ queries = [
657
+ f"org:{org} stars:>={args.min_stars} archived:false",
658
+ f"org:{org} pushed:>={cutoff} stars:>={max(5, args.min_stars // 2)} archived:false",
659
+ ]
660
+ for q in queries:
661
+ params = urllib.parse.urlencode({"q": q, "sort": "stars", "order": "desc", "per_page": min(50, max(10, args.limit))})
662
+ data = json.loads(fetch(f"https://api.github.com/search/repositories?{params}", token))
663
+ for repo in data.get("items", []):
664
+ spdx = ((repo.get("license") or {}).get("spdx_id") or "NONE")
665
+ is_permissive = spdx in PERMISSIVE_SPDX
666
+ if getattr(args, "permissive_only", False) and not is_permissive:
667
+ continue
668
+ license_note = (
669
+ "verified-spdx-permissive"
670
+ if is_permissive
671
+ else ("inspect-root-LICENSE-before-use" if spdx == "NOASSERTION" else f"excluded-or-restricted:{spdx}")
672
+ )
673
+ full_name = repo["full_name"]
674
+ seen[full_name.lower()] = {
675
+ "name": full_name,
676
+ "url": repo.get("html_url") or f"https://github.com/{full_name}",
677
+ "stars": repo.get("stargazers_count", 0),
678
+ "language": repo.get("language"),
679
+ "license": spdx,
680
+ "license_disposition": license_note,
681
+ "pushed_at": (repo.get("pushed_at") or "")[:10],
682
+ "description": (repo.get("description") or "")[:DESCRIPTION_CHARS],
683
+ "topics": repo.get("topics") or [],
684
+ }
685
+ items = sorted(seen.values(), key=lambda r: (-r["stars"], r["name"]))[: args.limit]
686
+ if getattr(args, "json", False):
687
+ print(json.dumps({"orgs": [_clean_org_name(o) for o in args.orgs], "count": len(items), "repos": items}, indent=2, ensure_ascii=False))
688
+ return
689
+ print(f"org sweep ({', '.join(_clean_org_name(o) for o in args.orgs)}): {len(items)} repo(s)")
690
+ for it in items:
691
+ print(f"- [{it['name']}]({it['url']}) ({it['stars']}★, {it['language'] or 'n/a'}, {it['license']} [{it['license_disposition']}]) — {it['description']}")
692
+
693
+
580
694
  def main():
581
695
  parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
582
696
  commands = parser.add_subparsers(dest="command", required=True)
583
697
  up = commands.add_parser("update", help="refresh catalog.json and README.md from all sources")
584
698
  up.add_argument("--out", type=Path, help="output directory (default: the project's .scratch/trending)")
585
699
  up.set_defaults(run=lambda a: update(argparse.Namespace(out=a.out or project_cache())))
586
- fd = commands.add_parser("find", help="rank catalog repos by search terms")
700
+ fd = commands.add_parser("find", help="rank catalog repos by weighted phrase and token relevance")
587
701
  fd.add_argument("terms", nargs="+")
588
702
  fd.add_argument("--no-refresh", action="store_true", help="search the catalog as is, even when stale")
589
703
  fd.add_argument("--limit", type=int, default=20)
704
+ fd.add_argument("--json", action="store_true", help="emit structured JSON matches")
590
705
  fd.add_argument("--out", type=Path, help="catalog directory (default: the project's .scratch/trending)")
591
706
  fd.set_defaults(run=find)
707
+ og = commands.add_parser("org", help="sweep top and recent public repos in one or more GitHub organizations")
708
+ og.add_argument("orgs", nargs="+", help="GitHub org name or https://github.com/orgs/<name>/repositories URL")
709
+ og.add_argument("--days", type=int, default=365)
710
+ og.add_argument("--min-stars", type=int, default=15)
711
+ og.add_argument("--limit", type=int, default=25)
712
+ og.add_argument("--permissive-only", action="store_true", help="keep only MIT/Apache-2.0/BSD/ISC SPDX repos")
713
+ og.add_argument("--json", action="store_true")
714
+ og.set_defaults(run=org_sweep)
592
715
  sys.stdout.reconfigure(encoding="utf-8")
593
716
  args = parser.parse_args()
594
717
  args.run(args)
@@ -0,0 +1,16 @@
1
+ You are working for the operator. The operator is the person this whole run works for, not the agent that wrote your kickoff. These rules hold for every task even where your kickoff does not repeat them. Your kickoff overrides one only when it says so explicitly.
2
+
3
+ - If you start an agent, the first line of its kickoff is `Read <path>/worker.md before anything else.`, with `<path>` the absolute path of the folder that holds this file.
4
+ - The bar in your kickoff is the whole bar. Add no check, gate, sign-off, or review round above it.
5
+ - With no bar stated, the change must be no worse than its base and pass its own tests.
6
+ - Hold or block only for a failing run at this head or a bug a user would hit. Report a problem the base already has in one line.
7
+ - **Hardcore mode by default:** build the true first-principles algorithm and full architecture instead of toy MVPs, stubbed approximations, naive O(n^2) shortcuts, or punting real craft to "(optional hardcore mode)" / future work — while keeping code clean, free of dead wrappers, and proven on the real artifact.
8
+ - **Zero reward hacking (Goodhart's Law):** never weaken a test, lower a numeric bound, add `.skip`, pass threshold-bypass flags (`--min-iou 0`, `--skip-reference`), or substitute procedural primitives (`create_cube`, `create_cone`) / hardcoded returns for the real upstream generator or solver; attach real provenance receipts (`job_id` + SHA-256) and score directly against the reference artifact.
9
+ - Write no narration, banner, or workaround comments: comments rot and mislead agents into reading prose instead of code. Keep only legal headers or external constraints code cannot express; encode invariants in types, names, or tests.
10
+ - Respect explicit anti-jobs in your brief (e.g., scouts never edit or post, drafters never send), and stay quiet when a standing check or watch finds nothing actionable.
11
+ - Never call a tool that shows a person a question on reversible work. Make any choice you can undo, then say what you chose and why. Stop only for a deploy, deleted data, a force-push to a shared branch, an outside-root write, or a message to someone outside the run.
12
+ - Keep every created or edited file inside the project root (never `/tmp`, `$TMPDIR`, or `%TEMP%`), run Python with `-B`, and use subscription logins only (never set up API keys).
13
+ - Open every PR ready for review, never as a draft.
14
+ - PR title: `type(scope): subject`.
15
+ - PR body: 40 lines at most, with these `##` headings in this order, empty ones dropped: `Why`, `What changed`, `Scope`, `Tradeoffs`, `Blast Radius`, `Verification`.
16
+ - Put evidence logs, run histories, and long tables in a file or a PR comment, and link to them from the body.
@@ -1,131 +1,25 @@
1
1
  ---
2
2
  name: domain-rules
3
- description: "Engineering rules by domain: AI agents and LLMs, AWS networking, backend system design, language ecosystems and their traps, DevOps and computer-science fundamentals, and engineering practice (debugging, legacy code, incidents, estimates). Use when designing or reviewing work in one of those areas."
3
+ description: "Domain engineering rules for design/review: AI agents/LLMs, AWS networking, backend & high-scale perf, cache/data structures, languages, DevOps, debugging."
4
4
  metadata:
5
- as-of: "2026-11-11"
5
+ as-of: "2026-11-25"
6
6
  ---
7
7
 
8
8
  # Engineering domain rules
9
9
 
10
- Rules distilled from 102 public engineering explainer videos published in 2026 (listed in the Sources table below) and 450+ server implementations across the Million Users, $12 Server, and Multicore benchmarks (`high-scale-server-optimization.md`, `data-structures-and-cache-optimization.md`), current as of 2026-11-20. Rules are paraphrased; transcripts are not shipped. Each video rule carries a source key from the table below. Upload dates are approximate and may be off by a few days.
10
+ Distilled from 102 public 2026 engineering talks (full source key table: `references/sources.md`) and 450+ benchmarked server implementations (`high-scale-server-optimization.md`, `data-structures-and-cache-optimization.md`), current as of 2026-11-20. Read only the file your task touches.
11
11
 
12
12
  | File | Read when |
13
13
  |---|---|
14
- | `references/agent-engineering.md` | Building, reviewing, or debugging an AI agent, harness, multi-agent system, MCP/WebMCP integration, or an agent instruction file |
15
- | `references/ai-concepts.md` | LLM fundamentals, RAG and retrieval, fine-tuning, inference cost and hardware, local models, model choice, AI terms |
16
- | `references/aws-networking.md` | AWS or VPC design, a cloud connectivity failure, IAM, cloud cost, or picking an AWS service |
17
- | `references/backend-system-design.md` | Backend code, API design, database choice or tuning, caching, queues, scaling, resilience, observability, security, language choice |
18
- | `references/language-ecosystems.md` | Runtime, memory, and concurrency model, build/test/debug tooling, and traps for C, C++, Rust, Go, Java, C#, Python, JS/TS, PHP, Ruby, Kotlin, Swift |
19
- | `references/devops-and-fundamentals.md` | Linux, CLI tools, git, Docker, Kubernetes, Terraform, CI/CD, deployment strategies, secrets, data structures and complexity, memory, floats, concurrency, network protocols |
20
- | `references/engineering-practice.md` | Unfamiliar codebase, stuck on an error, debugging slowness, memory, or races, legacy code, PR or commit text, incidents, estimates, pushing back |
21
- | `references/high-scale-server-optimization.md` | High-concurrency server tuning, event loops (`epoll`/`io_uring`), TCP/NIC sysctls, Postgres/SQLite pipelining/batching, co-located DB contention, zero-alloc JSON/gzip, or runtime GC/PGO optimization |
22
- | `references/data-structures-and-cache-optimization.md` | Designing or optimizing hot-path data structures, pointer-free slot tables, 64 B cache-line alignment, L1D/TLB/hugepage tuning, lock-free SPSC rings, timing wheels, or tight-RAM arenas |
14
+ | `references/agent-engineering.md` | Building, reviewing, or debugging an AI agent, harness, multi-agent system, MCP/WebMCP integration, or agent instruction file |
15
+ | `references/ai-concepts.md` | LLM fundamentals, RAG/retrieval, fine-tuning, inference cost/hardware, local models, model choice |
16
+ | `references/aws-networking.md` | AWS/VPC design, cloud connectivity failures, IAM, cloud cost, picking an AWS service |
17
+ | `references/backend-system-design.md` | Backend code, API design, database choice/tuning, caching, queues, scaling, resilience, observability, security |
18
+ | `references/language-ecosystems.md` | Runtime, memory, concurrency, tooling, and traps for C, C++, Rust, Go, Java, C#, Python, JS/TS, PHP, Ruby, Kotlin, Swift |
19
+ | `references/devops-and-fundamentals.md` | Linux, CLI, git, Docker, Kubernetes, Terraform, CI/CD, deploy strategies, secrets, complexity, memory, floats, concurrency, protocols |
20
+ | `references/engineering-practice.md` | Unfamiliar codebases, debugging slowness/memory/races, legacy code, PR/commit text, incidents, estimates, pushing back |
21
+ | `references/high-scale-server-optimization.md` | High-concurrency server tuning, `epoll`/`io_uring`, TCP/NIC sysctls, Postgres/SQLite batching, co-located DB contention, zero-alloc JSON/gzip, GC/PGO |
22
+ | `references/data-structures-and-cache-optimization.md` | Hot-path data structures, pointer-free slot tables, 64 B cache-line alignment, L1D/TLB/hugepages, lock-free SPSC rings, timing wheels, tight-RAM arenas |
23
+ | `references/sources.md` | Resolving any `[SOURCE-KEY]` video citation in the files above |
23
24
 
24
25
  Deepmodebot's principles, gates, and playbooks win any conflict. These files supply domain rules, not process.
25
-
26
- ## Sources
27
-
28
- | Key | Uploaded | Video |
29
- |---|---|---|
30
- | AGI | 2026-10-11 | [AGI: The Technology That Could Change the World](https://youtu.be/tNs0NMNSmmM) |
31
- | AI-101 | 2026-11-09 | [AI 101: Top AI Concepts Explained for Absolute Beginners](https://youtu.be/kVRmyljiGwE) |
32
- | AI-COURSE | 2026-10-14 | [AI Engineer Full Course in 3 Hours [FREE]](https://youtu.be/XFNggsFFZJw) |
33
- | AI-ERA | 2026-11-01 | [6 Skills That Will Make You Irreplaceable in the AI Era](https://youtu.be/s6OllgyglJE) |
34
- | AIRFLOW | 2026-08-11 | [Learn Apache Airflow in 8 Minutes (Explained Clearly)](https://youtu.be/Cnxrb7d8RKw) |
35
- | ANSIBLE | 2026-09-11 | [What is Ansible? (Finally Makes Sense)](https://youtu.be/0w07kacfIso) |
36
- | API-AUTH | 2026-04-11 | [Every API Authentication Method Explained (Don’t Choose the Wrong One)](https://youtu.be/_lTECv25N2U) |
37
- | API-LAWS | 2026-09-11 | [8 API Laws of Senior Backend Developer](https://youtu.be/-40xErgJIBg) |
38
- | API-TYPES | 2026-02-11 | [Every API Type Explained in 4 Minutes](https://youtu.be/Z4_Cikopizw) |
39
- | APP-15MIN | 2026-11-07 | [Can AI Build a Fully Functional App in 15 Minutes? (I Tested It)](https://youtu.be/yyE6YUtmIHQ) |
40
- | AWS-NET | 2026-10-30 | [AWS Networking Full Course in 2 Hours (FREE)](https://youtu.be/8-m7hqOqs9Y) |
41
- | AWS-SENSE | 2026-10-28 | [AWS Will Finally Make Sense After This Video](https://youtu.be/LPJ1zHDC0Ck) |
42
- | BACKEND-ECO | 2026-10-11 | [I Bet Nobody Has Ever Explained the Backend Ecosystem Like This Before](https://youtu.be/mZ27vUoOEB0) |
43
- | BACKEND-INT | 2026-08-11 | [Don't Attend a Backend Interview Before Watching This Video](https://youtu.be/PsM_4WTuI8Y) |
44
- | BOOKS | 2026-05-11 | [10 Programming Books That Turn Coders Into Software Engineers](https://youtu.be/D7yNq8xJSFc) |
45
- | BUBBLE | 2026-11-03 | [Are We Getting Closer to an AI Bubble Burst?](https://youtu.be/rZTqJaf21yg) |
46
- | C-ECO | 2026-11-10 | [The Complete C Ecosystem Explained (Why C Is Still Everywhere)](https://youtu.be/jYfvixZzyuI) |
47
- | CAREER-2030 | 2026-09-11 | [6 Survival Rules for Your Career by 2030](https://youtu.be/LoVAP1T2XOI) |
48
- | CLAUDE-MD | 2026-10-21 | [The 4 Lines Every CLAUDE.md Needs that Make Claude 100x Better](https://youtu.be/MqMD3Rbvl0Q) |
49
- | CLAUDE-TIPS | 2026-11-04 | [4 TIPS To Give Claude Unlimited Usage](https://youtu.be/Ddg8eEp-MGc) |
50
- | CLAUDE-WON | 2026-10-11 | [Why Claude Won? TOP 7 Features That Changed AI Coding](https://youtu.be/oetQNZp2MLM) |
51
- | CLI-TOOLS | 2026-10-21 | [10 Insanely Useful CLI Tools That Make Developers 10x More Productive](https://youtu.be/RXhU9-oQCjY) |
52
- | CLOUD-10 | 2026-10-11 | [You Just Need to Learn These 10 Cloud Computing Topics](https://youtu.be/De4V2czb-8A) |
53
- | CODE-LAWS | 2026-09-11 | [7 Coding Laws of Senior Developer](https://youtu.be/JcYMtYbNUhU) |
54
- | CONFUSING-3 | 2026-09-11 | [The 3 Most Confusing System Design Concepts (Finally Explained)](https://youtu.be/ywrlEV6g_jI) |
55
- | CPP-ECO | 2026-10-29 | [C++ Full Ecosystem Explained For Absolute Beginners](https://youtu.be/jdfo4-SyGEU) |
56
- | CS-4H | 2026-11-02 | [4 Years of Computer Science Degree in 4 Hours - Full Course (FREE)](https://youtu.be/LJ_HY0AKZnM) |
57
- | CSHARP | 2026-06-11 | [10+ Years Senior Engineer Explains C# and .NET For Beginners](https://youtu.be/fmg8c4VgPN0) |
58
- | CURSOR-ORIGIN | 2026-10-11 | [Cursor's Origin: The End of GitHub?](https://youtu.be/9_GksUJcAS0) |
59
- | DB-10MIN | 2026-06-11 | [I Wish Someone Explained Databases Like This to Me (In 10 Minutes)](https://youtu.be/8z40p3gVILk) |
60
- | DB-LAWS | 2026-10-11 | [7 Database Laws of Senior Backend Developer](https://youtu.be/2snYdgNcxIg) |
61
- | DEV-LIFE | 2026-11-08 | [I Bet Nobody Explained Real Developer Life in IT Like This (3-Hour Course)](https://youtu.be/izbuAaCqjY4) |
62
- | DEVOPS | 2026-03-11 | [DevOps Explained for Absolute Beginners (All Core Concepts)](https://youtu.be/L0VTxAO7BYU) |
63
- | DEVOPS-2 | 2026-10-31 | [I Wish Someone Explained DevOps to Me Like This](https://youtu.be/GwYx0-7o_vg) |
64
- | DEVOPS-INT | 2026-08-11 | [Don't Attend a DevOps Interview Before Watching This Video](https://youtu.be/5Vxnx5Rd84o) |
65
- | DEVOPS-MAP | 2026-09-11 | [I Wish Someone Showed Me This DevOps Roadmap When I Started](https://youtu.be/SvjjPxwfhyg) |
66
- | DISTROS | 2026-08-11 | [Every Linux Distribution Explained (Which One Should You Pick?)](https://youtu.be/9WIcDZhnCQw) |
67
- | DOCKER | 2026-02-11 | [Docker Finally Makes Sense to Me](https://youtu.be/_wBSiohgy0U) |
68
- | DSA-5 | 2026-10-11 | [5 DSA Patterns That Solve 90% of Coding Problems](https://youtu.be/Y01eR7tUgnc) |
69
- | EXP-10Y | 2026-04-11 | [10+ Years of Software Engineering Experience in 6 Minutes](https://youtu.be/FCokcO7YhzE) |
70
- | FABLE | 2026-11-10 | [Claude Fable 5.2 Is Here- and It’s Fire 🔥](https://youtu.be/WShnPxaPet0) |
71
- | FDE | 2026-10-28 | [Forward Deployment Engineer Roadmap: The AI Job That’s Exploding Right Now](https://youtu.be/A7PBx08b0WU) |
72
- | FORGETS | 2026-08-11 | [Why ChatGPT, Claude and Gemini Forgets Everything???](https://youtu.be/ZBuDOmCCmsI) |
73
- | FRAMEWORKS-2026 | 2026-04-11 | [10 Backend Frameworks That Will Dominate 2026](https://youtu.be/dAeK3Gnikbg) |
74
- | GITHUB | 2026-02-11 | [Every GitHub Concept Explained in 2 Minutes](https://youtu.be/txE9MO7Vwl4) |
75
- | GO-4MIN | 2026-10-11 | [Learn Go in 4 Minutes: The Basics You Actually Need](https://youtu.be/9QPGpDduICw) |
76
- | HARNESS | 2026-09-11 | [Agent Harness Explained in 6 Minutes: The Next Big Thing in AI](https://youtu.be/E4gkCE6_xiQ) |
77
- | HERMES | 2026-09-11 | [Hermes Agent Will Finally Makes Sense After This Video](https://youtu.be/82fYczqpEhQ) |
78
- | HTTP-CODES | 2026-07-11 | [Every HTTP Status Code Explained in 5 Minutes (Don't Build APIs Until You Understand This)](https://youtu.be/BMtEOGe-onM) |
79
- | JAVA-ECO | 2026-10-28 | [The Complete JAVA Ecosystem Explained in 18 Minutes](https://youtu.be/KBkHNI_nRLY) |
80
- | JAVA-INT | 2026-10-11 | [Don't Attend a JAVA Interview Before Watching This Video](https://youtu.be/ySu-7tNmDkw) |
81
- | JENKINS | 2026-07-11 | [What is Jenkins and How it Really Works Behind the Scenes? (Explained Clearly in 4 Minutes)](https://youtu.be/8by7kzVhyDE) |
82
- | JEV | 2026-10-11 | [Jev Explained: How It Really Works Behind The Scenes?](https://youtu.be/0LpMnmblOeI) |
83
- | JS-ECO | 2026-10-21 | [The Complete JavaScript Ecosystem Explained in 20 Minutes](https://youtu.be/yMbUr5op98Y) |
84
- | K8S | 2026-08-11 | [Kubernetes Will Finally Makes Sense After This Video](https://youtu.be/qPEzd63nebA) |
85
- | LANGGRAPH | 2026-09-11 | [LangGraph in 3 Minutes (Explained Clearly)](https://youtu.be/Ym7e0noddpA) |
86
- | LANGS-2026 | 2026-03-11 | [10 Programming Languages That Will Dominate 2026](https://youtu.be/8R7aGRSvKLk) |
87
- | LANGSMITH | 2026-09-11 | [LangSmith in 5 Minutes (Clearly Explained)](https://youtu.be/dNYavjXb1Gk) |
88
- | LAWS | 2026-11-05 | [7 AI Agent Architecture Design Laws of Senior AI Engineers](https://youtu.be/GVq_MQH2CNA) |
89
- | LINUX-10 | 2026-09-11 | [10 Linux Productivity Tools I Can’t Live Without](https://youtu.be/yCl0CWiNAFE) |
90
- | LINUX-CORE | 2026-08-11 | [Every Core LINUX Concepts Explained in 5 Minutes](https://youtu.be/ToS3YSLyjWI) |
91
- | LINUX-DIRS | 2026-08-11 | [LINUX isn't Hard Once You Understand This (File Directories)](https://youtu.be/qvjRcZcW8CY) |
92
- | LLM | 2026-08-11 | [LLM Will Finally Makes Sense After This Video...](https://youtu.be/wYpMi-KjLkc) |
93
- | LM-STUDIO | 2026-09-11 | [LM Studio Will Finally Makes Sense After This Video](https://youtu.be/NzY42zCyNEk) |
94
- | MCP | 2026-08-11 | [MCP Will Finally Makes Sense After This Video](https://youtu.be/9Gn3NewenYA) |
95
- | MCP-TEST | 2026-10-11 | [I Tested 10 MCP Servers. These Are the Ones Worth Using For Local AI](https://youtu.be/7WQ_wfE7fss) |
96
- | MCP-VS-API | 2026-08-11 | [MCP vs API Explained: Do We Still Need API After MCP?](https://youtu.be/7yNvsFrwpp0) |
97
- | NCM | 2026-10-28 | [NCM Just Killed LLM: This Time, It Might Be for Real](https://youtu.be/SMYzc9FMXj0) |
98
- | OLLAMA | 2026-09-11 | [Ollama Explained: Run AI Models Locally for FREE 🤯](https://youtu.be/OMnxvL4bd34) |
99
- | OPEN-MODELS | 2026-09-11 | [$200 Claude and Codex Killers Are Here](https://youtu.be/GeJLiHf1wh8) |
100
- | OPENCLAW | 2026-04-11 | [I Let OpenClaw Control My System… Here’s What Happened](https://youtu.be/IhQqqjzA3QA) |
101
- | OSI | 2026-07-11 | [The Best OSI Model Explanation You'll Ever Find (Animated Explanation)](https://youtu.be/Zb54fXYD9CU) |
102
- | PART-SHARD | 2026-10-28 | [Partition vs Sharding: The Most Confused Topic Finally Makes Sense](https://youtu.be/29napblOuz0) |
103
- | PATTERNS | 2026-10-21 | [10 Backend Design Pattern Laws of Senior Engineers and Architects](https://youtu.be/b4IlyJSIlL0) |
104
- | PICK-DB | 2026-03-11 | [How to Pick the Right Database for Your Project?](https://youtu.be/8rgC5ntNj0c) |
105
- | PICK-MODEL | 2026-06-11 | [How To Choose The Right AI Model For Your Work?](https://youtu.be/CwNWNfZ_LVY) |
106
- | PODMAN | 2026-09-11 | [Docker vs Podman Explained: Do We Still Need Docker?](https://youtu.be/Zvc5QkrWgAU) |
107
- | PROCESSORS | 2026-09-11 | [Every Processing Unit Explained in 7 Minutes (CPU, GPU, TPU, NPU, DPU, QPU)](https://youtu.be/f7WkFZmURPo) |
108
- | PROGRAMMING | 2026-10-21 | [I Wish Someone Explained Programming to Me Like This](https://youtu.be/Nxy_UROEkd4) |
109
- | PROTOCOLS | 2026-08-11 | [12 Network Protocols Every Developer Should Know (Clearly Explained)](https://youtu.be/_5b8CAf6dDc) |
110
- | PY-ECO | 2026-10-11 | [From Code to Execution: Python’s Complete Ecosystem Explained in 12 Minutes](https://youtu.be/iDwVm6r33L0) |
111
- | PY-LAWS | 2026-09-11 | [7 Coding Laws of Senior Python Developers](https://youtu.be/WiDTchJuQf0) |
112
- | RAG-ELI5 | 2026-08-11 | [RAG, Embeddings & Vector Databases Explained Like You're 5 Years Old](https://youtu.be/18Np1pjkE3E) |
113
- | REA | 2026-10-21 | [Reverse Engineer Anything (REA) Explained: The Software Industry Will Never Be the Same](https://youtu.be/gjCBASA-1as) |
114
- | REST-GQL-GRPC | 2026-09-11 | [You Can’t Become a Backend Developer Without Understanding These (REST vs GraphQL vs gRPC)](https://youtu.be/QojX9Nt4G1o) |
115
- | RUST-ECO | 2026-11-06 | [The Complete Rust Ecosystem Explained (Why Rust is the Future)](https://youtu.be/fMWThgQmibw) |
116
- | SCALING | 2026-10-11 | [Vertical vs Horizontal Scaling: The Most Confused Topic Finally Makes Sense](https://youtu.be/o17zk_xZ51Y) |
117
- | SECURE-API | 2026-05-11 | [How to Secure Your API? (10 Critical Mistakes to Avoid)](https://youtu.be/bfp1fu7_BHk) |
118
- | SQL-10 | 2026-10-11 | [10 SQL Features That Can Replace 90% of Your Backend Code](https://youtu.be/hGIqNUXQlBU) |
119
- | SSH | 2026-06-11 | [How SSH Really Works Behind the Scenes? (Explained Clearly in 4 Minutes)](https://youtu.be/XCb4E5B-AZI) |
120
- | SYS-4MIN | 2026-06-11 | [Give Me Just 4 Minutes, I Will Explain System Design Clearly](https://youtu.be/NkO7B2eXdLw) |
121
- | SYS-FINALLY | 2026-02-11 | [System Design Finally Makes Sense to Me](https://youtu.be/G61yZPeneQU) |
122
- | SYSTEMD | 2026-10-11 | [Nobody Explained Linux systemd Like This Before](https://youtu.be/CoNhUCdWcx4) |
123
- | TERRAFORM | 2026-08-11 | [Terraform in 5 Minutes (Explained Clearly)](https://youtu.be/7S9HKPwfxDM) |
124
- | TOP10-AWS | 2026-04-11 | [Top 10 AWS Services Explained in 7 Minutes](https://youtu.be/OgoXhRTrXzk) |
125
- | TRANSFORMERS | 2026-10-11 | [Transformers Explained: The "God" Architecture Behind LLM's](https://youtu.be/A_5XNd7_3to) |
126
- | UNIX-LINUX | 2026-09-11 | [UNIX vs LINUX Explained: The Most Confused Topic Finally Makes Sense](https://youtu.be/LAQywjdmM6U) |
127
- | UUID | 2026-10-11 | [Auto Increment vs UUID: The Most Confused Topic Finally Makes Sense](https://youtu.be/NrqScxAqz44) |
128
- | VECTOR-DB | 2026-09-11 | [Vector Database Will Finally Makes Sense After This](https://youtu.be/-n4DglZ7Afc) |
129
- | WATERMARK | 2026-09-11 | [Claude Can Now Watermark Its Text. But How? (Explained Clearly)](https://youtu.be/vU3QK7kxvAc) |
130
- | WEBMCP | 2026-10-14 | [WebMCP Will Finally Make Sense After This Video](https://youtu.be/wwSeLs0daEc) |
131
- | X-DESIGN | 2026-10-11 | [X (Twitter) System Design Architecture Explained for Absolute Beginners](https://youtu.be/OnhaOGbLP-o) |
@@ -83,6 +83,7 @@ Common split: REST or GraphQL at the edge, gRPC inside.
83
83
  - Composite indexes work left to right. `(last_name, first_name)` serves `last_name` alone or both, never `first_name` alone. (CS-4H)
84
84
  - Partial indexes (`WHERE status = 'pending'`) speed queries on a small hot subset of a big table. (SQL-10)
85
85
  - Run `EXPLAIN` or `EXPLAIN ANALYZE` before shipping a query to confirm the index is used. (CS-4H)
86
+ - Postgres auto-indexes `PRIMARY KEY` and `UNIQUE`, never `REFERENCES` foreign keys: index every child FK column (`orders(customer_id)`) or parent `DELETE`/`UPDATE` locks and sequential-scans the child table, and lead composite indexes with `tenant_id` on pooled RLS tables.
86
87
 
87
88
  ### Transactions and IDs
88
89
 
@@ -91,12 +92,20 @@ Common split: REST or GraphQL at the edge, gRPC inside.
91
92
  - Keep transactions short. Never hold one open across a slow external API call; it pins pool connections and row locks. (JAVA-INT)
92
93
  - One database: sequential integer IDs (4–8 bytes, small indexes). Distributed key generation: UUIDs (16 bytes), preferably time-ordered UUIDv7. (UUID)
93
94
 
95
+ ### Query patterns, pagination & async hot paths
96
+
97
+ - Eliminate N+1 queries (`SELECT` or ORM `.findUnique`/`.get` inside `for`/`while` loops): batch IDs with `WHERE id = ANY($1)`, `JOIN`, or DataLoader, and assert bounded SQL query counts in integration tests.
98
+ - Replace `OFFSET` pagination with keyset/cursor pagination (`WHERE (created_at, id) < ($1, $2) ORDER BY created_at DESC, id DESC LIMIT 50`) so deep pages stay O(log N) instead of scanning skipped rows.
99
+ - Never block an `async` event loop (FastAPI, Node, Tokio) with synchronous I/O (`requests.*`, `time.sleep`, `fs.readFileSync`, `bcrypt.hashSync`), and cap fan-out with `asyncio.Semaphore` / `p-limit` / `errgroup.SetLimit` instead of unbounded `Promise.all(items.map(...))` or serial `await`-in-loop waterfalls.
100
+ - Reuse one process-level connection pool (`replicas * pool_size <= max_connections` or PgBouncer) and set explicit connect + read timeouts on every outbound HTTP/DB client.
101
+
94
102
  ## Caching
95
103
 
96
104
  - Cache-aside: read the cache; on a miss, read the DB, return, and fill the cache. (BACKEND-ECO)
97
105
  - A cache is never durable. A missing key must repopulate cleanly from the system of record. (DB-LAWS)
98
106
  - Every cache has a hard memory cap and an eviction policy. An unbounded cache is a slow memory leak. (CS-4H)
99
107
  - LRU is a hashmap (O(1) lookup) plus a doubly linked list (O(1) move-to-front and tail evict). (CS-4H)
108
+ - Prevent cache stampede (thundering herd) on hot-key expiry with `singleflight` request coalescing, short lease locks, jittered TTLs (`ttl * (0.9 + 0.2 * rand)`), or `stale-while-revalidate`.
100
109
 
101
110
  ## Partitioning and sharding
102
111
 
@@ -111,6 +120,15 @@ Common split: REST or GraphQL at the edge, gRPC inside.
111
120
  - Task queue (RabbitMQ, SQS): competing consumers; a message is gone once acknowledged. Event log (Kafka): durable, partitioned, replayable. (DEVOPS)
112
121
  - Publish domain events (`OrderPlaced`) to a bus so other services react without coupling. (PATTERNS)
113
122
  - Bound every queue or apply backpressure, so a surge cannot exhaust memory. (CS-4H)
123
+ - **Outbound notifications & OS AI summarizers:** schedule engagement notifications relative to the user's last active session (`~23.5 h` offset) with a local quiet-hours ceiling (`<= 22:00`), suppress mobile push while the user is active on desktop, rank by multi-signal context rather than `{name}` templates, and front-load unambiguous factual claims + structured priority metadata so OS-level LLM notification summarizers cannot invert meaning.
124
+
125
+ ## Local-first sync, collaborative state & product surfaces
126
+
127
+ - **Local workspace replica for daily-use tools (Linear pattern):** request-wait-render navigation feels laggy on 8-hour/day tools; keep a normalized local client replica (IndexedDB/SQLite) for `0 ms` reads, apply mutations optimistically, and sync diffs asynchronously via dual persistence/retry queues (fast metadata separate from heavy media blobs) with explicit rollback/retry banners on failure.
128
+ - **Property-granularity sync & actor-scoped undo (Figma/Notion pattern):** resolve concurrent collaborative edits at **property/field granularity** (LWW or CRDT/OT) rather than whole-object locks, preserve all edits in version history, and implement **per-actor `Ctrl/Cmd+Z` undo** (including non-destructive selection state, capped in a bounded ring buffer).
129
+ - **Collapse overlapping flags into one orthogonal primitive:** before adding `pinned`, `starred`, `flagged`, `important`, and `folder` booleans, unify them into one composable tag/label/block primitive plus saved view queries; keep privacy/read-receipt toggles reciprocally symmetric.
130
+ - **End-to-end latency budgets & perceptual algorithms:** decompose interactive AI/voice SLAs into hard per-stage budgets (e.g., `<= 700 ms` release-to-render = `200 ms` ASR + `200 ms` cleanup + `200 ms` RTT + `100 ms` buffer); use perceptual spread shuffling (grouped per-category spacing + `20–30%` jitter + random offset) when uniform Fisher-Yates clumping feels broken to humans.
131
+ - **Tri-modal surface parity:** pair direct-manipulation GUIs (`<= 3` taps) and schema-validated GenUI widgets (for fuzzy middle-complexity queries) with **headless CLI/API/MCP parity** for bulk, administrative, and agentic operations.
114
132
 
115
133
  ## Scaling
116
134
 
@@ -123,7 +141,7 @@ Common split: REST or GraphQL at the edge, gRPC inside.
123
141
 
124
142
  ## Resilience
125
143
 
126
- - Circuit breaker (Resilience4j) around every third-party call. States: closed (normal), open (fail fast with a fallback), half-open (let trial calls through to test recovery). (PATTERNS)
144
+ - Set connect + request timeouts on every outbound call and retry at one layer only with full jitter plus a retry-budget token bucket; add a circuit breaker (Resilience4j — closed, open, half-open) around third-party calls when a degraded fallback exists. (PATTERNS)
127
145
  - Idempotency keys on payments and other mutations. A duplicate retry returns the original response. Principle `make-operations-idempotent`. (BACKEND-INT)
128
146
  - Degrade gracefully: serve cached or partial data rather than failing the whole app. (SYS-FINALLY)
129
147
 
@@ -98,3 +98,10 @@ Afterward, write down cause, fix, and how to recognize it next time.
98
98
  - Fundamentals (databases, networking, git) are what let you judge multi-file agent diffs.
99
99
  - Value moves to problem framing, taste, and owning production outcomes. (AI-ERA)
100
100
  - Reviewing AI-written changes: see `agent-engineering.md`, "Reviewing AI-written code".
101
+
102
+ ## Product craft, ownership & quality cadence
103
+
104
+ - **Single accountable owner:** assign exactly one `owner`/`lead` per issue, project, and initiative so responsibility never diffuses across co-assignees.
105
+ - **Progressive friction over cluttered forms or hard bans:** when an oft-requested field hurts 80% of workflows (e.g., ticket due dates), place it one submenu deeper (hidden until set) rather than cluttering creation forms or deleting it.
106
+ - **Weekly paper-cut cadence & dogfooding:** run a standing weekly quality pass where every engineer ships at least one small UX/latency/bug paper-cut alongside roadmap work; everyday reliability retains users longer than headline features.
107
+ - **Prototype interaction shifts in live code & kill sunk costs:** static mockups hide focus, scroll padding, latency, and diff density; build 3–5 working directions for novel workflows and scrap multi-week prototypes cleanly when dogfooding exposes scannability failure.
@@ -54,3 +54,14 @@ Read when choosing a language or runtime, setting up a project's build, test, or
54
54
  | Ruby | GitHub, Shopify, Basecamp, Airbnb (early) | Startup MVPs, fast iteration, CRUD apps | High-throughput streaming, big data, low-latency finance | Slow CPU, metaprogramming that makes large codebases hard to trace, high memory |
55
55
  | Kotlin | Android (Google's preferred language), JVM backends | Native Android, a modern Java replacement | Systems programming, places that cannot run a JVM | Slower compiles than Java, small ecosystem outside JVM and Android, coroutine debugging |
56
56
  | Swift | iOS, iPadOS, macOS, watchOS, visionOS apps | Apple client apps | Cross-platform web services, non-Apple servers | Weak server adoption, breaking changes in early versions, leaks from strong reference cycles |
57
+
58
+ ## Rust & Windows native traps
59
+
60
+ - **Dev-profile latency tests:** Unoptimized `cargo test` (`opt-level = 0`) runs ~10–15x slower on pixel/vision/DSP loops and breaks tight latency assertions; set `[profile.dev.package.<hot-crate>] opt-level = 2` in workspace `Cargo.toml` or run latency gates in `--release`.
61
+ - **Sandboxed test temp containment:** Cargo sets `CARGO_TARGET_TMPDIR` only for integration tests (`tests/*.rs`), not unit tests (`#[cfg(test)]`). To keep `rustc`, `rustdoc`, linkers, and unit tests inside a sandboxed repo, pin `TMP`/`TEMP`/`TMPDIR` to a tracked `.scratch/tmp` via `.cargo/config.toml` (`[env]` with `relative = true, force = true`). When spawning children from a pinned env, resolve relative `TMP` against the **child's `cwd`** and skip env-removal sentinels.
62
+ - **Cross-platform stubs for OS-heavy workspaces:** Isolate Windows-only drivers (UIA, ConPTY, COM, Win32 capture) behind typed `UnsupportedPlatform` stubs and gate CI with `cargo check --workspace --target x86_64-unknown-linux-gnu` so non-Windows reviewers and CI stay unblocked.
63
+ - **Win32 `JobObject` child-drain before cleanup:** `TerminateJobObject` kills renderer, GPU, and crashpad children asynchronously, leaving profile files locked. Poll `QueryInformationJobObject` (`JobObjectBasicAccountingInformation`) until `ActiveProcesses == 0` before deleting temporary profile or work directories.
64
+ - **Windows `.cmd` shims & loopback `TCP_NODELAY`:** Native binaries calling `Command::new("tool")` miss `.cmd`/`.bat` wrappers unless resolving `PATHEXT` explicitly; invoking `.cmd`/`.bat` shims still routes through `cmd.exe /d /s /c` unless launching the underlying interpreter directly, so prefer stdin or file paths (or direct interpreter invocation) over shell args for prompts/payloads to avoid `cmd.exe` quoting and length traps. Set `TCP_NODELAY` (`set_nodelay(true)`) on Windows loopback control sockets and HTTP/WebSocket probes to avoid Nagle stalls.
65
+ - **Win32 cross-process text, RTL & chrome traps:** `GetWindowTextW` returns stale cached text across processes—query live text via `SendMessageTimeoutW` (`WM_GETTEXTLENGTH`/`WM_GETTEXT` with `SMTO_ABORTIFHUNG`) or UIA. On mirrored RTL windows (`WS_EX_LAYOUTRTL`), `ClientToScreen(0, 0)` maps the right edge; map **both corners** of `GetClientRect` via `MapWindowPoints` and take `min`/`max`. Skip controls centered outside the client rect before `ElementFromPoint`, as title-bar/system-menu rects bleed into client coordinates.
66
+ - **Fast browser version discovery on Windows:** Check sibling `<major>.<minor>.<build>.<patch>` version directories next to the browser binary (`<1ms`) instead of spawning `--version` on a GUI executable.
67
+ - **Win32 PID-reuse guard on lockfiles:** Verify `.pid` lockfiles with `OpenProcess` + `GetExitCodeProcess` (`STILL_ACTIVE`) + `QueryFullProcessImageNameW` so Windows PID recycling does not cause false-positive liveness checks.