Migrated from private source issue alphazede/bran-dev#16
Follow-up from #14 (merged as 39abfdc).
#14 removed the duplicated hex/SHA-256 validator from crates/bran-core/src/agent/delegate.rs, which now uses the shared valid_sha256 in crates/bran-core/src/agent/runtime.rs.
A third byte-identical copy remains at crates/bran-core/src/adapters/connected.rs:545. It is pre-existing on main and was untouched by #14, so deduplicating it there would have been unrelated cleanup outside that change's scope.
Three implementations of the same validator must stay in sync by hand. Fold this one into the shared helper.
Low priority, maintainability only. No known correctness impact.
Follow-up from #14 (merged as 39abfdc).
#14 removed the duplicated hex/SHA-256 validator from
crates/bran-core/src/agent/delegate.rs, which now uses the sharedvalid_sha256incrates/bran-core/src/agent/runtime.rs.A third byte-identical copy remains at
crates/bran-core/src/adapters/connected.rs:545. It is pre-existing onmainand was untouched by #14, so deduplicating it there would have been unrelated cleanup outside that change's scope.Three implementations of the same validator must stay in sync by hand. Fold this one into the shared helper.
Low priority, maintainability only. No known correctness impact.