diff --git a/.cargo/audit.toml b/.cargo/audit.toml
index 9b47028..741d212 100644
--- a/.cargo/audit.toml
+++ b/.cargo/audit.toml
@@ -13,7 +13,7 @@ ignore = [
# version jump from our pin; rmcp shipped 0.x → 1.x → 2.x in three months
# and the migration touches every tool handler + the auth middleware we
# just landed in #92. Threat model in our deployment: the MCP server is
- # exposed at a public hostname (comp-mcp-dev.meghsakha.com) behind orca's
+ # exposed at a public hostname (comp-mcp-dev.breakpilot.com) behind orca's
# TLS-terminating ingress with per-tenant bearer auth — the attack model
# (browser DNS-rebinding into localhost MCP server) doesn't directly apply.
# Defense-in-depth Host-header check is still a worthwhile follow-up.
diff --git a/.env.example b/.env.example
index 974bfbb..a8333a9 100644
--- a/.env.example
+++ b/.env.example
@@ -39,7 +39,7 @@ GIT_CLONE_BASE_PATH=/tmp/compliance-scanner/repos
# When on, a PLC/SPS target with control logic but no reachable device gets its
# logic instantiated on a throwaway OpenPLC, probed, then torn down.
PLC_RUNTIME_ENABLED=0
-PLC_RUNTIME_IMAGE=registry.meghsakha.com/openplc:latest
+PLC_RUNTIME_IMAGE=repo.breakpilot.com/pruefwerk/openplc:latest
PLC_RUNTIME_NETWORK=certifai
PLC_RUNTIME_MEMORY=512m
PLC_RUNTIME_CPUS=0.5
diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml
index 87bb9a4..2238de4 100644
--- a/.gitea/workflows/ci.yml
+++ b/.gitea/workflows/ci.yml
@@ -28,7 +28,7 @@ env:
SCCACHE_S3_KEY_PREFIX: compliance-scanner
AWS_ACCESS_KEY_ID: ${{ secrets.HETZNER_S3_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.HETZNER_S3_SECRET_KEY }}
- # compliance-agent depends on tramiton-core via git; use the system git so the
+ # compliance-agent depends on firmwerk-core via git; use the system git so the
# credential rewrite below (see "Configure git auth ...") is honored on fetch.
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
# Throttle cargo so a ~670-crate concurrent download burst doesn't 429 the
@@ -62,7 +62,7 @@ jobs:
git fetch --depth=1 origin "${GITHUB_SHA}"
git checkout FETCH_HEAD
# Resolve crates.io deps through the self-hosted Kellnr mirror (cached,
- # crates.io-independent). Git deps (tramiton-core) are unaffected — source
+ # crates.io-independent). Git deps (firmwerk-core) are unaffected — source
# replacement only applies to crates.io-sourced crates.
- name: Use Kellnr crates.io mirror
run: |
@@ -86,15 +86,15 @@ jobs:
env:
RUSTC_WRAPPER: ""
- # compliance-agent has a git dependency on tramiton-core (a private repo on
+ # compliance-agent has a git dependency on firmwerk-core (a private repo on
# this Gitea instance). Rewrite its SSH URL to HTTPS + a PAT so the runner
- # can fetch it. Requires the repo secret TRAMITON_FETCH_TOKEN (a Gitea PAT
- # with read:repository, owned by a user with access to sharang/tramiton).
+ # can fetch it. Uses the org secret PLATFORM_CI_TOKEN (bot `platform-ci`,
+ # read-only member of the platform org).
# (Honored on fetch because CARGO_NET_GIT_FETCH_WITH_CLI=true uses system git.)
- - name: Configure git auth for private tramiton dependency
+ - name: Configure git auth for the private firmwerk dependency
run: |
git config --global \
- url."https://sharang:${{ secrets.TRAMITON_FETCH_TOKEN }}@git.breakpilot.com/".insteadOf \
+ url."https://platform-ci:${{ secrets.PLATFORM_CI_TOKEN }}@git.breakpilot.com/".insteadOf \
"ssh://git@git.breakpilot.com:22222/"
env:
RUSTC_WRAPPER: ""
@@ -206,24 +206,25 @@ jobs:
steps:
- name: Build, push and trigger orca redeploy
env:
- # PAT for fetching the private tramiton-core git dependency during the
+ # PAT for fetching the private firmwerk git dependency during the
# image build (injected as a BuildKit secret, never baked into a layer).
- TRAMITON_FETCH_TOKEN: ${{ secrets.TRAMITON_FETCH_TOKEN }}
+ PLATFORM_CI_TOKEN: ${{ secrets.PLATFORM_CI_TOKEN }}
run: |
apk add --no-cache git curl openssl
git init && git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
git fetch --depth=1 origin "${GITHUB_SHA}" && git checkout FETCH_HEAD
- IMAGE=repo.breakpilot.com/certifai/compliance-agent
+ IMAGE=repo.breakpilot.com/pruefwerk/compliance-agent
echo "$REGISTRY_PASSWORD" | docker login repo.breakpilot.com -u "$REGISTRY_USERNAME" --password-stdin
- DOCKER_BUILDKIT=1 docker build --secret id=tramiton_token,env=TRAMITON_FETCH_TOKEN \
+ DOCKER_BUILDKIT=1 docker build --secret id=git_token,env=PLATFORM_CI_TOKEN \
-f Dockerfile.agent -t "$IMAGE:latest" -t "$IMAGE:${GITHUB_SHA}" .
docker push "$IMAGE:latest" && docker push "$IMAGE:${GITHUB_SHA}"
{ command -v cosign >/dev/null 2>&1 || curl -sSfLo /usr/local/bin/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-amd64 || wget -qO /usr/local/bin/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-amd64; } || echo "::warning::cosign fetch failed"
chmod +x /usr/local/bin/cosign 2>/dev/null || true
cosign sign --yes --key env://COSIGN_KEY "$IMAGE:latest" || echo "::warning::cosign failed"
- PAYLOAD=$(printf '{"ref":"refs/heads/main","repository":{"full_name":"sharang/compliance-scanner-agent"},"head_commit":{"id":"%s","message":"deploy agent"}}' "${GITHUB_SHA}")
+ PAYLOAD=$(printf '{"ref":"refs/heads/main","repository":{"full_name":"platform/pruefwerk"},"head_commit":{"id":"%s","message":"deploy agent"}}' "${GITHUB_SHA}")
+ if [ -z "${{ vars.ORCA_WEBHOOK_URL }}" ]; then echo "::notice::ORCA_WEBHOOK_URL not set — image pushed, no redeploy triggered"; exit 0; fi
SIG=$(printf '%s' "$PAYLOAD" | openssl dgst -sha256 -hmac "${{ secrets.ORCA_WEBHOOK_SECRET }}" | awk '{print $2}')
- RESP=$(curl -fsS -w "\nHTTP %{http_code}" -X POST "http://46.225.100.82:6880/api/v1/webhooks/github" -H "Content-Type: application/json" -H "X-Hub-Signature-256: sha256=$SIG" -d "$PAYLOAD"); echo "$RESP"
+ RESP=$(curl -fsS -w "\nHTTP %{http_code}" -X POST "${{ vars.ORCA_WEBHOOK_URL }}" -H "Content-Type: application/json" -H "X-Hub-Signature-256: sha256=$SIG" -d "$PAYLOAD"); echo "$RESP"
deploy-dashboard:
name: Deploy Dashboard
@@ -235,22 +236,23 @@ jobs:
steps:
- name: Build, push and trigger orca redeploy
env:
- TRAMITON_FETCH_TOKEN: ${{ secrets.TRAMITON_FETCH_TOKEN }}
+ PLATFORM_CI_TOKEN: ${{ secrets.PLATFORM_CI_TOKEN }}
run: |
apk add --no-cache git curl openssl
git init && git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
git fetch --depth=1 origin "${GITHUB_SHA}" && git checkout FETCH_HEAD
- IMAGE=repo.breakpilot.com/certifai/compliance-dashboard
+ IMAGE=repo.breakpilot.com/pruefwerk/compliance-dashboard
echo "$REGISTRY_PASSWORD" | docker login repo.breakpilot.com -u "$REGISTRY_USERNAME" --password-stdin
- DOCKER_BUILDKIT=1 docker build --secret id=tramiton_token,env=TRAMITON_FETCH_TOKEN \
+ DOCKER_BUILDKIT=1 docker build --secret id=git_token,env=PLATFORM_CI_TOKEN \
-f Dockerfile.dashboard -t "$IMAGE:latest" -t "$IMAGE:${GITHUB_SHA}" .
docker push "$IMAGE:latest" && docker push "$IMAGE:${GITHUB_SHA}"
{ command -v cosign >/dev/null 2>&1 || curl -sSfLo /usr/local/bin/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-amd64 || wget -qO /usr/local/bin/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-amd64; } || echo "::warning::cosign fetch failed"
chmod +x /usr/local/bin/cosign 2>/dev/null || true
cosign sign --yes --key env://COSIGN_KEY "$IMAGE:latest" || echo "::warning::cosign failed"
- PAYLOAD=$(printf '{"ref":"refs/heads/main","repository":{"full_name":"sharang/compliance-scanner-agent"},"head_commit":{"id":"%s","message":"deploy dashboard"}}' "${GITHUB_SHA}")
+ PAYLOAD=$(printf '{"ref":"refs/heads/main","repository":{"full_name":"platform/pruefwerk"},"head_commit":{"id":"%s","message":"deploy dashboard"}}' "${GITHUB_SHA}")
+ if [ -z "${{ vars.ORCA_WEBHOOK_URL }}" ]; then echo "::notice::ORCA_WEBHOOK_URL not set — image pushed, no redeploy triggered"; exit 0; fi
SIG=$(printf '%s' "$PAYLOAD" | openssl dgst -sha256 -hmac "${{ secrets.ORCA_WEBHOOK_SECRET }}" | awk '{print $2}')
- RESP=$(curl -fsS -w "\nHTTP %{http_code}" -X POST "http://46.225.100.82:6880/api/v1/webhooks/github" -H "Content-Type: application/json" -H "X-Hub-Signature-256: sha256=$SIG" -d "$PAYLOAD"); echo "$RESP"
+ RESP=$(curl -fsS -w "\nHTTP %{http_code}" -X POST "${{ vars.ORCA_WEBHOOK_URL }}" -H "Content-Type: application/json" -H "X-Hub-Signature-256: sha256=$SIG" -d "$PAYLOAD"); echo "$RESP"
deploy-docs:
name: Deploy Docs
@@ -265,16 +267,17 @@ jobs:
apk add --no-cache git curl openssl
git init && git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
git fetch --depth=1 origin "${GITHUB_SHA}" && git checkout FETCH_HEAD
- IMAGE=repo.breakpilot.com/certifai/compliance-docs
+ IMAGE=repo.breakpilot.com/pruefwerk/compliance-docs
echo "$REGISTRY_PASSWORD" | docker login repo.breakpilot.com -u "$REGISTRY_USERNAME" --password-stdin
docker build -f Dockerfile.docs -t "$IMAGE:latest" -t "$IMAGE:${GITHUB_SHA}" .
docker push "$IMAGE:latest" && docker push "$IMAGE:${GITHUB_SHA}"
{ command -v cosign >/dev/null 2>&1 || curl -sSfLo /usr/local/bin/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-amd64 || wget -qO /usr/local/bin/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-amd64; } || echo "::warning::cosign fetch failed"
chmod +x /usr/local/bin/cosign 2>/dev/null || true
cosign sign --yes --key env://COSIGN_KEY "$IMAGE:latest" || echo "::warning::cosign failed"
- PAYLOAD=$(printf '{"ref":"refs/heads/main","repository":{"full_name":"sharang/compliance-scanner-agent"},"head_commit":{"id":"%s","message":"deploy docs"}}' "${GITHUB_SHA}")
+ PAYLOAD=$(printf '{"ref":"refs/heads/main","repository":{"full_name":"platform/pruefwerk"},"head_commit":{"id":"%s","message":"deploy docs"}}' "${GITHUB_SHA}")
+ if [ -z "${{ vars.ORCA_WEBHOOK_URL }}" ]; then echo "::notice::ORCA_WEBHOOK_URL not set — image pushed, no redeploy triggered"; exit 0; fi
SIG=$(printf '%s' "$PAYLOAD" | openssl dgst -sha256 -hmac "${{ secrets.ORCA_WEBHOOK_SECRET }}" | awk '{print $2}')
- RESP=$(curl -fsS -w "\nHTTP %{http_code}" -X POST "http://46.225.100.82:6880/api/v1/webhooks/github" -H "Content-Type: application/json" -H "X-Hub-Signature-256: sha256=$SIG" -d "$PAYLOAD"); echo "$RESP"
+ RESP=$(curl -fsS -w "\nHTTP %{http_code}" -X POST "${{ vars.ORCA_WEBHOOK_URL }}" -H "Content-Type: application/json" -H "X-Hub-Signature-256: sha256=$SIG" -d "$PAYLOAD"); echo "$RESP"
deploy-mcp:
name: Deploy MCP
@@ -286,19 +289,20 @@ jobs:
steps:
- name: Build, push and trigger orca redeploy
env:
- TRAMITON_FETCH_TOKEN: ${{ secrets.TRAMITON_FETCH_TOKEN }}
+ PLATFORM_CI_TOKEN: ${{ secrets.PLATFORM_CI_TOKEN }}
run: |
apk add --no-cache git curl openssl
git init && git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
git fetch --depth=1 origin "${GITHUB_SHA}" && git checkout FETCH_HEAD
- IMAGE=repo.breakpilot.com/certifai/compliance-mcp
+ IMAGE=repo.breakpilot.com/pruefwerk/compliance-mcp
echo "$REGISTRY_PASSWORD" | docker login repo.breakpilot.com -u "$REGISTRY_USERNAME" --password-stdin
- DOCKER_BUILDKIT=1 docker build --secret id=tramiton_token,env=TRAMITON_FETCH_TOKEN \
+ DOCKER_BUILDKIT=1 docker build --secret id=git_token,env=PLATFORM_CI_TOKEN \
-f Dockerfile.mcp -t "$IMAGE:latest" -t "$IMAGE:${GITHUB_SHA}" .
docker push "$IMAGE:latest" && docker push "$IMAGE:${GITHUB_SHA}"
{ command -v cosign >/dev/null 2>&1 || curl -sSfLo /usr/local/bin/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-amd64 || wget -qO /usr/local/bin/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-amd64; } || echo "::warning::cosign fetch failed"
chmod +x /usr/local/bin/cosign 2>/dev/null || true
cosign sign --yes --key env://COSIGN_KEY "$IMAGE:latest" || echo "::warning::cosign failed"
- PAYLOAD=$(printf '{"ref":"refs/heads/main","repository":{"full_name":"sharang/compliance-scanner-agent"},"head_commit":{"id":"%s","message":"deploy mcp"}}' "${GITHUB_SHA}")
+ PAYLOAD=$(printf '{"ref":"refs/heads/main","repository":{"full_name":"platform/pruefwerk"},"head_commit":{"id":"%s","message":"deploy mcp"}}' "${GITHUB_SHA}")
+ if [ -z "${{ vars.ORCA_WEBHOOK_URL }}" ]; then echo "::notice::ORCA_WEBHOOK_URL not set — image pushed, no redeploy triggered"; exit 0; fi
SIG=$(printf '%s' "$PAYLOAD" | openssl dgst -sha256 -hmac "${{ secrets.ORCA_WEBHOOK_SECRET }}" | awk '{print $2}')
- RESP=$(curl -fsS -w "\nHTTP %{http_code}" -X POST "http://46.225.100.82:6880/api/v1/webhooks/github" -H "Content-Type: application/json" -H "X-Hub-Signature-256: sha256=$SIG" -d "$PAYLOAD"); echo "$RESP"
+ RESP=$(curl -fsS -w "\nHTTP %{http_code}" -X POST "${{ vars.ORCA_WEBHOOK_URL }}" -H "Content-Type: application/json" -H "X-Hub-Signature-256: sha256=$SIG" -d "$PAYLOAD"); echo "$RESP"
diff --git a/Cargo.lock b/Cargo.lock
index 33c1afc..959e566 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -669,6 +669,9 @@ dependencies = [
"control-map",
"dashmap",
"dotenvy",
+ "firmwerk-core",
+ "firmwerk-repro",
+ "firmwerk-sbom",
"futures-core",
"futures-util",
"git2",
@@ -694,9 +697,6 @@ dependencies = [
"tower-http",
"tracing",
"tracing-subscriber",
- "tramiton-core",
- "tramiton-repro",
- "tramiton-sbom",
"urlencoding",
"uuid",
"walkdir",
@@ -2147,6 +2147,46 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
+[[package]]
+name = "firmwerk-core"
+version = "0.4.2"
+source = "git+ssh://git@git.breakpilot.com:22222/platform/firmwerk.git?tag=v0.4.2#396dbd257ad02e867c4a875384a9bafd94f5ad8e"
+dependencies = [
+ "serde",
+ "tempfile",
+ "thiserror 1.0.69",
+ "toml",
+ "walkdir",
+]
+
+[[package]]
+name = "firmwerk-repro"
+version = "0.4.2"
+source = "git+ssh://git@git.breakpilot.com:22222/platform/firmwerk.git?tag=v0.4.2#396dbd257ad02e867c4a875384a9bafd94f5ad8e"
+dependencies = [
+ "firmwerk-core",
+ "serde",
+ "serde_json",
+ "sha2",
+ "tempfile",
+ "thiserror 1.0.69",
+ "toml",
+ "walkdir",
+]
+
+[[package]]
+name = "firmwerk-sbom"
+version = "0.4.2"
+source = "git+ssh://git@git.breakpilot.com:22222/platform/firmwerk.git?tag=v0.4.2#396dbd257ad02e867c4a875384a9bafd94f5ad8e"
+dependencies = [
+ "firmwerk-core",
+ "firmwerk-repro",
+ "object",
+ "serde",
+ "serde_json",
+ "sha2",
+]
+
[[package]]
name = "fixedbitset"
version = "0.5.7"
@@ -6173,46 +6213,6 @@ dependencies = [
"wasm-bindgen",
]
-[[package]]
-name = "tramiton-core"
-version = "0.4.1"
-source = "git+ssh://git@git.breakpilot.com:22222/sharang/firmwerk.git?tag=v0.4.1#ae4fc1376279f9edb9882605b20877335e7ba8ba"
-dependencies = [
- "serde",
- "tempfile",
- "thiserror 1.0.69",
- "toml",
- "walkdir",
-]
-
-[[package]]
-name = "tramiton-repro"
-version = "0.4.1"
-source = "git+ssh://git@git.breakpilot.com:22222/sharang/firmwerk.git?tag=v0.4.1#ae4fc1376279f9edb9882605b20877335e7ba8ba"
-dependencies = [
- "serde",
- "serde_json",
- "sha2",
- "tempfile",
- "thiserror 1.0.69",
- "toml",
- "tramiton-core",
- "walkdir",
-]
-
-[[package]]
-name = "tramiton-sbom"
-version = "0.4.1"
-source = "git+ssh://git@git.breakpilot.com:22222/sharang/firmwerk.git?tag=v0.4.1#ae4fc1376279f9edb9882605b20877335e7ba8ba"
-dependencies = [
- "object",
- "serde",
- "serde_json",
- "sha2",
- "tramiton-core",
- "tramiton-repro",
-]
-
[[package]]
name = "tree-sitter"
version = "0.24.7"
diff --git a/Dockerfile.agent b/Dockerfile.agent
index 493628b..3f8add8 100644
--- a/Dockerfile.agent
+++ b/Dockerfile.agent
@@ -2,13 +2,13 @@ FROM rust:1.94-bookworm AS builder
WORKDIR /app
COPY . .
-# compliance-agent depends on the private tramiton-core git repo. Authenticate
+# compliance-agent depends on the private firmwerk git repo (platform/firmwerk). Authenticate
# the fetch with a PAT passed as a BuildKit secret (never baked into a layer).
-# Build with: DOCKER_BUILDKIT=1 docker build --secret id=tramiton_token,env=TRAMITON_FETCH_TOKEN ...
-RUN --mount=type=secret,id=tramiton_token \
- if [ -s /run/secrets/tramiton_token ]; then \
+# Build with: DOCKER_BUILDKIT=1 docker build --secret id=git_token,env=PLATFORM_CI_TOKEN ...
+RUN --mount=type=secret,id=git_token \
+ if [ -s /run/secrets/git_token ]; then \
git config --global \
- url."https://sharang:$(cat /run/secrets/tramiton_token)@git.breakpilot.com/".insteadOf \
+ url."https://platform-ci:$(cat /run/secrets/git_token)@git.breakpilot.com/".insteadOf \
"ssh://git@git.breakpilot.com:22222/"; \
fi && \
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --release -p compliance-agent
@@ -46,7 +46,7 @@ RUN pip3 install --break-system-packages semgrep
# Install ruff for Python linting
RUN pip3 install --break-system-packages ruff
-# Real nix for the tramiton reproducible-build firmware SBOM.
+# Real nix for the firmwerk reproducible-build firmware SBOM.
#
# nix-portable's proot fallback can't run here: user namespaces are blocked by
# the container's default seccomp/apparmor profile, and orca exposes no way to
diff --git a/Dockerfile.dashboard b/Dockerfile.dashboard
index 03ff227..150581a 100644
--- a/Dockerfile.dashboard
+++ b/Dockerfile.dashboard
@@ -7,13 +7,13 @@ ARG DOCS_URL=/docs
WORKDIR /app
COPY . .
ENV DOCS_URL=${DOCS_URL}
-# compliance-agent (a workspace member) depends on the private tramiton-core git
+# compliance-agent (a workspace member) depends on the private firmwerk git
# repo, so the workspace resolve needs it even to build the dashboard.
# Authenticate the fetch with a PAT passed as a BuildKit secret.
-RUN --mount=type=secret,id=tramiton_token \
- if [ -s /run/secrets/tramiton_token ]; then \
+RUN --mount=type=secret,id=git_token \
+ if [ -s /run/secrets/git_token ]; then \
git config --global \
- url."https://sharang:$(cat /run/secrets/tramiton_token)@git.breakpilot.com/".insteadOf \
+ url."https://platform-ci:$(cat /run/secrets/git_token)@git.breakpilot.com/".insteadOf \
"ssh://git@git.breakpilot.com:22222/"; \
fi && \
CARGO_NET_GIT_FETCH_WITH_CLI=true dx build --release --package compliance-dashboard
diff --git a/Dockerfile.mcp b/Dockerfile.mcp
index 082b145..1ea3036 100644
--- a/Dockerfile.mcp
+++ b/Dockerfile.mcp
@@ -2,13 +2,13 @@ FROM rust:1.94-bookworm AS builder
WORKDIR /app
COPY . .
-# compliance-agent (a workspace member) depends on the private tramiton-core git
+# compliance-agent (a workspace member) depends on the private firmwerk git
# repo, so the workspace resolve needs it even to build the mcp binary.
# Authenticate the fetch with a PAT passed as a BuildKit secret.
-RUN --mount=type=secret,id=tramiton_token \
- if [ -s /run/secrets/tramiton_token ]; then \
+RUN --mount=type=secret,id=git_token \
+ if [ -s /run/secrets/git_token ]; then \
git config --global \
- url."https://sharang:$(cat /run/secrets/tramiton_token)@git.breakpilot.com/".insteadOf \
+ url."https://platform-ci:$(cat /run/secrets/git_token)@git.breakpilot.com/".insteadOf \
"ssh://git@git.breakpilot.com:22222/"; \
fi && \
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --release -p compliance-mcp
diff --git a/compliance-agent/Cargo.toml b/compliance-agent/Cargo.toml
index 437df97..456e7f6 100644
--- a/compliance-agent/Cargo.toml
+++ b/compliance-agent/Cargo.toml
@@ -15,17 +15,17 @@ compliance-dast = { path = "../compliance-dast" }
# used by the Werkbank runner.
werkbank-exec = { path = "../werkbank-exec" }
# Native firmware build/target detection for bare-metal & RTOS artifacts.
-# Same-company IP, used directly (not via CLI) so the whole tramiton suite is
-# available to the onboarding classifier. Repo renamed tramiton -> firmwerk
-# (git.breakpilot.com/sharang/firmwerk); crates stay tramiton-* at tag v0.4.1.
+# Same-company IP, used directly (not via CLI) so the whole firmwerk suite is
+# available to the onboarding classifier. Repo: git.breakpilot.com/platform/firmwerk
+# (formerly sharang/tramiton); crates are firmwerk-* from tag v0.4.2.
# NOTE: CI must be able to fetch this
# private repo (see the git-auth step in .gitea/workflows/ci.yml).
-tramiton-core = { git = "ssh://git@git.breakpilot.com:22222/sharang/firmwerk.git", tag = "v0.4.1" }
-# tramiton-repro drives the reproducible build (NixBackend seal_and_build) that
+firmwerk-core = { git = "ssh://git@git.breakpilot.com:22222/platform/firmwerk.git", tag = "v0.4.2" }
+# firmwerk-repro drives the reproducible build (NixBackend seal_and_build) that
# yields a sealed lock; `libraries_from_inputs` is the analysis-only fallback.
-tramiton-repro = { git = "ssh://git@git.breakpilot.com:22222/sharang/firmwerk.git", tag = "v0.4.1" }
-# tramiton-sbom renders the bill of materials from a sealed lock (+ binary SCA).
-tramiton-sbom = { git = "ssh://git@git.breakpilot.com:22222/sharang/firmwerk.git", tag = "v0.4.1" }
+firmwerk-repro = { git = "ssh://git@git.breakpilot.com:22222/platform/firmwerk.git", tag = "v0.4.2" }
+# firmwerk-sbom renders the bill of materials from a sealed lock (+ binary SCA).
+firmwerk-sbom = { git = "ssh://git@git.breakpilot.com:22222/platform/firmwerk.git", tag = "v0.4.2" }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
diff --git a/compliance-agent/src/classify/firmware.rs b/compliance-agent/src/classify/firmware.rs
index 818cf29..4eaa907 100644
--- a/compliance-agent/src/classify/firmware.rs
+++ b/compliance-agent/src/classify/firmware.rs
@@ -1,7 +1,7 @@
//! Firmware classification via tramiton.
//!
//! tramiton is the company's firmware build/repro engine; we do not re-implement
-//! its detection. We depend on `tramiton-core` directly (same-company IP) and run
+//! its detection. We depend on `firmwerk-core` directly (same-company IP) and run
//! its provider analysis in-process behind a [`FirmwareDetector`] port, mapping
//! tramiton's `BuildPlan` onto a [`TargetType`]. A deterministic
//! [`MockFirmwareDetector`] backs the tests so CI unit tests need neither the
@@ -51,7 +51,7 @@ pub trait FirmwareDetector: Send + Sync {
async fn detect(&self, path: &Path) -> Result