Commit Graph
2 Commits
Author SHA1 Message Date
Alessandro e4d1905fb3 Clarify default remote input access
Clarify that input_remote and remote terminal execution are already enabled
by default and require no Agent Editor grants. Update the tool prompt,
host execution skill, and policy documentation to distinguish this default
from custom profiles that restrict terminal access.

Add regressions covering prompt and native-schema visibility, policy
checks, and dispatch without explicit grants under inherited and custom
allow-by-default policies. Keep terminal dependency enforcement and host
execution and Read&Write gates unchanged.

Validation:
- 192 focused tests passed in both Conda a0 and Docker's framework runtime.
- Live runtime policy checks confirmed input, input_remote, and remote
  execution are allowed for the default and agent0 profiles.
- No new end-to-end CLI session was run.
2026-11-12 17:39:18 +01:00
Alessandro 25542e9950 Require remote terminal permission for input_remote
input_remote forwards keyboard text as terminal code, allowing a custom
profile to bypass a blocked code_execution_remote capability through an
independently enabled input tool.

Require the canonical bundled remote terminal action in shared policy
resolution while retaining input_remote's independent permission. Apply
the dependency to execution, text prompts, and native tool schemas, and
recheck it inside the input wrapper before rewriting args or dispatching.
Output-only grants, default-deny policies, and profile tool-name overrides
cannot authorize the terminal operation.

Document the permission dependency and add 19 regressions covering zero
dispatch on denial, action-specific grants, prompt/schema visibility,
authorized input, host access controls, and framework-owned allow_running.

Validation: 232 focused tests passed in both Conda a0 and Docker's framework
runtime. A smoke test through the real CLI shell backend verified denied
dispatch, authorized idle and interactive input, and permission revocation.
Restarted the live Agent Zero runtime and verified HTTP health.
2026-11-01 07:49:29 +01:00