Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
314 commits
Select commit Hold shift + click to select a range
d018495
Merge remote-tracking branch 'origin/main' into W16AAPPLE-22-Handle-C…
ky7526 Oct 10, 2026
dd53b53
Settle messages parked offline once the connection is back, and test …
ky7526 Oct 10, 2026
70e1208
Document how each CONNECTED status is handled (W16AAPPLE-22)
ky7526 Oct 10, 2026
79b06be
Merge branch 'W16AAPPLE-22-Handle-CONNECTED-status-and-server_newer-m…
Oct 10, 2026
5284818
Resolve W16AAPPLE-13 "Exec"
Oct 10, 2026
dccfa59
Merge branch 'W16AAPPLE-13-EXEC' into 'main'
Oct 10, 2026
64e0469
resolving sparse connectivity issues regarding reconnection
Edwintang2005 Oct 10, 2026
50da772
Merge branch 'W16AAPPLE-90-clock-offset-and-reconnect' into 'main'
Oct 10, 2026
0cc5976
Added to diary
Oct 11, 2026
895d1f5
Merge main into branch
Oct 11, 2026
008969e
Added documentation for the OIP conformance checklist
Oct 11, 2026
2756ba9
Removed diary
Oct 11, 2026
69a3334
Merge branch 'W16AAPPLE-20-OIP-conformance-checklist' into 'main'
Oct 11, 2026
84e63a4
W16AAPPLE-26: test recovery from relay failure
Oct 11, 2026
9548af6
implemented & passing tests
Oct 11, 2026
5d83810
W16AAPPLE-26: fix RelayFailoverTest failing on slow CI runners
Oct 11, 2026
778f75f
Added tests to cover OIP frame serialization and parsing
Oct 11, 2026
a86286a
Added additional comment for clarity - shouldBeIgnored arg in Frame C…
Oct 11, 2026
cf991b6
added modes
Oct 11, 2026
eac317b
W16AAPPLE-26: replay a frame missed while the relay is down
Oct 11, 2026
d2601de
Merge branch 'W16AAPPLE-26-relay-failover' into 'main'
Oct 11, 2026
c54ee5f
Merge branch 'w16AAPPLE-18-Handle-SESSION_STATUS' into 'main'
Oct 11, 2026
f213057
W16AAPPLE-93: keep the relay's agent offline error out of the chat
Oct 11, 2026
fc5ca3f
W16AAPPLE-94: count an attempt that reached CONNECTED as connected
Oct 11, 2026
0c7548e
Merge branch 'W16AAPPLE-93-agent-offline-mid-reply' into 'main'
Oct 11, 2026
e1d7412
Merge branch 'W16AAPPLE-94-connect-verdict' into 'main'
Oct 11, 2026
36296c0
W16AAPPLE-25: test recovery from a dropped network
Oct 11, 2026
fa0f826
Merge branch 'W16AAPPLE-25-network-drop' into 'main'
Oct 11, 2026
4e54e05
Read a bare agent address from a QR code, and refuse a code that is n…
ky7526 Oct 11, 2026
6c917e4
Document which QR codes the scanner reads, and add AgentQrCodeTest to…
ky7526 Oct 11, 2026
fedb33e
W16AAPPLE-92 - Failed image and file messages should appear as a retr…
Oct 11, 2026
6e6ec0b
Merge branch 'W16APPLE-92' into 'main'
Oct 11, 2026
400efbe
Updated OIP frame unit tests
Oct 11, 2026
d138ef9
Fixed merge conflicts
Oct 11, 2026
a831d05
Added mode_budget_changed test fixture and frame type check
Oct 11, 2026
7c796f7
W16AAPPLE-95 - Failed messages were showing as sent after the app res…
Oct 11, 2026
3cf68f7
Merge branch 'W16AAPPLE-95' into 'main'
Oct 11, 2026
e16cf97
Merge remote-tracking branch 'origin/main' into W16AAPPLE-68-qr-connect
ky7526 Oct 11, 2026
7ea78c2
Merge branch 'W16AAPPLE-68-qr-connect' into 'main'
Oct 12, 2026
433fbf1
Fixed CI for gradle
Oct 12, 2026
4697ef3
Fixed linting error
Oct 12, 2026
89f3346
Merge branch 'W16AAPPLE-19-OIP-frame-tests' into 'main'
Oct 12, 2026
ce8d060
W16AAPPLE-96 - Held messages are lost if the app dies before they send
Oct 13, 2026
1341f8d
Merge branch 'W16AAPPLE-96' into 'main'
Oct 13, 2026
b639e7a
adding the bridge and the new frames for control centre and actions
Edwintang2005 Oct 14, 2026
cfc3450
resolving some bugs and adding more coverage tests
Edwintang2005 Oct 14, 2026
d65d40c
building the control centre screen side of the dashboard
Edwintang2005 Oct 14, 2026
76e134e
bug fixes regarding the frame causing app crashes
Edwintang2005 Oct 14, 2026
f2958c1
Test conversation restoration after process death
Oct 27, 2026
55219ae
adding missing test
Edwintang2005 Oct 27, 2026
63511d4
Merge branch 'W16AAPPLE-29-control-center-bridge' into 'main'
Oct 28, 2026
b0f6786
Added missing relaunch assertion
Oct 28, 2026
e0d5c34
Merge branch 'W16AAPPLE-23-persistence-verification' into 'main'
Oct 28, 2026
e079dd7
adding wrong version rejection
Edwintang2005 Oct 28, 2026
b203c34
resolving some slow pipeline issues
Edwintang2005 Oct 28, 2026
976b53d
Added tests for Dashboard webview
Oct 28, 2026
7c6e66e
Merge branch 'W16AAPPLE-73-connected-oip-check' into 'main'
Oct 28, 2026
f08eaae
Stabilise server transcript delivery test
Oct 28, 2026
50fe1e9
allowing stale session to fire and adding test for this behaviour
Edwintang2005 Oct 28, 2026
2f88c3f
Merge branch 'W16AAPPLE-28-sandbox-dashboard' into 'main'
Oct 29, 2026
4aacdae
Merge branch 'W16AAPPLE-75-dead-stale-session-fast-fail' into 'main'
Oct 29, 2026
082c9c3
adding tests for agent reconnect
Edwintang2005 Oct 29, 2026
c0a8dbc
bug fix for agent reconnects
Edwintang2005 Oct 29, 2026
7590084
Established wire contracts between client and host, added session syn…
Oct 29, 2026
c247f3a
Merge branch 'W16AAPPLE-84-fresh-session-retry' into 'main'
Oct 29, 2026
9366ad9
committing tests for already authenticated error
Edwintang2005 Oct 29, 2026
381d400
committing fix for agent connection
Edwintang2005 Oct 29, 2026
9717e62
Smoothed out WebView Transition
Oct 30, 2026
189d793
fixed lint issue
Oct 30, 2026
88aa740
Added SessionSyncClient to fetch the required session index
Oct 30, 2026
43a868e
if window is >= 600dp wide move the agents home beside the chat
ky7526 Oct 31, 2026
7b0b990
fixed swap race bug
Oct 31, 2026
2f83f15
adding test for clock behaviour resolving voice bug
Edwintang2005 Oct 31, 2026
8e61522
Add the chat-and-Home layout host and read the real window size
ky7526 Oct 31, 2026
f06a277
hide the back arrow and waiting bar on a home page beside chat
ky7526 Oct 31, 2026
839c1cb
enacted timing fix + updated docs
Edwintang2005 Oct 31, 2026
8defef9
Leave a Home screen of its own when the window has room for it beside…
ky7526 Oct 31, 2026
d105b3b
Added sync to recent chat on connect and reconnect
Oct 31, 2026
be5df86
Finalised syncing recent chat on connect and reconnect
Oct 31, 2026
9bbad26
Merged main into branch, fixed conflicts
Oct 31, 2026
d535624
W16AAPPLE-30 keep the Control Center app in sync with chat
Aurii-05 Oct 31, 2026
606709e
Verified synced conversations and isolated UI tests
Oct 31, 2026
b855ce5
amending bugs in clock
Edwintang2005 Oct 31, 2026
fdaac7b
W16AAPPLE-30 build the Control Center chat off the main thread
Aurii-05 Oct 31, 2026
cc747c7
W16AAPPLE-46 check the socket when returning to the app
Aurii-05 Oct 31, 2026
df35003
fixing stale messages and wasted request
Edwintang2005 Oct 31, 2026
37c8606
Merge branch 'W16AAPPLE-30-control-center-chat-sync' into 'main'
Oct 31, 2026
f0c3588
resolving merge conflicts
Edwintang2005 Oct 31, 2026
6e04f1f
removing accidentally committed file
Edwintang2005 Oct 31, 2026
f1a0ea5
Merge branch 'W16AAPPLE-91-account-sign-in-clock' into 'main'
Oct 31, 2026
cdcc9fe
Resolve Robolectric's framework jar through Gradle so CI never downlo…
Edwintang2005 Oct 31, 2026
5806bf6
fixing new pipeline errors
Edwintang2005 Oct 31, 2026
5d3851d
Merge branch 'ci-robolectric-offline-jar' into 'main'
Nov 1, 2026
a20b98e
Reverted to one WebView that reloads in place
Nov 1, 2026
145f81e
making panes
ky7526 Nov 1, 2026
0a0a0f5
Merge main into Render_DASHBOARD_SNAPSHOT
Nov 1, 2026
882e476
Remove a stray typo from Pane
ky7526 Nov 1, 2026
573fbc2
Show the agent's Home beside the chat on tablets and unfolded foldables
ky7526 Nov 1, 2026
1ab02f8
Document Home beside the chat and add it to the regression suite
ky7526 Nov 1, 2026
ebe9c4a
Merge remote-tracking branch 'origin/main' into W16AAPPLE-31-side-by-…
ky7526 Nov 1, 2026
b2bf60d
fixing Nothing bounds the wait for CONNECTED after onboarding on the …
Edwintang2005 Nov 1, 2026
0ba51f0
fixing test not running on windows
Edwintang2005 Nov 1, 2026
197e58b
merging in main
Edwintang2005 Nov 1, 2026
2b19181
Leave a full-screen Home by route name so a second leave cannot pop t…
ky7526 Nov 1, 2026
e025a5c
Merge branch 'W16AAPPLE-83-invite-already-authenticated' into 'main'
Nov 1, 2026
2ef6c76
W16AAPPLE-66: Two skills with the same name crash the composer when "…
Nov 1, 2026
3331db4
Merge branch 'W16AAPPLE-66' into 'main'
Nov 1, 2026
64407b5
test suite + fix for offline text box bug
Edwintang2005 Nov 1, 2026
2a9bab5
Merge remote-tracking branch 'origin/main' into W16AAPPLE-31-side-by-…
ky7526 Nov 1, 2026
58bda21
Remove diary.txt from this branch
ky7526 Nov 1, 2026
4225f21
Resolve W16AAPPLE-65 - Clean relay directory skills like AGENT_PROFIL…
Nov 1, 2026
c58193d
Merge branch 'W16AAPPLE-65' into 'main'
Nov 1, 2026
2be37ad
merging main
Edwintang2005 Nov 1, 2026
470f10d
implementing fixes for cancel and amending tests
Edwintang2005 Nov 1, 2026
57fd9b3
Merge branch 'W16AAPPLE-31-side-by-side-layout' into 'main'
Nov 1, 2026
09387c6
Merge main into Render_DASHBOARD_SNAPSHOT
Nov 1, 2026
c288e09
resolved merge conflicts
Nov 1, 2026
50cdfc1
Merge branch 'Render_DASHBOARD_SNAPSHOT' into 'main'
Nov 1, 2026
00efb0b
Merge branch 'W16AAPPLE-102-offline-composer' into 'main'
Nov 1, 2026
107b729
say 'Recording too short' instead of silently dropping a sub-second r…
Edwintang2005 Nov 1, 2026
1d0f706
Fixed reviewer bugs
Nov 1, 2026
c96c990
Merge remote-tracking branch 'origin/main' into W16AAPPLE-70-sync-chat
Nov 1, 2026
fd1b9f9
Merged main into branch, fixed bugs
Nov 1, 2026
95c3795
updating documentation
Edwintang2005 Nov 2, 2026
3fd3618
Merge branch 'W16AAPPLE-103-short-recording-notice' into 'main'
Nov 2, 2026
046d45f
W16AAPLE-42: host permission ceiling control updates
Nov 2, 2026
81031d5
Merge branch 'W16AAPPLE-42' into 'main'
Nov 2, 2026
ee6ebe5
merging main
Aurii-05 Nov 2, 2026
3c1e95a
W16AAPPLE-46 keep the socket check off the status line
Aurii-05 Nov 2, 2026
400b6d2
Merge branch 'W16AAPPLE-46-resume-on-return' into 'main'
Nov 2, 2026
e313c7a
W16AAPPLE-53 regression suite phase 2
Aurii-05 Nov 2, 2026
28c8202
W16AAPPLE-71 agent discovery only shows skills with access
Nov 2, 2026
8fae6c3
Merge branch 'W16AAPPLE-71' into 'main'
Nov 2, 2026
fb59863
Implemented bug fixes
Nov 2, 2026
f18de5a
Merge remote-tracking branch 'origin/main' into W16AAPPLE-70-sync-chat
Nov 2, 2026
3dba669
Added connect logic and fallbacks, added regression tests for disable…
Nov 2, 2026
4e90443
Merge branch 'W16AAPPLE-70-sync-chat' into 'main'
Nov 2, 2026
1f06f9b
Start fresh server sessions when memory is disabled
Nov 2, 2026
a7a2be1
Merged in main with no conflicts
Nov 2, 2026
b462762
W16AAPPLE-97 Derive the identity from the recovery phrase with SLIP-0010
Nov 2, 2026
70769e2
Resolve W16AAPPLE-105 "Side by side wiring tests"
Nov 2, 2026
c46583d
Merge branch 'W16AAPPLE-105-side-by-side-wiring-tests' into 'main'
Nov 2, 2026
58157f2
W16AAPPLE-53 review fixes
Aurii-05 Nov 3, 2026
ea8c9be
W16AAPPLE-107 name the request an answer is for
Aurii-05 Nov 2, 2026
dfd2bb7
W16AAPPLE-107 review fixes
Aurii-05 Nov 3, 2026
cca3acd
merging main
Aurii-05 Nov 3, 2026
3a1f7e1
Resolve W16AAPPLE-32 "Tabbed control center"
Nov 3, 2026
ff8f3c2
Merge branch 'W16AAPPLE-32-tabbed-control-center' into 'main'
Nov 3, 2026
5781117
W16AAPPLE-109: compile and run unit tests in separate Gradle invocations
Aurii-05 Nov 3, 2026
d8c3147
W16AAPPLE-69: REM notebook view
Nov 3, 2026
a2a7087
Merge branch 'W16AAPPLE-69' into 'main'
Nov 3, 2026
1db0adb
Merge branch 'W16AAPPLE-109-ci-unit-test-memory' into 'main'
Nov 3, 2026
bc86db3
merging main
Aurii-05 Nov 3, 2026
4530c9d
Merge branch 'W16AAPPLE-53-regression-phase-2' into W16AAPPLE-107-ans…
Aurii-05 Nov 3, 2026
7d8e9df
W16AAPPLE-56 Honour the saved connectionMode when connecting
Nov 3, 2026
a48e4c3
Merge branch 'W16AAPPLE-53-regression-phase-2' into 'main'
Nov 3, 2026
f176dba
Merge remote-tracking branch 'origin/main' into W16AAPPLE-97-slip10-d…
Nov 3, 2026
e4b55ea
Merge branch 'W16AAPPLE-107-answer-request-id' into 'main'
Nov 3, 2026
dd4732c
W16AAPPLE-77 resume the agent the chat last connected to
Aurii-05 Nov 3, 2026
c7b455e
W16AAPPLE-97 Review fixes for SLIP-0010 derivation
Nov 3, 2026
636a25e
W16AAPPLE-97 Order SettingsViewModelTest imports for ktlint
Nov 3, 2026
9326893
W16AAPPLE-77 review fixes
Aurii-05 Nov 3, 2026
7db400a
W16AAPPLE-77 keep the dialled server on reconnect
Aurii-05 Nov 3, 2026
8a696aa
Merge branch 'W16AAPPLE-77-resume-last-agent' into 'main'
Nov 3, 2026
88a704b
Merge branch 'W16AAPPLE-97-slip10-derivation' into 'main'
Nov 3, 2026
3ded00b
W16AAPPLE-108: reconnect automatically when the host loses the connec…
Nov 3, 2026
eb933d7
Merge branch 'W16AAPPLE-108' into 'main'
Nov 3, 2026
e523ec7
Resolve W16AAPPLE-48 "Talkback labels"
Nov 3, 2026
09ff4b7
Merge branch 'W16AAPPLE-48-talkback-labels' into 'main'
Nov 3, 2026
59f7364
W16AAPPLE-67: fixed german locale bug with amount
Nov 3, 2026
c988130
Merge branch 'W16AAPPLE-67' into 'main'
Nov 3, 2026
8a099c2
Fixed bugs
Nov 3, 2026
b856806
Refresh recent chats on agent selection
Nov 3, 2026
e4c7e87
Revert "Refresh recent chats on agent selection"
Nov 3, 2026
1b818d5
Refresh recent chats on agent selection
Nov 3, 2026
6f00d60
Merge branch 'main' into 'W16AAPPLE-70-sync-chat'
Nov 3, 2026
39f3d8c
Resolve W16AAPPLE-49 "Design system"
Nov 3, 2026
da91863
Merge branch 'W16AAPPLE-49-design-system' into 'main'
Nov 3, 2026
0289cab
Added bug fixes, changed sync to be automatic
Nov 3, 2026
3350525
Conclude merge and include fixes
Nov 3, 2026
18d4dfb
Implemented sync fixes
Nov 3, 2026
c6295bb
Merge branch 'W16AAPPLE-70-sync-chat' into 'main'
Nov 4, 2026
0637c57
merging main into branch
Edwintang2005 Nov 4, 2026
b72b5a2
resolving lint error and updating documentation
Edwintang2005 Nov 4, 2026
256b3f9
bug fixes
Edwintang2005 Nov 4, 2026
3f15a6a
fixing flaky test
Edwintang2005 Nov 4, 2026
86bedff
Merge branch 'W16AAPPLE-56-honour-connection-mode' into 'main'
Nov 4, 2026
18e7588
addded tests for workroom behaviour
Edwintang2005 Nov 4, 2026
6073b89
more tests + data model and frame parsing
Edwintang2005 Nov 5, 2026
c4e673f
building savings and lifecycle
Edwintang2005 Nov 5, 2026
7b99742
screens and navigations
Edwintang2005 Nov 5, 2026
a0ba930
review fixes
Edwintang2005 Nov 5, 2026
05c2442
Merge branch 'W16AAPPLE-33-open-work-room' into 'main'
Nov 5, 2026
47fdd2d
Merge main into W16AAPPLE-85-conversation-with-memory-off
Nov 5, 2026
ce4b9ab
data and wire
Edwintang2005 Nov 6, 2026
3fb3434
data plumbing
Edwintang2005 Nov 6, 2026
bad3026
adding the logic
Edwintang2005 Nov 6, 2026
3064d7b
building UI and finishing feature with tests
Edwintang2005 Nov 7, 2026
655d288
Fixed memory-off delivery and sync persistence
Nov 7, 2026
14a91ad
Merge branch 'W16AAPPLE-35-work-room-input' into 'main'
Nov 7, 2026
0548a7a
created fix for transcript delivery getting lost + tests
Edwintang2005 Nov 7, 2026
591c64e
Resolve W16AAPPLE-50: Never show credentials, private paths or raw pr…
Nov 8, 2026
e2eb4eb
Merge branch 'W16AAPPLE-50' into 'main'
Nov 8, 2026
f84e75d
review fixes
Edwintang2005 Nov 8, 2026
024fb9a
Merge branch 'W16AAPPLE-104-transcript-redelivery' into 'main'
Nov 8, 2026
d3d7d9f
W16AAPPLE-54, W16AAPPLE-55: dial direct wss:// and trailing-slash ser…
Edwintang2005 Nov 8, 2026
5348a44
resolving duplicated logic
Edwintang2005 Nov 8, 2026
8475651
W16AAPPLE-118: dial a direct server URL that already ends in /ws as is
Aurii-05 Nov 8, 2026
13351cc
W16AAPPLE-36: approve or deny provider approvals in the Work Room
Aurii-05 Nov 8, 2026
1f6fdb9
Merge branch 'W16AAPPLE-118-direct-url-ws-suffix' into 'W16AAPPLE-54-…
Nov 8, 2026
d887f85
W16AAPPLE-36: document Work Room approvals and add them to the regres…
Aurii-05 Nov 8, 2026
90eb344
Merge branch 'W16AAPPLE-54-55-direct-server-url' into 'main'
Nov 8, 2026
a227a0a
tests for new qr onboarding flow
Edwintang2005 Nov 8, 2026
03a7ee6
W16AAPPLE-119: require Java 17+ in the local Android setup
Aurii-05 Nov 8, 2026
1ad0040
Merge branch 'W16AAPPLE-85-conversation-with-memory-off' into 'main'
Nov 8, 2026
669ae75
adding the code and docs for qr display
Edwintang2005 Nov 8, 2026
a9f4de5
W16AAPPLE-36: add Work Room approval screenshots to the user guide
Aurii-05 Nov 8, 2026
e0e41b8
Merge branch 'W16AAPPLE-36-work-room-approvals' into 'main'
Nov 8, 2026
6f8d584
W16AAPPLE-119: check the Java sdkmanager runs, before asking to proceed
Aurii-05 Nov 8, 2026
d96b5b3
Added session switch barrior and more coverage for conversation identity
Nov 9, 2026
af3e7b5
W16AAPPLE-39: preserve Work Room viewport across navigation
Nov 9, 2026
3cf2487
W16AAPPLE-39: simplify Work Room comments
Nov 9, 2026
0fea4b8
W16AAPPLE-39: preserve chat viewport across navigation
Nov 9, 2026
bdfde61
Resolved merge conflicts
Nov 9, 2026
e1d2748
Merge branch 'W16AAPPLE-119-setup-needs-java' into 'main'
Nov 10, 2026
a39db9e
Chat persistence and clearing
Nov 10, 2026
396427f
writing tests for link behaviour
Edwintang2005 Nov 10, 2026
13cc9b5
W16AAPPLE-44: push notifications when waiting for approval
Nov 10, 2026
ec3eb16
Merge branch 'W16AAPPLE-44' into 'main'
Nov 10, 2026
05d4706
Implemented review fiex
Nov 10, 2026
13a0b2e
Merged in main
Nov 10, 2026
64aecfa
Fixed klint error
Nov 10, 2026
61e0c1e
merge request fixes
Edwintang2005 Nov 10, 2026
97f97b1
actioning review fixes + updating screenshots
Edwintang2005 Nov 10, 2026
e7ee8b1
Applied review fixes
Nov 11, 2026
d31ff8e
Resolved merge conflicts and added tests
Nov 11, 2026
19733a5
Resolve W16AAPPLE-78 "Deep link domain"
Nov 11, 2026
42d1f18
Merge branch 'W16AAPPLE-78-deep-link-domain' into 'main'
Nov 11, 2026
4a9edf5
adding missing tests
Edwintang2005 Nov 11, 2026
fc7035a
Merge branch 'W16AAPPLE-111-qr-straight-to-invite' into 'main'
Nov 11, 2026
b57daa2
merge main into branch
Edwintang2005 Nov 11, 2026
632e48b
Merge branch 'W16AAPPLE-98-direct-agent-address' into 'main'
Nov 11, 2026
34e2ce4
Merge branch 'W16AAPPLE-89-conversation-switch-filing' into 'main'
Nov 11, 2026
f26270e
Merge branch 'W16AAPPLE-39-switch-between-agent-and-workroom' into 'm…
Nov 11, 2026
0496503
removed unused field and related code
Nov 11, 2026
9ef7676
Merged main into branch
Nov 11, 2026
019639d
Fixed review comments
Nov 11, 2026
4ee36b3
Resolve W16AAPPLE-34 "Provider messages artifacts"
Nov 12, 2026
e7ca6c5
Merge branch 'W16AAPPLE-34-provider-messages-artifacts' into 'main'
Nov 12, 2026
b70c5a1
Merge branch 'W16AAPPLE-99-remove-api-field' into 'main'
Nov 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Thumbs.db
.claude-flow/
CLAUDE.md

