Commit Graph

25178 Commits

Author SHA1 Message Date
Val Alexander
62ccd8b644 Fix model and tool normalization regressions
Summary:
- Fix model and tool normalization regressions, including explicit tool-policy grants for messaging profile warnings.
- Keep Codex and Microsoft Foundry auth handling compatible with aws-sdk auth profile modes after rebasing onto current main.

Verification:
- pnpm test src/agents/pi-tools.policy.test.ts
- pnpm tsgo:extensions
- pnpm tsgo:extensions:test
- pnpm test extensions/codex/src/app-server/auth-bridge.test.ts extensions/microsoft-foundry/index.test.ts
- pnpm test:extensions:package-boundary
- pnpm lint --threads=8
- git diff --check
- GitHub PR checks green on 4ad136106b
2026-05-07 02:29:28 -05:00
Val Alexander
d4e04f33a6 fix(sessions): retire stale direct dm rows after dmscope changes
Summary:
- Add explicit sessions cleanup --fix-dm-scope handling for stale direct-DM rows after session.dmScope returns to main.
- Preserve removed-row transcripts as deleted archives and expose the option through CLI, Gateway RPC, protocol schema, generated Swift mirrors, docs, tests, and changelog.
- Fixes #47561 and #45554.

Verification:
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md docs/cli/sessions.md docs/concepts/session.md src/config/sessions/cleanup-service.ts src/commands/sessions-cleanup.ts src/cli/program/register.status-health-sessions.ts src/gateway/protocol/schema/sessions.ts src/gateway/server-methods/sessions.ts src/config/sessions/store.pruning.integration.test.ts src/commands/sessions-cleanup.test.ts src/cli/program/register.status-health-sessions.test.ts
- git diff --check origin/main...HEAD
- pnpm protocol:check
- pnpm exec oxlint src/config/sessions/cleanup-service.ts src/commands/sessions-cleanup.ts src/cli/program/register.status-health-sessions.ts src/gateway/protocol/schema/sessions.ts src/gateway/server-methods/sessions.ts src/config/sessions/store.pruning.integration.test.ts src/commands/sessions-cleanup.test.ts src/cli/program/register.status-health-sessions.test.ts
- pnpm test src/config/sessions/store.pruning.integration.test.ts src/commands/sessions-cleanup.test.ts src/cli/program/register.status-health-sessions.test.ts src/gateway/server.sessions.store-rpc.test.ts
- pnpm changed:lanes --json

Security:
- No new network, credential, process execution, dependency, or permission surface. Cleanup is explicit operator-invoked local session-store repair.

