atomicguard 2.1.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 (47) hide show
  1. {atomicguard-2.1.0/src/atomicguard.egg-info → atomicguard-2.2.0}/PKG-INFO +1 -1
  2. {atomicguard-2.1.0 → atomicguard-2.2.0}/pyproject.toml +1 -1
  3. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/__init__.py +1 -1
  4. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/application/action_pair.py +12 -0
  5. {atomicguard-2.1.0 → atomicguard-2.2.0/src/atomicguard.egg-info}/PKG-INFO +1 -1
  6. {atomicguard-2.1.0 → atomicguard-2.2.0}/LICENSE +0 -0
  7. {atomicguard-2.1.0 → atomicguard-2.2.0}/README.md +0 -0
  8. {atomicguard-2.1.0 → atomicguard-2.2.0}/setup.cfg +0 -0
  9. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/application/__init__.py +0 -0
  10. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/application/agent.py +0 -0
  11. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/application/checkpoint_service.py +0 -0
  12. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/application/resume_service.py +0 -0
  13. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/application/workflow.py +0 -0
  14. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/domain/__init__.py +0 -0
  15. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/domain/exceptions.py +0 -0
  16. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/domain/extraction.py +0 -0
  17. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/domain/interfaces.py +0 -0
  18. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/domain/models.py +0 -0
  19. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/domain/multiagent.py +0 -0
  20. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/domain/prompts.py +0 -0
  21. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/domain/workflow.py +0 -0
  22. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/guards/__init__.py +0 -0
  23. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/guards/composite/__init__.py +0 -0
  24. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/guards/composite/base.py +0 -0
  25. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/guards/dynamic/__init__.py +0 -0
  26. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/guards/dynamic/test_runner.py +0 -0
  27. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/guards/interactive/__init__.py +0 -0
  28. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/guards/interactive/human.py +0 -0
  29. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/guards/static/__init__.py +0 -0
  30. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/guards/static/imports.py +0 -0
  31. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/guards/static/syntax.py +0 -0
  32. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/__init__.py +0 -0
  33. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/llm/__init__.py +0 -0
  34. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/llm/huggingface.py +0 -0
  35. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/llm/mock.py +0 -0
  36. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/llm/ollama.py +0 -0
  37. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/persistence/__init__.py +0 -0
  38. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/persistence/checkpoint.py +0 -0
  39. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/persistence/filesystem.py +0 -0
  40. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/persistence/memory.py +0 -0
  41. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/infrastructure/registry.py +0 -0
  42. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard/schemas/__init__.py +0 -0
  43. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard.egg-info/SOURCES.txt +0 -0
  44. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard.egg-info/dependency_links.txt +0 -0
  45. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard.egg-info/entry_points.txt +0 -0
  46. {atomicguard-2.1.0 → atomicguard-2.2.0}/src/atomicguard.egg-info/requires.txt +0 -0
  47. {atomicguard-2.1.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.1.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>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "atomicguard"
3
- version = "2.1.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" }
@@ -74,7 +74,7 @@ from atomicguard.infrastructure.persistence import (
74
74
  InMemoryArtifactDAG,
75
75
  )
76
76
 
77
- __version__ = "2.1.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.1.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>
File without changes
File without changes
File without changes