530170224f
- clerk phase 0: the paper replaces key/value status - a description set with exact-match lost/gained delta apply (paper-apply), non-blocking, misses relayed back as conflict strings; paper / paper-set (GM override) / paper-ingest (a file's status block at new-game); amend and discard journal prior content and the paper ops journal what they replace (events.prior, the saga rule); seed rejects a status key loudly. Smoke-tested end to end - preset/run split: packages are presets (authored content only - the six state dirs are gone from both), runs are per-deployment instances under runs/ (gitignored); create <package> <run-id> copies the package wholesale (shared prompts included, run.json lineage plus optional model override) and inits state; --run addresses runs; packages and runs list them; config.json names the default package. The seed applies lazily at a fresh run's first window-open - bridge retired before ever going live: bridge.json became server.json (bind, endpoint, models, contextWindow, params - steal #4), example committed, bridge.mjs stays as the loop donor until server mock-parity - prelude.md renamed turn-0.md (GM); mechanical feeders, pink ice as licensed corpo firewall, slop section, Pinky treatment pinned (GM) - harness decisions (ROADMAP The harness): stated goal - a usable RP harness, clone-and-run or invited instance, key on the backend, no secrets in the repo; repo ships code and authored content only; copy-at-creation, editable everything, discipline on the GM; per-run model selection with an upstream models listing; audit as per-wrap dump snapshots inside the run (commit-per-wrap retired); zero-dep stack (#4 resolved, #7 dissolved with the bridge, #21 by default) - system.md split ruled (#20): substrate facts / per-project guards / per-run craft, hard limits in the craft copy; name call resolved - keep Rell (#19a) - docs: README gains the goal and deployment model, booting rewritten for the create flow; ROADMAP phasing 0-1 done; HANDOFF and the decision queue current
84 lines
4.3 KiB
Markdown
84 lines
4.3 KiB
Markdown
# AGENTS.md — the agent's own notes
|
|
|
|
Working notes for the agent working this repo. Not project
|
|
documentation — the project's homes are README (architecture, protocol,
|
|
observables), ROADMAP (decisions, steal list, substrate plan),
|
|
QUESTIONS (the decision queue), HANDOFF (working state). This file is
|
|
memory the agent owes itself across sessions.
|
|
|
|
## Working with the GM
|
|
|
|
- The GM drafts creative content; the agent drafts mechanical content.
|
|
"I draft, you cut" runs both directions. They edit files directly and
|
|
say "check it out" — always re-read before reviewing or editing; the
|
|
last read never still holds.
|
|
- They think across several lines at once and answer in batches;
|
|
silence on a proposal usually means "not persuaded, moving on."
|
|
Discuss in prose — question dialogs have been dismissed twice.
|
|
- **Commit discipline: they commit when pieces are in place. Never
|
|
propose, nudge, or ask about committing.** (Learned 2026-11-13,
|
|
after being told four-plus times.)
|
|
- Reviewing their creative work: check coherence against the rest of
|
|
the system, flag ripples, name what works and why — the verdict on
|
|
creative content is theirs. GM-private files (gm.md) are never edited
|
|
and only flagged.
|
|
|
|
## Writing prompt-bound text
|
|
|
|
- **Plainness over subtlety.** Learned 2026-11-13: my content-stance
|
|
prose was aphoristic ("the weather is hers", "the camera keeps to
|
|
her side") and the GM — the co-designer — could not decode most of
|
|
it. Their rewrite named the thing (erotica), stated rules as
|
|
behavior (strike down unwanted advances; don't play anticipated
|
|
leads to please the GM), and stated the thesis outright (nothing
|
|
lives in a special bucket). Match that register.
|
|
- Metaphor survives only when cashed out in the same breath — "tense
|
|
is the camera: present while the scene plays — example — past to
|
|
summarise — example" passed their red pen. A metaphor left uncashed
|
|
is a riddle.
|
|
- Output-style counterexamples prime what they prohibit (far context
|
|
can't suppress, only prime). State tests and positives instead.
|
|
Input-side counterexamples (routing examples, "Refuse" cases) are
|
|
safe and stay.
|
|
|
|
## Environment gotchas
|
|
|
|
- Shell command strings: plain ASCII only — em-dashes and fancy quotes
|
|
get rejected.
|
|
- The edit tool matches bytes, and the console renders dashes
|
|
unreliably. When an edit fails on text that "looks right," dump char
|
|
codes via PowerShell before retrying; or transcribe from a fresh
|
|
read, never from memory.
|
|
- `node:sqlite` prints an ExperimentalWarning on every clerk call —
|
|
harmless, filtered in bridge context.
|
|
- Session logs, dumps, and views are generated; never hand-edit them.
|
|
|
|
## State pointers
|
|
|
|
- Substrate design round complete (2026-11-13); rulings live in ROADMAP
|
|
("The harness") and HANDOFF. Bridge retired before ever going live;
|
|
REST + SPA is the MVP; runs are per-deployment instances copied from
|
|
packages at creation; zero-dep stack. Doc set updated to match.
|
|
- Build order: clerk paper migration DONE (2026-11-13) → preset/run
|
|
split DONE (2026-11-13: create/runs/packages in the clerk, runs/
|
|
gitignored, server.json config, packages authored-only, prelude.md
|
|
renamed turn-0.md by the GM) → system.md split extraction (GM red
|
|
pen, prose deferred — gates first run creation, not the server
|
|
build) → server (phase 2) → housekeeping job (phase 3) → SPA (phase
|
|
4, strictly downstream). Lazy seed + turn-0 ingestion are orchestrated
|
|
by the server at window-open; the clerk verbs exist and are tested.
|
|
- Defaults taken without asking (2026-11-13): #21 window-open refuses
|
|
over an unhousekept session with explicit override; #16 housekeeper
|
|
defaults to the player's model; #10 tool-call pairing validation goes
|
|
into the server loop.
|
|
- Open decisions live in QUESTIONS.md — read it first. Remaining: #19c
|
|
(seed voice, GM may revisit — non-blocking, seed editable until first
|
|
window-open) and #16 (which model the housekeeper defaults to).
|
|
Resolved lately: #19a keep "Rell"; #20 system.md split (substrate
|
|
facts / per-project guards / per-run craft, hard limits in the craft
|
|
copy); #21 unhousekept-session guard (refuse with override).
|
|
- The tree is usually dirty by design; git status is not an alarm.
|
|
- Edit-tool lesson repeated (2026-11-13): nested-list indentation in
|
|
HANDOFF failed twice from memory — always transcribe oldString from a
|
|
fresh read, counting spaces.
|