Tool guardrails on the chat path #381

Open
opened 2026-10-27 13:36:06 +00:00 by sam · 0 comments
Owner

Goal

A chat turn that repeats a failing tool call is stopped by the guardrail.

Evidence

NewGuardrailEngine is built only in internal/app/agentworker/worker.go:90.

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • Gateway tool execution consults the guardrail engine.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Imported from beads archie-core-mqti.8 · GitHub #1291 · type feature · priority P2 · created 2026-10-05

## Goal A chat turn that repeats a failing tool call is stopped by the guardrail. ## Evidence NewGuardrailEngine is built only in internal/app/agentworker/worker.go:90. ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] Gateway tool execution consults the guardrail engine. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. --- _Imported from beads `archie-core-mqti.8` · GitHub #1291 · type feature · priority P2 · created 2026-10-05_
sam added the mediumfeature labels 2026-10-27 13:36:06 +00:00
sam self-assigned this 2026-10-27 13:36:06 +00:00
sam added the deferred label 2026-11-15 17:26:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#381