@agentikos/omega-os 0.2.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 (367) 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/marketplaces/design-discipline.yaml +86 -0
  340. package/omega/Agentik_SSOT/skills/a11yaudit/SKILL.md +161 -0
  341. package/omega/Agentik_SSOT/skills/apiaudit/SKILL.md +157 -0
  342. package/omega/Agentik_SSOT/skills/automationaudit/SKILL.md +161 -0
  343. package/omega/Agentik_SSOT/skills/cadence/SKILL.md +76 -0
  344. package/omega/Agentik_SSOT/skills/codeaudit/SKILL.md +153 -0
  345. package/omega/Agentik_SSOT/skills/copyaudit/SKILL.md +161 -0
  346. package/omega/Agentik_SSOT/skills/dataaudit/SKILL.md +157 -0
  347. package/omega/Agentik_SSOT/skills/debugaudit/SKILL.md +161 -0
  348. package/omega/Agentik_SSOT/skills/dispatch/SKILL.md +79 -0
  349. package/omega/Agentik_SSOT/skills/dxaudit/SKILL.md +161 -0
  350. package/omega/Agentik_SSOT/skills/featureaudit/SKILL.md +161 -0
  351. package/omega/Agentik_SSOT/skills/flowaudit/SKILL.md +165 -0
  352. package/omega/Agentik_SSOT/skills/genesis/SKILL.md +116 -0
  353. package/omega/Agentik_SSOT/skills/handoff/SKILL.md +117 -0
  354. package/omega/Agentik_SSOT/skills/logicaudit/SKILL.md +165 -0
  355. package/omega/Agentik_SSOT/skills/motionaudit/SKILL.md +165 -0
  356. package/omega/Agentik_SSOT/skills/perfaudit/SKILL.md +161 -0
  357. package/omega/Agentik_SSOT/skills/plan/SKILL.md +127 -0
  358. package/omega/Agentik_SSOT/skills/pursue/SKILL.md +68 -0
  359. package/omega/Agentik_SSOT/skills/rag-route.md +9 -0
  360. package/omega/Agentik_SSOT/skills/refontaudit/SKILL.md +165 -0
  361. package/omega/Agentik_SSOT/skills/retentionaudit/SKILL.md +165 -0
  362. package/omega/Agentik_SSOT/skills/secaudit/SKILL.md +157 -0
  363. package/omega/Agentik_SSOT/skills/seoaudit/SKILL.md +161 -0
  364. package/omega/Agentik_SSOT/skills/skill-auditor/SKILL.md +83 -0
  365. package/omega/Agentik_SSOT/skills/skill-finder/SKILL.md +116 -0
  366. package/omega/Agentik_SSOT/skills/uiuxaudit/SKILL.md +165 -0
  367. package/package.json +2 -2
