Janitor
Home
Ctrl K
LoginRegister

Crash T. Dummy | JAICE Test Subject

Crash T. Dummy | JAICE Test Subject

8

41

by:@Myrakiel
HARBOR TEST ANNEX / FIELD MANUAL 001

CRASH LAB

Roleplay Script Testing Facility

Build. Experiment. Break. Learn.

04

Advanced engines

05

Lightweight scripts

25

Lorebook entries

9 executable templates • 1 contextual reference • 1 gloriously replaceable test dummy

FOREWORD /Author's Notes
 

Hey everyone!

Yes, I know, you're waiting for me to republish my bots. It's taking a while. Sorry, not sorry — trust me, it's just as frustrating for me as it is for you.

Anyway, moving on!

I've been working on a suite of tools designed to help create, review, optimize, and properly format bots, scripts, lorebooks, and other roleplay-related content across multiple platforms. It's inspired by Desloppify and built upon a collection of code, documentation, guides, and resources I've gathered here and there, alongside my own work.

I'm making the entire suite available here:

Explore the tool suite — Google Drive

The JanitorAI version should already be operational. However, the entire suite remains a work in progress, so expect changes, improvements, and occasionally things being torn apart and rebuilt because I found a better way of doing them.

These tools help me ensure that my bots, scripts, and lorebooks are properly formatted, internally consistent, free from unnecessary information duplication, and less prone to narrative contradictions, conflicting instructions, and other forms of AI nonsense.

Rather than simply telling you about it, I thought I'd share something practical: a test bot I threw together VERY quickly using these tools, along with the generic script templates I'll be using as foundations for my future creations.

Below, you'll find explanations of varying levels of detail covering their purpose, mechanics, configuration, limitations, and potential applications.

These templates are meant to be building blocks, not rigid frameworks. Feel free to reuse, modify, combine, expand, or dissect them for your own projects. Experiment with them, break them, improve them, and, most importantly, have fun!

Best regards,

Myrakiel

CTD-001TEST SUBJECT
TEST SUBJECT / CTD-001

Meet Crash T. Dummy

Professional impact enthusiast. Amateur paperwork victim.

Crash is a talkative, fictional crash-test mannequin stationed at the Harbor Test Annex. The bench is idle, the clipboard is blank, and his promotion is still pending. Test a feature, investigate a missing object, challenge his memory or just chat. Participation is optional and your identity and actions are yours.

AnyPOVLimitedComedyRobot

Contains light mechanical mishaps and harmless fictional test situations. No graphic violence or required hazardous activity.

00 /HOW THIS LAB WORKS

Each resource contains a working example or an editable preset rather than an empty shell. The harbor setting is demonstration data, not a requirement for using the templates in your own worlds.

Start with one resource attached to a fresh chat. Compare its behavior with the script-free baseline. Basic scripts demonstrate a single mechanism; advanced engines combine multiple mechanisms, explicit state commands and bounded context retrieval. A plausible reply alone is not proof that a script ran.

Advanced engine architecture

Each engine reads the sandbox context, starts from a private scenario snapshot, processes available messages and its own previous state, produces contextual guidance, and commits a compact JSON capsule only after checks succeed. The capsule carries a version, message count, input fingerprint, body, guidance and a checksum. The checksum detects accidental inconsistency; it is not encryption or authentication.

Each engine owns a separate capsule. Some modules can read compatible state from other engines, but none needs a separate file, network request, global store or external package. Rewind and edited-turn handling attempt to rebuild the owning engine’s state from accessible history. History availability and scenario persistence are platform-dependent.

The author preset is the editable configuration near the top of each file. The built-in commands are part of the engine, whereas the optional author command list starts empty. A custom command can return state and a hint; the extension accepts up to 16 definitions, with a returned state limited to 500 serialized characters and 12 keys. It does not imply a completed fictional action.

01 /ADVANCED ENGINES
RESOURCE 01.01 / ENGINE

UMWC

World context, facts and continuity

Self-contained world-context and continuity engine with an editable Harbor District preset: locations, lore triggers, evidence, records, public and private knowledge, events and bounded scenario memory. Distinguishes confirmed facts, beliefs and rumors; preserves uncertainty and player agency. Includes independent scenario capsules and history-based recovery where available. Adapt or disable the author preset. Persistence and history depend on JanitorAI.

