Commit Graph

4586 Commits

Author SHA1 Message Date
Peter Steinberger 2c79d1d7fc fix(memory): persist trusted owner provenance at canonical transcript boundary (#118987) 2026-08-03 15:18:01 -07:00
Pavan Kumar Gondhi 5c1c9f42d6 fix(auto-reply): enforce canonical reset authorization (#118580) 2026-08-03 23:48:31 +05:30
Dinesh H Suthar 430fca67ff fix(reply): preserve streamed Telegram replies on failure
Preserve already-visible Telegram partial replies when a later run failure occurs. Finalize the same draft with the terminal notice while keeping the reply operation in run_failed state.

Co-authored-by: Dinesh Suthar <dineshsld20@gmail.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-08-04 01:38:59 +09:00
Peter Steinberger d6e704621b test(reply): lazy-load real CLI runner fixture (#118752)
Co-authored-by: Peter Steinberger <steipete@mac-studio-sf2.local>
2026-08-03 09:22:12 -07:00
Peter Steinberger ecc49b5a87 refactor(tts): absorb speech core package (#118513)
* refactor(tts): absorb speech core package

* fix(tts): preserve runtime SDK exports

* refactor(tts): remove private package exports

* test(tts): align canonical runtime mocks

* test(tts): complete canonical settings mocks

* chore(plugin-sdk): regenerate API baseline for #118513
2026-08-03 02:25:48 -07:00
Peter Steinberger e797e69969 refactor(agents): remove stale runner state plumbing (#118495)
* refactor(agents): remove stale runner state plumbing

* refactor(agents): keep bootstrap warning owner reachable

* refactor(agents): inline bootstrap warning predicates

* refactor(agents): extract bootstrap warning contracts

* refactor(agents): keep bootstrap detail type private

* refactor(auto-reply): drop vacuous abort returns
2026-08-03 01:59:31 -07:00
Peter Steinberger b21056a0dc fix: show effective channel model in Telegram status (#118548) 2026-08-03 01:45:52 -07:00
Peter Steinberger 48d3f2e213 test: deduplicate ACP projector event setup (#118543) 2026-08-02 23:47:21 -07:00
Peter Steinberger 2e46ab1f23 test(auto-reply): consolidate model directive fixtures (#118519) 2026-08-02 22:59:52 -07:00
Nikolai Melekhin f153cf3a92 fix(agents): answer /btw side questions on gateway-hosted sessions (#118396)
/btw resolved its prepared model runtime without allowGatewaySubagentBinding,
but that flag became part of the prepared-runtime owner identity in #117587,
and gateway startup publishes configured owners with it set. The request
therefore matched no published owner, and standalone activation is refused
while the gateway lifecycle owns configured identities - so every
gateway-hosted /btw failed with 'prepared model runtime owner was not
published' before any side-question work was dispatched. The embedded TUI
path has no gateway lifecycle and kept working.

Thread the flag from the gateway-originated caller instead of granting it in
the shared helper: runBtwSideQuestion takes an explicit optional
allowGatewaySubagentBinding param, the /btw command handler
(auto-reply/reply/commands-btw.ts) opts in the way its sibling handlers
commands-compact.ts and commands-system-prompt.ts already do at the same
layer, and the embedded TUI call site stays unset so local side questions
keep the local-runtime boundary and cannot borrow the active registry's
subagent and node capabilities.

Pins: the gateway request input and the helper's no-grant default in
btw.test.ts, the TUI call-site absence in embedded-backend.test.ts, and the
owner-keying constraint in prepared-model-runtime.owner-selection.test.ts.
2026-08-02 22:36:35 -07:00
Peter Steinberger c9dd37e118 test(auto-reply): simplify approval command fixtures (#118473) 2026-08-02 21:57:20 -07:00
Peter Steinberger 7aaf3023fc fix(agents): make subagent restart recovery deterministic
Make subagent restart recovery registry-owned, durable before side effects, generation-fenced, and deterministic across cold restarts.
2026-08-03 11:57:51 +08:00
Peter Steinberger f792cba946 refactor(auto-reply): consolidate session rollover state (#118399) 2026-08-02 20:30:46 -07:00
Peter Steinberger d347cd1097 refactor: canonicalize cache mechanics (#118262)
* refactor: adopt shared map pruning

* refactor: share config-scoped ttl cache

* refactor: share backup link cache

* refactor: centralize native relay retention cap

* chore: remove obsolete bundled channel lint suppression

* chore: shrink max-lines baseline

* refactor: remove cache pruning wrappers
2026-08-02 19:33:13 -07:00
Peter Steinberger 5aced07df4 test(reply): isolate follow-up delivery runtime plan (#118369) 2026-08-02 19:30:06 -07:00
Peter Steinberger c965909a30 perf(channels): defer partial text sanitization (#118349) 2026-08-02 18:19:21 -07:00
Peter Steinberger 357087b9c7 refactor(gateway): lifecycle-owned ambient state via factory-registered drains (#118271)
* refactor(runtime): own ambient state lifecycle cleanup

* chore(plugin-sdk): refresh additive API baseline

* fix(runtime): restore agent wait listener lifecycle

Keep agent-job data process-shared while preserving module-local event subscription ownership. Ratchet the public wildcard budget down after replacing text-runtime's wildcard singleton export with named exports.
2026-08-02 18:06:46 -07:00
Peter Steinberger a4110c31b3 refactor: adopt canonical async serialization (#118235)
* refactor: adopt canonical async serialization

* style: satisfy dedupe parameter lint

* style: resolve dedupe timestamp internally
2026-08-02 16:12:04 -07:00
Peter Steinberger 88d6a2c8d6 perf(gateway): reduce sessions.list read amplification under streaming load (#118207)
* perf(gateway): reduce sessions list read amplification

* test(gateway): stabilize title batch perf proof

* fix(gateway): satisfy sessions list CI contracts

* perf(gateway): reuse warm batch title fields

* fix(gateway): satisfy strict title cache types

* test(gateway): use transcript write scope in cache test

* fix(gateway): fence session list cache on active runs

* refactor(infra): extract agent run registry

* fix(infra): keep run-registry context types module-local
2026-08-02 16:08:07 -07:00
Peter Steinberger 2ab2a13f1c fix(agents): bound owner allowlist guidance in model prompts (#118206) 2026-08-02 15:01:37 -07:00
Peter Steinberger 8729d541a9 test: deduplicate agent runner fixtures (#118176) 2026-08-02 13:25:57 -07:00
Peter Steinberger a8b114b3f3 test(auto-reply): make usage watcher recovery deterministic (#118151) 2026-08-02 12:56:03 -07:00
Peter Steinberger 05ab518109 test(auto-reply): canonicalize session export expectations (#118138) 2026-08-02 12:25:13 -07:00
Peter Steinberger 1f7e2f0dc6 test: consolidate auto-reply fixtures (#118086) 2026-08-02 11:16:56 -07:00
Vincent Koc 1704ea5918 fix(gateway): confirm restart lease handoff (#118026) 2026-08-03 01:38:39 +08:00
qingminlong 860960e543 fix: preserve queued messages during /compact (#117840)
* fix: preserve queued work during compact

* fix: guard compaction against summary-elided follow-ups

* fix(sessions): preserve in-flight compact queue work

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-08-02 21:14:03 +08:00
Qiong 94746d7138 fix(compaction): resolve stored session override and cache-inclusive usage for native /compact (#117470) (#117580)
* fix(compaction): resolve stored session override and cache-inclusive usage for native /compact (#117470)

* test: narrow native compact fixture types

* test: keep native compact fixtures isolated

* fix(compaction): disclose unknown resulting context

---------

Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 05:55:11 -07:00
Dinesh H Suthar 35b00ddd14 fix(reply): preserve retryable final delivery recovery (#117597)
* fix(reply): preserve retryable final recovery

* fix(reply): preserve partial-delivery recovery markers

* fix(reply): keep delivery classification cycle-free

---------

Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 05:17:02 -07:00
Simone 3f9b4519a9 fix: prevent fractional chunk limits from stalling text splitting (#117727)
* fix: normalize fractional text chunk limits

* fix: normalize markdown chunk limits

* fix: normalize direct newline chunk limits

* fix(matrix): reuse progress-safe text chunker

* test(matrix): align runtime API guard

* test(matrix): keep outbound shard topology stable

* fix(matrix): preserve facade chunk compatibility

* test(matrix): keep runtime export guard stable

* fix(matrix): normalize render-aware chunk limits

* test(matrix): type real-send assertions

* fix(matrix): preserve one-unit event limits

---------

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-08-02 04:53:31 -05:00
Peter Steinberger 339b9ce0c2 fix(media): preserve canonical attachment facts across every agent owner (#117841)
Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-01 23:48:04 -07:00
Peter Steinberger 33ea3e16e9 refactor: consolidate core micro-helpers (#117825)
* refactor: centralize stable stringification

* refactor: reuse canonical record coercion

* refactor: reuse safe JSON parsing in cron storage

* refactor: centralize environment truthiness

* fix: enforce model scan and block reply timeouts

* refactor: consolidate signal-aware sleep helper

* fix: preserve plugin SDK sleep contract

* test: satisfy model scan timeout lint
2026-08-01 23:10:46 -07:00
Peter Steinberger 0ab2443692 fix(ui): eliminate core contract drift (#117817)
* fix(ui): eliminate core contract drift

* fix(ui): resolve cleanup contract checks
2026-08-01 22:10:22 -07:00
Peter Steinberger e98fdeefdf refactor(errors): consolidate message formatting (#117818) 2026-08-01 22:05:49 -07:00
Peter Steinberger ccee629359 refactor(plugins): delete registry compat scaffolding (#117749)
* refactor(plugins): delete registry compat scaffolding

* test(plugins): update CLI registry handle mock

* fix(plugins): preserve explicitly initialized hook registries

* test(plugins): update registry ownership fixtures

* fix(channels): restore registry snapshot memo
2026-08-01 21:18:47 -07:00
Peter Steinberger 18a0892e15 refactor(auto-reply): share reply timing tracker (#117780) 2026-08-01 21:07:41 -07:00
Peter Steinberger 6c9b38862d refactor(plugins): root-owned bundle installation with scoped registry handles (#117587)
* refactor(plugins): root-owned bundle installation with scoped registry handles

* refactor(plugins): root-owned bundle installation with scoped registry handles

* test(gateway): expect gateway-binding fact in reload rewarm

* fix(agents): reuse gateway prepared runtime generations

* test(agents): isolate runtime handle fixtures

* test(agents): align runtime owner fixtures

* test(cron): mock run-owned registry loading
2026-08-01 16:17:30 -07:00
Peter Steinberger 8a36e0470c Build export HTML vendor assets from pinned dependencies (#117583)
* build: generate export html vendor assets

* build: declare marked generator contract

* fix(build): preserve export asset working root

* fix(build): preserve postbuild root ownership

* test(build): update Docker TypeScript step count
2026-08-01 15:03:35 -07:00
Peter Steinberger 2fcb1f7280 test(auto-reply): preserve plugin hook runner lifecycle exports (#117647)
Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-01 14:50:19 -07:00
Peter Steinberger d876a83387 refactor(tui): consolidate runtime ownership (#117368) 2026-08-01 11:21:48 -07:00
Peter Steinberger 2e9d4de131 fix(auto-reply): apply mixed chat directives in one session transaction (#117542) 2026-08-01 11:10:07 -07:00
Vincent Koc 263741b1f0 fix(ci): align release validation fixtures (#117494)
* fix(release): align beta 6 e2e fixtures

* fix(doctor): preserve missing state startup signal

* test(release): align beta e2e contracts

* test(agents): use canonical empty auth store

* test(agents): isolate prompt cooldown scheduling

* test(release): align main validation fixtures

* test(release): accept Code Mode plugin tool evidence

* fix(test): repair release validation checks

* test(cron): assert structured session targets
2026-08-02 00:39:36 +08:00
Peter Steinberger e4d1b7e0d3 refactor(plugins): move plugin contributions into the registry bundle (#117372)
* refactor(plugins): move plugin contributions into the registry bundle

* fix(plugins): guard embedding owner union and drop unused test-util imports

* fix(plugins): break registry facade import cycles

* fix(plugins): remove obsolete registry snapshot seams

* test(gateway): preserve plugin runtime mock exports

* test(auto-reply): install builder registry in diagnostics fixture

* test(plugins): activate registry-backed capability fixtures
2026-08-01 06:57:01 -07:00
Peter Steinberger fde5420dba refactor(agents): canonicalize subagent execution state (#117267) 2026-08-01 02:21:50 -07:00
Peter Steinberger b721cffa44 fix(inference): simplify lifecycle and preserve Codex tool identity (#117298) 2026-08-01 02:05:45 -07:00
Ahmed Tarek 730cf56915 fix(msteams): prevent duplicate final replies (#116398)
* fix(msteams): preserve message-tool thread routing

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>

* test(msteams): prove thread-aware final dedupe

* fix(agents): suppress duplicate source previews

* fix(agents): dedupe current-source reply previews

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-08-01 15:32:56 +08:00
joshavant 97f8f25f0b fix(agents): recover tagged Claude CLI reasoning 2026-08-01 02:06:43 -05:00
Peter Steinberger cb16d739cf fix(inference): harden Codex streaming, cancellation, and live QA (#116012)
* fix(inference): harden Codex turns, streams, and live QA

* fix(inference): dispatch open CR-delimited response frames

* fix(inference): finish live goal and split streaming regressions

* fix(codex): wait for interrupted turn completion

* fix(codex): narrow terminal collector notification ownership

* fix(inference): harden completion authority and lifecycle

* fix(inference): use canonical source delivery contract

* test(inference): align lifecycle probes with current main

* style(inference): format source delivery verification

* fix(goals): prevent premature completion across staged work

* fix(qa): settle streamed goal turns before continuation

* fix(goals): require visible replies after goal completion

* test(qa): keep goal flow regressions within lint limits
2026-07-31 21:29:33 -07:00
Peter Steinberger 408abcd46f refactor(reply): unify turn lifecycle state ownership (#117145)
* refactor(reply): unify turn lifecycle state ownership

* fix(reply): declare unbound-safe session getter contract
2026-07-31 18:55:45 -07:00
Peter Steinberger ca915228d3 refactor(auto-reply): unify command and directive ownership (#117143) 2026-07-31 18:53:16 -07:00
SunnyShu cbdbf6802b fix(models): expose runtime provider catalogs in browse views (#116857)
Use the resolved runtime config for discovery auth while preserving source SecretRef markers, keep full-catalog discovery unscoped, honor per-agent wildcards, and restrict discovered inventory to manifest-declared dynamic providers.

Fixes #115953
2026-08-01 08:37:43 +08:00