Managed runtime mode that disables autonomous and long-running capabilities #1402
TuralHeydarov
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
We are integrating Prime Agent v0.7.2 as a peer runtime behind an external multi-tenant control plane. The control plane must remain authoritative for scheduling, concurrency, approvals, budgets, audit, and termination while still using the official
prime-agent --mode rpctransport and theipythoncoding tool.Today
--no-extensions,--no-skills,--no-prompt-templates, and--no-themesdo not disable built-in long-running capabilities.RLM_MAX_DEPTH=0can block child depth only when no persisted or global override wins. Goals,rlm_heartbeat, agent messaging, schedule and heartbeat RPC commands, resident promotion, and persisted due work remain available. A persisted schedule may execute as the worker starts, before an embedding client can list or cancel it.--no-toolsremovesipythonand therefore removes the coding capability we need.This means a model or resumed session can create model calls and code execution outside the embedding control plane lifecycle. Post-start inspection and prompt instructions are racy and are not a security boundary.
Proposed solution
Please add an official versioned managed-runtime capability, exposed by CLI and RPC handshake, that can be selected at process startup and fails closed when unsupported. A possible shape is
--managed-runtimeor independent hard-disable flags with these semantics:ipythoncoding but set and lock RLM max depth to zero;Independent flags are also workable if their combination has the same startup-before-rehydration guarantee and is covered as a compatibility contract.
Alternatives considered
--no-tools: safe but removes the coding tool, so it is not a Prime coding-agent integration.RLM_MAX_DEPTH=0plus post-start list/cancel: does not disable goals or heartbeats and cannot prevent persisted due work from running first.Additional context
The integration is currently fail-closed for v0.7.2 rather than claiming that an operator attestation is a sandbox. An official managed capability would unblock a native adapter without carrying a Prime fork.
All reactions