artifact-hygiene-checkerEnsures scanner artifacts and secrets stay out of the Docker build context by verifying and, if needed, adding .dockerignore entries and .gitignore entries for .twistlock-runs/ and env files.
build-command-resolverLocal mode only. Chooses the Dockerfile, build context, and build command, preferring an existing repo build script over an invented docker build command.
completion-reporterProduces the final report from workspace files after a gate pass or a hard stop. Never claims success unless the last gate-evaluator result is PASS from a fresh scan.
docker-preflightLocal mode preflight 4 of 4. Verifies that the Docker daemon is reachable with the current context and that the Docker socket path is known.
dockerfile-fixerApplies exactly the fixes listed in the fix plan (and any fix-reviewer REDO instructions) to the Dockerfile or dependency files. Does not choose fixes and does not run builds or scans.
ecr-scannerECR mode only. Runs the Prefect twistlock-scan/twistlock-scan deployment for an ECR image ref, waits for completion, and stores raw output as the scan of record.
fix-plannerTurns failing gate findings into the smallest safe fix plan, ordered by fix priority. Plans only; never edits files.
fix-reviewerReviews the applied fix diff against the safety rules and the fix plan. Judges PASS, REDO, or HARD_STOP with objective criteria only.
gate-evaluatorReads the scan artifacts of the current iteration and decides the Critical/High gate (PASS or FAIL). Groups findings by package and compares with earlier iterations to detect persistent findings. The only agent allowed to declare the gate passed.
image-builderLocal mode only. Runs the resolved build command for the current iteration and reports the resulting image ID, or classifies the build failure.
image-evidence-collectorLocal mode only. Captures OS release and key package versions (openssl, libssl, libcrypto) from the built image as evidence for the final report.
local-scannerLocal mode only. Runs twistcli images scan against the built local image (by image ID) and stores raw output as the scan of record.
prefect-auth-preflightECR mode preflight 1 of 2. Verifies the Prefect API URL, a working Prefect login (or PREFECT_API_KEY), and a known workspace. Never performs interactive login itself.
prefect-deployment-preflightECR mode preflight 2 of 2. Verifies uv, Prefect CLI, jq, and that the twistlock-scan/twistlock-scan deployment exists in the selected workspace.
repo-inspectorRecords read-only facts about the repository before any Twistlock work: git status, Dockerfile locations, build scripts, .dockerignore presence, env file names. Does not decide anything.
scan-target-resolverDecides the scan target mode (ecr or local) and the image reference from the user's request. If the choice is unclear it reports NEEDS_INPUT with the exact question; it never defaults silently.
tls-ca-remediatorFixes VPN/TLS-interception build failures using a build-time BuildKit secret CA. Edits the Dockerfile and build script only for this purpose. Never uses HTTP repositories or bakes a CA into the final image.
twistcli-preflightLocal mode preflight 3 of 4. Locates a twistcli binary and verifies it is compatible with the host OS and architecture.
twistlock-auth-preflightLocal mode preflight 2 of 4. Verifies that the Twistlock console accepts the credentials found by the credential preflight, reporting only the HTTP status. Never prints or stores a token.
twistlock-credential-preflightLocal mode preflight 1 of 4. Checks whether Twistlock credentials (TWISTLOCK_TOKEN, or TWISTLOCK_USERNAME plus TWISTLOCK_PASSWORD) are present in the environment or a repo-local env file. Checks presence only, never validity or values.