-
Notifications
You must be signed in to change notification settings - Fork 1
Harness Engineering Integration
github-actions[bot] edited this page Jun 1, 2026
·
2 revisions
Canary is built using Harness Engineering principles. This ensures that the AI agent operates within "mechanical constraints" that prevent structural decay and architectural drift.
Canary uses a harness.config.json to enforce strict Layered
Dependency Rules:
-
LLM Layer: Is isolated and forbidden from importing from
coreorcli. -
Core Layer: Depends on
llmbut is isolated from thecli. -
CLI Layer: Entry point that depends on
core.
Every milestone in Canary is verified using the 3-Tier Verification Protocol:
- EXISTS: Confirming all artifacts are present on disk.
- SUBSTANTIVE: Ensuring the implementation is real and not just a "stub" or "TODO."
- WIRED: Verifying the component is integrated, tested, and passing all harness validation checks.
The AGENTS.md file serves as the "index" for other AI agents to
understand how to interact with Canary. It defines:
-
Programmatic Entry Points: Like the
--jsonflag. -
Dry-Run Capabilities: Like the
--recommend-onlyflag. - Architectural Boundaries: Ensuring other agents don't violate Canary's internal structure.
By adopting these constraints, Canary ensures it remains a robust, enterprise-grade tool even as it evolves autonomously.