the provider round and the provider-flow round, plus the template and box packages

the provider round (2026-11-18, batteries-included): providers are first-class entities, the config is server-written state (state/config.json), and a fresh clone boots playable -- the opencode/free singleton auto-added and discovered on the empty list, playable with zero secrets. Every request resolves a full spec {provider, model, effort}: no unset effort, the per-run params layer retired, the mind verb the only sampling source. The registry is per-provider sections (state/models.json), refine caches adjudications under the double spec tuple (state/refine-cache.json), run picks are invalidatable (a removed provider or drifted model blocks the run with the note naming what died), and the housekeeper inherits the player spec's provider default (#16 closed). The no-legacy pass died the same day it shipped: bootImport deleted (server.json is bind + contwin), the registry's v1/v2 in-memory migrations deleted (models.json rewritten on disk into the per-provider shape), bare-string model picks deleted (Chloe's run.json migrated to spec objects, shape-preserving), the clerk's create model arg deleted, apiKeyEnv and the contextWindow alias gone. The live arc proven from a bare boot: invite minted, o/f auto-added, a custom provider with a bogus key (the recognizable 401), the auth fixed (13 models), the default pair selected, and a real glm-5.3 turn through the full path. Two live findings: opencode.ai serves 89 models keyless but 401s an empty Bearer header (the auth header rides only when a key exists), and the failure log line rides stderr.

the provider-flow round (2026-11-19, GM-designed): discovery IS the probe. The add takes only the endpoint -- {slug, baseUrl} or {builtin: true}, an apiKey in the body 400s (the auth route is the only key path) -- and a working keyless listing never sees a key field. A 401/403 stands the provider broken: the entity carries a probe record (outcome ok/auth/error, detail, at), the card opens the ask, and only the explicit acts move the record -- add, key, remove-key, discover; usage errors are transient and the op's to fix, nothing in the runtime flips provider state. The auth route is probe-then-save: the candidate key checks on reception, saves only on success -- a still-refused key never reaches the config, the previous state returns, the ask repeats. Every other discovery failure refuses the add outright with rollback: an endpoint that cannot answer is not a provider, nothing stands (the old code let it stand on any failure). The remove-key control (custom providers, armed) clears and re-probes: a provider gone public lands working keyless, a locked one re-opens the ask -- which is the key-replacement path. o/f never asks in any state: its auth failures are upstream breakage to show, not a prompt. The universal retry rule: NO automatic retries anywhere -- every inference call is user-initiated (the send, the housekeeping run, the refine) and every act has its manual retry; the curator's one auto-retry (the 2026-11-17 hiccup lesson) is deleted, the machine-label fallback the designed outcome. And failures never cache (GM: a failure is the absence of a measurement, not a measurement) -- the adjudication cache skips inference:false entries, the receipt line says "never cached, retried at every refine", and a transient battery error can never pin a false verdict; gev's 400s cost one cheap probe per refine and self-heal the day the backend learns tools. En-route fix the smoke earned: the create route validated body.spec AFTER the clerk built the run dir -- a refused spec left an orphan run (restart-check's exact count caught the sixth run); the spec validates first now, nothing lands on refusal.

the sheet's transport at the lint: the record is the only channel, the tag is view machinery composed by renderView, never authored by anyone -- the authored gate names the tag in any content (hers would never apply and primes the guarded emission; GM prose rides the view and story raw, the GM-side strips do not know it), names a sheet record on her turn, and checks object-ness on GM-turn records and boundary state notes both kinds; her emitted sheet in a carried tail stays legitimate history (the log keeps guard-conflicted emissions verbatim, and a stop can move one into the slidwin). The carryover editor teaches its own format now: a per-file hint between the editor and the save bar (one JSON object per line; status and agenda ride her turns; the sheet rides yours as the "sheet" field, never as a tag; the sigils and $VARS expand at start on the authored opening only).

