Skip to content

Commit 85eac80

Browse files
committed
Remove engagement-purchase wording from public docs and tests.
1 parent 58bd147 commit 85eac80

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ Hermes XAPI never accepts credentials through tool arguments. Auth is read from
180180
environment variables and injected by the plugin at request time.
181181

182182
Never commit API keys, cookies, tokens, or other credentials. The plugin blocks
183-
cookie/token helper routes, engagement-purchase routes, auto-cookie posting,
184-
profile mutation, list creation, and sentiment routes from the agent catalog.
183+
credential-helper routes, profile mutation, list creation, and sentiment routes
184+
from the agent catalog.
185185
Gated endpoints stay behind `xapi_action`, which is hidden unless
186186
`HERMES_XAPI_ENABLE_ACTIONS=true`.
187187

tests/test_build_catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_build_skips_twexapi_agent_prohibited_endpoints(tmp_path: Path) -> None:
3535
tmp_path,
3636
{
3737
"/twitter/{auth_token}/cookie": {"get": {"summary": "Get cookie"}},
38-
"/twitter/action": {"post": {"summary": "Purchase engagement"}},
38+
"/twitter/action": {"post": {"summary": "Prohibited route"}},
3939
"/twitter/profile": {"post": {"summary": "Modify profile"}},
4040
"/twitter/{screen_name}/about": {
4141
"get": {"summary": "Get profile", "tags": ["Twitter User About"]}

tests/test_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def test_action_blocks_prohibited_twexapi_endpoint(monkeypatch: pytest.MonkeyPat
311311
"method": "POST",
312312
"path": "/twitter/action",
313313
"body": {"quantity": 100},
314-
"reason": "engagement purchase",
314+
"reason": "prohibited route",
315315
}
316316
)
317317
)

0 commit comments

Comments
 (0)