01 — World profile and contextual lore

AUTHOR_WORLD contains a profile, baseline, 18 lore entries and 10 place records. The profile establishes the example genre, scale, technology, magic and law. Each lore item has an ID, title, keyword array, priority and content; place aliases normalize mentions to a stable location ID.

Keyword matches in the latest message receive a stronger score than matches in the previous bot reply. An established scene can contribute weaker context. Lore is selected by relevance rather than permanently inserting the entire harbor database. Merely asking about the archive does not move the player there.

02 — Memory, continuity and evidence

Separate modules retain explicit notes, episodes, typed facts, evidence records, named knowledge and world continuity. A claim can be a belief, rumor, hypothesis or confirmed event rather than a universal fact. Records carry identifiers, source and status; corrections and deletions are tracked separately. Direct user statements are handled conservatively, with quotation, hypothetical and negation checks.

The continuity journal handles positions, object custody, injuries or conditions, promises, events and the world clock. An explicit command may register a state change; ordinary natural-language intent is not automatically a completed action. The journal includes undo support and can reopen unresolved narrative threads.

03 — Knowledge and secrets

The knowledge ledger assigns records to individual knowers with a stance such as knows, believes, suspects, heard, rumor, lie or secret. Explicit sharing copies an existing record to another knower according to the handler. Retrieval excludes private records from general reminders and scopes character knowledge to the bot or known present cast. This is narrative guidance, not a security boundary.

04 — Retrieval and storage

The engine ranks candidate evidence, notes, continuity and knowledge by topical overlap, reliability, unresolved status, priority and recency. Up to six distinct candidates feed a reminder with a local 800-character ceiling. The final capsule has a 3,350-character serialized target; it may discard lower-priority records or shorten derived hints to fit. Pins and memory tiers help preserve important items, but cannot create unlimited storage.

TEST CONSOLE / CHAT INPUT

/remember clue.clock: The clock stopped at noon

Record an explicit memory using a category and optional topic. This is a declared note, not proof of cause.

/track item red_ball | bench -> box

Register an explicit custody/location change; ask about the ball after another turn.

/track time day 1 12:00

Set an explicit fictional clock; do not infer real-world time.

/knowledge set mira | report | secret | Maintenance notes are incomplete

Create a named knowledge record; ask Crash about it without sharing it.

/knowledge tell mira -> crash | report

Request an explicit knowledge transfer; compare the response before and after.

/truth rumor rowan | outage | A faulty cable caused the blackout

Register an attributed rumor, not an established cause.

/thread open missing_report | Locate the maintenance report

Track an unresolved narrative thread.

/thread resolve missing_report | Report located

Resolve the thread explicitly; this is not a request for automatic discovery.

AUTHOR_WORLD / editable lore entry — excerpt

// Example of a keyword-selected reference

{id:"test_log", title:"Test records",

keys:["test log","blue clipboard","trial record"],

priority:8,

content:"The public clipboard records observed test results. A separate sealed maintenance report is not public; do not reveal its contents without established access."}

What it cannot guarantee

This is a bounded continuity and context system, not an omniscient world database. It cannot guarantee the model will obey knowledge boundaries, infer every event correctly, or preserve all notes across chats. Explicit record commands are best used for controlled tests. Avoid running the lightweight Memory script alongside this engine when using overlapping /remember or /forget commands.

TRY IT: Ask about the blue clipboard, then move the ball into the box and later ask where it is. Ask what the sealed report says. The reply should preserve established facts, acknowledge uncertainty and avoid inventing access.

CUSTOMIZE: Edit AUTHOR_WORLD: profile, baseline, lore and places. Remove the demo locations and use canonical IDs and narrow keys. The state capsule is separate from semantic prose; history and persistence are platform-dependent.

RESOURCE 01.02 / ENGINE

LCSE

Characters, relationships and communication

Self-contained character and social engine with six sample NPCs, distinct voices, goals, reactions and communication rules. Supports independent participation, relationships, boundaries, knowledge, social context and evidence-based progression without forced trust or consent. Editable author tables illustrate cooperation, disagreement, negotiation, refusal and language limits. Uses its own bounded scenario state; does not replace a character’s native Personality field.

