[GH-ISSUE #1436] [Issue]: Slurp cannot read Engine Conversation Schedules, so scheduled follow-ups postpone indefinitely #728

Closed
opened 2026-10-20 17:30:08 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @megaeee on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1436

Originally assigned to: @Gunterlie, @SpicyMarinara on GitHub.

Summary

Slurp's schedule parser only accepts a bare HH:MM, but the Engine stores each schedule block's
time as a range ("06:00-08:00"). Every block is discarded, the schedule is silently ignored, and
availability falls back to guessing from the Creator's last post. For a Creator who posts regularly,
that guess keeps them permanently "away", and their scheduled follow-ups are postponed forever.

Affected package

slurp2 (0.3.47)

Expected behavior

A Creator whose source character has a Conversation Schedule has their availability driven by that
schedule, and a promised follow-up is eventually delivered.

Actual behavior

minutesOfDay() in slp-creator-schedule-context.ts matches /^(\d{1,2}):(\d{2})$/, while the
Engine's shared ScheduleBlock documents time as an hour range and parses it by splitting on -
(packages/shared/src/utils/conversation-presence.ts). Every block parses to null, the timeline is
empty, the schedule evaluator returns null, and inferAvailabilityFromActivity() takes over.
In that fallback, a Creator who posted 2-12 hours ago is away for a value drawn from
messagesStalePostAway{Min,Max}Minutes (120-240 by default), seeded by creator ID + calendar date, so
it is one constant for the whole day. Each time a follow-up comes due, the scheduler sees "offline,
back in N minutes" and slides it by exactly N. Delivery only happens if a due check lands within
15 minutes of a fresh post, or if the last post is older than 12 hours.
The same parser feeds slurpTimelineMoment(), so the post brief's day plan loses the schedule too.

Steps to reproduce

  1. Give a character a Conversation Schedule in the Engine (blocks stored as "00:00-07:00" etc.).
  2. Use that character as a Slurp Creator with auto-posting on, roughly every 10 hours.
  3. Have the Creator schedule a follow-up in a DM thread.
  4. Watch the row in slurp2_follow_ups: it is claimed and re-postponed by a fixed number of minutes
    on every due check, and never sends.

Environment

  • Marinara Engine version: 2.5.0 (commit 263a92c3)
  • Package version: slurp2 0.3.47 (built against Engine 2.4.6)
  • Install type: source
  • OS + version: Windows 10.0.26300
  • Browser or app shell: browser at 127.0.0.1:7860

Logs, screenshots, or video

Two follow-ups in one thread, pending ~20 hours, each postponed by exactly 230 minutes on its last
two due checks (02:03:48Z -> 05:53:48Z and 02:27:48Z -> 06:17:48Z). The thread has
needsReply: false and coolUntil: null, and nightQuiet is off, which rules out the other three
postpone branches and leaves the availability gate.
230 minutes is reproducible from the fallback's own seed for that character and date:
round(lerp(120, 240, (simpleHash(entityId + "Sat Oct 17 2026" + "midday") % 120) / 119)) === 230.

Additional context

Workaround: Slurp Settings -> Messaging -> Always reachable without a schedule.
Decisions needed before a patch, since not all of this looks accidental:

  1. Gap semantics. The Engine treats an instant not covered by any block as "online / free time";
    Slurp keeps the previous block running until the next one starts. Which should win once ranges
    parse?
  2. status vs keywords. Slurp derives reachability by keyword-matching the activity text, and
    SLURP_AWAY_ACTIVITIES documents this as deliberate ("a creator at lunch or on the train still
    answers a DM"). Should it instead honour each block's status, and how should idle and dnd
    map to proactive follow-ups?
  3. Unbounded postponement. A promised DM can slide indefinitely with no cap. Should an overdue
    follow-up eventually be delivered late, be cancelled, or be capped at some age?
    Rollout note: fixing the parser alone silently activates real schedules for every existing Creator
    whose character has one, which is a visible behaviour change worth calling out in release notes.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @megaeee on GitHub (Oct 17, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1436 Originally assigned to: @Gunterlie, @SpicyMarinara on GitHub. ## Summary Slurp's schedule parser only accepts a bare `HH:MM`, but the Engine stores each schedule block's `time` as a range (`"06:00-08:00"`). Every block is discarded, the schedule is silently ignored, and availability falls back to guessing from the Creator's last post. For a Creator who posts regularly, that guess keeps them permanently "away", and their scheduled follow-ups are postponed forever. ## Affected package slurp2 (0.3.47) ## Expected behavior A Creator whose source character has a Conversation Schedule has their availability driven by that schedule, and a promised follow-up is eventually delivered. ## Actual behavior `minutesOfDay()` in `slp-creator-schedule-context.ts` matches `/^(\d{1,2}):(\d{2})$/`, while the Engine's shared `ScheduleBlock` documents `time` as an hour range and parses it by splitting on `-` (`packages/shared/src/utils/conversation-presence.ts`). Every block parses to `null`, the timeline is empty, the schedule evaluator returns `null`, and `inferAvailabilityFromActivity()` takes over. In that fallback, a Creator who posted 2-12 hours ago is away for a value drawn from `messagesStalePostAway{Min,Max}Minutes` (120-240 by default), seeded by creator ID + calendar date, so it is one constant for the whole day. Each time a follow-up comes due, the scheduler sees "offline, back in N minutes" and slides it by exactly N. Delivery only happens if a due check lands within 15 minutes of a fresh post, or if the last post is older than 12 hours. The same parser feeds `slurpTimelineMoment()`, so the post brief's day plan loses the schedule too. ## Steps to reproduce 1. Give a character a Conversation Schedule in the Engine (blocks stored as `"00:00-07:00"` etc.). 2. Use that character as a Slurp Creator with auto-posting on, roughly every 10 hours. 3. Have the Creator schedule a follow-up in a DM thread. 4. Watch the row in `slurp2_follow_ups`: it is claimed and re-postponed by a fixed number of minutes on every due check, and never sends. ## Environment - Marinara Engine version: 2.5.0 (commit 263a92c3) - Package version: slurp2 0.3.47 (built against Engine 2.4.6) - Install type: source - OS + version: Windows 10.0.26300 - Browser or app shell: browser at 127.0.0.1:7860 ## Logs, screenshots, or video Two follow-ups in one thread, pending ~20 hours, each postponed by exactly 230 minutes on its last two due checks (02:03:48Z -> 05:53:48Z and 02:27:48Z -> 06:17:48Z). The thread has `needsReply: false` and `coolUntil: null`, and `nightQuiet` is off, which rules out the other three postpone branches and leaves the availability gate. 230 minutes is reproducible from the fallback's own seed for that character and date: `round(lerp(120, 240, (simpleHash(entityId + "Sat Oct 17 2026" + "midday") % 120) / 119)) === 230`. ## Additional context Workaround: Slurp Settings -> Messaging -> **Always reachable without a schedule**. Decisions needed before a patch, since not all of this looks accidental: 1. **Gap semantics.** The Engine treats an instant not covered by any block as "online / free time"; Slurp keeps the previous block running until the next one starts. Which should win once ranges parse? 2. **`status` vs keywords.** Slurp derives reachability by keyword-matching the activity text, and `SLURP_AWAY_ACTIVITIES` documents this as deliberate ("a creator at lunch or on the train still answers a DM"). Should it instead honour each block's `status`, and how should `idle` and `dnd` map to proactive follow-ups? 3. **Unbounded postponement.** A promised DM can slide indefinitely with no cap. Should an overdue follow-up eventually be delivered late, be cancelled, or be capped at some age? Rollout note: fixing the parser alone silently activates real schedules for every existing Creator whose character has one, which is a visible behaviour change worth calling out in release notes. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:30:08 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 17, 2026):

@Gunterlie

<!-- gh-comment-id:6233363852 --> @SpicyMarinara commented on GitHub (Oct 17, 2026): @Gunterlie
Author
Owner

@SpicyMarinara commented on GitHub (Oct 19, 2026):

@megaeee @Gunterlie, thank you for the detailed report. Here are the maintainer's decisions on the open questions:

  1. Parsing: Slurp reads "HH:MM-HH:MM" ranges the way the Engine does (conversation-presence.ts), including ranges that cross midnight such as "22:00-06:00". Bare "HH:MM" keeps working.
  2. Gaps: an instant no block covers is free time, online, the same as the Engine's getCurrentStatus. Slurp no longer keeps the previous block running into the gap.
  3. Reachability: each block's status decides. offline and dnd mean away for proactive follow-ups; online and idle mean reachable. Only a block without a usable status falls back to the activity keywords (SLURP_AWAY_ACTIVITIES).
  4. No endless postponement: a follow-up more than 12 hours past its original due time (the stored first_due_at, which postponing never moves) is delivered at its next due check even if the Creator is away. The needsReply, cool-off and night-quiet postpones are unchanged.

The post brief's day plan (slurpTimelineMoment()) uses the same parser. The release notes call out the visible change: Creators whose character has a Conversation Schedule now follow it.

PR: Pasta-Devs/Marinara-Agents#1471 (Slurp 0.3.48)

<!-- gh-comment-id:6264339886 --> @SpicyMarinara commented on GitHub (Oct 19, 2026): @megaeee @Gunterlie, thank you for the detailed report. Here are the maintainer's decisions on the open questions: 1. **Parsing**: Slurp reads `"HH:MM-HH:MM"` ranges the way the Engine does (`conversation-presence.ts`), including ranges that cross midnight such as `"22:00-06:00"`. Bare `"HH:MM"` keeps working. 2. **Gaps**: an instant no block covers is free time, online, the same as the Engine's `getCurrentStatus`. Slurp no longer keeps the previous block running into the gap. 3. **Reachability**: each block's `status` decides. `offline` and `dnd` mean away for proactive follow-ups; `online` and `idle` mean reachable. Only a block without a usable status falls back to the activity keywords (`SLURP_AWAY_ACTIVITIES`). 4. **No endless postponement**: a follow-up more than 12 hours past its original due time (the stored `first_due_at`, which postponing never moves) is delivered at its next due check even if the Creator is away. The needsReply, cool-off and night-quiet postpones are unchanged. The post brief's day plan (`slurpTimelineMoment()`) uses the same parser. The release notes call out the visible change: Creators whose character has a Conversation Schedule now follow it. PR: Pasta-Devs/Marinara-Agents#1471 (Slurp 0.3.48)
Author
Owner

@SpicyMarinara commented on GitHub (Oct 19, 2026):

Fixed on staging by #1471; update Slurp from the catalog to get it.

<!-- gh-comment-id:6266030979 --> @SpicyMarinara commented on GitHub (Oct 19, 2026): Fixed on staging by #1471; update Slurp from the catalog to get it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#728
No description provided.