[PR #1435] [MERGED] Fix setup schedule toggle default #5083

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1435
Author: @cha1latte
Created: 5/27/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @cha1latte

Base: refactor ← Head: fix/refactor-issue-1431-setup-schedule


📝 Commits (4)

  • b1a7ec5 Fix setup schedule toggle default
  • 7563828 Add setup schedule evidence
  • 45da6de Fix storage projection clippy lint
  • 0af7e21 Merge refactor into setup schedule fix

📊 Changes

4 files changed (+1 additions, -1 deletions)

View changed files

➕ pr-evidence/issue-1431/after-metadata-written.png (+0 -0)
➕ pr-evidence/issue-1431/after-toggle-visible.png (+0 -0)
➕ pr-evidence/issue-1431/before-missing-toggle.png (+0 -0)
📝 src/features/modes/shared/chat-ui/components/ChatSetupWizard.tsx (+1 -1)

📄 Description

Linked issue

Closes #1431

Why this change

  • The Conversation setup wizard started with Autonomous Messages already enabled, so QA and user flows that clicked the toggle to enable it actually turned autonomy off. Because Generate Schedule only renders while autonomy is enabled, the setup-time schedule toggle disappeared before schedule generation could be tested.

What changed

  • Start the Conversation setup wizard's Autonomous Messages toggle in the off state, so enabling it reveals Generate Schedule and the setup schedule-generation path can run.
  • Added scoped PR evidence screenshots under pr-evidence/issue-1431/ so UI proof is reviewer-visible from GitHub.

Refactor impact

Primary owner:

  • Shared mode UI / Conversation setup wizard

Impact areas reviewed:

  • Conversation setup wizard autonomy and schedule toggles
  • Conversation setup schedule generation through remote runtime + fake OpenAI-compatible provider
  • Settings-drawer schedule generation was reviewed as adjacent UI but not changed

Boundary notes:

  • No engine, shared API, remote-runtime routing, schema, dependency, or prompt-assembly changes. A tiny Rust storage lint cleanup is included to unblock the refactor CI head.
  • The change stays in React feature UI state and continues to call the existing chat-owned schedule service.

Pressure points touched:

  • ChatSetupWizard.tsx

Validation

  • pnpm check passes locally
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Codex ran focused Playwright QA against Vite at http://localhost:1420, remote runtime at http://127.0.0.1:8787, and a fake OpenAI-compatible provider at http://127.0.0.1:8899/v1.
  • Before fix: MARINARA_QA_ONLY_SETUP_SCHEDULES=1 node scratch/conversation-qa-runner.mjs reproduced the missing setup schedule toggle.
  • After fix: the same focused QA selected the seeded fake OpenAI connection, selected Mira QA, enabled Autonomous Messages, clicked Generate Schedule, clicked Start Chatting, and confirmed characterSchedules metadata was written.
  • node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json passed.
  • pnpm check passed.
  • pnpm build passed with existing Vite chunk-size/static-dynamic import warnings.
  • cargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warnings passed after the Rust storage lint cleanup.
  • Graphify update was attempted, but graphify and uv were unavailable on PATH in this shell.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

Before, enabling autonomy hid/failed to expose Generate Schedule:

before missing toggle

After, enabling autonomy exposes Generate Schedule:

after toggle visible

After clicking through setup generation, schedule metadata is written:

after metadata written


🔄 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/1435 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/27/2026 **Status:** ✅ Merged **Merged:** 5/27/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `fix/refactor-issue-1431-setup-schedule` --- ### 📝 Commits (4) - [`b1a7ec5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b1a7ec5a129cf807b19740a8ee5a7855f2933607) Fix setup schedule toggle default - [`7563828`](https://github.com/Pasta-Devs/Marinara-Engine/commit/756382857c79ce694a61bb6254aa6b66d96dee79) Add setup schedule evidence - [`45da6de`](https://github.com/Pasta-Devs/Marinara-Engine/commit/45da6de6a739c6472bc3ab5cee196753c3b2781f) Fix storage projection clippy lint - [`0af7e21`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0af7e21c6e0c5781e47f7ca1009d8ccc33b811bf) Merge refactor into setup schedule fix ### 📊 Changes **4 files changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `pr-evidence/issue-1431/after-metadata-written.png` (+0 -0) ➕ `pr-evidence/issue-1431/after-toggle-visible.png` (+0 -0) ➕ `pr-evidence/issue-1431/before-missing-toggle.png` (+0 -0) 📝 `src/features/modes/shared/chat-ui/components/ChatSetupWizard.tsx` (+1 -1) </details> ### 📄 Description ## Linked issue Closes #1431 ## Why this change - The Conversation setup wizard started with `Autonomous Messages` already enabled, so QA and user flows that clicked the toggle to enable it actually turned autonomy off. Because `Generate Schedule` only renders while autonomy is enabled, the setup-time schedule toggle disappeared before schedule generation could be tested. ## What changed - Start the Conversation setup wizard's `Autonomous Messages` toggle in the off state, so enabling it reveals `Generate Schedule` and the setup schedule-generation path can run. - Added scoped PR evidence screenshots under `pr-evidence/issue-1431/` so UI proof is reviewer-visible from GitHub. ## Refactor impact Primary owner: - Shared mode UI / Conversation setup wizard Impact areas reviewed: - Conversation setup wizard autonomy and schedule toggles - Conversation setup schedule generation through remote runtime + fake OpenAI-compatible provider - Settings-drawer schedule generation was reviewed as adjacent UI but not changed Boundary notes: - No engine, shared API, remote-runtime routing, schema, dependency, or prompt-assembly changes. A tiny Rust storage lint cleanup is included to unblock the refactor CI head. - The change stays in React feature UI state and continues to call the existing chat-owned schedule service. Pressure points touched: - `ChatSetupWizard.tsx` ## Validation - [ ] `pnpm check` passes locally - [ ] `pnpm typecheck` passes locally - [ ] `pnpm build` passes locally - [ ] `pnpm check:architecture` passes locally - [ ] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Codex ran focused Playwright QA against Vite at `http://localhost:1420`, remote runtime at `http://127.0.0.1:8787`, and a fake OpenAI-compatible provider at `http://127.0.0.1:8899/v1`. - Before fix: `MARINARA_QA_ONLY_SETUP_SCHEDULES=1 node scratch/conversation-qa-runner.mjs` reproduced the missing setup schedule toggle. - After fix: the same focused QA selected the seeded fake OpenAI connection, selected `Mira QA`, enabled `Autonomous Messages`, clicked `Generate Schedule`, clicked `Start Chatting`, and confirmed `characterSchedules` metadata was written. - `node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json` passed. - `pnpm check` passed. - `pnpm build` passed with existing Vite chunk-size/static-dynamic import warnings. - `cargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warnings` passed after the Rust storage lint cleanup. - Graphify update was attempted, but `graphify` and `uv` were unavailable on PATH in this shell. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence Before, enabling autonomy hid/failed to expose `Generate Schedule`: ![before missing toggle](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/fix/refactor-issue-1431-setup-schedule/pr-evidence/issue-1431/before-missing-toggle.png) After, enabling autonomy exposes `Generate Schedule`: ![after toggle visible](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/fix/refactor-issue-1431-setup-schedule/pr-evidence/issue-1431/after-toggle-visible.png) After clicking through setup generation, schedule metadata is written: ![after metadata written](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/fix/refactor-issue-1431-setup-schedule/pr-evidence/issue-1431/after-metadata-written.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:13:04 +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#5083
No description provided.