mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3249] docs: docs/CONFIGURATION.md is out of date - missing DATA_DIR, incomplete privileged-API list, wrong storyboard default #1745
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#1745
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 @kolacheee on GitHub (Jul 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3249
Originally assigned to: @SpicyMarinara on GitHub.
docs/CONFIGURATION.mdhas drifted from the shipped app. Found in a full docs-vs-code audit against v2.1.0. Each item below is independently checkable: open the doc at the noted spot and compare against the app or code. These can all land in one PR that refreshes the file.3 items found.
1. § Access Control → Privileged APIs, the "These APIs fail closed when ADMIN_SECRET is unset or wrong:" bullet list (docs/CONFIGURATION.md lines 243-251); the ADMIN_SECRET table row (line 27) names none of these either
(missing)
The Privileged APIs list reads as complete but omits several ADMIN_SECRET-gated features: theme install/update/delete and active-theme changes, extension install/update/delete, the custom music folder picker (both the picker and serving picked files), all Professor Mari workspace operations, Local Whisper (speech) model download/delete, sidecar unload, and custom tool reorder. A remote user whose theme or extension install fails with 403 - the exact scenario the client's own error message points at ADMIN_SECRET for - will not find those features in this list.
Suggested fix: Add bullets to the Privileged APIs list: "Theme install/update/delete and setting the active theme.", "Extension install/update/delete.", "Custom music folder picker (and serving files from the picked folder).", "Professor Mari workspace operations (clients on the IP allowlist or a trusted Tailscale/Docker interface are exempt for this feature)." Extend the sidecar bullet to "...model download/cancel/delete, unload, and Local Whisper speech-model download/delete." and the custom tool bullet to include reorder. Optionally add "themes/extensions" to the ADMIN_SECRET table row's examples at line 27 since those are the features remote users hit most.
2. § Scene Videos and Storyboards, docs/CONFIGURATION.md line 85: "Automatic Storyboard Illustrations are ON by default."
(outdated)
This flat statement is wrong. Automatic Storyboard Illustrations default to OFF at every layer: the Game Setup wizard initializes both Visual Generation and Storyboard Illustrations to false and only auto-enables illustrations at the moment the user turns Visual Generation ON; the Chat Settings toggle treats missing chat metadata as off; and the server only persists the flag when explicitly true. A user who creates a game with wizard defaults (Visual Generation off) gets no automatic storyboard illustrations, contradicting the doc. The wording was introduced deliberately in a doc-only commit yesterday and likely meant "on automatically when Visual Generation is enabled" - but as written it misleads.
Suggested fix: Reword line 85 to: "Automatic Storyboard Illustrations turn on automatically when Visual Generation is enabled for the game (they stay off when Visual Generation is off, which is the wizard default). Automatic Storyboard Animations are off by default so ordinary Game Mode turns do not automatically spend extra video calls. ..." Since the current wording was an intentional recent edit by another contributor, flag the correction in the PR description rather than silently reverting.
3. § Environment Variables table (docs/CONFIGURATION.md lines 15-76) - no DATA_DIR row
(missing)
DATA_DIR is never defined anywhere in CONFIGURATION.md even though three table rows depend on it (STORAGE_BACKEND "stores user data under DATA_DIR/storage" line 23, FILE_STORAGE_DIR default "<DATA_DIR>/storage" line 24, BACKGROUNDREMOVER_AUTO_INSTALL install path "DATA_DIR/background-remover" line 65) and .env.example ships it as an active default. A user trying to relocate all user data - the main reason to touch these variables - finds an undefined term instead of the variable that actually controls the location.
Suggested fix: Add a DATA_DIR row to the table near STORAGE_BACKEND/FILE_STORAGE_DIR: default
./data(relative paths resolve frompackages/server, so the effective default ispackages/server/data; official containers set/app/data), described as the root folder for user data - file-native storage lives atDATA_DIR/storage, and downloaded runtimes like the background remover install beneath it. Note that changing it requires a restart.@SpicyMarinara commented on GitHub (Jul 5, 2026):
Addressed in #3289.