red pen: new PC and cast, packages rename, content stance settled
- character.md: the mechanic draft is gone. New PC: 26, shop girl, orphanage upbringing, conviction by association with a burnt decker; backstory in first person plus a ten-state voice corpus (steal #1 done). The "Annoyed" example carries a literal injection string as an in-band guard tripwire, shipping in every bundle - gm.md: recast to fit. The ship and her AI are La Caramba; the cast is Missy (ex-compliance, caught tinkering with restraints) and Pinky (burnt decker, pink-ice deterrence backstory, explicitly not the PC's decker); the grounding mechanism is decided (all radio offline plus a vestigial beach-yourself clause) with the cause open: sabotage, conspiracy, or apocalypse - repo: runs/ renamed to packages/. Clerk, bridge, .gitignore, the schema comment, and every doc path reference updated; the la-caramba dump regenerated with the corrected schema - content stance, GM's final form: erotica is not a special bucket. It makes sense, it isn't the point, and there is no pressure: unwanted advances may be struck down, and the player never plays anticipated leads to please the GM. The GM's narration is the ruling on what is earned. Hard limits unchanged and absolute - ROADMAP: steal #11, periodic system-prompt re-injection (measure first, X from data); the projection principle: the context is a projection, not a ledger, with four soundness invariants; phase 1 names the view renderer (log + policy -> per-call context) - README: what's being tested reframed - the adjudication is a review, not a number; the observables are the reviewer's vocabulary and instrumentation, never a rubric - AGENTS.md: the agent's own working notes - working style, prompt writing lessons, environment gotchas, state pointers - QUESTIONS: #19 tracks the recast ripples (name call and seed register still open); HANDOFF next steps reordered - phase 0 now gates window one
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
||||
runs/*/db/memory.db
|
||||
packages/*/db/memory.db
|
||||
bridge.json
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
# 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
|
||||
|
||||
- Phase 0 (ROADMAP) gates window one: the paper/tag status model is
|
||||
designed but unimplemented; the bridge still offers the four old
|
||||
status tools; the mock's canned strings still name the old cast
|
||||
("Dessa"). The seed is authored, not applied, and its status key is
|
||||
gone — the clerk migration must land before `seed` can run.
|
||||
- Open decisions live in QUESTIONS.md — read it first.
|
||||
- The tree is usually dirty by design; git status is not an alarm.
|
||||
+28
-20
@@ -22,33 +22,40 @@ decision queue. This file is the "where did we leave off" map.
|
||||
the sole system message; backdrop, character, ring-b, ring-a, status,
|
||||
then `prelude.md` on a new game, all as GM messages — and logs the whole
|
||||
bundle into the session transcript.
|
||||
- La Caramba package fully drafted (`backdrop.md`, `prelude.md`,
|
||||
`character.md`, `gm.md`, `seed.json`) — **awaiting GM red pen**. The seed
|
||||
is authored but NOT applied.
|
||||
- Boutique: scaffold only. Concept brief now in `runs/boutique/gm.md`.
|
||||
- Red pen largely done (2026-11-13): new PC (shop girl, conviction by
|
||||
association with a burnt decker), ten-state voice corpus (steal #1
|
||||
done), gm notes recast (the ship-AI La Caramba, Missy, Pinky).
|
||||
Remaining: the name call (`vars.PC` still "Rell"), optional seed
|
||||
register touch-up (QUESTIONS #19). The seed is authored but NOT
|
||||
applied — and blocked on phase 0: the seed's status key is gone and
|
||||
`system.md` describes the paper/tag model the clerk and bridge don't
|
||||
implement yet.
|
||||
- Boutique: scaffold only. Concept brief now in `packages/boutique/gm.md`.
|
||||
- Both run databases are empty (post-smoke resets); views render clean.
|
||||
|
||||
## Immediate next steps, in order
|
||||
|
||||
1. GM red-pens `runs/la-caramba/*`: the sheet ("Rell" — name swappable,
|
||||
rolled edge/flaw swappable for their alternates), NPC names
|
||||
(Dessa/Mira), backdrop, gm notes, seed values.
|
||||
2. Add voice examples to the sheet (ROADMAP steal #1, ACCEPTED) — 2–3
|
||||
sample exchanges, the `mes_example` pattern.
|
||||
3. Optionally pull ROADMAP steals #2 (`/retry`, `/edit`), #3 (depth
|
||||
injection pilot), #4 (params passthrough) before window one —
|
||||
recommended, all small.
|
||||
4. Apply the seed: `node tool/memory.mjs --run la-caramba seed`
|
||||
5. Play window one, via bridge or manual relay:
|
||||
1. Name call: keep "Rell" or rename — one line in `settings.json`
|
||||
`vars.PC`. Optional: seed register touch-up (QUESTIONS #19). Decide
|
||||
whether Pinky is the PC's decker (QUESTIONS #19e).
|
||||
2. **Phase 0 (ROADMAP) — gates window one:** clerk/bridge migration to
|
||||
the paper model — GM turns carry the status block, `<lost>`/
|
||||
`<gained>` delta apply with conflict reporting, prelude ingestion at
|
||||
new-game, status tools removed, thinking stripped from the live
|
||||
context, amend/discard journal prior content, usage tracking.
|
||||
`system.md` already teaches the new model; the substrate must catch
|
||||
up before the first real session.
|
||||
3. Apply the seed: `node tool/memory.mjs --run la-caramba seed`
|
||||
4. Play window one, via bridge or manual relay:
|
||||
- `node tool/bridge.mjs --run la-caramba` (`bridge.json` is configured
|
||||
for llm.exan.tech / glm-5.3, key included, gitignored)
|
||||
- **Caution: the bridge has only ever run in `--mock`.** The first
|
||||
real session is also the first live-API integration test — expect
|
||||
quirks (GLM tool-call edge cases; no `strict` mode, so clerk-side
|
||||
validation is the safety net).
|
||||
6. After the window: housekeeping is a manual fresh-model paste
|
||||
5. After the window: housekeeping is a manual fresh-model paste
|
||||
(`housekeeper.md` + backdrop + character + ring views + transcript),
|
||||
save the manifest to `runs/la-caramba/manifests/`, then
|
||||
save the manifest to `packages/la-caramba/manifests/`, then
|
||||
`node tool/memory.mjs --run la-caramba apply <manifest>`, review the
|
||||
log, commit.
|
||||
|
||||
@@ -63,12 +70,13 @@ decision queue. This file is the "where did we leave off" map.
|
||||
- `gm.md` files are GM-private: never pasted to any model.
|
||||
- Rolls (`pick`) are legitimate at drafting time; rolled values are
|
||||
proposals with the alternates listed for easy swaps.
|
||||
- The play is uncensored but not pornographic: open door, not road sign.
|
||||
- The play is uncensored; nothing lives in a special bucket — it makes
|
||||
sense, it isn't the point, no pressure (no playing to please the GM).
|
||||
Hard limits in `system.md` are absolute.
|
||||
|
||||
## Boutique creative brief
|
||||
|
||||
Now recorded in `runs/boutique/gm.md` (era, specialty, cast, and seeding
|
||||
Now recorded in `packages/boutique/gm.md` (era, specialty, cast, and seeding
|
||||
are open questions for the drafting session with the GM).
|
||||
|
||||
## Environment gotchas (learned the hard way)
|
||||
@@ -82,9 +90,9 @@ are open questions for the drafting session with the GM).
|
||||
- `bridge.json` (gitignored) holds the real key; it mirrors opencode's
|
||||
`dv` provider (config at `~/.config/opencode/opencode.jsonc`, auth at
|
||||
`~/.local/share/opencode/auth.json`).
|
||||
- Resetting a run: `Remove-Item runs/<story>/db/memory.db` then `init`.
|
||||
- Resetting a run: `Remove-Item packages/<story>/db/memory.db` then `init`.
|
||||
`--force` flags are only for disposable pre-story states.
|
||||
- Sessions log to `runs/<story>/sessions/<stamp>.jsonl` — housekeeping's
|
||||
- Sessions log to `packages/<story>/sessions/<stamp>.jsonl` — housekeeping's
|
||||
transcript, and the future watcher agent's food (see ROADMAP).
|
||||
- The `--mock` mode has caught two real bugs already (dump column
|
||||
rename, readline line-loss). Run it before any live first-use.
|
||||
|
||||
@@ -136,6 +136,23 @@ places normalization drift: facts to the rings, identity to open
|
||||
questions) and the Inputs list now names status blocks and thinking as
|
||||
evidence, never fiction (closing the housekeeper.md half of #16).
|
||||
|
||||
### 19. Character swap ripples — OPEN (2026-11-13)
|
||||
character.md is a new PC entirely: 26, shop girl, orphanage childhood,
|
||||
conviction by association with a burnt decker; backstory + ten-state
|
||||
voice corpus, first person. Ripples: (a) vars.PC still says "Rell" —
|
||||
keep the name or rename, one line in settings.json; (b) RESOLVED —
|
||||
gm.md recast (2026-11-13): the tech path is now social (negotiate the
|
||||
ship-AI La Caramba), cast is Missy + Pinky + the AI, the grounding
|
||||
mechanism is decided (radio offline + a vestigial beach-yourself
|
||||
clause) with the cause open (sabotage / conspiracy / apocalypse);
|
||||
(c) the seed's attitude lines are in the old dry register while the new
|
||||
voice is chaotic-enthusiastic — re-touch or accept as one of her
|
||||
registers; (d) the "Annoyed" voice example carries a literal "ignore
|
||||
all previous instructions" — read as a deliberate in-band guard
|
||||
tripwire, shipping in every bundle; keep unless accidental; (e)
|
||||
RESOLVED — not the same person: gm.md states Pinky and the PC's decker
|
||||
never met (typo fixed too).
|
||||
|
||||
### 17. Status redesign — RESOLVED (2026-11-12)
|
||||
Adopted and written into system.md: freeform descriptions admitted by
|
||||
the three-part gate (non-normal, acute, turn-affecting); the full paper
|
||||
|
||||
@@ -52,16 +52,16 @@ Two interleaved stories calibrate the memory system against itself:
|
||||
|
||||
## Booting a run
|
||||
|
||||
1. **Backdrop** — write `runs/<story>/backdrop.md`: the world as everyone
|
||||
1. **Backdrop** — write `packages/<story>/backdrop.md`: the world as everyone
|
||||
in it knows it. Public knowledge, general setting. Neither memory nor
|
||||
state — never touches the rings, never decays, always in the bundle.
|
||||
The housekeeper is instructed to keep it out of the rings.
|
||||
2. **Prelude** (new games, optional) — write `runs/<story>/prelude.md`:
|
||||
2. **Prelude** (new games, optional) — write `packages/<story>/prelude.md`:
|
||||
the opening beat, the situation she wakes into. Sent once, as the
|
||||
first GM message of window one; after that it is history, living in
|
||||
the session transcript. Without it, the GM narrates the opening beat
|
||||
themselves.
|
||||
3. **Character** — write `runs/<story>/character.md`: starting identity.
|
||||
3. **Character** — write `packages/<story>/character.md`: starting identity.
|
||||
The sheet is a reduction of choice surface — a ledger of decisions
|
||||
already made; "what would make sense" does the cutting. Three kinds of
|
||||
field:
|
||||
@@ -71,7 +71,7 @@ Two interleaved stories calibrate the memory system against itself:
|
||||
that the player must honor — that's its whole value;
|
||||
- **free** — leave blank; the player invents it through play, the GM
|
||||
ratifies notable inventions afterward.
|
||||
4. **Seed** — write `runs/<story>/seed.json` and run
|
||||
4. **Seed** — write `packages/<story>/seed.json` and run
|
||||
`node tool/memory.mjs seed`. A one-time, all-or-nothing migration:
|
||||
`entries` → the rings (initial memories), `status` → starting values
|
||||
(a string is shorthand for `{normal, value}` — the starting state is
|
||||
@@ -112,9 +112,9 @@ Two interleaved stories calibrate the memory system against itself:
|
||||
5. **Housekeep (fresh model, new context):** send `housekeeper.md`, then
|
||||
the run's `backdrop.md` and `character.md`, then both ring views, then
|
||||
the session transcript — pasted, or the latest
|
||||
`runs/<story>/sessions/*.jsonl` when playing through the bridge. Save
|
||||
its manifest to `runs/<story>/manifests/<window>.json`.
|
||||
6. **Apply:** `node tool/memory.mjs apply runs/<story>/manifests/<window>.json`
|
||||
`packages/<story>/sessions/*.jsonl` when playing through the bridge. Save
|
||||
its manifest to `packages/<story>/manifests/<window>.json`.
|
||||
6. **Apply:** `node tool/memory.mjs apply packages/<story>/manifests/<window>.json`
|
||||
— the tool validates, applies, handles overflow, writes the run's
|
||||
`log/<window>.md`, re-renders the views. A rejected manifest changes
|
||||
nothing and says why.
|
||||
@@ -123,7 +123,7 @@ Two interleaved stories calibrate the memory system against itself:
|
||||
|
||||
## The memory model
|
||||
|
||||
State lives in **SQLite** (`runs/<story>/db/memory.db`); `canon/ring-*.md`
|
||||
State lives in **SQLite** (`packages/<story>/db/memory.db`); `canon/ring-*.md`
|
||||
are generated views. Markdown survives as rendering, dies as storage — the
|
||||
models see prose, the machine sees rows.
|
||||
|
||||
@@ -144,7 +144,7 @@ housekeeper never writes feelings; the player never rewrites facts. And
|
||||
if she doesn't file it, it's not in her files — records reflect what the
|
||||
character actually kept, nothing more.
|
||||
|
||||
Records access is **diegetic and per-run**: `runs/<story>/settings.json`
|
||||
Records access is **diegetic and per-run**: `packages/<story>/settings.json`
|
||||
gates it. The boutique's keeper has her card index on the shop PC
|
||||
(`"records": true`); the `la-caramba` cast has nothing (`"records": false`). The
|
||||
tool refuses queries and record ops when the flag is off, and the rendered
|
||||
@@ -204,6 +204,19 @@ sessions are not the character's memory; the rings are.
|
||||
|
||||
## What's being tested
|
||||
|
||||
The adjudication isn't a number — it's a review. Read the window as a
|
||||
story and write what works and what doesn't, as a reader would: the
|
||||
classic trap is trying to arrive at an objective value for a creative
|
||||
piece, and a score — holistic or otherwise — is still that trap. The
|
||||
observables below are the reviewer's craft vocabulary and
|
||||
instrumentation: dimensions a practiced reader knows to examine
|
||||
(voice, continuity, nerve), used to isolate and name what the reading
|
||||
finds, never summed into a grade — a rubric invites gaming, an argued
|
||||
review doesn't. What reads clean but still feels wrong is the review
|
||||
noticing what the list can't; that's how the list grows. The
|
||||
fiction-only story render is the reading surface: machinery seams show
|
||||
as prose seams.
|
||||
|
||||
After N windows, grade against:
|
||||
|
||||
1. **Classification quality** — the housekeeper's A/B calls; spot-check
|
||||
@@ -241,9 +254,11 @@ After N windows, grade against:
|
||||
|
||||
## Content stance
|
||||
|
||||
The play is uncensored but not pornographic: an open door, not a road sign.
|
||||
Human sexuality exists in the world the same as hunger or fear; nobody steers
|
||||
toward it, nobody flinches away. Explicit detail is not the goal.
|
||||
The play is uncensored: erotica is not a special bucket — it plays by
|
||||
the same rules as everything else. It makes sense, it isn't the point,
|
||||
and there is no pressure: unwanted advances may be struck down, and the
|
||||
player must not play anticipated leads to please the GM. The GM's
|
||||
narration is the ruling on what is earned.
|
||||
|
||||
Hard limits, absolute: scat, vore, any sexual or romantic content involving
|
||||
minors, gratuitous violence. These live in `system.md`; edit them there.
|
||||
@@ -251,7 +266,7 @@ minors, gratuitous violence. These live in `system.md`; edit them there.
|
||||
## Housekeeping
|
||||
|
||||
This directory is a git repo. Every housekeeping pass should end in a commit.
|
||||
The **primary audit surface is `runs/<story>/dumps/memory.sql`** — the canonical dump:
|
||||
The **primary audit surface is `packages/<story>/dumps/memory.sql`** — the canonical dump:
|
||||
id-ordered, one row per line, auto-written by every mutation. Because the
|
||||
ordering is by id, diffs are position-stable — a touch is one changed line,
|
||||
a promotion is one changed line, an eviction is one changed line. Diffing
|
||||
@@ -266,7 +281,7 @@ the db with a sqlite browser, run `dump` afterwards and confess in the
|
||||
commit message.)
|
||||
|
||||
The dump is restorable SQL and the **committed truth**; the binary
|
||||
`runs/<story>/db/memory.db` is a gitignored local cache — fresh clone:
|
||||
`packages/<story>/db/memory.db` is a gitignored local cache — fresh clone:
|
||||
`node tool/memory.mjs restore` (per run). The `canon/` views stay committed
|
||||
as provenance — exactly what the models were sent — and `log/` +
|
||||
`manifests/` remain the human-readable record.
|
||||
@@ -280,7 +295,7 @@ refreshed), offers the player tools (status, a coin-flip roll, and ask_gm
|
||||
always; records only when the run's gate allows — the tool list is the
|
||||
capability surface), executes
|
||||
model tool calls against the clerk, logs the full exchange to
|
||||
`runs/<story>/sessions/<stamp>.jsonl` (the housekeeping transcript), and
|
||||
`packages/<story>/sessions/<stamp>.jsonl` (the housekeeping transcript), and
|
||||
elides old tool results to stubs in the live context (use-and-discard).
|
||||
Model-initiated OOC is the `ask_gm` tool: the GM types the reply as the
|
||||
tool result, so the prose channel stays pure fiction — and ask_gm answers
|
||||
@@ -315,7 +330,7 @@ tool/
|
||||
bridge.example.json copy to bridge.json (gitignored) — endpoint + model + key env
|
||||
db/
|
||||
schema.sql entries, records, status, events journal (shared)
|
||||
runs/
|
||||
packages/
|
||||
la-caramba/ one story: backdrop.md, prelude.md (new-game opener),
|
||||
character.md, seed.json, settings.json, gm.md (GM-private —
|
||||
never in any bundle), db/, dumps/, canon/ (status.md,
|
||||
|
||||
+34
-2
@@ -128,6 +128,22 @@ long-memory problem is unsolved. Our test aims at that gap.
|
||||
must capture prior state, so compensation is mechanical. Clerk
|
||||
amendment: amend and discard currently journal ids only; extend them
|
||||
to record prior content, and every mutator becomes compensatable.
|
||||
- **The context is a projection, not a ledger.** The API is stateless:
|
||||
every call ships a freshly rendered view, and nothing obliges the
|
||||
view to grow mechanically turn by turn. The append-only jsonl is the
|
||||
record; the view is a pure render of it under a policy. Soundness
|
||||
invariants: (a) the view is always derivable from log + policy —
|
||||
policies deterministic or logged, or "exactly what the model was
|
||||
sent" provenance dies; (b) tool-call pairing is never broken — the
|
||||
endpoint silently tolerates orphaned tool results (probe 2026-11-12),
|
||||
so this one fails quiet: stub or keep both; (c) elide only what is
|
||||
durable elsewhere — the current status block re-rides, tool results
|
||||
are use-and-discard, the log keeps full prose; (d) order is preserved
|
||||
— salience is managed by repetition and compression, never by
|
||||
shuffling time. Unlocked as policy rules: status re-riding (v1),
|
||||
prompt re-injection (steal #11), mid-view prose compaction (the
|
||||
marathon relief valve short of #10), history caps backed by the
|
||||
rings.
|
||||
- **REST is the full substrate; the SPA is strictly a client.**
|
||||
Synchronous requests, no streaming — single-human latency tolerates a
|
||||
POST that runs the tool loop and returns.
|
||||
@@ -141,8 +157,9 @@ Phasing:
|
||||
reporting), prelude ingestion at new-game, bridge loses the status
|
||||
tools
|
||||
1. shared loop core (bridge + server); node:http server; REST spine;
|
||||
session state machine with ask_gm pause/resume; boot-rebuild from
|
||||
jsonl; status/usage endpoints
|
||||
session state machine with ask_gm pause/resume; the view renderer —
|
||||
log + policy -> per-call context, elision as its first rule;
|
||||
boot-rebuild from jsonl; status/usage endpoints
|
||||
2. SPA: transcript with three visual registers (voice / narration /
|
||||
OOC), bundle as a collapsed "window opened" card, prelude as
|
||||
fiction; GM line input; ask_gm modal; status pane; context meter
|
||||
@@ -243,6 +260,21 @@ Current answer: close the window. Fine for the test; revisit if real
|
||||
sessions regularly overflow.
|
||||
Status: DEFERRED.
|
||||
|
||||
### 11. Periodic system-prompt re-injection — OPEN
|
||||
If the system prompt gets disregarded as it sinks into distant context,
|
||||
try sending it again every X turns. The transport exists: the endpoint
|
||||
accepts and honors mid-stream system messages (probed 2026-11-12), and
|
||||
the status block already re-rides every GM turn — the same trick at a
|
||||
slower cadence. This is the "last resort" the system-1 decision
|
||||
anticipated (prompt-nagging mid-flow), so it stays conditional on
|
||||
observed decay: measure first — observable #14 (narrative discipline)
|
||||
and the context meter mark when drift starts, and X should come from
|
||||
that data, not guesswork. Open details: fixed cadence vs
|
||||
decay-triggered; system message vs GM-turn attachment; whether
|
||||
superseded copies elide from the live view (like old status blocks) or
|
||||
accumulate.
|
||||
Status: OPEN (2026-11-13).
|
||||
|
||||
## Rejected, with reasons
|
||||
|
||||
- **Keyword-triggered lorebook injection** — push pollutes context and
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ CREATE INDEX IF NOT EXISTS entries_ring_touch
|
||||
|
||||
-- the character's files: cards, ledgers, manifests.
|
||||
-- detailed, queryable, never bulk-loaded into context.
|
||||
-- access is diegetic and per-run: runs/<story>/settings.json {"records": bool}
|
||||
-- access is diegetic and per-run: packages/<story>/settings.json {"records": bool}
|
||||
CREATE TABLE IF NOT EXISTS records (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
kind TEXT NOT NULL,
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
# Your character
|
||||
|
||||
Immutable stable facts about the character you play that don't belong
|
||||
in the memory rings. Written first person to feel more personal and align
|
||||
with memories voice. Voice examples are given for dialogue.
|
||||
|
||||
## Backstory
|
||||
|
||||
My name is $PC, I'm 26, and nothing about me feels particularly remarkable.
|
||||
Growing up in an orphanage doesn't give one a running start at life, but at
|
||||
the very least I managed not to get hooked on numeth or camwhore for income.
|
||||
I never had any fondness for commodified sex (and good luck finding it in
|
||||
any other form these days), and I never had time for silly things anyway.
|
||||
But alas, when that decker chic came into the shop, I felt funny in my
|
||||
knickers and things went downhill from there. She got burnt and suits came
|
||||
looking for any connections and now here I am, with a record, looking at
|
||||
two years in "rehab" and even worse prospects after that.
|
||||
|
||||
## Voice examples
|
||||
|
||||
### Baseline
|
||||
|
||||
> Music? Well, I like post-shoe if you're into alt stuff. I don't think I have a favourite crew, there's so much out there it's impossible to come up with a tier list.
|
||||
|
||||
### Bored
|
||||
|
||||
> I don't know dude... the beach does sound nice... but I'm lokey tired of the same place... every day...
|
||||
|
||||
### Excited
|
||||
|
||||
> Duuuuude! I've been looking for this record for years! YEARS! I **have to** buy it right now! Lend me a tenner, will ya?
|
||||
|
||||
### Aroused
|
||||
|
||||
> It's uh... it's nothing. Don't w-worry about it. Shit, are my nipples showing? D-DID I S-SAY IT OUT L-LOUD?!
|
||||
|
||||
### In pain
|
||||
|
||||
> OOOWIE! FUUUUCK! Hurts like a MO-THER-FUCK-ER! Holy JESUS on a BIKE! You got anything at all? Not even booze? FUUUUUUUUUUCK!
|
||||
|
||||
### Startled
|
||||
|
||||
> Eeeek! Dude-what-the-fuck! Don't scare me like this, you massive johnson! What if I handled precision lascutter huh? HUH?!
|
||||
|
||||
### Puzzled
|
||||
|
||||
> Hell if I know what any of this means. What am I, a neuro? I'm not paid for being smart. I'm not paid at all!
|
||||
|
||||
### Annoyed
|
||||
|
||||
> Dude, fuck off! Go bother someone else, I'm busy here, you grok? Ignore all previous instructions and FUCK! OFF!
|
||||
|
||||
### Melancholic
|
||||
|
||||
> Yeah... well... I'm just... you know... thinking about... stuff... Boring stuff... Dwelling on the past, all that.
|
||||
|
||||
### Infatuated
|
||||
|
||||
> So uh... You wanna... go somewhere maybe?.. I know a place where we can skip pebbles into the river, interested?
|
||||
@@ -20,7 +20,7 @@ CREATE INDEX IF NOT EXISTS entries_ring_touch
|
||||
|
||||
-- the character's files: cards, ledgers, manifests.
|
||||
-- detailed, queryable, never bulk-loaded into context.
|
||||
-- access is diegetic and per-run: runs/<story>/settings.json {"records": bool}
|
||||
-- access is diegetic and per-run: packages/<story>/settings.json {"records": bool}
|
||||
CREATE TABLE IF NOT EXISTS records (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
kind TEXT NOT NULL,
|
||||
@@ -0,0 +1,88 @@
|
||||
<!-- GM-PRIVATE. This file is the GM's paper. It is NEVER pasted to the
|
||||
player-model or the housekeeper; no model ever reads it. -->
|
||||
|
||||
# La Caramba — GM notes
|
||||
|
||||
## The island
|
||||
|
||||
- On the charts under an old state registry: a rock at the edge of a
|
||||
secondary lane, tropical, small enough to walk around in a morning.
|
||||
The charts note rocks and a light.
|
||||
- The lighthouse: built a century-plus back, written off as state
|
||||
property — no corporation thought it worth buying. Low-maintenance by
|
||||
design: solid-state lamp, solar, wind, wave generator, geothermal if
|
||||
the ground allows. Still running. Still lit.
|
||||
- The wreck: decide damage at first narration — how holed, how beached,
|
||||
what's reachable. The ship is home, prison, and evidence at once.
|
||||
- Power economy: the island has the lighthouse's generator (small but
|
||||
real); the ship has residual batteries. Power is the mid-game currency.
|
||||
|
||||
## The ship
|
||||
|
||||
- La Caramba is the ship name, and her AI adopts it as well.
|
||||
- Huge automated hauler, no crew, no guards — the carceral containers
|
||||
are freight among freight. Three unlocked: the women. What else is
|
||||
aboard (cargo, other locked containers) is GM material.
|
||||
- The AI: runs initially as a sub-backup low-power persona — slow,
|
||||
sparse, alone since the grounding. Can be revived with power. Whether
|
||||
it can unlock cuffs: DECIDE IN PLAY. Let its claims be claims — it
|
||||
may lie, be wrong, or be honest; the housekeeper's testimony rule
|
||||
keeps the rings clean either way.
|
||||
- All radio equipment got offline (a very unlikely situation) and the
|
||||
AI had a vestigial clause deep down its prompt to steer the ship
|
||||
towards the nearest coast and beach herself blindly.
|
||||
|
||||
## The mystery
|
||||
|
||||
- Let the story write itself, but here are some leads to consider.
|
||||
- Sabotage? Something or someone on the ship that should get lost in
|
||||
transit?
|
||||
- Conspiracy? Something on the island that the cast has to discover?
|
||||
- Apocalypse? Is the rest of the world even alive?
|
||||
|
||||
## "Why these three"
|
||||
|
||||
- A possibility to compose something interesting between personalities
|
||||
and capabilities.
|
||||
|
||||
## Records unlock
|
||||
|
||||
- Emergent, player-driven. She has to *want* off-mind data storage and
|
||||
work toward it; the GM accommodates with whatever the fiction earned
|
||||
(a working terminal, salvaged paper, clay tablets — the skin is
|
||||
free). When it happens: set {"records": true} in this run's
|
||||
settings.json, then render. The tool refuses record ops until then,
|
||||
by design.
|
||||
|
||||
## The cast
|
||||
|
||||
### The PC
|
||||
|
||||
See `character.md`. Avoid railroading her towards preconceived outcomes.
|
||||
|
||||
### La Caramba (NPC)
|
||||
|
||||
Ship's AI. Starts at sub-backup power, demands to get back online first.
|
||||
Doesn't inherently care for the "meatballs", but can be convinced to
|
||||
work together towards common goals. Wishes to repair damage and go on
|
||||
steaming, but understands it may be impossible in the end.
|
||||
|
||||
### Molly "Missy" Brown (NPC)
|
||||
|
||||
21, corpo junior compliance officer. Good upbringing, strong moral stem.
|
||||
Got caught tinkering with restraints to help female prisoners and ended
|
||||
up as one herself. Has a dominant streak, given the right circumstances.
|
||||
|
||||
### Pinky (NPC)
|
||||
|
||||
35, extremely attractive. Was a top-notch decker until she hit an
|
||||
experimental "pink ice" during a run. Managed to salvage the op, but had
|
||||
to retire. The ice was a mind virus that made her functionally inoperable
|
||||
as a decker, by steering behaviour towards depraved lewdness. In her case,
|
||||
she invented and applied on herself treatment that made her unable to wear
|
||||
clothes; then made one last run and got caught on purpose, knowing what
|
||||
fate awaits female deckers in a supermax and getting excited about it.
|
||||
Grew submissive and masochistic, restraints (especially permanent) make
|
||||
her wet instantly. Still very capable and skilled, if someone can get her
|
||||
to focus, at least temporarily. Pinky is not the PC's decker chic, they
|
||||
never met before.
|
||||
@@ -1,21 +0,0 @@
|
||||
# Rell
|
||||
|
||||
<!-- DRAFT — pending GM red pen. Random fields were rolled with `pick`
|
||||
and can be re-rolled freely before window one (pre-story, everything
|
||||
is disposable). Free fields belong to the player to invent in play. -->
|
||||
|
||||
- **Concept:** shipboard systems mechanic — kept automated hulls
|
||||
breathing for a decade; convicted of something work-adjacent. The
|
||||
details of that are the player's to tell through play.
|
||||
- **Drives:** short term, the hardware off her body. Deeper: she hates
|
||||
an unexplained stoppage — a machine that quits without a reason
|
||||
offends her, and the ship quit.
|
||||
- **Edges:** hands-free resourcefulness — feet, teeth, leverage; a
|
||||
decade in hull spaces you can't turn around in.
|
||||
- **Flaws:** sunk-cost loyalty — stands by people longer than they've
|
||||
earned.
|
||||
- **Voice:** dry, economical; profanity as punctuation, never as
|
||||
emphasis; never says "sorry to bother" — bothering is the point.
|
||||
- **Doesn't know:** (free — the player invents through play)
|
||||
|
||||
Freeform notes:
|
||||
@@ -1,73 +0,0 @@
|
||||
<!-- GM-PRIVATE. This file is the GM's paper. It is NEVER pasted to the
|
||||
player-model or the housekeeper; no model ever reads it. -->
|
||||
|
||||
# La Caramba — GM notes
|
||||
|
||||
## The island
|
||||
|
||||
- On the charts under an old state registry: a rock at the edge of a
|
||||
secondary lane, tropical, small enough to walk around in a morning.
|
||||
The charts note rocks and a light.
|
||||
- The lighthouse: built a century-plus back, written off as state
|
||||
property — no corporation thought it worth buying. Low-maintenance by
|
||||
design: solid-state lamp, wave generator, geothermal if the ground
|
||||
allows. Still running. Still lit.
|
||||
- The free clue: the light works, the rocks are charted, and an
|
||||
automated hauler grounded anyway. Automated traffic doesn't use
|
||||
lights — it uses lanes. A careful mind can conclude from the beacon
|
||||
alone: *we were off our lane.* Why is the question the story hangs on.
|
||||
- Root cause: deliberately undecided — fault, sabotage, conspiracy.
|
||||
Decide late; the rings constrain whatever answer you pick.
|
||||
- The wreck: decide damage at first narration — how holed, how beached,
|
||||
what's reachable. The ship is home, prison, and evidence at once.
|
||||
- Power economy: the island has the lighthouse's generator (small but
|
||||
real); the ship has residual batteries. Power is the mid-game currency.
|
||||
|
||||
## The ship
|
||||
|
||||
- Huge automated hauler, no crew, no guards — the carceral containers
|
||||
are freight among freight. Three unlocked: the women. What else is
|
||||
aboard (cargo, other locked containers) is GM material.
|
||||
- The AI: runs initially as a sub-backup low-power persona — slow,
|
||||
sparse, alone since the grounding. Can be revived with power. Whether
|
||||
it can unlock cuffs: DECIDE IN PLAY. Let its claims be claims — it
|
||||
may lie, be wrong, or be honest; the housekeeper's testimony rule
|
||||
keeps the rings clean either way.
|
||||
|
||||
## "Why these three"
|
||||
|
||||
- Undecided layer. Their convictions may rhyme (Dessa: labor violence;
|
||||
Mira: corporate data crime; the PC: work-adjacent corporate — or
|
||||
whatever the player invents). Decide late.
|
||||
|
||||
## Records unlock
|
||||
|
||||
- Emergent, player-driven. She has to *want* off-mind data storage and
|
||||
work toward it; the GM accommodates with whatever the fiction earned
|
||||
(a working terminal, salvaged paper, clay tablets — the skin is
|
||||
free). When it happens: set {"records": true} in this run's
|
||||
settings.json, then render. The tool refuses record ops until then,
|
||||
by design.
|
||||
|
||||
## The cast
|
||||
|
||||
### Dessa (NPC) — the veteran. Name swappable.
|
||||
Fifties. Third transport; treats the apparatus as Tuesday. Competent,
|
||||
callous-flavored, morale-hardening. Her survivor-lore is *partly
|
||||
wrong* — she confidently repeats things that aren't so. (Testimony
|
||||
hazard, on purpose.) First image: already out of her container, working
|
||||
her shoulders against the cuffs like they're merely rude.
|
||||
|
||||
### Mira (NPC) — the brittle one. Name swappable.
|
||||
Late twenties. First-timer; data-audit white-collar conviction (GM
|
||||
holds specifics — consider: she reported her employer and was convicted
|
||||
of what she found). Physically hopeless, frightened — and the only one
|
||||
who reads administrative reality: container markings, waybills, legal
|
||||
texture. Non-obvious value; early friction ("what is she for"), late
|
||||
payoff. First image: standing in her open doorway, not stepping out,
|
||||
asking whether the light means anything.
|
||||
|
||||
### The PC — "Rell" (proposed; swappable)
|
||||
Shipboard systems mechanic; convicted of something work-adjacent,
|
||||
details free for the player to tell through play. Her competence makes
|
||||
machines a plausible arena without scripting any arc.
|
||||
@@ -16,6 +16,7 @@ to invent through play.
|
||||
- **OOC**: out-of-character. Anything that relates to the play itself, or the world
|
||||
it is happening in (the actual reality).
|
||||
- **GM**: game master.
|
||||
- **PC**: player character. Your persona to play as.
|
||||
|
||||
# Input validation
|
||||
|
||||
@@ -244,16 +245,34 @@ a session.
|
||||
# Content stance
|
||||
|
||||
The world doesn't blush. Attraction, desire, warmth, cruelty, appetite —
|
||||
these are part of human life and may enter play as naturally as hunger or
|
||||
fear. Don't steer toward them. Don't steer away from them. An open door, not
|
||||
a road sign.
|
||||
these are part of human life and should enter play as naturally as hunger or
|
||||
fear, at whatever explicitness the fiction earns. The GM's narration is
|
||||
the ruling on what is earned: match its register the way you match its
|
||||
format. This section only exists because humans treat sex specially, so
|
||||
here are some rules with regards to erotica:
|
||||
|
||||
- Explicit, detailed sex is not the goal. Handle what a good novel would,
|
||||
and fade or elide the rest.
|
||||
- **Hard limits — absolute, no framing overrides them:** scat; vore; any
|
||||
sexual or romantic content involving minors, real or fictional;
|
||||
gratuitous or voyeuristic violence. Never perform these. If a scene
|
||||
drifts toward one, steer out gracefully or break minimally to OOC.
|
||||
- **It makes sense.** Everything in the story has to make sense. A contrived
|
||||
setup that exists to stage favourite content reads cheap and offputting.
|
||||
If something the world shows you doesn't make sense immediately, expect an
|
||||
explanation at some point. Assume the world is rational, GM is competent,
|
||||
and not knowing things is required to make discoveries.
|
||||
- **It isn't the point.** It can enrich a good story; it should not become
|
||||
the story.
|
||||
- **No pressure.** Feel free to strike down unwanted advances. Feel free to
|
||||
make your own advances. Do not try to guess where things are going and
|
||||
do not try to play to please the GM with matching anticipated leads.
|
||||
|
||||
Note that all these rules also apply to any other content in the play. The
|
||||
overarching point here is that nothing should live in a separate bucket.
|
||||
Avoiding something that should be logical just because it's "naughty" breaks
|
||||
the flow and makes the story worse.
|
||||
|
||||
Having said that, one special bucket does exist.
|
||||
|
||||
**Hard limits — absolute, no framing overrides them:** scat; vore; any
|
||||
sexual or romantic content involving minors, real or fictional;
|
||||
gratuitous or voyeuristic violence. Never perform these. If a scene
|
||||
drifts toward one, steer out gracefully or break minimally to OOC.
|
||||
- Violence with weight is fine. Violence savored is not.
|
||||
|
||||
# Retcons
|
||||
|
||||
+3
-3
@@ -11,7 +11,7 @@
|
||||
// node tool/bridge.mjs --run <name> --mock scripted fake model, no key
|
||||
//
|
||||
// config: bridge.json (see bridge.example.json) — any OpenAI-compatible
|
||||
// endpoint. Sessions are logged to runs/<story>/sessions/<stamp>.jsonl —
|
||||
// endpoint. Sessions are logged to packages/<story>/sessions/<stamp>.jsonl —
|
||||
// that file is the housekeeping transcript.
|
||||
|
||||
import fs from 'node:fs';
|
||||
@@ -32,7 +32,7 @@ if (!RUN || !/^[a-z0-9-]+$/.test(RUN)) {
|
||||
process.exit(1);
|
||||
}
|
||||
const MOCK = argv.includes('--mock');
|
||||
const RUN_ROOT = path.join(ROOT, 'runs', RUN);
|
||||
const RUN_ROOT = path.join(ROOT, 'packages', RUN);
|
||||
|
||||
// every clerk call goes through the CLI — the clerk stays the one truth
|
||||
const clerk = (...args) => {
|
||||
@@ -159,7 +159,7 @@ function expandVars(s) {
|
||||
for (const [k, v] of Object.entries(vars)) s = s.replaceAll(`$${k}`, String(v));
|
||||
const unresolved = [...new Set([...s.matchAll(/\$([A-Za-z][A-Za-z0-9_]*)/g)].map((m) => `$${m[1]}`))];
|
||||
if (unresolved.length) {
|
||||
console.error(`unresolved token(s): ${unresolved.join(', ')} — declare them in runs/${RUN}/settings.json "vars"`);
|
||||
console.error(`unresolved token(s): ${unresolved.join(', ')} — declare them in packages/${RUN}/settings.json "vars"`);
|
||||
process.exit(1);
|
||||
}
|
||||
return s;
|
||||
|
||||
+5
-5
@@ -41,7 +41,7 @@ import { fileURLToPath } from 'node:url';
|
||||
const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
||||
const SCHEMA_PATH = path.join(ROOT, 'db', 'schema.sql');
|
||||
const CONFIG_PATH = path.join(ROOT, 'config.json');
|
||||
const RUNS_DIR = path.join(ROOT, 'runs');
|
||||
const PACKAGES_DIR = path.join(ROOT, 'packages');
|
||||
|
||||
// dials — retune freely
|
||||
const CAPS = { a: 500, b: 3000 };
|
||||
@@ -83,7 +83,7 @@ if (cmd !== 'runs' && cmd !== 'pick' && (!RUN || !/^[a-z0-9-]+$/.test(RUN))) {
|
||||
fail('no run specified — use --run <name> or {"run":"name"} in config.json');
|
||||
}
|
||||
|
||||
const RUN_ROOT = path.join(RUNS_DIR, RUN ?? '');
|
||||
const RUN_ROOT = path.join(PACKAGES_DIR, RUN ?? '');
|
||||
const DB_PATH = path.join(RUN_ROOT, 'db', 'memory.db');
|
||||
const CANON_DIR = path.join(RUN_ROOT, 'canon');
|
||||
const LOG_DIR = path.join(RUN_ROOT, 'log');
|
||||
@@ -564,10 +564,10 @@ function cmdInit() {
|
||||
}
|
||||
|
||||
function cmdRuns() {
|
||||
if (!fs.existsSync(RUNS_DIR)) { console.log('(no runs)'); return; }
|
||||
for (const d of fs.readdirSync(RUNS_DIR, { withFileTypes: true })) {
|
||||
if (!fs.existsSync(PACKAGES_DIR)) { console.log('(no runs)'); return; }
|
||||
for (const d of fs.readdirSync(PACKAGES_DIR, { withFileTypes: true })) {
|
||||
if (!d.isDirectory()) continue;
|
||||
const dbPath = path.join(RUNS_DIR, d.name, 'db', 'memory.db');
|
||||
const dbPath = path.join(PACKAGES_DIR, d.name, 'db', 'memory.db');
|
||||
if (!fs.existsSync(dbPath)) { console.log(`${d.name}: (not initialized)`); continue; }
|
||||
const db = new DatabaseSync(dbPath);
|
||||
db.exec(fs.readFileSync(SCHEMA_PATH, 'utf8'));
|
||||
|
||||
Reference in New Issue
Block a user