Skip to content

Latest commit

 

History

History
482 lines (455 loc) · 80.3 KB

ROADMAP.md

File metadata and controls

482 lines (455 loc) · 80.3 KB

Hermes-Android Roadmap

Maintenance-focused Android wrapper for Hermes Web UI. The core wrapper is good as-is; product UI and workflow changes belong in Hermes WebUI.

Last updated: 2026-11-15


Status snapshot

  • [~] Notification consolidation (#208): one shared entry for the visible-app Settings shortcut, active WebUI monitoring/reconnect work and latest browser message. No idle shortcut remains after the activity stops. Reply-eligible WebUI alerts use a compact Settings cogwheel; other states retain the text label. Pending approvals take precedence, service teardown preserves the latest message, and stale dismissals/reply results cannot erase a newer alert. A dedicated Notifications section links to Android's notification controls. Official Webapp direct reply, persistent native chat history and combining update/debug notifications are not included. Local verification passes 47 API 35 instrumentation cases, JVM tests, lint, debug build, 121 tooling tests and Markdown checks. Deliberate lifecycle, dismissal, approval-priority, teardown, action-label, tap-route, passive-repost and Settings-target mutations failed before source restoration. Independent review identified process-restart retention, unavailable reply feedback, stale tap identity and hidden terminal-result gaps; fixes and regression checks are included. Alerts received during approval intentionally remain read-only until reopened, because idle-session eligibility is no longer proven. Final review and PR CI are pending; release, live authenticated conversation and physical/OEM acceptance are not claimed. PR #209's first full API 35 run exposed a cold-start Settings fixture querying semantics before any Compose root existed (228 total cases, one failure, two skipped). The Settings readiness query now permits an empty root while polling, without changing its deadline or required content. The explicit pre-launch regression fails with the original query and passes with the fix; the adjacent warm deep-link fixture uses the same query. The next full CI run passed API 35 but exposed an API 36 notification readback race: unchanged message text was visible before replaced actions. Restart-retention readiness now waits for both text and removal of dead Reply inputs, preserving the assertion rather than adding sleeps or retries.

  • Notification and Settings polish shipped in v1.3.3: a silent minimized Settings notification remains available while Hermes is open or backgrounded, without an idle foreground service. WebUI's idle-session browser notifications offer inline Reply through the existing authenticated chat endpoint, with single-use, expiring actions and explicit rejected/unconfirmed outcomes. Official Webapp direct reply is excluded: its ticketed gateway and profile/session contract needs separate integration. About and Updates now sit together at the bottom; latest GitHub notes remain available even without a newer APK. Android API 36 fixtures cover RemoteInput delivery, cookie/mount/session routing, lifecycle and layout. An authenticated API 36 live conversation now verifies a real completion alert, actual Android RemoteInput delivery exactly once to the intended session/profile, and the server-persisted agent response. Quiet foreground/background notification access, its Settings action, disabling, and the bottom-of-Settings version/check controls were exercised live. Live QA caught a blank release-notes target outside the GitHub build; the public page URL is now shared without enabling other update providers, with a real MainActivity outbound-intent regression. The approved release published the GitHub APK and verified Play production version 10303, completed status, English release notes and descriptions through a fresh Publisher API edit. Public Play visibility/review is separate and unconfirmed. OEM acceptance and the remaining live-QA follow-ups stay tracked in #202. The live harness now opens the activity even when a service keeps its process alive and waits for an actual DevTools page; manual sign-in remains required. Full-suite reply-fixture failures exposed Android dropping burst notification updates, so the fixtures now respect the existing per-package rate window. The live s04 prompt-card hit tests fail identically on production base 330a03e and the feature build; no prompt-layout changes were made.

  • [~] Issue #184 passkey investigation: AndroidX Credential Manager is included with the same dependency path in every WebView build, without the optional Play Services adapter. This keeps F-Droid, GitHub, and Play uniform but may limit compatibility on older devices. End-to-end passkey behavior remains unverified and depends on Android/WebView support, a credential provider, and Digital Asset Links on the identity-provider sign-in domain for the exact app package/signing certificate. The separate blank Dashboard-after-Basic-login symptom is linked to Hermes Agent issue #124325; a shared root cause is not established. The reporter still cannot complete Pocket ID passkey sign-in on v1.2.2; Pocket ID may reject Android-app WebAuthn origins even with an association (pocket-id/pocket-id#1845). The reporter verified the cross-device QR flow in v1.3.1, but direct WebView passkeys remain unsupported. The reporter also confirmed Dashboard access using the /sessions workaround; the root route remains upstream.

  • [~] Issue #184 follow-up: proxy-gateway OAuth and optional Sign in with Chrome. A sign-in gateway approved through proxy consent (for example TinyAuth) may start OIDC whose callback returns to that exact gateway origin; the provider now stays in the app so the gateway's state cookie is present (the reported "OAuth session cookie missing"). The opt-in setting opens trusted OAuth starts in a Chrome Auth Tab and loads only a verified callback back in the WebView; it needs Chrome 137+, an https callback, and assetlinks.json on the callback host for the installed package/signing key, and falls back to in-app sign-in otherwise. API 35 loopback tests cover the in-app gateway flow and the http-callback fallback. Recognized authorization starts on a consent-allowed origin now establish an in-app flow before a provider redirect, preserving cookies created by the start request. They cannot safely be sent straight to Chrome, which has a separate cookie store. Fixed diagnostic reason codes explain recognized fallback cases without recording URLs or OAuth parameters. A real Auth Tab round trip and reporter acceptance remain unverified; the reported cause has not been established.

  • [~] Issue #184 follow-up: the app no longer remembers credentials entered in the HTTP Basic prompt or supplies previously remembered credentials. Legacy encrypted data remains unused until explicitly deleted via Forget saved sign-ins. WebView may reuse same-origin credentials in memory, and saved server URLs and default profile names can still contain credentials. Startup, reconnect, notification, workspace-recovery and Back paths reject old URL credentials after the configured credentials change; this is not a sign-out and does not clear WebView's authentication cache. Reporter acceptance remains open.

  • Server-switch callback identity: a late WebView callback with unchanged or absent URL credentials can still affect the selected route or error state, including after returning to the same server. WebView does not provide a navigation ID; retain the mounted WebView while a non-destructive solution is investigated in #184. Navigation can still discard page state.

  • Local-network recovery follow-up in #184: failed form submissions and older HTTP OAuth pages reached through Back may require a manual retry after permission is granted; unhandled permission errors do not auto-retry, replay a POST as a GET, or infer that a history entry belongs to the current OAuth flow. The Retry action starts again at the configured server.

  • Proxy-level HTTP Basic authentication (Issue #185): main and popup WebViews prompt for credentials on challenges from the configured server host only. Hermes-Android does not remember prompt credentials; an API 36 loopback test covers the challenge and authenticated page, but no emulator was available for local execution.

  • First-run and Servers setup help: copy separate guided Hermes-chat prompts for community WebUI and official WebApp; explain host-vs-phone access, authentication, HTTPS and reusable URLs. Include the requested AGP 9.5.1 update. API 36 tests verify both exact Android clipboard payloads and first-run/ configured Settings availability (10 tests). Base RED is NOT APPLICABLE: this adds opt-in copy actions with no prior contract, not a regression fix. Host setup and phone connectivity are external, unexecuted steps. The new clipboard test initially failed on CI API 36 because clipboard access was asserted before native window focus; it now waits for focus before clicks and reads, retaining the exact payload assertions.

  • First-run welcome guide (Issue #176): a swipeable five-page guide for new users explaining that the app is a remote control for their own Hermes Agent, the Hermes WebUI vs official Webapp choice, copy-to-agent setup prompts, and Tailscale-style private access with links to alternatives. Shown once to a brand-new user who opens the app normally (never over a deep link, never to an existing configured user) and reopenable from Settings. Unit tests cover the launch gate and links; Compose and activity tests cover paging, swipe, Back, Skip, Get started, the Settings entry and each launch case.

  • Image paste (Issue #180): the official Hermes Agent Webapp's Paste image action no longer fails with "Read permission denied", and Gboard's clipboard can insert images into the composer. Raster images only (PNG, JPEG, GIF, WebP, up to 8 MB); the same host support is shared with Hermes WebUI, which is not yet verified against a live server. Pasting over plain http:// hosts (where browsers hide navigator.clipboard) is not covered.

  • Onboarding follow-up recommendation: consider scanning a reusable server URL QR code to reduce typing, with URL validation and explicit user confirmation; never encode credentials or temporary sign-in tokens.

Release v1.1.9 shipped official Hermes Agent WebApp hosting, automatic server badges and selectable launcher artwork. GitHub publication and Play production submission succeeded; Play descriptions were verified through a fresh Publisher API edit, not the public storefront. Release v1.1.10 adds guided setup help and the requested Gradle plugin update; publication is pending. F-Droid's separate submission remains tracked by #141 and fdroiddata merge request 55480.

Surface Status
Secure WebView shell Done - HTTP/HTTPS navigation, host allowlist, hardened defaults, and system plus user-installed CA trust with normal certificate validation
WebUI integration Done - first-run WebUI URL setting, WebUI-owned dashboard config, session persistence, pull-to-refresh
Official Hermes Webapp Android host integration implemented locally - recognizes the v0.22.6 browser workspace, preserves server sign-in/return and workspace state, opens native Settings on Back, and excludes WebUI-only editor/sidebar changes. Authenticated live-device acceptance remains pending; this does not add an Electron or gateway-WebSocket client.
WebView compatibility Done - disables forced darkening, patches Android viewport-unit collapse, respects system-bar safe insets, uses browser-managed cache defaults, smooths reload rendering, restores touch-and-hold context-menu dispatch for conversation actions, and forces WebUI microphone input onto the Android-compatible MediaRecorder path
Official dashboard link Done - Android no longer writes WebUI's Official Hermes Dashboard config, opens explicitly configured dashboard-origin requests in a Chrome Custom Tab with minimal browser UI, and avoids persisting dashboard pages as startup state
Android sharing Done - share-to-app intake for text and files
Files Done - WebView upload/download integration
Microphone Done - allowlisted WebView audio capture with Android runtime permission plus WebUI MediaRecorder fallback
Voice conversation Android host support in PR #120 - trusted-route gesture-free playback and new-request microphone gate; existing capture/playback shutdown and explicit re-arm remain pending a WebUI host-signal consumer
Local settings Done - encrypted settings storage
Native navigation Done - WebUI-owned dashboard link integration and deep links
Server health probing Done - /api/status probe to distinguish server-down from content errors
Browser notifications Done - WebUI Notification API bridge, Android runtime permission, notification channel, and trusted WebUI tap routing
App update alerts Done - shared settings/notification UX with build-selected Google Play or GitHub Releases update providers; Play shows "Update now" in-app update flow, GitHub uses stateful Check -> Download -> Install actions
Native distribution polish Done - app identity and signed GitHub APK plus Play AAB release automation are wired for local builds plus GitHub Actions
Google Play Production Done - approved for production release; shipping as v1.0.0
Maintenance posture Stable - accept Android-wrapper fixes, compatibility updates, dependency updates, and release maintenance
Native feature expansion Deferred - revisit only for Android-specific needs with a clear WebUI/API boundary

Feature checklist

MVP shell

  • Secure WebView opens a configured Hermes WebUI URL
  • First-run WebUI URL prompt and settings surface
  • HTTP/HTTPS URL validation
  • Host allowlist for in-app navigation
  • External handoff for non-allowlisted HTTP/HTTPS links
  • Cleartext traffic permitted for configured HTTP deployments
  • Back handling and WebView history behavior
  • Pull-to-refresh
  • Default WebView HTTP/service-worker cache behavior
  • Loading, error, and offline states
  • Cookie-backed session persistence
  • Encrypted local settings
  • HTTPS trust for Android system and user-installed CAs within this app, retaining certificate-chain and hostname validation

Android integration

  • [~] Official Hermes Webapp hosting (v0.22.6+): automatic renderer recognition, hash-only Back navigation without a workspace reload (Back-to-Settings was replaced by normal Back in BUG-064, Issue #194), shared Android WebView integrations, and WebUI-shim isolation. Authenticated live Webapp acceptance remains pending; loopback fixtures do not establish upstream UI behavior. Regression evidence: readiness fallback, sign-in-return persistence and Back-to-Settings fail RED on base 0d5f33f; document-start editor input interception also fails with that base's scripts. These Android-boundary regressions pass GREEN with the integration on the API 36 emulator, including the checked-in dependency versions (the unrelated local AGP update is not required).

  • Official Webapp follow-ups: gateway-WebSocket background monitoring and session deep links, blob/data-URL export handoff, and notification-tap delivery to page-local session-focus callbacks. Keep WebUI's existing SSE/approval contracts separate.

  • File upload support

  • File download support

  • Microphone capture support for WebUI voice input

  • [~] WebUI voice host support (PR #120): contributor-reported device acceptance applies to the earlier APK; current WebUI has no foreground-signal consumer. Stopping existing capture/playback, canceling pending listening restarts, and requiring explicit re-arm remain upstream work, not Android guarantees.

  • Browser notification permission and delivery bridge for WebUI alerts

  • Share-to-app intake for text

  • Share-to-app intake for files

  • Native launcher identity

  • User-selected WebUI/official Agent launcher artwork and manual blue Agent / gold WebUI server badges. Independent cosmetic choices; legacy servers stay unlabeled. New opt-in feature: base RED reproduction is NOT APPLICABLE because no selection or label contract existed on the base. GREEN coverage exercises real API 36 launcher alias switching/launching, share and recovery resolution, encrypted label persistence, legacy migration and Settings callbacks. The launcher artwork was also visibly checked in the API 36 emulator after using the native Settings choice. Labeling an unprofiled Current server lost an in-memory draft RED on ea10df1; the production save-path regression is GREEN after keeping unchanged-URL labels local, without a workspace reload.

  • Automatic server badges: use explicit frontend runtime markers on the configured page, persist per server after sign-in, and retain manual overrides plus an Automatic reset. Detection does not select launcher artwork or affect connection/trust behavior. The real MainActivity/frontend-marker regression fails RED on base 0ae51f4 and passes GREEN on the API 36 emulator for both frontends, including visible badges and preserved workspace drafts. Additional checks cover login-page non-detection, exact-origin probes, encrypted persistence, manual override/reset, URL edits and stale-server results. These loopback checks do not replace authenticated live acceptance.

  • Keep cosmetic launcher choices near the bottom of Settings in Appearance, above About, so server, connection, privacy and troubleshooting controls retain priority. Layout-only move: behavior regression reproduction is NOT APPLICABLE.

  • Splash and app theme

  • WebUI-owned Official Hermes Dashboard setting

  • Official dashboard link route

  • Deep links (hermes://session/{id})

  • Server health probing

  • Camera capture in file chooser

  • Direct share-file auto-attach flow

  • Attachment progress and retry UX

Deferred Android-only ideas

These are not active priorities. Revisit only if a specific Android platform need justifies native work. WebUI layout, styling, animations, and product workflow changes should be made in Hermes WebUI instead.

  • Deep links and verified app links to Hermes routes
  • Server health probing to refine offline/error states
  • Server profile list for multiple Hermes hosts with encrypted storage, profile CRUD, readiness validation, and session-clearing profile switches
  • Optional biometric app lock before showing WebView
  • FCM push notification plumbing
  • Notification channel strategy
  • Notification click routing to allowlisted WebUI routes
  • Expanded native settings for theme, notifications, and profiles
  • Optional native sessions list (requires authenticated API access)
  • WebUI menu shortcuts for files, kanban, and status if needed
  • [~] Instrumentation tests run in CI/releases and cover Settings, WebShell recovery, and WebView compatibility; deep-link and intent-routing coverage remains open
  • Evaluate a Trusted Web Activity (TWA) variant rendered in real Chrome, gated on Hermes WebUI serving /.well-known/assetlinks.json (draft + fingerprint in assets/twa/); accept loss of native bridges and HTTPS-only verification before pursuing
  • Final package/application ID decision before first public release
  • Release signing automation docs and snippets
  • [~] F-Droid distribution (Issue #141): MIT license, Play-free release build (com.hermeswebui.android.fdroid), dependency guard, fastlane metadata, and a draft fdroiddata recipe are in the repo. Remaining: the one-time fdroiddata merge request after the first release that contains this change.
  • [~] Background continuity while app is backgrounded (Issue 10): Part A is complete; Part B ongoing activity notification and initial Part C tray approvals are implemented. Remaining work is focused on B4 lifecycle/manual validation and cross-client SSE/API contract hardening.

Native improvement proposals (2026-07-02, post code-review)

Wishlist from a line-by-line committee review. Full rationale and implementation sketches are captured inline below.

  • Decide and document the cleartext posture (A1, security): runtime-configured hosts cannot be injected into static network_security_config; retain global HTTP compatibility or add an explicit HTTPS-only mode
  • Optional TLS/certificate pinning for the configured host (A2, security)
  • Optional FLAG_SECURE + hide content in the app switcher (A3, privacy)
  • Biometric app-lock before WebShell with idle timeout (A4, security — concrete plan for the existing deferred idea)
  • [~] Close the residual in-app OAuth phishing surface (A5, security): the in-flow host chip and HTTPS downgrade rejection are implemented; a configurable trusted-IdP allowlist remains a product decision
  • Native "sign out & wipe" action for shared devices (A6): the duplicate partial reset was removed from native Settings; WebUI owns normal sign-out, while Android system Clear storage remains the complete local wipe
  • [~] Instrumentation tests (deep links, exported download host, allowlist) wired into CI (B1): all current instrumentation classes now run for Android changes and releases; the listed navigation/security cases remain to be added
  • Unit tests covering the committee fixes: update-APK host allowlist, gateway enabled absent/false, profile isActive derivation (B2)
  • [~] detekt/ktlint + Android Lint gate in CI (B3): Android Lint is required; detekt/ktlint remain open
  • [~] App shortcuts for Settings + server switch (C1): Settings shortcut shipped (BUG-064); server-switch shortcuts remain
  • Direct Share targets to recent sessions (C2)
  • Predictive-back + per-app language polish (C3)

Maintenance work

ID Priority Status Area Task Notes
M-001 As needed Open Platform Keep Android, Gradle, Kotlin, and dependency compatibility current Wrapper stability and Play distribution maintenance
M-002 As needed Open Security Keep WebView, URL policy, permissions, and encrypted settings behavior hardened Preserve HTTP/HTTPS configured-host support and host allowlist enforcement
M-003 As needed Open Bugfix Fix Android-wrapper regressions Scope to WebView hosting, permissions, share/download, notifications, deep links, settings, and release flow
M-004 As needed Open Release Keep signed release automation current Maintain alignment between Gradle metadata, keystore.properties.example, and GitHub Actions secrets
M-005 High In progress Platform Triage and stage Issue 10 background-execution work (A/B/C phases) Part A is complete, Part B ongoing activity updates are implemented (with reconnect using /api/sessions/events plus polling fallback), and initial Part C tray approvals are implemented with queue-head validation through /api/approval/pending before /api/approval/respond; remaining scope is B4 lifecycle/manual validation plus broader cross-client payload/API contract hardening
PERF-002 Medium Done Performance Safe optimization pass that preserves Hermes WebUI compatibility (Issue #148) Tier 1 (items 1-6: viewport scan exclusion evaluated once, sidebar injector fast path, async VPN app discovery, last-URL write dedupe, dead update-check write removed, no-op migration write) is on branch issue-148. Tier 2 items 7-15, deferrals, and rejected ideas are checklisted in the issue; agents should tick items there and update this row when taking one. Never change behavior documented in AGENTS.md; nothing has been profiled yet, so measure before claiming gains. Closed (Issue #148): Tier 1 shipped in #149 and the Gradle build cache in #156. The remaining Tier 2 items were triaged and deliberately not done: none has a gain a normal user would notice, several risk the viewport/prompt-card repair, and skipping no-op foreground-notification updates could leave a dismissed notification gone until its text changes. Nothing was profiled; open a new issue with a measurement if a real slowdown is reported.
UX-002 Medium Done Settings Server health check before switching Tapping a saved non-current server now probes readiness first, shows reachable/auth-required/setup/offline/non-Hermes status, asks for confirmation before switching, blocks unsafe switches by default, and records safe diagnostic breadcrumbs for the check result
A-020-P2 Medium Done Settings Multi-server profile storage (Issue #20 Phase 2) Encrypted profile persistence, versioned migration, profile CRUD, and active-server selection are implemented.
A-020-P3 Medium Done Navigation Multi-server profile switching (Issue #20 Phase 3) Switching validates readiness, clears prior WebView session state, rebuilds the active allowlist, and reloads the selected server without changing WebUI-owned dashboard config; broader instrumentation coverage remains under B1.
QA-001 High Done Quality QA hardening from issue history (Issue #150) Phased plan in the issue: contract guards, a local live-QA harness (tools/qa/, server URL kept in an untracked file, never committed), shim behavior fixtures, prompt-card hit-testing, flow tests, then CI/docs. Phase 1 adds WebViewSecurityContractTest (no SSL bypass, no dashboard-config writes, no long-click interception, required manifest permissions, no broad storage permission). Phase 2 adds the tools/qa live-QA harness (shell renders, Application Settings entry, shim selector drift, viewport repair) with a hostname-leak guard test. Phase 3 adds behavior tests for the Enter-key/hardware-keyboard, microphone, narrow Settings and Application Settings sidebar shims, each verified to fail when its shim is deliberately broken. Phase 4 adds hit-testing of the approval/clarify prompt cards against a snapshot of the real WebUI markup (app/src/androidTest/assets/webui-snapshot/) plus the live scenario s04; ten deliberate shim regressions were each caught. Phase 8 makes android-ui-smoke always report using the docs-only step short-circuit pattern (still not a required check; the ruleset is the admin task in #105), adds a pull-request template with a QA checklist, and documents the QA layers in AGENTS.md and ARCHITECTURE.md. An instrumented release-variant smoke is deliberately not added because it would need signing or Gradle identity changes; debug-build already proves the unsigned F-Droid build. Agents: tick items in the issue and update this row when taking one. Closed (Issue #150): all phases shipped in #151-#153, #163, #165, #167-#169 and #171-#174, covering contract guards, the live-QA harness, shim behavior fixtures, prompt-card hit-testing, OIDC/dead-URL/deep-link flows, JVM-tested rules, notification-facade and long-press fixtures, client-certificate password cases and a server-switch session-wipe guard. A certificate round trip, SPA session monitoring and unusual multi-profile combinations were deliberately skipped as unlikely for a normal user or already covered. The branch ruleset (#105) is still not applied: the live repository has no ruleset or branch protection, so no required check, including ci-gate, is enforced until a repository admin creates it.
CI-001 Medium Done CI Faster, more stable PR CI (Issue #156) Gradle build cache, cancel-superseded PR runs (never on main), and an always-reporting ci-gate job so the ruleset (#105) can require one stable name. Test inputs that are read from disk are declared so the cache cannot hide a failing contract test. The build, lint and unit jobs got 1.5-3x faster; a cached emulator snapshot was tried and removed because it saved almost nothing (emulator jobs stay ~5-6 min). Closed (Issue #156).

Completed work

ID Date Area Summary
BUG-062 2026-11-12 Authentication Issue #184 follow-up: removed automatic reuse and saving of HTTP Basic credentials because WebView reports only the challenged host and realm, not its scheme or port. Manual masked sign-in remains available; previously saved encrypted data stays unused and can be explicitly deleted in Settings. Saved routes with outdated URL credentials are rejected after a server URL edit, including on startup, reconnect, notification, workspace recovery and Back; main-frame requests exposing outdated credentials are blocked, and history containing them is cleared when the server changes. Loopback and Settings regressions were RED on the base and GREEN on API 35; live reporter acceptance remains open.
BUG-064 2026-11-13 Navigation Issue #194: Android Back no longer opens Application Settings. WebUI walks history, the official Webapp walks only same-document hash entries (never reloading the workspace or returning to sign-in), then both use the BUG-016 press-again-to-exit confirmation, superseding the BUG-026 Settings step. Settings stays reachable without a working page through a new launcher long-press Settings shortcut (republished on launcher-icon switches) and the existing error-screen Edit server URL button; the ongoing background-activity notification (shown only while backgrounded with that setting on) also gains a Settings action. Covered by SelectedServerNavigationTest, ProxyAuthRedirectInstrumentationTest, LauncherIconInstrumentationTest and HermesSessionMonitorInstrumentationTest on the Pixel Fold API 36 emulator.
BUG-063 2026-11-13 WebView Fixed the main WebView being hosted with WRAP_CONTENT layout params by Compose's AndroidView, which made Chromium lay the page out at zero height so vh/dvh/svh/lvh and html{height:100%} all measured 0 (Issue 184, found while investigating the missing Pocket ID cross-device QR, a 12dvh canvas). WebShell now sets MATCH_PARENT; pinned by WebViewSecurityContractTest and WebShellTest.hostedWebView_hasRealViewportUnits. The viewport polyfill stays as a fallback. The Dashboard blank shell after Basic login (upstream cold-load / redirect race) and direct Pocket ID passkeys are not fixed by this
BUG-061 2026-11-12 WebView Fixed Issue #190: a Hermes Agent Dashboard configured as the server URL rendered only its header because Android WebView evaluates its h-dvh overflow-hidden root as 0px and the viewport repair restored only an inner wrapper on the first pass, then capped the root at 82%. The repair now recognizes a collapsed page shell and restores it to the full viewport height in one pass, and the WebUI-only Enter, sidebar, Clarify and route-recovery shims now require a positive WebUI marker so the Dashboard no longer receives them. Emulator fixtures reproduce the Dashboard layout; a real device against a live Dashboard remains unverified pending the reporter's confirmation in #184.
BUG-060 2026-11-12 Authentication Issue #184 follow-up: keep OIDC started by an approved proxy sign-in gateway in the app when its callback returns to that exact gateway origin, and add opt-in Sign in with Chrome (Auth Tab with verified callback return and in-app fallback). Also stop a server switch's about:blank placeholder from externalizing the new server's sign-in redirect or voiding its consent with a false "Server changed" (RED on an API 36 Fold emulator with Chrome in 4/4 and 4/5 runs per guard, GREEN 32/32 there and on API 35). API 35 loopback gateway tests were RED with the gateway trust removed and GREEN locally; real Auth Tab, live TinyAuth/Pocket ID, and reporter acceptance remain open.
BUG-065 2026-11-13 WebView Fixed Issue #198: after editing the Current profile's credentials, the workspace-panel recovery could still target the old credentialed route, which the interceptor blocked with a "Navigation blocked" page. On WebView 156 a just-removed document-start script is still injected into the next navigation, and the recovery script let the first (stale) copy win. Every copy now records its URL so the newest install wins. editingCurrentCredentials_refreshesDocumentStartRouteRecovery was RED on the base and GREEN on an API 36 Pixel Fold emulator (WebView 156); CI's API 35/36 images do not reproduce the WebView behavior.
BUG-059 2026-11-12 Authentication Issue #184 follow-up: mask native HTTP Basic passwords and allow an initial proxy redirect after consent when WebView has no committed URL, while rejecting consent after a later navigation. API 35 loopback regressions were RED on base and GREEN locally; live reporter acceptance and passkey sign-in remain open.
BUG-058 2026-11-11 Authentication Fixed Issue #185: proxy-level HTTP Basic challenges from the configured server now show a native username/password dialog in main and popup WebViews. Credentials are never saved, and challenges from other hosts are canceled. JVM policy/source-contract tests pass; the API 36 loopback regression test compiles but was not run locally because no emulator/device is attached.
BUG-057 2026-11-07 Deep links Fixed Issue #170: hermes://session/{id} and hermes://app/settings now work when the app starts from a closed state, not only through onNewIntent. A cold-start session link feeds the same trusted-route startup override as a notification tap, so SelectedServerNavigation.startupUrl still gates it, and the settings link is skipped on activity recreation. Two cold-start API 35 tests failed before the fix and pass after it.
TEST-009 2026-11-07 QA Closed Issue #150's QA hardening (see QA-001). Added JVM-tested extractions for the LAN preflight, hardware-keyboard, SSE cookie and status-fallback rules, six OIDC/dead-URL/deep-link/Settings flow tests, notification-facade and long-press fixtures, client-certificate password cases and a server-switch session-wipe guard. Each guard was shown to fail when its rule was deliberately broken.
REL-036 2026-11-07 Release preparation Prepared Android and README metadata for v1.2.0 (version code 10200): the first-run welcome guide (Issue #176) and cold-start hermes:// deep links (Issue #170). A minor bump because it adds a user-facing feature with no breaking change. Published on 2026-11-07 by orchestration run 42393841270 from commit 402690a: the GitHub release has exactly hermes-webui-v1.2.0-github.apk, and the Play production edit and English description were committed and verified through a fresh Publisher API edit. Play review and public availability are separate and were not confirmed. F-Droid picks up the tag after fdroiddata review (Issue #141).
REL-037 2026-11-07 Release preparation Prepared Android and README metadata for v1.2.1 (version code 10201): image paste for the Hermes Agent Webapp and Gboard (Issue #180). A patch bump because it fixes broken behavior with no new setting. GitHub and Play production publication are pending the approved orchestration run; F-Droid picks up the tag after fdroiddata review (Issue #141).
REL-038 2026-11-11 Release preparation Prepared Android and README metadata for v1.2.2 (version code 10202): shared WebView Credential Manager integration (Issue #184). A patch bump because it fixes broken behavior with no new setting. GitHub and Play production publication are pending the approved orchestration run; F-Droid picks up the tag after fdroiddata review (Issue #141).
REL-039 2026-11-12 Release preparation Prepared Android and README metadata for v1.3.0 (version code 10300): sign-in improvements, removed app-saved Basic sign-ins, and Dashboard shell repair. A minor bump because it adds a user-facing feature with no breaking change. GitHub and Play production publication are pending the approved orchestration run; F-Droid picks up the tag after fdroiddata review (Issue #141).
REL-040 2026-11-13 Release preparation Prepared Android and README metadata for v1.3.1 (version code 10301): zero-height WebView viewport units fix (Issue #184, PR #195). A patch bump because it fixes broken behavior with no new setting. GitHub and Play production publication are pending the approved orchestration run; F-Droid picks up the tag after fdroiddata review (Issue #141).
REL-041 2026-11-13 Release preparation Prepared Android and README metadata for v1.3.2 (version code 10302): normal Back, Settings shortcut and notification action (Issue #194); route recovery after credential edits (Issue #198). A patch bump because it fixes broken behavior with no new setting. GitHub and Play production publication are pending the approved orchestration run; F-Droid picks up the tag after fdroiddata review (Issue #141).
REL-042 2026-11-14 Release preparation Prepared Android and README metadata for v1.3.3 (version code 10303): Settings notifications, verified WebUI replies, and About/Updates controls (PR #201). A patch bump because it fixes broken behavior with no new setting. Published by orchestration run 43641941066 from the reviewed release merge 9716aac: the GitHub release has exactly hermes-webui-v1.3.3-github.apk, and a fresh Publisher API edit verified Play production version 10303, completed status, English release notes and descriptions. Play review/public visibility remain unconfirmed; QA follow-ups remain in Issue #202. F-Droid picks up the tag after fdroiddata review (Issue #141).
REL-043 2026-11-14 Release preparation Published v1.3.4 (version code 10304) for gateway OAuth routing and sign-in diagnostics (Issue #184) via orchestration run 43677309445. The GitHub release contains the signed APK; a fresh Publisher API edit verified Play production version 10304, completed status, English release notes and descriptions. Public Play visibility and reporter acceptance remain unconfirmed; the exact Pocket ID/Auth Tab flow was not tested. F-Droid picks up the tag after fdroiddata review (Issue #141).
REL-044 2026-11-15 Release preparation Prepared Android and README metadata for v1.3.5 (version code 10305): notification consolidation, Settings access and notification controls (Issue #208). A patch bump because it fixes broken behavior with no new setting. GitHub and Play production publication are pending the approved orchestration run; F-Droid picks up the tag after fdroiddata review (Issue #141).
REL-035 2026-10-30 Release / Distribution Prepared F-Droid distribution for Issue #141. Added an MIT license. Moved Google Play Core into a new play build type, so the github APK and the new F-Droid release build (com.hermeswebui.android.fdroid) contain no Google Play code. verifyFossDependencies gates CI and the orchestrator. F-Droid's scanner went from 3 source problems on main to 0, and from 6 binary problems in the published v1.1.7 GitHub APK to 0 in the new release APK. The orchestrator still publishes GitHub and Play only; F-Droid picks up later tags after the one-time fdroiddata submission.
BUG-056 2026-10-29 Security / Authentication Fixed Issue #134: in-WebView proxy sign-in consent is offered only when the hop that redirected is exactly the configured server origin. Redirects from another port, a subdomain, or the dashboard host on the allowlist are externalized instead of being attributed to the server. Reproduced RED on base (consent dialog shown for an allowlisted other-port redirector) and GREEN with unit and API 36 loopback tests. Form POST navigations remain attributed to the last recorded hop.
BUG-055 2026-10-29 Authentication / Setup Fixed Issue #135: server checks now classify status redirects by origin. Same-origin sign-in redirects report "authentication required" without proxy consent, a same-host HTTP-to-HTTPS upgrade offers a re-validated Use HTTPS server URL, and only cross-origin redirects request proxy sign-in consent. Reproduced RED on base (consent requested for both cases) and GREEN with unit and API 36 loopback tests.
BUG-054 2026-10-29 Security / Sharing Fixed Issue #136: staged share-sheet files are auto-delivered only to a file chooser opened while the main WebView shows the configured Hermes WebUI route. Proxy sign-in, OAuth, and other pages get the normal system picker, and the staged files stay available for Hermes. API 36 loopback test reproduced the leak RED on base and passes GREEN; a cross-origin iframe inside the WebUI page remains indistinguishable because WebView exposes no chooser requester origin.
REL-034 2026-10-26 Release preparation Prepared v1.1.6 (version code 10106) for proxy sign-in redirects and shared Downloads support. Publication to GitHub and Play production is pending the approved orchestrator run.
TEST-006 2026-10-26 Files / CI Shared-Downloads regression tests read completed bytes through DownloadManager's descriptor API rather than a raw filesystem stream, preserving filename, public destination, authentication, and byte assertions under Android scoped storage. Resolves the API 35/36 EACCES failures in runs 40423409388 and 40426721188 without weakening the suite or adding storage permissions.
TEST-007 2026-10-26 Authentication / CI Proxy consent tests inspect the app's actual dialog windows instead of depending on the active accessibility window on headless API 36. They still exercise native consent and the real MainActivity/WebView flow; activity teardown now cancels validation and dismisses retained consent dialogs.
TEST-008 2026-10-26 WebView / CI Compatibility fixtures request native focus after page load without making DOM tests depend on window focus. Text assertions use WebView's Android IME input connection rather than global key injection; a regression deliberately removes window focus and still verifies real editor input. Proxy tests await the actual login DOM and cover delayed form creation. Both readiness defects reproduced RED before correction and GREEN afterward on headless AOSP API 35; Clarify, editability, consent, cookie, and return-route assertions remain intact.
BUG-053 2026-10-26 Authentication / WebView Implemented Issue #132's reverse-proxy authentication redirect handling: unverified reachable status, explicit origin consent, five-minute exact-origin main-frame navigation, cookie-backed preflights, and no login/interstitial startup persistence. API 36 loopback tests cover the Android flow; review/CI and the reporter's live Authelia acceptance remain pending.
REL-033 2026-10-25 Release preparation Prepared Android and README metadata for v1.1.5 (version code 10105), including Issue #127's Android user-installed CA trust support. GitHub APK and Play production publication are pending the approved orchestration run.
BUG-052 2026-10-25 Security / WebView Fixed Issue #127 by configuring Android WebView to trust both system and user-installed CAs within Hermes-Android, while retaining standard certificate-chain and hostname validation. This is app-wide rather than per-server-profile trust; no certificate-error bypass was added.
REL-032 2026-10-11 Release preparation Prepared Android and README metadata for v1.1.4 (version code 10104), including PR #120's trusted voice playback and selected-server navigation fixes. GitHub and Play production publication are pending the approved orchestration run.
REL-031 2026-10-09 Release preparation Prepared Android and README metadata for v1.1.3 (version code 10103), including the session deep-link and background-monitoring fixes from PRs #122 and #124. Publication is pending the approved GitHub/Play production orchestration run.
BUG-051 2026-10-09 Background continuity Implemented Issue #123's trusted WebUI /session/{id} detection, including mounted routes and one-time ID decoding. API 36 emulator coverage exercises authenticated SSE notifications, real approval PendingIntents, resume/socket teardown, reconnect/session transitions, and stale-stream/approval fencing. PR #124 remains subject to review and CI; upstream WebUI/OEM behavior is not established by the loopback fixtures.
REL-030 2026-10-04 Release preparation Prepared Android and README metadata for v1.1.2 (version code 10102) so the next approved orchestrated release can include the Issue #118 filename fix.
BUG-050 2026-10-04 Files Fixed Issue #118 chat and Files downloads saving as media.bin and raw.bin: Android now honors WebUI's RFC-compatible filename headers, including UTF-8 names and inline image downloads, without replacing original extensions for generic MIME types. Authenticated DownloadManager regression coverage preserves cookies, user agent, bytes, and the live host allowlist.
REL-029 2026-09-29 Release preparation Aligned reviewed Android and README metadata for v1.1.1 (version code 10101) so the next orchestrated release can include the Issue #112 WebView fix.
BUG-049 2026-09-29 WebView Fixed Issue #112's Android viewport polyfill rescanning idle conversations by avoiding redundant DOM style writes while preserving dynamic content repairs.
TEST-005 2026-08-26 CI / Documentation Added documentation checks for Markdown rendering breaks, dead in-repo links, and external URLs, and gave documentation-only pull requests a fail-safe fast path that skips the Gradle jobs while keeping README release-metadata assertions running.
TEST-004 2026-08-26 CI / Testing Split PR CI into per-check jobs (release tooling, unit tests, Android Lint, debug APK) so a failure names the gate that broke, added job timeouts, and introduced syntax plus ESLint runtime-error gates for the JavaScript Android injects into the WebUI WebView.
REL-028 2026-08-26 Release / CI Reworked release orchestration to build immutable reviewed versions, pin external actions, generate linked GitHub/Play changelogs once, validate retry metadata against the originating run, and verify APK/AAB signatures before publishing.
TEST-003 2026-08-26 CI / Testing Expanded QA with release-tool/workflow contract tests, Android API 35/36 instrumentation gates, share/deep-link/manifest/notification contracts, duplicate-profile rules, and deterministic GitHub update parsing.
BUG-048 2026-08-26 Settings Prevented profile edits from creating duplicate server names or normalized URLs, matching the existing add-server invariant.
CLEANUP-005 2026-08-26 Settings / Maintenance Reorganized native Settings into task-based Servers, Application, Updates, Connection, Privacy, Troubleshooting, Advanced, and About sections; moved PKCS#12 client certificates into an Advanced detail dialog; removed the duplicate partial session reset and its unreachable APIs; and deleted superseded Issue 43 planning files.
BUG-047 2026-08-26 Security Made malformed or keyless PKCS#12 client-certificate files fail closed instead of throwing through the WebView callback, selected the first usable private-key entry, and removed the unsupported PEM claim from Settings.
TEST-002 2026-08-26 CI / Testing Made Android Lint a required CI gate, expanded PR instrumentation triggers to every Android source/build change, and removed hand-maintained class filters so all current and future instrumentation tests run before merge and release.
SEC-003 2026-08-26 Security Centralized WebView route/source/target/permission decisions in a unit-tested WebTrustPolicy and preserved public-IP OAuth scheme upgrades without allowing HTTPS callbacks to downgrade to HTTP.
BUG-046 2026-08-26 WebView Hardened Issue #92 dialog compatibility: initial autofocus is suppressed per Clarify request (including visible in-place replacements), validation refocus plus real touch/Tab input remain available, prompt geometry is shifted and capped inside the keyboard-constrained visual viewport, generic collapse repair preserves original overflow, and attached-WebView behavior tests now gate PRs and releases.
BUG-045 2026-08-26 WebView Fixed Issue #90 by narrowing dialog keyboard suppression to programmatic autofocus, allowing explicit taps to focus and type into editable modal fields such as the workspace new-folder name input.
SSE-001 2026-08-09 Background continuity Clarified the native SSE settings and notification status: Android keeps its persistent authenticated /api/session/stream preference when optional gateway extras are unavailable, presents that distinction clearly, and logs the safe active transport state for diagnostics.
A-001 2026-06-19 Build Fixed Java/Gradle setup and verified test plus assembleDebug
A-002 2026-06-19 Security Added URL policy validation and tests
A-003 2026-06-19 Tooling Aligned AGP/Gradle to avoid Gradle 10 deprecation pressure
A-004 2026-06-19 UI Migrated deprecated accompanist swipe refresh to Compose pull refresh
A-012 2026-06-20 Navigation Superseded native drawer experiment for Dashboard Terminal route
DOC-001 2026-06-20 Docs Cleaned README and created this roadmap as the progress and wishlist tracker
BRAND-001 2026-06-20 Branding Renamed APK output to hermes-android; replaced placeholder icon with Hermes WebUI caduceus (vector + density PNGs); icon background aligned to WebUI dark #1a1a1a
COMPAT-001 2026-06-20 Android compatibility Guarded share-intent parcelable parsing across pre- and post-Android 13 APIs
A-014 2026-06-20 Release Finalized package ID and namespace as com.hermeswebui.android before first public release
A-005 2026-06-20 Deep links Added hermes://session/{id} intent filter; navigates WebView to {serverUrl}/session/{id} (the WebUI session route)
API-001 2026-06-20 API integration Added HermesApiClient probing /api/status (public endpoint) on WebView errors to distinguish server-down from content errors
NAV-001 2026-06-20 Navigation Reworked native drawer with WebUI route sections (Chat, Skills, Artifacts, Agents, Scheduler, Messaging); replaced floating button with compact hamburger-in-card trigger
NAV-002 2026-06-20 UI integration Added hamburger-hiding DOM shim + user toggle to avoid visual conflict between native drawer and WebUI menu button; gracefully degrades if WebUI markup changes
NAV-003 2026-06-20 Navigation Removed the temporary native drawer and menu-hiding shim; seeded WebUI's Official Hermes Dashboard config instead of adding a custom Android Terminal button
BUG-001 2026-06-20 UI Fixed unreadable text by applying an explicit native color scheme and disabling WebView algorithmic darkening
BUG-002 2026-06-20 WebView Fixed Hermes WebUI text/content visibility by injecting a measured viewport-height shim when Android WebView computes 100dvh as 0px
BUG-003 2026-06-20 UI Added safe-drawing system insets so WebView content and native controls do not overlap status or navigation bars
BUG-004 2026-06-20 Navigation Fixed dashboard redirect/blue-screen recovery by normalizing stored dashboard URLs to their origin, opening dashboard-origin new-window requests in Chrome Custom Tabs, and preventing dashboard pages from becoming app startup state
BUG-005 2026-06-20 Permissions Fixed Android WebView dictation false-denied behavior by normalizing permission-request origins and allowing trusted main-frame fallback for null/opaque origins while still granting audio capture only
BUG-006 2026-06-20 Permissions Added Android MODIFY_AUDIO_SETTINGS permission because WebView Chromium microphone capture on emulator/device can fail device selection without it even when RECORD_AUDIO is granted
CLEANUP-001 2026-06-20 Cleanup Removed temporary microphone diagnostic logging/hooks from MainActivity after validation and kept only production microphone compatibility handling
CLEANUP-002 2026-06-20 Resources Replaced environment-specific default endpoint strings with placeholder HTTPS origins, removed unused strings/colors resources, and merged launcher XML resources out of unnecessary mipmap-anydpi-v26
SEC-001 2026-06-20 Platform Added Android 12+ data_extraction_rules configuration and wired it in AndroidManifest.xml while preserving allowBackup=false
BUILD-002 2026-06-20 Tooling Upgraded Gradle wrapper to 9.6.0, Kotlin to 2.4.0, AndroidX/Material dependencies to latest stable set, and moved app compile/target SDK to 37; lint now reports no issues
REL-001 2026-06-20 Release Updated Android app version metadata to 0.1.1 and incremented versionCode for the v0.1.1 release
BUILD-001 2026-06-20 Tooling Migrated AGP config to built-in Kotlin, removed legacy compatibility flags, and eliminated obsolete variant API plus dependency-constraints sync warnings
PERM-001 2026-06-20 Permissions Added Android RECORD_AUDIO plus an allowlisted WebView audio-capture permission bridge so WebUI microphone input can prompt and grant correctly
PERM-002 2026-06-20 Permissions Added a document-start WebUI microphone fallback flag for the configured Hermes origin so Android WebView skips the unreliable Web Speech API path and uses MediaRecorder/getUserMedia
SEC-002 2026-06-20 Security Relaxed URL policy to allow configured HTTP or HTTPS Hermes hosts while retaining host allowlist checks and non-web scheme blocking
UX-001 2026-06-20 Settings Changed the first-run server URL sample from prefilled text to placeholder text that disappears on focus
REL-002 2026-06-20 Release Renamed app to "Hermes WebUI" (Play Store branding), updated version to 0.1.2, and built hermes-android-v0.1.2-pre-release.apk for GitHub release and device testing
NOTIF-001 2026-06-21 Notifications Added Android-backed WebUI browser notifications with POST_NOTIFICATIONS, a native channel, a scoped WebView Notification API bridge, service-worker notification fallback, and allowlisted notification tap routing
REL-003 2026-06-21 Release Updated Android app version metadata to 0.1.3-pre-release with versionCode 4 for the next pre-release build
REL-004 2026-06-21 Release Changed distribution artifact staging to use hermes-webui-v<version>.apk for GitHub and hermes-webui-v<version>.aab for Google Play instead of repository-name filenames
A-011 2026-06-21 Release Added local keystore.properties plus GitHub Actions secret-based signing so release APK/AAB builds fail fast unless they are signed and ready for distribution
CLEANUP-003 2026-06-21 Build Moved staged release artifacts from root release/ into ignored build/release/ and ignored legacy root release outputs
REL-005 2026-06-21 Release Updated signed release workflow actions to Node 24-compatible majors to avoid GitHub Actions Node 20 deprecation warnings
REL-006 2026-06-21 Release Incremented Android app version to 0.1.4-pre-release with versionCode 5 for the long-press menu fix validation build
PERF-001 2026-06-21 WebView Made WebView and service-worker cache defaults explicit, advertised the real app version in the user agent, and kept rendered content visible during reloads after the first successful page load
CLEANUP-004 2026-06-21 Cleanup Removed stale in-code phase-2 TODOs already tracked in the roadmap, dropped unused Compose test catalog/debug references, and restored keystore.properties.example for documented signing setup
BUG-007 2026-06-21 WebView Added a Hermes-origin-scoped touch-and-hold compatibility shim that dispatches contextmenu so conversation long-press action menus appear in Android WebView like mobile browsers
BUG-008 2026-06-21 WebView Fixed invisible conversation long-press menus (Issue 6): Android WebView evaluates CSS 100vh as 0, collapsing the WebUI floating-menu max-height: calc(100vh - 16px) to a ~2px sliver. Re-capped .session-action-menu/.workspace-prefs-menu max-height with the measured viewport height in the existing viewport shim. Root-caused via on-device DevTools/CDP inspection after ruling out touch-cancel, z-index, stacking, and opacity; reverted those earlier wrong attempts
BUG-009 2026-06-22 WebView Fixed Issue 7 by removing Android's /api/dashboard/config write path and blanking the bundled dashboard default so opening WebUI from Android no longer changes WebUI's Official Hermes Dashboard setting from Auto-detect to Always show
REL-007 2026-06-22 Release Updated Android app version to 0.1.5 with versionCode 6; created debug build variant that displays app name as "Hermes DEBUG" to distinguish test builds from official releases; deployed to emulator for testing
BUG-010 2026-06-22 Data migration Fixed Issue 7 persistence: Added app startup migration that clears old dashboard URL from SharedPreferences on upgrade so users updating from pre-0.1.5 versions don't retain the stored dashboard URL that was previously being written to WebUI /api/dashboard/config; migration includes versioning for future data schema updates
BUG-011 2026-06-22 WebView Fixed Issue 5 cold-start workspace restore by persisting client-side route/history updates via WebView visited-history callbacks, so the app reopens the active Hermes session route after process death instead of falling back to a stale root URL that can show an empty workspace panel until manual re-selection
BUG-012 2026-06-22 WebView Added a resilient Issue 5 fallback: on the configured WebUI origin, if the workspace toggle is tapped from a blank root state and the panel still remains hidden, Android redirects to the last known trusted in-app session route so WebUI can rehydrate workspace state instead of no-oping
REL-008 2026-06-23 Release Updated Android app version metadata to 0.1.6 with versionCode 7; narrowed GitHub release automation to build and publish only hermes-webui-v0.1.6-github.apk, with tag/version validation before release upload
REL-009 2026-06-23 Release Added a separate manual GitHub Actions workflow (.github/workflows/play-aab.yml) that builds/signs a release AAB, renames it to hermes-webui-v<version>.aab, and uploads it as an artifact for manual Google Play Console upload until automated Play publishing is wired
REL-010 2026-06-22 Release Incremented Android app version metadata to 0.1.7 with versionCode 8 and documented release-note scoping so app releases summarize runtime/app changes only (excluding workflow-only and docs-only updates)
BUG-013 2026-06-22 UI Fixed Issue 8 by adding an Edit server URL recovery action to the native error screen so users can reopen Settings and correct a bad saved Hermes server URL without clearing app data
REL-011 2026-06-22 Release Updated Android app version metadata to 0.1.8 with versionCode 9
BUG-014 2026-06-22 Android compatibility Fixed WebUI update-notification generated summaries rendering as a clipped/non-scrollable sliver in Android WebView by restoring vertical page scrolling and re-capping the update summary panel's max-height: min(34vh, 260px) with the measured viewport height because Android WebView was collapsing that vh max-height to 0px
REL-012 2026-06-23 Release Wired .github/workflows/play-aab.yml to upload the signed hermes-webui-v<version>.aab artifact to the Google Play internal testing track using the configured Play service-account secret
REL-013 2026-06-23 Release Split GitHub APK builds into a separate github release build type with applicationIdSuffix = ".github" and versionNameSuffix = "-github" so sideloaded GitHub builds can install beside Google Play builds
BUG-015 2026-06-23 WebView Fixed Issue 9: added bounded auto-retry loop on server error — polls /api/status with 1 s → 2 s → 4 s → 10 s cap backoff for up to 60 s, auto-reloads when server comes back, shows "Reconnecting…" on the error screen, cancels cleanly on manual Retry / new navigation / settings save
REL-014 2026-06-23 Release Enhanced .github/workflows/release.yml GitHub Release notes: each release now includes explicit build metadata (version/tag, commit SHA, APK filename, SHA-256, workflow run URL) followed by generated GitHub notes, for both create and update paths
REL-015 2026-06-23 Release Consolidated release automation into numbered workflows: 1-orchestration-release.yml builds both signed artifacts, then fans out to 2-publish-github-apk.yml for GitHub Releases and play-store-beta-manual.yml for optional Google Play open testing
REL-016 2026-06-23 Release Added release workflow concurrency, exact-one artifact validation guards, and RELEASE.md operator guidance for manual publish retries
REL-017 2026-06-23 Release Added Play Store What's New changelog generation from the same GitHub generated release notes used for GitHub Releases
A-020-P1 2026-06-23 Settings Implemented Phase 1 of multi-server profile support (Issue #20): added native "Application Settings" entry point in Hermes WebUI sidebar below Help via WebView document-start shim, wired hermes://app/settings deep link handling to open native settings bottom sheet, injected phone-outline SVG icon for visual consistency, and validated with unit tests and emulator deployment
BUG-016 2026-06-23 Navigation Fixed back button closing app on first press: implemented "press back again to exit" pattern that requires two back presses within 2 seconds to close app when no WebView history is available, prevents accidental app closure from stuck states, and shows "Press back again to exit" toast on first back press
BUG-017 2026-06-23 Settings Tightened multi-server add flow: server profile creation now rejects duplicates by normalized URL and case-insensitive name, and the Add Server dialog explicitly prompts for an optional friendly name while preserving URL fallback when blank
REL-018 2026-06-23 Release Updated Android app version metadata to 0.1.9 with versionCode 10
DOC-002 2026-06-23 Docs Added Issue 10 execution planning docs: ISSUE_10_BACKGROUND_EXECUTION_WORKPLAN.md for staged delivery and ISSUE_10_STAGE0_DISCOVERY.md for Stage 0 contract/guardrail tracking
A-010-P1 2026-06-23 Lifecycle Completed Issue 10 Part A resume polish: quick background/resume disconnects now keep the last rendered WebView content visible briefly while bounded reconnect probing runs, fall back to the native error screen as soon as the grace window expires, and resume reconnect polling cleanly across app background/foreground transitions
A-010-P2 2026-06-23 Lifecycle Extended Issue 10 Part A with a bounded background reconnect hold: if the app backgrounds while auto-reconnect is already running, Android starts a temporary dataSync foreground service and ongoing "Reconnecting to Hermes" notification so the 60 s retry loop is not canceled immediately on onStop
DBG-001 2026-06-23 Troubleshooting Added opt-in debug logging capture toggle in native settings that runs as a foreground service with persistent notification, one-tap Stop action, and app-private logcat file capture for troubleshooting while minimizing app-switch diagnostics gaps
REL-019 2026-06-24 Release Manual orchestration releases now auto-bump appVersionName from the latest published tag before building, and Gradle derives versionCode from semantic version to keep release numbering monotonic without separate manual edits
REL-020 2026-06-24 Release Bumped Android app version metadata to 0.1.11 with derived versionCode 111 for the next GitHub + Play Store release
REL-021 2026-06-24 Release Bumped Android app version metadata to 0.1.12 with derived versionCode 112 for the next device test and GitHub + Play Store release
REL-022 2026-06-25 Release Updated checked-in Android app version metadata to match the currently published 0.1.15 / versionCode 115 release
REL-023 2026-06-25 Release Enabled release native debug symbol table packaging so Play Console can symbolicate native crashes and ANRs from bundled native libraries
REL-024 2026-06-25 Release Manual orchestration releases now commit the auto-bumped Android version and README release metadata back to main, then publish artifacts from that version-bump commit so local builds stay aligned with the latest published release
REL-025 2026-06-25 Release Synced checked-in Android app version metadata to the published 0.1.16 / versionCode 116 release so local builds match the latest internal testing build until the next automated bump
REL-027 2026-07-22 Release Updated orchestration fan-out to publish Play production by default (1 -> 2 + 3) and moved Play beta publishing into play-store-beta-manual.yml so it remains manual/optional for later testing
A-010-P3 2026-06-24 Lifecycle Enabled native SSE-backed reconnect transport for Issue 10: Android now probes lightweight Hermes WebUI /api/sessions/events for reconnect detection when the SSE toggle is on, falls back to /api/status polling when the stream is unavailable, and updates SSE support messaging to match current WebUI probe semantics
A-010-P4 2026-06-24 Notifications Extended the reconnect foreground service to consume authenticated Hermes WebUI /api/session/stream events for the active session when available, updating the ongoing background notification with summary/progress text and trusted tap targets instead of leaving it static
A-010-P5 2026-06-24 Notifications Broadened Issue 10 Part B into an opt-in ongoing background activity notification: the foreground service can now stay alive for trusted session routes while the app is backgrounded, reflects approval/failure/completion SSE events in addition to summaries, and exposes a user-controlled lock-screen redaction toggle for notification body text
A-010-P6 2026-06-24 Notifications Implemented Issue 10 Part C tray approvals: when Hermes emits approval_required with an approval_id, Android adds allow/deny notification actions, re-checks the queue head through /api/approval/pending, submits /api/approval/respond only for the matching active request, and rejects stale or duplicate taps fail-closed
BUG-018 2026-06-24 Settings Added a Hermes server-readiness preflight before first-run save, profile add/edit, and profile switching: Android now probes /api/status and rejects unreachable servers, HTTP/HTTPS mismatches, setup-mode responses, and non-Hermes pages instead of persisting a URL that traps the app on launch
BUG-019 2026-06-24 Settings Added inline settings validation state plus startup recovery for persisted servers: Android now surfaces “checking server” / error copy inside settings, and if the saved Hermes URL later becomes invalid or falls back into setup mode at launch, the app reopens settings immediately instead of driving WebView into a dead-end load
A-006 2026-06-24 Files Added direct camera capture support for WebView file uploads when the page requests image capture, using a temporary FileProvider-backed photo URI returned to the chooser callback
BUG-020 2026-06-24 Authentication Fixed Issue 12 self-hosted OIDC login by tracking the authorization request redirect_uri and keeping popup auth flows alive until that exact callback returns a code or error, instead of guessing from provider-specific URL patterns
BUG-021 2026-06-25 Settings Fixed Play tester startup recovery for auth-protected Hermes servers: /api/status 401/403 responses no longer masquerade as initialization failures when the root page fingerprints as Hermes, reconnect liveness treats authenticated status responses as reachable, and already configured servers can continue into WebView sign-in instead of being trapped by native startup validation
BUG-022 2026-06-25 Settings Stopped the first-run / add-server / edit-server preflight from blocking auth-protected Hermes deployments: a 401/403 from /api/status on a reachable host is now treated as a healthy sign-in-required server and is saved immediately with a "sign in on the Hermes page to finish" toast, instead of trapping the user behind the readiness check. Also surfaces the full HTTP diagnostic block (status, content-type, server header, body snippet) under the readiness error and adds a recovery dialog with "Open in browser" + "Add/Save/Switch anyway" escape hatches for the remaining failure modes
BUG-023 2026-06-25 Settings Added per-server "Don't ask again for this server" opt-out on the server-switch "Sign-in required" confirmation: once ticked, future switches to that URL skip the prompt and load straight into the Hermes sign-in page; the silenced URL is cleared automatically when the server profile is deleted
DBG-002 2026-06-25 Troubleshooting Debug-build only: auto-start logcat capture in MainActivity.onCreate before any other startup work via a new DebugLogBootstrap so a crash or permission denial during launch is still captured to the same debug-logs/ directory the foreground service manages; added a draggable floating "Save log" button overlay that one-tap shares the latest captured log via the Android share sheet. No-op on release builds
BUG-024 2026-06-26 Authentication Hardened Issue 12 OIDC routing: trusted authorization code-flow redirects whose redirect_uri returns to the configured Hermes WebUI origin now stay in-app even when the provider opens top-level pages, and verified callbacks load back into the primary WebView before dashboard Custom Tab matching can externalize them
BUG-025 2026-06-27 Settings Moved the injected WebUI "Application Settings" entry to anchor after the regular WebUI Settings item, with Help only as a fallback, and exported hermes://app/settings as a native recovery route for stuck WebView states
REL-026 2026-06-28 Release Added native app update alerts for both release channels: Play builds check Google Play in-app update availability, GitHub APK builds check the latest GitHub Release with What's Changed text plus direct APK download, and both alert through the existing Hermes updates notification channel
BUG-026 2026-07-03 WebView / Settings Fixed Issue 38 extension compatibility by replacing the aggressive Application Settings sidebar shim with a lightweight clone-based injector that preserves sidebar layout while avoiding extension-item suppression; hardened Android WebView viewport repair so Theme Creator no longer collapses to a sliver, and added a back-button safety ladder that opens native Application Settings before final app exit when no in-app history remains
BUG-027 2026-07-13 WebView Fixed Issue 44 by re-capping the expanded mobile approval panel's max-height: min(60dvh, 420px) with a measured pixel height on narrow Android WebView viewports, restoring the approval details and action buttons while preserving the intentional collapsed header-only dock
BUG-028 2026-07-20 Permissions Fixed Issue 49 regression on OEM Android 16 builds where ACCESS_LOCAL_NETWORK requests can deny without exposing a user-togglable grant path: LAN startup/save/switch flows now treat the permission prompt as best-effort and still attempt the first WebView load, while the existing ERR_LOCAL_NETWORK_PERMISSION_MISSING recovery path remains the enforcement fallback for platforms that do require the grant
BUG-029 2026-07-22 WebView Replaced the whack-a-mole viewport fix approach (20+ explicit CSS selectors) with a hybrid viewport polyfill using generic collapse detection: injects CSS custom properties (--vh, --dvh) with measured pixel values, applies baseline CSS for root/layout containers, and automatically finds/repairs ANY element collapsed by the Android WebView vh=0 bug using heuristics (tiny height + large scrollHeight + interactive content). Includes performance guards (MAX_REPAIRS=50, MIN_INTERVAL=100ms) and automatic cleanup when elements recover. Eliminates future Issue 6/44/53-style sliver UI regressions without needing new selectors
BUG-030 2026-07-24 Settings / Connectivity Added an opt-in VPN startup guard for Tailscale-addressed Hermes servers: when enabled, startup/save/switch loads for *.ts.net and Tailscale CGNAT/ULA endpoints require an active Android VPN transport, and the app attempts to open Tailscale (or VPN settings) before showing inline recovery guidance
BUG-031 2026-07-24 Updates Improved channel-specific update UX to avoid website/store-page detours: GitHub channel notifications now start direct APK download, prompt Android installer after completion, and clean up staged APKs after installer handoff; Play channel keeps using Google Play Core immediate in-app update flow
BUG-032 2026-07-24 Updates / Connectivity Fixed GitHub APK post-download install handoff by auto-launching installer only while Hermes is foregrounded and otherwise posting an install-ready notification that re-enters Hermes and starts install; also hardened VPN transport detection to check all networks and added an optional custom VPN app package fallback before Android VPN settings
BUG-033 2026-07-25 Settings / Connectivity Fixed VPN guard startup ordering so Tailscale server launch attempts open the VPN app before server readiness preflight can fail, and declared Android package-visibility queries so the searchable VPN app picker can find installed launcher apps on Android 11+
BUG-034 2026-07-25 Updates / Connectivity Refined VPN/update recovery UX: while VPN guard blocks a Tailscale server, Hermes keeps a short-timeout /api/status probe running every second across the Tailscale app handoff, then auto-resumes pending server load only after VPN transport and the server are both ready. It sends Tailscale's exported com.tailscale.ipn.CONNECT_VPN broadcast as a best-effort auto-connect trigger before app/settings fallback. GitHub update flow now preserves an explicit in-app Check -> Download -> Install button progression and no longer auto-launches installer immediately on foreground download completion.
BUG-035 2026-07-25 Connectivity Fixed Tailscale recovery: Hermes now asks Tailscale to connect while remaining visible, retries the pending server load automatically, and only opens Tailscale/VPN settings after a 10-second auto-connect grace period. It dismisses Settings and reloads Hermes once VPN plus server are ready, posts a ready notification when the fallback app remains foregrounded, and routes pull-to-refresh, Retry, reconnect events, and current-server taps through the VPN-aware loader.
BUG-036 2026-07-28 Android compatibility Fixed approval gates and quoted approval context repeatedly expanding and collapsing in Android WebView by retaining generic viewport repairs while the affected panel remains visible; the repair now refreshes on viewport changes and releases only after the panel is hidden.
BUG-037 2026-08-01 Authentication Fixed Issue 54 PocketID SSO usability: enabled AndroidX WebKit WEB_AUTHENTICATION_SUPPORT_FOR_APP on main/popup WebViews for passkeys, improved touch-to-focus handling so keyboard input reliably opens on code-entry forms, and temporarily enables third-party cookies only while an OAuth flow is active to preserve federated sign-in compatibility without broadening baseline cookie policy.
BUG-038 2026-08-01 UI Fixed Issue 55 light-theme system bar contrast by applying theme-aware status bar icon appearance at runtime (dark icons in light mode, light icons in dark mode), so Android status bar text/icons remain readable over the WebView shell background.
BUG-039 2026-08-09 Settings / Connectivity Fixed Issue 61 false "UNREACHABLE" classification by hardening server readiness probing: when /api/status fails with a transport exception, Android now probes the root page and accepts Hermes fingerprint matches as reachable before failing closed. Also improved loopback diagnostics so localhost/127.0.0.1 clearly explain that they target the Android device itself and should be replaced with a LAN host/IP.
BUG-040 2026-08-09 WebView Fixed Issue 59 blank main-pane text regression by refining the Android viewport polyfill chat-surface guard: the script now keeps descendant chat nodes excluded (to avoid per-message style churn) but allows the top-level .messages container itself to be repaired when collapsed by the WebView vh/dvh bug. This restores visible conversation content while retaining anti-flicker behavior.
BUG-041 2026-08-13 Authentication Replaced the incomplete Issue 66 one-navigation OAuth callback workaround with a bounded, testable return-flow state that covers popup callbacks, callback detection through either WebView callback ordering, multi-step 302/JavaScript redirects, and final-page completion. Same-origin OAuth returns stay in the primary WebView, callback URLs are never persisted, and dashboard routing resumes after the final Hermes page finishes. Installed the WebUI viewport polyfill at document start so post-login boot code cannot measure the vh/dvh root before Android repairs it.
BUG-042 2026-08-21 Background continuity Fixed Issue 75 SSE capability check on password/OIDC-protected servers: the /api/status, gateway-probe, and /api/sessions/events probes now attach the WebView session cookie (explicit parameter with a guarded CookieManager fallback, matching the authenticated /api/session/stream pattern), and HTTP 401/403 probe responses classify as the new SseCapability.AUTH_REQUIRED state — capability unverified, transport preserved — instead of NONE disabling the SSE transport with a failure toast
BUG-043 2026-08-23 WebView Fixed Issue 80 Clarify multiple-choice panel clipped behind the composer in Android WebView: the panel's max-height: clamp(180px, min(68vh, calc(100vh - 220px)), 420px) collapsed because WebView evaluates vh units as 0, and the generic collapse repair re-capped it to a viewport-derived height that ignored the app titlebar/composer and could also repair the intentionally zero-height .composer-flyout anchor, shifting the card down behind the composer. The viewport polyfill now re-caps the expanded approval/clarify panel to the measured space between the .app-titlebar bottom and the card's anchor-invariant bottom edge (which tracks the composer, not the panel height) minus an 8px gap, floored at the WebUI clamp's 180px minimum, via !important rules on the card and its inner scroller, and excludes the prompt cards plus the flyout anchor from generic repair so the measured geometry cannot oscillate. Verified on emulator via WebView DevTools/CDP injection of the real showClarifyCard() path: card renders at full 420px in portrait and landscape with all choices reachable and oversized content scrolling internally
UX-003 2026-08-23 WebView Issue 83: when a hardware keyboard is attached (Bluetooth/USB/host), a plain Enter in the composer now sends the message and Shift+Enter inserts a newline (desktop convention), instead of forcing a newline and requiring a Send tap. The Issue #34 Enter→newline shim now reads a live window.__hermesAndroidHardwareKeyboard flag at keydown time and defers to WebUI's native handling when set; MainActivity detects attachment via Configuration.keyboard/hardKeyboardHidden and re-syncs the flag on page load and onConfigurationChanged. Soft-keyboard behavior (Enter=newline) is unchanged. Verified on emulator: a trusted Enter sent the message (the agent replied), and forcing the flag off restored newline insertion
BUG-044 2026-08-23 Settings Fixed Issue 81 Settings screen crashing instantly on open in v1.0.24: the reconnect polling-interval description passed a R.plurals quantity-resource ID to stringResource, which throws Resources.NotFoundException during composition. Switched to pluralStringResource and added an instrumented SettingsScreenTest regression that renders the screen at quantities 1 and 2 and asserts both singular/plural descriptions, so the crash is caught by the androidTest lane before release
VOICE-001 2026-10-02 Voice PR #120 adds a new-request microphone gate, proposed hermes-app-foreground host signal, and trusted-route gesture-free playback. Pending trusted RECORD_AUDIO results can be granted while started before resume; results after stop are denied. Current WebUI does not consume the signal, so existing capture/playback shutdown and explicit re-arm are not established.