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:
À utiliser lorsque l'utilisateur souhaite vérifier sa compréhension des modifications de code d'une branche en étant interrogé sur le comportement d'exécution, les hypothèses, les points de défaillance et les cas extrêmes au lieu de simplement lire les différences. Source : buildrtech/dotagents.