Skip to content

Commit 42efc10

Browse files
committed
mios.toml: extend [messages.pass2_exit] + seed [messages.steps] catalog
Operator: "continue with more SSOT lifts". Two changes: (1) [messages.pass2_exit] gains 4 keys for the new in-line success transition (mios-bootstrap commit 0fbeb59 made the post-install conhost dot-source the MiOS profile rather than spawn a separate WT app window, so the strings emitted around that transition needed their own SSOT keys): success_transition -- "Loading MiOS terminal in this window..." profile_load_failed -- "[!] MiOS profile load failed: " profile_load_hint -- "Open a fresh MiOS shortcut to retry." profile_missing -- "[!] M:\MiOS\powershell\profile.ps1 not found ..." mios-bootstrap commit 6297b5d wires all 4. (2) Seeded [messages.steps] catalog with 9 keys for the most visible Phase 2/3 step descriptions: disk_sizing_template disk_already_template mios_git_init / _update / _overlaid mios_bootstrap_clone / _update / _overlay entry_scripts_staged miosdev_init_template Templates use {placeholder} substitution at render time so the operator-visible numbers (size_gb, mb, drive, cpus, ram_gb, disk_gb) stay live per-host. Subsequent commits will wire each key into its corresponding Set-Step / Log-Ok call in build-mios.ps1. Documenting the catalog up-front locks the naming convention so the wires can land incrementally.
1 parent 1f1febf commit 42efc10

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

usr/share/mios/mios.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,35 @@ failure_detail = " Output above is the failure detail (Pass-1 has no se
288288
build_log_hint = " build-mios.ps1's own log at M:\\MiOS\\logs\\mios-install-*.log only kicks in on Pass-2 success."
289289
fetch_run_failed = " [!] Bootstrap fetch/run failed: "
290290
press_enter_close = " Press Enter to close this elevated bootstrap window..."
291+
# In-line success transition (operator 2026-05-09: "spawn too many
292+
# powershell windows ... should be performed in-line in one
293+
# promoted Powershell window after bootstrap"). After install
294+
# completes, this conhost dot-sources the MiOS profile so the
295+
# operator stays in the same window and types `mios <verb>` here.
296+
success_transition = " [+] Bootstrap complete. Loading MiOS terminal in this window..."
297+
profile_load_failed = " [!] MiOS profile load failed: "
298+
profile_load_hint = " Open a fresh MiOS shortcut to retry."
299+
profile_missing = " [!] M:\\MiOS\\powershell\\profile.ps1 not found -- open the MiOS shortcut to launch the app window."
300+
301+
# ----------------------------------------------------------------------------
302+
# [messages.steps] -- Set-Step descriptions emitted during the install
303+
# pipeline. These are the per-line yellow-bracket prefix strings the
304+
# operator sees during Phase 3 (data disk, mios.git overlay,
305+
# mios-bootstrap shadow, MiOS-DEV provisioning, etc.). Operators
306+
# rebrand the install narrative via mios.html [messages.steps] without
307+
# touching any PowerShell.
308+
# ----------------------------------------------------------------------------
309+
[messages.steps]
310+
disk_sizing_template = "Sizing MiOS data disk ({mb} MB on {drive}:)..."
311+
disk_already_template = "MiOS data disk already on {drive}: ({size_gb} GB, NTFS)"
312+
mios_git_init = "Initializing mios.git as the M:\\ working tree"
313+
mios_git_update = "Updating mios.git (fetch + hard reset @ M:\\)"
314+
mios_git_overlaid = "mios.git overlaid at M:\\"
315+
mios_bootstrap_clone = "Cloning mios-bootstrap.git -> shadow M:\\MiOS\\bootstrap-shadow"
316+
mios_bootstrap_update = "Updating mios-bootstrap.git shadow (fetch + hard reset)"
317+
mios_bootstrap_overlay = "Overlaying mios-bootstrap files onto M:\\"
318+
entry_scripts_staged = "Entry scripts staged at M:\\MiOS\\bin"
319+
miosdev_init_template = "Initializing MiOS-DEV ({cpus} CPUs / {ram_gb}GB / {disk_gb}GB disk)"
291320

292321
# ----------------------------------------------------------------------------
293322
# [messages.install_complete] -- end-of-bootstrap operator-facing

0 commit comments

Comments
 (0)