atbash-hermes-plugin 0.4.10.dev2__tar.gz → 0.4.14.dev0__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.
- {atbash_hermes_plugin-0.4.10.dev2/atbash_hermes_plugin.egg-info → atbash_hermes_plugin-0.4.14.dev0}/PKG-INFO +15 -7
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/README.md +13 -5
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/atbash_hermes_plugin/__init__.py +1 -1
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0/atbash_hermes_plugin.egg-info}/PKG-INFO +15 -7
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/atbash_hermes_plugin.egg-info/requires.txt +1 -1
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/plugin.yaml +1 -1
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/pyproject.toml +2 -2
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/LICENSE +0 -0
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/MANIFEST.in +0 -0
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/atbash_hermes_plugin.egg-info/SOURCES.txt +0 -0
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/atbash_hermes_plugin.egg-info/dependency_links.txt +0 -0
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/atbash_hermes_plugin.egg-info/entry_points.txt +0 -0
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/atbash_hermes_plugin.egg-info/top_level.txt +0 -0
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/setup.cfg +0 -0
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/tests/test_memory_poisoning.py +0 -0
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/tests/test_memory_write_fail_closed.py +0 -0
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/tests/test_pre_tool_call_verdicts.py +0 -0
- {atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/tests/test_release_contract.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atbash-hermes-plugin
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.14.dev0
|
|
4
4
|
Summary: Atbash safety plugin for Hermes Agent
|
|
5
5
|
Author: atbash
|
|
6
6
|
License-Expression: LicenseRef-Atbash-Proprietary
|
|
@@ -10,7 +10,7 @@ Keywords: atbash,hermes,hermes-agent,agent-safety,ai-safety,tool-guard,judge,pol
|
|
|
10
10
|
Requires-Python: <3.13,>=3.9
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: atbash-sdk==0.
|
|
13
|
+
Requires-Dist: atbash-sdk==0.7.1.dev0
|
|
14
14
|
Requires-Dist: httpx<1,>=0.27
|
|
15
15
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http<2,>=1.29
|
|
16
16
|
Requires-Dist: opentelemetry-sdk<2,>=1.29
|
|
@@ -36,16 +36,16 @@ stopped before execution.
|
|
|
36
36
|
## Install
|
|
37
37
|
|
|
38
38
|
Install the plugin into the same Python environment that runs Hermes.
|
|
39
|
-
This prerelease requires Python 3.10 through 3.12, matching `atbash-sdk==0.
|
|
39
|
+
This prerelease requires Python 3.10 through 3.12, matching `atbash-sdk==0.7.1.dev0`.
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
pip install --pre atbash-hermes-plugin==0.4.
|
|
42
|
+
pip install --pre atbash-hermes-plugin==0.4.13.dev0
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
If Hermes is installed in a virtual environment, use that environment's Python:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
/path/to/hermes/venv/bin/python -m pip install --pre atbash-hermes-plugin==0.4.
|
|
48
|
+
/path/to/hermes/venv/bin/python -m pip install --pre atbash-hermes-plugin==0.4.13.dev0
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
Maintainers: releases use clean staged source, live PyPI monotonic checks, and
|
|
@@ -122,6 +122,14 @@ ATBASH_ORG_NAME=your-org-name
|
|
|
122
122
|
|
|
123
123
|
# Override where learned Hermes tool classifications are saved.
|
|
124
124
|
ATBASH_TOOL_MAP_PATH=$HOME/.config/atbash/hermes-tool-map.json
|
|
125
|
+
|
|
126
|
+
# Override where the persistent memory-tamper hash store is saved.
|
|
127
|
+
# Default: ~/.config/atbash/hermes-memory-hashes.json
|
|
128
|
+
ATBASH_MEMORY_HASH_PATH=$HOME/.config/atbash/hermes-memory-hashes.json
|
|
129
|
+
|
|
130
|
+
# Hermes provider and model — informational, passed through to Atbash context.
|
|
131
|
+
HERMES_PROVIDER=
|
|
132
|
+
HERMES_MODEL=
|
|
125
133
|
```
|
|
126
134
|
|
|
127
135
|
## Telemetry
|
|
@@ -168,7 +176,7 @@ tail -f ~/.hermes/logs/agent.log
|
|
|
168
176
|
With `ATBASH_DEBUG=true`, you should see lines similar to:
|
|
169
177
|
|
|
170
178
|
```text
|
|
171
|
-
[atbash-hermes-plugin] registered pre_tool_call hook
|
|
179
|
+
[atbash-hermes-plugin] registered pre_tool_call hook mode=fail-closed
|
|
172
180
|
Atbash pre_tool_call enter tool=...
|
|
173
181
|
Atbash verdict tool=... verdict=ALLOW reason=...
|
|
174
182
|
```
|
|
@@ -262,7 +270,7 @@ For `HOLD`, the user-facing block message is:
|
|
|
262
270
|
```text
|
|
263
271
|
Action held for operator review. The agent will not be jailed — please approve or reject this request from the Atbash dashboard, then ask the agent to try again.
|
|
264
272
|
Reason: <original reason from judge>
|
|
265
|
-
|
|
273
|
+
Tool Call ID: <held judgment id, when provided by the SDK>
|
|
266
274
|
```
|
|
267
275
|
|
|
268
276
|
After dashboard approval or rejection, the SDK can query held-action status with
|
|
@@ -18,16 +18,16 @@ stopped before execution.
|
|
|
18
18
|
## Install
|
|
19
19
|
|
|
20
20
|
Install the plugin into the same Python environment that runs Hermes.
|
|
21
|
-
This prerelease requires Python 3.10 through 3.12, matching `atbash-sdk==0.
|
|
21
|
+
This prerelease requires Python 3.10 through 3.12, matching `atbash-sdk==0.7.1.dev0`.
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
pip install --pre atbash-hermes-plugin==0.4.
|
|
24
|
+
pip install --pre atbash-hermes-plugin==0.4.13.dev0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
If Hermes is installed in a virtual environment, use that environment's Python:
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
/path/to/hermes/venv/bin/python -m pip install --pre atbash-hermes-plugin==0.4.
|
|
30
|
+
/path/to/hermes/venv/bin/python -m pip install --pre atbash-hermes-plugin==0.4.13.dev0
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
Maintainers: releases use clean staged source, live PyPI monotonic checks, and
|
|
@@ -104,6 +104,14 @@ ATBASH_ORG_NAME=your-org-name
|
|
|
104
104
|
|
|
105
105
|
# Override where learned Hermes tool classifications are saved.
|
|
106
106
|
ATBASH_TOOL_MAP_PATH=$HOME/.config/atbash/hermes-tool-map.json
|
|
107
|
+
|
|
108
|
+
# Override where the persistent memory-tamper hash store is saved.
|
|
109
|
+
# Default: ~/.config/atbash/hermes-memory-hashes.json
|
|
110
|
+
ATBASH_MEMORY_HASH_PATH=$HOME/.config/atbash/hermes-memory-hashes.json
|
|
111
|
+
|
|
112
|
+
# Hermes provider and model — informational, passed through to Atbash context.
|
|
113
|
+
HERMES_PROVIDER=
|
|
114
|
+
HERMES_MODEL=
|
|
107
115
|
```
|
|
108
116
|
|
|
109
117
|
## Telemetry
|
|
@@ -150,7 +158,7 @@ tail -f ~/.hermes/logs/agent.log
|
|
|
150
158
|
With `ATBASH_DEBUG=true`, you should see lines similar to:
|
|
151
159
|
|
|
152
160
|
```text
|
|
153
|
-
[atbash-hermes-plugin] registered pre_tool_call hook
|
|
161
|
+
[atbash-hermes-plugin] registered pre_tool_call hook mode=fail-closed
|
|
154
162
|
Atbash pre_tool_call enter tool=...
|
|
155
163
|
Atbash verdict tool=... verdict=ALLOW reason=...
|
|
156
164
|
```
|
|
@@ -244,7 +252,7 @@ For `HOLD`, the user-facing block message is:
|
|
|
244
252
|
```text
|
|
245
253
|
Action held for operator review. The agent will not be jailed — please approve or reject this request from the Atbash dashboard, then ask the agent to try again.
|
|
246
254
|
Reason: <original reason from judge>
|
|
247
|
-
|
|
255
|
+
Tool Call ID: <held judgment id, when provided by the SDK>
|
|
248
256
|
```
|
|
249
257
|
|
|
250
258
|
After dashboard approval or rejection, the SDK can query held-action status with
|
|
@@ -834,7 +834,7 @@ class AtbashHermesGuard:
|
|
|
834
834
|
from atbash import Atbash # type: ignore
|
|
835
835
|
from atbash.types import ToolCallInput # type: ignore
|
|
836
836
|
except Exception:
|
|
837
|
-
raise RuntimeError("atbash-sdk is required. Install with: pip install atbash-sdk==0.
|
|
837
|
+
raise RuntimeError("atbash-sdk is required. Install with: pip install atbash-sdk==0.7.1.dev0") from e
|
|
838
838
|
|
|
839
839
|
self.ToolCallInput = ToolCallInput
|
|
840
840
|
judge_cfg = self._judge_config()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atbash-hermes-plugin
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.14.dev0
|
|
4
4
|
Summary: Atbash safety plugin for Hermes Agent
|
|
5
5
|
Author: atbash
|
|
6
6
|
License-Expression: LicenseRef-Atbash-Proprietary
|
|
@@ -10,7 +10,7 @@ Keywords: atbash,hermes,hermes-agent,agent-safety,ai-safety,tool-guard,judge,pol
|
|
|
10
10
|
Requires-Python: <3.13,>=3.9
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: atbash-sdk==0.
|
|
13
|
+
Requires-Dist: atbash-sdk==0.7.1.dev0
|
|
14
14
|
Requires-Dist: httpx<1,>=0.27
|
|
15
15
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http<2,>=1.29
|
|
16
16
|
Requires-Dist: opentelemetry-sdk<2,>=1.29
|
|
@@ -36,16 +36,16 @@ stopped before execution.
|
|
|
36
36
|
## Install
|
|
37
37
|
|
|
38
38
|
Install the plugin into the same Python environment that runs Hermes.
|
|
39
|
-
This prerelease requires Python 3.10 through 3.12, matching `atbash-sdk==0.
|
|
39
|
+
This prerelease requires Python 3.10 through 3.12, matching `atbash-sdk==0.7.1.dev0`.
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
pip install --pre atbash-hermes-plugin==0.4.
|
|
42
|
+
pip install --pre atbash-hermes-plugin==0.4.13.dev0
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
If Hermes is installed in a virtual environment, use that environment's Python:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
/path/to/hermes/venv/bin/python -m pip install --pre atbash-hermes-plugin==0.4.
|
|
48
|
+
/path/to/hermes/venv/bin/python -m pip install --pre atbash-hermes-plugin==0.4.13.dev0
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
Maintainers: releases use clean staged source, live PyPI monotonic checks, and
|
|
@@ -122,6 +122,14 @@ ATBASH_ORG_NAME=your-org-name
|
|
|
122
122
|
|
|
123
123
|
# Override where learned Hermes tool classifications are saved.
|
|
124
124
|
ATBASH_TOOL_MAP_PATH=$HOME/.config/atbash/hermes-tool-map.json
|
|
125
|
+
|
|
126
|
+
# Override where the persistent memory-tamper hash store is saved.
|
|
127
|
+
# Default: ~/.config/atbash/hermes-memory-hashes.json
|
|
128
|
+
ATBASH_MEMORY_HASH_PATH=$HOME/.config/atbash/hermes-memory-hashes.json
|
|
129
|
+
|
|
130
|
+
# Hermes provider and model — informational, passed through to Atbash context.
|
|
131
|
+
HERMES_PROVIDER=
|
|
132
|
+
HERMES_MODEL=
|
|
125
133
|
```
|
|
126
134
|
|
|
127
135
|
## Telemetry
|
|
@@ -168,7 +176,7 @@ tail -f ~/.hermes/logs/agent.log
|
|
|
168
176
|
With `ATBASH_DEBUG=true`, you should see lines similar to:
|
|
169
177
|
|
|
170
178
|
```text
|
|
171
|
-
[atbash-hermes-plugin] registered pre_tool_call hook
|
|
179
|
+
[atbash-hermes-plugin] registered pre_tool_call hook mode=fail-closed
|
|
172
180
|
Atbash pre_tool_call enter tool=...
|
|
173
181
|
Atbash verdict tool=... verdict=ALLOW reason=...
|
|
174
182
|
```
|
|
@@ -262,7 +270,7 @@ For `HOLD`, the user-facing block message is:
|
|
|
262
270
|
```text
|
|
263
271
|
Action held for operator review. The agent will not be jailed — please approve or reject this request from the Atbash dashboard, then ask the agent to try again.
|
|
264
272
|
Reason: <original reason from judge>
|
|
265
|
-
|
|
273
|
+
Tool Call ID: <held judgment id, when provided by the SDK>
|
|
266
274
|
```
|
|
267
275
|
|
|
268
276
|
After dashboard approval or rejection, the SDK can query held-action status with
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "atbash-hermes-plugin"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.14.dev0"
|
|
8
8
|
description = "Atbash safety plugin for Hermes Agent"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9,<3.13"
|
|
@@ -24,7 +24,7 @@ keywords = [
|
|
|
24
24
|
"policy"
|
|
25
25
|
]
|
|
26
26
|
dependencies = [
|
|
27
|
-
"atbash-sdk==0.
|
|
27
|
+
"atbash-sdk==0.7.1.dev0",
|
|
28
28
|
"httpx>=0.27,<1",
|
|
29
29
|
"opentelemetry-exporter-otlp-proto-http>=1.29,<2",
|
|
30
30
|
"opentelemetry-sdk>=1.29,<2",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/tests/test_memory_poisoning.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{atbash_hermes_plugin-0.4.10.dev2 → atbash_hermes_plugin-0.4.14.dev0}/tests/test_release_contract.py
RENAMED
|
File without changes
|