Skip to content

Fix first-run onboarding and encoder permission UI - #23

Merged
Krypt0ph0ne merged 2 commits into
mainfrom
codex/fix-onboarding-encoder-ui
Aug 4, 2026
Merged

Fix first-run onboarding and encoder permission UI#23
Krypt0ph0ne merged 2 commits into
mainfrom
codex/fix-onboarding-encoder-ui

Conversation

@Krypt0ph0ne

@Krypt0ph0ne Krypt0ph0ne commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • show the current Agent Micro onboarding guide on a fresh/replaced install by storing a versioned completion marker
  • stop migrating the legacy CodexPad onboarding-completed flag
  • hide Input Monitoring from both the direct-pad onboarding permission step and the encoder section
  • keep Input Monitoring visible only for legacy keyboard-HID devices

Root cause

The CodexPad-to-Agent-Micro preference migration copied hasCompletedOnboarding, so an already completed legacy guide could suppress the new Agent Micro guide. The direct-pad UI also rendered an unnecessary Not needed Input Monitoring row in onboarding and, in older installed builds, in the encoder section.

Validation

  • swift test: 117 tests passed, 1 hardware test skipped by design
  • cargo test --locked --manifest-path References/ch57x-keyboard-tool/Cargo.toml: 43 passed
  • bash -n script/*.sh and git diff --check
  • ./script/build_and_run.sh --package-only: valid ad-hoc-signed dist/Agent Micro.app
  • ./script/build_and_run.sh --verify: installed and launched /Applications/Agent Micro.app

The repository supports local .app packaging without an Apple Developer account. Ad-hoc signing is suitable for local use; public distribution still needs user Gatekeeper approval and is not notarized.

Signed-off-by: Felix Graupner <felix.graupner@icloud.com>
Signed-off-by: Felix Graupner <felix.graupner@icloud.com>
@Krypt0ph0ne
Krypt0ph0ne marked this pull request as ready for review August 3, 2026 16:53
@Krypt0ph0ne
Krypt0ph0ne merged commit b8d56f6 into main Aug 4, 2026
1 of 2 checks passed
Krypt0ph0ne added a commit that referenced this pull request Aug 4, 2026
* Fix first-run onboarding and encoder permission UI


* Hide unnecessary Input Monitoring guidance


---------
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