Skip to content

Latest commit

 

History

History
380 lines (269 loc) · 65.8 KB

patchnotes.md

File metadata and controls

380 lines (269 loc) · 65.8 KB

Hex patchnotes

v0.23.0 (2026-11-09)

The money kit, from the economy-doc mining: the currency tables pinned verbatim, the purse line parsed, and the documented money commands one alias away.

  • hex_moneydata: the full brass-value table for Ankh-Morpork, the Agatean Empire, Genua, Lancre and Djelibeybi straight from the pinned concepts/currency page, plus a parser for the wire purse line. /hexmoney <purse line> totals it exactly (the 2026-11-09 session purse "3 Ankh-Morpork half-dollars, 34 Ankh-Morpork ten-pence and 90 Ankh-Morpork pence" parses to A$5.80, pinned by a test), /hexmoney A$3.07 converts the notation both ways.
  • /hexbank and /hexpawn print the documented money cards: the bank commands with the 5-10% administration-fee note and the balance-book price, and the pawn mechanics with the ~20% reclaim premium, the receipt-expiry warning, and the shopping page's "general stores buy for much less than they sell".
  • /hexdeposit <money> sends the documented deposit; /hexoffer <obj> to <player> for <money>, /hexaccept <player> and /hexwdrop <player> wrap the documented secure trade. All thin user-alias sends.
  • The pre-tag audit earned its keep before a single tag was cut: four of the new trade aliases shipped with a corrupted pattern (a bulk-escape sweep had written a literal SOH byte where a space class belonged, making them silently dead), the spellcheck stage print formatted the wire's word-number with a digit format (a guaranteed runtime error on first live line), and v0.22.0's entry overstated its test count. All fixed here, the registration-literal invariant now rejects single-backslash decimal escapes so the corruption class dies in CI, and the money kit got its roadmap box.
  • Tests grow to 217 (223 with the opt-in route goldens): the purse line to exact brass, unknown coins refused, the notation both ways, and the cards' warning lines. Also caught the Lua 5.5 interpreter drift once more on the way in: a for-loop variable assignment that 5.4 allows and 5.5 forbids died locally before it could ship.

v0.22.0 (2026-11-09)

Phase 5's offline remainder: the travel annotations, in the shape the data actually supports.

  • Carriage exits get their [carriage] marker in /hexexits (the wire shows them plainly in the exits line: "[n,se,d,enter broadway carriage]"), and the documented carriage arrival set becomes a tracker: "arrives and pulls to a stop", "will soon be leaving for X", "comes to a grinding halt", "has arrived at X" and "next stop is X" all feed one state that /hexcarriage renders with the boarding verb and an age. The stop and leave forms are wire-verified from the 2026-11-08 carriage-stop log; the rest are pinned in the doc mirror and stay flagged as such.
  • /hextransport list|<dest>|cancel: the documented arcane transport NPC verbs as thin sends (A$20 international, A$10 local, language-gated, per the pinned object page). Fast-travel for long delivery hops once you find a wizard selling rides.
  • Honest scope note: /path annotations proper (routing THROUGH a carriage leg) stay open until a capture shows how carriage journeys enter the room graph; today the markers and the tracker tell you where the horses are.
  • Tests grow to 214 (220 with the opt-in route goldens): the carriage marker's positive and negative cases, and the tracker's documented arrival set.

v0.21.0 (2026-11-09)

