Commit Graph

3238 Commits

Author SHA1 Message Date
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
233699c5b5 test: narrow scheduled turn cron assertion 2026-05-11 07:28:44 +01:00
Shakker
d0e881eed4 test: classify runtime api guardrails exactly 2026-05-11 07:16:19 +01:00
Shakker
23709c5481 test: tighten loader contract allowlist assertions 2026-05-11 07:14:04 +01:00
Shakker
9131545065 test: tighten file install warning assertion 2026-05-11 07:13:01 +01:00
Shakker
b24db963a6 test: tighten npm spec install assertions 2026-05-11 07:10:09 +01:00
Shakker
0f2f0cbbad test: tighten web fetch provider runtime assertions 2026-05-11 07:09:04 +01:00
Shakker
2176b2a578 test: tighten bundled metadata config assertions 2026-05-11 07:06:45 +01:00
Shakker
d6ee4989b3 test: tighten scheduled turn contract assertions 2026-05-11 07:04:52 +01:00
Shakker
384d74d951 test: tighten provider family sentinel assertions 2026-05-11 07:02:49 +01:00
Shakker
838956becd test: tighten provider auth manifest assertions 2026-05-11 07:00:58 +01:00
Shakker
ebe0f12b82 test: tighten llm hook assertions 2026-05-11 06:59:29 +01:00
Shakker
7e21db747d test: tighten after tool call hook assertions 2026-05-11 06:58:28 +01:00
Shakker
4593d3c6d2 test: tighten doctor contract registry assertions 2026-05-11 06:57:19 +01:00
Shakker
99a313ddc1 test: tighten dual-kind memory gate assertions 2026-05-11 06:54:46 +01:00
Shakker
e7e3ae6d8f test: tighten runtime model auth assertions 2026-05-11 06:51:58 +01:00
Shakker
b66c3b4fc3 test: tighten memory embedding provider assertions 2026-05-11 06:49:57 +01:00
Shakker
c7f9595bd8 test: tighten memory runtime loader assertions 2026-05-11 06:48:47 +01:00
Shakker
127eae2792 test: tighten host hook cleanup assertion 2026-05-11 06:46:21 +01:00
Shakker
a27dfe5198 test: tighten config boundary guard assertions 2026-05-11 06:44:53 +01:00
Shakker
b0e6a24782 test: tighten provider install catalog assertions 2026-05-11 06:43:46 +01:00
Shakker
5a60f9d4e0 test: tighten provider auth choice assertions 2026-05-11 06:42:31 +01:00
Shakker
0d92a76232 test: tighten Claude bundle inspect assertions 2026-05-11 06:41:17 +01:00
Shakker
d03772b1e5 test: tighten plugin file install hook payload assertion 2026-05-11 06:39:39 +01:00
Shakker
a3479c3ff8 test: tighten bundle loader capability assertions 2026-05-11 06:38:26 +01:00
Shakker
a6bf7a2a89 test: tighten bundled capability snapshot assertion 2026-05-11 06:37:32 +01:00
Shakker
962149e455 test: tighten bundle command assertions 2026-05-11 06:35:41 +01:00
Shakker
7c3af7fd43 test: tighten plugin config schema assertions 2026-05-11 06:35:04 +01:00
Peter Steinberger
b7db08f54e fix: normalize nested gemini preview config refs 2026-05-11 06:34:48 +01:00
Shakker
2d65786d8c test: tighten doctor load-path policy assertion 2026-05-11 06:34:13 +01:00
Shakker
59f2ef0499 test: tighten hook approval assertions 2026-05-11 06:33:41 +01:00
Shakker
b68e39fb18 test: tighten external plugin catalog assertion 2026-05-11 06:31:21 +01:00
Shakker
6e318f8aec test: tighten bundled metadata package assertion 2026-05-11 06:29:14 +01:00
Peter Steinberger
fd38a8a36d test: relax provider normalization expectations 2026-05-11 06:27:17 +01:00
Peter Steinberger
ebbdeab270 test: avoid bundle manifest helper name collision 2026-05-11 06:27:17 +01:00
Peter Steinberger
dba631c195 test: allow readonly bundle manifest fixtures 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
Shakker
190d1ce848 test: tighten plugin http route assertions 2026-05-11 06:26:40 +01:00
Shakker
932f1c9e40 test: tighten external plugin repair hint assertion 2026-05-11 06:25:13 +01:00
Shakker
04f428fa06 test: tighten plugin load context assertions 2026-05-11 06:22:59 +01:00
Shakker
4ae5de712d test: tighten provider validation assertions 2026-05-11 06:20:51 +01:00
Shakker
f1b929a562 test: tighten provider auth env trust assertions 2026-05-11 06:19:24 +01:00
Shakker
b94a829b70 test: tighten installed manifest registry assertions 2026-05-11 06:18:14 +01:00
Peter Steinberger
def356c4b0 test: tighten plugin CLI assertions 2026-05-11 06:15:23 +01:00
Shakker
b383af3ceb test: tighten activation planner assertion 2026-05-11 06:14:48 +01:00
Shakker
52b1f58638 test: tighten metadata registry loader assertions 2026-05-11 06:13:43 +01:00
Shakker
f1ab8ea171 test: tighten manifest command alias assertions 2026-05-11 06:11:59 +01:00
Shakker
52574943af test: tighten bundle manifest assertions 2026-05-11 06:11:05 +01:00
Shakker
c640ff4d53 test: tighten provider static catalog context assertion 2026-05-11 06:08:59 +01:00
Shakker
9fe55bcc63 test: tighten plugin lookup table assertions 2026-05-11 06:04:31 +01:00