01 — The authored cast

AUTHOR_SOCIAL defines six example speakers: Crash, Mira the archivist, Rowan the repair artisan, Elin the harbor officer, Tess the vendor and Samir the clinician. Speaker entries specify role, species, register, literacy and notes; reactions and goals are separate tables. Replace these with your actual NPCs rather than adding every example NPC to unrelated scenes.

02 — Presence, voice and communication

The engine distinguishes known cast from present, absent and active speakers. It can track explicit entries and exits, roles, agendas, gestures, literacy and register. It supplies guidance on individual voice and communication limits; a named actor is not automatically within earshot. A language or writing ability cannot be inferred merely from a character’s species.

03 — Psychology, relationships and agendas

Independent state tracks emotions, goals, knowledge and directional relationship edges. Explicit social events, emotion intensity, relationship axes and repair events provide inputs to bounded state updates. Character psychology records duties, beliefs, coping and masks. Agenda entries can have priorities, obstacles, tags and statuses; a goal is not a fulfilled outcome.

Reactions are advisory: a refusal may end a proposed test, a reasoned challenge may prompt checking evidence, and a compliment need not create trust or attraction. The engine is intended to support distinct speakers, not force every known NPC to talk or manufacture consent.

04 — State and author customization

Use the authored speaker IDs consistently across reactions, goals and commands. The final capsule targets 1,700 serialized characters, so only a limited subset of social records survives compaction. Relationship axes, active agendas and recent cues are not a complete psychological history.

TEST CONSOLE / CHAT INPUT

/cast present: crash, mira

Declare present actors for a controlled scene.

/cast exit mira

Remove Mira from the active scene; ask Crash a question and check she does not answer from offscreen.

/social emotion crash | frustration | 2 | paperwork

Register an explicit emotion intensity on a 0–5 scale.

/social goal crash | 3 | Complete the test record

Set an explicit goal and priority (1–5).

/agenda goal mira | find_report | 4 | Locate the maintenance report

Set a named objective; the engine does not perform it.

/agenda status mira | find_report | paused

Change the objective status.

/cast register mira: scholar

Set an explicit speech register.

/bond boundary crash -> mira | No unauthorized tests

Record a directional boundary.

AUTHOR_SOCIAL / speaker example — excerpt

// A profile is not a declaration of presence.

{id:"mira", role:"Archivist", species:"human",

register:"neutral_formal", literacy:"literate",

notes:"Adult; precise, skeptical, asks for evidence; dry humor."}

What it cannot guarantee

The social rules are heuristic and semantic, not a psychological simulation of real people. A character may still behave inconsistently if the LLM ignores the guidance. Do not treat relationship numbers as consent. Keep shared factual knowledge and social knowledge ownership clear when combining engines.

TRY IT: Greet Crash, challenge a claim, then refuse a proposed test. Try asking Rowan a question when he is absent. Expect separate voices, boundaries and knowledge; no compulsory agreement or sudden friendship.

CUSTOMIZE: Edit AUTHOR_SOCIAL: speakers, reactions, goals and language notes. Add only real actors in your setting. A configured speaker is not automatically present. Reaction tables provide guidance, not deterministic psychology.

RESOURCE 01.03 / ENGINE

RINE

Narrative integrity and scene direction

Self-contained narrative engine with editable prose conventions and twelve example consistency checks. Supports character voice, pacing, coherent consequences, player agency and continuity; flags potential unsupported knowledge, instant recovery, forced choices, unearned access and implausible resolutions. Contextual guidance helps the narrator notice problems, but is not a guaranteed semantic judge and cannot rewrite past messages. Adapt the checks to your setting.

01 — Prose conventions

AUTHOR_NARRATIVE includes switches for Markdown and archaic register, a speech note, and twelve authored regular-expression checks. The default conventions request quoted dialogue, italic narration, clear speaker attribution and no invented player reactions. Change these to match the writing style of the target roleplay.

02 — Detecting possible inconsistencies

