mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1654] [MERGED] [codex] Wire mutation schemas at storage boundaries #5187
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#5187
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/1654
Author: @Xelvanis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Xelvanis
Base:
refactor← Head:codex/mutation-schema-boundaries📝 Commits (3)
ea1a37eWire mutation schema boundaries8c46d5aRoute remaining mutation helpers through schemas6d8742eAddress schema review feedback📊 Changes
28 files changed (+479 additions, -110 deletions)
View changed files
➕
src/engine/contracts/schemas/connection.schema.test.ts(+22 -0)📝
src/engine/contracts/schemas/connection.schema.ts(+12 -0)📝
src/engine/contracts/schemas/lorebook.schema.test.ts(+82 -1)📝
src/engine/contracts/schemas/lorebook.schema.ts(+19 -3)➕
src/engine/contracts/schemas/prompt.schema.test.ts(+32 -0)📝
src/engine/contracts/schemas/prompt.schema.ts(+29 -12)➕
src/engine/contracts/schemas/regex.schema.test.ts(+18 -0)📝
src/engine/contracts/schemas/regex.schema.ts(+3 -1)➕
src/engine/contracts/schemas/theme.schema.test.ts(+18 -0)📝
src/engine/contracts/schemas/theme.schema.ts(+3 -1)📝
src/engine/contracts/types/lorebook.ts(+2 -2)📝
src/features/catalog/agents/components/EditAgentModal.tsx(+7 -2)📝
src/features/catalog/agents/hooks/use-agents.ts(+16 -3)📝
src/features/catalog/agents/hooks/use-custom-tools.ts(+5 -2)📝
src/features/catalog/agents/hooks/use-regex-scripts.ts(+7 -3)📝
src/features/catalog/connections/hooks/use-connection-folders.ts(+2 -1)📝
src/features/catalog/connections/hooks/use-connections.ts(+2 -1)📝
src/features/catalog/lorebooks/components/CreateLorebookModal.tsx(+2 -1)📝
src/features/catalog/lorebooks/components/LorebookMakerModal.tsx(+12 -2)📝
src/features/catalog/lorebooks/components/LorebooksPanel.tsx(+7 -1)...and 8 more files
📄 Description
Linked issue
None. This follows the unused-export cleanup triage for mutation schemas.
Why this change
What changed
storageApiwrites.Refactor impact
Primary owner:
Engine contracts and catalog/shell feature mutation hooks.
Impact areas reviewed:
Boundary notes:
storageApiwrapper.Pressure points touched:
ModeSurface,GameSurface,src-tauri/src/lib.rscommand registration, or import modules touched.Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Automated validation run after rebasing onto current
origin/refactor:pnpm test -- src/engine/contracts/schemas/connection.schema.test.ts src/engine/contracts/schemas/prompt.schema.test.ts src/engine/contracts/schemas/theme.schema.test.ts src/engine/contracts/schemas/lorebook.schema.test.ts src/engine/contracts/schemas/regex.schema.test.tspassed: 5 files, 14 tests.pnpm typecheckpassed.pnpm check:architecturepassed.pnpm check:line-endingspassed.git diff origin/refactor...HEAD --checkpassed.pnpm buildpassed with the existing Vite large-chunk warning.Native Tauri manual CRUD QA was not run.
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdCode-only contract-boundary cleanup; no docs or release-note updates were made.
UI evidence
No screenshots or recordings. This change does not intentionally alter visible layout; it changes mutation validation behavior at storage boundaries.
Summary by CodeRabbit
Release Notes
New Features
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.