[PR #6473] [MERGED] test: align Advanced Recall prompt regression with shipped format #7192

Closed
opened 2026-10-23 04:17:23 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6473
Author: @SpicyMarinara
Created: 9/20/2026
Status: ✅ Merged
Merged: 9/20/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/sept21-recall-review


📝 Commits (1)

  • d796930 test: align recall prompt proof with current-turn introduction

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 scripts/regressions/prompt.regression.ts (+5 -2)

📄 Description

Linked issue

Follow-up to #6472 and #6471, published separately at the maintainer's request.

Why this change

The broad prompt regression still expects the old static excerpt introduction after #6472 moved current-turn context into the recalled payload. Update that fixture to match the shipped format and verify its introduction appears exactly once across preset formats.

What changed

  • Supply the current-range and last-user-message preamble in the recalled prompt fixture.
  • Assert that the old static introduction is absent and the new introduction is preserved once.
  • No product behavior changes; subsequent valid review findings from #6472 will be handled here.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

pnpm regression:prompt passes all three suites with this correction. Local CodeRabbit review completed with zero findings. The runtime changes in #6472 passed pnpm check, all seven Advanced Memory suites, and a production container health check. The local browser suite could not launch because this machine lacks the required Playwright binaries; UI behavior is not claimed verified.

Manual verification notes

Manually verify #6472 on the maintainer's chat, including streamed Roleplay replies, bounded historical recall, agent isolation and background Advanced Recall activity. Human checkboxes remain unchecked.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

Test-only correction; no release metadata or user-facing documentation changes.

UI evidence (if applicable)

No UI changes in this follow-up.

Summary by CodeRabbit

  • Tests
    • Updated advanced-memory regression coverage to verify recalled-memory explanations, message ranges, and excerpt formatting.
    • Replaced checks for outdated wording with assertions for the current rendered text.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6473 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/20/2026 **Status:** ✅ Merged **Merged:** 9/20/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/sept21-recall-review` --- ### 📝 Commits (1) - [`d796930`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d79693067b279f97c938c0a7d2a52cf0302fb66b) test: align recall prompt proof with current-turn introduction ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `scripts/regressions/prompt.regression.ts` (+5 -2) </details> ### 📄 Description ## Linked issue Follow-up to #6472 and #6471, published separately at the maintainer's request. ## Why this change The broad prompt regression still expects the old static excerpt introduction after #6472 moved current-turn context into the recalled payload. Update that fixture to match the shipped format and verify its introduction appears exactly once across preset formats. ## What changed - Supply the current-range and last-user-message preamble in the recalled prompt fixture. - Assert that the old static introduction is absent and the new introduction is preserved once. - No product behavior changes; subsequent valid review findings from #6472 will be handled here. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` `pnpm regression:prompt` passes all three suites with this correction. Local CodeRabbit review completed with zero findings. The runtime changes in #6472 passed `pnpm check`, all seven Advanced Memory suites, and a production container health check. The local browser suite could not launch because this machine lacks the required Playwright binaries; UI behavior is not claimed verified. ### Manual verification notes Manually verify #6472 on the maintainer's chat, including streamed Roleplay replies, bounded historical recall, agent isolation and background Advanced Recall activity. Human checkboxes remain unchecked. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) Test-only correction; no release metadata or user-facing documentation changes. ## UI evidence (if applicable) No UI changes in this follow-up. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Updated advanced-memory regression coverage to verify recalled-memory explanations, message ranges, and excerpt formatting. * Replaced checks for outdated wording with assertions for the current rendered text. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:17:23 +07:00
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#7192
No description provided.