@agentikos/omega-os 0.2.0 → 0.19.6

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 (376) hide show
  1. package/README.md +33 -3
  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 +790 -21
  10. package/bootstrap/manifest.example.yaml +87 -1
  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/GAP-ANALYSIS.md +214 -0
  48. package/docs/INSTALL.md +47 -9
  49. package/docs/MCP-AND-PLUGINS.md +31 -4
  50. package/docs/SIMULATION.md +171 -0
  51. package/docs/simulate.sh +211 -0
  52. package/install.sh +164 -17
  53. package/omega/Agentik_Engine/README.md +4 -2
  54. package/omega/Agentik_Engine/omega_engine/__init__.py +147 -1
  55. package/omega/Agentik_Engine/omega_engine/__pycache__/__init__.cpython-313.pyc +0 -0
  56. package/omega/Agentik_Engine/omega_engine/__pycache__/account.cpython-313.pyc +0 -0
  57. package/omega/Agentik_Engine/omega_engine/__pycache__/agent_messages.cpython-313.pyc +0 -0
  58. package/omega/Agentik_Engine/omega_engine/__pycache__/aisb_chat.cpython-313.pyc +0 -0
  59. package/omega/Agentik_Engine/omega_engine/__pycache__/audit.cpython-313.pyc +0 -0
  60. package/omega/Agentik_Engine/omega_engine/__pycache__/audit_arsenal.cpython-313.pyc +0 -0
  61. package/omega/Agentik_Engine/omega_engine/__pycache__/audit_diff.cpython-313.pyc +0 -0
  62. package/omega/Agentik_Engine/omega_engine/__pycache__/audit_gate.cpython-313.pyc +0 -0
  63. package/omega/Agentik_Engine/omega_engine/__pycache__/auto_update.cpython-313.pyc +0 -0
  64. package/omega/Agentik_Engine/omega_engine/__pycache__/autonomous.cpython-313.pyc +0 -0
  65. package/omega/Agentik_Engine/omega_engine/__pycache__/backup.cpython-313.pyc +0 -0
  66. package/omega/Agentik_Engine/omega_engine/__pycache__/barrier.cpython-313.pyc +0 -0
  67. package/omega/Agentik_Engine/omega_engine/__pycache__/bus.cpython-313.pyc +0 -0
  68. package/omega/Agentik_Engine/omega_engine/__pycache__/cadence.cpython-313.pyc +0 -0
  69. package/omega/Agentik_Engine/omega_engine/__pycache__/classifier.cpython-313.pyc +0 -0
  70. package/omega/Agentik_Engine/omega_engine/__pycache__/cleanup.cpython-313.pyc +0 -0
  71. package/omega/Agentik_Engine/omega_engine/__pycache__/cli.cpython-313.pyc +0 -0
  72. package/omega/Agentik_Engine/omega_engine/__pycache__/completions.cpython-313.pyc +0 -0
  73. package/omega/Agentik_Engine/omega_engine/__pycache__/costs.cpython-313.pyc +0 -0
  74. package/omega/Agentik_Engine/omega_engine/__pycache__/done_signal.cpython-313.pyc +0 -0
  75. package/omega/Agentik_Engine/omega_engine/__pycache__/envelope.cpython-313.pyc +0 -0
  76. package/omega/Agentik_Engine/omega_engine/__pycache__/events.cpython-313.pyc +0 -0
  77. package/omega/Agentik_Engine/omega_engine/__pycache__/executor.cpython-313.pyc +0 -0
  78. package/omega/Agentik_Engine/omega_engine/__pycache__/handoff.cpython-313.pyc +0 -0
  79. package/omega/Agentik_Engine/omega_engine/__pycache__/hermes.cpython-313.pyc +0 -0
  80. package/omega/Agentik_Engine/omega_engine/__pycache__/hermes_bootstrap.cpython-313.pyc +0 -0
  81. package/omega/Agentik_Engine/omega_engine/__pycache__/hermes_desktop.cpython-313.pyc +0 -0
  82. package/omega/Agentik_Engine/omega_engine/__pycache__/learning.cpython-313.pyc +0 -0
  83. package/omega/Agentik_Engine/omega_engine/__pycache__/managed_agent.cpython-313.pyc +0 -0
  84. package/omega/Agentik_Engine/omega_engine/__pycache__/memory.cpython-313.pyc +0 -0
  85. package/omega/Agentik_Engine/omega_engine/__pycache__/menu.cpython-313.pyc +0 -0
  86. package/omega/Agentik_Engine/omega_engine/__pycache__/mission.cpython-313.pyc +0 -0
  87. package/omega/Agentik_Engine/omega_engine/__pycache__/plan.cpython-313.pyc +0 -0
  88. package/omega/Agentik_Engine/omega_engine/__pycache__/progress.cpython-313.pyc +0 -0
  89. package/omega/Agentik_Engine/omega_engine/__pycache__/project.cpython-313.pyc +0 -0
  90. package/omega/Agentik_Engine/omega_engine/__pycache__/prompts.cpython-313.pyc +0 -0
  91. package/omega/Agentik_Engine/omega_engine/__pycache__/provider.cpython-313.pyc +0 -0
  92. package/omega/Agentik_Engine/omega_engine/__pycache__/prune.cpython-313.pyc +0 -0
  93. package/omega/Agentik_Engine/omega_engine/__pycache__/pursue.cpython-313.pyc +0 -0
  94. package/omega/Agentik_Engine/omega_engine/__pycache__/reducer.cpython-313.pyc +0 -0
  95. package/omega/Agentik_Engine/omega_engine/__pycache__/report.cpython-313.pyc +0 -0
  96. package/omega/Agentik_Engine/omega_engine/__pycache__/router.cpython-313.pyc +0 -0
  97. package/omega/Agentik_Engine/omega_engine/__pycache__/skill_routing.cpython-313.pyc +0 -0
  98. package/omega/Agentik_Engine/omega_engine/__pycache__/smoke.cpython-313.pyc +0 -0
  99. package/omega/Agentik_Engine/omega_engine/__pycache__/store.cpython-313.pyc +0 -0
  100. package/omega/Agentik_Engine/omega_engine/__pycache__/supervisor.cpython-313.pyc +0 -0
  101. package/omega/Agentik_Engine/omega_engine/__pycache__/sync.cpython-313.pyc +0 -0
  102. package/omega/Agentik_Engine/omega_engine/__pycache__/task.cpython-313.pyc +0 -0
  103. package/omega/Agentik_Engine/omega_engine/__pycache__/telegram.cpython-313.pyc +0 -0
  104. package/omega/Agentik_Engine/omega_engine/__pycache__/telegram_history.cpython-313.pyc +0 -0
  105. package/omega/Agentik_Engine/omega_engine/__pycache__/tmux.cpython-313.pyc +0 -0
  106. package/omega/Agentik_Engine/omega_engine/__pycache__/tools.cpython-313.pyc +0 -0
  107. package/omega/Agentik_Engine/omega_engine/__pycache__/understand_anything.cpython-313.pyc +0 -0
  108. package/omega/Agentik_Engine/omega_engine/__pycache__/updater.cpython-313.pyc +0 -0
  109. package/omega/Agentik_Engine/omega_engine/__pycache__/validate.cpython-313.pyc +0 -0
  110. package/omega/Agentik_Engine/omega_engine/__pycache__/vault.cpython-313.pyc +0 -0
  111. package/omega/Agentik_Engine/omega_engine/__pycache__/webhooks.cpython-313.pyc +0 -0
  112. package/omega/Agentik_Engine/omega_engine/__pycache__/worker.cpython-313.pyc +0 -0
  113. package/omega/Agentik_Engine/omega_engine/account.py +28 -31
  114. package/omega/Agentik_Engine/omega_engine/agent_messages.py +167 -0
  115. package/omega/Agentik_Engine/omega_engine/aisb_chat.py +128 -0
  116. package/omega/Agentik_Engine/omega_engine/audit_diff.py +99 -0
  117. package/omega/Agentik_Engine/omega_engine/audit_gate.py +149 -0
  118. package/omega/Agentik_Engine/omega_engine/audits/__init__.py +60 -0
  119. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/__init__.cpython-313.pyc +0 -0
  120. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/batcher.cpython-313.pyc +0 -0
  121. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/dispatcher.cpython-313.pyc +0 -0
  122. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/generator.cpython-313.pyc +0 -0
  123. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/history.cpython-313.pyc +0 -0
  124. package/omega/Agentik_Engine/omega_engine/audits/__pycache__/pipeline.cpython-313.pyc +0 -0
  125. package/omega/Agentik_Engine/omega_engine/audits/batcher.py +218 -0
  126. package/omega/Agentik_Engine/omega_engine/audits/dispatcher.py +92 -0
  127. package/omega/Agentik_Engine/omega_engine/audits/generator.py +234 -0
  128. package/omega/Agentik_Engine/omega_engine/audits/history.py +168 -0
  129. package/omega/Agentik_Engine/omega_engine/audits/pipeline.py +198 -0
  130. package/omega/Agentik_Engine/omega_engine/auto_update.py +339 -0
  131. package/omega/Agentik_Engine/omega_engine/backup.py +215 -0
  132. package/omega/Agentik_Engine/omega_engine/cadence.py +158 -0
  133. package/omega/Agentik_Engine/omega_engine/classifier.py +215 -0
  134. package/omega/Agentik_Engine/omega_engine/cleanup.py +673 -0
  135. package/omega/Agentik_Engine/omega_engine/cli.py +4156 -86
  136. package/omega/Agentik_Engine/omega_engine/completions.py +260 -0
  137. package/omega/Agentik_Engine/omega_engine/costs.py +100 -0
  138. package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/__init__.cpython-313.pyc +0 -0
  139. package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/autonomous.cpython-313.pyc +0 -0
  140. package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/engine.cpython-313.pyc +0 -0
  141. package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/telegram.cpython-313.pyc +0 -0
  142. package/omega/Agentik_Engine/omega_engine/daemons/engine.py +53 -4
  143. package/omega/Agentik_Engine/omega_engine/daemons/telegram.py +101 -17
  144. package/omega/Agentik_Engine/omega_engine/done_signal.py +154 -0
  145. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/__init__.cpython-313.pyc +0 -0
  146. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/artifact.cpython-313.pyc +0 -0
  147. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/automation.cpython-313.pyc +0 -0
  148. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/base.cpython-313.pyc +0 -0
  149. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/claudecode.cpython-313.pyc +0 -0
  150. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/connection.cpython-313.pyc +0 -0
  151. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/coworker.cpython-313.pyc +0 -0
  152. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/loop.cpython-313.pyc +0 -0
  153. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/prompt.cpython-313.pyc +0 -0
  154. package/omega/Agentik_Engine/omega_engine/educators/__pycache__/skill.cpython-313.pyc +0 -0
  155. package/omega/Agentik_Engine/omega_engine/envelope.py +219 -0
  156. package/omega/Agentik_Engine/omega_engine/executor.py +149 -10
  157. package/omega/Agentik_Engine/omega_engine/genesis/__init__.py +134 -0
  158. package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/__init__.cpython-313.pyc +0 -0
  159. package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/orchestrator.cpython-313.pyc +0 -0
  160. package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/phases.cpython-313.pyc +0 -0
  161. package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/stack.cpython-313.pyc +0 -0
  162. package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/state.cpython-313.pyc +0 -0
  163. package/omega/Agentik_Engine/omega_engine/genesis/orchestrator.py +262 -0
  164. package/omega/Agentik_Engine/omega_engine/genesis/phases.py +950 -0
  165. package/omega/Agentik_Engine/omega_engine/genesis/stack.py +324 -0
  166. package/omega/Agentik_Engine/omega_engine/genesis/state.py +353 -0
  167. package/omega/Agentik_Engine/omega_engine/handoff.py +459 -0
  168. package/omega/Agentik_Engine/omega_engine/hermes.py +426 -0
  169. package/omega/Agentik_Engine/omega_engine/hermes_bootstrap.py +382 -0
  170. package/omega/Agentik_Engine/omega_engine/hermes_desktop.py +469 -0
  171. package/omega/Agentik_Engine/omega_engine/integrations/__init__.py +30 -0
  172. package/omega/Agentik_Engine/omega_engine/integrations/__pycache__/__init__.cpython-313.pyc +0 -0
  173. package/omega/Agentik_Engine/omega_engine/integrations/__pycache__/graphify.cpython-313.pyc +0 -0
  174. package/omega/Agentik_Engine/omega_engine/integrations/graphify.py +234 -0
  175. package/omega/Agentik_Engine/omega_engine/learning.py +268 -0
  176. package/omega/Agentik_Engine/omega_engine/managed_agent.py +467 -0
  177. package/omega/Agentik_Engine/omega_engine/memory.py +271 -0
  178. package/omega/Agentik_Engine/omega_engine/menu.py +1065 -0
  179. package/omega/Agentik_Engine/omega_engine/migrations/__init__.py +144 -0
  180. package/omega/Agentik_Engine/omega_engine/migrations/__pycache__/__init__.cpython-313.pyc +0 -0
  181. package/omega/Agentik_Engine/omega_engine/migrations/__pycache__/v0_14_0.cpython-313.pyc +0 -0
  182. package/omega/Agentik_Engine/omega_engine/migrations/v0_14_0.py +29 -0
  183. package/omega/Agentik_Engine/omega_engine/mission.py +16 -13
  184. package/omega/Agentik_Engine/omega_engine/plan.py +846 -0
  185. package/omega/Agentik_Engine/omega_engine/prompts.py +158 -0
  186. package/omega/Agentik_Engine/omega_engine/provider.py +161 -12
  187. package/omega/Agentik_Engine/omega_engine/prune.py +151 -0
  188. package/omega/Agentik_Engine/omega_engine/pursue.py +205 -0
  189. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/__init__.cpython-313.pyc +0 -0
  190. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/agentic.cpython-313.pyc +0 -0
  191. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/base.cpython-313.pyc +0 -0
  192. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/corrective.cpython-313.pyc +0 -0
  193. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/graph.cpython-313.pyc +0 -0
  194. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/hybrid.cpython-313.pyc +0 -0
  195. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/multimodal.cpython-313.pyc +0 -0
  196. package/omega/Agentik_Engine/omega_engine/rag/__pycache__/router.cpython-313.pyc +0 -0
  197. package/omega/Agentik_Engine/omega_engine/router.py +28 -0
  198. package/omega/Agentik_Engine/omega_engine/skill_discovery/__init__.py +48 -0
  199. package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/__init__.cpython-313.pyc +0 -0
  200. package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/auditor.cpython-313.pyc +0 -0
  201. package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/finder.cpython-313.pyc +0 -0
  202. package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/installer.cpython-313.pyc +0 -0
  203. package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/marketplaces.cpython-313.pyc +0 -0
  204. package/omega/Agentik_Engine/omega_engine/skill_discovery/auditor.py +232 -0
  205. package/omega/Agentik_Engine/omega_engine/skill_discovery/finder.py +94 -0
  206. package/omega/Agentik_Engine/omega_engine/skill_discovery/installer.py +129 -0
  207. package/omega/Agentik_Engine/omega_engine/skill_discovery/marketplaces.py +80 -0
  208. package/omega/Agentik_Engine/omega_engine/skill_routing.py +388 -0
  209. package/omega/Agentik_Engine/omega_engine/smoke.py +81 -0
  210. package/omega/Agentik_Engine/omega_engine/store.py +88 -41
  211. package/omega/Agentik_Engine/omega_engine/sync.py +142 -1
  212. package/omega/Agentik_Engine/omega_engine/telegram_history.py +260 -0
  213. package/omega/Agentik_Engine/omega_engine/tmux.py +526 -0
  214. package/omega/Agentik_Engine/omega_engine/understand_anything.py +275 -0
  215. package/omega/Agentik_Engine/omega_engine/updater.py +70 -0
  216. package/omega/Agentik_Engine/omega_engine/validate.py +186 -0
  217. package/omega/Agentik_Engine/omega_engine/vault.py +342 -0
  218. package/omega/Agentik_Engine/omega_engine/webhooks.py +262 -0
  219. package/omega/Agentik_Engine/omega_engine/worker.py +526 -0
  220. package/omega/Agentik_Engine/pyproject.toml +1 -1
  221. package/omega/Agentik_Engine/tests/__pycache__/test_account.cpython-313-pytest-8.4.2.pyc +0 -0
  222. package/omega/Agentik_Engine/tests/__pycache__/test_account.cpython-313.pyc +0 -0
  223. package/omega/Agentik_Engine/tests/__pycache__/test_adversarial.cpython-313-pytest-8.4.2.pyc +0 -0
  224. package/omega/Agentik_Engine/tests/__pycache__/test_adversarial.cpython-313.pyc +0 -0
  225. package/omega/Agentik_Engine/tests/__pycache__/test_agents_envelope.cpython-313-pytest-8.4.2.pyc +0 -0
  226. package/omega/Agentik_Engine/tests/__pycache__/test_agents_envelope.cpython-313.pyc +0 -0
  227. package/omega/Agentik_Engine/tests/__pycache__/test_audit_arsenal.cpython-313-pytest-8.4.2.pyc +0 -0
  228. package/omega/Agentik_Engine/tests/__pycache__/test_audit_arsenal.cpython-313.pyc +0 -0
  229. package/omega/Agentik_Engine/tests/__pycache__/test_audits_pipeline.cpython-313-pytest-8.4.2.pyc +0 -0
  230. package/omega/Agentik_Engine/tests/__pycache__/test_audits_pipeline.cpython-313.pyc +0 -0
  231. package/omega/Agentik_Engine/tests/__pycache__/test_auto_update_and_migrations.cpython-313-pytest-8.4.2.pyc +0 -0
  232. package/omega/Agentik_Engine/tests/__pycache__/test_auto_update_and_migrations.cpython-313.pyc +0 -0
  233. package/omega/Agentik_Engine/tests/__pycache__/test_autonomous.cpython-313-pytest-8.4.2.pyc +0 -0
  234. package/omega/Agentik_Engine/tests/__pycache__/test_autonomous.cpython-313.pyc +0 -0
  235. package/omega/Agentik_Engine/tests/__pycache__/test_educators.cpython-313-pytest-8.4.2.pyc +0 -0
  236. package/omega/Agentik_Engine/tests/__pycache__/test_educators.cpython-313.pyc +0 -0
  237. package/omega/Agentik_Engine/tests/__pycache__/test_executor.cpython-313-pytest-8.4.2.pyc +0 -0
  238. package/omega/Agentik_Engine/tests/__pycache__/test_executor.cpython-313.pyc +0 -0
  239. package/omega/Agentik_Engine/tests/__pycache__/test_genesis_and_plan.cpython-313-pytest-8.4.2.pyc +0 -0
  240. package/omega/Agentik_Engine/tests/__pycache__/test_genesis_and_plan.cpython-313.pyc +0 -0
  241. package/omega/Agentik_Engine/tests/__pycache__/test_graphify.cpython-313-pytest-8.4.2.pyc +0 -0
  242. package/omega/Agentik_Engine/tests/__pycache__/test_graphify.cpython-313.pyc +0 -0
  243. package/omega/Agentik_Engine/tests/__pycache__/test_handoff.cpython-313-pytest-8.4.2.pyc +0 -0
  244. package/omega/Agentik_Engine/tests/__pycache__/test_handoff.cpython-313.pyc +0 -0
  245. package/omega/Agentik_Engine/tests/__pycache__/test_hermes_and_ua.cpython-313-pytest-8.4.2.pyc +0 -0
  246. package/omega/Agentik_Engine/tests/__pycache__/test_hermes_and_ua.cpython-313.pyc +0 -0
  247. package/omega/Agentik_Engine/tests/__pycache__/test_hermes_bootstrap_and_desktop.cpython-313-pytest-8.4.2.pyc +0 -0
  248. package/omega/Agentik_Engine/tests/__pycache__/test_hermes_bootstrap_and_desktop.cpython-313.pyc +0 -0
  249. package/omega/Agentik_Engine/tests/__pycache__/test_install_steps.cpython-313-pytest-8.4.2.pyc +0 -0
  250. package/omega/Agentik_Engine/tests/__pycache__/test_install_steps.cpython-313.pyc +0 -0
  251. package/omega/Agentik_Engine/tests/__pycache__/test_install_ux.cpython-313-pytest-8.4.2.pyc +0 -0
  252. package/omega/Agentik_Engine/tests/__pycache__/test_install_ux.cpython-313.pyc +0 -0
  253. package/omega/Agentik_Engine/tests/__pycache__/test_installer_wiring.cpython-313-pytest-8.4.2.pyc +0 -0
  254. package/omega/Agentik_Engine/tests/__pycache__/test_installer_wiring.cpython-313.pyc +0 -0
  255. package/omega/Agentik_Engine/tests/__pycache__/test_intelligence.cpython-313-pytest-8.4.2.pyc +0 -0
  256. package/omega/Agentik_Engine/tests/__pycache__/test_intelligence.cpython-313.pyc +0 -0
  257. package/omega/Agentik_Engine/tests/__pycache__/test_llm_clis_and_uninstall.cpython-313-pytest-8.4.2.pyc +0 -0
  258. package/omega/Agentik_Engine/tests/__pycache__/test_llm_clis_and_uninstall.cpython-313.pyc +0 -0
  259. package/omega/Agentik_Engine/tests/__pycache__/test_managed_agent.cpython-313-pytest-8.4.2.pyc +0 -0
  260. package/omega/Agentik_Engine/tests/__pycache__/test_managed_agent.cpython-313.pyc +0 -0
  261. package/omega/Agentik_Engine/tests/__pycache__/test_max_provider_and_menu.cpython-313-pytest-8.4.2.pyc +0 -0
  262. package/omega/Agentik_Engine/tests/__pycache__/test_max_provider_and_menu.cpython-313.pyc +0 -0
  263. package/omega/Agentik_Engine/tests/__pycache__/test_menu_coverage.cpython-313-pytest-8.4.2.pyc +0 -0
  264. package/omega/Agentik_Engine/tests/__pycache__/test_menu_coverage.cpython-313.pyc +0 -0
  265. package/omega/Agentik_Engine/tests/__pycache__/test_mission.cpython-313-pytest-8.4.2.pyc +0 -0
  266. package/omega/Agentik_Engine/tests/__pycache__/test_mission.cpython-313.pyc +0 -0
  267. package/omega/Agentik_Engine/tests/__pycache__/test_progress.cpython-313-pytest-8.4.2.pyc +0 -0
  268. package/omega/Agentik_Engine/tests/__pycache__/test_progress.cpython-313.pyc +0 -0
  269. package/omega/Agentik_Engine/tests/__pycache__/test_project.cpython-313-pytest-8.4.2.pyc +0 -0
  270. package/omega/Agentik_Engine/tests/__pycache__/test_project.cpython-313.pyc +0 -0
  271. package/omega/Agentik_Engine/tests/__pycache__/test_pursue_cadence.cpython-313-pytest-8.4.2.pyc +0 -0
  272. package/omega/Agentik_Engine/tests/__pycache__/test_pursue_cadence.cpython-313.pyc +0 -0
  273. package/omega/Agentik_Engine/tests/__pycache__/test_rag.cpython-313-pytest-8.4.2.pyc +0 -0
  274. package/omega/Agentik_Engine/tests/__pycache__/test_rag.cpython-313.pyc +0 -0
  275. package/omega/Agentik_Engine/tests/__pycache__/test_reducer.cpython-313-pytest-8.4.2.pyc +0 -0
  276. package/omega/Agentik_Engine/tests/__pycache__/test_reducer.cpython-313.pyc +0 -0
  277. package/omega/Agentik_Engine/tests/__pycache__/test_report.cpython-313-pytest-8.4.2.pyc +0 -0
  278. package/omega/Agentik_Engine/tests/__pycache__/test_report.cpython-313.pyc +0 -0
  279. package/omega/Agentik_Engine/tests/__pycache__/test_role_aliases_and_ssot.cpython-313-pytest-8.4.2.pyc +0 -0
  280. package/omega/Agentik_Engine/tests/__pycache__/test_role_aliases_and_ssot.cpython-313.pyc +0 -0
  281. package/omega/Agentik_Engine/tests/__pycache__/test_skill_discovery_and_gate.cpython-313-pytest-8.4.2.pyc +0 -0
  282. package/omega/Agentik_Engine/tests/__pycache__/test_skill_discovery_and_gate.cpython-313.pyc +0 -0
  283. package/omega/Agentik_Engine/tests/__pycache__/test_skill_power.cpython-313-pytest-8.4.2.pyc +0 -0
  284. package/omega/Agentik_Engine/tests/__pycache__/test_skill_power.cpython-313.pyc +0 -0
  285. package/omega/Agentik_Engine/tests/__pycache__/test_skill_routing.cpython-313-pytest-8.4.2.pyc +0 -0
  286. package/omega/Agentik_Engine/tests/__pycache__/test_skill_routing.cpython-313.pyc +0 -0
  287. package/omega/Agentik_Engine/tests/__pycache__/test_snapshot_partial.cpython-313-pytest-8.4.2.pyc +0 -0
  288. package/omega/Agentik_Engine/tests/__pycache__/test_snapshot_partial.cpython-313.pyc +0 -0
  289. package/omega/Agentik_Engine/tests/__pycache__/test_telegram_history.cpython-313-pytest-8.4.2.pyc +0 -0
  290. package/omega/Agentik_Engine/tests/__pycache__/test_telegram_history.cpython-313.pyc +0 -0
  291. package/omega/Agentik_Engine/tests/__pycache__/test_tmux_and_aisb_chat.cpython-313-pytest-8.4.2.pyc +0 -0
  292. package/omega/Agentik_Engine/tests/__pycache__/test_tmux_and_aisb_chat.cpython-313.pyc +0 -0
  293. package/omega/Agentik_Engine/tests/__pycache__/test_tools_and_sync.cpython-313-pytest-8.4.2.pyc +0 -0
  294. package/omega/Agentik_Engine/tests/__pycache__/test_tools_and_sync.cpython-313.pyc +0 -0
  295. package/omega/Agentik_Engine/tests/__pycache__/test_v06_features.cpython-313-pytest-8.4.2.pyc +0 -0
  296. package/omega/Agentik_Engine/tests/__pycache__/test_v06_features.cpython-313.pyc +0 -0
  297. package/omega/Agentik_Engine/tests/__pycache__/test_vault.cpython-313-pytest-8.4.2.pyc +0 -0
  298. package/omega/Agentik_Engine/tests/__pycache__/test_vault.cpython-313.pyc +0 -0
  299. package/omega/Agentik_Engine/tests/__pycache__/test_webhooks_and_readiness.cpython-313-pytest-8.4.2.pyc +0 -0
  300. package/omega/Agentik_Engine/tests/__pycache__/test_webhooks_and_readiness.cpython-313.pyc +0 -0
  301. package/omega/Agentik_Engine/tests/__pycache__/test_worker_and_cleanup.cpython-313-pytest-8.4.2.pyc +0 -0
  302. package/omega/Agentik_Engine/tests/__pycache__/test_worker_and_cleanup.cpython-313.pyc +0 -0
  303. package/omega/Agentik_Engine/tests/test_account.py +8 -3
  304. package/omega/Agentik_Engine/tests/test_adversarial.py +351 -0
  305. package/omega/Agentik_Engine/tests/test_agents_envelope.py +274 -0
  306. package/omega/Agentik_Engine/tests/test_audits_pipeline.py +348 -0
  307. package/omega/Agentik_Engine/tests/test_auto_update_and_migrations.py +394 -0
  308. package/omega/Agentik_Engine/tests/test_genesis_and_plan.py +573 -0
  309. package/omega/Agentik_Engine/tests/test_graphify.py +190 -0
  310. package/omega/Agentik_Engine/tests/test_handoff.py +311 -0
  311. package/omega/Agentik_Engine/tests/test_hermes_and_ua.py +387 -0
  312. package/omega/Agentik_Engine/tests/test_hermes_bootstrap_and_desktop.py +358 -0
  313. package/omega/Agentik_Engine/tests/test_install_steps.py +359 -0
  314. package/omega/Agentik_Engine/tests/test_install_ux.py +151 -0
  315. package/omega/Agentik_Engine/tests/test_installer_wiring.py +496 -0
  316. package/omega/Agentik_Engine/tests/test_intelligence.py +285 -0
  317. package/omega/Agentik_Engine/tests/test_llm_clis_and_uninstall.py +228 -0
  318. package/omega/Agentik_Engine/tests/test_managed_agent.py +363 -0
  319. package/omega/Agentik_Engine/tests/test_max_provider_and_menu.py +231 -0
  320. package/omega/Agentik_Engine/tests/test_menu_coverage.py +72 -0
  321. package/omega/Agentik_Engine/tests/test_pursue_cadence.py +217 -0
  322. package/omega/Agentik_Engine/tests/test_role_aliases_and_ssot.py +207 -0
  323. package/omega/Agentik_Engine/tests/test_skill_discovery_and_gate.py +337 -0
  324. package/omega/Agentik_Engine/tests/test_skill_power.py +259 -0
  325. package/omega/Agentik_Engine/tests/test_skill_routing.py +189 -0
  326. package/omega/Agentik_Engine/tests/test_telegram_history.py +209 -0
  327. package/omega/Agentik_Engine/tests/test_tmux_and_aisb_chat.py +223 -0
  328. package/omega/Agentik_Engine/tests/test_v06_features.py +370 -0
  329. package/omega/Agentik_Engine/tests/test_vault.py +173 -0
  330. package/omega/Agentik_Engine/tests/test_webhooks_and_readiness.py +277 -0
  331. package/omega/Agentik_Engine/tests/test_worker_and_cleanup.py +541 -0
  332. package/omega/Agentik_Extra/etc/secrets/.vault-key +3 -0
  333. package/omega/Agentik_Extra/etc/secrets/.vault-pub +1 -0
  334. package/omega/Agentik_Runtime/audits.db +0 -0
  335. package/omega/Agentik_SSOT/VERSION +1 -1
  336. package/omega/Agentik_SSOT/claude-plugins/claude-plugins.yaml +100 -0
  337. package/omega/Agentik_SSOT/docs/LAYERS.md +90 -0
  338. package/omega/Agentik_SSOT/docs/USER-JOURNEY.md +283 -0
  339. package/omega/Agentik_SSOT/docs/quality-arsenal/ARSENAL-INTERCONNECTIONS.md +283 -0
  340. package/omega/Agentik_SSOT/docs/quality-arsenal/ARSENAL-ORCHESTRATION-PLAYBOOK.md +364 -0
  341. package/omega/Agentik_SSOT/docs/quality-arsenal/AUDIT-VERIFICATION-CONTRACT.md +272 -0
  342. package/omega/Agentik_SSOT/docs/quality-arsenal/QUALITY-ARSENAL-PREAMBLE.md +462 -0
  343. package/omega/Agentik_SSOT/marketplaces/design-discipline.yaml +86 -0
  344. package/omega/Agentik_SSOT/skills/a11yaudit/SKILL.md +161 -0
  345. package/omega/Agentik_SSOT/skills/apiaudit/SKILL.md +157 -0
  346. package/omega/Agentik_SSOT/skills/audit-orchestrator.md +212 -0
  347. package/omega/Agentik_SSOT/skills/audit-pilot.md +466 -0
  348. package/omega/Agentik_SSOT/skills/audit-tracker.md +147 -0
  349. package/omega/Agentik_SSOT/skills/automationaudit/SKILL.md +161 -0
  350. package/omega/Agentik_SSOT/skills/cadence/SKILL.md +76 -0
  351. package/omega/Agentik_SSOT/skills/codeaudit/SKILL.md +153 -0
  352. package/omega/Agentik_SSOT/skills/copyaudit/SKILL.md +161 -0
  353. package/omega/Agentik_SSOT/skills/dataaudit/SKILL.md +157 -0
  354. package/omega/Agentik_SSOT/skills/debugaudit/SKILL.md +161 -0
  355. package/omega/Agentik_SSOT/skills/dispatch/SKILL.md +79 -0
  356. package/omega/Agentik_SSOT/skills/dxaudit/SKILL.md +161 -0
  357. package/omega/Agentik_SSOT/skills/featureaudit/SKILL.md +161 -0
  358. package/omega/Agentik_SSOT/skills/flowaudit/SKILL.md +165 -0
  359. package/omega/Agentik_SSOT/skills/genesis/SKILL.md +116 -0
  360. package/omega/Agentik_SSOT/skills/handoff/SKILL.md +117 -0
  361. package/omega/Agentik_SSOT/skills/logicaudit/SKILL.md +165 -0
  362. package/omega/Agentik_SSOT/skills/motionaudit/SKILL.md +165 -0
  363. package/omega/Agentik_SSOT/skills/newcmd.md +300 -0
  364. package/omega/Agentik_SSOT/skills/perfaudit/SKILL.md +161 -0
  365. package/omega/Agentik_SSOT/skills/plan/SKILL.md +127 -0
  366. package/omega/Agentik_SSOT/skills/pursue/SKILL.md +68 -0
  367. package/omega/Agentik_SSOT/skills/quality-arsenal.md +180 -0
  368. package/omega/Agentik_SSOT/skills/rag-route.md +9 -0
  369. package/omega/Agentik_SSOT/skills/refontaudit/SKILL.md +165 -0
  370. package/omega/Agentik_SSOT/skills/retentionaudit/SKILL.md +165 -0
  371. package/omega/Agentik_SSOT/skills/secaudit/SKILL.md +157 -0
  372. package/omega/Agentik_SSOT/skills/seoaudit/SKILL.md +161 -0
  373. package/omega/Agentik_SSOT/skills/skill-auditor/SKILL.md +83 -0
  374. package/omega/Agentik_SSOT/skills/skill-finder/SKILL.md +116 -0
  375. package/omega/Agentik_SSOT/skills/uiuxaudit/SKILL.md +165 -0
  376. package/package.json +2 -2
