Expand description
Skills lock file management for reproducible installations
Two distinct lock structures are maintained:
ProjectSkillsLock: deterministic, timestamp-free, forskills.lockat project rootGlobalSkillsLock: operational, with timestamps, forglobal-skills.lockin user config dir
Structs§
- Global
Lock Metadata - Metadata for the global user-scoped lock file.
- Global
Locked Skill Entry - A single entry in the global lock with operational timestamps.
- Global
Skills Lock - Global user-scoped lock file.
Serialized to
<dirs::config_dir()>/fastskill/global-skills.lock. - Lock
Mismatch - Project
Lock Metadata - Metadata for the project-scoped lock file. Does not contain any wall-clock timestamp — enables deterministic file content.
- Project
Locked Skill Entry - A single pinned skill entry in the project lock. No volatile timestamp fields — content is fully deterministic.
- Project
Skills Lock - Project-scoped lock file. Serialized to
<project_root>/skills.lock.
Enums§
Functions§
- global_
lock_ path - Returns the global lock path (platform-specific config directory).
- project_
lock_ path - Returns the project lock path given the resolved project file path.
Type Aliases§
- Skills
Lock - Backward-compatible type alias (deprecated; remove in next major version).