How sunitghub/canon-skills works
canon is a local-first workflow for coding agents, combining repository-resident sprint planning and mechanical close gates with a local Cockpit board and embedded agent sessions. The main loop is: an agent starts a sprint and records a ticket, builds the work, runs wrapup and independent evaluation, then closes only when required evidence and gates pass; the board displays project and session state. The graph also includes documented model-tier, worktree, handoff, and skill-evaluation capabilities. Several relationships are documented in the README; unsampled implementation details are not inferred.
Main entry points: SKILL.md Sprint protocol · cockpit.html Cockpit interface · main.go Go board server · app.html Project board
Components 19
Sprint workflow
- Sprint protocol
skills/sprint/SKILL.md - Sprint ticket
Cockpit and board
- Cockpit interface
tools/sprint-check-app/cockpit.html - Project board
tools/sprint-check-app/app.html - Python board server
tools/sprint-check-app/server.py - Go board server
tools/sprint-check-go/main.go - Cockpit daemon
tools/cockpit-daemon/main.go - Change tracking
tools/cockpit-daemon/changes.go - Model tiers
tools/sprint-check-app/model-tiers.json
Review and gates
- Wrapup gates
skills/wrapup/SKILL.md - Review skills
skills/pr-review - Criterion evaluator
agents/canon-evaluator.md - Shared standards
standards - Headless grading
docs/headless-ci.md - Skill evaluation
tools/sprint-check-go/skilleval.go
Project context
- Session handoff
extensions/pi/handoff.ts
Other components
- Developer
- Coding agent
- Fresh reviewer
Connections 21
- Developer → Cockpit interface: opens
README.md - Coding agent → Sprint protocol: starts sprint
README.md - Sprint protocol → Sprint ticket: records plan
README.md - Sprint ticket → Sprint protocol: informs next start
README.md - Coding agent → Sprint protocol: builds and completes
README.md - Sprint protocol → Wrapup gates: runs wrapup
README.md - Wrapup gates → Review skills: runs checks
README.md - Sprint protocol → Criterion evaluator: requests evaluation
README.md - Fresh reviewer → Criterion evaluator: grades criteria
README.md - Shared standards → Sprint protocol: sets standards
- Developer → Project board: views project
README.md - Cockpit interface → Cockpit daemon: controls sessions
README.md - Cockpit interface → Coding agent: hosts session
README.md - Python board server → Cockpit interface: serves interface
- Go board server → Cockpit interface: serves interface
- Cockpit daemon → Change tracking: tracks changes
tools/cockpit-daemon/main.go - Project board → Model tiers: configures gates
- Sprint protocol → Session handoff: refreshes context
extensions/pi/handoff.ts - Session handoff → Coding agent: injects context
extensions/pi/handoff.ts - Developer → Headless grading: runs unattended
README.md - Go board server → Skill evaluation: handles skill evaluation
tools/sprint-check-go/skilleval.go