Skip to content
Middle+0 views

Did the agent know the entire database and all SQL scripts in advance, or did it analyze only the diff?

Practice

AI answer

An agent usually does not need the entire database and all SQL scripts. It is given the necessary metadata—for example, the schema and dependency descriptions—and, to analyze changes, the diff and its related context. This reduces the amount of input and helps focus on the affected objects. If a change depends on existing queries or objects, the agent is also provided with the relevant excerpts.