Re:Backlog.md – CLI that auto-generates task files (took my ...
by ttoinou on Sunday July 06, 2025 @07:35PM
(#44485157)
Seems like a great idea. How would that work with multiple branches ? One task might be implemented in a different branch, we might want to have a global overview of all the tasks being coded in the main branch
If every "task" is one .md file, I believe AI have issues editing big files, it can't easily append text to a big file due to context window, we need to force a workaround launching a command line to append text instead of editing a file. So this means the tasks have to remain small, or we have to avoid putting too much information in each task.
[ Parent
| on HN ]
Re:Backlog.md – CLI that auto-generates task files (took my ...
by mrlesk on Monday July 07, 2025 @12:49AM
(#44486856)
1) How will it work with multiple branches?
Simple: using git :)
Git allows to fetch certain files from other branches including remote ones without checking out those branches.
The state is always up to date no matter if you are running backlog.md from main branch or a feature branch.
It works well when there are not many branches but I need to check if I can improve the performance when there are lots of branches.
Re:Backlog.md – CLI that auto-generates task files (took my ...
by ttoinou on Monday July 07, 2025 @05:27AM
(#44488374)
Nice, so there could be some kind of git kung fu command line to help with that. Maybe we could also have a separate folder using git worktree to post all the information in one branch. That'd duplicates all files though.
Another idea is to use git notes
Re:Backlog.md – CLI that auto-generates task files (took my ...
by mrlesk on Monday July 07, 2025 @12:53AM
(#44486879)
2) AI Agents have issues editing larger files.
Correct. One of the instructions that ships with backlog.md is to make the tasks “as big as they would fit in a pr”. I know this is very subjective but Claude really gets much better because of this.
https://github.com/MrLesk/Backlog.md/blob/main/src/guideline...
You will notice yourself that smaller atomic tasks are the only way for the moment to achieve a high success rate.