logoalt Hacker News

mirsadmyesterday at 6:19 PM3 repliesview on HN

How is that going to find anything that interacts across files?


Replies

nodjayesterday at 10:55 PM

You misunderstood.

Instead of asking the model: "Here's this codebase, report any vulnerability." you ask. "Here's this codebase, report any vulnerability in module\main.c".

The model can still explore references and other files inside the codebase, but you start over a new context/session for each file in the codebase.

appcustodian2yesterday at 6:38 PM

I would think that it is still capable of exploring the codebase and reading other related files like any other coding agent already does.

vmg12yesterday at 6:36 PM

My phrasing wasn't clear but you aren't telling it to only look at one specific file but to focus its review on one file. Updated my original comment.