mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
Clarify hook trust hash normalization
This commit is contained in:
@@ -483,6 +483,8 @@ fn command_hook_hash(
|
||||
timeout_sec: u64,
|
||||
status_message: Option<&str>,
|
||||
) -> String {
|
||||
// Hash normalized handler fields instead of source text so equivalent hooks from
|
||||
// config TOML and hooks.json converge on the same trust identity.
|
||||
let TomlValue::Table(mut table) = TomlValue::Table(Default::default()) else {
|
||||
unreachable!("TOML table construction should stay a table");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user