feat(provisioning): add S2.1 pass with failure alert & retry (fixes #47, #48)
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:
AlexKuceraandCipher committed 2026-09-05 15:03:01 +02:00
1 parent 67cf3d42e4
commit c0b2cb0b93
19 files changed
+912 -9

No files matched your search

+7
View File
@@ -6,6 +6,10 @@
objectVersion = 77;
objects = {
/* Begin PBXBuildFile section */
FA47B002303F047000000002 /* writing skills in Resources */ = {isa = PBXBuildFile; fileRef = FA47B001303F047000000001 /* writing skills */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
FA17A9EF303F03A00023843F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
@@ -24,6 +28,7 @@
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
FA47B001303F047000000001 /* writing skills */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "writing skills"; path = "ref/writing skills"; sourceTree = "<group>"; };
FA17A9DF303F039F0023843F /* Museion.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Museion.app; sourceTree = BUILT_PRODUCTS_DIR; };
FA17A9EE303F03A00023843F /* MuseionTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MuseionTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
FA17A9F8303F03A00023843F /* MuseionUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MuseionUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -78,6 +83,7 @@
FA17A9E1303F039F0023843F /* Museion */,
FA17A9F1303F03A00023843F /* MuseionTests */,
FA17A9FB303F03A00023843F /* MuseionUITests */,
FA47B001303F047000000001 /* writing skills */,
FA17A9E0303F039F0023843F /* Products */,
);
sourceTree = "<group>";
@@ -212,6 +218,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
FA47B002303F047000000002 /* writing skills in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};