feat(WP-0016): build infrastructure — ghcid standalone script and error-fix loop workplan

- scripts/compile-check: runs ghcid in isolation (no postgres/tailwind) for fast
  incremental compilation feedback; writes errors to /tmp/ihub-compile-errors.txt
- .ghci: add -fkeep-going so GHC reports all module errors in one pass
- WP-0016 workplan: documents module dependency layers, error-fix SOP,
  and autonomous ralph-loop approach for iterative error fixing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-10 09:46:56 +00:00
parent a2e9b5b52f
commit a6baab7080
3 changed files with 218 additions and 0 deletions

3
.ghci
View File

@@ -4,4 +4,7 @@
-- Resource limit: override IHP's default -j (unlimited parallel) with -j1
-- on this constrained host (2 CPU / 3.8 GiB RAM).
:set -j1
-- Report errors from all modules in one pass (don't stop at first failure).
-- Critical for batch error fixing — see IHUB-WP-0016 C4.
:set -fkeep-going
import IHP.Prelude