@@ -0,0 +1,41 @@
1
+ # audit-patrol — autonomous charter that re-runs the Quality Arsenal periodically.
2
+ #
3
+ # Selected via `autonomous_agents: [audit-patrol]` in the install manifest.
4
+ # Step 55 copies this file to Agentik_Orchestration/autonomous/audit-patrol.yaml
5
+ # where the AutonomousSupervisor (omega daemon autonomous) picks it up.
6
+ #
7
+ # The patrol runs `omega audit all` against the live tree, persists every
8
+ # verdict to Agentik_Runtime/audits.db, and lets the doctor's "audit
9
+ # history" section show trend (↑ improving / → stable / ↓ degrading).
10
+ #
11
+ # Cadence: every 6 hours by default. Tune for your VPS load — running on
12
+ # a 10-project tree can take a few minutes per pass.
13
+
14
+ id: audit-patrol
15
+ description: >
16
+ Re-run every applicable forensic audit on the live tree at a regular
17
+ cadence. Records scores to audit history so the doctor + dashboard can
18
+ show whether the project is improving over time.
19
+ enabled: true
20
+
21
+ trigger:
22
+ type: cron
23
+ # Stdlib 5-field cron — see omega_engine.autonomous.
24
+ schedule: "0 */6 * * *"
25
+
26
+ role: worker
27
+
28
+ spec:
29
+ intent: >
30
+ Run `omega audit all --scope $OMEGA_HOME/Agentik_Coding` in read-only
31
+ mode. Record every verdict to history. If any audit dropped below
32
+ its threshold since the previous run, append a `pending_action` to
33
+ the patrol's .done.json so the operator sees it on next inspection.
34
+ budgets:
35
+ max_tasks_per_run: 1
36
+ max_tokens_per_run: 200000
37
+
38
+ io:
39
+ inbound: []
40
+ outbound:
41
+ - { kind: report, channel: project_topic }
@@ -0,0 +1,43 @@
1
+ # smith-reflect — autonomous charter that runs Smith reflection daily.
2
+ #
3
+ # Drops into Agentik_Orchestration/autonomous/smith-reflect.yaml when
4
+ # `autonomous_agents: [smith-reflect]` is in the manifest. The
5
+ # AutonomousSupervisor picks it up on its next tick.
6
+ #
7
+ # Cadence: once a day at 03:00 UTC. The Smith reflection analyses the
8
+ # last 30 days of audit history + worker outcomes and writes insights
9
+ # as JSON files into Agentik_Extra/staging/promotion/ — the educator
10
+ # staging pipeline picks them up.
11
+ #
12
+ # This is OPT-IN and READ-ONLY. Smith never edits the live tree; it
13
+ # only proposes. The operator's existing promotion gates apply.
14
+
15
+ id: smith-reflect
16
+ description: >
17
+ Daily reflection on audit + worker outcomes. Detects patterns
18
+ (weak audits, repeated pending actions, regressions) and writes
19
+ structured insights to the staging pipeline.
20
+ enabled: false # opt-in — flip to true after reading
21
+
22
+ trigger:
23
+ type: cron
24
+ schedule: "0 3 * * *" # daily at 03:00 UTC
25
+
26
+ role: smith
27
+
28
+ spec:
29
+ intent: >
30
+ Read the last 30 days of audit_runs + .done.json files. Identify
31
+ audits below threshold consistently, regressions in the last 7
32
+ days, repeated pending_actions, and the failure-vs-completion
33
+ ratio. Write each finding as a separate JSON file in
34
+ Agentik_Extra/staging/promotion/smith-<ts>-N.json — the educator
35
+ pipeline reads them in the next promotion cycle.
36
+ budgets:
37
+ max_tasks_per_run: 1
38
+ max_tokens_per_run: 50000
39
+
40
+ io:
41
+ inbound: []
42
+ outbound:
43
+ - { kind: report, channel: project_topic }
@@ -0,0 +1,46 @@
1
+ # ssh-key-rotate — autonomous charter for periodic SSH key rotation.
2
+ #
3
+ # Drops into Agentik_Orchestration/autonomous/ssh-key-rotate.yaml when
4
+ # selected in `autonomous_agents: [ssh-key-rotate]` in the manifest. The
5
+ # AutonomousSupervisor picks it up on its next tick.
6
+ #
7
+ # Cadence: quarterly (1st day of Jan/Apr/Jul/Oct at 03:00 UTC). The
8
+ # charter dispatches a worker mission whose intent is to:
9
+ # 1. Generate a new SSH keypair under $OMEGA_HOME/Agentik_Extra/var/ssh-rotation/
10
+ # 2. Add the new public key to the operator's authorized_keys
11
+ # 3. Notify the project topic with the new fingerprint + rollback steps
12
+ # 4. Schedule a follow-up "remove old key" 7 days later
13
+ #
14
+ # This charter is OPT-IN and intentionally conservative — the rotation
15
+ # does NOT remove the old key on its own. The follow-up step is a manual
16
+ # `omega ssh-rotate confirm` after the operator has validated the new
17
+ # key works on every machine they SSH from.
18
+
19
+ id: ssh-key-rotate
20
+ description: >
21
+ Quarterly SSH keypair rotation reminder + draft. Generates the new
22
+ key, suggests authorized_keys update, never removes the old key
23
+ without explicit operator confirmation.
24
+ enabled: false # opt-in — flip to true after reading
25
+
26
+ trigger:
27
+ type: cron
28
+ schedule: "0 3 1 1,4,7,10 *" # 1st of Jan/Apr/Jul/Oct at 03:00 UTC
29
+
30
+ role: worker
31
+
32
+ spec:
33
+ intent: >
34
+ SSH key rotation cycle. Generate a new keypair under
35
+ $OMEGA_HOME/Agentik_Extra/var/ssh-rotation/<YYYY-MM-DD>/, add the
36
+ public key to ~/.ssh/authorized_keys (without removing existing
37
+ keys), and post the new fingerprint + per-machine update steps
38
+ into the project topic. Do NOT remove any existing key.
39
+ budgets:
40
+ max_tasks_per_run: 1
41
+ max_tokens_per_run: 100000
42
+
43
+ io:
44
+ inbound: []
45
+ outbound:
46
+ - { kind: report, channel: project_topic }
@@ -0,0 +1,38 @@
1
+ # support-agent — example autonomous-agent charter shipped by the installer.
2
+ #
3
+ # Selected via `autonomous_agents: [support-agent]` in the install manifest;
4
+ # step_autonomous copies this file to Agentik_Orchestration/autonomous/<id>.yaml
5
+ # where the AutonomousSupervisor picks it up.
6
+ #
7
+ # Charters are pure data. The supervisor binds the trigger, dispatches a task
8
+ # with the role/spec, and emits events through the same engine that runs
9
+ # user-driven missions — see docs/AUTONOMOUS-AGENTS.md.
10
+
11
+ id: support-agent
12
+ description: >
13
+ Triage inbound issues from configured channels (Telegram, email, GitHub),
14
+ attempt automated remediation for known patterns, draft responses for
15
+ human review on the rest.
16
+ enabled: true
17
+
18
+ trigger:
19
+ type: cron
20
+ # Every 4 hours, on the hour. Stdlib 5-field cron — see omega_engine.autonomous.
21
+ schedule: "0 */4 * * *"
22
+
23
+ role: support
24
+
25
+ spec:
26
+ intent: >
27
+ Pull new items from the inbound queue, classify each, run any safe
28
+ automated remediation, and draft a human-reviewable response for the rest.
29
+ budgets:
30
+ max_tasks_per_run: 5
31
+ max_tokens_per_run: 50000
32
+
33
+ # Wiring — what surfaces this charter reads/writes.
34
+ io:
35
+ inbound:
36
+ - { kind: telegram, scope: project }
37
+ outbound:
38
+ - { kind: report, channel: project_topic }
package/docs/AUDITS.md ADDED
@@ -0,0 +1,85 @@
1
+ # Omega OS — Quality Arsenal (18 audits)
2
+
3
+ > Every audit lives in `Agentik_SSOT/audits/<id>.yaml`. They feed the
4
+ > `ArsenalGate`, which is the verification gate in the orchestration engine:
5
+ > a worker's `CLAIMED_DONE` only becomes `VERIFIED` if every applicable audit
6
+ > passes.
7
+
8
+ ## Why we replaced the legacy commands
9
+
10
+ The originals live under `~/.claude/commands/*audit.md` as freeform prompt
11
+ files — 700–1,900 lines each, English-only, no machine-actionable scoring,
12
+ no deterministic gather phase, no per-domain weighting, and bound to a
13
+ single orchestrator. They are excellent prompts, but they are *prompts*, not
14
+ audits an engine can run.
15
+
16
+ The Omega OS rewrite makes each audit:
17
+
18
+ | Concern | Legacy | Omega OS |
19
+ |---|---|---|
20
+ | Format | Markdown prompt | YAML data |
21
+ | Doctrine | Embedded in each file | Shared shell in `audit_arsenal._DOCTRINE` |
22
+ | Deterministic phase | None | `gather:` runs real linters/tools first |
23
+ | Agentic phase | Yes | Yes (now structured: `phases:` + `falsification:`) |
24
+ | Output | Free text | `ArsenalVerdict { score, findings, fixes }` |
25
+ | Hookable | No | `ArsenalGate` plugs into the engine as the audit gate |
26
+ | Per-domain weight | No | `weight:` + `threshold:` per audit |
27
+ | Scope filter | No | `applies_to.changed:` pattern list |
28
+
29
+ The shared Gestalt-Popper doctrine (`_DOCTRINE` in `audit_arsenal.py`) carries
30
+ the hinge-point rule, the falsification mandate, and the "claim vs reality"
31
+ framing into *every* audit — so we don't drift across 18 separate files.
32
+
33
+ ## The 18 audits — per-file evidence
34
+
35
+ | Audit | Domain question | Phases | Gather tools | Size |
36
+ |---|---|---:|---:|---:|
37
+ | a11yaudit | Is it ACCESSIBLE? | 14 | 3 | 5.8 KB |
38
+ | apiaudit | Is the API SOLID? | 13 | 5 | 5.4 KB |
39
+ | automationaudit | Is automation RELIABLE? | 14 | 7 | 5.2 KB |
40
+ | codeaudit | Is the code SOLID? | 12 | 4 | 2.8 KB |
41
+ | copyaudit | Is the copy CLEAR? | 14 | 4 | 4.1 KB |
42
+ | dataaudit | Is the data INTACT? | 13 | 6 | 5.7 KB |
43
+ | debugaudit | What is BROKEN right now? | 14 | 6 | 4.7 KB |
44
+ | dxaudit | Is the DX SMOOTH? | 14 | 7 | 4.6 KB |
45
+ | featureaudit | Is the product COMPLETE? | 14 | 5 | 4.3 KB |
46
+ | flowaudit | Does the experience WORK? | 15 | 4 | 4.9 KB |
47
+ | logicaudit | Is the logic OPTIMAL? | 15 | 5 | 5.8 KB |
48
+ | motionaudit | Is the motion PURPOSEFUL? | 15 | 2 | 4.8 KB |
49
+ | perfaudit | Is it FAST enough? | 14 | 5 | 4.8 KB |
50
+ | refontaudit | Is the redesign coherent? | 15 | 3 | 5.6 KB |
51
+ | retentionaudit | What FEATURES are missing? | 15 | 6 | 5.5 KB |
52
+ | secaudit | Is it SECURE? | 13 | 6 | 5.2 KB |
53
+ | seoaudit | Is it DISCOVERABLE? | 14 | 6 | 4.8 KB |
54
+ | uiuxaudit | Is the interface BEAUTIFUL? | 15 | 0 ⓘ | 4.1 KB |
55
+
56
+ ⓘ `uiuxaudit.gather` is intentionally empty — design has no reliable
57
+ deterministic linter, and a 1px hierarchy break or a rogue color used for the
58
+ wrong intent isn't catchable by `eslint` or `axe`. The agentic falsification
59
+ pass does that job. Every other domain has at least 2 real gather tools.
60
+
61
+ **Phase totals:** 256 distinct domain phases across the 18 audits. Each phase
62
+ is one "claim under test" that the falsification pass must concretely
63
+ disprove or accept with cited evidence.
64
+
65
+ **Gather totals:** 90 deterministic tool invocations (`ruff`, `eslint`, `tsc`,
66
+ `axe-cli`, `lighthouse`, `npm audit`, `prisma validate`, `playwright`, `gh`,
67
+ `grep`, `lhci`, …) — all run *before* the LLM is consulted, so the agentic
68
+ pass sees real data, not pure prose.
69
+
70
+ ## What this gives the engine
71
+
72
+ Because every audit is data, the `ArsenalGate` can:
73
+
74
+ 1. Filter audits by `applies_to.roles` and `applies_to.changed` patterns —
75
+ a CSS-only diff doesn't trigger `secaudit`.
76
+ 2. Weight scores by `weight` and `threshold` per domain — design failures
77
+ block ship harder than copy nits.
78
+ 3. Surface findings to the educators (the `Smith` learner reads audit
79
+ results to propose systemic improvements).
80
+ 4. Render a single PDF report covering every domain that ran — the
81
+ `report.py` whitepaper template iterates the verdict structure directly.
82
+
83
+ Re-creating any audit means editing one short YAML, not a 1,500-line Markdown
84
+ prompt — and the shared doctrine guarantees the rest of the system keeps
85
+ working the same way.
@@ -0,0 +1,214 @@
1
+ # OmegaOS — what the install still does not have
2
+
3
+ A deliberately deep audit of what would round out the system. Sorted by
4
+ how much pain the gap actually causes today, with concrete designs for
5
+ each — not just "would be nice".
6
+
7
+ This is the **truth document**. Items we ship today aren't in this file.
8
+
9
+ ---
10
+
11
+ ## Tier 1 — pain points we feel today
12
+
13
+ ### 1. Conversation history per Telegram topic ✅ (fixed in v0.3.x)
14
+
15
+ **Was:** The Telegram daemon called `run_mission(intent=text)` with only
16
+ the new line. The Oracle saw a fresh mission every turn — no memory of the
17
+ exchange. The user's reply to a follow-up question landed without context.
18
+
19
+ **Now:** `omega_engine.telegram_history` persists every inbound + outbound
20
+ message per topic in `Agentik_Runtime/telegram-history.db`. The daemon
21
+ prepends the last 10 exchanges to the intent before calling `run_mission`.
22
+ DM messages are explicitly refused with a helpful redirect.
23
+
24
+ ### 2. Notifications never go to the AISB DM ✅ (fixed in v0.3.x)
25
+
26
+ `TelegramBridge` only exposes `post(topic_id, ...)` / `send_document(topic_id, ...)`.
27
+ There is no DM send method. The daemon also explicitly rejects starting
28
+ a mission from a DM and tells the user to open the project topic.
29
+
30
+ ### 3. API key validation at install time (NOT FIXED)
31
+
32
+ **Pain:** an operator wires `providers: [claude]` in the manifest with
33
+ their key in `$CLAUDE_API_KEY`, install passes, then the first mission
34
+ fails because the key is expired/wrong/format-broken.
35
+
36
+ **Design:** new `step_validate_providers` (between step 35 and 40) that
37
+ runs a 1-token test call against every wired provider's `/messages` API.
38
+ Failures are surfaced immediately, install can be re-run after fixing.
39
+
40
+ ### 4. "Ready to go" verdict in `omega doctor` (NOT FIXED)
41
+
42
+ **Pain:** doctor prints a wall of `[ok]` / `[warn]` lines and ends with
43
+ `PASS with warnings`. Operator can't tell at a glance whether they can
44
+ actually start a mission.
45
+
46
+ **Design:** doctor ends with one of three explicit verdicts:
47
+ - `READY` — can run missions today
48
+ - `PARTIAL` — engine fine, some optional surfaces missing (Telegram, ...)
49
+ - `NOT READY` — at least one critical surface broken
50
+
51
+ With a one-liner of what to fix.
52
+
53
+ ### 5. Shell completions (NOT FIXED)
54
+
55
+ **Pain:** `omega <tab>` doesn't complete. Operators have to remember 30+
56
+ subcommands.
57
+
58
+ **Design:** ship `omega/Agentik_Tools/completions/{bash,zsh,fish}` files
59
+ generated from the argparse tree (we can use `argcomplete` or hand-roll).
60
+ `omega completions install --shell bash` writes them to the right place.
61
+
62
+ ### 6. Update checker (NOT FIXED)
63
+
64
+ **Pain:** operator installs v0.3.1, doesn't know v0.4.0 is out three weeks
65
+ later.
66
+
67
+ **Design:** `omega upgrade --check` queries
68
+ `https://registry.npmjs.org/@agentikos/omega-os` for the latest, prints a
69
+ diff if behind. Optionally wired into the autonomous supervisor as a
70
+ weekly charter.
71
+
72
+ ---
73
+
74
+ ## Tier 2 — would meaningfully harden production
75
+
76
+ ### 7. `omega smoke` — quick post-install verification
77
+
78
+ A 30-second end-to-end test: run a synthetic mission, check the event log,
79
+ check the .done.json shape, exit code reflects health. CI can call it.
80
+
81
+ ### 8. `omega prune` — bounded growth
82
+
83
+ The event log + audit history + telegram history all grow forever. Add:
84
+ - `omega prune events --older-than 30d`
85
+ - `omega prune audits --keep-last 100`
86
+ - `omega prune telegram --older-than 90d` (already exists in module, no CLI yet)
87
+
88
+ ### 9. `omega backup` + `omega restore`
89
+
90
+ Full encrypted snapshot of `$OMEGA_HOME/Agentik_Runtime/` +
91
+ `$OMEGA_HOME/Agentik_Extra/etc/secrets/`. Restore on a new VPS.
92
+
93
+ **Design:** tar + age-encrypt to a passed recipient (or the operator's
94
+ existing `.vault-pub`). Restore reverses it. Operator can ship the
95
+ single tarball to a new machine and recover.
96
+
97
+ ### 10. Token usage + cost dashboard
98
+
99
+ We already record per-account usage via `BillingAggregator`. The
100
+ `omega billing` CLI shows raw numbers. Missing:
101
+ - USD projection per provider (with built-in rate cards we update via the
102
+ `update checker` from tier 1)
103
+ - Weekly trend ("up 23% from last week")
104
+ - Per-mission cost on the mission report
105
+
106
+ ### 11. Web UI / HTTP API (mentioned but not built)
107
+
108
+ The engine daemon has an HTTP API for dispatch. There's no UI. Even a
109
+ read-only one (`omega status` web-style) would be useful.
110
+
111
+ ### 12. Backup verification — decrypt test
112
+
113
+ Backups are useless if they don't restore. `omega backup verify` would
114
+ decrypt the latest backup into a temp dir and run `omega doctor` against
115
+ it.
116
+
117
+ ### 13. Pre-commit hooks for projects
118
+
119
+ `omega project new --name X` could install pre-commit hooks that run
120
+ `omega audit run codeaudit --scope .` before commits land. The dispatcher
121
+ contract already speaks the same .done.json schema.
122
+
123
+ ---
124
+
125
+ ## Tier 3 — nice-to-have
126
+
127
+ ### 14. Stack-aware project bootstrap
128
+
129
+ `omega project new <name> --stack nextjs` could:
130
+ - Run `npx create-next-app`
131
+ - Wire Convex / Clerk / Stripe MCP secrets if detected
132
+ - Add the project's CWD to the topology's `files_owned` defaults
133
+
134
+ ### 15. Slack / Email bridges
135
+
136
+ Same shape as `TelegramBridge` — abstract surface. Useful for orgs
137
+ that don't run Telegram.
138
+
139
+ ### 16. Webhooks IN (GitHub, Linear, Stripe)
140
+
141
+ The autonomous supervisor already has a `wake_webhook` trigger. We
142
+ need:
143
+ - A small HTTP listener
144
+ - Signature verification per source
145
+ - A `webhooks: [...]` block in the manifest
146
+
147
+ ### 17. Mission rerun from history
148
+
149
+ `omega mission <id> rerun` would replay an old mission's intent with
150
+ fresh state — useful when you upgrade the engine and want to verify
151
+ nothing regressed.
152
+
153
+ ### 18. SSH key rotation automation
154
+
155
+ The autonomous supervisor + cadence are perfect for this — define an
156
+ SSH key rotation charter, run quarterly. Same idea for any API key
157
+ rotation.
158
+
159
+ ### 19. Cross-audit correlation
160
+
161
+ Findings from `/perfaudit` (Core Web Vitals) inform `/seoaudit`.
162
+ Findings from `/dataaudit` (schema) inform `/apiaudit` (contracts).
163
+ This was mentioned earlier and skipped because the ROI was unclear —
164
+ still skipped, but documented here so we don't lose it.
165
+
166
+ ### 20. Audit "diff" view
167
+
168
+ `omega audit history codeaudit` shows scores over time. Missing:
169
+ `omega audit diff <run-id-1> <run-id-2>` that compares the actual
170
+ findings between two runs — what was fixed, what's new, what
171
+ regressed.
172
+
173
+ ### 21. Multi-VPS deployment (federation)
174
+
175
+ The whole engine assumes one machine. For an operator who runs
176
+ multiple VPS, no story exists yet for `omega run` on machine A
177
+ delegating to a worker on machine B.
178
+
179
+ ---
180
+
181
+ ## Tier 4 — really polish, low value
182
+
183
+ - ANSI colour control + `--no-color` flag
184
+ - Custom themes for pdfgen reports
185
+ - `omega telegram say <topic-name> "..."` — manual post helper
186
+ - Auto-detection of orphaned worker session dirs
187
+ - Tab-completion for project slugs in `omega project secret`
188
+
189
+ ---
190
+
191
+ ## Anti-features — things we intentionally do NOT add
192
+
193
+ | Idea | Why we say no |
194
+ |---|---|
195
+ | Direct npm/pip install of arbitrary packages from skill bodies | Defeats the auditor; attack surface explodes |
196
+ | Auto-rollback on deploy failure | Already documented (`ship-config.json` opt-in) — making it default hides the real cause |
197
+ | AI-decides-when-to-Stop | The Stop hook is deterministic ("audit fails → deny"). AI deciding when to give up is exactly what we're fixing. |
198
+ | One-binary distribution | Two reasons not to: (1) `uv venv` keeps the Python clean; (2) operators want to inspect the source. |
199
+
200
+ ---
201
+
202
+ ## Roadmap as a graph
203
+
204
+ ```
205
+ v0.3.x (now) tier 1: history + DM-refusal + uninstall + Agent Teams flag
206
+ v0.3.x (next) tier 1: API-key validation + Ready/Not Ready verdict + completions
207
+ v0.4.0 tier 2: smoke + prune + backup/restore
208
+ v0.5.0 tier 2: cost dashboard + read-only web UI + pre-commit
209
+ v1.0 full coverage of tier 1+2; tier 3 selected based on real demand
210
+ ```
211
+
212
+ Anything in tier 3 should be requested with a use case, not built
213
+ speculatively. Tier 4 is documented so we don't lose it but we won't
214
+ build any of it until something else moves first.
package/docs/INSTALL.md CHANGED
@@ -7,7 +7,8 @@
7
7
  ## 1. Requirements
