[GH-ISSUE #5421] [Issue]: Professor Mari cannot reliably create lorebook entry and library folders #3004

Closed
opened 2026-10-21 05:58:44 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Professor Mari cannot reliably create either kind of lorebook folder:

  • entry folders inside an individual lorebook, used to organize that lorebook's entries;
  • library folders in the main Lorebooks panel, used to organize whole lorebooks.

In a recent attempt, Mari first reported that her structured lorebook helper did not expose the requested folder operation. She eventually created a main-panel library folder only by inspecting the raw library_folders schema, generating IDs and timestamps, and writing through the low-level database tool. That indirect path is fragile and less capable models frequently fail before completing it.

Expected behavior

Professor Mari should have clear, supported structured actions for both folder types. She should be able to:

  • distinguish an entry folder from a main-panel lorebook library folder;
  • create entry folders inside a specified lorebook, including nested folders where supported;
  • create main-panel lorebook library folders without raw database-schema discovery;
  • validate the target and return an honest success or failure result;
  • follow concise workspace instructions that let smaller models choose the correct action reliably.

Actual behavior

The available actions and instructions do not reliably expose or distinguish both folder species. Mari may say folder creation is unsupported, inspect the wrong folder system, attempt low-level database operations, or fail during schema discovery. The provided transcript only succeeded after several tool and reasoning detours, including a failed combined schema/list command.

Steps to reproduce

  1. Open Ask Professor Mari.
  2. Ask her to create a folder inside a specific lorebook for organizing entries.
  3. Observe whether she can select a dedicated entry-folder action and complete it without raw database access.
  4. In a separate request, ask her to create a folder in the main Lorebooks panel for organizing lorebooks.
  5. Observe that she may report the structured lorebook helper does not expose library folders and fall back to inspecting and mutating library_folders directly.
  6. Repeat with a smaller supported model; the model may fail to recover from the missing or ambiguous structured operation.

Environment

  • Marinara Engine version: Staging build; exact version not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided
  • Professor Mari model: Reproduced as a reliability problem with less capable models; exact models not provided

Logs, screenshots, or video

Relevant behavior from the captured Professor Mari run:

The documented UI can create it, but the structured lorebook helper doesn’t expose library folders.
...
mari db schema library_folders
...
fetch failed
...
Creating the lorebook library folder as test now.
...
Done — created and verified the test folder in the main Lorebooks tab.

The final creation succeeded through a low-level database write, but only after schema inspection and recovery. The same run began while investigating entry folders inside a lorebook, demonstrating that the two concepts are not presented clearly enough to the agent.

Additional context

Related closed issues:

  • #4909 added folderId support to lorebook entry creation/update, but assigning an existing folder is not sufficient if Mari cannot create the entry folder first.
  • #5391 requested supported lorebook-folder tools, yet current testing still shows incomplete coverage or unclear routing between entry folders and main-panel library folders.

The fix should favor small dedicated structured actions and explicit tool descriptions over teaching models to construct raw database rows.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 22, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5421 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Professor Mari cannot reliably create either kind of lorebook folder: - **entry folders** inside an individual lorebook, used to organize that lorebook's entries; - **library folders** in the main Lorebooks panel, used to organize whole lorebooks. In a recent attempt, Mari first reported that her structured lorebook helper did not expose the requested folder operation. She eventually created a main-panel library folder only by inspecting the raw `library_folders` schema, generating IDs and timestamps, and writing through the low-level database tool. That indirect path is fragile and less capable models frequently fail before completing it. ## Expected behavior Professor Mari should have clear, supported structured actions for both folder types. She should be able to: - distinguish an entry folder from a main-panel lorebook library folder; - create entry folders inside a specified lorebook, including nested folders where supported; - create main-panel lorebook library folders without raw database-schema discovery; - validate the target and return an honest success or failure result; - follow concise workspace instructions that let smaller models choose the correct action reliably. ## Actual behavior The available actions and instructions do not reliably expose or distinguish both folder species. Mari may say folder creation is unsupported, inspect the wrong folder system, attempt low-level database operations, or fail during schema discovery. The provided transcript only succeeded after several tool and reasoning detours, including a failed combined schema/list command. ## Steps to reproduce 1. Open Ask Professor Mari. 2. Ask her to create a folder inside a specific lorebook for organizing entries. 3. Observe whether she can select a dedicated entry-folder action and complete it without raw database access. 4. In a separate request, ask her to create a folder in the main Lorebooks panel for organizing lorebooks. 5. Observe that she may report the structured lorebook helper does not expose library folders and fall back to inspecting and mutating `library_folders` directly. 6. Repeat with a smaller supported model; the model may fail to recover from the missing or ambiguous structured operation. ## Environment - Marinara Engine version: Staging build; exact version not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided - Professor Mari model: Reproduced as a reliability problem with less capable models; exact models not provided ## Logs, screenshots, or video Relevant behavior from the captured Professor Mari run: ```text The documented UI can create it, but the structured lorebook helper doesn’t expose library folders. ... mari db schema library_folders ... fetch failed ... Creating the lorebook library folder as test now. ... Done — created and verified the test folder in the main Lorebooks tab. ``` The final creation succeeded through a low-level database write, but only after schema inspection and recovery. The same run began while investigating entry folders inside a lorebook, demonstrating that the two concepts are not presented clearly enough to the agent. ## Additional context Related closed issues: - #4909 added `folderId` support to lorebook entry creation/update, but assigning an existing folder is not sufficient if Mari cannot create the entry folder first. - #5391 requested supported lorebook-folder tools, yet current testing still shows incomplete coverage or unclear routing between entry folders and main-panel library folders. The fix should favor small dedicated structured actions and explicit tool descriptions over teaching models to construct raw database rows. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:58:44 +07:00
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#3004
No description provided.