anonymousnomad/covert-coder/aide-acceptance-test-repair
Claude Code and agent skill by anonymousnomad/covert-coder
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install anonymousnomad/covert-coder/aide-acceptance-test-repairSKILL.md
The same SKILL.md was published earlier as anonymousnomad/covert-coder/aide-acceptance-test-repair.
Skill: aide-acceptance-test-repair
Acceptance Test Repair — Fixing Pre-Existing Test Failures
The acceptance-real.mjs test has a pre-existing failure on line 44: the terminal check expects terminal.body.stdout === 'terminal-ok' but gets undefined. This skill covers diagnosing and fixing it.
The Failure
Line 44:
Root Cause Analysis
The /api/terminal/run endpoint returns a response but body.stdout is undefined. Possible causes:
- Response shape mismatch — endpoint returns
{result: ...}not{stdout: ...} - Endpoint missing —
/api/terminal/rundoesn't exist in the daemon - Process spawn failure — node process doesn't start or output is captured differently
- Timing issue — process exits before output is captured
Debugging Steps
1. Check the actual response shape
2. Check if endpoint exists
3. Check daemon route registration
In daemon/server.mjs, search for terminal/run or terminal routes. If missing, the endpoint needs to be added.
4. Check terminal service
If the endpoint exists, check what it returns:
Fix Options
Option A: Fix the response shape (if endpoint exists but returns wrong shape)
Update the assertion to match the actual response:
Option B: Add the endpoint (if missing)
Add /api/terminal/run route to daemon/server.mjs that:
- Spawns the process with
child_process.spawn - Captures stdout
- Returns
{ stdout: capturedOutput }
Option C: Fix the terminal service
If the service exists but doesn't capture output correctly, fix the spawn logic.
Verification
After fix, run:
Expected: REAL AIDE ACCEPTANCE PASSED: workspace, write, patch, terminal, LSP...
Rules
- NEVER skip the terminal test — it's a core feature
- NEVER change the test to pass without fixing the underlying issue
- ALWAYS verify the fix doesn't break other tests
- Run the full battery after any change
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/packs/aide-acceptance-test-repair/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/anonymousnomad/covert-coder/aide-acceptance-test-repair)