# ConnectOnion Host trust files. `co trust admin add` writes these into the directory it is run in,
# and they name who may administer a Host, so they are never committed.
.co/

# Environment
.env
.env.*
Expand Down Expand Up @@ -77,6 +81,7 @@ out/
release/
.gradle/
.gradle-cache/
.kotlin/
.android-home/
local.properties
proguard/
Expand Down
195 changes: 195 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
# GitLab CI for the team's copy of this repository.
#
# Runs the same checks as .github/workflows/build.yml, plus the doc-link check.
# Nothing ran on GitLab before this file existed.
#
# Jobs run on CSE's shared runner fleet: a Docker executor on 2 vCPU / 4 GB
# machines with no swap and no KVM. The runner kills any job after 10 minutes,
# whatever `timeout` a job asks for, and that time includes pulling the image:
# a fresh machine took 2 to 9 minutes to pull the 1.1 GB Android image. So:
# - Instrumented tests (app/src/androidTest) cannot run here - an emulator
# needs KVM - so they are compiled but not executed, as on GitHub.
# - Gradle is resized to fit 4 GB (see before_script). gradle.properties is
# sized for GitHub's 7 GB runners; on these machines it let three JVMs claim
# more memory than exists, and the first pipeline froze mid-build.
#
# Screenshot baselines are not verified, for the same reason as on GitHub: the
# committed Roborazzi baselines are stale (see the README).

