Answer architecture round 1: 1 🔴, 8 🟡 (0 misread); one reader per message, prices and Spent block moved, one table of larv-review commands

This commit is contained in:
2026-11-12 20:05:52 +01:00
parent 9066f477a4
commit 5c37027046
28 changed files with 503 additions and 412 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ def checkout(run: Run) -> tuple[Forge, str, str] | Failure:
def default_branch(run: Run) -> str | Failure:
"""origin's default branch, such as main."""
"""origin's default branch, such as main. Not git_cli's default_ref: that falls back to a local main or master and asks origin where nothing is recorded, but a pull request's base is origin's alone, and this tells the user how to record it."""
default = run(["git", "symbolic-ref", "--short", "refs/remotes/origin/HEAD"])
if isinstance(default, Failure):
return Failure(f"origin records no default branch; set it with `git remote set-head origin --auto`: {default.reason}")