Skip to content

Commit 91ee3ee

Browse files
committed
chore: update project files
1 parent a188334 commit 91ee3ee

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

docs/LEDGER.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,3 +322,11 @@
322322
- **Status**: complete
323323
- **Epistemic status**: high
324324
- **Chain hash**: `07bb2a0d68f4025a...`
325+
326+
## 2026-06-02T05:52 — KILL SWITCH ACTIVATED: emergency stop
327+
- **Author**: specsmith-operator
328+
- **Type**: kill-switch
329+
- **REQs affected**: REG-005
330+
- **Status**: complete
331+
- **Epistemic status**: high
332+
- **Chain hash**: `c524743e645bae62...`

src/specsmith/cli.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9060,14 +9060,17 @@ def mcp_install_warp_cmd(project_dir: str, as_json: bool) -> None:
90609060
to ``oz agent run --mcp '<json>'`` for a one-off cloud agent run.
90619061
"""
90629062
import json as _json
9063-
import os
9063+
import shutil
90649064
import sys
90659065

9066+
# Resolve the specsmith CLI executable: prefer the one on PATH, then
9067+
# fall back to deriving it from the current interpreter (dev installs).
9068+
specsmith_exe = shutil.which("specsmith") or str(
9069+
Path(sys.executable).parent / ("specsmith.exe" if sys.platform == "win32" else "specsmith")
9070+
)
90669071
config = {
90679072
"specsmith-governance": {
9068-
"command": (
9069-
sys.executable if os.environ.get("SPECSMITH_ALLOW_NON_PIPX") else "specsmith"
9070-
),
9073+
"command": specsmith_exe,
90719074
"args": ["mcp", "serve", "--project-dir", str(Path(project_dir).resolve())],
90729075
}
90739076
}

0 commit comments

Comments
 (0)