mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #433] [MERGED] feat(beholder): add a five-pass prompt template for local extractors #964
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#964
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-Agents/pull/433
Author: @GetBeholder
Created: 8/19/2026
Status: ✅ Merged
Merged: 8/19/2026
Merged by: @GetBeholder
Base:
staging← Head:feat/beholder-local-five-pass-template📝 Commits (1)
c2c7348feat(beholder): add a five-pass prompt template for local extractors📊 Changes
7 files changed (+44 additions, -28 deletions)
View changed files
➕
artifacts/beholder-1.2.0.zip(+0 -0)📝
catalog/catalog.json(+7 -7)📝
catalog/v2/catalog.json(+7 -7)📝
catalog/v3/catalog.json(+7 -7)📝
packages/beholder/agents.json(+12 -2)📝
packages/beholder/locales/en.json(+7 -1)📝
packages/beholder/manifest.json(+4 -4)📄 Description
Linked issue
Closes #434
This is the package half of Marinara Engine PR #5251 (merged to Engine
staging), which added multi-pass Beholder execution. That change is inert until a package offers a multi-pass template; this PR provides it.Why this change
Beholder ships one prompt template: a single call covering every tracked field, which suits a strong general model (GPT-5.5+, Opus 4.8+, Kimi K3+).
A locally hosted Beholder extractor is trained per lane — it answers about worn items, wounds, held items, species, or bare/missing flags one at a time. Handing it the single whole-state prompt is off-distribution for it, so it returns partial or malformed JSON. There was no way to drive that model correctly from the Beholder agent.
What changed
Package
beholder,1.1.0→1.2.0:[worn],[wounds],[holding],[species], or[flags]heading. Engine 2.4.4 detects those headings, runs one call per lane, and unions the five deltas.defaultSettings.defaultPromptTemplateName/…Description.defaultPromptTemplateis unchanged and remains the default, so existing installs behave exactly as before; the five-pass option is opt-in from the prompt-template selector.artifacts/beholder-1.2.0.zip, and the catalog entry in all lanes viascripts/build-agent-catalog.mjs beholder.Package and security impact
beholderengine.min2.4.3→2.4.4. The five-pass template requires the lane-aware executor; on an older Engine the whole multi-lane template would be sent as a single system prompt.maxExclusiveunchanged.restartRequiredstays falseValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Leaving the boxes for a human, since the template asks for that. What I actually ran, and what I did not:
Ran and passing:
scripts/build-agent-catalog.mjs beholder,validate-catalog.mjs(35 packages, lanes v2=35 v3=35),test-catalog-lanes.mjs,validate-package-locales.mjs(36 catalogs, 31 translations),catalog-generatedat-determinism.regression.mjs,npm run test:security,npm run check(exit 0),git diff --check.Not done: I have not installed or updated the package through a running Engine, so the end-to-end path (select the template → five lane calls → merged state in the Beholder panel) is unverified in-app and should be checked before promotion.
Prompt fidelity: the five lane bodies are byte-identical to the prompts the local model was trained on, generated programmatically rather than transcribed, and re-verified against the source after the build. The default single prompt is byte-identical to the one already shipped in 1.1.0.
Documentation impact
The package README/catalog description is unchanged; the new option is self-describing in the selector. Happy to add guidance if you want the local-model path documented.
Summary by CodeRabbit
New Features
Updates
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.