fix: macOS arm64 compat for way-match and test scripts#38
fix: macOS arm64 compat for way-match and test scripts#380x3dge wants to merge 2 commits intoaaronsb:mainfrom
Conversation
The checked-in binary was a Linux x86-64 ELF which fails with "exec format error" on arm64 macOS. Rebuilt with `make local` to produce a native Mach-O binary. Both test scripts used bash 4+ features (declare -A, mapfile) that fail on macOS default bash 3.2. Replaced with parallel indexed arrays and while-read loops.
This fork diverges from upstream (aaronsb/claude-code-config) with platform-specific fixes (arm64 binary, bash 3.2 compat). The skill automates fetching, diffing, and merging upstream changes while preserving our local fixes through documented conflict resolution.
|
Hey! I forked this to run on macOS (arm64 Apple Silicon) and hit a couple of issues. Here's what this PR fixes and why: 1.
|
Summary
bin/way-matchas native arm64 Mach-O (was Linux x86-64 ELF, failing with exec format error)test-harness.shandtest-integration.shfor bash 3.2 (macOS default) — replacedeclare -Aandmapfilewith indexed arrays and while-read loops/sync-upstreamskill to automate pulling changes from aaronsb/claude-code-config while preserving our platform fixesTest plan
way-match --versionruns on arm64 macOSway-match paircorrectly matches and rejects (3 end-to-end tests via match-way.sh)way-match suggestanalyzes a real way.md file/sync-upstreamskill detected by skill system