- firmwerk git deps now platform/firmwerk tag v0.4.2 (crates firmwerk-*);
imports renamed tramiton_* -> firmwerk_*; Cargo.lock re-resolved
- CI + Dockerfiles fetch the private dependency as bot platform-ci with the
org secret PLATFORM_CI_TOKEN (BuildKit secret id git_token)
- images push to repo.breakpilot.com/pruefwerk/*; orca payload full_name is
platform/pruefwerk; the redeploy POST is gated on the repo variable
ORCA_WEBHOOK_URL (unset until the platform cluster master exists, M-MIG-3)
- default soft-PLC image, vitepress link, audit/dedup/agent_client hosts moved
off registry/gitea/comp-dev.meghsakha.com
- deploy/docker-compose.mailserver.yml removed (scanner mailserver retired)
Repo transferred + renamed sharang/compliance-scanner-agent -> platform/pruefwerk (M-MIG-4).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
The PR `check` job authenticates the private tramiton-core git fetch, but the main-branch **`deploy-agent`** job builds `Dockerfile.agent` where cargo also fetches tramiton-core — inside the image build, with no credentials — so **agent image builds on main fail**.
Fix: inject the PAT as a **BuildKit secret** (never baked into an image layer).
- `Dockerfile.agent`: `RUN --mount=type=secret,id=tramiton_token …` applies the same `https`-insteadOf rewrite + `CARGO_NET_GIT_FETCH_WITH_CLI=true` before `cargo build`.
- `deploy-agent`: `DOCKER_BUILDKIT=1 docker build --secret id=tramiton_token,env=TRAMITON_FETCH_TOKEN …`, reusing the existing `TRAMITON_FETCH_TOKEN` secret.
Only the agent image depends on tramiton-core (dashboard/mcp/docs unaffected). **Self-tests on merge** — changing `Dockerfile.agent` makes `detect-changes` run `deploy-agent`.
Note: couldn't fully run the image build locally (no PAT value on hand + no `.dockerignore` so the context is large), but this mirrors the working PR-stage auth and uses standard BuildKit secret injection. Assumes the deploy runner's Docker daemon supports BuildKit (docker:27-cli → yes).
---------
Co-authored-by: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com>
Reviewed-on: https://gitea.meghsakha.com/sharang/compliance-scanner-agent/pulls/143
- Fetch SSH public key every time auth section opens (was only fetching
once and caching failures)
- Add mkdir for SSH key directory in Dockerfile.agent
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>