Repository navigation
security(ci): minimize public conformance artifacts and mask API token - #127
Conversation
2026-10-23 artifact-falsification correction and current headAt the earlier integrated RDTE #128 head Falsification finding: all eight legitimate failed-test IDs were unnecessarily rendered Corrective implementation now on THIS draft #127 (exact head
The prior RDTE run does not qualify this newer head; retain draft until a later exact-head integrated run verifies both the safe diagnostic filenames and the no-raw-log behavior. The independent broader #515 security audit still owns approval. No merge, historical deletion or production publication performed by this comment. |
…ing with BuildKit-safe main
Terminal security-containment qualification and source-exact merge admissionCurrent candidate
Exact-head public proof: redaction/evidence 42023259500 13 PASS, BuildKit 42023259484 SUCCESS, provenance 42023259601 SUCCESS; each 0 uploaded artifacts. Earlier redaction tests first failed on fixed metadata note, corrected rather than weakening assertion; 13/13 accepted. Broad CI 42023259790: lint PASS, unit-image stage FAILED on unchanged WinInspect v0.4.0 checksum before tests, smoke/conformance skipped, 0 artifacts. Next independent package pin #124 addresses that only; no false full CI green claim. Disposition: admit this narrow protective source change for squash merge. Security owner scope for historical artifacts, ordinary job logs, trust-pack release-content approval and broader public surfaces stays OPEN. This merge does not enable |
Purpose
Stop uncontrolled public upload of raw conformance failure text and runner identity, without modifying the shared
winebot-contractstest contract or hiding failures from job-local diagnosis.An exact public run
39853196592uploadedconformance-results.jsonwithenvironment.hostnameand full pytestlongreprfailure messages (including runtime response bodies/window titles). The CI workflow also printed a prefix of the API token into the job summary. These are unreviewed publication surfaces under private security authorityagent-dispatch-private#515. This is not evidence of actual sovereign hostname disclosure or recovered token.Narrow change
scripts/ci/sanitize-conformance-results.pyconverts the job-local structured report into an allowlisted public summary with validated integer counts and only fixed-format static test identifiers; all arbitrary failure strings, platform/host/environment, free-form attributes and unknown test names are omitted/redacted.ci.ymlandrelease.yml, run the projector after the conformance attempt; upload onlyconformance-summary-public.jsonwhen projection succeeds. Missing/oversized/inconsistent raw input prevents an upload.Caveats: the pytest console log may still print failure response bodies and must be audited separately; historical raw artifacts remain retained. This does not change runtime API, legacy/vNext conformance predicates, or the full-suite release gate. The shared contract runner still produces its original raw report job-locally.
Exact-head validation
main@d0fe951cc7a0a9e2ce1f3dba52e44db02ad15611.Gate
Security #515 controls acceptance; production publication/release, historical disclosure clearance, credential decisions, merges and branch cleanup remain separately gated. Retain draft until independently qualified.