Commit Graph
100 Commits
Author SHA1 Message Date
nesquena-hermes 16a94ba0b3 Merge pull request #4475 from nesquena/release/stage-4393
Release v0.51.512 — RW (interrupted-turn user prompt no longer replays, #4393)
2026-06-18 22:27:21 -07:00
26f54b9972 docs: weekly contributor tally refresh + cherry-pick credit accuracy fix (#4473)
* docs: weekly contributor tally refresh (20260619)

Regenerated by scripts/regen_contributors.py --apply. Includes the source (e)/(f)
ship-signal accuracy fix that recovers systematically-undercounted cherry-picked
contributions (~77 contributors). 280 contributors / 1559 credits (was 263/1232).
Markers spliced, prose untouched, --verify clean, 0 double-counts.

* docs: align CONTRIBUTORS header prose with the 5-source credit algorithm

Addresses greptile P2: the header still described the old three-source union
(merged-PR list + CHANGELOG + Co-authored-by) but regen_contributors.py now adds
two more — ship-comment scans and absorb-commit scans — for five total. Updates
the prose to match what the script actually runs.

---------

Co-authored-by: nesquena-hermes <nesquena-hermes@users.noreply.github.com>
Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-18 22:05:37 -07:00
nesquena-hermes b5ece8adc6 Merge pull request #4472 from nesquena/release/stage-4468
Release v0.51.511 — RV (virtual transcript renders during programmatic scrolls, #4468)
2026-06-18 21:43:03 -07:00
nesquena-hermes 0498e0e345 Merge pull request #4471 from nesquena/release/stage-4453
Release v0.51.510 — RU (Kanban task workspace + dependency controls, #4453)
2026-06-18 21:27:39 -07:00
nesquena-hermes 17afa0b4bd Merge pull request #4466 from nesquena/release/stage-4456b
Release v0.51.509 — RT (gateway-cant-do-approvals notice, #4456)
2026-06-18 20:17:23 -07:00
nesquena-hermes 0ebb1e2ea7 Merge pull request #4464 from nesquena/release/stage-4448
Release v0.51.508 — RS (/model command works under reverse-proxy subpath, #4448)
2026-06-18 20:06:26 -07:00
nesquena-hermes d5e6a36a44 Merge pull request #4463 from nesquena/release/stage-4455
Release v0.51.507 — RR (jump-to-question button stays usable on mobile, #4455)
2026-06-18 19:51:44 -07:00
nesquena-hermes 42fbc67b82 Merge pull request #4462 from nesquena/release/stage-3879c
Release v0.51.506 — RQ (harden destructive workspace Git paths against repo-local execution, #3879)
2026-06-18 19:18:03 -07:00
nesquena-hermes 9e79fc3697 Merge pull request #4460 from nesquena/release/stage-4420b
Release v0.51.505 — RP (allow macOS Mail message: links in chat markdown, #4420)
2026-06-18 19:01:59 -07:00
nesquena-hermes 4a91b36c09 Merge pull request #4459 from nesquena/release/stage-4440b
Release v0.51.504 — RO (group OpenRouter/Nous models by vendor in model picker, #4440)
2026-06-18 18:56:53 -07:00
nesquena-hermes 671e929867 Merge pull request #4458 from nesquena/release/stage-4441b
test: cover archived webhook session projections (#4441)
2026-06-18 18:26:57 -07:00
nesquena-hermes 9c484b1bad Merge pull request #4457 from nesquena/release/stage-4439b
Release v0.51.503 — RN (process-wakeup turns no longer render as user messages, #4439)
2026-06-18 18:19:43 -07:00
nesquena-hermes c3041277d3 Merge pull request #4446 from nesquena/fix/test-flakes
Release v0.51.502 — RL (visibility toggle invalidates sidebar cache + de-flake node test timeouts)
2026-06-18 16:17:19 -07:00
nesquena-hermes b26c184bf5 Merge pull request #4445 from nesquena/release/stage-4438
Release v0.51.501 — RK (Ctrl/Cmd+, opens Settings, #4438)
2026-06-18 14:49:28 -07:00
nesquena-hermes fee8993332 Merge pull request #4444 from nesquena/release/stage-4434b
Release v0.51.500 — RJ (fix stuck-scroll on long sessions with dense tool blocks, #4434)
2026-06-18 14:31:33 -07:00
nesquena-hermes 8a32e68775 Merge pull request #4442 from nesquena/release/stage-4414
Release v0.51.499 — RI (archiving a parent hides its stranded child rows, #4414)
2026-06-18 14:18:38 -07:00
nesquena-hermes dbc7b317e7 Merge pull request #4436 from nesquena/release/stage-4432
Release v0.51.498 — RH (profile runtime env no longer clobbers core shell identity, #4432)
2026-06-18 13:20:08 -07:00
nesquena-hermes ad9a7edab0 Merge pull request #4433 from nesquena/release/stage-4410
Release v0.51.497 — RG (rollback checkpoint diffs no longer follow symlinks, #4410) [security]
2026-06-18 12:41:50 -07:00
nesquena-hermes 6f233d3a20 Merge pull request #4431 from nesquena/release/stage-4419b
Release v0.51.496 — RF (compact provider quota chip on narrow composer, #4419)
2026-06-18 11:56:48 -07:00
nesquena-hermes 6f699642d5 Merge pull request #4429 from nesquena/release/stage-4422
Release v0.51.495 — RE (suppress ERR_ABORTED console noise on SSE close, #4422)
2026-06-18 11:41:17 -07:00
nesquena-hermes 1a6fcc115b Merge pull request #4427 from nesquena/release/stage-4412c
Release v0.51.494 — RD (TLS-aware launcher health probes, #4412)
2026-06-18 11:20:44 -07:00
nesquena-hermes 67f81b60a2 Merge pull request #4426 from nesquena/release/stage-4417
Release v0.51.493 — RC (ignore malformed background-process wakeup events, #4417)
2026-06-18 11:12:06 -07:00
nesquena-hermes 8bd0b38abe Merge pull request #4425 from nesquena/release/stage-4418
Release v0.51.492 — RB (large context window preserved on session reload, #4248)
2026-06-18 10:46:13 -07:00
nesquena-hermes bc11cfe6d2 Merge pull request #4409 from nesquena/stage-4405
Release v0.51.491 — RA (rollback restore writes contained to workspace #4405)
2026-06-17 22:15:46 -07:00
nesquena-hermes f46a447dc3 Merge pull request #4408 from nesquena/stage-4372
Release v0.51.490 — QZ (large plain-text pastes become .md attachments #4372)
2026-06-17 22:12:03 -07:00
nesquena-hermes 9f14dd6686 Merge pull request #4407 from nesquena/stage-4402
Release v0.51.489 — QY (outline button no longer collides with scroll control #2124)
2026-06-17 21:58:19 -07:00
nesquena-hermes d5f9e98252 Merge pull request #4406 from nesquena/stage-4216
Release v0.51.488 — QW (rescue state.db user prompts before newer sidecar tail #4216)
2026-06-17 21:37:46 -07:00
nesquena-hermes cbf6f747b4 Merge pull request #4404 from nesquena/stage-4398
Release v0.51.487 — QX (multi-container Docker: staged source writable #4395)
2026-06-17 21:19:45 -07:00
nesquena-hermes 5ced430628 Merge pull request #4403 from nesquena/stage-4399
Release v0.51.486 — QV (archived cron runs stay hidden on state.db re-projection #4397)
2026-06-17 20:45:50 -07:00
nesquena-hermes f5f882b1dd docs: fairly count absorbed-but-closed contributor PRs (backfill @Isla-Liu trio) (#4401) 2026-06-17 20:08:08 -07:00
nesquena-hermes a6214d0927 Merge pull request #4400 from nesquena/stage-4394
Release v0.51.485 — QU (mobile: 44px hamburger + browser edge-swipe #4394)
2026-06-17 19:50:29 -07:00
nesquena-hermes 265786c2fe Merge pull request #4396 from nesquena/stage-4223
Release v0.51.484 — QT (collapsible paused cron section #4026)
2026-06-17 19:18:42 -07:00
nesquena-hermes f5efa1f89f Merge pull request #4392 from nesquena/fix-gateway-sync-flake
test: fix recurring gateway_sync StopIteration flake (show_cli_sessions isolation)
2026-06-17 18:33:08 -07:00
nesquena-hermes f5512aa507 Merge pull request #4389 from nesquena/stage-4346-cluster
Release v0.51.483 — QS (virtual-scroll scroll-jump fixes #4367 + #4368)
2026-06-17 18:04:14 -07:00
nesquena-hermes a34bcc16c1 Merge pull request #4388 from nesquena/stage-4386
Release v0.51.482 — QR (archived cron sessions stay hidden #4385)
2026-06-17 17:46:55 -07:00
nesquena-hermes 9a66a18c44 Merge pull request #4382 from nesquena/stage-3628
Release v0.51.481 — QP (gateway start/stop/restart controls #3628)
2026-06-17 15:18:23 -07:00
nesquena-hermes 41d51ecbcf Merge pull request #4379 from nesquena/stage-4353
Release v0.51.480 — QO (inline PDF preview renders all pages #4353)
2026-06-17 14:14:18 -07:00
nesquena-hermes 4f776a12fd Merge pull request #4376 from nesquena/stage-3567
Release v0.51.479 — QN (named context blocks in the composer #2543)
2026-06-17 13:25:10 -07:00
nesquena-hermes 0d202e6f77 Merge pull request #4374 from nesquena/stage-3576
Release v0.51.478 — QM (read-only LLM Wiki browser in Insights #2941)
2026-06-17 12:56:59 -07:00
nesquena-hermes d59cae5984 Merge pull request #4371 from nesquena/stage-4364
Release v0.51.477 — QL (gateway runs-API routing now opt-in #4362)
2026-06-17 10:52:43 -07:00
nesquena-hermes bb08d36588 Merge pull request #4370 from nesquena/stage-brick
Release v0.51.476 — QK (cross-provider model-pick #4363 + non-git update-status #4356)
2026-06-17 09:55:32 -07:00
nesquena-hermes 502f806d5b Merge pull request #4352 from nesquena/stage-3510
Release v0.51.475 — ElevenLabs TTS engine (#3510)
2026-06-16 23:08:13 -07:00
nesquena-hermes 27005e3bbb Merge pull request #4351 from nesquena/stage-4348-v2
Release v0.51.474 — reconcile WebUI session source flags (#4348)
2026-06-16 22:21:02 -07:00
nesquena-hermes 8d0a3035c4 Merge pull request #4350 from nesquena/stage-4341
Release v0.51.473 — clean cancelled user context chains (#4341)
2026-06-16 22:08:05 -07:00
nesquena-hermes fa21a4bb81 Merge pull request #4349 from nesquena/stage-4339
Release v0.51.472 — paste image + text together (#4339)
2026-06-16 21:47:26 -07:00
nesquena-hermes ae8d56080f Merge pull request #4347 from nesquena/stage-4340-v2
Release v0.51.471 — searchable settings (#3850)
2026-06-16 21:30:33 -07:00
nesquena-hermes f863d628a9 Merge pull request #4344 from nesquena/fix/4343-virtualization-default-off
Release v0.51.470 — transcript virtualization experimental/off by default (#4343)
2026-06-16 20:52:07 -07:00
nesquena-hermes 6340529bce Merge pull request #4342 from nesquena/mega-4325
Release v0.51.469 — resolve transcript virtualization freeze/jump + add opt-out (#4325)
2026-06-16 19:51:13 -07:00
nesquena-hermes ce272d9cd5 Release v0.51.468 — onboarding OAuth single-flight (#3970) (#4338)
Release v0.51.468 — onboarding OAuth single-flight (#3970)
2026-06-16 17:31:44 -07:00
nesquena-hermes 933446c5c5 test(#4331): CI coverage for model-picker in-place overflow reveal path (#4333)
test(#4331): CI coverage for model-picker in-place overflow reveal path
2026-06-16 16:57:52 -07:00
nesquena-hermes ed8ede64b2 Merge branch 'master' into pr/4331-inplace-overflow-tests 2026-06-16 16:53:24 -07:00
nesquena-hermes 7224e76525 Merge pull request #4337 from nesquena/stage/4228-symlink-tree
Release v0.51.467 — symlinks in workspace file tree (#4228)
2026-06-16 16:39:04 -07:00
nesquena-hermes ede9279c88 Release v0.51.466 — refresh active WebUI transcript on session events (#4208) (#4335)
Release v0.51.466 — refresh active WebUI transcript on session events (#4208)
2026-06-16 15:46:19 -07:00
nesquena-hermes 67b1c85130 Release v0.51.465 — reject embedded null byte in remote workspace candidate (#4326) (#4334)
Release v0.51.465 — reject embedded null byte in remote workspace candidate (#4326)
2026-06-16 15:34:16 -07:00
nesquena-hermes bfd9436128 Release v0.51.464 — scannable model picker: collapsible provider groups (#4279) + phantom-providers fix (#4324) (#4332)
Release: collapsible model-picker provider groups + phantom-providers fix (#4279, #4324)
2026-06-16 15:13:33 -07:00
nesquena-hermes e8ae4a1de8 Release v0.51.463 — harden remote POSIX workspace trust boundaries (#3664) (#4322)
Release v0.51.463 — harden remote POSIX workspace trust boundaries (#3664)
2026-06-16 12:53:39 -07:00
nesquena-hermes a8840e2f4e Release v0.51.462 — keep session sidebar visible on slow loads (#4167) (#4321)
Release v0.51.462 — keep session sidebar visible on slow loads (#4167)
2026-06-16 11:49:38 -07:00
nesquena-hermes 267342e9f2 Release v0.51.461 — credential pool fallback for custom providers (#4247) (#4320)
Release v0.51.461 — credential pool fallback for custom providers (#4247)
2026-06-16 11:26:28 -07:00
nesquena-hermes 8fff266aaa Release v0.51.460 — recognize command STT providers in voice probe (#4312) (#4318)
Release v0.51.460 — recognize command STT providers in voice probe (#4312)
2026-06-16 10:27:46 -07:00
nesquena-hermes b73e18cc23 Release v0.51.459 — normalize repair-merged user context (#4089) (#4317)
Release v0.51.459 — normalize repair-merged user context (#4089)
2026-06-16 10:15:12 -07:00
nesquena-hermes dea606bf24 Release v0.51.458 — O(D²) context-backfill, prevents server hang (#4314) (#4316)
Release v0.51.458 — O(D²) context-backfill, prevents server hang (#4314)
2026-06-16 10:06:07 -07:00
nesquena-hermes 971b89bcf6 Release v0.51.457 — gateway watcher non-blocking startup (#4297) (#4315)
Release v0.51.457 — gateway watcher non-blocking startup (#4297)
2026-06-16 09:54:28 -07:00
nesquena-hermes 232963791f Merge pull request #4250 from nesquena/contributors-refresh-20260615
docs: weekly contributor tally refresh (20260615)
2026-06-16 09:02:29 -07:00
nesquena-hermesandnesquena-hermes 44032ab5ab Release PQ (v0.51.456): start.sh detects an already-running server (#4308) (#4309)
* Release PQ (v0.51.456): start.sh detects an already-running server (#4308)

start.sh now probes /health (best-effort, 2s, curl/wget) before launching
bootstrap.py; if a server already answers it prints a clear 'already running +
how to restart' message and exits 0 instead of spawning a child that fails to
bind. Brings the detached start.sh path to parity with ctl.sh's double-start
refusal. Container path (server.py direct) unaffected.

Co-authored-by: tomas-forgac

* gate fix (Codex CORE): parse $@ for --host/--host=/positional port in the start.sh preflight

bootstrap.py accepts a positional port + --host that override the env defaults;
the preflight probed env/defaults only, so './start.sh <altport>' while a server
ran on the env-default port falsely reported 'already running' and refused the
legitimate launch. Now scans $@ the same way bootstrap.py's argparse does before
building the /health probe URL.

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-16 07:24:50 -07:00
50e7589a92 Release PP (v0.51.455): age-gate stale background-process completions (#4306, #4029) (#4307)
_drain_webui_process_notifications now drops (consumes, never requeues) a
completion whose completed_at is older than a configurable cap
(HERMES_WEBUI_STALE_COMPLETION_MAX_AGE_SECONDS, default 6h; 0 disables).
Fail-open: events without completed_at (legacy agent) are never dropped.
Additive (+192/-0). Closes #4029.

Co-authored-by: allenliang2022

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-16 06:58:38 -07:00
fadb4fdf32 docs(README): correct server stop instructions — start.sh runs detached, not foreground (#4303) (#4304)
start.sh exec's bootstrap.py without --foreground, which double-forks into a
detached daemon, so it belongs in the 'find PID + kill' row, not the Ctrl-C
foreground row. Docs-only, no version stamp.

Co-authored-by: tomas-forgac

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-16 03:40:26 -07:00
dc90ec9be4 Release PO (v0.51.454): complete the Japanese UI translation (#4301) (#4302)
Translated 69 remaining English fallbacks in the ja locale block to parity
with English; proper nouns/abbreviations intentionally left as-is. Values only,
no key changes (key parity verified). 265 locale/i18n tests pass.

Co-authored-by: koshikai

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 23:00:54 -07:00
ecf637c66d Release PN (v0.51.453): bridge approval controls to the gateway runs API (#4229, #4203) (#4299)
Approve/deny on a remote-gateway backend now forwards to the gateway runs API
(run_id server-derived, existing auth+CSRF preserved, capability-probed + 60s
cached). Non-gateway/local approval path unchanged — relay only fires when a
session has an active gateway run (_STREAM_RUN_IDS). Old gateways get a clear
upgrade message instead of a silent no-op.

Co-authored-by: rodboev

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 22:25:24 -07:00
2cc2c80074 Release PM (v0.51.452): reject symlinked memory-file writes (#4242) (#4298)
Refuse to write memory (MEMORY.md/USER.md/SOUL.md) through a symlinked target
file, extending the skills/plugins symlink-rejection hardening (#4217/#4234/#4240).
Parent-dir symlink intentionally allowed per maintainer decision (only the
concrete target file is guarded). + 3 regression tests.

Co-authored-by: zapabob

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 22:10:27 -07:00
nesquena-hermesandnesquena-hermes 2fa67ad699 Release PL (v0.51.451): show named-profile external sessions in the all-profiles list (#4067) (#4296)
* Release PL (v0.51.451): show named-profile external sessions in the all-profiles list (#4067, #4065)

All-profiles session enumeration now scans across profiles only when the
request explicitly asks (all-profiles view); cross-profile import resolves
to the active profile's state.db for unqualified requests (foreign id -> 404),
mirroring the #3982/#3991 detail/export profile-scoping gate.

Co-authored-by: rodboev

* gate fix (Codex CORE + Opus): close cross-profile leak on the import_cli refresh/existing-session branch

The already-imported branch of _handle_session_import_cli forced allow_all_profiles=True
whenever the globally-stored session carried a profile, with no active-profile visibility
gate — so an unqualified request from profile A could read/refresh a session imported under
profile B's live state.db (both advisors reproduced the foreign-transcript leak). Now gated
exactly like the /api/session detail + export endpoints: unqualified requests require
_session_visible_to_active_profile; explicit all_profiles requires a matching profile.
+ 3 regression tests.

* gate fix (Codex SILENT, re-gate): thread source_filter into the all-profiles CLI scan (models.py:4113)

The all-profiles branch keys its cache on source_filter but called
_load_cli_sessions_uncached without it, so /api/sessions?all_profiles=1 with a
source filter returned every-source sessions under a filtered key. + regression test.

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 21:55:31 -07:00
792adc653a Release PK (v0.51.450): preserve custom provider namespace prefixes in model normalization (#4278) (#4294)
* Release PK (v0.51.450): preserve custom provider namespace prefixes in model normalization (#4278)

Token-boundary check in _normalize_provider_id (exact token or prefix
followed strictly by ':' or '/'); explicit aliases for hyphenated
first-party names (google-gemini, google-ai-studio, claude-code); bare-prefix
family detection no longer fires on namespaced model IDs.

Closes #4278. Supersedes #4280 (rodboev) whose '-' boundary re-collapsed
claude-relay->anthropic.

Co-authored-by: b3nw

* gate fix (Codex CORE): add openai-api to _PROVIDER_ALIASES so the :/ token boundary doesn't drop the registered openai-api provider id to '' (would silently repair OpenAI API sessions to the profile default) + 2 regression tests

* gate fix (Opus): gate the streaming send-path bare-prefix loop on '/' not in model so custom namespaces (gemini_cli/, gpt_proxy/, claude-relay/) survive the send path — same #4278 collision Opus found in _apply_profile_provider_context_to_streaming_model; + regression test + CHANGELOG

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 21:06:08 -07:00
nesquena-hermesandnesquena-hermes 796edf56d3 test-infra: per-process test port for true parallel-run safety (fixes the local ConnectionRefused cascade) (#4292)
* test-infra: per-process free port + port-keyed state dir (true parallel safety)

ROOT CAUSE of the cascade-under-concurrency: the test port was a fixed
md5(repo_path)%10000, so two concurrent pytest runs from the SAME worktree (e.g.
a dev's suite + a Codex/Opus gate running ./scripts/test.sh to verify) bound the
SAME port — and the session-fixture's _kill_port_owner(TEST_PORT) at setup reaped
the OTHER run's server mid-suite, cascading every HTTP test with ConnectionRefused.

FIX: when HERMES_WEBUI_TEST_PORT isn't pinned, _auto_test_port now grabs a FREE
OS-assigned ephemeral port per process (bind :0, read back, release). The state
dir name is keyed on that port too (webui-test-<repohash>-<port>), so concurrent
runs get fully distinct port + state dir + db — no shared resource, no mutual kill.

VERIFIED: two FULL suites run concurrently from the same worktree → BOTH
9150 passed / 0 failed, 0 ConnectionRefused, 0 dirs leaked into ~/.hermes. This is
the parallel-safe world: Codex + Opus gates + local suite can all run at once.

* test-infra: address Codex CORE findings on the per-process-port fix

1. Don't _kill_port_owner an AUTO (unpinned) port: fuser -k on an ephemeral-range
   port can match a client socket or a concurrent run's process, killing the wrong
   thing. Track TEST_PORT_PINNED; only reap pinned ports (which may be stale).
   Auto ports are freshly confirmed-free, so nothing to reap.
2. Cap auto port at <=64535 so offset-deriving tests (test_server_port_exclusivity
   adds up to +905 to TEST_PORT) can't overflow past 65535 (OverflowError).

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 20:13:00 -07:00
1286ea7b3d Release PJ (v0.51.449): stop recovered turns replaying into later context (#4283) (#4291)
* stage-4286: stop recovered turns replaying into later context (fixes #4283)

* Release PJ: stop recovered turns replaying into later context (#4283)

rodboev's #4286. Codex SAFE + Opus net-positive-and-safe + 9152/0 clean suite.
Single-row prefix allowance gated to _recovered+role==user+offset0.

Co-authored-by: rodboev <rodboev@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 20:02:57 -07:00
nesquena-hermesandnesquena-hermes ee7fda019f test-infra: hard-isolate test state from production + resilient teardown (#4289)
* test-infra: hard-isolate test state from production + robust teardown

Two production-safety fixes to tests/conftest.py + tests/_pytest_port.py:

1. TEST_STATE_DIR now defaults under the OS temp dir (/tmp/hermes-webui-tests/)
   instead of HERMES_HOME/webui-test-<hash> — which had been writing test state
   INTO the real ~/.hermes/profiles/webui/ (144 leaked webui-test-* dirs found).
   Added a hard-stop guard: refuse to run if the resolved test state dir is
   inside the production Hermes home, so a misconfigured env can never let tests
   wipe/clobber production profiles/sessions/credentials.

2. _rmtree_retry is now resilient on Linux (was a bare shutil.rmtree): retries
   transient OSError [Errno 39] Directory-not-empty races (a background daemon
   writing into the tree during teardown) + a final ignore_errors sweep, and
   warns instead of raising so a benign cleanup race can't spuriously ERROR a
   test (the failure mode seen near #4283 context-reconciliation tests).

* test-infra: anchor production-proximity guard on literal ~/.hermes (not $HERMES_HOME)

The first guard compared TEST_STATE_DIR against $HERMES_HOME, which is overridden
to TEST_STATE_DIR itself during a run -> false-tripped collection (6 modules) with
'test dir X is inside production home X'. Now anchor on the literal user-home
~/.hermes and explicitly allow any dir under the OS temp root, so the temp default
never trips while a real ~/.hermes target still hard-stops.

* test-infra: close TMPDIR-under-~/.hermes guard hole (Codex)

Codex flagged: the 'temp is always allowed' exception could be exploited if
TMPDIR itself is set under ~/.hermes — then a 'temp' path is a production path and
_under_temp would wrongly suppress the guard. Now the temp exception only holds
when the temp root is itself OUTSIDE the production home. Verified: normal /tmp
default allowed; TMPDIR=~/.hermes/tmp now trips the guard.

* test-infra: mirror production-proximity guard into _pytest_port.py (Opus defense-in-depth)

* test-infra: remove ~/.hermes production-path fallbacks from 4 test files (Codex)

Codex's kickback found the real gap: test_sprint5, test_sprint45,
test_onboarding_existing_config, test_regressions each hardcoded a
~/.hermes/webui-mvp-test fallback for their state dir (used when running
standalone or if the env var is unset). Repointed all to the shared isolated
TEST_STATE_DIR from _pytest_port (temp-rooted). Also refreshed stale
~/.hermes/webui-mvp-test references in test_gateway_sync comment + ARCHITECTURE.md.
Now ZERO production-path fallbacks remain in tests.

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 19:04:16 -07:00
32458c442b Release PI (v0.51.448): fix blank transcript viewport regression (#4277) (#4288)
* stage-4281: restore virtualized transcript viewport anchors (fixes #4277, #3714 regression)

* Release PI: fix blank transcript viewport regression (#4277, #3714 follow-up)

rodboev's #4281. Codex SAFE + Opus net-positive-and-safe + 20 virtualization/
scroll tests green. Viewport-anchor restore + blank-state recovery.

Co-authored-by: rodboev <rodboev@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 18:43:14 -07:00
nesquena-hermesandnesquena-hermes 70b7cf865c Release PH (v0.51.447): toolset selector shows active-profile defaults (#3100) (#4287)
* stage-3632: surface active-profile toolset defaults in selector (#3100)

* Release PH: toolset selector shows active-profile defaults (#3100) — CHANGELOG

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 18:00:13 -07:00
nesquena-hermesandnesquena-hermes 113d6d6bb8 test(gateway-watcher): make profile-switch tests hermetic against auth-state bleed (#4284)
test_profile_switch_restarts_watcher_best_effort and
test_profile_switch_response_survives_watcher_restart_failure passed in isolation
but failed in the full suite (HTTP 409 != 200) when an auth-enabling sibling test
left is_auth_enabled() True in-process: /api/profile/switch -> build_profile_cookie
-> sign_profile_cookie_value raises (no session) -> RuntimeError -> 409. Added an
autouse fixture forcing api.auth.is_auth_enabled -> False for this module (these
tests exercise watcher restart, not auth). Verified: full suite 9139 passed, 0
failed. Test-only.

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 17:56:05 -07:00
0b0e2a3213 Release PG (v0.51.446): model picker show-all overflow for large catalogs (#3691) (#4282)
* stage-3712: model picker show-all overflow + fix per-row count leak (#3691)

Self-rebased rodboev's #3712 onto master. FIX (Nathan-caught): the per-row
provider chip stripped the '(N of M)' overflow count — that count belongs on the
group heading only, and was reading as nonsense post-expand (row 30 showing
'15 of 30'). Updated test to assert heading-carries-count + rows-do-not.

Co-authored-by: rodboev <rodboev@users.noreply.github.com>

* stage-3712: + dedupe overflow expand (Codex SILENT) — reuse existing injected option

Codex caught: select hidden overflow model from search → reopen → Show all could
duplicate the row (_appendOverflowOptionsToGroup blindly appended every extra
model without checking the select for an already-injected option). Now moves/reuses
an existing same-value option instead of re-creating it.

* stage-3712: + fix expanded-heading double-count (Opus) — strip decoration, count rendered rows

Opus caught: post-expand the heading showed 'Nous (2 of 4) (4)' (appended its own
count onto the already-decorated backend label) and used modelCount (incl hoisted-
configured) vs rendered rows. Now strips the '(N of M)' suffix when expanded +
counts groupRows.length. Test asserts no double count on out[expanded].

* stage-3712: + include extra_models in Settings/Cron/Profile/Aux native selectors (Codex CORE)

Codex caught: the server overflow split moves models>15 into extra_models for ALL
providers, but the 4 native <select> builders in panels.js (settingsModel:6690,
cronFormModel:1112, profileFormModel:5784, _auxProviders:8287) read g.models only
— silently dropping the overflow tail for large providers. Now concat
models+extra_models at all 4 sites. Test guard added.

* Release PG: model picker show-all overflow for large provider catalogs (#3691)

Self-rebased rodboev's #3712 onto v0.51.445; full browser-tested (desktop+mobile,
before/after) + Nathan screenshot-approved. 4 gate-caught issues fixed inline:
per-row count leak (Nathan), overflow-expand dedup (Codex), heading double-count
(Opus), and native Settings/Cron/Profile/Aux selectors dropping the overflow tail
(Codex CORE). Codex SAFE + Opus SHIP + 41 picker tests green.

Co-authored-by: rodboev <rodboev@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 17:16:36 -07:00
40591f146f test(#3664): Windows pytest-harness batch #3 (#4274) (#4276)
rodboev test-only #4274 (test_issue609, test_sprint3, + 2 others). Linux
assertions stay at full strictness. 63 tests pass. No version stamp (tests-only).
Note: #4273 was NOT included — it touches api/workspace.py runtime (home-expansion
in the blocked-roots boundary), needs a separate full gate.

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 15:57:18 -07:00
1bf2ef9f5e Release PF (v0.51.445): scope gateway watcher to active profile (#2848) (#4275)
* stage-3629: scope gateway watcher to active profile (profile-keyed registry), rebased onto master

* stage-3629: + stop-race-safe subscribe() (Codex CORE) + regression test

Codex caught a TOCTOU between get_watcher() and subscribe(): a watcher reaped as
subscriber-free during a concurrent profile switch left a late subscriber's queue
without the None sentinel -> SSE loop hangs open (keepalives, no events). Opus
independently found the same race (rated follow-up). subscribe() now checks
_stop_event under _sub_lock after appending and self-enqueues the sentinel.
test_subscribe_after_stop_gets_sentinel_immediately pins it.

* stage-3629: + reconnect gateway SSE to new profile on switch (Codex CORE #2)

Second Codex finding: after a profile switch this tab's _gatewaySSE stayed
subscribed to the PREVIOUS profile's watcher (switchToProfile never restarted it;
the probe reattach is gated on !_gatewaySSE which is false while the old ES is
open). switchToProfile() now calls startGatewaySSE() after S.activeProfile is set
— it closes the old ES + reconnects with the new profile cookie, self-gating on
_showCliSessions.

* Release PF: scope gateway watcher to active profile (#2848)

rodboev's #3629, re-pushed to fix both bounce findings (client SSE reconnect +
singleton→profile-keyed registry). Two Codex CORE races caught + fixed inline:
(1) stop/subscribe sentinel race, (2) tab's own SSE staying on the old profile
after switch. Codex SAFE + Opus SHIP (architecture) + gateway-watcher tests green.

Co-authored-by: rodboev <rodboev@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 15:41:21 -07:00
fe62f445cf test(#3664): Windows pytest-harness batch #2 (#4263, #4266) (#4272)
Two more rodboev test-only PRs continuing #3664 Windows-harness path
normalization (test_bootstrap_python_selection, test_issue513_wsl_autostart,
test_title_aux_routing). Linux assertions stay at full strictness. Codex SAFE +
full suite 9114 green. No version stamp (tests-only).

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 14:56:31 -07:00
nesquena-hermesandnesquena-hermes 3323b9120b docs(changelog): restore v0.51.439-444 release headings (#4271)
Same-day releases (OZ/PA/PB/PC/PD/PE) cut each stage before the prior merged, so
sequential squash-merges collapsed their entry content under one heading and
dropped the per-version ## [v0.51.NNN] separators (changelog jumped to 438). All
entry text was intact; this re-inserts the 439-444 headings to match git tags +
moves the tests-only #3664 note to [Unreleased] (no tag). Docs-only.

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 14:51:18 -07:00
b875db776e Release PE (v0.51.444): invalidate sidebar session-list cache on WAL + settings updates (#4268) (#4270)
* stage-4268: invalidate sidebar cache on WAL + settings updates (#4268)

* Release PE: invalidate sidebar session-list cache on WAL + settings updates (#4268)

rodboev's #4268 (the sidebar-cache fix split out of #4133). Adds state.db-wal +
SETTINGS_FILE to _session_list_cache_source_stamp so uncommitted-WAL writes and
settings changes refresh the cached /api/sessions list. Codex SAFE + Opus SHIP
+ 9 cache tests green.

Co-authored-by: rodboev <rodboev@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 14:47:10 -07:00
2a3baa71b8 Release PD (v0.51.443): [security] scope session by-id reads + exports to active profile (#3982, #3991) (#4269)
* stage-3982-3991: [security] scope session detail-reads + exports to active profile (paired, re-cut onto v0.51.442, conflict-resolved properly)

* Release PD: [security] scope session by-id reads + exports to active profile (#3982, #3991)

Paired Hinotoi-agent security PRs, re-cut onto v0.51.442 (avoided the stale-base
revert of the #4171 passkey gate that Codex caught). Both /api/session and
/api/session/export now apply _profiles_match→404. Codex SAFE + Opus SHIP +
49 tests green; passkey gate verified intact.

Co-authored-by: Hinotoi-agent <Hinotoi-agent@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: Hinotoi-agent <Hinotoi-agent@users.noreply.github.com>
2026-06-15 14:22:47 -07:00
4d90577e25 Release PC (v0.51.442): [security] require auth for passkey enrollment (#4171) (#4267)
* stage-4171: [security] require auth for passkey enrollment, rebased onto master

* Release PC: [security] require auth for passkey enrollment (#4171)

Self-rebased Hinotoi-agent's #4171 onto v0.51.441; Nathan-approved security
posture. Gates the first-passkey bootstrap like first-password onboarding
(loopback/private or explicit opt-in; remote rejected; socket-based locality,
no header spoof). Codex SAFE + Opus SHIP + 17 passkey tests green.

Co-authored-by: Hinotoi-agent <Hinotoi-agent@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: Hinotoi-agent <Hinotoi-agent@users.noreply.github.com>
2026-06-15 13:56:30 -07:00
4817e3a6ab Release PB: honest notification-permission controls (#4118) (#4265)
ai... rodboev's #4133, notification-feature ONLY (dropped the unrelated
'invalidate sidebar cache on WAL' commit — that's a separate good fix to split
out). Button now reflects live Notification.permission instead of silent no-op.

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 13:42:46 -07:00
e47f685b89 Release PA (v0.51.440): advanced per-model options + auxiliary model routing (#3097) (#4264)
* stage-3097: advanced model options (re-push fixes both no-ops), rebased onto master

* Release PA: advanced per-model options + auxiliary model routing (#3097)

ai-ag2026's #3097, re-pushed to fix both prior silent no-ops:
- base_url no longer clobbered (advanced applied after resolver write)
- extra_body now reaches the agent via request_overrides (+ cache-key); main
  modal hides unsupported timing fields (aux-only). Functionally verified live
  (gear→modal→save→persists). Codex SAFE + Opus SHIP + suite green.
Note: also adds 3 aux task slots (kanban_decomposer/profile_describer/triage_specifier).

Co-authored-by: ai-ag2026 <ai-ag2026@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: ai-ag2026 <ai-ag2026@users.noreply.github.com>
2026-06-15 13:16:34 -07:00
2b68fe049d Release OZ (v0.51.439): Insights dashboard polish (#766) (#4262)
* stage-3937: dashboard CSS polish, rebased onto v0.51.438 (resolved #3634 conflict + dropped dead insights_model_team keys)

* Release OZ: Insights dashboard polish (#766)

Self-rebased rodboev's #3937 onto v0.51.438 (resolved conflict with shipped
#3634, dropped dead insights_model_team keys — matches the PR's own test).
CSS-only polish. Codex SAFE + Opus SHIP + insights tests green.

Co-authored-by: rodboev <rodboev@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 12:54:22 -07:00
5a316b7ac4 test(#3664): Windows pytest-harness compatibility (batch: #4254/4255/4256/4257/4259) (#4261)
* stage-3664: Windows pytest harness hardening (test-only batch #4254/4255/4256/4257/4259)

* test(#3664): Windows pytest-harness compatibility batch

Combines 5 rodboev test-only PRs (#4254/#4255/#4256/#4257/#4259), all under tests/.
Linux assertion paths preserved at full strictness; relaxations + new markers are
Windows/no-fork gated. Codex SAFE + Opus SHIP + changed tests green (cascade-only
full-suite noise is the box artifact). No version stamp (tests-only, Nathan rule).

Co-authored-by: rodboev <rodboev@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 12:42:33 -07:00
b01f3d5930 Release OY (v0.51.438): model cost/health comparison table on Insights (#691) (#4260)
* stage-3634: static model-health comparison table on Insights (#691, rodboev)

* stage-3634: model-health table + pt i18n keys + per-locale test (Codex fix)

* Release OY: model cost/health comparison table on Insights (#691)

Self-rebased rodboev's #3634 onto v0.51.437; Nathan-approved screenshot;
full Codex+Opus+suite gate. Codex fix applied: added the 4 insights_model_health_*
keys to the pt locale (was English-fallback) + tightened the i18n test to a
per-locale check (was a weak count>=8).

Co-authored-by: rodboev <rodboev@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 12:12:16 -07:00
cdcede8ce7 Release OX (v0.51.437): blur composer on Escape for j/k nav (#3952) (#4258)
* stage-3955: blur composer on Escape for j/k nav + IME guard (Opus nit)

* stage-3955: update test to match IME-guarded blur branch

* Release OX: blur composer on Escape for j/k message nav (#3952)

Self-rebased TomBanksAU's #3955 onto v0.51.436; full Codex+Opus+suite gate.
Escape now blurs the focused composer so j/k session-nav works, after higher-
priority Escape actions run; dropdown-Escape stops propagation; IME-composition
guarded (Opus nit). Also restored the v0.51.434/435 CHANGELOG headings that an
earlier batch left folded under v0.51.436 (hygiene fix).

Co-authored-by: TomBanksAU <TomBanksAU@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: TomBanksAU <TomBanksAU@users.noreply.github.com>
2026-06-15 11:55:47 -07:00
a004e49ebf Release OW (v0.51.436): cron sessions mark unread on new runs (#3460) (#4253)
* stage-3921: cron-session unread disambiguation (#3460, rodboev)

* Release OW: cron sessions mark unread on new runs (#3460)

Self-rebased rodboev's #3921 onto v0.51.435; full Codex+Opus+suite gate.
Fixes cron-session unread cross-attribution: resolver now considers all known
job ids and attributes each session to the longest matching cron_<jobid>_ prefix
(provably unambiguous). Read-only state.db scan, fires only on real completions.

Co-authored-by: rodboev <rodboev@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: rodboev <rodboev@users.noreply.github.com>
2026-06-15 10:52:52 -07:00
e775fb3355 Release OV (v0.51.435): supported local pytest runner (#3908) (#4252)
* stage-3908: supported local pytest runner + symlink-guard on venv create/clear (Codex CORE fix)

Rebased rodboev/franksong2702 #3908 onto v0.51.434. Adds scripts/test.sh dev
runner + requirements-dev.txt + test_ci_hygiene.py + conftest version guard.
Defensive fix on the authoritative gate: create_or_rebuild_venv refuses a
symlinked .venv so 'python -m venv --clear' can't wipe the symlink target
(same symlink-hardening class as #4217/#4234/#4240). Locked by a hygiene test.

* Release OV: supported local pytest runner (#3908)

scripts/test.sh + requirements-dev.txt + conftest version guard + hygiene tests.
Self-rebased franksong2702's #3908 onto v0.51.434; full Codex+Opus+suite gate.
Codex CORE fix applied: refuse to create/--clear a virtualenv through a symlinked
.venv (symlink-hardening class, #4217/#4234/#4240), locked by a hygiene assertion.

Co-authored-by: franksong2702 <franksong2702@users.noreply.github.com>

---------

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: franksong2702 <franksong2702@users.noreply.github.com>
2026-06-15 10:25:32 -07:00
4abf3bf5ef fix(skills): reject symlinked SKILL.md on save (#4240) (#4245)
* fix(skills): reject symlinked skill saves

* chore(release): stamp v0.51.434 (Release OU) for #4240 skill-save symlink guard

---------

Co-authored-by: 峯岸 亮 <1920071390@campus.ouj.ac.jp>
Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 04:22:17 -07:00
60ad36dab7 fix(file): reject symlinked entries in /api/file/save (#4234) (#4244)
* fix(file): reject symlink saves

* chore(release): stamp v0.51.433 (Release OT) for #4234 file-save symlink guard

---------

Co-authored-by: 峯岸 亮 <1920071390@campus.ouj.ac.jp>
Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 04:05:29 -07:00
f927fc3a42 fix(sidebar): treat TUI sessions like CLI for discoverability (#4213) (#4237)
* Fix TUI session sidebar discoverability

* chore(release): stamp v0.51.432 (Release OS) for #4213

---------

Co-authored-by: Dennis Soong <dso2ng@gmail.com>
Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 00:48:56 -07:00
4c5e0af4d2 fix(server): make request logging non-fatal so a closed stdout can't abort a response (#4188) (#4235)
* Make request logging nonfatal

* chore(release): stamp v0.51.431 (Release OR) for #4188

---------

Co-authored-by: MC <mchughson@sportsculture.io>
Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 00:28:51 -07:00
d29da34c42 feat(sessions): carry changed session_id in session-list-changed events (#4221) (#4233)
* fix(sessions): include target session in session events

* chore(release): stamp v0.51.430 (Release OQ) for #4221

---------

Co-authored-by: Dennis Soong <dso2ng@gmail.com>
Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-15 00:10:01 -07:00
8dc12713ca fix(sidebar): keep multiple messageful imported/CLI sessions discoverable (#4218) (#4232)
* Fix imported lineage sidebar discoverability

* chore(release): stamp v0.51.429 (Release OP) for #4218

---------

Co-authored-by: Dennis Soong <dso2ng@gmail.com>
Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-14 23:51:22 -07:00
44ead2a73d fix(context): bound non-git project-context file walk at the workspace (#4164) (#4231)
* fix(#4164): bound project-context file walk in non-git workspaces

_project_context_candidates mirrored the agent's _find_hermes_md exactly,
including the bug that 'stop_at = git_root' is None in a non-git tree —
so the walk 'for directory in [cwd, *cwd.parents]: ... if stop_at and
directory == stop_at: break' never broke and ran to filesystem root.
A workspace at /tmp/x/project/subdir could surface /tmp/x/HERMES.md
(a file outside the workspace) in the Memory > Project Context tab.

Fix: when no git root is found, treat the workspace itself as the stop
boundary. The cwd is still scanned (preserving in-workspace AGENTS.md /
HERMES.md behavior), but parents are skipped — we never walk into the
user's home directory or /tmp.

Git workspaces are unchanged (still walk up to the git root). The
existing test_3866 walk-to-git-root test still passes.

The issue notes the agent-side walk in agent/prompt_builder._find_hermes_md
should be bounded the same way for full parity; that lives in a separate
repo (hermes-agent), so this PR fixes only the WebUI side. Until the
agent ships the same bound, the WebUI tab will under-report context
files that live above a non-git workspace — strictly less surprising
than the previous over-report.

tests/test_issue4164_bound_non_git_project_context_walk.py (4 tests) pins:
- non-git workspace does not leak a parent HERMES.md
- non-git workspace still reads in-workspace context files
- git workspace walk-to-git-root is unchanged
- workspace-level HERMES.md wins, parent copy doesn't appear even shadowed

All 10 existing test_3866_project_context_memory_section tests still pass.

Closes #4164.

* chore(release): stamp v0.51.428 (Release OO) for #4164

---------

Co-authored-by: Sanjay Santhanam <51058514+Sanjays2402@users.noreply.github.com>
Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
2026-06-14 23:22:29 -07:00