Skip to content

Remove verifyBuild — post-push build check is false confidence #167

@xliry

Description

@xliry

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:

  1. Remove the verifyBuild() function entirely (lines ~949-995)
  2. Remove the call to verifyBuild() in main() (around line 1460-1470)
  3. Remove the build verification log messages
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions