security: centralize secret-name redaction heuristics - #400
codeforester merged 11 commits into
Conversation
|
Following up on the camelCase finding: the fix adds explicit alternatives for the 5 examples I named in the failure scenario ( But this patches the named examples rather than the underlying gap: the single-word alternatives ( Several of these ( Root-cause options worth considering instead of enumerating more compounds one at a time:
Happy to be more specific if useful — flagging since this is security-classified code and the current fix could read as "resolved" from the diff without closing the actual gap. |
…-security-widen-and-de-duplicate-the-secret-name-redaction-he
…-security-widen-and-de-duplicate-the-secret-name-redaction-he
|
Branch maintenance and review follow-up complete.
Left open for review; not merged. |
|
Re-check at current head
The single-word alternatives ( |
…-security-widen-and-de-duplicate-the-secret-name-redaction-he
|
Follow-up on current head |
…-security-widen-and-de-duplicate-the-secret-name-redaction-he
|
Addressed the blocking redaction regression in the pushed head The classifier now preserves the broad contiguous-name coverage from Validation: the supported runtime gate passes (622 tests, 317 subtests), and the style gate passes. |
Fixes #384
Centralize secret-name classification across redaction paths, preserve camelCase coverage, and document the expanded heuristic alongside bounded JSON traversal.
Branch maintenance
Refs #426. Targets
main.The branch was refreshed without rewriting history to include
mainata576cc279739eae5e4cfc33ffab2a7fb56de24de. The already-merged calibration patch is absent from this review diff; the original issue patch is preserved.Current-head validation
At
3793f6750ade25741520e34ba16f2331faf3508a: uv lock freshness and baseline, runtime, strict typing, style, and contracts passed locally with all declared extras. Runtime result: 611 passed, 1 warning, 279 subtests passed in 7.27s.Hosted checks: 7/7 required checks passed; 0 checks pending; 0 unsuccessful checks at 2026-10-04T14:19:40.760978+00:00. See the PR Checks tab and #426 for subsequent results.