Repository navigation
feat(linux): pinned home AppImage installer and box ensure recovery - #16
Merged
Merged
Conversation
Install fork AppImages under HOME with checksum and package marker validation, preserve the Fork-5 launcher and explicit /opt fallback, and document box persistence integration and isolated smoke evidence. Opt identified ensure-managed home AppImages out of in-app update checks, downloads, and installs so the saved release pin owns restoration.
4 of 5 tasks
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.
ELI5
Orca can now live in the box user's home directory, so Update Bot's Computer keeps the executable alongside its settings. The ensure script remembers the selected fork release and can download that exact version again.
What Changed
~/.local/opt/orca/, the~/bin/orca-ide-newbielauncher, a saved release pin, one verified previous image, and light install/restore contracts.orca-box-ensure.shentry point. The existing box-specific script is preserved asorca-box-ensure-deb.shfor profile recovery and attended deb fallback. Document the outer ensure predicate change.v1.4.222-1predates the opt-in; full updater suppression requires a new fork release containing this change.On the attended box, installed
v1.4.222-1side-by-side, installed the persistent scripts, changed only the Orca block of outer ensure, and retained the current /opt process and Fork-5 profile. Box-local files are documented here; they are outside the git diff.Why
A user-owned AppImage survives the box's preserved-home restore and supports non-root update classification. The fork already publishes this artifact, so this uses the existing package format and recovery logic. A saved pin makes ensure repair predictable and keeps version changes attended. The installer touches no system package files or AppArmor policy.
Linked Issue
Attended fork maintenance request; no linked issue.
Visual Proof
N/A — installer/restore work has no layout changes. Isolated Xvfb + Playwright CDP readback of the published AppImage returned version
1.4.222-1, updater statusidle, andNo package install recovery is available. A temporary renderer screenshot was captured and removed with smoke data. The new in-app guidance is covered by a CI test; a packaged build containing it remains to be validated.Testing
Light local checks passed:
git diff --check; README links; JavaScript test syntax; pinned oxfmt check on changed code/metadata.AppImagepackage marker verification; CLI--version.--ensure,--installed, and status check passed.Added Vitest coverage for installer contracts, policy boundaries, and the managed updater's check/download/install guards. This worktree has no dependencies installed. Full lint/typecheck/Vitest/build are delegated to GitHub CI per the task's light-local constraint; local pre-commit dependency hook is unavailable. No end-to-end download replacement or actual platform Update was performed.
AI Disclosure
Implemented with the OpenAI API assistant, with advisory read-only subagent review. Parent inspected the code and ran the local checks above.
Review
Parent reviewed installer/updater paths. Advisory review led to a shared fallback CLI dispatch list, explicit home-install failure exit, an interrupted-switch marker, and preservation of verified previous bytes. The
AppImagemarker-to-non-rootmapping was checked directly in existing code.Agent skill upstream boundary
Notes
--no-sandboxand extract-and-run. Documented sandbox opt-out and FUSE mode; /opt AppArmor/SUID package remains intact.planneduntil it lands onfork-main.Checklist