Native-first full E2E verification
Status: PASS Date: 2026-11-12 Spec: #209 Cutover record: 2026-11-11-native-first.md Host contract: 2026-11-10-native-host-contract.md Integration tip: ad13082
Environment
| Item | Value |
|---|---|
| OS | Linux (Debian GNU/Linux 13) |
| Terminal host | tmux 3.5a |
| Node | 26.12.1 |
| npm | 12.2.1 |
| OpenCode | 2.2.7 |
| Provider | local OpenAI-compatible fake provider (ensemble-fake); no model API, credentials, or external network |
| Isolation | scripts/lib/live-harness.sh; fresh HOME/XDG roots, project, workspace, fake provider, and host per run |
OpenCode 2.2.7 re-validated the recorded 2.2.6 host contract through the probe. The busy-move, inbox/text/execution identity, and retry behaviors matched; the contract test now accepts the supported 2.2.6/2.2.7 patch line.
Matrix
| Suite | Result | Duration | Evidence |
|---|---|---|---|
npm run verify | PASS | 51s | strict typecheck; 1811 tests, 0 failed/skipped |
npm run test:live:preflight -- all | PASS | 1s | Node/OpenCode/tmux/fd resolved |
npm run test:live:probe | PASS | 26s | 14/14 contract tests on 2.2.7 |
npm run test:live:native-first | PASS | 11s | main 65/65, restart 16/16, 0 gaps |
npm run test:live:fake:all | PASS | 468s | fake 456s + empty 9s; 2/2 |
npm run test:live:sizes | PASS | 57s | 80x24/100x30/120x40/160x50 |
npm run test:live:lifecycle | PASS | 334s | heartbeat, deadline, backlog, HISTORY |
npm run test:live:subagent | PASS | 19s | native child lifecycle |
npm run test:live:multilocation | PASS | 78s | shared service/realm |
npm run test:live:latency | PASS | 17s | keypress-to-repaint samples |
npm run test:live:tool-surface | PASS | 5s | native/legacy surface |
npm run test:live | PASS | 54s | real TUI acceptance |
All 12 suites passed in one sequential run with ENSEMBLE_LIVE_REQUIRE=1, so no suite was silently skipped.
Coverage notes
- Native-first: direct/workspace turns, user and agent
$Namerouting, attachments, adoption, retry, interruption, Work history, restart/reconnect, rollback, shadow comparison, per-agent privacy toggle. - Existing suites: group/direct chat, work lifecycle, dispatch budgets, delegation/handoff, completion review, approvals, memory, skills, init, native subagents, multilocation, TUI layout/focus, file references.
- Edge cases: duplicate/reordered events, missing terminal fallback, late text after settle, busy session/move, attachment caps, mention exclusions/guards, direct no-routing, empty states, cross-workspace isolation.
- Real host: the #232 harness fix enters chat interaction before the workspace wizard; real
test:livepasses.
Follow-ups
- #228 native attachment size — fixed and closed.
- #229 adoption immediate prompt — fixed and closed.
- #230 shadow mode — fixed and closed.
- #232 real live wizard — fixed and closed.
- #233 host contract 2.2.7 — fixed and closed.
- #234 live harness stale assertions — fixed and closed.
- #231 native service-state refactor — deferred maintenance; not a functional or test failure.
Privacy
No conversation content, credentials, file bytes, or absolute private paths are committed. Live fixtures use IDs, counts, lengths, and digests only.
Reproduce
sh
source ~/.nvm/nvm.sh && nvm use 26.12.1
npm run verify
npm run test:live:probe
npm run test:live:native-first
npm run test:live:fake:all
npm run test:live:sizes
npm run test:live:lifecycle
npm run test:live:subagent
npm run test:live:multilocation
npm run test:live:latency
npm run test:live:tool-surface
npm run test:live