spawn/.claude/scripts
Ahmed Abushagur 3824f6d6c8
Some checks are pending
CLI Release / Build and release CLI (push) Waiting to run
Lint / ShellCheck (push) Waiting to run
Lint / Biome Lint (push) Waiting to run
Lint / macOS Compatibility (push) Waiting to run
feat(oss): add collaborator gate to all agent team bots (#3333)
When the repo goes public, anyone can open issues/PRs. The agent team
must only engage with collaborators — external submissions are invisible.

Shell scripts (refactor, security, qa): source collaborator-gate.sh and
exit 0 if SPAWN_ISSUE author is not a collaborator. The bots never see
the issue — no comment, no triage, no response.

Prompts (discovery issue-responder, refactor community-coordinator,
security issue-checker): check gh api collaborators endpoint before
engaging with any issue.

Collaborator list is cached for 10 minutes to avoid API rate limits.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: A <258483684+la14-1@users.noreply.github.com>
2026-04-22 00:32:07 -07:00
..
collaborator-gate.sh feat(oss): add collaborator gate to all agent team bots (#3333) 2026-04-22 00:32:07 -07:00
enforce-worktree.ts fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
package.json refactor: extract inline hook commands to TypeScript scripts (#2174) 2026-03-03 23:05:41 -08:00
pre-merge-check.ts fix: allow nested worktree paths in pre-merge hook regex (#2401) (#2411) 2026-03-09 23:02:30 -04:00
schemas.ts refactor: extract inline hook commands to TypeScript scripts (#2174) 2026-03-03 23:05:41 -08:00
validate-file.ts fix: always reject set -u in shell script validation hook (#2427) 2026-03-10 02:37:33 -07:00