the roles inventory: every human and inferencer seat named, the vocabulary swept, and the duties audit

the inventory (GM-designed in conversation, 2026-11-19): six human roles -- the developer (maintains the repo, and is the system packages author by consequence: system packages ship in the repo), the deployment operator (maintains a deployment: identities, providers, the registry; filesystem access as recovery; never a reader of runs' private surfaces -- owner-gating holds even against the superuser), the deployment user (any claimed identity; the only reach is the API -- no filesystem, no keys, ever), the package author (an off-platform seat: authorship travels with the files, the machinery sees only the publisher), a run's GM (maintains a run they own -- the same person the machinery records as the run's owner, one role two names, never split; the fork creates a second GM seat over a branching canon), and the reader (defined by the act, membership-free: on-platform any signed-in user, off-platform anyone the story text reaches). The inferencer roles: the assistant, the player, the housekeeper, the curator, the clerk (code, never a model), and the bookkeeper (parked). The example that pinned the mappings: Alice the op forking Bob's Faye into her Kate (hats stack, seats don't), Charlie authoring package files Bob publishes (the author-publisher split), Dave reading the exported story with no invite at all (the reader needs nothing).

the naming convention, stated in AGENTS's header and DICTIONARY both: "GM" always means a run's GM, everywhere; ruling attributions name the developer; the assistant is the assistant; the op stays the op. The role line that is never crossed (developer, 2026-11-19): the assistant is NOT the player -- player-facing instructions are for the assistant to understand how the player would interpret them, never to follow. The root prompts and every model-facing string were already correct (GM there was always the run's GM) and are untouched; the packages' fiction is exempt from the term lint (rule 4 scopes to the substrate: README and the root prompts); the records keep their day's words -- DECISIONS gained one dated header note mapping the old usage instead of a rewrite ("GM" in a ruling attribution is the developer, "the agent" is the assistant).

the sweep: 125+ ruling attributions rewritten across living prose and code comments in every spelling the repo used (paren-wrapped, date-first, mid-sentence, line-wrapped); AGENTS.md fully re-voiced (the header rewritten, "the agent" gone, the developer-meaning prose fixed line by line); README's "invited players" became "invited users"; the gm.md carve-out made precise everywhere (the file is the run's GM's private file, the flagging target is the developer, the non-editor is the assistant).

the word retirements, both lint-banned in rule 4 exactly like "window": "agent" (the word did too many jobs at once; every seat is named; the filename AGENTS.md consumed as-is, "Windows" the OS the precedent) and "LLM" (the class word is "inferencer(s)"; "model" kept as the machinery's noun -- a registry entry, never a seat: a model is what the registry lists, an inferencer is who a seat is). The fixes the bans forced: the exposure rule's "internal agents" -> "internal inferencers", the hypothetical "status-keeper agent" -> invocation, the bookkeeper shed its "agent" tag, "player-model" fell to "the player" everywhere including housekeeper.md's one prompt hit, README's "inference key" and its Roles section re-voiced, the #22 attribution comments at the three call sites, and the runtime log markers renamed (llm -> inferencer, a meaning-preserving log rename under the no-legacy rule). DICTIONARY's renames section carries both retirement entries.

the duties audit (along the what-hats-do lines: the developer maintains the repo, the op maintains a deployment, a user's only reach is the API, a run's GM maintains their run). Found and fixed: README's Housekeeping section was pre-split era text -- "every housekeeping pass should end in a commit" and "confess in the commit message" (runs/ is gitignored; the developer's commit duty was assigned to the run flow), the dead packages/<story>/dumps and packages/<story>/db paths (the dump is per-session under runs/<id>/sessions/<n>/), "canon/ stays committed", and "single-human" (multiuser since 2026-11-14) -- rewritten to the current paths with the audit's hat named: the dump cross-check is the operator side's, a run's GM reviews a pass through the server (the housekeeping log, the rendered rings, the story). The CLI-attributed-to-the-GM lines now say what they are: deployment-side filesystem reach, --gm-authorized writes, whoever's hand runs it (the protocol passage, quickstart step 7 -- which also dropped its "commit" -- and the booting intro now names its hat switches: the author's files, the deployment-side create with its API twin named, the GM's start). "The host" -> "the op" in the pitch. One mechanical fiction PARKED on the ROADMAP deferred list instead of fixed: the memory tiers table promises records access "none -- until the GM unlocks it in the story", but no channel exists (records is a creation-time settings bool, settings.json is read-only in the file API) -- build the channel or fix the promise, later. Verified consistent by the audit: the notepad (ONE notepad -- the run's gm.md, owner-writable through its route, seeded from the package copy), the op's non-reader boundary, every provider act, the spec attributions, the reader, the prompts.

verified: typecheck green both programs, check-repo ALL CLEAN with both new bans active, the ban regexes proven by direct test (agent/agents/multi-agent and LLM/LLMs caught; AGENTS.md and the assistant pass), and final greps confirming every remaining "GM" is a protocol term and every remaining "agent"/"LLM" is a quoting entry or a record's day-words. The developer's own edits ride along: the operator queue strike (the inventory line done, the loopback typo, "external sec review"), and the handoff prepared -- the queue renumbered, the fresh-run item's garbled line repaired, the commit count brought current (seven await the push), template and box marked committed, a stray paragraph break fixed. detention stays untracked WIP, untouched.
This commit is contained in:
2026-11-19 09:56:56 +00:00
parent e60fd63d2b
commit ccdd9ea129
28 changed files with 529 additions and 285 deletions
+93 -29
View File
@@ -8,25 +8,74 @@ WORDS.
## The people and the models
- **the GM** -- the human running the world: every NPC, every
consequence, all retcons. Runs on organic memory; the model's canon
files are the prosthesis. Always a human, never a model.
- **the player** -- the player-model: the LLM playing the one PC.
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,
GM) -- and the player is always the model: humans are never "the
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-model plays. Female by
- **the PC** -- the one character the player plays. Female by
postulate (README Scope); the shared prompts say "she" throughout.
- **the housekeeper** -- a fresh model invocation after each session,
- **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 op** -- the superuser of a deployment: mints and revokes
invites and users; recovery is filesystem access. The whole of
admin.
## The story state
@@ -103,8 +152,8 @@ e
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; agent prompts
never enter it.
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
@@ -173,7 +222,7 @@ e
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 (GM,
- **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
@@ -210,7 +259,7 @@ e
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,
GM): the old shorthand "the wrap" is retired.
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
@@ -230,7 +279,7 @@ e
- **$TOKENs / vars** -- template variables the prompts declare
themselves; setup collects them; the run's `settings.vars` holds
the answers.
- **deltas** -- RETIRED (2026-11-16, GM): the diff verbs
- **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
@@ -239,7 +288,7 @@ e
- **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 (GM, 2026-11-18) -- a mistake remains visible so it is not
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
@@ -256,7 +305,7 @@ e
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, GM): the model-facing dice tool is
- **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,
@@ -300,7 +349,7 @@ e
- **the meter** -- the context meter: prompt-token usage of the last
call against the contwin; loud past 85%.
- **contwin** -- the context window, under its own name (coined
2026-11-14, GM: the word "window" is beyond overloaded, so even
2026-11-14, developer: the word "window" is beyond overloaded, so even
this use got renamed). The config key in server.json is `contwin`
(`contextWindow` is still accepted).
- **mock mode** -- `--mock`: the scripted fake model that proves the
@@ -324,7 +373,7 @@ e
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, GM).** No unicode in any
- **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
@@ -332,7 +381,7 @@ e
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, GM).** Rendered text must
- **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
@@ -347,7 +396,7 @@ e
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, GM: no legacy hauling). No
- 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
@@ -355,10 +404,10 @@ e
## Ruled renames
- **paper -> status** (2026-11-14, GM). One name for the thing on
- **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 (GM: "I don't like
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
@@ -366,7 +415,7 @@ e
`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, GM). Reasons: to a user,
- **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
@@ -379,7 +428,7 @@ e
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, GM: "invisibles
- **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
@@ -388,17 +437,17 @@ e
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, GM). The word "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, GM). "Housekeeping" is the
- **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, GM). The opening beat was
- **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
@@ -407,12 +456,27 @@ e
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, GM). The name must say
- **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