Skip to content

feat: agent guardrails — inherit PreToolUse hooks in spawned sessions #664

@kokevidaurre

Description

@kokevidaurre

Agents spawned by squads run don't inherit the guardrail.sh hook. They have --allowedTools but nothing blocks destructive git or shell commands DURING execution. Design needed: pass --settings with guardrail config to spawned Claude sessions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions