Skip to content

Covel v0.0.55

Choose a tag to compare

@github-actions github-actions released this 26 Nov 15:19
· 86 commits to main since this release
9889608

[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.deferredFollowers and deferredRuntimeJobs in extraInTx; 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 of runtimeDoneTool, isRuntimeDoneSentinel and RuntimeDoneSentinel; the unused runtime-done tool is no longer exported.
  • A story agent without an output schema submits story segments. A schema-less io.visibility: story agent used to get a host default of {narrativeOutput, yield?}. It now submits the narrative-engine@2 story shape (segments, optional cues and yield). A submission with only narrativeOutput is 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 writes io.output.contract is 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:plugin reports them and installation refuses the package). Give the others trigger.type: manual or event, or move them to their own package.
  • A session admits one story package. Two packages that both provide narrative-engine@2 are mutually exclusive without writing conflicts. The second one is refused with single-provider-conflict. A written conflicts: [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 of emberback must 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.recursiveCall and then returns suspended now 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 inside ctx.recursiveCall fails 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 call ctx.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.setPluginData is 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 with invokeRuntime, whose ctx.pluginData writes commit through the proposal transaction. The management REST PUT / DELETE overrides are unchanged. See plugin communication. No development data needs rebuilding.
  • Encrypted SecretVault now uses per-file salted scrypt and rejects plaintext downgrade files. When COVEL_CREDENTIALS_KEY is configured, SecretVault derives keys with per-file random-salt scrypt (AES-256-GCM with strict 12-byte IV and 16-byte tag checks) and refuses to read older SHA-256 or unencrypted (encrypted: false) files on disk. Re-save plugin credentials under <config>/secrets/ if migrating an existing development directory (env-registry).
  • exec.localBridge is locked as a reserved capability. Policy overrides (PUT /api/permissions/policy / COVEL_PERMISSIONS_POLICY) and persistent plugin grants targeting exec.localBridge are 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) and world-ir@1 (the shared fact schema) are replaced by world-ir@2, which is both. Bind from: { contract: world-ir@2 }, write schema: contract:world-ir@2 in world data sources, and use from: "contract:world-ir@2" in worldProjections. 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 named contract: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-check accepts check.consequences@1 (data/check-consequences.yaml) and check.clocks@1 (data/check-clocks.yaml). Each failed check pays the most specific cost it can still pay: an item taken through inventory.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 paginated inventory.bag@2 service reports it, and dice-check adds the best carried item for each attribute to its modifier. Custom providers and callers must switch to inventory.bag@2 and support offset; saved bags do not need to be recreated. See how items and relationships change a check.
  • NPCs who have gone cold make checks harder. affinity provides the read service affinity.tier@1 (scores and tiers by name). A check whose receipt names an NPC below the neutral tier in its new optional with field is one difficulty step harder for each tier below neutral. A clock in check.clocks@1 can also raise attributes 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-quest reads deadline: { when, label, missed } on a quest or objective. when is a dimension condition, a world-time value, an NPC's affinity ({ affinity: <name>, path: tier, in: [...] }) or a turn number. The new pre-turn runtime core-quest/deadline fails overdue quests, marks missed objectives, and tells the narrator through story-context@1. See quest deadlines.
  • world-time-context@1 carries elapsedSinceStart. Time deadlines and hidden plot time conditions 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 in GET /api/health under deployment.capabilities, and added COVEL_DISABLED_CAPABILITIES for 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 L2 permissions.policy server setting (overridable via COVEL_PERMISSIONS_POLICY) and the L3 plugin_grants store table bound to each community package's content digest and capability snapshot; unified GET /api/permissions/snapshot, PUT /api/permissions/policy, GET /api/permissions/plugins, and PUT / DELETE /api/permissions/plugins/:pluginId/grants endpoints, plus additive grants listing on GET /api/sessions/:id/approvals and "persistent-grant" on serverCodeApprovedBy. See HTTP API, Environment registry, and Security.
  • pnpm check verifies that bundled plugins declare what their entries register. pnpm check:manifests now also runs plugin:extract --check on every bundled plugin with an entry, in one process, and lists the differing keys with the fix command. pnpm validate:plugin stays static. Documented in commands and plugins with local code.
  • pnpm plugin:extract syncs extensions. Extensions are added and dropped by <point>/<id>; options such as order and slot of entries that stay registered are kept. commands is still only reported.
  • Plugin Platform v2 (apiVersion: 2, scope: instance | both) primitives. Added lazy activationEvents, package-isolated covel.secrets and covel.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 with openPluginConfigFlow UI wizard), read-only appEvents + bounded schedules, 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). Added contributes.providerSources and covel.registerProviderSources backed by GET /api/provider-sources, GET /api/provider-sources/:pluginId/:sourceId/usage, source/account bindings in presets, slots, POST /api/ai/models, POST /api/ai/ping, and GET /api/model-db/lookup?credentials=1, gateway single-flight 401 token refresh, multi-account 429/auth failover, requestShape (openai-responses instructions, store: false, forceStream SSE 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 sourceTurnId when 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. callTestService accepts caller.sourceTurnId to 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.html to 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-turn runtime declares io.storyContext (select, priority, order) to point at a value in its own output: text, { title, content }, or null for nothing to say. A reader, usually the narrator, writes from: { kernel: story-context@1 } and gets every note of the turn, ranked by priority, deduplicated and fitted into min(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 read ctx.inputs. An invalid note is left out without failing its provider, and the reader's trace records a story-context.selected event that names a concealed provider by its package display name only. The SDK exports STORY_CONTEXT_INPUT, the StoryContext* types and storyContextContributionSchema; @covel/plugin-test-utils adds storyContextSlot. See the kernel input story-context@1 and add a note for the story.
  • Hidden plot events now support semantic condition judging, hidden options, and hidden rewards. story-events extends contract:story.events@1 additively with natural-language judge conditions (and string shorthand), affinity / item / attribute / selected deterministic leaves, unlockable options[], and rewards[] (item, lorebook, narrative). A concealed audit evaluator (story-events/assess) and read-only sub-agent (story-events/judge) short-circuit deterministic gates, batch shortlisted semantic checks under semanticJudge / maxJudgedPerTurn without 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 into stage.choices@1 in Stage mode. Both mistport and haruka-academy include 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 by id, story-events declares authoring.generate: offer with a localized summary, and generated packages, portable contractData, and fallback descriptors all preserve visibility: "hidden" without projecting to the lorebook. World translation also preserves condition identifiers (dimension, attribute, revealed, selected, timing, scope) while translating watch.keywords. See Advanced Plugin Guide.
  • Check clocks, item modifiers, and timed quests across bundled worlds. lantern-barrow now wires check.clocks@1, check.consequences@1, and check bonuses on starter gear alongside deadline-backed quests and selective lorebook entries. haruka-academy adds four school-festival quests with countdown deadlines and selective campus lorebook entries. mistport adds a deep-ebb flood deadline on Echo Gallery preservation, selective district lore entries, and a third-act standoff event at the Bone Arch. last-train adds 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@1 fails, 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 read world.dimensions@1 as an optional input run without it for the turn. A story that requires world.dimensions@1 as 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. The dimension-snapshot-unavailable skip reason is gone. Rules: World Model.
  • A failing TurnStart hook 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 reason hook-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 return abort; 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 deliberate abort works as before, and the failure still counts toward the fault latch. Rules: Hooks.
  • A failed PreRuntime handler skips the runtime it judged with the reason hook-failed. A failed guard hook never lets through what it judged: PreRuntime skips the runtime and PreStateCommit rejects 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-builder 26.18.1, @json-render/* 0.22.0, i18next 27.1.1, react-i18next 18.0.1, jsdom 31.0.1, lucide-react 1.72.0, react-resizable-panels 4.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's postgres client stays on 3.x.
  • The framework owns the story contract. An automatically scheduled story runtime provides narrative-engine@2 without declaring io.output.contract, root contracts or conflicts, and a story agent submits its schema without declaring io.output.schema. pnpm validate:plugin warns 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 bare narrativeOutput included, 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.
  • narrator reads story-context@1. Providers such as quest deadlines now reach the story prompt.
  • check.resolved validates 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 MissingHookScopeError instead of every plugin's handlers running without their settings; wrap that code in runWithHookScope. 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 contributes disagree fails to load with the fix command in the error. Undeclared registration, Missing registration, Undeclared extension and Missing extension implementation errors now end with Sync 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 action segments no longer display a default speaker nameplate in Read mode (Stage mode continues to highlight acting speakers, and explicit action segment templates still match). Dialogue blocks use a subtle left accent rail, soft surface tint, and distinct vertical spacing against surrounding narration, and the bundled scene-stage dialogue template uses the new Text variant: "accent" style so templated and default speaker nameplates match across themes (UI components).
  • Tightened author-facing manifest schemas and regenerated JSON Schema artifacts. contributes.data validates plugin namespace keys; runtime io.inputs keys, JSON Pointers, schema references, recordAs names, and agent.completion.afterTools entries reject malformed or blank inputs; and plugin-manifest.schema.json enforces minProperties: 1 on contributes.worldProjections and its outputs.
  • 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-player restores theme-defined player message styles in paper, modern, abyss, and aurora.
  • 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 longer require it, 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*.md and world*.yaml across all four bundled worlds to align terminology (Bag), remove technical plugin ID leaks from player-facing copy, separate narrator-only extension 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.detached is deferred to the durable job queue instead of running inline. The sync manual RPC and background manual jobs dropped that job, so the request answered ok while the runtime never ran. Both now queue it in the same commit transaction as the player's turn does and list it in deferredJobs. 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 package userSettings defaults 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-guard now upgrades a plain http: request's expected scheme to https: on the same Host when X-Forwarded-Proto: https or RFC 7239 Forwarded: proto=https is present, fixing 403 origin_not_allowed on Render and similar cloud deployments where TRUSTED_PROXY_IPS cannot pin dynamic proxy ranges, while keeping X-Forwarded-Host restricted to TRUSTED_PROXY_IPS and still blocking cross-site writes and http:// 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 PreSchedule hook filtering, DAG scheduling isolates independent dead cycles without falsely skipping optional or satisfied cardinality: one input bindings, runEventChain halts on mid-chain aborts and applies COVEL_EFFECTS_POLICY, resumeSuspendedRuntime builds fallback hook scopes from all active runtimes, and non-player late-setup completions attach sessionClock without 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 failed loadingBudget promises for retry, and avoid leaking calls/actors quotas 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, PostLLMResponse preserves non-empty correction values across chained handlers while pinning immutable PreStateCommit envelopes and validating replace field shapes, and llm-retry guards 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 and invalidateReplay avoids allocating state for untracked sessions; RpcApprovalGate bounds sessionCache, isolates multi-payload one-time grants, and sweeps stale pending approvals on read/decide; runtime-job-worker retains runtime concurrency slots until unwinding executions settle and caps maxQueueMs / credential handoff TTLs to 30 minutes (see plugins); bootstrap/plugin-entry isolates cross-session in-flight loads, prunes inactive sessions, and bounds withSnapshot retries; model-relay serializes SSE writes; and ai-provider releases LLMSlot before yielding final stream completion.
  • Runtime output validation failures show the correct recovery hint. Errors reported as output-schema-invalid are 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 no trigger, 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 as retryScope.recovery: true) count: a plugin RPC or job with retryFromTurnId gets 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>), and inventory.change@1 claims them first in a retry of that turn, reporting the removal as skipped. Both sides write inc operations, 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), and asset.generate.ref (url, meta) in @covel/plugin-handlers-utils, fixed the stale read-only PluginRpcContext.signal comment, and added per-member SameKeys type assertions in @covel/plugin-test-utils.
  • chat-mode-narrator now receives story-context@1 and world dimension tools. Added the story-context@1 kernel input binding and world-dimension-get/world-dimension-list builtin tools to chat-mode-narrator, and replaced hardcoded "world-init" literals in plugins/world-init with covel.pluginId.
  • @covel/test-runtime aligns with server admission and validation. Enforced permissions.http on covel.http and service/extension utils, validated registerRpc/registerFormValidator/registerWires registrations, wired loadPluginDatasets for write-service dataset schema validation, and wired a real plugin-backed eventDirectory.
  • --with-tools plugin scaffolds pass checks out of the box. Removed the internal @covel/tools devDependency from templates/plugin-with-tools, wired @covel/plugin-test-utils and vitest.base.ts, added a templated locales/lock.json and pnpm install next steps in scripts/create-plugin.js, and fixed an unclosed-brace infinite loop and negated glob handling in scripts/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-tee writes rotation diagnostics to unwrapped stdout/stderr with stream error handlers; providerSources binds before startup hooks and background workers; startup failures and shutdown clean up every owned resource independently; graceful-shutdown always drains before exiting and closes idle connections first; world-file-watcher handles error events; AppEventDispatcher bounds handler timeouts and enforces plugin.instanceScope for builtins; AppScheduler separates one-shot and recurring timers and fences stale runs on reload; ConfigFlowEngine reserves concurrency slots before async start() and cleans up rollback/loopback state; scope: "once" community event approvals check non-destructively during preflight and consume atomically under sessionLock; hot-reloading an approved instance plugin preserves registrations and refreshes scope metadata; and pluginEntries.clearSession, eventDirectory.warnedConflicts, and browserWorkspaceCache are bounded and cleaned up.
  • Hardened runtime execution, stream retries, subagent isolation, hook confinement, suspension resume, and event schema validation. streamLLMWithRetry resets buffers and TTFB/idle guards on stream-reset and queue pause; ctx.agents.run forks world/plugin-data visibility and operations and commits only on success; TurnStart-confined plugins skip detached/background jobs; PostToolUse pins toolCallId/name and stringifies non-string replacement results; function-runtime suspensions preserve prior toolCalls and emittedEvents across resume; rollback paths discard staged credentials while settled-session-lock supplies credentials to newly arrived unrunnable jobs; deepFreeze guards against cyclic graphs; server and @covel/test-runtime share draft 2020-12 event schema validation; and @covel/test-runtime reports channel.bridge@1 as 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 lock sessions with FOR NO KEY UPDATE, install triggers idempotently without DROP TRIGGER locks, and close pools on bootstrap failure; SQL journals chunk large IN (...) queries; SQL repositories and MemoryStore share validation and rollback parity; isHiddenPluginDataNamespace rejects bare "_hidden."; PostgreSQL releaseSession acquires sorted advisory locks matching claimAssets; SQLite media store serializes DB operations on the connection write gate, cleans failed blobs, and sweeps aged orphan .bin files; sync-data finalizes media claims under the session lock and sync-data/sync-dimensions schedule memory ingestion; createVectorIngestor yields runIngestExclusive between backfill batches; world export requires non-empty manifest IDs and cleans temp backups; validateWorldPackage targets worldRoot directly; 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 with png-invalid.
  • Fixed browser-private hydration/recovery, streaming render isolation, model relay lifecycle, platform UI controls, and SettingsStore boundaries. Failed workspace hydration clears hydrating state and surfaces stalled retry controls; recovery polling stops after consecutive network failures; stale pending browser commits clear on 409 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, resets 404 latches on updates, preserves manual vendor API keys alongside provider.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 on pointercancel, and close session windows on session switches; Permissions groups active session grants per plugin and retains Danger Zone confirmation on save errors; and SettingsStore rejects server-scoped keys in batch/replace/import writes and emits accurate notifications on partial clearAll failures.
  • Fixed story-events judging/conditions/settlement and model-facing serialization in bundled plugins. In story-events, compactWorldIR/compactDimensions use modelFacingJson, shorthand judge maps exclude reserved condition keys, missing inventory items evaluate numeric predicates as 0, same-turn judge caches isolate pre-turn and audit phases, payload hidden options require revealed rather than armed, pending requireOutcome settlements survive disabled/failed judging, pure-reward events are excluded from narrative delivery repeats, evaluate skips nested recursions, and MESSAGE writes __turnId; char-creator and world-init pass character rosters and dimension values through modelFacingJson.
  • Desktop sidecar shutdown and health heartbeat avoid startup races. Concurrent before-quit and failed-startup cleanup share one shutdown sequence per child process, heartbeat IPC checks !win.isDestroyed(), and server restarts reset lastHealthOk.
  • Saved API key edits immediately propagate to llm.toml reloads. PUT /api/config/keys mirrors updated non-external provider keys into process.env so reloadAiStack resolves ${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 needs or 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. syncWorldDataForSession iterates only the dimension-filtered write list when dimensionOnly is enabled and respects deferMediaFinalize before 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 PostgreSQL MediaStore.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. queryPluginData valueFilter matches strictly top-level JSON string fields across all three backends, deleteVectors checks session incarnation consistently before returning when no embedding model is locked, and searchVectors breaks equal-distance ties in deterministic byte order.
  • World revisions retain themeMusic and UI spec caching recovers from transient failures. packages/create derives WORLD_MANIFEST_ROOT_KEYS from worldManifestSchema, and GET /api/ui-specs evicts 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, secret set() writes schema-normalized values, and localStorage unusable-bundle archival acquires the cross-tab settings lock.
  • Web session UI panels, webview state pushes, and data services eliminate stale state and redundant work. RightPanel places the framework/plugin rail divider dynamically when developer view is off, GameView avoids stale breakpoint closures and memoizes model-use context, PluginWebview skips duplicate postMessage full-state pushes when merged state is structurally unchanged, usePluginThemes preserves /api/ui-specs deduplication, language switches avoid redundant plugin KV refetches, remote createSessionWorkspace tracks concurrent runs cleanly without retaining stale rejections, and LocalDataService locks updateSession, 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 through metadata.contractData now inherit visibility: hidden from plugin authoring conventions (or honor explicit visibility: "hidden") and reject combining hidden visibility with lorebook: 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_results row is now settled failed instead of staying pending, the state reserved for crashes. Hosts settle such runs with abandonExecution from @covel/runtime, and a row that already committed is never changed to failed. 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-server to 2.1.8. Patches the WebSocket upgrade ECONNRESET crash (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-private and hosted profiles lock plugin.providerSource, channel.bridge, secrets.own, net.loopbackCallback, net.authProxy, plugin.instanceScope, compute.sandboxWorker, plugin.globalAutoEnable, network.localModels, app.scheduler, and exec.localBridge to disabled at 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. RpcApprovalGate enforces host capability ceilings, instance policies, and persistent plugin grants before queuing or honoring session approvals; digest tamper or capability escalation invalidates persisted allow grants while sticky deny entries persist across updates and override implicit trust.sources grants.
  • 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), and permissions.http origin locking for provider.source@1 endpoints; provider source tokens remain server-side and are omitted from X-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, enforced plugin.declarative L1–L3 policy across execution and fork paths, wired live net.httpDeclared checks into function/presentation runtimes and provider context.http helpers (in both the server and @covel/test-runtime), and activated real enforcement for plugin.globalAutoEnable, session.bridgeWrite, and runtime.highRiskTools (security).
  • Hardened outbound HTTP, wire isolation, provider sources, sandbox workers, diagnostics redaction, and ZIP extraction. fetchWithAuthProxyRetry enforces strict direct DNS pinning on fallback; provider.source@1 validates RFC 9110 headers and invalidates caches on permission changes; media wires enforce plugin ownership matching text wires; sandbox-worker strips host env/execArgv with concurrency and payload caps; POST /api/ai/models and POST /api/ai/ping gate diagnostics behind server.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-For is parsed right-to-left skipping TRUSTED_PROXY_IPS; unread body draining streams with O(1) memory bounded to the route's own limit; loopback callback listeners enforce loopback Host headers, Content-Security-Policy: default-src 'none'; frame-ancestors 'none', X-Frame-Options: DENY, ::1 collision checks, and disconnect cleanup; instance app-action and config-flow routes activate only the target plugin, set Cache-Control: no-store on flows, and enforce a 30s action timeout; POST /api/sessions/:id/resume redacts concealed runtimes; HookPipeline runs runsFor before match; /api/ui-specs?sessionId= verifies session incarnations; PUT /api/sessions/:id/plugins/:pluginId rejects ended/deleting sessions; POST /api/sessions/:id/steer, messages/sync, runtime-outputs, interaction-records, and /api/media enforce 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 MiB per request / 64 MiB total), and abort-aware SSE heartbeats (security).
  • Plugin webview src URLs and webview.entry paths fail closed. Sandboxed plugin webviews reject non-/plugin-assets/ paths, protocol-relative URLs, path traversal segments, and control characters before probing or connecting, and pluginUiSpecSchema / pluginUiSpecIssues validate webview.entry path safety even when webview.root is 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-write remains allowed for the trusted app frame). See security.
  • Plugin manifests reject YAML alias bombs and structural locale overwrites. Frontmatter parsing moved from gray-matter to yaml v2 (core schema, 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. webview specs without bridge: "session" reject dataSource.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_jobs and kernel-reserved _ namespaces, community plugin activation and POST /api/sessions/:id/runtime-jobs/:jobId/retry enforce plugin.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-safety strips trailing FQDN dots before blocklist checks, plugin fetchWithRetry caps Retry-After delays, worldAuthoringFlight is scoped per target instead of globally, sidecarOrigins apply only on self, origin-guard compares full scheme+host and checks TRUSTED_PROXY_IPS, and public world responses redact metadata.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.yaml browser-private trial vs DEPLOYMENT_TIER=demo), fixed message.completed forwarding metadata and documented ui.part.update in protocol.md, deduplicated repeated API summary rows, fixed all 7 broken #anchor links and stray Chinese anchors in English docs, added an automated #fragment anchor test plus check-plugin-readmes.mjs to pnpm test:docs, and updated stale governance paths in docs/AGENTS.md and docs/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.recovery existed 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