Commit Graph

7304 Commits

Author SHA1 Message Date
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
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
Peter Steinberger
b7d0d92600 fix(agents): cap live exec update payloads 2026-05-07 01:28:48 +01:00
Sally O'Malley
a74894a954 fix(agents): fail fast on session lock fallback (#78633)
Signed-off-by: sallyom <somalley@redhat.com>
2026-05-06 20:22:47 -04:00
Peter Steinberger
372e270871 fix(delivery): require outbound send result for success 2026-05-07 01:04:50 +01:00
Vincent Koc
14336e3325 test(agents): isolate client tool policy hook e2e 2026-05-06 16:06:49 -07:00
Josh Avant
3ee7c02bca fix(agents): bound live exec output events (#78645)
* fix gateway exec output starvation

* docs changelog for exec output fix
2026-05-06 17:28:26 -05:00
adzendo
ac43135984 fix: clamp compaction max_tokens to model output limit (#54392)
Merged via squash.

Prepared head SHA: 8a888213ed
Co-authored-by: adzendo <246828680+adzendo@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
2026-05-06 14:42:25 -07:00
brokemac79
609a5d70a5 [AI-assisted] fix(agents): invalidate context engine cache (#78163)
Merged via squash.

Prepared head SHA: 6ed3add797
Co-authored-by: brokemac79 <255583030+brokemac79@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
2026-05-06 14:33:51 -07:00
Vincent Koc
0f4f7e32cb test(live): type provider scoped model loading 2026-05-06 14:08:32 -07:00
Vincent Koc
e921755762 test(live): load default priority models directly 2026-05-06 14:08:30 -07:00
Vincent Koc
f5746bb278 test(live): cap default model discovery 2026-05-06 14:08:30 -07:00
Vincent Koc
1ed1185974 test(live): bound model auth discovery 2026-05-06 14:08:29 -07:00
Vincent Koc
cfa2b90752 test(live): defer model normalization until after filtering 2026-05-06 14:08:29 -07:00
Shakker
f011d6bc0a Fix repeated Codex native approval prompts after allow-always (#78234)
* fix: reuse codex native approvals

* fix: scope native approval reuse by session

* fix: let codex guardian own native permission approvals

* fix: refresh plugin approval protocol models

---------

Co-authored-by: pashpashpash <nik@vault77.ai>
2026-05-07 05:55:38 +09:00
Josh Lehman
b22c8998ca fix(doctor): discover load-path plugin contracts (#77477)
Merged via squash.

Prepared head SHA: d428fd47f5
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
2026-05-06 11:50:47 -07:00
Peter Steinberger
aed96bb60c perf(status): skip unused status pricing lookups 2026-05-06 19:32:20 +01:00
Shakker
bc97182d71 fix: preserve provider auth alias scope 2026-05-06 17:33:46 +01:00
Peter Steinberger
4c177bbe65 test(perf): fold duplicate compaction fallback coverage 2026-05-06 16:57:12 +01:00
Peter Steinberger
167e43345a test(perf): pin runtime metadata fixtures 2026-05-06 16:09:13 +01:00
Peter Steinberger
17a7bc7352 test(perf): pin model fallback probe metadata 2026-05-06 16:05:47 +01:00
Peter Steinberger
589f6685e6 test(perf): pin session status metadata fixtures 2026-05-06 16:04:43 +01:00
Peter Steinberger
3a9aec120c test(perf): pin model selection manifest fixtures 2026-05-06 15:57:49 +01:00
Peter Steinberger
74b1fdce2c test(perf): trim context engine overflow fixtures 2026-05-06 15:37:53 +01:00
Peter Steinberger
b70a2451f8 test(perf): avoid compaction hook plugin metadata scans 2026-05-06 14:50:49 +01:00
Alex Knight
c58ccae727 fix(cron): allow restricted self introspection (#78403)
* fix(cron): allow restricted self introspection

* fix(cron): tighten self-scoped introspection

---------

Co-authored-by: Alex Knight <15041791+amknight@users.noreply.github.com>
2026-05-06 23:38:20 +10:00
Peter Steinberger
ed6e9ae0a6 test(perf): avoid spawn workspace plugin metadata scans 2026-05-06 14:29:03 +01:00
Jesse Merhi
1c42c77433 feat: add user input blocking lifecycle gates (#75035)
Summary:
- The PR adds a `before_agent_run` plugin hook with pass/block decisions, redacted blocked-turn persistence, diagnostics/docs/changelog updates, and focused runner, gateway, session, and plugin tests.
- Reproducibility: not applicable. as a feature PR rather than a current-main bug report. Current main lacks ` ... un`, while the PR head adds source coverage and copied live Gateway/WebChat log proof for the new behavior.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix: trim before agent hook PR scope
- PR branch already contained follow-up commit before automerge: fix: keep before-agent blocks redacted
- PR branch already contained follow-up commit before automerge: fix: keep runtime context out of model prompt
- PR branch already contained follow-up commit before automerge: docs: refresh config baseline after rebase
- PR branch already contained follow-up commit before automerge: fix: align blocked turn clients with redacted content
- PR branch already contained follow-up commit before automerge: fix: remove out-of-scope client block UI changes

Validation:
- ClawSweeper review passed for head 767e46fde8.
- Required merge gates passed before the squash merge.

Prepared head SHA: 767e46fde8
Review: https://github.com/openclaw/openclaw/pull/75035#issuecomment-4351843275

Co-authored-by: Jesse Merhi <jessejmerhi@gmail.com>
Co-authored-by: jesse-merhi <79823012+jesse-merhi@users.noreply.github.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-06 11:41:04 +00:00
Ayaan Zaidi
f0c174607b fix(agent): persist visible embedded final replies 2026-05-06 17:09:25 +05:30
Peter Steinberger
1d3efb7e9e test(perf): trim focused runtime contract imports 2026-05-06 11:23:49 +01:00
Alex Knight
1c2915677b fix: recognize custom compaction conversation (#78390)
* fix: recognize custom compaction conversation

* fix: use branch fallback for compaction safeguard

---------

Co-authored-by: Alex Knight <15041791+amknight@users.noreply.github.com>
2026-05-06 20:13:31 +10:00
Peter Steinberger
ceaa56fb12 fix(release): stabilize final validation checks 2026-05-06 10:45:29 +01:00
Peter Steinberger
ffafa9008d test(agents): avoid provider runtime in fallback tests 2026-05-06 10:21:34 +01:00
Peter Steinberger
5cf55ed3f1 fix(openai): suppress stale Codex OAuth models 2026-05-06 09:38:07 +01:00
JC
85ded4d444 pdf: add Codex instructions for extraction fallback (#51329)
* Fix Codex PDF extraction fallback missing instructions

- add a Codex-specific systemPrompt on the PDF extraction fallback path
- keep non-Codex PDF fallback requests unchanged
- add regression coverage proving openai-codex-responses requests include instructions for PDF tool calls

* test: cover Codex text-only extraction fallback

- add regression coverage for the branch where PDF extraction includes images
  but the selected Codex model only accepts text input
- assert Codex-specific extraction instructions are still attached in that path

* test: fix extracted image mock shape

- add the required `type: "image"` field to the text-only fallback regression mock
- keep the new Codex coverage test aligned with PdfExtractedImage

* test: align Codex PDF fallback tests

* docs(changelog): note PDF Codex fallback fix

---------

Co-authored-by: Dr JCai <jingxiao.cai@gmail.com>
Co-authored-by: anyech <8743351+anyech@users.noreply.github.com>
2026-05-06 09:34:42 +01:00
Alex Knight
ff655cb346 fix: preserve subagent task overrides (#78356)
Co-authored-by: Alex Knight <15041791+amknight@users.noreply.github.com>
2026-05-06 18:31:01 +10:00
Edionwheels
58f81b0e04 fix(codex): honor OAuth contextTokens in native harness
Fixes #77858.

Co-authored-by: Edionwheels <267595845+lilesjtu@users.noreply.github.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-05-06 08:54:52 +01:00
Ayaan Zaidi
6be5422fd6 fix(gateway): avoid plugin model resolution in session lists 2026-05-06 13:03:54 +05:30
Shakker
d46859d886 fix: reuse plugin snapshot for agent metadata 2026-05-06 07:55:27 +01:00
Shakker
5655c2b066 fix: pass current snapshot to embedded runs 2026-05-06 07:55:27 +01:00
Shakker
ba1800e1bd fix: reuse plugin snapshot for embedded settings 2026-05-06 07:55:27 +01:00
Peter Steinberger
8f3a34e2a1 refactor: share fs-safe JSON helpers 2026-05-06 07:40:10 +01:00
Shakker
7544beea17 fix: preserve embedded dispatcher timeouts 2026-05-06 07:01:02 +01:00
hcl
5f783d7ddd Plugin skills: use Windows junction links
Fixes #77958.\n\nMaintainer-prepped by narrowing the branch to the Windows plugin-skills junction fix, rebasing onto current main, adding cleanup/idempotence regression coverage and changelog, and verifying local gates plus green CI.\n\nCo-authored-by: hcl <7755017+hclsys@users.noreply.github.com>\nCo-authored-by: Brad Groux <3053586+BradGroux@users.noreply.github.com>
2026-05-06 00:37:09 -05:00
Peter Steinberger
1f6ce72b8a test: trim cron and context-engine waits 2026-05-06 05:55:34 +01:00
Peter Steinberger
be1c99b76a test: pass env to fallback metadata snapshot 2026-05-06 05:33:38 +01:00
Peter Steinberger
82c4fd8f56 test: cache fallback metadata snapshot 2026-05-06 05:20:55 +01:00
Peter Steinberger
2df7ec5671 test: avoid bundled channel cold loads in message tool tests 2026-05-06 05:04:03 +01:00
Peter Steinberger
b85b1c68d1 Refactor file access to use fs-safe primitives (#78255)
* refactor: use fs-safe primitives across file access

* fix: preserve invalid managed npm manifests

* fix: keep fs seams for startup metadata
2026-05-06 05:03:11 +01:00
Peter Steinberger
f35fb7288a test: mock manifest normalization in fallback tests 2026-05-06 04:58:33 +01:00