You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The child permission posture (isolation auto-approve verb set, surfaced-ask flooring) is hardcoded policy in governance/agent. Amp ships a clean alternative surface: permission rules carry a context: "thread" | "subagent" axis, letting users write child-specific allow/ask/deny without touching the main table (docs/harnesses/09-agent-primitives-evaluation.md, the field-gap list).
Shape
Extend the permission config schema (permconfig) with an optional child/subagent scope axis on rules.
The evaluator folds child-scoped rules only when the session is a child (the engine already knows — child engines are built distinctly in composition).
Must compose with the existing invariants: deny-dominant across scopes; a configured Ask never suppressed; the isolation auto-approve set (IsolationApprovable) stays the floor, with config able to TIGHTEN (deny) but loosening still bounded by the worktree-escape rejections.
Decide interplay with --yolo (today it loosens the substitution floor for the MAIN agent only).
Why
Operators tuning headless deployments currently have no knob between "interactive ask" and "auto-deny" for children.
Shipped in PR #57 (merge 5bc0780, commit fcfe16c). permissions.subagent.{allow,ask,deny} in .mecatl/settings.yaml tunes delegated children separately from the main session via a governance.Audience axis; child policies over AllowAllFloorRules() at ScopeBuiltinDefault; trust-gated project allows; strict unknown-key parse. The review caught + fixed a ship-blocker where a configured child-allow could auto-run arbitrary commands hidden in $(…) — the fix (flooredAllowSafe) requires every substitution inner to independently classify read-only.
Activity
Merge pull request #57 from stacklok/feat/headless-permissions
JAORMX commentedon Jun 13, 2026
Shipped in PR #57 (merge 5bc0780, commit fcfe16c).
permissions.subagent.{allow,ask,deny}in .mecatl/settings.yaml tunes delegated children separately from the main session via a governance.Audience axis; child policies over AllowAllFloorRules() at ScopeBuiltinDefault; trust-gated project allows; strict unknown-key parse. The review caught + fixed a ship-blocker where a configured child-allow could auto-run arbitrary commands hidden in $(…) — the fix (flooredAllowSafe) requires every substitution inner to independently classify read-only.fix(perm): bind the --yolo allow-all rule to children + anti-drift guard