Quiz the user on a git branch's changes to verify genuine comprehension. Rather than passively reading diffs, the user answers targeted questions covering: runtime behavior, embedded assumptions, failure points, edge cases, API design decisions, data model changes, data flows, security implications, performance impacts, and dependencies & integration effects. Score their understanding and surface any gaps.
Run git diff main...HEAD to collect all changes on the current branch. If the branch has no diff against main, inform the user and stop.
Read through every changed file. Build a mental model of:
Da utilizzare quando l'utente desidera verificare la propria comprensione delle modifiche al codice di un ramo rispondendo a domande su comportamento in fase di esecuzione, ipotesi, punti di errore e casi limite invece di limitarsi a leggere le differenze Fonte: buildrtech/dotagents.