# Ubuntu 24.04 with JDK 21 and the API 36 platform, licences accepted. The
# build targets Java 17 bytecode, so a newer JDK runs it fine.
# Pinned by tag; pin by digest instead if a moving tag ever breaks the build.
image: ghcr.io/cirruslabs/android-sdk:36

variables:
# Inside the project directory, so the cache below can keep it between jobs.
GRADLE_USER_HOME: "$CI_PROJECT_DIR/.gradle-home"
# One build per job: a daemon would outlive the job and hold its memory.
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
GIT_DEPTH: "20"

# Runs for merge requests and for main, nothing else: a push to a branch with
# no merge request (a work in progress, a diary) starts no pipeline.
#
# Only main writes the Gradle cache (see .gradle-cache). A merge request reads
# it, so it starts warm without paying for an upload on every push.
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
variables:
CACHE_POLICY: pull
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables:
CACHE_POLICY: pull-push

stages:
- check
- test
- build

# Gradle's dependency cache, about 27,000 files. Every Gradle job reads it, but
# only unit-tests writes it, and only on main: zipping and uploading it took
# about a minute, and four jobs used to do it on every push.
#
# unprotect: main is a protected branch and merge request refs are not, and
# GitLab keeps those caches apart by default, so a merge request would never
# see main's. Merge requests only read it, so they cannot change what main uses.
.gradle-cache: &gradle-cache
# Keyed on the Gradle version only, not the build scripts. A merge request
# cannot write the cache, so with the scripts in the key any MR that edits
# one (adding a test to the regression suite, say) found no cache at all,
# downloaded every dependency and ran out of time. A cache that is a few
# dependencies behind costs only those downloads. Main rewrites it on every
# pipeline, and Gradle deletes entries unused for 30 days, so it does not
# grow without bound.
key:
files:
- gradle/wrapper/gradle-wrapper.properties
paths:
- .gradle-home/caches/
- .gradle-home/wrapper/
unprotect: true
policy: pull

