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:
+12
-12
@@ -20,7 +20,7 @@
|
||||
// (the last few and every ask_gm answer stay), old GM-side
|
||||
// <status>/<conflict> blocks elide from GM prose -- the current status
|
||||
// rides the newest GM turn -- and conflict messages never elide: a
|
||||
// mistake stays visible so it is not made again (GM, 2026-11-18).
|
||||
// mistake stays visible so it is not made again (developer, 2026-11-18).
|
||||
/** @typedef {import('./shapes.mjs').LogEvent} LogEvent */
|
||||
/** @typedef {import('./shapes.mjs').LiveSession} LiveSession */
|
||||
/** @typedef {import('./shapes.mjs').PendingAsk} PendingAsk */
|
||||
@@ -254,7 +254,7 @@ export function cleanBlockList(text, kind) {
|
||||
|
||||
/** The state scan: newest-wins across her emissions (the picked
|
||||
* variant's text), the GM's records, and the boundary note. The sheet
|
||||
* (GM, 2026-11-17) is the second channel: arbitrated run state, never
|
||||
* (developer, 2026-11-17) is the second channel: arbitrated run state, never
|
||||
* her words -- its sources are the GM's turn records and the note,
|
||||
* each record a whole set (absent key means dropped, never kept), and
|
||||
* it never caps, never cleans: the GM's ledger is exactly what the GM
|
||||
@@ -367,7 +367,7 @@ export function findStalledStop(runId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// --- rewind: the GM's take-back (GM, 2026-11-17) ------------------------------
|
||||
// --- rewind: the GM's take-back (developer, 2026-11-17) ------------------------------
|
||||
//
|
||||
// The in-place rollback of the live session, deliberately destructive:
|
||||
// the target GM turn and everything after it leave the log, and the
|
||||
@@ -421,7 +421,7 @@ export function rewindTo(s, idx) {
|
||||
|
||||
// the authored carryover's event vocabulary: her opening as msg
|
||||
// events (user = the GM, assistant = her). The opening event is
|
||||
// RETIRED (GM, 2026-11-16): old carryovers keep theirs as inert
|
||||
// RETIRED (developer, 2026-11-16): old carryovers keep theirs as inert
|
||||
// history -- tolerated here, never applied. A continuation
|
||||
// carryover is real conversation: msg, tool, note, and req events
|
||||
// (a failed request's record is machinery like a note), read as
|
||||
@@ -447,7 +447,7 @@ export function lintCarryover(lines, { authored }) {
|
||||
if (m.reasoning_content) errors.push(`${at}: thinking is runtime metadata`);
|
||||
if (e.reminder) errors.push(`${at}: the reminder rides every GM turn on its own`);
|
||||
if (e.conflictOnly) errors.push(`${at}: conflict traffic is runtime machinery`);
|
||||
// the sheet's transport (GM, 2026-11-19, the box round): the
|
||||
// the sheet's transport (developer, 2026-11-19, the box round): the
|
||||
// record is the only channel -- the tag is view machinery,
|
||||
// composed by renderView, never authored by anyone. Hers would
|
||||
// never apply (the scan holds the GM's record) and primes the
|
||||
@@ -506,7 +506,7 @@ export function lintCarryover(lines, { authored }) {
|
||||
}
|
||||
});
|
||||
if (authored && openings > 1) errors.push('at most one opening event');
|
||||
// the full-block protocol (GM, 2026-11-16): the initial status rides
|
||||
// the full-block protocol (developer, 2026-11-16): the initial status rides
|
||||
// her last turn in the carryover -- an authored carryover without
|
||||
// model turns has no canon point to stamp
|
||||
if (authored && !lines.some((e) => e.t === 'msg' && e.m?.role === 'assistant')) {
|
||||
@@ -629,7 +629,7 @@ export function startSession(runId, { override = false } = {}) {
|
||||
errors: [(mr.err || mr.out || 'reapply failed').split('\n')[0]],
|
||||
});
|
||||
}
|
||||
// the full-block protocol (GM, 2026-11-16): the initial state
|
||||
// the full-block protocol (developer, 2026-11-16): the initial state
|
||||
// rides her last authored turn -- the scan reads her blocks, the
|
||||
// stamp renders them, the panes derive them. No seeding, no
|
||||
// second home: her opening turn IS the seed. The opening event
|
||||
@@ -653,7 +653,7 @@ export function startSession(runId, { override = false } = {}) {
|
||||
{ t: 'bundle', m: system, part: 'system' },
|
||||
...bundle.map((m, i) => /** @type {LogEvent} */ ({ t: 'bundle', m, part: partNames[i] })),
|
||||
...carry,
|
||||
// the rewind floor (GM, 2026-11-17): the opening -- authored or
|
||||
// the rewind floor (developer, 2026-11-17): the opening -- authored or
|
||||
// carried -- is frozen; live play starts at this line, and a
|
||||
// rewind may only ever target GM turns below it
|
||||
{ t: 'note', kind: 'start' },
|
||||
@@ -709,7 +709,7 @@ export function renderView(s, keepToolResults = 4) {
|
||||
// override, the boundary note -- the state scan's newest-wins).
|
||||
// The status is the game world as of her turn; after it the GM's
|
||||
// turn happens, then her new turn -- the context must read as that
|
||||
// same sequence of events (GM, 2026-11-16)
|
||||
// same sequence of events (developer, 2026-11-16)
|
||||
const st = scanState(s.lines);
|
||||
let lastProse = -1;
|
||||
s.lines.forEach((e, i) => {
|
||||
@@ -744,7 +744,7 @@ export function renderView(s, keepToolResults = 4) {
|
||||
content = content.replace(STRIP_HERS, '').trim();
|
||||
if (e.via && Object.keys(e.via.params ?? {}).length) {
|
||||
// the via-derived block is the mind verb's read side:
|
||||
// reasoning_effort is hidden from her (GM, 2026-11-16 --
|
||||
// reasoning_effort is hidden from her (developer, 2026-11-16 --
|
||||
// not her call), it rides the raw surfaces only
|
||||
const shownVia = { ...e.via.params };
|
||||
delete shownVia.reasoning_effort;
|
||||
@@ -769,7 +769,7 @@ export function renderView(s, keepToolResults = 4) {
|
||||
if (e.m.tool_calls?.length) m.tool_calls = e.m.tool_calls;
|
||||
msgs.push(m);
|
||||
} else if (e.conflictOnly) {
|
||||
// the self-heal channel stays in the contwin (GM, 2026-11-18):
|
||||
// the self-heal channel stays in the contwin (developer, 2026-11-18):
|
||||
// a mistake remains visible so it is not made again. This is
|
||||
// why conflicts must be self-contained -- describe the problem
|
||||
// in full, quoting the offending emission, because the
|
||||
@@ -790,7 +790,7 @@ export function renderView(s, keepToolResults = 4) {
|
||||
}
|
||||
}
|
||||
}
|
||||
// the sheet chunk (GM, 2026-11-17): arbitrated run state renders as
|
||||
// the sheet chunk (developer, 2026-11-17): arbitrated run state renders as
|
||||
// its OWN authoritative system chunk at the freshest end -- never a
|
||||
// canon-point stamp, which would read as her words. One live copy by
|
||||
// construction (assembled once per view, not logged per turn). An
|
||||
|
||||
Reference in New Issue
Block a user