[PR #483] [MERGED] fix(noodle): follow character-owned Conversation schedules #992

Closed
opened 2026-10-20 17:33:03 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/483
Author: @Gunterlie
Created: 8/21/2026
Status: ✅ Merged
Merged: 8/21/2026
Merged by: @Gunterlie

Base: staging ← Head: noodle-spring-clean


📝 Commits (3)

  • 433356a Support wrapped refresh objects in noodle parsing
  • a934aa5 fix(noodle): follow character-owned schedules
  • 22d6aae test(noodle): cover schedule metadata fallback

📊 Changes

12 files changed (+527 additions, -294 deletions)

View changed files

➕ artifacts/noodle-1.2.11.zip (+0 -0)
📝 catalog/catalog.json (+9 -9)
📝 catalog/v2/catalog.json (+9 -9)
📝 catalog/v3/catalog.json (+9 -9)
📝 packages/noodle/client.js (+13 -13)
📝 packages/noodle/manifest.json (+6 -6)
📝 packages/noodle/server.mjs (+282 -243)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-generated-refresh.ts (+12 -1)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-prompt.service.ts (+10 -2)
📝 scripts/build-feature-packages.mjs (+2 -2)
➕ tests/noodle-conversation-schedule.regression.ts (+148 -0)
📝 tests/noodle-generated-refresh.regression.ts (+27 -0)

📄 Description

Why this change

Engine PR #5359 moved Conversation schedules from chat metadata to character cards. Noodle still read chat-local characterSchedules metadata when building the generated timeline prompt. This could miss a character schedule or use stale data after another chat changed it.

Closes #482.

What changed

  • Resolve Noodle schedule context through Engine resolveConversationPresenceState.
  • Preserve the per-chat schedule opt-out.
  • Keep a narrow fallback for older Engine runtimes.
  • Add regression coverage for character-owned schedule data.
  • Preserve the wrapped Noodle refresh parser fix from the existing worktree.
  • Rebuild Noodle as 1.2.11 with Engine minimum 2.4.4.
  • Update the v2 and v3 catalog entries, hashes, sizes, and ZIP artifact.

Validation

  • node scripts/test-catalog-lanes.mjs
  • node scripts/validate-package-locales.mjs
  • node scripts/validate-catalog.mjs
  • git diff --check
  • Prettier check for changed source and test files

Focused TypeScript regression execution was blocked because the available Engine checkout has no installed tsx dependency. The package rebuild completed successfully against the merged Engine #5359 checkout.

Manual verification needed

  • Verify a schedule edited from one Conversation chat is used by Noodle in another chat for the same character.
  • Verify disabling schedules in one chat does not hide the character schedule in another opted-in chat.
  • Verify Noodle installs and restarts correctly with package 1.2.11 on Engine 2.4.4.

Summary by CodeRabbit

  • New Features

    • Improved handling of Noodle refresh responses wrapped in arrays.
    • Conversation schedules now reflect active, disabled, time-zone, and updated scheduling settings more accurately.
  • Bug Fixes

    • Preserved refresh posts and author details during response validation.
    • Improved generated character schedule selection and filtering.
  • Tests

    • Added regression coverage for refresh parsing and conversation scheduling scenarios.
  • Chores

    • Updated Noodle to version 1.2.11; requires engine version 2.4.4 or later.

🔄 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/483 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/21/2026 **Status:** ✅ Merged **Merged:** 8/21/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `noodle-spring-clean` --- ### 📝 Commits (3) - [`433356a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/433356a6e6440c2a8da930b9c9e6d7833800cf3b) Support wrapped refresh objects in noodle parsing - [`a934aa5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a934aa5b0e25e5401f0eea0d9458cc5c1708efad) fix(noodle): follow character-owned schedules - [`22d6aae`](https://github.com/Pasta-Devs/Marinara-Agents/commit/22d6aaeaafdfac44fe193e7ca95ac4a181e01f46) test(noodle): cover schedule metadata fallback ### 📊 Changes **12 files changed** (+527 additions, -294 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/noodle-1.2.11.zip` (+0 -0) 📝 `catalog/catalog.json` (+9 -9) 📝 `catalog/v2/catalog.json` (+9 -9) 📝 `catalog/v3/catalog.json` (+9 -9) 📝 `packages/noodle/client.js` (+13 -13) 📝 `packages/noodle/manifest.json` (+6 -6) 📝 `packages/noodle/server.mjs` (+282 -243) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-generated-refresh.ts` (+12 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-prompt.service.ts` (+10 -2) 📝 `scripts/build-feature-packages.mjs` (+2 -2) ➕ `tests/noodle-conversation-schedule.regression.ts` (+148 -0) 📝 `tests/noodle-generated-refresh.regression.ts` (+27 -0) </details> ### 📄 Description ## Why this change Engine PR #5359 moved Conversation schedules from chat metadata to character cards. Noodle still read chat-local `characterSchedules` metadata when building the generated timeline prompt. This could miss a character schedule or use stale data after another chat changed it. Closes #482. ## What changed - Resolve Noodle schedule context through Engine `resolveConversationPresenceState`. - Preserve the per-chat schedule opt-out. - Keep a narrow fallback for older Engine runtimes. - Add regression coverage for character-owned schedule data. - Preserve the wrapped Noodle refresh parser fix from the existing worktree. - Rebuild Noodle as `1.2.11` with Engine minimum `2.4.4`. - Update the v2 and v3 catalog entries, hashes, sizes, and ZIP artifact. ## Validation - `node scripts/test-catalog-lanes.mjs` - `node scripts/validate-package-locales.mjs` - `node scripts/validate-catalog.mjs` - `git diff --check` - Prettier check for changed source and test files Focused TypeScript regression execution was blocked because the available Engine checkout has no installed `tsx` dependency. The package rebuild completed successfully against the merged Engine #5359 checkout. ## Manual verification needed - [ ] Verify a schedule edited from one Conversation chat is used by Noodle in another chat for the same character. - [ ] Verify disabling schedules in one chat does not hide the character schedule in another opted-in chat. - [ ] Verify Noodle installs and restarts correctly with package `1.2.11` on Engine `2.4.4`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved handling of Noodle refresh responses wrapped in arrays. - Conversation schedules now reflect active, disabled, time-zone, and updated scheduling settings more accurately. - **Bug Fixes** - Preserved refresh posts and author details during response validation. - Improved generated character schedule selection and filtering. - **Tests** - Added regression coverage for refresh parsing and conversation scheduling scenarios. - **Chores** - Updated Noodle to version 1.2.11; requires engine version 2.4.4 or later. <!-- 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-20 17:33:03 +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#992
No description provided.