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:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// web/knobs.mjs -- the reasoning-effort ladder and its select.
|
||||
//
|
||||
// The per-run sampling knobs are retired (GM, 2026-11-18): params are
|
||||
// The per-run sampling knobs are retired (developer, 2026-11-18): params are
|
||||
// per-turn and only hers -- the <mind> verb sets them for one turn,
|
||||
// nothing stores them. Reasoning effort is a property of the model
|
||||
// pick (there is no unset effort), so its select lives inside the
|
||||
|
||||
+2
-2
@@ -35,7 +35,7 @@ body {
|
||||
|
||||
/* play keeps the two-column transcript + aside layout; the footer
|
||||
(the composer) sits under the transcript's column only -- the
|
||||
input's width is the pane's width (GM, 2026-11-16) */
|
||||
input's width is the pane's width (developer, 2026-11-16) */
|
||||
body.play {
|
||||
grid-template:
|
||||
"header header" auto
|
||||
@@ -449,7 +449,7 @@ footer {
|
||||
display: none;
|
||||
}
|
||||
body.play footer { display: flex; flex-wrap: wrap; }
|
||||
/* the rewind note (GM, 2026-11-17): a full-width row above the
|
||||
/* the rewind note (developer, 2026-11-17): a full-width row above the
|
||||
composer while a rewind is armed -- it names the cut and explains
|
||||
the tint (the colour alone says that something is pending, not
|
||||
what dies) */
|
||||
|
||||
+5
-5
@@ -18,7 +18,7 @@
|
||||
import { $, el } from './dom.mjs';
|
||||
|
||||
// splits text into spans: *italics* = narration, **bold** = emphasis.
|
||||
// Colour-only (GM, 2026-11-16): the workbench renders no faces --
|
||||
// Colour-only (developer, 2026-11-16): the workbench renders no faces --
|
||||
// same glyphs, same widths, only paint differs, and the input's
|
||||
// caret can never drift from what it overlays. The asterisks stay
|
||||
// on screen: the authored text is the rendered text
|
||||
@@ -42,7 +42,7 @@ function renderSpans(target, text) {
|
||||
// delta tags on player turns always render as chips. The workbench's
|
||||
// register renderer -- colour-only, source verbatim; the story view
|
||||
// carries its own (view-story.mjs), the book's typography is not the
|
||||
// tool's (GM, 2026-11-16).
|
||||
// tool's (developer, 2026-11-16).
|
||||
/** @param {HTMLElement} target @param {?string} text @param {{ extract?: boolean }} opts @returns {{ status: ?string, conflict: ?string, agenda: ?string }} */
|
||||
function renderContent(target, text, { extract }) {
|
||||
let body = String(text ?? '');
|
||||
@@ -131,7 +131,7 @@ function renderContent(target, text, { extract }) {
|
||||
// table-side display. The state machinery (status, agenda, the
|
||||
// retired delta tags) renders nowhere in the prose pane -- the
|
||||
// dedicated panes carry the derived state, the transcript
|
||||
// carries the prose (GM, 2026-11-16)
|
||||
// carries the prose (developer, 2026-11-16)
|
||||
const wrap = document.createElement('div');
|
||||
wrap.className = 'tags';
|
||||
for (const t of tags) {
|
||||
@@ -334,7 +334,7 @@ export function renderTranscript(entries, { onConflict, onRaw, onRewind } = {})
|
||||
}
|
||||
flushBundle();
|
||||
if (e.t === 'msg' && e.reminder) {
|
||||
// the reminder never renders in the prose pane (GM, 2026-11-16):
|
||||
// the reminder never renders in the prose pane (developer, 2026-11-16):
|
||||
// it is the same every turn -- the raw tab keeps every copy,
|
||||
// the audit surface is its home
|
||||
continue;
|
||||
@@ -359,7 +359,7 @@ export function renderTranscript(entries, { onConflict, onRaw, onRewind } = {})
|
||||
continue;
|
||||
}
|
||||
if (e.t === 'note') {
|
||||
// the state receipts never render in the prose pane (GM,
|
||||
// the state receipts never render in the prose pane (developer,
|
||||
// 2026-11-16): the status/agenda notes -- the old delta applies
|
||||
// and the whole-list sets alike -- duplicate the panes; the raw
|
||||
// tab keeps every receipt
|
||||
|
||||
+4
-4
@@ -129,7 +129,7 @@ async function renderAdmin(seq) {
|
||||
/** @param {import('./shapes.mjs').ProviderPayload} p @returns {string} */
|
||||
function providerStateLine(p) {
|
||||
if (p.phase === 'none') {
|
||||
// the probe record is the card's truth (GM, 2026-11-19): an auth
|
||||
// the probe record is the card's truth (developer, 2026-11-19): an auth
|
||||
// refusal opens the key path (never on o/f -- its auth failure is
|
||||
// upstream breakage, not a prompt); any other failure names
|
||||
// itself; no probe yet is a provider that was never scraped
|
||||
@@ -193,7 +193,7 @@ function renderProviderCard(p, seq) {
|
||||
});
|
||||
acts.appendChild(disc);
|
||||
acts.appendChild(refi);
|
||||
// the key control (GM, 2026-11-19): remove re-probes the keyless
|
||||
// the key control (developer, 2026-11-19): remove re-probes the keyless
|
||||
// endpoint -- a provider gone public lands working, a locked one
|
||||
// re-opens the ask (that is the key-replacement path). o/f never
|
||||
// carries a key, so the control never shows on it.
|
||||
@@ -215,7 +215,7 @@ function renderProviderCard(p, seq) {
|
||||
}
|
||||
card.appendChild(acts);
|
||||
|
||||
// the ask (GM, 2026-11-19): a provider whose last probe met an auth
|
||||
// the ask (developer, 2026-11-19): a provider whose last probe met an auth
|
||||
// refusal opens the key path -- the token is checked on reception,
|
||||
// saved on success, asked again on the next refusal
|
||||
if (p.probe?.outcome === 'auth' && p.slug !== 'opencode/free') {
|
||||
@@ -362,7 +362,7 @@ function fmtStamp(iso) {
|
||||
return iso ? `${iso.slice(0, 10)} ${iso.slice(11, 19)} UTC` : '?';
|
||||
}
|
||||
|
||||
// the add flow (GM, 2026-11-19): the binary choice, and the probe
|
||||
// the add flow (developer, 2026-11-19): the binary choice, and the probe
|
||||
// decides the key path. o/f is one click; custom opens the inline
|
||||
// form taking ONLY the endpoint -- a working keyless listing never
|
||||
// sees a key field. A 401/403 stands the provider broken and opens
|
||||
|
||||
+4
-4
@@ -25,7 +25,7 @@ import { renderRaw, renderTranscript, stickBottom, viaLine } from './transcript.
|
||||
/** @type {?string} */ let rawRun = null;
|
||||
let rawOpen = false;
|
||||
|
||||
// --- the rewind (GM, 2026-11-17) -------------------------------------------------
|
||||
// --- the rewind (developer, 2026-11-17) -------------------------------------------------
|
||||
//
|
||||
// The GM's take-back, staged client-side and committed by the send:
|
||||
// clicking rewind on one of your turns fills the box with that turn's
|
||||
@@ -431,7 +431,7 @@ function setInput(ok) {
|
||||
// Her turn can run for minutes on a max-effort model, and a held-open
|
||||
// request gives no sign of life. The progress route carries the
|
||||
// streaming callback's live record (the phase in flight, its running
|
||||
// chars) plus the scale the bar guesstimates against (GM, 2026-11-17:
|
||||
// chars) plus the scale the bar guesstimates against (developer, 2026-11-17:
|
||||
// a guesstimate, but an informed one): the only true budget is
|
||||
// max_tokens when the knobs set one (reasoning counts inside it),
|
||||
// else her own history -- the longest turn she has completed in this
|
||||
@@ -717,7 +717,7 @@ $('gm-send').addEventListener('click', sendTurn);
|
||||
$('gm-input').addEventListener('keydown', (e) => {
|
||||
if (e.key === ' ' && e.ctrlKey) { e.preventDefault(); sendTurn(); }
|
||||
});
|
||||
// text in the box blocks the rewind gesture (GM, 2026-11-17): the
|
||||
// text in the box blocks the rewind gesture (developer, 2026-11-17): the
|
||||
// button disables and renames rather than hiding, so the affordance
|
||||
// says what unlocks it. Clearing the box re-enables it
|
||||
$('gm-input').addEventListener('input', syncRewind);
|
||||
@@ -727,7 +727,7 @@ $('rewind-cancel').addEventListener('click', cancelRewind);
|
||||
// -- the pre behind a transparent-text textarea renders the tokens in
|
||||
// place. Every character stays (the asterisks too) so the caret never
|
||||
// desyncs from the visible glyphs, and the tokens are colour-only
|
||||
// (GM, 2026-11-16): real faces shift advance widths and dragged the
|
||||
// (developer, 2026-11-16): real faces shift advance widths and dragged the
|
||||
// caret with them -- same glyphs, same widths, only paint differs
|
||||
const SIGIL_RE = /@(PC|Package)\b/g;
|
||||
const VAR_RE = /\$([A-Za-z_][A-Za-z0-9_]*)/g;
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import { navigate, runGone } from './router.mjs';
|
||||
|
||||
/** @typedef {import('./shapes.mjs').StoryResponse} StoryResponse */
|
||||
|
||||
// the story's own renderer, deliberately not the workbench's (GM,
|
||||
// the story's own renderer, deliberately not the workbench's (developer,
|
||||
// 2026-11-16: one rule -- the table and the composer render
|
||||
// colour-only, source text verbatim; the book is the deliverable and
|
||||
// earns its typography). Real faces, asterisks spent: *italics* is
|
||||
|
||||
+2
-2
@@ -111,7 +111,7 @@ export function paneEditor({ section, body, empty, placeholder, rows, format, to
|
||||
}
|
||||
|
||||
// the sheet pane: the same stage-and-ride pattern as the block panes,
|
||||
// JSON-typed -- the GM's ledger of arbitrated run state (GM,
|
||||
// JSON-typed -- the GM's ledger of arbitrated run state (developer,
|
||||
// 2026-11-17: the model reads it, never writes it; her proposals
|
||||
// arrive in prose). A record is a whole set: staging replaces the
|
||||
// entire object, an empty object is a deliberate empty ledger. Bad
|
||||
@@ -224,7 +224,7 @@ export function fmtCeiling(tokens) {
|
||||
}
|
||||
|
||||
// the model picks: per role a full spec {provider, model, effort} --
|
||||
// there is no unset effort (GM, 2026-11-18), and the params layer is
|
||||
// there is no unset effort (developer, 2026-11-18), and the params layer is
|
||||
// the <mind> verb's alone (per-turn, nothing stored). The health
|
||||
// line under the rows is the invalidation surface: a pick the server
|
||||
// no longer carries names what died and stays visible until the GM
|
||||
|
||||
Reference in New Issue
Block a user