Repository navigation
Covel v0.0.55
[0.0.55] - 2026-11-26
This release introduces Plugin Platform v2 with L1–L4 capability governance and plugin-managed model provider sources (provider.source@1), upgrades hidden story events with semantic condition judging, hidden options and hidden rewards, links dice checks with visible failure costs, clocks, item bonuses, NPC affinity difficulty shifts and timed quests, replaces Emberback Relay with Last Train Out, polishes in-session Read/Stage typography and HUD/disclosure layouts, and delivers a broad security, runtime, storage and web-client hardening pass. Plugins can now declare instance-scoped lifecycles, encrypted server-only secrets (SecretVault), isolated instance data, multi-step Config Flows, bounded schedules and instance/session micro UI slots, while host ceilings (COVEL_DISABLED_CAPABILITIES), instance policies (COVEL_PERMISSIONS_POLICY) and digest-bound persistent grants (/api/permissions/*) enforce fail-closed boundaries across personal and shared deployments. All four bundled worlds gain deeper lore, quests, clocks and revised bilingual prose; world-ir moves to world-ir@2 and becomes optional for its readers; narrative-engine@2 is now framework-owned with a shared story-context@1 turn-note channel; and the desktop app upgrades to Electron 45.3.1 (Node 24.22.2) and Undici 8.12.4. SQLite and PostgreSQL databases created by v0.0.54 remain compatible (schema version stays at 8, with new plugin_grants and instance_data tables created automatically on boot); however, sessions for the removed emberback world, revised bundled worlds, nested-call suspensions, old world-ir@1 consumers and encrypted <config>/secrets/ files need targeted recreation or re-import, and community plugins must update to the new narrative, world-ir@2, inventory.bag@2 and read-only RPC store contracts. Upgrading from v0.0.53 or earlier still requires recreating databases and browser-private saves per the v0.0.54 notes. Read the breaking changes and upgrade notes before installing. macOS Apple Silicon and Windows x64 binaries are unsigned; the macOS build is not notarized.
Verified while preparing this release on main at 5a707a5cf (plus the E2E fake-clock race fix and these release notes): GitHub Actions full CI (run 45823159105) and CodeQL passed every required gate on 5a707a5cf, including Static checks, Tests and build, Web unit tests, Server unit tests (2/2), Runtime coverage floor, PostgreSQL integration, Browser smoke, Browser extensions, all eight one-worker Full browser suite shards, and Site build. Locally on Linux x64 (Node 26.12.1, pnpm 12.14.0): pnpm check (including 296 script tests and actionlint), pnpm release:preflight (0 warnings after assembly), @covel/web lint/build and session/catalog/theme suites (116 files / 875 tests), @covel/plugin-scene-stage tests (11 files / 124 tests), @covel/desktop tests, @covel/shared tests (75 files / 1,264 tests), @covel/site tests and build, @covel/docs VitePress build, and doc-references / docs-anchors checks. Not verified in this release-prep PR: the macOS arm64 and Windows x64 desktop installers (built and checked by the Build Desktop release workflow), local real-model gameplay against the final candidate, and published checksum/attestation verification after tagging.
Breaking changes in v0.0.55
- Embedding hosts queue follow-up work from the commit callback. Use
CommitIsolation.deferredFollowersanddeferredRuntimeJobsinextraInTx; the kernel matches the real producer and removes work that did not commit. The old host-side filtering helpers are no longer exported. No saved data needs to be recreated. See host commit boundaries. - Custom vector adapters must honor query model guards atomically.
SearchVectorsInput.expectedModelRegistryId, when provided, must be checked in the same read snapshot as the vector query. See storage. - Unused runtime completion exports are removed from
@covel/tools. Consumers must drop imports ofruntimeDoneTool,isRuntimeDoneSentinelandRuntimeDoneSentinel; the unusedruntime-donetool is no longer exported. - A story agent without an output schema submits story segments. A schema-less
io.visibility: storyagent used to get a host default of{narrativeOutput, yield?}. It now submits thenarrative-engine@2story shape (segments, optionalcuesandyield). A submission with onlynarrativeOutputis sent back for repair. Community story agents need no manifest change, only prompts that ask for segments. See Without an output schema. - Only an automatically scheduled story runtime provides
narrative-engine@2. A manual, event or sub-agent story runtime that writesio.output.contractis disabled, and so is a story runtime that names any other output contract. Remove the field. A package has one automatically scheduled story runtime: with several, the one whose runtime ID sorts first plays and the others are disabled (pnpm validate:pluginreports them and installation refuses the package). Give the otherstrigger.type: manualorevent, or move them to their own package. - A session admits one story package. Two packages that both provide
narrative-engine@2are mutually exclusive without writingconflicts. The second one is refused withsingle-provider-conflict. A writtenconflicts: [narrative-engine@2]is ignored. A session that had two story packages active keeps one and nothing has to be recreated: a non-default package replaces the default narrator (Storyteller), and between two non-default packages the one earlier in the session's confirmed plugin order stays. A replacement replaces the default narrator only once it is accepted; if it loses to a conflict or a missing requirement, the default narrator keeps playing. - Emberback Relay is replaced by Last Train Out (
last-train). Sessions and installed copies ofemberbackmust be recreated; the old world ID has no alias. The new bundled world follows passengers on the last train, stopped in a tunnel under the river during a citywide blackout as water comes in. It ships with a new cover and five character portraits. See bundled worlds. - Mistport 0.4.0 changes its investigation data. Case Board entries now require sources, contradictions and a secured flag; only the Council records permits and warrants. Eight static setting sections move from dimensions to the lorebook. Reimport or restore the world package and create fresh Mistport development sessions and snapshots; existing session data is not migrated.
- A nested call can no longer be part of a suspension. A function handler that received results from
ctx.recursiveCalland then returnssuspendednow fails with "cannot suspend after a nested call", and nothing it or its children wrote is committed. A function or agent runtime that suspends while running insidectx.recursiveCallfails with "cannot suspend inside a nested call", and its caller receives an ordinary failed result. Top-level suspend and resume are unchanged, and a resumed handler still cannot callctx.recursiveCall. A plugin that suspended after nested calls must ask for input before making them, or split the work into a top-level runtime. Continuations no longer save child results, so recreate development sessions, snapshots and browser checkpoints that hold a pending suspension saved with nested results; committed stories need not be deleted. See nested calls and suspension and resume. - Plugin actions and commands can no longer write plugin data.
context.store.setPluginDatais removed from RPC action and command handlers; the scoped store only reads (getSession,listTurnMessages,getPluginData,listPluginData). Move interface writes to a manual function runtime called withinvokeRuntime, whosectx.pluginDatawrites commit through the proposal transaction. The management RESTPUT/DELETEoverrides are unchanged. See plugin communication. No development data needs rebuilding. - Encrypted
SecretVaultnow uses per-file saltedscryptand rejects plaintext downgrade files. WhenCOVEL_CREDENTIALS_KEYis configured,SecretVaultderives keys with per-file random-saltscrypt(AES-256-GCM with strict 12-byte IV and 16-byte tag checks) and refuses to read olderSHA-256or unencrypted (encrypted: false) files on disk. Re-save plugin credentials under<config>/secrets/if migrating an existing development directory (env-registry). exec.localBridgeis locked as a reserved capability. Policy overrides (PUT /api/permissions/policy/COVEL_PERMISSIONS_POLICY) and persistent plugin grants targetingexec.localBridgeare rejected until a local subprocess executor exists (security).- World facts use one contract ID,
world-ir@2.world-ir-provider@1(the extraction runtime's output) andworld-ir@1(the shared fact schema) are replaced byworld-ir@2, which is both. Bindfrom: { contract: world-ir@2 }, writeschema: contract:world-ir@2in world data sources, and usefrom: "contract:world-ir@2"inworldProjections. A plugin or world pack that still names an old ID finds no provider or schema. Results recorded before the upgrade carry the old ID: retrying an affected consumer on an earlier turn runs it without the facts, and suspended runs of the changed plugins cannot resume. Recreate development sessions that need either, and re-import world data whose sources namedcontract:world-ir@1. Shape: WorldIR and plugin projections.
Added
- Players can reset browser game data from Settings. The reset deletes the browser's worlds and saves and imports the current catalog. See the hosted trial guide.
- Every world layout supports search. In the showcase, open the full list with All worlds.
- A failed dice check can cost something the player can see.
dice-checkacceptscheck.consequences@1(data/check-consequences.yaml) andcheck.clocks@1(data/check-clocks.yaml). Each failed check pays the most specific cost it can still pay: an item taken throughinventory.change@1, or segments on a clock shown in a new "Clocks" panel. Prose that leaves the cost out is sent back once. Rules: built-in plugins · cost of failure, fields: world data. - Carried items help checks. An inventory item can have
effects: { check: { attribute, modifier } }. The paginatedinventory.bag@2service reports it, anddice-checkadds the best carried item for each attribute to its modifier. Custom providers and callers must switch toinventory.bag@2and supportoffset; saved bags do not need to be recreated. See how items and relationships change a check. - NPCs who have gone cold make checks harder.
affinityprovides the read serviceaffinity.tier@1(scores and tiers by name). A check whose receipt names an NPC below the neutral tier in its new optionalwithfield is one difficulty step harder for each tier below neutral. A clock incheck.clocks@1can alsoraiseattributes once it is full. The guard and the recorder hold the receipt to the same modifiers and difficulties. - Quests and objectives can have deadlines.
core-questreadsdeadline: { when, label, missed }on a quest or objective.whenis a dimension condition, a world-time value, an NPC's affinity ({ affinity: <name>, path: tier, in: [...] }) or a turn number. The new pre-turn runtimecore-quest/deadlinefails overdue quests, marks missed objectives, and tells the narrator throughstory-context@1. See quest deadlines. world-time-context@1carrieselapsedSinceStart. Time deadlines and hidden plottimeconditions can count from the start of the story (world time).- Last Train uses all of it. Failed checks there soak you, use up chalk, torches or phones, and raise the panic in the car. The torch helps wayfinding, the staff key mechanics and the staff jacket rapport. A full panic or cold clock makes some checks harder, and Graham walks off to the pump room if he goes cold on you. The world version is 2.2.0.
- Harukaze Academy now counts down to the festival with world time. Festival Prep derives the days remaining from the clock, starting at 21, dropping by one each midnight and reaching zero on festival day. Rin and Yuma each gain a hidden route event and a follow-up, bringing the authored events to eight across all five routes.
- Unified L1 host capability ceilings and catalog. Added
@covel/shared/permissions(CAPABILITY_KEYS,CAPABILITY_CATALOG,resolveEffectiveCapability,tightenCapabilityCeiling), projected deployment capability ceilings inGET /api/healthunderdeployment.capabilities, and addedCOVEL_DISABLED_CAPABILITIESfor downward-only host tightening at startup (env-registry, security). - Mistport starts with four investigations and eight hidden events. The quest log tracks Qi's disappearance and three related inquiries. The Case Board records where evidence came from, conflicting accounts, retractions and preservation actions. Narrative rules require independent corroboration and limit flood damage to unsecured evidence within reach of the water; models still judge these rules.
- Instance permission policy and per-plugin persistent grants (
/api/permissions/*). Added the L2permissions.policyserver setting (overridable viaCOVEL_PERMISSIONS_POLICY) and the L3plugin_grantsstore table bound to each community package's content digest and capability snapshot; unifiedGET /api/permissions/snapshot,PUT /api/permissions/policy,GET /api/permissions/plugins, andPUT/DELETE /api/permissions/plugins/:pluginId/grantsendpoints, plus additivegrantslisting onGET /api/sessions/:id/approvalsand"persistent-grant"onserverCodeApprovedBy. See HTTP API, Environment registry, and Security. pnpm checkverifies that bundled plugins declare what their entries register.pnpm check:manifestsnow also runsplugin:extract --checkon every bundled plugin with an entry, in one process, and lists the differing keys with the fix command.pnpm validate:pluginstays static. Documented in commands and plugins with local code.pnpm plugin:extractsyncsextensions. Extensions are added and dropped by<point>/<id>; options such asorderandslotof entries that stay registered are kept.commandsis still only reported.- Plugin Platform v2 (
apiVersion: 2,scope: instance | both) primitives. Added lazyactivationEvents, package-isolatedcovel.secretsandcovel.instanceData,covel.sandbox,registerAppAction(POST /api/plugins/:pluginId/actions/:action,GET /api/plugins/:pluginId/instance-data/:namespace), multi-step Config Flows (POST /api/plugins/:pluginId/flows/:flowId/start, runs/step/cancel withopenPluginConfigFlowUI wizard), read-onlyappEvents+ boundedschedules,channel.bridge@1, four-pass prompt governance with cross-plugin fact predicates, instance UI slots (settingsSection,appPage,topbarStatus), and session micro UI slots (composerAction,messageAction,messageBelow,window) (Plugins, Extension points, UI panels). - Plugin-managed model provider sources (
provider.source@1). Addedcontributes.providerSourcesandcovel.registerProviderSourcesbacked byGET /api/provider-sources,GET /api/provider-sources/:pluginId/:sourceId/usage,source/accountbindings in presets, slots,POST /api/ai/models,POST /api/ai/ping, andGET /api/model-db/lookup?credentials=1, gateway single-flight401token refresh, multi-account429/auth failover,requestShape(openai-responsesinstructions,store: false,forceStreamSSE aggregation, parameter omissions), mode gating, dormant boot without stored credentials, and web Settings controls (Slots, HTTP API). - A write service knows which turn a retry repeats. Its context carries
sourceTurnIdwhen the caller is a scoped retry of a committed turn, so a provider that books costs per turn can avoid settling the same transaction twice.callTestServiceacceptscaller.sourceTurnIdto test this. See what a write service can access. - The author SDK adds
@covel/plugin-handlers-utils/conditions. Plugins can share pure path reading, operator detection and comparisons while supplying their own data and condition composition; see condition helpers. - Resize the story and dialogue panels. When Read uses a scene backdrop, dragging the edge resizes the text, suggestions and input together. Stage mode has its own handle on the response panel. Both support the keyboard and remember their widths separately.
- Get local model setup help at the API endpoint. Hosted trials show connection steps for Magpie, Ollama and LM Studio, with a shortcut to copy the current site's origin.
- Browse the restored design showcase. Open
/design-system.htmlto preview the built-in themes in Simplified Chinese, English or Russian. Settings, reading and Debug share layout rules with the showcase. - Plugins can hand this turn's notes to the story without binding a narrator. A
pre-turnruntime declaresio.storyContext(select,priority,order) to point at a value in its own output: text,{ title, content }, ornullfor nothing to say. A reader, usually the narrator, writesfrom: { kernel: story-context@1 }and gets every note of the turn, ranked by priority, deduplicated and fitted intomin(3000, 10% of the story input window)tokens; notes that do not fit are left out whole and listed as omitted. Agents read a<story-context>block in their turn context; functions readctx.inputs. An invalid note is left out without failing its provider, and the reader's trace records astory-context.selectedevent that names a concealed provider by its package display name only. The SDK exportsSTORY_CONTEXT_INPUT, theStoryContext*types andstoryContextContributionSchema;@covel/plugin-test-utilsaddsstoryContextSlot. See the kernel inputstory-context@1and add a note for the story. - Hidden plot events now support semantic condition judging, hidden options, and hidden rewards.
story-eventsextendscontract:story.events@1additively with natural-languagejudgeconditions (and string shorthand),affinity/item/attribute/selecteddeterministic leaves, unlockableoptions[], andrewards[](item,lorebook,narrative). A concealedauditevaluator (story-events/assess) and read-only sub-agent (story-events/judge) short-circuit deterministic gates, batch shortlisted semantic checks undersemanticJudge/maxJudgedPerTurnwithout delaying first-token narration, and never expose hidden payloads, options, or rewards until unlocked or selected. Unlocked options appear below the story in Read/Chat mode and merge intostage.choices@1in Stage mode. Bothmistportandharuka-academyinclude a hybrid hidden option + reward example. See RPG Mechanics and World Data. - In-app AI world creation and revision can now author hidden plugin sources. Plugin manifests allow
authoring.generate(offer/default) on hidden non-media sources keyed byid,story-eventsdeclaresauthoring.generate: offerwith a localized summary, and generated packages, portablecontractData, and fallback descriptors all preservevisibility: "hidden"without projecting to the lorebook. World translation also preserves condition identifiers (dimension,attribute,revealed,selected,timing,scope) while translatingwatch.keywords. See Advanced Plugin Guide. - Check clocks, item modifiers, and timed quests across bundled worlds.
lantern-barrownow wirescheck.clocks@1,check.consequences@1, and check bonuses on starter gear alongside deadline-backed quests and selective lorebook entries.haruka-academyadds four school-festival quests with countdown deadlines and selective campus lorebook entries.mistportadds a deep-ebb flood deadline on Echo Gallery preservation, selective district lore entries, and a third-act standoff event at the Bone Arch.last-trainadds character-creation bio hooks alongside three mid-shift cast dilemmas and tunnel lorebook entries.
Changed
- Unified player-facing copy around the canonical glossary. Website copy, English and Russian UI strings (
AI roles,getting-ready screen,Bag), server compaction notices (Fast,Story memory,this game), and the Last Train world pack now use consistent terminology with no internal slot or session jargon. - A failing dimension provider no longer fails the turn. When the runtime that publishes
world.dimensions@1fails, the story still runs and the turn commits and counts. The story reads the saved values frozen when the execution started, the same values the provider republishes, and runtimes that readworld.dimensions@1as an optional input run without it for the turn. A story that requiresworld.dimensions@1as an input hard-depends on the provider and is refused like a failed story. The provider's failure shows in the turn's run status and can be retried on its own. Thedimension-snapshot-unavailableskip reason is gone. Rules: World Model. - A failing
TurnStarthook of a plugin without a story runtime can cost only that plugin's part of the turn. When such a handler throws, times out or returns an invalid result, and the execution has a story and some of that plugin's runtimes scheduled, the plugin sits the turn out: its runtimes are skipped with the reasonhook-failed, its sub-agents refuse calls, and the story and the other plugins run. Its turn-level veto does not apply to that turn, so a hook that must stop the whole turn on its own errors should catch them and returnabort; a timeout is always handled this way. A plugin made of hooks alone, a hook of the framework or of the story plugin, setup, and a manual run or retry aimed at a runtime that is not a story still stop the turn. A deliberateabortworks as before, and the failure still counts toward the fault latch. Rules: Hooks. - A failed
PreRuntimehandler skips the runtime it judged with the reasonhook-failed. A failed guard hook never lets through what it judged:PreRuntimeskips the runtime andPreStateCommitrejects the proposal, whichever plugin owns it. A story skipped this way, or held back because a runtime it hard-depends on was, is refused instead of committing a turn without a narrative. Rules: Transactions. - Workspace dependencies are refreshed within the seven-day release-age policy. Upgrades Hono 4.13.18, Vite 8.3.8, Vitest 5.1.0,
electron-builder26.18.1,@json-render/*0.22.0,i18next27.1.1,react-i18next18.0.1,jsdom31.0.1,lucide-react1.72.0,react-resizable-panels4.22.0, Tailwind CSS 4.3.5, Playwright 1.65.0, Mermaid 12.3.0, TanStack Router, Dexie,parse5, Turbo 2.11.11, oxlint 1.93.0, fallow 3.42.0, and Prettier 3.10.1. PostgreSQL'spostgresclient stays on 3.x. - The framework owns the story contract. An automatically scheduled story runtime provides
narrative-engine@2without declaringio.output.contract, rootcontractsorconflicts, and a story agent submits its schema without declaringio.output.schema.pnpm validate:pluginwarns when a package still writes these declarations. A declared copy of the schema must match the framework's. A function story runtime gets no default output schema: what its handler returns, a barenarrativeOutputincluded, is still turned into story segments after it returns. The bundled Storyteller and Chat Storyteller drop these declarations and their schema files. See Framework-owned contracts. - Presentation and auto-advance read the same story for a turn. It is the automatically scheduled story runtime's story when it told one; a manual or event-triggered story in the same execution, or a story written by a recursive call, does not displace it. Without it, the execution's one top-level public story counts, whether or not its runtime names a contract. Inline and deferred presentation selectors and auto-advance decide this the same way.
narratorreadsstory-context@1. Providers such as quest deadlines now reach the story prompt.check.resolvedvalidates attributes, item bonuses and difficulty. A receipt must choose a listed attribute unless the modifier list is empty. Receipts that skip an item bonus or ignore a harder difficulty are sent back. The inventory ledger runs after check settlement so it does not charge the same cost again.- Harukaze Academy 0.3.4 has clearer campus periods and revised Chinese and English text. Period labels distinguish classes, dismissal, club activities, dusk, and after closing. Exact lunch and dismissal times remain in the timetable because period boundaries accept only whole hours. Character cards, relationship rules, event briefs, dimension descriptions, and memory hints use more direct language while keeping the existing relationship records and numeric rules.
- Bag button changes are validated and saved together. Equip, unequip and drop leave the bag unchanged if the operation fails. During a story turn, a click may wait or report that the session is busy. See Bag.
- Lantern Barrow now tracks time spent in the tomb. Every three phases raises the alarm by one, up to five; disturbances can still wake the Barrow King at six. Its map starts with eight connected locations and fixed exits. Chinese and English character cards, rules, encounters, and starting data have been edited for clarity.
- The kernel refuses to run hooks outside a session hook scope. A host that embeds the kernel and fires hooks, commits or calls services outside the turn, resume, manual-run, background-job and commit entry points now gets
MissingHookScopeErrorinstead of every plugin's handlers running without their settings; wrap that code inrunWithHookScope. Plugin handlers are unaffected. See plugin communication. - Mistport's structured Chinese and English prose has been revised. Character profiles, world rules, dimensions, memory hints and time instructions use clearer language. The opening tide now starts at falling tide, matching the receding water in the opening scene. See the world data examples.
- A plugin whose registrations and
contributesdisagree fails to load with the fix command in the error.Undeclared registration,Missing registration,Undeclared extensionandMissing extension implementationerrors now end withSync PLUGIN.md with the entry: pnpm plugin:extract <plugin-dir>. Duplicate registrations keep their message, since extraction cannot fix them. - The plugin guides and scaffolds list the sync as a fixed step after every entry change. See essentials and testing.
- Read mode renders character action segments as prose and frames dialogue consistently. Unmatched
actionsegments no longer display a default speaker nameplate in Read mode (Stage mode continues to highlight acting speakers, and explicitactionsegment templates still match). Dialogue blocks use a subtle left accent rail, soft surface tint, and distinct vertical spacing against surrounding narration, and the bundledscene-stagedialogue template uses the newTextvariant: "accent"style so templated and default speaker nameplates match across themes (UI components). - Tightened author-facing manifest schemas and regenerated JSON Schema artifacts.
contributes.datavalidates plugin namespace keys; runtimeio.inputskeys, JSON Pointers, schema references,recordAsnames, andagent.completion.afterToolsentries reject malformed or blank inputs; andplugin-manifest.schema.jsonenforcesminProperties: 1oncontributes.worldProjectionsand itsoutputs. - Session HUD, stage reader, disclosures, and chat overlays now have cleaner hierarchy and layout across themes. Session summary meters render as full-width stacked rows so long labels no longer squeeze text fields or progress bars; Stage mode's line-by-line reader and full-story dialog adopt player story typography, distinguish spoken dialogue from narration, highlight the active paragraph, and style navigation controls; collapsible turn-update and history disclosures share a unified chevron surface while preserving Book theme margin notes; the floating jump-to-latest button docks at the bottom-right instead of overlapping centered reply cards; and removing utility border/padding overrides from
.ui-message-playerrestores theme-defined player message styles inpaper,modern,abyss, andaurora. - Settings uses clearer sections and fits narrow screens. Provider connections and model configurations have their own tabs, advanced explanations can be expanded, and detailed forms have more space on wide screens.
- Clarify file actions and narration preferences. Settings use file import and export icons. Each storyteller explains where its perspective setting applies.
- Update the built-in DeepSeek model to
deepseek-flash. The provider settings show the official endpoint when it is the active built-in connection. - More room for dialogs. Conversation history, expanded plugin panels, the settings media preview and game settings use more of a wide screen. The game menu scrolls in short windows.
- Easier to follow speakers and choose an action. Speaker names and portraits have more room in Read. Action suggestions and the input controls have clearer spacing.
- Consistent debugger layouts. Trace, save data, cost and plugin views share the available width. Long identifiers and cost breakdowns wrap on smaller screens.
- The public trial's notice is a warning that stays reachable. The card now reminds players to use a temporary API key and that saves live only in their browser, since a trial cannot export a full save and "Export save" writes the chat log only. Closing it collapses it into the notification bell instead of hiding it for good, and later visits keep it there; a notice dismissed by an earlier version opens once more. See hosted trial.
- Story Notes (
world-ir) is optional for the plugins that read it. Almanac (codex), Relationships (npc-graph), Affinity, Quest Log (core-quest) and Bag (inventory) no longerrequireit, so turning Story Notes off no longer turns them off or adds it back. Without it, Almanac, Relationships and Affinity read the turn's story directly; Quest Log no longer records or advances quests from the story, and Bag no longer adds item changes from the story (changes made with the bag tools or the panel still apply). The Classic Story pack requests Story Notes, Dialogue and Game Master recommend it, and Harukaze Academy requests it, so their default sessions behave as before. Details: built-in world plugins. - Deepened bundled world lore, character voices, and extension coordination. Updated
WORLD*.mdandworld*.yamlacross all four bundled worlds to align terminology (Bag), remove technical plugin ID leaks from player-facing copy, separatenarrator-onlyextension coordination notes from generic plugins, and balance late-arc route events.
Fixed
- Newly published worlds appear in existing browser libraries. Reloading adds new world IDs while keeping existing local worlds and saves. Temporary copies used to run browser saves are skipped.
- World thumbnails stay the same size when selected. The showcase adapts to narrow screens and respects reduced-motion settings. Every layout displays a default image when a cover fails to load.
- Event consumers follow the payload producer that actually committed. Another emitter on the same topic cannot keep a consumer or background follower alive after its selected source is dropped. Manual invocations keep their independent behavior. A skipped guard cannot commit nested write-service operations from a dropped source. See transaction dependencies.
- Memory queries stay bound to the model that embedded them. A concurrent model reset falls back to keyword search instead of mixing vector spaces, including models with equal dimensions. See storage.
- Relationship updates retain earlier edits in the same batch. Canonical names and aliases resolve to the latest node, and a newly added alias can immediately name an edge endpoint. See relationships.
- World editing pauses while a save is pending. A failed save keeps the draft available for editing and retry. See world editing.
- Denied interaction approval leaves the card usable. Players can answer again or abandon an unresolved interaction. See recovery.
- Custom model connections recognize usable server credentials. The existing model lookup checks the exact provider, protocol and endpoint through the server registry, including authentication headers, without exposing credentials. See model lookup.
- Structured world text follows the check panels and dice receipts. Duplicate difficulty tables and attribute-conversion formulas have been removed from the dimensions, world rules and the quick reference in the world guide. Point-buy data keeps its existing values.
- A plugin RPC that runs a detached runtime by name now queues it. A runtime that declares
schedule.detachedis deferred to the durable job queue instead of running inline. The sync manual RPC and background manual jobs dropped that job, so the request answeredokwhile the runtime never ran. Both now queue it in the same commit transaction as the player's turn does and list it indeferredJobs. Rules: turn flow. - Manual runtime attempts leave automatic plugin fault protection unchanged. Synchronous runs, queued manual runs and manual suspension resumes neither add faults nor clear earlier ones; proposal validation and atomic commits still apply. See the fault ledger.
- Failed panel operations show one error notice. Runtime, action, command and event requests no longer add a generic HTTP toast alongside the caller's error.
- The debugger's header counts committed player turns. It reads the session clock instead of counting trace groups, so manual runs, setup, openings and failed attempts do not inflate the count.
- Extension providers read their own settings outside a turn. In UI slots, the session view and the image-flow request, a provider's
ctx.getOwnSettings(), and that of any service it calls, now returns its packageuserSettingsdefaults plus the world's presets instead of an empty object. When a turn, resume or commit resolves the image flow, the provider reads that execution's settings, player values included. See extension points. - Service calls a sub-agent makes for a setup runtime no longer count toward pausing the provider. When a function runtime's sub-agent called another plugin's service directly, the call was not tagged with the scheduling runtime, so a setup runtime's calls could count or clear the provider's faults. They are now exempt, as the fault latch rules already said. See protocol.
- Same-origin HTTPS writes now work behind TLS-terminating proxies with dynamic IPs.
origin-guardnow upgrades a plainhttp:request's expected scheme tohttps:on the sameHostwhenX-Forwarded-Proto: httpsor RFC 7239Forwarded: proto=httpsis present, fixing403 origin_not_allowedon Render and similar cloud deployments whereTRUSTED_PROXY_IPScannot pin dynamic proxy ranges, while keepingX-Forwarded-Hostrestricted toTRUSTED_PROXY_IPSand still blocking cross-site writes andhttp://scheme downgrades. See security. - Incompatible plugin contract schemas are rejected before installation. The installer and loader now use the same rules. A plugin that changes a framework-owned schema or uses a different schema file for an accepted data contract can no longer appear to install successfully and then fail to load. See plugin installation.
- Third-party provider sources can use their own registered text wire and fail over across accounts. Approved third-party provider sources can use a text wire registered by their own package in model presets, connection tests, and sessions. Unpinned presets try ready accounts in default-first order.
- Responses provider sources support custom endpoint paths and IPv6 loopback OAuth callbacks. Responses sources can append a custom endpoint path to their base URL, and local OAuth callbacks accept IPv6 loopback connections where available.
- Config Flow callbacks and wizard closes preserve permission, state, and cancellation invariants. Config Flow callbacks recheck permissions and OAuth state on both browser return and manual paste, and closing a wizard during startup cancels its run when the host responds.
- Hardened RPC policy cache invalidation, scheduled handler overlap guards, and memory-backed instance data isolation. RPC policy failures deny cached grants, timed-out scheduled handlers retain their overlap guard, and memory-backed instance data reads return isolated values.
- Runtime scheduling and event chains enforce hooks, optional bindings, aborts, and effect hazards. Manual and recovery batch scheduling honors
PreSchedulehook filtering, DAG scheduling isolates independent dead cycles without falsely skipping optional or satisfiedcardinality: oneinput bindings,runEventChainhalts on mid-chain aborts and appliesCOVEL_EFFECTS_POLICY,resumeSuspendedRuntimebuilds fallback hook scopes from all active runtimes, and non-player late-setup completions attachsessionClockwithout advancing player turn counts. - Sub-agents preserve same-turn visibility and recover delegation budgets. Delegated sub-agents inherit forked
pluginDataVisibility/ read-dependency tracking (merged only on live success), clear failedloadingBudgetpromises for retry, and avoid leakingcalls/actorsquotas on pre-start batch aborts. - Write-service locks, hook pipelines, and retry timers stay consistent under timeouts and malformed payloads. Write-service provider mutexes remain held until non-cooperative handlers settle,
PostLLMResponsepreserves non-emptycorrectionvalues across chained handlers while pinning immutablePreStateCommitenvelopes and validatingreplacefield shapes, andllm-retryguards against late post-settlement timer re-arming. - EventBus LRU eviction, RPC approval caches, durable job workers, and streaming slots prevent leaks and overlap.
EventBus.pin().release()maintains LRU map order andinvalidateReplayavoids allocating state for untracked sessions;RpcApprovalGateboundssessionCache, isolates multi-payload one-time grants, and sweeps stale pending approvals on read/decide;runtime-job-workerretains runtime concurrency slots until unwinding executions settle and capsmaxQueueMs/ credential handoff TTLs to 30 minutes (see plugins);bootstrap/plugin-entryisolates cross-session in-flight loads, prunes inactive sessions, and boundswithSnapshotretries;model-relayserializes SSE writes; andai-providerreleasesLLMSlotbefore yielding final stream completion. - Runtime output validation failures show the correct recovery hint. Errors reported as
output-schema-invalidare now classified as invalid output instead of a generic failure. - Retrying an event follower gives it the event the original turn gave it. A runtime result now records
trigger: { topic, producerRunId }for a synchronous event follower. A scoped retry of that runtime reads this field from the runtime's own result in the original turn, so a later attempt without the event does not lose it, and hands it the first payload of that topic from the same producer, if the producer succeeded; other runtimes do not run again and no event is emitted. Results saved before this change have notrigger, so their followers are retried without an event. See limits of a batch recovery. - A retried runtime that failed can call write services again. In a scoped retry, a selected runtime whose result in the original turn failed may stage write-service operations; every other runtime still gets
unavailable. Retrying a rejected dice-check receipt now settles its cost once. A committed success in the source turn or a recovery is final: retrying a target that already succeeded is refused, and no later failure makes it retriable again, so it cannot charge twice. Only host-admitted recoveries (retry_runtime/retry_failed_runtimes, recorded asretryScope.recovery: true) count: a plugin RPC or job withretryFromTurnIdgets neither the original event nor write services, so neither its success nor its failure ends or reopens the task. See where write services cannot be called. - The inventory does not take a cost twice when a check is retried. The ledger credits the losses it takes from the prose per story turn and item (
prose-losses, key<turnId>/<item>), andinventory.change@1claims them first in a retry of that turn, reporting the removal asskipped. Both sides writeincoperations, so the targets of one batch recovery can claim different items, or parts of one item's credit, in the same commit. Inventory is 0.0.48. See built-in plugins · inventory. - Author SDK proposal payload types match kernel contracts with per-member key checks. Added missing optional fields on
narrative.append(segments,cues,yield),interaction.request(actionKind), andasset.generate.ref(url,meta) in@covel/plugin-handlers-utils, fixed the stale read-onlyPluginRpcContext.signalcomment, and added per-memberSameKeystype assertions in@covel/plugin-test-utils. chat-mode-narratornow receivesstory-context@1and world dimension tools. Added thestory-context@1kernel input binding andworld-dimension-get/world-dimension-listbuiltin tools tochat-mode-narrator, and replaced hardcoded"world-init"literals inplugins/world-initwithcovel.pluginId.@covel/test-runtimealigns with server admission and validation. Enforcedpermissions.httponcovel.httpand service/extension utils, validatedregisterRpc/registerFormValidator/registerWiresregistrations, wiredloadPluginDatasetsfor write-service dataset schema validation, and wired a real plugin-backedeventDirectory.--with-toolsplugin scaffolds pass checks out of the box. Removed the internal@covel/toolsdevDependency fromtemplates/plugin-with-tools, wired@covel/plugin-test-utilsandvitest.base.ts, added a templatedlocales/lock.jsonandpnpm installnext steps inscripts/create-plugin.js, and fixed an unclosed-brace infinite loop and negated glob handling inscripts/lib/push-scope.mjs.- Hardened server lifecycle, log rotation, startup ordering, graceful shutdown, scheduler, config flows, one-time event RPC approvals, and instance-plugin hot-reload.
server-log-teewrites rotation diagnostics to unwrappedstdout/stderrwith stream error handlers;providerSourcesbinds before startup hooks and background workers; startup failures and shutdown clean up every owned resource independently;graceful-shutdownalways drains before exiting and closes idle connections first;world-file-watcherhandleserrorevents;AppEventDispatcherbounds handler timeouts and enforcesplugin.instanceScopefor builtins;AppSchedulerseparates one-shot and recurring timers and fences stale runs on reload;ConfigFlowEnginereserves concurrency slots before asyncstart()and cleans up rollback/loopback state;scope: "once"community event approvals check non-destructively during preflight and consume atomically undersessionLock; hot-reloading an approved instance plugin preserves registrations and refreshes scope metadata; andpluginEntries.clearSession,eventDirectory.warnedConflicts, andbrowserWorkspaceCacheare bounded and cleaned up. - Hardened runtime execution, stream retries, subagent isolation, hook confinement, suspension resume, and event schema validation.
streamLLMWithRetryresets buffers and TTFB/idle guards onstream-resetand queue pause;ctx.agents.runforks world/plugin-data visibility and operations and commits only on success;TurnStart-confined plugins skip detached/background jobs;PostToolUsepinstoolCallId/nameand stringifies non-string replacement results; function-runtime suspensions preserve priortoolCallsandemittedEventsacross resume; rollback paths discard staged credentials whilesettled-session-locksupplies credentials to newly arrived unrunnable jobs;deepFreezeguards against cyclic graphs; server and@covel/test-runtimeshare draft 2020-12 event schema validation; and@covel/test-runtimereportschannel.bridge@1as a host-only extension point. - Hardened store backends, browser checkpoints, PostgreSQL startup/locking, media-store concurrency, vector backfill, world-data sync, and world/SillyTavern import. Browser checkpoints strip
embeddingModelId/embeddingLockedAt; PostgreSQL write counters locksessionswithFOR NO KEY UPDATE, install triggers idempotently withoutDROP TRIGGERlocks, and close pools on bootstrap failure; SQL journals chunk largeIN (...)queries; SQL repositories andMemoryStoreshare validation and rollback parity;isHiddenPluginDataNamespacerejects bare"_hidden."; PostgreSQLreleaseSessionacquires sorted advisory locks matchingclaimAssets; SQLite media store serializes DB operations on the connection write gate, cleans failed blobs, and sweeps aged orphan.binfiles;sync-datafinalizes media claims under the session lock andsync-data/sync-dimensionsschedule memory ingestion;createVectorIngestoryieldsrunIngestExclusivebetween backfill batches; world export requires non-empty manifest IDs and cleans temp backups;validateWorldPackagetargetsworldRootdirectly; bulk session world-data import/sync prefetches characters and lorebook entries once; and SillyTavern imports disambiguate colliding character names, preflight conversions, and skip incomplete PNG covers withpng-invalid. - Fixed browser-private hydration/recovery, streaming render isolation, model relay lifecycle, platform UI controls, and
SettingsStoreboundaries. Failed workspace hydration clears hydrating state and surfaces stalled retry controls; recovery polling stops after consecutive network failures; stale pending browser commits clear on409 browser_checkpoint_required; world mutations await catalog initialization before locking; structural session state flows through a dedicated context so token/step streaming does not re-render sidebars or plugin panels; panel switching resets cached state stores and crossfaded stage backdrops unmount replaced layers; model relay closes streams and aborts local fetches when disabled or endpoints disappear, resets404latches on updates, preserves manual vendor API keys alongsideprovider.source@1, and sends only explicitly resolved keys on AI probes; config flows preserve inputs during polling, scrub secrets on transitions/close, validate finite numbers, and cancel on unmount; status badges poll sequentially; floating windows preserve state across minimize/restore, stop drags onpointercancel, and close session windows on session switches; Permissions groups active session grants per plugin and retains Danger Zone confirmation on save errors; andSettingsStorerejects server-scoped keys in batch/replace/import writes and emits accurate notifications on partialclearAllfailures. - Fixed
story-eventsjudging/conditions/settlement and model-facing serialization in bundled plugins. Instory-events,compactWorldIR/compactDimensionsusemodelFacingJson, shorthand judge maps exclude reserved condition keys, missing inventory items evaluate numeric predicates as0, same-turn judge caches isolatepre-turnandauditphases, payload hidden options requirerevealedrather thanarmed, pendingrequireOutcomesettlements survive disabled/failed judging, pure-reward events are excluded from narrative delivery repeats,evaluateskips nested recursions, andMESSAGEwrites__turnId;char-creatorandworld-initpass character rosters and dimension values throughmodelFacingJson. - Desktop sidecar shutdown and health heartbeat avoid startup races. Concurrent
before-quitand failed-startup cleanup share one shutdown sequence per child process, heartbeat IPC checks!win.isDestroyed(), and server restarts resetlastHealthOk. - Saved API key edits immediately propagate to
llm.tomlreloads.PUT /api/config/keysmirrors updated non-external provider keys intoprocess.envsoreloadAiStackresolves${ENV}placeholders without a restart. - Last Train Out character names. The Chinese world introduction uses the same names as the Chinese character records.
- An action is no longer saved without a story when the story could not run because a runtime it depends on failed. When a story runtime's
needsor required input came from a runtime that failed in the same execution, the framework skipped the story but still committed the action: the other runtimes kept their writes and the player turn was counted, with no narrative. Such an action is now refused like a failed story, and the error names the runtime that failed. A story whose upstream was not scheduled or skipped itself, a story waiting for its plugin's setup, a story held back by a dependency cycle, and an execution in which another story succeeded still commit as before. Rules: transactions. - Default story providers remain available until plugin selection stabilizes. Overlapping default replacements and conflicts can no longer remove every story provider when a replacement subsequently loses its required contract. Dependent plugins can use a retained default. See framework contracts.
- Nested stories cannot release paid presentation work. Story messages retain kernel-owned call identity through suspension release and selector recovery, including when the same runtime also runs at top level. See presentation runtimes.
- Dimension-only world sync no longer overwrites non-dimension session records.
syncWorldDataForSessioniterates only the dimension-filtered write list whendimensionOnlyis enabled and respectsdeferMediaFinalizebefore finalizing imported media references. - Media cleanup preserves freshly re-claimed assets across all storage backends. Re-uploading or re-claiming a content-addressed asset refreshes its reference timestamp while keeping the original
pluginId, and PostgreSQLMediaStore.cleanup()runs expired-ref release and asset deletion under the same per-asset advisory lock. - SQLite, PostgreSQL, and Memory stores align on JSON string filters and vector operations.
queryPluginDatavalueFiltermatches strictly top-level JSON string fields across all three backends,deleteVectorschecks session incarnation consistently before returning when no embedding model is locked, andsearchVectorsbreaks equal-distance ties in deterministic byte order. - World revisions retain
themeMusicand UI spec caching recovers from transient failures.packages/createderivesWORLD_MANIFEST_ROOT_KEYSfromworldManifestSchema, andGET /api/ui-specsevicts rejected cache entries instead of pinning failed promises. - Settings store repairs, secret imports, and cross-tab localStorage recovery stay consistent. Concurrent dynamic registration of a second invalid key during async repair backup no longer bricks the store into read-only mode,
SettingsStore.import()notifies subscribers for changed secrets, secretset()writes schema-normalized values, andlocalStorageunusable-bundle archival acquires the cross-tab settings lock. - Web session UI panels, webview state pushes, and data services eliminate stale state and redundant work.
RightPanelplaces the framework/plugin rail divider dynamically when developer view is off,GameViewavoids stale breakpoint closures and memoizes model-use context,PluginWebviewskips duplicatepostMessagefull-state pushes when merged state is structurally unchanged,usePluginThemespreserves/api/ui-specsdeduplication, language switches avoid redundant plugin KV refetches, remotecreateSessionWorkspacetracks concurrent runs cleanly without retaining stale rejections, andLocalDataServicelocksupdateSession, normalizes world comparison JSON, and invalidates cached singletons on browser data reset. - Story notes respect the story runtime's selected model budget. The kernel now uses the same model resolution as agent execution, including session and request overrides, when limiting
story-context@1. Each story reader uses its own budget; function stories use their default text role without agent overrides. See story context. - Portable world contract data preserves
visibility: hidden. World packages imported throughmetadata.contractDatanow inheritvisibility: hiddenfrom plugin authoring conventions (or honor explicitvisibility: "hidden") and reject combining hidden visibility withlorebook: true. - A background or manual run that is refused before it commits no longer leaves its record looking like a crash. When a run is turned away after it finished but before its commit (the session was paused or ended, the approval or plugin version changed, a job's commit barrier refused it, or commit preparation failed), its
turn_resultsrow is now settledfailedinstead of stayingpending, the state reserved for crashes. Hosts settle such runs withabandonExecutionfrom@covel/runtime, and a row that already committed is never changed tofailed. Rules: transactions. - Fixed Keeper Ysolde's pronoun consistency and updated bundled world documentation. Corrected Ysolde's Chinese bio pronoun in Lantern Barrow and synchronized the enabled-plugin overview tables in the RPG plugin guide and its English counterpart.
Security
- Job cancellation and retry revalidate authorization under the session lock. A request waiting on the lock cannot change a same-ID job in a recreated session. See session writes.
- Server upgrades
@hono/node-serverto 2.1.8. Patches the WebSocket upgradeECONNRESETcrash (GHSA-qv5m-9pm6-hqp3) and backslash request-path handling advisory (GHSA-jpvv-r467-5p4w) within the seven-day release-age policy. - Desktop upgrades to Electron 45.3.1 (Node 24.22.2, Chromium 156.0.8078.96) and Undici 8.12.4. Picks up the eMudhra revoked RSA intermediate blocklist and the Node 24/Chromium/Undici security fixes that Electron 45.0.0 lacked. See runtime and HTTP client updates.
- Hard-disabled high-risk capabilities on shared and hosted web deployments.
browser-privateandhostedprofiles lockplugin.providerSource,channel.bridge,secrets.own,net.loopbackCallback,net.authProxy,plugin.instanceScope,compute.sandboxWorker,plugin.globalAutoEnable,network.localModels,app.scheduler, andexec.localBridgetodisabledat L1 regardless of operator credentials (security). - Desktop packaging no longer carries a minimatch release affected by the glob-pattern amplification advisory. The macOS universal-app merge and the template file lister used by electron-builder now resolve minimatch 11.0.3 instead of 9.0.9 and 5.1.9. The remaining minimatch 3 copies inside electron-builder predate the pattern preprocessing that the advisory concerns.
- Fail-closed L1 → L2 → L3 pre-checks and sticky denies across plugin approvals.
RpcApprovalGateenforces host capability ceilings, instance policies, and persistent plugin grants before queuing or honoring session approvals; digest tamper or capability escalation invalidates persistedallowgrants while stickydenyentries persist across updates and override implicittrust.sourcesgrants. - Server-only encrypted secret storage and strict provider-source isolation. Added host
SecretVault(secrets.own), ephemeral state-verified localhost OAuth callbacks (net.loopbackCallback), bounded proxy gating (net.authProxy), andpermissions.httporigin locking forprovider.source@1endpoints; provider source tokens remain server-side and are omitted fromX-Provider-Keys, web responses, traces, and error messages (Security, Plugin installation). - Enforced capability governance uniformly across runtimes, routes, and trust boundaries. Closed
plugin.communityCode: "operator-only"bypasses on shared hosts, enforcedplugin.declarativeL1–L3 policy across execution and fork paths, wired livenet.httpDeclaredchecks into function/presentation runtimes and providercontext.httphelpers (in both the server and@covel/test-runtime), and activated real enforcement forplugin.globalAutoEnable,session.bridgeWrite, andruntime.highRiskTools(security). - Hardened outbound HTTP, wire isolation, provider sources, sandbox workers, diagnostics redaction, and ZIP extraction.
fetchWithAuthProxyRetryenforces strict direct DNS pinning on fallback;provider.source@1validates RFC 9110 headers and invalidates caches on permission changes; media wires enforce plugin ownership matching text wires;sandbox-workerstrips hostenv/execArgvwith concurrency and payload caps;POST /api/ai/modelsandPOST /api/ai/pinggate diagnostics behindserver.diagnostics; and ZIP extraction enforces cumulative uncompressed size, expansion ratio, and collection budgets mid-stream. - Hardened rate limiting, request body draining, loopback OAuth callbacks, plugin instance routes, session/media endpoints, and plugin uninstall cleanup.
X-Forwarded-Foris parsed right-to-left skippingTRUSTED_PROXY_IPS; unread body draining streams with O(1) memory bounded to the route's own limit; loopback callback listeners enforce loopbackHostheaders,Content-Security-Policy: default-src 'none'; frame-ancestors 'none',X-Frame-Options: DENY,::1collision checks, and disconnect cleanup; instance app-action and config-flow routes activate only the target plugin, setCache-Control: no-storeon flows, and enforce a 30s action timeout;POST /api/sessions/:id/resumeredacts concealed runtimes;HookPipelinerunsrunsForbeforematch;/api/ui-specs?sessionId=verifies session incarnations;PUT /api/sessions/:id/plugins/:pluginIdrejects ended/deleting sessions;POST /api/sessions/:id/steer,messages/sync,runtime-outputs,interaction-records, and/api/mediaenforce authentication, payload, and pagination bounds; and uninstalling a community plugin purges its schedules, flows, provider-source cache, session approvals, secrets, instance data, and persistent grants (api). - Bounded local model relay resources and unblocked graceful shutdown. Added per-IP channel limits (
4), body idle timeouts (60s), byte-bounded buffering (4 MiBper request /64 MiBtotal), and abort-aware SSE heartbeats (security). - Plugin webview
srcURLs andwebview.entrypaths fail closed. Sandboxed plugin webviews reject non-/plugin-assets/paths, protocol-relative URLs, path traversal segments, and control characters before probing or connecting, andpluginUiSpecSchema/pluginUiSpecIssuesvalidatewebview.entrypath safety even whenwebview.rootis omitted. - Desktop IPC and navigation checks now enforce frame origin and exclude plugin pages. Main-frame navigation and privileged IPC channels validate
frame.origin(rejecting opaque"null"origins), exclude/plugin-assets/and/plugin-frame.html, and deny browser permissions by default (clipboard-sanitized-writeremains allowed for the trusted app frame). See security. - Plugin manifests reject YAML alias bombs and structural locale overwrites. Frontmatter parsing moved from
gray-mattertoyamlv2 (coreschema,maxAliasCount: 50, rejecting unresolved tags and multi-document streams), and localized manifest reconciliation only replaces allowed prose values without overwriting structural subtrees. - Non-session webviews no longer read raw session character data or unfiltered RPC responses.
webviewspecs withoutbridge: "session"rejectdataSource.source(session.characters,session.characterSchema), enforce surface-scoped handler allowlists, and serialize bridge RPC replies into bounded public outcomes. See UI panels. - Browser checkpoints, job retries, and approval scopes enforce stricter server boundaries. Browser checkpoint validation blocks forged
_runtime_jobsand kernel-reserved_namespaces, community plugin activation andPOST /api/sessions/:id/runtime-jobs/:jobId/retryenforceplugin.community, active status, and live approval grants, conflict-evicted plugins rotate their session approval scope, and event/RPC dispatch re-validates subscriber approvals inside the session lock. - Outbound HTTP, CORS, origin guard, and world CRUD responses are hardened.
url-safetystrips trailing FQDN dots before blocklist checks, pluginfetchWithRetrycapsRetry-Afterdelays,worldAuthoringFlightis scoped per target instead of globally,sidecarOriginsapply only onself,origin-guardcompares full scheme+host and checksTRUSTED_PROXY_IPS, and public world responses redactmetadata.storage.path.
Documentation
- Synchronized Chinese and English documentation, READMEs, and plugin docs. Updated the glossary, getting-started guides, reference pages, and bundled plugin READMEs for natural phrasing and consistent cross-edition terminology.
- World memory blocks extend the four defaults. Documentation and the bundled declaration now describe label deduplication and first-definition precedence. See memory extensions.
- Fixed factual deployment/protocol contradictions, broken heading anchors, and docs-only CI gaps. Reconciled
docs/reference/api.md(render.yamlbrowser-private trial vsDEPLOYMENT_TIER=demo), fixedmessage.completedforwarding metadata and documentedui.part.updateinprotocol.md, deduplicated repeated API summary rows, fixed all 7 broken#anchorlinks and stray Chinese anchors in English docs, added an automated#fragmentanchor test pluscheck-plugin-readmes.mjstopnpm test:docs, and updated stale governance paths indocs/AGENTS.mdanddocs/DOCS_STRATEGY.md.
Upgrade notes for v0.0.55
- Create a new Harukaze Academy session to use the revised starting data. Existing sessions retain their imported characters, dimensions, and events; this update does not migrate them. See world data for the countdown and route-event structure.
- Create a fresh Lantern Barrow development session for the revised map and alarm. Existing sessions retain their imported data.
- Recoveries saved before this change no longer count. Turn results written before
retryScope.recoveryexisted carry no mark, so a task recovered in an existing development session shows as failed again and can be retried, and pay, once more. Recreate development sessions in which failed tasks were recovered. - Recreate development story sources captured before call receipts. Old story messages and presentation jobs must not be reused as recovery sources; start a new development session. The host does not infer call identity from old data.
What's Changed
- fix(deps): refresh dependencies, move desktop to Electron 45.2.1 and minimatch 11 by @ackness in #506
- fix(web): keep the public trial's risk warning reachable by @ackness in #508
- fix(runtime): settle turn results of executions abandoned before commit by @ackness in #509
- refactor(server): queue commit follow-up work through one envelope by @ackness in #510
- refactor(runtime): split finalizeExecution by responsibility by @ackness in #511
- refactor(server): move player-turn orchestration out of the route handler by @ackness in #512
- fix(server): queue the detached jobs of manual and activated runs by @ackness in #514
- fix(build): invalidate lint and test caches when referenced workspace files change by @ackness in #515
- fix(runtime): refuse the action when a failed upstream held back the only story by @ackness in #516
- docs: document multi-instance limits and fix reference drift by @ackness in #519
- chore(plugins): enforce manifest sync with plugin:extract --check by @ackness in #525
- refactor(server): share the execution context across turn, resume and plugin runs by @ackness in #517
- refactor: centralize the desktop home and story contract decisions by @ackness in #518
- refactor(web): route SSE events through an exhaustive handler table by @ackness in #520
- refactor(plugins)!: make world IR optional for its consumers and merge its contracts by @ackness in #522
- refactor(test): reach other workspaces through public and testing entries by @ackness in #523
- chore(ai-provider): update LiteLLM model data to e58354f0 by @github-actions[bot] in #513
- refactor(server): split bootstrapApi into ordered subsystem stages by @ackness in #521
- fix(runtime): fail loudly when the hook scope is missing by @ackness in #526
- fix(runtime): confine auxiliary plugin failures to their own feature by @ackness in #527
- feat: add the story-context@1 kernel input by @ackness in #528
- refactor!: let the framework own the story contract by @ackness in #529
- chore(shared): freeze the root barrel by @ackness in #524
- fix: preserve execution consistency and simplify shared flows by @ackness in #531
- ci: bump the github-actions group with 2 updates by @dependabot[bot] in #532
- fix: align plugin admission and settle follow-up work centrally by @ackness in #533
- chore(ai-provider): update LiteLLM model data to 21215ceb by @github-actions[bot] in #534
- refactor(runtime)!: keep suspension top-level and drop nested continuation results by @ackness in #539
- feat(worlds)!: replace Emberback Relay with Last Train Out by @ackness in #535
- fix: keep manual runs out of fault latches and turn counts by @ackness in #536
- refactor(runtime)!: make plugin action and command stores read-only by @ackness in #540
- feat(worlds): P0 gameplay data and bilingual text polish for three bundled worlds by @ackness in #537
- feat(sdk): share condition leaf helpers through a conditions subpath by @ackness in #541
- feat(plugins): link checks, items, relationships and quest deadlines in Last Train by @ackness in #538
- fix(runtime): restore the trigger event and write services in scoped retries by @ackness in #542
- Refresh browser world libraries and improve world browsing by @ackness in #543
- feat(web): unify settings and stage layouts by @ackness in #544
- docs: unify player copy, translations, and stale code comments by @ackness in #545
- fix(deps): patch @hono/node-server advisories and refresh eligible dependencies by @ackness in #546
- feat(worlds): expand bundled worlds, lorebooks, quests, and extension docs by @ackness in #547
- fix(security): harden desktop IPC, plugin loader, webview, and server trust boundaries by @ackness in #548
- fix(runtime): harden scheduling, concurrency locks, event bus, and job workers by @ackness in #549
- fix(store): fix world sync, media cleanup, settings repair, and web panel reliability by @ackness in #550
- fix(sdk): align SDK types, test-runtime, scaffolds, and docs checks by @ackness in #551
- fix(server): allow same-host https origins behind TLS-terminating proxies by @ackness in #552
- feat(story-events): concealed semantic triggers, hidden options, hidden rewards & AI world generation by @ackness in #554
- feat: add plugin platform v2, L1-L4 permissions, and provider.source@1 gateway by @ackness in #555
- fix(security,runtime,store,web,plugins,ci): harden security boundaries, runtime lifecycle, storage, web/platform UI, story-events, schemas, and CI gates by @ackness in #557
- chore(ai-provider): update LiteLLM model data to e6573ba3 by @github-actions[bot] in #556
- fix(release,web,scene-stage): fix release-prepare matcher, clean changelog fragments, and polish session UI by @ackness in #558
- chore(release): prepare v0.0.55 by @ackness in #559
Full Changelog: v0.0.54...v0.0.55