mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1669] [Feature]: provide macros for world state in game time/date/weekday #1652
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1652
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stclaire on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1669
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Currently there are macros for real world time/date/weekday but no way to access the equivalent in game values in prompts, making it challenging to control other agents based on in game time. Being able to say if the current (in game) time is between x and y do z would be helpful.
Proposed package or change
Server code.
Why should this be optional?
You need the agent to track the in game time.
Alternatives considered
Additional context
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 25, 2026):
So, like {{date.world_state}}, for example, to retrieve the date returned by the tracker.
@SpicyMarinara commented on GitHub (Oct 25, 2026):
Owner: @SpicyMarinara / Codex. I am implementing the tracked in-world date, time, and weekday macros in the Engine prompt runtime, where macro resolution is owned. Work will target staging and link back here; existing real-world clock macros will keep their behavior.
@SpicyMarinara commented on GitHub (Oct 25, 2026):
Implemented in Engine PR #8301, merged to
stagingas6a758226c56431db3487279dc22d14bea17cd2c3from reviewed head79a2c4179b0a0e33ce2af8e0c8fbce071fe7a656; ancestry is verified.Use
{{date.world_state}},{{time.world_state}}, and{{weekday.world_state}}in prompts, conditionals and agent templates. These read the tracked scene clock, preserve its literal text and intentionally empty values, and keep existing real-world clock macros unchanged. Generation, regeneration, dry-run and live preview retain their selected snapshot; assembly-only previews can load the stored state.Full local
pnpm check, the complete prompt suite, real-database selected-swipe/null controls and local provider-prompt captures passed. The final repair had a substantive local CodeRabbit review, current-head Dottore was Viable, With Notes with its finding resolved, and all required CI, Node shards and platform jobs passed before merge. Post-merge staging CI is tracked separately as the sweep continues. Physical-device and real-provider checks are not claimed.