mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4775] [Issue]: Android/Termux lorebook corruption and missing shell access #2633
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#2633
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 @SpicyMarinara on GitHub (Aug 8, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4775
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Android/Termux users reported two lorebook bugs: lorebooks remain active after their character is deleted or unlinked, and Lorebook Keeper appends duplicate content instead of replacing existing entries. The report also requests native, safely sandboxed shell access on Android for debugging and file management.
Expected behavior
Deleting or unlinking a character should deactivate or remove its associated lorebooks from the All scope and leave them manageable. Updating or importing a lorebook through Lorebook Keeper should replace the existing entries and content rather than append duplicates. Android users should have a secure, documented way to perform necessary shell-based diagnostics and file operations.
Actual behavior
Lorebooks associated with deleted or unlinked characters remain active in the All scope, cannot be bulk-managed through the UI, and may conflict with newer lorebooks. Lorebook Keeper appends new entries and content during updates or imports, producing multiple stacked copies and contradictory context. Android/Termux users lack native shell access for operations such as deleting files, inspecting SQLite databases, querying JSON, searching files, and running cleanup scripts.
Steps to reproduce
Environment
Logs, screenshots, or video
Not provided in Discord context.
Additional context
The reporter observed one lorebook growing to contain three copies of its timeline, plot threads, and scene state, with slightly different content and naming conventions. Reported consequences include token waste, contradictory instructions, corrupted context, and incoherent generations. A participant noted that recent shell access may require a sandbox such as macOS Seatbelt or Linux bubblewrap, which Termux/Android may not support; no implementation or security solution was established. Marinara responded that this request is not easy to handle.
Discord thread: Android Bug Report
Discord thread link: https://discord.com/channels/1417099416812392641/1535737420379594923
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (6 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: