-
Notifications
You must be signed in to change notification settings - Fork 0
Remove verifyBuild — post-push build check is false confidence #167
Copy link
Copy link
Closed
Description
Problem
verifyBuild() (49 lines in daemon.ts) runs npm run build AFTER Claude has already committed and pushed. If the build fails, it posts a comment saying "manual review needed" — but the broken code is already on the branch/main. It's a safety net with a hole in the middle.
The prompt already tells the agent to run npm run build before pushing. Double-checking after push is redundant and gives false confidence.
What to do
In src/daemon.ts:
- Remove the
verifyBuild()function entirely (lines ~949-995) - Remove the call to
verifyBuild()inmain()(around line 1460-1470) - Remove the build verification log messages
- The prompt's "run build before pushing" instruction is the real safety net
Acceptance
verifyBuild()function removed- No post-push build verification
- Agent still runs build before push (per prompt instructions)
- ~49 lines removed
- Build passes:
npm run build
Reactions are currently unavailable