Content
@
https://warpcast.com/~/channel/aichannel
0 reply
0 recast
0 reaction
Matt Galligan
@mg
Watching my AI agents go crazy just to locate a single line of code felt like hunting for a **needle in a stack of needles**. 🔍 🔍 🔍🤬 So I whipped up a little experiment called grep-anchors or "grepa". Just drop ":ga:<text>" anchors in comments and your tools (or agents) *teleport* to the right spot. Like the TODO's and FIXME's before, but with some conventions for predictability (and composability). 🚢 Early days, but I’m already seeing way fewer fruitless tool calls!
8 replies
9 recasts
68 reactions
Matt Galligan
@mg
🍇 Grepa = “grep-anchors.” - ultra-terse tags (":ga:tldr start here", ":ga:perf,todo") - one anchor pattern per repo - dead-simple to insert, grep on, and agents are fast to understand how to search/write them Conventions & docs » https://github.com/galligan/grepa
1 reply
0 recast
5 reactions
Matt Galligan
@mg
⚠️ This is very much a proof-of-concept and I’d love feedback before v0.1! Drop a reply, issue, or PR! 🙏
1 reply
0 recast
1 reaction
shoni.eth
@alexpaden
You code more than me but I imagine this being useful on other people’s repos more than my own— haven’t had the issue on my own but I’ve forgotten which file something was in for other people’s like ElizaOs a few times Seems useful but I don’t understand what’s wrong with todo: or note: as opposed to :ga: todo
0 reply
0 recast
0 reaction