fix: remove --append-system-prompt-file from launcher

SOUL.md injection happens via ~/.claude/CLAUDE.md directive (pushed by
mosaic-link-runtime-assets), not CLI flags. The launcher now just does
pre-flight checks and launches the runtime directly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jason Woltje
2026-02-19 13:15:17 -06:00
parent b886b3d3c2
commit 0b7b823911
2 changed files with 6 additions and 6 deletions

View File

@@ -71,9 +71,9 @@ launch_claude() {
check_soul
check_runtime "claude"
local soul_file="$MOSAIC_HOME/SOUL.md"
echo "[mosaic] Launching Claude Code with SOUL.md injection..."
exec claude --append-system-prompt-file "$soul_file" "$@"
# SOUL.md is loaded via ~/.claude/CLAUDE.md directive (pushed by mosaic-link-runtime-assets)
echo "[mosaic] Launching Claude Code..."
exec claude "$@"
}
launch_opencode() {

View File

@@ -73,9 +73,9 @@ switch ($command) {
Assert-MosaicHome
Assert-Soul
Assert-Runtime "claude"
$soulFile = Join-Path $MosaicHome "SOUL.md"
Write-Host "[mosaic] Launching Claude Code with SOUL.md injection..."
& claude --append-system-prompt-file $soulFile @remaining
# SOUL.md is loaded via ~/.claude/CLAUDE.md directive (pushed by mosaic-link-runtime-assets)
Write-Host "[mosaic] Launching Claude Code..."
& claude @remaining
}
"opencode" {
Assert-MosaicHome