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
Add Guardrails tab to Agent Detail (UI for max_turns_task / max_turns_chat) #967
GUARD-001 ships a backend endpoint (GET/PUT /api/agents/{name}/guardrails) for per-agent guardrails — currently max_turns_chat and max_turns_task (range 1–500, defaults 50). There is no UI for it: a grep of src/frontend/src/ for guardrails or max_turns returns zero hits, so owners can only set the value via curl, the FastAPI /docs page, or the MCP API.
This blocks operators who want to raise max_turns_task for long-running cron jobs (the most common need) from doing so without opening a terminal.
Acceptance Criteria
New "Guardrails" tab on AgentDetail.vue (owner-only — hide for non-owners)
Form bound to GET/PUT /api/agents/{name}/guardrails
Inputs: max_turns_chat, max_turns_task (number, 1–500). Show platform defaults as placeholder when unset.
Save triggers a toast indicating "container restart required" — match the same pattern used by Read-Only / Resource limit toggles
Grooming triage: verified shipped — GuardrailsPanel.vue exists and is wired into AgentDetail.vue:186 as Settings section #1 (GUARD-001 UI, #967). Closing as done.
Activity
feat(ui): add Guardrails tab to Agent Detail (#967) (#992)
docs(feature-flows): add agent guardrails flow (GUARD-001/002/003)
vybe commentedon Jun 15, 2026
Grooming triage: verified shipped —
GuardrailsPanel.vueexists and is wired intoAgentDetail.vue:186as Settings section #1 (GUARD-001 UI, #967). Closing as done.