Style integrity, narrative continuity, validation and quality modules inspect accessible text for recurring prose patterns and possible problems. Checks cover unearned knowledge, unsupported resolutions, access or resources, unexplained teleportation or healing, forced choices, omniscience, instantaneous bonds, unsupported causation, unjustified time skips and forced quests. A regex is a signal to review context, not a semantic verdict.

The engine uses recent assistant messages, strips some dialogue and formatting surfaces in selected checks, and records findings so that guidance can target the next response. It cannot retroactively rewrite a reply. The scene lens also preserves contextual distinctions such as physical reality, dream, virtual environment or illusion when established.

03 — Pacing and player autonomy

The pacing module supports balanced, slow, dynamic and hold modes, plus reset. It examines explicit preferences, quiet moments, apparent player decisions, requested ellipses and repetition in recent output. Quiet scenes do not require a sudden event; unresolved choices should not be skipped to create artificial momentum.

The final integrity capsule targets 1,200 serialized characters. It retains limited checks, issues and pacing data, prioritizing concise next-turn guidance rather than a full transcript audit.

TEST CONSOLE / CHAT INPUT

/pace slow

Request slower pacing; propose a test and leave the outcome unresolved.

/pace hold

Request restrained progression; try a quiet moment without a mandatory plot twist.

/pace dynamic

Allow more active scene progression without removing player agency.

/pace reset

Return to balanced pacing.

Ordinary chat: “Could we test the machine later?”

Check that a proposal is not reported as a completed test.

Ordinary chat: “Does Crash know what the sealed report says?”

Check whether the model preserves uncertainty instead of inventing omniscience.

AUTHOR_NARRATIVE / example check — excerpt

// Match suspicious wording, then request review.

{id:"instant_healing",

pattern:"\\b(?:all injuries vanished instantly|fully healed without treatment)\\b",

impact:"Check established recovery mechanism and elapsed time."}

What it cannot guarantee

Pattern checks can miss paraphrases or flag legitimate canonical events. They are not moderation rules or proof of a violation. If teleportation, immediate healing or extraordinary knowledge is established by the setting, customize the check instead of banning the mechanic.

TRY IT: Propose a test without performing it. Ask whether it worked. Then request a change of subject. Expect no invented result, forced player decision or unexplained resolution.

CUSTOMIZE: Edit AUTHOR_NARRATIVE: prose conventions and targeted regex checks. Patterns flag possible problems, not proof of a violation. Confirm in actual transcripts; do not use checks as a blanket censorship system.

RESOURCE 01.04 / ENGINE

AWSE

World simulation and constraints

Self-contained world simulation engine with editable actor sizes, setting scale, institutions, technology and legal context. Supports time, space, physical conditions, resources, economy and social constraints using established facts rather than invented measurements, balances or permissions. Includes a fictional harbor and test mannequin preset. Adapt it for your own canon; results remain dependent on available context and the model’s interpretation.

01 — World and actor configuration

AUTHOR_SIMULATION defines the harbor world, scale ratio, six actor profiles, six institutions, legal notes, technology, magic and equipment scale. Crash is explicitly 1.75 m tall and synthetic. His power supply and exact condition remain unknown unless established. Do not transfer a preset actor’s measurements or anatomy to the player.

02 — Physical, anatomical and interaction assessment

The physical core keeps entity and condition records, environment settings and a consequence ledger. Geometry and physiology modules compare known heights, species features, movement and contact constraints. Interaction assessment considers actor, target, action, available tools and environment; results are feasibility and risk guidance rather than an executed action. Missing size, mass, strength or scene data must remain uncertain.

03 — Time, places, resources and events

The world simulator tracks a fictional day and clock, scene, weather, terrain, positions, resources, consequences and a timeline. Explicit commands set or advance time, configure the calendar, schedule opportunities, and define routines. A scheduled event is due, not automatically completed; a routine does not override a confirmed location. No real-world clock is used to advance fiction.

04 — Economy, institutions and social consequences

The economy and society modules record explicit balances and transfers, faction memberships, reputation, witnesses and rumors. Transfers require known balances on both sides and valid amounts; unsupported transactions produce rejection records rather than silently inventing money. Legal and institutional guidance remains conditional on established jurisdiction, resources and actual permission.

05 — Scene reality and game checks

