Repository navigation
Replace thinking orbs with SVG activity marks (desktop, iOS, Android) - #386
Conversation
…roid The thinking-orbs canvas animations redrew a projected 3D dot cloud every frame (rAF + full-canvas CSS filter on desktop Live, a 30 fps TimelineView Canvas on iOS, per-frame recomposition with O(n²) work on Android). They are replaced by small vector "activity marks" specified once in docs/activity-marks.md and drawn natively on each client: - Desktop: inline SVG + CSS keyframes on transform/opacity only (AidenActivityMark, AidenLiveMark, SubagentMark). thinking-orbs removed. - iOS: CAShapeLayers driven by CAKeyframeAnimation (render server, no main-thread frames). Vendored ThinkingOrbsKit and its notice removed. - Android: Compose Canvas whose frame clock is read only in the draw phase. Vendored thinkingorbs package removed. Marks: tri-step (thinking), quad-shuffle (tool work), compose (responding), scan-grid (searching/visualizing), glance (waiting on the user), bounce (preparing/loading/stopping/queued); Live uses the Helix family. Inactive, Reduced Motion and off-screen marks freeze on a visible t = 0 pose. No protocol change: every client derives its mark locally. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g-animations-263534 # Conflicts: # package.json
Hermes Review BotConfidence: 5 Engine: SummaryReplaces the Confidence Score: 5/5Fully traced geometry, timing formulas, and frozen poses across desktop (SVG/CSS), iOS (CoreAnimation), and Android (Compose Canvas), verified test registrations and script updates, and confirmed clean removal of former 📁 Important Files Changed
FindingsNo findings. 📊 Sequence DiagramUnchanged or not applicable for this change. Machine-Readable Findings[]
|
There was a problem hiding this comment.
Important
The desktop still poses regress when the in-app Reduce Motion preference is enabled. Please address that interaction before merging; a smaller Helix phase-parity issue is also noted inline.
Reviewed changes across desktop, iOS, and Android, including the author's merge of main into the PR branch.
- Vector Renderers: Replaces canvas orbs with SVG/CSS desktop marks, Core Animation iOS layers, and draw-phase Android marks, removing the dependency and vendored engines.
- Activity Mapping: Updates chat, remote-run, subagent, and Live indicators, including approval waits, terminal freezing, and microphone-driven Swell sizing.
- Shared Specification: Adds geometry/timing documentation and a preview gallery, updates onboarding copy and notices, and registers focused tests.
- Verification: Passed 94 focused desktop tests, 24 shipping-inventory/CI-registry tests, desktop type-checking, and the focused Android activity-mark suite. Chromium probes reproduced the inline findings using the real component and production CSS; iOS XCTest and native device visuals were not run on this Linux runner.
gpt-6.1-sol | 𝕏
…ases - Exclude .aiden-mark from the app-wide reduce-motion rule that collapses animations to 0.001ms/one iteration; marks already freeze via animation-play-state, and the collapse ended Compose, Scan and Helix on their last frame instead of the specified t = 0 pose. - Wrap every inline phase offset into (-period, 0] so tracks start mid-cycle like the native (t - d) mod D evaluators. Positive Helix depth delays and Bounce delays were startup waits that gave a different first cycle and frozen pose than iOS and Android. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Important
The phase wrapping and initial Reduce Motion poses are fixed, but the previously reported live-toggle behavior remains incomplete: enabling Reduce Motion while a mark runs freezes its current phase rather than restoring the specified t = 0 pose. No new issues were found in the incremental delta; this is not an approval because that existing concern remains.
Reviewed changes since the prior Pullfrog review at 5fb9f4973, focused on the desktop fixes in 4ad4418e1.
- Wrapped phase offsets. Normalized each inline delay against its own period, correcting Helix depth and Bounce startup phases to match the native modulo timing model.
- Preserved initial still poses. Excluded activity marks from the app-wide shortened-duration/single-iteration rule so initially paused Compose, Scan, and Calm retain their intended geometry.
- Extended phase coverage. Updated rendered-output tests to check non-positive phase offsets and documented the timing/cascade changes in project memory.
Verification passed: 95 focused desktop tests and npx tsc --noEmit. Chromium probes using the real component and complete production stylesheet confirmed the corrected initial poses, but toggling Reduce Motion during Glance's blink left its eyes frozen at scaleY ≈ 0.119 rather than 1; the evidence is recorded in the existing review thread, without duplicating the finding inline. Native source is unchanged in this delta, so native suites were not rerun.
Both prior threads were already marked resolved by the author. Reopening the partially addressed Reduce Motion thread failed with Resource not accessible by integration; its resolved GitHub state therefore does not reflect full resolution of the reported behavior.
gpt-6.1-sol | 𝕏
Pausing a running CSS animation holds whatever frame it was on, so turning Reduce Motion on (or a mark going inactive) mid-blink froze Glance at scaleY ≈ 0.1. Marks now rewind their tracks to time 0 whenever they freeze, re-checking on the app's appearance event and the system reduced-motion query, so they always land on the specified still pose, like iOS/Android. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes since the prior Pullfrog review at 4ad4418e1, focused on the freeze-transition fix in ae982e19e.
- Rewound frozen marks. Reset desktop animation tracks to their specified
t = 0pose when a mark becomes inactive or Reduce Motion is enabled. - Connected preference updates. Added appearance-event and system media-query listeners, with cleanup, while leaving normally running marks unchanged.
- Extended behavioral coverage. Added a unit test for inactive, reduced-motion, and running animation times.
Verification passed: 96 focused desktop tests and npx tsc --noEmit. Chromium checks using the mounted component and complete production stylesheet confirmed app/system Reduce Motion rewinding, Compose's active-to-inactive reset, and resumed playback after disabling Reduce Motion. The previously reported live-toggle concern is now resolved. Native code is unchanged in this delta, so native suites were not rerun; native device visuals remain an outstanding acceptance check. Hosted CI was still pending when inspected.
gpt-6.1-sol | 𝕏
…g-animations-263534 # Conflicts: # android/app/src/main/java/sbtbiswas/AidenOnTheGo/features/chat/AidenChatDetailScreen.kt
…g-animations-263534 # Conflicts: # package.json # renderer/components/subagent-chips.tsx # renderer/components/subagent-roster.tsx
…g-animations-263534 # Conflicts: # renderer/components/environment-panel.tsx
…g-animations-263534 # Conflicts: # package.json
AidenDiagnostics.testSink is process-wide, and other suites trigger the same contract rejections from async work that can complete while this test runs. On CI's parallel simulator clones that stray rejection was counted (3 != 2). Count only diagnostics emitted inside this test's task via a TaskLocal scope; the "exactly one diagnostic per rejection" assertion is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes since the last acknowledged head c885a77c7, focused on the iOS test-isolation fix in 9f856e096.
- Scoped diagnostic capture. Added a task-local identifier so the binary-contract test excludes diagnostics from unrelated asynchronous work.
- Preserved rejection coverage. Kept both invalid-response fixtures, expected errors, the exactly-two diagnostic assertion, and deferred cleanup unchanged.
Verified that both production rejection paths invoke the diagnostic sink synchronously in the scoped caller's task after their awaited requests. Swift syntax parsing passed, and the iOS shipping checks passed 14/14. Native XCTest could not run on this Linux runner because xcodebuild is unavailable; desktop and Android implementation are unchanged in this delta. Exact-head hosted CI was still running when inspected, so merge readiness remains contingent on its results.
gpt-6.1-sol | 𝕏

