Expand description
The user-scope skill record: what this tool last wrote outside a project.
Skill destinations live under the invoking user’s home, where no target repository reaches, so without a record the installer’s only reference is the payload it currently carries. That makes a copy an older release wrote indistinguishable from a file the user edited, and every release touching a skill then refuses on destinations nobody touched. The record closes that gap and nothing else: one digest per destination, written after a successful apply, read to answer one question — are these bytes ones we wrote?
It is state, not a manifest. Nothing verifies against it, and every
unreadable shape resolves to an empty record, so a lost one costs only the
benefit of the doubt. The format is the one sha256sum prints, under a
version line: a file that cheap to lose earns no parser that can fail in
more than one way.
Structs§
- Record
- The digests this tool last wrote to user-scope skill destinations.
Constants§
- RECORD_
PATH - Where the record sits, relative to the home directory.