atomicguard 2.0.0__tar.gz → 2.2.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 (48) hide show
  1. {atomicguard-2.0.0/src/atomicguard.egg-info → atomicguard-2.2.0}/PKG-INFO +6 -1
  2. {atomicguard-2.0.0 → atomicguard-2.2.0}/pyproject.toml +9 -2
  3. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/__init__.py +1 -1
  4. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/application/action_pair.py +12 -0
  5. {atomicguard-2.0.0 → atomicguard-2.2.0/src/atomicguard.egg-info}/PKG-INFO +6 -1
  6. atomicguard-2.2.0/src/atomicguard.egg-info/requires.txt +10 -0
  7. atomicguard-2.0.0/src/atomicguard.egg-info/requires.txt +0 -4
  8. {atomicguard-2.0.0 → atomicguard-2.2.0}/LICENSE +0 -0
  9. {atomicguard-2.0.0 → atomicguard-2.2.0}/README.md +0 -0
  10. {atomicguard-2.0.0 → atomicguard-2.2.0}/setup.cfg +0 -0
  11. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/application/__init__.py +0 -0
  12. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/application/agent.py +0 -0
  13. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/application/checkpoint_service.py +0 -0
  14. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/application/resume_service.py +0 -0
  15. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/application/workflow.py +0 -0
  16. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/domain/__init__.py +0 -0
  17. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/domain/exceptions.py +0 -0
  18. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/domain/extraction.py +0 -0
  19. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/domain/interfaces.py +0 -0
  20. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/domain/models.py +0 -0
  21. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/domain/multiagent.py +0 -0
  22. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/domain/prompts.py +0 -0
  23. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/domain/workflow.py +0 -0
  24. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/guards/__init__.py +0 -0
  25. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/guards/composite/__init__.py +0 -0
  26. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/guards/composite/base.py +0 -0
  27. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/guards/dynamic/__init__.py +0 -0
  28. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/guards/dynamic/test_runner.py +0 -0
  29. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/guards/interactive/__init__.py +0 -0
  30. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/guards/interactive/human.py +0 -0
  31. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/guards/static/__init__.py +0 -0
  32. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/guards/static/imports.py +0 -0
  33. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/guards/static/syntax.py +0 -0
  34. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/__init__.py +0 -0
  35. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/llm/__init__.py +0 -0
  36. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/llm/huggingface.py +0 -0
  37. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/llm/mock.py +0 -0
  38. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/llm/ollama.py +0 -0
  39. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/persistence/__init__.py +0 -0
  40. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/persistence/checkpoint.py +0 -0
  41. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/persistence/filesystem.py +0 -0
  42. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/persistence/memory.py +0 -0
  43. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/registry.py +0 -0
  44. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard/schemas/__init__.py +0 -0
  45. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard.egg-info/SOURCES.txt +0 -0
  46. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard.egg-info/dependency_links.txt +0 -0
  47. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard.egg-info/entry_points.txt +0 -0
  48. {atomicguard-2.0.0 → atomicguard-2.2.0}/src/atomicguard.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atomicguard
3
- Version: 2.0.0
3
+ Version: 2.2.0
4
4
  Summary: A Dual-State Agent Framework for reliable LLM code generation with guard-validated loops
5
5
  Author-email: Matthew Thompson <thompsonson@gmail.com>
6
6
  Maintainer-email: Matthew Thompson <thompsonson@gmail.com>
@@ -30,6 +30,11 @@ Requires-Dist: matplotlib>=3.10.0
30
30
  Requires-Dist: openhands-ai>=0.27.0
31
31
  Requires-Dist: pydantic-ai>=1.0.0
32
32
  Requires-Dist: pytestarch>=4.0.1
33
+ Provides-Extra: experiment
34
+ Requires-Dist: datasets>=2.0.0; extra == "experiment"
35
+ Requires-Dist: huggingface_hub>=0.20; extra == "experiment"
36
+ Requires-Dist: swebench>=2.0.0; extra == "experiment"
37
+ Requires-Dist: docker>=7.0.0; extra == "experiment"
33
38
  Dynamic: license-file
