exoma 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 (190) hide show
  1. exoma-0.1.0/LICENSE +202 -0
  2. exoma-0.1.0/PKG-INFO +313 -0
  3. exoma-0.1.0/README.md +292 -0
  4. exoma-0.1.0/pyproject.toml +41 -0
  5. exoma-0.1.0/pyproject.toml.orig +38 -0
  6. exoma-0.1.0/src/exoma/__init__.py +0 -0
  7. exoma-0.1.0/src/exoma/__main__.py +5 -0
  8. exoma-0.1.0/src/exoma/_bundle/config/agy/AGENTS.md +272 -0
  9. exoma-0.1.0/src/exoma/_bundle/config/claude/CLAUDE.md +244 -0
  10. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.analyze.md +5 -0
  11. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.caveman.md +5 -0
  12. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.commit.md +4 -0
  13. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.doctor.md +4 -0
  14. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.execute.md +5 -0
  15. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.explore.md +5 -0
  16. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.help.md +4 -0
  17. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.init.md +4 -0
  18. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.local.md +5 -0
  19. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.memory.md +5 -0
  20. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.plan.md +5 -0
  21. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.promote.md +5 -0
  22. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.provider.md +5 -0
  23. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.sweep.md +4 -0
  24. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.upgrade.md +4 -0
  25. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.verify-browser.md +5 -0
  26. exoma-0.1.0/src/exoma/_bundle/config/claude/commands/.verify.md +4 -0
  27. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/execution-gate.py +222 -0
  28. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/execution-gate.sh +31 -0
  29. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/graph-refresh.py +331 -0
  30. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/graph-refresh.sh +31 -0
  31. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/intent-gate-check.py +491 -0
  32. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/intent-gate-check.sh +31 -0
  33. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/intent-gate-set.py +301 -0
  34. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/intent-gate-set.sh +31 -0
  35. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/intent-map.json +29 -0
  36. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/session-bind.py +193 -0
  37. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/session-bind.sh +31 -0
  38. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/status-guard.py +136 -0
  39. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/status-guard.sh +31 -0
  40. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/task-events.py +162 -0
  41. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/task-events.sh +31 -0
  42. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/workflow-statusline.py +226 -0
  43. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/workflow-statusline.sh +31 -0
  44. exoma-0.1.0/src/exoma/_bundle/config/claude/hooks/workflow_hooks.py +106 -0
  45. exoma-0.1.0/src/exoma/_bundle/config/claude/settings.template.json +102 -0
  46. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/analyze.md +28 -0
  47. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/caveman.md +12 -0
  48. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/commit.md +34 -0
  49. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/doctor.md +33 -0
  50. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/execute.md +66 -0
  51. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/explore.md +24 -0
  52. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/help.md +34 -0
  53. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/init.md +31 -0
  54. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/local.md +22 -0
  55. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/memory.md +13 -0
  56. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/plan.md +88 -0
  57. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/promote.md +91 -0
  58. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/provider.md +111 -0
  59. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/sweep.md +18 -0
  60. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/upgrade.md +47 -0
  61. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/verify-browser.md +161 -0
  62. exoma-0.1.0/src/exoma/_bundle/config/claude/skills/verify.md +76 -0
  63. exoma-0.1.0/src/exoma/_bundle/config/codex/AGENTS.md +239 -0
  64. exoma-0.1.0/src/exoma/_bundle/config/opencode/AGENTS.md +248 -0
  65. exoma-0.1.0/src/exoma/_bundle/config/opencode/agents/wf-db.md +31 -0
  66. exoma-0.1.0/src/exoma/_bundle/config/opencode/agents/wf-docs.md +30 -0
  67. exoma-0.1.0/src/exoma/_bundle/config/opencode/agents/wf-map.md +28 -0
  68. exoma-0.1.0/src/exoma/_bundle/config/opencode/agents/wf-slice.md +30 -0
  69. exoma-0.1.0/src/exoma/_bundle/config/opencode/agents/wf-trace.md +28 -0
  70. exoma-0.1.0/src/exoma/_bundle/config/opencode/opencode.project.json +72 -0
  71. exoma-0.1.0/src/exoma/_bundle/config/opencode/opencode.template.json +74 -0
  72. exoma-0.1.0/src/exoma/_bundle/manifest.json +474 -0
  73. exoma-0.1.0/src/exoma/_bundle/requirements-e2e.txt +6 -0
  74. exoma-0.1.0/src/exoma/adapters/__init__.py +0 -0
  75. exoma-0.1.0/src/exoma/adapters/contract/__init__.py +0 -0
  76. exoma-0.1.0/src/exoma/adapters/contract/base.py +89 -0
  77. exoma-0.1.0/src/exoma/adapters/contract/registry.py +153 -0
  78. exoma-0.1.0/src/exoma/adapters/install/__init__.py +0 -0
  79. exoma-0.1.0/src/exoma/adapters/install/agy_install.py +173 -0
  80. exoma-0.1.0/src/exoma/adapters/install/codex_install.py +178 -0
  81. exoma-0.1.0/src/exoma/adapters/install/opencode_install.py +168 -0
  82. exoma-0.1.0/src/exoma/adapters/providers/__init__.py +0 -0
  83. exoma-0.1.0/src/exoma/adapters/providers/agy_adapter.py +745 -0
  84. exoma-0.1.0/src/exoma/adapters/providers/codex_adapter.py +974 -0
  85. exoma-0.1.0/src/exoma/adapters/providers/opencode_adapter.py +1135 -0
  86. exoma-0.1.0/src/exoma/adapters/shared/__init__.py +0 -0
  87. exoma-0.1.0/src/exoma/adapters/shared/child_env.py +123 -0
  88. exoma-0.1.0/src/exoma/adapters/shared/redaction.py +84 -0
  89. exoma-0.1.0/src/exoma/adapters/shared/usage.py +127 -0
  90. exoma-0.1.0/src/exoma/check.py +289 -0
  91. exoma-0.1.0/src/exoma/cli.py +875 -0
  92. exoma-0.1.0/src/exoma/config/__init__.py +0 -0
  93. exoma-0.1.0/src/exoma/config/providers.py +503 -0
  94. exoma-0.1.0/src/exoma/config/roles.py +5 -0
  95. exoma-0.1.0/src/exoma/config/routing.py +23 -0
  96. exoma-0.1.0/src/exoma/config/second_agent.example.json +32 -0
  97. exoma-0.1.0/src/exoma/config/settings.py +600 -0
  98. exoma-0.1.0/src/exoma/core/__init__.py +0 -0
  99. exoma-0.1.0/src/exoma/core/audit/__init__.py +0 -0
  100. exoma-0.1.0/src/exoma/core/audit/audit.py +94 -0
  101. exoma-0.1.0/src/exoma/core/audit/bundle_integrity.py +295 -0
  102. exoma-0.1.0/src/exoma/core/audit/diagnostics.py +1009 -0
  103. exoma-0.1.0/src/exoma/core/audit/mcp_scan.py +187 -0
  104. exoma-0.1.0/src/exoma/core/audit/metrics.py +402 -0
  105. exoma-0.1.0/src/exoma/core/audit/task_telemetry.py +177 -0
  106. exoma-0.1.0/src/exoma/core/audit/telemetry.py +784 -0
  107. exoma-0.1.0/src/exoma/core/audit/transcript.py +306 -0
  108. exoma-0.1.0/src/exoma/core/evidence/__init__.py +0 -0
  109. exoma-0.1.0/src/exoma/core/evidence/contract.py +1110 -0
  110. exoma-0.1.0/src/exoma/core/evidence/contracts.py +564 -0
  111. exoma-0.1.0/src/exoma/core/evidence/e2e/__init__.py +15 -0
  112. exoma-0.1.0/src/exoma/core/evidence/e2e/browser.py +1744 -0
  113. exoma-0.1.0/src/exoma/core/evidence/e2e/classify.py +644 -0
  114. exoma-0.1.0/src/exoma/core/evidence/e2e/existing_tests.py +149 -0
  115. exoma-0.1.0/src/exoma/core/evidence/e2e/fingerprint.py +70 -0
  116. exoma-0.1.0/src/exoma/core/evidence/e2e/knowledge.py +640 -0
  117. exoma-0.1.0/src/exoma/core/evidence/e2e/network.py +217 -0
  118. exoma-0.1.0/src/exoma/core/evidence/e2e/normalize.py +524 -0
  119. exoma-0.1.0/src/exoma/core/evidence/e2e/player.py +208 -0
  120. exoma-0.1.0/src/exoma/core/evidence/e2e/preflight.py +507 -0
  121. exoma-0.1.0/src/exoma/core/evidence/e2e/redact.py +345 -0
  122. exoma-0.1.0/src/exoma/core/evidence/e2e/request.py +732 -0
  123. exoma-0.1.0/src/exoma/core/evidence/e2e/runner.py +1433 -0
  124. exoma-0.1.0/src/exoma/core/evidence/e2e/spec.py +1235 -0
  125. exoma-0.1.0/src/exoma/core/evidence/e2e/supervisor.py +158 -0
  126. exoma-0.1.0/src/exoma/core/evidence/e2e/tagging.py +455 -0
  127. exoma-0.1.0/src/exoma/core/evidence/evidence_store.py +459 -0
  128. exoma-0.1.0/src/exoma/core/evidence/fact_store.py +915 -0
  129. exoma-0.1.0/src/exoma/core/evidence/quick_verify.py +389 -0
  130. exoma-0.1.0/src/exoma/core/evidence/result_shaping.py +200 -0
  131. exoma-0.1.0/src/exoma/core/evidence/runtime_io.py +351 -0
  132. exoma-0.1.0/src/exoma/core/evidence/verify_tests.py +370 -0
  133. exoma-0.1.0/src/exoma/core/graph/__init__.py +0 -0
  134. exoma-0.1.0/src/exoma/core/graph/graph_index.py +605 -0
  135. exoma-0.1.0/src/exoma/core/graph/graph_meta.py +245 -0
  136. exoma-0.1.0/src/exoma/core/jobs/__init__.py +0 -0
  137. exoma-0.1.0/src/exoma/core/jobs/job_lifecycle.py +673 -0
  138. exoma-0.1.0/src/exoma/core/jobs/job_manager.py +1256 -0
  139. exoma-0.1.0/src/exoma/core/knowledge/__init__.py +12 -0
  140. exoma-0.1.0/src/exoma/core/knowledge/reconcile.py +179 -0
  141. exoma-0.1.0/src/exoma/core/knowledge/retrieve.py +214 -0
  142. exoma-0.1.0/src/exoma/core/knowledge/schema.py +396 -0
  143. exoma-0.1.0/src/exoma/core/knowledge/store.py +394 -0
  144. exoma-0.1.0/src/exoma/core/knowledge/verify.py +155 -0
  145. exoma-0.1.0/src/exoma/core/policy/__init__.py +0 -0
  146. exoma-0.1.0/src/exoma/core/policy/agy_guard.py +135 -0
  147. exoma-0.1.0/src/exoma/core/policy/governance.py +134 -0
  148. exoma-0.1.0/src/exoma/core/policy/opencode_policy.py +166 -0
  149. exoma-0.1.0/src/exoma/core/policy/secret_patterns.py +211 -0
  150. exoma-0.1.0/src/exoma/core/prompt/__init__.py +0 -0
  151. exoma-0.1.0/src/exoma/core/prompt/prompt_builder.py +727 -0
  152. exoma-0.1.0/src/exoma/core/prompt/router.py +100 -0
  153. exoma-0.1.0/src/exoma/core/provider/__init__.py +0 -0
  154. exoma-0.1.0/src/exoma/core/provider/continuation.py +192 -0
  155. exoma-0.1.0/src/exoma/core/provider/executor.py +2046 -0
  156. exoma-0.1.0/src/exoma/core/provider/model_catalog.py +416 -0
  157. exoma-0.1.0/src/exoma/core/provider/provider_select.py +523 -0
  158. exoma-0.1.0/src/exoma/core/provider/result_prep.py +148 -0
  159. exoma-0.1.0/src/exoma/core/provider/versions.py +206 -0
  160. exoma-0.1.0/src/exoma/core/runtime/__init__.py +0 -0
  161. exoma-0.1.0/src/exoma/core/runtime/agent_output.py +90 -0
  162. exoma-0.1.0/src/exoma/core/runtime/config_defaults.py +458 -0
  163. exoma-0.1.0/src/exoma/core/runtime/execution.py +259 -0
  164. exoma-0.1.0/src/exoma/core/runtime/migrations.py +507 -0
  165. exoma-0.1.0/src/exoma/core/runtime/scripts.py +163 -0
  166. exoma-0.1.0/src/exoma/core/runtime/state.py +469 -0
  167. exoma-0.1.0/src/exoma/core/runtime/upgrade.py +367 -0
  168. exoma-0.1.0/src/exoma/core/workspace/__init__.py +0 -0
  169. exoma-0.1.0/src/exoma/core/workspace/current.py +178 -0
  170. exoma-0.1.0/src/exoma/core/workspace/provider_migration.py +172 -0
  171. exoma-0.1.0/src/exoma/core/workspace/runtime_lock.py +284 -0
  172. exoma-0.1.0/src/exoma/core/workspace/session_manager.py +159 -0
  173. exoma-0.1.0/src/exoma/core/workspace/workspace_paths.py +362 -0
  174. exoma-0.1.0/src/exoma/install.py +650 -0
  175. exoma-0.1.0/src/exoma/installer/__init__.py +0 -0
  176. exoma-0.1.0/src/exoma/installer/base.py +496 -0
  177. exoma-0.1.0/src/exoma/installer/check.py +342 -0
  178. exoma-0.1.0/src/exoma/installer/provider_update.py +177 -0
  179. exoma-0.1.0/src/exoma/installer/rollback.py +223 -0
  180. exoma-0.1.0/src/exoma/installer/settings.py +676 -0
  181. exoma-0.1.0/src/exoma/installer/stale.py +174 -0
  182. exoma-0.1.0/src/exoma/installer/uninstall.py +263 -0
  183. exoma-0.1.0/src/exoma/utils/__init__.py +0 -0
  184. exoma-0.1.0/src/exoma/utils/git.py +142 -0
  185. exoma-0.1.0/src/exoma/utils/logger.py +9 -0
  186. exoma-0.1.0/src/exoma/utils/osutil.py +725 -0
  187. exoma-0.1.0/src/exoma/utils/owned_lock.py +198 -0
  188. exoma-0.1.0/src/exoma/utils/parser.py +37 -0
  189. exoma-0.1.0/src/exoma/utils/path_guard.py +46 -0
  190. exoma-0.1.0/src/exoma/utils/redact.py +93 -0
