Skip to content

Add scene clock with assistant-controlled updates - #1315

Open
rwilkin wants to merge 3 commits into
agnaistic:devfrom
rwilkin:feature/scene-clock
Open

Add scene clock with assistant-controlled updates#1315
rwilkin wants to merge 3 commits into
agnaistic:devfrom
rwilkin:feature/scene-clock

Conversation

@rwilkin

@rwilkin rwilkin commented Jun 27, 2026

Copy link
Copy Markdown

Summary

Adds an optional per-chat Scene Clock for roleplay conversations.

  • Adds manual date, time, format, calendar, and notes controls to the chat menu.
  • Injects the current Scene Clock state into generation prompts, including existing saved prompt orders and custom templates.
  • Persists Scene Clock settings through the chat update API.
  • Optionally allows assistants to update the clock using hidden structured markup.
  • Removes valid assistant update markup from visible chat messages and safely ignores malformed updates.

Why

Roleplay conversations often need a persistent in-scene date and time that is independent of real-world time. Keeping this state in the chat and prompt prevents the model from losing track of time across longer conversations.

Validation

  • npm.cmd run typecheck
  • npm.cmd run build:server
  • npm.cmd run build:win
  • npm.cmd test — 75 passing

@rwilkin
rwilkin marked this pull request as ready for review June 27, 2026 23:27
@rwilkin rwilkin changed the title [codex] Add scene clock with assistant-controlled updates Add scene clock with assistant-controlled updates Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant