Repository navigation
Conversation
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.
New installations currently ask users to assemble several pieces and pass a journal password flag the current admin CLI rejects. Add a first-Matron/add-box wizard that installs the browser, journal, bridge, viewer and one selected AI CLI, then guides sign-in and a first task that produces a design page with a result notice.
The starter uses trusted ACME IP HTTPS on a fresh Ubuntu 24.04 VPS. It keeps SSH on port 22, preserves secrets and connector overlays across reruns, pins Matron components and AI CLIs, and provides status, sign-in, enrollment, backup, restore and explicit update commands. Advanced developer setup remains available. Account creation/reset now passes passwords over stdin; recovery instructions use the configured SSH account and port.
Validation completed:
Draft pending public-VPS acceptance: production CA issuance, both personal AI sign-ins, the actual generated design page and its For you result notice, phone QR/approval/push and viewer links, second-box pairing/revocation, reboot and update recovery. The container tests do not establish those results. Email and other service integrations are not included. The starter dev account has administrator access to the server.
The screenshot shows actual wizard output with fictional inputs. No credentials or real deployment details are included.
Note
High Risk
Changes default install behavior, provisions public HTTPS and Let's Encrypt renewal, handles credentials in backup/restore, and alters journal/bridge deployment—any bug could lock users out or leak secrets.
Overview
Adds a starter installation profile for first-time and add-a-box Matron setups on a fresh Ubuntu 24.04 VPS, while keeping the existing developer wizard behind Advanced (
--advanced).Onboarding and config: A new
StarterWizardsaves astarterprofile (Claude or Codex, bundled or external journal, SSH on port 22) and drives a slimmer module set—skipping desktop, Docker, browsers, and related tooling. Setup defaults to this wizard for new installs; repeatinginstall.shno longer auto-pulls the repo (updates requiresudo matron update --backup).HTTPS and exposure: Introduces
public-ipexposure with Let's Encrypt IP certificates (nginx on 80/443/8444, renewal timer, no self-signed fallback). Advancedcloudflare/ipmodes are unchanged.Stack pinning and Matron install:
components.jsonpins journal, bridge, web, and AI CLI versions; the starter path checks out those revisions, builds bundled matron-web, provisions passwords via--password-stdin, and keeps a persistentmcp-config.local.jsonoverlay.Operations: New
sudo matroncommands (status,login,link, backup/restore/update,resume) plus validatedrestore-state.py, an onboarding module that installs the launcher and walks through first sign-in/chat, anddocs/starter-recovery.md/ README updates for the guided path.Reviewed by Cursor Bugbot for commit 8911dcf. Bugbot is set up for automated code reviews on this repo. Configure here.
Companion guide: Matronhq/matron-site#19.