mirror of
https://github.com/garrytan/gstack.git
synced 2026-06-17 15:20:11 +02:00
38d6fadad7
scripts/resolvers/redact-doc.ts emits two placeholders, both derived from
lib/redact-patterns so skill docs never drift from the engine:
- {{REDACT_TAXONOMY_TABLE}} — 3-tier table for /spec + /cso (shared source).
- {{REDACT_INVOCATION_BLOCK:<sink>}} — the canonical scan-at-sink bash + prose
for one enforcement point (pre-codex/pre-issue/pre-archive/pre-pr-body/
pre-pr-title/pre-commit): which-bun probe, visibility resolution (local config
→ gh → glab → unknown), temp-file scan-at-sink, exit 3/2/0 branches, PII
auto-redact offer, guardrail-not-enforcement framing.
Registered in index.ts. 12 resolver tests. No SKILL.md churn yet (no template
references the placeholders until the per-skill wiring commits).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>