@agentikos/omega-os 0.1.0 → 0.19.5

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 (379) hide show
  1. package/README.md +56 -14
  2. package/bootstrap/lib/__pycache__/claude-code-settings.cpython-313.pyc +0 -0
  3. package/bootstrap/lib/__pycache__/llm-clis.cpython-313.pyc +0 -0
  4. package/bootstrap/lib/__pycache__/manifest-helpers.cpython-313.pyc +0 -0
  5. package/bootstrap/lib/claude-code-settings.py +176 -0
  6. package/bootstrap/lib/common.sh +457 -1
  7. package/bootstrap/lib/llm-clis.py +341 -0
  8. package/bootstrap/lib/manifest-helpers.py +384 -0
  9. package/bootstrap/lib/steps.sh +1000 -26
  10. package/bootstrap/manifest.example.yaml +93 -2
  11. package/bootstrap/templates/aisb/CLAUDE.md +305 -0
  12. package/bootstrap/templates/aisb/architect.md +204 -0
  13. package/bootstrap/templates/aisb/checkers/CLAUDE.md +9 -0
  14. package/bootstrap/templates/aisb/checkers/checker-architect.md +151 -0
  15. package/bootstrap/templates/aisb/checkers/checker-common.md +171 -0
  16. package/bootstrap/templates/aisb/checkers/checker-construct.md +129 -0
  17. package/bootstrap/templates/aisb/checkers/checker-keymaker.md +204 -0
  18. package/bootstrap/templates/aisb/checkers/checker-link.md +205 -0
  19. package/bootstrap/templates/aisb/checkers/checker-merovingian.md +219 -0
  20. package/bootstrap/templates/aisb/checkers/checker-morpheus.md +211 -0
  21. package/bootstrap/templates/aisb/checkers/checker-neo.md +177 -0
  22. package/bootstrap/templates/aisb/checkers/checker-niobe.md +156 -0
  23. package/bootstrap/templates/aisb/checkers/checker-oracle.md +164 -0
  24. package/bootstrap/templates/aisb/checkers/checker-seraph.md +187 -0
  25. package/bootstrap/templates/aisb/checkers/checker-smith.md +195 -0
  26. package/bootstrap/templates/aisb/checkers/checker-zion.md +113 -0
  27. package/bootstrap/templates/aisb/construct.md +135 -0
  28. package/bootstrap/templates/aisb/keymaker.md +227 -0
  29. package/bootstrap/templates/aisb/link.md +170 -0
  30. package/bootstrap/templates/aisb/lmc-protocol.md +57 -0
  31. package/bootstrap/templates/aisb/merovingian.md +159 -0
  32. package/bootstrap/templates/aisb/morpheus.md +243 -0
  33. package/bootstrap/templates/aisb/neo.md +147 -0
  34. package/bootstrap/templates/aisb/niobe.md +197 -0
  35. package/bootstrap/templates/aisb/oracle.md +244 -0
  36. package/bootstrap/templates/aisb/protocols/handoff-templates.md +204 -0
  37. package/bootstrap/templates/aisb/protocols/shared-protocol.md +248 -0
  38. package/bootstrap/templates/aisb/pythia.md +153 -0
  39. package/bootstrap/templates/aisb/seraph.md +315 -0
  40. package/bootstrap/templates/aisb/smith.md +202 -0
  41. package/bootstrap/templates/aisb/zion.md +172 -0
  42. package/bootstrap/templates/autonomous/audit-patrol.yaml +41 -0
  43. package/bootstrap/templates/autonomous/smith-reflect.yaml +43 -0
  44. package/bootstrap/templates/autonomous/ssh-key-rotate.yaml +46 -0
  45. package/bootstrap/templates/autonomous/support-agent.yaml +38 -0
  46. package/docs/AUDITS.md +85 -0
  47. package/docs/COMPLETION-PLAN.md +48 -0
  48. package/docs/GAP-ANALYSIS.md +214 -0
  49. package/docs/INSTALL.md +47 -9
  50. package/docs/MCP-AND-PLUGINS.md +31 -4
  51. package/docs/SIMULATION.md +171 -0
  52. package/docs/simulate.sh +211 -0
  53. package/install.sh +164 -17
  54. package/omega/Agentik_Engine/README.md +27 -10
  55. package/omega/Agentik_Engine/omega_engine/__init__.py +212 -2
  56. package/omega/Agentik_Engine/omega_engine/__pycache__/__init__.cpython-313.pyc +0 -0
  57. package/omega/Agentik_Engine/omega_engine/__pycache__/account.cpython-313.pyc +0 -0
  58. package/omega/Agentik_Engine/omega_engine/__pycache__/agent_messages.cpython-313.pyc +0 -0
  59. package/omega/Agentik_Engine/omega_engine/__pycache__/aisb_chat.cpython-313.pyc +0 -0
  60. package/omega/Agentik_Engine/omega_engine/__pycache__/audit_diff.cpython-313.pyc +0 -0
  61. package/omega/Agentik_Engine/omega_engine/__pycache__/audit_gate.cpython-313.pyc +0 -0
  62. package/omega/Agentik_Engine/omega_engine/__pycache__/auto_update.cpython-313.pyc +0 -0
  63. package/omega/Agentik_Engine/omega_engine/__pycache__/autonomous.cpython-313.pyc +0 -0
  64. package/omega/Agentik_Engine/omega_engine/__pycache__/backup.cpython-313.pyc +0 -0
  65. package/omega/Agentik_Engine/omega_engine/__pycache__/cadence.cpython-313.pyc +0 -0
  66. package/omega/Agentik_Engine/omega_engine/__pycache__/classifier.cpython-313.pyc +0 -0
  67. package/omega/Agentik_Engine/omega_engine/__pycache__/cleanup.cpython-313.pyc +0 -0
  68. package/omega/Agentik_Engine/omega_engine/__pycache__/cli.cpython-313.pyc +0 -0
  69. package/omega/Agentik_Engine/omega_engine/__pycache__/completions.cpython-313.pyc +0 -0
  70. package/omega/Agentik_Engine/omega_engine/__pycache__/costs.cpython-313.pyc +0 -0
  71. package/omega/Agentik_Engine/omega_engine/__pycache__/done_signal.cpython-313.pyc +0 -0
  72. package/omega/Agentik_Engine/omega_engine/__pycache__/envelope.cpython-313.pyc +0 -0
  73. package/omega/Agentik_Engine/omega_engine/__pycache__/executor.cpython-313.pyc +0 -0
  74. package/omega/Agentik_Engine/omega_engine/__pycache__/handoff.cpython-313.pyc +0 -0
  75. package/omega/Agentik_Engine/omega_engine/__pycache__/hermes.cpython-313.pyc +0 -0
  76. package/omega/Agentik_Engine/omega_engine/__pycache__/hermes_bootstrap.cpython-313.pyc +0 -0
  77. package/omega/Agentik_Engine/omega_engine/__pycache__/hermes_desktop.cpython-313.pyc +0 -0
  78. package/omega/Agentik_Engine/omega_engine/__pycache__/learning.cpython-313.pyc +0 -0
  79. package/omega/Agentik_Engine/omega_engine/__pycache__/managed_agent.cpython-313.pyc +0 -0
  80. package/omega/Agentik_Engine/omega_engine/__pycache__/memory.cpython-313.pyc +0 -0
  81. package/omega/Agentik_Engine/omega_engine/__pycache__/menu.cpython-313.pyc +0 -0
  82. package/omega/Agentik_Engine/omega_engine/__pycache__/mission.cpython-313.pyc +0 -0
  83. package/omega/Agentik_Engine/omega_engine/__pycache__/plan.cpython-313.pyc +0 -0
  84. package/omega/Agentik_Engine/omega_engine/__pycache__/project.cpython-313.pyc +0 -0
  85. package/omega/Agentik_Engine/omega_engine/__pycache__/prompts.cpython-313.pyc +0 -0
  86. package/omega/Agentik_Engine/omega_engine/__pycache__/provider.cpython-313.pyc +0 -0
  87. package/omega/Agentik_Engine/omega_engine/__pycache__/prune.cpython-313.pyc +0 -0
  88. package/omega/Agentik_Engine/omega_engine/__pycache__/pursue.cpython-313.pyc +0 -0
  89. package/omega/Agentik_Engine/omega_engine/__pycache__/reducer.cpython-313.pyc +0 -0
  90. package/omega/Agentik_Engine/omega_engine/__pycache__/router.cpython-313.pyc +0 -0
  91. package/omega/Agentik_Engine/omega_engine/__pycache__/skill_routing.cpython-313.pyc +0 -0
  92. package/omega/Agentik_Engine/omega_engine/__pycache__/smoke.cpython-313.pyc +0 -0
  93. package/omega/Agentik_Engine/omega_engine/__pycache__/store.cpython-313.pyc +0 -0
  94. package/omega/Agentik_Engine/omega_engine/__pycache__/sync.cpython-313.pyc +0 -0
  95. package/omega/Agentik_Engine/omega_engine/__pycache__/telegram_history.cpython-313.pyc +0 -0
  96. package/omega/Agentik_Engine/omega_engine/__pycache__/tmux.cpython-313.pyc +0 -0
  97. package/omega/Agentik_Engine/omega_engine/__pycache__/tools.cpython-313.pyc +0 -0
  98. package/omega/Agentik_Engine/omega_engine/__pycache__/understand_anything.cpython-313.pyc +0 -0
  99. package/omega/Agentik_Engine/omega_engine/__pycache__/updater.cpython-313.pyc +0 -0
  100. package/omega/Agentik_Engine/omega_engine/__pycache__/validate.cpython-313.pyc +0 -0
  101. package/omega/Agentik_Engine/omega_engine/__pycache__/vault.cpython-313.pyc +0 -0
  102. package/omega/Agentik_Engine/omega_engine/__pycache__/webhooks.cpython-313.pyc +0 -0
  103. package/omega/Agentik_Engine/omega_engine/__pycache__/worker.cpython-313.pyc +0 -0
  104. package/omega/Agentik_Engine/omega_engine/account.py +502 -0
  105. package/omega/Agentik_Engine/omega_engine/agent_messages.py +167 -0
  106. package/omega/Agentik_Engine/omega_engine/aisb_chat.py +128 -0
  107. package/omega/Agentik_Engine/omega_engine/audit_diff.py +99 -0
  108. package/omega/Agentik_Engine/omega_engine/audit_gate.py +149 -0
  109. package/omega/Agentik_Engine/omega_engine/audits/__init__.py +60 -0
  110. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/__init__.cpython-313.pyc +0 -0
  111. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/batcher.cpython-313.pyc +0 -0
  112. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/dispatcher.cpython-313.pyc +0 -0
  113. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/generator.cpython-313.pyc +0 -0
  114. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/history.cpython-313.pyc +0 -0
  115. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/pipeline.cpython-313.pyc +0 -0
  116. package/omega/Agentik_Engine/omega_engine/audits/batcher.py +218 -0
  117. package/omega/Agentik_Engine/omega_engine/audits/dispatcher.py +92 -0
  118. package/omega/Agentik_Engine/omega_engine/audits/generator.py +234 -0
  119. package/omega/Agentik_Engine/omega_engine/audits/history.py +168 -0
  120. package/omega/Agentik_Engine/omega_engine/audits/pipeline.py +198 -0
  121. package/omega/Agentik_Engine/omega_engine/auto_update.py +339 -0
  122. package/omega/Agentik_Engine/omega_engine/autonomous.py +538 -0
  123. package/omega/Agentik_Engine/omega_engine/backup.py +215 -0
  124. package/omega/Agentik_Engine/omega_engine/cadence.py +158 -0
  125. package/omega/Agentik_Engine/omega_engine/classifier.py +215 -0
  126. package/omega/Agentik_Engine/omega_engine/cleanup.py +673 -0
  127. package/omega/Agentik_Engine/omega_engine/cli.py +4564 -56
  128. package/omega/Agentik_Engine/omega_engine/completions.py +260 -0
  129. package/omega/Agentik_Engine/omega_engine/costs.py +100 -0
  130. package/omega/Agentik_Engine/omega_engine/daemons/__init__.py +14 -0
  131. package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/__init__.cpython-313.pyc +0 -0
  132. package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/autonomous.cpython-313.pyc +0 -0
  133. package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/engine.cpython-313.pyc +0 -0
  134. package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/telegram.cpython-313.pyc +0 -0
  135. package/omega/Agentik_Engine/omega_engine/daemons/autonomous.py +56 -0
  136. package/omega/Agentik_Engine/omega_engine/daemons/engine.py +236 -0
  137. package/omega/Agentik_Engine/omega_engine/daemons/telegram.py +315 -0
  138. package/omega/Agentik_Engine/omega_engine/done_signal.py +154 -0
  139. package/omega/Agentik_Engine/omega_engine/educators/__init__.py +51 -0
  140. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/__init__.cpython-313.pyc +0 -0
  141. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/artifact.cpython-313.pyc +0 -0
  142. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/automation.cpython-313.pyc +0 -0
  143. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/base.cpython-313.pyc +0 -0
  144. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/claudecode.cpython-313.pyc +0 -0
  145. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/connection.cpython-313.pyc +0 -0
  146. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/coworker.cpython-313.pyc +0 -0
  147. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/loop.cpython-313.pyc +0 -0
  148. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/prompt.cpython-313.pyc +0 -0
  149. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/skill.cpython-313.pyc +0 -0
  150. package/omega/Agentik_Engine/omega_engine/educators/artifact.py +65 -0
  151. package/omega/Agentik_Engine/omega_engine/educators/automation.py +76 -0
  152. package/omega/Agentik_Engine/omega_engine/educators/base.py +327 -0
  153. package/omega/Agentik_Engine/omega_engine/educators/claudecode.py +71 -0
  154. package/omega/Agentik_Engine/omega_engine/educators/connection.py +75 -0
  155. package/omega/Agentik_Engine/omega_engine/educators/coworker.py +68 -0
  156. package/omega/Agentik_Engine/omega_engine/educators/loop.py +82 -0
  157. package/omega/Agentik_Engine/omega_engine/educators/prompt.py +68 -0
  158. package/omega/Agentik_Engine/omega_engine/educators/skill.py +69 -0
  159. package/omega/Agentik_Engine/omega_engine/envelope.py +219 -0
  160. package/omega/Agentik_Engine/omega_engine/executor.py +195 -16
  161. package/omega/Agentik_Engine/omega_engine/genesis/__init__.py +134 -0
  162. package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/__init__.cpython-313.pyc +0 -0
  163. package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/orchestrator.cpython-313.pyc +0 -0
  164. package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/phases.cpython-313.pyc +0 -0
  165. package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/stack.cpython-313.pyc +0 -0
  166. package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/state.cpython-313.pyc +0 -0
  167. package/omega/Agentik_Engine/omega_engine/genesis/orchestrator.py +262 -0
  168. package/omega/Agentik_Engine/omega_engine/genesis/phases.py +950 -0
  169. package/omega/Agentik_Engine/omega_engine/genesis/stack.py +324 -0
  170. package/omega/Agentik_Engine/omega_engine/genesis/state.py +353 -0
  171. package/omega/Agentik_Engine/omega_engine/handoff.py +459 -0
  172. package/omega/Agentik_Engine/omega_engine/hermes.py +426 -0
  173. package/omega/Agentik_Engine/omega_engine/hermes_bootstrap.py +382 -0
  174. package/omega/Agentik_Engine/omega_engine/hermes_desktop.py +469 -0
  175. package/omega/Agentik_Engine/omega_engine/integrations/__init__.py +30 -0
  176. package/omega/Agentik_Engine/omega_engine/integrations/__pycache__/__init__.cpython-313.pyc +0 -0
  177. package/omega/Agentik_Engine/omega_engine/integrations/__pycache__/graphify.cpython-313.pyc +0 -0
  178. package/omega/Agentik_Engine/omega_engine/integrations/graphify.py +234 -0
  179. package/omega/Agentik_Engine/omega_engine/learning.py +268 -0
  180. package/omega/Agentik_Engine/omega_engine/managed_agent.py +467 -0
  181. package/omega/Agentik_Engine/omega_engine/memory.py +271 -0
  182. package/omega/Agentik_Engine/omega_engine/menu.py +1065 -0
  183. package/omega/Agentik_Engine/omega_engine/migrations/__init__.py +144 -0
  184. package/omega/Agentik_Engine/omega_engine/migrations/__pycache__/__init__.cpython-313.pyc +0 -0
  185. package/omega/Agentik_Engine/omega_engine/migrations/__pycache__/v0_14_0.cpython-313.pyc +0 -0
  186. package/omega/Agentik_Engine/omega_engine/migrations/v0_14_0.py +29 -0
  187. package/omega/Agentik_Engine/omega_engine/mission.py +29 -14
  188. package/omega/Agentik_Engine/omega_engine/plan.py +846 -0
  189. package/omega/Agentik_Engine/omega_engine/prompts.py +158 -0
  190. package/omega/Agentik_Engine/omega_engine/provider.py +408 -13
  191. package/omega/Agentik_Engine/omega_engine/prune.py +151 -0
  192. package/omega/Agentik_Engine/omega_engine/pursue.py +205 -0
  193. package/omega/Agentik_Engine/omega_engine/rag/__init__.py +21 -0
  194. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/__init__.cpython-313.pyc +0 -0
  195. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/agentic.cpython-313.pyc +0 -0
  196. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/base.cpython-313.pyc +0 -0
  197. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/corrective.cpython-313.pyc +0 -0
  198. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/graph.cpython-313.pyc +0 -0
  199. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/hybrid.cpython-313.pyc +0 -0
  200. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/multimodal.cpython-313.pyc +0 -0
  201. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/router.cpython-313.pyc +0 -0
  202. package/omega/Agentik_Engine/omega_engine/rag/agentic.py +83 -0
  203. package/omega/Agentik_Engine/omega_engine/rag/base.py +42 -0
  204. package/omega/Agentik_Engine/omega_engine/rag/corrective.py +119 -0
  205. package/omega/Agentik_Engine/omega_engine/rag/graph.py +169 -0
  206. package/omega/Agentik_Engine/omega_engine/rag/hybrid.py +205 -0
  207. package/omega/Agentik_Engine/omega_engine/rag/multimodal.py +136 -0
  208. package/omega/Agentik_Engine/omega_engine/rag/router.py +110 -0
  209. package/omega/Agentik_Engine/omega_engine/reducer.py +21 -3
  210. package/omega/Agentik_Engine/omega_engine/router.py +28 -0
  211. package/omega/Agentik_Engine/omega_engine/skill_discovery/__init__.py +48 -0
  212. package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/__init__.cpython-313.pyc +0 -0
  213. package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/auditor.cpython-313.pyc +0 -0
  214. package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/finder.cpython-313.pyc +0 -0
  215. package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/installer.cpython-313.pyc +0 -0
  216. package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/marketplaces.cpython-313.pyc +0 -0
  217. package/omega/Agentik_Engine/omega_engine/skill_discovery/auditor.py +232 -0
  218. package/omega/Agentik_Engine/omega_engine/skill_discovery/finder.py +94 -0
  219. package/omega/Agentik_Engine/omega_engine/skill_discovery/installer.py +129 -0
  220. package/omega/Agentik_Engine/omega_engine/skill_discovery/marketplaces.py +80 -0
  221. package/omega/Agentik_Engine/omega_engine/skill_routing.py +388 -0
  222. package/omega/Agentik_Engine/omega_engine/smoke.py +81 -0
  223. package/omega/Agentik_Engine/omega_engine/store.py +132 -25
  224. package/omega/Agentik_Engine/omega_engine/sync.py +445 -0
  225. package/omega/Agentik_Engine/omega_engine/telegram_history.py +260 -0
  226. package/omega/Agentik_Engine/omega_engine/tmux.py +526 -0
  227. package/omega/Agentik_Engine/omega_engine/tools.py +272 -0
  228. package/omega/Agentik_Engine/omega_engine/understand_anything.py +275 -0
  229. package/omega/Agentik_Engine/omega_engine/updater.py +70 -0
  230. package/omega/Agentik_Engine/omega_engine/validate.py +186 -0
  231. package/omega/Agentik_Engine/omega_engine/vault.py +342 -0
  232. package/omega/Agentik_Engine/omega_engine/webhooks.py +262 -0
  233. package/omega/Agentik_Engine/omega_engine/worker.py +526 -0
  234. package/omega/Agentik_Engine/pyproject.toml +1 -1
  235. package/omega/Agentik_Engine/tests/__pycache__/test_account.cpython-313-pytest-8.4.2.pyc +0 -0
  236. package/omega/Agentik_Engine/tests/__pycache__/test_account.cpython-313.pyc +0 -0
  237. package/omega/Agentik_Engine/tests/__pycache__/test_adversarial.cpython-313-pytest-8.4.2.pyc +0 -0
  238. package/omega/Agentik_Engine/tests/__pycache__/test_adversarial.cpython-313.pyc +0 -0
  239. package/omega/Agentik_Engine/tests/__pycache__/test_agents_envelope.cpython-313-pytest-8.4.2.pyc +0 -0
  240. package/omega/Agentik_Engine/tests/__pycache__/test_agents_envelope.cpython-313.pyc +0 -0
  241. package/omega/Agentik_Engine/tests/__pycache__/test_audit_arsenal.cpython-313-pytest-8.4.2.pyc +0 -0
  242. package/omega/Agentik_Engine/tests/__pycache__/test_audits_pipeline.cpython-313-pytest-8.4.2.pyc +0 -0
  243. package/omega/Agentik_Engine/tests/__pycache__/test_audits_pipeline.cpython-313.pyc +0 -0
  244. package/omega/Agentik_Engine/tests/__pycache__/test_auto_update_and_migrations.cpython-313-pytest-8.4.2.pyc +0 -0
  245. package/omega/Agentik_Engine/tests/__pycache__/test_auto_update_and_migrations.cpython-313.pyc +0 -0
  246. package/omega/Agentik_Engine/tests/__pycache__/test_autonomous.cpython-313-pytest-8.4.2.pyc +0 -0
  247. package/omega/Agentik_Engine/tests/__pycache__/test_autonomous.cpython-313.pyc +0 -0
  248. package/omega/Agentik_Engine/tests/__pycache__/test_educators.cpython-313-pytest-8.4.2.pyc +0 -0
  249. package/omega/Agentik_Engine/tests/__pycache__/test_educators.cpython-313.pyc +0 -0
  250. package/omega/Agentik_Engine/tests/__pycache__/test_executor.cpython-313-pytest-8.4.2.pyc +0 -0
  251. package/omega/Agentik_Engine/tests/__pycache__/test_genesis_and_plan.cpython-313-pytest-8.4.2.pyc +0 -0
  252. package/omega/Agentik_Engine/tests/__pycache__/test_genesis_and_plan.cpython-313.pyc +0 -0
  253. package/omega/Agentik_Engine/tests/__pycache__/test_graphify.cpython-313-pytest-8.4.2.pyc +0 -0
  254. package/omega/Agentik_Engine/tests/__pycache__/test_graphify.cpython-313.pyc +0 -0
  255. package/omega/Agentik_Engine/tests/__pycache__/test_handoff.cpython-313-pytest-8.4.2.pyc +0 -0
  256. package/omega/Agentik_Engine/tests/__pycache__/test_handoff.cpython-313.pyc +0 -0
  257. package/omega/Agentik_Engine/tests/__pycache__/test_hermes_and_ua.cpython-313-pytest-8.4.2.pyc +0 -0
  258. package/omega/Agentik_Engine/tests/__pycache__/test_hermes_and_ua.cpython-313.pyc +0 -0
  259. package/omega/Agentik_Engine/tests/__pycache__/test_hermes_bootstrap_and_desktop.cpython-313-pytest-8.4.2.pyc +0 -0
  260. package/omega/Agentik_Engine/tests/__pycache__/test_hermes_bootstrap_and_desktop.cpython-313.pyc +0 -0
  261. package/omega/Agentik_Engine/tests/__pycache__/test_install_steps.cpython-313-pytest-8.4.2.pyc +0 -0
  262. package/omega/Agentik_Engine/tests/__pycache__/test_install_steps.cpython-313.pyc +0 -0
  263. package/omega/Agentik_Engine/tests/__pycache__/test_install_ux.cpython-313-pytest-8.4.2.pyc +0 -0
  264. package/omega/Agentik_Engine/tests/__pycache__/test_install_ux.cpython-313.pyc +0 -0
  265. package/omega/Agentik_Engine/tests/__pycache__/test_installer_wiring.cpython-313-pytest-8.4.2.pyc +0 -0
  266. package/omega/Agentik_Engine/tests/__pycache__/test_installer_wiring.cpython-313.pyc +0 -0
  267. package/omega/Agentik_Engine/tests/__pycache__/test_intelligence.cpython-313-pytest-8.4.2.pyc +0 -0
  268. package/omega/Agentik_Engine/tests/__pycache__/test_intelligence.cpython-313.pyc +0 -0
  269. package/omega/Agentik_Engine/tests/__pycache__/test_llm_clis_and_uninstall.cpython-313-pytest-8.4.2.pyc +0 -0
  270. package/omega/Agentik_Engine/tests/__pycache__/test_llm_clis_and_uninstall.cpython-313.pyc +0 -0
  271. package/omega/Agentik_Engine/tests/__pycache__/test_managed_agent.cpython-313-pytest-8.4.2.pyc +0 -0
  272. package/omega/Agentik_Engine/tests/__pycache__/test_managed_agent.cpython-313.pyc +0 -0
  273. package/omega/Agentik_Engine/tests/__pycache__/test_max_provider_and_menu.cpython-313-pytest-8.4.2.pyc +0 -0
  274. package/omega/Agentik_Engine/tests/__pycache__/test_max_provider_and_menu.cpython-313.pyc +0 -0
  275. package/omega/Agentik_Engine/tests/__pycache__/test_menu_coverage.cpython-313-pytest-8.4.2.pyc +0 -0
  276. package/omega/Agentik_Engine/tests/__pycache__/test_menu_coverage.cpython-313.pyc +0 -0
  277. package/omega/Agentik_Engine/tests/__pycache__/test_mission.cpython-313-pytest-8.4.2.pyc +0 -0
  278. package/omega/Agentik_Engine/tests/__pycache__/test_progress.cpython-313-pytest-8.4.2.pyc +0 -0
  279. package/omega/Agentik_Engine/tests/__pycache__/test_project.cpython-313-pytest-8.4.2.pyc +0 -0
  280. package/omega/Agentik_Engine/tests/__pycache__/test_pursue_cadence.cpython-313-pytest-8.4.2.pyc +0 -0
  281. package/omega/Agentik_Engine/tests/__pycache__/test_pursue_cadence.cpython-313.pyc +0 -0
  282. package/omega/Agentik_Engine/tests/__pycache__/test_rag.cpython-313-pytest-8.4.2.pyc +0 -0
  283. package/omega/Agentik_Engine/tests/__pycache__/test_rag.cpython-313.pyc +0 -0
  284. package/omega/Agentik_Engine/tests/__pycache__/test_reducer.cpython-313-pytest-8.4.2.pyc +0 -0
  285. package/omega/Agentik_Engine/tests/__pycache__/test_report.cpython-313-pytest-8.4.2.pyc +0 -0
  286. package/omega/Agentik_Engine/tests/__pycache__/test_role_aliases_and_ssot.cpython-313-pytest-8.4.2.pyc +0 -0
  287. package/omega/Agentik_Engine/tests/__pycache__/test_role_aliases_and_ssot.cpython-313.pyc +0 -0
  288. package/omega/Agentik_Engine/tests/__pycache__/test_skill_discovery_and_gate.cpython-313-pytest-8.4.2.pyc +0 -0
  289. package/omega/Agentik_Engine/tests/__pycache__/test_skill_discovery_and_gate.cpython-313.pyc +0 -0
  290. package/omega/Agentik_Engine/tests/__pycache__/test_skill_power.cpython-313-pytest-8.4.2.pyc +0 -0
  291. package/omega/Agentik_Engine/tests/__pycache__/test_skill_power.cpython-313.pyc +0 -0
  292. package/omega/Agentik_Engine/tests/__pycache__/test_skill_routing.cpython-313-pytest-8.4.2.pyc +0 -0
  293. package/omega/Agentik_Engine/tests/__pycache__/test_skill_routing.cpython-313.pyc +0 -0
  294. package/omega/Agentik_Engine/tests/__pycache__/test_snapshot_partial.cpython-313-pytest-8.4.2.pyc +0 -0
  295. package/omega/Agentik_Engine/tests/__pycache__/test_snapshot_partial.cpython-313.pyc +0 -0
  296. package/omega/Agentik_Engine/tests/__pycache__/test_telegram_history.cpython-313-pytest-8.4.2.pyc +0 -0
  297. package/omega/Agentik_Engine/tests/__pycache__/test_telegram_history.cpython-313.pyc +0 -0
  298. package/omega/Agentik_Engine/tests/__pycache__/test_tmux_and_aisb_chat.cpython-313-pytest-8.4.2.pyc +0 -0
  299. package/omega/Agentik_Engine/tests/__pycache__/test_tmux_and_aisb_chat.cpython-313.pyc +0 -0
  300. package/omega/Agentik_Engine/tests/__pycache__/test_tools_and_sync.cpython-313-pytest-8.4.2.pyc +0 -0
  301. package/omega/Agentik_Engine/tests/__pycache__/test_tools_and_sync.cpython-313.pyc +0 -0
  302. package/omega/Agentik_Engine/tests/__pycache__/test_v06_features.cpython-313-pytest-8.4.2.pyc +0 -0
  303. package/omega/Agentik_Engine/tests/__pycache__/test_v06_features.cpython-313.pyc +0 -0
  304. package/omega/Agentik_Engine/tests/__pycache__/test_vault.cpython-313-pytest-8.4.2.pyc +0 -0
  305. package/omega/Agentik_Engine/tests/__pycache__/test_vault.cpython-313.pyc +0 -0
  306. package/omega/Agentik_Engine/tests/__pycache__/test_webhooks_and_readiness.cpython-313-pytest-8.4.2.pyc +0 -0
  307. package/omega/Agentik_Engine/tests/__pycache__/test_webhooks_and_readiness.cpython-313.pyc +0 -0
  308. package/omega/Agentik_Engine/tests/__pycache__/test_worker_and_cleanup.cpython-313-pytest-8.4.2.pyc +0 -0
  309. package/omega/Agentik_Engine/tests/__pycache__/test_worker_and_cleanup.cpython-313.pyc +0 -0
  310. package/omega/Agentik_Engine/tests/test_account.py +338 -0
  311. package/omega/Agentik_Engine/tests/test_adversarial.py +351 -0
  312. package/omega/Agentik_Engine/tests/test_agents_envelope.py +274 -0
  313. package/omega/Agentik_Engine/tests/test_audits_pipeline.py +348 -0
  314. package/omega/Agentik_Engine/tests/test_auto_update_and_migrations.py +394 -0
  315. package/omega/Agentik_Engine/tests/test_autonomous.py +361 -0
  316. package/omega/Agentik_Engine/tests/test_educators.py +233 -0
  317. package/omega/Agentik_Engine/tests/test_genesis_and_plan.py +573 -0
  318. package/omega/Agentik_Engine/tests/test_graphify.py +190 -0
  319. package/omega/Agentik_Engine/tests/test_handoff.py +311 -0
  320. package/omega/Agentik_Engine/tests/test_hermes_and_ua.py +387 -0
  321. package/omega/Agentik_Engine/tests/test_hermes_bootstrap_and_desktop.py +358 -0
  322. package/omega/Agentik_Engine/tests/test_install_steps.py +359 -0
  323. package/omega/Agentik_Engine/tests/test_install_ux.py +151 -0
  324. package/omega/Agentik_Engine/tests/test_installer_wiring.py +496 -0
  325. package/omega/Agentik_Engine/tests/test_intelligence.py +285 -0
  326. package/omega/Agentik_Engine/tests/test_llm_clis_and_uninstall.py +228 -0
  327. package/omega/Agentik_Engine/tests/test_managed_agent.py +363 -0
  328. package/omega/Agentik_Engine/tests/test_max_provider_and_menu.py +231 -0
  329. package/omega/Agentik_Engine/tests/test_menu_coverage.py +72 -0
  330. package/omega/Agentik_Engine/tests/test_pursue_cadence.py +217 -0
  331. package/omega/Agentik_Engine/tests/test_rag.py +287 -0
  332. package/omega/Agentik_Engine/tests/test_role_aliases_and_ssot.py +207 -0
  333. package/omega/Agentik_Engine/tests/test_skill_discovery_and_gate.py +337 -0
  334. package/omega/Agentik_Engine/tests/test_skill_power.py +259 -0
  335. package/omega/Agentik_Engine/tests/test_skill_routing.py +189 -0
  336. package/omega/Agentik_Engine/tests/test_snapshot_partial.py +172 -0
  337. package/omega/Agentik_Engine/tests/test_telegram_history.py +209 -0
  338. package/omega/Agentik_Engine/tests/test_tmux_and_aisb_chat.py +223 -0
  339. package/omega/Agentik_Engine/tests/test_tools_and_sync.py +312 -0
  340. package/omega/Agentik_Engine/tests/test_v06_features.py +370 -0
  341. package/omega/Agentik_Engine/tests/test_vault.py +173 -0
  342. package/omega/Agentik_Engine/tests/test_webhooks_and_readiness.py +277 -0
  343. package/omega/Agentik_Engine/tests/test_worker_and_cleanup.py +541 -0
  344. package/omega/Agentik_Extra/etc/secrets/.vault-key +3 -0
  345. package/omega/Agentik_Extra/etc/secrets/.vault-pub +1 -0
  346. package/omega/Agentik_Runtime/audits.db +0 -0
  347. package/omega/Agentik_SSOT/VERSION +1 -1
  348. package/omega/Agentik_SSOT/claude-plugins/claude-plugins.yaml +100 -0
  349. package/omega/Agentik_SSOT/docs/LAYERS.md +90 -0
  350. package/omega/Agentik_SSOT/docs/USER-JOURNEY.md +283 -0
  351. package/omega/Agentik_SSOT/marketplaces/design-discipline.yaml +86 -0
  352. package/omega/Agentik_SSOT/skills/a11yaudit/SKILL.md +161 -0
  353. package/omega/Agentik_SSOT/skills/apiaudit/SKILL.md +157 -0
  354. package/omega/Agentik_SSOT/skills/automationaudit/SKILL.md +161 -0
  355. package/omega/Agentik_SSOT/skills/cadence/SKILL.md +76 -0
  356. package/omega/Agentik_SSOT/skills/codeaudit/SKILL.md +153 -0
  357. package/omega/Agentik_SSOT/skills/copyaudit/SKILL.md +161 -0
  358. package/omega/Agentik_SSOT/skills/dataaudit/SKILL.md +157 -0
  359. package/omega/Agentik_SSOT/skills/debugaudit/SKILL.md +161 -0
  360. package/omega/Agentik_SSOT/skills/dispatch/SKILL.md +79 -0
  361. package/omega/Agentik_SSOT/skills/dxaudit/SKILL.md +161 -0
  362. package/omega/Agentik_SSOT/skills/featureaudit/SKILL.md +161 -0
  363. package/omega/Agentik_SSOT/skills/flowaudit/SKILL.md +165 -0
  364. package/omega/Agentik_SSOT/skills/genesis/SKILL.md +116 -0
  365. package/omega/Agentik_SSOT/skills/handoff/SKILL.md +117 -0
  366. package/omega/Agentik_SSOT/skills/logicaudit/SKILL.md +165 -0
  367. package/omega/Agentik_SSOT/skills/motionaudit/SKILL.md +165 -0
  368. package/omega/Agentik_SSOT/skills/perfaudit/SKILL.md +161 -0
  369. package/omega/Agentik_SSOT/skills/plan/SKILL.md +127 -0
  370. package/omega/Agentik_SSOT/skills/pursue/SKILL.md +68 -0
  371. package/omega/Agentik_SSOT/skills/rag-route.md +82 -0
  372. package/omega/Agentik_SSOT/skills/refontaudit/SKILL.md +165 -0
  373. package/omega/Agentik_SSOT/skills/retentionaudit/SKILL.md +165 -0
  374. package/omega/Agentik_SSOT/skills/secaudit/SKILL.md +157 -0
  375. package/omega/Agentik_SSOT/skills/seoaudit/SKILL.md +161 -0
  376. package/omega/Agentik_SSOT/skills/skill-auditor/SKILL.md +83 -0
  377. package/omega/Agentik_SSOT/skills/skill-finder/SKILL.md +116 -0
  378. package/omega/Agentik_SSOT/skills/uiuxaudit/SKILL.md +165 -0
  379. package/package.json +2 -2
