Open-Source Canon: A Local Decision Memory CLI to Stop AI Coding Agents from Repeating Mistakes

letsrediit · reddit · 2026-08-16

A developer, frustrated by Claude Code and Cursor repeatedly re-adopting rejected approaches, built Canon, a local-first CLI that mines merged PRs and Git history to suggest decisions, which after human approval are injected into future agent sessions. It supports Claude Code and Cursor, runs locally with no cloud, and prioritizes privacy.

Related event: Developer Open-Sources Canon, Giving AI Coding Agents a Decision Memory(2 posts)→

Original post →

More from coding & agent

coding & agent channel →