[GH-ISSUE #8149] [Feature]: Restrict agent copying to custom agents #7584

Closed
opened 2026-10-24 04:04:30 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8149

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

The Copy action is currently offered for default/official Marinara agents as well as custom agents. An ordinary custom copy does not automatically inherit an official agent's dedicated backend behavior, so presenting it as a copy can give users the wrong expectation that all functions will carry over. Narrative Director's specialized behavior is an example of the distinction.

Proposed solution

  • Remove the Copy/Duplicate agent button and equivalent UI action entirely for default/official Marinara agents, including official agents provided through installed packages.
  • Continue allowing users to copy their own custom agents with the existing custom-agent copy behavior.
  • Apply the rule consistently wherever agent copying is offered, including the Agents library's normal and folder views and any other entry points.
  • Determine whether an agent is official/default or custom from the existing agent definition and ownership metadata, rather than its display name, so renaming an agent cannot change eligibility.
  • Keep the existing user-created agents and copies intact. This request does not alter unrelated editing, import, export, or other agent controls.
  • Verify the official/custom distinction in desktop and mobile layouts and with keyboard navigation.

Alternatives considered

A warning before copying an official agent would still expose a workflow that suggests the copy can preserve its specialized behavior. The requested direction is to remove that action for official agents and retain it for custom agents.

Additional context

Requested by @SpicyMarinara. This is an Engine UI/host behavior change, rather than a change to the official package definitions in Marinara-Agents.

Current source reference: packages/client/src/components/panels/AgentsPanel.tsx supplies handleDuplicateAgent to the shared renderAgentCard, whose Copy button is currently shown regardless of the card's custom classification. Implementation should check every copying entry point before choosing the smallest shared fix.

This issue only records the requested behavior; no implementation or browser verification has been performed.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8149 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? The Copy action is currently offered for default/official Marinara agents as well as custom agents. An ordinary custom copy does not automatically inherit an official agent's dedicated backend behavior, so presenting it as a copy can give users the wrong expectation that all functions will carry over. Narrative Director's specialized behavior is an example of the distinction. ## Proposed solution - Remove the Copy/Duplicate agent button and equivalent UI action entirely for default/official Marinara agents, including official agents provided through installed packages. - Continue allowing users to copy their own custom agents with the existing custom-agent copy behavior. - Apply the rule consistently wherever agent copying is offered, including the Agents library's normal and folder views and any other entry points. - Determine whether an agent is official/default or custom from the existing agent definition and ownership metadata, rather than its display name, so renaming an agent cannot change eligibility. - Keep the existing user-created agents and copies intact. This request does not alter unrelated editing, import, export, or other agent controls. - Verify the official/custom distinction in desktop and mobile layouts and with keyboard navigation. ## Alternatives considered A warning before copying an official agent would still expose a workflow that suggests the copy can preserve its specialized behavior. The requested direction is to remove that action for official agents and retain it for custom agents. ## Additional context Requested by @SpicyMarinara. This is an Engine UI/host behavior change, rather than a change to the official package definitions in Marinara-Agents. Current source reference: `packages/client/src/components/panels/AgentsPanel.tsx` supplies `handleDuplicateAgent` to the shared `renderAgentCard`, whose Copy button is currently shown regardless of the card's `custom` classification. Implementation should check every copying entry point before choosing the smallest shared fix. This issue only records the requested behavior; no implementation or browser verification has been performed. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 23, 2026):

Codex is implementing this in the dedicated agent UI lane, tracked by draft PR #8150 and assigned to @SpicyMarinara. That PR covers mode filtering (#8146), custom-only Copy actions (#8149), and only the dismissible new-agent notice portion of #8148. Per-chat lorebook controls remain in a separate coordinated lane.

<!-- gh-comment-id:6361016052 --> @SpicyMarinara commented on GitHub (Oct 23, 2026): Codex is implementing this in the dedicated agent UI lane, tracked by draft PR #8150 and assigned to @SpicyMarinara. That PR covers mode filtering (#8146), custom-only Copy actions (#8149), and only the dismissible new-agent notice portion of #8148. Per-chat lorebook controls remain in a separate coordinated lane.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 23, 2026):

Fixed in #8150 and merged to staging at 45e28ad0be5da025b411423c4029d19029591427. The reviewed head is an ancestor of staging. Local baseline, 21 focused browser cases and 7 smoke cases passed; all required hosted checks and current-head Dottore review passed (Viable, With Notes; zero defects). Post-merge staging workflows are tracked separately.

<!-- gh-comment-id:6361613599 --> @SpicyMarinara commented on GitHub (Oct 23, 2026): Fixed in #8150 and merged to `staging` at `45e28ad0be5da025b411423c4029d19029591427`. The reviewed head is an ancestor of staging. Local baseline, 21 focused browser cases and 7 smoke cases passed; all required hosted checks and current-head Dottore review passed (Viable, With Notes; zero defects). Post-merge staging workflows are tracked separately.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7584
No description provided.