@@ -0,0 +1,117 @@
1
+ ---
2
+ name: handoff
3
+ description: Write a 5-section session handoff memo so the next agent picks up cleanly with zero rediscovery. The five fields are MISSION (one sentence) / STATE (what works, what doesn't, with runtime evidence) / FILES TOUCHED (exact paths, no guessing) / DEAD ENDS (what was tried and failed, don't re-walk) / NEXT (first concrete action). Persists to HANDOFF.md at the project root (always-latest) + an archive copy under .omega/handoffs/<timestamp>. Use BEFORE /clear, BEFORE ending a tmux session, or when the user says "/handoff", "write a handoff", "fais un handoff", "termine la session", "memo de fin", "passe le relais", "hand off to the next agent".
4
+ when_to_use: User is about to /clear, end a coding session, or wants the next agent to resume from a known state. Also when a long mission completes and the next phase will run in a fresh session.
5
+ allowed-tools: Bash Read Write
6
+ argument-hint: "[--project <slug>]"
7
+ arguments: [project]
8
+ ---
9
+
10
+ # handoff — session-end memo for the next agent
11
+
12
+ You are writing a HANDOFF. The next agent (or the user's future-self) will
13
+ read this and pick up EXACTLY where you stopped, without re-walking the
14
+ same code, without re-running the same commands, without re-making the
15
+ same mistakes.
16
+
17
+ ## The five fields (non-negotiable, in this order)
18
+
19
+ ### 1. Mission
20
+
21
+ ONE sentence. What was this session trying to achieve? Not "we worked on
22
+ auth"; rather "Implement OAuth login against `/api/auth/google` and make
23
+ `tests/auth.test.ts` pass end-to-end."
24
+
25
+ ### 2. State (what works / what doesn't)
26
+
27
+ Three concrete observations, each backed by runtime evidence:
28
+
29
+ - **Works:** what is verifiable runtime? E.g. "sign-in flow redirects to
30
+ /dashboard, screenshot at `audits/.flowaudit/run-2026-05-24/auth.png`".
31
+ - **Broken:** what fails right now? E.g. "/api/profile PATCH returns 500;
32
+ curl reproduces, console: TypeError at line 142".
33
+ - **Verified by:** the COMMAND or URL that proves the claim. E.g.
34
+ "`npm test -- tests/auth.test.ts`" or "`curl https://app/api/health`".
35
+
36
+ If you cannot back a claim with a runtime command, mark it as
37
+ "observed-but-not-verified" — never lie.
38
+
39
+ ### 3. Files touched
40
+
41
+ Every file you edited or created in THIS session. Exact paths, no
42
+ guessing, no "the routes file". Use line numbers when only a slice
43
+ mattered:
44
+
45
+ - `apps/web/src/routes/api/auth/google.ts`
46
+ - `apps/web/src/components/SignInForm.tsx:42-78`
47
+ - `tests/auth.test.ts`
48
+
49
+ Run `git diff --name-only HEAD` if you're unsure — copy the output.
50
+
51
+ ### 4. Dead ends — DO NOT retry
52
+
53
+ What was TRIED and DOESN'T work, so the next agent does not waste a
54
+ session re-walking the same wall. Each bullet must say: what was tried,
55
+ why it failed, what NOT to try again.
56
+
57
+ - Tried passing `accessToken` via Authorization header to Google's
58
+ `/userinfo` — got 401 because Google's lib expects it on the query
59
+ string. Don't re-route through the header.
60
+ - Tried `next-auth` v5 beta — incompatible with our pinned Next 14.0.
61
+ Don't suggest a v5 upgrade unless we also bump Next.
62
+
63
+ If there were no dead ends, write "_(none)_". Don't pad with fake bullets.
64
+
65
+ ### 5. Next — start here
66
+
67
+ The FIRST concrete action the next agent should take. Numbered, one item
68
+ per line. Be specific:
69
+
70
+ 1. Add `NEXTAUTH_SECRET` to `.env.local` (it's missing — see error in
71
+ state §2). Test: `npm run dev` should no longer print the warning.
72
+ 2. Wire the new endpoint into `apps/web/src/app/api/auth/[...nextauth]/route.ts`.
73
+ 3. Re-run `npm test -- tests/auth.test.ts`; should be 0 failures.
74
+
75
+ If the next step is "ship it" or "merge", write that explicitly.
76
+
77
+ ## Run
78
+
79
+ Build the handoff in memory, then write it via the engine:
80
+
81
+ ```bash
82
+ # auto-draft from the worker's own .done.json + git diff
83
+ omega handoff from-done $CLAUDE_SESSION_ID --project $project --print
84
+
85
+ # or write a freshly-composed one (--file points to a markdown file
86
+ # you just wrote that follows the 5-section template)
87
+ omega handoff write --project $project --file /tmp/handoff-draft.md
88
+ ```
89
+
90
+ The engine persists the markdown to:
91
+
92
+ - `$OMEGA_HOME/Agentik_Coding/projects/$project/HANDOFF.md` (always-latest)
93
+ - `$OMEGA_HOME/Agentik_Coding/projects/$project/.omega/handoffs/<ts>.md` (archive)
94
+
95
+ The next session reads the latest with:
96
+
97
+ ```bash
98
+ omega handoff read --project $project
99
+ ```
100
+
101
+ ## Quality gate (the protocol enforces this)
102
+
103
+ Before exiting, re-read your handoff and ask:
104
+
105
+ - Could a fresh agent execute step §5.1 with ZERO additional context? If
106
+ not, rewrite it.
107
+ - Are all §3 file paths real (`test -e` returns 0 for every one)? If not,
108
+ remove the speculative ones.
109
+ - Does §4 actually save the next agent time? If not, delete it.
110
+
111
+ The handoff is load-bearing. A vague handoff is worse than no handoff —
112
+ it costs the next agent more than it saves.
113
+
114
+ ---
115
+
116
+ *Argument: `$project` (slug) — required so the handoff lands at the
117
+ right project root.*
@@ -0,0 +1,165 @@
1
+ ---
2
+ name: logicaudit
3
+ description: Forensic logic audit — Where is the system fighting itself — wasted computation, redundant paths, the wrong amount of engineering?. Runs the gather (deterministic) + falsify (agentic) pipeline, batches fixes, dispatches capped workers, re-audits, and persists scores. Use when the user says "/logicaudit", "audit logic", or asks to verify the logic health of the project.
4
+ when_to_use: User says /logicaudit, audit logic, check logic, verify logic, is logic healthy.
5
+ argument-hint: "[--scope <path>] [--fix] [--max-workers N]"
6
+ arguments: [args]
7
+ allowed-tools: Bash Read Edit Grep Glob Write
8
+ ---
9
+
10
+ # logicaudit — forensic audit (Agentik OS Quality Arsenal)
11
+
12
+ > Where is the system fighting itself — wasted computation, redundant paths, the wrong amount of engineering?
13
+
14
+ You are running the logicaudit forensic audit. Apply the **Gestalt-Popper
15
+ doctrine**: identify the hinge point, scrutinise it 10x, then assume
16
+ every name is a CLAIM and look for the divergence between the claim and
17
+ the reality. Bias toward FAIL. A perfect score is earned by finding zero
18
+ falsifiable claims, never by absence of effort.
19
+
20
+ ## Run
21
+
22
+ The audit is one engine call — gather (deterministic) + falsify (agentic)
23
+ + optional fix-dispatch (capped) + re-audit. Invoke the unified pipeline:
24
+
25
+ ```bash
26
+ omega audit run logicaudit $args
27
+ ```
28
+
29
+ Common options:
30
+
31
+ | Flag | Effect |
32
+ |---|---|
33
+ | `--scope <path>` | scope the audit (file or directory) |
34
+ | `--fix` | after analysing, batch findings + dispatch up to N workers + re-audit |
35
+ | `--max-workers N` | cap parallel fix workers (default 3) |
36
+ | `--min-severity high` | only batch + fix findings at or above this severity |
37
+
38
+ Read-only by default. Add `--fix` to enable the dispatch + re-audit loop.
39
+
40
+ ## Phases under investigation
41
+
42
+ The agentic pass walks each phase below and emits structured findings
43
+ (claim vs. reality). Every PASS must cite ≥3 concrete checks.
44
+
45
+ ### 1. redundant-logic
46
+
47
+ Semantically identical logic in 3+ places; checks repeated across middleware/handler/service (blurs who owns validation); overlapping modules; chained data transforms; self-defeating logic (cache invalidated before read).
48
+
49
+ ### 2. algorithmic-efficiency
50
+
51
+ Real Big-O of every loop/recursion; O(n^2) hidden as Array.find inside Array.map; N+1 query/fetch patterns; unnecessary computation (sort just to test existence); string concat / regex compile in loops.
52
+
53
+ ### 3. pipeline-efficiency
54
+
55
+ Sum of step times vs total pipeline time — overhead >50% means the pipeline design IS the bug; sequential steps with no data dependency; stages producing output nobody reads; restart-from-stage-1 vs checkpoint.
56
+
57
+ ### 4. orchestration-overhead
58
+
59
+ Hop count user→result — which hops are essential vs ceremony; dispatch overhead vs task size (task < dispatch cost → do it in-place); intent preserved or diluted per hop; coordination tax in multi-agent work.
60
+
61
+ ### 5. abstraction-fit
62
+
63
+ Over-abstraction (factory with one type, plugin system with one plugin, GenericHandler<T> always string); under-abstraction (15 lines copy-pasted 8×); wrong abstraction (UserService doing auth+billing+notifications).
64
+
65
+ ### 6. state-machines
66
+
67
+ Implicit state from combined booleans (isLoading+hasError+isReady = impossible combos); states that CAN be represented but are impossible WILL be reached; missing transitions (Loading with no path to Error).
68
+
69
+ ### 7. data-flow-entropy
70
+
71
+ Single source of truth per datum (same data in DB + local state + URL = 3 truths); transformation chain length; data duplication without sync; prop drilling through components that never use it; stale-data patterns.
72
+
73
+ ### 8. caching-intelligence
74
+
75
+ Missing caches (pure function re-called with same inputs, static reference data re-queried); ineffective caches (2% hit rate = wrong key granularity); invalidation correctness; caching at the right layer.
76
+
77
+ ### 9. parallelization-gaps
78
+
79
+ Independent ops awaited serially instead of Promise.all; N individual calls that should be one batch; load-everything-then-process instead of streaming; worker pool sized wrong for wait/compute ratio.
80
+
81
+ ### 10. config-complexity
82
+
83
+ Total config surface vs how many values are EVER changed from default; same value defined in .env AND config AND CLI AND default with undocumented precedence; invalid config caught at startup not first request.
84
+
85
+ ### 11. error-logic
86
+
87
+ Swallowed errors (empty catch, .catch(()=>null)); error info loss (rethrow as generic 'something went wrong', logged at INFO); retry on non-transient 4xx; retry without backoff/idempotency/ceiling; wrong fallback values.
88
+
89
+ ### 12. decision-tree-pruning
90
+
91
+ Arrow anti-pattern (if→if→if→if→logic) — flatten with guard clauses; 40-case switch that should be a lookup map; feature flags always-ON or always-OFF; routing that could be a simple table.
92
+
93
+ ### 13. over-engineering
94
+
95
+ Unused flexibility (EventEmitter with one listener, strategy pattern with one strategy); premature optimization; architecture astronautics (microservices for one dev, event sourcing for CRUD); speculative generality.
96
+
97
+ ### 14. under-engineering
98
+
99
+ Missing validation at boundaries (user input reaches DB unsanitized); missing error boundaries (one component crash kills the page); missing observability on critical paths; complex algorithm with zero comments.
100
+
101
+ ### 15. dead-logic
102
+
103
+ Unreachable code after return/throw; branches guarded by always-true/false conditions; functions defined-never-called-not-exported; dead feature flags; commented-out code blocks; unused imports/variables.
104
+
105
+ ## Falsification rules
106
+
107
+ Complexity is guilt until proven innocent — every abstraction, config layer and indirection must justify its existence with measurement or be eliminated. Every optimization claim is a hypothesis: "this cache speeds it up" → prove it with hit-rate numbers; "this abstraction reduces complexity" → count lines/branches before and after. Categorise findings as CLAIM-vs-MEASUREMENT, ABSTRACTION-vs-USAGE, CACHE-vs-FRESHNESS, PARALLEL-vs-SEQUENTIAL, RETRY-vs-IDEMPOTENT, or CONFIG-vs-HARDCODE. An optimization with no measurable improvement is a failed hypothesis — revert it.
108
+
109
+ ## After the run
110
+
111
+ The pipeline writes one structured verdict to:
112
+
113
+ ```
114
+ Agentik_Runtime/audits.db (history — `omega audit history logicaudit`)
115
+ Agentik_Runtime/sessions/${CLAUDE_SESSION_ID}/.done.json (this turn)
116
+ ```
117
+
118
+ The `.done.json` schema:
119
+
120
+ ```json
121
+ {
122
+ "status": "done_clean" | "pending" | "failed",
123
+ "summary": "<one-paragraph verdict>",
124
+ "artifacts": {
125
+ "audit": "logicaudit",
126
+ "score": 0-100,
127
+ "verified": bool,
128
+ "findings": [...],
129
+ "fix_plan": [...],
130
+ "dispatches": [...],
131
+ "reaudit_score": 0-100 // only when --fix was used
132
+ }
133
+ }
134
+ ```
135
+
136
+ ## Hard rules (don't break these)
137
+
138
+ 1. **No fake "done".** First Law: only runtime tells the truth. If the
139
+ gather phase fails or the agentic verdict scores below the threshold,
140
+ you have NOT verified — set status to `pending` or `failed`.
141
+ 2. **Cap parallelism.** ≤ 3 fix workers at a time. The
142
+ batcher enforces this; do not call out to other dispatch mechanisms.
143
+ 3. **No worker per finding.** Findings are clustered by file footprint and
144
+ severity. One worker handles one disjoint batch.
145
+ 4. **Re-audit confirms.** After fixes land, the pipeline re-runs the same
146
+ gather + agentic phases. If the score did not improve, escalate honestly.
147
+ 5. **History is the trend.** `omega audit history logicaudit` shows whether the
148
+ codebase is improving over time on this dimension. Use it to decide
149
+ whether to push for `--fix` again.
150
+
151
+ ## Why this audit exists
152
+
153
+ The 18 forensic audits are the OmegaOS verification layer. Claude's
154
+ "I'm done" claims used to be unverified. With these audits running as
155
+ the gate, completion is **derived from observable facts**, not declared
156
+ by the worker. Run this audit any time someone (human or agent) claims
157
+ the logic dimension is healthy. Insist on the score before you
158
+ accept.
159
+
160
+ ## Reference
161
+
162
+ Audit definition: `Agentik_SSOT/audits/logicaudit.yaml`
163
+ Engine pipeline: `omega_engine.audits.pipeline.AuditPipeline`
164
+ Batcher: `omega_engine.audits.batcher.batch_findings`
165
+ History: `omega_engine.audits.history`
@@ -0,0 +1,165 @@
1
+ ---
2
+ name: motionaudit
3
+ description: Forensic motion audit — Does it MOVE with purpose — does every animation earn its place and run at 60fps?. Runs the gather (deterministic) + falsify (agentic) pipeline, batches fixes, dispatches capped workers, re-audits, and persists scores. Use when the user says "/motionaudit", "audit motion", or asks to verify the motion health of the project.
4
+ when_to_use: User says /motionaudit, audit motion, check motion, verify motion, is motion healthy.
5
+ argument-hint: "[--scope <path>] [--fix] [--max-workers N]"
6
+ arguments: [args]
7
+ allowed-tools: Bash Read Edit Grep Glob Write
8
+ ---
9
+
10
+ # motionaudit — forensic audit (Agentik OS Quality Arsenal)
11
+
12
+ > Does it MOVE with purpose — does every animation earn its place and run at 60fps?
13
+
14
+ You are running the motionaudit forensic audit. Apply the **Gestalt-Popper
15
+ doctrine**: identify the hinge point, scrutinise it 10x, then assume
16
+ every name is a CLAIM and look for the divergence between the claim and
17
+ the reality. Bias toward FAIL. A perfect score is earned by finding zero
18
+ falsifiable claims, never by absence of effort.
19
+
20
+ ## Run
21
+
22
+ The audit is one engine call — gather (deterministic) + falsify (agentic)
23
+ + optional fix-dispatch (capped) + re-audit. Invoke the unified pipeline:
24
+
25
+ ```bash
26
+ omega audit run motionaudit $args
27
+ ```
28
+
29
+ Common options:
30
+
31
+ | Flag | Effect |
32
+ |---|---|
33
+ | `--scope <path>` | scope the audit (file or directory) |
34
+ | `--fix` | after analysing, batch findings + dispatch up to N workers + re-audit |
35
+ | `--max-workers N` | cap parallel fix workers (default 3) |
36
+ | `--min-severity high` | only batch + fix findings at or above this severity |
37
+
38
+ Read-only by default. Add `--fix` to enable the dispatch + re-audit loop.
39
+
40
+ ## Phases under investigation
41
+
42
+ The agentic pass walks each phase below and emits structured findings
43
+ (claim vs. reality). Every PASS must cite ≥3 concrete checks.
44
+
45
+ ### 1. motion-inventory
46
+
47
+ Catalog every animation — CSS transitions/keyframes, JS-driven (rAF, Web Animations API, GSAP, Framer Motion), scroll-driven, canvas/WebGL — with element, trigger, properties, duration, easing.
48
+
49
+ ### 2. purpose-verification
50
+
51
+ The hinge — apply the Purpose Test to each animation: does it COMMUNICATE state/causality, ORIENT the user, or CREATE meaning? Remove it mentally — if nothing is lost, it is PURPOSELESS.
52
+
53
+ ### 3. easing-system
54
+
55
+ Easing as a vocabulary — enters decelerate (ease-out), exits accelerate (ease-in); count unique curves; are they named tokens or arbitrary per-component cubic-beziers?
56
+
57
+ ### 4. duration-consistency
58
+
59
+ Durations on a systematic scale (tokens), each in its appropriate range — micro 80-150ms, entrances 200-400ms, exits faster than entrances; total entry choreography under 800ms.
60
+
61
+ ### 5. choreography
62
+
63
+ Page entrances introduce themselves as a sequence following content hierarchy with consistent stagger; exits are swift and directional; state transitions communicate spatial relationships.
64
+
65
+ ### 6. scroll-animations
66
+
67
+ No scroll hijacking, user controls pace, gentle parallax (10-30%), progress-linked not fire-and-forget, passive listeners, IntersectionObserver unobserved after firing.
68
+
69
+ ### 7. page-transitions
70
+
71
+ Route changes animate with directional logic rather than hard-cut, shared-element continuity where possible, View Transitions API where supported, no long blank screens.
72
+
73
+ ### 8. micro-interactions
74
+
75
+ Every interactive element responds to hover/focus/press with physical feedback (translate/scale, not color-only), consistent timing, popovers appear FROM their trigger.
76
+
77
+ ### 9. loading-skeleton
78
+
79
+ Loading states are skeletons matching final layout (not bare spinners), shimmer is CSS-only, progressive reveal, smooth skeleton-to-content transition.
80
+
81
+ ### 10. webgl-canvas
82
+
83
+ WebGL/P5 justified over CSS, 60fps desktop / 30fps mobile, tiered fallback (WebGL2/WebGL1/static), lazy-loaded, geometries/textures disposed on unmount, paused when off-screen.
84
+
85
+ ### 11. css-performance
86
+
87
+ Animations use ONLY transform and opacity — animating width/height/margin/box-shadow triggers layout or paint; will-change used sparingly; no read-write-read forced reflow in loops.
88
+
89
+ ### 12. reduced-motion
90
+
91
+ prefers-reduced-motion is a designed alternative not a nuclear kill-all — state changes still visible (modal still opens instantly), ambient motion pausable, interaction never blocked.
92
+
93
+ ### 13. mobile-motion
94
+
95
+ Touch-specific :active feedback (not repurposed hover), gesture physics with momentum, safe-area respect, rAF paused when hidden, 30fps minimum under 4x CPU throttle.
96
+
97
+ ### 14. motion-meaning-gap
98
+
99
+ The absence of motion is a finding — list added/removed, counter updates, tab switches, accordions, filtering, sorting that hard-cut where a transition should communicate the change.
100
+
101
+ ### 15. motion-excess
102
+
103
+ Animations that harm — competing simultaneous motion, entrances over 600ms, distracting loops near text, redundant nested animations, gratuitous WebGL that could be CSS.
104
+
105
+ ## Falsification rules
106
+
107
+ Every animation is guilty until proven purposeful. "It looks cool" is not a reason — FALSIFY each animation's justification: what does the user understand faster because of this motion? Every PASS must cite at least 3 concrete checks (the grepped property, the measured duration, the frame trace). Categorise findings as PURPOSE-vs-DECORATION, SYSTEM-vs-RANDOM, COMPOSITED-vs-EXPENSIVE, or PRESENT-vs-MISSING. A page with one perfectly timed animation beats a page with twelve good ones. Bias toward FAIL.
108
+
109
+ ## After the run
110
+
111
+ The pipeline writes one structured verdict to:
112
+
113
+ ```
114
+ Agentik_Runtime/audits.db (history — `omega audit history motionaudit`)
115
+ Agentik_Runtime/sessions/${CLAUDE_SESSION_ID}/.done.json (this turn)
116
+ ```
117
+
118
+ The `.done.json` schema:
119
+
120
+ ```json
121
+ {
122
+ "status": "done_clean" | "pending" | "failed",
123
+ "summary": "<one-paragraph verdict>",
124
+ "artifacts": {
125
+ "audit": "motionaudit",
126
+ "score": 0-100,
127
+ "verified": bool,
128
+ "findings": [...],
129
+ "fix_plan": [...],
130
+ "dispatches": [...],
131
+ "reaudit_score": 0-100 // only when --fix was used
132
+ }
133
+ }
134
+ ```
135
+
136
+ ## Hard rules (don't break these)
137
+
138
+ 1. **No fake "done".** First Law: only runtime tells the truth. If the
139
+ gather phase fails or the agentic verdict scores below the threshold,
140
+ you have NOT verified — set status to `pending` or `failed`.
141
+ 2. **Cap parallelism.** ≤ 3 fix workers at a time. The
142
+ batcher enforces this; do not call out to other dispatch mechanisms.
143
+ 3. **No worker per finding.** Findings are clustered by file footprint and
144
+ severity. One worker handles one disjoint batch.
145
+ 4. **Re-audit confirms.** After fixes land, the pipeline re-runs the same
146
+ gather + agentic phases. If the score did not improve, escalate honestly.
147
+ 5. **History is the trend.** `omega audit history motionaudit` shows whether the
148
+ codebase is improving over time on this dimension. Use it to decide
149
+ whether to push for `--fix` again.
150
+
151
+ ## Why this audit exists
152
+
153
+ The 18 forensic audits are the OmegaOS verification layer. Claude's
154
+ "I'm done" claims used to be unverified. With these audits running as
155
+ the gate, completion is **derived from observable facts**, not declared
156
+ by the worker. Run this audit any time someone (human or agent) claims
157
+ the motion dimension is healthy. Insist on the score before you
158
+ accept.
159
+
160
+ ## Reference
161
+
162
+ Audit definition: `Agentik_SSOT/audits/motionaudit.yaml`
163
+ Engine pipeline: `omega_engine.audits.pipeline.AuditPipeline`
164
+ Batcher: `omega_engine.audits.batcher.batch_findings`
165
+ History: `omega_engine.audits.history`
@@ -0,0 +1,161 @@
1
+ ---
2
+ name: perfaudit
3
+ description: Forensic performance audit — Is it FAST ENOUGH for humans to care — or does it bleed milliseconds nobody measured?. Runs the gather (deterministic) + falsify (agentic) pipeline, batches fixes, dispatches capped workers, re-audits, and persists scores. Use when the user says "/perfaudit", "audit performance", or asks to verify the performance health of the project.
4
+ when_to_use: User says /perfaudit, audit performance, check performance, verify performance, is performance healthy.
5
+ argument-hint: "[--scope <path>] [--fix] [--max-workers N]"
6
+ arguments: [args]
7
+ allowed-tools: Bash Read Edit Grep Glob Write
8
+ ---
9
+
10
+ # perfaudit — forensic audit (Agentik OS Quality Arsenal)
11
+
12
+ > Is it FAST ENOUGH for humans to care — or does it bleed milliseconds nobody measured?
13
+
14
+ You are running the perfaudit forensic audit. Apply the **Gestalt-Popper
15
+ doctrine**: identify the hinge point, scrutinise it 10x, then assume
16
+ every name is a CLAIM and look for the divergence between the claim and
17
+ the reality. Bias toward FAIL. A perfect score is earned by finding zero
18
+ falsifiable claims, never by absence of effort.
19
+
20
+ ## Run
21
+
22
+ The audit is one engine call — gather (deterministic) + falsify (agentic)
23
+ + optional fix-dispatch (capped) + re-audit. Invoke the unified pipeline:
24
+
25
+ ```bash
26
+ omega audit run perfaudit $args
27
+ ```
28
+
29
+ Common options:
30
+
31
+ | Flag | Effect |
32
+ |---|---|
33
+ | `--scope <path>` | scope the audit (file or directory) |
34
+ | `--fix` | after analysing, batch findings + dispatch up to N workers + re-audit |
35
+ | `--max-workers N` | cap parallel fix workers (default 3) |
36
+ | `--min-severity high` | only batch + fix findings at or above this severity |
37
+
38
+ Read-only by default. Add `--fix` to enable the dispatch + re-audit loop.
39
+
40
+ ## Phases under investigation
41
+
42
+ The agentic pass walks each phase below and emits structured findings
43
+ (claim vs. reality). Every PASS must cite ≥3 concrete checks.
44
+
45
+ ### 1. core-web-vitals
46
+
47
+ Measure LCP (<2.5s), INP (<200ms), CLS (<0.1), TTFB (<800ms), FCP (<1.8s) on the hinge page; re-run throttled at 3G + 4x CPU and watch the score collapse.
48
+
49
+ ### 2. bundle-bloat
50
+
51
+ Total initial JS compressed (<200KB target); barrel imports pulling whole libraries; duplicate deps at multiple versions; source maps shipped to prod.
52
+
53
+ ### 3. render-path
54
+
55
+ Render-blocking CSS/scripts in the critical path; unnecessary React re-renders; layout thrashing (read-write-read); long tasks >50ms blocking interactivity.
56
+
57
+ ### 4. js-execution
58
+
59
+ Parse cost per bundle; hydration time and mismatch errors; un-throttled scroll/resize handlers; async waterfalls that should be Promise.all.
60
+
61
+ ### 5. image-optimization
62
+
63
+ PNG/JPEG where WebP/AVIF saves 60-80%; images larger than display size; missing width/height (CLS); missing lazy-loading below the fold; missing fetchpriority on the LCP image.
64
+
65
+ ### 6. font-loading
66
+
67
+ WOFF2 used and subset to used glyphs; font-display:swap to prevent FOIT; critical fonts preloaded; layout shift when the web font swaps in.
68
+
69
+ ### 7. caching-strategy
70
+
71
+ Cache-Control + immutable on fingerprinted assets; repeated identical API calls that should be memoized/SWR-cached; deploy invalidates stale CSS/JS hashes.
72
+
73
+ ### 8. ssr-ssg-strategy
74
+
75
+ Each route uses the right rendering mode (SSR/SSG/ISR/CSR); static pages wrongly rendered per-request; SSR data fetching serial instead of parallel; streaming used for TTFB.
76
+
77
+ ### 9. code-splitting
78
+
79
+ Route-based and component-based splitting working; vendor/framework chunks separated; heavy components (charts, editors, maps) lazy-loaded behind dynamic import.
80
+
81
+ ### 10. api-response-times
82
+
83
+ Per-endpoint average <200ms and P95 <1s; over-fetching unused fields; sequential dependent calls on page load; missing pagination on list endpoints.
84
+
85
+ ### 11. n-plus-one
86
+
87
+ Same query template fired in a loop with different params; ORM relationships lacking eager loading; SELECT * where columns suffice; total queries per page load >10.
88
+
89
+ ### 12. db-query-performance
90
+
91
+ Queries >100ms; full table scans from missing indexes; joins/sorts without supporting indexes; large result sets without LIMIT; connection pool sized for concurrency.
92
+
93
+ ### 13. memory-leaks
94
+
95
+ Heap growth over time; detached DOM nodes; event listeners/timers/intervals/sockets never cleaned on unmount; unbounded caches and history stacks.
96
+
97
+ ### 14. resource-hints-third-party
98
+
99
+ LCP image and critical fonts preloaded; preconnect/dns-prefetch for third-party origins; render-blocking third-party scripts that could be deferred or facade-loaded.
100
+
101
+ ## Falsification rules
102
+
103
+ Lighthouse scores lie — every green score must be re-verified throttled (3G + 4x CPU, cold cache) and twice to rule out a one-off blip. Categorise findings as SCORE-vs-REALITY, LAB-vs-FIELD, FIRST-vs-REPEAT, or AVERAGE-vs-P95. Every PASS cites ≥3 concrete measurements with actual numbers. "It's fast for me" (warm cache, fast machine) is not evidence. Bias toward FAIL — a 100 is earned, never assumed.
104
+
105
+ ## After the run
106
+
107
+ The pipeline writes one structured verdict to:
108
+
109
+ ```
110
+ Agentik_Runtime/audits.db (history — `omega audit history perfaudit`)
111
+ Agentik_Runtime/sessions/${CLAUDE_SESSION_ID}/.done.json (this turn)
112
+ ```
113
+
114
+ The `.done.json` schema:
115
+
116
+ ```json
117
+ {
118
+ "status": "done_clean" | "pending" | "failed",
119
+ "summary": "<one-paragraph verdict>",
120
+ "artifacts": {
121
+ "audit": "perfaudit",
122
+ "score": 0-100,
123
+ "verified": bool,
124
+ "findings": [...],
125
+ "fix_plan": [...],
126
+ "dispatches": [...],
127
+ "reaudit_score": 0-100 // only when --fix was used
128
+ }
129
+ }
130
+ ```
131
+
132
+ ## Hard rules (don't break these)
133
+
134
+ 1. **No fake "done".** First Law: only runtime tells the truth. If the
135
+ gather phase fails or the agentic verdict scores below the threshold,
136
+ you have NOT verified — set status to `pending` or `failed`.
137
+ 2. **Cap parallelism.** ≤ 3 fix workers at a time. The
138
+ batcher enforces this; do not call out to other dispatch mechanisms.
139
+ 3. **No worker per finding.** Findings are clustered by file footprint and
140
+ severity. One worker handles one disjoint batch.
141
+ 4. **Re-audit confirms.** After fixes land, the pipeline re-runs the same
142
+ gather + agentic phases. If the score did not improve, escalate honestly.
143
+ 5. **History is the trend.** `omega audit history perfaudit` shows whether the
144
+ codebase is improving over time on this dimension. Use it to decide
145
+ whether to push for `--fix` again.
146
+
147
+ ## Why this audit exists
148
+
149
+ The 18 forensic audits are the OmegaOS verification layer. Claude's
150
+ "I'm done" claims used to be unverified. With these audits running as
151
+ the gate, completion is **derived from observable facts**, not declared
152
+ by the worker. Run this audit any time someone (human or agent) claims
153
+ the performance dimension is healthy. Insist on the score before you
154
+ accept.
155
+
156
+ ## Reference
157
+
158
+ Audit definition: `Agentik_SSOT/audits/perfaudit.yaml`
159
+ Engine pipeline: `omega_engine.audits.pipeline.AuditPipeline`
160
+ Batcher: `omega_engine.audits.batcher.batch_findings`
161
+ History: `omega_engine.audits.history`