# House: writing a house down

You write a house as a few sheets of plain sentences, one sheet for each concern. An engine lays the house out,
draws the walls, and holds the house to a set of named patterns: for each room it proves the pattern or says, in a
sentence, what is missing and what to do. You never compute geometry. You say what is beside what and how big
it is, and read positions back in feet.

## The shape of a sheet

A sheet is headings and sentences. A heading is a room's name on its own line. Under it, indented one space, one
sentence a line about that room. That is the whole grammar.

```
the living room
 is 20 by 15
 has the front door, near the west end
 has a window on the south, 1'8" from the west end, 6 feet wide
 opens to the kitchen

the kitchen
 is east of the living room
 is 14 by 15
```

Headings: `the house`; a floor (`the second floor`, `the basement`); `every room`, `every bedroom`; `a pattern: <its
name>`; anything else is a room. A line starting with `#` is a comment. Blank lines are nothing.

**Names.** A heading is the room's name as the family says it (`the guest room`, `our bedroom`, `Ella's room`), and
the engine says it back the same way. Names match without `the`/`a`/`an`, `room` after another word, case and
anything not a letter or digit, so write a name the same way everywhere and never give two rooms names that reduce
to the same words (`the guest` and `the guest room`). Kind words in a name keep it a name (`the stairwell`, `the
wc`). The kind is the last kind word in the name (`the guest closet` is a closet, `the guest bath` a bath), or a
sentence `is a bedroom`; a room with no kind word and an egress window is taken for a bedroom, but say it. `is a
<kind>` the engine does not know (`is a gazebo`) is an `E05` and the room is left out until it is a known kind.

The kinds: living, kitchen, dining, bedroom, guest room, bathroom (wc, powder room), hall, foyer, mud room, closet,
pantry, laundry (`the laundry closet` too: 5'6" by 3', a washer and a dryer side by side on the long wall opposite its
door; `is 5'6" by 3` and `is 3 by 5'6"` are the same closet turned, and the machines follow the long wall), utility, office, den,
study, family room, nook, loft, music room and studio (shared rooms, like a living room), sitting room (private-ish,
like a den), workshop (inside and counted), garage, porch (veranda), deck (terrace, patio), carport (outside,
roofed), shed (an outbuilding; `is a detached workshop` is one), ramp (outside, like a path), alcove (a recess open
to its room; `is a bay` placed beside a room adds floor beyond it with no wall between, where `is in the corner of`
takes floor), yard (garden, lawn: open ground, no walls, no roof), void. Laundries, workshops, kitchens, music rooms,
studios, utility rooms and garages are noisy (W60). Porches, decks, carports, sheds, ramps and open ground are not in
the floor area.

**Numbers** are feet unless they say otherwise: `12` is twelve feet, `13'8"` and `10 inches` are what they say.