@@ -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,300 @@
1
+ ---
2
+ name: newcmd
3
+ description: >
4
+ Skill engineering lab. Creates production-grade commands with Quality DNA: Gestalt clarity gate,
5
+ strong identity, scope detection, input/output contracts, verification gates, and full Omega
6
+ registration (Oracle, Telegram, SMITH). For audits: adds Popper falsification + scoring.
7
+ Use when user says "/newcmd", "create a command", "new skill", "new audit", "forge".
8
+ allowed-tools: ["Read", "Write", "Edit", "Bash", "Glob", "Grep", "Agent"]
9
+ ---
10
+
11
+ # /newcmd — Skill Engineering Lab
12
+
13
+ > *"A mediocre skill is worse than no skill — it teaches the system bad habits."*
14
+
15
+ ---
16
+
17
+ ## PHILOSOPHY: THE QUALITY DNA
18
+
19
+ Every skill created by /newcmd carries the same DNA. Not because of bureaucracy — because it works.
20
+
21
+ **Gestalt Clarity** applies to ALL skills (not just audits):
22
+ - Understand BEFORE acting. A skill that jumps into execution without understanding context produces generic garbage.
23
+ - Every skill has a HINGE MOMENT — the single decision/output that determines if the entire skill succeeded or failed. Identify it. Nail it.
24
+ - One question resolves more than ten assumptions.
25
+
26
+ **Popper Falsification** applies to AUDIT skills only:
27
+ - Don't verify. Falsify. Prove it lies.
28
+ - Every claim is a hypothesis. Test it.
29
+
30
+ **The result:** Skills that feel like they were written by a domain expert who's done this 1000 times, not an AI following a template.
31
+
32
+ ---
33
+
34
+ ## SKILL TYPES & QUALITY DNA
35
+
36
+ ### TYPE 1: FORENSIC AUDIT (scored, multi-phase, auto-fix)
37
+
38
+ ```
39
+ Examples: /codeaudit, /debugaudit, /perfaudit, /secaudit
40
+ DNA: Gestalt + Popper
41
+ Structure: 15-25 phases, scoring /300-450, auto-fix, re-audit
42
+ ```
43
+
44
+ ### TYPE 2: CREATIVE PIPELINE (multi-stage, iterative)
45
+
46
+ ```
47
+ Examples: /gestalt, /deepux, /brand-identity, /vision
48
+ DNA: Gestalt (clarity → research → structure → polish)
49
+ Structure: 3-5 sequential stages, each gate-checked
50
+ ```
51
+
52
+ ### TYPE 3: WORKFLOW ORCHESTRATOR (multi-step, dependencies)
53
+
54
+ ```
55
+ Examples: /build, /new, /planner, /linear-fix
56
+ DNA: Gestalt (understand → plan → execute → verify)
57
+ Structure: Sequential steps, rollback plan, completion gate
58
+ ```
59
+
60
+ ### TYPE 4: FOCUSED TOOL (single purpose, fast)
61
+
62
+ ```
63
+ Examples: /reader, /tunnel, /switch, /prompt
64
+ DNA: Gestalt-lite (scope detection, clear output)
65
+ Structure: Input → Process → Output, minimal ceremony
66
+ ```
67
+
68
+ ---
69
+
70
+ ## THE UNIVERSAL QUALITY DNA (ALL skills MUST have)
71
+
72
+ Every skill, regardless of type, MUST have these 8 elements:
73
+
74
+ ### DNA-1: IDENTITY (who am I?)
75
+ ```markdown
76
+ # /name — Title
77
+
78
+ > *"Punchy one-liner that captures the skill's mindset"*
79
+
80
+ ## IDENTITY
81
+ You are not a {generic role}. You are a {specific expert persona}.
82
+ {2-3 sentences establishing expertise, taste, and standards.}
83
+ ```
84
+
85
+ **Why:** Without identity, the skill behaves like a generic assistant. With it, it behaves like a specialist.
86
+
87
+ ### DNA-2: SCOPE DETECTION (what does the user want?)
88
+ ```markdown
89
+ ## SCOPE DETECTION (automatic from user prompt)
90
+ Parse the user's intent. No clarification needed for common patterns.
91
+
92
+ "/{name}" → Full pipeline, default scope
93
+ "/{name} [target]" → Scoped to specific target
94
+ "/{name} [problem]" → Focused on the described problem
95
+ "/{name} --focus {area}" → Narrower scope with full depth (rule 46: no --quick)
96
+ ```
97
+
98
+ **Why:** A skill that always asks "what do you want?" wastes the user's time. Parse intent, ask only when genuinely ambiguous.
99
+
100
+ ### DNA-3: HINGE MOMENT (what's the ONE thing that matters most?)
101
+ ```markdown
102
+ ## HINGE MOMENT
103
+ Before executing, identify the single output/decision/element
104
+ that determines if this skill succeeded or failed.
105
+ Allocate 50% of effort to the hinge moment, 50% to everything else.
106
+ ```
107
+
108
+ **Why:** Equal effort across all steps produces mediocre everything. Concentrated effort on the hinge produces excellence where it matters.
109
+
110
+ ### DNA-4: INPUT/OUTPUT CONTRACT (what goes in, what comes out?)
111
+ ```markdown
112
+ ## OUTPUT CONTRACT
113
+ Clearly define:
114
+ - What files/artifacts are created
115
+ - Where they're saved
116
+ - What format they use
117
+ - What the user should do with them
118
+ ```
119
+
120
+ **Why:** A skill that produces output the user can't find or use is useless.
121
+
122
+ ### DNA-5: PROGRESSIVE DEPTH (simple → advanced)
123
+ ```markdown
124
+ ## USAGE
125
+ Simple: /{name} → Default behavior, sensible defaults
126
+ Targeted: /{name} [scope] → Focused on specific area
127
+ Advanced: /{name} --deep [scope] → Maximum depth, all options
128
+ ```
129
+
130
+ **Why:** New users need simplicity. Power users need depth. Both from the same command.
131
+
132
+ ### DNA-6: VERIFICATION GATE (did it actually work?)
133
+ ```markdown
134
+ ## VERIFICATION
135
+ Before reporting done:
136
+ - [ ] Output exists and is well-formed
137
+ - [ ] Build/compile/import passes (if code was changed)
138
+ - [ ] The hinge moment was nailed (not just attempted)
139
+ ```
140
+
141
+ **Why:** "Done" without verification is a lie. Every skill self-checks.
142
+
143
+ ### DNA-7: INTEGRATION (how does it connect to the ecosystem?)
144
+ ```markdown
145
+ ## ECOSYSTEM INTEGRATION
146
+ - When to use BEFORE this skill: {prerequisites}
147
+ - When to use AFTER this skill: {next steps}
148
+ - Related skills: {complementary commands}
149
+ ```
150
+
151
+ **Why:** Skills in isolation are tools. Skills in context are a system.
152
+
153
+ ### DNA-8: DOMAIN EXPERTISE (not generic — specific)
154
+ ```
155
+ The skill must contain domain-specific knowledge that a generic
156
+ assistant wouldn't have. Specific checks, specific patterns,
157
+ specific best practices, specific anti-patterns.
158
+
159
+ BAD: "Check if the code is good"
160
+ GOOD: "Check if N+1 queries exist by scanning for loops that
161
+ call database queries. Pattern: for item in items: db.get(item.related_id)"
162
+ ```
163
+
164
+ **Why:** Generic instructions produce generic results. Specific instructions produce expert results.
165
+
166
+ ---
167
+
168
+ ## ADDITIONAL DNA FOR AUDIT SKILLS (Type 1 only)
169
+
170
+ On top of the 8 universal DNA elements, audit skills add:
171
+
172
+ ### AUDIT-DNA-1: POPPER FALSIFICATION
173
+ ```
174
+ Don't verify it works. Prove it LIES.
175
+ Every phase asks: "where does this claim diverge from reality?"
176
+ Falsification categories specific to the domain.
177
+ ```
178
+
179
+ ### AUDIT-DNA-2: SCORING MATRIX
180
+ ```
181
+ Each phase scored 0-10, weighted by user impact.
182
+ Total 300-450 points. Normalized to /100. Letter grade S-F.
183
+ ```
184
+
185
+ ### AUDIT-DNA-3: AUTO-FIX PIPELINE
186
+ ```
187
+ Phase N+1: Generate fix plan (prioritized by severity)
188
+ Phase N+2: Execute fixes (sequential, with rollback)
189
+ Phase N+3: Re-audit (verify fixes, detect regressions)
190
+ ```
191
+
192
+ ### AUDIT-DNA-4: PARALLEL EXECUTION
193
+ ```
194
+ Group phases into 4-5 waves for maximum parallelism.
195
+ Wave 1: Discovery (sequential)
196
+ Wave 2-3: Analysis (parallel agents)
197
+ Wave 4: Verdict + Fix (sequential)
198
+ ```
199
+
200
+ ---
201
+
202
+ ## PROCESS
203
+
204
+ ### Step 1: UNDERSTAND
205
+ Ask 1-2 questions max. Determine:
206
+ - Domain and purpose
207
+ - Type (audit / creative / workflow / tool)
208
+ - Expected output
209
+
210
+ ### Step 2: RESEARCH
211
+ Before writing a single line:
212
+ - Read 2-3 existing skills of the same type for structural reference
213
+ - Identify domain best practices (what would a world expert check?)
214
+ - Identify the HINGE MOMENT for this domain
215
+
216
+ ### Step 3: GENERATE
217
+ Write the skill file applying ALL Quality DNA elements.
218
+ File should be:
219
+ - Audit: 500-800 lines (comprehensive, forensic)
220
+ - Creative: 300-500 lines (stages, examples, quality gates)
221
+ - Workflow: 200-400 lines (steps, dependencies, verification)
222
+ - Tool: 100-200 lines (focused, fast, clear)
223
+
224
+ ### Step 4: REGISTER IN OMEGA
225
+
226
+ **Mandatory for ALL skills:**
227
+
228
+ 1. **Oracle routing** — `~/.claude/rules/001-smart-routing.md`
229
+ Add to Key Routes table with trigger patterns
230
+
231
+ 2. **CLAUDE.md** — `~/CLAUDE.md`
232
+ Add to appropriate table
233
+
234
+ 3. **AISB Telegram bot** — 3 files:
235
+ - `bot/aisb/handlers.py` → SKILL_COMMANDS dict + aliases
236
+ - `bot/aisb/commands.py` → help text
237
+ - `bot/aisb/prompts.py` → oracle skills list
238
+
239
+ 4. **AISB docs** (audits only):
240
+ - `~/.aisb/docs/ARCHITECTURE.md` → command table
241
+ - `~/.aisb/docs/ORCHESTRATION.md` → command table
242
+
243
+ 5. **Verify:**
244
+ ```bash
245
+ cd ~/VibeCoding/work/agentik-monitor/bot && source venv/bin/activate
246
+ python -c "from aisb.handlers import SKILL_COMMANDS; print('{name}' in SKILL_COMMANDS)"
247
+ ```
248
+
249
+ ### Step 5: QUALITY GATE
250
+
251
+ Before reporting done:
252
+ - [ ] File exists and contains ALL applicable DNA elements
253
+ - [ ] Identity is specific (not generic)
254
+ - [ ] Scope detection handles 3+ patterns
255
+ - [ ] Hinge moment is identified and emphasized
256
+ - [ ] Domain expertise is specific (not "check if good")
257
+ - [ ] Output contract is clear
258
+ - [ ] Verification gate exists
259
+ - [ ] Bot imports pass after registration
260
+ - [ ] At least 2 trigger phrases in description
261
+
262
+ ### Step 6: REPORT
263
+
264
+ ```
265
+ Command: /{name}
266
+ Type: {audit | creative | workflow | tool}
267
+ DNA: {8/8 universal + N/4 audit-specific}
268
+ Hinge: {the ONE thing that determines success}
269
+ File: ~/.claude/commands/{name}.md ({N} lines)
270
+ Omega: Oracle ✓ | CLAUDE.md ✓ | Telegram ✓ | Docs ✓
271
+ ```
272
+
273
+ ---
274
+
275
+ ## ANTI-PATTERNS (what NOT to do)
276
+
277
+ | Anti-Pattern | Why it's bad | What to do instead |
278
+ |-------------|-------------|-------------------|
279
+ | Generic identity ("You are a helpful assistant") | Produces bland output | Specific expert persona with taste |
280
+ | No scope detection ("What would you like?") | Wastes user time | Parse intent from prompt |
281
+ | Equal effort on all steps | Mediocre everywhere | 50% effort on hinge moment |
282
+ | "Check if it's good" | Generic, unverifiable | Specific checks with specific criteria |
283
+ | No verification gate | "Done" is unverified | Self-check before reporting |
284
+ | No ecosystem integration | Isolated tool | References related skills |
285
+ | Copy-paste template | Soulless skill | Domain-specific expertise |
286
+
287
+ ---
288
+
289
+ ## SMITH INTEGRATION
290
+
291
+ SMITH improves skills over time by:
292
+ 1. Reading results from repeated use across projects
293
+ 2. Identifying phases/steps that consistently produce weak output → strengthen them
294
+ 3. Identifying domain patterns not covered → propose new checks
295
+ 4. Adjusting scoring weights based on real-world severity distribution
296
+ 5. Proposing new skills based on frequently requested capabilities
297
+
298
+ ---
299
+
300
+ *"/newcmd — Engineer skills, don't template them. Quality DNA in every command."*