diff --git a/bin/gstack-issue-guard b/bin/gstack-issue-guard new file mode 100755 index 000000000..06bc5c0bd --- /dev/null +++ b/bin/gstack-issue-guard @@ -0,0 +1,102 @@ +#!/usr/bin/env bun +/** + * gstack-issue-guard — fetch tracker text and emit it inside the untrusted + * trust envelope (lib/tracker-guard.ts). The ONLY sanctioned path for reading + * PR/issue body text into an agent's context — the wiring scanner + * (test/tracker-guard-wiring.test.ts) fails CI on raw reads outside it. + * + * gstack-issue-guard issue # gh issue: title + body + comments + * gstack-issue-guard pr-body # gh: current PR body + * gstack-issue-guard pr-comments # gh: current PR issue-comments + * gstack-issue-guard --stdin [--source