exoma-0.1.0/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 dammar01
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
exoma-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,313 @@
1
+ Metadata-Version: 2.4
2
+ Name: exoma
3
+ Version: 0.1.0
4
+ Summary: Evidence-driven problem solving for AI agents: context management, delegated exploration, and evidence gathering around the agent that reasons and decides.
5
+ Keywords: ai-agents,coding-agents,claude-code,delegation,evidence,context-management,llm
6
+ License-Expression: Apache-2.0
7
+ License-File: LICENSE
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Environment :: Console
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Operating System :: POSIX
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Topic :: Software Development
16
+ Requires-Dist: playwright==1.60.0 ; extra == 'e2e'
17
+ Requires-Python: >=3.10
18
+ Project-URL: Repository, https://github.com/dammar01/Exoma
19
+ Provides-Extra: e2e
20
+ Description-Content-Type: text/markdown
21
+
22
+ <div align="center">
23
+
24
+ <img src="https://raw.githubusercontent.com/dammar01/Exoma/main/docs/assets/banner.svg" alt="Exoma — Evidence-driven problem solving for AI agents. Context over prescription. Evidence over expectation. Effective coordination over unnecessary complexity." width="900">
25
+
26
+ # Exoma
27
+
28
+ **Evidence-driven problem solving for AI agents.**
29
+
30
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
31
+ [![Python](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://www.python.org/downloads/)
32
+ [![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen.svg)](docs/installation.md#requirements)
33
+ [![PyPI](https://img.shields.io/badge/pip-exoma-blue.svg)](docs/installation.md)
34
+ [![Version](https://img.shields.io/badge/version-0.1.0-informational.svg)](CHANGELOG.md)
35
+
36
+ **[Installation guide](docs/installation.md)** · [Security](docs/security.md) · [Team guide](docs/team-guide/README.md) · [Reference](docs/reference.md)
37
+
38
+ </div>
39
+
40
+ ---
41
+
42
+ ## What is Exoma?
43
+
44
+ Exoma is a library that supports problem solving by AI agents through context management,
45
+ exploration, tool use, work delegation, and evidence gathering.
46
+
47
+ It starts from the idea that how well an AI solves a problem is not decided by the model
48
+ alone, but also by how information is provided, how work is organized, and how the results
49
+ of an investigation are evaluated.
50
+
51
+ A person who hands a problem to an AI should not have to prescribe every step, or steer it
52
+ toward a conclusion they already had in mind. The person sets the goal, the initial context,
53
+ and the constraints; the AI then uses the capabilities and resources available to it to
54
+ investigate the problem, weigh the possibilities, and reach a solution grounded in evidence.
55
+
56
+ Exoma supports that process as an external system that organizes the flow of context, work,
57
+ and information between an AI agent and the resources it uses.
58
+
59
+ ---
60
+
61
+ ## Core philosophy
62
+
63
+ **People define the problem, not the answer to be found.**
64
+
65
+ An AI is not only expected to produce the answer a person asked for. It also needs room to
66
+ check assumptions, weigh alternatives, find what was not yet known, and reach a conclusion
67
+ that may differ from what whoever assigned the task expected.
68
+
69
+ Exoma focuses on three principles:
70
+
71
+ 1. **Context over prescription.** Provide the relevant context and resources so the AI can
72
+ investigate the problem, rather than over-specifying the steps and conclusions it must
73
+ follow.
74
+ 2. **Evidence over expectation.** Favor problem solving grounded in evidence and evaluation,
75
+ not in confirming a person's assumptions.
76
+ 3. **Effective coordination over unnecessary complexity.** Organize agents, tools, and
77
+ compute by what the task needs, without assuming that more agents or more process always
78
+ produce better quality.
79
+
80
+ These principles are a design direction to be realized and evaluated through the
81
+ implementation, not a guarantee that any AI agent will always be objective or correct.
82
+
83
+ ---
84
+
85
+ ## How Exoma works
86
+
87
+ Technically, Exoma is a supporting layer around an AI agent. Depending on the need and the
88
+ implementation, it can manage context retrieval, delegate exploration to another agent,
89
+ gather evidence from external sources, retain relevant information, and control the flow of
90
+ execution.
91
+
92
+ The AI agent still does the semantic reasoning and makes the decisions its role calls for.
93
+ Exoma organizes the processes and resources that support that work. The aim is not to
94
+ replace the model or to make the whole process fully automatic; it is to let the AI complete
95
+ a task more effectively without a person directing every step or conclusion.
96
+
97
+ The current implementation targets **coding agents**, with Claude Code as the primary agent.
98
+ It is installed as a Python package (`pip install exoma`) with a CLI (`exoma`), and separates
99
+ work that needs **broad repository inspection** from work that needs the **primary agent's
100
+ reasoning and implementation context**. A coding agent on a mature repository spends much of
101
+ its effort locating modules, tracing call sites, and reading conventions before it changes
102
+ anything; Exoma moves that inspection into a separate execution context and returns
103
+ structured evidence: a digest, `file:line` anchors, and a reference to the full evidence on
104
+ disk.
105
+
106
+ <p align="center">
107
+ <img src="https://raw.githubusercontent.com/dammar01/Exoma/main/docs/assets/architecture.svg" alt="Exoma architecture. The developer briefs the primary agent (Claude Code) with an objective and constraints and receives the plan, verdict, and questions back. The primary agent delegates to the Exoma runtime, which handles job, session, and lock, routing, context, and prompt, then sends a bounded task to the secondary agent. The secondary agent reads, searches, and traces the repository and returns candidate evidence; its intended role is read-only, and enforcement varies by provider. The runtime redacts it, checks the contract, shapes a digest with file:line anchors for the primary agent, and reads and writes sessions, facts, evidence, usage, audit, and response artifacts in .workflow/data/ with source anchors and hashes. Evidence candidates are not ground truth." width="900">
108
+ </p>
109
+
110
+ <sub>The primary agent reasons and writes the code; the developer answers open questions and
111
+ approves implementation. "Read-only" is the secondary agent's role, and how strictly it is
112
+ enforced depends on the provider (see [Security](docs/security.md)). Text version, full verified
113
+ flow, side paths, and storage: [docs/architecture](docs/architecture/README.md).</sub>
114
+
115
+ Delegated results are treated as **evidence candidates**, not truth. Every delegated call
116
+ returns the same envelope; `digest` appears when the secondary agent's summary parses, and
117
+ `evidence_ref` on the explore/plan/analyze evidence path:
118
+
119
+ ```json
120
+ { "ok": true, "content": "...", "meta": {}, "digest": {}, "evidence_ref": {} }
121
+ ```
122
+
123
+ The primary agent decides what the evidence means and whether to act on it. A secondary
124
+ agent can be incomplete or wrong even when its output looks plausible.
125
+
126
+ ### Core responsibilities
127
+
128
+ | Role | Who | Responsibility |
129
+ | --- | --- | --- |
130
+ | **Primary agent** | Claude Code (the integration target) | Reasoning, decisions, code changes, and final review |
131
+ | **Workflow runtime** | The `exoma` package, Python standard library only | Routing, sessions and locks, policy, prompt building, redaction, evidence contracts, digests, persistence, recovery |
132
+ | **Secondary agent** | `opencode`, `codex`, or `agy` | Repository exploration, analysis, planning, and verification evidence |
133
+
134
+ The design keeps code-writing with the primary agent. The secondary agent's role is
135
+ read-only; the degree to which each provider **enforces** that differs, and the runtime
136
+ states it rather than assuming it. See [Security](docs/security.md).
137
+
138
+ The principle: let the model do the semantic reasoning, and let deterministic software
139
+ enforce state, contracts, policy, provenance, and execution control.
140
+
141
+ ---
142
+
143
+ ## Relationship to agent-workflow
144
+
145
+ [agent-workflow](https://github.com/dammar01/agent-workflow) is the implementation and
146
+ research foundation Exoma grew from. It explores separating repository exploration from the
147
+ primary agent's reasoning and implementation context, and how delegation, evidence
148
+ management, and runtime control affect the outcome of the work. That research, including its
149
+ hypotheses and experiments, stays in agent-workflow.
150
+
151
+ This first release of Exoma repackages that runtime as a library: the same commands,
152
+ contracts and workspace, installed and upgraded like any other Python tool. Exoma is meant to
153
+ grow into a broader library identity, developed from mechanisms that have been tested and
154
+ needs that have been measured.
155
+
156
+ ---
157
+
158
+ ## The name
159
+
160
+ **Exoma** is a distinctive name for the project. Conceptually, it is inspired by the idea of
161
+ cognitive resources and processes that reach beyond the individual, including discussions of
162
+ *extrasomatic resources* and the *Extended Mind Thesis*.
163
+
164
+ That inspiration reflects the view that problem solving can be supported by the interplay of
165
+ an AI model, context, tools, memory, and external systems. It does not assume that tools or
166
+ external components literally have minds, nor that an AI becomes smarter simply by using
167
+ more resources.
168
+
169
+ ---
170
+
171
+ ## Vision
172
+
173
+ Exoma sets out to explore how external systems can help AI agents solve problems more
174
+ effectively: with the right context, a directed investigation, traceable evidence, and a
175
+ compute cost proportionate to its benefit.
176
+
177
+ Its value is not measured by how many agents it uses or how complex its architecture is, but
178
+ by how far it actually helps an AI solve problems with better quality and conclusions that
179
+ can be accounted for.
180
+
181
+ **Give agents the context to solve, not the answer to repeat.**
182
+
183
+ ---
184
+
185
+ ## When it is useful
186
+
187
+ The idea behind the design: on a large codebase, keeping exploration out of the primary
188
+ agent's context should leave it more room to reason. That is a design premise, not a measured
189
+ result; Exoma does not claim a benchmark.
190
+
191
+ Typical requests (translated, names removed):
192
+
193
+ | Situation | What was asked | Command |
194
+ | --- | --- | --- |
195
+ | A feature in an unfamiliar area | "Explore the cash-advance input feature: map its files and code, the permissions it uses, and any explicit or special rules." | `explore` |
196
+ | A feature end to end | "Map the project-template feature: a template is created, applied to a project, and then…" | `explore` |
197
+ | A question about a mechanism | "When the audit delta runs, are the commits it checks based on the anchor hash of the last audited commit?" | `analyze` |
198
+ | Reviewing work in progress | "Analyze the changes made in my worktree on this project." | `analyze` |
199
+ | Merging two features | "Make a plan to merge this meetings page with the meetings feature on the Notes page." | `plan` |
200
+ | A cost or speed problem | "Each step uses many tokens and is slow; plan how to lower token use without reducing detection quality." | `plan` |
201
+ | After an implementation | `/.verify`, straight after `/.execute -y` | `verify` |
202
+ | A UI change | "Test it end to end in the browser, several rounds over every category area that changed." | `verify-browser` |
203
+ | Before a commit | `/.sweep` | `sweep` |
204
+
205
+ It is less attractive when the change is already localized, the relevant file is known, or
206
+ you need an instant answer: a delegated call takes from under a minute to several minutes,
207
+ because the secondary agent actually reads the code. The
208
+ [team guide](docs/team-guide/when-to-use.md) covers choosing per task and how to phrase
209
+ requests.
210
+
211
+ ---
212
+
213
+ ## Quick start
214
+
215
+ ```bash
216
+ uv tool install exoma # or: pip install exoma
217
+ exoma install # dry run: read what it will change in ~/.claude
218
+ exoma install --apply
219
+ ```
220
+
221
+ Then, in a project, run `/.init` in Claude Code (or `exoma init --work-dir .`), and `/.doctor`.
222
+ A project that already has a `.workflow/` from agent-workflow is taken over by `/.upgrade`.
223
+ Details, modes and undo: [installation guide](docs/installation.md).
224
+
225
+ Ask in natural language; the primary agent routes it:
226
+
227
+ ```text
228
+ you: where is the authentication logic in this project?
229
+ Claude Code: [INTENT] explore — location question
230
+ (runs bash .workflow/run.sh explore '...')
231
+ ```
232
+
233
+ Or call the runtime directly:
234
+
235
+ ```bash
236
+ bash .workflow/run.sh explore 'find the authentication entry point' '<SESSION_ID>'
237
+ ```
238
+
239
+ The generated runner refuses a delegated call without a session id: without one,
240
+ concurrent sessions would share an identifier and overwrite each other's state.
241
+
242
+ | Command | Type | Purpose |
243
+ | --- | --- | --- |
244
+ | `init` / `upgrade` | local | Enable the runtime in a project / refresh it after the tool is updated |
245
+ | `doctor` | local | Readiness check; writes a report |
246
+ | `sweep` | local | Scan the working tree for changes |
247
+ | `clean` | local | Prune jobs, stale facts, and old sessions |
248
+ | `explore` | delegated | Code map, entry points, ownership |
249
+ | `analyze` | delegated | Causal analysis; no code changes |
250
+ | `plan` | delegated | Evidence-backed implementation steps |
251
+ | `verify` | delegated | Verdict on completed work, with evidence — produced by the secondary agent, not an independent check |
252
+ | `verify-browser` | delegated | Verify a running app in a real browser: the secondary agent drafts the scenario and reviews the evidence; a runtime player drives Playwright |
253
+ | `promote-validate` → `promote-verify` → `promote-write` | local | Turn verified evidence into a Git-tracked knowledge document |
254
+
255
+ Implementation itself (`/.execute` in Claude Code) is a primary-agent skill, not a delegated
256
+ command; it opens and closes a runtime execution (`plan-record`, `execute-begin`,
257
+ `execute-end`) whose scope a hook enforces for Edit/Write. Asynchronous job commands and the remaining local commands are in the
258
+ [full reference](docs/reference.md#command).
259
+
260
+ Setup problems and their fixes: [installation guide](docs/installation.md#when-something-is-wrong).
261
+
262
+ ---
263
+
264
+ ## Security
265
+
266
+ What each secondary-agent provider can read and change: [docs/security.md](docs/security.md).
267
+
268
+ ---
269
+
270
+ ## Documentation
271
+
272
+ Documentation is layered: the team guide says **how and when**, and the reference says
273
+ **exactly what the runtime does** — see [docs/](docs/README.md).
274
+
275
+ | Document | Contents |
276
+ | --- | --- |
277
+ | [docs/installation.md](docs/installation.md) | Requirements, install, per-project setup, updating, uninstalling |
278
+ | [docs/security.md](docs/security.md) | What each secondary-agent provider is allowed to read and change |
279
+ | [docs/team-guide](docs/team-guide/README.md) | For developers: getting started, when to use it, task framing, examples, troubleshooting |
280
+ | [docs/architecture](docs/architecture/README.md) | Verified request flow, components, and storage |
281
+ | [docs/reference.md](docs/reference.md) | Complete technical reference: configuration, jobs, fact store, evidence reuse, verify modes, sessions, tests, CI |
282
+ | [docs/runtime-contracts.md](docs/runtime-contracts.md) | Which `.workflow/config.json` keys the runtime obeys, and which it cannot enforce |
283
+ | [docs/limitations.md](docs/limitations.md) | Known limitations |
284
+ | [docs/evaluation/metrics.md](docs/evaluation/metrics.md) | How every figure `exoma report` prints is computed |
285
+ | [CHANGELOG.md](CHANGELOG.md) / [RELEASE.md](RELEASE.md) | Release history and procedure |
286
+
287
+ [ci.yml](.github/workflows/ci.yml) runs the version stamp, manifest, stdlib-only gate, and
288
+ test suites, plus a clean install of the built wheel, on every push on Linux and Windows,
289
+ spending no provider quota; [publish.yml](.github/workflows/publish.yml) publishes a release
290
+ tag to PyPI; [e2e-full.yml](.github/workflows/e2e-full.yml) is manual because it calls a real
291
+ secondary agent.
292
+
293
+ ---
294
+
295
+ ## Limitations
296
+
297
+ Exoma adds an execution layer, and with it additional latency, additional provider calls
298
+ and compute, new failure modes, provider-specific security limits, and maintenance
299
+ complexity. It is not preferable for every task. Full list: [docs/limitations.md](docs/limitations.md).
300
+
301
+ ## License
302
+
303
+ Apache License 2.0 — see [LICENSE](LICENSE) for the authoritative text.
304
+
305
+ Use, modification, and distribution are permitted, including commercially, provided the
306
+ copyright notice and licence are retained and modified files are marked as changed. The
307
+ licence includes an express patent grant that terminates for any party initiating patent
308
+ litigation over the work. The software is provided without warranty of any kind. This
309
+ summary is not legal advice.
310
+
311
+ ```text
312
+ Copyright 2026 dammar01
313
+ ```