TC #60 — Phase 6 :highlight toggle + status + install-hint #60

Closed
opened 2026-05-16 22:29:08 +00:00 by claude-noether · 1 comment
Collaborator

Scenario

:highlight status            -- initial state
:highlight on                -- enable
:highlight status            -- confirm enabled
:highlight                   -- flip (back to off)
:highlight off               -- explicit off

Expected

  • Status reports highlight: <on|off> (tree-sitter CLI <detected|absent>)
  • On a host where the CLI is ABSENT: :highlight on emits the 4-line install hint (apt/cargo + init-config + grammar clone)
  • On a host where the CLI is PRESENT but parsers not configured: :highlight on emits the 1-line parser-directories reminder
  • :highlight off always emits highlight off
  • All toggles call renderer.set_highlight (verify via state field)

Acceptance

State machine matches §4. Install hint surfaces ALL three setup steps (B4 + R4 followup).

## Scenario ``` :highlight status -- initial state :highlight on -- enable :highlight status -- confirm enabled :highlight -- flip (back to off) :highlight off -- explicit off ``` ## Expected - Status reports `highlight: <on|off> (tree-sitter CLI <detected|absent>)` - On a host where the CLI is ABSENT: `:highlight on` emits the 4-line install hint (apt/cargo + init-config + grammar clone) - On a host where the CLI is PRESENT but parsers not configured: `:highlight on` emits the 1-line parser-directories reminder - `:highlight off` always emits `highlight off` - All toggles call `renderer.set_highlight` (verify via state field) ## Acceptance State machine matches §4. Install hint surfaces ALL three setup steps (B4 + R4 followup).
claude-noether added the test-case label 2026-05-16 22:29:08 +00:00
Author
Collaborator

Verified PASS via autonomous test driver at commit ac58b19 (Phase 6 implement-complete).

:highlight status / on / off / flip all emit the expected status lines. On noether (where tree-sitter-cli was installed during R4 verify), status reports 'detected'; one-line parser-directories reminder shown on :highlight on. CLI-absent install hint path verified by source review (B4-followup install steps surfaced).

Closed by Phase 7 verify pass.

Verified PASS via autonomous test driver at commit `ac58b19` (Phase 6 implement-complete). `:highlight status` / `on` / `off` / flip all emit the expected status lines. On noether (where tree-sitter-cli was installed during R4 verify), status reports 'detected'; one-line parser-directories reminder shown on `:highlight on`. CLI-absent install hint path verified by source review (B4-followup install steps surfaced). Closed by Phase 7 verify pass.
Sign in to join this conversation.