The user asked for a review of the whole code for design: proper separation, every fix with a check, rules following established practice, and checks and rules robust rather than written for one building. Five reviews ran side by side (separation; fixes and their checks; hardcoding; practice; robustness). Every finding below was read in the code; those marked (repro) were reproduced by changing a generated building and running the full check() on it (scripts in the session's scratchpad). Nothing in the code has been changed by this review.
check() and has a registry row; no finding is suppressed (known_findings.json is
empty); the orders' proportions (Vitruvius, Vignola), guard and handrail heights, the planned stairs' risers and
treads, landings, corridors, entrance doors, Rumford fireplaces, hearths and Tredgold's trusses agree with their
sources.
| # | Check | What passes | Why |
|---|---|---|---|
| C1 | I21, I24, I27 (the rooms' plan, galleried halls, the stair's place) | A block's asked plan replaced by one room, its rooms' uses left out | Excused by the planner's own notes (check/rooms.py:966, 1342, 1857), matched by prefix and substring: "rise" also matches "it rises clear", a note about main.portico_front excuses main. Excusing notes in 23 of seeds 0-59; in seed 50 three blocks asked "double pile or sala" and got one room, two rooms' uses left out, no finding |
| C2 | I38, I34 (furnaces, stoves) | A furnace built 2.4 m up into its room (repro, seed 8; a tiled stove the same in 318) | They read the planner's ext["bodies"] and ext["cellar"]; the builder builds from the fires |
| C3 | I13 (rooms heated) | A room whose fireplace is on another storey (repro, seed 82) | A room counts as heated when a chimney's record names it; nothing tests that the fireplace stands in it |
| C4 | I22 (flights against a wall) | Free-standing flights (repro, seed 26: 8 findings hidden) | Skipped for stairs the planner tags free, which it sets by the same test the check makes |
| C5 | GD1-GD16, I22 (guards) | A stair with its guard missing (repro, seed 82) | The guard checks loop over the planned guards only; nothing says every open edge has one |
| C6 | GD1 (handrail heights) | Raking guards that run on past their flight are never measured (two each in seeds 136 and 341; one lowered 0.3 m stays clean) | A guard is matched to a flight only when both its ends lie on it |
| C7 | I30 (landings carried) | Posts cut to 0.6 m stubs hanging under the landing (repro, seed 148) | Takes the planner's posts; never tests that their foot stands on a floor |
| C8 | I13 (a breast clear of stairs and doors) | A breast's part standing in a stair, once tagged "in a wall" (repro, seeds 318, 230, 5, 341) | The tag exempts the part; nothing tests that it lies in a wall |
| C9 | I13, CH3, CH4, O15, D25 | Whatever the planner's own rule allows | Copied predicates and constants: I13's corridor test is design/fires._passage line for line and its furnace reach is design/heating._blocks_heated (any chain of touching blocks; the registry says one step: seed 10's wings pass with their furnaces removed); the stack checks repeat the flue constants and the planner's 0.25 m site search; O15 the planner's capital clearance; D25 the planner's min_drum (0.3 of the diameter, where fix 32 says half) |
| C10 | W1 (walls built) | Every wall part missing at once (repro, seed 82) | if not F: return [] |
| C11 | I30 (landings carried) | A column standing over a stair's well in the floor under it, on nothing (seed 293, found 2026-11-14) | Its foot was read on the rooms' outlines, not the floor as laid round its holes; closed in fix 137 (test_i30_posts_over_a_floors_hole) |
| C12 | I45, I46, I30 (ways, whole floors, columns' feet) | A way over a stair's opening where the opening is framed through to the walls (seed 220's band across its stair hall; seeds 293's and 378's open wells, their middles taken for an unreached floor), a column's foot there | The floor was read as the room's plan less the floor's holes; an opening framed to a wall is cut round the floor's outline, no hole; closed in fix 138 (test_i45_a_floor_laid_short_of_a_band_across_its_stair_hall, test_i30_posts_on_a_floor_laid_short_of_them) |
| C13 | I30 (landings carried) | A column coming down through a floor between its foot and its landing (seeds 293, 211, 142, 148, 337, 1522: sent down past the floor its stair rises from) | Only the stairs and walls it passes were read; closed in fix 138 (test_i30_a_column_down_through_a_floor) |
Smaller: GD12 works out baluster gaps with the builder's functions; BF1 checks only the block named main; BF6 finds stair halls by their id; I13's stack-height rule does nothing when called without the views; some CH5, I38 and I34 messages name the wrong fault; check/stacks._clear_run swallows exceptions; findings are cut to eight before recorded ones are filtered (latent: none are recorded); the survey counts a check's crash as a planner's refusal; the generator retries on any exception, silently swapping a seed's building for another.
check() (five by a retired code whose successor runs); seven name
functions that no longer exist (69, 71, 74, 75, 76, 84, 85).
check(); 212 of the 247 codes appear in no test; the proofs live in a manual script
(tools/detail_regressions.py, 28 cases), commit messages and the registry. That is how the weakenings above
landed. tests/checks/test_check_registry.py accepts a row naming any existing function, not necessarily the one that
emits its code.
| # | Rule | As coded | Practice | Suggested |
|---|---|---|---|---|
| P1 | Inner doors | Width 3 Vicentine feet, down to 0.8 m; height the width × 2⅙, so a 0.8 m door is 1.73 m high (seed 64 has seven under 80 in); closets 0.7 × 2.0 m; no check | IBC 1010.1.1.1: 80 in (2.03 m) high, 32 in clear. Palladio I.25: three feet is the most for a room's door ("not wider than three foot, and six and a half high"); the comment reads it as the least | At least 2.1 m high (the project's own door_min_height), and a check |
| P2 | Roof pitch | 12.5° for every order (Vitruvius III.5.12, the Greek tympanum), revival hips and gables too | Palladio I.29: two ninths of the breadth (about 24°), a fifth "too flat"; BS 5534: slate 20° or more | Greek 12.5°; revival roofs and their pediments about 24° (or a lead roof) |
| P3 | Chimney top | 1 m over the roof where it passes, 0.6 m over a ridge within 2.3 m; nothing else counted; the check repeats the formula | Approved Document J (2022) Diagram 17: also 1 m above any opening and 0.6 m above any part of the building within 2.3 m; IRC R1003.9: 2 ft above anything within 10 ft. Seed 5's stacks stand level with their balustrade | Add Diagram 17's C and D, checked independently |
| P4 | Flight length | 16 risers | Palladio I.28: eleven, thirteen at most; Approved Document K: 12 for general access (16 for utility stairs) | 12-13 for principal and general stairs |
| P5 | Flight width | 1.0 m least; never checked | Palladio I.28: never less than 4 ft (1.43 m); IBC 1011.2: 44 in (1.12 m) | 1.12 m, the principal stair 1.43 m, and a check |
| P6 | Steps (I10) | Riser 0.13-0.19 m, stride 0.60-0.66 m: passes 0.19 × 0.22 m; headroom 2.0 m | IBC 1011.5.2: riser 7 in (0.178 m) at most, tread 11 in (0.279 m) at least; IBC 1011.3: headroom 80 in (2.03 m); Palladio I.28: risers 4-6 in | Those limits (the planned 0.16 × 0.31 m steps pass them) |
| P7 | Spiral stairs | 2.4 m round a 0.2 m newel, 15-18 steps a turn: treads 0.14-0.17 m at 12 in out; the only stair wherever no straight one fits | IBC 1011.10: 6¾ in at 12 in, and spirals as a way out only in dwellings or small rooms; Palladio I.28: the column a third of the diameter | A newel a third of the diameter or fewer steps a turn; outside dwellings, spirals only as second stairs |
| P8 | Vaults | Rise at least a sixth of the span, citing Palladio I.24 | Palladio I.24: all six kinds rise "a third part of the breadth of the room" | A third, or ties and an abutment check for flatter vaults |
| P9 | Flues | One 14 × 9 in flue for every fire, up to 1.0 × 0.85 m openings | Approved Document J: 15% of the opening for larger fires (0.13 m², the flue is 0.083 m²); IRC R1003.15.1: a tenth | Fires sized to the flue, or a 14 × 14 in flue for the great rooms' fires |
| P10 | Lift car | 1.4 × 1.6 m with a 0.9 m door, citing ADA 407.4.1 | ADA Table 407.4.1: 80 × 51 in with a 42 in centred door, 68 × 51 in with a 36 in side door, or 60 × 60 / 54 × 80 in; IBC 3002.4: a stretcher-sized car in buildings of four storeys or more | A 2.03 × 1.30 m car with a 1.07 m door |
| P11 | Rooms lit (I5) | Any window, door or arch in an outer wall | IRC R303.1, which it cites: glazing 8% of the floor | 8% of the floor glazed |
Two points where practice divides, for the user to decide: a handrail on the walled side of a flight (IBC 1011.11 asks both sides outside dwellings; Georgian stairs had a dado rail there), and rails or cheeks on outdoor perrons more than 30 in high (IBC 1015.2; monumental steps often had none).
Lower: I12's five storeys is the Haughwout Building's, not IBC 1104.4's (tag it [house]); I11 holds every storey to the single exit's 75 ft (IBC 1017.2 allows 200 ft with two stairs); the window ratio 2.0 is tagged Palladio, who gives 2⅙; O13's pier ratio is not in Palladio I.25; flue bends are limited in angle but not counted (Approved Document J: four at most); headroom is 2.4, 2.1 and 2.0 m in three modules; the handrail is 70 mm wide (IBC's grip asks 57 mm at most); a water closet on every storey has no rule behind it.
No seed number, building id or genre branch decides anything. What is narrow is above (C1, C4, C6, C9), and:
side_hall flag exempts every opening on every face from G9's symmetry (checks.py:147), every portico from N8
and the front from O17; the rule it serves only moves the door to an end bay.
interior.HEADROOM (raising the attic to S11's own limit),
interior.MIN_DOOR_HEIGHT, specs.STAIR_TIE, shell.stair_module and stair_extent; the builder too. The stair
functions in shell.py have become an undeclared shared layer for the planner, the builder, the views and about 15
checks (P6 picks the flights to test with the builder's own plain_flight). Done 2026-11-07: the stair functions
are the model's (model/stairgeo.py), the numbers the rules' (rules/proportions.py, rules/walls.py,
rules/chimneys.py); tests/test_layers.py holds the layering.
roofview.py, part of the views, decides how far a portico's roof runs into its host, the walk and the back end
(_into_outline, back_end, WALK); the planner calls these private functions and the checks test the view's
output. Done 2026-11-07: the design decides it (design/roofruns.py: run_back, back_end, WALK) and records it
on the roof (Roof.back, its back end); the view reads it, deciding nothing (proven: the view recomputing it and
asserting it equal, every seed, then the recomputation removed). The same rule stated in several modules is
one rule (GREAT, CIRCULATION, HEATED, MAX_FLIGHT, SET_OVER, RAFTER, TURN_BACK, ... in rules/, the
model's vocabulary FLOOR_ROLES, SIDES in model/schema.py); the checks' five copies of _world one
(asbuilt.world).
GUARD_DROP (model/schema.py) decides railings in the planner and is the threshold of W14 and the perrons' check; P5's
tolerance is the builder's RAKE_DROP. Done 2026-11-07: GUARD_DROP is the code's number (IBC 1015.2, more than
30 in), in the rules both sides read (rules/railings.py), as a model checker reads the code the designer designed
to; P5 has its own allowance (LAP) since 2026-11-06.
gen/__init__.py:47), compose
chooses among alternatives by it, and a block's dimensions are computed both in dsl.Block._dims and in
design/block.dims. Done 2026-11-07: retired (see step 4 below).
rules/openings.drawn_opening sizes openings for the planner; dropped openings travel by module
globals that seven tools must clear before each seed; design/stacks.FALLBACK is never cleared. Done 2026-11-07:
geometry/walls.wall_segment adds the openings it drops to a list its caller passes; a chimney's fallbacks are
its context's own (breasts._Ctx.fallback).
design/pipeline.py holds about 20 planner passes (the interior's pass order is inside
design/bim.plan_walls); dsl.py mixes the request language with the old compiler; design/chimneys.py mixes placing,
routing, party walls, twins, furnaces and clearances; check/rooms.py holds I1-I38; _world is defined six times;
46 untyped ext keys carry element data between planner, builder and checks. Done 2026-11-07: design/pipeline.py
the passes' order (346 lines; the passes in supports.py, courses.py, railings.py); check/rooms.py split into rooms,
circulation and stairs; design/chimneys.py layered (breasts, flues, fires, furnaces, chimneys: each imports only
those below); asbuilt.world the one _world; the ext keys the core reads the model's typed fields.
1. Checks that measure what is built (section 1): structured refusal records in place of notes; I13, I34, I38 and I30 from the built parts; every open edge guarded; GD1 on every nosing; no free or wall exemptions; I13's own reach rule. Each proven on the changes above that now pass, then a survey (it may find real faults, such as seed 50's lost rooms). 2. A regression harness: a test per check code that makes it fire, the detail-regression cases in the test suite, the registry test tightened, the five weakened guards restored and the nine unproven ones proven. 3. Practice: P1-P11 change how the buildings look; each through the usual before and after renders and its check. The two divided points are the user's to decide. 4. Separation: shared stair and roof decisions onto the model, constants into the rule table, the old compiler out of the generator, the large modules split. The least visible and the largest; best after 1 and 2, so the checks guard the refactor.
The user, 2026-11-06: "Do all steps", and where practice divides, both options in the DSL.
Step 1, checks that measure what is built (in progress):
Practice(steps=..., flight=..., width=...)), and the generator draws one source for the building and takes
every term it gives (Palladio's stair is his flights, width and steps at once), a code's for the rest. Every
building already carries its rules (Volume.rules, .rules(...) on any node): an option is a field of them.
Researched 2026-11-13 (two read-only agents; quotes in the session's scratchpad, practice/research.md and audit.md).
The model codes were read in their California editions (CBC and CRC 2025, from IBC and IRC 2024: the IRC's chapter 3
renumbered, R311 now R318, R303 now R325); paywalled standards (NFPA 211, ASME A17.1, BS 5395-2, BS 5534, EN 81-70)
are taken from what other documents quote of them.
Four of today's rules misread their source: Palladio's 2⅙ is his window's, not his door's (P1); Approved Document J
asks 0.6 m over a ridge within 0.6 m of it, not 2.3 m (P3); Palladio's vaults rise a third, not a sixth (P8, no source
found for a sixth); the "Blondel" stride of 0.63 m is Neufert's (Blondel's is 24 pouces, 0.65 m: P6).
| Family | Now | The options (source) |
|---|---|---|
| Stairs: risers to a flight (P4) | 16 | Palladio I.28: 11, 13 at most, odd; Alberti (in Blondel III.3): 7 or 9; Approved Document K 1.18: general access 12, utility 16, private none (36 in a row, then a turn of 30°); Approved Document M vol 2 1.33h, outdoors: 12, 18 on goings of 350 mm; IBC 1011.8: a rise of 12 ft; IRC R318.7.3: 12 ft 7 in |
| Stairs: flight width (P5) | 1.0 m | Palladio I.28: 4 ft, 1.43 m ("that if two persons meet"); Blondel III.10: 4 royal ft, 1.30 m; Scamozzi (in Blondel): principal 5-8 ft, secondary 3-4 ft; IBC 1011.2: 44 in, 36 in under 50 occupants; IRC R318.7.1: 36 in; Approved Document K 1.15: 1200 mm between walls; Approved Document B vol 2 Table 3.1: 800, 1000 or 1100 mm by use |
| Stairs: steps (P6) | riser 0.13-0.19 m, stride 0.60-0.66 m | Palladio I.28: risers 4-6 in, treads 1-1½ ft (0.12-0.18 by 0.36-0.54 m); Vitruvius III.4.4 (a temple's steps): 9-10 in by 1½-2 ft; Blondel III.14: 2 risers and a tread 24 pouces (0.65 m); Benjamin (1845): riser 8 in at most, tread 15 in at most; IBC 1011.5.2: 4-7 in by 11 in (dwellings 7¾ by 10); IRC R318.7.5: 7¾ by 10 in; Approved Document K Table 1.1: private 150-220 by 220-300 mm, utility 150-190 by 250-400, general 150-170 by 250-400, 2R+G 550-700 |
| Stairs: spirals (P7) | Palladio's, a column a third of 2.0 m | Palladio I.28: a column a third (or 3/7, Trajan's), an open newel half the diameter, Barbaro's with none, the oval; IBC 1011.10: 26 in, treads 6¾ in at 12 in, risers 9½ in, a way out only in dwellings or rooms under 250 sq ft; IRC R318.7.11.1; Approved Document K 1.28: BS 5395-2 |
| Stairs: a handrail on the walled side (divided) | none | IBC 1011.11: both sides (one in dwellings and on spirals); IRC R318.7.8: one side; Approved Document K 1.34-1.35: both sides at 1 m wide and in buildings other than dwellings; the treatises: none (a dado) |
| Outdoor steps over 30 in (divided) | IBC 1015.2: guards (no exception for monumental steps); Approved Document K 1.40-1.41: guarded at two risers, in dwellings over 600 mm; Vitruvius III.4.4: steps all round, unguarded | |
| Inner doors (P1) | width × 2⅙, down to 0.8 by 1.73 m; closets 0.7 by 2.0 m | Palladio I.25: 2-3 ft wide, 5-6½ ft high (0.71-1.07 by 1.79-2.32 m); Vitruvius IV.6: Doric 2.18 times as high as wide at its foot, tapering, Ionic 2.5; Benjamin (1816): 3 by 7 ft in rooms 10 ft high, 3½ by 8 ft in rooms 12-13 ft high; IBC 1010.1.1: 32 in clear, 80 in high (78 in in dwellings; closets under 10 sq ft exempt); ADA 404.2.3: 32 in; Approved Document M: 750-850 mm by the corridor; Approved Document B: 750-1050 mm by the occupants |
| Roof and pediment pitch (P2) | 12.5° | Vitruvius III.5.12: a ninth (12.5°); the Greek remains (Nicholson): a ninth to a fifth (Parthenon, Theseion 14°); Serlio IV: a sixth (18.4°); Philander's circle (in Blondel): 22.5°; Palladio I.29 and the Pantheon (Scamozzi, Blondel): two ninths (24°); d'Aviler: a fifth (21.8°); Benjamin (1845): an eighth to a fifth by size; Nicholson's roofs: slate a quarter (26.6°) or a third (33.7°), square 45°; BS 5534 by covering (slate 20°, plain tiles 30-35°); a lead flat |
| Chimney tops (P3) | 1 m over its roof, 0.6 m over a ridge within 2.3 m | Approved Document J (2022) Diagram 17, A-D (over the ridge within 0.6 m of it; 1 m over where it leaves the roof or as high as the ridge; 1 m over an opening within 2.3 m; 0.6 m over a building within 2.3 m); IRC R1003.9: 3 ft over its roof and 2 ft over anything within 10 ft |
| Vaults' rise (P8) | a sixth of the span | Palladio I.24: a third, all six kinds; Scamozzi II.VIII.14: a quarter, a third or two fifths; Patte (Cours VI p. 118): no flatter than an eighth, Lyon's a sixth or a seventh (p. 99); Rondelet (Traité II pp. 281-3): floors' brick vaults a twelfth to a fifteenth; Alberti III.13: a diminished arch tied or abutted, no figure; the codes none (IRC R606.10, TMS 402, EN 1996-1-1 1.1.2(5)P) |
| Vaulted rooms (P8) | the base storey's | Palladio II: the first rooms too (the second ceiled), I.23 their heights (a square room 4/3 of its breadth, an oblong one the arithmetic, geometric or harmonic mean); Alberti V.18: the ground floor's; Serlio VII.18, d'Aviler: the rooms under ground; Rondelet, Patte (Lyon): every floor; Alberti IX.3, J.-F. Blondel, Ware (1756) and Nicholson's vaulted heights not yet options |
| Flues (P9) | one 14 by 9 in flue to every fire | Palladio I.27: ½-¾ ft by 2½ ft; Benjamin (1816): 12 in square, 16 in to a 4 ft fire; Approved Document J Table 2: 200 mm round up to a 500 by 550 mm opening, else 15 % of the opening; IRC R1003.15.1: a twelfth (round), a tenth (square), an eighth (oblong 2:1) |
| Lift car (P10) | 1.4 by 1.6 m, 0.9 m door | ADA Table 407.4.1: 80 by 51 in (42 in door, centred), 68 by 51 in (36 in, side), 54 by 80 in or 60 by 60 in (36 in); IBC 3002.4: a 24 by 84 in stretcher from four storeys (1.4 by 1.6 fails it); EN 81-70: types 1-5 (1000 by 1300 to 2000 by 1400 mm); Approved Document M: 1100 by 1400 mm |
| Rooms lit (P11) | any opening in an outer wall | Palladio I.25: a window ¼ to ⅕ of the room's breadth (his 4½ parts of a room 5:3), 2⅙ high, a sixth lower each storey up; Chambers (Treatise, Of windows): (depth + height) / 8 of the principal floor's rooms, 2⅛-2⅓ high there, 1½-1⅘ above, a double square below, an attic's square; Morris (Lectures, 1734): light √(length × breadth × height), feet; Gwilt 2748: 1 sq ft to 100 cu ft; IBC 1204.2 and IRC R303.1: glazing 8 % of the floor (or artificial light, 1204.1, R303.1 ex. 2); Approved Document F: 1/20 opening |
The rest picked one source where others differ (audit, 22 items): the revival orders one canon each, no Tuscan or Composite (Palladio I.14-18, Chambers, Scamozzi); intercolumniation fixed by order, the height not by the spacing (Vitruvius III.3.10, Palladio I.13, Chambers' ditriglyph); windows 2:1 (Palladio 2⅙ and his storeys a sixth lower, Chambers by storey); crowning balustrades 1.0 m (Chambers ⅔-⅘ of the entablature, Palladio and Jones equal to it); the Doric corner (Vitruvius' semimetopes, the Roman triglyph over the column); the Ionic angle capital (Scamozzi's); entrance doors 2.1:1 (Palladio 2.4, Vitruvius 2.18 tapering, Chambers); arcades 2:1 with piers ½ (Palladio by order); storeys all 4.0 m (Palladio I.23, Chambers: by the room); rooms' proportions Palladio's only (Chambers to 1½); superposed orders two ways in two modules; pilasters (Chambers ¼, ⅛, ⅙; Scamozzi diminished); and on the codes' side corridors, rooms' least height and area, the lift's storeys (I12), travel distance (I11), the handrail's grip, sills, a podium's steps, guards' heights, hearths.
Order of work: the stairs first (P4-P7 and the walled side's rail, one family; the remaining I44, I45 and I46 rounds wait on it, since every stair's place moves with its flights), then doors (P1, S11's xfail with it), then the rest; each through before and after renders and its check.
Stairs done (2026-11-13, the user: "Go on"): P4, P5, P6 as options (rules/practice.py; dsl.Practice; the generator's draw by period, gen/periods.authors; the planner keeping to them; I10, I22 and the new I47 testing them: on the planner as it was 84, 78 and 23 seeds, on the new none; fix 135). Survey pr4: 270 seeds clean (269). The larger stairs expose faults elsewhere, the next round: an upper stair's landings over a lower one's well where the storeys differ (I30, five seeds), doors' ways to them (I45, eight), guards at their ends and over a galleried hall's stair (GD3, GD10, GD15, GD17), a closet (I15, 237). Then P7 (spirals) and the walled side's rail. That round (fix 136, 2026-11-13: landings' columns sought onto what is under them, balusters' runs to the millimetre, a stair in a hall's void; survey rd1b, 267 clean) and the next (fix 137, 2026-11-14: a spiral placed tested from the doors on both its floors, a raised landing placed only where a column can come down under each free corner, a stair placed later leaving one; survey rd5, 275 clean, I30 15 seeds to 2, I45 12 to 5) left I30 on 300 and 337, I45 on 129, 280, 293, 355, 1522, and new against rd1b 293's and 129's places (I44, I46, I13), 378 (I46), 148 (GD6). A blind spot found and closed with it (C11). The eleventh round (fix 138, 2026-11-14, "go on") took those up: two more blind spots (C12, C13), and a reading stricter than the code's, a stair's whole plan taken for a wall down to the floor where one walks under its upper flights (IBC 1003.3.1: 80 in clear over a walking surface, a barrier only where less). The twelfth (fix 139, 2026-11-14, "go on") fixed the planner under checks already there: columns through floors gone (I30 7 findings to 0), 58's chamber, 16's newel, 386's twin closet; 298 seeds clean (survey rd8). Twin wings' halls carved alike is the next structural step (Palladio I.21), then the strip by a half landing (I46). The thirteenth (fix 140, 2026-11-15) took the strip: a half landing carried to its wall, a hall's floor whole (I46 18 seeds to 5; 304 seeds clean, survey rd10). The fourteenth (fix 141, 2026-11-15): I27's gate read as the planner must build (its block's practice, I33's share); rails, balusters and registers (G19, GD3, I41 to 0 or 1); 315 seeds clean (survey rd13). Next: the court corner's forms as a DSL option (dog-leg or winding stair), a framed-opening model for the planner (I45, I46). P7 (fix 142, 2026-11-15, the user: "Continue until refactoring is complete"): spirals by the source their plan names, Palladio I.28's three round forms (a column a third, three sevenths, void in the middle), IBC 1011.10, IRC R318.7.11.1, Approved Document K 1.28's BS 5395-2 categories A to E; the planner sizing each from it, I10 testing it, I22 a void's inner edge (HANDOFF, fifteenth round). Survey rd19: 312 seeds clean (315). Then (fix 143) the IBC's spiral a way out only within a dwelling or from 250 sq ft (1011.10): I48, the planner placing none as a storey's only stair there (12 seeds to 5, those whose rooms take no stair of flights: the rooms planned for one, next). Left of P7: Palladio's oval and crooked steps. The walled side's rail (fix 144): every source an option, the treatises' none, the IBC's, the IRC's, Approved Document K's; the planner's handrails on the walls, I49 testing them. P8 tried (2026-11-15) and taken out: Palladio's third alone unvaults the 4.0 m base storeys; with their heights by the room (I.23). P1 (fix 145): doors between rooms by their practice, Palladio's, Benjamin's, the IBC's, the IRC's (none), Approved Document M's; I50 testing them, S11 their least height (its xfail closed). P3 tried and taken out: the codes' 2 ft over the building within 10 ft lifts a stack by a taller wing far over its roof, so a roof's stacks differ (CH4, 22 seeds) or leave their room's envelope (S2); it waits on the chimney planner choosing places the practice does not carry high. P10 (fix 146): a lift's car by its practice, the IBC's (ADA Table 407.4.1 and 3002.4's stretcher), the IRC's (none), Approved Document M's; I51 testing it (survey rd36: 309 clean). P11 measured: 39 % of the rooms one lives in have openings under 8 % of their floor, and most windows are narrower than Palladio's fifth of the room's breadth; it waits on windows sized by the rooms behind them. P2 (fix 147): roofs' and pediments' pitch by their source, named in the program (Vitruvius, Serlio, Philander, the Pantheon, Palladio, d'Aviler, Benjamin, Nicholson, BS 5534), the generator drawing its period's; R25 testing it, a lowering recorded (survey rd39: 308 clean). P9 in part (fix 148): fires sized to the planner's 14 by 9 in flue by the codes' ratio (the IBC's and the IRC's a tenth, Approved Document J's 15 %), CH10 testing it; Palladio's and Benjamin's flues wait on the stacks sized by their block's practice. P9's rest (fix 156, structural step 4): Palladio's flue (I.27) and Benjamin's (1816) options of the flue term (rules/practice.FLUES, flue_of: the planner's own within the source's least and most), a roof's stacks and its breasts' chases sized to its blocks' flues, CH4 and CH1 reading them, CH10 the codes' alone; the generator drawing them with their treatise (survey rd82: 51 programs redrawn, the findings as rd81, 309 clean). P3 (fix 157, structural step 4): the tops by their source (rules/practice.tops_of: Approved Document J's Diagram 17 A-C, the IBC's and the IRC's 10-3-2; the treatises none, the planner's own so labelled), the planner topping a roof's stacks by it (one height, a stack its practice lifts alone) and placing them, where their flues reach, out of the reach of what would carry them above their own roof (design/stacks.tall_zone, nudge); CH6, CH3, CH4, S2 reading it (survey rd87: the findings as rd82, 309 clean). Step 4's stacks done; left of it, Diagram 17's D (an adjoining building's: none here) and the breasts' own places chosen for the tops (tried: six times the planning). Single pick 18 (fix 158, structural step 5): the handrails' grip by the rails' practice (rules/practice.Grip: IBC 1014.3.1 Type I and 1014.7, the IRC's, Approved Document K's Diagram 1.13 outside a dwelling; the treatises none), the planner making a joiner's, a smith's and a wall's handrail round (48 mm) and laying one on brackets along a stone balustrade's, a lattice's or a parapet's inner face; GD18 testing it (survey rd98: the findings as rd87, 309 clean). Step 6 (fix 159): outdoor steps guarded by their practice (rules/practice.PERRONS: IBC 1015.2, the IRC's, Approved Document K 1.40-1.41, Vitruvius none), named on a plan or the building's own (Node.practice, which also gives a temple a practice), the planner balustrading a flight's cheeks, GD19 testing it (survey rd102: the findings as rd98, 309 clean). Single pick 22 (fix 149): hearths by the practice (the IBC's and the IRC's 16 and 8 in, 20 and 12 in from 6 sq ft; Approved Document J's 500 and 150 mm), CH11 measuring them as built. Single pick 9 (fix 150; the user, 2026-11-16: "Yes", storeys by the room first, for P8 with it): a block's storeys by its rooms, every source an option (Palladio I.23, Chambers; the codes' least: IBC 1208.2, IRC R305.1, the Nationally Described Space Standard, England's none), the planner planning such a block again on its principal room's height, I52 testing it. The generator does not yet draw Palladio's: his storeys stand his porticoes' and loggias' columns off the bays first planned and ask three flights of his stairs (HANDOFF, twenty-fourth round); P8 waits on those. Fix 151 (the user: "Why not 1", "Go on"): his houses composed his way (porticoes to the principal storey, loggias two tiers), their fronts measured on the storeys their rooms ask, his heights drawn (HANDOFF, twenty-fifth round); next, P8 on them. P8 (fix 152, the user: "Continue until refactor is complete"): vaults by their source (rules/practice.VAULTS, dsl.Practice vaults: Palladio's third and his first rooms, Scamozzi's, Patte's, Lyon's, Rondelet's, Alberti's ground floor, Serlio's rooms under ground; the planner's own sixth now its own, no source), Palladio's vaulted storey by his vaulted rooms' heights (I.23), I16 and I52 testing them (HANDOFF, twenty-sixth round; survey rd66: 309 clean, rd61 308). P11 (fix 154, structural step 2): windows by the rooms, every source an option (Palladio, Chambers, Morris, Gwilt, the codes' daylight, Approved Document F; the codes' default natural or artificial light, the planner's own), the planner sizing a block's windows by its rooms and I53 testing them; the generator's draw of Palladio's held (his windows cannot be had on 10 of his 15 seeds: the planner's chambers broader than his, fronts narrowed by porticoes; HANDOFF, twenty-seventh round). Single pick 4 (fix 155, structural step 3): a guard walked by apart from the crowning balustrade (rules.guard_least; model.schema.rail_scale), the crowning one by its source named on the order (rules/practice.BALUSTRADES: Chambers two thirds to four fifths of its entablature, Palladio's and Jones's equal to it), R26 testing it; the generator's draw for the Palladian period held (a tall balustrade's mirror, G9; a wing's at the main block's architrave, S7; HANDOFF, twenty-eighth round). The review's questions answered by standard practice (the user, 2026-11-17: "Use standard practice for answers"; HANDOFF, thirty-third round): Palladio's porticoes pedimented (II.16: a front term, rules/practice.FRONTS, R27; fix 160); a stack no higher than four and a half times its least width above its roof (Approved Document A, Diagram 20: CH12; fixes 161 and 162, its fire placed where its stack stands clear, else the stack tied to the masonry beside it). Single pick 21 (fix 163): guards' heights by the practice (rules/practice.GUARDS, dsl Practice guards: the IBC's 42 in, 36 in within a dwelling and 34 in on its stairs; the IRC's 36 and 34 in; Approved Document K's 900 mm on a flight and 1100 mm otherwise, 900 mm within a dwelling but on a balcony or a roof's edge; Chambers' three feet to three and a half), and the handrail's height by the rails' (the codes' 34 to 38 in, Approved Document K's 900 to 1000 mm); a flight's guard at its practice's height, a handrail on brackets inside it where that is higher than a handrail stands (the IBC's 42 in outside a dwelling: every flight had stood 0.9 m); GD20 new, GD1, GD9, GD12, GD19, I22, I24 reading it (the old heights: GD20 95 seeds, GD9 100, GD12 119, rd109; survey rd108: the findings as rd105, 309 clean). Single pick 7 (fix 164): entrance doors by the practice (rules/practice.ENTRANCES, dsl Practice entrance: Palladio I.25's two of three and a half parts of the storey and 2.4 times as high as wide, Vitruvius IV.6.1's, Chambers' double or a trifle more, the codes' clear sizes), the planner sizing and narrowing an entrance by it, O22 testing it (survey rd120). With it (fix 165; the user: "Handrail shouldn't be floating"): every handrail on brackets let into a baluster, a newel or a wall, GD21 (rd120: 21 seeds left). Those 21 (fixes 166, 167; the user, 2026-11-17: "Finish those"): a stair to an attic rising past its hall's walls into the main tier's entablature, its hall now walled up to the floor it arrives on (design/stairhalls.carry_up), a flight's side open where its wall stops under its handrail (I22); brackets filling a gap of more than 1.2 m, a wall's handrail past its wall's top on posts to the treads (IBC 1014.6); rd121: GD21 on no seed, 311 clean. The orders by their authors (fixes 168-171; single picks 1, 2, 5, 6, 8, 11 and 12's diminution): each author's canon an option (rules/orders.CANONS: Vitruvius, Vignola, Palladio, Scamozzi, Chambers, Serlio, Stuart and Revett), its column, entablature (or his share of the column), spacing (Vitruvius' height by it, III.3.10), arcades, an upper tier's diameter, his Ionic capital (Scamozzi's four diagonal volutes), his pilasters diminished; the Tuscan and the Composite; the Doric frieze's triglyphs built again, the corner by its practice (Q16, Q17 new; Q8, Q9, Q15, O10 reading them). Left of pick 12: the pilasters' projection by author (tried 2026-11-18, held: r44a's G9, S2 and I21 on Chambers-canon seeds; docs/HANDOFF). Rooms' proportions by the practice (fix 172, single pick 10): each source's forms an option (rules/practice.PROPORTIONS: Palladio I.21, Chambers, Robert Morris, Ware, Alberti IX.6, Gwilt), the planner grouping its bays by them, I2 testing them; the Palladian period drawing Palladio, Alberti, Morris or Ware. A room's least, a corridor's width and a flight outdoors' steps by the practice (fixes 173-175): each source an option (rules/practice.LEAST_ROOMS, CORRIDORS, PERRONS' steps: the IBC, the IRC, the Space Standard, Approved Documents K and M, Kerr, Vitruvius, Palladio), the planner sizing them so, I54 and S15 testing them. Sills by the practice (fix 176): Chambers', the IBC's, the IRC's, Approved Documents K and B's, I55 testing them. Travel by the practice (fix 177): the IBC's 75 and 200 ft and its third storey's two stairs, Approved Document B's 18 and 45 m, I11 testing them. Lifts by the practice (fix 178): the IBC's and Approved Document M's two storeys, a dwelling's none, the planner's own five, I12 testing them.
Step 4, separation (begun, the user: "I see many files under Greek. Needs to clean up"): greek/'s top level reorganised, nothing in the output changed (every seed's design and parts fingerprinted before and after, tools/spin_fp.sh): the old pipeline in greek/legacy/, the rule table in greek/rules/, the roofs' skeleton in greek/kernel/, Blender in greek/render/, greek/sample.py gone; dsl.py alone at the top. Then the stages as siblings (design/build/check, 4b32d58), and in the industry's terms (the user: "Make it more aligned with industry standard"): greek/model (the schema, its file, its views) apart from greek/design (authoring) and greek/check (model checking), greek/geometry (each element's representation), greek/kernel, greek/ifc.py. The parts' shapes dissolved (the user, "Parts don't sit well logically along design and gen", "Why are parts among plan and build?"): their dimensions and proportions to greek/rules/, their meshes to greek/geometry/; what the design and the geometry read from the checks to the model and the rules; the layering a test (tests/test_layers.py). The old pipeline retired (2026-11-07, the user: "Legacy should be retire"): the composition layer moved to greek/gen/compose.py, measuring each body as the design plans it (gen/measure.py: the design's own block planner) instead of the old compiler's sizing (it disagreed on 8 of 88 blocks' bays), its rules checked when a program is resolved, without compiling it; dsl.py the request language alone (3,447 lines to about 1,000: its compile, attach and build code gone); the old compiler's own tests (234) and the scripts that rendered through it removed. The generator's programs change for 107 of the 403 seeds (94 because the old compiler's fit rules no longer reject alternatives: V10 81, V11 66, L1/L2 120, V6 41, V13 51, V3 27, Z3 21; 13 for the design's sizing). The survey then found those 107 with exterior faults the old compiler had refused (24 seeds with findings became 46: P1, Q8, S7, O7 ...): the generator now keeps a program only if the design builds its exterior sound (gen/measure.exterior_faults). After it (out/spin/final2): the 297 seeds whose programs are the same have the same findings; the 106 whose programs differ 26 with findings against 24, all the interior's (I21 and others the planner has on other seeds); 0 refused. Seeds 4, 5, 7, 10, 16, 31, 82, 132 the tests were written on frozen as tests/progs/s<seed>.prog. That was wrong to call done: the exterior check runs greek.check, which had none of the old compiler's fit rules, so the 106 broke them unseen (87 refused by the old compiler on re-running it). Restored the same day as checks on what the design plans (O21, Q14, P7, W23, Q15, P3 at the entablature's foot) and as rules measured on each candidate front (gen/measure.fit_faults); the planner fits an entrance into its loggia's intercolumniation. Survey out/cycles/lost5: 334 clean, 69 with findings (all the interior's), 0 refused; 295 seeds on their pre-retirement programs (HANDOFF, Status).
Surveys run on spin (the user: "Use Della or spin or wash"), 64 at once; B14's design made again alongside each seed's own, not after it (seed 219: 538 s planning, 507 s B14). Seed 219's planning was 96 % its fireplaces' placing (design/chimneys: 38,000 candidate breasts, each routed up and its stack's place sought): halved 2026-11-13, each breast's ways up sharing what they draw, the designs the same (HANDOFF, the surveys' long poles).