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
{{ message }}
Repository navigation
permissions: headless auto-review — an LLM reviewer adjudicates child asks instead of blanket auto-deny #31
Step 4 of the child permission model auto-denies a subagent's surfaced ask when no interactive parent exists (headless/CI/team runs). The agent-primitives field evaluation (docs/harnesses/09-agent-primitives-evaluation.md) flagged Codex's approvals_reviewer = "auto_review" pattern: a reviewer agent adjudicates boundary-crossing asks, reporting ~200x fewer human stops with a deny circuit-breaker.
Shape
An optional adjudicator slotted between steps 3 and 4 of the 4-step model: when the parent is non-interactive and steps 1-2 (substitution read-only / isolation auto-approve) don't resolve, a small bounded LLM call judges the ask against a policy prompt.
Provider-agnostic (the judge-engine pattern from Parallel join=judge is the precedent: tool-less child engine, structured verdict, tolerant parse).
Fail-safe: reviewer error/timeout/ambiguity → today's auto-deny with the accurate message; a deny circuit-breaker (N consecutive denials → stop consulting, fall back to auto-deny) bounds cost.
Config-gated, off by default (the embedded-server free+local default posture doesn't apply — this spends tokens).
The 4-step model's invariants stay: configured Deny/Ask in any scope still wins; the verdict is allow-once, never learned.
Why
Directly improves headless team/CI quality: today a read-only member needing one borderline command silently loses it.
Shipped in PR #57 (merge 5bc0780, commit 1b774d4). An optional bounded quarantined LLM ask-reviewer adjudicates a headless subagent's borderline asks instead of blanket auto-deny: fail-safe, allow-once, per-run deny circuit-breaker, whole-output verdict parse. Off by default; --subagent-ask-reviewer + --headless. Review caught it was dead config on stock mecated (every session interactive) → added --headless, and a latent bug where mecatui auto-denied a human's child asks → embedded server now Interactive:true.
Activity
Merge pull request #57 from stacklok/feat/headless-permissions
JAORMX commentedon Jun 13, 2026
Shipped in PR #57 (merge 5bc0780, commit 1b774d4). An optional bounded quarantined LLM ask-reviewer adjudicates a headless subagent's borderline asks instead of blanket auto-deny: fail-safe, allow-once, per-run deny circuit-breaker, whole-output verdict parse. Off by default; --subagent-ask-reviewer + --headless. Review caught it was dead config on stock mecated (every session interactive) → added --headless, and a latent bug where mecatui auto-denied a human's child asks → embedded server now Interactive:true.