mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1849] [MERGED] Add /amend guided response revisions #5320
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#5320
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/1849
Author: @cha1latte
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @cha1latte
Base:
refactor← Head:feat/issue-1848-amend-command📝 Commits (2)
5727433Add amend slash commandfc28793Trigger CI after PR body update📊 Changes
9 files changed (+199 additions, -11 deletions)
View changed files
📝
src/engine/generation/generation-replay.ts(+1 -0)➕
src/engine/shared/text/generation-guide.test.ts(+21 -0)📝
src/engine/shared/text/generation-guide.ts(+18 -1)📝
src/features/modes/conversation/components/ConversationInput.tsx(+16 -0)📝
src/features/modes/shared/chat-ui/components/ChatInput.tsx(+22 -1)📝
src/features/modes/shared/chat-ui/components/GenerationReplayDetailsModal.tsx(+10 -3)📝
src/features/shell/discovery/discovery-entries.json(+4 -4)➕
src/shared/lib/slash-commands.test.ts(+64 -0)📝
src/shared/lib/slash-commands.ts(+43 -2)📄 Description
Linked issue
Closes #1848
Why this change
/amend <instruction>makes that workflow explicit and saves the revised output as a new swipe instead of replacing chat history.What changed
/amend <revision instruction>and/revise <revision instruction>slash commands for Conversation and Roleplay chats.regenerateMessageId.amendgeneration guide source so replay metadata and stored guidance can represent amended swipes.Refactor impact
Primary owner:
Impact areas reviewed:
Boundary notes:
Pressure points touched:
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
pnpm test src/engine/shared/text/generation-guide.test.ts src/shared/lib/slash-commands.test.tsand it passed: 2 files, 4 tests.pnpm checkafter rebasing on currentupstream/refactor; it passed line endings, architecture, frontend typecheck, Rust check, docs, discovery, and unused-code checks.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:
/amendcan be found through Discover search.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.