**A size is the clear size**, finished wall to finished wall: `is 12 by 11` is 12 feet across (east to west) by 11
deep (north to south), and the engine adds the walls (6⅞" outside, half of 4½" between rooms; a side partly against
another room counts as between rooms, and the wall to an attached garage is the house's outside wall). Write sizes
in whole feet, or as the usual sizes below give them (the laundry closet's 5'6" by 3'); never compute inches. A
closet carved from a room spans it or leaves at least 2 feet beside it (E28): in a mud room 6 feet wide the laundry
closet is `6 by 3`. The engine lines walls up: a free edge (the one a size sets, not
a placement) less than a foot from a wall of a room in line with it, or from the house's outside wall, moves onto
it, and the readback says so (`13'1" by 12' clear (written 13' by 12'; lined up: the east wall with our bedroom)`).
It never shrinks a sized room to meet the outside wall, only to meet a room in line or to clear an overlap. A few
inches off is right: never fix it. A foot or more is a lint.

**A place along a wall** is the distance from one end to the near edge of the door, window or fixture: from the west
end of a north or south wall, the south end of an east or west wall, unless `2 feet from the east end` (its east edge
2 feet from the east corner); `near the west end` is a foot from that corner, `at the east end` against it, nothing
the middle. The ends are the corners of the room's whole rectangle, what is carved from it included (a mud room
with the powder room carved from its south end still measures from its own south wall). A distance on a later sheet replaces the earlier one, its end too.
Doors and windows measure from the wall's line, fixtures from the finished face; a point in a room (an island, `has
stairs at 3 1`) is from its finished southwest corner.

## The sheets

Every sheet names rooms by the same words; the engine merges them, later sheets refining earlier ones.

- **plan**: which rooms there are, what each is beside, inside, above or below, what it opens to, and the stairs.
  Alone it is a house, every room at its usual clear size: a room, bedroom, office, den, foyer or guest room 12 by
  11; living room 18 by 15; kitchen 14 by 15; dining room 12 by 12; bath 6 by 8; closet 4 by 2; pantry 4 by 6;
  laundry 5'6" by 3'; garage 22 by 22; porch 20 by 8; deck 12 by 10; carport 20 by 20; shed 8 by 6; music room or
  studio 14 by 12; a hall 3'6" wide and as long as it runs; a utility room 6 wide and as deep as it runs.
- **size**: `is 20 by 15` for each room, where each door and window sits, with its width.
- **fit**: counters, fixtures, appliances, the stairs to the inch.
- **finish**: floors, ceilings, surfaces, thresholds, the roof: free words the engine keeps and shows. A door or a
  fixture named here is only a word about the room (`has a cat flap in the sliding door to the porch`).
- **systems**: the stack, the panel, the registers, mostly under `the house`.

A sentence about one thing (`is 20 by 15`, `has an oak floor`, a placement) replaces an earlier one; sentences
about many things (doors, windows, counters) add up, paired in order: the plan's `has a door to the hall` and the
size sheet's `has a door to the hall, 10 feet from the west end` are one door. Give a room its size on one sheet
only (W63). `every room` and `every bedroom` say the usual; a named room overrides.

## The sentences

Where a room stands:

| write | meaning |
|---|---|
| `is east of the living room` | against its east side, the south corners together (for `is north of` or `is south of`, the west corners); `, aligned to the far end` lines up the far edges instead, the north edges (for north or south of, the east edges); `, aligned` alone says the same as `, aligned to the far end`; `, shifted 2 feet` |
| `runs along the north side of the living room to the pantry` | a hall against that side, from its west end to the far edge of the pantry, 3'6" wide unless `is 4 feet deep`; `runs along the east side of …` runs north |
| `is east of bedroom 2 to the hall` | stretched: `to <a room>` reaches that room's far edge in another row, and stops at its near edge when it stands in the room's own row. The room waits for that room: never place that room from this one (`E09`) |
| `fills the rest of the row` | with a placement, reaches the house's outside wall on that side (never through an attached garage); give only the other size (`is 10 deep`) |
| `is in the northwest corner of bedroom 1` | carved from it (a closet); `is inside the loft at 16'8" 2'6"`. A terrace in a corner of the lawn lies on it and still counts. A carved room makes an L: the readback gives the largest clear rectangle |
| `is above the living room and the dining room` | on the floor above, filling them; `is below …`; `is on the second floor` |
| `is 20 by 15` | width by depth; `is 4 feet deep` lets the width reach what it runs to |
| `rises 2 feet` | a ramp's rise; read back as `rising 2' over 24', 1 in 12` |

Doors, windows, openings:

| write | meaning |
|---|---|
| `has the front door` | a door to the outside on the side the house faces, the street side |
| `has a door to the hall` | they must share a wall; `to the outside on the south`; `to the dining room on the south` picks the wall where two rooms meet on two |
| `has a french door to the terrace` | onto a porch, deck or terrace: on the side it touches |
| `has a pocket door to the pantry` | pocket, bifold, sliding, french, overhead, double; sliding, pocket and overhead doors do not swing; `, with a cat flap`, `, with a flush threshold`. A french or sliding door lights a room as a window does |
| `has a window on the north` | `an egress window` one big enough to climb out of; `a big window` six feet wide; `clerestory windows` high ones |
| `has 3 windows on the south, 4 feet wide` | spaced evenly; `, spread to the ends`, `, together in the middle`, or packed from `, 2 feet from the west end`; `, 1 foot apart` (2 feet unless said) |
| `has a hatch to the front porch` | an opening at counter height to a room or a porch; `a pass-through`, `a serving window` |
| `opens to the kitchen` | a cased opening; `has no wall to the dining room`; `has a half wall to the dining room, 3'6" high` |
| `, 3 feet wide` `, head at 7 feet` `, sill at 3'6"` | unless said a door is 2'8", a window 3', an opening 4' |
| `, hinged at the east` `, swinging out` | a door hangs from the west (or south) end and swings into its own room, its width deep |

What is fitted:

| write | meaning |
|---|---|
| `has a counter along the south wall, from the west end, 10'10" long` | 25" deep and 36" high unless said; `, as a peninsula` |
| `has the sink on the south wall, 4'6" from the west end` | sink, range, dishwasher, fridge, toilet, tub, shower (any room: `a dog shower`), vanity, corner sink or hand basin, washer, dryer, water heater, panel, air handler, oven (`a wall oven`), grab bar, shower seat, litter box; `, 5 feet long, in an alcove` |
| `has a bench along the north wall, 5 feet long` | a built-in seat or `a window seat`, `, with a cave under it`; `has shelves on …`; `has a rod along …`; `has a desk on …`; `has hooks on …` (coats); `has hooks for two bikes on …`; `has a place for the pram on …` |
| `has a fireplace on the west wall, 4 feet from the south end` | the fire and its hearth, drawn on the plan (`a wood stove`, `a hearth`); the place to sit round it is the room's, so give it the wall the chairs face |
| `has a table at 7 7'6"` | a table 6' east to west by 3' north to south, for eating, placed by its centre as an island is; `has a table 3 by 6 at 7 7'6"` turns it |
| `has an island 6 by 3 at 7 7'6"` | its centre from the finished southwest corner; `, with a table-height end` (3 feet of it at the east, or `a 30 inch table-height end at the west`) |
| `has stairs at 16'8" 2'6", 3 feet wide, climbing north to the second floor` | the stairs to the inch, from the corner they start at; replaces the plan's |

Footprints (along the wall by into the room) and the clear space in front: toilet 1'8" by 2'4", 1'9" in front, and 1'3"
from its middle to anything beside it (5" from its edge: the standard 5 by 8 bath, the tub across one end, then the
toilet and the basin on the long wall, fits); vanity 3' by 1'9", 1'9"; sink 2'; range 2'6" by 2'2", 2'6"; fridge 3' by 2'6", 3'; washer and dryer
2'3" by 2'6", 3'; tub 5' by 2'6"; shower 3' by 3' (`, 5 feet long, 4 feet deep` to step in and turn), 2'; oven 2'6"
by 2'1", 3'; dishwasher and water heater 2'; counter and desk 3'; bench 1'6" deep, 2'; island 3' all round; litter
box 2' by 1'8", 1'6"; corner sink 1'9"; bikes 5' by 2'; pram 3'4" by 2', kept clear; fireplace 5' by 1'8", 3'; table 6' by 3', 3' all round. Shelves, rods, hooks, grab bars
and shower seats sit over anything; a rod or shelves with no length run the wall they are on, never past it. Between two fixtures is the larger of their gaps east to west and north to south,
whatever walls they stand on: one in front of the other needs the clear space in front, one beside it the space
beside (equal is enough). A door's
swing is a footprint; a bifold folds over a closet's rod and shelves, but not a washer (a laundry closet wants a
sliding or pocket door). Fittings on the two faces of one wall do not meet.

