crucible-verify 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 (38) hide show
  1. crucible_verify-0.1.0/.github/workflows/publish.yml +27 -0
  2. crucible_verify-0.1.0/.gitignore +29 -0
  3. crucible_verify-0.1.0/Cargo.lock +2132 -0
  4. crucible_verify-0.1.0/Cargo.toml +17 -0
  5. crucible_verify-0.1.0/PKG-INFO +375 -0
  6. crucible_verify-0.1.0/README.md +353 -0
  7. crucible_verify-0.1.0/assets/crucible-cage-3d.gif +0 -0
  8. crucible_verify-0.1.0/assets/crucible-cage-architecture.png +0 -0
  9. crucible_verify-0.1.0/assets/crucible-cage-architecture.svg +143 -0
  10. crucible_verify-0.1.0/benchmark/.attacker_vid +1 -0
  11. crucible_verify-0.1.0/benchmark/.owner_vid +1 -0
  12. crucible_verify-0.1.0/benchmark/.t1_neg +1 -0
  13. crucible_verify-0.1.0/benchmark/.t1_pos +1 -0
  14. crucible_verify-0.1.0/benchmark/.t1_test +1 -0
  15. crucible_verify-0.1.0/benchmark/.t2_neg +1 -0
  16. crucible_verify-0.1.0/benchmark/.t2_pos +1 -0
  17. crucible_verify-0.1.0/benchmark/.t2_test +1 -0
  18. crucible_verify-0.1.0/benchmark/.t3_after +1 -0
  19. crucible_verify-0.1.0/benchmark/.t3_before +1 -0
  20. crucible_verify-0.1.0/benchmark/.t3_buy +1 -0
  21. crucible_verify-0.1.0/benchmark/crucible-crapi-benchmark.html +245 -0
  22. crucible_verify-0.1.0/docs/3d-cage.html +1033 -0
  23. crucible_verify-0.1.0/docs/index.html +258 -0
  24. crucible_verify-0.1.0/pyproject.toml +36 -0
  25. crucible_verify-0.1.0/server.json +23 -0
  26. crucible_verify-0.1.0/src/crucible_mcp/__init__.py +0 -0
  27. crucible_verify-0.1.0/src/crucible_mcp/binder.py +58 -0
  28. crucible_verify-0.1.0/src/crucible_mcp/guards.py +108 -0
  29. crucible_verify-0.1.0/src/crucible_mcp/invariants.py +109 -0
  30. crucible_verify-0.1.0/src/crucible_mcp/noise.py +759 -0
  31. crucible_verify-0.1.0/src/crucible_mcp/server.py +197 -0
  32. crucible_verify-0.1.0/src/evidence.rs +214 -0
  33. crucible_verify-0.1.0/src/main.rs +562 -0
  34. crucible_verify-0.1.0/src/proxy.rs +104 -0
  35. crucible_verify-0.1.0/src/scope.rs +83 -0
  36. crucible_verify-0.1.0/src/triad.rs +148 -0
  37. crucible_verify-0.1.0/tests/test_mcp_defensive.py +318 -0
  38. crucible_verify-0.1.0/tests/test_noise_gate.py +52 -0
@@ -0,0 +1,27 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ environment: pypi
11
+ permissions:
12
+ id-token: write
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+
16
+ - uses: actions/setup-python@v5
17
+ with:
18
+ python-version: "3.11"
19
+
20
+ - name: Install build tools
21
+ run: pip install build
22
+
23
+ - name: Build package
24
+ run: python -m build
25
+
26
+ - name: Publish to PyPI
27
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,29 @@
1
+ # Build artifacts
2
+ /target
3
+ *.bin
4
+
5
+ # Python
6
+ __pycache__/
7
+ *.pyc
8
+ .pytest_cache/
9
+
10
+ # Tokens and secrets
11
+ benchmark/.owner_token
12
+ benchmark/.attacker_token
13
+ benchmark/*.token
14
+ *.token
15
+
16
+ # Evidence store (local data)
17
+ .crucible/
18
+
19
+ # Docker
20
+ benchmark/docker-compose.yml
21
+
22
+ # IDE
23
+ .vscode/
24
+ .idea/
25
+ *.swp
26
+
27
+ # OS
28
+ .DS_Store
29
+ Thumbs.db