Skip to content

Bind app update conflicts to a whole-tree policy - #728

Merged
hamzamerzic merged 1 commit into
mobius-os:mainfrom
hamzamerzic:fix/app-update-whole-tree-policy
Aug 10, 2026
Merged

Bind app update conflicts to a whole-tree policy#728
hamzamerzic merged 1 commit into
mobius-os:mainfrom
hamzamerzic:fix/app-update-whole-tree-policy

Conversation

@hamzamerzic

Copy link
Copy Markdown
Collaborator

Summary

  • require the owner's whole-tree policy before the resolver agent starts
  • persist both the selected policy and the reviewed preserve-local tree identity in the pending receipt
  • show and bind the complete preserve-local diff, rejecting source drift before and during installer replay
  • route exact-upstream replacement through the existing journaled installer path, including removal of local-only tracked source
  • simplify the resolver instructions around one policy, one whole-tree review, and one finalize command

Closes #148.

Coordination

Land the companion App Store policy-choice change first. This platform change then requires that policy on the resolver-open request.

Tests

  • scripts/test.sh --fast
  • scripts/wt-pytest.sh backend/tests/test_apps_install.py -q --tb=short -k 'conflict or resolve or pending_update'
  • full backend/tests/test_apps_install.py suite

Co-authored-by: Möbius Agent <mobius-agent@users.noreply.github.com>
@hamzamerzic hamzamerzic added area: apps Mini-app framework or bundled apps bug Something isn't working labels Aug 9, 2026
@hamzamerzic
hamzamerzic added this pull request to the merge queue Aug 10, 2026
Merged via the queue into mobius-os:main with commit e18226c Aug 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: apps Mini-app framework or bundled apps bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bind app-update conflict resolution to the reviewed whole-tree policy

1 participant