NS2 slice: Implement the Space leader command rail #15

Closed
opened 2026-06-20 23:28:14 +00:00 by tmk241 · 1 comment
Owner

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:

  • Delivery authority: local-commit
  • Tracker authority: this issue may be commented and closed when acceptance passes.
  • Handoff state: committed clean, tracker commented/closed.

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.

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: - Delivery authority: local-commit - Tracker authority: this issue may be commented and closed when acceptance passes. - Handoff state: committed clean, tracker commented/closed. 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.
tmk241 added this to the v1 milestone 2026-06-20 23:28:14 +00:00
tmk241 added the sliceready-for-agentgoal labels 2026-06-20 23:28:14 +00:00
Author
Owner

Implemented in commit cfbacb3cd2 (Add Space leader command rail).

Verification:

  • zig fmt src/main.zig src/leader.zig src/tui.zig: pass
  • zig build test: pass
  • zig build: pass
  • zig build run -- --help: pass
  • redgate lint / health: pass

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.

Implemented in commit cfbacb3cd28e (Add Space leader command rail). Verification: - zig fmt src/main.zig src/leader.zig src/tui.zig: pass - zig build test: pass - zig build: pass - zig build run -- --help: pass - redgate lint / health: pass 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tmk241/mim#15