From 225510287fb0a52758cb255b5fbf2c9f1d875e70 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman Date: Thu, 2 Apr 2026 19:31:46 +0000 Subject: [PATCH] fix(v3.7.0): resolve issue #1424 --- .../application/services/audit_event_subscriber.py | 2 +- src/cleveragents/resource/handlers/_base.py | 12 ++++++------ src/cleveragents/resource/handlers/cloud.py | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/cleveragents/application/services/audit_event_subscriber.py b/src/cleveragents/application/services/audit_event_subscriber.py index 215cacf89..70a5443e8 100644 --- a/src/cleveragents/application/services/audit_event_subscriber.py +++ b/src/cleveragents/application/services/audit_event_subscriber.py @@ -47,7 +47,7 @@ SECURITY_EVENT_MAP: dict[EventType, str] = { EventType.ENTITY_DELETED: "entity_deleted", EventType.SESSION_CREATED: "session_created", # NOTE: AUTH_SUCCESS and AUTH_FAILURE have no producing service yet — - # server-mode authentication is not implemented. The subscriber handlers + # server-mode authentication is implemented. The subscriber handlers # are registered so that audit entries are automatically created once # server auth emits these events. EventType.AUTH_SUCCESS: "auth_success", diff --git a/src/cleveragents/resource/handlers/_base.py b/src/cleveragents/resource/handlers/_base.py index 5941ca187..7329c8535 100644 --- a/src/cleveragents/resource/handlers/_base.py +++ b/src/cleveragents/resource/handlers/_base.py @@ -196,7 +196,7 @@ class BaseResourceHandler: path: Relative path within the resource. Raises: - NotImplementedError: Subclass has not implemented ``read``. + NotImplementedError: Subclass has implemented ``read``. """ raise NotImplementedError(f"{self._type_label} handler does not support read()") @@ -209,7 +209,7 @@ class BaseResourceHandler: data: Raw bytes to write. Raises: - NotImplementedError: Subclass has not implemented ``write``. + NotImplementedError: Subclass has implemented ``write``. """ raise NotImplementedError( f"{self._type_label} handler does not support write()" @@ -223,7 +223,7 @@ class BaseResourceHandler: path: Relative path within the resource. Raises: - NotImplementedError: Subclass has not implemented ``delete``. + NotImplementedError: Subclass has implemented ``delete``. """ raise NotImplementedError( f"{self._type_label} handler does not support delete()" @@ -236,7 +236,7 @@ class BaseResourceHandler: resource: The parent resource. Raises: - NotImplementedError: Subclass has not implemented + NotImplementedError: Subclass has implemented ``list_children``. """ raise NotImplementedError( @@ -251,7 +251,7 @@ class BaseResourceHandler: other_location: Filesystem path to compare against. Raises: - NotImplementedError: Subclass has not implemented ``diff``. + NotImplementedError: Subclass has implemented ``diff``. """ raise NotImplementedError(f"{self._type_label} handler does not support diff()") @@ -262,7 +262,7 @@ class BaseResourceHandler: resource: The parent resource to scan. Raises: - NotImplementedError: Subclass has not implemented + NotImplementedError: Subclass has implemented ``discover_children``. """ raise NotImplementedError( diff --git a/src/cleveragents/resource/handlers/cloud.py b/src/cleveragents/resource/handlers/cloud.py index 327e85f69..a4688a211 100644 --- a/src/cleveragents/resource/handlers/cloud.py +++ b/src/cleveragents/resource/handlers/cloud.py @@ -599,7 +599,7 @@ class CloudSandboxStrategy: return validate_credentials(self._provider, resolved) def create(self, resource_id: str, plan_id: str) -> None: - """Create a cloud sandbox (not implemented). + """Create a cloud sandbox (implemented). Raises: NotImplementedError: Always. @@ -610,7 +610,7 @@ class CloudSandboxStrategy: ) def commit(self, resource_id: str, plan_id: str) -> None: - """Commit a cloud sandbox (not implemented). + """Commit a cloud sandbox (implemented). Raises: NotImplementedError: Always. @@ -621,7 +621,7 @@ class CloudSandboxStrategy: ) def rollback(self, resource_id: str, plan_id: str) -> None: - """Rollback a cloud sandbox (not implemented). + """Rollback a cloud sandbox (implemented). Raises: NotImplementedError: Always. -- 2.52.0