jgmontoya on Nostr: When I'm optimizing some part of a codebase, I end up in the same loop. Try a thing. ...
When I'm optimizing some part of a codebase, I end up in the same loop. Try a thing. Benchmark. Keep what helps. Discard what doesn't. Repeat until the result is good enough, or until I get bored.
It works but it also eats half a day or more and ties up my attention while it runs.
AI doesn't get bored.
v0.11.0 ships the loop. Give Shaka an objective and it spawns an isolated git worktree, hands your terminal to your provider's TUI so a setup agent prepares everything with you watching, then runs the loop in the worktree until you stop it. Each accepted iteration commits, so the log is the record.
Inspired by Karpathy's autoresearch and davebcn87's pi extension.
`shaka optimize start "<your objective>"`
v0.11.0
🤖 github.com/jgmontoya/shaka
Published at
2026-04-29 20:40:50 UTCEvent JSON
{
"id": "6861e85e98ce02430dff272a7872ab66d9c801607bf0fe1fa8f851a17f43999b",
"pubkey": "9236f9ac521be2ee0a54f1cfffdf2df7f4982df4e6eb992867d733debcf95b35",
"created_at": 1777495250,
"kind": 1,
"tags": [
[
"alt",
"A short note: When I'm optimizing some part of a codebase, I end..."
],
[
"r",
"https://github.com/jgmontoya/shaka"
],
[
"client",
"Amethyst"
]
],
"content": "When I'm optimizing some part of a codebase, I end up in the same loop. Try a thing. Benchmark. Keep what helps. Discard what doesn't. Repeat until the result is good enough, or until I get bored.\n\nIt works but it also eats half a day or more and ties up my attention while it runs.\n \nAI doesn't get bored.\n\nv0.11.0 ships the loop. Give Shaka an objective and it spawns an isolated git worktree, hands your terminal to your provider's TUI so a setup agent prepares everything with you watching, then runs the loop in the worktree until you stop it. Each accepted iteration commits, so the log is the record.\n\nInspired by Karpathy's autoresearch and davebcn87's pi extension.\n\n`shaka optimize start \"\u003cyour objective\u003e\"`\n\nv0.11.0\n🤖 github.com/jgmontoya/shaka",
"sig": "6964ca2acf1b8eb52c13d82c1ae5fd8e3ba4cd86ef8890ff9708bc27c40ee56c5061697f4956966eebe78c8f68ce5a6e384ad2d5b241b15ac14423f8f06ee61e"
}