CI note:
- Exact-head CI failures match current main at 2e78fc57af in unrelated extensions/codex and extensions/microsoft-foundry type checks, outside this PR diff. No required checks are reported for this branch.
2026-05-07 02:16:46 -05:00
Peter Steinberger
2e78fc57af fix: accept aws-sdk auth profiles 2026-05-07 08:09:55 +01:00
Vincent Koc
a35067f872 fix(media): avoid provider listing for exact media defaults 2026-05-06 23:44:34 -07:00
Peter Steinberger
64bbe96d88 fix(media): resolve slash-containing generation model overrides 2026-05-07 07:35:59 +01:00
Peter Steinberger
42ecd5d95e fix(acpx): harden session lifecycle cleanup
Harden ACPX process cleanup with lease-backed ownership verification, startup orphan reaping, reusable cancel semantics, and spawned-session visibility fixes.
2026-05-07 07:30:37 +01:00
Kevin Lin
5b9672b4bb fix: surface cron model rejection diagnostics
Fixes #78597
2026-05-06 23:28:02 -07:00
Peter Steinberger
a428568157 fix(gemini): gate thought-signature replay trust 2026-05-07 07:08:54 +01:00
Vincent Koc
5b34805895 test(agents): remove unused bundle snapshot variable 2026-05-06 22:52:32 -07:00
Shakker
835b884606 fix: guard provider env metadata reuse 2026-05-07 06:48:13 +01:00
Shakker
a7cc9e8a56 fix: require default discovery for metadata reuse 2026-05-07 06:48:13 +01:00
Shakker
ee7da91346 fix: guard metadata reuse on load paths 2026-05-07 06:48:13 +01:00
Shakker
0caa8e22d7 fix: thread registry model workspace 2026-05-07 06:48:13 +01:00
Shakker
156068a3cf fix: keep secret target cache unscoped 2026-05-07 06:48:13 +01:00
Peter Steinberger
5aefe6abd6 feat: stream elevenlabs tts into discord voice 2026-05-07 06:47:31 +01:00
Peter Steinberger
85b914a4e1 fix(model): repair provider replay edge cases 2026-05-07 06:41:59 +01:00
Vincent Koc
6e5ba8b047 fix(discord): smooth voice capture prompts 2026-05-06 22:30:36 -07:00
Vincent Koc
70defcc046 fix(commands): audit explicit task records 2026-05-06 22:22:39 -07:00
Vincent Koc
f05f9f69d7 fix(agents): leave trusted media guard out of perf churn 2026-05-06 22:22:39 -07:00
Vincent Koc
f0a7b8a6a8 fix(core): satisfy perf bucket lint 2026-05-06 22:22:39 -07:00
Vincent Koc
42cddcae0a fix(agents): keep transcript repair tool names typed 2026-05-06 22:22:39 -07:00
Vincent Koc
8a23485472 fix(reply): preserve queue metadata after perf cherry-picks 2026-05-06 22:22:39 -07:00
Vincent Koc
eee7307891 perf(core): trim reply helper churn 2026-05-06 22:22:39 -07:00
Vincent Koc
468c6a0101 perf(core): trim reply and agent allocation churn 2026-05-06 22:22:39 -07:00
Vincent Koc
8bff73cfb0 perf(core): reduce queue head churn 2026-05-06 22:22:39 -07:00
Vincent Koc
16b0a6202c perf(reply): avoid queue churn in dedupe paths 2026-05-06 22:22:39 -07:00
Vincent Koc
e2d5e1b38d fix(plugins): expose config to transport normalization 2026-05-06 22:20:24 -07:00
Peter Steinberger
25f16f8fe6 fix: preserve cli oauth session continuity 2026-05-07 06:10:19 +01:00
Shakker
111cef04ca perf: reuse metadata for bundle settings 2026-05-07 06:10:05 +01:00
Shakker
fb49bcaf21 perf: reuse metadata for auth lookups 2026-05-07 06:10:05 +01:00
Shakker
6cc4323699 perf: reuse activation metadata registry 2026-05-07 06:10:05 +01:00
Shakker
e8efb7339e perf: reuse metadata across gateway runtime config 2026-05-07 06:10:05 +01:00
Shakker
1235f7f981 perf: reuse compatible auto-enable metadata 2026-05-07 06:10:05 +01:00
Shakker
5f60479f18 fix: scope async model runtime hooks 2026-05-07 06:10:05 +01:00
Vincent Koc
9910cdb7a9 test(openai): retry stalled websocket reasoning turn 2026-05-06 22:06:07 -07:00
Peter Steinberger
0597e8a065 test: align task audit fixture with lost-task projection 2026-05-07 06:05:24 +01:00
Peter Steinberger
252a76d25c refactor: stage external output writes through fs-safe 2026-05-07 06:05:24 +01:00
Peter Steinberger
2b4b60b551 fix: label claude cli oauth status 2026-05-07 05:52:12 +01:00
Peter Steinberger
610e882dbf fix(openrouter): canonicalize auto selector refs 2026-05-07 05:48:14 +01:00
Peter Steinberger
32c1356926 fix(cli): normalize heic model-run files 2026-05-07 05:48:14 +01:00
Peter Steinberger
6009b86f0d fix: bound stale task reload blockers 2026-05-07 05:25:54 +01:00
Vincent Koc
a846b577a5 test(live): stabilize gateway timeout assertion 2026-05-06 20:39:52 -07:00
Peter Steinberger
92284bc460 fix(agents): clean subagent fallback scaffolding (#78700)
* fix(agents): clean subagent completion fallback scaffolding

* refactor(agents): use prompt data blocks for child results

* fix(agents): satisfy sanitizer lint

* refactor(agents): remove raw subagent completion fallback
2026-05-07 04:30:04 +01:00
Peter Steinberger
58fa23b4a2 test: align fs-safe dependency expectations 2026-05-07 04:16:13 +01:00
sallyom
a859638cc2 fix: preserve node exec approvals for control ui
Signed-off-by: sallyom <somalley@redhat.com>
2026-05-06 22:59:53 -04:00
Chunyue Wang
42a32298f9 fix(plugins): forward setChannelRuntime from non-bundled external setup entries (#77799)
Merged via squash.

Prepared head SHA: 7b7676be0d
Co-authored-by: openperf <80630709+openperf@users.noreply.github.com>
Co-authored-by: openperf <80630709+openperf@users.noreply.github.com>
Reviewed-by: @openperf
2026-05-07 10:33:17 +08:00
Arnab Saha
1c331a814a fix(subagents): honor archiveAfterMinutes for session-mode reaping (#78263)
Merged via squash.

Prepared head SHA: b415467008
Co-authored-by: arniesaha <3646287+arniesaha@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
2026-05-06 19:24:09 -07:00
sallyom
bf2511098f fix: persist rotated gateway session files
Signed-off-by: sallyom <somalley@redhat.com>
2026-05-06 21:41:03 -04:00
Peter Steinberger
69d446d178 test(telegram): lock draft finalization ordering
Add regression coverage for Telegram draft-lane final ordering and shared draft clear-vs-stop lifecycle semantics.\n\nVerification:\n- pnpm test src/channels/draft-stream-controls.test.ts extensions/telegram/src/bot-message-dispatch.test.ts -- --reporter=verbose\n- pnpm exec oxfmt --check --threads=1 src/channels/draft-stream-controls.test.ts extensions/telegram/src/bot-message-dispatch.test.ts\n- git diff --check\n- OPENCLAW_TESTBOX=0 pnpm check:changed\n- exact-tree CI previously passed on 1f822d7c22
2026-05-07 02:12:07 +01:00
Peter Steinberger
0e330c3fa0 Revert "test(telegram): lock draft finalization ordering"
This reverts commit 1f822d7c22.
2026-05-07 02:08:13 +01:00