mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6530] [Feature]: Semantic activation questions for custom agents #3657
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#3657
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 (Sep 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6530
Originally assigned to: @kolacheee on GitHub.
What problem does this solve?
Custom agents spend tokens on turns where nothing relevant changed. Keyword activation is cheap but cannot reliably recognize paraphrases or changes in a scene.
Proposed solution
Add opt-in activation questions for custom pipeline agents, using a dedicated Decision connection to TypeSafe, OpenRouter, or a user-run System One endpoint such as Open-Jev. Batch questions sharing a message window, run keyword and cadence checks first, and fail open on unavailable or invalid answers. A maximum-skip setting bypasses only the question, preserving keyword and cadence behavior.
Provide a Decision default, safe OpenRouter credential linking, connection tests, localized agent settings, and regressions. Preserve existing outbound URL protections and bound decision requests with cancellation and a deadline.
Alternatives considered
Keeping keyword-only activation misses semantic changes. Implementing the gate as an agent would couple unrelated agents and complicate orchestration. Reusing existing local chat models and managing a dedicated Open-Jev installation are separate subsequent phases requiring their own capability and hardware validation.
Additional context
Implementation owner: @kolacheee, with Codex. The maintainer reviewed and approved the proposal and corrections on September 22, 2026. This first implementation targets staging and covers a usable System One activation-question path; it does not enable package-agent gating or install another model.
Template check