Repository navigation
v1.44.0
Added
-
Imperial length input:
12ft,6inand12ft6inare length literals (also inWxH, 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
and12ft6are refused with the newE_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,…>(andimpact(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 isE_LOCKED_ELEMENT_CHANGEDwith its span
on both sides (lock.violationsin--json), and the command exits 2. A lock names only an
element whoseid=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
withE_LOCK_UNNAMED. New exportscheckLocks,parseLockListand theImpactLock,
LockViolation,LockRefusal,LockSpan,LockSide,LockElementtypes. -
describe --facts quantitiesandarch 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) andarea_net_m2. The storey's
floor_area_net_m2, andfloor_area_with_waste_m2only when--waste <pct>is passed (never a
default;DescribeOptions.wastePctin the API). Door counts by kind and width, window counts by
width.takeoffwrites the block as a one-figure-per-row CSV or Markdown tables, or JSON.
Definitions indocs/analysis.md§ Quantities.describe()without the fact is byte-identical;
no diagnostic is added. -
Wall
status existing|demolish|new(preview-and-remodel B3a), on awall(afterheight)
and onwalls from rooms(after the thicknesses, for every wall it derives). It draws nothing
yet: a plan marking a walldemolishdraws exactly the bytes it draws without the clause. A
demolishwall 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;
existingandnewwalls are walls.describe --jsonaddswall_status(the count by status
and each wall's status) only on a storey that writes one; Plan JSON carriesstatuson walls
and onwalls_from_rooms, in the schema. A plan that writes nostatuscompiles, 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; unlikeresolveAll(compile(src).ast)it keeps imported and
placed content),joinWallSetandloopsToPolygons(the wall joinery, with thesplitargument
that yields one ownership polygon per wall),doorSwinganddoorLeaves(a door's leaves; a
doubledoor's two come only fromdoorLeaves), the 14 types their signatures reach
(AnalyzeOptions,JoinableWall,JoinedWallSet,JoinedCut,JoineryResult,JoinerySplit,
Edge,EdgeLoop,Arc,Opening,DoorLike,DoorSwing,DoorHinge,DoorSwingDir) and the
element type namesROpening,RStair,RElevator,REscalator,RRoof,RVoid,ROutdoor,
RFence. Append-only; the promise is recorded in ADR 0031.test/public-surface.test.tsnow
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 rectangulargaragewhosedoor garageis 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_NARROWkeeps the room's width. No shipped example warns. -
W_ACCESSIBLE_WC_SIDE_WALL(plan card PS2.74), validity layer, on by default: awcin a room
whose label says "accessible", "wheelchair" or "disabled" (not negated: "Non-accessible" is not), with
its centreline farther than the new ruleset fieldwcAccessibleSideWallMaxMm(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 newwide-wc-pancoverage skip. Hint only, no
fix. Themuseumandpractice-officeexamples' 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 underaccessibility-advisory; new ruleset fieldsexitApproachMm,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()orlint()moved. -
W_BED_UNDERSIZED(validity,furniture, stagefixtures; plan card PS2.67): abed,
double_bedorbunk_beddrawn 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
bedMinLengthMmandbedMinWidthMm(nullturns either off);cribandcotare never judged.
No shipped example moves; the first-contact clinics' examination couches drawn asbedwarn. -
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 newstairscoverage family (W_SHAFT_FOOTPRINT_MISMATCHinvertical).
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 goingup, its head comingdown).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 thanminPathClearWidthMm.
W_STAIR_HEAD_VOID: avoidon 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 authoredheight
needs atstairMaxRiseMm/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
stairMaxPitchRatio0.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
newno-storey-heightcoverage 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) andtwo-storey(a 2900 mm run for its
2700 mm storey, the void now the stairwell); their drawings anddescribe()move, and
hillside-villalints eight warnings, not seven. A landing a curved wall stands near is not judged
(curved-landing-wallcoverage 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 andnextread
that set. Taste is anexttier only atdrafting, and a--graphcheck only fromopenings
on.summaryopens 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
itsstage(LintRule.stage, required likelayer;LINT_CODE_STAGES). A finding's stage is
the earliest stage at which its check can be judged:W_ROOM_TOO_SMALLisrooms,
W_ROOM_TOO_NARROW(clear width)walls,W_NO_ENTRANCEopenings,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 --jsonadds only astagekey, 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.mdand the spec now teach stage-ordered authoring. -
door double: a pair of hinged leaves, each half the door'swidth, hung on the two jambs and
closing onto each other at the centre, both to theswingside (plan card PS2.11e). It takes
swing(wall-relative,inward|outwardorinto <room>) and refuseshinge,slideand
open(E_DOOR_KIND_CLAUSE); unlike the sliding family it is accepted on anarcwall, 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()reportskind: "double"and Plan JSONdoor_kind: "double". A person passes
through one leaf (ADA 2010 404.2.3), soW_DOOR_CLEARANCEjudges a pair's leaf and its clear
width (describe().access'sestimatedClearWidth, and soW_PATH_TOO_NARROW) is one leaf's.
A plan that writes nodoubledoor renders, describes and lints exactly as before. -
Three validity-layer lint rules (plan cards PS2.11e, PS2.46).
W_HOB_UNDER_WINDOW: astove,
hoborcooktopagainst 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 thanhobLandingMm(305 mm, NKBA guideline 17's
12 in landing area), a wall between them ending the measure (across anopen betweenjoin there is
none).W_LEAF_TOO_WIDE: a swinging leaf wider thanmaxHingedLeafMm(1219 mm,
the International Building Code's 48 in nominal leaf, 2018 and earlier); adoubledoor is read
leaf by leaf. Messages id-free; hints quote an id only when the author wrote one; no fixes. -
W_DOORWAY_BLOCKEDreads leaf-lessopenings 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 anopen betweenderives, 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.repairclears what the rule reads; the placement check behind quoted positions and
finishkeep 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,lintloop, and the five errors cold authors
hit first, each with a bad statement that raises the code and the repaired one (E_PARSEclause
order,E_FURN_SIZE,E_OPENING_DATUM,E_OPENING_NIB,E_FURN_AGAINST).--level fullis
the default, the whole bundle as before;--level starter --sectionis 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 aspreviewdraws it, withdescribe().accesslaid over it (rooms
as nodes at their label points, an edge through each door and opening, entrances marked); every
element acompile()or default-rulesetlint()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 (afor
body, a component placed twice) that does not say which copy it means is listed, not ringed.
Default output<name>.review.png;--jsonaddsrings,marks[](each warning's span, line
and column, and its ringed elements with their boxes),crops[]andcropsOmitted[](boxes in
plan mm), and reportscompile()'s warnings as plainpreviewdoes. One storey per sheet
(--level, aspreview); refused beside--ascii,--viewor--overlay(exit 3).
Drawing-only: it lives in the CLI
layer, readscompile(),describe()andlint(), 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> …andkeep fixed <d> at <mm>, each with a trailing grade,hard(the default),
softoradvisory. 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 apaperplan in the drawn pass only;stackedafter the last
storey), on the step meter, and reports a signed residual in mm. A brokenhardkeep is the new
compile-channel warningW_KEEP_VIOLATED(id-free message, the ids and measured values in the
first hint): it failsvalidate --strictbut not plainvalidate,validate --json'snext
names it in tierwarning, and the never-worse law offinish,furnish,repair,arch fix
andrerollcounts it. A brokensoftkeep is named bynextin tierintent; anadvisory
keep is only reported. No keep caps taste or reacheslint(). Refusals are compile errors:
E_KEEP_TARGET,E_KEEP_MEASURE,E_KEEP_SELF,E_KEEP_PLACEMENT(inside a component, placed or
not;stackedanywhere but the root of a multi-storey plan; any other form at that root, once and
with no level),E_KEEP_VALUEandE_KEEP_LIMIT
(1,000 keeps, 64 targets).describe --jsonappendskeeps[]andvalidate --jsonappends
keepsbeforenext, each only when the plan declares a keep.keepis 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 thekeepline
(483 UTF-16 units, saying where a keep may stand), paid for by four drawing-only passages the
language reference keeps (thedoorline's dashed/solid sentence, its garage sentence
shortened, theoutdoorhatch prose, the window-sill citation):spec.llm.md29,729 → 29,815
units. Plan JSON drops keeps (and, as the next entry says, names how many). -
arch impactreads keeps, anddescribe --facts dependsstates them (ADR 0033; plan cards
PS4.3b, PS4.11).impactadds akeepssection afterdiagnosticswhen either side declares a
keep: each keep is matched across the versions by storey, text and occurrence (so aforloop's
repeats pair by order) and listed underbroke,held(a target moved, or its residual did,
and it still holds),healed,addedorremoved, with its residual before and after, where
the residual stands, which of its targets moved or resized on its own storey, itsoccurrence
and its span; a keep whose grade an edit changed carriesgrade: { before, after }and counts
asbrokeorhealedwhen either side is a broken hard keep; the rest count in
unchanged_count, and the human report gainsKeeps broke/held/healed(andadded/
removedwhen non-empty). A broken hard keep is reported there once:W_KEEP_VIOLATEDno longer
also counts as a broken diagnostic when both sides resolve.describe --facts dependsadds
depends.keeps[](all keeps on the top level, a storey's own on itslevels[]entry): the
targets,constrains(the names the targets' positions, the keep's value and the conditions
around both read, throughletchains;lockedwhen none),equationsorbounds, and
implied,redundant(redundant_by_weakerwhen a weaker keep implies it) andconflicts
decided from the declarations alone by a weighted union-find over relational rooms and walls
written on a datum withid=, 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 jsonprints a note on
stderr naming how many keeps Plan JSON left out, andplanToJson()returns the count as
droppedKeeps. TheimpactandvalidateCLI help name theirkeepskeys; the spec'skeep
line says advisory keeps are reported byimpacttoo (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 impactreports walls and furniture written at fixed coordinates asheldwhen a room
edge they lay on moves and they do not (plan card PS4.5).describe --facts dependsadds
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 throughon; 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_truncatedistrue.impactreads 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 abecausestepvia: "contact"named as the datum
(a.right), withcontact: { 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 addscontacts_truncated: trueand a note under Held. An element that moved at all, even
withindiffPlans' 10 mm tolerance, is no longer held through any dependency. The widening drill
now holds the shell and the partitionp; 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 andlint()are unchanged. -
Brief-bound dimensions (plan card PS4.4).
describe().totalsgains the plan's gross internal
area,gross_internal_area_m2: the floor inside the inner faces of the storey'sexterior
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 andgross_internal_area_omittednames why instead. As every total
there, the top-level figure is the lowest storey's and eachlevels[i].totalscarries its own;
the top level also carries the building's,gross_internal_area_all_levels_m2(the sum over
storeys, orgross_internal_area_all_levels_omittednaming the first storey with none). Every
resolving summary carries exactly one key of each pair, besidefloor_area_m2, and nothing else
moves;compile()never computes the figure. The intent
file gainsgrossInternalAreaM2(a band, liketotalAreaM2) androomDimensions[]: a room
bound by id or exact label to awidthMm/depthMmband or an exactsizeMm{ w, h, tolerance }in either orientation, on centrelines, found on any storey. On a plan with storeys
grossInternalAreaM2binds the building's figure and says so. Each gates;validate --intent --jsonand
score --brief --jsonlist them underintent.measureswith 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 newE_INTENT_UNMEASURED; misses are
E_INTENT_GROSS_AREAandE_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 newwcSideClearanceMmto 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 underuk-residential-advisory; 450 under
accessibility-advisory).W_FURNITURE_OVER_WINDOW: a tall unit (fridge, wardrobe, bookcase,
locker, never a bareshelf; the catalogue's newtallflag) 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 reasoncurved-window-host. Both are validity-layer warnings with a hint and no
machine fix, and every position a lint hint quotes now respects them.finishstands 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
fixedAspectflag, 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 900x2400with norotate;bed … size 1900x700). The frame is the one the
symbol is drawn in, sorotate 90counts. A family sold in both shapes (wardrobe, filing
cabinet, locker, shed, sink, desk) is never judged, nor is a plainsofa, which has no catalogued
footprint yet. Whensizeis one literal and its swap, as drawn on the grid, is the catalogue
footprint, amaybe-incorrectfix swaps it.W_LEAF_ACROSS_DOORWAY: a hinged door whose open
leaf parks in another door's approach (doorwayLandingMmin front of its wall face, jamb to jamb)
in the room both open onto and leaves less of that doorway clear thanminDoorWidthMm; a pair
whose swings collide staysW_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) andrelational(the front door's leaf parked across the bedroom door,
now hung on its other jamb); the first two now raiseW_FIXTURE_BACK_TO_ROOMfor 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-advisoryandus-residential-advisory, each a lint profile and a taste
profile, solint --profile,score --tasteandvalidate --profile/--tastetake 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: adouble_bed, abedwider 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 indocs/analysis.md). New codeW_ROOM_TOO_NARROW; new coverage reason
no-bed;no-dwellinggains its first caller. The taste profiles set R7's target (cn1/7,
GB 50096-2011 7.1.5;ukandus8 %), and a residential-advisory taste report lists its lint
profile's own warnings underadvisory, where they never cap. Defaultlint(),describe()
and the drawing are unchanged. WC clearances and the escape window wait for their rules. -
validate --jsonends withnext(plan card PS5.3): the one item to fix first,{ tier, code, message, span?, hint? }ornull, 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 (--intentgating,--graph,
advisory), then the lint profile, then taste; within a tier, emission order.validategains--profile <name>(thelint --profilenames; its diagnostics
are the profile's) and--taste <profile>(feeds only the last tier, never gates). Every byte
beforenext,okand every exit code are unchanged; human mode prints onenext (<tier>):
line on stderr unless--quiet. In the library:nextDiagnostic(),NEXT_TIERS. The MCP
validatetool does not returnnextyet. -
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 asitescores 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 butfacadenow 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 exportedTASTE_BUDGETrises 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]andtaste(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;--tastewith--brief, or an
unknown profile, exits 3; compile errors exit 2.lint(),describe()and the SVG are
unchanged. -
LINT_CODE_LAYERSmaps every lintW_*code to its layer,validityordrafting, and
lintWithCoverage()returns the map aslayers, beside the diagnostics;lint()output is
unchanged. The annotation codes (W_DIM_INSIDE,W_DIM_OVERLAP,
W_OPENING_NOT_DIMENSIONED, and PS2.12'sW_ANNOTATION_OVERLAPandW_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
numberdims autowrites (a wall-thickness figure, anRorφcall-out, a chain figure), is
printed over a furniture, fixture or stair symbol, or adims autonumber 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 autowall-thickness figure now also keeps off a stair, lift or escalator, as it already
did off furniture (examples/townhousedraws its "300" clear of the stair). Seven examples were
fixed:aquarium,hillside-villa,library,tiny-house(a label moved),two-bed(a bed
moved), andmuseum-wingsandtransit-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 withinwetDoorKitchenProximityMm(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 (seedescribe().access.mainEntrancebelow), so a
patio door cannot mask a route through a private room.garden-housenow 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 ofminJunctionNibMm(100 mm) and the host's thickness times
junctionNibThicknessRatio(0.5);W_DOOR_NEAR_CORNERkeeps 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 thanminMullionMm(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_WINDOWandW_ROOM_MISSING_DEFINING, on by default. The first extends
W_BEDROOM_NO_WINDOWto 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 tablefinishfurnishes by, so the
rule andfinishcannot contradict.finishnow 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 --jsonends with acoverageblock, andlintWithCoverage()andlintCoverage()return
it (the latter alone, ornullwhen 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 reservedno-briefandno-operable-window-data), and the rooms the vocabulary could not classify
(unclassifiedRooms). A humanlintprints 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 showcoverageyet. -
Three space-enclosure lint rules, on by default.
W_BOUNDARY_NO_WALL: two rooms share an edge
run with a stretch longer thanmaxBoundaryGapMm(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,outdoorsurfaces, voids and stairs to
less thanminFaceCoverRatio(0.95), leaving at leastminUnassignedM2(0.5 m2) in no room; a
sealed face is not reported.W_ROOM_OUTSIDE_SHELL: at leastminOutsideShellM2(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 skipenclosure-budget.aquarium's galleries were extended to its north wall and
courtyard-house's courtyard is drawn as anoutdoorsurface. -
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 butresidential-basic,
W_HABITABLE_NO_WINDOW's kitchen arm,W_WET_ROOM_DOOR's dining, leaf-less and passage arms and
W_ENTRANCE_INTO_PRIVATEdecline and file the coverage skipnon-dwelling;
W_WET_ROOM_DOOR's kitchen arm judges every plan.residential-basicsetsassumeDwellingand
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.mainEntranceanddepthFromMainEntrance, on a storey with more than one way
in: the one door the plan is entered by, with itsbasis. 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 facingsite.street) orsole. The fact refuses withtie,no-candidateor
upper-storey, whichlint --jsonreports as the coverage skipno-main-entrance.
W_PATH_TOO_NARROW,W_ROOM_VIA_PRIVATEandW_WET_ROOM_DOORjudge 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|westalias the first four only in the root of a plan whosenorthisup).
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; alet, aplace,
a plan setting or a room's ownat/sizeis 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 thatE_STEP_LIMITstops
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 isE_ELEMENT_LIMITand derives nothing, and an authored wall beside it
may not take the idexterior(E_WALL_ID_RESERVED). A hole is legal whenoutdoorsurfaces
or avoidcover 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 --jsongainsderived_walls[]andfreedom.walls, and Plan JSON
carries the statement aswalls_from_rooms, each only on a plan that uses it.wallsis now a
statement keyword, so adims autowith 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, withwidth), joining the rooms in the access
graph. Its id is<A>|<B>:openunless 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[]andbetween[]. -
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, anddoor|window|opening ... on <room>.<edge> [at <pos>]in the one exterior wall on that edge, derived or authored, so it reaches a wall
thatwalls from roomsderived.<pos>iscenter,<mm> from start|end,
<mm> from <room>.<edge>oraxis <label>, measured to the opening's centre along the run; a
door and a cased opening must write one, a window defaults tocenter, andwindow ... 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_DATUMfor a
plainat <mm>orat <pct>%on these forms, andE_WALL_BETWEEN_OPENacross anopenpair.
An opening on an ordinary wall may also be placedat <mm> from start|end|<room>.<edge>or
at axis <label>.describe()gainsrelationon the opening andfreedom.openings.relational,
and Plan JSON carriesrelation. 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, andaroundrefuses any hole. An openingona
refused wall, furnitureagainst wallit, or adim radiusof it still raises its own code,
saying the wall could not be placed (see its own error).describe()gainsderived_walls[]
rows for them andfreedom.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 ofrotate;clear front <mm>and
clear sides <mm>declare a clearance, measured against solid pieces, wall bodies and door
swings, and warnW_FURN_CLEAR_FRONTandW_FURN_CLEAR_SIDESwhen it is not free (a bad depth
isE_FURN_CLEAR).facingrefuses withE_FACING_TARGET,E_FACING_MISS,E_FACING_TIE,
E_FACING_CONFLICT,E_FACING_SYMMETRICandE_FACING_TRANSPOSED;against <room>.<edge>
reusesE_FURN_AGAINST.describe()gainsrelation,facingandclearon a furniture row,
andfreedom.furniture.relational, only when written; Plan JSON gainsagainst_edge,facing,
clear_frontandclear_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 declaresfacingis 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|outwardon a door, relative to the building:inwardopens towards the one face
of the host wall that has floor,outwardaway from it, whichever way the wall was drawn. It
resolves to thein|outit means, so a plan using it is byte-identical to that twin. A host with
floor on both faces or on neither isE_SWING_SIDE, on the word; the door keeps its default
swing.inis the right of the wall's drawn direction on the page andoutthe left, which
spec.llm.mdnow says. Plan JSON addsswing_buildingbesideswing. 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
holdswalls from rooms, and only there, the payload gainscomponents: [{name, body}]and
instances: [{name, component, at, rotate?, mirror?}], and each flattened instance row gains
instance; a body keepsrelation,facing,swing_building,against_edgeand
walls_from_roomsas written, and the round trip prints a parameterlesscomponentper body
and aplaceper instance.E_JSON_DERIVED_IN_INSTANCErefuses only what the record cannot
hold: a nestedplace, 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|westandsegment containing <room>.<edge>can be written whereversegment <n>is, and resolve to that number:
against wall … segment, anddim 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 additivesegment_selectfield. -
describe --facts depends(plan card PS4.1). Opt-in:describe(src, { facts: ["depends"] })
addsdepends.elements[], one row per element sorted by id, withon(the ids it derives
from: its reference room, the rooms ofbetween, the room ofon|against <room>.<edge>, a
facingtarget, an anchor room, the rooms whose datums it reads, an authored host wall),
params(thelet, modulelet, parameter and loop names its expressions read),axes(the
positioning axes it is placed at) andhostWallId(the wall it is hosted on or backed onto),
plusdepends.derived_walls[]for the wallswalls from roomsderived. A derived wall is
never named inon: an element hosted on or backed onto one names it ashostWallId, 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 impactandimpact(before, after)(plan card PS4.2).archlang impact plan.arch --set W=4500(or--against old.arch) compiles both versions and reports the top-levellets that
changed, every element that moved, resized or was re-hosted with itswhy(thedependschain
back to theletor the edited statement that moved it), the elementsheldin place although
something they depend on changed, and the diagnostics thatbrokeorhealed, keyed by code
and element. Derived walls are named by their rooms.--setoverrides only a single top-level
let, with a numeric literal; anything else is refused with the newE_SET_OVERRIDE.
applyLetOverride()is exported besideimpact().compile(),describe(),lint(), the SVG
and Plan JSON are unchanged. -
W_DIM_TEXT_MISMATCH(plan card PS2.10): a hand-writtendim … text "…"whose text reads as a
length (a number with an optionalmm,cmorm; 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, so4000covers 3999.5–4000.5 mm,3.5 mcovers
3450–3550 mm, and the number the drawing prints with notextnever warns. Any other text
(VARIES,EQ,2300 clear,R9000) is not checked. A literal text gets amaybe-incorrect
fix (archlang fix --unsafe) that letters the measured span in the text's own unit and
precision.examples/gallery-l.archandexamples/aquarium.archhad 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 read2.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-mcp0.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-planis
unchanged at 0.1.1 (its peer range^1.42.1admits this release). -
The
archlangskill (and the generated plugin copy) states the authoring order next tovalidate --stage:brief → rooms → walls → openings → fixtures → drafting, the order inside each stage, and why. Paint order is unchanged. -
docs/language-reference.mdgains "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_NARROWnow also judges a garage's clear depth along itsdoor garage: 5000 mm by
default, a parking bay's length, and 6000 mm underuk-residential-advisory(new ruleset field
garageDepthMm; a garage with no vehicle door files ano-vehicle-doorcoverage skip; plan card PS2.70). -
W_ROOM_MISSING_DEFININGnow 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 --jsonnext: 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 --jsonnext: within the validity tier, a first finding of thefixturesstage 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
nextruns over the tracked.archfiles 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-housemoves to A0,hillside-villato A1 with its upper floor
rebuilt,materialsto A2,themedgains a front door, andaquarium,libraryandmuseuma
second exit. -
A doorway's approach (
W_DOORWAY_BLOCKED's landing,doorwayLandingMmdeep) is measured from
the wall's FACE on each side, not its centreline, the datumW_LEAF_ACROSS_DOORWAYalready 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 doublepairs (transit-hall's 4000 mm entrance aslidingdoor), hobs moved off windows
and away from fridges,themedcleared 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 offlineeval:cigate now fails only
when a golden differs from the committed judge fixture, never asking for every golden to pass. -
W_ROOM_TOO_SMALLreads 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 genericminRoomAreaM2and 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.
livinganddiningwere left out of the label vocabulary, so
a label-only "Living" or "Dining Room" now reads those uses indescribe(), aslint()already
treated it, and itsroom_typeisLivingRoom(as an authoreduses livingroom 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
gainsLivingRoom,StorageandStudyRoomfor those rooms indescribe()and Plan JSON (a
label-only nursery reads as a bedroom,MasterRoom), andfinishfurnishes label-only living
rooms, studies and nurseries. Rooms the vocabulary still
cannot read are listed inlint --json'scoverage.unclassifiedRooms. -
The examples teach the room graph first.
spec.llm.mdand thearchlangskill lead with a
three-room example (rooms,walls from rooms ... { open between living and hall }, a front
dooron hall.bottom,door between hall and bedroom, windowson <room>.<edge>) in place of
the embeddedexamples/attached.arch, and the spec is shorter by about a thousand characters.
examples/two-bed.archis redrawn with a hall that every room opens off (its three
W_ROOM_VIA_PRIVATEwere real; it now lints clean), andexamples/relational.archis 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-villaandlibrary. Eleven examples, the gallerytwo-bedplan and the overview
plan also gained a kitchencounterfor the worktop rule. Their drawings move. -
archlang ast --jsonreports asizeSpanon a furniture statement whosesizeis one literal
(900x2400): the byte spanW_FOOTPRINT_TRANSPOSED's fix rewrites, beside therotateSpanit
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 thearch-authoragent role now say
the same loop, compile →validate --json(fix itsnextfirst) → 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 ranscore --tasteeven when taught it, so the skill's step 7 and
a "Review" section in the agent role name it as the reviewer'sscore --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 thescore --tasteflag 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. -
finishand itsfurnishstage 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 --profilereports 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_OVERLAPrefused a kitchen's fridge for its room name. Placement is
unchanged, so a finished plan can now report the overprintsfinishalways drew (on the eval
goldens, 9 across 6 plans), and the sheet stage no longer tradesdims auto allfor
dims auto overallwhen an opening is on no chain;W_OPENING_NOT_DIMENSIONEDreports it. -
After
segment, a barenorth|south|east|westis 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 assegment (east)instead. No example or corpus plan does this (checked
by greppingexamples/and the test corpus).containingis a selector only when a dotted
<room>.<edge>follows it, which never parsed before, so a variable namedcontainingreads
as it did. -
lint,validateandscore --taste(on a plan that does not compile) open with a one-line
summary (plan card PS7.6).--jsongainssummaryas its first key
("7 warnings in 2 codes: W_SWING_OBSTRUCTED ×4, W_ANNOTATION_OVERLAP ×3","no warnings"when
clean, errors first as2 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 200still names the count, how many distinct codes there are and the leading ones; every
other key keeps its order and bytes.validate --jsonwith a failing--graphor--intentand no
diagnostics saysno 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, likeok, and lives in the CLI:lint(),compile()and
every diagnostic are unchanged. A consumer that matches the wholelint --jsontext, or its first
key, must skipsummary.
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.themedgains a front
door, so no example warnsW_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);relationalandtwo-storeygain 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,libraryandmuseum
gain a second exit, andlibraryandmuseuman accessible WC. -
W_HOB_UNDER_WINDOWno 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_BLOCKEDandrepair's doorway census skipgaragedoors: 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
--jsonoutput (the
arch context --jsonbundle, a bigast) is never cut off when piped; a pipe lost everything past
its first 64 KB to theprocess.exitthat followed the write. -
DXF text now lands where the SVG and PDF put it. Every
TEXTentity 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+XXXXescapes, so the file is
pure ASCII andBañ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
Standardon Arial instead of the reader's widertxtshape 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
messagenames things as a person would and only ahintcarries an id). A room with no label
was named by its id in about forty rules and intaste(); 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) forlint(),taste()and theW_ROOM_OVERLAPcompile
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_ROOMand
W_BALCONY_NO_DOOR).W_ROOM_OVERLAPnow 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_MISMATCHwrites a
coordinate as(x, y). Over the shipped examples and the eval goldens nolint()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. -
finishfurnishes 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 most1 + 17 × roomscompile 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_ROOMno 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 newwallMountedflag), 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> flushwith arotate.againststill 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-houseandhillside-villaeach lose that one warning; their drawings anddescribe()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.archD01 now clears every ink; fourterrace-row.archtags (W08, W16 and
newly W04, W12) keep off its pinned names and sit on furniture or poché instead. -
A door or opening's
betweenis 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 measuredbetween,
anddescribe()lists the rooms it straddles in an additivestraddlesfield. -
A window on an arc wall edge is attributed to its room from the shape, through the face probes
or the arc's chord, soW_HABITABLE_NO_WINDOWno longer skips a glazed bay it can place
(arc-window-unattributedremains only where that fails). -
W_ROOM_NO_CLEAR_PATHreads 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 xcould 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 omitsnet_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:
furnitureagainst wall ... in <room>(it failed withE_FURN_AGAINST), furniturein <room>
(E_PLACE_REF) and a door'sswing 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 theE_FURN_AGAINSTandE_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 ismoved, with anoffsetread off its own shape (Moved Bed 500 mm right), where it readresizedwith+0.0 m². A door, window or opening whose host wall,between/onplacement or joined spaces changed isrehosted, 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 newwallssection lists authored andwalls from roomswalls added, removed, moved, resized or re-thickened; a derived wall that moved with its rooms names them infollows. Existing fields and sentences keep their meaning and order; the new sentences come before the trailingWalk toblock. Plan JSON, SVG,describe()andlint()are unchanged. For consumers with an exhaustiveswitch: two unions widen,RoomChange.changegains"moved"andOpeningChange.changegains"rehosted".