mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#5966
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3501
Author: @kolacheee
Created: 7/11/2026
Status: ✅ Merged
Merged: 7/11/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/3490-confusing-comments📝 Commits (2)
2641c14docs(comments): fix confusing, misplaced, and wrong-pointer comments (#3490)ecc5935docs(auth): clarify default bypass flags📊 Changes
14 files changed (+36 additions, -18 deletions)
View changed files
📝
custom_components/marinara_engine/button.py(+5 -1)📝
custom_components/marinara_engine/coordinator.py(+3 -1)📝
packages/client/src/components/bot-browser/BotBrowserView.tsx(+5 -5)📝
packages/client/src/components/characters/CharacterEditor.tsx(+1 -1)📝
packages/client/src/components/chat/LocalMusicPlayer.tsx(+2 -0)📝
packages/client/src/components/game/GameSurface.tsx(+0 -3)📝
packages/client/src/stores/ui.store.ts(+2 -2)📝
packages/server/src/db/migrate.ts(+3 -0)📝
packages/server/src/middleware/basic-auth.ts(+8 -0)📝
packages/server/src/routes/bot-browser-janny.routes.ts(+1 -1)📝
packages/server/src/services/agents/agent-pipeline.ts(+1 -1)📝
packages/server/src/services/prompt/merger.ts(+3 -1)📝
packages/server/src/services/storage/chat-folders.storage.ts(+1 -1)📝
packages/shared/src/schemas/character.schema.ts(+1 -1)📄 Description
Linked issue
Fixes #3490
Why this change
Confusing, misplaced, or wrong-pointer comments waste reader time and produce wrong mental models. In large files, section banners are the primary map, so a banner sitting above the wrong code (or a cross-file pointer aimed 500 lines off) actively misleads. This corrects the #3490 catalogue.
What changed
14 comment/docstring corrections across 14 files, each re-verified against current code before editing:
CharacterEditor: the misplacedSprites Tabbanner over ~1000 lines of Gallery code is relabeledGallery Tab(the real Sprites banner was already correct and left alone)prompt/merger: the docblock now states the full merge predicate (same role AND samecharacterIdAND compatiblecontextKind), not just roleui.store+LocalMusicPlayer: thespotifyMobileWidget*fields are noted as shared by all three music players despite the spotify-prefixed namedb/migrate:runMigrationsheader notes it runs only for the legacy SQLite backend (gated by!isFileStorageBackend()) and never on the default file-native storemiddleware/basic-auth: the Notes block gains the 4th auth-bypass path (isTrustedInterfaceRequest/BYPASS_AUTH_TAILSCALE/BYPASS_AUTH_DOCKER)agents/agent-pipeline: corrects the returned method name topreGeneratestorage/chat-folders: fixes the cross-file pointer to the real libSQL Windows note locationbot-browser-janny: moves the avatar-proxy header to the avatar routecharacter.schema: attaches the orphaned JSDoc togenerateAboutMeSchemaBotBrowserView: coherent strategy numbering; theDefSectionbanner moved to its definitionGameSurface: removes the orphaned "REMOVED old sidebar" changelog note that read as a placeholder to restore codebutton.py/coordinator.py: correct the tool counts (23 total / 20 default-synced) and document the disable-PATCH behaviorValidation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Comment/docstring-only change with no runtime surface, enforced three ways: (1) an independent adversarial review of the full diff confirmed comment-only and factually correct (verdict: pass, zero issues); (2) a mechanical audit confirmed every changed
.ts/.tsxline is comment text and every changed.pyline is docstring/comment; (3)/* */delimiter balance is byte-identical to staging in every file, so tokenization is unchanged.pnpm check(full typecheck + build) passes on the exact tree.Docs and release impact
(
custom_components/*.pydocstrings are HA-integration code comments, not user docs.)UI evidence (if applicable)
N/A — comments only.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.