mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 19:07:41 +00:00
11cfa85f63b4e9dc6d4c3e8da8d3ac53bcbfbcdf
2104
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
aed7718884 |
refactor: organize shared editor and feature contracts (#42832)
* refactor: group shared editor and feature contracts * test: retain WSL phone refusal semantics without copy checks |
||
|
|
af6c01dd9e |
test: remove 50 low-value suites (#42878)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
0b839cedad |
test: remove 40 low-value suites (#42866)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
24da434aff |
fix(sidebar): let a row click hand typing to the opened terminal again (#42806)
* fix(sidebar): let a row click hand typing to the opened terminal again Since 1.4.259 a plain click on a workspace row parked keyboard focus on the sidebar list and marked it as keyboard navigation, so terminal and chat focus requests yielded and typing went nowhere until a second click (STA-15458). The same stale mark also swallowed explicit focus requests such as `orca terminal switch`, which reported success (STA-15415). - Only a modifier click (multi-select) claims list focus; a plain click hands keys to the opened workspace's terminal or chat. - Any pointer press ends list keyboard navigation again, so a click after arrow keys or a modifier click, and agent-row clicks, also hand focus off. - The focus-list shortcut marks keyboard navigation so a terminal that finishes mounting afterwards cannot take the keys back. - Explicit pane focus requests (CLI/notification focus, agent rows) end sidebar list navigation before focusing. The delete shortcut still acts only on sidebar-selected rows while the list has keyboard focus, and never on a hovered row. Co-authored-by: Pr1p <48266347+Pr1p@users.noreply.github.com> Co-authored-by: Pranav Tomar <43115768+Mystery01092000@users.noreply.github.com> * test: give the sidebar focus fixture rows aria-selected * fix(sidebar): re-clicking the open workspace row hands its terminal the keys --------- Co-authored-by: Pr1p <48266347+Pr1p@users.noreply.github.com> Co-authored-by: Pranav Tomar <43115768+Mystery01092000@users.noreply.github.com> |
||
|
|
14af800058 |
feat(mobile): add Take back all to the phone-driven browser banner (#42821)
The browser tab's phone banner only offered Take back. Add a ghost Take back all next to it that restores every phone-held terminal and browser tab, sharing the logic with the terminal banner. Co-authored-by: Aleksei Tcelishchev <1243074+casualuser@users.noreply.github.com> |
||
|
|
69cfecdf70 | refactor: organize shared lifecycle and runtime owners (#42792) | ||
|
|
0d07202c9b |
fix(mobile): take back phone-driven browser tabs with Take back all (#42785)
Take back all only restored the PTYs the phone held, so a browser tab the phone was driving stayed locked at phone size. Reclaim every mobile-driven browser page alongside the terminals; held-fit Restore all still only resizes. Co-authored-by: Aleksei Tcelishchev <1243074+casualuser@users.noreply.github.com> |
||
|
|
e516efcb61 |
Keep finished agents marked Done while their panes sleep (#41793)
* Remove finished-agent retention and keep sleeping status with panes * Fix legacy pane projection and sleeping-agent regression fixtures * Cover sleeping display-only status in parked terminal coverage * Keep pane conversation identity only across continuous agent observations * Remove duplicate import and keep sleep fixtures type checked * Preserve conversation boundaries across replays and inherited clocks * Cover conversation map stability across a large status batch * Bound conversation capacity work to changed pane owners * Pass capacity classifiers their layout input directly * Finalize conversation provenance once per status batch * Keep paired snapshot tests focused on observable outcomes * Type the conversation provenance test fixtures explicitly * Consolidate agent session imports after main merge * Preserve provider replacement evidence when resetting conversation continuity * Separate retention deletion from sleeping agent display * Restore migration row bucket comparison * Skip unusable pane identities before title ownership lookups * Refresh conversation titles when their owning pane changes * Update completion test sound mock after module move * Keep finished agent status with sleeping panes and update agents by key * Forward sleeping pane status and scope paired tab updates * Preserve keyed selectors and compiler invalidation through final checks * Keep bound store hooks visible to the compiler and measure published links * Install provenance measurement before factory capture * Use a static store hook and name presentation metadata once * Preserve keyed freshness and atomic agent status publication * Preserve remote folder dashboard regression after suite retirement * Model pane wake before live identity reobservation in regression * Share keyed row transactions and finish main integration * Align runtime fixtures with keyed agent status reads * Keep status projections addressed and activity summaries current * Retire empty workspace status summaries after their source leaves * Use the standard store fixture for parked terminal graph tests * Align status fixtures with app types and a fixed test clock * test: capture stored terminal render failure details * Read terminal titles and completion prompts from keyed agent status * Compose foreground agent state in worktree test stores * test: complete lineage list agent state fixture * Keep sleeping completion when retiring process authority * Run durable agent-hook status tests with Node SQLite * Preserve sleeping Done when renderer retires its process * Update terminal fixtures for process retirement * Read sleeping pane resume sources by key * Bind sleep capture fixture to its live panes * Pass the pane tree to the sleep capture fixture graph * Preserve accepted completion identity through sleep * Pass a nullable title to the status classifier * Resolve accepted host status once and preserve delivery order * Drop published sleep status when its host owner retires * Use the supported remote completion test envelope * Preserve published activity when filling completed status * Update imports for main module moves * Remove an unreachable native chat owner comparison * Read host and unread card inputs by address instead of per root A host-scoped sidebar card re-read every root's row and acknowledgement on any store write, so one card with many sleeping roots paid for other workspaces' updates. Card host filtering, the summary pill's unread state and the workspace unread gate now first compare the workspace's projected row revision and the changed keys of the tab-keyed layout/PTY maps and the acknowledgement record. Only an addressed change re-reads the roots. Acknowledge and unacknowledge annotate their writes so readers can skip keys they don't show. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Correct sleeping pane test imports after module moves * Combine duplicate subscription test imports * Record addressed acknowledgement deletions on row drops * Type subscription fixture key set for string readers * Keep accepted updates complete after observer failures * Seed the send picker with its SSH terminal identity * perf(layout): skip unused normalization reports in pane commands (#42615) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * Clarify cleanup pinning and ignored-file protection (#42616) * test: remove 55 low-value suites and assertion driver (#42605) Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> * fix(skills): skip Claude sync scratch folders during skill discovery (#42610) Claude Code parks replaced skill copies in `.trash` and in-progress syncs in `.staging` under its skills roots. Discovery walked into both, so each synced skill showed up as duplicates. Prune those directory names in the native file walk and in the generated WSL `find` command. Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com> * test: remove 78 low-value suites and trim redundant cases (#42621) Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> * Keep a host card's unchanged agent rows after filtering out another host's pane Re-lineage clones every row once a host-scoped card filters a row out, so an unrelated pane's status write rebuilt the card's row array and re-ran its signal and rollup memos. Reuse unchanged rows as main's sidebar row selector does. * Seed the Copy Session ID shortcut test through keyed agent status * Seed the graph payload partition test through keyed agent status --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Co-authored-by: OrcaWin <alpha-eng@stably.ai> Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> Co-authored-by: BingZ <zzb@gxsmjx.com> Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com> |
||
|
|
9b3737e5e0 | refactor: organize shared agent accounts and usage owners (#42781) | ||
|
|
ad29834900 | refactor: organize shared concurrency and text primitives (#42777) | ||
|
|
c67c705a4c |
docs: correct Windows verification and contributor script paths (#42766)
Align the Windows update harness docs and CLI help with the implemented cold-restore/survival profiles, document the daemon-log reader, drop links to unavailable plan/postmortem docs, and fix relocated script and source paths in freeze-repro, process-host, and crash-survival docs. Remove stale French Windows RC claims in favor of the stable latest asset. Fixes #42765 Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com> |
||
|
|
31b23b84d4 |
refactor: organize shared input and terminal protocols (#42772)
* refactor: organize shared input and terminal protocols * refactor: align input cleanup validation selectors |
||
|
|
eec5ebfe7a |
Free idle hidden desktop browser pages (#40653)
* Bound retained desktop browser guests by idle page count * Type the browser guest retention regression fixtures * Update document visibility after React commits * Preserve current page recency and private document audio protection * Avoid observer handshakes on child-frame load completion * Complete the browser certificate replay WebContents fixture * test(browser): complete guest protection fixture contracts * fix(browser): retain the saved page catalog after guest reclamation * fix(browser): preserve inventory ownership and global tab order * fix(browser): scope inventory ownership work to browser workspaces * Complete browser cleanup mocks after main sync * fix(browser): retain edited documents and earlier history * test(browser): complete document guest history fixture * test(browser): assert history transition publication * Restore reclaimed browser pages before commands and retain active owners * Fix native idle-page eligibility and retain canonical reclaim order * Keep browser inventory recovery fixtures faithful to saved pages * fix(browser): retry eligible guests and avoid default debugger acquisition * fix(browser): publish owner protection before discard retries * test(browser): isolate protection acquisition before release * test(browser): keep preview input fixture native-shaped * Fix browser lifecycle fixture typecheck coverage * fix(browser): finish guest discard admission before replying * fix(browser): retire only the hidden page surplus * fix(browser): retain cold recovery and modal ownership boundaries * test(browser): complete successful native load before stopping * Preserve browser page ownership across profile replacement * Typecheck connected browser profile fixtures in their owning project * Import browser disposal operations from their owning module * WIP: interrupted command-target repair (stopped 11-14 for Brennan's no-cap ruling) * Keep browser commands on the selected page after idle discard * Limit page-close routing cleanup to its current references * Guard page close against unrelated routing work * Type the routing retention probe by its owner * Add a Memory Saver setting for idle browser pages Settings > Browser gets a Memory Saver switch (on by default, kept under the existing kill-switch key) and an "Unviewed for" hours field (1-168, default 4). Main re-keys idle deadlines live from when each page hid, so turning it off stops pending frees and changing the hours applies without a restart. * Let main alone gate Memory Saver and key idle deadlines by hide time Changing the hours no longer walks every tracked page: the heap is keyed by when each page hid and the shared offset is applied at the head. The renderer no longer vetoes on the setting or reinstalls its listener on toggle, so a toggle sends no visibility replay and can't strand an in-flight page. * Document the fixture casts in the browser inventory publication test * Await the now-async window graph sync in browser inventory tests --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|
|
a616643671 | refactor: organize shared project and workspace modules (#42757) | ||
|
|
c3a681f5b1 |
refactor: group process and platform modules by ownership (#42742)
* refactor: group process and platform modules by ownership * refactor: preserve moved module workflow routing * refactor: preserve native loader and embedded bundle origins |
||
|
|
fce620d991 |
refactor: organize shared telemetry, education and platform contracts (#42713)
* refactor: organize shared telemetry, education and platform contracts * fix(agent-status): retain transcript polling when agent IDs resolve |
||
|
|
54861a1c1e | refactor: group browser and speech modules by ownership (#42702) | ||
|
|
506d116ee3 |
Move saved server reads and writes off the main thread (#42253)
* Move environment store operations off the main thread * Preserve CLI startup speed with the serialized environment owner * Handle absent paired host labels in the producer regression fixture * Preserve publication ownership and copy selected environment results * Correct publication and WSL readiness regression fixtures * Include environment store worker in deployed server artifacts * Check fresh listing publication across an intervening store update * Await store-backed results in new recovery coverage * Retire failed page publications and retain CLI worker support entries * Unpack environment store support modules for the installed CLI * Align async store callers with their return contracts * Avoid hardening work for absent environment store files * Keep permission repair bounded to one hardening attempt * Align store test fixtures and await pairing replacement * Use the semantic store operation for external pairing fixtures * Provide the live sender frame in the timed subscription fixture * Share pending server lookups and settle retired phone requests * Keep the relay error type import * Keep status ownership and transport imports acyclic * Await replacement pairing in status retirement cases * Keep asynchronous server rows bound to their admitted pairing * Keep inventory snapshots and queued delivery at one publication boundary * Await saved-host and graph test setup through publication completion * Finish async fixture types and remove foreground timing probe * Await renderer surface transitions in process identity coverage * Await nested graph publication fixtures through their callers * Await restored pane graph publication before hook assertions * Include imported store worker and sidebar files in web typecheck * Prepare saved host storage in source-based WSL test rigs * Await saved server lookups in the source retirement diagnostic * Preserve newer WSL status across async saved-host reads * Fence stopped probes when a newer WSL Ready arrives * Keep saved WSL host selection covered when admission is off * Check WSL probe ownership after async admission * Preserve WSL stop authority without cancelling Ready persistence * Prune removed WSL E2E real-time wait from flaky-test baseline * Limit WSL callback invalidation to confirmed stops * Retire pending WSL notices on every confirmed stop * Close the WSL picker dialog explicitly between scenarios * perf(layout): skip unused normalization reports in pane commands (#42615) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * Clarify cleanup pinning and ignored-file protection (#42616) * test: remove 55 low-value suites and assertion driver (#42605) Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> * fix(skills): skip Claude sync scratch folders during skill discovery (#42610) Claude Code parks replaced skill copies in `.trash` and in-progress syncs in `.staging` under its skills roots. Discovery walked into both, so each synced skill showed up as duplicates. Prune those directory names in the native file walk and in the generated WSL `find` command. Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com> * test: remove 78 low-value suites and trim redundant cases (#42621) Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> * Keep quit teardown within the source line budget --------- Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Co-authored-by: OrcaWin <alpha-eng@stably.ai> Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> Co-authored-by: BingZ <zzb@gxsmjx.com> Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com> |
||
|
|
7f38c5d004 |
refactor: group shared agent and skill contract owners (#42620)
* refactor: group shared agent and skill contract owners * chore: regenerate RPC catalog import ordering |
||
|
|
07073db317 |
test: remove 31 low-value suites from combined audit (#42666)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
7b5f3176f3 |
test: remove 287 low-value suites from combined audit (#42659)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
393ca7b0ba |
test: remove 78 low-value suites and trim redundant cases (#42621)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
d5a90c0da0 | refactor(shared): group host and runtime owners by domain (#42528) | ||
|
|
b46c08e3fa |
Show the current chat model and effort in the composer tooltip (#42278)
* fix: show chat model and effort in composer tooltip * fix: keep disabled model picker tooltip inspectable * fix: retain composer picker focus and tooltip description |
||
|
|
a103d4af08 |
test: remove 50 low-value suites (#42593)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
e11566199d |
test: remove 120 low-value suites (#42585)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
382ca9bc13 | test(e2e): follow current project admission menu (#42577) | ||
|
|
089887316f |
test: remove 79 low-value suites (#42564)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
8d3c92031f |
test: remove low-value cloud renderer main and e2e suites (#42560)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
552c71ef10 | fix(test): keep persisted session fixtures independent of Vitest (#42543) | ||
|
|
89668d8fc1 |
Remove finished-agent retention (#40774)
* Remove finished-agent retention and keep sleeping status with panes * Fix legacy pane projection and sleeping-agent regression fixtures * Cover sleeping display-only status in parked terminal coverage * Keep pane conversation identity only across continuous agent observations * Remove duplicate import and keep sleep fixtures type checked * Preserve conversation boundaries across replays and inherited clocks * Cover conversation map stability across a large status batch * Bound conversation capacity work to changed pane owners * Pass capacity classifiers their layout input directly * Finalize conversation provenance once per status batch * Keep paired snapshot tests focused on observable outcomes * Type the conversation provenance test fixtures explicitly * Consolidate agent session imports after main merge * Preserve provider replacement evidence when resetting conversation continuity * Separate retention deletion from sleeping agent display * Restore migration row bucket comparison * Skip unusable pane identities before title ownership lookups * Refresh conversation titles when their owning pane changes * Update completion test sound mock after module move * Update imports for main module moves * Remove an unreachable native chat owner comparison |
||
|
|
5ddac03e1b |
docs(e2e): correct terminal layout parity and workspace layout checker script paths (#42427)
The E2E agent guide linked the terminal layout parity runner and the workspace layout checker at their old config/scripts locations, so the link was broken and the inspection command failed with MODULE_NOT_FOUND. Point both at their current locations and update the checker's own usage comment to match. Fixes #42426 Co-authored-by: Neil <neil@stably.ai> |
||
|
|
9a5c859cdb |
test(e2e): update stale Settings selectors and Windows serve readiness poll (#41365)
* fix(e2e): repair stale selectors and readiness diagnostics * fix(e2e): follow menu-first host project admission * fix(e2e): dispatch touch tap edges without ack delay |
||
|
|
da8d128db4 |
feat(github): PR auto-refresh cadence setting to cap background PR/checks polling (STA-8667) (#40541)
* feat(github): add a PR auto-refresh cadence setting that caps background PR/checks polling (STA-8667) Timed PR, review and checks refreshes were hardcoded (1/2 min visible, 15 min no-review), with no way to slow them on a busy headless `orca serve` or a shared GitHub Enterprise Server. Adds `prAutoRefresh: default | reduced | minimal | off` (5x / 10x / no timed refresh). Selecting a workspace, pushing, returning to the window and manual refresh still read at once in every mode. - shared policy scales every timed interval from one process-wide cadence, set from settings in main (desktop and serve) and in the renderer - main re-plans queued visible follow-ups when the cadence changes - a paired server's cadence also caps clients' timed `github.prForBranch` reads (reuses the last answer for the same head) and stretches the hosted review branch cache TTLs, so more clients add no GitHub calls - CI-line watches slow to the minimal cadence instead of stopping when off - Settings > Git & Source Control gains a host-aware PR Auto-Refresh control * feat(github): make the PR Auto-Refresh control say how often it checks and whose host it changes (STA-8667) UX round UX-I1: the hint under the segmented control states the actual cadence for the selection, derived from the shared policy, and when a paired server is the Settings host the control says it applies to that host and every connected client. Adds a presentational PRAutoRefreshControl with fixtures and a component test. * fix(github): make the PR auto-refresh cadence per execution host and close the C1 polling gaps (STA-8667) Review round C1 on #40541 found seven places where the new cadence did not hold. This settles the contract as one cadence per execution host and fixes each gap with a regression test: - The renderer schedules each workspace by the cadence of the host that runs its GitHub reads: its own setting for local work, the paired host's setting (read on contact, on settingsChanged and from the Settings control) for that host's workspaces. A local Off no longer stops a remote Default and the reverse. Policy, timers and the checks panel re-plan on any cadence change. - github.prForBranch and github.prChecks: a paired client's timer reads carry reason swr/visible and the host answers them from its last read at its cadence; window return, screen open, manual refresh and changed-state reads carry foreground/noCache and always reach the provider. Mobile sends the same intent for its own timer. - Off stops ordinary failure retries (main coordinator, renderer scheduler, checks detail policy); CI-line watches keep retrying at Minimal. - Earlier-head CI watches follow the same watch cadence as the current head. - The paced PR cache identity includes acceptMergedFallbackPR. * fix(github): close the C2 PR auto-refresh gaps: checks cache freshness and scope, retry and settings-sync races, focus return under Off, mobile foreground reads (STA-8667) - github.prChecks: every successful full read (timed, foreground, manual, noCache) is recorded as the host's last answer with start-order protection, so a later timed client never gets an older result back; the paced key now carries the execution scope, review generation and resolved gh read scope like the provider read itself. - Renderer visible scheduler: a retry armed after a failure is dropped when the owning host's cadence becomes Off and re-timed when it is stretched, instead of firing once under the old cadence. - Remote host cadence sync: a settingsChanged (or regained contact) during an in-flight settings.get marks it dirty and triggers one trailing read; a slow answer never reverts a value the Settings control wrote or re-adds an unpaired host. - Checks panel: a focus-only window return (document never hidden) reads once under Off with the usual cooldown and in-flight guards, unless the checks are settled. - Settings: the remote PR Auto-Refresh control shows the one shared, subscribed copy of the host's setting, so another client's change is reflected while mounted and the displayed option can be chosen back. - Mobile: a branch read right after the app comes to the foreground is sent as foreground and bypasses the host's 30 s reuse of its own desktop lookup. Each new test fails without its fix. * fix(github): close the C3 PR auto-refresh gaps: queued main error retries on cadence change, window return under Reduced/Minimal, older paired host fallback (STA-8667) * perf(github): share and pace timed pull request reads on the host Reuse exact completed results for automatic refreshes, back off unchanged settled pull requests, and route server revalidation through the existing host budget while preserving foreground reads and older clients. Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com> * fix(github): preserve shared producer settlement and selected demand Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com> * test(github): cover paired receipt retries and watch fairness * test(github): explain shared fake-clock fixture * test(github): typecheck host and renderer integration together * test(github): name exported fixture mock types * Revert "test(github): typecheck host and renderer integration together" This reverts commit |
||
|
|
d4c4c466c4 |
refactor: organize browser guest, annotation, and chrome owners (#42478)
* refactor: group browser guest annotation and chrome owners * fix: preserve browser registry tests and source routing * fix: select convergence E2E for document address input |
||
|
|
c6fff7316a |
fix: restore browser metadata after guest recovery (#42494)
* fix: restore guest metadata after browser recovery * test: scope paired preview control tab cleanup |
||
|
|
238bdf09f6 |
Tidy native chat text typography (#42359)
* feat(chat): tidy native chat text typography Default chat text is 13px in the system UI font on 20px lines, with paragraphs and list items sharing one line height, bold set by weight in the body color, and the CI and opened pull request card headers at body size. Labels, icons and spacing keep their earlier sizes. * docs(chat): update the chat type scale; trim default-only typography tests |
||
|
|
45108ce7ea |
test: remove redundant Markdown and update Electron smoke suites (#42477)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
66f45dec3e |
test: remove low-value mobile and frozen baseline checks (#42422)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
43fbfd93cf |
refactor(mobile): group worktree modules by defining owner (#42406)
* refactor(mobile): group worktree modules by defining owner * refactor(mobile): use erased recording adapter type imports |
||
|
|
88a266e003 |
Make SQLite the source of truth for native chats (#39256)
* Retire projection adapter tests and use real SQL journal fixtures
* Persist bounded history detail and conversation outline projections
* Select rewind cuts by provider indexes and delete uniform rows as a set
* Cache bounded conversation outlines after reader projection
* Remove retired journal fold and message adapters
* Add the 4a main-vs-candidate native chat comparison harness
One entry (native-chat-4a-comparison.ts) seeds the 55k-history/310-chat
profile once through the seed arm, clones it per arm at a fixed path,
launches each built checkout in the background with an isolated home,
and drives the same stub provider events through the host RPC surface
both builds serve. Envelopes come from each arm's own source bundle.
Rows cover send/queue, 1/8/16 MiB streams with a competing send,
maintenance windows, open/reopen, history/detail, outline/fork,
rewind, record operations, R3 retained-history admission and, reported
separately, first-launch conversion (optional 20 GiB source). Output is
one JSON and one markdown table keyed by both head SHAs.
* Fail the 4a harness launch fast on a non-e2e build and stop the app it launched
* Shim tsx's __name in 4a harness pages and install the probe inside the guarded launch
* Read the native chat working flag from the 4a harness's visible root itself
* Retry transient main-process evaluates in the 4a harness host-work probe
* Use the history page's itemId in the 4a harness and name what a visible-state wait timed out on
* Activate 4a harness chat tabs through their tab group and seed enough smoke filler chats for the unopened-chat row
* WIP: migrate native chat tests to SQL journal readers
* Treat refusals carried inside a successful 4a harness RPC result as refusals
* Give the 4a stub's user echo the uuid its transcript row records
* Remove retired journal writer test machinery
* Chain the 4a stub's resumed transcript to the last message, past a fork copy's title row
* Fork the 4a harness's large chat through its latest response, not its latest prompt
* Port persisted chat tests to SQL fixtures (red WIP)
* Add the 4a main-vs-candidate native chat comparison harness
One entry (native-chat-4a-comparison.ts) seeds the 55k-history/310-chat
profile once through the seed arm, clones it per arm at a fixed path,
launches each built checkout in the background with an isolated home,
and drives the same stub provider events through the host RPC surface
both builds serve. Envelopes come from each arm's own source bundle.
Rows cover send/queue, 1/8/16 MiB streams with a competing send,
maintenance windows, open/reopen, history/detail, outline/fork,
rewind, record operations, R3 retained-history admission and, reported
separately, first-launch conversion (optional 20 GiB source). Output is
one JSON and one markdown table keyed by both head SHAs.
* Fail the 4a harness launch fast on a non-e2e build and stop the app it launched
* Shim tsx's __name in 4a harness pages and install the probe inside the guarded launch
* Read the native chat working flag from the 4a harness's visible root itself
* Retry transient main-process evaluates in the 4a harness host-work probe
* Use the history page's itemId in the 4a harness and name what a visible-state wait timed out on
* Activate 4a harness chat tabs through their tab group and seed enough smoke filler chats for the unopened-chat row
* Treat refusals carried inside a successful 4a harness RPC result as refusals
* Give the 4a stub's user echo the uuid its transcript row records
* Chain the 4a stub's resumed transcript to the last message, past a fork copy's title row
* Fork the 4a harness's large chat through its latest response, not its latest prompt
* Port ACP tests to SQL journal named reads
* Port Claude tests to SQL journal named reads
* Port Codex tests to SQL journals and drop the legacy row rollback test
* Port failure and persisted-read fixtures to the active chat database
* Remove obsolete internal-work counting from chat inventory tests
* test(native-chat): repair SQL epoch fixtures and sender closure case
* fix(native-chat): own async option preparation and port SQL runtime fixtures
* test(native-chat): encode the full founding identity
* fix(native-chat): recover saved live work on SQL open
* fix(native-chat): select retained image sources before history paging
* fix(native-chat): preserve catch-up authority and scoped journal teardown
* Cover the 4a conversion, history-shape and maintenance-debt cases through outside observation
Conversion: seed a medium chat (310 chats on the full profile) and refuse a
cached seed from another recipe. Observe the candidate's existing
epoch-installed ready boundary with a read-only poll of journal_chat_state.
An idle seed copy yields launch to every chat ready and the per-size
ready-mark intervals; the families copy verifies an unconverted first open and
waits for every chat ready before any steady-state family.
History/detail: the stub emits ordinary Claude subagent frames (interleaved
and sparse-root corpora) and a shapes turn (huge completed tool originals, one
above the detail reply cap, an oversized ordinary message). Each named shape is
verified through the real history/detail route before its samples count; diff
items stay explicit missing evidence because the Claude adapter writes none.
Maintenance: write and rewind large completed rows on a disposable seeded chat
under a held outside reader, then measure other-chat sends during the hold,
after release and while freed pages are reclaimed, from read-only page/WAL
state. Retired-epoch pruning is skipped unless such rows are observed.
* fix(native-chat): preserve stopped result disclosure and async fixture ownership
* Resolve lost-session warning identity at the journal writer
* Cover the 4a conversion, history-shape and maintenance-debt cases through outside observation
Conversion: seed a medium chat (310 chats on the full profile) and refuse a
cached seed from another recipe. Observe the candidate's existing
epoch-installed ready boundary with a read-only poll of journal_chat_state.
An idle seed copy yields launch to every chat ready and the per-size
ready-mark intervals; the families copy verifies an unconverted first open and
waits for every chat ready before any steady-state family.
History/detail: the stub emits ordinary Claude subagent frames (interleaved
and sparse-root corpora) and a shapes turn (huge completed tool originals, one
above the detail reply cap, an oversized ordinary message). Each named shape is
verified through the real history/detail route before its samples count; diff
items stay explicit missing evidence because the Claude adapter writes none.
Maintenance: write and rewind large completed rows on a disposable seeded chat
under a held outside reader, then measure other-chat sends during the hold,
after release and while freed pages are reclaimed, from read-only page/WAL
state. Retired-epoch pruning is skipped unless such rows are observed.
* Remove the retired ACP warning-reader fixture field
* Validate warning writer authority before duplicate selection
* Wake queued delivery when pending requests change
* Validate authority before all resolved item selection
* Use current chat test fixtures and name the handover journal owner
* Keep warning authority validation on the semantic selection branch
* test: lose unsaved ACP creations before a successful resume
* refactor: tighten SQL journal types and publication reads
* test: use SQL chat writers and async journal observations
* Replace casts and empty type imports in the 4a harness scripts with annotations and guards
Renderer times and tab ids from waitForFunction handles go through typeof
guards, the visibility probe is a declared Window global, the runtime call
keeps its own typed response, and cached manifests, Electron paths, profiles
and families are narrowed by guards. The empty `import type {}` blocks name
AppStore and use it. Three casts remain, each with a line-specific SAFETY:
the generic RPC result and Node's performance inside main-process callbacks.
* refactor: type handover owners and finite recovery snapshots
* Name the 4a arm's bundled envelope builders by their tracked source files
The protocol bundle imported from './src/shared/agent-session/...', a folder
the path-literal ratchet reads as an unresolved import. Each module is now a
tracked-file constant joined onto the arm's own checkout, the same form
runtime-file-watcher-resource-probe.mjs uses; the bundle and its exports are
unchanged.
* Replace casts and empty type imports in the 4a harness scripts with annotations and guards
Renderer times and tab ids from waitForFunction handles go through typeof
guards, the visibility probe is a declared Window global, the runtime call
keeps its own typed response, and cached manifests, Electron paths, profiles
and families are narrowed by guards. The empty `import type {}` blocks name
AppStore and use it. Three casts remain, each with a line-specific SAFETY:
the generic RPC result and Node's performance inside main-process callbacks.
* Name the 4a arm's bundled envelope builders by their tracked source files
The protocol bundle imported from './src/shared/agent-session/...', a folder
the path-literal ratchet reads as an unresolved import. Each module is now a
tracked-file constant joined onto the arm's own checkout, the same form
runtime-file-watcher-resource-probe.mjs uses; the bundle and its exports are
unchanged.
* Port cross-version wire tests to SQL journal reads
Hosts take the shared domain database, reads go through named async
journal reads and catch-up history pages, and released-build fixtures
type the release's own synchronous journal API.
* Align cross-version downgrade tests with one-way conversion
A downgraded build sees the chat and records as converted and its
later writes are not carried forward. Drop tests whose subject was
this build's legacy row and outcome writes; seed newer legacy rows
before the first conversion.
* Port cross-version wire tests to SQL journal reads
Hosts take the shared domain database, reads go through named async
journal reads and catch-up history pages, and released-build fixtures
type the release's own synchronous journal API.
* Align cross-version downgrade tests with one-way conversion
A downgraded build sees the chat and records as converted and its
later writes are not carried forward. Drop tests whose subject was
this build's legacy row and outcome writes; seed newer legacy rows
before the first conversion.
* test: open runtime fixtures with SQL journal workers
* test: combine runtime fixture imports
* test: prune resolved compatibility timeout finding
* test: use bundled SQL workers for runtime admission fixtures
* test: await SQL reader delivery and complete real rewind cuts
* test: include the medium chat in comparison profile metadata
* test: cover snapshot holds after replacement rollback and read failure
* test: keep clear history assertions on saved and rendered results
* Inject the deletion scenarios' record removal at the SQL record store's reads
The SQL record store has no transact or record-deletion command, so the
authoritative-deletion cases make the store's public record reads answer as
for a missing record and restore them before teardown. Assertions unchanged.
* Align cross-version fixtures with async SQL publication
Wait for frames that follow committed reads, await the async
completion feed, route the outline and item calls to their current
host methods, and expect the restart unreconciled latch on loaded
records.
* test: delete automation records with their command receipts
* Seed completed diff originals through the baseline writer and measure them
The 4a stub speaks Claude stream-json, whose adapter writes no diff items, so
completed diff originals were a skipped row. The seed now appends known
diffs once into its last filler chat through the seed arm's own original
journal writer, after that arm stops and before the seed is renamed or
copied, so every arm starts from the same rows and item IDs. Both arms verify
kind, original length, a short page head and the exact patch from detail
before timing the tail page and the detail read, and the conversion sweep
reports the diff chat apart from the small chats.
* Pin each 4a arm to a full SHA and prove its build came from it
Each --arm now names name=<checkout>@<full sha>. The harness refuses an arm whose HEAD
differs, whose product sources are dirty, whose renderer build-commit stamp is not that
HEAD, or whose sources changed after the build, and records that provenance in every
result. A cached seed from another seed-arm commit is refused, and report-only refuses to
mix results from different pins, seeds or recipes. Tables name full SHAs and disclose that
writer BEGIN-to-COMMIT spans are not observed.
* Establish restart recovery debt in the record writer
* Add active-chat resident memory comparison to 4a harness
* Commit complete provider dispatches and preserve Stop sources
* Coalesce pending publications across provider dispatches
* Capture CI watch actions at SQL writer publication
* Restore Claude task linkage in SQL acquisition facts
* Lift restarted queue holds through SQL admission
* Forward brief clear through Claude close
* Isolate SQL test worker lifetimes and prove fork durability
* Preserve saved queue order and recover restart custody on SQL open
* Keep saved queue contracts explicit and type fixtures accurately
* Run startup chat workspace conversion through its SQL owner
* Make journal command classifications exhaustive and remove unchecked casts
* Temporarily reverse quality cleanup to isolate translation regression
* Restore verified behavior-neutral journal quality cleanup
* Initialize real saved snapshot routes in Claude translation tests
* Repair native chat campaign readiness and contention measurements
* Measure fork contention under isolated retired history pressure
* Verify contention still targets a live stream at dispatch
* Run chat maintenance within the record-store lifetime
* Bound chat activity reads to work transitions
* test: adopt saved snapshots in direct Claude sinks
* Cover maintenance activity during registered starts
* test: initialize saved facts for Claude permission and resume fixtures
* test: await durable Claude resume and chain publications
* Complete provider dispatch identities in maintenance fixtures
* Preserve journal body admission and text close finality
* Scope optional permission backfill failure to its record change
* test: seed SQL reader fixtures through their owning contract
* test: assert saved Codex outcomes through SQL readers
* test: seed replay-budget withdrawals through command turns
* fix: refuse chat access on newer journal schemas
* test: migrate Claude echo wait; fails on known product finding
The retained Working assertion still fails after awaiting initial publication and accepted echo. The product finding is handed to the author.
* test: await SQL transcript and command publications
* test: migrate public rewind cursors and teardown warning scopes
* test: await child-work and status re-entry publications
* test: bind operation fixtures to SQL current-work reads
* test: establish recovery fixtures through owner restart reconciliation
* Keep child work owned across null status publications
* test: await subscriber and late-proof SQL observations
* test: resolve the profile transfer fixture from the repository root
* test: assert restart recovery capsules instead of internal call counts
* test: migrate Claude echo wait; fails on known product finding
The retained Working assertion still fails after awaiting initial publication and accepted echo. The product finding is handed to the author.
* test: await runtime session publications and final writer acknowledgement
* test: migrate coordinator mail SQL APIs; known product failures remain
* test: persist fork sources and use SQL RPC fixture contracts
* test: observe conversation publications in worker abandonment
* test: admit downgrade fixture owners through the SQL store
* test: await ordered attention prompt relay observations
* Keep status observer failures outside provider ingress
* Order provider facts before late delivery receipts
* test: submit replay fixture turns through the general writer command
* test: await durable worker delivery and lifecycle outcomes
* test: follow current provider ownership in coordinator mail
* fix(chat): settle mail custody from writer outcomes
* fix(perf): format retired fixture row count explicitly
* fix(chat): admit automatic worker close from current work
* Require live tool contention witness at send dispatch
* Await attention fixture updates and prune the fixed echo wait baseline
* Preserve the Pi startup exit verdict after recording process identity
* Check restored image deletion through the transcript view
* Adapt history pressure fixture and probes to current item storage
* Repair CI import paths and asynchronous lint findings
* Keep journal storage and projections acyclic
* Preserve proven startup facts across acquisition settlement
* Wait for the owning chat boundary in recovery and delivery tests
* Observe admitted delivery work in native chat fixtures
* Make native chat comparison measurements fail closed
* Isolate SQL worker fixtures across test files
* fix(sqlite): avoid retaining large bindings in cached statements
* perf(native-chat): reuse the captured queue publication
* test(orchestration): await refused mail settlement before recovery
* fix(orchestration): reconcile owned mail before consuming checks
* fix(orchestration): preserve each mail check response
* test(orchestration): diagnose surviving timers through public SQL reads
* perf(native-chat): place item metadata before large forms
* test(native-chat): require the octet-length column flag
* fix(native-chat): version persisted item presentations
* fix(native-chat): bound queued-image history admission
* test(orchestration): update shared mail source support
* fix(native-chat): preserve Stop transitions and admitted forms
* perf(native-chat): select the existing latest-turn index
* perf(native-chat): reuse history admission facts
* perf(native-chat): reuse shortened history wire forms
* perf(native-chat): batch bounded fork metadata reads
* fix(native-chat): synchronize CI fixtures and type mailbox receipts
* perf(native-chat): bound fork scratch presentation work
* test(native-chat): await subscriber catch-up completion
* fix(native-chat): retire readers after fork setup failure
* perf(native-chat): batch bounded fork metadata and output reads
* Reuse validated journal publication inputs on demand
* fix(chat): cancel reader requests on requested shutdown
* perf(native-chat): reuse narrow SQLite work reads
Read canonical current work and queue eligibility in one snapshot, and reuse validated work through the existing journal observation entry. Preserve full status publication, live authority validation, optional queue failures and final writer claims.
Frozen700 matches the reviewed 27-file source manifest and measured tree
|
||
|
|
c445f7dbc1 | refactor(mobile): group native chat modules by defining owner (#42388) | ||
|
|
8af94ff899 |
refactor(cli): group runtime modules by responsibility (#42378)
* refactor(cli): group runtime modules by responsibility * test(cli): retain QR privacy and mounted AppImage observations |
||
|
|
a14a19baf4 | refactor(plugins): group backend modules by defining owner (#42365) | ||
|
|
574cea7ee5 | refactor(native-chat): group transcript and input modules by owner (#42362) | ||
|
|
9bd6360e36 | refactor(sessions): group lifecycle and option modules by owner (#42353) | ||
|
|
09eb18d5c4 |
test: remove low-value onboarding, editor and plugin cases (#42344)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
d1c5b25d11 |
test: remove low-value permission and editor suites (#42341)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
856c91bba2 |
test: remove low-value native, extension, and editor suites (#42333)
* test: remove native policy and wrapper test suites * test: remove low-value extension and editor fixture suites --------- Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> |
||
|
|
c6ee2a7ad6 | refactor(projects): group project surfaces by feature owner (#42339) |