feat(provisioning): add S2.1 pass with failure alert & retry (fixes #47, #48)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Idempotent per-gate pass: create the museion Hermes profile only when
missing (exit-1 "already exists" = success), then additively seed the
bundled writing skills from seed-manifest.txt — temp-copy+rename, present
skills never touched, orphaned temps swept, manifest entries validated
kebab-case at the trust boundary.
Failures surface a separate phase-named alert ("couldn't set up the
writing profile" / "couldn't copy the writing skills"), never re-raising
the gate: excerpt behind Technical details (stdout per #43, stderr
fallback), Retry re-runs the whole pass, Not Now defers to the next
launch's silent retry. The card presents only after the gate sheet's
dismissal completes and snapshots its failure so a successful Retry
doesn't blank it mid-animation.
Provisioning writes nothing to the profile config (no mcp_servers entry,
#44) and leaves state.json engine-gate-only. 30/30 tests green.
Co-Authored-By: Cipher <cipher@babylondreams.de>
This commit is contained in:
1 parent
67cf3d42e4
commit
c0b2cb0b93
19 files changed
+912
-9
No files matched your search
@@ -13,7 +13,11 @@ import SwiftUI
|
||||
@Observable
|
||||
final class AppGateState {
|
||||
var gateRaised = true
|
||||
/// True once the gate sheet's onDismiss fired (dismissal completion, #48) —
|
||||
/// the provisioning failure card presents only after this.
|
||||
var gateDismissed = false
|
||||
let gateModel = EngineGateModel()
|
||||
let provisioning = ProvisioningModel()
|
||||
}
|
||||
|
||||
@main
|
||||
|
||||
Reference in new issue
Block a user