NS3 slice: Show diagnostics, errors, and job status consistently #21

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

OBJECTIVE: Define compact status/error presentation for panels and core editor states so failures are local and recoverable.

AUTHORITY: Parent #3 NS3: Narrow terminal UI and panel grammar; PRODUCT.md; REQUIREMENTS.md (PRODUCT.md; req: ui/001-002; req: session/003).

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: #3 via explicit issue link and parent checklist.

SCOPE: The smallest source/docs/tests needed to make this behavior real and verified.

BOUNDARIES: No notification system or telemetry.

ACCEPTANCE: Tests or traces show missing command, failed save, empty panel, and long message behavior without corrupting editor state.

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: Define compact status/error presentation for panels and core editor states so failures are local and recoverable. AUTHORITY: Parent #3 `NS3: Narrow terminal UI and panel grammar`; PRODUCT.md; REQUIREMENTS.md (PRODUCT.md; req: ui/001-002; req: session/003). 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: #3 via explicit issue link and parent checklist. SCOPE: The smallest source/docs/tests needed to make this behavior real and verified. BOUNDARIES: No notification system or telemetry. ACCEPTANCE: Tests or traces show missing command, failed save, empty panel, and long message behavior without corrupting editor state. 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:16 +00:00
tmk241 added the sliceready-for-agentgoal labels 2026-06-20 23:28:16 +00:00
Author
Owner

Implemented in commit e540e64d93 (Show recoverable panel and editor feedback).

Verification:

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

Regular tests: save status appears in the editor status area; empty generic panels render a local empty state; feedback remains width-bounded.
Adversarial tests: protocol errors such as invalid panel title render recoverable local messages without corrupting editor state; long feedback messages are clipped to the viewport width.

Boundary: local status/error/empty presentation only. No notification system, telemetry, diagnostics subsystem, job subsystem, or concrete file/git/LSP panels added.

Implemented in commit e540e64d9304 (Show recoverable panel and editor feedback). Verification: - zig fmt src/tui.zig: pass - zig build test: pass - zig build: pass - zig build run -- --help: pass - redgate lint / health: pass Regular tests: save status appears in the editor status area; empty generic panels render a local empty state; feedback remains width-bounded. Adversarial tests: protocol errors such as invalid panel title render recoverable local messages without corrupting editor state; long feedback messages are clipped to the viewport width. Boundary: local status/error/empty presentation only. No notification system, telemetry, diagnostics subsystem, job subsystem, or concrete file/git/LSP panels added.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tmk241/mim#21