Commit Graph

7997 Commits

Author SHA1 Message Date
Peter Steinberger
3e9efe3b11 test: tighten auth profile assertions 2026-05-11 08:34:06 +01:00
Pavan Kumar Gondhi
17ceca86d6 Redact persisted secret-shaped payloads [AI] (#79006)
* fix: redact persisted secret-shaped payloads

* docs: add changelog entry for PR merge
2026-05-11 12:52:32 +05:30
Peter Steinberger
f28a987442 refactor: centralize reply prompt envelope 2026-05-11 07:56:45 +01:00
Peter Steinberger
f4ba9553c0 fix(models): preserve fallback chain for override models 2026-05-11 07:50:19 +01:00
ChandlerChien
8847d390bc fix(skills): normalize backslashes in compacted skill paths on Windows
Summary:
- Normalize compacted home-relative skill prompt locations to forward slashes only when the matched home prefix is Windows-style.
- Preserve POSIX literal backslashes after home-prefix compaction so prompt locations do not point at a different POSIX path.
- Keep provider-validation test fixtures typed for current test-type expectations and add the changelog entry.

Verification:
- pnpm vitest run src/plugins/provider-validation.test.ts src/agents/skills.compact-skill-paths.test.ts
- pnpm check:test-types
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md src/agents/skills/workspace.ts src/agents/skills.compact-skill-paths.test.ts src/plugins/provider-validation.test.ts
- git diff --check
- Real code-path probe emitted `windowsCompacted=~/.openclaw-test-skills/win-skill/SKILL.md`, `windowsContainsBackslash=false`, and `posixLiteralBackslashPreserved=true`
- GitHub CI passed, including Real behavior proof, auto-response, Critical Quality, Security High, and full repository checks.

Closes #52022

Co-authored-by: ChandlerChien <123870275+chienchandler@users.noreply.github.com>
2026-05-11 01:35:26 -05:00
Peter Steinberger
3218f37c7f test: tighten pi compaction log assertions 2026-05-11 06:40:40 +01:00
Peter Steinberger
7d9b13df05 fix(agents): narrow compaction subscription events 2026-05-11 06:27:17 +01:00
Peter Steinberger
f618a5aba9 style(agents): format compaction event types 2026-05-11 06:27:17 +01:00
Ruben Cuevas
d88e11acf7 fix(agents): restore compaction gateway logs 2026-05-11 06:27:17 +01:00
pandadev66
6b8abb3c79 test(agents/bundle-mcp): cover configured MCP request-boundary path (#76063)
Add focused regression coverage for the request boundary called out by
ClawSweeper triage on #76063: configured (`cfg.mcp.servers.<name>`) tools
must materialize, survive `applyFinalEffectiveToolPolicy`, and reach
`splitSdkTools().customTools`, which is the value the SDK sends to the
provider as `customTools`. The materialize, policy, and split units each
have their own unit tests, but the full chain was uncovered, which is why
v2026.4.27 was able to silently drop server__* tools from outbound
request bodies. Run with a fake `SessionMcpRuntime` so the test does not
boot a real stdio child:

- coding profile keeps configured `server__*` tools in customTools
- messaging profile keeps configured `server__*` tools in customTools
- minimal profile strips them
- explicit `tools.deny: ["bundle-mcp"]` strips them under coding
- materialize ordering survives the request boundary so prompt cache
  keys stay stable across turns

Refs #76063.
2026-05-11 06:18:57 +01:00
Peter Steinberger
5a80be35e9 fix: track cron execution milestones 2026-05-11 06:14:22 +01:00
Jason Zhou
bfd540bcdf [codex] refresh plugin regression fixtures
Summary:
- Refresh plugin regression fixtures and test-support mocks for guarded network resolution, progress streaming windows, staged TTS output, QQBot STT, and CLI runner assertions.
- Resolve current-main conflicts in Discord, Google video, QQBot STT, and CLI runner tests without changing runtime code.

Verification:
- pnpm check:test-types
- pnpm vitest run $(git diff --name-only origin/main...HEAD)
- git diff --check
- GitHub CI passed, including Real behavior proof, auto-response, ClawSweeper dispatch, CodeQL, and full CI checks.

Co-authored-by: Jason Zhou <22532527+JayZeeDesign@users.noreply.github.com>
2026-05-10 23:44:50 -05:00
Peter Steinberger
5e8e77ed83 feat: add per-agent message action allowlists 2026-05-11 05:31:30 +01:00
Ayaan Zaidi
7337c3a9e9 fix(telegram): join inline reply prompt 2026-05-11 09:44:17 +05:30
stainlu
e44d907daf fix(agents): allow read-only agent mount reads 2026-05-11 04:40:30 +01:00
Peter Steinberger
d90ab9a13f feat(session): raise ping-pong turn ceiling
Co-authored-by: Thirumalesh <thirumaleshpinninti@gmail.com>
2026-05-11 04:24:19 +01:00
Dan O'Brien
8f17356392 Support Kimi Anthropic thinking streams 2026-05-11 04:15:36 +01:00
Peter Steinberger
15cf49222f build: refresh deps and route testbox through crabbox 2026-05-11 03:41:00 +01:00
Eva
50ee68cdf4 feat(plugin-sdk): consolidate session workflow APIs 2026-05-11 03:24:08 +01:00
Peter Steinberger
a41f1e8d63 ci: skip live cache model discovery with env keys 2026-05-11 03:22:49 +01:00
Shakker
2a31813d1f test: tighten cleanup timeout warning assertions 2026-05-11 02:08:33 +01:00
Shakker
6e8c5c1430 test: tighten compaction process reference assertion 2026-05-11 02:06:34 +01:00
Peter Steinberger
6346e792c4 build: enable stricter TypeScript checks 2026-05-11 02:04:17 +01:00
Shakker
2255140113 test: tighten copilot token cache assertion 2026-05-11 02:03:37 +01:00
Shakker
ab2b04a75b test: tighten model selection warning assertions 2026-05-11 02:00:25 +01:00
Shakker
2ea4f79351 test: tighten btw diagnostic assertions 2026-05-11 01:54:22 +01:00
Shakker
60214e3963 test: tighten exec approval followup handoff assertion 2026-05-11 01:51:46 +01:00
Shakker
501300205e test: tighten web fetch token log assertion 2026-05-11 01:49:26 +01:00
Shakker
cf414564ef test: tighten message tool schema description assertion 2026-05-11 01:46:22 +01:00
Shakker
5abaf0d074 test: tighten subagent announce queue assertion 2026-05-11 01:44:02 +01:00
Shakker
8ffb756614 test: tighten skill archive layout assertion 2026-05-11 01:40:53 +01:00
Shakker
966afa85fa test: tighten sandbox session line assertion 2026-05-11 01:37:08 +01:00
Shakker
b241458f15 test: tighten runtime context event assertion 2026-05-11 01:35:22 +01:00
Shakker
07d1c4cd41 test: tighten runtime auth fallback warning assertion 2026-05-11 01:33:20 +01:00
Shakker
8b3a3bce8b test: tighten attempt cache ttl skip assertion 2026-05-11 01:31:16 +01:00
Shakker
38e72b020e test: tighten assistant failover warning assertion 2026-05-11 01:29:19 +01:00
Shakker
66926b2037 test: tighten exec approval handoff assertion 2026-05-11 01:26:51 +01:00
Shakker
e1d7539009 test: tighten model fallback warning assertion 2026-05-11 01:22:23 +01:00
Shakker
3b243f0ce5 test: tighten context discovery warmup assertion 2026-05-11 01:18:41 +01:00
Shakker
49e8f597b3 test: tighten acp spawn mismatch error assertion 2026-05-11 01:16:05 +01:00
Shakker
4eaa7269b3 test: tighten auth profile locked success timestamp assertion 2026-05-11 01:13:25 +01:00
Shakker
ed9ff5b886 test: tighten auth profile success timestamp assertion 2026-05-11 01:09:47 +01:00
Peter Steinberger
9e2ca13913 test: tighten process input hint assertions 2026-05-11 00:13:58 +01:00
Peter Steinberger
8c320866dc test: tighten incomplete turn warning assertions 2026-05-10 23:28:12 +01:00
Marcus Castro
78b9b1d550 perf: consolidate auth profile success writes (#80375) 2026-05-10 18:43:20 -03:00
Peter Steinberger
311256f82c test: tighten subagent spawn assertions 2026-05-10 22:43:06 +01:00
Peter Steinberger
1ff2bfbc0d test: tighten workspace assertions 2026-05-10 22:41:46 +01:00
Peter Steinberger
c18df4aaee test: tighten live model switch assertions 2026-05-10 22:17:10 +01:00
Peter Steinberger
4cf8d6e62f test: tighten auth profile save assertions 2026-05-10 22:15:29 +01:00
Peter Steinberger
ad2b37de61 test: tighten cli runner spawn assertions 2026-05-10 22:14:18 +01:00