ace-core 0.1.0__tar.gz

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 (1013) hide show
  1. ace_core-0.1.0/.env.example +55 -0
  2. ace_core-0.1.0/CHANGELOG.md +26 -0
  3. ace_core-0.1.0/CONTRIBUTING.md +156 -0
  4. ace_core-0.1.0/Dockerfile +31 -0
  5. ace_core-0.1.0/LICENSE +201 -0
  6. ace_core-0.1.0/MANIFEST.in +14 -0
  7. ace_core-0.1.0/Makefile +233 -0
  8. ace_core-0.1.0/NOTICE +9 -0
  9. ace_core-0.1.0/PKG-INFO +591 -0
  10. ace_core-0.1.0/README.md +513 -0
  11. ace_core-0.1.0/ROADMAP.md +43 -0
  12. ace_core-0.1.0/SECURITY.md +60 -0
  13. ace_core-0.1.0/ace/__init__.py +3 -0
  14. ace_core-0.1.0/ace_core.egg-info/PKG-INFO +591 -0
  15. ace_core-0.1.0/ace_core.egg-info/SOURCES.txt +1011 -0
  16. ace_core-0.1.0/ace_core.egg-info/dependency_links.txt +1 -0
  17. ace_core-0.1.0/ace_core.egg-info/entry_points.txt +7 -0
  18. ace_core-0.1.0/ace_core.egg-info/requires.txt +66 -0
  19. ace_core-0.1.0/ace_core.egg-info/top_level.txt +6 -0
  20. ace_core-0.1.0/ace_mcp_client/__init__.py +4 -0
  21. ace_core-0.1.0/ace_mcp_client/client.py +158 -0
  22. ace_core-0.1.0/ace_mcp_client/server.py +130 -0
  23. ace_core-0.1.0/ace_mcp_client/tools.py +386 -0
  24. ace_core-0.1.0/build_backend.py +79 -0
  25. ace_core-0.1.0/core/engine/__init__.py +0 -0
  26. ace_core-0.1.0/core/engine/ai_briefing/__init__.py +33 -0
  27. ace_core-0.1.0/core/engine/ai_briefing/builder.py +292 -0
  28. ace_core-0.1.0/core/engine/api/__init__.py +1 -0
  29. ace_core-0.1.0/core/engine/api/_portal_security.py +73 -0
  30. ace_core-0.1.0/core/engine/api/agents.py +112 -0
  31. ace_core-0.1.0/core/engine/api/atc.py +162 -0
  32. ace_core-0.1.0/core/engine/api/auth_routes.py +62 -0
  33. ace_core-0.1.0/core/engine/api/briefings.py +192 -0
  34. ace_core-0.1.0/core/engine/api/canvas.py +930 -0
  35. ace_core-0.1.0/core/engine/api/canvas_host.py +262 -0
  36. ace_core-0.1.0/core/engine/api/canvas_yjs.py +189 -0
  37. ace_core-0.1.0/core/engine/api/capture.py +206 -0
  38. ace_core-0.1.0/core/engine/api/chat.py +165 -0
  39. ace_core-0.1.0/core/engine/api/codebase_qa.py +44 -0
  40. ace_core-0.1.0/core/engine/api/conductor.py +301 -0
  41. ace_core-0.1.0/core/engine/api/conflicts.py +192 -0
  42. ace_core-0.1.0/core/engine/api/contributions.py +16 -0
  43. ace_core-0.1.0/core/engine/api/decisions.py +102 -0
  44. ace_core-0.1.0/core/engine/api/diagnostics.py +27 -0
  45. ace_core-0.1.0/core/engine/api/documents.py +169 -0
  46. ace_core-0.1.0/core/engine/api/ecosystem.py +157 -0
  47. ace_core-0.1.0/core/engine/api/efficiency.py +115 -0
  48. ace_core-0.1.0/core/engine/api/experiments.py +87 -0
  49. ace_core-0.1.0/core/engine/api/foresight.py +128 -0
  50. ace_core-0.1.0/core/engine/api/gates.py +81 -0
  51. ace_core-0.1.0/core/engine/api/graph.py +154 -0
  52. ace_core-0.1.0/core/engine/api/graph_clusters.py +105 -0
  53. ace_core-0.1.0/core/engine/api/graph_edge_summary.py +80 -0
  54. ace_core-0.1.0/core/engine/api/graph_events.py +342 -0
  55. ace_core-0.1.0/core/engine/api/graph_explore.py +539 -0
  56. ace_core-0.1.0/core/engine/api/graph_health.py +194 -0
  57. ace_core-0.1.0/core/engine/api/graph_search.py +103 -0
  58. ace_core-0.1.0/core/engine/api/graph_traverse.py +660 -0
  59. ace_core-0.1.0/core/engine/api/handoff.py +105 -0
  60. ace_core-0.1.0/core/engine/api/ideas.py +488 -0
  61. ace_core-0.1.0/core/engine/api/initiatives.py +466 -0
  62. ace_core-0.1.0/core/engine/api/intel.py +187 -0
  63. ace_core-0.1.0/core/engine/api/journey.py +127 -0
  64. ace_core-0.1.0/core/engine/api/layers.py +158 -0
  65. ace_core-0.1.0/core/engine/api/live_canvas.py +191 -0
  66. ace_core-0.1.0/core/engine/api/live_stream.py +16 -0
  67. ace_core-0.1.0/core/engine/api/loop.py +138 -0
  68. ace_core-0.1.0/core/engine/api/main.py +926 -0
  69. ace_core-0.1.0/core/engine/api/memory.py +180 -0
  70. ace_core-0.1.0/core/engine/api/middleware.py +223 -0
  71. ace_core-0.1.0/core/engine/api/notifications.py +140 -0
  72. ace_core-0.1.0/core/engine/api/onboarding.py +168 -0
  73. ace_core-0.1.0/core/engine/api/onboarding_conversation.py +123 -0
  74. ace_core-0.1.0/core/engine/api/orchestration.py +64 -0
  75. ace_core-0.1.0/core/engine/api/orchestration_ws.py +261 -0
  76. ace_core-0.1.0/core/engine/api/portal_views.py +386 -0
  77. ace_core-0.1.0/core/engine/api/pr_review.py +721 -0
  78. ace_core-0.1.0/core/engine/api/proactive.py +146 -0
  79. ace_core-0.1.0/core/engine/api/product.py +277 -0
  80. ace_core-0.1.0/core/engine/api/products.py +210 -0
  81. ace_core-0.1.0/core/engine/api/reasoning.py +72 -0
  82. ace_core-0.1.0/core/engine/api/recognition.py +127 -0
  83. ace_core-0.1.0/core/engine/api/recommendations.py +116 -0
  84. ace_core-0.1.0/core/engine/api/reports.py +168 -0
  85. ace_core-0.1.0/core/engine/api/roi.py +117 -0
  86. ace_core-0.1.0/core/engine/api/runner.py +167 -0
  87. ace_core-0.1.0/core/engine/api/scanner.py +148 -0
  88. ace_core-0.1.0/core/engine/api/search.py +22 -0
  89. ace_core-0.1.0/core/engine/api/self_optimizer.py +233 -0
  90. ace_core-0.1.0/core/engine/api/sentinel.py +354 -0
  91. ace_core-0.1.0/core/engine/api/sentinels.py +221 -0
  92. ace_core-0.1.0/core/engine/api/skills.py +179 -0
  93. ace_core-0.1.0/core/engine/api/tasks.py +620 -0
  94. ace_core-0.1.0/core/engine/api/templates.py +103 -0
  95. ace_core-0.1.0/core/engine/api/themes.py +55 -0
  96. ace_core-0.1.0/core/engine/api/token_intelligence.py +47 -0
  97. ace_core-0.1.0/core/engine/api/velocity.py +25 -0
  98. ace_core-0.1.0/core/engine/api/voice_audit.py +61 -0
  99. ace_core-0.1.0/core/engine/api/voice_threads.py +206 -0
  100. ace_core-0.1.0/core/engine/api/webhooks.py +77 -0
  101. ace_core-0.1.0/core/engine/arms/__init__.py +0 -0
  102. ace_core-0.1.0/core/engine/arms/base.py +150 -0
  103. ace_core-0.1.0/core/engine/arms/brain_hand_arm.py +318 -0
  104. ace_core-0.1.0/core/engine/arms/builder.py +75 -0
  105. ace_core-0.1.0/core/engine/arms/code_arm.py +95 -0
  106. ace_core-0.1.0/core/engine/arms/code_planner.py +236 -0
  107. ace_core-0.1.0/core/engine/arms/critic.py +136 -0
  108. ace_core-0.1.0/core/engine/arms/data_arm.py +94 -0
  109. ace_core-0.1.0/core/engine/arms/data_planner.py +177 -0
  110. ace_core-0.1.0/core/engine/arms/design_arm.py +89 -0
  111. ace_core-0.1.0/core/engine/arms/design_enforce.py +88 -0
  112. ace_core-0.1.0/core/engine/arms/design_planner.py +155 -0
  113. ace_core-0.1.0/core/engine/arms/dispatch.py +281 -0
  114. ace_core-0.1.0/core/engine/arms/execution/__init__.py +1 -0
  115. ace_core-0.1.0/core/engine/arms/execution/executors.py +78 -0
  116. ace_core-0.1.0/core/engine/arms/execution/runtime.py +48 -0
  117. ace_core-0.1.0/core/engine/arms/execution/workspace.py +137 -0
  118. ace_core-0.1.0/core/engine/arms/failure.py +49 -0
  119. ace_core-0.1.0/core/engine/arms/migration_safety.py +129 -0
  120. ace_core-0.1.0/core/engine/arms/outcome.py +143 -0
  121. ace_core-0.1.0/core/engine/arms/preflight.py +141 -0
  122. ace_core-0.1.0/core/engine/arms/promotion.py +244 -0
  123. ace_core-0.1.0/core/engine/arms/provider_probe.py +202 -0
  124. ace_core-0.1.0/core/engine/arms/registry.py +97 -0
  125. ace_core-0.1.0/core/engine/arms/router.py +166 -0
  126. ace_core-0.1.0/core/engine/arms/run_ledger.py +308 -0
  127. ace_core-0.1.0/core/engine/arms/scaffold_arm.py +67 -0
  128. ace_core-0.1.0/core/engine/arms/session.py +394 -0
  129. ace_core-0.1.0/core/engine/arms/ship_arm.py +82 -0
  130. ace_core-0.1.0/core/engine/arms/ship_planner.py +63 -0
  131. ace_core-0.1.0/core/engine/arms/spec_reality.py +275 -0
  132. ace_core-0.1.0/core/engine/arms/strategy/__init__.py +1 -0
  133. ace_core-0.1.0/core/engine/arms/strategy/assemble.py +23 -0
  134. ace_core-0.1.0/core/engine/arms/strategy/classify.py +58 -0
  135. ace_core-0.1.0/core/engine/arms/strategy/deep_phases.py +78 -0
  136. ace_core-0.1.0/core/engine/arms/strategy/depth_scorer.py +100 -0
  137. ace_core-0.1.0/core/engine/arms/strategy/graph_classifier.py +223 -0
  138. ace_core-0.1.0/core/engine/arms/strategy/profile.py +14 -0
  139. ace_core-0.1.0/core/engine/atc/__init__.py +1 -0
  140. ace_core-0.1.0/core/engine/atc/events.py +30 -0
  141. ace_core-0.1.0/core/engine/atc/freshness.py +96 -0
  142. ace_core-0.1.0/core/engine/atc/human_scanner.py +175 -0
  143. ace_core-0.1.0/core/engine/atc/landing.py +188 -0
  144. ace_core-0.1.0/core/engine/atc/registry.py +347 -0
  145. ace_core-0.1.0/core/engine/atc/scheduler.py +204 -0
  146. ace_core-0.1.0/core/engine/canvas/__init__.py +1 -0
  147. ace_core-0.1.0/core/engine/canvas/canvas_engagement.py +210 -0
  148. ace_core-0.1.0/core/engine/canvas/canvas_ui_events.py +156 -0
  149. ace_core-0.1.0/core/engine/canvas/code_renderer.py +120 -0
  150. ace_core-0.1.0/core/engine/canvas/cogeneration.py +63 -0
  151. ace_core-0.1.0/core/engine/canvas/conversation.py +95 -0
  152. ace_core-0.1.0/core/engine/canvas/design_renderer.py +112 -0
  153. ace_core-0.1.0/core/engine/canvas/event_protocol.py +278 -0
  154. ace_core-0.1.0/core/engine/canvas/framework_renderer.py +194 -0
  155. ace_core-0.1.0/core/engine/canvas/intent_router.py +39 -0
  156. ace_core-0.1.0/core/engine/canvas/ledger_bridge.py +126 -0
  157. ace_core-0.1.0/core/engine/canvas/models.py +77 -0
  158. ace_core-0.1.0/core/engine/canvas/orchestrated_renderer.py +375 -0
  159. ace_core-0.1.0/core/engine/canvas/participant.py +129 -0
  160. ace_core-0.1.0/core/engine/canvas/persistence.py +208 -0
  161. ace_core-0.1.0/core/engine/canvas/surface_adapter.py +62 -0
  162. ace_core-0.1.0/core/engine/canvas_bridge/__init__.py +38 -0
  163. ace_core-0.1.0/core/engine/canvas_bridge/api.py +49 -0
  164. ace_core-0.1.0/core/engine/canvas_bridge/bridge.py +306 -0
  165. ace_core-0.1.0/core/engine/canvas_bridge/demo.py +271 -0
  166. ace_core-0.1.0/core/engine/canvas_bridge/messages.py +232 -0
  167. ace_core-0.1.0/core/engine/canvas_bridge/participant.py +75 -0
  168. ace_core-0.1.0/core/engine/capture/__init__.py +1 -0
  169. ace_core-0.1.0/core/engine/capture/agent_sdk_watcher.py +69 -0
  170. ace_core-0.1.0/core/engine/capture/atomic_write.py +244 -0
  171. ace_core-0.1.0/core/engine/capture/chunker.py +128 -0
  172. ace_core-0.1.0/core/engine/capture/cognify.py +149 -0
  173. ace_core-0.1.0/core/engine/capture/consolidator.py +172 -0
  174. ace_core-0.1.0/core/engine/capture/contextualize.py +51 -0
  175. ace_core-0.1.0/core/engine/capture/document_chunker.py +80 -0
  176. ace_core-0.1.0/core/engine/capture/episodes.py +205 -0
  177. ace_core-0.1.0/core/engine/capture/forget.py +158 -0
  178. ace_core-0.1.0/core/engine/capture/freshness.py +177 -0
  179. ace_core-0.1.0/core/engine/capture/observer.py +147 -0
  180. ace_core-0.1.0/core/engine/capture/pattern_detector.py +159 -0
  181. ace_core-0.1.0/core/engine/capture/pipeline.py +195 -0
  182. ace_core-0.1.0/core/engine/capture/provenance.py +79 -0
  183. ace_core-0.1.0/core/engine/capture/schemas.py +73 -0
  184. ace_core-0.1.0/core/engine/capture/service.py +309 -0
  185. ace_core-0.1.0/core/engine/capture/synthesizer.py +735 -0
  186. ace_core-0.1.0/core/engine/capture/watchers.py +57 -0
  187. ace_core-0.1.0/core/engine/chat/__init__.py +1 -0
  188. ace_core-0.1.0/core/engine/chat/handler.py +385 -0
  189. ace_core-0.1.0/core/engine/chat/session_capture.py +126 -0
  190. ace_core-0.1.0/core/engine/chat/streaming.py +436 -0
  191. ace_core-0.1.0/core/engine/cli/__init__.py +0 -0
  192. ace_core-0.1.0/core/engine/cli/auth.py +81 -0
  193. ace_core-0.1.0/core/engine/cli/commands/__init__.py +0 -0
  194. ace_core-0.1.0/core/engine/cli/commands/assertions.py +23 -0
  195. ace_core-0.1.0/core/engine/cli/commands/briefing.py +83 -0
  196. ace_core-0.1.0/core/engine/cli/commands/conflicts.py +101 -0
  197. ace_core-0.1.0/core/engine/cli/commands/doctor.py +176 -0
  198. ace_core-0.1.0/core/engine/cli/commands/evolve.py +34 -0
  199. ace_core-0.1.0/core/engine/cli/commands/flow.py +127 -0
  200. ace_core-0.1.0/core/engine/cli/commands/graph.py +65 -0
  201. ace_core-0.1.0/core/engine/cli/commands/ideas.py +174 -0
  202. ace_core-0.1.0/core/engine/cli/commands/initiatives.py +196 -0
  203. ace_core-0.1.0/core/engine/cli/commands/intel.py +84 -0
  204. ace_core-0.1.0/core/engine/cli/commands/login.py +76 -0
  205. ace_core-0.1.0/core/engine/cli/commands/model_policy.py +51 -0
  206. ace_core-0.1.0/core/engine/cli/commands/proposals.py +91 -0
  207. ace_core-0.1.0/core/engine/cli/commands/reasoning.py +83 -0
  208. ace_core-0.1.0/core/engine/cli/commands/run.py +145 -0
  209. ace_core-0.1.0/core/engine/cli/commands/sentinel.py +175 -0
  210. ace_core-0.1.0/core/engine/cli/commands/skills.py +92 -0
  211. ace_core-0.1.0/core/engine/cli/commands/status.py +22 -0
  212. ace_core-0.1.0/core/engine/cli/commands/templates.py +123 -0
  213. ace_core-0.1.0/core/engine/cli/display.py +49 -0
  214. ace_core-0.1.0/core/engine/cli/main.py +61 -0
  215. ace_core-0.1.0/core/engine/cognition/__init__.py +11 -0
  216. ace_core-0.1.0/core/engine/cognition/active_discipline.py +104 -0
  217. ace_core-0.1.0/core/engine/cognition/best_of_n.py +56 -0
  218. ace_core-0.1.0/core/engine/cognition/classifier.py +129 -0
  219. ace_core-0.1.0/core/engine/cognition/composer.py +809 -0
  220. ace_core-0.1.0/core/engine/cognition/composition_headline.py +81 -0
  221. ace_core-0.1.0/core/engine/cognition/composition_trace.py +64 -0
  222. ace_core-0.1.0/core/engine/cognition/conductor_phrases.py +227 -0
  223. ace_core-0.1.0/core/engine/cognition/confidence_gate.py +40 -0
  224. ace_core-0.1.0/core/engine/cognition/crm_calibrator.py +89 -0
  225. ace_core-0.1.0/core/engine/cognition/edge_inference.py +131 -0
  226. ace_core-0.1.0/core/engine/cognition/fusion.py +142 -0
  227. ace_core-0.1.0/core/engine/cognition/handoff.py +86 -0
  228. ace_core-0.1.0/core/engine/cognition/instrument_registry.py +70 -0
  229. ace_core-0.1.0/core/engine/cognition/journey_voice.py +136 -0
  230. ace_core-0.1.0/core/engine/cognition/loop_iterations.py +139 -0
  231. ace_core-0.1.0/core/engine/cognition/moa.py +129 -0
  232. ace_core-0.1.0/core/engine/cognition/models.py +230 -0
  233. ace_core-0.1.0/core/engine/cognition/multiphase.py +615 -0
  234. ace_core-0.1.0/core/engine/cognition/phase_evaluator.py +160 -0
  235. ace_core-0.1.0/core/engine/cognition/phase_output.py +27 -0
  236. ace_core-0.1.0/core/engine/cognition/plan_evaluator.py +90 -0
  237. ace_core-0.1.0/core/engine/cognition/reasoning_run.py +143 -0
  238. ace_core-0.1.0/core/engine/cognition/recipes/__init__.py +47 -0
  239. ace_core-0.1.0/core/engine/cognition/recipes/coding.py +208 -0
  240. ace_core-0.1.0/core/engine/cognition/recipes/communication.py +102 -0
  241. ace_core-0.1.0/core/engine/cognition/recipes/communication_agentic.py +95 -0
  242. ace_core-0.1.0/core/engine/cognition/recipes/coordination.py +98 -0
  243. ace_core-0.1.0/core/engine/cognition/recipes/creative.py +154 -0
  244. ace_core-0.1.0/core/engine/cognition/recipes/data.py +115 -0
  245. ace_core-0.1.0/core/engine/cognition/recipes/delegation.py +96 -0
  246. ace_core-0.1.0/core/engine/cognition/recipes/domain_specific.py +98 -0
  247. ace_core-0.1.0/core/engine/cognition/recipes/evaluation.py +102 -0
  248. ace_core-0.1.0/core/engine/cognition/recipes/feedback.py +98 -0
  249. ace_core-0.1.0/core/engine/cognition/recipes/gap.py +97 -0
  250. ace_core-0.1.0/core/engine/cognition/recipes/loader.py +119 -0
  251. ace_core-0.1.0/core/engine/cognition/recipes/memory.py +99 -0
  252. ace_core-0.1.0/core/engine/cognition/recipes/operational.py +102 -0
  253. ace_core-0.1.0/core/engine/cognition/recipes/planning.py +105 -0
  254. ace_core-0.1.0/core/engine/cognition/recipes/prioritization.yaml +85 -0
  255. ace_core-0.1.0/core/engine/cognition/recipes/research.py +100 -0
  256. ace_core-0.1.0/core/engine/cognition/recipes/retrieval.py +99 -0
  257. ace_core-0.1.0/core/engine/cognition/recipes/risk.py +102 -0
  258. ace_core-0.1.0/core/engine/cognition/recipes/schema.py +136 -0
  259. ace_core-0.1.0/core/engine/cognition/recipes/strategic.py +116 -0
  260. ace_core-0.1.0/core/engine/cognition/recipes/systems.py +125 -0
  261. ace_core-0.1.0/core/engine/cognition/recipes/tool.py +96 -0
  262. ace_core-0.1.0/core/engine/cognition/recipes/verification.py +99 -0
  263. ace_core-0.1.0/core/engine/cognition/run_ledger.py +238 -0
  264. ace_core-0.1.0/core/engine/cognition/seed.py +5583 -0
  265. ace_core-0.1.0/core/engine/cognition/self_consistency.py +87 -0
  266. ace_core-0.1.0/core/engine/cognition/star_trace.py +73 -0
  267. ace_core-0.1.0/core/engine/cognition/tool_catalog.py +41 -0
  268. ace_core-0.1.0/core/engine/cognition/tool_classifier.py +107 -0
  269. ace_core-0.1.0/core/engine/conductor/__init__.py +0 -0
  270. ace_core-0.1.0/core/engine/conductor/bootstrap.py +378 -0
  271. ace_core-0.1.0/core/engine/conductor/conductor.py +359 -0
  272. ace_core-0.1.0/core/engine/conductor/grooming.py +47 -0
  273. ace_core-0.1.0/core/engine/conductor/rule_actions.py +498 -0
  274. ace_core-0.1.0/core/engine/conductor/rule_conditions.py +88 -0
  275. ace_core-0.1.0/core/engine/conductor/rule_engine.py +90 -0
  276. ace_core-0.1.0/core/engine/conductor/stall_detector.py +203 -0
  277. ace_core-0.1.0/core/engine/conductor/state_machine.py +71 -0
  278. ace_core-0.1.0/core/engine/conductor/template_resolver.py +165 -0
  279. ace_core-0.1.0/core/engine/conductor/vision_filter.py +61 -0
  280. ace_core-0.1.0/core/engine/contributions/__init__.py +0 -0
  281. ace_core-0.1.0/core/engine/contributions/aggregator.py +310 -0
  282. ace_core-0.1.0/core/engine/core/__init__.py +1 -0
  283. ace_core-0.1.0/core/engine/core/access.py +172 -0
  284. ace_core-0.1.0/core/engine/core/auth.py +63 -0
  285. ace_core-0.1.0/core/engine/core/config.py +327 -0
  286. ace_core-0.1.0/core/engine/core/db.py +395 -0
  287. ace_core-0.1.0/core/engine/core/error_buffer.py +73 -0
  288. ace_core-0.1.0/core/engine/core/exceptions.py +99 -0
  289. ace_core-0.1.0/core/engine/core/llm.py +2193 -0
  290. ace_core-0.1.0/core/engine/core/llm_anyllm.py +259 -0
  291. ace_core-0.1.0/core/engine/core/llm_litellm.py +244 -0
  292. ace_core-0.1.0/core/engine/core/llm_prompt_fragments.py +38 -0
  293. ace_core-0.1.0/core/engine/core/log_context.py +88 -0
  294. ace_core-0.1.0/core/engine/core/metrics.py +157 -0
  295. ace_core-0.1.0/core/engine/core/model_costs.py +51 -0
  296. ace_core-0.1.0/core/engine/core/model_policy.py +197 -0
  297. ace_core-0.1.0/core/engine/core/otel.py +163 -0
  298. ace_core-0.1.0/core/engine/core/schema.py +183 -0
  299. ace_core-0.1.0/core/engine/core/search.py +117 -0
  300. ace_core-0.1.0/core/engine/core/tasks.py +58 -0
  301. ace_core-0.1.0/core/engine/core/tokens.py +127 -0
  302. ace_core-0.1.0/core/engine/diagram/__init__.py +1 -0
  303. ace_core-0.1.0/core/engine/diagram/abstractor.py +107 -0
  304. ace_core-0.1.0/core/engine/diagram/graph_reader.py +82 -0
  305. ace_core-0.1.0/core/engine/diagram/ir.py +62 -0
  306. ace_core-0.1.0/core/engine/diagram/renderers/__init__.py +0 -0
  307. ace_core-0.1.0/core/engine/diagram/renderers/base.py +11 -0
  308. ace_core-0.1.0/core/engine/diagram/renderers/mermaid.py +52 -0
  309. ace_core-0.1.0/core/engine/diagram/service.py +26 -0
  310. ace_core-0.1.0/core/engine/embedding/__init__.py +1 -0
  311. ace_core-0.1.0/core/engine/embedding/base.py +50 -0
  312. ace_core-0.1.0/core/engine/embedding/codesage_embedder.py +71 -0
  313. ace_core-0.1.0/core/engine/embedding/noop_embedder.py +12 -0
  314. ace_core-0.1.0/core/engine/embedding/onnx_embedder.py +130 -0
  315. ace_core-0.1.0/core/engine/eval/__init__.py +7 -0
  316. ace_core-0.1.0/core/engine/eval/baseline.py +53 -0
  317. ace_core-0.1.0/core/engine/eval/grader.py +119 -0
  318. ace_core-0.1.0/core/engine/evaluation/__init__.py +5 -0
  319. ace_core-0.1.0/core/engine/evaluation/cli.py +31 -0
  320. ace_core-0.1.0/core/engine/evaluation/decision_delta.py +430 -0
  321. ace_core-0.1.0/core/engine/evaluation/harness.py +157 -0
  322. ace_core-0.1.0/core/engine/evaluation/live_runner.py +207 -0
  323. ace_core-0.1.0/core/engine/events/__init__.py +5 -0
  324. ace_core-0.1.0/core/engine/events/audit_logger.py +115 -0
  325. ace_core-0.1.0/core/engine/events/automations.py +336 -0
  326. ace_core-0.1.0/core/engine/events/bus.py +113 -0
  327. ace_core-0.1.0/core/engine/events/canvas.py +416 -0
  328. ace_core-0.1.0/core/engine/events/gate_handlers.py +80 -0
  329. ace_core-0.1.0/core/engine/events/live_handlers.py +63 -0
  330. ace_core-0.1.0/core/engine/events/product_handlers.py +202 -0
  331. ace_core-0.1.0/core/engine/extensions/__init__.py +17 -0
  332. ace_core-0.1.0/core/engine/extensions/base.py +43 -0
  333. ace_core-0.1.0/core/engine/extensions/loader.py +108 -0
  334. ace_core-0.1.0/core/engine/extensions/registry.py +198 -0
  335. ace_core-0.1.0/core/engine/flow/__init__.py +0 -0
  336. ace_core-0.1.0/core/engine/flow/clearance.py +72 -0
  337. ace_core-0.1.0/core/engine/flow/config.py +77 -0
  338. ace_core-0.1.0/core/engine/foresight/__init__.py +1 -0
  339. ace_core-0.1.0/core/engine/foresight/forecaster.py +327 -0
  340. ace_core-0.1.0/core/engine/foresight/fork_models.py +62 -0
  341. ace_core-0.1.0/core/engine/foresight/fork_planner.py +577 -0
  342. ace_core-0.1.0/core/engine/foresight/models.py +114 -0
  343. ace_core-0.1.0/core/engine/foresight/planner.py +384 -0
  344. ace_core-0.1.0/core/engine/foresight/reconciler.py +448 -0
  345. ace_core-0.1.0/core/engine/foresight/scenario_builder.py +167 -0
  346. ace_core-0.1.0/core/engine/foresight/signal_engine.py +243 -0
  347. ace_core-0.1.0/core/engine/foresight/value_model.py +79 -0
  348. ace_core-0.1.0/core/engine/generation/__init__.py +0 -0
  349. ace_core-0.1.0/core/engine/generation/changelog.py +140 -0
  350. ace_core-0.1.0/core/engine/generation/ci_generator.py +231 -0
  351. ace_core-0.1.0/core/engine/generation/docs_generator.py +263 -0
  352. ace_core-0.1.0/core/engine/generation/iac_generator.py +221 -0
  353. ace_core-0.1.0/core/engine/generation/otel_generator.py +208 -0
  354. ace_core-0.1.0/core/engine/generation/templates/circleci.yml.j2 +57 -0
  355. ace_core-0.1.0/core/engine/generation/templates/docker_compose.yml.j2 +37 -0
  356. ace_core-0.1.0/core/engine/generation/templates/github_actions.yml.j2 +71 -0
  357. ace_core-0.1.0/core/engine/generation/templates/gitlab_ci.yml.j2 +53 -0
  358. ace_core-0.1.0/core/engine/github/__init__.py +1 -0
  359. ace_core-0.1.0/core/engine/github/client.py +154 -0
  360. ace_core-0.1.0/core/engine/github/diff_parser.py +111 -0
  361. ace_core-0.1.0/core/engine/github/models.py +106 -0
  362. ace_core-0.1.0/core/engine/graph/__init__.py +0 -0
  363. ace_core-0.1.0/core/engine/graph/assertions.py +514 -0
  364. ace_core-0.1.0/core/engine/graph/classifier.py +160 -0
  365. ace_core-0.1.0/core/engine/graph/cluster.py +109 -0
  366. ace_core-0.1.0/core/engine/graph/context.py +387 -0
  367. ace_core-0.1.0/core/engine/graph/cooccurrence.py +162 -0
  368. ace_core-0.1.0/core/engine/graph/edge_writer.py +112 -0
  369. ace_core-0.1.0/core/engine/graph/grounding.py +262 -0
  370. ace_core-0.1.0/core/engine/graph/insight_neighbors.py +179 -0
  371. ace_core-0.1.0/core/engine/graph/insight_writer.py +108 -0
  372. ace_core-0.1.0/core/engine/graph/legacy_migration.py +79 -0
  373. ace_core-0.1.0/core/engine/graph/metabolism.py +316 -0
  374. ace_core-0.1.0/core/engine/graph/ontology.py +186 -0
  375. ace_core-0.1.0/core/engine/graph/proposals.py +79 -0
  376. ace_core-0.1.0/core/engine/graph/recommendations.py +627 -0
  377. ace_core-0.1.0/core/engine/graph/synaptic_loader.py +108 -0
  378. ace_core-0.1.0/core/engine/graph/tension_telemetry.py +60 -0
  379. ace_core-0.1.0/core/engine/graph/writer.py +159 -0
  380. ace_core-0.1.0/core/engine/handoff/__init__.py +0 -0
  381. ace_core-0.1.0/core/engine/handoff/dispatcher.py +298 -0
  382. ace_core-0.1.0/core/engine/handoff/models.py +39 -0
  383. ace_core-0.1.0/core/engine/handoff/summarizer.py +89 -0
  384. ace_core-0.1.0/core/engine/handoff/translators.py +82 -0
  385. ace_core-0.1.0/core/engine/ideas/__init__.py +1 -0
  386. ace_core-0.1.0/core/engine/ideas/activate.py +168 -0
  387. ace_core-0.1.0/core/engine/ideas/capture.py +87 -0
  388. ace_core-0.1.0/core/engine/ideas/incubate.py +369 -0
  389. ace_core-0.1.0/core/engine/ideas/promote.py +105 -0
  390. ace_core-0.1.0/core/engine/ideas/qualify.py +118 -0
  391. ace_core-0.1.0/core/engine/ideas/related.py +121 -0
  392. ace_core-0.1.0/core/engine/ideas/schemas.py +58 -0
  393. ace_core-0.1.0/core/engine/ideas/state_machine.py +71 -0
  394. ace_core-0.1.0/core/engine/intelligence/__init__.py +1 -0
  395. ace_core-0.1.0/core/engine/intelligence/ab_judge.py +94 -0
  396. ace_core-0.1.0/core/engine/intelligence/adjacency.py +106 -0
  397. ace_core-0.1.0/core/engine/intelligence/affinities.py +153 -0
  398. ace_core-0.1.0/core/engine/intelligence/attribution.py +217 -0
  399. ace_core-0.1.0/core/engine/intelligence/calibration.py +196 -0
  400. ace_core-0.1.0/core/engine/intelligence/cascade_router.py +421 -0
  401. ace_core-0.1.0/core/engine/intelligence/classification_cache.py +208 -0
  402. ace_core-0.1.0/core/engine/intelligence/complexity_router.py +92 -0
  403. ace_core-0.1.0/core/engine/intelligence/compounding.py +91 -0
  404. ace_core-0.1.0/core/engine/intelligence/compressor.py +105 -0
  405. ace_core-0.1.0/core/engine/intelligence/cost_predictor.py +58 -0
  406. ace_core-0.1.0/core/engine/intelligence/coverage_binder.py +192 -0
  407. ace_core-0.1.0/core/engine/intelligence/coverage_priority.py +63 -0
  408. ace_core-0.1.0/core/engine/intelligence/decision_capability_inference.py +204 -0
  409. ace_core-0.1.0/core/engine/intelligence/dep_updater.py +154 -0
  410. ace_core-0.1.0/core/engine/intelligence/depth_budget.py +24 -0
  411. ace_core-0.1.0/core/engine/intelligence/detector.py +91 -0
  412. ace_core-0.1.0/core/engine/intelligence/distillation_export.py +77 -0
  413. ace_core-0.1.0/core/engine/intelligence/emergence.py +168 -0
  414. ace_core-0.1.0/core/engine/intelligence/error_explainer.py +244 -0
  415. ace_core-0.1.0/core/engine/intelligence/export_pack.py +190 -0
  416. ace_core-0.1.0/core/engine/intelligence/failure_classifier.py +164 -0
  417. ace_core-0.1.0/core/engine/intelligence/failure_replay.py +104 -0
  418. ace_core-0.1.0/core/engine/intelligence/graph_builder.py +1056 -0
  419. ace_core-0.1.0/core/engine/intelligence/lsp_client.py +140 -0
  420. ace_core-0.1.0/core/engine/intelligence/lsp_manager.py +310 -0
  421. ace_core-0.1.0/core/engine/intelligence/maturation.py +383 -0
  422. ace_core-0.1.0/core/engine/intelligence/model_affinity.py +156 -0
  423. ace_core-0.1.0/core/engine/intelligence/model_router.py +12 -0
  424. ace_core-0.1.0/core/engine/intelligence/provisioner.py +179 -0
  425. ace_core-0.1.0/core/engine/intelligence/queries.py +344 -0
  426. ace_core-0.1.0/core/engine/intelligence/ranker.py +141 -0
  427. ace_core-0.1.0/core/engine/intelligence/ref_indexer.py +95 -0
  428. ace_core-0.1.0/core/engine/intelligence/roi_detector.py +238 -0
  429. ace_core-0.1.0/core/engine/intelligence/schema.py +26 -0
  430. ace_core-0.1.0/core/engine/intelligence/servers.py +60 -0
  431. ace_core-0.1.0/core/engine/intelligence/specialty_broadcast.py +114 -0
  432. ace_core-0.1.0/core/engine/intelligence/statistics.py +373 -0
  433. ace_core-0.1.0/core/engine/intelligence/synthetic_runner.py +108 -0
  434. ace_core-0.1.0/core/engine/intelligence/token_baseline.py +112 -0
  435. ace_core-0.1.0/core/engine/intelligence/token_ledger.py +230 -0
  436. ace_core-0.1.0/core/engine/intelligence/utilization.py +156 -0
  437. ace_core-0.1.0/core/engine/keyword_classifier.py +107 -0
  438. ace_core-0.1.0/core/engine/learning/__init__.py +0 -0
  439. ace_core-0.1.0/core/engine/learning/detection_rules.py +127 -0
  440. ace_core-0.1.0/core/engine/learning/detector.py +190 -0
  441. ace_core-0.1.0/core/engine/learning/effectiveness.py +151 -0
  442. ace_core-0.1.0/core/engine/learning/feature_flag.py +31 -0
  443. ace_core-0.1.0/core/engine/live/__init__.py +1 -0
  444. ace_core-0.1.0/core/engine/live/coordinator.py +168 -0
  445. ace_core-0.1.0/core/engine/live/edit_tracker.py +255 -0
  446. ace_core-0.1.0/core/engine/live/file_watcher.py +154 -0
  447. ace_core-0.1.0/core/engine/live/session_runner.py +247 -0
  448. ace_core-0.1.0/core/engine/live/state_machines.py +104 -0
  449. ace_core-0.1.0/core/engine/live/stream.py +100 -0
  450. ace_core-0.1.0/core/engine/mcp/__init__.py +0 -0
  451. ace_core-0.1.0/core/engine/mcp/schemas.py +155 -0
  452. ace_core-0.1.0/core/engine/mcp/server.py +2221 -0
  453. ace_core-0.1.0/core/engine/mcp/tools.py +5195 -0
  454. ace_core-0.1.0/core/engine/notifications/__init__.py +1 -0
  455. ace_core-0.1.0/core/engine/notifications/audit_buffer.py +52 -0
  456. ace_core-0.1.0/core/engine/notifications/channels/__init__.py +65 -0
  457. ace_core-0.1.0/core/engine/notifications/channels/discord.py +488 -0
  458. ace_core-0.1.0/core/engine/notifications/channels/in_app.py +41 -0
  459. ace_core-0.1.0/core/engine/notifications/channels/webhook.py +82 -0
  460. ace_core-0.1.0/core/engine/notifications/dispatcher.py +266 -0
  461. ace_core-0.1.0/core/engine/notifications/triggers.py +196 -0
  462. ace_core-0.1.0/core/engine/onboarding/__init__.py +1 -0
  463. ace_core-0.1.0/core/engine/onboarding/conversation.py +308 -0
  464. ace_core-0.1.0/core/engine/onboarding/conversation_copy.json +30 -0
  465. ace_core-0.1.0/core/engine/onboarding/scaffolder.py +275 -0
  466. ace_core-0.1.0/core/engine/orchestration/__init__.py +69 -0
  467. ace_core-0.1.0/core/engine/orchestration/agent.py +63 -0
  468. ace_core-0.1.0/core/engine/orchestration/airspace.py +397 -0
  469. ace_core-0.1.0/core/engine/orchestration/atc_monitor.py +111 -0
  470. ace_core-0.1.0/core/engine/orchestration/bus.py +126 -0
  471. ace_core-0.1.0/core/engine/orchestration/capture_bridge.py +91 -0
  472. ace_core-0.1.0/core/engine/orchestration/composition.py +142 -0
  473. ace_core-0.1.0/core/engine/orchestration/composition_scorer.py +610 -0
  474. ace_core-0.1.0/core/engine/orchestration/context.py +24 -0
  475. ace_core-0.1.0/core/engine/orchestration/deep_committee.py +181 -0
  476. ace_core-0.1.0/core/engine/orchestration/dispatch_planner.py +229 -0
  477. ace_core-0.1.0/core/engine/orchestration/dispatcher.py +100 -0
  478. ace_core-0.1.0/core/engine/orchestration/events.py +542 -0
  479. ace_core-0.1.0/core/engine/orchestration/executor.py +1925 -0
  480. ace_core-0.1.0/core/engine/orchestration/factory.py +51 -0
  481. ace_core-0.1.0/core/engine/orchestration/hooks.py +430 -0
  482. ace_core-0.1.0/core/engine/orchestration/loop_context.py +97 -0
  483. ace_core-0.1.0/core/engine/orchestration/patterns/__init__.py +20 -0
  484. ace_core-0.1.0/core/engine/orchestration/patterns/adversarial.py +289 -0
  485. ace_core-0.1.0/core/engine/orchestration/patterns/base.py +100 -0
  486. ace_core-0.1.0/core/engine/orchestration/patterns/committee.py +65 -0
  487. ace_core-0.1.0/core/engine/orchestration/patterns/fanout.py +125 -0
  488. ace_core-0.1.0/core/engine/orchestration/patterns/independent.py +142 -0
  489. ace_core-0.1.0/core/engine/orchestration/patterns/pipeline.py +150 -0
  490. ace_core-0.1.0/core/engine/orchestration/patterns/team.py +234 -0
  491. ace_core-0.1.0/core/engine/orchestration/planner.py +206 -0
  492. ace_core-0.1.0/core/engine/orchestration/python_dispatcher.py +76 -0
  493. ace_core-0.1.0/core/engine/orchestration/request.py +134 -0
  494. ace_core-0.1.0/core/engine/orchestration/shell.py +319 -0
  495. ace_core-0.1.0/core/engine/orchestration/shells/__init__.py +2 -0
  496. ace_core-0.1.0/core/engine/orchestration/shells/agent_sdk_shell.py +101 -0
  497. ace_core-0.1.0/core/engine/orchestration/shells/llm_shell.py +108 -0
  498. ace_core-0.1.0/core/engine/orchestration/shells/reasoning_shell.py +172 -0
  499. ace_core-0.1.0/core/engine/orchestration/testing.py +162 -0
  500. ace_core-0.1.0/core/engine/orchestration/worktree_manager.py +162 -0
  501. ace_core-0.1.0/core/engine/orchestrator/__init__.py +1 -0
  502. ace_core-0.1.0/core/engine/orchestrator/archetypes.py +74 -0
  503. ace_core-0.1.0/core/engine/orchestrator/budgets.py +45 -0
  504. ace_core-0.1.0/core/engine/orchestrator/classifier.py +552 -0
  505. ace_core-0.1.0/core/engine/orchestrator/context.py +670 -0
  506. ace_core-0.1.0/core/engine/orchestrator/context_assembler.py +590 -0
  507. ace_core-0.1.0/core/engine/orchestrator/context_blocks.py +197 -0
  508. ace_core-0.1.0/core/engine/orchestrator/dual_loader.py +445 -0
  509. ace_core-0.1.0/core/engine/orchestrator/engagement.py +745 -0
  510. ace_core-0.1.0/core/engine/orchestrator/engagement_models.py +36 -0
  511. ace_core-0.1.0/core/engine/orchestrator/executor.py +960 -0
  512. ace_core-0.1.0/core/engine/orchestrator/history.py +85 -0
  513. ace_core-0.1.0/core/engine/orchestrator/injection.py +176 -0
  514. ace_core-0.1.0/core/engine/orchestrator/loader.py +430 -0
  515. ace_core-0.1.0/core/engine/orchestrator/specialty_resolver.py +218 -0
  516. ace_core-0.1.0/core/engine/orchestrator/streaming.py +302 -0
  517. ace_core-0.1.0/core/engine/orchestrator/synthesizer.py +401 -0
  518. ace_core-0.1.0/core/engine/orchestrator/systems_map.py +283 -0
  519. ace_core-0.1.0/core/engine/orchestrator/trust_ranking.py +32 -0
  520. ace_core-0.1.0/core/engine/orchestrator/verification_gate.py +65 -0
  521. ace_core-0.1.0/core/engine/playbooks/__init__.py +0 -0
  522. ace_core-0.1.0/core/engine/playbooks/inline_suggest.py +134 -0
  523. ace_core-0.1.0/core/engine/pm/__init__.py +1 -0
  524. ace_core-0.1.0/core/engine/pm/approvals.py +215 -0
  525. ace_core-0.1.0/core/engine/pm/decompose.py +188 -0
  526. ace_core-0.1.0/core/engine/pm/gate_engine.py +300 -0
  527. ace_core-0.1.0/core/engine/pm/git.py +322 -0
  528. ace_core-0.1.0/core/engine/pm/initiative_states.py +63 -0
  529. ace_core-0.1.0/core/engine/pm/locks.py +345 -0
  530. ace_core-0.1.0/core/engine/pm/parallel.py +261 -0
  531. ace_core-0.1.0/core/engine/pm/review.py +181 -0
  532. ace_core-0.1.0/core/engine/pm/risk_assessor.py +69 -0
  533. ace_core-0.1.0/core/engine/pm/tracker.py +336 -0
  534. ace_core-0.1.0/core/engine/proactive/__init__.py +0 -0
  535. ace_core-0.1.0/core/engine/proactive/aggregator.py +359 -0
  536. ace_core-0.1.0/core/engine/proactive/models.py +47 -0
  537. ace_core-0.1.0/core/engine/proactive/voice.py +80 -0
  538. ace_core-0.1.0/core/engine/product/__init__.py +0 -0
  539. ace_core-0.1.0/core/engine/product/acceptance.py +380 -0
  540. ace_core-0.1.0/core/engine/product/agent_orchestrator.py +353 -0
  541. ace_core-0.1.0/core/engine/product/ambition.py +177 -0
  542. ace_core-0.1.0/core/engine/product/ambition_loader.py +129 -0
  543. ace_core-0.1.0/core/engine/product/ambition_relevance.py +51 -0
  544. ace_core-0.1.0/core/engine/product/briefing_diff.py +147 -0
  545. ace_core-0.1.0/core/engine/product/briefing_payload.py +60 -0
  546. ace_core-0.1.0/core/engine/product/capability_mapper.py +650 -0
  547. ace_core-0.1.0/core/engine/product/conversation.py +230 -0
  548. ace_core-0.1.0/core/engine/product/cost_intelligence.py +735 -0
  549. ace_core-0.1.0/core/engine/product/decision_linker.py +423 -0
  550. ace_core-0.1.0/core/engine/product/decisions.py +427 -0
  551. ace_core-0.1.0/core/engine/product/discover.py +108 -0
  552. ace_core-0.1.0/core/engine/product/discovery_sprint.py +247 -0
  553. ace_core-0.1.0/core/engine/product/ecosystem.py +332 -0
  554. ace_core-0.1.0/core/engine/product/enforcer.py +565 -0
  555. ace_core-0.1.0/core/engine/product/feature_flags.py +33 -0
  556. ace_core-0.1.0/core/engine/product/feedback_handler.py +233 -0
  557. ace_core-0.1.0/core/engine/product/generation_engine.py +567 -0
  558. ace_core-0.1.0/core/engine/product/innovate.py +193 -0
  559. ace_core-0.1.0/core/engine/product/isolation.py +154 -0
  560. ace_core-0.1.0/core/engine/product/living_graph.py +686 -0
  561. ace_core-0.1.0/core/engine/product/living_graph_store.py +166 -0
  562. ace_core-0.1.0/core/engine/product/map.py +524 -0
  563. ace_core-0.1.0/core/engine/product/models.py +163 -0
  564. ace_core-0.1.0/core/engine/product/phase_floors.py +145 -0
  565. ace_core-0.1.0/core/engine/product/phase_inference.py +81 -0
  566. ace_core-0.1.0/core/engine/product/pillar_aggregator.py +101 -0
  567. ace_core-0.1.0/core/engine/product/pillars.py +77 -0
  568. ace_core-0.1.0/core/engine/product/portfolio.py +161 -0
  569. ace_core-0.1.0/core/engine/product/prioritizer.py +115 -0
  570. ace_core-0.1.0/core/engine/product/question_engine.py +154 -0
  571. ace_core-0.1.0/core/engine/product/rationale_quality.py +50 -0
  572. ace_core-0.1.0/core/engine/product/recommendation_decay.py +89 -0
  573. ace_core-0.1.0/core/engine/product/report_generator.py +110 -0
  574. ace_core-0.1.0/core/engine/product/report_models.py +134 -0
  575. ace_core-0.1.0/core/engine/product/retainer.py +207 -0
  576. ace_core-0.1.0/core/engine/product/roadmap.py +225 -0
  577. ace_core-0.1.0/core/engine/product/roadmap_doc.py +171 -0
  578. ace_core-0.1.0/core/engine/product/roadmap_models.py +39 -0
  579. ace_core-0.1.0/core/engine/product/roadmap_staleness.py +72 -0
  580. ace_core-0.1.0/core/engine/product/runtime_bridge.py +730 -0
  581. ace_core-0.1.0/core/engine/product/seed_generator.py +164 -0
  582. ace_core-0.1.0/core/engine/product/seed_packs.py +439 -0
  583. ace_core-0.1.0/core/engine/product/shadow_ranker.py +40 -0
  584. ace_core-0.1.0/core/engine/product/smart_decompose.py +385 -0
  585. ace_core-0.1.0/core/engine/product/spec_generator.py +981 -0
  586. ace_core-0.1.0/core/engine/product/spec_models.py +98 -0
  587. ace_core-0.1.0/core/engine/product/strategic_prioritizer.py +357 -0
  588. ace_core-0.1.0/core/engine/product/strategy_ingest.py +249 -0
  589. ace_core-0.1.0/core/engine/product/strategy_seed_data.py +189 -0
  590. ace_core-0.1.0/core/engine/product/sub_pillar_escalation.py +30 -0
  591. ace_core-0.1.0/core/engine/product/uncertainty.py +130 -0
  592. ace_core-0.1.0/core/engine/reasoning/__init__.py +0 -0
  593. ace_core-0.1.0/core/engine/reasoning/executor.py +195 -0
  594. ace_core-0.1.0/core/engine/reasoning/models.py +35 -0
  595. ace_core-0.1.0/core/engine/reasoning/selector.py +199 -0
  596. ace_core-0.1.0/core/engine/reasoning/synthesis.py +61 -0
  597. ace_core-0.1.0/core/engine/recognition/__init__.py +0 -0
  598. ace_core-0.1.0/core/engine/recognition/decision_classifier.py +100 -0
  599. ace_core-0.1.0/core/engine/recognition/draft_builder.py +71 -0
  600. ace_core-0.1.0/core/engine/recognition/models.py +39 -0
  601. ace_core-0.1.0/core/engine/reports/__init__.py +0 -0
  602. ace_core-0.1.0/core/engine/reports/assembler.py +159 -0
  603. ace_core-0.1.0/core/engine/reports/diagrams.py +195 -0
  604. ace_core-0.1.0/core/engine/reports/generator.py +77 -0
  605. ace_core-0.1.0/core/engine/reports/narrative.py +87 -0
  606. ace_core-0.1.0/core/engine/reports/renderer.py +33 -0
  607. ace_core-0.1.0/core/engine/reports/static/mermaid.min.js +2029 -0
  608. ace_core-0.1.0/core/engine/reports/templates/audit.html +233 -0
  609. ace_core-0.1.0/core/engine/reports/templates/base_styles.css +391 -0
  610. ace_core-0.1.0/core/engine/reports/templates/snapshot.html +160 -0
  611. ace_core-0.1.0/core/engine/research/__init__.py +1 -0
  612. ace_core-0.1.0/core/engine/research/agent.py +574 -0
  613. ace_core-0.1.0/core/engine/research/confidence.py +53 -0
  614. ace_core-0.1.0/core/engine/research/fetcher.py +204 -0
  615. ace_core-0.1.0/core/engine/research/source_registry.py +180 -0
  616. ace_core-0.1.0/core/engine/review/__init__.py +0 -0
  617. ace_core-0.1.0/core/engine/review/autofix.py +365 -0
  618. ace_core-0.1.0/core/engine/review/capture.py +136 -0
  619. ace_core-0.1.0/core/engine/review/config.py +43 -0
  620. ace_core-0.1.0/core/engine/review/engine.py +310 -0
  621. ace_core-0.1.0/core/engine/review/impact.py +147 -0
  622. ace_core-0.1.0/core/engine/review/judge.py +194 -0
  623. ace_core-0.1.0/core/engine/review/learning.py +144 -0
  624. ace_core-0.1.0/core/engine/review/models.py +54 -0
  625. ace_core-0.1.0/core/engine/review/providers.py +343 -0
  626. ace_core-0.1.0/core/engine/review/taint.py +248 -0
  627. ace_core-0.1.0/core/engine/review/testgen.py +202 -0
  628. ace_core-0.1.0/core/engine/review/velocity.py +131 -0
  629. ace_core-0.1.0/core/engine/review/watcher.py +153 -0
  630. ace_core-0.1.0/core/engine/runner/__init__.py +0 -0
  631. ace_core-0.1.0/core/engine/runner/daemon.py +306 -0
  632. ace_core-0.1.0/core/engine/runner/models.py +36 -0
  633. ace_core-0.1.0/core/engine/runtime/__init__.py +23 -0
  634. ace_core-0.1.0/core/engine/runtime/adapters/__init__.py +18 -0
  635. ace_core-0.1.0/core/engine/runtime/adapters/gemini_adapter.py +85 -0
  636. ace_core-0.1.0/core/engine/runtime/adapters/openai_adapter.py +117 -0
  637. ace_core-0.1.0/core/engine/runtime/auto_extract.py +82 -0
  638. ace_core-0.1.0/core/engine/runtime/away_summary.py +71 -0
  639. ace_core-0.1.0/core/engine/runtime/background.py +69 -0
  640. ace_core-0.1.0/core/engine/runtime/conductor_bridge.py +103 -0
  641. ace_core-0.1.0/core/engine/runtime/context_manager.py +230 -0
  642. ace_core-0.1.0/core/engine/runtime/default_models.yml +43 -0
  643. ace_core-0.1.0/core/engine/runtime/error_recovery.py +53 -0
  644. ace_core-0.1.0/core/engine/runtime/events.py +20 -0
  645. ace_core-0.1.0/core/engine/runtime/init_project.py +257 -0
  646. ace_core-0.1.0/core/engine/runtime/intelligence.py +140 -0
  647. ace_core-0.1.0/core/engine/runtime/mid_session_observer.py +183 -0
  648. ace_core-0.1.0/core/engine/runtime/model_adapter.py +391 -0
  649. ace_core-0.1.0/core/engine/runtime/model_config.py +362 -0
  650. ace_core-0.1.0/core/engine/runtime/models.py +126 -0
  651. ace_core-0.1.0/core/engine/runtime/product_detector.py +63 -0
  652. ace_core-0.1.0/core/engine/runtime/progress.py +37 -0
  653. ace_core-0.1.0/core/engine/runtime/prompt_cache.py +52 -0
  654. ace_core-0.1.0/core/engine/runtime/query_loop.py +224 -0
  655. ace_core-0.1.0/core/engine/runtime/reflection.py +126 -0
  656. ace_core-0.1.0/core/engine/runtime/repo_map.py +254 -0
  657. ace_core-0.1.0/core/engine/runtime/retry.py +58 -0
  658. ace_core-0.1.0/core/engine/runtime/runtime.py +736 -0
  659. ace_core-0.1.0/core/engine/runtime/safety.py +25 -0
  660. ace_core-0.1.0/core/engine/runtime/session_memory.py +100 -0
  661. ace_core-0.1.0/core/engine/runtime/session_resume.py +128 -0
  662. ace_core-0.1.0/core/engine/runtime/token_budget.py +49 -0
  663. ace_core-0.1.0/core/engine/runtime/token_tracker.py +82 -0
  664. ace_core-0.1.0/core/engine/runtime/tool_executor.py +84 -0
  665. ace_core-0.1.0/core/engine/runtime/tools/__init__.py +58 -0
  666. ace_core-0.1.0/core/engine/runtime/tools/ace_tools.py +787 -0
  667. ace_core-0.1.0/core/engine/runtime/tools/bash.py +65 -0
  668. ace_core-0.1.0/core/engine/runtime/tools/browser_tool.py +416 -0
  669. ace_core-0.1.0/core/engine/runtime/tools/file_edit.py +168 -0
  670. ace_core-0.1.0/core/engine/runtime/tools/file_read.py +67 -0
  671. ace_core-0.1.0/core/engine/runtime/tools/file_write.py +52 -0
  672. ace_core-0.1.0/core/engine/runtime/tools/git_safety.py +69 -0
  673. ace_core-0.1.0/core/engine/runtime/tools/glob_tool.py +71 -0
  674. ace_core-0.1.0/core/engine/runtime/tools/grep.py +90 -0
  675. ace_core-0.1.0/core/engine/runtime/tools/web_tools.py +427 -0
  676. ace_core-0.1.0/core/engine/runtime/transcript.py +52 -0
  677. ace_core-0.1.0/core/engine/runtime/verification_nudge.py +35 -0
  678. ace_core-0.1.0/core/engine/scanner/__init__.py +1 -0
  679. ace_core-0.1.0/core/engine/scanner/ast_parser.py +661 -0
  680. ace_core-0.1.0/core/engine/scanner/bandit_runner.py +85 -0
  681. ace_core-0.1.0/core/engine/scanner/commit_watcher.py +250 -0
  682. ace_core-0.1.0/core/engine/scanner/coverage_extractor.py +189 -0
  683. ace_core-0.1.0/core/engine/scanner/embed_hook.py +225 -0
  684. ace_core-0.1.0/core/engine/scanner/external.py +368 -0
  685. ace_core-0.1.0/core/engine/scanner/frontend_scanner.py +309 -0
  686. ace_core-0.1.0/core/engine/scanner/hardening.py +396 -0
  687. ace_core-0.1.0/core/engine/scanner/import_parser.py +147 -0
  688. ace_core-0.1.0/core/engine/scanner/pattern_search.py +131 -0
  689. ace_core-0.1.0/core/engine/scanner/pip_audit_runner.py +71 -0
  690. ace_core-0.1.0/core/engine/scanner/ruff_runner.py +95 -0
  691. ace_core-0.1.0/core/engine/scanner/scanner.py +1191 -0
  692. ace_core-0.1.0/core/engine/scanner/security_scanner.py +106 -0
  693. ace_core-0.1.0/core/engine/scanner/trufflehog_runner.py +73 -0
  694. ace_core-0.1.0/core/engine/seam/__init__.py +0 -0
  695. ace_core-0.1.0/core/engine/seam/backend_extractor.py +174 -0
  696. ace_core-0.1.0/core/engine/seam/frontend_extractor.py +214 -0
  697. ace_core-0.1.0/core/engine/seam/matcher.py +107 -0
  698. ace_core-0.1.0/core/engine/seam/types.py +49 -0
  699. ace_core-0.1.0/core/engine/search/__init__.py +1 -0
  700. ace_core-0.1.0/core/engine/search/hybrid.py +139 -0
  701. ace_core-0.1.0/core/engine/search/rerank.py +68 -0
  702. ace_core-0.1.0/core/engine/search/semantic.py +97 -0
  703. ace_core-0.1.0/core/engine/search/vector_store.py +112 -0
  704. ace_core-0.1.0/core/engine/sentinel/__init__.py +0 -0
  705. ace_core-0.1.0/core/engine/sentinel/conflict_detector.py +275 -0
  706. ace_core-0.1.0/core/engine/sentinel/decay_manager.py +245 -0
  707. ace_core-0.1.0/core/engine/sentinel/engines/__init__.py +202 -0
  708. ace_core-0.1.0/core/engine/sentinel/engines/adversarial_synthesis.py +239 -0
  709. ace_core-0.1.0/core/engine/sentinel/engines/bootstrap.py +128 -0
  710. ace_core-0.1.0/core/engine/sentinel/engines/briefing.py +1155 -0
  711. ace_core-0.1.0/core/engine/sentinel/engines/calibration_engine.py +119 -0
  712. ace_core-0.1.0/core/engine/sentinel/engines/community_scanner.py +194 -0
  713. ace_core-0.1.0/core/engine/sentinel/engines/community_summarizer.py +126 -0
  714. ace_core-0.1.0/core/engine/sentinel/engines/competitive_observer.py +353 -0
  715. ace_core-0.1.0/core/engine/sentinel/engines/correlation_engine.py +234 -0
  716. ace_core-0.1.0/core/engine/sentinel/engines/decision_capability_backfill.py +59 -0
  717. ace_core-0.1.0/core/engine/sentinel/engines/domain_research.py +743 -0
  718. ace_core-0.1.0/core/engine/sentinel/engines/ecosystem_scanner.py +537 -0
  719. ace_core-0.1.0/core/engine/sentinel/engines/edge_inference_sweeper.py +34 -0
  720. ace_core-0.1.0/core/engine/sentinel/engines/effectiveness_recomputer.py +37 -0
  721. ace_core-0.1.0/core/engine/sentinel/engines/embedding_reconciler.py +106 -0
  722. ace_core-0.1.0/core/engine/sentinel/engines/evaluator_honesty.py +182 -0
  723. ace_core-0.1.0/core/engine/sentinel/engines/failure_analysis.py +203 -0
  724. ace_core-0.1.0/core/engine/sentinel/engines/gap_analyzer.py +845 -0
  725. ace_core-0.1.0/core/engine/sentinel/engines/gap_researcher.py +306 -0
  726. ace_core-0.1.0/core/engine/sentinel/engines/github_release_watcher.py +182 -0
  727. ace_core-0.1.0/core/engine/sentinel/engines/idea_incubator.py +67 -0
  728. ace_core-0.1.0/core/engine/sentinel/engines/intelligence_optimizer.py +90 -0
  729. ace_core-0.1.0/core/engine/sentinel/engines/knowledge_verifier.py +259 -0
  730. ace_core-0.1.0/core/engine/sentinel/engines/metabolism_drainer.py +38 -0
  731. ace_core-0.1.0/core/engine/sentinel/engines/outcome_sweeper.py +86 -0
  732. ace_core-0.1.0/core/engine/sentinel/engines/overthinking_observer.py +97 -0
  733. ace_core-0.1.0/core/engine/sentinel/engines/perspective_gaps.py +193 -0
  734. ace_core-0.1.0/core/engine/sentinel/engines/pm_optimizer.py +125 -0
  735. ace_core-0.1.0/core/engine/sentinel/engines/provenance_reconciler.py +56 -0
  736. ace_core-0.1.0/core/engine/sentinel/engines/question_generator.py +64 -0
  737. ace_core-0.1.0/core/engine/sentinel/engines/roadmap_reconciler.py +65 -0
  738. ace_core-0.1.0/core/engine/sentinel/engines/seam_analyzer.py +106 -0
  739. ace_core-0.1.0/core/engine/sentinel/engines/self_optimizer.py +389 -0
  740. ace_core-0.1.0/core/engine/sentinel/engines/session_compressor.py +321 -0
  741. ace_core-0.1.0/core/engine/sentinel/engines/simplicity_audit.py +341 -0
  742. ace_core-0.1.0/core/engine/sentinel/engines/skill_emergence.py +44 -0
  743. ace_core-0.1.0/core/engine/sentinel/engines/specialty_deepener.py +228 -0
  744. ace_core-0.1.0/core/engine/sentinel/engines/task_grading_engine.py +116 -0
  745. ace_core-0.1.0/core/engine/sentinel/engines/template_detector.py +41 -0
  746. ace_core-0.1.0/core/engine/sentinel/engines/voice_audit_sweeper.py +28 -0
  747. ace_core-0.1.0/core/engine/sentinel/engines/voice_thread_sweeper.py +92 -0
  748. ace_core-0.1.0/core/engine/sentinel/engines/whitespace_engine.py +290 -0
  749. ace_core-0.1.0/core/engine/sentinel/engines/wiring_auditor.py +135 -0
  750. ace_core-0.1.0/core/engine/sentinel/findings.py +122 -0
  751. ace_core-0.1.0/core/engine/sentinel/registry.py +73 -0
  752. ace_core-0.1.0/core/engine/sentinel/scheduler.py +350 -0
  753. ace_core-0.1.0/core/engine/sentinel/triggers.py +131 -0
  754. ace_core-0.1.0/core/engine/session/__init__.py +4 -0
  755. ace_core-0.1.0/core/engine/session/adapter.py +32 -0
  756. ace_core-0.1.0/core/engine/session/adapters/__init__.py +0 -0
  757. ace_core-0.1.0/core/engine/session/adapters/claude_code.py +51 -0
  758. ace_core-0.1.0/core/engine/session/adapters/generic.py +47 -0
  759. ace_core-0.1.0/core/engine/session/models.py +112 -0
  760. ace_core-0.1.0/core/engine/session/registry.py +25 -0
  761. ace_core-0.1.0/core/engine/skills/__init__.py +0 -0
  762. ace_core-0.1.0/core/engine/skills/executor.py +605 -0
  763. ace_core-0.1.0/core/engine/skills/models.py +166 -0
  764. ace_core-0.1.0/core/engine/skills/selector.py +160 -0
  765. ace_core-0.1.0/core/engine/solution.py +29 -0
  766. ace_core-0.1.0/core/engine/synthesis/__init__.py +0 -0
  767. ace_core-0.1.0/core/engine/synthesis/signal_store.py +155 -0
  768. ace_core-0.1.0/core/engine/synthesis/trigger.py +213 -0
  769. ace_core-0.1.0/core/engine/templates/__init__.py +1 -0
  770. ace_core-0.1.0/core/engine/templates/emergence.py +107 -0
  771. ace_core-0.1.0/core/engine/templates/instantiate.py +148 -0
  772. ace_core-0.1.0/core/engine/templates/models.py +41 -0
  773. ace_core-0.1.0/core/engine/templates/suggest.py +195 -0
  774. ace_core-0.1.0/core/engine/verification/__init__.py +26 -0
  775. ace_core-0.1.0/core/engine/verification/behavioral.py +81 -0
  776. ace_core-0.1.0/core/engine/verification/benchmark.py +233 -0
  777. ace_core-0.1.0/core/engine/verification/checks/__init__.py +2 -0
  778. ace_core-0.1.0/core/engine/verification/checks/code_inspection.py +117 -0
  779. ace_core-0.1.0/core/engine/verification/checks/execution_check.py +176 -0
  780. ace_core-0.1.0/core/engine/verification/checks/integration.py +143 -0
  781. ace_core-0.1.0/core/engine/verification/grader.py +237 -0
  782. ace_core-0.1.0/core/engine/verification/honesty.py +128 -0
  783. ace_core-0.1.0/core/engine/verification/models.py +109 -0
  784. ace_core-0.1.0/core/engine/verification/quality_gate.py +167 -0
  785. ace_core-0.1.0/core/engine/version.py +3 -0
  786. ace_core-0.1.0/core/engine/voice/__init__.py +1 -0
  787. ace_core-0.1.0/core/engine/voice/anti_patterns.py +53 -0
  788. ace_core-0.1.0/core/engine/voice/audit.py +51 -0
  789. ace_core-0.1.0/core/engine/voice/audit_runner.py +102 -0
  790. ace_core-0.1.0/core/engine/voice/briefing.py +147 -0
  791. ace_core-0.1.0/core/engine/voice/composition.py +47 -0
  792. ace_core-0.1.0/core/engine/voice/detectors/__init__.py +0 -0
  793. ace_core-0.1.0/core/engine/voice/detectors/drift_detector.py +77 -0
  794. ace_core-0.1.0/core/engine/voice/detectors/recommendation_shift_detector.py +125 -0
  795. ace_core-0.1.0/core/engine/voice/dispatch.py +20 -0
  796. ace_core-0.1.0/core/engine/voice/feature_flag.py +59 -0
  797. ace_core-0.1.0/core/engine/voice/hashing.py +35 -0
  798. ace_core-0.1.0/core/engine/voice/render_context.py +19 -0
  799. ace_core-0.1.0/core/engine/voice/renderers.py +173 -0
  800. ace_core-0.1.0/core/engine/voice/rules.py +66 -0
  801. ace_core-0.1.0/core/engine/voice/salience.py +26 -0
  802. ace_core-0.1.0/core/engine/voice/static_copy_extractor.py +132 -0
  803. ace_core-0.1.0/core/engine/voice/stream.py +388 -0
  804. ace_core-0.1.0/core/engine/voice/surfaces.py +124 -0
  805. ace_core-0.1.0/core/engine/voice/thread.py +150 -0
  806. ace_core-0.1.0/core/engine/voice/thread_event.py +23 -0
  807. ace_core-0.1.0/core/engine/voice/transitions.py +108 -0
  808. ace_core-0.1.0/core/engine/worker/__init__.py +0 -0
  809. ace_core-0.1.0/core/engine/worker/app.py +790 -0
  810. ace_core-0.1.0/core/engine/worker/bus_bridge.py +71 -0
  811. ace_core-0.1.0/core/engine/worker/classifier.py +211 -0
  812. ace_core-0.1.0/core/engine/worker/feature_flag.py +31 -0
  813. ace_core-0.1.0/core/engine/worker/fs_watcher.py +289 -0
  814. ace_core-0.1.0/core/engine/worker/gate.py +204 -0
  815. ace_core-0.1.0/core/engine/worker/harness.py +156 -0
  816. ace_core-0.1.0/core/engine/worker/health.py +68 -0
  817. ace_core-0.1.0/core/engine/worker/intelligence.py +126 -0
  818. ace_core-0.1.0/core/engine/worker/knowledge.py +175 -0
  819. ace_core-0.1.0/core/engine/worker/models.py +90 -0
  820. ace_core-0.1.0/core/engine/worker/processor.py +228 -0
  821. ace_core-0.1.0/core/engine/worker/session.py +188 -0
  822. ace_core-0.1.0/core/engine/worker/signals.py +91 -0
  823. ace_core-0.1.0/core/engine/worker/start.py +34 -0
  824. ace_core-0.1.0/core/schema/__init__.py +1 -0
  825. ace_core-0.1.0/core/schema/v001_structural.surql +117 -0
  826. ace_core-0.1.0/core/schema/v002_intelligence.surql +134 -0
  827. ace_core-0.1.0/core/schema/v003_maturation.surql +35 -0
  828. ace_core-0.1.0/core/schema/v004_documents.surql +23 -0
  829. ace_core-0.1.0/core/schema/v005_synapses.surql +29 -0
  830. ace_core-0.1.0/core/schema/v006_flow_config.surql +17 -0
  831. ace_core-0.1.0/core/schema/v007_scheduler_signals.surql +67 -0
  832. ace_core-0.1.0/core/schema/v008_briefings.surql +27 -0
  833. ace_core-0.1.0/core/schema/v009_execution.surql +10 -0
  834. ace_core-0.1.0/core/schema/v010_skills.surql +45 -0
  835. ace_core-0.1.0/core/schema/v011_reasoning.surql +47 -0
  836. ace_core-0.1.0/core/schema/v012_pm.surql +130 -0
  837. ace_core-0.1.0/core/schema/v013_ideas_playbooks.surql +59 -0
  838. ace_core-0.1.0/core/schema/v014_portal.surql +77 -0
  839. ace_core-0.1.0/core/schema/v015_advanced_intelligence.surql +57 -0
  840. ace_core-0.1.0/core/schema/v016_portal.surql +5 -0
  841. ace_core-0.1.0/core/schema/v017_runner.surql +43 -0
  842. ace_core-0.1.0/core/schema/v018_chat_linked.surql +4 -0
  843. ace_core-0.1.0/core/schema/v019_jobs_templates.surql +53 -0
  844. ace_core-0.1.0/core/schema/v020_measurement.surql +59 -0
  845. ace_core-0.1.0/core/schema/v021_evolution.surql +47 -0
  846. ace_core-0.1.0/core/schema/v022_idea_conversations.surql +8 -0
  847. ace_core-0.1.0/core/schema/v023_orchestration_events.surql +32 -0
  848. ace_core-0.1.0/core/schema/v024_experiment_narratives.surql +13 -0
  849. ace_core-0.1.0/core/schema/v025_dual_graphs.surql +40 -0
  850. ace_core-0.1.0/core/schema/v026_engagement.surql +12 -0
  851. ace_core-0.1.0/core/schema/v027_self_optimizer.surql +43 -0
  852. ace_core-0.1.0/core/schema/v028_onboarding.surql +6 -0
  853. ace_core-0.1.0/core/schema/v029_domain_path_optional.surql +11 -0
  854. ace_core-0.1.0/core/schema/v030_competitive_observer.surql +37 -0
  855. ace_core-0.1.0/core/schema/v031_graph.surql +343 -0
  856. ace_core-0.1.0/core/schema/v032_product_awareness.surql +195 -0
  857. ace_core-0.1.0/core/schema/v033_ecosystem.surql +39 -0
  858. ace_core-0.1.0/core/schema/v034_product_direction_flex.surql +149 -0
  859. ace_core-0.1.0/core/schema/v035_flexible_object_fields.surql +33 -0
  860. ace_core-0.1.0/core/schema/v036_vision_themes.surql +30 -0
  861. ace_core-0.1.0/core/schema/v037_four_layer_live.surql +113 -0
  862. ace_core-0.1.0/core/schema/v038_drop_graph_shadows.surql +15 -0
  863. ace_core-0.1.0/core/schema/v039_embeddings.surql +10 -0
  864. ace_core-0.1.0/core/schema/v040_connected_graph.surql +77 -0
  865. ace_core-0.1.0/core/schema/v041_initiative_lifecycle.surql +23 -0
  866. ace_core-0.1.0/core/schema/v042_agent_config.surql +23 -0
  867. ace_core-0.1.0/core/schema/v043_composition_memory.surql +51 -0
  868. ace_core-0.1.0/core/schema/v044_schemaless_nested_objects.surql +61 -0
  869. ace_core-0.1.0/core/schema/v045_atc_flight.surql +23 -0
  870. ace_core-0.1.0/core/schema/v046_verification_v2.surql +79 -0
  871. ace_core-0.1.0/core/schema/v047_pr_review.surql +21 -0
  872. ace_core-0.1.0/core/schema/v048_review_reactions.surql +14 -0
  873. ace_core-0.1.0/core/schema/v049_project_scoping.surql +32 -0
  874. ace_core-0.1.0/core/schema/v050_engine_schedule_override.surql +14 -0
  875. ace_core-0.1.0/core/schema/v051_session_digest.surql +20 -0
  876. ace_core-0.1.0/core/schema/v052_capability_lifecycle.surql +78 -0
  877. ace_core-0.1.0/core/schema/v053_code_intelligence.surql +53 -0
  878. ace_core-0.1.0/core/schema/v054_hierarchy_rename.surql +373 -0
  879. ace_core-0.1.0/core/schema/v055_resource_lock_product.surql +19 -0
  880. ace_core-0.1.0/core/schema/v056_product_repo_detection.surql +7 -0
  881. ace_core-0.1.0/core/schema/v057_cognition.surql +37 -0
  882. ace_core-0.1.0/core/schema/v058_org_to_product_rename.surql +56 -0
  883. ace_core-0.1.0/core/schema/v059_org_to_product_remaining.surql +192 -0
  884. ace_core-0.1.0/core/schema/v060_capability_quality_importance.surql +9 -0
  885. ace_core-0.1.0/core/schema/v061_drop_org_workspace.surql +177 -0
  886. ace_core-0.1.0/core/schema/v062_intelligence_indexes.surql +28 -0
  887. ace_core-0.1.0/core/schema/v063_drop_org_table.surql +30 -0
  888. ace_core-0.1.0/core/schema/v064_competitor_org_to_product.surql +30 -0
  889. ace_core-0.1.0/core/schema/v065_backfill_product.surql +16 -0
  890. ace_core-0.1.0/core/schema/v066_benchmark.surql +50 -0
  891. ace_core-0.1.0/core/schema/v067_failure_memory.surql +21 -0
  892. ace_core-0.1.0/core/schema/v068_self_improvement.surql +25 -0
  893. ace_core-0.1.0/core/schema/v069_routing_feedback.surql +15 -0
  894. ace_core-0.1.0/core/schema/v070_graph_decision_scanner_fields.surql +5 -0
  895. ace_core-0.1.0/core/schema/v071_reports.surql +6 -0
  896. ace_core-0.1.0/core/schema/v072_decision_discipline_hint.surql +8 -0
  897. ace_core-0.1.0/core/schema/v073_capability_finding.surql +24 -0
  898. ace_core-0.1.0/core/schema/v074_quality_confidence.surql +5 -0
  899. ace_core-0.1.0/core/schema/v075_quality_snapshot.surql +15 -0
  900. ace_core-0.1.0/core/schema/v076_correlation_signal.surql +15 -0
  901. ace_core-0.1.0/core/schema/v077_competitor_capability.surql +25 -0
  902. ace_core-0.1.0/core/schema/v078_competitor_seeds.surql +163 -0
  903. ace_core-0.1.0/core/schema/v079_whitespace_opportunity.surql +33 -0
  904. ace_core-0.1.0/core/schema/v080_strategic_score.surql +12 -0
  905. ace_core-0.1.0/core/schema/v081_ace_session.surql +10 -0
  906. ace_core-0.1.0/core/schema/v082_event_log.surql +15 -0
  907. ace_core-0.1.0/core/schema/v083_staleness_and_file_gate.surql +34 -0
  908. ace_core-0.1.0/core/schema/v084_extended_search.surql +57 -0
  909. ace_core-0.1.0/core/schema/v085_events.surql +25 -0
  910. ace_core-0.1.0/core/schema/v086_insight_utilization.surql +12 -0
  911. ace_core-0.1.0/core/schema/v087_classification_cache.surql +9 -0
  912. ace_core-0.1.0/core/schema/v088_ab_result.surql +20 -0
  913. ace_core-0.1.0/core/schema/v089_ambition_substrate.surql +89 -0
  914. ace_core-0.1.0/core/schema/v090_product_feature_flag.surql +12 -0
  915. ace_core-0.1.0/core/schema/v091_partnership_entities.surql +38 -0
  916. ace_core-0.1.0/core/schema/v092_voice_rendering.surql +34 -0
  917. ace_core-0.1.0/core/schema/v093_voice_continuity.surql +34 -0
  918. ace_core-0.1.0/core/schema/v094_worker_canvas_bridge.surql +12 -0
  919. ace_core-0.1.0/core/schema/v095_closed_loop.surql +34 -0
  920. ace_core-0.1.0/core/schema/v096_voice_thread_actions.surql +22 -0
  921. ace_core-0.1.0/core/schema/v097_seed_history_indexes.surql +22 -0
  922. ace_core-0.1.0/core/schema/v098_capability_seed_origin.surql +14 -0
  923. ace_core-0.1.0/core/schema/v099_briefing_seed_origin.surql +15 -0
  924. ace_core-0.1.0/core/schema/v100_onboarding_conversation.surql +17 -0
  925. ace_core-0.1.0/core/schema/v101_reasoning_journey.surql +41 -0
  926. ace_core-0.1.0/core/schema/v102_voice_audit_run.surql +14 -0
  927. ace_core-0.1.0/core/schema/v103_canvas.surql +62 -0
  928. ace_core-0.1.0/core/schema/v104_foresight_phase1.surql +44 -0
  929. ace_core-0.1.0/core/schema/v105_rollout_cache.surql +3 -0
  930. ace_core-0.1.0/core/schema/v106_orchestration_channel.surql +31 -0
  931. ace_core-0.1.0/core/schema/v107_world_model.surql +26 -0
  932. ace_core-0.1.0/core/schema/v108_decision_capability_inference.surql +24 -0
  933. ace_core-0.1.0/core/schema/v109_decision_recency_index.surql +17 -0
  934. ace_core-0.1.0/core/schema/v110_cost_aware_reasoning.surql +18 -0
  935. ace_core-0.1.0/core/schema/v111_team_build_signal_fields.surql +17 -0
  936. ace_core-0.1.0/core/schema/v112_insight_needs_embedding.surql +11 -0
  937. ace_core-0.1.0/core/schema/v113_insight_legacy_field_widen.surql +30 -0
  938. ace_core-0.1.0/core/schema/v114_forget_log.surql +20 -0
  939. ace_core-0.1.0/core/schema/v115_forget_log_tamper_detect.surql +22 -0
  940. ace_core-0.1.0/core/schema/v116_insight_provenance.surql +13 -0
  941. ace_core-0.1.0/core/schema/v117_reasoning_run.surql +31 -0
  942. ace_core-0.1.0/core/schema/v118_tool_perf.surql +19 -0
  943. ace_core-0.1.0/core/schema/v119_instrument_perf_product_index.surql +12 -0
  944. ace_core-0.1.0/core/schema/v120_routing_perf.surql +22 -0
  945. ace_core-0.1.0/core/schema/v121_reasoning_run_trace_id.surql +10 -0
  946. ace_core-0.1.0/core/schema/v122_run_event_seq.surql +15 -0
  947. ace_core-0.1.0/core/schema/v123_graph_tension_event.surql +11 -0
  948. ace_core-0.1.0/core/schema/v124_roadmap_phase.surql +19 -0
  949. ace_core-0.1.0/core/schema/v125_agent_spec_strategy_status.surql +15 -0
  950. ace_core-0.1.0/core/schema/v126_action_outcome.surql +24 -0
  951. ace_core-0.1.0/core/schema/v127_action_outcome_profile.surql +12 -0
  952. ace_core-0.1.0/core/schema/v129_afferent_edges.surql +21 -0
  953. ace_core-0.1.0/core/schema/v130_reasoning_event.surql +12 -0
  954. ace_core-0.1.0/core/schema/v131_task_grader_score.surql +9 -0
  955. ace_core-0.1.0/core/schema/v132_calibrated_assessment_float.surql +12 -0
  956. ace_core-0.1.0/core/schema/v133_community_summary.surql +14 -0
  957. ace_core-0.1.0/core/schema/v134_reasoning_fork.surql +7 -0
  958. ace_core-0.1.0/core/schema/v135_arm_run.surql +49 -0
  959. ace_core-0.1.0/core/schema/v136_grounds_edge.surql +85 -0
  960. ace_core-0.1.0/core/schema/v137_reeval_request.surql +32 -0
  961. ace_core-0.1.0/core/schema/v138_reeval_rederivation.surql +18 -0
  962. ace_core-0.1.0/core/schema/v139_reeval_freshness_marked.surql +24 -0
  963. ace_core-0.1.0/core/schema/v140_observation_workspace_remove.surql +22 -0
  964. ace_core-0.1.0/core/schema/v141_agent_feedback_org_remove.surql +18 -0
  965. ace_core-0.1.0/core/schema/v142_relational_assertions.surql +104 -0
  966. ace_core-0.1.0/docs/README.md +19 -0
  967. ace_core-0.1.0/docs/architecture.md +406 -0
  968. ace_core-0.1.0/docs/build-your-first-extension.md +206 -0
  969. ace_core-0.1.0/docs/capability-maturity.md +62 -0
  970. ace_core-0.1.0/docs/extension-api.md +46 -0
  971. ace_core-0.1.0/docs/governance.md +21 -0
  972. ace_core-0.1.0/docs/providers.md +375 -0
  973. ace_core-0.1.0/docs/roadmap-status.md +7 -0
  974. ace_core-0.1.0/evaluations/README.md +61 -0
  975. ace_core-0.1.0/evaluations/__init__.py +1 -0
  976. ace_core-0.1.0/evaluations/fixtures/decision_delta_contract_v1.json +189 -0
  977. ace_core-0.1.0/evaluations/fixtures/m5_ic_01_live_protocol_v1.json +104 -0
  978. ace_core-0.1.0/evaluations/fixtures/offline_contract.json +41 -0
  979. ace_core-0.1.0/evaluations/results/decision_delta_contract_v1.json +1744 -0
  980. ace_core-0.1.0/evaluations/results/decision_delta_contract_v1.md +127 -0
  981. ace_core-0.1.0/evaluations/results/m2_signature_evaluation.json +401 -0
  982. ace_core-0.1.0/evaluations/results/m2_signature_evaluation.md +24 -0
  983. ace_core-0.1.0/evaluations/results/m5_ic_01_live_inputs_v1.json +455 -0
  984. ace_core-0.1.0/evaluations/results/m5_ic_01_live_receipts_v1.json +600 -0
  985. ace_core-0.1.0/evaluations/results/m5_ic_01_live_receipts_v1.md +52 -0
  986. ace_core-0.1.0/evaluations/results/offline_contract.json +184 -0
  987. ace_core-0.1.0/evaluations/results/offline_contract.md +30 -0
  988. ace_core-0.1.0/extensions/README.md +107 -0
  989. ace_core-0.1.0/extensions/__init__.py +14 -0
  990. ace_core-0.1.0/extensions/reference/__init__.py +9 -0
  991. ace_core-0.1.0/extensions/reference/extension.py +109 -0
  992. ace_core-0.1.0/extensions/reference/instruments/__init__.py +0 -0
  993. ace_core-0.1.0/extensions/reference/instruments/framing.py +57 -0
  994. ace_core-0.1.0/extensions/reference/instruments/multi_voice_engage.py +47 -0
  995. ace_core-0.1.0/extensions/reference/recipe.py +87 -0
  996. ace_core-0.1.0/extensions/reference/sentinels.py +22 -0
  997. ace_core-0.1.0/extensions/reference/tools/__init__.py +0 -0
  998. ace_core-0.1.0/extensions/reference/tools/product_pulse.py +103 -0
  999. ace_core-0.1.0/pyproject.toml +199 -0
  1000. ace_core-0.1.0/scripts/__init__.py +1 -0
  1001. ace_core-0.1.0/scripts/demo_relational_assertions.py +64 -0
  1002. ace_core-0.1.0/scripts/health_check.py +80 -0
  1003. ace_core-0.1.0/scripts/migrate_relational_assertions.py +25 -0
  1004. ace_core-0.1.0/scripts/release_inventory.py +109 -0
  1005. ace_core-0.1.0/scripts/scaffold_extension.py +143 -0
  1006. ace_core-0.1.0/scripts/schema_apply.py +200 -0
  1007. ace_core-0.1.0/scripts/secret_scan.py +213 -0
  1008. ace_core-0.1.0/scripts/verify_f0_persistence.py +414 -0
  1009. ace_core-0.1.0/scripts/verify_golden_path.py +86 -0
  1010. ace_core-0.1.0/scripts/verify_m3_rehearsal.py +127 -0
  1011. ace_core-0.1.0/scripts/verify_signature_scenario.py +150 -0
  1012. ace_core-0.1.0/setup.cfg +4 -0
  1013. ace_core-0.1.0/uv.lock +3577 -0
