mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6799] [Feature]: Let Professor Mari list and run actions that capability packages offer #3808
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#3808
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 @Gunterlie on GitHub (Sep 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6799
Originally assigned to: @Gunterlie on GitHub.
What problem does this solve?
Professor Mari cannot act inside a capability package. Her workspace tools are a fixed list (
WORKSPACE_TOOLS/MariWorkspaceToolName), hermariCLI only reaches the Engine data service, and the capability activation API offers no way for a package to give her an action.Packages already have typed, validated action layers. For example, Slurp (Marinara-Agents
slurp2) registers aslurp2:actionsservice with actions such as write or improve a text field, draw a picture, steer a Creator, add a post idea and write a post. A user who asks Mari "give this Creator an idea for a rainy-day post" gets nothing today.Proposed solution
The smallest Engine seam, following existing patterns:
mari-actions(Capability API 1.50). A package with it registersmari-actions:<its own id>with{ list, run }. Registration fails without the permission or under another package's id (same shape as theagent-runtime:<id>gate), so the key proves ownership.package_service: with no action it lists what active packages offer (read-only); withpackage,actionand a JSONinputit runs one action. A run counts as a change for Permissions Mode, so Plan refuses it and Manual holds it for Accept. It works through native tool calls and the JSON/XML text fallbacks.Alternatives considered
mariCLI call package routes: it would need the Engine's internal route token for every call and each route's error mapping, and the shell sandbox denies network.Additional context
The package side is one registration line plus the permission; Slurp's existing
slurp2:actionsservice already has the{ list, run }shape. Security-sensitive: this lets a model-driven agent act inside package code, so the permission, ownership check and Permissions Mode floors are the core of the design.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: