fix(aterm): name the architecture LaunchServices should launch into #1305
No reviewers
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agentic-os!1305
Loading…
Reference in a new issue
No description provided.
Delete branch "aos/claude/kb87-native-arch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #1291.
Root cause, measured on kais-macbook-pro (M3 Pro):
CFBundleExecutableis a shell script gives LaunchServices no Mach-O slices to read, so it starts the wrapper under Rosetta. Launching a probe bundle witharch -arm64 open(what Finder does) reportedtranslated=1 arch=i386inside the wrapper.atermandclaudestill run native, being arm64-only, but the x86_64 preference propagates down the tree, so kitty and every universal binary below it pick x86_64.vmmapconfirms it:atermandclaudeareARM64, the kitty above them and the/bin/zshbelow them areX86-64 (translated).ARM64.brew upgrade aosinside a session saw an Intel Mac and refused the arm-only formula.Fix and the alternative that failed:
LSArchitecturePrioritynaming the generating host's architecture: wrappertranslated=0 arch=arm64, and the kitty it opens isARM64.LSRequiresNativeExecution: measured, still translated. Not used.Also here, from a test that started failing once the bundles carried a linked terminal: the stubbed launch tests now run against an empty
HOME. A launch prefers the role's installed app, so without that isolation they answer about the machine they run on rather than about the code.