agenticreq 0.1.0a1__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 (109) hide show
  1. agenticreq/__init__.py +3 -0
  2. agenticreq/ast/__init__.py +5 -0
  3. agenticreq/ast/agent_discovery.py +845 -0
  4. agenticreq/ast/body_analysis.py +354 -0
  5. agenticreq/ast/classify.py +386 -0
  6. agenticreq/ast/constants.py +143 -0
  7. agenticreq/ast/effects.py +736 -0
  8. agenticreq/ast/envvalues.py +147 -0
  9. agenticreq/ast/evaluate.py +793 -0
  10. agenticreq/ast/extract_support.py +782 -0
  11. agenticreq/ast/extractor.py +574 -0
  12. agenticreq/ast/framework.py +389 -0
  13. agenticreq/ast/limits.py +391 -0
  14. agenticreq/ast/paths.py +211 -0
  15. agenticreq/ast/schema.py +317 -0
  16. agenticreq/ast/signals.py +711 -0
  17. agenticreq/ast/symbols.py +283 -0
  18. agenticreq/ast/tool_binding.py +928 -0
  19. agenticreq/ast/tool_discovery.py +550 -0
  20. agenticreq/capture/__init__.py +15 -0
  21. agenticreq/capture/discover.py +582 -0
  22. agenticreq/capture/entry.py +15 -0
  23. agenticreq/capture/gates.py +112 -0
  24. agenticreq/capture/guard.py +458 -0
  25. agenticreq/capture/hook.py +175 -0
  26. agenticreq/capture/importers.py +85 -0
  27. agenticreq/capture/responder.py +477 -0
  28. agenticreq/capture/runner.py +373 -0
  29. agenticreq/capture/wire.py +193 -0
  30. agenticreq/cli.py +1129 -0
  31. agenticreq/coverage_table.py +86 -0
  32. agenticreq/data/__init__.py +41 -0
  33. agenticreq/data/action_verbs.yml +30 -0
  34. agenticreq/data/framework_defaults.yml +19 -0
  35. agenticreq/data/known_injected_tools.yml +30 -0
  36. agenticreq/data/model_pins.yml +17 -0
  37. agenticreq/data/provider_pinning.yml +19 -0
  38. agenticreq/data/supported_versions.yml +23 -0
  39. agenticreq/defaults/__init__.py +189 -0
  40. agenticreq/defaults/profiles/baseline.yml +4 -0
  41. agenticreq/defaults/profiles/finance.yml +10 -0
  42. agenticreq/derived.py +128 -0
  43. agenticreq/detectors/__init__.py +78 -0
  44. agenticreq/engine.py +275 -0
  45. agenticreq/export/__init__.py +300 -0
  46. agenticreq/fix/__init__.py +315 -0
  47. agenticreq/graph/__init__.py +1 -0
  48. agenticreq/graph/analysis.py +190 -0
  49. agenticreq/graph/builder.py +219 -0
  50. agenticreq/graph/origin.py +122 -0
  51. agenticreq/jsonschema_util.py +187 -0
  52. agenticreq/loader/__init__.py +6 -0
  53. agenticreq/loader/builder.py +163 -0
  54. agenticreq/loader/fix_spec.py +286 -0
  55. agenticreq/loader/issues.py +445 -0
  56. agenticreq/loader/routes.py +99 -0
  57. agenticreq/loader/yaml_loader.py +546 -0
  58. agenticreq/mcp/__init__.py +130 -0
  59. agenticreq/mockgen.py +585 -0
  60. agenticreq/models/__init__.py +26 -0
  61. agenticreq/models/confidence.py +89 -0
  62. agenticreq/models/finding.py +245 -0
  63. agenticreq/models/observed.py +397 -0
  64. agenticreq/models/spec.py +392 -0
  65. agenticreq/models/verdict.py +823 -0
  66. agenticreq/names.py +53 -0
  67. agenticreq/not_needed.py +186 -0
  68. agenticreq/observe.py +100 -0
  69. agenticreq/params.py +364 -0
  70. agenticreq/pathutil.py +39 -0
  71. agenticreq/progress.py +406 -0
  72. agenticreq/py.typed +0 -0
  73. agenticreq/pyenv.py +497 -0
  74. agenticreq/recognizers/__init__.py +63 -0
  75. agenticreq/recognizers/langgraph.py +98 -0
  76. agenticreq/report/__init__.py +7 -0
  77. agenticreq/report/console.py +357 -0
  78. agenticreq/report/grouping.py +42 -0
  79. agenticreq/report/json_report.py +102 -0
  80. agenticreq/report/sarif.py +179 -0
  81. agenticreq/report/term.py +95 -0
  82. agenticreq/rules/__init__.py +1 -0
  83. agenticreq/rules/attest.py +223 -0
  84. agenticreq/rules/base.py +90 -0
  85. agenticreq/rules/conformance.py +1594 -0
  86. agenticreq/rules/fidelity.py +242 -0
  87. agenticreq/rules/graph.py +461 -0
  88. agenticreq/rules/hygiene.py +580 -0
  89. agenticreq/rules/meta.py +334 -0
  90. agenticreq/rules/numeric.py +124 -0
  91. agenticreq/rules/registry.py +868 -0
  92. agenticreq/rules/runtime.py +281 -0
  93. agenticreq/rules/taint.py +297 -0
  94. agenticreq/rules/validate.py +417 -0
  95. agenticreq/scaffold.py +359 -0
  96. agenticreq/schema.py +102 -0
  97. agenticreq/shapes.py +217 -0
  98. agenticreq/signoff.py +116 -0
  99. agenticreq/spec.schema.json +3698 -0
  100. agenticreq/subfields.py +170 -0
  101. agenticreq/thresholds.py +336 -0
  102. agenticreq/traces/__init__.py +102 -0
  103. agenticreq/traces/coverage.py +126 -0
  104. agenticreq/versions.py +219 -0
  105. agenticreq-0.1.0a1.dist-info/METADATA +191 -0
  106. agenticreq-0.1.0a1.dist-info/RECORD +109 -0
  107. agenticreq-0.1.0a1.dist-info/WHEEL +4 -0
  108. agenticreq-0.1.0a1.dist-info/entry_points.txt +5 -0
  109. agenticreq-0.1.0a1.dist-info/licenses/LICENSE +202 -0
agenticreq/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ """agenticreq — does the agent's code actually enforce what its spec declares?"""
2
+
3
+ __version__ = "0.1.0a1"
@@ -0,0 +1,5 @@
1
+ """Static extraction (declared_tools + schemas) from agent source code. Parses, never imports."""
2
+
3
+ from agenticreq.ast.extractor import ProjectExtractor, extract
4
+
5
+ __all__ = ["ProjectExtractor", "extract"]