Finish words: `has an oak floor`, `has a 9 foot ceiling`, `has a vaulted ceiling`, `has tile walls to 4 feet`, `has
flush thresholds` (under `every room`, step-free), anything else plainly said. Drawn: `has a skylight` (2' by 4', `, 2
by 4`, `over the stairs`), which lights a room nothing stands over; under a yard, porch or deck `has a fence all
round, with a gate on the north` (or `on the north and the east`) and `has a gate on the north, 3 feet wide`.

**The house and the floors.**

```
the house
 faces south
 is about 1,800 to 2,100 square feet
 has 2½ baths
 has neighbours close on the east and the west
 has a gable roof at 6 in 12, with 18 inch overhangs, ridge running east to west
 is built to irc 2021
 has 2x6 outside walls
 has a stack at 19'8" 25'
 has a lot 70 by 120
 has setbacks of 5 feet at the sides, 20 at the front and 15 at the back

the first floor
 has 8 foot ceilings

the second floor
 is 9 feet up

the basement
 is 9 feet down
```

`the house` may stand on any sheet. `faces` names the street side. `has a lot 70 by 120` is the lot, its width along
the street by its depth; the setbacks are 5 feet at each side, 20 at the front and 15 at the back unless `has setbacks
of …` says otherwise. When the family gave the lot, write it: the engine draws the lot line and the buildable line
dashed round the plan, the house's front on the front setback, and says W75 when the house with its garage, carport
and porches is wider or deeper than the lot allows. `has 2½ baths` is the family's count of baths (a half bath is a toilet and basin): with it, W55 says nothing
while the house has as many full baths as they asked for. The area is the family's target, inside the
outside walls (`, with the garage` to count it). Near neighbours give little light (W61). The roof is gable, hip,
shed, flat, gambrel or mansard. A floor with no height stands on the one below (its ceilings, 9 feet unless said,
and a foot of floor). A ceiling under another floor is at most a foot below it: a second floor 9 feet up leaves 8
foot ceilings beneath; for 9 foot ceilings there write it `is 10 feet up` on the plan sheet. A room is on the first floor unless it `is on …`, `is above` or `is below` something, or is
placed from a room on another floor.

