Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(plans): correct e2e runner consolidation plan details

Steven Enamakelc05ca5a8c662
diff --git a/docs/plans/2026-10-20-e2e-runner-consolidation.md b/docs/plans/2026-10-20-e2e-runner-consolidation.md
index ca4620f147..3b1e759080 100644
--- a/docs/plans/2026-10-20-e2e-runner-consolidation.md
+++ b/docs/plans/2026-10-20-e2e-runner-consolidation.md
@@ -16,7 +16,7 @@ The documented basename allowlist will contain exactly these five mixed files, w
| `login-flow.spec.ts` | Actual desktop window/process and desktop auth deep-link entry, token consume/profile, expired/invalid and bypass entry | Web callback entry, token consume/profile and browser bypass |
| `auth-access-control.spec.ts` | Desktop reauthentication/device deep-link handoff and native auth-expiry event delivery | Generic account/billing/logout/revocation UI and cleared authoritative auth state |
| `notifications.spec.ts` | Real notification permission and notification plugin command calls | Integration notification body/title and System Events/empty Alerts UI |
-| `settings-data-management.spec.ts` | Confirm Clear App Data initiates the real desktop restart/reset | Confirmation, Cancel and signed-in UI behavior |
+| `settings-data-management.spec.ts` | Confirm Clear App Data invokes the real reset_local_data host path, resets the signed-in user and restarts the embedded core | Confirmation, Cancel and signed-in UI behavior |
`tauri-commands.spec.ts` remains native only. Move its browser bootstrap/RPC assertions into the existing browser `smoke.spec.ts`, then delete its browser file. Both `core-port-conflict-recovery` copies only assert normal startup: move their useful startup assertions to the respective smoke cases, delete both files and record that neither established occupied-port recovery. Do not claim new port-conflict coverage.
@@ -37,14 +37,14 @@ Paths in the table are relative to `app/test/{e2e,playwright}/specs/`; each base
| 7 | `chat-harness-scroll-render.spec.ts` | PW. Preserve bold/code/link structure, overflow/bottom anchor, scroll-up release and native distance tolerances. Keep browser indented code block completeness and href assertion. |
| 8 | `chat-harness-send-stream.spec.ts` | PW with M3. Streaming request flag, full reply, finished in-flight state, durable prompt+reply, nonempty workspace transcript list/positive sizes. Browser title currently overstates persistence. |
| 9 | `chat-harness-wallet-flow.spec.ts` | PW with M4. Recovery Phrase real UI, visible Copy action/saved confirmation plus durable consentGranted=true, source=generated and EVM/BTC/Solana/Tron accounts. Do not replace state oracle with canned text. |
-| 10 | `chat-multi-tool-round.spec.ts` | PW with M5. Existing browser case uses web_fetch/web_search while native uses file_read/grep. Retain browser cards and add the native distinct file-read then code-search fixture/order in the same owner. Do not pretend different tool families are identical. |
+| 10 | `chat-multi-tool-round.spec.ts` | PW with M5. Native file_read/grep suite is wholly skipped by its before hook (#236); retain active browser web_fetch/web_search cards/order. Retire dormant native intent honestly, without claiming filesystem-tool coverage was transferred. |
| 11 | `chat-tool-call-flow.spec.ts` | PW. Preserve browser’s stronger one final bubble, second paragraph once, successful terminal tool outcome/body, done status, no running/task-insights and no in-flight turn. |
| 12 | `chat-tool-error-recovery.spec.ts` | PW. Interrupted-turn error, reenabled composer, cleared in-flight and successful new send/reply; preserve native’s final in-flight oracle explicitly. |
| 13 | `command-palette.spec.ts` | PW with M6. Preserve five seed actions, Enter navigation/Escape, reopen-after-close listener survival, mod+/ directory headings/New Chat/Toggle Sidebar and unfocused ? opening/closing. Existing arrow-key companion remains. |
| 14 | `composio-triggers-flow.spec.ts` | PW. ACTIVE Gmail manage dialog, trigger-toggles and New Gmail Message label, using existing local Composio fixtures. |
| 15 | `connectivity-state-differentiation.spec.ts` | PW. Same navigator.onLine/offline event and exact device-offline copy; do not invent core restart or backend reconnect coverage from this test. |
| 16 | `connector-gmail-composio.spec.ts` | PW. Card selectable, failed state stays usable, expired auth management/reconnect affordance remains signed in. Transfer the explicit native reconnect affordance if absent. |
-| 17 | `conversations-web-channel-flow.spec.ts` | PW with M3. Preserve UI send and actual inference request, no chat_send-unavailable error; add native in-flight navigation-away/back continuation and no generic error. |
+| 17 | `conversations-web-channel-flow.spec.ts` | PW with M3. Preserve UI send and actual inference request, no chat_send-unavailable error; add native in-flight navigation-away/back continuation and no generic error. Native suite is skipped on Linux but active on other platforms; record that origin, not a Linux passing baseline. |
| 18 | `core-port-conflict-recovery.spec.ts` | Remove both after moving normal startup into native/browser smoke. No occupied port is established by either source. |
| 19 | `cron-jobs-flow.spec.ts` | PW with M2. Replace fallback-or-error success with actual row, Pause→Resume persisted after Refresh, Resume→Pause and Remove/UI+RPC absence. Keep no scheduler-execution or guaranteed-auto-seed claim: native creates missing seed too. |
| 20 | `crypto-payment-flow.spec.ts` | PW. Current Plan & billing/Open dashboard handoff/explanation and explicit user action; replace stale moved-to-web text with current account UI selectors already used by card/account tests. No crypto transaction claim. |
@@ -64,7 +64,7 @@ Paths in the table are relative to `app/test/{e2e,playwright}/specs/`; each base
| 34 | `settings-advanced-config.spec.ts` | PW with M10. Keep triage/autonomy/Composio direct→backend persistence. Add native retired notifications→account and agent-chat→LLM redirects; about Check for updates and local-model/LLM destinations, alongside browser Resources/current controls. |
| 35 | `settings-ai-skills.spec.ts` | PW. Providers/routing tabs and Tools toggles. Preserve existing tracked #6395 default-model reload skip as a skip, never count it as passing evidence. |
| 36 | `settings-channels-permissions.spec.ts` | PW. Telegram/Web selection/redux state, analytics privacy control and label. Keep browser privacy-mode-options. |
-| 37 | `settings-data-management.spec.ts` | Mixed with M11. Browser confirmation/Cancel; native only confirmed destructive clear/restart. Never count arbitrary WebDriver exception as restart success. |
+| 37 | `settings-data-management.spec.ts` | Mixed with M11. Browser confirmation/Cancel; native only real reset_local_data IPC/user wipe/core restart plus E2E renderer reload. Never count arbitrary WebDriver exception as restart success. |
| 38 | `settings-feature-preferences.spec.ts` | PW with M10. Union all native retired feature/notifications routes; preserve channel redux, enabled-tools snapshot, mascot color and custom voice. Keep browser manifest mascot selection/Human route coverage. |
| 39 | `skill-execution-flow.spec.ts` | PW. Authenticated shell, core.ping and Connections content only. Does not prove execution. |
| 40 | `skill-lifecycle.spec.ts` | PW. Connections route, current Apps/Messaging/Tools labels and flows_list array. No install/uninstall lifecycle claim. |
@@ -116,7 +116,7 @@ Use the exact native wallet read/state oracle from `chat-harness-wallet-flow.spe
### M5 — distinct multi-tool family
-The native `chat-multi-tool-round` fixture invokes file_read then grep, while browser invokes web_fetch then web_search_tool. Keep both distinct UI tool adapters under the one browser file. Transfer native local file setup through supported test-support RPC/host fixture, force the same tool sequence, expand the group, assert exactly two cards and file-read before code-search plus final rendered answer. Existing web pair remains unchanged. Require fixture tool result failure to fail the case; do not just count model requests. This preserves coverage; names alone are not equivalence evidence.
+The native `chat-multi-tool-round` fixture names file_read then grep, but its before hook unconditionally skips the entire suite with #236. It has no active coverage. Retain and run browser web_fetch then web_search_tool exact two-card order and final answer. Delete the skipped native suite and record dormant filesystem-tool intent as unverified. Do not resurrect it with new backend-only fixtures merely to justify deletion, and do not describe the web fixture as proof of file_read/grep.
### M6 — shortcut directory
@@ -140,7 +140,9 @@ Update browser route inventories from actual native invocations and current `App
### M11 — desktop reset
-Keep only confirmed full-state reset in native settings-data-management; move confirmation/Cancel to browser. Existing native catches any stale session error and calls it a successful restart: strengthen host proof before using it as the retained contract. Capture the launched app PID/start time and existing session ownership through the supported session launcher, initiate clear, require owned process exit/restart signal and cleared authoritative state from a new supported session/health bootstrap. Do not kill unrelated processes. If current driver cannot reattach, require explicit owned process lifecycle observation and record post-restart UI as unverified; an arbitrary thrown element lookup is not proof. This is a host harness test change, not permission to change product reset behavior or add child-webview injection.
+Keep only confirmed full-state reset in native settings-data-management; move confirmation/Cancel to browser. Inspect `app/src/utils/clearAllAppData.ts` and `app/src/utils/tauriCommands/core.ts`: actual native distinction is `reset_local_data` (explicit current user id, data removal, embedded-core restart). E2E builds are mode development, so `restartApp` reloads the renderer instead of invoking OS-level `restart_app`. Existing spec comments about killing the process are stale. Do not require a new packaged production artifact or claim OS restart proof.
+
+Use the live native test to create a unique harmless user-scoped sentinel through existing test-support file RPC, record current user/scope, open account confirmation and confirm with the actual dialog action. Require the reloaded webview reaches Welcome, `auth_state` is signed out with no credential, and the former signed-in user sentinel is absent from the filesystem using the WDIO Node process plus the known isolated OPENHUMAN_WORKSPACE path. Scope the file to the captured user; an empty users/local directory is not sufficient. Require embedded core health/RPC works again after reset via supported URL/token bootstrap. Never treat arbitrary WebDriver exceptions or a disappearing modal as success; timeout fails. Existing `clearAllAppData.test.ts`/`LogoutAndClearActions.test.tsx` pin explicit user-id forwarding and error display; run those focused tests too. This is a test correction of the actual host contract, not permission to change reset behavior or inject child webviews.
## Bite-sized execution sequence
@@ -158,7 +160,7 @@ Implement M1/M2 in the existing browser files; run each against current built co
### Task 3 — migrate chat contracts
-Implement M3/M4/M5, preserving browser-only stronger assertions. Run send-stream, cancel, history, conversations, wallet and both multi-tool scenarios separately with their actual source head/binary receipts. Then remove their native copies and entries. Run unchanged browser tool-call, error-recovery, scroll-render and user-journey-full-task once, verify existing stronger assertions and delete their native copies. Do not treat RPC backend-only results as a substitute for rendered UI assertions.
+Implement M3/M4/M5, preserving browser-only stronger assertions. Run send-stream, cancel, history, conversations, wallet and the active browser multi-tool scenario separately with their actual source head/binary receipts. Then remove their native copies and entries. Run unchanged browser tool-call, error-recovery, scroll-render and user-journey-full-task once, verify existing stronger assertions and delete their native copies. Do not treat RPC backend-only results as a substitute for rendered UI assertions.
### Task 4 — migrate navigation, tour and account UI
@@ -215,7 +217,7 @@ Historical baseline is upstream run `39011962001`, captured in workflow receipt
No after time exists yet. Do not put an estimate into the PR body as a measurement.
-Before migrations, root may create immutable fork-only `measure/8089-236-before` at the accepted pre-consolidation epic SHA (design audit tip463 is an available baseline; prefer post-233 accepted tip for clean attribution). Do not move it while its run is active. Dispatch only:
+Before migrations, root creates immutable fork-only `measure/8089-236-before` at the accepted post-233, pre-consolidation epic SHA. Wait for233 so this measures the actual51-pair input; do not spend a redundant full run on design tip463 with52pairs. Do not move it while its run is active. Dispatch only:
```sh
gh workflow run ci-full.yml -R senamakel/openhuman --ref measure/8089-236-before
@@ -232,12 +234,12 @@ gh run view RUN_ID -R senamakel/openhuman --json databaseId,headSha,headBranch,c
In implementation use the actual numeric id returned by run discovery, store JSON and downloaded logs in the central ledger receipts. The uppercase RUN_ID in this documented command denotes that returned argument, not an invented fixed run. Record pinned container digest/runner image, build cache hits, source-hash artifact reuse, module versions/checksums, retry counts, cancellations, failed units and counts. Inspect actual test steps even when job conclusion is success under COE. Poll live run handles; a pending/observational timeout is not a reason to restart. Cancellation/retry is reported separately, never substituted invisibly for the first attempt.
-Compute from actual UTC timestamps: PW test envelope = earliest lane test-step start to latest lane test-step finish; PW job envelope = earliest lane job start to latest lane job finish; native envelope = native build start to latest native shard completion; combined = earliest applicable web/native build start to latest web/native lane completion. Also report summed runner seconds to distinguish lower wall time from higher total compute. Baseline and after must use identical scopes. Show the new fork pre-233 or post-233 baseline separately from historical upstream baseline; if tip463 was used before233 landed, attribute Telegram cleanup as intervening scope rather than claiming all savings came from236. If a run failed/short-circuited, label its duration noncomparable, still report it, and obtain a completed run rather than omitting failed cases to shrink time.
+Compute from actual UTC timestamps: PW test envelope = earliest lane test-step start to latest lane test-step finish; PW job envelope = earliest lane job start to latest lane job finish; native envelope = native build start to latest native shard completion; combined = earliest applicable web/native build start to latest web/native lane completion. Also report summed runner seconds to distinguish lower wall time from higher total compute. Baseline and after must use identical scopes. Show the new post-233 fork baseline separately from historical upstream baseline. Its scope must match the51-pair input; all preceding233 savings are outside236 attribution. If a run failed/short-circuited, label its duration noncomparable, still report it, and obtain a completed run rather than omitting failed cases to shrink time.
PR body must include actual before/after run links and SHA, these measured durations, native four/PW four-by-sixteen topology, suite counts, retry/cache caveats, five exceptions, COE decision and all migration gates. Open ready fork PR against `epic/8089-test-ownership`; use explicit `HEAD:refs/heads/<feature>` push. Root owns at-most-two review rounds, merge verification and ledger updates. Do not close236 until basename/semantic ownership, complete migrations, rebalance, documentation, local gates and actual timing evidence are all proven.
## Independent review checklist and design risks
-Reviewer compares all 51 native/browser source pairs against the inventory receipt, not just ten samples. Every losing active assertion must have a named surviving passing owner; skipped/conditional/log-only paths remain explicitly unverified. Review stronger native channel/cron/durable chat/multi-tool/directory/onboarding contracts and stronger browser voice/tool/final-bubble cases first. Inspect every allowlisted native file for generic UI leftovers and every rename for disguised full-flow duplication.
+Reviewer compares all 51 native/browser source pairs against the inventory receipt, not just ten samples. Every losing active assertion must have a named surviving passing owner; skipped/conditional/log-only paths remain explicitly unverified. Review stronger native channel/cron/durable chat/directory/onboarding contracts and stronger browser voice/tool/final-bubble cases first. Inspect every allowlisted native file for generic UI leftovers and every rename for disguised full-flow duplication.
Primary risks: current browser stale tour/billing/skills assumptions; shared-session native reset lifecycle; module fixture availability; failing inherited tests; fresh-core memory overhead; external hosted job capacity and cold caches; browser COE masking; and several retained non-twin native generic flows outside this bounded twin cleanup. None justify deleting meaningful assertions. Native four-shard or browser four-lane changes are measurable initial defaults, not guessed runtime promises. Root can adjust grouping from observed durations without user approval while preserving ownership and process isolation.