Wrap overlay text instead of cutting it; the project check is a regression check, renamed check.sh; concrete Headroom steps; Mouse-1 measured

This commit is contained in:
Sam
2026-11-11 16:35:44 +11:00
parent c50c1efa22
commit 70e1f55486
7 changed files with 150 additions and 56 deletions

View File

@@ -467,9 +467,9 @@ func (m workModel) View() string {
}
if m.confirm {
verify := "no verify command: the review decides"
check := "no project check: the review decides"
if cmd := verifyFromDescription(m.task.Description); cmd != "" {
verify = "verify command: " + cmd
check = "project check: " + cmd
}
branch := "(no branch yet)"
if m.task.Workspace != nil && m.task.Workspace.Branch != "" {
@@ -478,7 +478,7 @@ func (m workModel) View() string {
return helpOverlay("merge "+m.task.Identifier+" into main?", [][2]string{
{"what is merged", branch + " → " + baseRefOf(m.task)},
{"what happens", "rebase the branch onto the base, then merge it"},
{"", verify},
{"", check},
{"", "ocr reviews the change; a critical finding refuses the merge"},
{"", "merge, then re-run the checks on the base branch"},
{"y", "do it"},