From 345409eff3c4f304874954935b866575dd1ba647 Mon Sep 17 00:00:00 2001 From: Stanley Shen Date: Thu, 5 Nov 2026 15:27:21 -0800 Subject: [PATCH] Tidy wording and comments Co-Authored-By: Claude Opus 4.8 --- skilljail/lock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/skilljail/lock.py b/skilljail/lock.py index 52e20e8..640669a 100644 --- a/skilljail/lock.py +++ b/skilljail/lock.py @@ -112,6 +112,7 @@ def _lock_path(name: str, locks_dir: Path | None = None) -> Path: def manifest_hash(manifest_dict: dict[str, Any]) -> str: + """SHA-256 of the manifest's canonical JSON (sorted keys), so key order doesn't matter.""" return hashlib.sha256(json.dumps(manifest_dict, sort_keys=True).encode()).hexdigest()