Isolated Hermes Webapp test — 26 October 2026
Requested deployment: alternate the production and test containers at the same network address and ports, without changing Nginx or any VPN container. This is a development-build test, not a claim of a released, manufacturer-built image.
Scope and packaging
- Production:
Hermes-Agent-Desktop; its image and data remain intact. - Alternate:
Hermes-Webapp-Test, imagelocal/hermes-webapp-test:e5f2b153. - All host-side test data, source, recipes, private clone requests and reports:
/mnt/nvme-storage/appdata/Hermes-Webapp-Test/(root mode0700). - Test data is a separate copy under
data/, mounted at the same/opt/data. Copies exclude every file namedvpn.auth; symlinks are not followed. Private clone requests contain credentials and must never enter Git. - Source pin:
e5f2b15300a3d04978e4c07cc64adc7bcf8e7b1cfrom the official NousResearch/hermes-agent repository. The publishedmain-desktopimage inspected beforehand was older and lacked Webapp support. - The stock Dockerfile omits Desktop source and does not build its Webapp.
Our packaging-only change admits
apps/desktopto the build context, runs upstreamnode apps/desktop/scripts/build-webapp.mjsin the frontend build stage and copies its output into the runtime image. The initial image did not patch Hermes application code. The later Safari compatibility fix below is a separate local application patch. Neither image is an upstream image. - Build instructions and output are retained in
build/; Docker manages the actual image layers in its own storage, not as loose image archives.
Network and operation
The alternate preserves the production container's existing shared network
namespace, resource limits, credentials, role-specific settings and restart
policy. The referenced VPN container is neither inspected nor changed.
The old dashboard service is disabled in the alternate container only;
Webapp binds its former internal port 9119. The existing external address
and proxy route therefore need no port change.
The clone merges the current copied container.env over Docker's older
environment snapshot. This is essential: the production container predates
the recent HERMES_MANAGED_DIR addition and uses overlay symlinks, whereas a
new container must use that persistent environment variable directly.
Only one Hermes container may run at a time. After both are provisioned:
/mnt/nvme-storage/appdata/Hermes-Webapp-Test/build/switch.sh test
/mnt/nvme-storage/appdata/Hermes-Webapp-Test/build/switch.sh production
The helper checks persisted active-agent counts and a fresh live gateway
heartbeat before stopping the current container. It never starts/stops the VPN
container. Docker's unless-stopped policy preserves a manual stop, but external
Unraid autostart/backup/update automation is a separate concern; never start
both instances through such automation.
The first copy is synchronized again while production is stopped, before the test's first start. Subsequent switches do not merge data. Chats, skills or configuration changed in the test stay in its data folder; rolling back starts the untouched production data. Shared remote services and SSH targets remain real systems, even though Hermes data is separate.
Removal
Stop and remove only Hermes-Webapp-Test, remove only its recorded local image
tag/ID, and then delete the explicit test root above. Remove its specifically
named Unraid template if registered. Do not run global image/volume/system
pruning or touch production appdata. Build cache is managed by Docker; the
current build uses the existing default builder, so global cache pruning is
not an acceptable test-cleanup action.
Acceptance
Before change: the existing thirteen-profile configuration/runtime audit passed 280 checks with no failures. Build, alternate-container startup, post-change audit and browser checks must be recorded separately after execution. Native Mac, Conduit, inference, TTS and notification delivery are not proven merely by a working browser page.
Execution record
- Build completed successfully. Image ID:
sha256:95a5bb76a1683292a3fe87464d62f17711b43afb796864aa759a8205f421a9aa. Pinned install stamp and compileddist-webapp/index.htmlchecked in a network-disabled, read-only temporary container. - Offline compatibility audit: 278/280 passed. The two remaining assertions
hard-code the old running container's
/etc/hermesoverlay symlinks. The new container intentionally uses the documentedHERMES_MANAGED_DIRenvironment bootstrap instead; this difference must not be called a successful symlink check. - Production was confirmed idle from fresh gateway metadata, stopped normally, and copied again before the test's first start. Its image and data were not migrated or edited.
- Test is running with the same 2-CPU/4-GiB limit and
unless-stopped; original container is stopped. No VPN-container operation was performed. - Direct LAN port
http://192.168.1.2:9120/and existing proxyhttps://hermes.casaderoll.de/redirect to sign-in. LAN sign-in page returned HTTP 200 and was visibly checked in the browser. Login uses the copied existing authentication, not a new password. - Manufacturer stage2 changes root
config.yamlto mode0640at boot. Restored0600in the test copy only after startup, matching the existing stricter audit. A subsequent manufacturer boot applies0640again; no upstream startup-code patch was added to conceal this behavior. The test data root remains private. Managed.envremains0600. - Startup briefly returned
gateway_not_ready/503, then reached sign-in normally. No restart loop was observed. - An attempt to emit filtered Hermes startup logs was refused by automatic approval review because filtering cannot guarantee removal of credentials. It was not retried indirectly; diagnosis proceeded through safe status fields and public source instead.
- User signed in normally. Authenticated browser UI showed all 13 bots Ready,
the Privat/KIT groups and existing chat previews. No chat message was sent.
The visible
syncthing-bladeMCP notification requests re-authentication; no credential reset or MCP repair was performed. - Post-start audit after restoring root config mode: 278/280 passed; only the
two old overlay-symlink assertions remain. Independently verified the actual
running container's
HERMES_MANAGED_DIR,get_managed_dir(), managed config keys and nonempty managed credential resolver. No credential values emitted. - Compared all fourteen root/profile/managed YAML files internally. Thirteen
match exactly. Root differs in the enabled Webapp plus manufacturer migration:
_config_versionand removal ofbrowser.extension_control. Official step 51→52 removes the old built-in browser tools/extension control in favor ofbrowser_exec; this is a substantive development-branch compatibility limit, not a claim that browser behavior is identical. Production files are intact. - Native Mac/Conduit behavior and actual model/audio/browser/plugin actions remain untested. This operation initiated no inference or delivery tests.
Safari Advanced-editor fix — 27 October 2026
Reproduced in Michael's actual Safari: Edit bot → Advanced unmounted the bot
pane with Can't find variable: requestIdleCallback. The public catalog's
prefetchCatalogWhenIdle() called idle APIs without checking availability.
Local patch: safari-fix/apply.py. Uses native idle callbacks when both scheduling and cancellation APIs exist; otherwise uses a cancellable 100-ms timeout. It changes speculative catalog prefetch only, not permissions, SOUL contents, model configuration or the native Mac application.
The build runs four targeted regression checks against the actual patched scheduler: native/fallback execution and cancellation. All four passed before renderer compilation. The checks use no network/model.
Image: local/hermes-webapp-test:e5f2b153-safari1, ID
sha256:45e0c9dfeff1d27a43ebf0ce9deaebaea16dcfb74f7debf9769563f2c19a56f8.
Source patch, tests, build log, updated build recipe and image ID stay under the
same test root. The previous unpatched image is retained for rollback; cleanup
must remove both test tags after removing the test container.
prepare-upgrade.py prepares private Docker create
requests from the current test container, preserving its environment,
mounts, ports, limits and restart policy. It does not recopy old production
data over newer test chats. Private requests stay mode 0600 on NAS, outside Git.
Only the idle test container was recreated; original Hermes and VPN containers
were not operated. Browser acceptance and the post-start audit are recorded
after the actual checks; compiled code alone is not Safari acceptance.
Actual Safari acceptance passed on the existing HTTPS proxy, with the existing
authenticated browser session: William → Edit → Advanced opened without the
previous requestIdleCallback/render error. Provider/model and capabilities
loaded; switching the capabilities tab from Skills to Tools exposed the SOUL.md
field in the native accessibility tree. Canceled the editor without saving.
No capabilities, avatar, model, SOUL or other bot setting was changed by the test.
A separate Safari tab was used to preserve the user's original working tab.
Existing open tabs need a reload to receive the new compiled asset hashes.
Post-start fleet audit is unchanged at 278/280: only the two documented legacy
/etc/hermes symlink assertions differ from this environment-based bootstrap.
The test runs with zero Docker restarts; original production remains stopped.