clawsweeper[bot]
f4e20f806e
fix(agents): avoid duplicate Claude CLI skill prompts
...
Fix Claude CLI skill prompt handling so native skill plugin materialization is prepared before prompt suppression, with the prompt fallback preserved when plugin args are unavailable. Also keeps direct prepared-run callers covered by an execute-time fallback.
Fixes #87063 .
Co-authored-by: uday <udaymanish.thumma@gmail.com >
2026-05-27 08:34:34 +01:00
JanusAsmussen
84e62824f6
fix(anthropic): pass system prompt on resumed claude-cli sessions
...
Summary:
- send Claude CLI system prompt files on resumed turns when backend policy is always
- set Claude CLI default systemPromptWhen to always
- add argv/unit coverage plus live ALPHA-to-BRAVO resume proof for #80374
Verification:
- pnpm test src/agents/cli-runner/helpers.system-prompt-resume.test.ts extensions/anthropic/cli-shared.test.ts src/agents/cli-backends.test.ts test/scripts/test-live-shard.test.ts -- --reporter=verbose
- OPENCLAW_LIVE_TEST=1 OPENCLAW_LIVE_USE_REAL_HOME=1 OPENCLAW_LIVE_CLI_BACKEND=true OPENCLAW_LIVE_CLI_BACKEND_MODEL=claude-cli/claude-haiku-4-5 node scripts/run-vitest.mjs run --config test/vitest/vitest.live.config.ts src/gateway/gateway-cli-backend.system-prompt-resume.live.test.ts --reporter=verbose
- /Users/steipete/Projects/agent-scripts/skills/autoreview/scripts/autoreview --mode local
- git diff --check
- gitcrawl gh pr checks 86433 --repo openclaw/openclaw --watch=false --required
Co-authored-by: JanusAsmussen <jjasmussen@outlook.com >
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-05-27 01:31:13 +01:00
Kaspre
e53612a639
fix heartbeat event routing for main-scoped DMs
2026-05-22 10:32:12 +01:00
Peter Steinberger
02182d5a30
refactor: remove sender owner tool gating
2026-05-21 15:14:48 +01:00
Kaspre
7eefb26bc8
fix(heartbeat): remap cron-run exec events to session keys ( #80214 )
...
Summary:
- Remap cron-run async exec, ACP, node-event, and watchdog completion events to the queue heartbeat drains.
- Route per-sender cron-run events to the agent main queue and global-scope events to `global` while preserving the originating `agentId`.
- Tighten exec-completion classification and treat cron-run descendants as ephemeral for retention pruning.
Verification:
- CI: https://github.com/openclaw/openclaw/actions/runs/25625964382 passed.
- Real behavior proof: https://github.com/openclaw/openclaw/actions/runs/25666664248/job/75340798016 passed.
- PR targeted validation: `node scripts/run-vitest.mjs run --config test/vitest/vitest.unit.config.ts src/routing/session-key.test.ts src/infra/heartbeat-events-filter.test.ts src/agents/bash-tools.exec-runtime.test.ts src/agents/acp-spawn-parent-stream.test.ts src/cron/session-reaper.test.ts`.
- PR targeted typecheck: `pnpm tsgo:core`.
Refs #52305 .
Related: #18237 , #14191 .
Co-authored-by: Kaspre <kaspre@gmail.com >
2026-05-11 12:13:17 +01:00
Peter Steinberger
5a80be35e9
fix: track cron execution milestones
2026-05-11 06:14:22 +01:00
Peter Steinberger
9160155902
fix(cron): delay cli model-start phase
2026-05-10 02:47:34 -04:00
samzong
ee6b29b715
fix(agents): handle resumed cli jsonl output
...
Signed-off-by: samzong <samzong.lu@gmail.com >
2026-05-09 08:08:52 -04:00
samzong
02ca572a26
fix(agents): bound cli runner supervisor output
...
Signed-off-by: samzong <samzong.lu@gmail.com >
2026-05-09 08:08:52 -04:00
stain lu
74ab62c6a2
fix: pass claude cli thinking effort ( #77410 )
...
Summary:
- Adds a plugin-owned CLI backend argument rewrite hook and wires Anthropic `claude-cli` to translate non-off `/think` levels into Claude Code `--effort`, with docs, changelog, API baseline, and tests.
- Reproducibility: yes. Current main has a high-confidence source reproduction: choose `claude-cli`, set a non ... builds argv from backend args that contain no `--effort` even though `thinkLevel` exists on the run params.
Automerge notes:
- No ClawSweeper repair was needed after automerge opt-in.
Validation:
- ClawSweeper review passed for head be17754009 .
- Required merge gates passed before the squash merge.
Prepared head SHA: be17754009
Review: https://github.com/openclaw/openclaw/pull/77410#issuecomment-4372812685
Co-authored-by: stainlu <stainlu@newtype-ai.org >
2026-05-04 18:13:53 +00:00
Peter Steinberger
fa689295c6
fix: resolve small triage issues
2026-05-04 07:38:42 +01:00
Peter Steinberger
97cdd73aa6
refactor: remove bootstrap warning alias
2026-05-03 14:24:17 +01:00
Peter Steinberger
c06739d773
fix(heartbeat): type wake scheduling intent
...
Co-authored-by: Jordan Baker <jbb@scryent.com >
2026-05-02 14:52:18 +01:00
wenxu007
9df0ae6767
fix(agents,failover): propagate sessionId/lane/provider attribution through FailoverError ( #73506 )
...
* fix(agents,failover): propagate sessionId/lane/provider attribution through FailoverError
Adds optional `sessionId` and `lane` fields to `FailoverError` and threads
them — together with the existing `provider`, `model`, `profileId` — through
`describeFailoverError` and `coerceToFailoverError` context, so structured
error log ingestion can attribute exhausted-fallback wrapper errors back
to the originating request instead of dropping the per-profile metadata
when the final wrapper is built.
Fixes #42713 .
* fix: preserve failover error attribution
---------
Co-authored-by: Altay <altay@uinaf.dev >
2026-05-01 11:26:56 +03:00
bitloi
dce2513db2
fix(agents): preserve CLI wake-up session metadata ( #74171 )
...
* Fix CLI wake-up resume metadata
* Rerun CI
* ci: re-trigger parity gate
2026-04-29 07:14:48 -04:00
Edwin Rivera
bca30b62be
fix: defer Claude live MCP cleanup ( #73351 )
...
Thanks @edwin-rivera-dev.
2026-04-28 09:59:58 +01:00
Ayaan Zaidi
dfd5940c34
fix(cli): compact persisted CLI transcripts
2026-04-26 09:34:24 +05:30
Peter Steinberger
53e822f407
fix: keep cli reply runs streaming
2026-04-23 00:49:43 +01:00
Ayaan Zaidi
81ca7bc40b
fix: keep claude cli sessions warm ( #69679 )
...
* feat(cli): keep claude cli sessions warm
* test(cli): cover claude live session reuse
* fix(cli): harden claude live session reuse
* fix(cli): redact mcp session key logs
* fix(cli): bound claude live session turns
* fix(cli): reuse claude live sessions on resume
* refactor(cli): canonicalize claude live argv
* fix(cli): preserve claude live resume state
* fix(cli): close dead claude live sessions
* fix(cli): serialize claude live session creates
* fix(cli): count pending claude live sessions
* fix(cli): tighten claude live resume abort
* fix(cli): reject closed claude live sessions
* fix(cli): refresh claude live fingerprints
* fix(cli): stabilize MCP resume hash
* fix: preserve claude live inline resume (#69679 )
---------
Co-authored-by: Frank Yang <frank.ekn@gmail.com >
2026-04-22 13:44:18 +05:30
Onur
361750775d
CI: stabilize live release lanes ( #67838 )
...
* CI: stabilize live release lanes
* CI: widen codex live exclusions
* Gateway: stop live config/auth lazy re-imports
* CI: mount writable live Docker homes
* Live: tighten retry and provider filter overrides
* CI: use API-key auth for codex live lanes
* CI: fix remaining live lanes
* CI: stop forwarding live OpenAI base URLs
* Gateway: fix live startup loader regression
* CI: stop expanding OpenAI keys in live Docker lanes
* CI: stop expanding installer secrets in Docker
* CI: tighten live secret boundaries
* Gateway: pin Codex harness base URL
* CI: fix reusable workflow runner label
* CI: avoid template expansion in live ref guard
* CI: tighten live trust gate
* Gateway: ignore empty Codex harness base URL
* CI: stabilize remaining live lanes
* CI: harden live retries and canvas auth test
* CI: extend cron live probe budget
* CI: keep codex harness lane on api-key auth
* CI: stage live Docker OpenAI auth via env files
* CI: bootstrap codex login for Docker API-key lanes
* CI: accept hosted-runner codex fallback responses
* CI: accept additional codex sandbox fallback text
* CI: accept hosted-runner live fallback variants
* CI: accept codex current-model fallback
* CI: broaden codex sandbox model fallbacks
* CI: cover extra codex sandbox wording
* CI: extend cli backend cron retry budget
* CI: match codex models fallbacks by predicate
* CI: accept configured-models live fallback
* CI: relax OpenAI websocket warmup timeout
* CI: accept extra codex model fallback wording
* CI: generalize codex model fallback matching
* CI: retry cron verify cancellation wording
* CI: accept interactive codex model entrypoint fallback
* Agents: stabilize Claude bundle skill command test
* CI: prestage live Docker auth homes
* Tests: accept current Codex models wording
* CI: stabilize remaining live lanes
* Tests: widen CLI backend live timeout
* Tests: accept current Codex model summary wording
* CI: disable codex-cli image probe in Docker lane
* Tests: respect CLI override for Codex Docker login
* Tests: accept current Codex session models header
* CI: stabilize remaining live validation lanes
* CI: preserve Gemini ACP coverage in auth fallback
* CI: fix final live validation blockers
* CI: restore Codex auth for CLI backend lane
* CI: drop local Codex config in live Docker lane
* Tests: tolerate Codex cron and model reply drift
* Tests: accept current Codex live replies
* Tests: retry more Codex cron retry wording
* Tests: accept environment-cancelled Codex cron retries
* Tests: retry blank Codex cron probe replies
* Tests: broaden Codex cron retry wording
* Tests: require explicit Codex cron retry replies
* Tests: accept current Codex models environment wording
* CI: restore trusted Codex config in live lane
* CI: bypass nested Codex sandbox in docker
* CI: instrument live codex cron lane
* CI: forward live CLI resume args
* Tests: accept interactive Codex model selection
* Tests: bound websocket warm-up live lane
* CI: close live lane review gaps
* Tests: lazy-load gateway live server
* Tests: avoid gateway live loader regression
* CI: scope reusable workflow secrets
* Tests: tighten codex models live assertion
* Tests: normalize OpenAI speech live text
2026-04-18 03:18:12 +02:00
Peter Steinberger
310b5e4f6a
test: reduce core command hotspots
2026-04-17 16:05:10 +01:00
Tak Hoffman
7c09ba70ef
fix(trace command): Improve trace raw diagnostics and trace command UX ( #66089 )
...
* improve trace raw diagnostics and command acks
* address trace review feedback
* avoid sync transcript reads in raw trace
* preserve raw cli output for trace
* gate trace emission at reply time
* reflect raw trace mode in status surfaces
2026-04-13 14:26:57 -05:00
Peter Steinberger
202f80792e
feat: add plugin text transforms
2026-04-11 02:17:39 +01:00
Peter Steinberger
6286810388
test: add Claude CLI provider QA scenario
2026-04-10 14:23:19 +01:00
Peter Steinberger
89d7a24a35
fix(cli-runner): wire OpenClaw skills into Claude CLI
...
Co-authored-by: Omar López <zomars@me.com >
2026-04-10 13:45:02 +01:00
Alex Alaniz
6bd64ca4a7
fix: stop marking Claude CLI runs as host-managed
...
Stop injecting CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST into Claude CLI runs and strip inherited/backend overrides before spawn.\n\nAlso repairs the Zalo setup allowlist prompt wiring needed by the current main check gate.\n\nThanks @Alex-Alaniz.
2026-04-10 09:14:15 +01:00
Peter Steinberger
7e7a8d6b0f
fix(claude-cli): harden gateway auth env
2026-04-10 08:10:46 +01:00
Peter Steinberger
2d0e25c23a
fix: pass system prompt to codex cli
2026-04-08 18:15:10 +01:00
Peter Steinberger
4d3c72a521
fix: surface Claude CLI API errors
2026-04-08 00:44:50 +01:00
Peter Steinberger
d0562a873f
perf(agents): extract cli runner image and approval seams
2026-04-07 06:23:46 +01:00
Peter Steinberger
5ab1b16098
test: add cli backend live image probe
2026-04-06 22:33:05 +01:00
Peter Steinberger
ef923805f5
Revert "refactor(cli): remove custom cli backends"
...
This reverts commit 6243806f7b .
2026-04-06 13:40:42 +01:00
Peter Steinberger
c39f061003
Revert "refactor(cli): remove bundled cli text providers"
...
This reverts commit 05d351c430 .
2026-04-06 13:40:41 +01:00
Peter Steinberger
05d351c430
refactor(cli): remove bundled cli text providers
2026-04-05 18:46:36 +01:00
Bob
3f6840230b
fix: unify reply lifecycle across stop, rotation, and restart ( #61267 ) (thanks @dutifulbob)
2026-04-05 19:32:27 +02:00
Peter Steinberger
6243806f7b
refactor(cli): remove custom cli backends
2026-04-05 18:04:48 +01:00
Peter Steinberger
3d952aa35d
fix(agents): preserve claude cli backend defaults
2026-04-05 17:51:41 +09:00
Altay
ae460eff84
fix(failover): scope openrouter-specific matchers ( #60909 )
2026-04-04 18:24:03 +03:00
Peter Steinberger
4e099689c0
feat: stream Claude CLI JSONL output
2026-04-04 19:33:08 +09:00
Peter Steinberger
3de09fbe74
fix: restore claude cli loopback mcp bridge ( #35676 ) (thanks @mylukin)
2026-04-04 15:16:20 +09:00
Peter Steinberger
bc8048250e
fix(agents): harden claude cli parsing and queueing
2026-04-04 14:07:19 +09:00
Vincent Koc
7008379ff0
test(agents): restore cli runner test seams
2026-03-30 08:43:37 +09:00
Peter Steinberger
48ae976333
refactor: split cli runner pipeline
2026-03-27 00:19:24 +00:00