mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2022] [MERGED] Accept amend guide source in generate request schema #5394
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#5394
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/2022
Author: @Xelvanis
Created: 6/3/2026
Status: ✅ Merged
Merged: 6/3/2026
Merged by: @Xelvanis
Base:
refactor← Head:fix/generate-request-amend-source📝 Commits (1)
ed30196generation: accept amend guide source in request schema📊 Changes
3 files changed (+11 additions, -11 deletions)
View changed files
📝
src/engine/contracts/schemas/chat.schema.ts(+2 -1)📝
src/engine/generation/generation-replay.ts(+6 -9)📝
src/engine/shared/text/generation-guide.ts(+3 -1)📄 Description
Linked issue
Closes #2013
Why this change
/amendis a current refactor generation guide source, butgenerateRequestSchemarejected it. That left the request contract behind the runtime, slash-command, and replay paths.What changed
GENERATION_GUIDE_SOURCESas the shared runtime list for guide-source values.generateRequestSchemato validate against that shared list.Refactor impact
Primary owner:
Engine generation contracts.
Impact areas reviewed:
/amendslash-command request shape.narrator,guide, andgame_startvalues remain accepted.game_turnandgame_retryremain accepted.Boundary notes:
Pressure points touched:
None.
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
narrator,guide,amend,game_start,game_turn, andgame_retryaccepted; invalid source rejected./amendguide stored asamend, stripped back to the revision instruction, and reapplied during replay.pnpm typecheckpassed.pnpm check:architecturepassed.pnpm checkpassed.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:
Bugfix for an existing generation contract; no new discoverable feature.
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs changes needed for this internal contract alignment.
UI evidence
No visible UI change.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.