0ddb9a218d
The design conversation settled the verb question (developer, 2026-11-19): a "create new package" with a base selector is fork under another name, so the SPA gains one list at /packages with three acts per card -- start (the run-create flow, unchanged), fork (any package, system or user, by anyone: the copy lands in state/packages owned by the forker, pc stripped, display name asked inline, the fork landing straight in the editor -- nobody forks to immediately start), and edit (the owner's own user packages only). /new retires to a redirect onto /packages; the source link (code.fleshless.org/hackmaster/tiny-worlds) rides the header.
The template's unplayability became machinery instead of a naming special-case: settings.json carries the "scaffold" flag (the records-bool precedent -- authored content carries the marker, machinery reads it). Create refuses a scaffold loudly on both ends ("fork it to author, then flip scaffold off in the editor"), the listing marks it, the SPA disables its start. The developer's ruling over my clear-the-flag draft: the flag RIDES FORKS UNTOUCHED -- a scaffold fork stays a scaffold until its author flips it off, so the flag is the package's doneness state, and publishing your own scaffold for others to fork is free. The settings editor is raw JSON for now (native UI later, the developer's "ready to run" toggle its eventual shape), with a hint teaching the keys.
The package editor (/packages/:name): every file of a user package is authoring material -- settings included -- with the cheap save lints (memory.json and settings.json must parse as JSON objects; the carryover passes the authored lint, the run surface's exact gate), the deep checks staying at the start gate where they already lived. The gates mirror the run precedent: system packages are repo-side and refuse ("fork to edit"); an ownerless user package is readable, forkable, never editable -- and an ownerless package IS forkable, the copy is yours.
The refactor the editor forced: the setup view's file-editor machinery (nav, textarea + the sigil/var highlight overlay, drafts, dirty marks, the save flow) extracted into widgets.mjs's fileEditor factory, parameterized over DOM ids and a PUT call -- setup keeps its run-side couplings (the phase-gated rw, the addressed session), the package editor is the simpler parameterization, and the editor CSS generalized from id selectors to classes so both surfaces share it.
En-route bug found and fixed: cmdCreate always copied the REPO's handbook.md into the run, so a user package's handbook -- which save-package faithfully copies out -- was silently ignored on re-create; the author's craft edit died in the round-trip. Create now prefers the package's own handbook when it carries one, else the repo's shared copy. The smoke proves the round-trip: a handbook marker authored through the package editor surfaces in the created run's files.
Browser-pass find: the pkgedit header state span and the editor's save-state span shared the id pkgedit-state, so the widget's select() wiped the header line -- the editor's span renamed (pkgedit-edit-state), verified rendering.
Verified: typecheck green both programs; smoke ALL PASS (+20 -- the fork battery: the template fork owner-stamped scaffold-preserved pc-stripped, create refusing the scaffold on both ends, the playable fork carrying no scaffold, fork validation, the editor gates owner-200/non-owner-403/system-repo-side-403/unknown-404, the raw-JSON and carryover save lints, the ready-to-run flip, create from the flipped fork, the handbook round-trip; and the ownerless pair: the editor refuses, the fork succeeds); restart + reminder checks green (6 runs); a browser pass on --mock --debug end to end -- the paste token re-landing after the state wipe, /new redirecting with the URL honest, the template card disabled with the scaffold note, boutique disabled as incomplete, the fork form prefill and submit landing in the editor, the scaffold state line, the settings flip and save making the card startable, the start-form flow intact, zero console errors; check-repo clean; the debug server back on the real state. Docs: README's packages passage (fork, scaffold, the editor, the gates), the booting flow, the layout tree (the clerk's fork-package verb, the view list, widgets.mjs); DICTIONARY's package, scaffold, and fork entries. The developer's queue line ('"create new package" in SPA') is struck by them in the same round. packages/detention stays untracked WIP, untouched.
498 lines
26 KiB
Markdown
498 lines
26 KiB
Markdown
# Dictionary -- the terms of art
|
|
|
|
The source of truth for what things are called. When prose, UI, or
|
|
code drifts from these names, the fix is to align to this file; when
|
|
a name here stops working, the fix is to re-rule it here first, then
|
|
sweep. Durable meanings live in `README.md`; this file rules the
|
|
WORDS.
|
|
|
|
## The people and the models
|
|
|
|
The roles inventory (2026-11-19): every human and inferencer seat this
|
|
project can refer to, in one place. A role is a seat, not a person --
|
|
one human wears many hats (the op can also be a run's GM; the
|
|
developer is usually the package author), and no seat implies any
|
|
other.
|
|
|
|
**Human roles:**
|
|
|
|
- **the developer** -- writes the substrate, upstream of every
|
|
deployment: the repo's publisher, the ruling-maker, the red pen.
|
|
Holds no seat on anyone's deployment, sees no one's runs. In this
|
|
repo's records, ruling attributions name the developer.
|
|
- **the deployment operator (the op)** -- the superuser of one
|
|
deployment: claims the bootstrap invite, mints and revokes invites
|
|
and users, manages the providers and the registry. Recovery is
|
|
filesystem access. The whole of admin -- and nothing else: the op
|
|
is not a reader of runs' private surfaces (owner-gating holds
|
|
even against the op).
|
|
- **the deployment user** -- any claimed identity on a deployment: a
|
|
token, nothing more. Can read every story, fork any run (forking
|
|
makes it theirs), create runs, and publish packages.
|
|
- **the package author** -- writes a package: the world, the
|
|
character, the opening. An off-platform seat -- authorship travels
|
|
with the files (a package published on a forum was authored by
|
|
someone who never touches the deployment that runs it); the
|
|
machinery only ever sees the publisher, the user who published the
|
|
copy (recorded as the package's owner).
|
|
- **a run's GM (the GM)** -- the human who plays the GM side of one
|
|
run: every NPC, every consequence, all retcons, the sheet, the
|
|
rewind. Runs on organic memory; the canon files are the
|
|
prosthesis. The same person the machinery records as the run's
|
|
owner -- one role, two names, never split (the fork creates a new
|
|
GM seat over a branching canon). Always a human, never a model.
|
|
When this repo says "GM" without qualification, it means this
|
|
seat.
|
|
- **the reader** -- anyone reading a story: the audience doctrine's
|
|
third party. Defined by the act, not by membership -- on-platform
|
|
it is any signed-in user on the story surface; off-platform it is
|
|
anyone the story text reaches, no invite, no token, no row in any
|
|
table.
|
|
|
|
**Inferencer roles:**
|
|
|
|
- **the assistant** -- the developer's inferencer collaborator, the same
|
|
seat as the developer: works the repo, never a deployment. NOT the
|
|
player -- player-facing instructions are not for the assistant to
|
|
follow, only to understand how the player would interpret them
|
|
(developer, 2026-11-19).
|
|
- **the player** -- the inferencer playing the one PC.
|
|
The two parties who play are the GM and the player (2026-11-14,
|
|
developer) -- and the player is always the model: humans are never "the
|
|
player" (DECISIONS #28); a human in the app is a GM (of their own
|
|
runs), a reader of other people's stories, or the op.
|
|
- **the PC** -- the one character the player plays. Female by
|
|
postulate (README Scope); the shared prompts say "she" throughout.
|
|
- **the housekeeper** -- a fresh inferencer invocation after each session,
|
|
reading the transcript and the rings; emits a manifest. Judgment,
|
|
never clerical work; never plays, never edits files. Its prompt
|
|
(housekeeper.md) is substrate-internal and never exposed.
|
|
- **the curator** -- the one-shot inferencer invocation at refine,
|
|
labeling the battery's adjudicated results into the presentation
|
|
layer. Strictly validated; a failure falls back to the machine
|
|
list.
|
|
- **the bookkeeper** -- PARKED, unbuilt: the housekeeper's
|
|
arithmetic sibling, computing the sheet's deltas from the
|
|
setting's rules prose. Sheet-only authority, per-package opt-in.
|
|
- **the clerk** -- `tool/memory.mjs`: validates, applies, renders,
|
|
dumps. Fails loudly, never drifts silently. Code, never a model.
|
|
|
|
## The story state
|
|
|
|
n
|
|
e
|
|
i
|
|
t
|
|
h
|
|
e
|
|
r
|
|
|
|
t
|
|
h
|
|
e
|
|
|
|
k
|
|
e
|
|
y
|
|
|
|
n
|
|
o
|
|
r
|
|
|
|
t
|
|
h
|
|
e
|
|
|
|
c
|
|
l
|
|
o
|
|
n
|
|
e
|
|
.
|
|
neither the key nor a clone.
|
|
- **the package** -- a preset: authored content only, no state.
|
|
System packages ship with the repo; user packages live in
|
|
`state/packages/` -- saved runs or forks, published to the
|
|
deployment (gm.md included -- saving is the act of publishing).
|
|
Read exactly once per run, ever -- at create. Forkable by anyone
|
|
(2026-11-19): the copy is the forker's own user package.
|
|
- **scaffold** -- a package's ready-to-run flag (2026-11-19): the
|
|
`"scaffold": true` key in settings.json holds a package out of
|
|
play -- create refuses it, the listing marks it. The template is
|
|
one; the flag rides forks untouched (a scaffold fork stays a
|
|
scaffold until its author flips it off -- the flag is the
|
|
package's doneness state), so publishing your own scaffold for
|
|
others to fork is free.
|
|
- **the run** -- one story: the package copied wholesale into
|
|
`runs/<id>/` at create; from then the run directory is the only
|
|
truth. The id is anonymous hex and carries no facts; the visible
|
|
name is "Package / PC". The run is the PROCESS that delivers; the
|
|
story is the DELIVERABLE it exists to produce. In anything
|
|
mechanical it is always "the run".
|
|
- **the story** -- the deliverable: the narrative a run exists to
|
|
produce. Rendered (`/api/runs/<id>/story`) from non-dropped
|
|
literature turns only -- OOC, tool calls, substrate verbs,
|
|
thinking, rings all out -- always spanning every session in order,
|
|
the opening to the last turn recorded, plus the dormant session's
|
|
current carryover. The one public read of a run: any signed-in
|
|
user gets the story and nothing else (the table, the files, the
|
|
pad are the owner's). Load-bearing prose living inside OOC only is
|
|
a GM protocol violation, and the story enforces it by omission: the
|
|
hole shows. Prose may speak of the story; mechanics always say run.
|
|
- **draft** -- a run whose session one is dormant: created, never
|
|
started. Editable in setup, deletable from the SPA; a played run
|
|
refuses deletion server-side.
|
|
- **the session** -- one stretch of play inside one contwin: a
|
|
stateful entity, dormant -> live -> finished, owning its own bundle
|
|
(prompt copies), rings db, and carryover under `sessions/<n>/`. It
|
|
goes live at start (the bundle freezes), plays by turns in its own
|
|
`log.jsonl`, finishes at stop (the tail moves into the next dormant
|
|
session's carryover; housekeeping runs over what remains). No
|
|
contwin before live; a run's state is its latest session's.
|
|
Renamed from "window" -- see Ruled renames. Ordinals in prose:
|
|
"session one", "her next session".
|
|
- **the turn** -- one exchange: a GM turn (user role), then the
|
|
player's turn (assistant role; tool calls may interleave between
|
|
beats). A player turn takes one of four shapes: literature, variant
|
|
literature, tool call, OOC message.
|
|
- **the bundle** -- the opening context of a session, assembled in
|
|
order: the system message trio (system.md -> invariants.md -> the
|
|
session's handbook copy), then the GM messages -- backdrop,
|
|
character, ring-b, ring-a. Session-specific: the craft files are
|
|
the session's own frozen copies (from the package for session one,
|
|
from the previous session afterwards, editable during dormancy).
|
|
Everything in it is inspectable read-only in the SPA; the internal
|
|
models' prompts never enter it.
|
|
- **the carryover** -- every session's opening material, one format
|
|
(`carryover.jsonl`, raw log events). Session one's is authored in
|
|
the package: her opening, the events before the story's first live
|
|
GM turn. Session N+1's is the moved tail of session N -- contiguous
|
|
raw lines, whole exchanges, nothing filtered, cut at stop by the
|
|
smart visible-prose budget (96KB; invisible events ride at zero
|
|
cost). The move is at stop: each line exists in exactly one jsonl,
|
|
ever, no markers anywhere. Raw in storage, filtered on serve;
|
|
GM-editable during dormancy in principle (the editor is a later
|
|
task). At start: if it ends on a GM turn, that turn is sent
|
|
automatically as the first request; otherwise the table waits for
|
|
the GM. The housekeeper reads session N's log as it was left -- the
|
|
truncation is the bound -- so the rings never overlap the carried
|
|
prose. The mechanism's name is the slidwin.
|
|
- **the table** -- the GM's play surface: the open session curated
|
|
for play (`/api/runs/<id>/table`), what the model is working with
|
|
plus the meta the GM needs -- thinking never crosses the wire,
|
|
variant turns carry only the picked one. The owner's alone: a
|
|
non-owner is shown the story, never the table. Two faces in the
|
|
SPA: the table itself and the raw tab (the whole log as it rode
|
|
the wire -- thinking, every variant, every reminder copy). The
|
|
table sees only the open session: previous sessions' prose lives
|
|
in the story. During dormancy the play view shows the carryover
|
|
the same way -- a pure mirror of what the next contwin will hold.
|
|
- **memory.json** -- the package's session-0 manifest: her starting
|
|
memories as the mock housekeeping output of the non-existent
|
|
session zero (an all-insert manifest, housekeeper vocabulary,
|
|
reasons included). It applies once, at run creation, through the
|
|
standard apply path; afterwards it is inert provenance, read-only
|
|
in the run. Pre-story records are not its business -- those are
|
|
filed ahead of play with `file --gm`.
|
|
|
|
## Memory
|
|
|
|
- **the rings** -- her salient memory, two tiers ordered by touch
|
|
(an LRU cache): **ring A** -- important facts, cap 500; **ring B** --
|
|
the rest that passed the gate, cap 3000. Storage is rows; the
|
|
views (`canon/ring-*.md`) are rendering.
|
|
- **touch** -- a meaningful invocation during play (named, used,
|
|
clearly weighed); raises the entry. Mere adjacency doesn't count.
|
|
- **promotion / demotion** -- the housekeeper's A<->B judgment, reason
|
|
logged. Judgment, not a metric.
|
|
- **overflow** -- mechanical and exact: A spills to B, B spills to
|
|
cold, oldest-touched first. Enforced by count, never by a model's
|
|
arithmetic.
|
|
- **cold storage** -- everything evicted or deleted. Beyond the
|
|
models' reach; GM-reachable via revive. Nothing is ever destroyed.
|
|
- **status** -- descriptions of her immediate situation, admitted by
|
|
the three-part gate (non-normal, acute, turn-affecting). Hers to
|
|
write: the whole-list `<status>` block in her own turns (the
|
|
full-block protocol -- absent means unchanged, never blank),
|
|
stamped at her most recent turn's tail in the view. The log is
|
|
the one truth (the state scan derives it; no db holds a copy) --
|
|
entirely hers to write, the housekeeper never touches it, and the
|
|
GM's override composes as if she had stated it (the model never
|
|
sees an override as an act, only as state). Renamed from "paper"
|
|
-- see Ruled renames.
|
|
- **the agenda** -- her second self-kept block: intentions -- what she
|
|
means to do -- in a cap-5 recency queue (markdown bullets; the
|
|
full-list lives only in the log -- an over-cap list is never
|
|
derivable, ruled a feature). The whole-list `<agenda>` block in
|
|
her own turns; disposable by design. The seam with the
|
|
status: how she is vs what she means to do.
|
|
- **the override** -- the GM's block edit: staged in a pane, it rides
|
|
the next non-OOC GM turn as a record on it, and the composition
|
|
renders it as if she had stated it -- mutated in place at her
|
|
newest blocks. The log keeps her words verbatim; the raw surfaces
|
|
show the record; the model sees only state.
|
|
- **the sheet** -- the GM's ledger of arbitrated run state (developer,
|
|
2026-11-17): schemaless JSON inside a `<sheet>` block, the
|
|
setting's prose gives the fields meaning. The second state
|
|
channel, split from status/agenda by truth model: those are
|
|
narrative self-report (the scan caches her latest words), the
|
|
sheet is run state (the GM's record is the truth event, nothing
|
|
cached). GM-only authorship, model-read-only (an emitted block
|
|
conflicts with a pointer at prose, the `<model>` guard's
|
|
sibling); records ride GM turns newest-wins, whole-set (an
|
|
absent key drops, never keeps; `{}` is a live empty ledger);
|
|
the boundary note carries it across stops. Renders as its own
|
|
authoritative system chunk at the freshest end, never a
|
|
canon-point stamp. The tabletop metaphor's arrival, after dice
|
|
retired into variant literature: numbers that affect play live
|
|
on the sheet, never in prose alone. See also: the bookkeeper
|
|
(ROADMAP, the parked automation).
|
|
- **records** -- her files: the card index, the ledger, whatever she
|
|
keeps. Diegetic and per-run (the settings gate); narrow query,
|
|
hard cap 10 in the tool; a miss is a miss. Filed at her desk by
|
|
the player; the housekeeper only archives.
|
|
- **the backdrop** -- the world as everyone in it knows it: public
|
|
knowledge. Never memory, never decays, always in the bundle.
|
|
- **identity** -- `character.md`: concept, drives, skills, voice.
|
|
The GM's to edit; the housekeeper proposes via open questions;
|
|
blanks are the player's to invent.
|
|
- **the manifest** -- the housekeeper's whole output: JSON semantic
|
|
operations (insert, touch, promote, demote, reword, delete,
|
|
archive; plus summary, inventions, open questions). Validated and
|
|
applied by the clerk; a rejected manifest changes nothing and says
|
|
why.
|
|
- **housekeeping** -- the pass that turns a finished session's log
|
|
into the next session's rings: a fresh housekeeper call over the
|
|
transcript + rendered rings, the manifest, the apply into the
|
|
dormant session's db (rebased from the finished session's copy each
|
|
run). Re-enterable during dormancy: every run re-copies and
|
|
re-applies, and hand edits made in between are overwritten. The
|
|
dry-run replay changes nothing. The only word for it (2026-11-14,
|
|
developer): the old shorthand "the wrap" is retired.
|
|
- **the log** -- the housekeeping record, `sessions/<n>/log/<pass>.md`:
|
|
what the housekeeper declared, cross-checked against the dump diff.
|
|
The `events` table is the journal underneath; both are write-only for
|
|
every model.
|
|
|
|
## Channels and syntax
|
|
|
|
- **IC / OOC** -- in-character vs out-of-character. OOC is a line
|
|
opening with `(`, closing paren optional; any opening `<tag>` line
|
|
is substrate traffic and always OOC. Unknown tags are reported to
|
|
the GM.
|
|
- **speech / narration** -- plain text is spoken aloud; `*italics*`
|
|
carry actions, descriptions, thoughts, interiority.
|
|
- **sigils** -- `@PC` (her name) and `@Package` (the display name):
|
|
identity substitution resolved from the run's settings. Any other
|
|
`@`-word is the author's own text -- `@` syntax is not owned here.
|
|
- **$TOKENs / vars** -- template variables the prompts declare
|
|
themselves; setup collects them; the run's `settings.vars` holds
|
|
the answers.
|
|
- **deltas** -- RETIRED (2026-11-16, developer): the diff verbs
|
|
(`<lost>`/`<gained>` on the status, `<add>`/`<drop>` on the
|
|
agenda) are gone with the full-block protocol -- she emits whole
|
|
lists now, and the miss-conflicts (bad drop indexes, not-in-status
|
|
removals) died with them. The conflict channel survives for the
|
|
mind verb's refusals and the `<model>` guard.
|
|
- **conflict** -- the self-heal message: a `<conflict>` block sent as
|
|
its own GM-side message, clean of prose; the model adjusts in the
|
|
same exchange. Capped at 3 heals per turn. Conflicts stay in the
|
|
contwin (developer, 2026-11-18) -- a mistake remains visible so it is not
|
|
made again -- which is why every conflict is self-contained: it
|
|
describes its problem in full, quoting the offending emission,
|
|
because the block it answers strips from the view and an old
|
|
conflict cannot lean on the turn it immediately follows.
|
|
- **ask_gm** -- the player's tool for points of order, canon
|
|
questions, proposals. Pauses the turn mid-loop; the answer is
|
|
authoritative and never elides from the context.
|
|
- **variant literature** -- the randomness channel: a turn shape of
|
|
several complete candidate turns in one `<variants>` block (one
|
|
`<variant>` each), composed when the choice is genuinely
|
|
non-obvious. The server picks one at random on reception -- the pick
|
|
is final, re-rolls do not exist. Each variant carries its own
|
|
deltas; only the picked one's apply. Unpicked variants survive only
|
|
in the session log: no model-facing surface ever renders them (she
|
|
must not remember roads not taken; the housekeeper must not file
|
|
fiction-that-never-was).
|
|
- **roll** -- RETIRED (2026-11-15, developer): the model-facing dice tool is
|
|
gone; chance in play is variant literature. The clerk's `pick`
|
|
survives as the GM's drafting dice -- CLI-only, never model-facing.
|
|
- **the reminder** -- `reminder.md`: the turn-composition procedure,
|
|
repo-shared, riding after every GM turn as its own system chunk.
|
|
One live copy -- superseded copies elide from the view; the log
|
|
keeps every as-sent chunk.
|
|
|
|
## People mechanics
|
|
|
|
- **invite / claim / token** -- identity, in that order: a single-use
|
|
invite code is exchanged at claim for a persistent bearer token.
|
|
No usernames, no passwords, no external IDPs. Spent invites stay
|
|
recorded forever and are rejected loudly on reuse.
|
|
- **owner / ownerless** -- runs belong to their starter; every
|
|
mutation, every model call, and the whole working surface (table,
|
|
raw session, carryover, files, status, notepad) is owner-only. The
|
|
story is the one public read, any signed-in user; fork is the way
|
|
in. Ownership is resolved, never maintained: run.json keeps dead
|
|
owner ids, the API reads them as absent.
|
|
- **fork** -- an atomic copy under the forker. Runs and packages
|
|
both: a run fork carries window state honestly (no lineage; the
|
|
only mark is `forked: unixtime` in run.json beside the carried
|
|
`created`), a package fork is the copy-to-author act (2026-11-19)
|
|
-- the copy lands in `state/packages/` owned by the forker, pc
|
|
stripped, scaffold flag preserved, `forked:` naming the source.
|
|
- **the rewind** -- the GM's take-back (2026-11-17): the send that
|
|
carries `rewind` (a log line index naming a GM turn) replaces that
|
|
turn, and everything after it leaves the log outright -- physical
|
|
truncation, the one sanctioned break of the log's append-only.
|
|
Fork is the preservation story: fork before rewinding keeps the
|
|
branch, no fork no archaeology. Live sessions only; the floor is
|
|
the start marker (the frozen opening -- authored or carried --
|
|
never unwinds); a pending ask refuses the send. Every state
|
|
channel re-derives to the cut, so dead-range sheet records and
|
|
overrides revert with the prose. In the SPA: two-click armed, the
|
|
target's words auto-fill the composer (the expanded line as
|
|
logged), a tint marks the outgoing rewrite, and text in the box
|
|
blocks the gesture under the rename "to rewind delete your
|
|
current input". Resending the same words after a rewind is the
|
|
retry -- /retry was never built.
|
|
|
|
## Instrumentation
|
|
|
|
- **the meter** -- the context meter: prompt-token usage of the last
|
|
call against the discovered contwin (the run's player model's input
|
|
ceiling from the registry); loud past 85%.
|
|
- **contwin** -- the context window, under its own name (coined
|
|
2026-11-14, developer: the word "window" is beyond overloaded, so even
|
|
this use got renamed). Model-dependent, read from the registry's
|
|
per-model input ceiling -- never deployment-declared (the
|
|
server.json config key died with the file, 2026-11-19).
|
|
- **mock mode** -- `--mock`: the scripted fake model that proves the
|
|
loop without a key. The smoke (`test/`) runs against it.
|
|
- **the dump** -- `dumps/memory.sql`: the canonical id-ordered SQL
|
|
snapshot, auto-written by every mutation. The primary audit
|
|
surface -- diffing two consecutive dumps reconstructs the applied
|
|
operations exactly.
|
|
- **the view** -- the rendered live context under policy: thinking
|
|
never goes back; old tool results elide to stubs (ask_gm answers
|
|
never); old status and agenda blocks elide; her own blocks strip
|
|
and the derived state stamps at her most recent turn's tail; one
|
|
live reminder at the freshest end; conflicts never elide
|
|
(2026-11-18 -- a mistake stays visible).
|
|
|
|
## Conventions the words lean on
|
|
|
|
- All dates and times UTC, everywhere. No time zones, ever.
|
|
- No model-facing surface renders a date; story time lives in prose.
|
|
Internal stamps are mechanical (LRU, overflow, sinking) and never
|
|
render to a model.
|
|
- Ids are anonymous hex; display is "Package / PC"; run ids carry no
|
|
facts, so nothing ever needs renaming.
|
|
- **ASCII bytes, everywhere (2026-11-15, developer).** No unicode in any
|
|
tracked file -- the encoding is the problem, never the visual:
|
|
glyphs that must render travel ASCII-safe (HTML entities, `\u`
|
|
escapes in JS), never verbatim. Punctuation conventions: the em
|
|
dash is `--`, the ellipsis is `...`, arrows are `->`/`<->`, the
|
|
middle dot renders via `\u00b7`. Gitignored state (runs/, state/,
|
|
server.json) is per-deployment and exempt. Enforced by
|
|
`test/check-repo.mjs`.
|
|
- **No text-mutating CSS (2026-11-15, developer).** Rendered text must
|
|
match authored text -- the testing trap is any divergence. Banned:
|
|
`text-transform` (any value, inline styles included), generated
|
|
content (`content:`, `::before`/`::after` included), caps font
|
|
variants. Want caps on screen, write caps in the source. Enforced
|
|
by the same check.
|
|
- **Retired terms stay retired, and the lint holds the line
|
|
(2026-11-15).** "The wrap", "prelude", "paper", "window", "turn-0",
|
|
"seed" -- a rename rules here first, then sweeps;
|
|
test/check-repo.mjs now fails any of them in the living prose
|
|
(README, root prompts, the packages), with the ruled carve-outs:
|
|
historical records keep the vocabulary of their day, gm.md is
|
|
GM-private, and a line naming contwin may gloss it as the context
|
|
window. The first run caught real drift: README said "a 256K-class
|
|
window" (now contwin).
|
|
- Renames are clean (2026-11-14, developer: no legacy hauling). No
|
|
dual-accept shims: a renamed thing accepts only its new name, old
|
|
data migrates once (the clerk normalizes on open), and anything
|
|
left on the old name fails loudly. Upstream words (the DOM's
|
|
window, the OS's) are consumed as-is.
|
|
|
|
## Ruled renames
|
|
|
|
- **paper -> status** (2026-11-14, developer). One name for the thing on
|
|
every surface a model or human reads: the prompts (invariants.md,
|
|
housekeeper.md, the rendered status view), the SPA, the docs'
|
|
living prose. Amended later the same day (developer: "I don't like
|
|
hauling legacy around" -- renames are clean, no dual-accept
|
|
shims): the machinery renamed too -- the `status`/`status-apply`/
|
|
`status-set`/`status-ingest` verbs (the run summary command is
|
|
`report` now), the db `status` table, the `/status` route, the
|
|
`detail.status` field, the `status-*` journal ops. Old data
|
|
migrates once, in the clerk; historical records (resolved
|
|
QUESTIONS entries, build logs) keep the vocabulary of their day.
|
|
- **window -> session** (2026-11-14, developer). Reasons: to a user,
|
|
"closing a window" means exiting the program; and "context window"
|
|
already owns the word here -- one project, one window, and it is
|
|
the context window (that last carve-out was superseded later the
|
|
same day by the contwin ruling below: the word is gone entirely).
|
|
Swept the same day (SPA strings, server
|
|
messages, docs prose, and the housekeeper manifest's key, now
|
|
`session` -- the clerk dual-accepts `window` so old manifests stay
|
|
valid). Historical records keep the vocabulary of their day --
|
|
and old data is consumed as-is from its era: pre-rename session
|
|
logs carry `window`-kind notes (readers accept both), pre-rename
|
|
manifests carry the `window` key (the clerk dual-accepts), and
|
|
pre-rename dumps embed their own old schema and self-migrate.
|
|
- **the window machinery renamed too** (2026-11-14, developer: "invisibles
|
|
gone as well"). What survived the first sweep as private plumbing
|
|
is renamed like everything else we own: element ids
|
|
`session-info`/`session-open`, the route `POST /sessions`, the
|
|
response field `session`, the meter field `contwin`, the
|
|
function `openSession`, the `events` column `session` (one-time
|
|
rename migration, data-preserving). Words we do not own are
|
|
consumed from upstream as-is: the DOM's `window`, the OS's
|
|
window.
|
|
- **context window -> contwin** (2026-11-14, developer). The word "window"
|
|
is retired entirely -- even the context window gets its own name,
|
|
so nothing in the project says "window" on any surface. The config
|
|
key is `contwin`; the old `contextWindow` key is dual-accepted so
|
|
existing deployments keep booting. Same coinage pattern, later the
|
|
same day: the carry's mechanism is the **slidwin** (2026-11-15,
|
|
GM) -- the migrating live range across session boundaries.
|
|
- **wrap -> housekeeping** (2026-11-14, developer). "Housekeeping" is the
|
|
only word; the shorthand "the wrap" is retired from strings and
|
|
living prose alike.
|
|
- **turn-0 -> the carryover** (2026-11-15, developer). The opening beat was
|
|
never really one turn: the package now ships `carryover.jsonl` -- a
|
|
sequence of log events, the same format every session's carryover
|
|
uses, ending however the author chooses (her turn means the GM
|
|
types first; a GM turn means start sends it automatically).
|
|
Caramba's opener is re-attributed as the model's turn (it always
|
|
described her). One canonical format; the turn-0 machinery (the
|
|
file, the send-as-first-GM-turn path, status-ingest) is deleted,
|
|
never dual-accepted.
|
|
- **seed -> memory.json** (2026-11-15, developer). The name must say
|
|
memory-only on its face: the file is the mock session-0
|
|
housekeeping manifest, housekeeper vocabulary, applied at run
|
|
creation through the standard apply path. The seed verb dissolves
|
|
(creation applies it; "the run already has its rings" is the whole
|
|
of re-apply refusal), and "seed" retires from living prose.
|
|
- **agent -> the named seats** (2026-11-19, developer). The word was
|
|
doing too many jobs at once -- the assistant, the housekeeper, the
|
|
curator, a hypothetical status-keeper, all collapsed into one
|
|
ambiguous noun. The roles inventory names every seat; living prose
|
|
says the name. "Agent" retires from the substrate exactly like
|
|
"window" did: lint-banned in rule 4, the filename AGENTS.md
|
|
consumed as-is ("Windows" the OS is the precedent), historical
|
|
records keeping their day's words.
|
|
- **LLM -> inferencer** (2026-11-19, developer). The seats are named
|
|
(the player, the housekeeper, the curator, the assistant); the
|
|
class word for all of them together is "inferencer(s)". "Model"
|
|
survives as the machinery's noun -- a registry entry, a provider's
|
|
listed model, the model box -- never a seat: a model is what the
|
|
registry lists, an inferencer is who a seat is. "LLM" retires
|
|
from the substrate, lint-banned beside "agent".
|
|
|
|
## Open naming questions
|
|
|
|
None currently open -- ruled items live above and in the entries.
|