Files
bot-bottle/claude_bottle
didericis e22a96e511
test / run tests/run_tests.py (pull_request) Successful in 18s
refactor(bottles): BottlePlatform becomes ABC; DockerBottlePlatform in docker.py
Mirror the BottlePlan -> DockerBottlePlan hierarchy at the platform
layer. BottlePlatform is now an abstract base with abstract `prepare`
and `launch` methods; DockerBottlePlatform lives alongside the rest of
the Docker code in bottles/docker.py and supplies the concrete impls.

The registry in bottles/__init__.py now holds an instance of each
concrete platform class. Future per-platform state (region, api
token, cleanup primitives) has a natural home on the subclass rather
than being stitched onto a dataclass struct.

No behavior change. Tests pass; dry-run output unchanged.
2026-05-10 22:56:47 -04:00
..