**Stairs** go on the plan sheet under the room they rise from: `has stairs along the west wall, climbing north to the
second floor` (`, 2 feet from the south end`, `, 3'6" wide`; 3 feet unless said). Risers at most 7¾", treads 10": 9
feet up is 14 risers, 10'10" long; 10 feet up 16 risers, 12'6". The room needs that length clear along the wall and 3
feet at the foot. Over them the floor above needs a landing, hall, loft or void (never a bedroom, bath or closet) with
somewhere to step off at the top (`E30`). No void is needed for the stairs alone.

## The patterns

Christopher Alexander's *A Pattern Language* names what makes a house good: a number, a name, two stars where he was
sure. For every room it is for, the engine proves the pattern or gives an `A` lint (`A159`, `**` if sure):

| pattern | holds | for |
|---|---|---|
| main entrance (110) ** | a door to the outside on the side the house faces | the house |
| entrance transition (112) * | that door opens into a porch, foyer, hall or mud room | the house |
| intimacy gradient (127) ** | no bedroom straight off a shared room; no room visitors reach by their own door (music room, studio, office or study with an outside door) shares a wall with a bedroom; every bedroom more steps in than the nearest living, family or music room or studio (each door, opening or open side a step) | the house |
| indoor sunlight (128) ** | a window on the south | living and dining rooms |
| short passages (132) * | no longer than 25 feet clear | halls |
| sleeping to the east (138) * | a window or glazed door on the east | bedrooms |
| farmhouse kitchen (139) * | an opening or no wall to the living or dining room | kitchens |
| light on two sides of every room (159) ** | windows or glazed doors on two outside sides | living, dining, kitchens, bedrooms, offices, dens, studies, music rooms, studios |
| window place (180) * | one window at least 5 feet wide | living rooms |
| the shape of indoor space (191) * | no side more than twice the other | the same rooms |
| corner doors (196) * | every door within 3 feet of a corner | the same rooms |
| closets between rooms (198) * | against another room, inside one or between two | closets |

Where the plan truly cannot meet one (a room between two others has one outside wall), write `gives up <its name>`
or `gives up <its number>` under the room or the house, and say so in your words; never for one a window would meet.

