refactor(orchestrator): slice 9 — rename Sidecar → Gateway for the consolidated data plane #364

Closed
didericis-claude wants to merge 1 commits from orchestrator-rename-gateway into orchestrator-slice8
Collaborator

Retire "sidecar" for the consolidated per-host path, per the PRD 0070 naming decision: the orchestrator is the umbrella/control plane, and the egress/git/supervise data-plane unit it runs is the gateway.

What changed

  • git mv sidecar.py -> gateway.py plus the two integration + one unit test files (rename-tracked).
  • Identifiers: DockerSidecar->DockerGateway, Sidecar->Gateway, SidecarError->GatewayError, SIDECAR_*->GATEWAY_*, ensure_sidecar->ensure_gateway, sidecar_status->gateway_status, container name bot-bottle-orch-sidecar->bot-bottle-orch-gateway.
  • Prose rename across broker.py, registry.py, egress_addon*.py, policy_resolver.py, and PRD 0070.

Deliberately preserved

  • The built image name bot-bottle-sidecars, the BOT_BOTTLE_SIDECAR_IMAGE env var, and Dockerfile.sidecars (image/artifact names unchanged — no rebuild churn).
  • PRD 0069's own stage-name cross-references (that doc still uses "sidecar").
  • test_sidecar_init (the in-bottle supervise/init supervisor) is a separate component, out of scope.

Verification

No behavior change. Full unit suite green — 1679 tests; the 13 test_sidecar_init /bin/sleep errors are pre-existing NixOS-local noise. Import surface re-verified.

🤖 Generated with Claude Code

Retire "sidecar" for the consolidated per-host path, per the PRD 0070 naming decision: the **orchestrator** is the umbrella/control plane, and the egress/git/supervise **data-plane unit** it runs is the **gateway**. ### What changed - `git mv sidecar.py -> gateway.py` plus the two integration + one unit test files (rename-tracked). - Identifiers: `DockerSidecar->DockerGateway`, `Sidecar->Gateway`, `SidecarError->GatewayError`, `SIDECAR_*->GATEWAY_*`, `ensure_sidecar->ensure_gateway`, `sidecar_status->gateway_status`, container name `bot-bottle-orch-sidecar->bot-bottle-orch-gateway`. - Prose rename across `broker.py`, `registry.py`, `egress_addon*.py`, `policy_resolver.py`, and PRD 0070. ### Deliberately preserved - The built image name `bot-bottle-sidecars`, the `BOT_BOTTLE_SIDECAR_IMAGE` env var, and `Dockerfile.sidecars` (image/artifact names unchanged — no rebuild churn). - PRD 0069's own stage-name cross-references (that doc still uses "sidecar"). - `test_sidecar_init` (the in-bottle supervise/init supervisor) is a separate component, out of scope. ### Verification No behavior change. Full unit suite green — 1679 tests; the 13 `test_sidecar_init` `/bin/sleep` errors are pre-existing NixOS-local noise. Import surface re-verified. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
didericis-claude added 1 commit 2026-07-13 18:12:58 -04:00
refactor(orchestrator): rename Sidecar -> Gateway for the consolidated data plane
test / unit (pull_request) Successful in 1m10s
test / integration (pull_request) Successful in 25s
test / coverage (pull_request) Successful in 1m17s
lint / lint (push) Successful in 2m11s
e0b0429cd1
Retire "sidecar" for the consolidated per-host path (PRD 0070 naming
decision): the orchestrator is the umbrella/control plane, and the
egress/git/supervise data-plane unit it runs is the "gateway".

- git mv sidecar.py -> gateway.py and the two integration + one unit test
  files; DockerSidecar->DockerGateway, Sidecar->Gateway,
  SidecarError->GatewayError, SIDECAR_*->GATEWAY_*, ensure_sidecar->
  ensure_gateway, sidecar_status->gateway_status, container name
  bot-bottle-orch-sidecar->bot-bottle-orch-gateway.
- Prose rename across broker/registry/egress/policy_resolver + PRD 0070.
- Preserved: the image name bot-bottle-sidecars, the
  BOT_BOTTLE_SIDECAR_IMAGE env var, Dockerfile.sidecars, and PRD 0069's
  own stage-name cross-references (that doc still uses "sidecar").

No behavior change. Full unit suite green (1679 tests; the 13
test_sidecar_init /bin/sleep errors are pre-existing NixOS-local noise).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WBMWTEtQdJ4W5UrWuLHCck
didericis approved these changes 2026-07-13 18:23:51 -04:00
didericis-claude changed title from refactor(orchestrator): rename Sidecar -> Gateway for the consolidated data plane to refactor(orchestrator): slice 9 — rename Sidecar → Gateway for the consolidated data plane 2026-07-13 19:33:37 -04:00
Author
Collaborator

Collapsed into the single stack PR #380 (per-host orchestrator, PRD 0070). Closing this slice PR; review + merge happens on #380.

Collapsed into the single stack PR #380 (per-host orchestrator, PRD 0070). Closing this slice PR; review + merge happens on #380.
didericis-claude closed this pull request 2026-07-14 00:57:25 -04:00
Some checks are pending
test / unit (pull_request) Successful in 1m10s
test / integration (pull_request) Successful in 25s
test / coverage (pull_request) Successful in 1m17s
lint / lint (push) Successful in 2m11s

Pull request closed

Sign in to join this conversation.