8
8
 
9
9
  - **OS** — Ubuntu 22.04+ (VPS) or macOS 13+ (workstation).
10
- - **Access** — a non-root user with `sudo` (for system packages only).
10
+ - **Access** — either a non-root user with `sudo`, or `root` if you want the
11
+ installer to create a fresh user for you (see §3).
11
12
  - **Accounts** — a Telegram bot token (from `@BotFather`) and at least one LLM
12
13
  provider credential (Claude / GLM / OpenAI). None are shipped; you connect
13
14
  your own.
@@ -36,7 +37,40 @@ Copy `bootstrap/manifest.example.yaml`, fill in your choices (profile, MCP
36
37
  selection, Telegram), and the installer runs end-to-end with no prompts — for CI
37
38
  or scripted VPS provisioning.
38
39
 
39
- ## 3. What it does the 8 steps
40
+ ## 3. User modeswho Omega OS runs as
41
+
42
+ Omega OS never assumes a username. The installer has three modes, picked on
43
+ the CLI (or via `user:` in the manifest):
44
+
45
+ | Mode | Flag | When to use |
46
+ |---|---|---|
47
+ | **Current** *(default)* | *(no flag)* | Your normal user on a Mac or an SSH'd VPS. `OMEGA_HOME=$HOME/Omega`. |
48
+ | **Adopt existing** | `--user <name>` | A pre-existing service user (e.g. `agentik`) on a server. The installer re-execs as them. |
49
+ | **Create new** | `--create-user [<name>]` | Root on a fresh VPS, you want isolation. Default name: **`omega`** (Linux only; macOS is refused). |
50
+
51
+ Example — fresh root VPS, full isolation under a new `omega` user:
52
+
53
+ ```bash
54
+ ssh root@your-vps
55
+ git clone https://github.com/agentik-os/OmegaOS && cd OmegaOS
56
+ bash install.sh --create-user # creates user 'omega', re-execs
57
+ # … or with a custom name …
58
+ bash install.sh --create-user agentik
59
+ ```
60
+
61
+ Example — adopt an existing user:
62
+
63
+ ```bash
64
+ sudo bash install.sh --user agentik
65
+ ```
66
+
67
+ The installer **refuses to install as `root`** unless you explicitly set
68
+ `OMEGA_ALLOW_ROOT=1` (almost always a mistake — file ownership becomes
69
+ unmanageable). The friendly default `omega` matches the install directory
70
+ (`~omega/Omega/`), never collides with stock Linux users, and is easy to
71
+ type — change it if you prefer something else.
72
+
73
+ ## 4. What it does — the 8 steps
40
74
 
