feat: add cross-platform agent HAP signing - #6
Merged
Conversation
guantw
force-pushed
the
codex/linux-agent-hapsign
branch
from
August 29, 2026 03:14
2041830 to
608b96d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Breaking changes and migration
doctor --jsonexposes the complete catalog andinspect --jsonreports changes applicable to a HAP.docs/MIGRATIONS.mdcontains the configuration and migration commands.HAPSIGN-BREAKING-001: incompatible legacy signing caches are no longer reused; match the capability mode, explicitly runmigrate-cache --profile-type normal|system-basicwhen safe, or back up and refreshHAPSIGN-BREAKING-002: the CLI browser default changes fromsystemtosystem_controlled; restore the old behavior with--browser systemorHAPSIGN_BROWSER=systemHAPSIGN-BREAKING-003: default CLI state and output locations move to application-configured directories; restore previous paths with CLI flags or the dedicated environment variablesHAPSIGN-BREAKING-004: stdout results remain separated from stderr diagnostics; automation should consume--jsonHAPSIGN-BREAKING-005: the explicit subcommand interface remains; flat CLI invocations must migrate todoctor,inspect,migrate-cache,auth,devices,sign,deploy, orinstallThe cache migration is local-only, creates a backup, normalizes material paths, and rejects stale, incomplete, conflicting, wrong-bundle, or invalid-device metadata.
Validation
doctorand normal/system-basicinspectchecks against the BitFun unsigned HAP returned the expected compatibility warning without login, migration, signing, or installation