[PR #2100] [MERGED] fix(otome-forge): always send existing summaries; a failed summary shows Retry on every screen (0.8.4) #2118

Closed
opened 2026-11-07 16:39:38 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2100
Author: @SpicyMarinara
Created: 11/4/2026
Status: ✅ Merged
Merged: 11/4/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/otome-memory-summaries-retry


📝 Commits (8)

  • a6d0643 fix(otome-forge): story prompts read the saved memory in every state; memory never waits for a context size
  • 72367ab fix(otome-forge): a failed summary shows on every screen of the story, with Retry and the way to the Memory connection
  • 702cf11 chore(otome-forge): release the memory fixes as 0.8.4
  • 9fc091b fix(otome-forge): the memory banner's Change connection lands on the Memory connection and keeps unsaved picks
  • e3d6c8b chore(otome-forge): keep the released 0.8.3 zip as staging has it
  • 5735812 fix(otome-forge): a memory model too small for a summary says so, and the old gate's ready status no longer waits for setup
  • 5097217 fix(otome-forge): a memory model too small says so in Otome's own words, not as the connection's
  • e29ff67 fix(otome-forge): a failed Retry request keeps to its own line, and Change connection reaches Memory once connections are listed

📊 Changes

41 files changed (+2242 additions, -719 deletions)

View changed files

➕ artifacts/otome-forge-0.8.4.zip (+0 -0)
📝 catalog/preview/catalog.json (+8 -8)
📝 catalog/preview/notes.json (+6 -6)
📝 catalog/preview/v2/catalog.json (+8 -8)
📝 catalog/preview/v2/notes.json (+6 -6)
📝 catalog/preview/v3/catalog.json (+8 -8)
📝 catalog/preview/v3/notes.json (+6 -6)
📝 packages/otome-forge/CHANGELOG.md (+6 -0)
📝 packages/otome-forge/README.md (+1 -1)
📝 packages/otome-forge/client.js (+79 -54)
📝 packages/otome-forge/manifest.json (+5 -5)
📝 packages/otome-forge/server.mjs (+139 -139)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/OtomeForgeView.tsx (+19 -6)
➕ packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/MemoryBanner.tsx (+163 -0)
➕ packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-memory.ts (+58 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-reader.ts (+4 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-run.ts (+4 -1)
➕ packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/memory-notice.ts (+80 -0)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json (+8 -1)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/phone/StickerPicker.tsx (+3 -3)

...and 21 more files

📄 Description

Pull request

Linked issue

Closes #2099

Why this change

The maintainer's rule for Otome Hearth's story memory: every story prompt carries the timeline (the summaries of all previous chapters, condensed once it grows past about 14k tokens), the previous chapter in full, and a chapter in full only while it has no summary yet. The code did something else whenever memory was not ready (a summary still being written, a failed one, or memory never set up): prompts dropped the timeline and every summary and sent earlier chapters word for word, newest first, up to 12,000 tokens.

Memory also waited forever on a model that reports no context size, so it never wrote a summary for it. The maintainer: "why would you need a context size for it, just send the request that is prompt + chapter to summarize", and "if the context size is too small, we will just throw an error and the user will switch a connection".

A failed summary sat silently in Settings → Debug. The maintainer: "If a summary fails, we need to show the user a button on any screen in Otome Hearth that they can press to fix the summary (re-try it). It can't be sitting there silently failed, hidden in settings."

What changed

  • Every story prompt (chapter plans, dates, Character Story, extra story and banner plans, and the chat reply) is built the same way whatever state memory is in: the saved timeline, the previous chapter in full, each other chapter by its summary, and a chapter in full only while it has no summary yet. Before, a pending, failed or never-written summary made every prompt drop the summaries and send recent chapters word for word.
  • Memory no longer waits for a context size. A model that reports none (the Engine's on-device model) now writes summaries. A model too small for a summary gives a failed summary with the provider's own message, which Retry clears.
  • Memory status (GET /runs/:run/memory/status and POST .../retry) adds three optional fields: message, noConnection and unsummarized.
  • A failed summary shows on every screen of the open story, with what the connection said, Retry the summary and Change connection. When no connection can write summaries, the banner offers only Change connection. Ordinary catch-up shows nothing.
  • Change connection for a failed summary opens Settings → Connections with More connections open and the Memory connection focused. Pressed while already in Settings, it keeps a pick not saved yet.
  • A failed Retry request (network error, 503) shows on its own line under the banner's buttons, and the summary's own message stays as "The connection said: …" (or Otome's own too-small text). The request error belongs to the status it failed on, so it survives the next read and the 30 s poll, and goes once that status changes (a Retry from Settings, memory recovering, or a new failure). Settings' memory section uses the same hook and shows its Retry error the same way (Dottore Review on #2100).
  • Change connection also reveals and focuses the Memory picker when the connection list arrives after Settings opens (for example after Check again); a More connections section the player closed stays closed.
  • Saving a connection removes the 'no connection' banner at once.
  • The memory status is read fast only while a retry runs or Settings' memory section is open; otherwise every 10 s during catch-up and every 30 s at rest.
  • On a notched phone, the reader's controls sit right below the banner, with no extra gap.
  • A Memory connection whose model reports a context too small to hold even the smallest summary or timeline-condensing request now fails with no provider call. Where that cutoff falls depends on the connection's output limit, which sets the reply room each call keeps. The status is error with reason context-too-small and Otome's own message: "…is too small to write a summary." or "…is too small to condense the story's timeline.", each followed by "Choose a connection with a larger context." The banner and Settings show it on its own, without "The connection said", and offer Retry and Change connection so the player can switch models.
  • Settings → Debug no longer shows "Waiting for setup: … no known context size" for a story whose memory was finished under the old context check; that dead copy is removed.
  • Otome Hearth 0.8.4, with release notes. Only the new zip is added; the released 0.8.3 zip is unchanged.

Package and security impact

  • Affected package IDs: otome-forge (0.8.3 → 0.8.4)
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: GET /runs/:run/memory/status and POST .../memory/retry gain optional message, noConnection and unsummarized fields (additive)
  • Restart, storage, update, or uninstall impact: stories saved under the old context-size check catch up on their own; no player action

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually verify in the Engine: with the Memory connection set to a model whose context is too small, finish a long chapter and confirm the banner shows the provider's error on Home, Story, the reader, Dates, Wish, Wardrobe, Album, the phone and Settings.
  • Manually verify that Change connection from the reader opens Settings → Connections with More connections open and the Memory picker focused, and that Back returns to the reader.
  • Manually verify that picking a different Story connection on Settings → Connections, then pressing the banner's Change connection without saving, keeps the pick.
  • Manually verify that Retry the summary against a real provider shows 'Trying the summary again…', then either the provider's new error or, once it succeeds, removes the banner.
  • Manually verify on a notched phone (or iOS Safari) that the reader's controls sit right below the banner, with no large gap.
  • Manually verify, with no connection able to write summaries, that saving a connection in Settings → Connections removes the banner within a couple of seconds.
  • Manually verify, with a connection whose model reports no context size (the Engine's on-device model) as the Memory connection, that a finished chapter's summary is written (Settings → Debug → Story memory reaches Ready).
  • Manually verify that a staging Engine on this branch's preview catalog offers Otome Hearth 0.8.4 with its notes, and that the update installs and opens.

Agent-run checks (for reference):

  • pnpm -s test:otome-forge: pass: 665/665 TypeScript and 13/13 .mjs regressions

  • MARINARA_ENGINE_ROOT=/Users/marysia/Developer/Marinara-Engine node scripts/typecheck-packages.mjs otome-forge: pass: no strict errors in 89 server/shared and 145 client files

  • MARINARA_ENGINE_ROOT=/Users/marysia/Developer/Marinara-Engine node scripts/build-feature-packages.mjs otome-forge: built 0.8.4; the HEAD sources rebuild HEAD's artifact exactly and the new sources rebuild the committed one exactly (cmp)

  • MARINARA_ENGINE_ROOT=/Users/marysia/Developer/Marinara-Engine node scripts/run-package-browser-tests.mjs otome-forge tests/package-otome-forge*.e2e.ts: 390 passed (31.8 min), desktop and mobile Chromium

  • Without-change proof: the reader banner tests and the memory-notice regression against the old sources, only the new CSS, and all new code but Setting: they fail at the header padding, the Memory focus, the kept pick, the banner after Save and memoryPollMs; after restoring, cmp showed all 20 files identical and every test passes

  • npm run -s check: Prettier clean; ESLint 0 errors, 815 warnings, none in changed files

  • node scripts/validate-catalog.mjs (other packages' zips copied from HEAD for the run, then deleted): Catalog valid: 42 packages; preview overlay valid (otome-forge 0.8.4); lanes v2=42 v3=42

  • node scripts/test-catalog-lanes.mjs; node scripts/validate-package-locales.mjs; node scripts/validate-package-locale-keys.mjs; node scripts/tests/cata: all pass

  • git diff --stat origin/staging..HEAD -- artifacts/; cmp of the 0.8.3 zip against origin/staging: only otome-forge-0.8.4.zip is added; the 0.8.3 zip is identical to staging's

  • Final commits 573581277 and 50972172a: pnpm -s test:otome-forge 668/668 + 13/13; typecheck clean (89 server/shared, 145 client files); npm run -s check 0 errors; the reader browser file 84 passed on desktop and mobile Chromium; each new test failed without its change; the rebuild reproduces the committed files and the 0.8.3 zip is identical to staging's.

  • Commit e29ff6751 (Dottore repairs): pnpm -s test:otome-forge 668/668 + 13/13; typecheck clean; npm run -s check 0 errors; the reader browser file 88 passed on desktop and mobile Chromium; the 6 new browser tests fail against the previous sources, and the Retry test fails with the banner fix but the previous hook; the rebuild is reproducible and the 0.8.3 zip is identical to staging's.

Review: two independent adversarial reviews (story context; banner and release). The banner/release review asked for changes (1 major: the branch had overwritten the released 0.8.3 zip; 5 minor), all fixed in 9fc091bd0 and e3d6c8b55. The story-context review approved with minor notes, addressed in 573581277 (a memory model too small for even one summary now fails with a readable message instead of no reason; a status saved by the old context check clears; the headers say exactly what goes in full after a failure) and 50972172a (Otome's own messages show without "The connection said", the condensing failure has its own wording). A review of 573581277 approved it. Dottore's repair request on 50972172 (the Retry error, plus the Memory reveal it listed as unexamined) was fixed in e29ff6751 and then reviewed by two independent reviewers (memory-status state; reveal and rebuild), who found nothing. Two of Dottore's notes needed no change: the ?? 0 in the condensing message is required by the types (removing it fails typecheck), and the client's memory phases already match Debug's labels (typecheck enforces it).

Known limits and risks:

  • Memory focus timing: the Memory picker is focused one animation frame after it appears, after the screen has put focus on its heading. If the connection list loads slowly, focus moves to the picker when the list arrives, even if the player has moved elsewhere in the meantime.
  • No-connection case: Change connection opens Connections as before, not at Memory. In that state the story itself has no connection (resolveConnectionId falls back to the Story one), so the Story picker is the one to set.
  • Phone menu height: the reader's phone menu now uses the same top value as the header. A banner on a notched phone therefore no longer takes the safe area twice from the menu's height.
  • Story list: it still has no per-story mark. The index carries no memory status, so a story's banner shows once it is opened.
  • Not done here: Home note, Read Him and Read Me still use their recalled line only when memory is ready. A long story with no summaries still sends every chapter in full, and the fitter drops the oldest only at the reply floor.
  • Not run here: validate-catalog ran only with the other packages' zips copied in temporarily (then deleted). The Engine was not installed or updated by hand.
  • One failed summary holds back the ones after it. The shared memory kit summarizes chapters in story order and stops at the first failure, and folds nothing into the timeline until every record exists. While a summary keeps failing, every chapter finished after it also goes in full, so prompts grow until Retry or a connection change. The banner on every screen makes this visible. Changing the order is a forge-kit change shared with Gacha Forge, so it is left out here.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

A memory banner at the top of every screen of an open story when a summary failed (with the connection's error, Retry the summary and Change connection) or when no connection can write summaries (Change connection only).

🤖 Generated with Claude Code


🔄 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-Agents/pull/2100 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/4/2026 **Status:** ✅ Merged **Merged:** 11/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/otome-memory-summaries-retry` --- ### 📝 Commits (8) - [`a6d0643`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a6d0643a3d1c48974f1b3b2cdb471325af1e1ebe) fix(otome-forge): story prompts read the saved memory in every state; memory never waits for a context size - [`72367ab`](https://github.com/Pasta-Devs/Marinara-Agents/commit/72367ab681a95ac7af42f0f98edc73b6a77f1570) fix(otome-forge): a failed summary shows on every screen of the story, with Retry and the way to the Memory connection - [`702cf11`](https://github.com/Pasta-Devs/Marinara-Agents/commit/702cf11716d091b726f51e5421110496bb4d9765) chore(otome-forge): release the memory fixes as 0.8.4 - [`9fc091b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9fc091bd0ced8f265c48a61f5420b3ce5076ad31) fix(otome-forge): the memory banner's Change connection lands on the Memory connection and keeps unsaved picks - [`e3d6c8b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e3d6c8b553d3a4deaec1b7a927a357d83849be8e) chore(otome-forge): keep the released 0.8.3 zip as staging has it - [`5735812`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5735812779b30a927320797e565dcbba09df977b) fix(otome-forge): a memory model too small for a summary says so, and the old gate's ready status no longer waits for setup - [`5097217`](https://github.com/Pasta-Devs/Marinara-Agents/commit/50972172a76966ffef36943025e2ec1778d7aebf) fix(otome-forge): a memory model too small says so in Otome's own words, not as the connection's - [`e29ff67`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e29ff6751b375ff0679030e6a67dfe15084b34b4) fix(otome-forge): a failed Retry request keeps to its own line, and Change connection reaches Memory once connections are listed ### 📊 Changes **41 files changed** (+2242 additions, -719 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.8.4.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+8 -8) 📝 `catalog/preview/notes.json` (+6 -6) 📝 `catalog/preview/v2/catalog.json` (+8 -8) 📝 `catalog/preview/v2/notes.json` (+6 -6) 📝 `catalog/preview/v3/catalog.json` (+8 -8) 📝 `catalog/preview/v3/notes.json` (+6 -6) 📝 `packages/otome-forge/CHANGELOG.md` (+6 -0) 📝 `packages/otome-forge/README.md` (+1 -1) 📝 `packages/otome-forge/client.js` (+79 -54) 📝 `packages/otome-forge/manifest.json` (+5 -5) 📝 `packages/otome-forge/server.mjs` (+139 -139) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/OtomeForgeView.tsx` (+19 -6) ➕ `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/MemoryBanner.tsx` (+163 -0) ➕ `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-memory.ts` (+58 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-reader.ts` (+4 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-run.ts` (+4 -1) ➕ `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/memory-notice.ts` (+80 -0) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/locales/en.json` (+8 -1) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/phone/StickerPicker.tsx` (+3 -3) _...and 21 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #2099 ## Why this change The maintainer's rule for Otome Hearth's story memory: every story prompt carries the timeline (the summaries of all previous chapters, condensed once it grows past about 14k tokens), the previous chapter in full, and a chapter in full only while it has no summary yet. The code did something else whenever memory was not ready (a summary still being written, a failed one, or memory never set up): prompts dropped the timeline and every summary and sent earlier chapters word for word, newest first, up to 12,000 tokens. Memory also waited forever on a model that reports no context size, so it never wrote a summary for it. The maintainer: "why would you need a context size for it, just send the request that is prompt + chapter to summarize", and "if the context size is too small, we will just throw an error and the user will switch a connection". A failed summary sat silently in Settings → Debug. The maintainer: "If a summary fails, we need to show the user a button on any screen in Otome Hearth that they can press to fix the summary (re-try it). It can't be sitting there silently failed, hidden in settings." ## What changed - Every story prompt (chapter plans, dates, Character Story, extra story and banner plans, and the chat reply) is built the same way whatever state memory is in: the saved timeline, the previous chapter in full, each other chapter by its summary, and a chapter in full only while it has no summary yet. Before, a pending, failed or never-written summary made every prompt drop the summaries and send recent chapters word for word. - Memory no longer waits for a context size. A model that reports none (the Engine's on-device model) now writes summaries. A model too small for a summary gives a failed summary with the provider's own message, which Retry clears. - Memory status (GET /runs/:run/memory/status and POST .../retry) adds three optional fields: `message`, `noConnection` and `unsummarized`. - A failed summary shows on every screen of the open story, with what the connection said, Retry the summary and Change connection. When no connection can write summaries, the banner offers only Change connection. Ordinary catch-up shows nothing. - Change connection for a failed summary opens Settings → Connections with More connections open and the Memory connection focused. Pressed while already in Settings, it keeps a pick not saved yet. - A failed Retry request (network error, 503) shows on its own line under the banner's buttons, and the summary's own message stays as "The connection said: …" (or Otome's own too-small text). The request error belongs to the status it failed on, so it survives the next read and the 30 s poll, and goes once that status changes (a Retry from Settings, memory recovering, or a new failure). Settings' memory section uses the same hook and shows its Retry error the same way (Dottore Review on #2100). - Change connection also reveals and focuses the Memory picker when the connection list arrives after Settings opens (for example after Check again); a More connections section the player closed stays closed. - Saving a connection removes the 'no connection' banner at once. - The memory status is read fast only while a retry runs or Settings' memory section is open; otherwise every 10 s during catch-up and every 30 s at rest. - On a notched phone, the reader's controls sit right below the banner, with no extra gap. - A Memory connection whose model reports a context too small to hold even the smallest summary or timeline-condensing request now fails with no provider call. Where that cutoff falls depends on the connection's output limit, which sets the reply room each call keeps. The status is `error` with reason `context-too-small` and Otome's own message: "…is too small to write a summary." or "…is too small to condense the story's timeline.", each followed by "Choose a connection with a larger context." The banner and Settings show it on its own, without "The connection said", and offer Retry and Change connection so the player can switch models. - Settings → Debug no longer shows "Waiting for setup: … no known context size" for a story whose memory was finished under the old context check; that dead copy is removed. - Otome Hearth 0.8.4, with release notes. Only the new zip is added; the released 0.8.3 zip is unchanged. ## Package and security impact - Affected package IDs: `otome-forge` (0.8.3 → 0.8.4) - Engine compatibility impact: none - New or changed permissions/entrypoints: `GET /runs/:run/memory/status` and `POST .../memory/retry` gain optional `message`, `noConnection` and `unsummarized` fields (additive) - Restart, storage, update, or uninstall impact: stories saved under the old context-size check catch up on their own; no player action ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - [ ] Manually verify in the Engine: with the Memory connection set to a model whose context is too small, finish a long chapter and confirm the banner shows the provider's error on Home, Story, the reader, Dates, Wish, Wardrobe, Album, the phone and Settings. - [ ] Manually verify that Change connection from the reader opens Settings → Connections with More connections open and the Memory picker focused, and that Back returns to the reader. - [ ] Manually verify that picking a different Story connection on Settings → Connections, then pressing the banner's Change connection without saving, keeps the pick. - [ ] Manually verify that Retry the summary against a real provider shows 'Trying the summary again…', then either the provider's new error or, once it succeeds, removes the banner. - [ ] Manually verify on a notched phone (or iOS Safari) that the reader's controls sit right below the banner, with no large gap. - [ ] Manually verify, with no connection able to write summaries, that saving a connection in Settings → Connections removes the banner within a couple of seconds. - [ ] Manually verify, with a connection whose model reports no context size (the Engine's on-device model) as the Memory connection, that a finished chapter's summary is written (Settings → Debug → Story memory reaches Ready). - [ ] Manually verify that a staging Engine on this branch's preview catalog offers Otome Hearth 0.8.4 with its notes, and that the update installs and opens. Agent-run checks (for reference): - `pnpm -s test:otome-forge`: pass: 665/665 TypeScript and 13/13 .mjs regressions - `MARINARA_ENGINE_ROOT=/Users/marysia/Developer/Marinara-Engine node scripts/typecheck-packages.mjs otome-forge`: pass: no strict errors in 89 server/shared and 145 client files - `MARINARA_ENGINE_ROOT=/Users/marysia/Developer/Marinara-Engine node scripts/build-feature-packages.mjs otome-forge`: built 0.8.4; the HEAD sources rebuild HEAD's artifact exactly and the new sources rebuild the committed one exactly (cmp) - `MARINARA_ENGINE_ROOT=/Users/marysia/Developer/Marinara-Engine node scripts/run-package-browser-tests.mjs otome-forge tests/package-otome-forge*.e2e.ts`: 390 passed (31.8 min), desktop and mobile Chromium - `Without-change proof: the reader banner tests and the memory-notice regression against the old sources, only the new CSS, and all new code but Setting`: they fail at the header padding, the Memory focus, the kept pick, the banner after Save and memoryPollMs; after restoring, cmp showed all 20 files identical and every test passes - `npm run -s check`: Prettier clean; ESLint 0 errors, 815 warnings, none in changed files - `node scripts/validate-catalog.mjs (other packages' zips copied from HEAD for the run, then deleted)`: Catalog valid: 42 packages; preview overlay valid (otome-forge 0.8.4); lanes v2=42 v3=42 - `node scripts/test-catalog-lanes.mjs; node scripts/validate-package-locales.mjs; node scripts/validate-package-locale-keys.mjs; node scripts/tests/cata`: all pass - `git diff --stat origin/staging..HEAD -- artifacts/; cmp of the 0.8.3 zip against origin/staging`: only otome-forge-0.8.4.zip is added; the 0.8.3 zip is identical to staging's - Final commits 573581277 and 50972172a: `pnpm -s test:otome-forge` 668/668 + 13/13; typecheck clean (89 server/shared, 145 client files); `npm run -s check` 0 errors; the reader browser file 84 passed on desktop and mobile Chromium; each new test failed without its change; the rebuild reproduces the committed files and the 0.8.3 zip is identical to staging's. - Commit e29ff6751 (Dottore repairs): `pnpm -s test:otome-forge` 668/668 + 13/13; typecheck clean; `npm run -s check` 0 errors; the reader browser file 88 passed on desktop and mobile Chromium; the 6 new browser tests fail against the previous sources, and the Retry test fails with the banner fix but the previous hook; the rebuild is reproducible and the 0.8.3 zip is identical to staging's. Review: two independent adversarial reviews (story context; banner and release). The banner/release review asked for changes (1 major: the branch had overwritten the released 0.8.3 zip; 5 minor), all fixed in 9fc091bd0 and e3d6c8b55. The story-context review approved with minor notes, addressed in 573581277 (a memory model too small for even one summary now fails with a readable message instead of no reason; a status saved by the old context check clears; the headers say exactly what goes in full after a failure) and 50972172a (Otome's own messages show without "The connection said", the condensing failure has its own wording). A review of 573581277 approved it. Dottore's repair request on 50972172 (the Retry error, plus the Memory reveal it listed as unexamined) was fixed in e29ff6751 and then reviewed by two independent reviewers (memory-status state; reveal and rebuild), who found nothing. Two of Dottore's notes needed no change: the `?? 0` in the condensing message is required by the types (removing it fails typecheck), and the client's memory phases already match Debug's labels (typecheck enforces it). Known limits and risks: - **Memory focus timing:** the Memory picker is focused one animation frame after it appears, after the screen has put focus on its heading. If the connection list loads slowly, focus moves to the picker when the list arrives, even if the player has moved elsewhere in the meantime. - **No-connection case:** Change connection opens Connections as before, not at Memory. In that state the story itself has no connection (`resolveConnectionId` falls back to the Story one), so the Story picker is the one to set. - **Phone menu height:** the reader's phone menu now uses the same top value as the header. A banner on a notched phone therefore no longer takes the safe area twice from the menu's height. - **Story list:** it still has no per-story mark. The index carries no memory status, so a story's banner shows once it is opened. - **Not done here:** Home note, Read Him and Read Me still use their recalled line only when memory is ready. A long story with no summaries still sends every chapter in full, and the fitter drops the oldest only at the reply floor. - **Not run here:** validate-catalog ran only with the other packages' zips copied in temporarily (then deleted). The Engine was not installed or updated by hand. - **One failed summary holds back the ones after it.** The shared memory kit summarizes chapters in story order and stops at the first failure, and folds nothing into the timeline until every record exists. While a summary keeps failing, every chapter finished after it also goes in full, so prompts grow until Retry or a connection change. The banner on every screen makes this visible. Changing the order is a forge-kit change shared with Gacha Forge, so it is left out here. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) A memory banner at the top of every screen of an open story when a summary failed (with the connection's error, Retry the summary and Change connection) or when no connection can write summaries (Change connection only). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:39:38 +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-Agents#2118
No description provided.