[PR #3869] [MERGED] Remove hidden chat ceilings and clarify prompt blocks #6136

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

📋 Pull Request Information

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

Base: staging ← Head: agent/3864-remove-hidden-constraints


📝 Commits (2)

  • 853b3de Remove hidden chat ceilings and clarify prompt blocks
  • 7b08834 Address CodeRabbit review suggestions

📊 Changes

13 files changed (+213 additions, -68 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 docs/agents/memory.md (+2 -2)
📝 docs/chats/peek-prompt.md (+1 -1)
📝 docs/conversation/schedules.md (+2 -2)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+40 -25)
📝 packages/client/src/components/chat/PeekPromptModal.tsx (+21 -4)
📝 packages/client/src/components/chat/SummaryPopover.tsx (+11 -12)
📝 packages/server/src/routes/generate/conversation-history-runtime.ts (+6 -5)
📝 packages/server/src/routes/generate/generate-route-utils.ts (+5 -8)
📝 packages/server/src/services/conversation/autonomous.service.ts (+4 -3)
📝 packages/shared/src/types/chat.ts (+14 -6)
📝 scripts/regressions/open-issues.regression.ts (+11 -0)
📝 scripts/regressions/prompt.regression.ts (+94 -0)

📄 Description

Summary

  • replace the fixed Conversation chat check-in choices with a Default/Numeric selector and an uncapped positive whole-number override
  • remove the former 50-message ceiling from Conversation and Roleplay recent-summary tails
  • clarify that exact Peek Prompt history counts provider request blocks, which may contain several chat turns
  • add regressions for long per-character Hide From AI runs, uncapped summary tails, and chat-level autonomous ceilings
  • update the user documentation and changelog

Why

Issue #3864 identified hidden hard ceilings that prevented users from explicitly choosing the context and autonomous-request budgets appropriate for their chats.

The Hide From AI report also exposed a presentation problem rather than an audience-filtering failure: providers may merge many chat turns into a small number of request blocks, while Peek Prompt labeled those blocks as individual messages. In the reproduced 16-message run, every restricted message remained visible to the non-restricted character and every one was excluded for the restricted character. The revised wording makes the exact saved request easier to interpret.

Related to #3864.

User impact

Conversation users can choose the talkativeness-based default or enter their own chat-wide check-in ceiling. Character-specific caps can still lower that ceiling. Automatic summarization accepts any non-negative whole-number recent-message tail in both Conversation and Roleplay, with prompt-size and request-cost guidance shown beside the controls.

Validation

  • pnpm check
  • pnpm regression:prompt
  • pnpm regression:issues
  • pnpm smoke:ui (74 passed, 46 viewport-inapplicable tests skipped)
  • git diff --check
  • isolated dry-run against the reproduced chat: 16/16 restricted messages included for the other character and 16/16 excluded for the restricted character

Manual verification

  • Manually verify the Conversation Chat Check-In Cap switches between Default and Numeric modes and persists a value above 8.
  • Manually verify a character-specific cap still lowers a larger chat-wide numeric ceiling.
  • Manually verify Recent Message Tail accepts and persists a value above 50 in Conversation and Roleplay.
  • Manually verify exact Peek Prompt labels provider blocks and exposes all model-visible text when Chat History is expanded.

Summary by CodeRabbit

  • New Features

    • Added numeric controls for autonomous chat check-in limits, alongside the default behavior.
    • Expanded recent-message tail settings to accept any non-negative whole number, including values above the previous limit.
    • Added clearer guidance about prompt size and model costs for larger tails.
  • Bug Fixes

    • Improved Peek Prompt messaging when providers combine multiple chat turns into one request block.
  • Documentation

    • Updated chat settings and prompt inspection documentation to reflect the new controls and behavior.

🔄 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/3869 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/20/2026 **Status:** ✅ Merged **Merged:** 7/20/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/3864-remove-hidden-constraints` --- ### 📝 Commits (2) - [`853b3de`](https://github.com/Pasta-Devs/Marinara-Engine/commit/853b3deff149d9504475811f905c7cb2d2ddffc4) Remove hidden chat ceilings and clarify prompt blocks - [`7b08834`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7b08834925fb4013bf92a9c1ab1a81f53c946972) Address CodeRabbit review suggestions ### 📊 Changes **13 files changed** (+213 additions, -68 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `docs/agents/memory.md` (+2 -2) 📝 `docs/chats/peek-prompt.md` (+1 -1) 📝 `docs/conversation/schedules.md` (+2 -2) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+40 -25) 📝 `packages/client/src/components/chat/PeekPromptModal.tsx` (+21 -4) 📝 `packages/client/src/components/chat/SummaryPopover.tsx` (+11 -12) 📝 `packages/server/src/routes/generate/conversation-history-runtime.ts` (+6 -5) 📝 `packages/server/src/routes/generate/generate-route-utils.ts` (+5 -8) 📝 `packages/server/src/services/conversation/autonomous.service.ts` (+4 -3) 📝 `packages/shared/src/types/chat.ts` (+14 -6) 📝 `scripts/regressions/open-issues.regression.ts` (+11 -0) 📝 `scripts/regressions/prompt.regression.ts` (+94 -0) </details> ### 📄 Description ## Summary - replace the fixed Conversation chat check-in choices with a Default/Numeric selector and an uncapped positive whole-number override - remove the former 50-message ceiling from Conversation and Roleplay recent-summary tails - clarify that exact Peek Prompt history counts provider request blocks, which may contain several chat turns - add regressions for long per-character Hide From AI runs, uncapped summary tails, and chat-level autonomous ceilings - update the user documentation and changelog ## Why Issue #3864 identified hidden hard ceilings that prevented users from explicitly choosing the context and autonomous-request budgets appropriate for their chats. The Hide From AI report also exposed a presentation problem rather than an audience-filtering failure: providers may merge many chat turns into a small number of request blocks, while Peek Prompt labeled those blocks as individual messages. In the reproduced 16-message run, every restricted message remained visible to the non-restricted character and every one was excluded for the restricted character. The revised wording makes the exact saved request easier to interpret. Related to #3864. ## User impact Conversation users can choose the talkativeness-based default or enter their own chat-wide check-in ceiling. Character-specific caps can still lower that ceiling. Automatic summarization accepts any non-negative whole-number recent-message tail in both Conversation and Roleplay, with prompt-size and request-cost guidance shown beside the controls. ## Validation - `pnpm check` - `pnpm regression:prompt` - `pnpm regression:issues` - `pnpm smoke:ui` (74 passed, 46 viewport-inapplicable tests skipped) - `git diff --check` - isolated dry-run against the reproduced chat: 16/16 restricted messages included for the other character and 16/16 excluded for the restricted character ## Manual verification - [ ] Manually verify the Conversation Chat Check-In Cap switches between Default and Numeric modes and persists a value above 8. - [ ] Manually verify a character-specific cap still lowers a larger chat-wide numeric ceiling. - [ ] Manually verify Recent Message Tail accepts and persists a value above 50 in Conversation and Roleplay. - [ ] Manually verify exact Peek Prompt labels provider blocks and exposes all model-visible text when Chat History is expanded. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added numeric controls for autonomous chat check-in limits, alongside the default behavior. * Expanded recent-message tail settings to accept any non-negative whole number, including values above the previous limit. * Added clearer guidance about prompt size and model costs for larger tails. * **Bug Fixes** * Improved Peek Prompt messaging when providers combine multiple chat turns into one request block. * **Documentation** * Updated chat settings and prompt inspection documentation to reflect the new controls and behavior. <!-- 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:07:25 +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#6136
No description provided.