Repository navigation
Conversation
Fleet review (glm)Lens: requirements + adversarial. The diff satisfies the acceptance criterion of issue #109: sidebar labels (compact() via ordinal) and Ctrl+A Ctrl+N targets (focusAgent -> spaceOrder()) now derive from the same spaceGroups() computation, so they can no longer desync through grouped()/ordered() reordering. Folded machine groups and unshown spaces occupy no ordinal, the source index i is preserved for drag-and-drop in wide mode, and the early single-group path keeps the headerless rendering identical. The regression tests cover every scenario named in the correction issue (local-vs-vps reorder, worktree created before main, folded group skip and renumber, folded local group only when headers exist, unshown spaces), plus urgency focus and drag-and-drop as no-regression guards. Docs/keymaps.md now describes the visible-space numbering accurately. Two non-blocking notes below. Native UI verification was unavailable to the author (Herdr Desktop not installed in the workspace), which is acceptable given the mocked-native tests exercise the actual mod source. Suggestion (1)
Question (1)
Verdict: ready to merge |
Fleet review (deepseek)Lens: evidence + test design. The fix is correct as far as I can verify: Suggestion (2)
Verdict: ready to merge |
Summary
Closes #109.
PR #108 is already merged, so this correction is a new focused PR rather than another PR on its old branch.
Verification
node --test tests/herdr_spaces_test.mjs— 7 passed.python3 scripts/test_refactoria_herdr.py— PASS.python3 scripts/test-refactoria-assets.py— PASS.git diff --check— passed.herdr-app checkand live UI verification unavailable: Herdr Desktop is not installed in this Linux workspace.Scope and rollback
Single work unit; revert this commit to restore the previous sidebar numbering, docs, and remove its regression test. No key binding, agent priority, or drag index contract changes.
Risk: none.