Просмотр исходного кода

package: include full commit in bound receipts

Codex Resource Selftest 4 месяцев назад
Родитель
Сommit
22075fac07
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      tools/codex_harness.py

+ 1 - 0
tools/codex_harness.py

@@ -73,6 +73,7 @@ def _copy_bound_receipt(
         if observed not in {None, "", expected}:
             raise ValueError(f"receipt binding mismatch for {field}: {source}")
         value[field] = expected
+    value["commit_full"] = commit
     value["source_receipt_sha256"] = sha256_file(source)
     _write_json(destination, value)
     return value