Anybody figure out a neat harness setup where one goes file by file, method by method with the agent? Looking for suggestions and what the SOTA is for this sort of thing.
Ask HN: Line by Line Agentic Coding
1–9 of 9 posts
Re: Ask HN: Line by Line Agentic Coding
#2I got it to display all proposed file change diffs and bash commands and made it so I can either approve the action or deny it with a message for it.
It was surprisingly easy to tell it to modify things things the diff viewing algorithm or syntax highlighting for the diffs.
Re: Ask HN: Line by Line Agentic Coding
#3I like to use Pi ( https://pi.dev/ ), and I recently got it to make an approval extension for itself. It has a lot of documentation built-in for the agent to modify the behavior of the app. I got it to display all proposed file change diffs and bash commands and made it so I can either approve the action or deny it with a message for it. It was surprisingly easy to tell it to modify things things the diff viewing alg…
Re: Ask HN: Line by Line Agentic Coding
#4I like to use Pi ( https://pi.dev/ ), and I recently got it to make an approval extension for itself. It has a lot of documentation built-in for the agent to modify the behavior of the app. I got it to display all proposed file change diffs and bash commands and made it so I can either approve the action or deny it with a message for it. It was surprisingly easy to tell it to modify things things the diff viewing alg…
What models do you use for the diff level edits? My concerns would be speed, though I'm coming from letting opus ruminate for minutes at a time so my heuristics may be off.
Re: Ask HN: Line by Line Agentic Coding
#5I like to use Pi ( https://pi.dev/ ), and I recently got it to make an approval extension for itself. It has a lot of documentation built-in for the agent to modify the behavior of the app. I got it to display all proposed file change diffs and bash commands and made it so I can either approve the action or deny it with a message for it. It was surprisingly easy to tell it to modify things things the diff viewing alg…
haha i just downloaded pi after browsing HN for a bit. i'm really trying to get off the anthropic train before the subsidies explode and we're left holding onto codebases we don't understand and can't afford. What models do you use for the diff level edits? My concerns would be speed, though I'm coming from letting opus ruminate for minutes at a time so my heuristics may be off.
For more interactive/active usage you might be better off using the low reasoning level, but I have usually found high to be a good balance of intelligence and generation speed.
Re: Ask HN: Line by Line Agentic Coding
#6Re: Ask HN: Line by Line Agentic Coding
#7Re: Ask HN: Line by Line Agentic Coding
#8Re: Ask HN: Line by Line Agentic Coding
#9Or you can use one of the two to create a common source of context that includes code base mapping and depending on your mileage vectorization of the code itself, which I implement as an init command in oopencode as a first step with a project. The skills specs are universal, agents are too, the rest I am not 100% sure but its mostly just markdown descriptions of things until you get into advanced use cases with SDKs so you can set up a skill or agent using a skill+tool to go "file by file, method by method" then write a bash script or find a bloated multimodel harness to have each use it for your purposes.