NS2 slice: Implement the Space leader command rail #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OBJECTIVE: Make Space leader reveal a visible command rail and dispatch core commands with mobile-friendly letters.
AUTHORITY: Parent #2
NS2: Mobile keyboard and command grammar; PRODUCT.md; REQUIREMENTS.md (PRODUCT.md; req: input/001-005; req: governance/001).AGENT AUTHORITY:
PARENT: #2 via explicit issue link and parent checklist.
SCOPE: The smallest source/docs/tests needed to make this behavior real and verified.
BOUNDARIES: No giant command catalog.
ACCEPTANCE: Trace tests open the rail, wait/preview choices, run save/quit/open/search/panel-close where available, and recover from unknown input.
VERIFICATION: Run the cheapest command that proves acceptance. Include regular tests for the intended payoff and adversarial tests for realistic failure, boundary, or regression cases. If no implementation test command exists yet, create/record the canonical command in AGENTS.md as part of the slice.
BLOCKERS: none
GOAL: Implement this vertical slice to the ACCEPTANCE above, keep the repo clean, cite relevant
req:anchors in code/tests where applicable, and close only after verification passes.Implemented in commit
cfbacb3cd2(Add Space leader command rail).Verification:
Regular tests: Space opens a visible leader rail; save and quit dispatch without Esc/Ctrl/Alt/function keys; open prompt collects UTF-8 path text and backspace respects codepoints; search and panel-close entries return explicit recoverable not-built messages; TUI traces render the rail and dispatch save/quit/open.
Adversarial tests: unknown leader key does not dispatch and recovers to idle; empty open and Escape cancel without dispatching; unknown leader input in TUI does not save or quit.
Boundary: small command rail only. No symbol rail, broad command catalog, runtime keymap config, git/LSP/search implementation, or panels were added.