diff --git a/core/NEXUS.md b/core/NEXUS.md index 00adc2c..4e7bbcd 100644 --- a/core/NEXUS.md +++ b/core/NEXUS.md @@ -157,7 +157,7 @@ If any `ollama_*` tool returns `CIRCUIT_BREAKER`, fall back to handling the task If MCP is not available, the same delegation can be done manually via: ```bash -bash ~/.config/nexus/tools/utilities/ollama-delegate.sh +bash ~/.config/nexus/tools/automation/ollama-delegate.sh ``` --- diff --git a/core/kiro-nexus-steering.md b/core/kiro-nexus-steering.md index 9db16c2..9a01110 100644 --- a/core/kiro-nexus-steering.md +++ b/core/kiro-nexus-steering.md @@ -158,5 +158,5 @@ If any `ollama_*` tool returns `CIRCUIT_BREAKER`, fall back to handling the task If MCP is not available, the same delegation can be done manually via: ```bash -bash ~/.config/nexus/tools/utilities/ollama-delegate.sh +bash ~/.config/nexus/tools/automation/ollama-delegate.sh ``` diff --git a/tools/automation/run-pipeline.sh b/tools/automation/run-pipeline.sh index 898da82..7033c3a 100755 --- a/tools/automation/run-pipeline.sh +++ b/tools/automation/run-pipeline.sh @@ -117,7 +117,7 @@ build_prompt() { # Ollama availability note for the orchestrator local ollama_note="" if [ -n "${OLLAMA_HOST_URL:-}" ]; then - ollama_note="**L1 LOCAL MODELS AVAILABLE** — scripts/ollama-delegate.sh is configured at ${OLLAMA_HOST_URL}. + ollama_note="**L1 LOCAL MODELS AVAILABLE** — tools/automation/ollama-delegate.sh is configured at ${OLLAMA_HOST_URL}. Use it (via Bash tool) for: commit-msg, boilerplate, test-scaffold, lint-fix, logic-refactor tasks. Circuit breaker rules — when ollama-delegate.sh exits with code 3: 1. Immediately echo to console: 'WARN: Local Ollama unreachable. Tripping circuit breaker.' @@ -237,7 +237,7 @@ Commits to execute in order: Commit-type & Tag → specialist routing: - FIRST, check for the [L1] tag in the commit message or goal. - → If [L1] is present: You MUST execute this task locally using the Bash tool to call \`scripts/ollama-delegate.sh "\$OLLAMA_HOST_URL" ""\`. Do NOT spawn an Anthropic agent for [L1] tasks. + → If [L1] is present: You MUST execute this task locally using the Bash tool to write the task context to a temporary file, then call \`tools/automation/ollama-delegate.sh "" ""\`. Do NOT pass OLLAMA_HOST_URL as an argument; the script reads it from the environment. Do NOT spawn an Anthropic agent for [L1] tasks. - If NO [L1] tag, route by commit type: - feat:/fix: on frontend/UI files → frontend-developer - feat:/fix: on backend/API files → engineering-backend-architect