41
75
  | Step | Action |
42
76
  |---|---|
@@ -51,8 +85,10 @@ or scripted VPS provisioning.
51
85
 
52
86
  > `70-autonomous` (register autonomous-agent charters) runs inside `60-services`
53
87
  > when the profile enables it.
88
+ > `45-claude-plugins` (read `Agentik_SSOT/claude-plugins/claude-plugins.yaml`
89
+ > and run `claude plugin install …`) sits between `40-mcp` and `50-telegram`.
54
90
 
55
- ## 4. Idempotent & resumable
91
+ ## 5. Idempotent & resumable
56
92
 
57
93
  Each completed step is recorded in `~/Omega/Agentik_Extra/var/.install-state`.
58
94
  Re-running `install.sh` **skips completed steps** — if it stopped at step 5/8
@@ -60,7 +96,7 @@ Re-running `install.sh` **skips completed steps** — if it stopped at step 5/8
60
96
 
61
97
  Force a full re-run: `bash install.sh --force`.
62
98
 
63
- ## 5. Profiles
99
+ ## 6. Profiles
64
100
 
65
101
  | Profile | For | Result |
66
102
  |---|---|---|
@@ -70,7 +106,7 @@ Force a full re-run: `bash install.sh --force`.
70
106
 
71
107
  Select with `--profile vps` (default on Linux) or in the manifest.
