Skip to content

v1.44.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 02:26
· 3220 commits to main since this release
a6405af

Added

  • Imperial length input: 12ft, 6in and 12ft6in are length literals (also in WxH, e.g.
    12ftx10ft), converted exactly (1 in = 25.4 mm) and rounded half away from zero to a whole
    millimetre per literal (1in = 25, 0.5in = 13, 12ft6in = 3810). 12'6", 1/2in, 6in12ft
    and 12ft6 are refused with the new E_IMPERIAL_FORM, whose message names the accepted forms.
    Input only: every output stays in millimetres, and a plan written in feet compiles to the same
    bytes as its millimetre twin. The editor grammars and the GBNF grammar read the new suffixes.

  • archlang impact … --lock <id,…> (and impact(before, after, { lock })): a lock check without
    syntax. Each locked element that moved, resized, was re-hosted or re-thickened, changed its door
    swing or another resolved field, vanished or appeared is E_LOCKED_ELEMENT_CHANGED with its span
    on both sides (lock.violations in --json), and the command exits 2. A lock names only an
    element whose id= was written: a lock on an assigned id (which shifts when a statement is
    inserted ahead of it), on a name neither version carries, or above the lowest storey is refused
    with E_LOCK_UNNAMED. New exports checkLocks, parseLockList and the ImpactLock,
    LockViolation, LockRefusal, LockSpan, LockSide, LockElement types.

  • describe --facts quantities and arch takeoff --format csv|md (preview-and-remodel B4): an
    opt-in facet of geometric quantities per storey, with each figure's convention in its field name.
    Per wall category: length_centreline_mm, length_face_mm (the outline of the union of the wall
    bands, before openings, credited to the wall whose band edge it lies on) and, only when the plan
    authors a height, face_area_before_openings_m2. Per room: perimeter_centreline_mm,
    perimeter_net_mm (the outline of the room less every wall band) and area_net_m2. The storey's
    floor_area_net_m2, and floor_area_with_waste_m2 only when --waste <pct> is passed (never a
    default; DescribeOptions.wastePct in the API). Door counts by kind and width, window counts by
    width. takeoff writes the block as a one-figure-per-row CSV or Markdown tables, or JSON.
    Definitions in docs/analysis.md § Quantities. describe() without the fact is byte-identical;
    no diagnostic is added.

  • Wall status existing|demolish|new (preview-and-remodel B3a), on a wall (after height)
    and on walls from rooms (after the thicknesses, for every wall it derives). It draws nothing
    yet: a plan marking a wall demolish draws exactly the bytes it draws without the clause. A
    demolish wall encloses nothing, hosts nothing (a door, window or opening in it is the new
    E_OPENING_ON_DEMOLISHED_WALL) and counts in no net area, and where it stood between two rooms
    the access graph, circulation and the reachability and enclosure rules join them across its run;
    existing and new walls are walls. describe --json adds wall_status (the count by status
    and each wall's status) only on a storey that writes one; Plan JSON carries status on walls
    and on walls_from_rooms, in the schema. A plan that writes no status compiles, describes and
    lints to the same bytes (test/wall-status-byte-identity.test.ts).

  • Package-root exports for downstream consumers of a resolved plan (ADR 0031): resolvePlan (the
    complete parse → link → resolve path; unlike resolveAll(compile(src).ast) it keeps imported and
    placed content), joinWallSet and loopsToPolygons (the wall joinery, with the split argument
    that yields one ownership polygon per wall), doorSwing and doorLeaves (a door's leaves; a
    double door's two come only from doorLeaves), the 14 types their signatures reach
    (AnalyzeOptions, JoinableWall, JoinedWallSet, JoinedCut, JoineryResult, JoinerySplit,
    Edge, EdgeLoop, Arc, Opening, DoorLike, DoorSwing, DoorHinge, DoorSwingDir) and the
    element type names ROpening, RStair, RElevator, REscalator, RRoof, RVoid, ROutdoor,
    RFence. Append-only; the promise is recorded in ADR 0031. test/public-surface.test.ts now
    derives the closure of these signatures. Output byte-identical.

  • W_GARAGE_OPENING_UNDERSIZED (card B6 of the preview-and-remodel programme), validity layer, on by
    default: a rectangular garage whose door garage is narrower than 2400 mm (one car, or none drawn),
    or, with two or more cars, has neither a door 4200 mm wide nor two doors 2400 mm wide. The figures
    are common practice for a sectional door, not a published standard, and the catalogue says so. It
    judges the opening only; W_GARAGE_TOO_NARROW keeps the room's width. No shipped example warns.

  • W_ACCESSIBLE_WC_SIDE_WALL (plan card PS2.74), validity layer, on by default: a wc in a room
    whose label says "accessible", "wheelchair" or "disabled" (not negated: "Non-accessible" is not), with
    its centreline farther than the new ruleset field wcAccessibleSideWallMaxMm (500 mm in every
    profile) from the face of the straight wall on either side, so no grab rail reaches it (Approved
    Document M4(2) Diagram 2.5 and M4(3) Diagrams 3.11, 3.16, 400–500 mm; ADA 604.2's 16–18 in lies
    inside). A pan over twice the figure wide files the new wide-wc-pan coverage skip. Hint only, no
    fix. The museum and practice-office examples' accessible-WC pans move into the band.

  • W_EXIT_APPROACH_BLOCKED (plan card PS2.69): furniture inside the clear floor of an exterior exit (914 mm deep, the door's width up to 1200 mm; 1220 push / 1525 pull under accessibility-advisory; new ruleset fields exitApproachMm, exitApproachPullMm).

  • Tests only (plan card PS2.77): test/fixtures/storeys-eaves-overflow.arch, a two-storey plan whose
    building fits its sheet and whose upper-storey eaves alone raise the building-level
    W_DRAWING_OVERFLOW, restores two coverage losses since every example fits its sheet: the
    storey oracle compares that diagnostic under the group, and the overflow suite reads it off a
    multi-storey plan as authored. No shipped example, SVG, describe() or lint() moved.

  • W_BED_UNDERSIZED (validity, furniture, stage fixtures; plan card PS2.67): a bed,
    double_bed or bunk_bed drawn under 1900 mm long or 750 mm wide, the smallest standard UK bed
    (Which?'s UK bed-size table, 2026: a consumer magazine, not a standard). New ruleset fields
    bedMinLengthMm and bedMinWidthMm (null turns either off); crib and cot are never judged.
    No shipped example moves; the first-contact clinics' examination couches drawn as bed warn.

  • describe --facts clearances (plan card PS2.72): an opt-in facet printing, per storey, what
    each clearance rule measured, read through the rules' own measures under the default ruleset: a
    WC's sides, a tall unit's and a hob's cover of a window (with the hob's distance off the window
    wall's face and whether it reads as under it), a hob's nearest tall unit, a doorway's clear width
    and approach, a stair's run and landings. describe() without the fact is byte-identical;
    lint() is unchanged.

  • Six stair-safety lint rules (plan cards PS2.11e's stair bullets, PS2.34, PS2.15), validity layer,
    on by default, in a new stairs coverage family (W_SHAFT_FOOTPRINT_MISMATCH in vertical).
    The landing is the square beyond a flight's end as wide as the flight (Approved Document K 2013
    1.20; at least 1200 mm long outside a dwelling, 1.23a), on the end the flight is entered from on
    that storey (its foot going up, its head coming down). W_SWING_OVER_STAIR: a hinged door's
    quarter-disc over the flight (on a storey it rises from, only the part lower than the door's
    head; a stairwell whole), over the head landing, or within 400 mm of the bottom step (AD K 1.24,
    Diagram 1.8; the whole foot landing outside a dwelling, 1.23b). W_STAIR_NO_LANDING: a wall, a
    door's closed leaf, a void at the foot, or the end of the floor nearer than that landing, measured
    across the middle half of the flight (a cased opening is passable). W_STAIR_SIDE_ENTRY: a door
    or opening in a wall along the flight, beside the part a person cannot pass under (2 m headroom,
    AD K 1.11) with less than a doorway's width past either end, nearer than minPathClearWidthMm.
    W_STAIR_HEAD_VOID: a void on the head landing (a void drawn as the stairwell is not one).
    W_STAIR_TOO_STEEP: a rising flight whose run is shorter than its storey's authored height
    needs at stairMaxRiseMm/stairMinGoingMm (new ruleset fields; default 220/220, AD K's private
    stair without its pitch note, the most generous of the figures read; uk- adds the 42° pitch as
    stairMaxPitchRatio 0.9004, us- IRC R311.7.5's 7¾ in riser and 10 in tread, cn- GB
    50096-2011 5.7.4's 0.20 m and 0.22 m); a plan that authors no height is not judged and files the
    new no-storey-height coverage skip. W_SHAFT_FOOTPRINT_MISMATCH: one id's runs on neighbouring
    stops whose footprints overlap by less than half of the smaller, run along different axes, or
    are different kinds; a lift car must match exactly. Examples redrawn for real stair defects:
    garden-house (the flight, now 800 mm wide, centred in the hall, its head 1100 mm off the north
    wall), hillside-villa (the stair, now 2900 mm long and 800 wide, rises in the living room to the
    gallery, whose opening onto the landing narrowed to 1600 mm; bedroom 2's door moved off the bed),
    library (the foot 1000 mm farther from the south wall) and two-storey (a 2900 mm run for its
    2700 mm storey, the void now the stairwell); their drawings and describe() move, and
    hillside-villa lints eight warnings, not seven. A landing a curved wall stands near is not judged
    (curved-landing-wall coverage skip); the rules' work is a count (MAX_STAIR_WORK, stair-budget
    skip). The defect corpus's stair class goes from 0/4 to 8/8, the corpus from 59/73 to 67/77.

  • arch validate --stage <brief|rooms|walls|openings|fixtures|drafting>: authoring stages, the
    rarely-changed decisions first (plan card PS7.1). The command shows only the findings of that
    stage and earlier; errors are always shown. ok, --strict, the intent block and next read
    that set. Taste is a next tier only at drafting, and a --graph check only from openings
    on. summary opens with the stage and counts the later-stage findings it holds back, and an
    at_stage { stage, held_back, clean } block says when to advance. Every lint rule now declares
    its stage (LintRule.stage, required like layer; LINT_CODE_STAGES). A finding's stage is
    the earliest stage at which its check can be judged: W_ROOM_TOO_SMALL is rooms,
    W_ROOM_TOO_NARROW (clear width) walls, W_NO_ENTRANCE openings, W_FIXTURE_FLOATING
    fixtures. A later stage can re-raise an earlier stage's finding, so a clean stage is not final.
    Compile warnings take their stage from their family, intent assertions from their predicate and
    keeps from what they measure. Without the flag, validate --json adds only a stage key, last,
    on each diagnostic and intent violation. lint, lint(), describe() and the drawing are
    unchanged. Library: AUTHORING_STAGES, atStage, codeStage, predicateStage, keepStage.
    SKILL's loop, arch-author.md and the spec now teach stage-ordered authoring.

  • door double: a pair of hinged leaves, each half the door's width, hung on the two jambs and
    closing onto each other at the centre, both to the swing side (plan card PS2.11e). It takes
    swing (wall-relative, inward|outward or into <room>) and refuses hinge, slide and
    open (E_DOOR_KIND_CLAUSE); unlike the sliding family it is accepted on an arc wall, both
    leaves taken from the tangent at the doorway's centre. Every swing measure reads each leaf as
    drawn (W_SWING_OBSTRUCTED, W_LEAF_ACROSS_DOORWAY, the clear zones, repair, finish);
    describe() reports kind: "double" and Plan JSON door_kind: "double". A person passes
    through one leaf (ADA 2010 404.2.3), so W_DOOR_CLEARANCE judges a pair's leaf and its clear
    width (describe().access's estimatedClearWidth, and so W_PATH_TOO_NARROW) is one leaf's.
    A plan that writes no double door renders, describes and lints exactly as before.

  • Three validity-layer lint rules (plan cards PS2.11e, PS2.46). W_HOB_UNDER_WINDOW: a stove,
    hob or cooktop against a window's wall across part of its span (NKBA Kitchen Planning
    Guidelines 20: a cooking surface not under an operable window). W_HOB_FRIDGE_GAP: a fridge or
    other tall unit beside it on its run nearer than hobLandingMm (305 mm, NKBA guideline 17's
    12 in landing area), a wall between them ending the measure (across an open between join there is
    none). W_LEAF_TOO_WIDE: a swinging leaf wider than maxHingedLeafMm (1219 mm,
    the International Building Code's 48 in nominal leaf, 2018 and earlier); a double door is read
    leaf by leaf. Messages id-free; hints quote an id only when the author wrote one; no fixes.

  • W_DOORWAY_BLOCKED reads leaf-less openings too, after every door, with the same approach a
    door keeps clear, up to a doorway's width (1200 mm); a wider opening, an open-plan join or the
    edge an open between derives, is blocked only when the pieces in its approach leave no 1200 mm
    of it clear. A counter, worktop or bar counter across an opening is a servery hatch and is not a
    blocker. repair clears what the rule reads; the placement check behind quoted positions and
    finish keep every opening's approach clear.

  • arch context --level starter: one screen (at most 4,000 characters, 60 lines of 100 columns) for a small model, built from the
    spec's lead example and the compiler rather than retyped: the example, the statements a plan needs
    (each a line of that example, plus the sheet lines), the compile, validate, lint loop, and the five errors cold authors
    hit first, each with a bad statement that raises the code and the repaired one (E_PARSE clause
    order, E_FURN_SIZE, E_OPENING_DATUM, E_OPENING_NIB, E_FURN_AGAINST). --level full is
    the default, the whole bundle as before; --level starter --section is a usage error. Plan card
    PS7.2.

  • arch preview <file> --review: the review sheet, one PNG for whoever reviews a plan (plan card
    PS5.4; D20). The plan exactly as preview draws it, with describe().access laid over it (rooms
    as nodes at their label points, an edge through each door and opening, entrances marked); every
    element a compile() or default-ruleset lint() warning names ringed and numbered with its code
    (a room by its floor outline, a door, window or opening by a circle, anything else by its drawn
    extent; a room overlap rings both rooms); a legend listing number, code and the id-free message;
    and a strip of close-ups, at one fixed scale (1 m = 250 sheet units), of the flagged openings and
    furniture pieces, at most 24. One mark per warning: a warning from a repeated statement (a for
    body, a component placed twice) that does not say which copy it means is listed, not ringed.
    Default output <name>.review.png; --json adds rings, marks[] (each warning's span, line
    and column, and its ringed elements with their boxes), crops[] and cropsOmitted[] (boxes in
    plan mm), and reports compile()'s warnings as plain preview does. One storey per sheet
    (--level, as preview); refused beside --ascii, --view or --overlay (exit 3).
    Drawing-only: it lives in the CLI
    layer, reads compile(), describe() and lint(), and changes none of them, nor the default
    preview.

  • keep: declared invariants the compiler checks and never solves (ADR 0033; plan card PS4.3a).
    Seven forms, keep align <d> <d> …, keep equal width|depth <t> <t> …, keep offset <x> from <d> <mm>, keep min clear <room> <mm>, keep on axis <label> <wall>, keep stacked <id> on levels <n> <n> … and keep fixed <d> at <mm>, each with a trailing grade, hard (the default),
    soft or advisory. A datum is a rectangular room's edge or centre line, axis <label> or a
    straight wall (<wall> segment <n>), read grid-snapped as an expression reads it and compared
    exactly on the 0.001 mm lattice; a keep's own <mm> is never snapped. Every keep is measured once,
    after its storey resolves (on a paper plan in the drawn pass only; stacked after the last
    storey), on the step meter, and reports a signed residual in mm. A broken hard keep is the new
    compile-channel warning W_KEEP_VIOLATED (id-free message, the ids and measured values in the
    first hint): it fails validate --strict but not plain validate, validate --json's next
    names it in tier warning, and the never-worse law of finish, furnish, repair, arch fix
    and reroll counts it. A broken soft keep is named by next in tier intent; an advisory
    keep is only reported. No keep caps taste or reaches lint(). Refusals are compile errors:
    E_KEEP_TARGET, E_KEEP_MEASURE, E_KEEP_SELF, E_KEEP_PLACEMENT (inside a component, placed or
    not; stacked anywhere but the root of a multi-storey plan; any other form at that root, once and
    with no level), E_KEEP_VALUE and E_KEEP_LIMIT
    (1,000 keeps, 64 targets). describe --json appends keeps[] and validate --json appends
    keeps before next, each only when the plan declares a keep. keep is the one reserved word;
    the form and grade words stay names everywhere else. A plan with no keep compiles, describes,
    lints, validates and reports impact byte for byte as before (269 files measured before the
    statement existed, step counts included); a plan whose keeps are all accepted draws, lints and
    describes exactly as the same source with its keeps blanked. The spec gains the keep line
    (483 UTF-16 units, saying where a keep may stand), paid for by four drawing-only passages the
    language reference keeps (the door line's dashed/solid sentence, its garage sentence
    shortened, the outdoor hatch prose, the window-sill citation): spec.llm.md 29,729 → 29,815
    units. Plan JSON drops keeps (and, as the next entry says, names how many).

  • arch impact reads keeps, and describe --facts depends states them (ADR 0033; plan cards
    PS4.3b, PS4.11). impact adds a keeps section after diagnostics when either side declares a
    keep: each keep is matched across the versions by storey, text and occurrence (so a for loop's
    repeats pair by order) and listed under broke, held (a target moved, or its residual did,
    and it still holds), healed, added or removed, with its residual before and after, where
    the residual stands, which of its targets moved or resized on its own storey, its occurrence
    and its span; a keep whose grade an edit changed carries grade: { before, after } and counts
    as broke or healed when either side is a broken hard keep; the rest count in
    unchanged_count, and the human report gains Keeps broke/held/healed (and added/
    removed when non-empty). A broken hard keep is reported there once: W_KEEP_VIOLATED no longer
    also counts as a broken diagnostic when both sides resolve. describe --facts depends adds
    depends.keeps[] (all keeps on the top level, a storey's own on its levels[] entry): the
    targets, constrains (the names the targets' positions, the keep's value and the conditions
    around both read, through let chains; locked when none), equations or bounds, and
    implied, redundant (redundant_by_weaker when a weaker keep implies it) and conflicts
    decided from the declarations alone by a weighted union-find over relational rooms and walls
    written on a datum with id=, entered only where the relation survives grid snapping. A
    keep's residual is now the difference of the values it compares rounded once on the 0.001 mm
    lattice, not the difference of values rounded one by one (ADR 0033 decision 2, amended); no
    corpus residual moves. compile -f json prints a note on
    stderr naming how many keeps Plan JSON left out, and planToJson() returns the count as
    droppedKeeps. The impact and validate CLI help name their keeps keys; the spec's keep
    line says advisory keeps are reported by impact too (29,815 → 29,822 units) and the SKILL
    sentence describes the real report. A plan with no keep is unchanged byte for byte in every
    surface (the 269-file baseline).

  • arch impact reports walls and furniture written at fixed coordinates as held when a room
    edge they lay on moves and they do not (plan card PS4.5). describe --facts depends adds
    contacts: [{ room, edge }] to an authored wall's or furniture piece's row: the rectangular
    rooms' edges it lies on (a straight segment's centreline, a piece's back edge, on the same
    0.001 mm lattice line and overlapping by a positive length; never a bounding box), less the rooms
    it already follows through on; present only when non-empty, and never on a derived wall. An
    element lists at most 64, whole rooms in room-id order; when a contact is left out (that cap, or
    the storey's search budget) depends.contacts_truncated is true. impact reads the before
    side's contacts: an element that is exactly unchanged and still on the line it lay on, whose
    contact edge's line moved, gains a because step via: "contact" named as the datum
    (a.right), with contact: { room, edge, axis, stayed_mm, moved_to_mm, gap_mm }; the human
    report prints one line per held row, edges that moved to the same line together:
    wall p stayed at x 4000 while a.right / b.left moved to x 4500 (500 mm). A truncated before
    side adds contacts_truncated: true and a note under Held. An element that moved at all, even
    within diffPlans' 10 mm tolerance, is no longer held through any dependency. The widening drill
    now holds the shell and the partition p; the studio drill holds the x 4000 partition. Edges
    are spelled as the datum reads at the plan root, so they turn with a turned instance. Plain
    describe(), the SVG and lint() are unchanged.

  • Brief-bound dimensions (plan card PS4.4). describe().totals gains the plan's gross internal
    area
    , gross_internal_area_m2: the floor inside the inner faces of the storey's exterior
    walls, joined as the drawing joins them, exact from the shape (arcs included, never a bbox),
    partitions counted, a courtyard ring's court excluded, separate buildings summed. Where the
    storey has no closed exterior ring, or an exterior wall divides the shell, or a ring stands in a
    court, the figure is absent and gross_internal_area_omitted names why instead. As every total
    there, the top-level figure is the lowest storey's and each levels[i].totals carries its own;
    the top level also carries the building's, gross_internal_area_all_levels_m2 (the sum over
    storeys, or gross_internal_area_all_levels_omitted naming the first storey with none). Every
    resolving summary carries exactly one key of each pair, beside floor_area_m2, and nothing else
    moves; compile() never computes the figure. The intent
    file gains grossInternalAreaM2 (a band, like totalAreaM2) and roomDimensions[]: a room
    bound by id or exact label to a widthMm/depthMm band or an exact sizeMm { w, h, tolerance } in either orientation, on centrelines, found on any storey. On a plan with storeys
    grossInternalAreaM2 binds the building's figure and says so. Each gates; validate --intent --json and
    score --brief --json list them under intent.measures with the measured value and the
    signed residual (mm or m²). A polygon or circular room, a selector that names no room or two,
    and a plan with no gross internal area are refused as the new E_INTENT_UNMEASURED; misses are
    E_INTENT_GROSS_AREA and E_INTENT_ROOM_DIMENSION. Adjacency and reachability stay advisory.

  • Two clearance checks (plan cards PS2.11a, PS2.11b). W_WC_SIDE_CLEARANCE: a WC whose
    centreline is nearer than the ruleset's new wcSideClearanceMm to a wall face or a piece
    beside the pan, measured from the drawn shapes over the pan's depth (400 mm by default; 381 under
    us-residential-advisory, IRC P2705.1; 400 under uk-residential-advisory; 450 under
    accessibility-advisory). W_FURNITURE_OVER_WINDOW: a tall unit (fridge, wardrobe, bookcase,
    locker, never a bare shelf; the catalogue's new tall flag) standing against a window's wall across part of its
    span; a window whose sill is at or above 2100 mm is not judged, and one on a curved wall files
    the new coverage reason curved-window-host. Both are validity-layer warnings with a hint and no
    machine fix, and every position a lint hint quotes now respects them. finish stands a WC it
    writes at a corner with its centreline 450 mm off the side wall (the strictest gated figure);
    a WC room or bathroom too small for its pieces under the figure is now left empty with a note
    naming the code, where it was furnished before (PS2.45, under Fixed, furnishes most of those
    rooms again as whole sets). Twelve examples whose WC
    stood in a corner or whose fridge, wardrobe or bookcase stood across a window were fixed; their
    drawings move. describe() and the drawing of every other plan are unchanged.

  • Two clearance lint rules (plan cards PS2.11c, PS2.11d), validity layer, on by default.
    W_FOOTPRINT_TRANSPOSED: a piece of a family that comes in one shape (bed, bunk bed, crib, bath,
    WC, bidet, sofa_l, loveseat, bar counter, TV, mirror, treadmill; the catalogue's new
    fixedAspect flag, each with its reason) whose symbol frame has its long side where the
    catalogue footprint has its short one, by at least 5:4, so it draws turned a quarter
    (sofa_l … size 900x2400 with no rotate; bed … size 1900x700). The frame is the one the
    symbol is drawn in, so rotate 90 counts. A family sold in both shapes (wardrobe, filing
    cabinet, locker, shed, sink, desk) is never judged, nor is a plain sofa, which has no catalogued
    footprint yet. When size is one literal and its swap, as drawn on the grid, is the catalogue
    footprint, a maybe-incorrect fix swaps it. W_LEAF_ACROSS_DOORWAY: a hinged door whose open
    leaf parks in another door's approach (doorwayLandingMm in front of its wall face, jamb to jamb)
    in the room both open onto and leaves less of that doorway clear than minDoorWidthMm; a pair
    whose swings collide stays W_SWING_OBSTRUCTED's report, and doors on angled walls are not
    judged. Hints quote an id only when the author wrote one. Examples redrawn: tiny-house (a bed
    drawn 2 m wide, now turned lengthwise), hillside-villa (two wardrobes drawn one door wide and
    1.8 m deep, now turned) and relational (the front door's leaf parked across the bedroom door,
    now hung on its other jamb); the first two now raise W_FIXTURE_BACK_TO_ROOM for a piece whose
    side or end touches a wall (card PS2.50).

  • Three residential-advisory profiles (plan card PS5.2): cn-residential-advisory,
    uk-residential-advisory and us-residential-advisory, each a lint profile and a taste
    profile, so lint --profile, score --taste and validate --profile/--taste take the same
    names. They add room areas by use, read as net floor inside the walls as the sources measure
    them, and, for a double bedroom, its own (a double is read from its
    bed: a double_bed, a bed wider than 1200 mm, or two beds; never from the label), clear room
    widths and passage widths by the rooms a passage leads to, each read from its source as advice
    (GB 50096-2011, the Nationally Described Space Standard, Approved Document M4(2), IRC R304 and
    R311.6; the table is in docs/analysis.md). New code W_ROOM_TOO_NARROW; new coverage reason
    no-bed; no-dwelling gains its first caller. The taste profiles set R7's target (cn 1/7,
    GB 50096-2011 7.1.5; uk and us 8 %), and a residential-advisory taste report lists its lint
    profile's own warnings under advisory, where they never cap. Default lint(), describe()
    and the drawing are unchanged. WC clearances and the escape window wait for their rules.

  • validate --json ends with next (plan card PS5.3): the one item to fix first, { tier, code, message, span?, hint? } or null, chosen by a fixed precedence: compile errors, then
    compile-channel warnings (upstream causes, such as a door off its wall), then validity-layer
    lint warnings, then drafting-layer ones, then the brief (--intent gating, --graph,
    advisory), then the lint profile, then taste; within a tier, emission order. validate gains --profile <name> (the lint --profile names; its diagnostics
    are the profile's) and --taste <profile> (feeds only the last tier, never gates). Every byte
    before next, ok and every exit code are unchanged; human mode prints one next (<tier>):
    line on stderr unless --quiet. In the library: nextDiagnostic(), NEXT_TIERS. The MCP
    validate tool does not return next yet.

  • The taste score's remaining eight criteria (plan card PS5.1b): R6 (plumbing, kitchen fittings
    and beds in a room of their use), R9 (rooms no longer than 2:1, 2.5:1 for a bathroom or WC, by
    the minimum-area rectangle around the room's shape), R11 (the kitchen opens onto a living or
    dining room), R12 (habitable windows on two sides or more; a single aspect facing the pole side
    of a site scores 0), R15 (bedrooms off a common hall or corridor), R16 (doors into small
    rooms at a corner), R17 (room and wall edges on few shared axes) and R18 (bedrooms, bathrooms
    and kitchens that fill their enclosing rectangle). Every subscore but facade now has
    criteria. The minimum enclosing rectangle is computed exactly on the 0.001 mm lattice. The
    workflow skill and the language spec teach the loop compile → lint → score --taste → repair.
    The exported TASTE_BUDGET rises from 2,000,000 to 6,500,000 work units, re-measured as at
    least 1,000 times the largest corpus charge with the eight new criteria.

  • The taste score (plan card PS5.1a, ADR 0032). archlang score plan.arch --taste generic [--json] and taste(source, { profile }) report a separate, sourced score in [0, 1] from
    three criteria: R3 (no living, dining or kitchen room deeper from the entrance than a bedroom),
    R7 (glazing at least 8 % of each habitable room's net floor area) and R14 (a living or dining
    room among the best-integrated third of the rooms). Each criterion carries its source, an
    A_* advice code when below 1, a message that names rooms by label, and its evidence; one
    that cannot judge says why and is left out. The total is capped at 0.5 while a validity-layer
    lint warning stands. Taste never gates: a measurement exits 0; --taste with --brief, or an
    unknown profile, exits 3; compile errors exit 2. lint(), describe() and the SVG are
    unchanged.

  • LINT_CODE_LAYERS maps every lint W_* code to its layer, validity or drafting, and
    lintWithCoverage() returns the map as layers, beside the diagnostics; lint() output is
    unchanged. The annotation codes (W_DIM_INSIDE, W_DIM_OVERLAP,
    W_OPENING_NOT_DIMENSIONED, and PS2.12's W_ANNOTATION_OVERLAP and W_TITLE_OVERFLOW) are
    drafting.

  • Annotation collisions in lint() (plan card PS2.12), two drafting advisories that read the
    drawing and change nothing else. W_ANNOTATION_OVERLAP: a room's name or area figure, or a
    number dims auto writes (a wall-thickness figure, an R or φ call-out, a chain figure), is
    printed over a furniture, fixture or stair symbol, or a dims auto number over a room label. It
    reads the labels where the label placer left them and each symbol's drawn shapes, and fires when
    more than 2 % of the text's box is covered. W_TITLE_OVERFLOW: a title-block value wider than
    its row (about 25 characters at any scale), which prints over its caption. Neither has a machine
    fix. A new coverage skip, annotation-budget, covers a storey too large to measure. The
    dims auto wall-thickness figure now also keeps off a stair, lift or escalator, as it already
    did off furniture (examples/townhouse draws its "300" clear of the stair). Seven examples were
    fixed: aquarium, hillside-villa, library, tiny-house (a label moved), two-bed (a bed
    moved), and museum-wings and transit-hall (a shorter project title).

  • Three privacy and entrance lint rules, on by default. W_ROOM_VIA_PRIVATE: a room that can be
    reached only through one bedroom, bathroom or WC (a bathroom or WC compartment, an ensuite, a
    wardrobe or a storage room is not reported); one warning per such room, naming each private room
    on its route and its access depth. W_WET_ROOM_DOOR: a bathroom or WC whose only connector is a
    leaf-less opening to a habitable room, whose door opens onto a kitchen or dining room, or that
    acts as a passage between two spaces; a bath door onto a room that is both kitchen and living
    room counts only where it opens within wetDoorKitchenProximityMm (1500) of a kitchen fixture.
    W_ENTRANCE_INTO_PRIVATE: every door from outside on a storey opens into a bedroom, bathroom or
    WC. Routes are read from the main entrance (see describe().access.mainEntrance below), so a
    patio door cannot mask a route through a private room. garden-house now swings its garage door
    into the kitchen so the rules report nothing on it.

  • Three opening-versus-wall lint rules, on by default. W_OPENING_AT_JUNCTION: a door, window or
    cased opening whose clear span crosses another wall's body, or whose jamb is nearer to a meeting
    wall's face than the larger of minJunctionNibMm (100 mm) and the host's thickness times
    junctionNibThicknessRatio (0.5); W_DOOR_NEAR_CORNER keeps its output, and a cased opening
    flush with a meeting wall is exempt. W_OPENING_OVERLAP: two openings on one host run whose
    spans intersect, or whose pier between them is thinner than minMullionMm (100); the two leaves
    of a double door are exempt, and the move hints move them as a pair. W_CONNECTOR_AMBIGUOUS: a
    door or opening whose clear span covers more than one room on a face, by at least the larger of
    minStraddleCoverMm (100) and half the host's thickness, net of the meeting wall, so the rooms
    it joins are not decided. None of the three has a machine fix.

  • W_HABITABLE_NO_WINDOW and W_ROOM_MISSING_DEFINING, on by default. The first extends
    W_BEDROOM_NO_WINDOW to a living room, dining room or kitchen with no window on its walls (a
    bedroom is still reported only by the older code; a room bounded by an arc wall whose window
    cannot be attributed is skipped, not judged). The second: a room that holds some furniture but
    lacks the piece its use is defined by, a bedroom without a bed, a dining room without a table, a
    kitchen without a sink, a hob and a worktop (counter), a bathroom without a bath or shower, a
    WC room without a WC. The defining pieces are read from the table finish furnishes by, so the
    rule and finish cannot contradict. finish now judges each use on its finished pieces and
    leaves a use out whole when it cannot complete it, so it never writes a use this rule would then
    report; a kitchen's worktop goes beside the hob in a 600 mm module (else against any wall, else
    the 400 mm module), and a kitchen where none fits is left out. An empty room is never reported
    by the rule. W_ROOM_NO_FIXTURE's hint quotes the defining set.

  • lint --json ends with a coverage block, and lintWithCoverage() and lintCoverage() return
    it (the latter alone, or null when the plan does not resolve): which rule families ran, which
    were skipped or ran only in part, with the reason (no-uses, no-site, single-storey,
    arc-window-unattributed, non-rectangular-room, no-entrance, balcony-only-entrance,
    unsupported-host-geometry, no-kitchen-fixtures, enclosure-budget, no-main-entrance,
    non-dwelling, hint-budget, no-dwelling (filed since the residential-advisory profiles), and
    the reserved no-brief and no-operable-window-data), and the rooms the vocabulary could not classify
    (unclassifiedRooms). A human lint prints one line on stderr when something was skipped,
    never under --quiet. lint() returns exactly what it did. The MCP server and the VS Code
    extension do not show coverage yet.

  • Three space-enclosure lint rules, on by default. W_BOUNDARY_NO_WALL: two rooms share an edge
    run with a stretch longer than maxBoundaryGapMm (900) that has no wall, door, opening or fixed
    counter on it (two rooms that each have a kitchen, dining or living use are not judged).
    W_FLOOR_UNASSIGNED: a walled face covered by rooms, outdoor surfaces, voids and stairs to
    less than minFaceCoverRatio (0.95), leaving at least minUnassignedM2 (0.5 m2) in no room; a
    sealed face is not reported. W_ROOM_OUTSIDE_SHELL: at least minOutsideShellM2 (0.1 m2) of a
    room's floor lies outside every walled face, judged only when at least half of the room is
    inside walled faces. The face work is charged to a budget first; a storey past it files the
    coverage skip enclosure-budget. aquarium's galleries were extended to its north wall and
    courtyard-house's courtyard is drawn as an outdoor surface.

  • The dwelling rules read whether the plan is one. A plan reads as non-residential when a room's
    label carries a cafe, restaurant, retail, clinic, consulting, servery, staff room or classroom
    word, or, on a plan with no bedroom or living room, an office use or a lobby, reception,
    waiting, shop or meeting word. On such a plan, under every profile but residential-basic,
    W_HABITABLE_NO_WINDOW's kitchen arm, W_WET_ROOM_DOOR's dining, leaf-less and passage arms and
    W_ENTRANCE_INTO_PRIVATE decline and file the coverage skip non-dwelling;
    W_WET_ROOM_DOOR's kitchen arm judges every plan. residential-basic sets assumeDwelling and
    judges every plan as a home, so it now differs from the default ruleset, and the playground's
    profile selector starts on the default ruleset. A cafe audit plan, a cafe test fixture and
    four eval office plans lose their dwelling-only warnings; no example moves.

  • describe().access.mainEntrance and depthFromMainEntrance, on a storey with more than one way
    in: the one door the plan is entered by, with its basis. A door into a bedroom, bathroom or WC
    is never a candidate, and width never decides: entry-room (the one door into an entry, hall or
    circulation room, when every other door opens into a service room), street (the one hinged
    door facing site.street) or sole. The fact refuses with tie, no-candidate or
    upper-storey, which lint --json reports as the coverage skip no-main-entrance.
    W_PATH_TOO_NARROW, W_ROOM_VIA_PRIVATE and W_WET_ROOM_DOOR judge routes from it; a garage
    door, and a door into a room the main entrance cannot reach from inside, still count as ways in.

  • Rooms may be written first, and a room's edges and centre are numbers wherever a coordinate or
    length is read: hall.top, hall.bottom, hall.left, hall.right, hall.cx, hall.cy
    (north|south|east|west alias the first four only in the root of a plan whose north is up).
    A plan written with datums draws, describes and lints byte for byte like the same plan written
    with the numbers. Any statement that resolves after the rooms may read them; a let, a place,
    a plan setting or a room's own at/size is evaluated earlier and raises
    E_DATUM_BEFORE_ROOMS. New refusals: E_DATUM_COMPASS, E_DATUM_NAME, E_ROOM_NOT_RECTANGLE
    (a polygon or circle room exposes no datum), E_DATUM_UNPLACED. A plan now resolves its rooms,
    then relational placement, then walls and openings; a resolution that E_STEP_LIMIT stops
    reports the diagnostics raised before the crossing in that order.

  • walls from rooms exterior <mm> partition <mm> derives every wall of a plan (or of a
    component) from the rooms written beside it: an exterior ring on the outline of their union
    and one partition on each edge two rooms share. The rooms must tile one connected floor exactly;
    otherwise it refuses, naming the rooms: E_ROOMS_OVERLAP, E_ROOMS_NOT_TILING,
    E_PARTITION_TOO_SHORT, E_ROOM_NOT_RECTANGLE (leave a polygon or circle room out with
    except <room> ...), E_WALLS_FROM_ROOMS_DUP, E_WALLS_FROM_NO_ROOMS. A statement that would
    pass the element budget is E_ELEMENT_LIMIT and derives nothing, and an authored wall beside it
    may not take the id exterior (E_WALL_ID_RESERVED). A hole is legal when outdoor surfaces
    or a void cover it exactly (a courtyard gets an inner ring). A derived wall has no id;
    openings reach it by a relation, by position, or by category (wall exterior,
    wall partition), and lint names it by its rooms. An authored wall exactly on a derived line takes
    over that span. describe --json gains derived_walls[] and freedom.walls, and Plan JSON
    carries the statement as walls_from_rooms, each only on a plan that uses it. walls is now a
    statement keyword, so a dims auto with the statement on the next line no longer reads it as
    its mode.

  • Two clauses inside walls from rooms { ... }. between <A> and <B> thickness <mm> gives one
    partition its own thickness. open [id=<name>] between <A> and <B> [width <mm>] makes the two
    rooms one open-plan space: the partition stays derived and a leaf-less opening spans the clear
    run between the meeting walls' faces (centred, with width), joining the rooms in the access
    graph. Its id is <A>|<B>:open unless the clause gives one. New refusals on the clause:
    E_WALL_BETWEEN_NOT_ADJACENT, E_WALL_BETWEEN_ROOM, E_WALL_BETWEEN_OPEN (an authored wall,
    or a door, window or opening hosted by position, across the voided span),
    E_WALL_BETWEEN_WIDTH, E_WALL_BETWEEN_DUP. Plan JSON carries them as
    walls_from_rooms.open[] and between[].

  • Openings placed by the rooms. door|opening [id=<name>] ... between <A> and <B> at <pos> stands
    in the one wall on the edge the two rooms share, and door|window|opening ... on <room>.<edge> [at <pos>] in the one exterior wall on that edge, derived or authored, so it reaches a wall
    that walls from rooms derived. <pos> is center, <mm> from start|end,
    <mm> from <room>.<edge> or axis <label>, measured to the opening's centre along the run; a
    door and a cased opening must write one, a window defaults to center, and window ... between
    is a parse error. The nib is enforced, never slid: E_OPENING_NIB (its hint names the nearest
    legal position), E_OPENING_NO_SHARED_WALL, E_OPENING_HOST_AMBIGUOUS, E_OPENING_DATUM for a
    plain at <mm> or at <pct>% on these forms, and E_WALL_BETWEEN_OPEN across an open pair.
    An opening on an ordinary wall may also be placed at <mm> from start|end|<room>.<edge> or
    at axis <label>. describe() gains relation on the opening and freedom.openings.relational,
    and Plan JSON carries relation. Lint's move hints quote the relational form.

  • Walls written by the rooms they stand between. wall [id=<name>] <category> thickness <mm> [material ...] [height <mm>] between <A> and <B> stands on the edge run two rectangular rooms
    share, and ... around [<A> <B> ...] is one closed wall on the outline of the listed rooms'
    union; the clause stands where the point list would, and the result is an ordinary authored wall
    that keeps its id, category and thickness. Refusals: E_ROOMS_OVERLAP,
    E_WALL_BETWEEN_NOT_ADJACENT, E_PARTITION_TOO_SHORT, E_ROOMS_NOT_TILING,
    E_ROOM_NOT_RECTANGLE, E_DATUM_UNPLACED, and around refuses any hole. An opening on a
    refused wall, furniture against wall it, or a dim radius of it still raises its own code,
    saying the wall could not be placed (see its own error). describe() gains derived_walls[]
    rows for them and freedom.walls.relational; Plan JSON exports their resolved points.

  • Furniture relations. against <room>.<edge> [offset <mm>] backs a piece onto a room's edge, on
    the face of the one wall standing on that line (a derived wall too); facing <id> turns a piece
    to the quarter-turn whose front ray first enters the target (furniture, a rectangular room or an
    opening in its own group, in any source order), instead of rotate; clear front <mm> and
    clear sides <mm> declare a clearance, measured against solid pieces, wall bodies and door
    swings, and warn W_FURN_CLEAR_FRONT and W_FURN_CLEAR_SIDES when it is not free (a bad depth
    is E_FURN_CLEAR). facing refuses with E_FACING_TARGET, E_FACING_MISS, E_FACING_TIE,
    E_FACING_CONFLICT, E_FACING_SYMMETRIC and E_FACING_TRANSPOSED; against <room>.<edge>
    reuses E_FURN_AGAINST. describe() gains relation, facing and clear on a furniture row,
    and freedom.furniture.relational, only when written; Plan JSON gains against_edge, facing,
    clear_front and clear_sides.

  • W_SEAT_FACING_AWAY, on by default: a chair, office chair or outdoor chair within
    seatTableReachMm (600) of a table or desk in its room whose front ray enters no such table, so
    it is drawn with its back to the table. A chair that declares facing is not judged. The hint
    names the nearest table and the turn that faces it. Seventeen chairs on eight examples
    (aquarium, corner-cafe, furnished-flat, gallery-l, hillside-villa, materials,
    museum, themed) were turned or moved; their drawings move.

  • swing inward|outward on a door, relative to the building: inward opens towards the one face
    of the host wall that has floor, outward away from it, whichever way the wall was drawn. It
    resolves to the in|out it means, so a plan using it is byte-identical to that twin. A host with
    floor on both faces or on neither is E_SWING_SIDE, on the word; the door keeps its default
    swing. in is the right of the wall's drawn direction on the page and out the left, which
    spec.llm.md now says. Plan JSON adds swing_building beside swing. The unknown-word parse
    error now lists all four words. set door(swing: ...) does not take the new words.

  • Plan JSON carries a placed component that derives its walls. On a storey where an instance
    holds walls from rooms, and only there, the payload gains components: [{name, body}] and
    instances: [{name, component, at, rotate?, mirror?}], and each flattened instance row gains
    instance; a body keeps relation, facing, swing_building, against_edge and
    walls_from_rooms as written, and the round trip prints a parameterless component per body
    and a place per instance. E_JSON_DERIVED_IN_INSTANCE refuses only what the record cannot
    hold: a nested place, two instances of one component with different bodies, an imported
    component. Edits to a regenerated row are ignored.

  • Segment selectors (plan card PS3.5). segment north|south|east|west and segment containing <room>.<edge> can be written wherever segment <n> is, and resolve to that number:
    against wall … segment, and dim radius … segment, where a selector is refused because it
    picks a straight segment. A selector that matches no segment, or several, is the new
    E_SEGMENT_SELECT. Plan JSON gains an additive segment_select field.

  • describe --facts depends (plan card PS4.1). Opt-in: describe(src, { facts: ["depends"] })
    adds depends.elements[], one row per element sorted by id, with on (the ids it derives
    from: its reference room, the rooms of between, the room of on|against <room>.<edge>, a
    facing target, an anchor room, the rooms whose datums it reads, an authored host wall),
    params (the let, module let, parameter and loop names its expressions read), axes (the
    positioning axes it is placed at) and hostWallId (the wall it is hosted on or backed onto),
    plus depends.derived_walls[] for the walls walls from rooms derived. A derived wall is
    never named in on: an element hosted on or backed onto one names it as hostWallId, and its
    rooms are listed once, in its own row (ADR 0028 §3, amended). A summary that does not ask for
    it, lint(), the SVG and Plan JSON are unchanged.

  • arch impact and impact(before, after) (plan card PS4.2). archlang impact plan.arch --set W=4500 (or --against old.arch) compiles both versions and reports the top-level lets that
    changed, every element that moved, resized or was re-hosted with its why (the depends chain
    back to the let or the edited statement that moved it), the elements held in place although
    something they depend on changed, and the diagnostics that broke or healed, keyed by code
    and element. Derived walls are named by their rooms. --set overrides only a single top-level
    let, with a numeric literal; anything else is refused with the new E_SET_OVERRIDE.
    applyLetOverride() is exported beside impact(). compile(), describe(), lint(), the SVG
    and Plan JSON are unchanged.

  • W_DIM_TEXT_MISMATCH (plan card PS2.10): a hand-written dim … text "…" whose text reads as a
    length (a number with an optional mm, cm or m; comma-grouped thousands when no unit is
    written) and is not the span its line measures. The text is read at its own written precision
    and compared on the 0.001 mm lattice, so 4000 covers 3999.5–4000.5 mm, 3.5 m covers
    3450–3550 mm, and the number the drawing prints with no text never warns. Any other text
    (VARIES, EQ, 2300 clear, R9000) is not checked. A literal text gets a maybe-incorrect
    fix (archlang fix --unsafe) that letters the measured span in the text's own unit and
    precision. examples/gallery-l.arch and examples/aquarium.arch had three such dimensions,
    drawn off the jambs they claimed to measure; their endpoints now sit on the jambs, and
    aquarium's two window dims, which state the width along the arc, now read 2.0m. Their
    SVGs move; describe() and every other plan's output are unchanged.

Changed

  • The MCP shim's and the VS Code extension's core ranges are re-pinned to this release.
    @chanmeng666/archlang-mcp 0.2.27 re-bakes its spec, llms-full.txt, grammar and schemas when
    it is packed; the VS Code extension 0.32.0 bundles this core. @chanmeng666/arch-plan is
    unchanged at 0.1.1 (its peer range ^1.42.1 admits this release).

  • The archlang skill (and the generated plugin copy) states the authoring order next to validate --stage: brief → rooms → walls → openings → fixtures → drafting, the order inside each stage, and why. Paint order is unchanged.

  • docs/language-reference.md gains "Authoring order — the stages": the six authoring stages, which element kinds each holds, the sub-order inside a stage, and why (rooms first, exterior before interior, openings after walls, fixtures before loose furniture, drafting last); paint order is stated as separate and unchanged. Docs only.

  • W_GARAGE_TOO_NARROW now also judges a garage's clear depth along its door garage: 5000 mm by
    default, a parking bay's length, and 6000 mm under uk-residential-advisory (new ruleset field
    garageDepthMm; a garage with no vehicle door files a no-vehicle-door coverage skip; plan card PS2.70).

  • W_ROOM_MISSING_DEFINING now also reports a bathroom that holds a WC and no basin, unless a basin
    stands in a room a door or opening joins it to directly that is not a kitchen (Approved Document G,
    G4; plan card PS2.66). A WC room is still defined by its WC alone.

  • validate --json next: a first validity finding that is a door-swing shortfall (W_SWING_OBSTRUCTED)
    now yields to the first stair-safety or earlier-stage finding, so a plan with a stair blocker
    is pointed at the stair first (plan card PS7.7).

  • validate --json next: within the validity tier, a first finding of the fixtures stage now also
    yields to a stair-safety code or a door-swing shortfall standing beside it, so a 50 mm furniture
    overlap or a missing hob no longer outranks a stair blocker (plan card PS7.10). 36 of 3,017
    next runs over the tracked .arch files moved, each to a stair code or swing shortfall.

  • Every shipped example now validates with no warnings under the default profile, after a design
    review fixed sheets, scales, circulation, exits, accessible-WC pans and furniture (no compiler or
    rule source changed): garden-house moves to A0, hillside-villa to A1 with its upper floor
    rebuilt, materials to A2, themed gains a front door, and aquarium, library and museum a
    second exit.

  • A doorway's approach (W_DOORWAY_BLOCKED's landing, doorwayLandingMm deep) is measured from
    the wall's FACE on each side, not its centreline, the datum W_LEAF_ACROSS_DOORWAY already read
    (plan card PS2.54); on a 100 mm partition the approach reaches 50 mm further into each room.
    Twenty-one examples were redrawn for the new rules: eight wide leaves in six examples became
    door double pairs (transit-hall's 4000 mm entrance a sliding door), hobs moved off windows
    and away from fridges, themed cleared a doorway's approach, and three double-door entrances
    widened to 2000 mm. Three eval holdout goldens now fail the judge's physical check on it and their
    pinned judgments moved (plan-soundness D25, ratified); the offline eval:ci gate now fails only
    when a golden differs from the committed judge fixture, never asking for every golden to pass.

  • W_ROOM_TOO_SMALL reads the room's use. A WC is judged against 1.1 m2 and a bathroom against
    2.0 m2 (GB 50096-2011 5.4.2, as advice), and a store, utility room, hall, circulation space or
    entry has no area floor; a room with several uses takes the highest of its floors, and a use
    with no entry keeps the generic minRoomAreaM2 and its message. The ruleset knob is
    minRoomAreaByUseM2, merged per use. A profile that sets the generic floor
    (accessibility-advisory, 5 m2) holds every room to it. describe() and the drawing are
    unchanged.

  • Room labels classify more rooms. living and dining were left out of the label vocabulary, so
    a label-only "Living" or "Dining Room" now reads those uses in describe(), as lint() already
    treated it, and its room_type is LivingRoom (as an authored uses living room already was).
    A living alias (family, sitting) yields to any other kind the label matches, so "Family
    Bathroom" is a bath and "Bed-sitting Room" a bedroom, while "Sitting / Dining" is living and
    dining. A label that no word classifies falls back to a second vocabulary, read only then, so no
    label that classified before changes: storage (store, closet, wardrobe, pantry, larder,
    dressing, linen, cellar), office (office, study, consulting), utility (utility, laundry, plant,
    boiler), bedroom (nursery, guest room, kids room, children's room, master suite, master), WC
    (water closet) and living (great room, reception room, drawing room, snug, den). room_type
    gains LivingRoom, Storage and StudyRoom for those rooms in describe() and Plan JSON (a
    label-only nursery reads as a bedroom, MasterRoom), and finish furnishes label-only living
    rooms, studies and nurseries. Rooms the vocabulary still
    cannot read are listed in lint --json's coverage.unclassifiedRooms.

  • The examples teach the room graph first. spec.llm.md and the archlang skill lead with a
    three-room example (rooms, walls from rooms ... { open between living and hall }, a front
    door on hall.bottom, door between hall and bedroom, windows on <room>.<edge>) in place of
    the embedded examples/attached.arch, and the spec is shorter by about a thousand characters.
    examples/two-bed.arch is redrawn with a hall that every room opens off (its three
    W_ROOM_VIA_PRIVATE were real; it now lints clean), and examples/relational.arch is redrawn
    with its walls and openings derived and a hall between the day rooms and the bedrooms (it had
    seven warnings; it now lints clean). Their drawings move.

  • Examples redrawn so the new lint rules report nothing on them: accessible, practice-office,
    two-storey, corner-cafe, terrace-row, courtyard-house, furnished-flat,
    hillside-villa and library. Eleven examples, the gallery two-bed plan and the overview
    plan also gained a kitchen counter for the worktop rule. Their drawings move.

  • archlang ast --json reports a sizeSpan on a furniture statement whose size is one literal
    (900x2400): the byte span W_FOOTPRINT_TRANSPOSED's fix rewrites, beside the rotateSpan it
    already reports.

  • The authoring loop is taught where cold authors read (plan cards PS7.4, PS7.5): spec.llm.md's
    self-correction paragraph, the workflow skill's step 7 and the arch-author agent role now say
    the same loop, compile → validate --json (fix its next first) → lint → repair. Taste is the
    reviewer's report, not the author's step: the 2026-10-26 first-contact re-measure (plan decision
    D20) found cold authors never ran score --taste even when taught it, so the skill's step 7 and
    a "Review" section in the agent role name it as the reviewer's score --taste generic, which
    never gates; a score capped at 0.5 means a validity lint warning stands. To stay under the spec's
    30,000-character cap, the spec's "Place furniture so it's physically sound" paragraph is folded
    into the lint sentence before it (each clause restated a lint flag or the furniture row of "Common
    mistakes"), and the score --taste flag line is a short reviewer's-report comment. The spec is
    29,729 characters after this change (29,970 before PS7.4's cut); the keep line (PS4.3a) later took it to
    29,815.

  • finish and its furnish stage hold the never-worse law under the default ruleset and the
    universal advisory profile (accessibility-advisory), no longer under every lint profile: the
    new residential-advisory profiles read one jurisdiction each and disagree by design, so none
    governs the default output (ADR 0024 decision 6 and ADR 0025 §7, amended). A furnished bedroom
    whose 1500 mm bed makes it a double under a profile's figures now keeps its bed, and
    lint --profile reports the shortfall.

  • finish's never-worse law no longer counts drafting-layer codes (plan card PS2.12, ADR 0024
    and ADR 0025 amended; W_ANNOTATION_OVERLAP, W_TITLE_OVERFLOW, W_DIM_INSIDE,
    W_DIM_OVERLAP, W_OPENING_NOT_DIMENSIONED, W_DIM_TEXT_MISMATCH): they report the annotation, not the plan, and
    counted, W_ANNOTATION_OVERLAP refused a kitchen's fridge for its room name. Placement is
    unchanged, so a finished plan can now report the overprints finish always drew (on the eval
    goldens, 9 across 6 plans), and the sheet stage no longer trades dims auto all for
    dims auto overall when an opening is on no chain; W_OPENING_NOT_DIMENSIONED reports it.

  • After segment, a bare north|south|east|west is now the selector. A plan that binds a
    variable with one of those names and uses it bare as a segment number now reads the selector;
    write the variable as segment (east) instead. No example or corpus plan does this (checked
    by grepping examples/ and the test corpus). containing is a selector only when a dotted
    <room>.<edge> follows it, which never parsed before, so a variable named containing reads
    as it did.

  • lint, validate and score --taste (on a plan that does not compile) open with a one-line
    summary (plan card PS7.6). --json gains summary as its first key
    ("7 warnings in 2 codes: W_SWING_OBSTRUCTED ×4, W_ANNOTATION_OVERLAP ×3", "no warnings" when
    clean, errors first as 2 errors, 3 warnings in 4 codes: …; codes by descending count, then
    alphabetically). The head carries the number of distinct codes, so output cut short with
    head -c 200 still names the count, how many distinct codes there are and the leading ones; every
    other key keeps its order and bytes. validate --json with a failing --graph or --intent and no
    diagnostics says no diagnostics; validate failed on a later tier (see next), never "no warnings".
    The text report prints the same line first on stderr when there is anything to count (--quiet
    drops it; a display filter's (display filter: showing n of m) note sits right under it). It is a
    function of the whole diagnostic set, like ok, and lives in the CLI: lint(), compile() and
    every diagnostic are unchanged. A consumer that matches the whole lint --json text, or its first
    key, must skip summary.

Fixed

  • Every shipped example now validates with no warnings, and a design review fixed what was
    architecturally wrong. Sheets: courtyard-house (eaves 600 → 500 mm), materials (A2 at 1:50),
    garden-house (A0), hillside-villa (A1). hillside-villa: both upper bedrooms take the
    garden facade, each with an ensuite, back to back (the master's off its own dressing room; the
    street side is now a study and a studio), a 4800 mm double-garage door with a drive, the garage reaches the house through the
    utility rather than the study, the fridge joins the kitchen's work triangle, and 800 mm bathroom
    and linen doors. garden-house: the street-side upper room is a study. themed gains a front
    door, so no example warns W_NO_ENTRANCE. furnished-flat, tiny-house: the walk that pinched
    to 400 mm is clear. Beds no longer stand head-under-window (bungalow, laneway-house,
    parametric, imports); relational and two-storey gain a fridge; studio's WC has 750 mm
    in front of it; accessible-WC pans move beside a grab-rail wall (classroom-block, clinic,
    transit-hall); classroom-block's basin leaves the cubicle; aquarium, library and museum
    gain a second exit, and library and museum an accessible WC.

  • W_HOB_UNDER_WINDOW no longer fires on a hob beside a window on a return wall: the hob must stand within
    30 mm of the window wall's face to count as under it (plan card PS2.64).

  • W_DOORWAY_BLOCKED and repair's doorway census skip garage doors: a vehicle door is not a pedestrian
    doorway, so the car it exists for no longer blocks it (plan card PS2.65).

  • The CLI now waits for stdout and stderr to drain before it exits, so a large --json output (the
    arch context --json bundle, a big ast) is never cut off when piped; a pipe lost everything past
    its first 64 KB to the process.exit that followed the write.

  • DXF text now lands where the SVG and PDF put it. Every TEXT entity carries the Scene's
    justification (group codes 72/73 with the 11/21 alignment point) and its rotation (50), so a
    CAD program no longer draws every label left-aligned on its baseline: room names sit centred
    in their rooms, schedule numbers right-align in their columns, and a vertical dimension's text
    stays turned along its line. Non-ASCII text is written as \U+XXXX escapes, so the file is
    pure ASCII and Baño / 客厅 no longer open as mojibake in a reader that assumes an ANSI code
    page (an R2000 file has no UTF-8). The DXF height is now the cap height (0.716 × the font
    size) — a DXF text height measures a capital letter, an SVG font size the em, so every label
    drew about 1.4× larger than the PDF and overran its room or column — and a STYLE table puts
    Standard on Arial instead of the reader's wider txt shape font. DXF output changes; SVG,
    PDF and PNG are unchanged.

  • Lint messages no longer quote an element id (plan cards PS2.22, PS2.29; the owner's rule that a
    message names things as a person would and only a hint carries an id). A room with no label
    was named by its id in about forty rules and in taste(); it is now named by its use or its place
    ("the kitchen", "the bedroom on the left of the plan", "the 3.2 × 2.4 m room in the top left of the
    plan"), one builder (src/naming.ts) for lint(), taste() and the W_ROOM_OVERLAP compile
    warning, and a labelled room reads exactly as before. A wall, another door, the entrance, a
    dimension, an outdoor surface, a stair and a fixture's declared room that a message named by id
    (W_POCKET_RUN, W_DOOR_NEAR_CORNER, W_SWING_OBSTRUCTED, W_CIRCUITOUS_PATH,
    W_OPENING_NOT_DIMENSIONED, W_DIM_INSIDE, W_DIM_OVERLAP, W_OUTDOOR_OVERLAPS_ROOM,
    W_BALCONY_NO_DOOR, W_STAIR_UNMATCHED, W_FIXTURE_WRONG_ROOM) are named by the rooms they
    join, the wall they stand in or where they stand, and the id moves to a hint (a new one on
    W_ALIAS_MATCH, W_CIRCUITOUS_PATH, W_SWING_OBSTRUCTED, W_OUTDOOR_OVERLAPS_ROOM and
    W_BALCONY_NO_DOOR). W_ROOM_OVERLAP now names two labelled rooms by their labels, where it named
    them by their ids, and the storey only on a plan of several. W_DIM_TEXT_MISMATCH writes a
    coordinate as (x, y). Over the shipped examples and the eval goldens no lint() row moves in rule
    or count, and no other rule's message changes for a labelled room; a corpus-wide test
    (test/lint-messages-id-free.test.ts) now fails when any message quotes an id of its own plan.

  • finish furnishes most small bathrooms and WCs again (plan card PS2.45). Since its WC stood
    450 mm off the side wall (PS2.11a, above), a wet room whose pieces did not fit around the pan's
    first position was left empty. Such a room is now tried as whole sets: each position of the pan, with the basin and the
    bath or shower completed around it, the basin also tried against the end of a door's approach
    or of the floor in front of the pan; the first set the never-worse check accepts is written (at
    most four checked, so a run makes at most 1 + 17 × rooms compile checks). A 1.0 m clear WC
    room 2.2 m long now takes its pan on the end wall and its basin on the side wall. A room
    furnished before keeps its pieces byte for byte, and a room no set fits stays empty with the same
    note. Over a 612-room sweep (scripts/probe-finish-wet-rooms.ts) 213 bathrooms and 275 WC rooms
    are furnished, none raising a clearance, overlap, doorway or swing warning: before this change
    152 and 260; in 1.43.1, 286 and 286, every one with its pan against a wall or its basin, and 133
    of the bathrooms with no bath or shower. Of the rooms 1.43.1 furnished, 73 bathrooms and 12 WC rooms
    stay empty, because no set of the stage's fits them without one of those warnings.

  • W_FIXTURE_BACK_TO_ROOM no longer warns on a piece standing side-on or end-on to a wall: one
    that touches the wall only with a side or an end its catalogued footprint rules out as a back,
    with its drawn front off the wall too, such as a bed lengthwise along a wall or a wardrobe
    end-on to one (plan card PS2.50). That is a layout, not a back turned to the room. A piece whose
    front is on a wall still warns, as does a plumbed or vented fixture or a wall-mounted one (a
    radiator, a fireplace, a TV, an EV charger; the catalogue's new wallMounted flag), whose back
    must reach any wall it touches. Side-on placement now has a lint-clean spelling, at (x,y) or
    in <room> anchor <edge> flush with a rotate. against still backs a piece onto the wall, so
    a bed, crib or treadmill written there with its long side along the wall keeps its
    W_FOOTPRINT_TRANSPOSED, whose hint now gives the side-on spelling with the piece's numbers.
    tiny-house and hillside-villa each lose that one warning; their drawings and describe() are
    unchanged.

  • A door or window tag no longer prints over a room name pinned with label "…" at (x,y). Tags
    are placed before the label pass so that a name moves off a tag, but a pinned name never moves,
    so the two overprinted; the tag placer now treats pinned names as obstacles like furniture.
    hexagon-pavilion.arch D01 now clears every ink; four terrace-row.arch tags (W08, W16 and
    newly W04, W12) keep off its pinned names and sit on furniture or poché instead.

  • A door or opening's between is read off both faces of its host wall, at the centre and just
    inside both jambs, so an exterior door centred on a T-junction, or within 200 mm of a
    partition's end, is no longer given to the two rooms inside and no longer raises
    W_NO_ENTRANCE. A connector whose span covers more than one room keeps its measured between,
    and describe() lists the rooms it straddles in an additive straddles field.

  • A window on an arc wall edge is attributed to its room from the shape, through the face probes
    or the arc's chord, so W_HABITABLE_NO_WINDOW no longer skips a glazed bay it can place
    (arc-window-unattributed remains only where that fails).

  • W_ROOM_NO_CLEAR_PATH reads the same under every rotation and mirror. A doorway centre that sat
    exactly on a cell line was seeded into one cell chosen by the sign of its coordinate, so
    mirror x could change the answer; both cells are seeded now.

  • describe() can no longer run for minutes on one room with hundreds of vertices cut by hundreds
    of free-standing walls. Its net-area walk is charged to a count per room (MAX_NET_PROBE_WORK,
    20,000,000) before it runs; a room past it omits net_area_m2, as in the other cases where the
    figure is not defined. A 125 by 300 comb room that took 52 to 97 seconds now returns in
    milliseconds. The cap is per room, so a plan of very many such rooms is still not bounded.

  • A room placed relationally (right-of, below, ...) works with everything that reads it:
    furniture against wall ... in <room> (it failed with E_FURN_AGAINST), furniture in <room>
    (E_PLACE_REF) and a door's swing into <room> (W_SWING_ROOM_NOT_ADJACENT). Relational
    rooms are now placed before anything that reads them, so a placed relational room draws byte for
    byte as its absolute twin. A room that could not be placed, including an instance's room read
    from the root, is refused naming its placement error, and the E_FURN_AGAINST and E_PLACE_REF
    messages now say it "could not be placed (see its own error)".

  • at <pct>% resolves to the exact length (55 % of 6000 = 3300, not 3300.0000000000005); a window or door an ulp off a corner or threshold now lands on it.

  • diffPlans (plan card PS0.4) reports three changes it missed or misnamed, additively. A room that only changed position is moved, with an offset read off its own shape (Moved Bed 500 mm right), where it read resized with +0.0 m². A door, window or opening whose host wall, between/on placement or joined spaces changed is rehosted, naming each host by its id as written or its automatic id, or by its rooms (door door_2 joins a and b → nothing), where it was not reported. A new walls section lists authored and walls from rooms walls added, removed, moved, resized or re-thickened; a derived wall that moved with its rooms names them in follows. Existing fields and sentences keep their meaning and order; the new sentences come before the trailing Walk to block. Plan JSON, SVG, describe() and lint() are unchanged. For consumers with an exhaustive switch: two unions widen, RoomChange.change gains "moved" and OpeningChange.change gains "rehosted".