Repository

lutzleonhardt/casefile

Casefile

AI-assisted development that git blame can explain — preserve the decisions behind every change.

2stars

Open github.com

lutzleonhardt/casefile

Casefile

Casefile: AI-assisted development tool that records decision logs alongside commits, enabling 'git blame' to retrieve the rationale behind any code change.

Visit project

Show me a random project

First shared
Sep 4, 2026
HN activity
10

Show HN@lutzleonhardtSep 4, 2026

Show HN: Casefile – Git why for AI-assisted development

During my work at Brokk last year we developed a task-slicing system. The idea was to have a bunch of tasks where each task can be implemented and verified in isolation. So I can mentally focus only on one task at a time with checking the evidence it works as expected. Most follow-up tasks are based on their predecessor(s). After my time at Brokk I picked up this idea and developed Casefile. To avoid loading the entire previous session context, the agent creates a task log. So a follow-up task only needs to load the necessary task logs + git state as the base to implement its task. Each log is linked to its commit, so git blame on a line leads back to the decision behind it. Another advantage of this approach is that you can retrieve the intent why a code change was made and which alternative solutions were skipped. You can see the workflow in the open at https://github.com/native-federation/devtools. Last month I extended the system to store the plan and task logs in a non-public Casefile repository because my enterprise customers don't allow work artifacts like these in their repositories. Give it a shot if you think it's useful. I would like to hear your feedback!

Community

Hacker News discussion

Loading the thread…