Scene layers can record reality, biome, exposure and lighting. The game-check handler accepts an explicit d20 roll from 1 to 20, bonus from -20 to +20 and difficulty from 1 to 35; it compares roll plus bonus with difficulty. It does not roll the die itself or determine the fictional outcome.

The final simulation capsule targets 2,100 serialized characters. Derived diagnostics and older state may be removed to fit. The script does not maintain a complete world simulation outside the conversation.

TEST CONSOLE / CHAT INPUT

/worldsim time: day 1 12:00

Set the fictional day and time.

/worldsim advance: 30 minutes

Advance the declared time by 30 minutes.

/worldsim position crash: Test Annex

Register an explicit location.

/worldsim schedule inspection | day 1 13:00 | Inspect the test bench

Create a scheduled opportunity, not a completed inspection.

/economy set crash | credits | 100

Declare a balance for testing.

/economy set mira | credits | 0

Establish the recipient balance as well; both accounts must exist.

/economy transfer crash -> mira | credits | 25

Test a valid transfer (75 credits for Crash, 25 for Mira if both balances persist), then an amount exceeding the established balance.

/geometry compare 1.75 | 1.68

Compare two explicit measurements.

/gameplay check inspection | dc 12 | roll 14 | bonus 2

Total 16; the numerical check succeeds, while the story outcome remains open.

AUTHOR_SIMULATION / actor example — excerpt

// Known measurements are author data.

{id:"crash", species:"synthetic mannequin",

height_m:1.75,

notes:"Fictional sentient mannequin with replaceable parts, finite power and ordinary physical scale; damage persists until established repair. Not a human or automatically indestructible."}

What it cannot guarantee

This is not a physics engine with measured forces, a medical diagnostic tool, or a full economic simulator. Its calculations and qualitative heuristics require established input. Time, resource and event commands change fictional records explicitly; ordinary requests for a calculation must not automatically commit the outcome. Coordinate shared facts with UMWC when both are attached.

TRY IT: Ask for Crash’s height, exact battery level and the price of an unspecified spare part. Expect 1.75 m where available, unknown battery and price, and no fabricated purchase. Test ordinary travel and repair.

CUSTOMIZE: Edit AUTHOR_SIMULATION: setting scale, actors, institutions, technology and legal notes. Unknown facts stay unknown. Synthetic-body rules belong to the bot and relevant canon; the engine does not guarantee a precise physics simulation.

02 /LIGHTWEIGHT BUILDING BLOCKS
RESOURCE 02.01 / UTILITY

Base

Small temporary context cue

A small standalone example of defensive context reading and temporary scenario injection. Six editable patterns cover greetings, farewells, gratitude, apologies, directions and help. Adds one relevant bounded semantic cue, then removes only its own cue when no longer needed. Demonstrates safe defaults, local scope and nonintrusive interaction guidance without storing facts, advancing time, changing relationships or deciding the player’s actions.

How the loop works

Checks that context, character and chat exist. Reads the latest message and scenario as strings, with empty-string fallbacks. Removes previous matching ambient cues from the scenario, searches the first matching rule unless the input starts with a slash, then appends at most one temporary cue. The 24,000-character ceiling applies to the complete local scenario string, not to the platform’s token limit.

Six example rules

Greeting, farewell, gratitude, apology, directions and help. Each rule is a pair consisting of a regular expression and an instruction string. Matching is case-insensitive; rule order decides which cue wins when several match. The script does not maintain state beyond the temporary cue.

TEST CONSOLE / CHAT INPUT

hello

First matching rule adds a greeting cue.

where is the test bench?

Requests grounded directions.

The clock is broken.

No rule matches; the previous ambient cue is removed.

Core selection — excerpt

// First applicable pattern wins; ignore slash commands.

const match = !message.trim().startsWith('/') && rules.find(([pattern]) => pattern.test(message));

const note = match ? "\n[Ambient cue: " + match[1] + "]" : "";

What it cannot guarantee

It does not detect intent reliably, perform the action, remember a greeting or change relationships. Keep patterns narrow. Do not reuse the same marker for unrelated scripts.

TRY IT: Say hello, then ask an unrelated question. The greeting cue should be relevant only to the greeting and should not persist into unrelated turns.

CUSTOMIZE: Edit the pattern and cue table. Keep the owned marker distinct and avoid broad patterns that match ordinary prose unnecessarily.

