The negative control that settles before the container is gone expected the broken masker to exit 0. Its fake container keeps writing into the staged reports dir, so a masker descheduled inside the staged dir deletion leaves the dir behind and exits 70 although it already published the reports. That made the test flaky under load ('masker 70' != 'masker 0' on PR 2756 Workspace centos:stream10). A forced pause in that deletion reproduces 'masker 70' with 'published masked' 10 of 10 times. The published state alone separates the broken masker from the real one, whose positive test expects 'published none'.
🎯 Fix: 90 %
💥 Break: 2 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 88
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The negative control asserted the exit code of a mutant scrub that trusts a failed container removal. The stuck fake container keeps writing junit.part and renaming playwright-junit.xml every 0.1 s, so a write landing between the mutant's rmtree unlink and rmdir made its own fail-closed check report scrub 1 (2/400 runs under disk and CPU load, red on PR CI). The control now asserts the outcome that does not race: the mutant publishes before its rmtree, the real masker never publishes while the container may run. The fixed 0.3 s and 0.5 s sleeps in stopped_run waited for nothing and are gone. Masker code unchanged.
🎯 Fix: 92 %
💥 Break: 2 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 90 %
🏆 Score: 81
🚦 Gate: ⚠️ security 90 % < 100: moved subprocess.run context re-flagged; operator word 2026-11-23, accept row queued
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Masker: publication holds a per-folder flock so a parallel rerun never unlinks another masker's temp file; a failed output relay closes its pipe and ends the run UNSETTLED instead of returning 0 with cut output; early scrub refusals name the container (no-follow read of .cid). Helper: a short value holding a control character is refused by its key; the secret-file check requires a regular file via lstat; an escape past U+10FFFF stays literal text. Tasks: a deploy pass removes the top-level outputs an earlier run left unarchived (never a variant-* slot), so a stale JUnit cannot pass as the current run's. rerun-spec.sh refuses any TEST_E2E_PLAYWRIGHT_IMAGE override before the npm install container. README documents age-only pruning and the image refusal. Tests: vacuous assertions tightened (late CID exit status, declared APP_BASE_URL, started-but-unnamed container, expected report content); the external masked test compares 8-byte windows, skips only on identified network or registry failures and fails on a timeout.
🎯 Fix: 93 %
💥 Break: 3 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 90
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- base64_forms adds the forms of ":" + value and "\0:" + value, so behind a user: of any length no value byte shows; basic_leaks compares each masked Basic header exactly.
- remove_container takes the run's container name and removes by name only when no .cid names one, under the same REMOVAL_SECONDS deadline and MISSING match; the rerun hands the name to scrub once its masker has started, and the shell copy of the removal is gone.
- HUP, INT and TERM traps forward the signal and wait; the EXIT trap then removes the container by name.
- settle names the container; README, the Ansible fail messages and the rerun say that a report whose path holds a value stays unpublished while the rest is published masked.
- Replies to the CodeRabbit round on PR #2414 corrected to match the code.
- MEDUSA: accepted WEB-AUTH-002 at tests/unit/python/roles/test-e2e-playwright/_spec_secrets_forms.py:163 (test constant BASIC fed to the in-process masker, by design); the FTSCAN-231 hit was removed by splitting the select line.
🎯 Fix: 90 %
💥 Break: 7 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 84
🚦 Gate: ⛔ break 7 % > 5
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Address the Main review and the CodeRabbit, CodeQL and code-quality threads on PR 2414: the detached hold child and stage digests are gone, every run reports into its own run directory, the masker covers short and encoded values, and the scrub proves the container gone. Container trust moves into spec_secrets_container.py: an exact DOCKER_CONFIG key allowlist, owner and mode checks, the CA trust words bound to the deploy, and a non-UTF-8 .ca-trust failing closed. rerun-spec.sh checks its arguments word by word and refuses a command override. Code-clean: the remaining non-free defaults are now explicit at every caller.
🎯 Fix: 90 %
💥 Break: 6 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 85
🚦 Gate: ⛔ break 6 % > 5
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A role whose specs need a credential ships templates/playwright.secrets.j2. The runner splits it into 0400 files in a fresh 0700 run directory outside the stage dir and bind-mounts that read-only at /run/spec-secrets into the role's container, serial, parallel and rerun alike. For that run it turns trace, screenshot, video and the HTML report off, and it masks every value of 8 bytes or more in the container output and in the run's report and stage files, also after a kill. No value reaches an Ansible variable, a command line, the .env or the container environment. Roles without the template deploy as before. MEDUSA scan: 0 findings.
🎯 Fix: 90 %
💥 Break: 7 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 84
🚦 Gate: ⛔ break 7 % > 5
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>