72
108
 
73
- ## 6. The 24/7 layer
109
+ ## 7. The 24/7 layer
74
110
 
75
111
  On the `vps` profile, `60-services` installs three `systemd` user units:
76
112
 
@@ -81,14 +117,14 @@ On the `vps` profile, `60-services` installs three `systemd` user units:
81
117
  These give Omega OS its "Agent runs 7/7" property: the VPS keeps the engine and
82
118
  every autonomous agent alive across reboots.
83
119
 
84
- ## 7. Telegram
120
+ ## 8. Telegram
85
121
 
86
122
  `50-telegram` connects a bot to a Telegram **forum group**. Each project under
87
123
  `Agentik_Coding/` maps to a **topic** in that group; replying in a topic routes
88
124
  a mission to that project. The same model as the original Omega — one chat
89
125
  thread is the whole interface.
90
126
 
91
- ## 8. Verify
127
+ ## 9. Verify
92
128
 
93
129
  ```bash
94
130
  omega doctor # 8-block tree + event store — must print "doctor: PASS"
@@ -96,11 +132,13 @@ omega status # every task and its derived state
96
132
  omega version
97
133
  ```
98
134
 
99
- ## 9. Troubleshooting
135
+ ## 10. Troubleshooting
100
136
 
101
137
  | Symptom | Fix |