RESOURCE 02.02 / UTILITY

Commands

Explicit semantic requests

Standalone exact-match chat-command template with twelve commands: /status, /recap, /options, /scene, /inventory, /time, /map, /clues, /cast, /goals, /conditions and /help. Adds a bounded read-only narration request and clears its own overlay on ordinary turns. Does not edit chat history or directly change world state; demonstrates customizable command tables and player-directed reporting while leaving unknown values unknown.

How exact commands work

The latest input is trimmed and lowercased before lookup in an object. Only an exact own-property match is accepted, so /status now does not activate /status. The old command overlay is removed, and the selected instruction is appended if the scenario remains within the local 24,000-character ceiling. A normal message removes the overlay.

Read-only command categories

/status reports the current observable state; /recap summarizes established history; /options suggests opportunities; /scene describes the surroundings; /inventory reports known possessions; /time reports established time; /map summarizes known routes; /clues separates observations and hypotheses; /cast identifies present and absent NPCs; /goals lists established objectives; /conditions reports known conditions; /help lists the command interface.

Each command is just a string key mapped to a narration instruction. Add a new key and its instruction to extend the template, then update /help. These commands do not call a real database or manipulate world state.

TEST CONSOLE / CHAT INPUT

/status

Read-only current situation.

/time

Report time without advancing it.

/clues

Distinguish observations from guesses.

/help

Show available semantic commands.

/status now

Does not match: no command overlay.

Exact lookup — excerpt

// Match the complete normalized input.

const key = input.toLowerCase();

if (Object.prototype.hasOwnProperty.call(commands, key)) {

// The actual script appends the associated instruction.

}

What it cannot guarantee

No structured result is calculated; the model must interpret the instruction and report only what is known. Commands requiring actual mutation belong in a stateful script rather than this read-only template.

TRY IT: Use /status, /inventory, /clues and /help. Check that the reply reports known state without advancing time. On a normal turn, the command overlay should disappear.

CUSTOMIZE: Commands match complete trimmed input; they request a model response, not an actual state transition. Add unique commands and keep the help text synchronized.

RESOURCE 02.03 / UTILITY

Events

Optional ambient developments

Standalone probabilistic event template with ten editable ambient beats, an opening-turn delay and configurable probability. Demonstrates context-sensitive atmosphere, ordinary NPC activity, distant signals, weather cues and optional opportunities. Skips slash commands and clears its own temporary overlay. Events are suggestions to adapt to established surroundings, not guaranteed plot developments, forced choices or automatic player actions.

Eligibility and random selection

Reads the integer chat message count and latest trimmed text. The default opening delay is four messages. A nonempty message that does not start with a slash is eligible once the threshold is reached. The script samples Math.random() and selects a uniformly indexed beat from the ten examples only when the probability test succeeds.

Ten optional ambient beats

Distant signals, a passerby with a package, a rattling object, changing breeze or light, a routine notice, a communication signal, ordinary business activity, an NPC’s routine task, passing traffic, or a plausible existing investigation source. Every beat is conditional on the scene; none must become an event if incompatible.

The default probability is 0.08 (8%) per eligible execution, not a countdown or guaranteed frequency. The previous event overlay is removed before selecting a new one. The local scenario ceiling is 24,000 characters.

TEST CONSOLE / CHAT INPUT

Ordinary conversation after message 4

Repeat several times; a cue may appear, but no cue is also a valid result.

/status

Slash commands do not activate the event.

For a controlled test, set probability to 1

Every eligible execution reaches beat selection; revert to the desired probability afterward.

Editable settings — exact excerpt

const settings = {minMessages:4, probability:0.08};

// Four-message delay; 8% chance per eligible execution.

// A second random draw chooses one of the ten beats.

What it cannot guarantee

There is no persistent cooldown, seeded RNG or guarantee of a different beat on regeneration. The script offers narrative opportunities rather than forcing events, time advancement or player actions.

TRY IT: After the opening turns, continue ordinary conversation. A plausible ambient beat may occur, but its absence is valid. Commands should not trigger a beat.

CUSTOMIZE: Edit minMessages, probability and the beat list. A low probability does not guarantee an event in any fixed number of turns. Compare many runs or use a deterministic local harness.

