mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4889] [Issue]: Keep Agent registries consistent after capability hydration #2710
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#2710
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 @Xelvanis on GitHub (Aug 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4889
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Agent registry consumers currently have two consistency liabilities: the ordered result-type vocabulary is handwritten separately in TypeScript, Zod, and executor admission, while the Connections Sidecar card snapshots the mutable built-in Agent registry once and can miss tracker Agents that arrive after capability-package hydration.
Expected behavior
Actual behavior
SidecarCardderives tracker Agents fromBUILT_IN_AGENTSin a memo with no dependencies. If Connections mounts before package-backed manifests hydrate, the card can retain the initial tracker list until remounted.Steps to reproduce
/api/capability-packages/agentsfinishes hydrating the shared registry.The vocabulary liability is established statically: compare the three handwritten result-type lists in shared types, the shared Zod schema, and executor admission.
Environment
2.4.2development tree based onstagingcommitdb0c598e3b32c29170d0c865a735fde8c624dd19Logs, screenshots, or video
No submission attachments are prepared. In isolated desktop and 390×844 browser proof, Connections and the Local Model card rendered, the capability-Agent endpoints returned 200, and the console had zero errors. The isolated runtime had no downloaded local model, so the conditional tracker count/action was covered by focused deterministic regression and production-wiring checks rather than visible interaction.
Additional context
Acceptance criteria
AgentResultType,agentResultTypeSchema, and executor admission derive from that tuple.pnpm checkpass.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: