Show pull request reasoning oldest first and make review reachable
Commits made in the same second were listed newest first, because the sort by commit time kept the history walk's order on a tie. That reversed step numbers and gave Steer and Branch the wrong starting commit. Reverse the walk before the stable sort, and move the cached change sets to a new key so stale orderings are not served. The pull request header has Review changes on every tab, the line totals sit in the meta line, and the tabs are links. The Reasoning tab opens with a summary that links to decisions, assumptions, unexplained changes and unreadable records, and a step says when its decision record could not be read.
6 files changed · +116 −55
apps/backend/diff.ts+1 −0
apps/backend/index.ts+1 −1
apps/backend/test/diff.test.ts+7 −2
apps/frontend/routes/pull-files.tsx+1 −1
apps/frontend/routes/pull-layout.tsx+60 −41
apps/frontend/routes/pull-reasoning.tsx+46 −10