[PR #8736] [MERGED] docs(data, settings): rewrite backup, import, data and Settings guides #8776

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8736
Author: @Gunterlie
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/3/2026
Merged by: @Gunterlie

Base: staging ← Head: docs/data-guides


📝 Commits (10+)

  • f52581c docs(data): restructure backup-and-restore, add task steps and fix labels
  • 097f862 docs(data): restructure importing-from-sillytavern with numbered wizard steps, fix chat mode claim
  • 36bc2bf docs(data): rewrite clearing-data with steps, accurate per-category deletions and plain terms
  • 04f96eb docs(data): rewrite where-data-is-stored, add full folder list and plain terms
  • 85c2ae4 docs(settings): restructure settings-overview with section map, tables, fix General section count
  • 29ce439 docs(data): fix IMPORT_ALLOWED_ROOTS and folder browser rules in importing-from-sillytavern
  • cd3babe docs(data): fix HTTPS rule, ZIP export prompt and import button text in backup-and-restore
  • 81ae668 docs(data): fix preset default rule, add agent memory/folders and what is not cleared
  • 53f14c4 docs(data): fix .pre-shard location in where-data-is-stored
  • 89037dc docs(settings): fix Advanced order, General sections, Appearance groups, restore Addons and docs-language details

📊 Changes

5 files changed (+332 additions, -342 deletions)

View changed files

📝 docs/data/backup-and-restore.md (+72 -82)
📝 docs/data/clearing-data.md (+39 -44)
📝 docs/data/importing-from-sillytavern.md (+53 -71)
📝 docs/data/where-data-is-stored.md (+25 -28)
📝 docs/settings/settings-overview.md (+143 -117)

📄 Description

Linked issue

Part of #8721 (Docs rewrite: progress). No separate issue; the audit is in #8721. cc @SpicyMarinara

Why this change

These guides handle user data, and several claims were wrong or vague: the SillyTavern import said typed folder paths outside IMPORT_ALLOWED_ROOTS are refused and Browse always works (with the variable unset, every typed path is refused); the clear-data lists did not match what the server deletes; there was no "restore on a new computer" path; and the backup guide said the key file is restored while import blanks keys. The Settings overview listed sections that are not sections and had the Advanced tab in the wrong order.

What changed

  • data/backup-and-restore.md: "Move to a new computer" and "Restore by hand" sections; key handling stated once and correctly. −25% words.
  • data/importing-from-sillytavern.md: three ways to point at the folder, copy-from-another-computer tip, plain IMPORT_ALLOWED_ROOTS explanation. −29%.
  • data/where-data-is-stored.md: full folder list from the backup code; plain words for the startup-log hint and .pre-shard. −21%.
  • data/clearing-data.md: per-category lists match the server; what is never cleared; links to single-chat/character delete. (+1%, more precise lists.)
  • settings/settings-overview.md: "I want to…" table, two-column tables, correct section names and order. −9%.

Data and settings are in one PR to keep the PR count down (maintainer request).

Fact changes

  • SillyTavern import: a typed path works only inside IMPORT_ALLOWED_ROOTS; with it set, picked folders outside it are refused too; the in-app browser lists only the home folder (import.routes.ts:69-111, 1120). "Always Roleplay" → Roleplay unless the file records another mode.
  • Import Profile never restores API keys or webhook links, even from a backup; the key file matters only for a by-hand restore.
  • HTTPS is needed for profile import except at localhost, 127.0.0.1, [::1] (SettingsPanel.tsx:6419-6423).
  • Too-large native profile export offers a ZIP; Export ZIP downloads marinara-profile.zip (SettingsPanel.tsx:7095-7108). Described without quoting the dialog title, which open-issues.regression.ts:6919 forbids.
  • Backup contents now name .encryption-key and RESTORE.txt; "Backup preparation timed out after one hour" error; Automatic backups label.
  • Clearing: Chats also clears memories, agent memory, agent results and game state; Characters/Personas also delete avatar models; Connections clears chosen feature models; Automation also clears agent folders and Home widgets; Presets keeps the built-in stock preset (default only if another preset was default). Personal Extensions, External Extensions, backups/, .encryption-key and several asset folders are not cleared.
  • .pre-shard files are in storage/tables/ (en.json).
  • Settings: General has six sections; Search and Professor Mari settings is an Open row in App Behavior; Advanced starts with Multiplayer WIP (SettingsPanel.tsx:7531-7540); Appearance sections sit under App / Conversation / Roleplay / Game; Generations shows a download prompt until Illustrator is installed; Game Assets is under Imports; added Disable seasonal ME themes.

Could not verify

long-term-memory folder contents; SillyTavern wizard tip text and "quick replies not imported"; which chat addresses are left out of profile exports; whether a backup .zip restore blanks keys in every path.

Open questions

  • Leftover empty branch docs/settings-guides (identical to staging) can be deleted; the git proxy here refused the delete.

Renamed headings with screenshots

None. "Download Backup", "The eight data categories", "Quick single-file imports", "The Settings panel and its six tabs" kept; "Text Rules" text kept, now a ### under the General tab. Other renamed headings (no screenshots, no inbound links): "Settings, General tab" → "The General tab"; "Responses and Input & Editing" → "Input and Editing".

Renamed files

None.

Translation follow-up

#8740

Validation

  • node check-docs.mjs (links, anchors, screenshot headings, single H1) passes on all 5 files.
  • The regressions that read guide text pass locally on this branch (incl. open-issues.regression.ts, which reads the backup guide).
  • Separate fact-check pass: 11 wrong claims found and fixed. Separate phone-reader pass: fixes applied.
  • Local CodeRabbit: CLI not available in this sandbox.
  • pnpm check passes locally
  • Read and followed CONTRIBUTING.md

Manual verification

  • Download Backup, then restore it on a second install following "Move to a new computer".
  • Import a SillyTavern folder with and without IMPORT_ALLOWED_ROOTS set.
  • Clear one category and check what remains matches the guide.
  • Use the Settings "I want to…" table to find three settings.
  • Read each guide on a phone-width screen.

Docs and release impact

  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (#8740)

🤖 Generated with Claude Code

https://claude.ai/code/session_01R5jnWUseUoEJVRiDfKqrbm


🔄 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/8736 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 11/3/2026 **Status:** ✅ Merged **Merged:** 11/3/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `docs/data-guides` --- ### 📝 Commits (10+) - [`f52581c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f52581c5a69f88e41edfff767c6306eeac3c5527) docs(data): restructure backup-and-restore, add task steps and fix labels - [`097f862`](https://github.com/Pasta-Devs/Marinara-Engine/commit/097f862b9c2bbe834cb830fddaf36c287be4c4f2) docs(data): restructure importing-from-sillytavern with numbered wizard steps, fix chat mode claim - [`36bc2bf`](https://github.com/Pasta-Devs/Marinara-Engine/commit/36bc2bfc6328a84895643ce06bf16dc882cad2ed) docs(data): rewrite clearing-data with steps, accurate per-category deletions and plain terms - [`04f96eb`](https://github.com/Pasta-Devs/Marinara-Engine/commit/04f96eb7f696adad27236de6af87f0559e25973b) docs(data): rewrite where-data-is-stored, add full folder list and plain terms - [`85c2ae4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/85c2ae411a4f2eac2da8b4ae1b094d6acff73305) docs(settings): restructure settings-overview with section map, tables, fix General section count - [`29ce439`](https://github.com/Pasta-Devs/Marinara-Engine/commit/29ce439198f39b1dfb09cab6bebad4ed54644a95) docs(data): fix IMPORT_ALLOWED_ROOTS and folder browser rules in importing-from-sillytavern - [`cd3babe`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cd3babe71c35a17304911b59d2ecd4eaa45dca03) docs(data): fix HTTPS rule, ZIP export prompt and import button text in backup-and-restore - [`81ae668`](https://github.com/Pasta-Devs/Marinara-Engine/commit/81ae6680948847bb7be5c30b607d4542339b3ca0) docs(data): fix preset default rule, add agent memory/folders and what is not cleared - [`53f14c4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/53f14c44c1a5a1310db47fd11ae29f608b5cc431) docs(data): fix .pre-shard location in where-data-is-stored - [`89037dc`](https://github.com/Pasta-Devs/Marinara-Engine/commit/89037dc729e62161ebe277575eeacc312fc122f3) docs(settings): fix Advanced order, General sections, Appearance groups, restore Addons and docs-language details ### 📊 Changes **5 files changed** (+332 additions, -342 deletions) <details> <summary>View changed files</summary> 📝 `docs/data/backup-and-restore.md` (+72 -82) 📝 `docs/data/clearing-data.md` (+39 -44) 📝 `docs/data/importing-from-sillytavern.md` (+53 -71) 📝 `docs/data/where-data-is-stored.md` (+25 -28) 📝 `docs/settings/settings-overview.md` (+143 -117) </details> ### 📄 Description ## Linked issue Part of #8721 (Docs rewrite: progress). No separate issue; the audit is in #8721. cc @SpicyMarinara ## Why this change These guides handle user data, and several claims were wrong or vague: the SillyTavern import said typed folder paths outside `IMPORT_ALLOWED_ROOTS` are refused and Browse always works (with the variable unset, every typed path is refused); the clear-data lists did not match what the server deletes; there was no "restore on a new computer" path; and the backup guide said the key file is restored while import blanks keys. The Settings overview listed sections that are not sections and had the Advanced tab in the wrong order. ## What changed - `data/backup-and-restore.md`: "Move to a new computer" and "Restore by hand" sections; key handling stated once and correctly. −25% words. - `data/importing-from-sillytavern.md`: three ways to point at the folder, copy-from-another-computer tip, plain `IMPORT_ALLOWED_ROOTS` explanation. −29%. - `data/where-data-is-stored.md`: full folder list from the backup code; plain words for the startup-log hint and `.pre-shard`. −21%. - `data/clearing-data.md`: per-category lists match the server; what is never cleared; links to single-chat/character delete. (+1%, more precise lists.) - `settings/settings-overview.md`: "I want to…" table, two-column tables, correct section names and order. −9%. Data and settings are in one PR to keep the PR count down (maintainer request). ## Fact changes - SillyTavern import: a typed path works only inside `IMPORT_ALLOWED_ROOTS`; with it set, picked folders outside it are refused too; the in-app browser lists only the home folder (`import.routes.ts:69-111, 1120`). "Always Roleplay" → Roleplay unless the file records another mode. - Import Profile never restores API keys or webhook links, even from a backup; the key file matters only for a by-hand restore. - HTTPS is needed for profile import except at `localhost`, `127.0.0.1`, `[::1]` (`SettingsPanel.tsx:6419-6423`). - Too-large native profile export offers a ZIP; **Export ZIP** downloads `marinara-profile.zip` (`SettingsPanel.tsx:7095-7108`). Described without quoting the dialog title, which `open-issues.regression.ts:6919` forbids. - Backup contents now name `.encryption-key` and `RESTORE.txt`; "Backup preparation timed out after one hour" error; **Automatic backups** label. - Clearing: Chats also clears memories, agent memory, agent results and game state; Characters/Personas also delete avatar models; Connections clears chosen feature models; Automation also clears agent folders and Home widgets; Presets keeps the built-in stock preset (default only if another preset was default). Personal Extensions, External Extensions, `backups/`, `.encryption-key` and several asset folders are not cleared. - `.pre-shard` files are in `storage/tables/` (`en.json`). - Settings: General has six sections; **Search and Professor Mari settings** is an **Open** row in App Behavior; **Advanced** starts with **Multiplayer WIP** (`SettingsPanel.tsx:7531-7540`); Appearance sections sit under **App / Conversation / Roleplay / Game**; **Generations** shows a download prompt until Illustrator is installed; Game Assets is under **Imports**; added **Disable seasonal ME themes**. ## Could not verify `long-term-memory` folder contents; SillyTavern wizard tip text and "quick replies not imported"; which chat addresses are left out of profile exports; whether a backup `.zip` restore blanks keys in every path. ## Open questions - Leftover empty branch `docs/settings-guides` (identical to `staging`) can be deleted; the git proxy here refused the delete. ## Renamed headings with screenshots None. "Download Backup", "The eight data categories", "Quick single-file imports", "The Settings panel and its six tabs" kept; "Text Rules" text kept, now a `###` under the General tab. Other renamed headings (no screenshots, no inbound links): "Settings, General tab" → "The General tab"; "Responses and Input & Editing" → "Input and Editing". ## Renamed files None. ## Translation follow-up #8740 ## Validation - `node check-docs.mjs` (links, anchors, screenshot headings, single H1) passes on all 5 files. - The regressions that read guide text pass locally on this branch (incl. `open-issues.regression.ts`, which reads the backup guide). - Separate fact-check pass: 11 wrong claims found and fixed. Separate phone-reader pass: fixes applied. - Local CodeRabbit: CLI not available in this sandbox. - [ ] `pnpm check` passes locally - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification - [ ] **Download Backup**, then restore it on a second install following "Move to a new computer". - [ ] Import a SillyTavern folder with and without `IMPORT_ALLOWED_ROOTS` set. - [ ] Clear one category and check what remains matches the guide. - [ ] Use the Settings "I want to…" table to find three settings. - [ ] Read each guide on a phone-width screen. ## Docs and release impact - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (#8740) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01R5jnWUseUoEJVRiDfKqrbm --- <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:37 +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#8776
No description provided.