mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#5102
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/1463
Author: @Promansis
Created: 5/28/2026
Status: ✅ Merged
Merged: 5/28/2026
Merged by: @Promansis
Base:
refactor← Head:fix/prompt-assembly-format📝 Commits (5)
3b9671dstrictRoleFormatting no longer writes only system+user for output2a5a42cprompt assembly matches flags of ordered parameter sources with the final LLM requesta16a41bFix: Peek Prompt now gets a preview-specific message4da5142system messages remain separate history entries instead of being folded into the merged prompt scaffoldf7de50bCentralise peek prompt logic.📊 Changes
16 files changed (+4244 additions, -3188 deletions)
View changed files
📝
graphify-out/.graphify_labels.json(+15 -0)📝
graphify-out/GRAPH_REPORT.md(+309 -238)➕
graphify-out/cache/ast/ddd6593e644d342540e3cc7074cacd7e4e84e8a77f545e7efec11a219e127a1d.json(+1 -0)📝
graphify-out/cache/stat-index.json(+1 -1)📝
graphify-out/graph.json(+2491 -1699)📝
graphify-out/manifest.json(+1175 -1165)📝
src/engine/contracts/types/prompt.ts(+3 -1)📝
src/engine/generation/context.ts(+4 -13)📝
src/engine/generation/generate-route-utils.ts(+20 -1)📝
src/engine/generation/prompt-assembly.test.ts(+88 -4)📝
src/engine/generation/prompt-assembly.ts(+37 -29)📝
src/engine/generation/prompt-preview.ts(+18 -3)📝
src/engine/generation/start-generation.test.ts(+61 -0)📝
src/features/catalog/chats/hooks/use-chats.ts(+8 -24)📝
src/features/modes/shared/chat-ui/components/PeekPromptModal.tsx(+11 -9)📝
src/features/modes/shared/chat-ui/types.ts(+2 -1)📄 Description
Linked issue
#1461
Why this change
strictRoleFormattingandsingleUserMessagewere not guaranteed to affect both paths the same way.What changed
Refactor impact
Primary owner:
Engine generation, shared chat UI, chat storage/swipe runtime, Tauri dev tooling, Graphify tooling.
Impact areas reviewed:
Boundary notes:
previewMessagesseparately from final LLMmessages.Pressure points touched:
PeekPromptModal,ChatMessage,SwipeJumpControl, anduse-chat-timeline-actions.src-tauri/src/lib.rsdebug setup hook for auto devtools.chat_message_set_active_swipe.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
SwipeJumpControlnext-retry behavior.pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, andcargo check --manifest-path src-tauri/Cargo.toml --workspace.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
TODO: Add Peek Prompt before/after evidence showing section labels/preview messages, plus swipe-control evidence if this PR keeps the related swipe UI changes.
Summary by CodeRabbit
New Features
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.