[PR #7593] [MERGED] fix(summary): hidden {{#if}} sections leave no blank lines #7821

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7593
Author: @SpicyMarinara
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/summary-if-blank-lines


📝 Commits (3)

  • 9a05b11 fix(summary): hidden {{#if}} sections leave no blank lines
  • 96dc3aa fix(summary): carry a section's line break before it, and cover review gaps
  • 2b35aeb fix(summary): collapse the blank line back-to-back hidden sections leave in Advanced Memory

📊 Changes

6 files changed (+446 additions, -31 deletions)

View changed files

📝 packages/server/src/services/advanced-memory.ts (+28 -15)
📝 packages/server/src/services/prompt/macro-context.ts (+3 -0)
📝 packages/shared/src/utils/macro-engine.ts (+182 -0)
📝 scripts/regressions/advanced-memory-audience.regression.ts (+57 -0)
📝 scripts/regressions/merged-chat-summary.regression.ts (+29 -14)
📝 scripts/regressions/prompt.regression.ts (+147 -2)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

No linked issue: reported by the maintainer on 2026-10-14.

Why this change

  • A Roleplay Chat Summary can contain a section for one character, such as {{#if char == "Cyno"}}…{{/if}}. When Cyno wasn't the one replying, the text disappeared from the prompt but left empty lines where it had been.
  • Group chats with individual replies were hit hardest: each hidden section could leave four or five empty lines. A hidden section should leave nothing behind.

What changed

What is different for you:

  • A summary section for a character who is not replying now leaves nothing in the prompt: no empty lines where it was. This applies to:
    • one-on-one chats
    • group chats with individual replies, including a hidden section at the very end of the summary
    • merged group replies
    • the fallback summary used when the preset has no Chat Summary section
    • Peek Prompt
  • Advanced Memory summaries and constant summaries with character sections work the same way. That covers each character's own reading, merged replies with [Known only to …] notes, and the narrator, who reads every section. In a merged reply, a summary that ends with a hidden section no longer leaves extra empty lines before the next summary.
  • A paragraph made only of back-to-back sections leaves no extra empty line when all of them are hidden, in Advanced Memory as in the Chat Summary.
  • A section that does show reads the same as before.
  • Sections inside other sections, summaries saved with Windows line endings, summaries with {{// comments}}, and summaries with a [ … ] group block get the same cleanup. A group block keeps its [ and ] lines.
  • Sections written on the same line as other text are unchanged.
  • Your saved summaries are not edited. The cleanup happens only when the prompt is built.
  • In a merged group reply, when a section has different text for different characters (an {{else}}), each character's version is on its own line, also at the end of the summary. Before, the versions could be glued together on one line.
  • In group chats with individual replies, the line after a section keeps its own start, so the Markdown format still escapes a # heading there and the XML format still indents it. The section's own lines start at the margin of <chat_summary>, as before.
  • Known limits, both noted in the code:
    • A summary made only of sections, with no shared text, can keep one line break at its end in group chats with individual replies.
    • In group chats with individual replies, a section at the very start of the summary still carries the start of the line after it, so a # heading on that line is not escaped in Markdown and the line is not indented in XML.
  • After updating, the first swipe in an Advanced Memory chat prepares its memory again instead of reusing the memory saved with the earlier swipe. This happens once, so the prompt matches the new formatting.

Technical summary:

  • packages/shared/src/utils/macro-engine.ts: new exported attachConditionalLineBreaks(summary). It normalizes line endings to \n, strips {{// }} comments (reading drops them anyway), and rewrites each {{#if}} block that fills whole lines (only spaces or tabs before the {{#if}} and after the {{/if}} on their lines).
    • Each branch drops its own tag lines and the indentation before a following {{else}}/{{/if}} on its own line; text on an inline {{#if}}'s line keeps that line's indentation.
    • A block after a line of text leads each branch with the line break before it, and the line break after {{/if}} stays in the text. A block that is a paragraph of its own also takes the blank lines before it.
    • A block with only blocks before it ends each branch with the line break after it instead, plus the blank lines after it when it starts a paragraph. At the very end of the summary, a block with no line break to take still ends its branches with one, so merged versions stay on separate lines; the final trim drops it.
    • Nested blocks are rewritten together with the line breaks their branch carries, so a hidden inner block that fills its branch takes them along.
    • [ and ] lines are boundaries: the text between them is rewritten apart, and a block alone between them stays as written for the existing per-character trim.
    • {{noop}} keeps a rewritten block off a line of its own and guards a branch that starts with a line break, so the standalone-tag trim (#3435) does not drop a carried line break a second time, also when a merged reply reads a block apart from the text before it.
    • The rewrite is idempotent, scans line ends with plain loops instead of the sticky [ \t]* regexes CodeQL flagged, and leaves text outside blocks untouched.
  • packages/server/src/services/prompt/macro-context.ts: resolveChatSummaryMacros applies the helper first, now also to summaries with a group block (which still keep the single reading). Every Chat Summary placement goes through it: the chat_summary marker (marker-expander.ts expandChatSummary), the preset-less fallback (assembler.ts appendFallbackChatSummaryToSystemPrompt), generation (generate.routes.ts), Peek Prompt's dry run (dry-run-route.ts) and its live preview (chats.routes.ts).
  • packages/server/src/services/advanced-memory.ts:
    • renderEntry applies the helper before narrator flattening and per-reader scoping.
    • Merged-reader parts are resolved with trimResult: false, as the Chat Summary's parts already are, and the merged result is trimmed, as a single reader's is.
    • Prepared swipe snapshots cache rendered summaries, so preparationPolicyRevision moves from scene-timeframe-constants-v24 to -v25. Peek Prompt and the live request then agree. preparationPolicyRevision is the only Advanced Memory cache key that covers rendered summaries.
  • Not changed: resolveMacros/resolveConditionalBlocks, deferred-token decoding, stored summaries, and agent context.
    • Agents get the summary with every branch kept (flattenAgentConditionalMacros), so no section is hidden there.
    • Game mode does not render the Roleplay Chat Summary.
    • The dry-run promptParts path wraps the raw summary without resolving macros.
  • Existing assertions updated in scripts/regressions/merged-chat-summary.regression.ts. These pinned the empty lines this PR removes, so please confirm.
    • The narrator-only and Maukie-only sections no longer leave a blank line in the merged, narrator-and-Maukie, Individual-mode, chosen-speaker and solo expectations.
    • The two {{else}} versions in the merged expectation are on separate lines.
    • The pinned encoded Individual-mode output now has each section's tokens directly after the line before it, with the line break (and a {{noop}} guard) inside each token.
    • Every comparison is still an exact match. A new check fills the Individual-mode output in for each responder and compares it, line by line, with that responder's own reading: no empty line, a hidden last section included.
  • New regression coverage:
    • scripts/regressions/prompt.regression.ts, case "Chat Summary sections for someone who is not replying leave no empty line":
      • Paths: one responder; deferred and filled in for a reader and a non-reader; merged readers with [Known only to …].
      • Shapes: inline whole-line sections; tag-line sections; hidden at the start and the end; {{else if}}/{{else}} chains and an empty first branch; nested sections, including one at the top of a section that is not a paragraph and one that fills its section; indentation; a section starting with a blank line; a comment line; a group block; a section sharing a line with text (left unchanged).
      • Merged versions at the end of the summary and an indented {{else}} chain; Windows line endings, now and deferred; the Markdown heading guard and the XML indent after a section in Individual mode.
      • Checks: idempotence; rendered sections byte-identical to resolveMacros on the original text.
    • scripts/regressions/advanced-memory-audience.regression.ts: merged, each individual reader, a reader with no section, and the narrator, through prepare; and a merged reply where one summary ends with a hidden section and another is only sections.

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

Commands run by the agent, on the final commit:

  • pnpm build:shared: passed.
  • node ./scripts/run-regressions.mjs --filter scripts/regressions/prompt.regression.ts: 1/1 passed, including the extended case.
  • merged-chat-summary, and all 16 advanced-memory* files, each run on its own: all passed.
  • Other regressions touching summaries and macros, each run on its own: all passed.
    • agent-connection-parameters, agent-context-generation, agent-previous-output, agent-runtime, agent-scene-check
    • capability-gm-verbs, cjk-token-budgets, code-scanning-content-parsing, decision-conditionals
    • issue-sweep-5380-5434, issue-sweep-5391-5394, issue-sweep-sep5
    • lorebook-entry-message-provenance, lorebook-images, lorebook-include-macro, manual-agent-retry-resolution
    • onboarding-s3, open-issues, profile-apply-hide-summarised, regeneration-context, roleplay-streaming, summary-write-range
    • character-id-macro-modes, chat-persona-macros
  • pnpm regression:prompt: 3/3 passed.
  • pnpm check: passed.
  • The new and changed assertions fail on the PR's first commit (9a05b11b6), with this branch's tests and that commit's source:
    • prompt.regression.ts fails on the case "Hidden at the start and at the end", which kept trailing line breaks.
    • merged-chat-summary fails at "Individual mode".
    • advanced-memory-audience fails on the merged reply whose first summary ends with a hidden section.
  • The back-to-back sections case in advanced-memory-audience fails, for merged readers and for a single reader, without the collapse in renderEntry.
  • A scratch differential fuzz (not committed) checked random summaries against a line-based model of the expected output:
    • About 34,000 summaries of whole-line sections, tag lines, inline sections, indentation, {{else}} chains and blank lines, in six runs:
      • Every reading (now, deferred and filled in, Advanced Memory) matches the model, except a paragraph made only of back-to-back sections.
      • Merged replies have the expected lines. Different versions of a paragraph-sized section are separated by a blank line, where the model keeps them in one paragraph.
      • Deferred readings keep a line break at an edge only for summaries made only of sections or with back-to-back sections.
      • The rewrite is always idempotent.
    • 24,000 summaries with nesting, stray whitespace, comments, [/] lines and Windows line endings, in four runs: no text changed, no lines glued that staging kept apart, no new disagreement between the immediate and deferred readings, and the rewrite is always idempotent.
  • Local CodeRabbit (coderabbit review --agent --committed): review completed, 0 findings on the 6 changed files.
  • Full pnpm regression and browser smoke tests were not run locally. CI runs them.

Manual verification notes

  • Manually verify in a Roleplay group chat with individual replies that Peek Prompt shows no blank lines where another character's section was.
    • Use a Chat Summary with one {{#if char == "…"}} paragraph per character, and one section as the summary's last paragraph.
    • Check it for each responder.
  • Manually verify the same summary in a merged group chat. The other characters' sections should show as [Known only to …] lines, with no empty lines between them and the surrounding text.
  • Manually verify in a one-on-one Roleplay chat that a section for another character leaves no empty line, and that the character's own section reads as before.
  • Manually verify in a chat with Advanced Memory on that a summary entry with per-character sections shows no empty lines in Peek Prompt, for one reader, for the narrator, and in a merged reply.
  • Manually verify that the saved Chat Summary text in the summary panel is unchanged after generating.

Docs and release impact

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

UI evidence (if applicable)

Not applicable: prompt text only, no UI change.

Summary by CodeRabbit

  • Bug Fixes
    • Chat summaries now preserve appropriate spacing around conditional sections. Sections hidden from a reader no longer leave unwanted blank lines, including when multiple sections appear together or at the end of a summary.
    • Merged summaries retain reader-specific “Known only to” labels, while individual views show only relevant sections.
    • These formatting improvements apply consistently to immediate and deferred summary rendering, including nested conditions and authored blank lines.

🔄 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/7593 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/summary-if-blank-lines` --- ### 📝 Commits (3) - [`9a05b11`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9a05b11b69e09ac55f304e90397a9bcc6d737dce) fix(summary): hidden {{#if}} sections leave no blank lines - [`96dc3aa`](https://github.com/Pasta-Devs/Marinara-Engine/commit/96dc3aa5aed3b15c7abc7ccfd357f5336e12237a) fix(summary): carry a section's line break before it, and cover review gaps - [`2b35aeb`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2b35aeb8802ca16589219da92b262de8598c56c7) fix(summary): collapse the blank line back-to-back hidden sections leave in Advanced Memory ### 📊 Changes **6 files changed** (+446 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `packages/server/src/services/advanced-memory.ts` (+28 -15) 📝 `packages/server/src/services/prompt/macro-context.ts` (+3 -0) 📝 `packages/shared/src/utils/macro-engine.ts` (+182 -0) 📝 `scripts/regressions/advanced-memory-audience.regression.ts` (+57 -0) 📝 `scripts/regressions/merged-chat-summary.regression.ts` (+29 -14) 📝 `scripts/regressions/prompt.regression.ts` (+147 -2) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue No linked issue: reported by the maintainer on 2026-10-14. ## Why this change - A Roleplay Chat Summary can contain a section for one character, such as `{{#if char == "Cyno"}}…{{/if}}`. When Cyno wasn't the one replying, the text disappeared from the prompt but left empty lines where it had been. - Group chats with individual replies were hit hardest: each hidden section could leave four or five empty lines. A hidden section should leave nothing behind. ## What changed What is different for you: - A summary section for a character who is not replying now leaves nothing in the prompt: no empty lines where it was. This applies to: - one-on-one chats - group chats with individual replies, including a hidden section at the very end of the summary - merged group replies - the fallback summary used when the preset has no Chat Summary section - Peek Prompt - Advanced Memory summaries and constant summaries with character sections work the same way. That covers each character's own reading, merged replies with `[Known only to …]` notes, and the narrator, who reads every section. In a merged reply, a summary that ends with a hidden section no longer leaves extra empty lines before the next summary. - A paragraph made only of back-to-back sections leaves no extra empty line when all of them are hidden, in Advanced Memory as in the Chat Summary. - A section that does show reads the same as before. - Sections inside other sections, summaries saved with Windows line endings, summaries with `{{// comments}}`, and summaries with a `[` … `]` group block get the same cleanup. A group block keeps its `[` and `]` lines. - Sections written on the same line as other text are unchanged. - Your saved summaries are not edited. The cleanup happens only when the prompt is built. - In a merged group reply, when a section has different text for different characters (an `{{else}}`), each character's version is on its own line, also at the end of the summary. Before, the versions could be glued together on one line. - In group chats with individual replies, the line after a section keeps its own start, so the Markdown format still escapes a `#` heading there and the XML format still indents it. The section's own lines start at the margin of `<chat_summary>`, as before. - Known limits, both noted in the code: - A summary made only of sections, with no shared text, can keep one line break at its end in group chats with individual replies. - In group chats with individual replies, a section at the very start of the summary still carries the start of the line after it, so a `#` heading on that line is not escaped in Markdown and the line is not indented in XML. - After updating, the first swipe in an Advanced Memory chat prepares its memory again instead of reusing the memory saved with the earlier swipe. This happens once, so the prompt matches the new formatting. Technical summary: - `packages/shared/src/utils/macro-engine.ts`: new exported `attachConditionalLineBreaks(summary)`. It normalizes line endings to `\n`, strips `{{// }}` comments (reading drops them anyway), and rewrites each `{{#if}}` block that fills whole lines (only spaces or tabs before the `{{#if}}` and after the `{{/if}}` on their lines). - Each branch drops its own tag lines and the indentation before a following `{{else}}`/`{{/if}}` on its own line; text on an inline `{{#if}}`'s line keeps that line's indentation. - A block after a line of text leads each branch with the line break before it, and the line break after `{{/if}}` stays in the text. A block that is a paragraph of its own also takes the blank lines before it. - A block with only blocks before it ends each branch with the line break after it instead, plus the blank lines after it when it starts a paragraph. At the very end of the summary, a block with no line break to take still ends its branches with one, so merged versions stay on separate lines; the final trim drops it. - Nested blocks are rewritten together with the line breaks their branch carries, so a hidden inner block that fills its branch takes them along. - `[` and `]` lines are boundaries: the text between them is rewritten apart, and a block alone between them stays as written for the existing per-character trim. - `{{noop}}` keeps a rewritten block off a line of its own and guards a branch that starts with a line break, so the standalone-tag trim (#3435) does not drop a carried line break a second time, also when a merged reply reads a block apart from the text before it. - The rewrite is idempotent, scans line ends with plain loops instead of the sticky `[ \t]*` regexes CodeQL flagged, and leaves text outside blocks untouched. - `packages/server/src/services/prompt/macro-context.ts`: `resolveChatSummaryMacros` applies the helper first, now also to summaries with a group block (which still keep the single reading). Every Chat Summary placement goes through it: the `chat_summary` marker (`marker-expander.ts` `expandChatSummary`), the preset-less fallback (`assembler.ts` `appendFallbackChatSummaryToSystemPrompt`), generation (`generate.routes.ts`), Peek Prompt's dry run (`dry-run-route.ts`) and its live preview (`chats.routes.ts`). - `packages/server/src/services/advanced-memory.ts`: - `renderEntry` applies the helper before narrator flattening and per-reader scoping. - Merged-reader parts are resolved with `trimResult: false`, as the Chat Summary's parts already are, and the merged result is trimmed, as a single reader's is. - Prepared swipe snapshots cache rendered summaries, so `preparationPolicyRevision` moves from `scene-timeframe-constants-v24` to `-v25`. Peek Prompt and the live request then agree. `preparationPolicyRevision` is the only Advanced Memory cache key that covers rendered summaries. - Not changed: `resolveMacros`/`resolveConditionalBlocks`, deferred-token decoding, stored summaries, and agent context. - Agents get the summary with every branch kept (`flattenAgentConditionalMacros`), so no section is hidden there. - Game mode does not render the Roleplay Chat Summary. - The dry-run `promptParts` path wraps the raw summary without resolving macros. - Existing assertions updated in `scripts/regressions/merged-chat-summary.regression.ts`. These pinned the empty lines this PR removes, so please confirm. - The narrator-only and Maukie-only sections no longer leave a blank line in the merged, narrator-and-Maukie, Individual-mode, chosen-speaker and solo expectations. - The two `{{else}}` versions in the merged expectation are on separate lines. - The pinned encoded Individual-mode output now has each section's tokens directly after the line before it, with the line break (and a `{{noop}}` guard) inside each token. - Every comparison is still an exact match. A new check fills the Individual-mode output in for each responder and compares it, line by line, with that responder's own reading: no empty line, a hidden last section included. - New regression coverage: - `scripts/regressions/prompt.regression.ts`, case "Chat Summary sections for someone who is not replying leave no empty line": - Paths: one responder; deferred and filled in for a reader and a non-reader; merged readers with `[Known only to …]`. - Shapes: inline whole-line sections; tag-line sections; hidden at the start and the end; `{{else if}}`/`{{else}}` chains and an empty first branch; nested sections, including one at the top of a section that is not a paragraph and one that fills its section; indentation; a section starting with a blank line; a comment line; a group block; a section sharing a line with text (left unchanged). - Merged versions at the end of the summary and an indented `{{else}}` chain; Windows line endings, now and deferred; the Markdown heading guard and the XML indent after a section in Individual mode. - Checks: idempotence; rendered sections byte-identical to `resolveMacros` on the original text. - `scripts/regressions/advanced-memory-audience.regression.ts`: merged, each individual reader, a reader with no section, and the narrator, through `prepare`; and a merged reply where one summary ends with a hidden section and another is only sections. ## Validation <!-- Required: include commands run and/or manual checks performed --> - [ ] `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` Commands run by the agent, on the final commit: - `pnpm build:shared`: passed. - `node ./scripts/run-regressions.mjs --filter scripts/regressions/prompt.regression.ts`: 1/1 passed, including the extended case. - `merged-chat-summary`, and all 16 `advanced-memory*` files, each run on its own: all passed. - Other regressions touching summaries and macros, each run on its own: all passed. - agent-connection-parameters, agent-context-generation, agent-previous-output, agent-runtime, agent-scene-check - capability-gm-verbs, cjk-token-budgets, code-scanning-content-parsing, decision-conditionals - issue-sweep-5380-5434, issue-sweep-5391-5394, issue-sweep-sep5 - lorebook-entry-message-provenance, lorebook-images, lorebook-include-macro, manual-agent-retry-resolution - onboarding-s3, open-issues, profile-apply-hide-summarised, regeneration-context, roleplay-streaming, summary-write-range - character-id-macro-modes, chat-persona-macros - `pnpm regression:prompt`: 3/3 passed. - `pnpm check`: passed. - The new and changed assertions fail on the PR's first commit (`9a05b11b6`), with this branch's tests and that commit's source: - `prompt.regression.ts` fails on the case "Hidden at the start and at the end", which kept trailing line breaks. - `merged-chat-summary` fails at "Individual mode". - `advanced-memory-audience` fails on the merged reply whose first summary ends with a hidden section. - The back-to-back sections case in `advanced-memory-audience` fails, for merged readers and for a single reader, without the collapse in `renderEntry`. - A scratch differential fuzz (not committed) checked random summaries against a line-based model of the expected output: - About 34,000 summaries of whole-line sections, tag lines, inline sections, indentation, `{{else}}` chains and blank lines, in six runs: - Every reading (now, deferred and filled in, Advanced Memory) matches the model, except a paragraph made only of back-to-back sections. - Merged replies have the expected lines. Different versions of a paragraph-sized section are separated by a blank line, where the model keeps them in one paragraph. - Deferred readings keep a line break at an edge only for summaries made only of sections or with back-to-back sections. - The rewrite is always idempotent. - 24,000 summaries with nesting, stray whitespace, comments, `[`/`]` lines and Windows line endings, in four runs: no text changed, no lines glued that staging kept apart, no new disagreement between the immediate and deferred readings, and the rewrite is always idempotent. - Local CodeRabbit (`coderabbit review --agent --committed`): review completed, 0 findings on the 6 changed files. - Full `pnpm regression` and browser smoke tests were not run locally. CI runs them. ### Manual verification notes - Manually verify in a Roleplay group chat with individual replies that Peek Prompt shows no blank lines where another character's section was. - Use a Chat Summary with one `{{#if char == "…"}}` paragraph per character, and one section as the summary's last paragraph. - Check it for each responder. - Manually verify the same summary in a merged group chat. The other characters' sections should show as `[Known only to …]` lines, with no empty lines between them and the surrounding text. - Manually verify in a one-on-one Roleplay chat that a section for another character leaves no empty line, and that the character's own section reads as before. - Manually verify in a chat with Advanced Memory on that a summary entry with per-character sections shows no empty lines in Peek Prompt, for one reader, for the narrator, and in a merged reply. - Manually verify that the saved Chat Summary text in the summary panel is unchanged after generating. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Not applicable: prompt text only, no UI change. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Chat summaries now preserve appropriate spacing around conditional sections. Sections hidden from a reader no longer leave unwanted blank lines, including when multiple sections appear together or at the end of a summary. * Merged summaries retain reader-specific “Known only to” labels, while individual views show only relevant sections. * These formatting improvements apply consistently to immediate and deferred summary rendering, including nested conditions and authored blank lines. <!-- 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-24 04:07:52 +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#7821
No description provided.