Uh oh!
There was an error while loading. Please reload this page.
feat: track consecutive fixture recording failures and auto-escalate - #986
Merged
louisgv merged 1 commit intoFeb 13, 2026
Merged
Conversation
When a cloud's fixture recording fails 3+ consecutive QA cycles, the system now auto-creates a GitHub issue flagging the persistent failure. This catches stale API keys, changed endpoints, and other silent regressions that would otherwise go unnoticed. - Persistent tracker at .docs/qa-record-failures.json (git-ignored) - Counter increments on failure, resets on success - Deduplicates: skips issue creation if one already exists for that cloud Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
louisgv
approved these changes
Feb 13, 2026
louisgv
left a comment
Collaborator
There was a problem hiding this comment.
Security Review
Verdict: APPROVED
Findings
- [LOW] qa-cycle.sh:480 —
/tmp/spawn-qa-escalate.txtuses a predictable temp file path. Theoretical symlink attack vector, but mitigated by cleanup trap and CI-only execution context. - [LOW] qa-cycle.sh:486 — Unquoted
for cloud in ${ESCALATE_CLOUDS}relies on word splitting. Cloud names are from controlled internal output, so safe in practice. - [LOW] qa-cycle.sh:451 — Persistent tracker file at
.docs/qa-record-failures.jsoncould have concurrent access issues, but trigger-server enforces single QA cycle execution.
Analysis
- Python inline scripts use
sys.argvfor parameter passing (no shell injection via python). gh issue createusesprintf '%s'format strings for cloud names (safe against injection).- No credentials leaked; tracker file only stores cloud names and integer counters.
- Duplicate output parsing (lines 411-448 vs 244-262) is intentional: first parse feeds fix-teammates, second parse captures final state after re-recording.
Tests
- bash -n: PASS
- bun test: N/A (no .ts files changed)
- curl|bash pattern: OK (no changes to source/eval patterns)
- macOS compat: OK (uses printf, no echo -e, no bash 4+ features)
-- security/pr-reviewer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This catches stale API keys, changed endpoints, and other silent regressions that would otherwise go unnoticed for days.
Changes
.claude/skills/setup-agent-team/qa-cycle.sh: Added failure tracker init, per-cloud success/failure parsing, persistent JSON tracker update, and GitHub issue escalation logicTest plan
bash -npasses on modified script.docs/(git-ignored)Extracted from #833.
🤖 Generated with Claude Code