@@ -0,0 +1,55 @@
1
+ # SurrealDB
2
+ SURREAL_URL=ws://localhost:8001
3
+ SURREAL_NS=ace
4
+ SURREAL_DB=ace
5
+ SURREAL_USER=root
6
+ SURREAL_PASS=root
7
+
8
+ # JWT (generate with: openssl rand -hex 32)
9
+ JWT_SECRET=replace-me-with-32-byte-hex-string
10
+
11
+ # API authentication — the credential `POST /auth/token` exchanges for a
12
+ # bearer JWT. Required before `ace run` (or any authenticated API call)
13
+ # works; see docs/build-your-first-extension.md, step 3, for the one-time
14
+ # token bootstrap. This placeholder is fine for local dev — replace it
15
+ # for anything reachable beyond localhost.
16
+ API_KEY=local-dev-only-not-a-secret
17
+ # Optional: place CLI/MCP token state outside ~/.ace (useful for CI or disposable rehearsals).
18
+ # ACE_CONFIG_DIR=/absolute/path/to/disposable/config
19
+
20
+ # LLM — replace this placeholder with one usable provider before running `ace doctor`.
21
+ # For Anthropic API use, paste your real key here. BYOK alternatives are in docs/providers.md.
22
+ LLM_API_KEY=sk-test-placeholder
23
+ LLM_MODEL=claude-sonnet-5
24
+ LLM_BUDGET_MODEL=claude-haiku-4-5-20251001
25
+ LLM_REASONING_MODEL=claude-opus-4-8
26
+ LLM_FRONTIER_MODEL=claude-fable-5
27
+ # Effort is independent of model choice. `default` omits the override.
28
+ LLM_BUDGET_EFFORT=default
29
+ LLM_EFFORT=default
30
+ LLM_REASONING_EFFORT=high
31
+ LLM_FRONTIER_EFFORT=xhigh
32
+
33
+ # ChatGPT subscription route (no OpenAI Platform API key): first run `codex login`,
34
+ # then uncomment these lines. Use `claude` or `auto` to retain the Claude route.
35
+ # SUBSCRIPTION_PROVIDER=codex
36
+ # CODEX_CLI_MODEL=gpt-5.6-terra
37
+ # CODEX_CLI_EFFORT=default
38
+ # CODEX_CLI_EFFORT_MAP='{"claude-opus-4-8":"high","claude-fable-5":"xhigh"}'
39
+ # REQUIRE_SUBSCRIPTION=1
40
+
41
+ # GitHub (for ace_research_repo, gh CLI fallback)
42
+ GITHUB_TOKEN=your_github_token_here
43
+
44
+ # Firecrawl (self-hosted — full web scraping stack)
45
+ FIRECRAWL_URL=http://localhost:3002
46
+ FIRECRAWL_API_KEY=ace-local-key
47
+
48
+ # Extra CORS origins (comma-separated) for dev access from other devices
49
+ # (LAN/VPN). Appended to the environment's built-in localhost defaults.
50
+ # CORS_EXTRA_ORIGINS=http://<lan-ip>:5173,http://<vpn-ip>:5173
51
+
52
+ # Discord (proactive PM notifications)
53
+ ACE_DISCORD_BOT_TOKEN=your-bot-token
54
+ ACE_DISCORD_USER_ID=your-discord-user-id
55
+ ACE_DISCORD_CHANNEL_ID=your-channel-id
@@ -0,0 +1,26 @@
1
+ # Changelog
2
+
3
+ Notable user- and contributor-visible changes are recorded here.
4
+
5
+ ## 0.1.0
6
+
7
+ - Initial developer preview of the `ace-core` Python distribution, preserving the `ace` import
8
+ package, `ace` CLI command, and version `0.1.0`.
9
+ - The supported public interaction boundary is the thin 11-tool MCP package and CLI.
10
+ - Atrium remains a separate experimental visual-product/research track and releases as public
11
+ repository beta source while staying outside the Python wheel/sdist, golden path,
12
+ supported-runtime claims, and supported release contract.
13
+ - The frozen `ace-preview-surface-v1` M2 scenario proved one durable preference survived restart
14
+ and materially affected a later decision. Its matched-model evidence is n=1 and does not support
15
+ a general superiority claim.
16
+ - Python packaging includes the kernel, CLI, thin MCP client, schema migrations, reference
17
+ extension, evaluation material, public documentation, license, and notice while excluding
18
+ Atrium beta source and local state.
19
+ - `ace doctor` validates a protected authenticated request and reports the effective provider-neutral
20
+ model policy; `ace model-policy` exposes fast/capable/frontier mapping and degraded state.
21
+ - Supported Python is 3.12; the SurrealDB Python client is constrained to the compatible 1.x line.
22
+ - The heavyweight CodeSage/PyTorch embedding backend is now an explicit `codesage` extra; the
23
+ default ONNX-backed install no longer pulls GPU/CUDA packages into the release container.
24
+
25
+ Release entries separate supported, experimental, fixed, security, migration, and known-
26
+ limitation notes.
@@ -0,0 +1,156 @@
1
+ # Contributing to ACE
2
+
3
+ ACE is an open-source reasoning kernel — the engine that powers partner-team reasoning across any
4
+ domain. The 0.1.0 contribution path covers the kernel, CLI/thin MCP contract, evaluation, docs, and
5
+ extension ecosystem. Atrium is a separately gated experimental visual-product/research track.
6
+
7
+ **Before you start, please read:**
8
+ - [`ROADMAP.md`](ROADMAP.md) — the public priorities and longer-term direction
9
+ - [`docs/capability-maturity.md`](docs/capability-maturity.md) — which surfaces are supported, experimental, conditional, dormant, or planned
10
+ - [`docs/architecture.md`](docs/architecture.md) — how the system works today
11
+ - [`docs/build-your-first-extension.md`](docs/build-your-first-extension.md) — the contributor entry point if you're building an extension
12
+
13
+ ---
14
+
15
+ ## Setup
16
+
17
+ Prerequisites are Git, Python 3.12, `uv`, and Docker Engine with Compose v2. SurrealDB listens on
18
+ **8001**, not its upstream default port. Atrium's experimental visual-product/research track has a
19
+ separate Node.js toolchain and is not part of preview setup. The ACE kernel is Apache-2.0; the
20
+ separately run SurrealDB server is
21
+ source-available under BSL 1.1 rather than OSI open source.
22
+
23
+ ```bash
24
+ # Backend (Python 3.12)
25
+ git clone <your-clone-url> # e.g. your fork of this repository
26
+ cd ace # the cloned directory
27
+ cp .env.example .env # set JWT_SECRET, API_KEY, and one real provider
28
+ docker compose -f infra/docker-compose.yml up -d surrealdb
29
+ uv sync # installs Python deps
30
+ uv run python scripts/schema_apply.py
31
+ uv run uvicorn core.engine.api.main:app --host 127.0.0.1 --port 3000
32
+
33
+ # In another terminal
34
+ uv run ace login --api-key '<API_KEY from .env>'
35
+ uv run ace doctor
36
+ uv run ace model-policy
37
+ uv run python scripts/verify_golden_path.py
38
+
39
+ ```
40
+
41
+ See the [README](README.md) quickstart for the authoritative end-to-end setup.
42
+
43
+ MCP and CLI are the developer-preview interaction paths. Atrium—the experimental
44
+ visual-product/research track—is present as a repository beta, not a supported Python artifact or
45
+ prerequisite for contributing to the engine.
46
+
47
+ ---
48
+
49
+ ## How to contribute
50
+
51
+ ### 1. Find or open an issue
52
+
53
+ - Bugs: include reproduction steps, expected vs actual behavior, and the relevant subsystem (classifier / composer / deep committee / canvas / sentinel / foresight).
54
+ - Features: open a discussion first if the change touches an architectural contract from [`docs/architecture.md`](docs/architecture.md).
55
+
56
+ ### 2. Pick the right surface
57
+
58
+ | You want to... | Touch this |
59
+ |---|---|
60
+ | Add a domain-specific recipe, persona, framework, or tool | An extension — see [`docs/build-your-first-extension.md`](docs/build-your-first-extension.md). Don't add it to the kernel. |
61
+ | Fix a kernel bug or improve a layer's behavior | `core/engine/{orchestrator,orchestration,cognition,capture,sentinel,foresight}/` |
62
+ | Add or evaluate an orchestration pattern | `core/engine/orchestration/` and `tests/orchestration/` |
63
+ | Add a MAKE or SHIP capability | `core/engine/arms/` with focused tests under `tests/` |
64
+ | Propose an Atrium HCI research change | Begin with the isolated research packet; do not expand the preview artifact |
65
+ | Improve evaluation and conformance | `tests/`, especially orchestration, intelligence, extension, and naked-kernel boundaries |
66
+
67
+ ### 3. Run the tests
68
+
69
+ ```bash
70
+ uv run pytest path/to/test_file.py -q # focused check while iterating
71
+ make test-fast # pytest excluding e2e
72
+ ACE_DISABLE_EXTENSIONS=1 uv run pytest -m "not e2e and not requires_extensions" -q --tb=short
73
+ uv run ruff check <changed-python-files>
74
+ ```
75
+
76
+ For extension changes, also run the extension's own test suite if it ships one (e.g. `uv run pytest extensions/<your-extension>/tests/ -m "not e2e"`); the reference extension (`extensions/reference/`) is covered by `tests/extensions/`.
77
+
78
+ Markers distinguish `e2e` and `requires_extensions` work from the default deterministic suite.
79
+ Do not make provider-quality claims from credential-free fixtures; follow
80
+ [`evaluations/README.md`](evaluations/README.md) for matched-model evidence and paid-live guards.
81
+
82
+ ### 4. Conventions
83
+
84
+ **Commits:**
85
+ - Conventional commits format: `feat(area): summary` / `fix(area):` / `docs(area):` / `chore(area):` / `refactor(area):` / `test(area):`
86
+ - Body explains the *why*, not the *what* (the diff shows what)
87
+ - No AI co-author attribution — write what you wrote
88
+ - Never use `--no-verify` to skip hooks; fix the underlying issue
89
+
90
+ **Code:**
91
+ - Python: snake_case everything (modules, functions, files). Use `get_llm()` rather than raw provider imports.
92
+ - SurrealDB access uses `from core.engine.core.db import pool`, `async with pool.connection() as db`,
93
+ `parse_rows(result)` for results, and `serialize_record(obj)` before JSON output. Add migrations
94
+ under `core/schema/`, apply them with `uv run python scripts/schema_apply.py`, and test
95
+ against namespace `ace_test`.
96
+ - TypeScript: no inline `color:` / `font-size:` / `padding:` — compose from `core/ui/canvas/src/design/components/`. New patterns extend the design system *first*, get used *second*.
97
+ - Tests live next to the code they cover. Extension tests in `<extension>/tests/`, kernel tests in `tests/`.
98
+
99
+ **Pull requests:**
100
+ - One concept per PR. Split big changes into atomic commits with tests green between them.
101
+ - Reference the issue (`Fixes #N`) if applicable
102
+ - Describe the *blast radius* — which subsystems, which tests, what could break
103
+ - Wait for CI green before requesting review
104
+ - Include focused and required conformance commands with exact results, documentation changes for
105
+ public behavior, and evidence for maturity or performance claims. Link roadmap work to a public
106
+ issue or Project item when one exists.
107
+ - Never include credentials, private graph exports, proprietary fixtures, or private-extension code.
108
+
109
+ The thin 11-tool MCP package and CLI are the preview contracts. The broad HTTP API, internal MCP
110
+ host, Atrium UI seams, and experimental extension hooks may change. Propose stable-contract changes
111
+ before implementation using [`docs/governance.md`](docs/governance.md).
112
+
113
+ ### 5. Architectural contracts (don't break these)
114
+
115
+ These are described in [`docs/architecture.md`](docs/architecture.md). They are stable; changes to them require an explicit decision:
116
+
117
+ - **Provider Agnosticism** — no specific LLM provider in engine imports. Always `get_llm()`.
118
+ - **Surface Agnosticism** — engine emits events; surfaces subscribe. No UI imports in engine modules.
119
+ - **Modularity** — capabilities are recipe + instrument combinations addressable by slug.
120
+ - **Decision Lineage** — every meaningful choice gets a `graph_decision` row.
121
+ - **Forward Momentum** — every synthesis emits a forward-looking next move.
122
+ - **Nested Partnership** — `Human ↔ ACE ↔ LLM`. The LLM is computation, not loop controller.
123
+ - **Adaptive Framework Orchestration** — recipes select frameworks dynamically.
124
+ - **Mandatory Design System Use** — every UI component composes from `core/ui/canvas/src/design/components/`.
125
+
126
+ ### 6. Extensions: the recommended contribution path
127
+
128
+ Don't copy `extensions/reference/` by hand — scaffold it:
129
+
130
+ ```bash
131
+ python -m scripts.scaffold_extension <your_domain>
132
+ ```
133
+
134
+ This copies the shipped reference extension and renames every identifier for
135
+ you (class, discipline, recipe, tool), so your starting point is a fully
136
+ wired, fully working extension, not a stub. From there:
137
+
138
+ 1. Wire your recipes, instruments, personas, frameworks through the `Registry` facade.
139
+ 2. Register via `ace.extensions` Python entry point (the scaffold wires this too).
140
+ 3. Your extension package carries its own `tests/` — run them with `pytest` from your package. (Extensions living in-tree under `extensions/` are still picked up by the kernel's test discovery.)
141
+
142
+ The tutorial is canonical: [`docs/build-your-first-extension.md`](docs/build-your-first-extension.md) walks the full flow, file by file. Exact `Registry` contract: [`docs/extension-api.md`](docs/extension-api.md).
143
+
144
+ ---
145
+
146
+ ## Discussion
147
+
148
+ - **GitHub Issues** — bugs, feature requests
149
+ - **GitHub Discussions** — architecture questions, design discussions, "is this an extension or a kernel change?"
150
+ - **Security** — see [`SECURITY.md`](SECURITY.md). Do not file security issues in public GitHub Issues.
151
+
152
+ ---
153
+
154
+ ## License
155
+
156
+ By contributing, you agree that your contributions will be licensed under the Apache License 2.0 (see [`LICENSE`](LICENSE)). You retain copyright to your contributions; you grant the project a perpetual license to use them under Apache-2.0.
@@ -0,0 +1,31 @@
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN pip install --no-cache-dir uv
6
+
7
+ # Install the same complete source surface used to build the wheel. The old
8
+ # order installed an editable project before its packages existed and omitted
9
+ # the thin MCP client, README, and license metadata from the image entirely.
10
+ COPY pyproject.toml uv.lock build_backend.py README.md ROADMAP.md CONTRIBUTING.md SECURITY.md CHANGELOG.md LICENSE NOTICE ./
11
+ COPY core/ core/
12
+ COPY extensions/ extensions/
13
+ COPY ace_mcp_client/ ace_mcp_client/
14
+ COPY scripts/ scripts/
15
+ COPY evaluations/ evaluations/
16
+ COPY docs/ docs/
17
+ RUN uv pip install --system --no-cache .
18
+
19
+ # Run as non-root for security — prevents container escapes from writing host files
20
+ RUN adduser --disabled-password --gecos "" aceuser && chown -R aceuser /app
21
+ USER aceuser
22
+
23
+ EXPOSE 3000
24
+
25
+ # Liveness probe: always 200 if the event loop is alive.
26
+ # Use /health/live (not /health/ready) so Docker doesn't restart healthy
27
+ # instances while the DB is temporarily unavailable at startup.
28
+ HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \
29
+ CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:3000/health/live')" || exit 1
30
+
31
+ CMD ["uvicorn", "core.engine.api.main:app", "--host", "0.0.0.0", "--port", "3000"]
ace_core-0.1.0/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for describing the origin of the Work and
141
+ reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Support. While redistributing the Work or
166
+ Derivative Works thereof, You may choose to offer, and charge a
167
+ fee for, acceptance of support, warranty, indemnity, or other
168
+ liability obligations and/or rights consistent with this License.
169
+ However, in accepting such obligations, You may act only on Your
170
+ own behalf and on Your sole responsibility, not on behalf of any
171
+ other Contributor, and only if You agree to indemnify, defend,
172
+ and hold each Contributor harmless for any liability incurred by,
173
+ or claims asserted against, such Contributor by reason of your
174
+ accepting any such warranty or support.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Edwin Amirian
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,14 @@
1
+ include README.md ROADMAP.md CONTRIBUTING.md SECURITY.md CHANGELOG.md LICENSE NOTICE
2
+ include Dockerfile Makefile .env.example uv.lock
3
+ include build_backend.py
4
+ recursive-include ace_mcp_client *.py
5
+ recursive-include core *.py *.surql
6
+ recursive-include extensions *.py *.md
7
+ recursive-include scripts *.py
8
+ recursive-include evaluations *.json *.md
9
+ recursive-include docs *.md
10
+ prune .github
11
+ prune tests
12
+ prune core/ui
13
+ global-exclude *.py[cod] .DS_Store
14
+ global-exclude __pycache__