[GH-ISSUE #3770] [Issue]: Deleted custom tools remain in exported agent manifest #2032

Closed
opened 2026-10-21 05:44:45 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

A custom tool deleted after being added to the Illustrator Agent is still included in the exported agent files. The deleted tool appears in manifest.json as a phantom tool.

Expected behavior

Deleting a custom tool should remove it from the agent configuration and exported manifest.json.

Actual behavior

After the custom tool is deleted, exporting the Illustrator Agent still includes the deleted tool in manifest.json.

Steps to reproduce

  1. Create a custom tool.
  2. Add the custom tool to the Illustrator Agent.
  3. Delete the custom tool.
  4. Export the agent.
  5. Inspect the exported manifest.json and observe that the deleted custom tool is still present.

Environment

  • Marinara Engine version: v2.3.3 (Build: 858cfa4)
  • Install type: docker
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Not provided in Discord context. The issue was identified by inspecting manifest.json in the exported agent files.

Additional context

The tool can be removed by recreating a custom tool with the same name, adding it back, and then disabling it in the agent.

Discord thread: [Docker] Phantom tools in Agent
Discord thread link: https://discord.com/channels/1417099416812392641/1527819376940810260
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (6 messages)
[2026-07-17T23:28:44.974Z] Themysterycat: ` ` `
Hosted within Docker
Release: v2.3.3
Build: 858cfa4
` ` `

So when i created custom tool for something I'm trying to do, and i added into Illustrator and then deleted the custom tool after, When i exported the agent after and inside the files, it still shows the deleted custom tool within it, which might cause issues maybe? idk
[Created custom tool] -> [Added it to Illustrator Agent] -> [Deleted Custom tool] -> [Exported Agent and checked manifest.json] -> [Found the issue like that]
[Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527819376940810260]

[2026-07-17T23:31:27.448Z] Themysterycat: It can be deleted normally if you just readd the custom tool back with the same name and then go back to agent to turn it off
[Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527820058406158386]

[2026-07-18T07:32:06.093Z] Marinara: I wonder… do these phantom tools ever experience…
[Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527941016450105436]

[2026-07-18T07:32:09.229Z] Marinara: Phantom pain?
[Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527941029603577997]

[2026-07-18T07:32:13.470Z] Marinara: https://klipy.com/gifs/metal-gear-10
Metal Gear Solid Snake
[Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527941047391490228]

[2026-07-18T07:32:48.058Z] Marinara: Anyway, on my way to fix that.
[Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527941192464072745]

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 (Jul 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3770 Originally assigned to: @SpicyMarinara on GitHub. ## Summary A custom tool deleted after being added to the Illustrator Agent is still included in the exported agent files. The deleted tool appears in manifest.json as a phantom tool. ## Expected behavior Deleting a custom tool should remove it from the agent configuration and exported manifest.json. ## Actual behavior After the custom tool is deleted, exporting the Illustrator Agent still includes the deleted tool in manifest.json. ## Steps to reproduce 1. Create a custom tool. 2. Add the custom tool to the Illustrator Agent. 3. Delete the custom tool. 4. Export the agent. 5. Inspect the exported manifest.json and observe that the deleted custom tool is still present. ## Environment - Marinara Engine version: v2.3.3 (Build: 858cfa4) - Install type: docker - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in Discord context. The issue was identified by inspecting manifest.json in the exported agent files. ## Additional context The tool can be removed by recreating a custom tool with the same name, adding it back, and then disabling it in the agent. Discord thread: [Docker] Phantom tools in Agent Discord thread link: https://discord.com/channels/1417099416812392641/1527819376940810260 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (6 messages)</summary> ```text [2026-07-17T23:28:44.974Z] Themysterycat: ` ` ` Hosted within Docker Release: v2.3.3 Build: 858cfa4 ` ` ` So when i created custom tool for something I'm trying to do, and i added into Illustrator and then deleted the custom tool after, When i exported the agent after and inside the files, it still shows the deleted custom tool within it, which might cause issues maybe? idk [Created custom tool] -> [Added it to Illustrator Agent] -> [Deleted Custom tool] -> [Exported Agent and checked manifest.json] -> [Found the issue like that] [Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527819376940810260] [2026-07-17T23:31:27.448Z] Themysterycat: It can be deleted normally if you just readd the custom tool back with the same name and then go back to agent to turn it off [Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527820058406158386] [2026-07-18T07:32:06.093Z] Marinara: I wonder… do these phantom tools ever experience… [Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527941016450105436] [2026-07-18T07:32:09.229Z] Marinara: Phantom pain? [Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527941029603577997] [2026-07-18T07:32:13.470Z] Marinara: https://klipy.com/gifs/metal-gear-10 Metal Gear Solid Snake [Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527941047391490228] [2026-07-18T07:32:48.058Z] Marinara: Anyway, on my way to fix that. [Discord message: https://discord.com/channels/1417099416812392641/1527819376940810260/1527941192464072745] ``` </details> ## 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.
bsakaguchi 2026-10-21 05:44:45 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Jul 18, 2026):

Addressed in #3775. The PR is ready for review, all required CI checks are green, and CodeRabbit feedback has been applied.

<!-- gh-comment-id:5010867416 --> @SpicyMarinara commented on GitHub (Jul 18, 2026): Addressed in #3775. The PR is ready for review, all required CI checks are green, and CodeRabbit feedback has been applied.
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#2032
No description provided.