Skip to content

fix(routines): docs-sync relies on the CI gate, not a fetched denylist#39

Merged
JacobPEvans-personal merged 1 commit into
mainfrom
fix/docs-sync-secret-gate
Jun 1, 2026
Merged

fix(routines): docs-sync relies on the CI gate, not a fetched denylist#39
JacobPEvans-personal merged 1 commit into
mainfrom
fix/docs-sync-secret-gate

Conversation

@JacobPEvans-personal
Copy link
Copy Markdown
Member

Why

The sensitive-value denylist now lives only as the dryvist org Actions secret GITLEAKS_PRIVATE_CONFIG (consumed by the docs secret-scan.yml gate). The Docs Sync cloud sandbox cannot read Actions secrets via the gh API, so its previous design — fetch docs-starlight/security/gitleaks-public-docs.toml and grep — no longer has a file to fetch.

What

  • Step 2 no longer fetches a denylist; the boundary is enforced by the Privacy is absolute judgment, with the docs secret-scan gate as the authoritative backstop on every draft PR.
  • Removed the fail-closed public-withheld path and its Slack template (Path B).
  • Self-verify is now a best-effort poll of the gate check, not a local grep re-scrub.

Depends on dryvist/docs#50 (the gate) and dryvist/docs-starlight#19 (drops the committed denylist). Not yet deployed — applies at deploy time.

🤖 Generated with Claude Code

The sensitive-value denylist now lives only as the dryvist org Actions secret
GITLEAKS_PRIVATE_CONFIG, which the cloud sandbox cannot read (Actions secrets are
not exposed to gh API). So the routine no longer fetches/greps a denylist file.

Instead it enforces the public/private boundary by the 'Privacy is absolute'
judgment, and the docs secret-scan gate (gitleaks-action + the org ruleset) is
the authoritative backstop on every draft PR. Removes the fetch step, the
fail-closed 'public withheld' path, and the grep self-verify (now a best-effort
poll of the gate check).

Assisted-by: Claude:claude-opus-4-8
@JacobPEvans-personal JacobPEvans-personal merged commit 97e0201 into main Jun 1, 2026
@JacobPEvans-personal JacobPEvans-personal deleted the fix/docs-sync-secret-gate branch June 1, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant