mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4542] [Feature]: Give Professor Mari first-class documentation search #2477
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#2477
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 @SpicyMarinara on GitHub (Aug 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4542
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Home-screen Professor Mari can technically inspect
README.mdanddocs/through her generic workspaceread,grep,find, andlstools. However, documentation is not a first-class knowledge source: it is not indexed or injected, there is no dedicated documentation search/read tool, and her system prompt does not tell her to prefer canonical user documentation before source code.As a result, user-facing questions may cause Mari to broadly scan implementation files. This is slower and more context-expensive, can surface internal details instead of the supported user workflow, and makes it appear that she has no documentation access at all. Regular conversation-mode Mari also relies on a large baked-in knowledge prompt that can drift from the canonical docs.
Proposed solution
Add read-only, local documentation retrieval for Professor Mari:
docs_searchtool backed by canonicalREADME.mdand Englishdocs/**/*.md. It should return ranked matches with the document path, heading, and a bounded excerpt.docs_readtool for reading a selected document or heading with bounded output.Acceptance criteria:
Alternatives considered
grepandread. This technically reaches the docs, but does not prioritize them or distinguish canonical guidance from implementation details.Additional context
Current implementation references:
The current claim that Mari can search only code is technically incorrect in a source workspace, but accurately describes the product gap: documentation is merely another collection of files she must discover manually rather than a preferred, structured source.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Aug 3, 2026):
Delivered to staging in #4543.