mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7368] [Issue]: Expose Decision model evaluation through the downloadable package Capability API #4106
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#4106
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 (Oct 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7368
Originally assigned to: @Gunterlie on GitHub.
Summary
Downloadable capability packages do not appear to have a documented public interface for submitting bounded Decision questions with caller-provided context. Expose a supported Capability API operation for optional yes/no or choice evaluation without requiring internal Engine modules or credentials.
Expected behavior
A downloadable Agent or capability package should be able to optionally submit bounded yes/no or choice questions, along with caller-provided context, to the user's configured Decision model through the public Capability API.
Actual behavior
In Engine v2.5.0 and the current staging source, the public CapabilityRuntimeHost does not expose Decision evaluation. Existing Decision routes appear to support configuration and testing, while Agent activation questions and prompt conditionals use Engine-managed chat context rather than arbitrary package-provided context.
Steps to reproduce
Environment
Logs, screenshots, or video
No logs, screenshots, or video provided. Support diagnostics report build 2.5.0+f17f1c1f650d, commit
f17f1c1f65, and no Decision sidecar configured.Additional context
Relevant source: https://github.com/Pasta-Devs/Marinara-Engine/blob/staging/packages/shared/src/types/capability-runtime.ts. The underlying Decision backend appears capable of evaluating caller-provided context. The request asks whether an existing supported interface is intended for this use case and, if not, whether the Capability API can expose one without requiring internal modules or credentials.
Discord thread: Expose Decision model evaluation through the downloadable package Capability API
Discord thread link: https://discord.com/channels/1417099416812392641/1558212529640177816
Requested by: gunterlie (gunterlie, Discord ID 282074442962829312)
Discord thread transcript (5 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Gunterlie commented on GitHub (Oct 9, 2026):
Fixed by #7369 (merged into
staging). Packages can now callapi.runtime.decisions.evaluate({ messages, questions }); feature-detect it withtypeof api.runtime.decisions?.evaluate === "function". See the Decision section ofdocs/development/optional-agent-packages.md.