Commit Graph

841 Commits

Author SHA1 Message Date
Teknium 0daa993450 chore: map Robert Borkowski contributor email
Verify rborkows@gmail.com against original source commit 8a3c545e255b66b6ca4bc4b99cd725c5f7a08632 and GitHub user rborkow (2956000). Preserve the salvaged commit and its authorship; add only its missing release-credit mapping.
2026-09-07 05:06:54 -07:00
Teknium 04fedadbe9 chore: map history contributor email to PLASMA-FR 2026-09-07 04:56:22 -07:00
Teknium 7252d403d8 chore: map preserved Linux launcher contributor 2026-09-07 04:55:17 -07:00
Teknium 768f42f72f chore: preserve home-link diagnostic contributor credit 2026-09-07 04:46:37 -07:00
Teknium 8f7640b622 fix(acp): retain only ephemeral-new-session persistence guard
Keep two invariants covering empty create/cwd/save/fork, genuine content and existing-row metadata. Preserve original authorship and avoid source-only legacy pruning: an empty ACP row does not prove its owner is dead. Native ACP wire plus a local streaming model fixture verifies the first turn and nonempty fork remain durable.
2026-09-07 04:46:04 -07:00
Teknium d8a07768c5 fix(cli): keypad Alt+Enter inserts a newline instead of escape text
Slim rework of despotak's modified-keypad fix in #97290. Mirror existing
non-keypad mappings for modified keypad keys, including lock-state variants,
so Alt+keypad Enter reaches the existing newline handler rather than leaking
[57414;3u into the draft. Preserve installed twin mappings before consulting
pending aliases, matching first-writer-wins registration.

Replace the source PR's keyed branch ladder with a format table and verify
parser parity plus real buffer insertion with two invariant tests. Document
keypad multiline support in English and Chinese.

Live PTY: the exact doubled leak after a real collapsed paste reproduces on
main; all 21 editor cases pass with the fix, including ordinary Enter and
legacy Alt+Enter controls. Whitespace also reproduces on main: adjacent
characters are not the root cause.

Co-authored-by: Christos Despotakis <christos@despotak.is>
2026-09-07 02:09:34 -07:00
kshitij 5cffc57bc6 chore: author map for brucexu-eth (salvage of #104651) 2026-09-07 13:11:36 +05:30
Teknium 1cd9106eff chore: map contributor email for @Joeywrz 2026-09-06 13:18:19 -07:00
kshitijk4poor 758e33c28c chore: map contributor emails for the #96269/#102465 salvage 2026-09-07 01:09:00 +05:30
kshitijk4poor fee38b03cd chore: map GuardianZ71 contributor email for #104095 salvage 2026-09-07 00:42:18 +05:30
kshitijk4poor 8b07d809c4 chore: map PeaceMaker-best contributor email for #103710 salvage 2026-09-07 00:41:09 +05:30
kshitijk4poor 37a0c1b95f chore: map r3x443 contributor email for #103740 salvage 2026-09-07 00:39:44 +05:30
kshitijk4poor 57238b8507 chore: map YuYigeng contributor email for #103208 salvage 2026-09-07 00:38:37 +05:30
GodsBoy 5da6dcda5a test(compression): align checkpoint fixture and contributor mapping 2026-09-06 09:09:00 -07:00
kshitijk4poor 07ea974cc3 chore: map cdepuy contributor email for #100072 salvage 2026-09-06 20:49:30 +05:30
kshitijk4poor 11a333620a chore: map mengtanx contributor email for #103680 salvage 2026-09-06 20:47:52 +05:30
kshitijk4poor 1256cf52fe chore: map RHODIZSECURITY contributor email for #102454 salvage 2026-09-06 20:47:44 +05:30
Teknium 5106e939e0 fix(tui): heartbeat ticks share the /loop idle poll and rewind when no turn starts
Folds the /heartbeat driver into the existing /loop poll slot (one cadence, one
try/except table) and closes the consumed-tick gap: a dispatch that raises OR is
refused by _admit_prompt_turn (returns False) releases the session claim and rewinds
the persisted fire via HeartbeatManager.abandon_fire(), so the tick stays due for
the next poll instead of advancing fire_count with no turn. abandon_fire refuses to
overwrite a pause/resume/clear that landed between claim and dispatch (mirrors
LoopManager.abandon_tick). Tests use the real SessionDB under a temp HERMES_HOME and
drive the poller loop itself; docs note the TUI/Desktop surface.

Rollback-on-failure idea credited to jerrygooch (#104011, 51df1ed4d04 / 283fa972169);
the driver placement is Halldrix's (#102118). Reported in #102056 / #103044 (Vksh07).
2026-09-06 07:20:24 -07:00
Teknium e3a634a13c chore(contributors): map jerry@jerrygooch.com to jerrygooch 2026-09-06 07:18:28 -07:00
Teknium 67807e64a6 chore(contributors): map Xipong noreply email 2026-09-06 05:37:03 -07:00
Teknium 080422216f chore(contributors): map turingcat 2026-09-06 05:36:26 -07:00
Teknium c8cbc07030 test(mem0): setup module keeps post_setup when discovery imports the package first
The plugin loader execs sibling modules before the package __init__, so a
module-level `from . import _read_mem0_json` in _setup.py failed against the
empty parent shell and the whole module silently dropped out — every later
`hermes memory setup mem0` died with "cannot import name 'post_setup'".
The test loads mem0 through the real discovery path from a cold sys.modules
and asserts the cached _setup module exposes post_setup (red on base).

Also maps the contributor email for #103078 credit.

Campaign tracker: https://github.com/NousResearch/hermes-agent/issues/104154
2026-09-06 05:33:25 -07:00
kshitijk4poor 81f821657c chore: map contributor email for @koltyj
Attribution mapping so the cherry-picked #96187 commit resolves to its
GitHub account (@jonpol01 is already in the legacy map).
2026-09-06 15:40:05 +05:30
kshitijk4poor dd1d7475ca chore(contributors): map Collin.Snitchler@pm.me -> ColDSnit (PR #93869 salvage) 2026-09-06 14:47:11 +05:30
kshitijk4poor e3b6e40501 chore(contributors): map bounce12340 for the #102496 salvage 2026-09-06 14:37:30 +05:30
kshitijk4poor a483d7742f chore: map ruichenzhou@outlook.com to @Zhou-Ruichen (#77933 salvage) 2026-09-06 13:32:51 +05:30
kshitijk4poor 5284057770 chore: map contributor email for salvaged #101678 (StanleyStetson) 2026-09-05 20:44:51 +05:30
kshitijk4poor 935e10c20e chore: map contributor email for salvaged #44753 (dredozubov) 2026-09-05 19:06:57 +05:30
kshitijk4poor a2ff25a8b1 chore: map contributor email for salvaged #97265 (Liuzikaii) 2026-09-05 18:46:53 +05:30
kshitijk4poor 2a93bdaeba chore: map contributor email for salvaged #72429 (JonthanaHanh) 2026-09-05 18:46:16 +05:30
kshitijk4poor 41b88ba68a chore: map contributor email for salvaged #62023 (sagitario-jpn) 2026-09-05 18:32:44 +05:30
kshitijk4poor 67c9d507ab chore: map contributor email for salvaged #100256 (davidkarban) 2026-09-05 18:19:58 +05:30
kshitijk4poor fc6b311c58 chore: map contributor email for salvaged #102332 (Sahilvishnaliya) 2026-09-05 18:05:15 +05:30
kshitijk4poor a166dd7b80 chore: map contributor email for @mcpeezy (#96622 salvage) 2026-09-05 16:45:06 +05:30
kshitijk4poor d77a62e840 chore: map contributor emails for salvaged #102948 (thinkingsheep) 2026-09-05 16:30:35 +05:30
kshitijk4poor ada61bfa77 chore: map contributor email for salvaged #68506 (tokou) 2026-09-05 16:09:46 +05:30
kshitijk4poor 9835b2fd69 chore: map contributor email for salvaged #41071 (pprism13) 2026-09-05 15:54:34 +05:30
Teknium f58fcc8118 chore: map contributor email for salvaged #92934 (bluefateludi) 2026-09-05 00:24:40 -07:00
Austin Pickett 79445a496c fix(desktop): macOS parent-death watchdog treats ps: marker drift as inconclusive (#103172)
* fix(desktop): treat a macOS ps: parent-marker mismatch as inconclusive, not death

`ps -o lstart=` is a TZ/locale-rendered wall-clock string. Electron caches it
once per app lifetime; the backend re-renders it per spawn. A timezone change
(travel, or the DST boundary) while the app stays open makes the SAME instant
differ byte-for-byte, and _is_serve_orphaned() treated that as proof the parent
died -- os._exit(0) ~5ms after HERMES_BACKEND_READY, silently, on every respawn
until a full quit.

Route mismatches through _parent_start_marker_mismatch_is_conclusive(): linux:/
win:/winms: machine markers stay conclusive (PID-reuse defence intact); any ps:
side degrades to the PID-liveness check the legacy Desktop path already uses.
Log one warning before os._exit(0) so the exit is no longer traceless.

Fixes #95693
Fixes #93958

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

* fix(desktop): reject truncated ps: parent markers; blank marker env means absent

A ps: marker that got whitespace-split in env plumbing (`ps:Sat`) passed
_valid_parent_start_marker and armed a watchdog that could never match, so
the backend exited 0 right after HERMES_BACKEND_READY. Require a full
lstart value (>=4 tokens, a 4-digit year, a time). Treat empty
HERMES_PARENT_START_MARKER / HERMES_PARENT_NONCE as absent so a blank
inherited value degrades to PID-only tracking instead of disarming or
misfiring.

* chore: map contributor email for drewTuzson

* fix(desktop): log when the parent-death watchdog disarms on an unusable marker

Disarming is the fail-safe branch (the backend keeps serving) but it also
means this backend will never reap itself when the Desktop dies. Leave one
warning naming the rejected marker so that downgrade is not traceless.

* test(desktop): live macOS proof that a TZ-drifted ps: marker no longer kills the backend

Runs the real start_server in a subprocess against the host ps, with the
marker rendered under Europe/Paris and the backend under America/New_York.
Asserts READY + still alive after several watchdog polls, then that the
backend still exits once the stand-in parent is killed. Fails on main with
the reported symptom (exit 0, live parent); macos_only lane.

---------

Co-authored-by: ygd58 <buraysandro9@gmail.com>
Co-authored-by: Ahmett101 <Ahmett101@users.noreply.github.com>
Co-authored-by: Drew Tuzson <drew.tuzson@uqual.com>
2026-09-04 20:24:51 -04:00
Teknium 0b96eaf06b chore(contributors): map sosxradar@gmail.com -> GTHell 2026-09-03 00:58:16 -07:00
Teknium fa53e4fedd chore(contributors): map csreyes92@gmail.com -> csreyes (salvage #93073) 2026-09-03 00:57:55 -07:00
kshitijk4poor db40b2c67d chore: add EmanueleCornaggia to contributor map (#101778 salvage) 2026-09-03 12:38:46 +05:30
kshitijk4poor f39b749c4b chore: map contributor email for @slash1andy 2026-09-03 11:35:13 +05:30
kshitijk4poor 5684f56a5b chore: map JLHunzicker@gmail.com -> JackHunzicker (PR #98371 salvage) 2026-09-03 11:27:55 +05:30
Benjamin PERRY 06d7b77b1c fix(state): block repair on deleted SQLite holders
Move live-holder inspection into a bounded helper and make repair fail closed when a process still owns the state database, including deleted WAL/SHM descriptors and ambiguous procfs reads.

Preserve the contributor lineage from the original four-commit review train while presenting one coherent release object on current main.

Co-authored-by: fangliquanflq <fangliquan@qq.com>
Co-authored-by: ciabata <296402666+ciabata-git@users.noreply.github.com>
2026-09-03 03:50:43 +05:30
kshitijk4poor def0b23bd2 chore: add contributor mapping for SelfParody (PR #19000 salvage) 2026-09-03 03:16:04 +05:30
kshitijk4poor bde98cec17 chore: add contributor mapping for agentdynamic (PR #92413 salvage) 2026-09-03 03:15:35 +05:30
kshitijk4poor 6d28eca27a chore: add contributor mapping for EdderTalmor (PR #10110 salvage) 2026-09-03 03:15:31 +05:30
kshitijk4poor 5209f6fa5d chore: map contributor email for @yaojiejia
Needed before cherry-picking #95160 so contributor attribution stays
green on every commit of the salvage.
2026-09-03 02:27:52 +05:30
kshitijk4poor bf24dd7ed6 chore: add pierrenode to contributor email map for #84168 salvage 2026-09-03 02:17:01 +05:30