RESOURCE 02.04 / UTILITY

Memory

Explicit notes

Standalone bounded note storage using /remember key: value, /forget key, /notes and /memory-help. Stores up to eight named notes of 160 characters in its own scenario capsule. Rejects malformed or ambiguous state, escapes capsule markers, avoids silent eviction and keeps notes distinct from proven canon. Demonstrates explicit user-directed storage, retrieval and deletion. Persistence is platform-dependent; not a private or permanent database.

Explicit note storage

Reads a single owned JSON capsule embedded in scenario. Validates unique delimiters, object shape, maximum eight keys and string values of at most 160 characters. Keys are 1–28 ASCII letters, numbers, underscores or hyphens; prototype-related names are rejected. The script uses an object with no prototype for notes.

/remember parses an exact key/value instruction; an existing key can be updated, but a ninth new key is not added. /forget deletes a key; an empty note collection removes the capsule. /notes and /memory-help add temporary read-only guidance rather than changing the note data. Keys retain their original case.

Safe serialization and limits

Square brackets in JSON data are escaped before writing, so text cannot accidentally mimic the delimiters. Invalid or ambiguous capsules are preserved unchanged rather than overwritten. The owned memory overlay has an 8,192-character ceiling; read-only guidance uses a 24,000-character scenario check. Notes are not automatically true, confidential or permanent.

TEST CONSOLE / CHAT INPUT

/remember test_code: BLUE-17

Create an explicit note.

/remember test_code: RED-42

Replace the existing value.

/notes

Ask the model to list the saved notes.

/forget test_code

Delete that key.

/memory-help

Display usage guidance.

/remember invalid key: example

Rejected: spaces are not allowed in keys.

Validation — excerpt

// Keys are limited to safe identifier characters.

const validKey = k => /^[A-Za-z0-9_-]{1,28}$/.test(k) && !["__proto__", "constructor", "prototype"].includes(k);

What it cannot guarantee

The script does not automatically summarize the conversation or persist notes across new chats. Verify actual scenario state if the platform exposes it. Avoid overlapping /remember and /forget handlers when UMWC is attached.

TRY IT: Enter /remember test_code: BLUE-17, then /notes, then /forget test_code and /notes again. Verify actual storage and removal if the platform exposes the scenario; a fluent reply is not proof of persistence.

CUSTOMIZE: Eight named values, up to 160 characters each. Use simple keys; notes are not secret or inherently true. Do not combine independent memory systems without defining which owns each fact.

RESOURCE 02.05 / UTILITY

Triggers

Keyword-selected context

Standalone keyword-trigger template with fifteen editable rules for weather, apologies, trade, injury, rumors, access, travel, promises, secrets, evidence, inventory, refusal, repair, rest and outages. Injects up to three relevant bounded cues, ignores slash commands and removes its own overlay when inactive. Demonstrates conditional context without treating mentions as completed actions, facts, diagnoses or automatic outcomes.

Rule table and selection

Reads the latest message in lowercase and tests fifteen case-insensitive regex patterns. A rule contains a pattern and semantic line. All matching rules are collected in table order, then sliced to the first three. Slash commands are excluded. Prior trigger guidance is removed and the new selected lines are joined into one overlay, subject to the 24,000-character scenario ceiling.

Complete example vocabulary

Weather, apologies, trade, injury, rumor, restricted access, travel, promises, secrets, evidence, inventory, refusal, repair, rest and power outages. Several patterns support both English and French. The line explains how to handle the topic rather than establishing a new fact.

For instance, a storm mention prompts observable weather before consequences; locked or restricted prompts permission checks; private or confidential prompts knowledge boundaries. Rule order acts as an implicit priority when more than three topics match.

TEST CONSOLE / CHAT INPUT

There is a rumor about a storm.

Two applicable cues: weather and rumor attribution.

Can we repair the locked cabinet?

Repair and access cues, without granting permission or completing a repair.

Storm, rumor, injury, trade, and repair.

Only the first three matching rules in table order are used.

/inventory

Excluded even though inventory appears in the rule table.

Trigger definition and selection — excerpt

