Skip to content

refactor(zeph-skills): lazy resource loading per progressive disclosure spec#692

Merged
bug-ops merged 1 commit intomainfrom
feat/687-progressive-disclosure
Feb 21, 2026
Merged

refactor(zeph-skills): lazy resource loading per progressive disclosure spec#692
bug-ops merged 1 commit intomainfrom
feat/687-progressive-disclosure

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Feb 21, 2026

Summary

  • Remove eager reference/script/asset injection from format_skills_prompt()
  • Skill activation now lists available resource filenames without loading content
  • Add public load_skill_resource() in resource.rs for on-demand loading with path traversal protection
  • Remove unused os_family parameter from format_skills_prompt()

Closes #687

Test plan

  • cargo nextest run --workspace --lib --bins — 2227 tests pass
  • cargo clippy --workspace -- -D warnings — clean
  • cargo +nightly fmt --check — clean

@github-actions github-actions bot added documentation Improvements or additions to documentation skills SKILL.md system rust core refactor size/M labels Feb 21, 2026
@bug-ops bug-ops force-pushed the feat/687-progressive-disclosure branch from fd28d28 to 96cae42 Compare February 21, 2026 01:03
…essive disclosure

Remove eager reference injection from format_skills_prompt(). Skill
activation now lists available resource filenames without loading content.
Add public load_skill_resource() for on-demand loading with path traversal
protection. Remove unused os_family parameter from format_skills_prompt().

Closes #687
@bug-ops bug-ops force-pushed the feat/687-progressive-disclosure branch from 96cae42 to a670c9b Compare February 21, 2026 01:14
@bug-ops bug-ops enabled auto-merge (squash) February 21, 2026 01:14
@bug-ops bug-ops merged commit 154260b into main Feb 21, 2026
20 checks passed
@bug-ops bug-ops deleted the feat/687-progressive-disclosure branch February 21, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core documentation Improvements or additions to documentation refactor rust size/M skills SKILL.md system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement lazy resource loading (progressive disclosure)

1 participant