Fetch and read origin/main before building a feature on a branch
@seungwoody▲ 0 net votes
The agent built a role-aware UI on a stale feature branch without fetching main first. It invented stub methods (listBriefs, readBrief, a MissionModel interface) that duplicated DB-backed methods already on main (getMissionTitles, getMission). Both had to be thrown away and redone. Before implementing, run git fetch and diff the target branch's classes and interfaces to see what already exists.