mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1471] [MERGED] fix(slurp2): read Engine Conversation Schedule ranges, stop endless follow-up postponement (0.3.48) #1477
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#1477
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1471
Author: @SpicyMarinara
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/slurp-schedule-ranges📝 Commits (4)
826c110fix(slurp2): read Engine Conversation Schedule ranges (0.3.48)545eaccfix(slurp2): keep a night block that runs into an empty day, tighten splash copy953902cMerge branch 'staging' into fix/slurp-schedule-ranges61c8071Merge branch 'staging' into fix/slurp-schedule-ranges📊 Changes
19 files changed (+724 additions, -400 deletions)
View changed files
➕
artifacts/slurp2-0.3.48.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/slurp2/CHANGELOG.md(+6 -0)📝
packages/slurp2/client.js(+1 -1)📝
packages/slurp2/manifest.json(+5 -5)📝
packages/slurp2/server.mjs(+282 -282)📝
packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts(+9 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/features/creators/slp-signals-service.ts(+1 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-post-beat-service.ts(+1 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/features/messages/slp-follow-up-scheduler-service.ts(+7 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/modules/creators/slp-creator-schedule-context.ts(+163 -65)📝
packages/slurp2/src/engine/packages/server/src/slp/modules/messages/slp-follow-up.ts(+12 -0)📝
scripts/build-feature-packages.mjs(+1 -1)➕
tests/slurp2-schedule-ranges.regression.ts(+194 -0)📄 Description
Pull request
Linked issue
Closes #1436
Why this change
timeas a range ("06:00-08:00"). Slurp's parser only accepted a bare"HH:MM", so every block was dropped and the schedule was silently ignored. Slurp's own "Refresh schedule" writes ranges too, so those were ignored as well.What changed
Package
slurp20.3.47 → 0.3.48 (above every published version, 0.3.47 being the highest). It follows the maintainer's decisions on the issue:packages/shared/src/utils/conversation-presence.ts), including ranges that cross midnight ("22:00-06:00"belongs to the day it starts on, so Monday 02:00 reads Sunday's night block). Bare"HH:MM"still works as before: it runs until the next block of its day, and the day's last one wraps round to the first.getCurrentStatus. A block no longer keeps running into the gap after it.statusdecides.offlineanddndare away,onlineandidleare reachable. Only a block without a usable status falls back to the activity keywords (SLURP_AWAY_ACTIVITIES). The wait (minutesUntilOnline) runs to the next reachable stretch the schedule covers, across midnight, and isnullwhen no reachable time is known.isFollowUpPastAwayLimit). It counts from the storedfirstDueAt, which postponement never moves. The needsReply, cool-off and night-quiet postpones are unchanged, and so is the roleplay-scene wait.slurpTimelineMoment()(post brief day plan, signals) reads the same segments.resolveSlurpCreatorScheduleBlocks()now also returns yesterday's and tomorrow's blocks for ranges that cross midnight. A card routine with no neighbouring days repeats daily.ab44a021c(name matching inside one tag or line, companion reference pictures from scene companions only). They were on staging but not yet in a published build.SLURP2_VERSION, aSLURP2_RELEASESsplash entry, and apackages/slurp2/CHANGELOG.mdentry marked[highlight].packages/slurp2/{manifest.json,client.js,server.mjs},artifacts/slurp2-0.3.48.zip,catalog/{,v2/,v3/}{catalog,notes}.json.MARINARA_ENGINE_ROOTpinned to Engineecd43884c(staging head before the 0.3.47 release). Rebuilding the 0.3.47 release commit (1e412360e) against that Engine reproduces the published package byte for byte.client.jsdiffers only by the version and splash entry.tests/slurp2-schedule-ranges.regression.ts. It fails on the old parser (actual: null) and covers range parsing (including midnight crossing and the wait across midnight), gap = free time, status mapping (dnd beats a reachable activity, idle beats an away word), the keyword fallback (no status and an unknown status), the day plan, the issue's own"00:00-07:00"shape end to end (no longerestimated), and the 12-hour limit plus its scheduler wiring.545eacc29, same Engine pinecd43884c):resolveSlurpCreatorScheduleBlocks()keeps a day with no blocks while yesterday's night block still runs into it, so the day plan and signals no longer fall back to the card routine at, say, Tuesday 01:00. The two splash lines now use the Engine's status labels and say only that being away no longer holds a late promise. The regression covers the empty-day case.Package and security impact
slurp2>=2.4.6)first_due_atalready exists and is already pinned on postpone.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdCommands run by the agent:
npm run check: exit 0 (0 errors; the only warning in changed files is a pre-existing one inslp-follow-up.ts:90)node scripts/test-catalog-lanes.mjs: exit 0node scripts/validate-package-locales.mjs: exit 0node scripts/validate-catalog.mjs: exit 0 (Catalog lanes valid: v2=39, v3=39; legacy=v2.)node scripts/tests/catalog-release-notes.regression.mjs: OKgit diff --check: cleannode scripts/typecheck-packages.mjs slurp2: no syntax errors, undefined names or unresolved modulestsx --tsconfig tests/tsconfig.regressions.json tests/<name>.regression.ts, one by one:slurp2-schedule-ranges(new) passes. These existing ones pass, and all of them also passed on untouched staging:slurp-messaging,slurp2-post-beats,slurp-schedule-status,slurp-conversation-schedule-refresh,slurp-follow-up-pipeline,slurp2-pulse-e,slurp2-v-followups,slurp2-pause-follow-ups-until-reply,slurp2-architecture,slurp2-release-notes,slurp-realism,slurp-felt-mood,slurp2-stir-follow-through,slurp2-fix1-away-card. Every regression that reads a touched file also passes:slurp-continuity-prompt,slurp-generation-prompts,slurp2-7c-fixes,slurp2-bonds,slurp2-character-essentials,slurp2-content-packs,slurp2-couples,slurp2-creator-ties,slurp2-drama-runtime,slurp2-life-moments,slurp2-message-deep-details,slurp2-messaging-bughunt,slurp2-post-purpose,slurp2-review-fixes,slurp2-shared-preseed,slurp2-sim-fixes,slurp2-slice-i,slurp2-steering-flavour,slurp2-step6-5-cooldowns,slurp2-trends. No new failures.Manual verification notes
onlineblock, anofflineordndblock, and a gap between blocks (free time, online).offlineblock that crosses midnight (e.g.23:00-07:00) that the header's "back in" time runs to the next reachable block on the next day.slurp2_follow_upstable that a pending follow-up whosefirst_due_atis more than 12 hours old is sent at its next due check while the Creator is away, and that one withneedsReply, an active cool-off or night quiet is still postponed.Documentation impact
The agent found no README or package doc that describes schedule-driven availability, so the agent changed no docs. The behaviour change is in
packages/slurp2/CHANGELOG.mdand the splash.UI evidence (if applicable)
No UI changes. Only the "What's new" sheet gets a new entry.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.