mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3493] [Issue]: Agent-facing docs (.instructions.md, CONTRIBUTING.md) contain outdated guidance #1892
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#1892
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 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3493
Originally assigned to: @kolacheee on GitHub.
Summary
packages/client/.instructions.mdandCONTRIBUTING.mdcontain guidance that is no longer true. These files are read as ground truth by every AI agent (and many humans) working on the client, so errors here multiply across all future work.Why this is a problem: steering documents are trusted more than code comments. A false architecture claim in
.instructions.mdmis-aims every agent that reads it, on every task.What it negatively affects: all agent-assisted client work: wrong persistence assumptions, wrong utility choices, wrong mental map of the source tree.
Expected behavior
Agent-facing steering docs describe the current architecture.
Actual behavior
packages/client/.instructions.md:263— claims "only extensions remain browser-local." False: extensions are now server-synced.use-extensions.ts(headed "server-synced") has full/extensionsCRUD plus a one-shot migration hook that moves them out of localStorage. An agent following this would build new extension features on localStorage.packages/client/.instructions.md:314— advertiseswrapInXml()as THE XML wrapping utility. That function is dead (zero call sites; the live path isformat-engine.ts). This doc line actively lures agents into wiring new code to dead code. (The deletion itself is tracked in the dead-code catalogue issue.)packages/client/.instructions.md:15andCONTRIBUTING.md:13— say "Vite 6.x" / "Vite 6";package.jsonpins^7.3.2.packages/client/.instructions.md:92— the directory map sayshooks/has "20 files" (actual: 57-58) andstores/has "6" (actual: 16), and omitscomponents/game/,game-assets/,dice/,noodle/,diagnostics/,music/,spotify/, and the entiresrc/features/tree.Steps to reproduce
Compare each referenced line with the code:
use-extensions.tsfor the sync model,package.jsonfor Vite, and a directory listing for the source map.Environment
45b650de9)Logs, screenshots, or video
N/A.
Additional context
Found by a repo-wide read-only sweep that included a dedicated audit of agent-facing meta files; adversarially re-verified before filing. Given how many agents read
.instructions.md, this is one of the highest-leverage small fixes in the set. Part of a coordinated set of sweep catalogue issues filed together.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: