What should your agent know about your codebase before it touches anything? #1754
Replies: 1 comment 1 reply
|
For an agent, I would make the pre-edit answer change-specific, not a generic repository summary. The smallest useful evidence bundle for a symbol is:
The important part is distinguishing known absence from missing coverage. “No callers found” should include which languages, reference kinds, revisions, generated files, dynamic dispatch, macros/reflection, and uncommitted changes were or were not indexed. Otherwise an empty result becomes false confidence. I would expose this in layers rather than one huge response: For a first implementation, my priority would be:
That set prevents the most common bad edit: changing a locally simple function whose real contract lives in an interface, a callback registry, a serializer/schema, or a test fixture elsewhere. One product detail I would preserve from Kin's current README is the explicit “coverage is incomplete” boundary. Every answer should carry its evidence scope and index revision, so an agent knows whether it is looking at a proof, a strong signal, or only a partial map. If this is useful for prioritizing Kin's first query surfaces, please mark it as the accepted answer. |
Uh oh!
There was an error while loading. Please reload this page.
I'll start. Before an agent changes a function in my code I want it to know the callers, which of those are tests, and what kind of reference each one is. What's on your list? I'm collecting these to decide what Kin should answer first.
All reactions