sotgraph 0.3.3__py3-none-any.whl

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 (101) hide show
  1. sot_graph/__init__.py +30 -0
  2. sot_graph/__main__.py +5 -0
  3. sot_graph/_vendor/__init__.py +4 -0
  4. sot_graph/_vendor/graphify/__init__.py +30 -0
  5. sot_graph/_vendor/graphify/extract.py +1614 -0
  6. sot_graph/adapters/AGENTS.md +77 -0
  7. sot_graph/adapters/__init__.py +13 -0
  8. sot_graph/adapters/antigravity.py +205 -0
  9. sot_graph/adapters/claude.py +183 -0
  10. sot_graph/adapters/hooks.py +74 -0
  11. sot_graph/adapters/installer.py +76 -0
  12. sot_graph/adapters/migration.py +121 -0
  13. sot_graph/adapters/omp.py +235 -0
  14. sot_graph/adapters/omp_extension.ts +1036 -0
  15. sot_graph/adapters/opencode.py +220 -0
  16. sot_graph/adapters/opencode_plugin.ts +221 -0
  17. sot_graph/adapters/zcode.py +359 -0
  18. sot_graph/analytics/__init__.py +50 -0
  19. sot_graph/analytics/architecture.py +1190 -0
  20. sot_graph/analytics/bundle.py +473 -0
  21. sot_graph/analytics/conformance.py +207 -0
  22. sot_graph/analytics/diagnostics.py +335 -0
  23. sot_graph/analytics/graph.py +915 -0
  24. sot_graph/analytics/report.py +650 -0
  25. sot_graph/assurance/__init__.py +95 -0
  26. sot_graph/assurance/accounting.py +406 -0
  27. sot_graph/assurance/coverage.py +895 -0
  28. sot_graph/assurance/engine.py +122 -0
  29. sot_graph/assurance/identity.py +227 -0
  30. sot_graph/assurance/impact_pipeline.py +504 -0
  31. sot_graph/assurance/ledger.py +314 -0
  32. sot_graph/assurance/orchestrator.py +967 -0
  33. sot_graph/assurance/receipts.py +1311 -0
  34. sot_graph/assurance/routing.py +85 -0
  35. sot_graph/assurance/state.py +257 -0
  36. sot_graph/claims.py +553 -0
  37. sot_graph/cli.py +2720 -0
  38. sot_graph/config.py +299 -0
  39. sot_graph/db.py +3376 -0
  40. sot_graph/diff_impact.py +1682 -0
  41. sot_graph/envelope.py +183 -0
  42. sot_graph/evidence.py +298 -0
  43. sot_graph/export/__init__.py +16 -0
  44. sot_graph/export/d3.v7.min.js +2 -0
  45. sot_graph/export/exporter.py +319 -0
  46. sot_graph/export/html.py +543 -0
  47. sot_graph/export/scip.py +179 -0
  48. sot_graph/extractor.py +483 -0
  49. sot_graph/holdout/__init__.py +10 -0
  50. sot_graph/holdout/evaluator.py +457 -0
  51. sot_graph/holdout/splits.py +242 -0
  52. sot_graph/ignore.py +305 -0
  53. sot_graph/importer/__init__.py +9 -0
  54. sot_graph/importer/scip.py +1000 -0
  55. sot_graph/locking.py +226 -0
  56. sot_graph/mcp_server.py +798 -0
  57. sot_graph/mcp_service.py +1943 -0
  58. sot_graph/modutil.py +144 -0
  59. sot_graph/pack.py +1221 -0
  60. sot_graph/parser_outcome.py +79 -0
  61. sot_graph/proc.py +394 -0
  62. sot_graph/provider_contract.py +233 -0
  63. sot_graph/providers/__init__.py +19 -0
  64. sot_graph/providers/admin.py +228 -0
  65. sot_graph/providers/artifacts.py +485 -0
  66. sot_graph/providers/base.py +206 -0
  67. sot_graph/providers/bootstrap.py +297 -0
  68. sot_graph/providers/codebase_memory.py +2410 -0
  69. sot_graph/providers/compatibility.py +494 -0
  70. sot_graph/providers/contract.py +187 -0
  71. sot_graph/providers/cross_check.py +522 -0
  72. sot_graph/providers/engine_mcp.py +239 -0
  73. sot_graph/providers/engine_pins.json +37 -0
  74. sot_graph/providers/identity_join.py +406 -0
  75. sot_graph/providers/installation.py +143 -0
  76. sot_graph/providers/lifecycle.py +93 -0
  77. sot_graph/providers/managed.py +693 -0
  78. sot_graph/providers/normalization.py +396 -0
  79. sot_graph/providers/runtime.py +451 -0
  80. sot_graph/providers/scip.py +515 -0
  81. sot_graph/providers/trusted_config.py +414 -0
  82. sot_graph/providers/verification.py +345 -0
  83. sot_graph/providers_registry.py +474 -0
  84. sot_graph/receipt_explorer.py +606 -0
  85. sot_graph/reconciler.py +873 -0
  86. sot_graph/repo_map.py +407 -0
  87. sot_graph/snapshot.py +339 -0
  88. sot_graph/solution.py +664 -0
  89. sot_graph/templates/ARCHITECTURE_TEMPLATE.md +141 -0
  90. sot_graph/tokenizer.py +115 -0
  91. sot_graph/trace.py +617 -0
  92. sot_graph/ts_extract.py +976 -0
  93. sot_graph/vector.py +350 -0
  94. sot_graph/verifier.py +659 -0
  95. sot_graph/watcher.py +894 -0
  96. sotgraph-0.3.3.dist-info/METADATA +659 -0
  97. sotgraph-0.3.3.dist-info/RECORD +101 -0
  98. sotgraph-0.3.3.dist-info/WHEEL +5 -0
  99. sotgraph-0.3.3.dist-info/entry_points.txt +2 -0
  100. sotgraph-0.3.3.dist-info/licenses/LICENSE +21 -0
  101. sotgraph-0.3.3.dist-info/top_level.txt +1 -0
