zeroclaw/src/commands
Argenis 0520380495
fix(update): diagnose arch mismatch in validate_binary before execution (#4379)
When a downloaded binary has the wrong architecture, the previous code
attempted to execute it and surfaced a raw "Exec format error (os error 8)".
Now validate_binary reads the ELF/Mach-O header first, compares the binary
architecture against the host, and reports a clear diagnostic like:
"architecture mismatch: downloaded binary is aarch64 but this host is x86_64".

Closes #4291
2026-03-24 15:34:57 +03:00
..
mod.rs feat(cli): add self-test command with quick and full modes 2026-03-24 15:17:28 +03:00
self_test.rs feat(memory): add time range filter to recall (since/until) 2026-03-24 15:31:14 +03:00
update.rs fix(update): diagnose arch mismatch in validate_binary before execution (#4379) 2026-03-24 15:34:57 +03:00