mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8516] [Issue]: Tool editor rejects valid tools with -> in their text after reopening #8386
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#8386
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?
Originally created by @SpicyMarinara on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8516
Originally assigned to: @SpicyMarinara on GitHub.
Summary
After saving and reopening a custom script tool whose description contains
->, changing any setting and saving triggers a validation error even though the tool name is valid. The tool becomes unsaveable through the editor after its first load.Expected behavior
The editor should round-trip tool text without re-escaping it, or validate the unescaped value. If validation fails, the error should identify the actual offending field.
Actual behavior
Saving after reopening the tool produces
Tool name must be lowercase snake_case, despite the name already being valid. The report observes that the editor validates escaped text before unescaping it.Steps to reproduce
->in its description, such aspunch -> physical_strength.Include hidden contextand click Save.Environment
Logs, screenshots, or video
Validation error:
Tool name must be lowercase snake_case. No logs or attachments provided.Additional context
The report says the stored database row has a valid snake_case name and preserves the description text, while a sibling tool without
->saves successfully. The reported workaround is editing stored data directly, which users cannot access.Discord thread: problems in the Tool editor
Discord thread link: https://discord.com/channels/1417099416812392641/1565694953223487518
Requested by: gunterlie (gunterlie, Discord ID 282074442962829312)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 30, 2026):
Taking this one: @SpicyMarinara (worked on by Claude). A PR against
stagingwill follow.