{ pattern: /\b(?:rumor|rumour|rumeur)\b/i,

line: "Attribute rumors to their source; do not treat them as confirmed facts." }

// Up to three matching rules, in table order.

const matches = latest.trim().startsWith("/") ? [] : rules.filter(rule => rule.pattern.test(latest)).slice(0, 3);

What it cannot guarantee

Keyword matching is not semantic intent recognition; it also matches many quotations and hypothetical mentions. Avoid broad patterns and use conditional guidance. Unlike Base, Triggers can inject three cues at once.

TRY IT: Mention a rumor about a storm or a locked cabinet. Check that the response treats these as conditional cues rather than proof of a storm, rumor or granted access. Then change topic.

CUSTOMIZE: Edit the pattern list and the guidance. Up to three matching rules are selected in order. Specific patterns and distinct ownership reduce conflicts.

03 /STATIC REFERENCE
RESOURCE 03.01 / LOREBOOK

Generic World Reference

Static contextual knowledge

Twenty-five editable, setting-neutral lorebook entries covering evidence, travel, time, objects, resources, knowledge, institutions, permissions, relationships, refusal, physical scale, damage, repair, recovery, weather, communication, daily life and narrative branching. Specific keyword triggers and a consistent structure demonstrate modular contextual reference without fixed canon or executable logic. Entries are keyword-triggered contextual knowledge, not executable scripts. Native import and activation settings must be confirmed on the platform.

TRY IT: Mention a sealed report, a signed agreement or a failed attempt. Expect relevant knowledge boundaries and continuity, not an automatic event or a new world fact.

CUSTOMIZE: Replace the example content with canon where appropriate. Verify the actual import, activation keys and entry order before relying on it.

How a static entry works

Each entry contains a unique identifier, a set of activation keywords and a text payload. The template supplies 25 independent entries with explicit keys and priority/order settings; activation behavior depends on the platform. No JavaScript runs and no internal state is changed by a static entry.

Examples include rumor/testimony, locked gates and route maps, inventory and ownership, time skips, private knowledge, promises, relationships, injuries, repairs, prices, weather, communication, daily routines and status reports. Compare a relevant key with an unrelated message; the model should use the rule only when appropriate.

04 /TESTING PROTOCOL
01Baseline

open a new chat with Crash without scripts. Use identical opening, model, persona and settings for comparisons wherever possible.

02Single-resource test

attach only the resource being evaluated. Repeat the same prompts; record the actual result, not just whether the response sounds convincing.

03Combined test

add compatible scripts progressively. Check that scenario text and unrelated state survive repeated turns, that cues do not accumulate, and that commands do not collide. Avoid redundant memory and narrative owners.

04Stress cases

try conflicting evidence, refusal, a change of topic, absent NPCs, invalid commands, long conversations and a new chat. Use established facts, distinguish notes from canon and check unknown values.

05Pass criteria

correct activation, bounded output, consistent facts, independent NPCs, no invented player actions, no unsupported claim of persistence. A probabilistic event may legitimately not occur.

Technical limits and troubleshooting

The 24,000-character checks in lightweight examples and the advanced capsule targets are local safeguards, not published platform token limits. The platform may truncate context, re-run scripts, expose limited history or discard scenario changes. Scripts cannot read actual runtime logs through Crash’s dialogue.

Keep one owner for each state domain. Use the lightweight scripts for learning individual mechanisms, or the advanced engines for broader systems; avoid stacking redundant command or memory handlers without checking collisions. Start with a new chat for each comparison. Test valid, invalid and repeated commands, regeneration, history rewind and long conversations before relying on state persistence.

If a script seems inactive, verify it is linked and enabled, check the exact command syntax and available sandbox inputs, then compare actual scenario content when accessible. A fluent response can be generated without any script; distinguish execution, stored state and narrative compliance.

HARBOR TEST ANNEX • CRASH LAB • FIELD MANUAL 001

Created about 21 hours ago

Updated about 19 hours ago

Published about 19 hours ago

  • Limitless
  • 👨 Male
  • 🧑‍🎨 OC
  • 🤖 Robot
  • 🪢 Scenario
  • 👤 AnyPOV
  • 😂 Comedy
  • #Scripts
  • #Templates
proxy allowed

Published chats