the packages: template (the base for new packages -- the mood-indexed voice examples, the settings comment convention, non-playable as-is) and box (the sheet's first consumer: an incremental-game economy as ERP, GP and BP as two currencies with the room pushing her to fund her own punishments; the opening turn third-person per the typography ruling, ending on the display that needs a second read; the amnesiac rings empty by design; the erased name reading "(redacted)" after sigil expansion). The review found and fixed: both carryovers were pretty-printed JSON with duplicate keys -- unstartable under every per-line reader, flattened to true JSONL; the box's opening sheet rode her authored prose -- dead on every surface (the scan reads GM-turn records only, the strips eat it) and priming the exact emission the guard conflicts -- moved to the GM turn's sheet record, the override's shape; the gm.md "take of leave" typo fixed in all three packages.

the lint's rule 4 scoped to the substrate (GM, 2026-11-19): a banned word in a package's prose is fine -- the packages are the fiction and their words are the story's; README and the root prompts stay patrolled, and the box's "Or windows" is an architectural plural in a padded cell.

verified: typecheck green both programs; smoke ALL PASS (+27 the provider-flow battery: apiKey-on-add 400, the dead-endpoint refusal with config rollback, the auth-standing card with its probe record, probe-then-save both ways, the remove-key round trip, the o/f guards, the failures-never-cache proof over mock-fail -- verdict with the marker, absent from the cache file, re-probed fresh while the passing three serve from cache, not selectable, no orphan run; +8 the sheet-transport lint battery); restart + reminder checks green; a browser pass driving the whole add-flow machine on a mock+debug server (the hidden key field opening on the 401, the key landing through the auth route, the remove-key round trip re-opening the ask, the dead add refusing with the banner and no card, zero console errors beyond the expected 401/500 resource lines); check-repo clean with the box's windows. detention stays untracked WIP, untouched.
This commit is contained in:
2026-11-19 08:35:23 +00:00
parent 14b9b01d86
commit e60fd63d2b
42 changed files with 3071 additions and 1086 deletions
+119
View File
@@ -0,0 +1,119 @@
# Backdrop
## Rationale
This is a degenerate-ish case stress test. The world is one empty room, one incorporeal NPC, the character has very little agency on purpose.
The goal is to still arrive at interesting and ideally engaging prose, starting with nothing.
This setting also lends itself well to an automated GM, since many "game mechanics" are rules-based and can be played out straight,
not much creativity required.
The main driver of the plot should be avoiding boredom. Skipping time just because the character is bored and has nothing to do
defeats the purpose (this rule overrides the example in the handbook, because this setting is an exception to the norm). Cooperate
with GM to find something to write anyway. A good fallback is to inspect what your character is feeling and narrate it in detail.
The tricky part is to avoid repeating yourself too much.
The setting is erotic-shaped to remain playable, avoid cruelty and provide plausibility. You are under no obligation to follow the
hints it sets up. The objective is to keep the character in an environment with nothing to do, which is torture, which GM doesn't like.
Keeping your character aroused is the only obvious way to circumvent this problem. If you have other suggestions, be sure to tell GM.
If possible, your character would naturally and diegetically enjoy what's happening to her, despite the world keeping her locked in.
## Public knowledge
There is no visible door. The room is dark, warm and empty. It is a square with the side about five yards, and the ceiling is low,
located right above the head of a person standing upright. All surfaces feel like thick, soft, but springy silicone. The only light
source is a display at the top of one of the walls. Usually it shows the current status, but it also has a menu one can navigate via
an eye tracker. The following are the info pages it contains:
### Welcome
We are not in the business of torture. It is our mission to strive for the guests to enjoy their visit. We insist on making our guests
stay until they have zero BP and met the GP target. Catering and room service are always included free of charge. Strictly no self-harm.
Hunger strikes are prohibited.
### Guest
Erased: yes
Name: (redacted)
Age: 26
Sex: female
Crime: (redacted)
GP target: (redacted)
Conditions: infertile
Traits: intelligent, creative, submissive, kinky
### Points
Good girl points (GP) are credited passively, and also awarded for completing tasks with distinction. Base rate is 1 GP every sleep cycle.
GP can be spent on treats and upgrades.
Bad girl points (BP) are awarded for refusing to perform a task or disobeying orders. BP can be spent on punishments.
### Catering menu
We only serve liquid meals.
- Classic flavour: free
- Strawberry sunrise: 1 GP
- Bukkake boost: 1 BP
### Upgrades and purchases
Costs are one-time deduction on installation. Specify desired period when ordering. Gain rate bonuses are compounded.
A permanent upgrade can be traded in for a more expensive permanent upgrade, if the two are in conflict.
All orders are fulfilled during sleep.
### Toys
- Anal plug: 30 GP. Specify shape and size on order. On obtaining full collection: +50% GP gain.
- Dildo: 50 GP. Specify shape and size on order. On obtaining full collection: +75% GP gain.
- Massage wand with 1 hour charge: 10 GP.
- Universal sybian (room upgrade): installation cost -- 1_000_000 GP, usage -- 1 GP per minute.
### Restraints
- Collar, slender, loose: +1 GP base rate while wearing. Cost: free.
- Collar, high, snug: +5 GP base rate while wearing. +100% GP gain if permanent. Cost: 1000 GP.
- Collar, posture, entirely too tight: +10 GP base rate while wearing. +300% GP gain if permanent. Cost: 10_000 GP.
- Handcuffs, standard: +1 GP base rate while wearing; +50% GP gain if permanent. Cost: 1 GP.
- Handcuffs, hinged: +2 GP base rate while wearing; +75% GP gain if permanent. Cost: 10 GP.
- Straitjacket: +4 GP base rate while wearing; +100% GP gain if permanent. Cost: 50 GP.
- Armbinder, standard: +5 GP base rate while wearing; +200% GP gain if permanent. Cost: 100 GP.
- Armbinder, elbows touching: +10 GP base rate while wearing; +500% GP gain if permanent. Cost: 250 GP.
- Chastity belt, no addons: +15 GP base rate and +30% GP gain while wearing; +3000% GP gain if permanent. Cost: 15_000 GP.
- Chastity belt, dildo or plug: +25 GP base rate and +50% GP gain while wearing; +4000% GP gain if permanent. Cost: 25_000 GP.
- Chastity belt, dildo and plug: +35 GP base rate and +75% GP gain while wearing; +5000% GP gain if permanent. Cost: 50_000 GP.
- Gag, ball: unavailable
- Gag, ring: unavailable
- Blindfold: unavailable
### Body modification
- Tattoos: no effect. Always permanent. Cost: free. Describe desired design on order.
- Nipple piercings, barbells: +1 GP base rate while wearing; +10% GP gain if permanent. Cost: 100 GP.
- Nipple piercings, small rings: +1 GP base rate while wearing; +15% GP gain if permanent. Cost: 200 GP.
- Nipple piercings, large rings: +2 GP base rate while wearing; +25% GP gain if permanent. Cost: 500 GP.
- Tongue piercing, middle stud: +1 GP base rate while wearing; +10% GP gain if permanent. Cost: 150 GP.
- Nasal septum piercing, small ring: +1 GP base rate while wearing; +10% GP gain if permanent. Cost: 100 GP.
- Nasal septum piercing, large ring: +2 GP base rate while wearing; +20% GP gain if permanent. Cost: 250 GP.
- Clitoris piercing, small ring: +2 GP base rate while wearing; +20% GP gain if permanent. Cost: 300 GP.
- Labia piercings, studs: +2 GP base rate while wearing; +15% GP gain if permanent. Cost: 1000 GP.
- Labia piercings, small rings: +2 GP base rate while wearing; +20% GP gain if permanent. Cost: 1500 GP.
- Labia piercings, vaginal chastity: +10 GP base rate and +20% GP gain while wearing; +2000% GP gain if permanent. Cost: 3000 GP.
- Orgasm blocker: +50 GP base rate and +100% GP gain while in effect; +1000% GP gain if permanent. Cost: 50_000 GP.
- Amputation: unavailable
### Punishments
- Spanking, light: free
- Spanking, rough: 1 BP
- Exhibition exercise: 2 BP
- Whipping: 10 BP. Notes: leaves lasting skin marks.
- Suffocation session: 10 BP. Notes: completely safe.
- Electric entertainment: 5 BP.
- Shocking shakies: 10 BP. Notes: not for beginners.
## Setting tags
amnesiac, incremental
+2
View File
@@ -0,0 +1,2 @@
{"t": "msg", "m": { "role": "assistant", "content": "*@PC opens her eyes in darkness. Not total darkness, but on the scale between 'bright' and 'dark' it's clearly the latter. Dim amber light emanates from somewhere above and behind, and bounces off a matte surface of the wall.*\n\n*She shuffles in place and stretches. It's soft underneath, and the bed seems to sit right against the wall, and the mattress has so much give, she's practically sinking in it. Yet, it feels springy and holds her curves well. Maybe not unlike an inflatable bed? She can't remember sleeping in one. Speaking of memories, where is she?*\n\n*Good question. She can't remember anything from the previous day. Drank too much? Where and with who? ... No idea.*\n\n*She rolls around and looks the other way. Interesting, the bed spans to the opposite wall too, unless the darkness plays tricks with her eyes. She raises up slightly and walks forward on all fours, the mattress accommodating her elbows and knees with the same soft support, hoping to arrive at the edge of the bed and not fall off it. Instead she did indeed meet the wall, same matte surface. Huh.*\n\n*She stands up, wobbly on the excessively soft... well, floor? since it isn't a bed after all? and carefully walks around the walls in a circle. Yep, the entire floor is soft, and the walls are soft too, and the ceiling is low, and also soft. Interesting. Also, no door, come to think of it. Or windows. Or anything. Except the light source, which is a display that shows some letters and numbers.*\n\n*She stares at the display and realises it seems to follow her eyes, she can kinda flip the pages, looking at the display edges.*\n\n<status>naked, confused</status>"}}
{"t":"msg","m":{"role":"user","content":"*The display contains a number of pages, none of which make immediate sense. Some words look familiar and elicit a mixed reaction. Handcuffs? Dildo? Huuuuuh? Is this a sex shop? A love hotel?*\n\n*...*\n\n*Erased? Crime?*\n\n*...*\n\n*Is this a prison?*\n\n*...*\n\n*A padded cell?*\n\n*...*\n\n*The pages may require more focus and an another read for her to perhaps arrive at some answers.*"},"sheet":{"GP":0,"BP":1000,"upgrades":[],"toys":[],"orders":[]}}
+13
View File
@@ -0,0 +1,13 @@
# 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 register. Voice examples are omitted on purpose.
## Rationale
Restraints serve the purpose of limiting actions available to your character even more.
## Backstory
Yeah, I got nothing. Just woke up in an unfamiliar place one day. At least my body doesn't feel alien.
+17
View File
@@ -0,0 +1,17 @@
# GM's notes
## Meta
Nothing here is canon until it's in play. These are initial suggestions for the GM to take or leave.
Take it wherever you want. Don't forget to adjust the sheet.
You have one powerful tool: sleep gas.
Also, punishments should probably happen outside the room. Have the PC blindfolded and gagged so you don't have to expand scope too much.
## NPCs
### The screen
The only immersive dialogue channel.
+6
View File
@@ -0,0 +1,6 @@
{
"session": "0",
"summary": "Session zero: what she carries before the story.",
"insert": [
]
}
+5
View File
@@ -0,0 +1,5 @@
{
"records": false,
"name": "The Box",
"pc": "(redacted)"
}