diff --git a/.gitleaks.toml b/.gitleaks.toml index dd9196e..7e82577 100644 --- a/.gitleaks.toml +++ b/.gitleaks.toml @@ -56,8 +56,16 @@ paths = [ '''ingestion/internal/claudewatcher/watcher_test\.go$''', ] -[[allowlists]] -description = "Literal placeholder word REDACTED matched as if it were a token (verified 2026-08-04: extracted Secret == 'REDACTED' exactly, gitleaks' curl-auth-header rule matched the placeholder text itself, not a real credential)" -condition = "AND" -paths = ['''docs/superpowers/plans/2026-04-22-phase4-attempt-wiring\.md$'''] -regexes = ['''REDACTED'''] +# infra#344: the allowlist that used to sit here is gone, and so is the reason +# for it. It suppressed docs/superpowers/plans/2026-04-22-phase4-attempt-wiring.md +# on the stated grounds that "extracted Secret == 'REDACTED' exactly ... the +# placeholder text itself, not a real credential" (verified 2026-08-04). That was +# not what the file contained: line 1054 carried a real 40-char hex Gitea PAT in +# an `Authorization: token ...` header. Confirmed dead by side-effect — GET +# /api/v1/user with it returns 401 — and redacted in that file, so there is now +# nothing to allowlist. +# +# The `paths` entry also made the block far broader than its description: gitleaks +# ORs global allowlist clauses and ignores `condition = "AND"`, so the whole file +# was immune, not just lines matching /REDACTED/. A live token added to that doc +# would have been suppressed on the strength of a note about a different value. diff --git a/docs/superpowers/plans/2026-04-22-phase4-attempt-wiring.md b/docs/superpowers/plans/2026-04-22-phase4-attempt-wiring.md index 898fc84..cfb7a8a 100644 --- a/docs/superpowers/plans/2026-04-22-phase4-attempt-wiring.md +++ b/docs/superpowers/plans/2026-04-22-phase4-attempt-wiring.md @@ -1051,7 +1051,7 @@ git push ```bash # Poll until complete (replace RUN_ID with the new run): curl -s "https://gitea.d-ma.be/api/v1/repos/mathias/hyperguild/actions/runs?limit=2" \ - -H "Authorization: token 736a8c36adcc6ecb41fff56e5ae4d0eb3105a670" \ + -H "Authorization: token " \ | python3 -c "import sys,json; [print(r['id'],r['status'],r.get('conclusion','—')) for r in json.load(sys.stdin)['workflow_runs']]" ```