sot_graph/__init__.py ADDED
@@ -0,0 +1,30 @@
1
+ """
2
+ sot_graph package entrypoint.
3
+ """
4
+
5
+ from .db import Database
6
+ from .evidence import (
7
+ CompletenessStatus,
8
+ FreshnessStatus,
9
+ RelevanceType,
10
+ ResolutionStatus,
11
+ TrustEvidence,
12
+ )
13
+ from .extractor import parse_file_graph
14
+ from .reconciler import Reconciler
15
+ from .verifier import TrustVerifier, VerificationResult
16
+ __version__ = "0.3.3"
17
+
18
+ __all__ = [
19
+ "Database",
20
+ "Reconciler",
21
+ "TrustVerifier",
22
+ "VerificationResult",
23
+ "TrustEvidence",
24
+ "FreshnessStatus",
25
+ "RelevanceType",
26
+ "ResolutionStatus",
27
+ "CompletenessStatus",
28
+ "parse_file_graph",
29
+ "__version__",
30
+ ]
sot_graph/__main__.py ADDED
@@ -0,0 +1,5 @@
1
+ """Run the sotgraph CLI using the stable Python package name."""
2
+ from sot_graph.cli import main
3
+
4
+ if __name__ == "__main__":
5
+ main()
@@ -0,0 +1,4 @@
1
+ """
2
+ src/sot_graph/_vendor/__init__.py
3
+ Internal vendored dependencies for sot-graph.
4
+ """
@@ -0,0 +1,30 @@
1
+ """
2
+ src/sot_graph/_vendor/graphify/__init__.py
3
+ Vendored Graphify AST extraction package for sot-graph.
4
+ """
5
+ from .extract import (
6
+ extract_python,
7
+ extract_js,
8
+ extract_go,
9
+ extract_rust,
10
+ extract_c,
11
+ extract_cpp,
12
+ extract_java,
13
+ extract_ruby,
14
+ extract_php,
15
+ extract_swift,
16
+ extract_dart,
17
+ )
18
+ __all__ = [
19
+ "extract_python",
20
+ "extract_js",
21
+ "extract_go",
22
+ "extract_rust",
23
+ "extract_c",
24
+ "extract_cpp",
25
+ "extract_java",
26
+ "extract_ruby",
27
+ "extract_php",
28
+ "extract_swift",
29
+ "extract_dart",
30
+ ]