Commit f868d2d
committed
Add two-pass pipeline: Pass 1 (correctness) + Pass 2 (quality refactoring)
Pass 1 generates schema-correct Pydantic models (may have mechanical names).
Pass 2 aggressively refactors for production quality: TS-derived class names,
error deduplication, cleanup of alphabetic suffixes and deep path names.
New CLI flags:
--pass1-only Stop after Pass 1
--pass1-dir Skip Pass 1, refactor existing output
--pass2-max-attempts Separate retry budget for Pass 2
Both passes use the same verifier to ensure correctness is preserved.1 parent 0b689d2 commit f868d2d
4 files changed
+571
-78
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
59 | | - | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
62 | 80 | | |
63 | 81 | | |
64 | 82 | | |
| |||
76 | 94 | | |
77 | 95 | | |
78 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
79 | 104 | | |
80 | 105 | | |
81 | 106 | | |
| |||
0 commit comments