Commit graph

1 commit

Author SHA1 Message Date
089776f25b fix(attribution): one-off cleanup script for FwazB GitHub PR #90
PR #90 merged into KB on 2026-04-27 via cherry-pick (pre-Phase-2 path),
which rewrote contributor SHA so GitHub never marked the PR merged.
Script posts an explanatory comment + closes the PR as the lone
historical artifact. Phase 2 (commit ed5f7ef) prevents the artifact
from recurring on future external GitHub PRs.

Posts comment + closes PR via GitHub REST API (uses /opt/teleo-eval/secrets/github-pat).
Validates PR author is FwazB before acting (won't run if reassigned).
Idempotent: warns + exits if PR already closed.

NOTE: Requires PAT with issues:write scope on living-ip/teleo-codex.
Current PAT has pulls:write + contents:write only — needs Cory to
expand scope before --execute path runs cleanly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 18:01:03 +01:00