v0.4.0 — Manual Sections, Incremental Mode, writeIfChanged
What's New
Manual Sections Preservation
Human-written content survives fondamenta analyze regeneration:
- Marker-based:
<!-- MANUAL-START:id -->/<!-- MANUAL-END:id --> - Split-point: everything after
## Manual Notesis preserved
Incremental Mode
fondamenta analyze --incremental — uses git diff to only analyze changed files.
writeIfChanged
Files are only written to disk when content actually differs — zero-noise git diffs.
Agent Improvements
- Dead code: no longer flags
middleware.tsand other Next.js framework files - Convention enforcer: skips generated files (Prisma client,
next-env.d.ts)
Test Suite
124 tests passing across 18 test files + GitHub Actions CI.
Full Changelog: https://github.com/StudyIA-2026/fondamenta-archcode/blob/main/CHANGELOG.md