102
138
  |---|---|
103
- | `preflight: running as root` | create and use a non-root `sudo` user |
139
+ | `running as root with no user mode chosen` | add `--create-user` (default name `omega`) or `--user <existing-name>` |
140
+ | `creating users on macOS is not supported` | install as yourself (no flag), or `--user <existing-mac-user>` |
141
+ | `user '<name>' does not exist` | the name passed to `--user` isn't on the system — use `--create-user <name>` to make one |
104
142
  | `uv: command not found` after `10` | re-run `install.sh` — step 10 installs `uv` and re-execs the shell |
105
143
  | Telegram token rejected | re-check the token from `@BotFather`; re-run — it resumes at `50` |
106
144
  | `doctor: FAIL` on a block | the step that builds that block failed — read `Agentik_Extra/var/logs/install.log` |
@@ -84,10 +84,37 @@ The installer ships a curated catalog. Defaults marked ✓ are pre-selected:
84
84
  | Postgres | data | |
85
85
  | Brave Search | search | |
86
86
 
87
- Plus the **Claude Code plugin marketplace** — the same plugins offered in the
88
- Claude desktop app under *Connectors Customize*. The installer queries the
89
- marketplace and lists them in the same checklist, so a fresh VPS can be brought
90
- up with the full plugin suite in one pass.
87
+ Plus the **Claude Code plugin marketplace** — installed by the dedicated
88
+ `45-claude-plugins` step, which reads its own SSOT catalog at
89
+ `Agentik_SSOT/claude-plugins/claude-plugins.yaml`:
90
+
91
+ ```yaml
92
+ marketplaces:
93
+ - id: claude-plugins-official # built-in, always available
94
+ builtin: true
95
+ - id: thedotmack # add-on marketplaces
96
+ source: "github:thedotmack/claude-mem"
97
+ catalog:
98
+ - id: claude-mem
99
+ marketplace: thedotmack
100
+ scope: user
101
+ recommended: true
102
+ - id: frontend-design
103
+ marketplace: claude-plugins-official
104
+ scope: user
105
+ recommended: true
106
+ ```
107
+
108
+ For each selected plugin, the installer runs:
109
+
110
+ ```
111
+ claude plugin marketplace add <source> # only for non-builtin marketplaces
112
+ claude plugin install <name>@<marketplace> -s <scope>
113
+ ```
114
+
115
+ The step is interactive by default (whiptail checklist) and headless under
116
+ `--non-interactive --manifest manifest.yaml` (reads `claude_plugins:` from
117
+ the manifest).
91
118
 
92
119
  ---
93
120