mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2166] [Issue]: Global agent enable/disable was removed (panel toggle and editor Agent Status gone; saving forces enabled:true) #1076
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#1076
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 @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2166
Originally assigned to: @cha1latte on GitHub.
Summary
The legacy app let users globally enable or disable any built-in or custom agent from the Agents panel and from the agent editor's "Agent Status" control, persisting the
enabledflag so a disabled agent did not run. The refactor's Agents panel has no enable/disable toggle (only regex scripts retain one), the editor's Agent Status control is gone, and the editor hardcodesenabled: trueon save, so a previously-disabled agent is silently re-enabled the moment it is saved.Expected behavior
A user can globally enable/disable any built-in or custom agent (from the panel and the editor), the choice persists, and a disabled agent does not run. Saving an agent preserves its enabled state.
Actual behavior
The Agents panel exposes no agent enable/disable control. The editor has no "Agent Status" toggle and its save payload hardcodes
enabled: true, so there is no UI path to disable an agent and saving re-enables a disabled one. The backend still supports it (agent_toggle_by_typecommand,enabledcolumn, and an unusedagentApi.toggleByTypebinding with zero callers), so this is a UI-orphaned capability. (Per-chat agent membership via the chat settings drawer is a separate feature and exists in both branches.)Steps to reproduce
enabled: true.Impact area
Environment
93555d4bRegression notes
Worked in legacy (main @
c49f1d95). main: panel togglepackages/client/src/components/panels/AgentsPanel.tsx:172-180,418-465,671-684(+ Enabled/Disabled sections), editor "Agent Status"packages/client/src/components/agents/AgentEditor.tsx:231,801-834,529. refactor @93555d4b:src/features/catalog/agents/components/AgentsPanel.tsxhas only Edit / Edit+Delete (toggle at:282is regex-only);src/features/catalog/agents/components/AgentEditor.tsx:512hardcodesenabled: true;agentApi.toggleByType(src/shared/api/agent-api.ts:21) has no callers.