default:
# A newer push supersedes a running pipeline instead of queueing behind it.
interruptible: true
# Re-run a job the runner killed or lost, not one that failed. A retry usually
# lands on a machine that already has the image, which is why re-running by
# hand used to work.
retry:
max: 2
when:
- job_execution_timeout
- runner_system_failure
- stuck_or_timeout_failure
before_script:
- chmod +x gradlew
# Overrides gradle.properties for CI only: Gradle home settings win over the
# project's. 1.5 GB for Gradle, Kotlin compiled inside that JVM rather than
# in a second daemon, at most two workers.
- mkdir -p "$GRADLE_USER_HOME/init.d"
- |
cat > "$GRADLE_USER_HOME/gradle.properties" <<'EOF'
org.gradle.jvmargs=-Xmx1536m -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8
kotlin.compiler.execution.strategy=in-process
org.gradle.workers.max=2
EOF
# Caps the test JVM and prints each test class as it finishes.
- cp .gitlab/ci.init.gradle.kts "$GRADLE_USER_HOME/init.d/"
# Every finished transform workspace in the Gradle cache has a metadata.bin.
# One restored without it (a cache saved by a failed main run had one)
# fails the build with "Could not read workspace metadata" on every job
# until main's cache is rewritten. Dropping it costs one transform rerun.
- |
find "$GRADLE_USER_HOME"/caches/*/transforms -mindepth 1 -maxdepth 1 -type d \
! -exec test -s '{}/metadata.bin' ';' -print -exec rm -rf '{}' + 2>/dev/null || true
# A machine that runs out of memory freezes without a word, so log what is
# left every 30 seconds; the last line before a stall says why.
- echo "[machine] $(nproc) CPUs, $(awk '/MemTotal/ {print int($2/1024)}' /proc/meminfo) MB RAM"
- (while sleep 30; do echo "[memory] $(awk '/MemAvailable/ {print int($2/1024)}' /proc/meminfo) MB available"; done) &
cache: *gradle-cache

ktlint:
stage: check
script:
- ./gradlew :app:ktlintCheck

doc-links:
stage: check
# Plain Python over `git ls-files`; needs neither Gradle nor its cache, nor
# the Android image, which a fresh machine took up to 9 minutes to pull. The
# official Python image, from AWS's public mirror of Docker Hub, which the
# fleet's region reaches quickly and which has no anonymous pull limit.
image: public.ecr.aws/docker/library/python:3.12-alpine
cache: []
before_script:
- apk add --no-cache git
script:
- python3 tools/check-doc-links.py

unit-tests:
stage: test
# The one job that writes the cache, on main only (CACHE_POLICY, above). It
# resolves the most dependencies: the app's and its tests'. Saved even when
# the job fails or times out, so a cold main run still leaves what it
# downloaded for the next one instead of nothing.
cache:
<<: *gradle-cache
policy: $CACHE_POLICY
when: always
script:
# Compile and test in two invocations. In one, the Gradle JVM still holds
# what it used to compile (about 2.6 GB) while the test JVM runs (about
# 1.4 GB), more than the machine's 3.8 GB: memory ran out a minute into the
# tests, and the job either thrashed until the runner killed it or starved
# timing-sensitive tests until they failed. With no daemon, the second
# invocation is a fresh JVM that only has to run the test task, so it gets a
# small heap; the test phase peaks at about 2 GB.
- ./gradlew :app:compileDebugUnitTestKotlin
- ./gradlew -Dorg.gradle.jvmargs="-Xmx768m -XX:MaxMetaspaceSize=384m -XX:+UseSerialGC -Dfile.encoding=UTF-8" :app:testDebugUnitTest
# testDebugUnitTest and the Roborazzi tasks reconfigure the same Gradle
# task with a screenshot-only filter; run in one invocation, the filter wins
# and most of the suite silently never runs. Same guard as GitHub's.
- |
threshold=800
count=$(grep -rho 'tests="[0-9]*"' app/build/test-results/testDebugUnitTest/*.xml \
| grep -o '[0-9]*' | awk '{s+=$1} END {print s+0}')
echo "Unit tests executed: $count (floor: $threshold)"
if [ "$count" -lt "$threshold" ]; then
echo "Only $count unit tests executed, expected at least $threshold - see the comment above this check."
exit 1
fi
# Known issues are reported as skipped, which a green pipeline hides; list
# them so every run shows what is still open (docs/regression-suite.md).
# Each reason ends "(ExceptionClass: message)"; only that tail is dropped,
# since the descriptions have parentheses of their own.
- |
issues=$(grep -rhoE 'KNOWN ISSUE: .*' app/build/test-results/testDebugUnitTest/*.xml \
| sed -E 's/ \([A-Za-z]+: .*$//' | sort -u || true)
echo "Known issues still open:"
echo "${issues:- none}"
# Only the JUnit XML (about 100 KB), which GitLab turns into the merge
# request's test summary: which tests failed and why. The HTML test report and
# JaCoCo coverage (about 950 files) are not uploaded; this pipeline checks that
# the app builds and its tests pass. Both still build locally (README).
artifacts:
when: always
expire_in: 1 week
reports:
junit: app/build/test-results/testDebugUnitTest/*.xml

instrumented-tests-compile:
stage: test
script:
- ./gradlew :app:compileDebugAndroidTestKotlin

assemble-debug:
stage: build
# Not gated on the tests, as on GitHub: a broken build should say so at once.
# Unlike GitHub's, this job keeps no APK: the 26 MB debug APK is over CSE
# GitLab's artifact size limit (the upload fails with 413). It proves the app
# builds; build the APK locally to install it.
needs: []
script:
- ./gradlew :app:assembleDebug
33 changes: 33 additions & 0 deletions .gitlab/ci.init.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Gradle init script for GitLab CI only - .gitlab-ci.yml copies it into
// GRADLE_USER_HOME/init.d, so local builds never see it.
//
// The runners are 2 vCPU / 4 GB machines with no swap. Left alone, the test JVM
// sizes its heap from the machine, and a test task that prints nothing until it
// ends looks exactly like one that has hung. So: cap the heap explicitly, and
// report each test class as it finishes.
allprojects {
tasks.withType<Test>().configureEach {
maxHeapSize = "1g"

addTestListener(object : TestListener {
private var classStarted = System.currentTimeMillis()

override fun beforeSuite(suite: TestDescriptor) {
if (suite.className != null) classStarted = System.currentTimeMillis()
}

override fun afterSuite(suite: TestDescriptor, result: TestResult) {
val className = suite.className ?: return
val seconds = (System.currentTimeMillis() - classStarted) / 1000
println(
"[tests] ${className.substringAfterLast('.')}: ${result.testCount} run, " +
"${result.failedTestCount} failed, ${result.skippedTestCount} skipped (${seconds}s)"
)
}

override fun beforeTest(testDescriptor: TestDescriptor) {}

override fun afterTest(testDescriptor: TestDescriptor, result: TestResult) {}
})
}
}
23 changes: 14 additions & 9 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,8 @@ have your own key. See §4.
## 4. Configuration and secrets

**Nothing to configure before building.** No secret is compiled into the APK
and there is no file to fill in. What is configurable — the relay, the agent,
an optional per-agent API key — the user sets inside the running app, and it
is kept in encrypted storage on the device.
and there is no file to fill in. The relay and agent settings are entered inside
the running app and kept in encrypted storage on the device.

| Item | Status |
|---|---|
Expand All @@ -192,7 +191,13 @@ Everything configurable is set **inside the app**:
|---|---|---|
| Relay / server URL | Onboarding, or the agent form | `https://oo.openonion.ai` |
| Direct connection | Mode toggle on the same panel | off (relay) |
| API key (optional) | Agent form | empty — stored in `EncryptedSharedPreferences`, excluded from cloud backup and device transfer, and never sent anywhere but the agent it belongs to |

The former per-agent API key field has been removed. Legacy stored values remain
only for compatibility and are ignored by connection logic. Connection
authentication uses the device's Ed25519 signature on CONNECT, and an
invite-gated agent uses an invite code or payment (`docs/protocol.md`). The
account API key used by voice transcription is a separate credential
(`docs/protocol.md`, voice input).

---

Expand Down Expand Up @@ -221,11 +226,11 @@ if a card asks for an invite code, the code is `OpenOnion`.

Two things that are working as intended and can read as faults:

- **The `/` command palette stays empty on both.** It lists the skills an agent
publishes to the relay's directory, fetched from `/api/agents/<address>` on
connect. Both of these agents publish an empty `skills` list — verified
against the live directory on 2026-08-09 — so there is nothing for the palette
to show. An agent that publishes skills will populate it.
- **The `/` command palette stays empty on both.** It lists the skills the
agent's Host sends in `AGENT_PROFILE` once it has let you in, never the
relay's public directory. Both of these agents have an empty `skills` list —
verified against the live directory on 2026-08-09 — so there is nothing for
the palette to show. An agent with skills will populate it once you are in.
- **Dictation may pause for a couple of seconds the first time**, showing
"Preparing…". On a device with no usable speech recogniser the app spends that
window proving the recogniser is dead before falling back to server
Expand Down
Loading