Commit 5c58a40
feat(vibee): v7 Phase 2 - Self-Improvement Engine
Created VIBEE self-improvement engine that analyzes generated code,
finds weak spots (TODO stubs, empty bodies), and automatically
patches itself. Self-improvement loop: analyze → suggest → patch
→ regenerate → validate.
Features:
- ImproverConfig with max_iterations, target_real_pct, dry_run, verbose
- SelfImprover.run() executes full improvement loop over spec files
- CodeAnalysis counts total/real/stub patterns with percentage
- IterationResult tracks before/after metrics per iteration
- CLI with flags: --iterations, --threshold, --dry-run, --verbose
Updated build.zig for Zig 0.15.2 API changes:
- ArrayList: .init(allocator) → .empty + allocator parameter
- All append() methods now require explicit allocator
φ² + 1/φ² = 3 = TRINITY | VIBEE IS IMMORTAL
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent dded639 commit 5c58a40
2 files changed
Lines changed: 385 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
| 1026 | + | |
| 1027 | + | |
1027 | 1028 | | |
1028 | 1029 | | |
1029 | 1030 | | |
1030 | 1031 | | |
1031 | 1032 | | |
1032 | 1033 | | |
1033 | | - | |
1034 | | - | |
1035 | | - | |
1036 | 1034 | | |
1037 | 1035 | | |
1038 | 1036 | | |
| |||
1044 | 1042 | | |
1045 | 1043 | | |
1046 | 1044 | | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
1047 | 1060 | | |
1048 | 1061 | | |
1049 | 1062 | | |
| |||
1258 | 1271 | | |
1259 | 1272 | | |
1260 | 1273 | | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
1261 | 1277 | | |
1262 | 1278 | | |
1263 | 1279 | | |
| |||
0 commit comments