Commit Graph

877 Commits

Author SHA1 Message Date
Teknium b24a781b6f test(agent): trim the restart-bound tests to two invariants
Collapse the four class-based tests into two parametrized invariants over both
refunding restart flags and move them to tests/agent/ (the phase modules live in
agent/): a single restart still refunds-and-continues; a re-armed restart breaks
after max_retries refunds. The stub grows the redirect seam the follow-up commit
uses so the queued-correction contract is covered by the same test.
2026-09-09 09:51:31 -07:00
Teknium 3026f4a993 test(compression): trim batch clarify coverage to two invariants
Drop the sentinel-only batch test: a batch sentinel is already rejected by the
shared _is_clarify_non_response_sentinel list check that the existing sentinel
tests pin, so the case adds no new contract. Also add the contributor email
mapping for the cherry-picked commit so release CI can attribute it.
2026-09-09 09:21:55 -07:00
Teknium 9c722ca94f chore: map contributor email for Totoro-qaq
Attribution mapping for the salvaged #106243 commit so check-attribution
resolves the bare users.noreply address to the GitHub login.
2026-09-09 09:20:12 -07:00
kshitijk4poor b059f56fa3 chore: map contributor email for PR #96099 salvage 2026-09-09 21:16:28 +05:30
kshitijk4poor 88781af371 chore: map moken627-hub contributor email (PR #102676 salvage) 2026-09-09 21:11:56 +05:30
Teknium fd6434b3b3 chore: map contributor email for #47026 salvage 2026-09-09 03:52:47 -07:00
Teknium 416b2bd281 chore: map contributor emails for salvaged #76158 (mengyuyuan) and #105470 (webtecnica) 2026-09-09 03:52:03 -07:00
kshitijk4poor 146afcc5ba chore: map albert748's contributor email (#104444 salvage) 2026-09-09 12:21:28 +05:30
kshitijk4poor 83d68203c5 chore: map portavales's contributor email (#105694 salvage) 2026-09-09 12:20:04 +05:30
kshitijk4poor 2b0b03ec58 chore: map tkaufmann's contributor email (#105463 salvage) 2026-09-09 12:17:29 +05:30
kshitijk4poor 034eb7649e chore: map philmossman's contributor email (#105704 salvage) 2026-09-09 12:17:13 +05:30
kshitijk4poor b78b8df7cd chore(contributors): map sgarrand@gmail.com -> sgarrand
Scott Garrand (@sgarrand) identified the NixOS /bin/true systemd-probe bug
first in #102587; the salvage of #105436 credits him with a Co-authored-by
trailer, so the release script needs his mapping.
2026-09-09 10:56:37 +05:30
kshitijk4poor aaac8a8689 chore: map contributor email for @0xalydev (#103581 salvage) 2026-09-09 10:32:49 +05:30
Teknium 9d66e76c5d feat(desktop): let users order Group Chat rooms
Add Move up/down controls for actual rooms without changing bot or folder
ordering. Preserve default pin/activity ordering until an explicit move,
retain hidden room slots, and persist Desktop-local order through room
updates, mirror merges, and hydration. No membership or routing writes.

Adapted narrowly from the group ordering idea in archived
NousResearch/Hermes-Bot-Mode#105 by @onuraycicek; rename already exists.

Co-authored-by: Onur Aycicek <onur.m.aycicek@gmail.com>
2026-09-08 13:37:19 -07:00
brooklyn! 3c0a84f94b chore: map MacBook-Air contributor email
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 15:35:19 -05:00
kshitijk4poor 59d1336473 chore: map ckomma contributor email 2026-09-08 22:35:39 +05:30
Teknium 3dcf0deb29 test(desktop): adapt status-card regression to current router 2026-09-08 03:39:32 -07:00
Teknium 5bb5c2e207 chore: map preserved fanout contributor attribution 2026-09-07 22:25:12 -07:00
Teknium 520e63661c fix: keep command-auth model discovery lazy across config and setup 2026-09-07 21:22:49 -07:00
Max Freedom Pollard 6a04ea67c0 fix(gemini): collapse array-typed tool schemas instead of crashing translation
The enum-compatibility check evaluated `[...] in {...}` on an array `type`,
raising TypeError: unhashable type: 'list' and aborting translation of the whole
tool catalog rather than the one offending tool.

Addresses both review points:

- Reuses tools.schema_sanitizer._normalize_type_array instead of picking the
  first non-null member, so a real union becomes an anyOf of single-type
  branches and no branch is dropped.
- Derives the type outside the key loop and sets nullable after it, so the
  flag implied by "null" in the array beats an input nullable: false whichever
  key the producer emitted first. Both orders are pinned by a parametrized test.
2026-09-07 21:10:50 -07:00
FalconOrtiz db96c8ced7 fix: admit Bot Chat deliveries through the live session owner
Adapt FalconOrtiz's owner-mailbox proposal from #101564 onto the current
notification poller and topical modules. The durable mailbox is cross-process
ingress only: the existing owner admits its normal prompt turn after the
current turn and human FIFO clear. Retain immutable receipts, stable admission
identities, capability and lease fencing, compression lineage, and disable
blind recovery replay of imported turns.

The original stale server hunks and expiring receipt protocol were rebuilt
rather than cherry-picked: the current facade decomposition and durable busy
admission contract differ. Credit the earlier owner-mailbox work in #100544
and durable producer work in #100319.

Co-authored-by: fangliquanflq <fangliquan@qq.com>
Co-authored-by: 686f6c61 <github@00b.tech>
2026-09-07 16:48:29 -07:00
Shimakaze514 869432301b fix(tools): detach stdin in the Windows Git Bash probe (#78820)
`_bash_starts()` in tools/environments/local_gitbash_probe.py ran bash.exe
with capture_output=True but no stdin=, so the MSYS2 child inherited the
TUI gateway's stdin pipe. The MSYS2 runtime switches that shared pipe to
PIPE_NOWAIT; the gateway's next sys.stdin.readline() then fails with
ERROR_NO_DATA, which the CRT maps to OSError(EINVAL), and the gateway
exits with code 1 ("gateway exited") on the first terminal call.

The sibling probe _mandatory_aslr_enabled() already passes
stdin=subprocess.DEVNULL; this brings _bash_starts() in line with it.

Add tests/tools/test_gitbash_probe_stdin.py asserting both probes forward
stdin=DEVNULL to subprocess.run (fails on the pre-fix source).
2026-09-08 02:26:39 +05:30
kshitijk4poor 2e418f7a97 chore: map contributor email for Shimakaze514 2026-09-08 02:26:39 +05:30
kshitijk4poor d6b3b6d9f6 chore: map contributor email for penginman 2026-09-08 02:26:31 +05:30
Teknium 39ed610f8c feat(cron): create paused jobs without a scheduling race
Persist paused state, timestamp, reason and no first trigger in the original
locked creation write. Forward the same boolean contract across CLI, tool,
gateway API and dashboard API, validating at the store boundary. Preserve
explicit operator force-run behavior and normal enabled creation.

The live CLI probe also caught the command shim dropping failure return codes;
forward them so invalid creation reports exit 1 rather than success.

Credit earlier atomic-creation work in #78935 and #94952 and the focused
implementation in #104578. The broader manifest staging layer is not imported.

Co-authored-by: Konstantin Khlopkov <konstantin.khlopkov93@gmail.com>
Co-authored-by: Chloé DuPont <321112755+misschloedupont@users.noreply.github.com>
2026-09-07 08:27:50 -07:00
Teknium 3bc839508e chore: credit reasoning normalization contributors 2026-09-07 08:24:54 -07:00
Teknium 6ab2245f69 chore: credit systemd restart budget contributor 2026-09-07 08:20:09 -07:00
Teknium 42da1f2cf4 chore: map Charles Ji contributor email 2026-09-07 08:10:36 -07:00
Teknium f087cb8055 test: exercise credential controls through PTY and local OAuth wire 2026-09-07 08:06:48 -07:00
Teknium a504202949 chore: credit MCP relay contributor 2026-09-07 06:10:28 -07:00
Teknium 02aa4b536f chore: retain updater contributor release attribution 2026-09-07 06:09:56 -07:00
Teknium d538f4e929 test: preserve themed badge contrast on light terminals 2026-09-07 06:08:37 -07:00
Teknium c573e62074 chore: credit callable fallback contributors 2026-09-07 06:07:16 -07:00
Teknium 7d6d0709cd fix(cron): skip completed scheduled occurrences after snapshot rollback
Capture the exact UTC scheduled instant before either due scanning or the
external fire claim advances jobs.json. Bind it to the durable attempt
before worker handoff; manual and unclassified direct attempts stay null.
Consult any retained completed matching row, independently of stale stamps,
claim-time windows, and newer failed attempts. Preserve unknown and legacy
attempt eligibility rather than guessing that a side effect completed.

Real isolated restart probes reproduce duplicate script writes on base and
suppress them on the fix for builtin tick and provider fire. Distinct and
manual occurrences still execute. The campaign-serialized cron suite is
queued; this progressive commit preserves the verified integration step.

Credit holny's issue #104790 and guard proposal #104323; exact identity
replaces the approximation rather than importing its legacy heuristic.

Co-authored-by: holny <holny@foxmail.com>
2026-09-07 05:57:26 -07:00
Teknium d0c90039a7 fix(messaging): keep profile status truthful without credential inheritance
Preserve the two contributor fixes, slim them to two behavioral invariants, and enter explicitly requested homes even inside a nested scope. Real native remote Desktop changes Disabled to gateway_stopped for default and named profiles; direct API controls preserve explicit disable and empty-profile isolation. Unit A/B and regression suites remain queued under the shared campaign lock.
2026-09-07 05:56:33 -07:00
Teknium 454a7af89c chore: credit Settings scope contributor 2026-09-07 05:56:17 -07:00
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