The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Commits on main
test(e2e): make the skip and fail-loud paths exclusive; seed a complete persist blob\n\nNOT RUN LOCALLY — standing rule forbids local execution. Reasoned from source,\nverified by reading. The notifications spec remains skipped.\n\ntinysweeper, two high findings on classifyModuleFailure — both correct, and the\nsame defect from two angles. The function called test.skip(true, ...) and then\nfell through to build the "not staged in this lane" Error unconditionally, which\nthe caller throws. So the error followed the skip on every path and the skip was\nmeaningless; the CI branch and the local branch were not exclusive.\n\nRestructured so CI returns first and the two paths cannot both run. The skip is\nnow the last statement on the local path, and if it ever stopped aborting, the\nfall-through surfaces the ORIGINAL module error rather than a misleading\n"not staged in this lane".\n\ntinysweeper, medium: also right. When the persist key does not exist yet, the\ninit script built a blob containing only `items`. That is not the shape\nredux-persist writes — the real blob carries `preferences` and `_persist`, and a\nmissing `_persist` is what marks a blob unrehydratable. The fresh-namespace path\nnow supplies both defaults, matching the blob observed on a live lane, while the\nexisting-key path still merges as before.\n M3gA-Mind committed 3 months ago
ed0a466 test(e2e): trace the palette destinations from source, and assert focus leaves the sidebar\n\nTwo more review findings on #5887, both correct, plus two errors of my own that\ntracing the routes properly exposed.\n\nCodeRabbit: `/^#\/settings/` also matches `#/settings/notifications`, another\nmapped action's destination — so the palette test could pass while Enter ran the\nwrong item, which is the regression it exists to catch. End-anchored every\npattern.\n\nFollowing that through the redirect chains found two mistakes in the map I added\nin the previous commit:\n\n * nav.intelligence targets `/settings/intelligence`, which is itself\n `<Navigate to="/brain">` (settingsRouteElements.tsx:184). It lands on\n `#/brain`, not `#/settings/intelligence`.\n * nav.settings targets `/settings`, whose index is `SettingsIndexRedirect`;\n at the >=768px viewport Playwright runs that is\n `<Navigate to="/settings/account">` (SettingsIndexRedirect.tsx:15-18).\n So `#/settings/account`.\n\nAnd the fixture started at `/#/brain`, which is nav.intelligence's landing — so\nhad that action been selected, "the hash matches" would have been true before\nEnter and told us nothing. Moved to `/#/notifications`, which no mapped action\ntargets.\n\nCodeRabbit, focus trap: `stillInNav` only tested that focus left the nav ROWS.\nFocus landing on the collapse toggle satisfies that while remaining inside the\nsidebar column, so a real trap would still pass. Now asks the DOM after each Tab\nwhether `document.activeElement` is still contained by\n`[data-testid="root-shell-sidebar"]`, and requires at least one step to leave.\n\nNOT EXECUTED — no local builds or test runs in this phase. Destinations were\ntraced by reading globalActions.ts:119-170, AppRoutes.tsx,\nsettingsRouteElements.tsx:184 and SettingsIndexRedirect.tsx:15-18. Prettier\nclean, tsc reports no errors in the touched files. CI is the check.\n M3gA-Mind committed 3 months ago
231b881 test(e2e): seed the notification feed before mount; assert the health control navigates\n\nNOT RUN LOCALLY — local execution is forbidden by standing rule. Reasoned from\nsource, verified by reading. The notifications spec stays skipped for that\nreason; see below.\n\ntinysweeper (critical + 2 high + 1 medium), notifications spec: right, and they\nconverge on the hypothesis this file's own header had already recorded. Seeding\nafter the app mounted could never work — redux-persist rehydrates once per page\ncontext, so a post-boot localStorage write is never read, which is why every\nassertion timed out against an empty feed.\n\nRestructured as a deliberate two-navigation sequence:\n 1. Boot once purely to learn the namespace. `resolveActiveUserId` now POLLS\n for OPENHUMAN_ACTIVE_USER_ID instead of reading it once, which closes the\n race tinysweeper flagged at :92 — a single read can beat the app's own\n write and return null, or a stale value that sends the seed to a key\n nobody reads.\n 2. Register the blob as an addInitScript, then navigate to a fresh document.\n The init script runs before any application code, so the store rehydrates\n WITH the seed rather than the empty blob the first boot left.\n\nThe duplicate navigation tinysweeper noted at :113 is now intentional and\ndocumented rather than incidental: pass one learns the id, pass two carries the\nseed. It cannot be collapsed to one, because the namespace is not knowable\nbefore the app has resolved a session.\n\nLeft skipped: the restructure is sound by reading but unexecuted, and shipping\nan unrun spec as active is how a red lane gets blamed on the wrong change.\nUn-skip on the first run that can execute it.\n\ncoderabbitai, brain spec :275: right. Visibility alone passes for a disabled\ncontrol or a dead handler, and an unreachable escape hatch is the same as none\n— the user is told semantic search is broken and handed a button that does\nnothing. Now asserts enabled, clicks it, and polls for the destination\n`#/brain?tab=sync` (MemorySourcesRegistry.tsx:552-555).\n M3gA-Mind committed 3 months ago
8f407e6