Based on consolidated PR review, address the following in Live Test Coverage:
- Per-test credential stripping not implemented (FR-3): FR-3 explicitly requires "Delete the unused credential before each test (OAuth preferred over API key)."
live-helpers.ts checks whether credentials exist via getLiveCredentials(), but there is no beforeEach that removes the non-preferred credential from the subprocess environment. When both ANTHROPIC_API_KEY and CLAUDE_CODE_OAUTH_TOKEN are present in CI, golden-path and session-resume tests run with both credentials, leaving credential-selection logic untested.
- CI live tests gated to main-push only — PRs excluded: The acceptance criterion requires "CI workflow updated to run integration tests on PR and main push." The
test-live job in .github/workflows/ci.yml includes if: github.event_name == 'push' && github.ref == 'refs/heads/main', which excludes pull request triggers entirely. PRs never run the live integration suite.
Created by PR Review Stage - Consolidation Phase
Concurrent Fix Issues (Same Review Cycle)
The following issues are being fixed simultaneously in this review cycle. Check these issues for any files they modify before making your own changes to avoid introducing conflicts:
Based on consolidated PR review, address the following in Live Test Coverage:
live-helpers.tschecks whether credentials exist viagetLiveCredentials(), but there is nobeforeEachthat removes the non-preferred credential from the subprocess environment. When bothANTHROPIC_API_KEYandCLAUDE_CODE_OAUTH_TOKENare present in CI, golden-path and session-resume tests run with both credentials, leaving credential-selection logic untested.test-livejob in.github/workflows/ci.ymlincludesif: github.event_name == 'push' && github.ref == 'refs/heads/main', which excludes pull request triggers entirely. PRs never run the live integration suite.Created by PR Review Stage - Consolidation Phase
Concurrent Fix Issues (Same Review Cycle)
The following issues are being fixed simultaneously in this review cycle. Check these issues for any files they modify before making your own changes to avoid introducing conflicts: