NS10 slice: Cover editor workflows and panels in browser-terminal E2E #67
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: Add browser-terminal E2E scenarios for the core user workflows that make
mimuseful: open files/folders/new paths, edit/save/dirty quit, search, diagnostics, job output, provider format/code action panels, and panel navigation/focus.AUTHORITY: Parent #65; NS8 parent #43; KEYMAP.md; REQUIREMENTS.md req: session/001-004, ui/001-002, repo/001-002, coding/006-007, testing/001-004.
AGENT AUTHORITY:
PARENT: #65 NS10 via explicit parent link and parent checklist.
SCOPE: E2E scenarios, fixtures, assertions, screenshots/transcripts for user workflows.
BOUNDARIES:
REGRESSION CLASS: catches workflow regressions where editor features work in unit tests but fail through terminal focus, panels, dirty state, save/quit, search, diagnostics, jobs, or provider-selection flows.
EVIDENCE ARTIFACTS: per-workflow screenshots, semantic transcripts, final buffer/file assertions, panel focus logs, job/diagnostic/provider row snapshots, and command receipts.
REQUIREMENT IMPACT: protects existing session/ui/repo/coding/testing requirement authority; update authority if new workflow proof becomes a durable release gate.
ACCEPTANCE:
VERIFICATION:
zig build terminal-e2ezig build testzig build v1-smokeredgate lint /opt/repositories/mim/REQUIREMENTS.md && redgate health /opt/repositories/mim/REQUIREMENTS.mdBLOCKERS: depends on terminal harness #69 and at least one matrix/scenario convention #66.
SLICE_CONTRACT:
objective: Add browser-terminal E2E coverage for core editor workflows and panels.
authority: #65, #43, KEYMAP.md, REQUIREMENTS.md session/ui/repo/coding/testing rows.
acceptance: E2E proves open/edit/save/search/panel/diagnostic/job/provider workflows and fails on panel/focus regressions.
verification: terminal-e2e plus canonical gates.
non_goals: full LSP integration, real iPhone dogfood closure.
blockers: terminal harness exists.
Progress committed in
19f7354(Cover project search terminal workflow).What changed:
project-search-panelwith a repo fixture containingmain.zigandtarget.zig.Space s p, typesfindme, opens the project-search results panel, assertspanel [search],target.zig, andfindme, closes the panel, then quits cleanly.key_events=13,max_key_events=13) and artifacts like the rest of the NS10 matrix.Verification before commit:
zig build terminal-e2e✅zig build test✅zig build✅zig build v1-smoke✅redgate lint /opt/repositories/mim/REQUIREMENTS.md && redgate health /opt/repositories/mim/REQUIREMENTS.md✅Evidence:
.zig-cache/terminal-e2e/project-search-panel/manifest.tsv: search panel scenario, 13-key budget pass, CR/LF/chrome roles clean..zig-cache/terminal-e2e/project-search-panel/visible-controls.normalized.txt:panel [search],target.zig, andfindme..zig-cache/terminal-e2e/project-search-panel/keystrokes.tsv: raw search workflow input.Not closing #67 yet: the issue acceptance still asks for job panel/cancel or failure output. Current repo has job model/test code, but no terminal-reachable job panel/action path to drive from KEYMAP without inventing a new workflow. Remaining #67 gap is therefore a bounded implementation slice: expose a deterministic job/failure output panel through existing leader/panel patterns, then add a terminal E2E row for it.
Completed with final job-output coverage in
70d8582(Cover job output terminal workflow). Previous progress for project-search coverage was19f7354.Terminal E2E workflow coverage now satisfying #67:
project-search-paneldrivesSpace s p, query entry, search result panel, close, and quit; assertspanel [search],target.zig, andfindmewith a 13-key budget.job-cancel-output-paneldrivesSpace t x, assertspanel [job-output],job:profile:build, andjob:status:cancelled:userwith a 6-key budget.directory-panel-narrow.lsp-assisted-codingcovers diagnostics panel/jump plus provider hover/signature/format/save;multi-file-coding-loopcovers multi-file edit/save; color/chrome/viewport roles are covered by the matrix-level assertions from #68.Verification before final commit:
zig build terminal-e2e✅zig build test✅zig build✅zig build v1-smoke✅redgate lint /opt/repositories/mim/REQUIREMENTS.md && redgate health /opt/repositories/mim/REQUIREMENTS.md✅Evidence from latest run:
.zig-cache/terminal-e2e/job-cancel-output-panel/manifest.tsv:key_events=6,max_key_events=6,key_budget=pass,bare_lf=false..zig-cache/terminal-e2e/job-cancel-output-panel/visible-controls.normalized.txt:panel [job-output],job:profile:build:scope:project:provider:zig-build,job:status:cancelled:user..zig-cache/terminal-e2e/project-search-panel/manifest.tsvand.zig-cache/terminal-e2e/project-search-panel/visible-controls.normalized.txt: project search panel/result proof.