Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/skills_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -3641,7 +3641,7 @@ def install_from_quarantine(
trust_level=bundle.trust_level,
scan_verdict=scan_result.verdict,
skill_hash=content_hash(install_dir),
install_path=str(install_dir.relative_to(_skills_dir())),
install_path=str(install_dir.relative_to(_skills_dir().resolve())),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This fixes the lock entry, but the same resolved/unresolved comparison remains in the normal CLI success path at hermes_cli/skills_hub.py:731 (install_dir.relative_to(SKILLS_DIR)). Please resolve that root too; otherwise a symlinked HERMES_HOME can still raise after the lock entry is recorded.

files=list(bundle.files.keys()),
metadata=bundle.metadata,
scan_provenance=scan_provenance or getattr(scan_result, "scan_provenance", None),
Expand Down
Loading