Repository navigation
Conversation
…lution SkillSnapshot.skills[] only stored name/primaryEnv/requiredEnv, omitting skillKey. This caused applySkillEnvOverridesFromSnapshot() to look up config by skill.name instead of the resolved skillKey, so skills configured under skills.entries.<skillKey> received no env/API key injections at runtime. - Add optional skillKey to SkillSnapshot skill entry type - Preserve skillKey when building snapshots from workspace loading - Use skill.skillKey ?? skill.name in snapshot env override path Fixes openclaw#94146 Co-Authored-By: Claude <[email protected]>
|
ClawSweeper review: did not complete due to Codex infrastructure failure. Reviewed June 17, 2026, 9:37 AM ET / 13:37 UTC. Summary PR surface: Source +2. Total +2 across 3 files. Reproducibility: unclear. The review failed before ClawSweeper could establish a reproduction path. Review metrics: none identified. Stored data model Merge readiness This is a ClawSweeper/Codex infrastructure failure, not a PR readiness or patch-quality verdict. Risk before merge
Maintainer options:
Next step before merge
Review detailsBest possible solution: Retry the Codex review after fixing the execution failure. Do we have a high-confidence way to reproduce the issue? Unclear. The review failed before ClawSweeper could establish a reproduction path. Is this the best way to solve the issue? Unclear. Retry the review first so ClawSweeper can evaluate the actual issue and fix direction. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 1914cc35bdc8. Evidence reviewedPR surface: Source +2. Total +2 across 3 files. View PR surface stats
What I checked:
Likely related people:
How this review workflow works
|
|
C:/Program Files/Git/review |
|
Closing: no maintainer engagement after review re-trigger. Automated PR with infrastructure-only bot feedback. Will reopen if a maintainer expresses interest. |
Summary
Fixes #94146
SkillSnapshot.skills[]only storedname/primaryEnv/requiredEnv, omittingskillKey. This causedapplySkillEnvOverridesFromSnapshot()to look up config byskill.nameinstead of the resolvedskillKey, so skills configured underskills.entries.<skillKey>received no env/API key injections at runtime.Root Cause
A skill can define
metadata.openclaw.skillKey(e.g.weather) while its name is different (e.g.Pretty Weather). The snapshot only captured the display name, so runtime config lookup used the wrong key.Changes (3 files, 5 insertions)
src/skills/types.ts— add optionalskillKeyto skill entry typesrc/skills/loading/workspace.ts— preserveskillKeywhen building snapshotssrc/skills/runtime/env-overrides.ts— useskill.skillKey ?? skill.namefallback🤖 Generated with Claude Code