[PR #8802] [MERGED] fix(server): hold mari images writes, deletes and JSON reads to their app folders #8815

Closed
opened 2026-11-07 17:39:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8802
Author: @SpicyMarinara
Created: 11/4/2026
Status: ✅ Merged
Merged: 11/4/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/hardening-mari-images-writes


📝 Commits (6)

  • 450802f fix(server): hold mari images writes and JSON reads to their app folders
  • 2d8ac8b fix(server): hold mari images gallery deletes and IDs to the gallery folder
  • 48d8280 fix(server): refuse a linked manifest or meta.json in the read, not only the write
  • c9828f4 fix(server): keep the app's media folders read-only for Professor Mari's shell
  • 273d01e fix(server): cover call videos and keep the media deny last in Mari's Seatbelt profile
  • edca434 test(server): pin mari code check's saved-data and media rules to the write deny

📊 Changes

6 files changed (+852 additions, -75 deletions)

View changed files

📝 packages/server/src/services/image/gallery-file-lifecycle.ts (+18 -1)
📝 packages/server/src/services/mari-db/mari-images.service.ts (+96 -61)
📝 packages/server/src/services/professor-mari/workspace-shell-sandbox.ts (+102 -10)
➕ packages/server/src/utils/app-folder.ts (+24 -0)
➕ scripts/regressions/professor-mari/mari-images-app-folder-writes.regression.ts (+453 -0)
📝 scripts/regressions/professor-mari/sandbox-secrets.regression.ts (+159 -3)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.

Linked issue

Closes #8797

Why this change

#8798 made mari images read an image from an app folder only through that folder's real path. The same command also writes and deletes files in those folders: preview images and their manifest, backgrounds and their meta.json, avatars, lorebook images, sprites, and the chat and character galleries. It also reads the manifest and meta.json. All of that used the path as written, so a link in one of those folders could send a write, delete or read somewhere other than the app folder.

This holds those operations to the real app folder. The rule applies to both mari CLI routes, which share the service, and to the gallery UI's deletes, which share the gallery cleanup helper. When the data dir sits inside Professor Mari's workspace, her sandboxed shell now gets read-only access to the app's media folders, as it already had for DATA_DIR/storage (maintainer decision). A check made in the server can then no longer be undone by her shell between the check and the write.

What changed

  • mari images now reads, writes and deletes app-folder files only while their real path stays inside the real app folder: the real data dir plus the folder's place in it. A path that does not exist yet is checked through its nearest existing folder. The check lives in a shared helper, utils/app-folder.ts.
  • Writes go to a new temporary file in the checked folder and are then renamed into place. A link already at the destination name is refused. One that appears after the check is replaced, never followed.
  • The preview manifest.json and backgrounds/meta.json are refused by their reads as well as their writes when the name is a link, even a link to another file in the same folder. One shared check (unlinkedAppFile) serves these reads and every file write in mari-images.service.ts; the sprite catalog keeps its own link checks. mari images generate, edit, list assets, delete --target asset, background assign, list backgrounds and delete --target background stop before any image is saved or deleted.
  • The shared gallery cleanup removes a file only when its folder's real path is inside the real gallery folder. Otherwise it keeps the file and logs a warning. This also covers the gallery UI's delete routes and the copies a chat-image delete removes. mari images checks a gallery image's folder before deleting its row.
  • Chat-gallery and character-gallery writes are held to the gallery folder, and a chat or character ID must be a single folder name.
  • The sprites folder is checked before the sprite catalog is read or written. A persona avatar delete checks the avatar folder before the shared cleanup runs.
  • When the data dir is inside Professor Mari's workspace, her shell can still read these folders but can no longer create, write, rename, link or delete anything in them: avatars, backgrounds, backgrounds-thumbs, conversation-call-character-videos, game-assets, game-scene-videos, gallery (including the mari images previews), lorebooks/images and sprites. The data dir, the folders between it and the workspace, and the folders holding DATA_DIR/storage cannot be renamed or removed from her shell. mari images still manages the media folders from the server process.
    • macOS (Seatbelt): the media folders, and the lorebooks folder that holds one, match by name in any letter case, so a missing one can be neither made nor moved into place. The media rule comes after the package-store cache rule, so a node_modules folder left inside a media folder gets no writable cache there.
    • Linux (bubblewrap): the server makes any missing media folder before each shell run, then mounts each one read-only after the store cache binds, and binds the folders that hold them onto themselves first.
  • Fonts, custom stickers and emojis, notification sounds, avatar models, and prompt, agent and connection images stay writable to her shell. No mari command writes them.
  • Normal installs keep working, including a data dir that is itself behind a link. Regressions: professor-mari/mari-images-app-folder-writes (added, now also covering a manifest or meta.json linked to a sibling file) and professor-mari/sandbox-secrets (extended: pins the Seatbelt rule and its order, the bubblewrap mounts and their order, and runs the real sandbox — Seatbelt on macOS, bubblewrap in CI's Linux shard).

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually verify in the app that Professor Mari's mari images generate, then assign to a background, character avatar, persona avatar, lorebook image, sprite, chat gallery and character gallery, saves the files and shows them in the UI.
  • Manually verify mari images list backgrounds and list assets, and that delete --target background / delete --target asset remove the file and update meta.json / the manifest.
  • Manually verify that deleting a chat-gallery image and a character-gallery image from the gallery UI still removes the file from disk.
  • Manually verify that mari images generate is refused and saves no new image when DATA_DIR/gallery/mari-images/manifest.json is a symlink to another file in that folder. Then remove the link and confirm generate works again.
  • Manually verify on macOS that a Professor Mari shell command can still list and read DATA_DIR/backgrounds and DATA_DIR/gallery (for example ls packages/server/data/backgrounds), that writing or deleting a file there from her shell fails, and that mari images assign --target background from her chat still saves the background and shows it in the UI.
  • Manually verify on Linux with bubblewrap installed that the same shell reads succeed and writes fail, that the server creates missing media folders (sprites, gallery, lorebooks/images, conversation-call-character-videos) before her first shell run without an error, and that mv packages/server/data/avatars packages/server/data/avatars.moved from her shell fails and avatars stays in place.
  • Manually verify in CI's Regression Checks log for these commits that professor-mari/sandbox-secrets reports "secret-boundary regression passed with linux-bubblewrap".
  • Manually verify that mari code check still completes inside the sandbox on macOS and on Linux.
  • Manually verify that Professor Mari can still write a custom font file into DATA_DIR/fonts from her shell.
  • Manually verify that a conversation call character video still generates and plays, since conversation-call-character-videos is now read-only to her shell (the server still writes it).
  • Manually verify on Linux with a deliberately symlinked media folder (for example backgrounds on another disk) that her shell still starts and the server logs the "is not a real folder in the data dir" warning.
  • Manually verify on Windows that a sprite re-assign (replacing an existing sprite file), a background assign and a gallery delete still succeed. Writes now use a temp file plus rename, and gallery unlinks now go through realpath.
  • Manually verify on a Docker install, or with DATA_DIR behind a symlink such as macOS /tmp, that mari images assign still writes into the data folders.

Agent-run checks (for reference; each regression was shown to fail without its part of the fix):

  • node ./scripts/pnpm-runner.mjs build:shared: ok
  • node ./scripts/run-regressions.mjs --filter mari-images-app-folder-writes: 1/1 passed; failed 0/1 with the earlier service in place
  • node ./scripts/run-regressions.mjs --filter sandbox-secrets: 1/1 passed with macos-seatbelt; failed 0/1 with the previous sandbox file, and again with only the Seatbelt rule order reverted
  • node ./scripts/run-regressions.mjs --filter sandbox: 2/2 passed (shell-sandbox, sandbox-secrets; macos-seatbelt)
  • node ./scripts/run-regressions.mjs --filter mari-guard: 1/1 passed
  • node ./scripts/run-regressions.mjs --filter professor-mari/: 27/27 passed
  • node ./scripts/run-regressions.mjs --filter regressions/mari/: 39/39 passed
  • node ./scripts/run-regressions.mjs --filter sprite- / gallery- / avatar- / lorebook-image / background / image-edit-reference: 7/7, 7/7, 26/26, 2/2, 4/4, 1/1 passed (earlier round)
  • cd packages/server && node ../../scripts/pnpm-runner.mjs run lint: exit 0
  • npx prettier --check on the changed files: clean
  • Not run locally: the bubblewrap backend (no Linux host). CI's Linux shard is its first real run.

Independent adversarial review, two rounds. Round one asked for changes (1 blocker, 3 major, 2 minor); round two, of 48d82805ad and c9828f4386, asked for changes (1 major, 4 minor). All are addressed in 2d8ac8b086, 48d82805ad, c9828f4386 and 273d01e461, except the follow-up listed below.

Known limits and risks:

Behaviour changes

  • A deliberately linked app subfolder (for example DATA_DIR/backgrounds or a gallery folder symlinked to another disk) is now refused for mari images writes and deletes on both CLI routes.
  • The shared gallery cleanup now leaves a file in place, with a warning, when the file's gallery folder is a link or sits behind one.
  • A chat or character ID containing /, \, NUL, . or .. is refused for mari gallery assigns.
  • A gallery row whose path points outside the gallery folder is now refused by mari images delete. Before, the row was deleted and the file was skipped.
  • Writes replace the file by renaming a temp file over it. A crash can leave a .mari-<id>.tmp file; image lists and the avatar sweep ignore that extension.
  • A preview manifest.json or backgrounds/meta.json that is a link is refused by every command that reads it, even when the link points to another file in the same folder.
  • When the data dir is inside Professor Mari's workspace, a shell command that put an image into one of the media folders by hand now fails; she uses mari images, which runs in the server. The data dir and the folders above it can no longer be renamed or removed from her shell.
  • When only FILE_STORAGE_DIR is inside the workspace, the folders holding it, up to the workspace, can no longer be renamed or removed from her shell either. Nothing else changes for those installs.
  • On Linux, the server creates any missing media folder (and lorebooks) before each shell run, because a read-only mount needs an existing folder.

Follow-up on #8797

  • The game-asset manifest builder (game/asset-manifest.service.ts), the game-assets routes and the shared avatar cleanup for the app's own UI deletes are not yet held to the real folder the same way. The builder also runs at startup, where a refusal must not block boot, and the right bound for a game-assets folder that is itself a link is a rule choice, so they get their own PR on the same issue.
  • Her structured write, copy, move and remove tools run in the server, outside the shell sandbox. As before, only DATA_DIR/storage is off-limits to them. A follow-up can hold them to the same folders.

Not caught or not tested

  • A hard-linked manifest.json or meta.json is not detected; realpath cannot see hard links.
  • realPathInAppFolder still checks first and uses the path afterwards (ponytail comment). The shell sandbox closes that gap for her shell; processes outside the sandbox are outside this PR's scope.
  • On Linux, a media folder that is already a link, or sits behind one, when her shell starts gets no read-only mount for that run, only a logged warning (ponytail comment on mediaFolderMounts). mari images still refuses the link itself.
  • When the data dir is reached through a link inside the workspace, its real path is protected but the link itself is not pinned. DATA_DIR/storage has the same limit today.
  • Before each shell run, the server still creates empty .cache, .vite and .vite-temp folders in any node_modules folder inside a media folder or DATA_DIR/storage, as it does for every package store. Her shell cannot write in them on either backend.
  • Windows was reasoned through but not run. Windows has no shell sandbox, so her shell is off there and the new sandbox rules do not apply.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/8802 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/4/2026 **Status:** ✅ Merged **Merged:** 11/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/hardening-mari-images-writes` --- ### 📝 Commits (6) - [`450802f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/450802f8eac3225d0168f8af44296bd0a0d06bf4) fix(server): hold mari images writes and JSON reads to their app folders - [`2d8ac8b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2d8ac8b08602d2dfbe528861a696b1b98d5dd027) fix(server): hold mari images gallery deletes and IDs to the gallery folder - [`48d8280`](https://github.com/Pasta-Devs/Marinara-Engine/commit/48d82805ada4f2c76b2d89e8bbc4eb4310ba0b1c) fix(server): refuse a linked manifest or meta.json in the read, not only the write - [`c9828f4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c9828f438619050f6e9daa620f75805d7202bf9c) fix(server): keep the app's media folders read-only for Professor Mari's shell - [`273d01e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/273d01e461b04b91adaa23cfce6b320bdad8e7e1) fix(server): cover call videos and keep the media deny last in Mari's Seatbelt profile - [`edca434`](https://github.com/Pasta-Devs/Marinara-Engine/commit/edca43442701a4a8a8fdd279474028638e4e9a5f) test(server): pin mari code check's saved-data and media rules to the write deny ### 📊 Changes **6 files changed** (+852 additions, -75 deletions) <details> <summary>View changed files</summary> 📝 `packages/server/src/services/image/gallery-file-lifecycle.ts` (+18 -1) 📝 `packages/server/src/services/mari-db/mari-images.service.ts` (+96 -61) 📝 `packages/server/src/services/professor-mari/workspace-shell-sandbox.ts` (+102 -10) ➕ `packages/server/src/utils/app-folder.ts` (+24 -0) ➕ `scripts/regressions/professor-mari/mari-images-app-folder-writes.regression.ts` (+453 -0) 📝 `scripts/regressions/professor-mari/sandbox-secrets.regression.ts` (+159 -3) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. ## Linked issue Closes #8797 ## Why this change #8798 made mari images read an image from an app folder only through that folder's real path. The same command also writes and deletes files in those folders: preview images and their manifest, backgrounds and their meta.json, avatars, lorebook images, sprites, and the chat and character galleries. It also reads the manifest and meta.json. All of that used the path as written, so a link in one of those folders could send a write, delete or read somewhere other than the app folder. This holds those operations to the real app folder. The rule applies to both mari CLI routes, which share the service, and to the gallery UI's deletes, which share the gallery cleanup helper. When the data dir sits inside Professor Mari's workspace, her sandboxed shell now gets read-only access to the app's media folders, as it already had for DATA_DIR/storage (maintainer decision). A check made in the server can then no longer be undone by her shell between the check and the write. ## What changed - mari images now reads, writes and deletes app-folder files only while their real path stays inside the real app folder: the real data dir plus the folder's place in it. A path that does not exist yet is checked through its nearest existing folder. The check lives in a shared helper, utils/app-folder.ts. - Writes go to a new temporary file in the checked folder and are then renamed into place. A link already at the destination name is refused. One that appears after the check is replaced, never followed. - The preview manifest.json and backgrounds/meta.json are refused by their reads as well as their writes when the name is a link, even a link to another file in the same folder. One shared check (`unlinkedAppFile`) serves these reads and every file write in mari-images.service.ts; the sprite catalog keeps its own link checks. `mari images generate`, `edit`, `list assets`, `delete --target asset`, background assign, `list backgrounds` and `delete --target background` stop before any image is saved or deleted. - The shared gallery cleanup removes a file only when its folder's real path is inside the real gallery folder. Otherwise it keeps the file and logs a warning. This also covers the gallery UI's delete routes and the copies a chat-image delete removes. mari images checks a gallery image's folder before deleting its row. - Chat-gallery and character-gallery writes are held to the gallery folder, and a chat or character ID must be a single folder name. - The sprites folder is checked before the sprite catalog is read or written. A persona avatar delete checks the avatar folder before the shared cleanup runs. - When the data dir is inside Professor Mari's workspace, her shell can still read these folders but can no longer create, write, rename, link or delete anything in them: avatars, backgrounds, backgrounds-thumbs, conversation-call-character-videos, game-assets, game-scene-videos, gallery (including the mari images previews), lorebooks/images and sprites. The data dir, the folders between it and the workspace, and the folders holding DATA_DIR/storage cannot be renamed or removed from her shell. mari images still manages the media folders from the server process. - macOS (Seatbelt): the media folders, and the lorebooks folder that holds one, match by name in any letter case, so a missing one can be neither made nor moved into place. The media rule comes after the package-store cache rule, so a node_modules folder left inside a media folder gets no writable cache there. - Linux (bubblewrap): the server makes any missing media folder before each shell run, then mounts each one read-only after the store cache binds, and binds the folders that hold them onto themselves first. - Fonts, custom stickers and emojis, notification sounds, avatar models, and prompt, agent and connection images stay writable to her shell. No mari command writes them. - Normal installs keep working, including a data dir that is itself behind a link. Regressions: professor-mari/mari-images-app-folder-writes (added, now also covering a manifest or meta.json linked to a sibling file) and professor-mari/sandbox-secrets (extended: pins the Seatbelt rule and its order, the bubblewrap mounts and their order, and runs the real sandbox — Seatbelt on macOS, bubblewrap in CI's Linux shard). ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Manually verify in the app that Professor Mari's `mari images generate`, then `assign` to a background, character avatar, persona avatar, lorebook image, sprite, chat gallery and character gallery, saves the files and shows them in the UI. - Manually verify `mari images list backgrounds` and `list assets`, and that `delete --target background` / `delete --target asset` remove the file and update meta.json / the manifest. - Manually verify that deleting a chat-gallery image and a character-gallery image from the gallery UI still removes the file from disk. - Manually verify that `mari images generate` is refused and saves no new image when DATA_DIR/gallery/mari-images/manifest.json is a symlink to another file in that folder. Then remove the link and confirm generate works again. - Manually verify on macOS that a Professor Mari shell command can still list and read DATA_DIR/backgrounds and DATA_DIR/gallery (for example `ls packages/server/data/backgrounds`), that writing or deleting a file there from her shell fails, and that `mari images assign --target background` from her chat still saves the background and shows it in the UI. - Manually verify on Linux with bubblewrap installed that the same shell reads succeed and writes fail, that the server creates missing media folders (sprites, gallery, lorebooks/images, conversation-call-character-videos) before her first shell run without an error, and that `mv packages/server/data/avatars packages/server/data/avatars.moved` from her shell fails and avatars stays in place. - Manually verify in CI's Regression Checks log for these commits that professor-mari/sandbox-secrets reports "secret-boundary regression passed with linux-bubblewrap". - Manually verify that `mari code check` still completes inside the sandbox on macOS and on Linux. - Manually verify that Professor Mari can still write a custom font file into DATA_DIR/fonts from her shell. - Manually verify that a conversation call character video still generates and plays, since conversation-call-character-videos is now read-only to her shell (the server still writes it). - Manually verify on Linux with a deliberately symlinked media folder (for example backgrounds on another disk) that her shell still starts and the server logs the "is not a real folder in the data dir" warning. - Manually verify on Windows that a sprite re-assign (replacing an existing sprite file), a background assign and a gallery delete still succeed. Writes now use a temp file plus rename, and gallery unlinks now go through realpath. - Manually verify on a Docker install, or with DATA_DIR behind a symlink such as macOS /tmp, that mari images assign still writes into the data folders. Agent-run checks (for reference; each regression was shown to fail without its part of the fix): - `node ./scripts/pnpm-runner.mjs build:shared`: ok - `node ./scripts/run-regressions.mjs --filter mari-images-app-folder-writes`: 1/1 passed; failed 0/1 with the earlier service in place - `node ./scripts/run-regressions.mjs --filter sandbox-secrets`: 1/1 passed with macos-seatbelt; failed 0/1 with the previous sandbox file, and again with only the Seatbelt rule order reverted - `node ./scripts/run-regressions.mjs --filter sandbox`: 2/2 passed (shell-sandbox, sandbox-secrets; macos-seatbelt) - `node ./scripts/run-regressions.mjs --filter mari-guard`: 1/1 passed - `node ./scripts/run-regressions.mjs --filter professor-mari/`: 27/27 passed - `node ./scripts/run-regressions.mjs --filter regressions/mari/`: 39/39 passed - `node ./scripts/run-regressions.mjs --filter sprite- / gallery- / avatar- / lorebook-image / background / image-edit-reference`: 7/7, 7/7, 26/26, 2/2, 4/4, 1/1 passed (earlier round) - `cd packages/server && node ../../scripts/pnpm-runner.mjs run lint`: exit 0 - `npx prettier --check` on the changed files: clean - Not run locally: the bubblewrap backend (no Linux host). CI's Linux shard is its first real run. Independent adversarial review, two rounds. Round one asked for changes (1 blocker, 3 major, 2 minor); round two, of 48d82805ad and c9828f4386, asked for changes (1 major, 4 minor). All are addressed in 2d8ac8b086, 48d82805ad, c9828f4386 and 273d01e461, except the follow-up listed below. Known limits and risks: **Behaviour changes** - A deliberately linked app subfolder (for example DATA_DIR/backgrounds or a gallery folder symlinked to another disk) is now refused for mari images writes and deletes on both CLI routes. - The shared gallery cleanup now leaves a file in place, with a warning, when the file's gallery folder is a link or sits behind one. - A chat or character ID containing `/`, `\`, NUL, `.` or `..` is refused for mari gallery assigns. - A gallery row whose path points outside the gallery folder is now refused by `mari images delete`. Before, the row was deleted and the file was skipped. - Writes replace the file by renaming a temp file over it. A crash can leave a `.mari-<id>.tmp` file; image lists and the avatar sweep ignore that extension. - A preview manifest.json or backgrounds/meta.json that is a link is refused by every command that reads it, even when the link points to another file in the same folder. - When the data dir is inside Professor Mari's workspace, a shell command that put an image into one of the media folders by hand now fails; she uses `mari images`, which runs in the server. The data dir and the folders above it can no longer be renamed or removed from her shell. - When only FILE_STORAGE_DIR is inside the workspace, the folders holding it, up to the workspace, can no longer be renamed or removed from her shell either. Nothing else changes for those installs. - On Linux, the server creates any missing media folder (and lorebooks) before each shell run, because a read-only mount needs an existing folder. **Follow-up on #8797** - The game-asset manifest builder (game/asset-manifest.service.ts), the game-assets routes and the shared avatar cleanup for the app's own UI deletes are not yet held to the real folder the same way. The builder also runs at startup, where a refusal must not block boot, and the right bound for a game-assets folder that is itself a link is a rule choice, so they get their own PR on the same issue. - Her structured write, copy, move and remove tools run in the server, outside the shell sandbox. As before, only DATA_DIR/storage is off-limits to them. A follow-up can hold them to the same folders. **Not caught or not tested** - A hard-linked manifest.json or meta.json is not detected; realpath cannot see hard links. - realPathInAppFolder still checks first and uses the path afterwards (ponytail comment). The shell sandbox closes that gap for her shell; processes outside the sandbox are outside this PR's scope. - On Linux, a media folder that is already a link, or sits behind one, when her shell starts gets no read-only mount for that run, only a logged warning (ponytail comment on mediaFolderMounts). mari images still refuses the link itself. - When the data dir is reached through a link inside the workspace, its real path is protected but the link itself is not pinned. DATA_DIR/storage has the same limit today. - Before each shell run, the server still creates empty .cache, .vite and .vite-temp folders in any node_modules folder inside a media folder or DATA_DIR/storage, as it does for every package store. Her shell cannot write in them on either backend. - Windows was reasoned through but not run. Windows has no shell sandbox, so her shell is off there and the new sandbox rules do not apply. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:39:54 +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#8815
No description provided.