Phase 4's offline remainder plus the safety kit the combat-doc mining earned: every line shape in this release is pinned verbatim in the doc mirror, so it all works today, and every send stays behind a user alias.

  • /spellcheck <nick> live: the documented sendable probe. Resolves the nick through the local spelldata store, sends spellcheck fully <spell> (25 magic guild points plus 25 per stage, per the pinned help page), and each stage verdict prints annotated as it lands. The local model keeps its old name; live is the MUD's answer.
  • /shields: sends the documented status probe; the impact-shield line and the divine-protection lines (god plus duration) print annotated as they arrive. The item-condition rows of the block are deliberately unparsed: "It is in excellent condition" also shows up in every examine, and a parser that fires on examine output is noise.
  • The safety kit, straight from the documented mechanics: /hextactics safe|neutral|aggro (attitude and response presets; safe = defensive + dodge), /hexwimpy <0-100> (the flee threshold; the help page's own caveats ride along: even with wimpy you can still die, and higher wimpy means less xp per kill), /hexkill <target> (the documented kill living adjective trick, so a rat pile never eats your swings), /hexloot (the dying page's recovery pair: get all from corpse then equip), and /hexbandage (bandage me, out of combat only).
  • Still wire-gated and honest about it: remember and the known-spells store need the known-spells listing; the TPA glow colour and the wimpy confirmation lines need a capture.
  • Tests grow to 212 (218 with the opt-in route goldens): the stage and header parsers (the stage number is a word on the wire, per the doc's own example), the shields block parser with the item-condition collision pinned as unparsed, and the empty-report hint.

v0.20.0 (2026-11-09)

The Phase 1 and Phase 2 finishers: the last unticked box of the 1.x lane and two of Phase 2's leftovers, all offline work the pinned docs and the existing graph already supported.

  • /hexcheck (the 1.x Tier-2 parser, shape confirmed by the 2026-11-05 capture): /hexcheck refresh arms a three-second window, sends options output, and a wide trigger records every name = value <choices> and name <more options> row while the window is open; /hexcheck renders the stored listing. The window timer is announce-only and never sends, and both registrations go through the registry so /hexreload reaps them.
  • /npc and /items sold now order by walk distance: one multi-target Dijkstra annotates each result row with steps from your current room, nearest sources first, unreachable last (the phase-2 "nearest source" ordering box). The plain /item card has no room to measure and stays as-is, still teaching /items sold in its footer. The sources query grew the room-id column it needed, and the SQL goldens were re-authored (the diff is exactly the appended field).
  • The drift chip: an active walk now occupies the status row as »N/M, flipping to !driftN/M on the first mismatch (the milestone and mismatch prints from v0.3.0 are unchanged). Post-hoc display only; the queue is still never touched.
  • Tests grow to 210 (216 with the opt-in route goldens): the listing parser's shapes and refusals, the renderer, the distance comparator's nearest-first/unreachable-last rules, and the chip's progress/drift/complete states.

v0.19.0 (2026-11-09)

The hunt-and-death awareness release, built straight out of Brandon's own logs: the sweep that mined his session transcripts found the death we thought was uncapturable, the first two consider shapes, the whole corpse family, and one crash that had never been hit yet.

  • The death sequence is wire-verified. The 2026-11-08 20:25 session log holds the forest-clearing death in full: unseen night creatures attack as "Something" (you cannot see them in the dark), Death appears mid-fight with a random small-caps quote ("Someone says: DARK IN HERE, ISN'T IT?" / "You turn and see Death standing behind you."), monologues ("I'M KIND OF BUSY, HOW ABOUT ONE FREE EXTRA RIDE?"), and leaves ("Death gets back onto Binky and rides away."). First-death newbie mercy: grinning dwarfs pop out and hand over the handbook. /hexcorpse's auto-record triggers now fire on the two invariant lines, alongside the old conservative anchors as harmless extras, so the next death site records itself.
  • /hexscan ships for real (cut in v0.18.0, revived the moment its data existed): your consider history colour-banded into prey (rungs 1 to 5), even (6 to 7) and danger (8 to 13), the full 13-rung ladder pinned from the official help file, the covert and insane forms included; corpses on the floor with the loot hint; your kill history; and an alarm when something starts eating a corpse (get your loot NOW). consider covert <target> stays quiet. The consider table persists across rooms; the corpse floor clears whenever an identified room push says you moved on.
  • The floor and night feeds grew: kill lines, the four corpse-floor shapes (including the stacked "Two corpses of X and two corpses of Y" form), the rats-ripping-corpses alarm, and the lit-outdoor night line ("It is night and the last quarter moon is hidden by the clouds.", 678 samples) now confirms night and carries the moon phase into /hexnight even when no weather line has been seen.
  • Fixed the latent /apply crash before it ever fired: both /apply <id> and /missions pending <id> call a board_market helper that shipped in v0.4.0 without ever being defined; the first live /apply would have raised "attempt to call a nil value". Found by the doc-mining sweep, fixed, and pinned by a suite test.
  • Tests grow to 207 (213 with the opt-in route goldens): the whole rung ladder, the covert and insane forms, the four corpse shapes, the consider table's dedupe and cap, the lit-night observation, the death-anchor pin, and the board_market regression.

v0.18.1 (2026-11-09)

A one-line crash fix, found in Brandon's own session logs by the utilization sweep: the MDT people tracker crashed mid-walk on a writtenmap naming a nationality'd carriage driver.

  • The crash: src/hex_mdt.lua:380: invalid capture index %2, fired through the writtenmap handler during the Broadway carriage walk on 0.17.0 (the walk itself survived; the tracker died for the rest of the session). tt_dw's original regex has two groups (the dwarfish/trollish/human nationality is capture 1, the carriage name capture 2); the Lua port has no alternation, so the nationality became a literal and the only capture is %1. The ported replacement still said %2, and Lua raises "invalid capture index" the moment the pattern matches.
  • The fix is the one-character class: %2 becomes %1, and the nationality drops exactly as tt_dw intended ("a dwarfish mail carriage driver" normalizes to "mail carriage driver").
  • A suite invariant now scans every single-line gsub in src/ for replacements that reference more captures than the pattern has, so this whole class dies in CI instead of on the wire (a Python scan of the same shape found exactly one instance in the codebase: this one).
  • Found by the four-agent utilization sweep of the week's captures and session logs; no screenshot needed, the log carried the whole error.
  • Tests grow to 201 (207 with the opt-in route goldens).

v0.18.0 (2026-11-09)

The situational-awareness release: a new family of read-only investigation commands (hex_scry) built from the week's actual failure modes: night walks, locked gates, dark rooms, disconnected parcel destinations, and the corpse walk. Nothing here sends anything to the MUD: the triggers only record signals from the wire, and the commands only query Hex's own databases and print.

  • /hexexits: every exit of the current room with its destination, plus markers for the things that bite: [gate] (city gates lock at night), [swim], [climb], [journey], and the map's own exit bits as [hidden]/[unsafe].
  • /hexzone: area, terrain, Quow zone, and the graph-component facts: one multi-target Dijkstra checks whether Bes Pelargic, Genua, Bad Ass, and Lancre Town are routable from where you stand at all (Bad Ass never is: the Ramtops component is disconnected, confirmed live during the bakery parcel attempt).
  • /hexnight: in-game day-part recorded passively from the weather line every outdoor room carries ("It is a freezing cold spindlewinter's night with ...", hundreds of real samples in the session logs), plus the dark-room signals (the collapsed description, the "too dark" map payload, the moon line). Prints the state, the implications (gates locked, climbs fail, dark rooms fail commands), and the remedies. /goto now repeats this as a warning BEFORE queueing, instead of after the "What?" spam (the Hubwards Gate incident).
  • /hexcorpse: the death-site tracker. mark records the current room per-alt in hex.db, bare prints it with the walk-back command, clear removes it. The auto-record death triggers are wire-PENDING: no death sequence has ever been captured anywhere, and tt_dw has no death triggers to port, so the shipped anchors are conservative guesses and mark is the reliable path until the first captured death fixes them.
  • Cut consciously, after checking the data sources: /hexdoors (no door-state data exists in the map database, GMCP, or tt_dw; door open/closed/locked is live-only) and /hexscan (Quow's npc_info carries no combat stats and consider output was never captured, so a consider-style safe-prey ranking is not buildable honestly; /mdt already lists nearby people). Consider parsing goes on the wire-verification backlog.
  • This lane is permanent keeper-quality, not a -dbg lane: nothing in it is scaffolding destined for removal.
  • Also folded from the backlog: /dl outside the dead letter office now names the destination ("/goto dead letter office"), and /item grows a footer teaching its sibling ("/items sold shows who sells it").
  • The pre-release review pass earned its keep twice: it caught the new /hexzone reachability check passing a list where the pathfinder wants a scalar start (every landmark would have read "NOT routable" forever, confidently), and it flushed out a latent /where bug of the same silent family: the room-detail query returned ONE tilde-joined column, so the "map:" line has been printing the whole "nameareaterrain~note" lump as the name with area, terrain, and note silently dead since it shipped. The query now returns real pipe-separated columns and the SQL golden was re-authored (the diff is exactly the separator swap).
  • Also audited under the same roof: the testing facility (gitignored staging tree) got a four-agent sweep and docs/testing-facility.md now tells the truth about it: every symlink resolves, the databases are symlinked live files, the lua toolchain row was wrong when written (the machine runs 5.5.1, not 5.4), the doc mirror is complete, the capture staging is still empty, and the next live session's staging list is explicit (maze captures, char.info, and a death capture for the wire-pending anchors).
  • Tests grow to 199 (205 with the opt-in route goldens): the day-part state machine, the exit marker renderer, the landmark set, the death-site SQL and report, moon-signal decay, and a pin on the death anchors' conservative end-anchored shape.

v0.17.2 (2026-11-08)

The night-walk fix, for real this time: dark rooms push room.info WITHOUT the identifier field (you cannot identify a room you cannot see), and the walker was ignoring exactly those pushes, so a 38-step walk through dark countryside counted "step 0/38" the entire way while successfully moving Brandon every step. The walk then reported "ended early" at his actual destination.

  • Unidentifiable room pushes now advance the walk optimistically, marked unverified: the movement happened, the room just could not be confirmed. Milestones fire normally on the unverified count, and the walk completes when the movement count reaches the route length.
  • The finish line reports the honesty: "arrived: (N steps) (some steps unverified: dark rooms)".
  • Known-id pushes still verify against the plan exactly as before, and a genuine mismatch still reports drift. Dark stretches simply count.
  • Found by the same night walk that produced v0.14.0's caveats: this bug made that walk's "ended early at step 0/38" a lie; the walk had in fact worked.
  • Tests grow to 187 (193 with the opt-in route goldens).

v0.17.1 (2026-11-08)

Two small fixes from live use of the item commands:

  • /item sold <thing> is the natural typo of /items sold <thing> (the sources query). Instead of searching Quow for an item literally named "sold", it now redirects to the sources query. The redirect also flushed out a latent ordering bug: cmd_item_sources was defined after cmd_item, so the redirect would have crashed on a nil global (the same class as the /goto #n deps crash). The function moved above its caller and a suite invariant now pins the ordering.
  • /path and the /goto candidate lists note: no changes to climbing behavior this release; the exclude_climb default and allow_climb option from v0.17.0 stand.

v0.17.0 (2026-11-08)

Found live, twice in one night: /goto happily routes through climb-window shortcuts (the guild dorm wings connect to the ground floor over the rooftops), and an untrained level-4 student who follows one at spindlewinter night ends up stranded on a ledge with [none] exits, a burnt torch, and a full queue of "What?".

  • /goto now EXCLUDES climb edges by default: ground routes are longer but survivable. The new allow_climb option (/hexset allow_climb on or /hexoptions) restores the shortcuts for trained climbers with a light source.
  • /path renders climb steps with a [^ ...] marker (the swim route's ~ sibling), so informational routes show exactly where the climbing starts.
  • The exclusion mirrors the existing swim-edge machinery (same Dijkstra skip, same option shape, same render marker pattern).
  • Also visible in the incident report: stop + the "Removed queue." catch-all behaved correctly mid-walk, and /where identified the stranded ledge; the recovery tooling did its job.
  • Tests grow to 184 (190 with the opt-in route goldens), including a regression test where the climb shortcut must win without the option and must vanish with it.

v0.16.1 (2026-11-08)

Two walker bugs from the first live night walk (a 32-step route over the guild rooftops, in the dark, on spindlewinter night; Brandon's Hex life is hard):

  • The drift report crashed the walk script. The mismatch print concatenates event.total, but mismatch/drifted events never carried that field: the first live drift died on "attempt to concatenate a nil value". Every transition event now carries total, and the drift report itself worked as designed once the script survived (screenshot 2 shows it firing honestly: "walk finished with drift at step 1/8").
  • The "arrived" lie. Failed commands drain the MUD queue much faster than a route assumes: night climbs failed, the queue emptied, the frimble marker arrived three steps into a 32-step walk, and the finish printed "arrived: Secretary's office (3 steps)" while Brandon stood on a rooftop. An early marker now reports "walk ended early at step X/Y" with the /where nudge.
  • Also documented for the player: climb-window routes (the guild dorm wing connects to the ground floor over the rooftops) are night-fatal without a light source: light torch first; the inventory carries two lightable torches for exactly this.
  • Tests grow to 183 (189 with the opt-in route goldens).

v0.16.0 (2026-11-08)

The chat capture finally met a real talker: Brandon joined the Conlegium Sicariorum and its wooden bracelet started chattering. The classification held (the talker shape matches the live lines verbatim, now a fixture), but the delivery was tt_dw's opposite: club chatter MIRRORED in the main feed instead of moving to the chat tab.

  • The chat triggers gained per-family hide-from-main: club, group, talker and system chatter now moves to the chat tab (gagged in the main feed), while tells NEVER hide (the awareness rule, enforced in code: the tell family cannot be set to hide). The gag fires only after the Lua-side classify confirms the family, so the broader Rust patterns can never mute a room description.
  • /chatset <family> hide|mirror toggles each family between moved-to-tab and mirrored-in-main; /chatset tell hide is refused by name.
  • Also shipped: the MDT fixture grew the first real multi-entity writtenmap corpus (two people, correctly attributed, verbatim from Brandon's guild capture).
  • Tests grow to 181 (187 with the opt-in route goldens).

v0.15.0 (2026-11-08)

Brandon joined the Assassins' Guild on the wire (the captured sequence: application form from the black box in the foyer, south to the secretary, say apply), and the score-verbose clause confirmed it: "you are level 3 in the Assassins' Guild". That unblocks this release: the guild-pack framework arrives, and the debug lane leaves exactly as planned.

  • hex_guild + hex_guild_data: the guild-pack framework. The pack selection autoloads off config.guild (the score clause, now wire-verified), refreshed live by the /hexoptions guild hook. The design's honest verdict stands: tt_dw has no assassin triggers to port, so the assassin pack v1 is primaries-data-only (already delivered by hex_skilldata through /skillcost and TM gating); thief and priest carry the first planned trigger ports (dagger tingles + DAG chip; rod-charge gags, totem triggers, find-ritual decoder). /doctor reports the active pack.
  • The debug lane is REMOVED, exactly per plan: src/hex_capture.lua out, /hexcapture and /hexdebug become removed-lane stubs, the wiring (setup, output listener, commands deps) is gone. /doctor is the permanent in-client self-test. The lane's transcripts remain the wire-shape archive; its summaries answered every question asked of it (combat monitor verdict, guild clause, the first real writtenmap corpus).
  • That corpus is now a fixture: the captured writtenmap with two real people ("a dark-haired young woman is one west, a secretary is one south") parses into two correctly-attributed groups on the first live try.
  • Also corrected in the notes: the Assassins' Guild interior is fully mapped (~100 rooms under its own area name), which is how /goto foyer works from inside it.
  • Tests grow to 179 (185 with the opt-in route goldens); the capture battery retires with the lane.

v0.14.1 (2026-11-08)

Hotfix, same evening: /goto #1 crashed with "attempt to index a nil value (global 'deps')".

  • Cause: cmd_goto's routing section (and the whole debug lane's cmd_hexdebug) referenced the bare name deps, which only exists as M.setup's parameter. Every module-level use resolves to a nil global. The path only executes when a candidate is actually picked, so it survived until the very first /goto #n in live play, one line after v0.14.0 un-blocked it. All module-level references now go through M.deps.
  • A new suite invariant greps hex_commands.lua for bare deps usage before the M.setup definition, so this class dies in CI instead of on the wire.
  • /goto #1, /hexdebug walk, and /hexdebug queries all verified against the fixed wiring.
  • Tests grow to 185 (191 with the opt-in route goldens).

v0.14.0 (2026-11-08)

The big one, found the moment Brandon first stood somewhere real and typed /goto foyer: /goto had never actually worked. Every route call received the current room's 40-hex identifier (straight from GMCP via need_start), and the pathfinder indexed its graph by vnum only, so the Dijkstra never started, /goto printed its candidate list with every entry "unreachable", and no walk ever launched. The golden tests inject vnums directly, which is exactly why only live play could catch it: the same lesson as M1's dead vitals, now fixed at the layer where it lives.

  • find_route and distances accept both vnums and 40-hex room ids (the graph already carried a by_id map; the entry points now use it). Every caller (/goto, /near, /path, /blorp goto) starts working from the room you actually stand in.
  • The /goto and /path candidate lists resolve ALL matches and rank them nearest-first (reachable before unreachable), showing the closest 15 with step counts. The alphabetical cap had buried real targets: "foyer of the Assassins Guild" lost a 15-way lottery to three identical "foyer (Ankh-Morpork)" rows while Brandon stood 46 steps from it. #<n> still routes any candidate, even past the display cut.
  • Verified against the real rooms.db in a new golden test: a 40-hex start routes the full 129-step Drum-to-Djel walk. Plus a pure-graph unit pin and the live walk that started it all.
  • Also learned and documented by the same walk: the Assassins' Guild interior IS in the map data (its own area, ~100 rooms: classrooms, the climbing wall, house dormitories, the Inhumation Office); an earlier note here undercounted it as 12 rooftops.
  • Tests grow to 184 (190 with the opt-in route goldens). The debug lane stays until Brandon's verification pass lands its captures.

v0.13.1 (2026-11-06)

A live-found fix from Brandon's first walk in Ankh-Morpork: /near market from God Street listed five unreachable strangers in Genua and Ephebe while AM's own Job Market rooms never appeared.

  • Cause: the name-search candidate cap (LIMIT 15, ORDER BY name) ran BEFORE the distance sort, so /near only ever saw the alphabetically-first 15 matches: Genua's "Carrefour" and Ephebe's "Dockside" beat AM's "Job Market" to the cut, and the whole reachable set was invisible.
  • Fix: /near now resolves with the cap dropped (all 263 "market" matches go through the one multi-target Dijkstra) and the top five are picked after sorting. /path and /goto keep the cap for their candidate lists, where it is the point.
  • Found while orienting: the Assassins' Guild interior is not in the public map data (only 12 rooftop tiles are), so /goto guild of assassins has nothing to match; the doorstep is Filigree Street, and /goto filigree is the way there.
  • Tests grow to 183 (188 with the opt-in route goldens).

v0.13.0 (2026-11-06)

Phase 8's core engineering piece: the fake-GMCP harness. The dead-vitals bug class is now a red CI run instead of a dead status bar at login.

  • The shim grows replay hooks: gmcp.on_ready/gmcp.receive/core.subneg_recv record their callbacks, mud.add_input_listener/on_connect record too, core.exec pops a test response queue, print and the status lines are recorded, os.time sits behind a controllable clock, and a Line stub carries skip_log/gag/replace. gmcp.register is a hard tripwire that errors on use (Discworld ignores Core.Supports.Add; Hex sends raw): the M1 lesson enforced at runtime.
  • blightmud's bundled rxi/json.lua ships vendored verbatim as tests/shim-json.lua (MIT header preserved; Brandon approved the vendor): the replay exercises the REAL decode path, including room.map's double-encoded ANSI string. The old stub-json's __raw placeholder is gone.
  • The login fixture replays the confirmed wire payloads (verbatim from the 2026-11-06 00:31 capture) through main.lua's whole chain: handshake shape (two sends, hello carrying the release version, supports.set naming all six commands lowercase), vitals landing coerced into the status bar row, room name + burden in the room row, a clock-driven second push producing the xp rate in the summary row, and the anti-idle invariant asserted at runtime: a full login replay sends nothing.
  • Four more batteries: the reload fixture (a second load registers exactly the same fleet), the password fixture (skip_log set through the real trigger + input-listener chain), the emptyfields fixture (a trailing-empty Quow row through the real /item alias callback (the cabbage-crash class)), and the tripwire test.
  • Wire-pending payloads are marked in the fixture itself: char.login/char.info carry the DOCUMENTED shape only (no capture has ever contained them; the guild-pack lane still holds).
  • The capture lane stays (it comes out when Brandon's current verification pass lands its data); this release is tests-only plus the version bump.
  • Tests grow to 182 (187 with the opt-in route goldens).

v0.12.2-dbg (2026-11-06)

The debug lane's mobile phase: Brandon is out in the real world, so the verification commands grow legs.

  • Every capture now ends with a SUMMARY: output/prompt line counts, GMCP payloads by type, distinct rooms visited (with a per-room push count), symbolic identifiers flagged, EMPTY identifiers called out loudly (the Phase 5 maze question), journey arrivals, and drift lines. /hexcapture summary prints it mid-capture too. The summary exists so a transcript answers "what did we actually see" without me re-reading it line by line.
  • /hexdebug walk <target>: arms the capture and runs the REAL /goto path unchanged (the verification must exercise the shipped feature, not a debug copy), then reminds you the disarm summary counts rooms, drift and journey lines. This is the walker's live-verification pass: the batch send, the frimble marker, the drift reporting and the completion summary all land in one transcript.
  • /hexdebug queries: smoke-tests the Quow builders against the real database in-client (item/npc/sources sold/free/loot, plus the shop and npc queries for your current room). Read-only counts; the freshly fixed escaping and alias bugs get their live smoke.
  • /hexdebug bare prints the debug menu plus the worth-running-for-real checklist (/stats refresh, /skills refresh, /blorp, /bookmark, /mdt in a busy street, /path, /near, a real fight).
  • One suite invariant did its job on my own code mid-slice: the new /hexcapture literal briefly carried a Lua %S class into a Rust registration and the registration-literal test refused it.
  • Tests grow to 178 (183 with the opt-in route goldens). The lane still comes out with v0.13.0.

v0.12.1-dbg (2026-11-06)

A debug release in the v0.5.2-dbg tradition: the capture lane comes back for one specific verification pass (the combat-monitor parse has never seen a real wire line), and /doctor ships as the new permanent fixture.

  • /hexcapture is back (the lane removed in v0.6.0, asked-for this time): toggling arms a transcript of every MUD output line and every raw GMCP payload into ~/.local/share/hex/captures/. No probe batch this time; the sequence for tonight's check is /hexcapture, fight the pumpkin for a few rounds (attack pumpkin, try score and glance too), /hexcapture. Disarm before /hexreload (output listeners can't be reaped, so an armed lane would double-write after a reload).
  • /doctor (PERMANENT, staying after the lane comes out): the in-client self-test. 30+ checks in eight groups: environment, GMCP liveness (handshake sent? vitals fresh? room identified? map payloads in hand?), config and stored-option validation against the schema, the three databases (existence, room count, current-room vnum resolution, hex.db table counts), the data modules in memory (117 spells, skill/mission/zone/sound-event tables, MDT defaults), a pure-parser mini-suite running the suite's own fixtures live (vitals, status render, stats lines, guild clause, query escaping, a synthetic route, MDT parse/match/clean, spell nick resolution, the notify bus), wiring (the registered alias fleet from the session store), and feature detection (minimap mode, map tab, audio, tts, data-dir writability). It prints [ok]/[WARN]/[FAIL] per check plus a summary, and writes an ANSI-stripped report to ~/.local/share/hex/doctor-<stamp>.log for bug reports. Commands are never auto-executed: sends stay behind the user's keystrokes.
  • The doctor battery caught bug 3 of the escaping class on its first run: /item's LIKE path never escaped apostrophes either (the goldens had exercised npc/sources, and exact escaped, but plain /item it's produced malformed SQL). Fixed and covered by the doctor check plus the existing regression test.
  • hex_gmcp gains a sink hook (the capture's raw mirror), handshake_done and last_subneg_at stamps (the doctor's liveness checks): three additive fields, no behavior change.
  • Wire verdict, same night: the pass worked. The live per-round combat line is the MUD's DEFAULT monitor format Hp: 500 (500) Gp: 50 (50) Xp: 16984 with a bare > prompt, which matched none of the three shipped monitor patterns (the v0.5.0 fallback would never have fired). Hex now registers the default shape (writing the full vitals set) beside the two customised shapes. The same capture fixed the uppercut family's anchor (tt_dw anchors with period+end; the port had a trailing space, so "You hit ... with an uppercut." never counted as an attack) and added the training pumpkin's dodge family ("but you see it in time and manage to dodge it", which tt_dw has never seen since it never fights dummies). Also folded: the doctor's vitals detail read the wrong field ("hp 500/nil"; the feed itself was fine). The doctor run itself: 33 ok, 0 fail, 2 benign warnings (map tab off in toprows mode; tts unavailable in this build).
  • The lane comes out of the next feature release, per plan; the transcripts join the archive at ~/.local/share/hex/captures/.
  • Tests grow to 173 (178 with the opt-in route goldens).

v0.12.0 (2026-11-06)

The golden engine's fourth layer: route goldens, committed at last now that the licensing call is settled (rooms.db derives from tt_dw's public-domain map, so the fixtures are clean to commit; Brandon confirmed).

  • tests/golden/routes.lua pins four pairs by vnum: both directions of the known Drum-to-Djel route and the two measured unreachable pins (Bes Pelargic across the sea-chain gap, Genua with no inbound Bois edges). The reverse route is 130 steps where the forward is 129, so the fixtures pin Dijkstra tie-breaking asymmetry in both directions byte-exact.
  • tests/golden/run_routes.lua renders each pair through the real Phase 2 graph (rooms.db over the sqlite3 CLI, paths.load + find_route + render); tools/regen_goldens.py --routes diffs or re-records the outputs into committed files under tests/golden/routes/.
  • The layer rides the LOCAL ritual, not CI: the fixtures are committed, but running them needs rooms.db, which stays out of the repo. --check --routes --recorded --strict is the full pre-tag ritual alongside the Quow layer.
  • A converter or graph-loader change now surfaces as a reviewable route diff instead of a silent semantic shift.

v0.11.0 (2026-11-05)

Phase 8's golden-test engine lands, and pays for itself in its first hour: the synthetic layer caught two real shipped bugs in the Quow query builders before it even left the workshop.

  • Three-layer goldens (docs/phase-8-engineering.md §2), built by tools/regen_goldens.py over tests/golden/cases.lua: the SQL layer pins every builder's output byte-exact (committed, 16 cases); the synthetic layer runs them against authored rows in a throwaway sqlite db through the sqlite3 CLI (deliberately the exact form production gets from core.exec), pinning the article-insensitive ordering, apostrophe escaping, empty fields, the sold/free/loot price filters, the Shonky Shop exclusion, and the 31/61/41 result caps; the recorded layer runs against the real Quow DB but stays LOCAL-ONLY (gitignored; Quow's compilation is third-party data) with a provenance header pinning the DB fingerprint, a staleness warning past 60 days, and --strict for the pre-tag ritual.
  • CI gains the golden gate: the lua job now runs --check --synthetic after the unit suite (sqlite3 is preinstalled on runners; the tool resolves lua5.4 itself). Cases carry a db tag (quow vs hex_rooms) because /where reads Hex's own rooms.db while every other builder reads Quow.
  • Bug 1 (found by the goldens, shipped since the Quow queries landed): /npc and /items never escaped apostrophes in search terms, so it's produced malformed SQL. Fixed in both builders and pinned by a unit regression test.
  • Bug 2 (found by the goldens, shipped since v0.3.0): /items sold was broken outright: the Shonky-exclusion condition's bare room_id was ambiguous against the joined rooms table, a parse-time error on every use. The union now carries an explicit alias and the filter is qualified.
  • Route goldens (HEX_GOLDEN's territory) remain a separate open item pending the commitment call on tt_dw-derived fixtures; the fake-GMCP harness stays next in Phase 8.
  • Tests grow to 167 (172 with the opt-in route goldens), plus 16 committed golden cases and 16 local recorded ones.

v0.10.0 (2026-11-05)

Phase 5 slice 2 opens: the written-map people tracker (MDT), the first consumer of GMCP room.writtenmap.

  • hex_mdt: the parser ports tt_dw's mdt.tin onto the decoded written-map payload (Hex needs neither of tt_dw's two screen-scraping capture paths). Grammar: carriage-driver rewrites, the mdt colour-pair merges ("a black and white cat" -> "black-white"), netdead and vision-limit normalizations, prose-to-comma-list, count words (one..ninety-nine) and article stripping, and the direction state machine that attributes entities to their room group.
  • Matching: /mdt add rows and /hunt targets are plain case-insensitive text (tt_dw's tintin patterns are not portable to pure Lua; documented deviation). Hunting rows match first at score 100 with alert=1, user rows shadow the Quow defaults, and categories enable/disable with per-alt vs _default scoping.
  • The full Quow default match table ports as structured rules (find / exact / startswith / endswith / ends-with-exclusion / prefix+noun / adjective+noun): every row from tt_dw's migration 004, including the bureaucrat-excluding rat rule and the twenty-four dead-letter targets. None dropped.
  • Display: one line per nearby room (← [ 5] 2 guards, cat, 3 peasants) via /mdt; hunt alert lines print immediately (deduped, 10-minute expiry) and emit on the notify bus (mdt.hunt) for the Phase 7 sound layer to pick up later. Cleanup ports tt_dw's shorthand table (city guards -> guard, horse colours, hiding strips, whirlwinds -> dust devil), the witch-title exclusion, and the ~960-entry adverb strip; the word data is generated (tools/convert_mdtdata.py -> src/hex_mdtdata.lua: 16 colours + 963 entries, verbatim from the tt_dw source).
  • Commands: /mdt [help|add|remove|list|category|categories], /hunt [target|list|stop <target>|clear], /unhunt <target>. Storage joins hex.db as mdt_match (global, like tt_dw) plus mdt_category (per-character with _default). The mdt option (default on) gates processing.
  • Deviations noted in the module header: the written-map tab surface waits for the Phase 5 screen-budget check; tt_dw's main-feed #high highlight is out of scope; the pet-adverb chain strips one prefix per pass.
  • Compat: the local Lua interpreter drifted to 5.5 (loop control variables are read-only there), so the suite now runs clean under both 5.4 (the CI pin) and 5.5.
  • Tests grow to 166 (171 with the opt-in goldens).

v0.9.0 (2026-11-05)

Phase 8's first slice: continuous integration, cut before anything else ships.

  • GitHub Actions CI on every push and PR to main: the Lua unit suite on Lua 5.4, the Python converter suite, and a pinned-ruff (0.17.2, matching local) format+lint pass over tools/ and tests/. HEX_GOLDEN stays out of CI by design: the golden routes need rooms.db and the tt_dw clone, which are local fixtures (third-party data stays out of the repo).
  • Ruff brought the Python files to green on the pinned version: format normalization, the dev tools are now executable (their shebangs were always meant to be run), and the doc mirror's intentional blind catches are noqa'd with justification. convert_spelldata.py's parser block reformatted; all tools verified working end to end after the pass.
  • The test-shim slice landed early in v0.8.1 (see its notes); the remaining Phase 8 boxes are the three-layer goldens expansion and the README showcase.

v0.8.1 (2026-11-05)

The Phase 8 shim arrives early, exactly as the first live session demanded. Plus the live-session hotfixes from v0.8.0's first run on a real character.

  • tests/shim.lua: a stub blightmud environment (registry, triggers, aliases, timers, store, json, core.exec, mud/gmcp/blight/audio/tts surfaces) that loads the REAL main.lua in the suite. The first run caught a missing stub (blight.on_dimensions_change) and proved the harness earns its keep; two suite invariants now pin the load: main.lua must load cleanly under the shim registering 30+ aliases including /hexreload, and it must send nothing to the MUD at load time.
  • Regression invariant: every module wired into main.lua must define setup (found live: sound.setup and tts.setup were called from main.lua with no function behind them, which killed the load at the call site and left the alias fleet unregistered while the GMCP handlers stayed live).
  • The minimap top-rows call and the chat-tab session flag hit blightmud API type rules on the same first run: add_top_row takes ONE opts table ({name, body, bar_char, prefix, visible}; body is a single string), not a bare name, and store values must be strings, never booleans. Net effect: the minimap renders in an on-screen top row on stock 5.7.1 (the API exists there, correcting the design's dev-tree-only assumption), and the chat-tab gate persists correctly.
  • /hexsound test plays each mapped stem once.
  • /map joins the on-demand views (same render as /dwmap; the auto minimap ladder covers top rows and the map tab).
  • Tests grow to 143 (148 with the opt-in goldens).

v0.8.0 (2026-11-05)

Phase 7's comfort core: theme, a real options engine, and sound, all defaults-preserving and notify-driven (sound triggers are explicitly legal per concepts/automation).

  • /hexoptions: a validated options engine over the new layered store (session > alt > global > default, tt_dw's load order). Bool/enum/number/path validation with proper errors, aliases (speech = tts), brief, defaults, clear <key>, and alt/session layer overrides. Selection is by key name, never numbers (typing "3" into a MUD client sends it). /hexset remains the raw unvalidated escape hatch. Schema keys: sound, sound_dir, sound_volume, tts, theme, chat_tab, map_ansi, map_panel, allow_swim, avoid_gates, mission_travel_time (missions now reads it), quow_stale_days, guild, plus hidden db paths.
  • Theme: hex_theme re-skins the whole suite from one place: classic (byte-identical to today's ANSI, golden-tested) and dragon (Kanagawa 24-bit); /hexoptions theme dragon flips it live. Mechanism: use() mutates the shared hex_util.ansi table in place, the single table every module already reads, so re-skinning needs zero call-site migration (the design's delete-and-migrate simplified away).
  • Sound: hex_sound_events maps notify-bus events to the CC0 mp3 stems (/hexupdate already copied them): connect/disconnect, tells, mission-ready, damage. Defaults OFF (a terminal client is frequently SSH'd or at work); /hexoptions sound on runs a preflight (Hex's own copy of the set is detected first, tt_dw fallback). Damage words are verbatim tt_dw thresholds (-200/-400/-500) and debounced 2s so fight bursts don't stack.
  • TTS: /hexsay <text> speaks whenever a TTS-enabled blightmud build is available; option-gated event speech shares the sound event table. Every tts call except is_available() is availability-gated (ungated calls spam errors on non-TTS builds).
  • Tests grow to 140 (145 with the opt-in goldens): classic palette byte-golden, 24-bit shape, role paint/unknown-role, schema well-formedness, alias canonicalization, validation errors with choices/ranges, damage-word thresholds, template rendering.

v0.7.0 (2026-11-05)

Phase 5's exploration core: the pieces that make leaving pumpkin village navigable.

  • Blorps and bookmarks in Hex's OWN SQLite database (~/.local/share/hex/hex.db, real tables that survive rooms.db rebuilds). /blorp add <label> names the room you stand in; /blorp list sorts by walking distance (one multi-target Dijkstra); /blorp goto <label> shows the route; /blorp all spans alts. /bookmark add <label>: comment shares bookmarks across alts with attribution, plus comment/rename/delete/find/goto. Writes happen only inside these user aliases; tt_dw's hub-room blorp semantics are deliberately dropped (deviation noted in the module header).
  • The minimap render ladder: on every room.map push (deduped per payload + room, since the MUD pushes on look AND enter), Hex renders to top rows when the client has them (dev trees), else to a dedicated map tab (stock 5.7.1's tabs are proven live by the chat tab), else nothing automatic (mirror mode; /dwmap stays the on-demand view). Empty payloads print a can't-see note; maps without the @ player marker carry a limited-vision hint; hex.map_panel overrides the ladder. The tab path renders stripped (output_to drops MUD colors by design).
  • Journey and water navigation: journey steps render as [journey: N miles e] (the map's edge distance IS the mile count); /goto excludes swim edges unless /hexset allow_swim on or you are already underwater (swim steps wear a ~ marker); /goto avoid_gates on routes around the city-gate table (gates lock at night). /path stays all-edges informational.
  • Tests grow to 131 (136 with the opt-in goldens): SQL builder escaping and PK shapes, the minimap live-payload fixtures (real ESC bytes, empty and whitespace payloads, the no-@ case), dedupe keys, journey/swim/gate routing, and find-SQL single-wrapping.

v0.6.0 (2026-11-05)

The wire-verification release: everything here is grounded in the capture transcript from ~/.local/share/hex/captures/ (v0.5.2-dbg's debug lane did its job and is gone, as planned).

  • /stats [refresh] and hex_stats: stat parsing finally lands. The live layout is TWO dot-padded lines (Constitution ... / Dexterity ...), not the documented 3-line (wire-verified), and the same pair tails score verbose. Values store per-alt; the skills bonus math, /spellinfo hints, and /skillcost now compute on your real stats instead of the all-13 baseline. Stat-item netting stays Phase 4 (the stored values are the shown ones).
  • Guild auto-detection: score verbose's level N in the X Guild clause maps to the primaries key (the capture caught level 0 in the Adventurers' Guild), so TM gating and /skillcost primary flags go live without touching char.info (whose guild field remains an open question; score answers it more reliably anyway).
  • /hexsetup corrected from the wire: options set output brief exits on does not exist on this MUD (bare brief exits works and stays); options terminal automatic rows = off is rejected under blightmud's NAWS negotiation and was dropped from the send list. The option-confirmation lines (Set option ..., Set output map ... to off, Terminal type unchanged as ...) and their queued-command echoes are now permanent data gags.
  • Wire facts hardened into spec.md: GMCP identifiers are 40-hex matching rooms.db verbatim; glance AND look both push info+map+writtenmap; the stats block, score-brief, hskills (plain-parens shape), and spells-negative shapes are now capture-quoted in the spec rather than ported claims.
  • DEBUG LANE REMOVED: src/hex_capture.lua, the /hexcapture alias, and the debug_capture flag are gone exactly as the v0.5.2-dbg notes promised; the archived transcripts remain the wire-shape reference and AGENTS.md points at them.
  • NPC tells in new areas: pumpkin village's NPCs (Melvyn Torche, Cony) were not on tt_dw's exclusion list, so their tells landed in the chat capture. Both added to the shipped list, and /chatnpc [name] now lets you silence any NPC you meet (persisted; /chatnpc remove <name> undoes, bare lists yours). Live play also confirmed the tell family's asks-to and exclaims-to variants on the wire.
  • Tests grow to 121 (126 with the opt-in goldens): the stats block fixtures (round and odd values, negative controls), the guild-clause mapping, and the two registration/look-around invariants now cover the stats module; the capture-lane tests went with the lane.

First-live-session hotfix (same milestone, found live):

  • Fixed the reload-time [!!] create_tab(chat): tab already exists error: the blight.tabs() existence check does not work on stock 5.7.1, so every reload re-created the existing chat tab. A session-store flag is now the gate; it survives /hexreload exactly as long as the tab itself does and clears on client restart. Also deduplicated the [hex] alt: line to print only when the alt actually changes (char.info pushes repeatedly at login).

v0.5.2-dbg (2026-11-05)

DEBUG RELEASE. This lane ships one purpose-built debug command and is slated for removal in v0.6.0, which will cut it out entirely; do not build on it.

  • /hexcapture (gated behind /hexset debug_capture on): the wire-verification capture harness. /hexcapture on arms a file sink at ~/.local/share/hex/captures/<stamp>.log that mirrors every MUD output line (prompts flagged) and every raw GMCP payload; /hexcapture probes runs the read-only probe batch (options shapes, all four score layouts, the skills-listing round-trip, the spells listing, hskills, quota brief, glance/look room pushes, and say/soul as negative controls) bracketed with frimble markers; /hexcapture off disarms and prints the manual-probe list (a short /goto for walker echoes, weak combat for monitor lines, tells or a club line for chat shapes, and arming before the next login for char.login/char.info GMCP).
  • Safety: every send lives inside the /hexcapture alias handler; the probe batch is read-only options/query commands plus two deliberate negative controls, asserted by test to contain no game-state-changing commands.
  • Tests grow to 120 (125 with the opt-in goldens): the probe-group contents and the flattened frimble structure, and the capture-file path.

First-run hotfix (same dbg milestone, found live at startup):

  • Fixed a load-killing regex: the own-tell chat pattern carried a (?!in ) look-ahead, which the Rust regex engine rejects at Regex.new; the error aborted main.lua mid-load, leaving the status area drawn but every later registration dead. The look-ahead was redundant (the pure classifier already rejects the language broadcast), and a new suite invariant now scans every src/ module for look-around constructs so this bug class dies in CI-style tests instead of at login.
  • Second start found the next load-killer one line further: blight.bind takes a key plus a FUNCTION, and the tab setup was passing a tab name (blight.bind("chat", "F2")). Fixed to bind("F2", function() blight.switch_tab("chat") end); switch_tab is the actual tab switcher; and the whole tab setup is now pcall-wrapped so any remaining tabs-API mismatch degrades to mirror mode with a note instead of aborting the load. (The tab itself had been created and filtered successfully; only the binds were broken.)
  • Preventive sweep of the runtime-only paths in the same breath: the walker's frimble-completion trigger was built with Lua-style %-escapes and handed to the Rust engine, where they would silently never match (completion would have degraded to the last-planned-room heuristic without erroring). Now escaped Rust-style (\\s, backslash literals).
  • Third live find, the biggest: 22 alias patterns were written with Lua character classes (%s, %S, %d) and handed to the Rust engine, where they match literal text; so every command from the pathfinding lane onward (/path, /near, /goto, /missions, /apply, /dl, /quota, /skills, /bonus, /skillcost, /goal, /chat, /combat, /urls, /spellinfo, /tm, /hexcapture and kin) passed straight through to the MUD as unknown commands. All rustified, plus the skills-listing trigger pattern (Lua classes there meant /skills refresh would have stored nothing). A second suite invariant scans every registration literal for Lua classes; the pure-Lua classifiers keep theirs by design. (The rustifier's own first pass wrote single backslashes; invalid Lua escapes that stop the file parsing; which the extended invariant now also catches; both defects were pushed briefly and fixed within minutes.)

v0.5.1 (2026-11-05)

Phase 4's data lane: the spell dataset and the TM tooling. The trackers (TPA, charm, broom, stat items) stay wire-gated on capture session #2.

  • The committed spell dataset: tools/convert_spelldata.py (stdlib, dev-time) parses tt_dw's spelldata.tin into src/hex_spelldata.lua (84 KB, 117 spells, 376 spellcheck stages), validated on every run (10 strictly ascending thresholds per stage, every shorthand resolved, type enumeration, the 93/93/25 octogram/tome/learnt-at counts) and shipping the upstream attribution verbatim. Committed so /add_plugin installs work without the tt_dw clone. Two upstream quirks handled: one spell carries two nicknames (cmseq cms2), and two distinct spells share the nickname jmc (suffixed deterministically).
  • /spellinfo <nick|name>: the full card with type colour, GP, size, description, components, octogram/tome/learnt-at lines, and the spellcheck table showing your stage chance, the 50% bonus point, and the level that reaches it (via Phase 3's level_for_bonus). /spellcheck <n> is an alias for the card; nick, prefix, and name-substring resolution with ambiguity listing.
  • /tm <method> and /spells [list|long|<method>|<text>]: the TM suggestion engine ported whole from spellinfo.tin; stage chance counts thresholds passed breaking at the first failure; the relative TM chance clamps 1-99 (near-certain casts TM poorly); the suggestion ranks by cast chance, skips the blacklist, and the scan breaks early on a good-enough incumbent. The list renders the suggestion starred, then candidates by TM chance descending, with the low-chance warning at the tm_cutoff. Constants are config (tm_blacklist, tm_cast_chance 30, tm_cutoff 9), defaults = tt_dw's.
  • Tests grow to 117 (122 with the opt-in goldens): the dataset integrity matrix, stage-chance break behaviour, TM clamp edges (0/100 -> 1/99), the cast-chance product, the 50% thresholds, and suggestion ordering + blacklist demotion on a synthetic four-spell graph.

v0.5.0 (2026-11-05)

Phase 6: the social layer. Chat shapes and the monitor strings stay wire-checkable for tonight's capture; everything else is tt_dw-faithful port.

  • /chat [family] [n]: chat capture with tt_dw's taxonomy (tells in and out, clubs, group, talkers in both documented shapes, Offler shouts; room says and souls deliberately not captured, as upstream). Session ring buffers per family with the design's caps, the NPC speaker list and the twelve job-completion texts excluded exactly as ported. Mirror mode is the default, so the awareness rule holds: chat never leaves the main feed. With a blightmud carrying tabs (dev tree, feature-detected) one chat tab mirrors via Rust-side include/exclude filters, F1 main / F2 chat; /chatset <family> on|off persists (tab filters are append-only, so rebuilds need a restart) and /chattab on|off gates the tab.
  • The combat spam ladder: /combat cycles verbatim -> verbose -> default -> brief (or sets directly), per-alt persisted. Levels are data over the tt_dw family patterns: defense and "nothing happened" lines gag at default, the hit/burn/hurt/miss/prepare/special alternations gag at brief, with the moon-dragon hurt-line exclusion as a code check. The divine-ire and special-weapon tail stays pending as data work against the live capture; the digest engine is Phase 7's.
  • The combat monitor as a vitals fallback: the three strings /hexsetup installs (monitor, verbose prompt, score brief tail) parse into the vitals model when GMCP is stale or dead (120 s freshness window), and never touch it when GMCP is alive. A GMCP push always overwrites monitor values; both feeds assign absolutes, so nothing double-counts. The monitor lines gag (the status area replaces them) and count rounds for /combatstat, the attacks-per-round readout.
  • /urls [pattern] and /url <n>: URL catching with tt_dw's false-positive guards (filenames, the MUD's own address, skill names and their short prefixes, double dots, under ten characters), a deduplicated recall ring, and /url open <n> shelling to xdg-open behind an opt-in flag (core.exec blocks the UI thread, so it defaults off). Click-to-copy is an upstream blightmud gap.
  • hex_notify: the ~40-line event bus (subscribe/emit/debounced/list, per-subscriber pcall isolation, announce-only contract). It now carries chat.tell/club/group/talker/shout, url.captured, combat.attack, mission.ready, core.connected/disconnected; Phase 7's sound and TTS subscribe to it.
  • Tests grow to 110 (115 with the opt-in goldens): the chat fixtures (language-tell, NPC and job exclusions, both talker shapes, room-say negative, ring caps), the URL guard matrix, the notify bus contract (order, isolation, debounce), the level-ladder table, and the GMCP-freshness precedence cases.

v0.4.1 (2026-11-05)

Phase 3's skills lane. Stats parsing stays wire-gated (its layout question needs tonight's capture); bonus math runs on the documented all-13 baseline until then.

  • /skills [refresh|search]: the listing round-trip ports tt_dw's three documented sends (noalias options output skills = list, noalias skills, options output skills = branched) inside the user alias, with a parse window armed for the listing, closed by the Set option output skills to branched. terminator or a 30-second display-only safety timer, triggers registered through the handle registry so a reload cannot orphan the window. Levels store per alt; a search shows levels and bonuses.
  • The bonus model, ported from tt_dw (credited to bonuses.irreducible.org): piecewise raw-level bonus, the 0.1020408·ln(stat product) − 0.25 multiplicator over each skill's C/D/I/W/S dependencies, floored at zero. Golden-tested at the documented constant: all-13 stats give bonus 307 at level 300.
  • /bonus <skill> [target] and /skillcost <skill|prefix> [target] [etb N]: the full tt_dw cost model (primary formula to the 300 skillcap, teach-cost curve with an optional ETB), multi-skill prefixes capped at 8 matches, primaries flagged *. The output carries the official-docs caveat that teach-cost numbers are tt_dw's approximation.
  • /goal add|remove, /goals: per-alt goals with the xp-bar port (10 pips, divider, at least one pip lit unless empty or done). Goal alerts fire off the tightened advance line (now capturing skill and level) and the documented hskills shapes as the sanctioned second feed.
  • Static data generated from tt_dw's char/data.tin: 251 skill stat-dependencies, primaries for all eight guilds including every specialisation branch, wizard order-to-colour translation. Guild is configurable via /hexset guild until char.info's guild key is wire-verified.
  • Tests grow to 95 (100 with the opt-in goldens): the piecewise pins, the golden constant, multiplicator edge cases (zero skipped, negatives divide by abs), target grammar, cost monotonicity and the primary-branch discount, parent-fallback levels, listing lines at all four depths with hyphenated skills and X bonuses.

v0.4.0 (2026-11-05)

Phase 3, missions lane: cooldowns and quota for the working character. (Skills and stats wait for tonight's capture session: their parsers are wire-gated.)

  • /missions: the full mission table with live XP (halving per pending reset), XP/hour estimates from your own completion history, reset countdowns, and per-mission detail (/missions <name>). Ordered best-rate first, unrated by XP.
  • Job market, dead letter office, sausage shop, and the two side missions (Theodor Hackett, Pennie Laced) parse their boards and lifecycle lines, gated on the GMCP room identifier so nothing misfires away from the board. /apply <board id> and /dl <A-H> record the pending mission before sending (the suite's only new send paths, both user aliases). A writ arriving with no pending record prints a fixup hint (/missions pending <id>).
  • Cooldown engine: every completion re-arms its mission an hour later; the sweep announces "has been reset!" once per mission inside a 6-hour window and silently prunes older resets (no login spam). Timers are announce-only and registry-recorded, so /hexreload cannot double a pending reset. The difficult customer's real XP replaces the 40,000 guess on first live delivery, stored per alt.
  • Per-alt persistence in the disk store (hex.missions.<alt>), keyed on the GMCP capname.
  • Thief quota: check quota brief parses passively (A$ and pence forms, all six time-left shapes) into a deadline model, stored once and rendered live (no ticking, no drift). The status row gains [Q:$max-$rcpt=$left] with an owed flag and reset countdown; expiry announces once. /quota displays; /quota refresh sends the check (user alias).
  • The status area's vitals row takes a chips argument: the quota chip first, then minutes to the next mission reset.
  • Tests grow to 82 (87 with the opt-in goldens): hand-computed EMA stats, timer-sweep announce/prune rules, the quota brief fixture, all six time-left shapes, chip colors, per-critter sausage XP.

v0.3.0 (2026-11-05)

Phase 2 complete: find your way.

  • /path [--full] [any] <target> routes through the identified map graph. Targets: room name with the house glob rules (* ? ^ $), @<area> for an area's origin room, a room id, #<n> from the last candidate list, or a bare vnum. Multiple matches give a numbered candidate list with per-candidate step counts, routed by /path #n; any allows avoid-flagged and water rooms; --full prints every room on the way.
  • /near <search> ranks the five nearest matches to your current room by path length from one multi-target Dijkstra.
  • The routable subgraph builds lazily inside the first routing command: 31,157 identified rooms, 78,979 directed edges, ~280 ms once and ~21 ms per route on this machine (21.7 MB heap after GC). lua tests/bench_paths.lua keeps the numbers honest. Known limits, measured 2026-11-05: Bes Pelargic and Genua are disconnected from Ankh-Morpork in the identified-room subgraph (the open-sea swim chain crosses unidentified rooms; the Bois has no inbound edges), so boats wait for Phase 5's journey/ferry tables.
  • /goto <target> is the ONE-SHOT batch speedwalk in the MUD's officially sanctioned "fast" style, ported from tt_dw's packed-alias shape: the travel option, every route command, an optional journey restore (config travel_mode), and a frimble end-marker are defined as one MUD-side alias and invoked in two sends. Hex never sends again after the burst; stop in-game or /stopwalk aborts. room.info pushes drive post-hoc drift display only: a first mismatch is reported once with expected-vs-actual, the queue is never altered, and the frimble marker (or the last planned room) prints the arrival summary.
  • Walk noise gags: the queued-command echo catch-all and the Removed queue. notice are walk-duration triggers; the travel-option confirmations and compact queued-command echoes are permanent data gags (tt_dw paths.tin port). The alias-definition echo shape is wire-unverified pending tonight's capture.
  • Tests grow to 69 (74 with the opt-in HEX_GOLDEN=1 goldens): batch-queue packing, drift transitions, frimble completion, BFS-equivalence, tie determinism, one-way edges, avoid reroute/refuse, and the documented-negative BP/Genua goldens.

v0.2.0 (2026-11-05)

The 1.x hotfix lane completes: setup, user gags, and Hex's own data.

  • /hexsetup: sends tt_dw's exact game-side strings (prompt, combat monitor, map off, brief exits, rows paging in the documented form, term xterm256, the afterinventory alias), one send per line behind a user alias, with /hexsetup preview for a no-traffic look. Hex never re-sends these or puts them on a timer.
  • User gags as data: ~/.local/share/hex/gags.lua, edited by /hexgag [-i] <pattern> [-> <substitution>], listed by /hexgag or /gaglog, removed by /hexungag <n|text>. Entries register live, one bad regex skips only itself, and hand edits need /hexreload.
  • Quow staleness check: at connect, once per session, the database's mtime warns when it is older than quow_stale_days (default 60, /hexset-able).
  • "Hex owns its data": /hexupdate downloads Quow's database detached (curl with wget fallback, part file + atomic move, /hexupdate again as the status check) into ~/.local/share/hex/quow.db, copies the CC0 sound set from the tt_dw clone once, and writes quow_db explicitly. The resolution ladder (explicit /hexset > Hex's copy > tt_dw copy with a one-time hint) keeps current sessions working during the move.
  • /dwmap strips the room map's embedded ANSI at render time by default (a stray unclosed colour fragment reads as broken output); /hexset map_ansi ansi keeps the colours, and the stored payload stays raw for Phase 5's panel.
  • hex_version.lua is the Lua-side version carrier (GMCP hello and the update User-Agent read it). Unit suite grows 31 -> 47 tests.
  • Map converter (pre-sprint, in this range): rooms.db gains the tt_dw maze extra/shape column (1,246 shape rows verified), which unblocks Phase 5's lost-room guessing design.

v0.1.0 (2026-11-05)

First milestone: M1 core + Quow.

  • GMCP wiring for Discworld (dual-cased registration, JSON decode, /hexprobe echo) feeding a vitals model and a 3-row status area: HP/GP bars with color bands, XP, XP/hour rate, current room, burden
  • Quow database searches with tt_dw's exact query semantics: /item (wildcards, ^/$ anchors, desc:/app:/mat:/sheat: prefixes, exact), /items source search with sold/free/loot filters, /npc with room: filter, /shop for the current room
  • /where room awareness keyed on the MUD's 40-hex identifier, backed by tools/convert_map.py which parses tt_dw's map into Hex's own rooms.db (62,130 rooms, 156,800 exits, 32,499 identified)
  • Gags v1 ported from tt_dw (pet/summon movement spam, ambient magic lines, system noise), /wmap and /dwmap fed by GMCP room maps, /hexset config persistence
  • Zero-dependency test suites: lua tests/run.lua (31) and python3 -m unittest discover -s tests (9)
  • Spec invariants: no autonomous MUD input (Discworld anti-idle rule), third-party data strictly read-only, no third-party dependencies

First-login hotfix batch (same milestone, found live):

  • Fixed dead vitals: Discworld's GMCP is nonstandard (core.supports.set naming all six commands individually, lowercase, no version suffix); blightmud's gmcp.register() wrapper was silently ignored. Hex now sends the documented handshake raw, and vitals arrive per command from the next one.
  • /hexraw: the last raw GMCP payloads via a telnet option 201 tap, to pin down the real JSON keys; keys confirmed on the first live session (hp/maxhp/gp/maxgp/xp/burden/alignment) and room.info's kind now feeds the terrain display.
  • /hexreload: reap-and-reload without restarting the client; a handle registry in the session store removes exactly the triggers/aliases the previous load created, so reloads never double-register.
  • Fixed the /item crash on rows with empty trailing columns (Quow's cabbage has no weight); every result renderer is nil-guarded and the pipe splitter keeps empty fields.
  • The status area draws its placeholder bars at load and on connect instead of waiting silently for first data.
  • Sent lines while a password prompt is on screen are marked skip-log, so passwords stay out of the session log file.