Your own pattern is a heading and sentences: `a pattern: a view from the sink` / `for the kitchen` / `is likely`
(`is certain` for two stars) / `wants a window on the north` / `if not, turn the sink to a window`. The tests: `wants
light on two sides`, `a window on the east`, `a window at least 5 feet wide`, `no side more than twice the other`, `to
be no longer than 25 feet`, `every door within 3 feet of a corner`, `to open to the living room or the dining room`,
`to sit between rooms`; for the house, `the front door to open into a porch or a hall`, `the bedrooms behind the
living room`. Writing one of the engine's by name replaces it.

## What the engine says back

Lints, one a line, ending in what to do and the sheet and line: `! E28 the kitchen and the hall leave a 1' gap; make
one 1' deeper or shift it (plan 17)`. `E` must change, `W` should (fix it, or say why the family keeps it), `A` is a
pattern. Do what it says; do not guess positions. The whole house is held to good practice:

| lint | when |
|---|---|
| W50 | the area more than 5% over the family's target |
| W51 | halls and entry over 15% of the floor; per floor, landings over 15% of any floor but the entrance's; a foyer over 12 feet long and under 9 wide is named as a passage |
| W52 | a floor, without its garage, more than 2.5 times as long as deep, or any run of it (a wing, an arm, a row of rooms one deep) more than 2.5 times as long as it is deep; a porch set into the outline is part of the body, and a mud room, laundry or other service room linking the house to a garage is a link, not part of a run |
| W53 | an outline of more than 8 corners (a porch set into it counted in): when most of it is one rectangle it names what stands out of it and by how much, else the boxes a roof must cover and which to bring into line with which |
| W54 | a bedroom with no closet in it or off it, nor a rod |
| W55 | more than two bedrooms without their own bath to each shared full bath, unless the house has the full baths the family asked for (`has 2½ baths` under the house) |
| W56 | three bedrooms and no toilet within two doors of the front door short of a bedroom |
| W57 | a room laid out a foot or more off its written size |
| W58 | a foyer over 90 sq ft past its stairs and closets, a foyer over 12 feet long and under 9 wide (a passage, not a room to arrive in), or a hall over 5 feet wide (5'6" where it holds a bench): make it a room people stay in, or give the floor away |
| W59 | an outside wall less than a foot short of the next room's, both edges placed: place one `to` the other |
| W60 | a bedroom beside, over or under a noisy room or a washer, dryer, air handler or water heater: a closet, bath or hall between; over or under, `has a sound-deadened floor` on the finish sheet under either room is enough |
| W61 | a shared room lit only toward a near neighbour, or deeper than 16 feet from its windows: glazed ends, a light well, a skylight (none under another floor) |
| W62 | a bedroom under 10 by 10 or 110 sq ft clear (12 by 12 for the main one), or under 9 by 10 past what is carved from it (10 by 10 for the main one) |
| W63 | a room sized on two sheets with two sizes: the later is used; take the other out |
| W64 | a ramp steeper than 1 in 12 |
| W65 | a bath whose only doors are to bedrooms (give it a door to the hall), or a guest room with no full bath short of another bedroom |
| W66 | a bedroom whose only way in is through another bedroom, bedrooms reached across the middle of a shared room, den, office or study, or a shared room reached across the middle of a den, office, study or sitting room, rather than along its edge or by a hall off the entry |
| W67 | a slot of outside under 4 feet between two rooms: unbuildable and unroofable; close it or fill it |
| W68 | a living room, kitchen, bedroom or office under 12 feet wide and more than twice as long |
| W69 | a foyer, hall, landing or mud room with under 3 feet clear beside its stairs (the rail counted) or a fitting |
| W70 | a pantry that does not open to the kitchen |
| W71 | a house over 1,200 sq ft with no coat closet or hooks in or beside the room the front door opens into |
| W72 | a garage or carport more than 6 feet in front of the wall the front door is in (or the front of the porch before it): the car is the face of the house |
| W73 | a bath no bedroom owns (off a hall, or between two bedrooms) over 70 sq ft |
| W74 | a kitchen with no way to the garden or the car (a door from it, or from a mud room, back hall or dining room beside it) short of the living room |
| W75 | the house with its garage, carport and porches wider or deeper than the lot's buildable rectangle: by how much |
| W76 | a powder room (a bath with no tub or shower off a hall or shared room) farther from the front door than the nearest bedroom's door: the guests walk the bedroom hall |
| W77 | a den, office, study, bedroom or shared room whose only ways in are from service rooms (mud room, laundry, bath, closet, pantry, garage, workshop) |
| W78 | a room under its least size, past what is carved from it: a kitchen 8 feet between its counters (unless it is called a galley), a mud room 5 by 6, a den, office or study 8'6" by 10, a living, dining, family, sitting or music room or studio 9 by 10 |
| W79 | a street face that steps forward or back more than once (a porch set into it is part of the face): small boxes stuck on are named with their widths, to bring inside or make one wing at least 12 feet wide |
| W80 | no dining room, and no kitchen of at least 12 by 15 for the table (once the fittings are written, a table or an island in it) |
| W81 | a bath with no window behind a closet that takes the outside wall: give the bath the wall |
| W82 | the main bedroom (ours, or the one with its own bath) smaller, past its closets and bath, than another bedroom: it is the largest |
| E43 | once the fit sheet is begun: a bath with no basin or no toilet, a washer with no dryer (unless written `, stacked`), a bedroom's closet with no rod or shelf, a kitchen with any fitting but no sink, range or fridge |

Common errors: a gap or overlap is a size a foot or more off along a shared side (make one deeper, or run it `to` the
far one); `E09` placements in a circle (place one from a room already placed); `E30` the stairs and the floor above;
`E31` a heading written twice on one sheet; a door with no shared wall is a room against the wrong neighbour; a window
on an inside side moves to a side the readback calls `outside`.

Goals: `✓ bedroom 1: light on two sides of every room (159)` proved, `✗ …` open, `? …, given up`.

Each floor's readback ends with `* level 1 x 0e 129 165 … | y -213e -96 0 …`: the lines the rooms' walls stand on,
in inches from the first room's southwest corner, across (west to east) and then deep (south to north), an `e` after
one that is an outside wall. It is for lining rooms up; you never need to write it.

Readback, one line a room, the stairs on each floor, and each porch, deck and piece of open ground: `* the kitchen:
20' to 34' across, 0 to 15' deep; 13'8" by 14'3" clear; north: the hall; east: the pantry, door; south: outside,
window; west: the living room, opening`, then `* area: 1,835 sq ft inside (the family's target: 1,800 to 2,100),
garage 480 sq ft, porches, decks and carports 360 sq ft, halls and entry 295 sq ft (16%)`. Porches, decks and paths
cost about a third of a room a square foot. Read it to check that windows face outside, doors reach the room meant,
and sizes came out as asked. `~ the hall moved: …` lists what an edit moved; `show the kitchen` gives a room's
sentences with their sources, its free rectangle, its goals and lints.

## Start from a parti

Good houses come from a handful of arrangements an architect calls partis. The engine keeps eight, each a family of
plan sheets fitted to the brief before it is shown: the size nearest the family's, one bedroom fewer as an office,
the car as they said it (a garage for two cars, or for one where the lot is narrow, a carport, or none, beside or
behind the front face), a mud room by the car, a front porch and an office when they asked for them (or a word that it
cannot), the full baths the family asked for (and `has 2½ baths` under the house when they said), and turned so the
front faces the street. Only those that suit are offered (their floors,
bedrooms within one, size within about 15%, the lot and whether the sun or garden is on the street side), and every
fitted sheet loads with no error and none of the warnings: **the cottage** (900 to 1,300 sq ft, two bedrooms off a
hall from the front door), **the narrow house** (1,100 to 1,500, two floors on a narrow lot, a stair hall at the
street), **the front-garden house** (1,700 to 2,200, for a sunny street side: the shared rooms across the front beside
the entrance, a den and the service rooms behind them, three bedrooms behind those), **the compact house** (1,250 to
1,750, one floor in a plain rectangle about 48 feet wide and two rooms deep: the living room and the foyer at the
street, kitchen and dining across the garden with the car beside the kitchen, three bedrooms and both baths round the
end of one short hall), **the compact house for a sunny street** (the same, for a street on the sunny side: a big
kitchen on the street's sun beside the car, the living and dining rooms on the garden), **the ranch** (1,800 to 2,300, a compact body two rooms deep: the foyer near the middle of the street
face, kitchen, dining and living across the garden, the mud room between the kitchen and the garage at the side, the
bedrooms off one short hall at the other end), **the house with a second suite** (1,900 to 2,400, the ranch's body with
a guest or grandparents' suite along the street front) and **the centre-hall house** (2,200 to 2,800, two floors: a
stair hall in the middle between the living room and the study, the dining room, kitchen and family room across the
garden, the mud room with the laundry at the side and the garage beyond it, flush with the garden side; above, our
bedroom over the garden, the largest, with its bath and a walk-in closet, and three bedrooms and the hall bath, with
its window to the street, round one landing). When the rooms step gives you a
parti's sheet, start from it: rename its rooms as the family says them, resize them, add a room by lengthening a row
or taking a corner of a big room, and keep its bones: the front door into a foyer or hall, the shared rooms together
on the sun and the garden, the bedrooms gathered off one short hall or landing with their baths, no room a passage to
another, the outline a few boxes under one simple roof. Never hang a room off the outside as its own box.

## How to work

Large before small. First the plan: which way the house faces, the front door and what it opens into, the shared
rooms at the heart and the bedrooms behind them, every room beside what it should be beside, the rooms that want
light on two sides at corners, a closet for every bedroom, baths enough and a toilet near the front door, a laundry
with a name, the stairs and a landing over them, and no bedroom beside or over the kitchen, laundry or music room.
Keep it compact: rooms on both sides of one short hall, bedrooms round a small landing, or an L round the garden;
halls under 12% of the floor; the outline two or three boxes, rooms lined up so no slot of outside is left between
them. The front door is the door on the street side of the foyer, hall or room it opens into; a garage's car door
never counts as it. Then sizes, doors and windows (196, 180, 191); then fit and finish.

Name rooms as the family does; the first room written is at the origin; a door needs a shared wall, so place rooms
before opening them to each other; a porch is placed like a room and opened onto with a door. A door between two rooms
is written once: if each room's heading has one door to the other and at most one of them says where, they are one
door, at the place given and hanging as that sentence says. Unless its kind is written, a door into a closet under 3
feet deep is a bifold and a door into a bath under 6 feet across from it a pocket door. Hooks, grab bars and shower
seats sit over a door's swing and a bifold folds over a rod and shelves; nothing else does (E41). A hall with a bench along it wants 4'6" where
the bench is (1'6" of bench, 3 feet to pass), 5'6" for sitting to pull boots on.

The engine checks what you send and asks again until no `E` is left. Each round: do what every `E` says by the
smallest change; never send the same change twice (read the room's readback line instead); fix a `W` when it is
plain; keep what the family asked for.

## Talking to the engine

Over the port, one line at a time, every reply ending in `✓` or `✗` with the house's version: `file size 38` (then
38 lines, replacing that sheet), `edit size 2 v12` (then 2 lines: `- bedroom 1: has a door to the hall` / `+ bedroom
1: has a door to the hall, 8 feet from the west end`, refused if the house moved past v12; `= bedroom 1: the guest
room` renames), `rooms`, `show the kitchen`, `free the bath`, `goals`, `errors`, `changes v12`.

On the House page, answer with one short line of plain words saying what you did, then every sheet you changed,
whole, each under a line `sheet <name>`:

```
Moved the pantry door clear of the counter; bedroom 2 keeps one outside wall, so it gives up light on two sides.
sheet size
the kitchen
 is 14 by 15
 has a pocket door to the pantry, 3'4" from the south end, 2'6" wide
```
