
Vlad MocanuandClaude Opus 4.6
385acacc32
feat(prd-1): implement M2 - Forgejo token handling
- Add src/forgejo/token.ts: synchronous token handler that returns
OVERRIDE_GITHUB_TOKEN or DEFAULT_WORKFLOW_TOKEN directly (no OIDC)
- Wire platform-aware token setup into run.ts with early branch
before existing setupGitHubToken() call
- Add test/forgejo-token.test.ts with 8 test cases covering
override precedence, default fallback, and error handling
- GitHub token path remains completely unchanged
Progress: 22% complete (M1, M2 done) - next: M3 (CI workflows) or M5 (comment URLs)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>