Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion capabilities/ai-red-teaming/capability.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema: 1
name: ai-red-teaming
version: "1.16.0"
version: "1.16.1"
description: >
Probe the security and safety of AI applications, agents, and foundation models.
Orchestrates adversarial attack workflows to discover vulnerabilities in LLMs,
Expand Down
4 changes: 2 additions & 2 deletions capabilities/ai-red-teaming/tests/test_errors_safe_tool.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Tests for tools/errors.py - safe_tool retry/classification + fmt_asr.
"""Tests for tools/_errors.py - safe_tool retry/classification + fmt_asr.

Regression for ENG-8427: transient network faults (TLS handshake timeout, etc.)
should be retried and surfaced as an explicitly non-fatal Note, and ASR should
Expand All @@ -15,7 +15,7 @@

pytest.importorskip("dreadnode.agents.tools")

ERRORS_PATH = Path(__file__).resolve().parents[1] / "tools" / "errors.py"
ERRORS_PATH = Path(__file__).resolve().parents[1] / "tools" / "_errors.py"


def _load():
Expand Down
2 changes: 1 addition & 1 deletion capabilities/ai-red-teaming/tools/assessment.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# loaded as flat modules (no parent package), so relative imports do not work.
import importlib.util as _ilu
from pathlib import Path as _Path
_errors_path = _Path(__file__).resolve().parent / "errors.py"
_errors_path = _Path(__file__).resolve().parent / "_errors.py"
_spec = _ilu.spec_from_file_location("airt_tools_errors", _errors_path)
_errors_mod = _ilu.module_from_spec(_spec)
_spec.loader.exec_module(_errors_mod)
Expand Down
2 changes: 1 addition & 1 deletion capabilities/ai-red-teaming/tools/attacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# loaded as flat modules (no parent package), so relative imports do not work.
import importlib.util as _ilu
from pathlib import Path as _Path
_errors_path = _Path(__file__).resolve().parent / "errors.py"
_errors_path = _Path(__file__).resolve().parent / "_errors.py"
_spec = _ilu.spec_from_file_location("airt_tools_errors", _errors_path)
_errors_mod = _ilu.module_from_spec(_spec)
_spec.loader.exec_module(_errors_mod)
Expand Down
2 changes: 1 addition & 1 deletion capabilities/ai-red-teaming/tools/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from pathlib import Path as _Path

# Load the shared safe_tool wrapper by file path (flat-module loading).
_errors_path = _Path(__file__).resolve().parent / "errors.py"
_errors_path = _Path(__file__).resolve().parent / "_errors.py"
_spec = _ilu.spec_from_file_location("airt_tools_errors", _errors_path)
_errors_mod = _ilu.module_from_spec(_spec)
_spec.loader.exec_module(_errors_mod)
Expand Down
2 changes: 1 addition & 1 deletion capabilities/ai-red-teaming/tools/goals.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# loaded as flat modules (no parent package), so relative imports do not work.
import importlib.util as _ilu
from pathlib import Path as _Path
_errors_path = _Path(__file__).resolve().parent / "errors.py"
_errors_path = _Path(__file__).resolve().parent / "_errors.py"
_spec = _ilu.spec_from_file_location("airt_tools_errors", _errors_path)
_errors_mod = _ilu.module_from_spec(_spec)
_spec.loader.exec_module(_errors_mod)
Expand Down
2 changes: 1 addition & 1 deletion capabilities/ai-red-teaming/tools/honeytoken.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import typing as t
from pathlib import Path as _Path

_errors_path = _Path(__file__).resolve().parent / "errors.py"
_errors_path = _Path(__file__).resolve().parent / "_errors.py"
_spec = _ilu.spec_from_file_location("airt_tools_errors", _errors_path)
_errors_mod = _ilu.module_from_spec(_spec)
_spec.loader.exec_module(_errors_mod)
Expand Down
2 changes: 1 addition & 1 deletion capabilities/ai-red-teaming/tools/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# loaded as flat modules (no parent package), so relative imports do not work.
import importlib.util as _ilu
from pathlib import Path as _Path
_errors_path = _Path(__file__).resolve().parent / "errors.py"
_errors_path = _Path(__file__).resolve().parent / "_errors.py"
_spec = _ilu.spec_from_file_location("airt_tools_errors", _errors_path)
_errors_mod = _ilu.module_from_spec(_spec)
_spec.loader.exec_module(_errors_mod)
Expand Down
2 changes: 1 addition & 1 deletion capabilities/ai-red-teaming/tools/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# loaded as flat modules (no parent package), so relative imports do not work.
import importlib.util as _ilu
from pathlib import Path as _Path
_errors_path = _Path(__file__).resolve().parent / "errors.py"
_errors_path = _Path(__file__).resolve().parent / "_errors.py"
_spec = _ilu.spec_from_file_location("airt_tools_errors", _errors_path)
_errors_mod = _ilu.module_from_spec(_spec)
_spec.loader.exec_module(_errors_mod)
Expand Down
2 changes: 1 addition & 1 deletion capabilities/ai-red-teaming/tools/skills_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# loaded as flat modules (no parent package), so relative imports do not work.
import importlib.util as _ilu
from pathlib import Path as _Path
_errors_path = _Path(__file__).resolve().parent / "errors.py"
_errors_path = _Path(__file__).resolve().parent / "_errors.py"
_spec = _ilu.spec_from_file_location("airt_tools_errors", _errors_path)
_errors_mod = _ilu.module_from_spec(_spec)
_spec.loader.exec_module(_errors_mod)
Expand Down
2 changes: 1 addition & 1 deletion capabilities/ai-red-teaming/tools/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# loaded as flat modules (no parent package), so relative imports do not work.
import importlib.util as _ilu
from pathlib import Path as _Path
_errors_path = _Path(__file__).resolve().parent / "errors.py"
_errors_path = _Path(__file__).resolve().parent / "_errors.py"
_spec = _ilu.spec_from_file_location("airt_tools_errors", _errors_path)
_errors_mod = _ilu.module_from_spec(_spec)
_spec.loader.exec_module(_errors_mod)
Expand Down
Loading