mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1818] [MERGED] Fix agent run legacy cadence parity #5290
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5290
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1818
Author: @Xelvanis
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @Xelvanis
Base:
refactor← Head:issue-1791-agent-runs-cadence-parity📝 Commits (3)
696dbadFix agent run legacy cadence parity1dbf0f5Refresh PR checks370d37eAddress agent run review findings📊 Changes
9 files changed (+790 additions, -59 deletions)
View changed files
📝
src-tauri/src/commands/storage/agents.rs(+287 -31)📝
src-tauri/src/commands/storage/profile/legacy.rs(+73 -3)📝
src-tauri/src/commands/storage/shared.rs(+148 -0)📝
src-tauri/src/state.rs(+110 -1)📝
src/engine/generation/agent-runner.ts(+23 -9)📝
src/engine/generation/start-generation.ts(+7 -3)📝
src/features/catalog/agents/hooks/use-agents.ts(+122 -5)📝
src/features/modes/shared/chat-ui/components/EchoChamberPanel.tsx(+18 -5)📝
src/features/modes/shared/chat-ui/lib/echo-chamber-messages.ts(+2 -2)📄 Description
Linked issue
Closes #1791
Why this change
agent_runsrows continue to drive cadence, echo messages, custom run review, and lorebook-keeper backfill behavior.What changed
Refactor impact
Primary owner:
Rust storage/imports and engine generation.
Impact areas reviewed:
agent-runsstorage shape and query filtersBoundary notes:
storageApi; no new raw Tauri imports.Pressure points touched:
ModeSurface,GameSurface, orsrc-tauri/src/lib.rscommand registration changes.Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses locally before PR push/handoff, including the unused-code checkpnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Commands run locally:
cargo test --manifest-path src-tauri\Cargo.toml cadence_status --libcargo test --manifest-path src-tauri\Cargo.toml legacy_agent_runs_import_with_config_metadata --libcargo test --manifest-path src-tauri\Cargo.toml app_state_startup_normalizes_legacy_agent_run_rows --libpnpm typecheckcargo check --manifest-path src-tauri\Cargo.tomlpnpm check:architecturegit diff --checkpnpm checkManual Tauri app QA was not run.
Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs changes needed; this restores existing behavior and compatibility.
UI evidence
No screenshots. UI impact is data compatibility for existing agent-run panels rather than a visible layout change.
Summary by CodeRabbit
Release Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.