mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1353] [Issue]: Refactor custom tools cannot run legacy script tools #677
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#677
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 @ghost on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1353
Originally assigned to: @Romuromylus on GitHub.
Summary
Legacy custom tools supported
executionType: "script"with storedscriptBody. The refactor only supports static/webhook tools and explicitly reports script execution disabled.Classification: Missing feature, security-sensitive implementation decision
Expected behavior
Existing script tools should either execute in a safe/sandboxed privileged path or migrate with a clear unsupported-state warning and docs.
Actual behavior
Current schema/type/editor omit
scriptBody; Rust capabilities reportscriptExecutionEnabled: false.Steps to reproduce
executionType: scriptandscriptBody.src/engine/contracts/schemas/custom-tool.schema.ts,ToolEditor.tsx, andsrc-tauri/src/commands/storage/custom_tools.rs.Impact area
Environment
07af6d8b)Logs, screenshots, or video
No runtime logs or screenshots. Finding comes from raw-codebase parity inspection.
Regression notes
Legacy behavior/source exists in
origin/staging / v1.6.1 raw codebaseand is tracked indocs/refactor-staging-1.6-feature-gap-audit.md. Current refactor source did not show equivalent behavior at the paths named below.Additional context
Because arbitrary script execution is security-sensitive, this may be a deliberate de-support decision, but it needs an explicit migration/support outcome.
Audit report:
docs/refactor-staging-1.6-feature-gap-audit.md.Template check