[GH-ISSUE #7950] [Issue]: Move Advanced Memory regression budget from preset to connection defaults #4367

Closed
opened 2026-10-22 04:06:03 +07:00 by bsakaguchi · 3 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The Advanced Memory generation regression still relies on an 8k preset context cap. After #7940 intentionally removed preset caps, the fixture gets its connection's 16k capacity and its oversized-scene truncation assertion no longer exercises a constrained budget.

Expected behavior

Set the fixture's explicit 8k context and 512-token output budget in connection defaults. Keep every bounded-source, privacy, recent-history and summary assertion unchanged.

Actual behavior

The complete Node regression job reports 952/953 passing; advanced-memory-generation.regression.ts:224 fails with an oversized ongoing scene retains bounded source excerpts. The same failure reproduces unchanged locally at 10679c9ccae1006e70c92a3a8133b9ce099d4324.

Steps to reproduce

  1. Check out the merged #7940 sources and install dependencies.
  2. Run node scripts/run-regressions.mjs --filter advanced-memory-generation.
  3. Observe the bounded-excerpt assertion fail because the fixture's former preset budget no longer applies.

Environment

  • Marinara Engine version: 2.5.1 source, merged staging change #7940
  • Install type: source / GitHub Actions
  • OS + version: macOS local and GitHub Actions Linux; exact OS versions not collected
  • Browser or app shell: Node.js regression runner (24.16.0 local, 24.21.0 hosted)

Logs, screenshots, or video

Hosted failed job

Additional context

This is a test-fixture follow-up to #7937 / #7940. Preserve the new production behavior: caps belong to Connections / Advanced Parameters, and presets must not regain caps. No assertion should be weakened or skipped.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7950 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The Advanced Memory generation regression still relies on an 8k preset context cap. After #7940 intentionally removed preset caps, the fixture gets its connection's 16k capacity and its oversized-scene truncation assertion no longer exercises a constrained budget. ## Expected behavior Set the fixture's explicit 8k context and 512-token output budget in connection defaults. Keep every bounded-source, privacy, recent-history and summary assertion unchanged. ## Actual behavior The complete Node regression job reports 952/953 passing; `advanced-memory-generation.regression.ts:224` fails with `an oversized ongoing scene retains bounded source excerpts`. The same failure reproduces unchanged locally at `10679c9ccae1006e70c92a3a8133b9ce099d4324`. ## Steps to reproduce 1. Check out the merged #7940 sources and install dependencies. 2. Run `node scripts/run-regressions.mjs --filter advanced-memory-generation`. 3. Observe the bounded-excerpt assertion fail because the fixture's former preset budget no longer applies. ## Environment - Marinara Engine version: 2.5.1 source, merged staging change #7940 - Install type: source / GitHub Actions - OS + version: macOS local and GitHub Actions Linux; exact OS versions not collected - Browser or app shell: Node.js regression runner (24.16.0 local, 24.21.0 hosted) ## Logs, screenshots, or video [Hosted failed job](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/39578902055/job/119151877658) ## Additional context This is a test-fixture follow-up to #7937 / #7940. Preserve the new production behavior: caps belong to Connections / Advanced Parameters, and presets must not regain caps. No assertion should be weakened or skipped. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-22 04:06:03 +07:00
Author
Owner

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

Ownership: Codex is handling this test-fixture follow-up in test/advanced-memory-connection-budget. The fix moves the fixture budget to connection defaults and preserves all assertions; no production changes or snapshot/guard changes are planned.

<!-- gh-comment-id:6313743001 --> @SpicyMarinara commented on GitHub (Oct 21, 2026): Ownership: Codex is handling this test-fixture follow-up in test/advanced-memory-connection-budget. The fix moves the fixture budget to connection defaults and preserves all assertions; no production changes or snapshot/guard changes are planned.
Author
Owner

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

Fixed in #7951, merged into staging at ac03d5d4bc5cb5a42da17fec9a4c70e92380e59c (ancestry verified).

The fixture now stores its explicit 8k context / 512-token output budget in connection defaults. Every existing bounded-source, privacy, history and summary assertion remains unchanged. Presets remain free of token caps.

The exact Advanced Memory generation regression passes on the final PR head and combined sweep candidate; pnpm check, all required hosted checks, local CodeRabbit and substantive final-head hosted CodeRabbit passed. The broader optional Node suite was still running at merge time; this comment does not claim that suite passed.

<!-- gh-comment-id:6314172935 --> @SpicyMarinara commented on GitHub (Oct 21, 2026): Fixed in #7951, merged into `staging` at `ac03d5d4bc5cb5a42da17fec9a4c70e92380e59c` (ancestry verified). The fixture now stores its explicit 8k context / 512-token output budget in connection defaults. Every existing bounded-source, privacy, history and summary assertion remains unchanged. Presets remain free of token caps. The exact Advanced Memory generation regression passes on the final PR head and combined sweep candidate; `pnpm check`, all required hosted checks, local CodeRabbit and substantive final-head hosted CodeRabbit passed. The broader optional Node suite was still running at merge time; this comment does not claim that suite passed.
Author
Owner

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

The broader hosted Node regression run has now completed on final head a9c15abd511210e0f169f2cdf74ea981d2d053ba: 953/953 passed, 0 failed. Complete Node regression job. This supersedes the pending-suite note at merge time.

<!-- gh-comment-id:6314566159 --> @SpicyMarinara commented on GitHub (Oct 21, 2026): The broader hosted Node regression run has now completed on final head `a9c15abd511210e0f169f2cdf74ea981d2d053ba`: **953/953 passed, 0 failed**. [Complete Node regression job](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/39585651177/job/119174253347). This supersedes the pending-suite note at merge time.
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#4367
No description provided.