Skip to content

fix(baseline): populate executable identity for all platform assets - #4

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/populate-executable-baseline
Aug 4, 2026
Merged

fix(baseline): populate executable identity for all platform assets#4
rldyourmnd merged 1 commit into
mainfrom
fix/populate-executable-baseline

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Problem

install-cli failed on every non-darwin-arm64 platform with:

MiMo Code software install did not produce current target-owned software

Root cause

Commit ae54f97 made software_status fail closed when the baseline has no executable identity for the selected asset. The baseline only declared the executable sub-dict for darwin-arm64; the other five assets (darwin-x64, darwin-x64-baseline, linux-arm64, linux-x64, linux-x64-baseline) had none, so current was always False and install-cli's post-install status check tripped.

Fix

Populate the executable identity (path, archive_mode, installer_mode, size, sha256) for all five remaining assets by extracting the mimo binary from each pinned release archive and hashing it. All archive SHAs verified against their pins. The installer already validates these values, so wrong values fail loudly.

Verification

python3 scripts/run_harnesses.py --module nddev-mimocode-app --lane fast
# PASS
install-cli --target <isolated-target> --json
# { "ok": true, "version": "0.1.9", "binary_sha256": "28072712..." }

software_status fails closed when the baseline has no executable identity
for the selected asset (commit ae54f97). The baseline only declared the
executable sub-dict for darwin-arm64; the other five assets had none, so
every non-darwin-arm64 install reported baseline_executable_unavailable
drift and install-cli failed:

  MiMo Code software install did not produce current target-owned software

Populate the executable identity (path, archive_mode, installer_mode, size,
sha256) for all five remaining assets by extracting the mimo binary from
each pinned release archive and hashing it. The installer already validates
these, so wrong values fail loudly.
@rldyourmnd
rldyourmnd merged commit 414b77c into main Aug 4, 2026
9 checks passed
@rldyourmnd
rldyourmnd deleted the fix/populate-executable-baseline branch August 4, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant