PRODUCT.ENGINEER
ManifestoA FunçãoPlaybookLoops
Todos os loops
ConstruirManualHardened

Build Until Green

Run production build, fix compile/bundle errors, repeat until exit 0.

Ferramentas compatíveis:Claude CodeCursorCodex
Start the "Build Until Green" loop.

- Goal: Production build succeeds with zero errors.
- Max iterations: 10
- Between iterations run: `npm run build`
- Exit when: build command exits 0 with no errors.

Steps:
1. Run the production build
2. If it succeeds, stop — exit condition met
3. If it fails, read the error output carefully
4. Identify the first error (not warnings — errors only)
5. Fix the root cause with a minimal change
6. Run the build again to verify the fix and check for remaining errors
7. Repeat until the build is clean

Self-pacing instructions: After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when exit condition passes or max iterations reached. Give a short status update each pass.

Como funciona

Build Until Green

exit 0errorsRun buildBuild succeeds?Read first errorFix root causeBuild clean
product.engineer

Assumindo o ciclo inteiro, da ideia ao impacto.

Aprender

  • Blog
  • Manifesto
  • Autores
  • RSS Feed

Ferramentas

  • Loops
  • Playbook
  • Discovery
  • Cloud Maturity
  • 5 Porquês

Oportunidades

  • Vagas
  • Vagas em destaque
  • Empresas
  • A Função
  • Formação
© 2026 product.engineer
||