You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Manish
committed
fix(consensus): clean up intelephense warnings, force init re-prompt
- consensus.php: drop unused $baseTimeout param from synthesize() and
analyze_differences() (and their call sites); remove deprecated
curl_close() calls (no-op in PHP 8+).
- init skill: add explicit instruction that Step 5 runs on every
/mots:init, including re-runs — previous behavior short-circuited
with "already configured" and skipped the consensus re-check.
Copy file name to clipboardExpand all lines: skills/init/SKILL.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ Set up motspilot in the current project directory.
27
27
28
28
5.**Set up consensus (interactive — must block and wait):**
29
29
30
+
This step runs on EVERY `/mots:init`, including re-runs on an already-configured project. Do NOT short-circuit with "config is already configured, nothing to do" — the whole point of re-running `/mots:init` is usually that the user just added keys and wants consensus enabled. Always perform the checks below, always re-evaluate `CONSENSUS`, and always prompt via `AskUserQuestion` when keys are missing.
31
+
30
32
Check if consensus can run:
31
33
- Run `php --version` — is PHP 8.0+ available?
32
34
- Check process env for `$ANTHROPIC_API_KEY`, `$OPENAI_API_KEY`, `$GEMINI_API_KEY`.
0 commit comments