34
39
 
35
40
  # AtomicGuard
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "atomicguard"
3
- version = "2.0.0"
3
+ version = "2.2.0"
4
4
  description = "A Dual-State Agent Framework for reliable LLM code generation with guard-validated loops"
5
5
  readme = "README.md"
6
6
  license = { text = "MIT" }
@@ -54,8 +54,15 @@ OllamaGenerator = "atomicguard.infrastructure.llm:OllamaGenerator"
54
54
  HuggingFaceGenerator = "atomicguard.infrastructure.llm:HuggingFaceGenerator"
55
55
  MockGenerator = "atomicguard.infrastructure.llm:MockGenerator"
56
56
 
57
+ [project.optional-dependencies]
58
+ experiment = [
59
+ "datasets>=2.0.0",
60
+ "huggingface_hub>=0.20",
61
+ "swebench>=2.0.0",
62
+ "docker>=7.0.0",
63
+ ]
64
+
57
65
  # Note: Dev dependencies are in [dependency-groups] below, not here.
58
- # [project.optional-dependencies] is for end-user extras only.
59
66
 
60
67
  [build-system]
61
68
  requires = ["setuptools>=75.0.0", "wheel"]
@@ -74,7 +74,7 @@ from atomicguard.infrastructure.persistence import (
74
74
  InMemoryArtifactDAG,
75
75
  )
76
76
 
77
- __version__ = "2.0.0"
77
+ __version__ = "2.2.0"
78
78
 
79
79
  __all__ = [
80
80
  # Version
@@ -67,5 +67,17 @@ class ActionPair:
67
67
  artifact = self._generator.generate(
68
68
  context, self._prompt_template, action_pair_id, workflow_id
69
69
  )
70
+
71
+ # If the generator flagged an error (e.g. PydanticAI validation failure),
72
+ # skip the domain guard — the generator error IS the rejection.
73
+ generator_error = artifact.metadata.get("generator_error")
74
+ if generator_error:
75
+ result = GuardResult(
76
+ passed=False,
77
+ feedback=generator_error,
78
+ guard_name="GeneratorValidation",
79
+ )
80
+ return artifact, result
81
+
70
82
  result = self._guard.validate(artifact, **dependencies)
71
83
  return artifact, result
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atomicguard
3
- Version: 2.0.0
3
+ Version: 2.2.0
4
4
  Summary: A Dual-State Agent Framework for reliable LLM code generation with guard-validated loops
5
5
  Author-email: Matthew Thompson <thompsonson@gmail.com>
6
6
  Maintainer-email: Matthew Thompson <thompsonson@gmail.com>
@@ -30,6 +30,11 @@ Requires-Dist: matplotlib>=3.10.0
30
30
  Requires-Dist: openhands-ai>=0.27.0
31
31
  Requires-Dist: pydantic-ai>=1.0.0
32
32
  Requires-Dist: pytestarch>=4.0.1
33
+ Provides-Extra: experiment
34
+ Requires-Dist: datasets>=2.0.0; extra == "experiment"
35
+ Requires-Dist: huggingface_hub>=0.20; extra == "experiment"
36
+ Requires-Dist: swebench>=2.0.0; extra == "experiment"
37
+ Requires-Dist: docker>=7.0.0; extra == "experiment"
33
38
  Dynamic: license-file
34
39
 
35
40
  # AtomicGuard
@@ -0,0 +1,10 @@
1
+ matplotlib>=3.10.0
2
+ openhands-ai>=0.27.0
3
+ pydantic-ai>=1.0.0
4
+ pytestarch>=4.0.1
5
+
6
+ [experiment]
7
+ datasets>=2.0.0
8
+ huggingface_hub>=0.20
9
+ swebench>=2.0.0
10
+ docker>=7.0.0
@@ -1,4 +0,0 @@
1
- matplotlib>=3.10.0
2
- openhands-ai>=0.27.0
3
- pydantic-ai>=1.0.0
4
- pytestarch>=4.0.1
File without changes
File without changes
File without changes