diff --git a/features/consolidated_resource.feature b/features/consolidated_resource.feature index c70e04727..b0a6e6908 100644 --- a/features/consolidated_resource.feature +++ b/features/consolidated_resource.feature @@ -895,3 +895,9 @@ Feature: Consolidated Resource Given a resource type YAML with sandbox_strategy "overlay" When I load the resource type via from_yaml Then the loaded schema sandbox_strategy should be "overlay" + + + Scenario: Invalid sandbox_strategy error message lists overlay as allowed + Given a resource type YAML with invalid sandbox_strategy + When I try to load the resource type via from_yaml + Then the schema loader should fail with "overlay" diff --git a/src/cleveragents/infrastructure/sandbox/strategy_registry.py b/src/cleveragents/infrastructure/sandbox/strategy_registry.py index 5d7335f7a..79e598326 100644 --- a/src/cleveragents/infrastructure/sandbox/strategy_registry.py +++ b/src/cleveragents/infrastructure/sandbox/strategy_registry.py @@ -81,8 +81,8 @@ class SandboxStrategyRegistry: :class:`SandboxStrategyProtocol` at registration time. Built-in strategies (``none``, ``git_worktree``, ``copy_on_write``, - ``transaction_rollback``) are not managed by this registry; they - are handled by :class:`SandboxFactory`. + ``transaction_rollback``, ``snapshot``, ``overlay``) are not managed + by this registry; they are handled by :class:`SandboxFactory`. Usage::