@hasna/skills 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -134,6 +134,27 @@ contract and 16 MiB file limit; they are not silently converted into byte hashes
134
134
  Directory membership and file bytes are separate witnesses. Neither substitutes
135
135
  for reviewing the actual executable, import paths or loader behavior.
136
136
 
137
+ For an explicitly reviewed launcher or interpreter reached through symlinks,
138
+ use `captureDiscoveryPathSources(paths)` and retain `hashMode: "path-bytes"`.
139
+ Its digest binds the canonical input, directory identities, each link's identity
140
+ and target, and the resolved regular file's identity and exact bytes. Relative
141
+ link targets resolve component by component, including `..` after an alias.
142
+ Missing targets also receive a digest that binds the path leading to their
143
+ absence. Retargeting to identical bytes, replacing a link or an ancestor, or
144
+ changing a file's metadata requires a fresh review. Unrelated sibling writes
145
+ do not change directory identity witnesses.
146
+
147
+ Path witnesses share the 64 MiB file and 256 MiB aggregate byte limits. Each
148
+ path allows at most 40 links, 256 traversal steps and 64 KiB of metadata; one
149
+ capture or verification permits 8 MiB of path metadata. Special nodes, cycles,
150
+ oversized inputs and changes during capture refuse. Native hook checks repeat
151
+ the witness verification; this does not make a later native execution atomic
152
+ with external writers. Keep source writers quiescent during activation.
153
+ Use `bytes` mode for configuration that hook installation will replace: path
154
+ witnesses cannot predict the future identity of a planned write. Existing raw
155
+ byte and directory witnesses still refuse links. Older clients reject the new
156
+ mode; upgrade the CLI before installing a policy that uses it.
157
+
137
158
  Hermes requires directory witnesses, including when upgrading an older policy.
138
159
  For an automatic bridge with no runtime installed, rerun normal `skills hook install`
139
160
  to review and apply the new bindings. Existing native trust is preserved.