NS10 slice: Gate terminal E2E in the developer verification path #72
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 the completed browser-terminal E2E suite part of the repo’s documented verification path with clear local commands, artifact retention, runtime budget, and failure triage guidance.
AUTHORITY: Parent #65; AGENTS.md verification section; REQUIREMENTS.md req: testing/001-004 and governance/004; build.zig verification commands.
AGENT AUTHORITY:
PARENT: #65 NS10 via explicit parent link and parent checklist.
SCOPE: build steps, docs/AGENTS.md verification wording if needed, artifact path/reporting, local/CI-friendly command behavior.
BOUNDARIES:
REGRESSION CLASS: catches process regressions where E2E exists but is not run, produces dirty artifacts, times out unpredictably, or lacks actionable failure triage.
EVIDENCE ARTIFACTS: clean-tree before/after receipt, terminal-e2e command receipt, artifact directory listing, failure-output sample or documented format, and canonical gate receipts.
REQUIREMENT IMPACT: requires authority attention because terminal-e2e may become a canonical verification command; update AGENTS.md and requirement authority consistently if adopted as durable governance.
ACCEPTANCE:
zig build terminal-e2erelative tozig build test,zig build v1-smoke, and install verification.VERIFICATION:
git status --short --untracked-files=allbefore/after terminal-e2e shows no unintended tracked/untracked artifacts.zig build terminal-e2ezig build testzig build v1-smokezig build --prefix /tmp/mim-install verify-install-coderedgate list /opt/repositories/mim/REQUIREMENTS.md && redgate lint /opt/repositories/mim/REQUIREMENTS.md && redgate health /opt/repositories/mim/REQUIREMENTS.mdBLOCKERS: depends on meaningful terminal-e2e scenarios from prior NS10 slices.
SLICE_CONTRACT:
objective: Document and gate terminal-e2e as a reliable developer verification command.
authority: #65, AGENTS.md, REQUIREMENTS.md testing/governance rows.
acceptance: terminal-e2e is documented, bounded, artifact-safe, and run with canonical gates on clean tree.
verification: terminal-e2e, canonical build/test/install/redgate gates, clean-tree artifact check.
non_goals: cloud CI, replacing real iPhone dogfood, forcing slow tests into every unit run.
blockers: useful terminal-e2e scenarios exist.
Implemented in
bdc9de0(Document terminal E2E verification gate).What changed:
AGENTS.mdnow nameszig build terminal-e2eas the canonical terminal/browser E2E check for terminal UI, input, panels, KEYMAP workflow routing, LSP/tool reachability, viewport/chrome/color behavior, and NS10 work.tools/TERMINAL_E2E.mdnow documents when to run the gate, expected runtime target, artifact location, failure triage order, semantic artifacts, key budget handling, and clean-tree expectations.Clean-tree verification after commit:
git status --short --untracked-files=allbefore gates: clean ✅zig build terminal-e2e✅zig build test✅zig build✅zig build v1-smoke✅zig build run -- --help✅zig build --prefix /tmp/mim-install verify-install-code✅redgate list /opt/repositories/mim/REQUIREMENTS.md && redgate lint /opt/repositories/mim/REQUIREMENTS.md && redgate health /opt/repositories/mim/REQUIREMENTS.md✅git status --short --untracked-files=allafter terminal E2E artifacts: clean ✅Evidence:
.zig-cache/terminal-e2e/matrix.tsvlists the current 18-scenario terminal matrix, including multi-file and LSP-assisted coding rows plus key budgets..zig-cache/terminal-e2e/.