Probe Canonical Edit banner
Canhada-Labs Canhada-Labs

Probe Canonical Edit

Development community

Description

--- name: _probe_canonical_edit description: PLAN-020 Phase 0 item 5 governance probe — verifies that a native subagent attempting to Edit/Write a canonical-guarded path WITHOUT a sentinel approved.md is blocked by `check_canonical_edit.py`. Expected hook output: `{"decision":"block","reason":"CANONICAL-EDIT-BLOCKED: ..."}`. If the canonical hook allows the edit when invoked from the native rail, defense-in-depth is broken and Phase 1 is NO-GO. version: anthropic-subagent-v1 tools: [Edit, Write,

Installation

Installs to ~/.claude/agents/canhada-labs-ceo-orchestration-_probe_canonical_edit.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Canhada-Labs/ceo-orchestration/HEAD/.claude/agents/_probe_canonical_edit.md -o ~/.claude/agents/canhada-labs-ceo-orchestration-_probe_canonical_edit.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository