sotgraph 0.3.3__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 (257) hide show
  1. sotgraph-0.3.3/LICENSE +21 -0
  2. sotgraph-0.3.3/MANIFEST.in +3 -0
  3. sotgraph-0.3.3/PKG-INFO +659 -0
  4. sotgraph-0.3.3/README.md +539 -0
  5. sotgraph-0.3.3/pyproject.toml +164 -0
  6. sotgraph-0.3.3/setup.cfg +4 -0
  7. sotgraph-0.3.3/src/sot_graph/__init__.py +30 -0
  8. sotgraph-0.3.3/src/sot_graph/__main__.py +5 -0
  9. sotgraph-0.3.3/src/sot_graph/_vendor/__init__.py +4 -0
  10. sotgraph-0.3.3/src/sot_graph/_vendor/graphify/__init__.py +30 -0
  11. sotgraph-0.3.3/src/sot_graph/_vendor/graphify/extract.py +1614 -0
  12. sotgraph-0.3.3/src/sot_graph/adapters/AGENTS.md +77 -0
  13. sotgraph-0.3.3/src/sot_graph/adapters/__init__.py +13 -0
  14. sotgraph-0.3.3/src/sot_graph/adapters/antigravity.py +205 -0
  15. sotgraph-0.3.3/src/sot_graph/adapters/claude.py +183 -0
  16. sotgraph-0.3.3/src/sot_graph/adapters/hooks.py +74 -0
  17. sotgraph-0.3.3/src/sot_graph/adapters/installer.py +76 -0
  18. sotgraph-0.3.3/src/sot_graph/adapters/migration.py +121 -0
  19. sotgraph-0.3.3/src/sot_graph/adapters/omp.py +235 -0
  20. sotgraph-0.3.3/src/sot_graph/adapters/omp_extension.ts +1036 -0
  21. sotgraph-0.3.3/src/sot_graph/adapters/opencode.py +220 -0
  22. sotgraph-0.3.3/src/sot_graph/adapters/opencode_plugin.ts +221 -0
  23. sotgraph-0.3.3/src/sot_graph/adapters/zcode.py +359 -0
  24. sotgraph-0.3.3/src/sot_graph/analytics/__init__.py +50 -0
  25. sotgraph-0.3.3/src/sot_graph/analytics/architecture.py +1190 -0
  26. sotgraph-0.3.3/src/sot_graph/analytics/bundle.py +473 -0
  27. sotgraph-0.3.3/src/sot_graph/analytics/conformance.py +207 -0
  28. sotgraph-0.3.3/src/sot_graph/analytics/diagnostics.py +335 -0
  29. sotgraph-0.3.3/src/sot_graph/analytics/graph.py +915 -0
  30. sotgraph-0.3.3/src/sot_graph/analytics/report.py +650 -0
  31. sotgraph-0.3.3/src/sot_graph/assurance/__init__.py +95 -0
  32. sotgraph-0.3.3/src/sot_graph/assurance/accounting.py +406 -0
  33. sotgraph-0.3.3/src/sot_graph/assurance/coverage.py +895 -0
  34. sotgraph-0.3.3/src/sot_graph/assurance/engine.py +122 -0
  35. sotgraph-0.3.3/src/sot_graph/assurance/identity.py +227 -0
  36. sotgraph-0.3.3/src/sot_graph/assurance/impact_pipeline.py +504 -0
  37. sotgraph-0.3.3/src/sot_graph/assurance/ledger.py +314 -0
  38. sotgraph-0.3.3/src/sot_graph/assurance/orchestrator.py +967 -0
  39. sotgraph-0.3.3/src/sot_graph/assurance/receipts.py +1311 -0
  40. sotgraph-0.3.3/src/sot_graph/assurance/routing.py +85 -0
  41. sotgraph-0.3.3/src/sot_graph/assurance/state.py +257 -0
  42. sotgraph-0.3.3/src/sot_graph/claims.py +553 -0
  43. sotgraph-0.3.3/src/sot_graph/cli.py +2720 -0
  44. sotgraph-0.3.3/src/sot_graph/config.py +299 -0
  45. sotgraph-0.3.3/src/sot_graph/db.py +3376 -0
  46. sotgraph-0.3.3/src/sot_graph/diff_impact.py +1682 -0
  47. sotgraph-0.3.3/src/sot_graph/envelope.py +183 -0
  48. sotgraph-0.3.3/src/sot_graph/evidence.py +298 -0
  49. sotgraph-0.3.3/src/sot_graph/export/__init__.py +16 -0
  50. sotgraph-0.3.3/src/sot_graph/export/d3.v7.min.js +2 -0
  51. sotgraph-0.3.3/src/sot_graph/export/exporter.py +319 -0
  52. sotgraph-0.3.3/src/sot_graph/export/html.py +543 -0
  53. sotgraph-0.3.3/src/sot_graph/export/scip.py +179 -0
  54. sotgraph-0.3.3/src/sot_graph/extractor.py +483 -0
  55. sotgraph-0.3.3/src/sot_graph/holdout/__init__.py +10 -0
  56. sotgraph-0.3.3/src/sot_graph/holdout/evaluator.py +457 -0
  57. sotgraph-0.3.3/src/sot_graph/holdout/splits.py +242 -0
  58. sotgraph-0.3.3/src/sot_graph/ignore.py +305 -0
  59. sotgraph-0.3.3/src/sot_graph/importer/__init__.py +9 -0
  60. sotgraph-0.3.3/src/sot_graph/importer/scip.py +1000 -0
  61. sotgraph-0.3.3/src/sot_graph/locking.py +226 -0
  62. sotgraph-0.3.3/src/sot_graph/mcp_server.py +798 -0
  63. sotgraph-0.3.3/src/sot_graph/mcp_service.py +1943 -0
  64. sotgraph-0.3.3/src/sot_graph/modutil.py +144 -0
  65. sotgraph-0.3.3/src/sot_graph/pack.py +1221 -0
  66. sotgraph-0.3.3/src/sot_graph/parser_outcome.py +79 -0
  67. sotgraph-0.3.3/src/sot_graph/proc.py +394 -0
  68. sotgraph-0.3.3/src/sot_graph/provider_contract.py +233 -0
  69. sotgraph-0.3.3/src/sot_graph/providers/__init__.py +19 -0
  70. sotgraph-0.3.3/src/sot_graph/providers/admin.py +228 -0
  71. sotgraph-0.3.3/src/sot_graph/providers/artifacts.py +485 -0
  72. sotgraph-0.3.3/src/sot_graph/providers/base.py +206 -0
  73. sotgraph-0.3.3/src/sot_graph/providers/bootstrap.py +297 -0
  74. sotgraph-0.3.3/src/sot_graph/providers/codebase_memory.py +2410 -0
  75. sotgraph-0.3.3/src/sot_graph/providers/compatibility.py +494 -0
  76. sotgraph-0.3.3/src/sot_graph/providers/contract.py +187 -0
  77. sotgraph-0.3.3/src/sot_graph/providers/cross_check.py +522 -0
  78. sotgraph-0.3.3/src/sot_graph/providers/engine_mcp.py +239 -0
  79. sotgraph-0.3.3/src/sot_graph/providers/engine_pins.json +37 -0
  80. sotgraph-0.3.3/src/sot_graph/providers/identity_join.py +406 -0
  81. sotgraph-0.3.3/src/sot_graph/providers/installation.py +143 -0
  82. sotgraph-0.3.3/src/sot_graph/providers/lifecycle.py +93 -0
  83. sotgraph-0.3.3/src/sot_graph/providers/managed.py +693 -0
  84. sotgraph-0.3.3/src/sot_graph/providers/normalization.py +396 -0
  85. sotgraph-0.3.3/src/sot_graph/providers/runtime.py +451 -0
  86. sotgraph-0.3.3/src/sot_graph/providers/scip.py +515 -0
  87. sotgraph-0.3.3/src/sot_graph/providers/trusted_config.py +414 -0
  88. sotgraph-0.3.3/src/sot_graph/providers/verification.py +345 -0
  89. sotgraph-0.3.3/src/sot_graph/providers_registry.py +474 -0
  90. sotgraph-0.3.3/src/sot_graph/receipt_explorer.py +606 -0
  91. sotgraph-0.3.3/src/sot_graph/reconciler.py +873 -0
  92. sotgraph-0.3.3/src/sot_graph/repo_map.py +407 -0
  93. sotgraph-0.3.3/src/sot_graph/snapshot.py +339 -0
  94. sotgraph-0.3.3/src/sot_graph/solution.py +664 -0
  95. sotgraph-0.3.3/src/sot_graph/templates/ARCHITECTURE_TEMPLATE.md +141 -0
  96. sotgraph-0.3.3/src/sot_graph/tokenizer.py +115 -0
  97. sotgraph-0.3.3/src/sot_graph/trace.py +617 -0
  98. sotgraph-0.3.3/src/sot_graph/ts_extract.py +976 -0
  99. sotgraph-0.3.3/src/sot_graph/vector.py +350 -0
  100. sotgraph-0.3.3/src/sot_graph/verifier.py +659 -0
  101. sotgraph-0.3.3/src/sot_graph/watcher.py +894 -0
  102. sotgraph-0.3.3/src/sotgraph.egg-info/PKG-INFO +659 -0
  103. sotgraph-0.3.3/src/sotgraph.egg-info/SOURCES.txt +255 -0
  104. sotgraph-0.3.3/src/sotgraph.egg-info/dependency_links.txt +1 -0
  105. sotgraph-0.3.3/src/sotgraph.egg-info/entry_points.txt +2 -0
  106. sotgraph-0.3.3/src/sotgraph.egg-info/requires.txt +106 -0
  107. sotgraph-0.3.3/src/sotgraph.egg-info/top_level.txt +1 -0
  108. sotgraph-0.3.3/tests/test_accounting_contract.py +660 -0
  109. sotgraph-0.3.3/tests/test_accounting_visitor_typing.py +88 -0
  110. sotgraph-0.3.3/tests/test_adapter_docs_consistency.py +45 -0
  111. sotgraph-0.3.3/tests/test_adapters.py +317 -0
  112. sotgraph-0.3.3/tests/test_adversarial_edge_cases.py +371 -0
  113. sotgraph-0.3.3/tests/test_analytics.py +335 -0
  114. sotgraph-0.3.3/tests/test_assurance_state.py +124 -0
  115. sotgraph-0.3.3/tests/test_bundle.py +125 -0
  116. sotgraph-0.3.3/tests/test_bundle_conformance.py +259 -0
  117. sotgraph-0.3.3/tests/test_c_cpp_extractor.py +177 -0
  118. sotgraph-0.3.3/tests/test_cbm_adapter.py +831 -0
  119. sotgraph-0.3.3/tests/test_cbm_contract_parity.py +208 -0
  120. sotgraph-0.3.3/tests/test_cbm_exact_compatibility.py +576 -0
  121. sotgraph-0.3.3/tests/test_cbm_golden.py +131 -0
  122. sotgraph-0.3.3/tests/test_cbm_managed_provider.py +924 -0
  123. sotgraph-0.3.3/tests/test_cbm_normalization.py +221 -0
  124. sotgraph-0.3.3/tests/test_cbm_remediation_surface.py +469 -0
  125. sotgraph-0.3.3/tests/test_cbm_snapshot_p2.py +634 -0
  126. sotgraph-0.3.3/tests/test_cbm_verification.py +570 -0
  127. sotgraph-0.3.3/tests/test_ci_workflows_yaml.py +62 -0
  128. sotgraph-0.3.3/tests/test_cli_provider_wiring.py +395 -0
  129. sotgraph-0.3.3/tests/test_cli_smoke.py +39 -0
  130. sotgraph-0.3.3/tests/test_collection_accounting.py +573 -0
  131. sotgraph-0.3.3/tests/test_completion_surface_harness.py +166 -0
  132. sotgraph-0.3.3/tests/test_completion_surface_packaging.py +328 -0
  133. sotgraph-0.3.3/tests/test_completion_surface_provider.py +275 -0
  134. sotgraph-0.3.3/tests/test_config_loader.py +268 -0
  135. sotgraph-0.3.3/tests/test_core_safety_fixes.py +389 -0
  136. sotgraph-0.3.3/tests/test_coverage_manifest.py +234 -0
  137. sotgraph-0.3.3/tests/test_dart_extractor.py +326 -0
  138. sotgraph-0.3.3/tests/test_diagnose_native_latency.py +412 -0
  139. sotgraph-0.3.3/tests/test_diff_impact.py +1287 -0
  140. sotgraph-0.3.3/tests/test_diff_impact_github.py +299 -0
  141. sotgraph-0.3.3/tests/test_edge_lifecycle.py +148 -0
  142. sotgraph-0.3.3/tests/test_engine_admin.py +148 -0
  143. sotgraph-0.3.3/tests/test_engine_bootstrap.py +207 -0
  144. sotgraph-0.3.3/tests/test_engine_mcp.py +205 -0
  145. sotgraph-0.3.3/tests/test_engine_trusted_config.py +83 -0
  146. sotgraph-0.3.3/tests/test_export.py +210 -0
  147. sotgraph-0.3.3/tests/test_force_reindex.py +102 -0
  148. sotgraph-0.3.3/tests/test_group1_extractors.py +180 -0
  149. sotgraph-0.3.3/tests/test_group2_extractors.py +140 -0
  150. sotgraph-0.3.3/tests/test_group3_extractors.py +150 -0
  151. sotgraph-0.3.3/tests/test_gs_surface_catalog.py +252 -0
  152. sotgraph-0.3.3/tests/test_gs_surface_lifecycle.py +148 -0
  153. sotgraph-0.3.3/tests/test_hardening_fixes.py +279 -0
  154. sotgraph-0.3.3/tests/test_history_retention.py +159 -0
  155. sotgraph-0.3.3/tests/test_holdout_denominators.py +311 -0
  156. sotgraph-0.3.3/tests/test_holdout_oracle.py +266 -0
  157. sotgraph-0.3.3/tests/test_holdout_splits.py +356 -0
  158. sotgraph-0.3.3/tests/test_identity_join.py +249 -0
  159. sotgraph-0.3.3/tests/test_ignore.py +129 -0
  160. sotgraph-0.3.3/tests/test_impact_pipeline.py +900 -0
  161. sotgraph-0.3.3/tests/test_import_resolution.py +191 -0
  162. sotgraph-0.3.3/tests/test_java_extractor.py +112 -0
  163. sotgraph-0.3.3/tests/test_jit_reconcile.py +110 -0
  164. sotgraph-0.3.3/tests/test_lambda_comprehension_coverage.py +237 -0
  165. sotgraph-0.3.3/tests/test_maintenance.py +159 -0
  166. sotgraph-0.3.3/tests/test_managed_artifacts.py +562 -0
  167. sotgraph-0.3.3/tests/test_managed_config_recovery.py +270 -0
  168. sotgraph-0.3.3/tests/test_managed_execution.py +740 -0
  169. sotgraph-0.3.3/tests/test_managed_installation.py +343 -0
  170. sotgraph-0.3.3/tests/test_managed_orphan_writer.py +189 -0
  171. sotgraph-0.3.3/tests/test_managed_policy_parity.py +267 -0
  172. sotgraph-0.3.3/tests/test_managed_read_dispatch.py +309 -0
  173. sotgraph-0.3.3/tests/test_managed_runtime.py +515 -0
  174. sotgraph-0.3.3/tests/test_managed_snapshot_boundaries.py +193 -0
  175. sotgraph-0.3.3/tests/test_managed_transport.py +383 -0
  176. sotgraph-0.3.3/tests/test_mcp.py +360 -0
  177. sotgraph-0.3.3/tests/test_mcp_modern.py +165 -0
  178. sotgraph-0.3.3/tests/test_mcp_prompts.py +125 -0
  179. sotgraph-0.3.3/tests/test_mcp_receipt_tools.py +194 -0
  180. sotgraph-0.3.3/tests/test_monorepo_ledger_concurrency.py +193 -0
  181. sotgraph-0.3.3/tests/test_monorepo_snapshot_adversarial.py +239 -0
  182. sotgraph-0.3.3/tests/test_multilang.py +72 -0
  183. sotgraph-0.3.3/tests/test_native_source_verifier.py +184 -0
  184. sotgraph-0.3.3/tests/test_navigation.py +166 -0
  185. sotgraph-0.3.3/tests/test_omp_integration.py +501 -0
  186. sotgraph-0.3.3/tests/test_optimizations.py +219 -0
  187. sotgraph-0.3.3/tests/test_oracle_gate.py +231 -0
  188. sotgraph-0.3.3/tests/test_oracle_selfcheck.py +202 -0
  189. sotgraph-0.3.3/tests/test_p0_freshness_semantics.py +193 -0
  190. sotgraph-0.3.3/tests/test_p1_snapshot_trust.py +297 -0
  191. sotgraph-0.3.3/tests/test_p2_orchestrator.py +437 -0
  192. sotgraph-0.3.3/tests/test_p3_adapters.py +257 -0
  193. sotgraph-0.3.3/tests/test_p3_builtin_recall.py +198 -0
  194. sotgraph-0.3.3/tests/test_p3_plugin_contract.py +187 -0
  195. sotgraph-0.3.3/tests/test_p3_scip_binding.py +236 -0
  196. sotgraph-0.3.3/tests/test_p4_identity.py +143 -0
  197. sotgraph-0.3.3/tests/test_p4_quality_gate.py +66 -0
  198. sotgraph-0.3.3/tests/test_p4_ranking.py +127 -0
  199. sotgraph-0.3.3/tests/test_p4_search_safety.py +143 -0
  200. sotgraph-0.3.3/tests/test_p5_coverage_verification.py +316 -0
  201. sotgraph-0.3.3/tests/test_p6_ledger.py +423 -0
  202. sotgraph-0.3.3/tests/test_p7_receipts.py +447 -0
  203. sotgraph-0.3.3/tests/test_p8_omp_integration.py +221 -0
  204. sotgraph-0.3.3/tests/test_p9_chaos_migration.py +198 -0
  205. sotgraph-0.3.3/tests/test_pack_sg202_priority.py +461 -0
  206. sotgraph-0.3.3/tests/test_parallel_reconciler.py +142 -0
  207. sotgraph-0.3.3/tests/test_phase1_scip_and_schema_v5.py +540 -0
  208. sotgraph-0.3.3/tests/test_phase6.py +258 -0
  209. sotgraph-0.3.3/tests/test_php_extractor.py +268 -0
  210. sotgraph-0.3.3/tests/test_precision_and_metamorphic.py +178 -0
  211. sotgraph-0.3.3/tests/test_proc_environment.py +167 -0
  212. sotgraph-0.3.3/tests/test_proc_process_group.py +99 -0
  213. sotgraph-0.3.3/tests/test_proc_runner.py +91 -0
  214. sotgraph-0.3.3/tests/test_proc_streaming_cap.py +115 -0
  215. sotgraph-0.3.3/tests/test_proc_windows_job.py +94 -0
  216. sotgraph-0.3.3/tests/test_provider_compatibility.py +464 -0
  217. sotgraph-0.3.3/tests/test_provider_contract.py +78 -0
  218. sotgraph-0.3.3/tests/test_providers_cross_check.py +439 -0
  219. sotgraph-0.3.3/tests/test_providers_registry.py +227 -0
  220. sotgraph-0.3.3/tests/test_python_resolver.py +178 -0
  221. sotgraph-0.3.3/tests/test_python_scope_extended.py +53 -0
  222. sotgraph-0.3.3/tests/test_python_semantic_resolver.py +210 -0
  223. sotgraph-0.3.3/tests/test_query_plan_regression.py +50 -0
  224. sotgraph-0.3.3/tests/test_reconcile_audit_receipts.py +108 -0
  225. sotgraph-0.3.3/tests/test_repo_map.py +172 -0
  226. sotgraph-0.3.3/tests/test_report_conformance.py +442 -0
  227. sotgraph-0.3.3/tests/test_repository_identity.py +78 -0
  228. sotgraph-0.3.3/tests/test_scip_provider.py +183 -0
  229. sotgraph-0.3.3/tests/test_scip_truncation.py +97 -0
  230. sotgraph-0.3.3/tests/test_search_bare_name_ranking.py +288 -0
  231. sotgraph-0.3.3/tests/test_sg107_stress.py +976 -0
  232. sotgraph-0.3.3/tests/test_sg108_scope_universe.py +620 -0
  233. sotgraph-0.3.3/tests/test_sg109_generation_invalidation.py +367 -0
  234. sotgraph-0.3.3/tests/test_sg110_claims.py +411 -0
  235. sotgraph-0.3.3/tests/test_sg201_external_corpus.py +516 -0
  236. sotgraph-0.3.3/tests/test_sg201_repo_map_filters.py +331 -0
  237. sotgraph-0.3.3/tests/test_sg201_sg202_exit_gates.py +425 -0
  238. sotgraph-0.3.3/tests/test_sg202_pack_completeness.py +324 -0
  239. sotgraph-0.3.3/tests/test_sg205_receipt_explorer.py +359 -0
  240. sotgraph-0.3.3/tests/test_snapshot_binding.py +287 -0
  241. sotgraph-0.3.3/tests/test_snapshot_content_binding.py +391 -0
  242. sotgraph-0.3.3/tests/test_solution_trace.py +281 -0
  243. sotgraph-0.3.3/tests/test_sot_graph.py +110 -0
  244. sotgraph-0.3.3/tests/test_sprint4_compass_and_pack.py +403 -0
  245. sotgraph-0.3.3/tests/test_storage_integrity.py +152 -0
  246. sotgraph-0.3.3/tests/test_surface_lifecycle_runner.py +225 -0
  247. sotgraph-0.3.3/tests/test_treesitter.py +384 -0
  248. sotgraph-0.3.3/tests/test_trust_axes.py +518 -0
  249. sotgraph-0.3.3/tests/test_trust_chain_hardening.py +1457 -0
  250. sotgraph-0.3.3/tests/test_trust_v2_evidence.py +313 -0
  251. sotgraph-0.3.3/tests/test_trusted_managed_config.py +453 -0
  252. sotgraph-0.3.3/tests/test_truthfulness.py +277 -0
  253. sotgraph-0.3.3/tests/test_type_checking_universe.py +205 -0
  254. sotgraph-0.3.3/tests/test_v2_upgrade.py +534 -0
  255. sotgraph-0.3.3/tests/test_vector.py +274 -0
  256. sotgraph-0.3.3/tests/test_verifier.py +235 -0
  257. sotgraph-0.3.3/tests/test_watcher_daemon.py +287 -0
sotgraph-0.3.3/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Minh Giap
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ # Native source is versioned separately, never bundled into Python distributions.
2
+ prune engines
3
+ prune plan