[GH-ISSUE #6502] [Issue]: Empty Recalled Scenes marker adds blank prompt spacing #3644

Closed
opened 2026-10-21 06:05:25 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Sep 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6502

Originally assigned to: @SpicyMarinara on GitHub.

Summary

An empty Advanced Memory Recalled Scenes marker leaves an extra blank line in the generated prompt.

Expected behavior

When no scenes or excerpts are recalled, the marker contributes no content or additional spacing. Authored spacing elsewhere stays intact.

Actual behavior

The placeholder is removed but its section separator remains after prompt sections are merged.

Steps to reproduce

  1. Place Recalled Scenes between two preset sections.
  2. Enable Advanced Memory with no applicable recalled scenes.
  3. Generate or preview the prompt and inspect the empty marker's position.

Environment

  • Marinara Engine version: current staging; exact reporter build not supplied.
  • Install type, OS, browser: not supplied for this report.

Logs, screenshots, or video

Local prompt regression reproduces four newlines where the ordinary separator is two.

Additional context

Owner: @SpicyMarinara, Codex. Included in #6500 against staging.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6502 Originally assigned to: @SpicyMarinara on GitHub. ## Summary An empty Advanced Memory Recalled Scenes marker leaves an extra blank line in the generated prompt. ## Expected behavior When no scenes or excerpts are recalled, the marker contributes no content or additional spacing. Authored spacing elsewhere stays intact. ## Actual behavior The placeholder is removed but its section separator remains after prompt sections are merged. ## Steps to reproduce 1. Place Recalled Scenes between two preset sections. 2. Enable Advanced Memory with no applicable recalled scenes. 3. Generate or preview the prompt and inspect the empty marker's position. ## Environment - Marinara Engine version: current staging; exact reporter build not supplied. - Install type, OS, browser: not supplied for this report. ## Logs, screenshots, or video Local prompt regression reproduces four newlines where the ordinary separator is two. ## Additional context Owner: @SpicyMarinara, Codex. Included in #6500 against staging. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:05:25 +07:00
  • closed this issue
  • added the
    in-pr
    label
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-Engine#3644
No description provided.