mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #906] [Feature]: Allow users to customize Knowledge Retrieval agent context formatting #442
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#442
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 @cha1latte on GitHub (May 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/906
What problem does this solve?
Users can edit an agent's Prompt Template, but the Knowledge Retrieval agent also receives retrieved data through non-editable prompt assembly and formatting layers. If that injected context format confuses the model or undermines the agent's job, changing only the
<agent>instruction section may not be enough to correct the behavior.Proposed solution
Add a focused user-editable template or configuration field for how the Knowledge Retrieval agent formats retrieved knowledge/context before sending it to the model.
For the first slice, keep the scope limited to the Knowledge Retrieval agent:
Alternatives considered
Additional context
This request was narrowed from a broader Discord feature request for "complete agent prompts" to be user-editable. The specific actionable gap is not the existing editable
<agent>prompt template; it is the hidden/non-editable context formatting that surrounds or feeds the Knowledge Retrieval agent.Related context mentioned in Discord: a prior Knowledge Retrieval agent behavior report/fix where retrieved data formatting appeared to affect whether the agent could reliably summarize or retrieve knowledge.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 15, 2026):
Triage note: labeling this as
scope-riskbecause the request is aligned with Marinara's agent and prompt-assembly workflows, but it touches non-editable Knowledge Retrieval prompt assembly and may need a product decision about which final-prompt layers become editable versus preview-only.The least risky next step is to design a first slice limited to Knowledge Retrieval context formatting before considering broader hidden-prompt or all-agent prompt customization.