Summary
Replaces the
thinking-orbscanvas animations with small vector activity marks on all three clients. Geometry, timing and the phase mapping are specified once indocs/activity-marks.md. The set was picked from the gallery indocs/aiden-thinking-animations.html.Why: the orbs redrew a projected 3D dot cloud every frame. On desktop that was a
requestAnimationFramecanvas loop, plus a full-canvas CSS colour filter on the Live mark. On iOS it was a 30 fpsTimelineViewCanvas. On Android it was a recomposition every frame, with O(n²) work and per-frame allocation.tri-stepcomposequad-shufflescan-gridglancebounceglancefor approvalsPer platform
AidenActivityMark(inline SVG, CSS keyframes ontransform/opacityonly, per-shape phase as plain inlineanimation-delay).AgentActivity.markreplacesorbState.SubagentMarkandAidenLiveMarkreplaceSubagentOrbandAidenLiveOrb. Thethinking-orbsdependency and its notice are removed.Features/Shared/ActivityMarks/.CAShapeLayers are driven byCAKeyframeAnimation, so the render server animates them with no per-frame main-thread work. Marks respect system Reduce Motion, the in-app preference and Low Power Mode. VendoredThinkingOrbsKitand its license are removed.features/shared/activitymarks/. A ComposeCanvasreads its frame clock only in the draw phase, so there is no recomposition or allocation per frame. Marks useaidenReduceMotion(), which also honours the system animator scale. The vendoredthinkingorbspackage is removed.Cross-platform parity
Native ports were reviewed against the desktop implementation and fixed to match. Duplex strand b fades per circle; Helix · Flat composites its 45% once; Swell's second wave adds to the braid rather than scaling with depth; search tools match whole name segments; the swell level uses the same five steps.
Test plan
npm test(all lanes;renderer-other1972/1972). Newrenderer/components/aiden-activity-mark.test.tsxis registered inscripts/ci-test-registry.jsonand thetest:serial/test:coveragescripts.tsc --noEmit,eslinton touched filesxcodebuild test … -only-testing:AidenOnTheGoTests→ 653 passed, 6 skipped, 0 failed (newAidenActivityMarkTests11/11)node --test scripts/check-ios-shipping-target.test.mjs→ 14/14./gradlew :app:testDebugUnitTest :app:lintDebug :app:compileDebugAndroidTestKotlin→ BUILD SUCCESSFUL (newAidenActivityMarkSpecTest11/11)Flaky tests observed (unrelated to this PR)
Spec:
main/services/external-editors.test.ts› "Linux Zed aliases preserve PATH precedence, executable guards and literal workspace argv"Symptom:
SyntaxError: Unexpected end of JSON inputinassertLaunch(line 351) while parsing the fake launcher's output, during a localnode scripts/run-ci-tests.mjs --lane core-gitrun on merge commit f74f0ec (2798 passed, 1 failed). The file passed 3/3 when run alone, and neither this PR nor the merge touches it (last changed in feat(linux): bring desktop support up to date #71).Run link: local run, no hosted link. Not retried in CI and not papered over.
Spec:
tests/e2e/custom-model-options.spec.ts:232› "custom GLM effort selector persists and sends every supported thinking mode" (Electron E2E 1/3)Symptom:
locator.click: Timeout 30000ms exceededat line 309. The hover-expanded thinking-level radio collapsed (max-h-0 opacity-0, "element is not stable"/"not visible") while the click was retried, and the parent radiogroup intercepted pointer events. It passed on Playwright's retry, so--fail-on-flaky-testsfailed the job. This PR doesn't touch the composer thinking control (added in Add per-model effort settings for custom connections #384).Run link: https://github.com/sambitcreate/aiden-agent/actions/runs/37727986902/job/113154621878 (failed jobs rerun once, per AGENTS.md; that failed-only rerun ran no tests: it could not download
desktop-build-37727986902-2because the build job was not rerun, so the whole workflow was rerun instead)Spec:
tests/e2e/browser-lifecycle.spec.ts:107› "disabling agent access during file acquisition prevents a late browser tab" (Linux build x64 › deterministic Electron E2E gate)Symptom:
electronApplication.evaluate: Resulting promise was garbage collectedinside theexpect.poll(() => app.evaluate(...))at line 157. It passed on Playwright's retry (165 passed, 1 flaky, 4 skipped), so--fail-on-flaky-testsfailed the job. "Linux x64" and "Linux arm64" failed only because they require this build. This PR doesn't touch the browser lifecycle.Run link: https://github.com/sambitcreate/aiden-agent/actions/runs/37805110991/job/113407694206 (its single rerun is the fresh CI run on 9f856e0, pushed to fix the iOS test below)
Spec:
ios/AidenOnTheGoTests/AidenChatTests.swift›testCancelledOlderProgressObserverCannotClearNewerHandle(iOS build and simulator tests)Symptom:
Timed out waiting for progress SSE request (expected).fromwaitForProgressRequestCount, which polls for only 1 s (100 × 10 ms). 653/654 otherwise passed, and it passes locally. A sibling branch (feature/bot-ui-durable-sessions-2f4474, run 37805265233) failed a differentAidenChatTeststiming helper the same way, so this looks like CI-load timing in the chat progress tests rather than this PR. The timeout was not raised.Run link: https://github.com/sambitcreate/aiden-agent/actions/runs/37814967667/job/113441516575 (failed jobs rerun once)
iOS test isolation fix
AidenNativeIntegrationTests.testBinaryContractRejectionsEmitExactlyOneDiagnosticEachfailed on CI's parallel simulator clones withXCTAssertEqual failed: ("3") is not equal to ("2").AidenDiagnostics.testSinkis process-wide, and a contract rejection from another suite's leftover async work was counted. AddingAidenActivityMarkTestslikely changed how CI packs test classes onto clones. The test now counts only diagnostics emitted inside its own task (TaskLocalscope), with the same exactly-two assertion. Full iOS suite locally: 654 passed, 6 skipped, 0 failed.🤖 Generated with Claude Code