Skip to content

Add platform-managed multiACE package contract - #150

Closed
Tareku99 wants to merge 5 commits into
mainfrom
codex/platform-managed-multiace-20260929
Closed

Tareku99 wants to merge 5 commits into
mainfrom
codex/platform-managed-multiace-20260929

Conversation

@Tareku99

Copy link
Copy Markdown
Collaborator

Summary

  • Add platform-neutral managed mode via the .multiace-managed marker or MULTIACE_MANAGED=1.
  • In managed mode, prevent the installer, uninstaller, self-updater, boot-time firmware file swap, and switch to normal ACE mode from modifying platform-owned files. Switching between multi and head runtime modes remains available.
  • Resolve managed package paths from environment variables and report in the web UI that updates are managed by the platform.
  • Preserve standalone installation and self-update behavior outside managed mode.
  • Build managed packages without user-specific values in the shipped ace.cfg.

Managed environment contract

  • MULTIACE_MANAGED
  • MULTIACE_MANAGED_MARKER
  • MULTIACE_APP_DIR
  • MULTIACE_CONFIG_DIR
  • MULTIACE_PRINTER_DATA

Notes

The existing host-side write-through for ACE settings remains unchanged. Persistent-settings location for other platform integrations can be handled as a follow-up once those requirements are confirmed. Related to #142.

Validation

Local Python compilation and unit tests (7/7), frontend JavaScript syntax, shell syntax and managed-mode guard checks, and git diff --check pass.

# Conflicts:
#	multiace/README.md
#	multiace/klipper/extras/ace.py
#	multiace/web/backend/main.py
# Conflicts:
#	.gitattributes
#	multiace/klipper/extras/ace.py
#	multiace/web/backend/main.py
# Conflicts:
#	multiace/web/backend/main.py
# Conflicts:
#	multiace/klipper/extras/ace.py
@Tareku99

Copy link
Copy Markdown
Collaborator Author

Superseded by #151; the same commits are now proposed from platform-managed-multiace-20260929.

@Tareku99 Tareku99 closed this Sep 29, 2026
@Tareku99
Tareku99 deleted the codex/platform-managed-multiace-20260929 branch September 29, 2026 23:54
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