Skip to content

fix: clear stale skill index on empty reload - #17

Merged
haolpku merged 1 commit into
OpenDCAI:mainfrom
DevChiniwala:codex/fix-skills-empty-reload
Sep 20, 2026
Merged

haolpku merged 1 commit into
OpenDCAI:mainfrom
DevChiniwala:codex/fix-skills-empty-reload

Conversation

@DevChiniwala

Copy link
Copy Markdown
Contributor

SkillsService.load() left the persistent semantic index untouched when all SKILL.md manifests had been removed. A subsequent skill_search could therefore return deleted skills. Reset the configured vector store on an empty reload, while preserving existing built-in/profile override behavior when manifests are present. Added a deterministic fake-vector-store regression test. Validation: 10 focused skills tests passed; no network or live LLM APIs used; no schema or public response changes. This PR targets main and contains no legacy-code changes.

Copilot AI lite review requested due to automatic review settings September 17, 2026 10:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@haolpku
haolpku merged commit 217ffb4 into OpenDCAI:main Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants