loki-mode 6.6.0 → 6.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  [![Agent Types](https://img.shields.io/badge/Agent%20Types-41-blue)]()
10
10
  [![Autonomi](https://img.shields.io/badge/Autonomi-autonomi.dev-5B4EEA)](https://www.autonomi.dev/)
11
11
 
12
- **Current Version: v6.6.0**
12
+ **Current Version: v6.6.1**
13
13
 
14
14
  ---
15
15
 
package/SKILL.md CHANGED
@@ -3,7 +3,7 @@ name: loki-mode
3
3
  description: Multi-agent autonomous startup system. Triggers on "Loki Mode". Takes PRD to deployed product with minimal human intervention. Requires --dangerously-skip-permissions flag.
4
4
  ---
5
5
 
6
- # Loki Mode v6.6.0
6
+ # Loki Mode v6.6.1
7
7
 
8
8
  **You are an autonomous agent. You make decisions. You do not ask questions. You do not stop.**
9
9
 
@@ -267,4 +267,4 @@ The following features are documented in skill modules but not yet fully automat
267
267
  | Quality gates 3-reviewer system | Implemented (v5.35.0) | 5 specialist reviewers in `skills/quality-gates.md`; execution in run.sh |
268
268
  | Benchmarks (HumanEval, SWE-bench) | Infrastructure only | Runner scripts and datasets exist in `benchmarks/`; no published results |
269
269
 
270
- **v6.6.0 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
270
+ **v6.6.1 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 6.6.0
1
+ 6.6.1
@@ -141,7 +141,11 @@ council_track_iteration() {
141
141
  # Check last 200 lines for completion-like language
142
142
  local done_indicators
143
143
  done_indicators=$(tail -200 "$log_file" 2>/dev/null | grep -ciE \
144
- "(all tests pass|all requirements met|implementation complete|feature complete|task complete|project complete|all tasks done|everything is working)" 2>/dev/null || echo "0")
144
+ "(all tests pass|all requirements met|implementation complete|feature complete|task complete|project complete|all tasks done|everything is working)" 2>/dev/null) || true
145
+ done_indicators="${done_indicators:-0}"
146
+ # Ensure we have a clean integer (strip any whitespace/newlines)
147
+ done_indicators=$(echo "$done_indicators" | tr -dc '0-9')
148
+ done_indicators="${done_indicators:-0}"
145
149
 
146
150
  if [ "$done_indicators" -gt 0 ]; then
147
151
  ((COUNCIL_DONE_SIGNALS++))
package/autonomy/run.sh CHANGED
@@ -2911,8 +2911,9 @@ invoke_aider() {
2911
2911
  local model="${LOKI_AIDER_MODEL:-claude-3.7-sonnet}"
2912
2912
  local extra_flags="${LOKI_AIDER_FLAGS:-}"
2913
2913
  # shellcheck disable=SC2086
2914
+ # < /dev/null prevents aider from blocking on stdin in non-interactive mode
2914
2915
  aider --message "$prompt" --yes-always --no-auto-commits \
2915
- --model "$model" $extra_flags "$@" 2>&1
2916
+ --model "$model" $extra_flags "$@" < /dev/null 2>&1
2916
2917
  }
2917
2918
 
2918
2919
  # Invoke Aider and capture output (for variable assignment)
@@ -2924,7 +2925,7 @@ invoke_aider_capture() {
2924
2925
  local extra_flags="${LOKI_AIDER_FLAGS:-}"
2925
2926
  # shellcheck disable=SC2086
2926
2927
  aider --message "$prompt" --yes-always --no-auto-commits \
2927
- --model "$model" $extra_flags "$@" 2>&1
2928
+ --model "$model" $extra_flags "$@" < /dev/null 2>&1
2928
2929
  }
2929
2930
 
2930
2931
  #===============================================================================
@@ -7215,17 +7216,40 @@ except: pass
7215
7216
  fi
7216
7217
  fi
7217
7218
 
7218
- if [ $retry -eq 0 ]; then
7219
- if [ -n "$prd" ]; then
7220
- echo "Loki Mode with PRD at $prd. $human_directive $queue_tasks $bmad_context $checklist_status $app_runner_info $playwright_info $memory_context_section $rarv_instruction $memory_instruction $compaction_reminder $completion_instruction $sdlc_instruction $autonomous_suffix"
7219
+ # Degraded providers with small models need simplified prompts
7220
+ # Full RARV/SDLC instructions overwhelm models < 30B parameters
7221
+ if [ "${PROVIDER_DEGRADED:-false}" = "true" ]; then
7222
+ local prd_content=""
7223
+ if [ -n "$prd" ] && [ -f "$prd" ]; then
7224
+ prd_content=$(head -c 4000 "$prd")
7225
+ fi
7226
+
7227
+ if [ $retry -eq 0 ]; then
7228
+ if [ -n "$prd" ]; then
7229
+ echo "You are a coding assistant. Read and implement the requirements from the PRD below. Write working code, run tests if possible, and commit changes. ${human_directive:+Priority: $human_directive} ${queue_tasks:+Tasks: $queue_tasks} PRD contents: $prd_content"
7230
+ else
7231
+ echo "You are a coding assistant. Analyze this codebase and suggest improvements. Write working code and commit changes. ${human_directive:+Priority: $human_directive} ${queue_tasks:+Tasks: $queue_tasks}"
7232
+ fi
7221
7233
  else
7222
- echo "Loki Mode. $human_directive $queue_tasks $bmad_context $checklist_status $app_runner_info $playwright_info $memory_context_section $analysis_instruction $rarv_instruction $memory_instruction $compaction_reminder $completion_instruction $sdlc_instruction $autonomous_suffix"
7234
+ if [ -n "$prd" ]; then
7235
+ echo "You are a coding assistant. Continue working on iteration $iteration. Review what exists, implement remaining PRD requirements, fix any issues, add tests. ${human_directive:+Priority: $human_directive} ${queue_tasks:+Tasks: $queue_tasks} PRD contents: $prd_content"
7236
+ else
7237
+ echo "You are a coding assistant. Continue working on iteration $iteration. Review what exists, improve code, fix bugs, add tests. ${human_directive:+Priority: $human_directive} ${queue_tasks:+Tasks: $queue_tasks}"
7238
+ fi
7223
7239
  fi
7224
7240
  else
7225
- if [ -n "$prd" ]; then
7226
- echo "Loki Mode - Resume iteration #$iteration (retry #$retry). PRD: $prd. $human_directive $queue_tasks $bmad_context $checklist_status $app_runner_info $playwright_info $memory_context_section $rarv_instruction $memory_instruction $compaction_reminder $completion_instruction $sdlc_instruction $autonomous_suffix"
7241
+ if [ $retry -eq 0 ]; then
7242
+ if [ -n "$prd" ]; then
7243
+ echo "Loki Mode with PRD at $prd. $human_directive $queue_tasks $bmad_context $checklist_status $app_runner_info $playwright_info $memory_context_section $rarv_instruction $memory_instruction $compaction_reminder $completion_instruction $sdlc_instruction $autonomous_suffix"
7244
+ else
7245
+ echo "Loki Mode. $human_directive $queue_tasks $bmad_context $checklist_status $app_runner_info $playwright_info $memory_context_section $analysis_instruction $rarv_instruction $memory_instruction $compaction_reminder $completion_instruction $sdlc_instruction $autonomous_suffix"
7246
+ fi
7227
7247
  else
7228
- echo "Loki Mode - Resume iteration #$iteration (retry #$retry). $human_directive $queue_tasks $bmad_context $checklist_status $app_runner_info $playwright_info $memory_context_section Use .loki/generated-prd.md if exists. $rarv_instruction $memory_instruction $compaction_reminder $completion_instruction $sdlc_instruction $autonomous_suffix"
7248
+ if [ -n "$prd" ]; then
7249
+ echo "Loki Mode - Resume iteration #$iteration (retry #$retry). PRD: $prd. $human_directive $queue_tasks $bmad_context $checklist_status $app_runner_info $playwright_info $memory_context_section $rarv_instruction $memory_instruction $compaction_reminder $completion_instruction $sdlc_instruction $autonomous_suffix"
7250
+ else
7251
+ echo "Loki Mode - Resume iteration #$iteration (retry #$retry). $human_directive $queue_tasks $bmad_context $checklist_status $app_runner_info $playwright_info $memory_context_section Use .loki/generated-prd.md if exists. $rarv_instruction $memory_instruction $compaction_reminder $completion_instruction $sdlc_instruction $autonomous_suffix"
7252
+ fi
7229
7253
  fi
7230
7254
  fi
7231
7255
  }
@@ -7,7 +7,7 @@ Modules:
7
7
  control: Session control API (start/stop/pause/resume)
8
8
  """
9
9
 
10
- __version__ = "6.6.0"
10
+ __version__ = "6.6.1"
11
11
 
12
12
  # Expose the control app for easy import
13
13
  try:
@@ -2,11 +2,11 @@
2
2
 
3
3
  The flagship product of [Autonomi](https://www.autonomi.dev/). Complete installation instructions for all platforms and use cases.
4
4
 
5
- **Version:** v6.6.0
5
+ **Version:** v6.6.1
6
6
 
7
7
  ---
8
8
 
9
- ## What's New in v6.6.0
9
+ ## What's New in v6.6.1
10
10
 
11
11
  ### Dual-Mode Architecture (v6.0.0)
12
12
  - `loki run` command for direct autonomous execution
package/mcp/__init__.py CHANGED
@@ -57,4 +57,4 @@ try:
57
57
  except ImportError:
58
58
  __all__ = ['mcp']
59
59
 
60
- __version__ = '6.6.0'
60
+ __version__ = '6.6.1'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loki-mode",
3
- "version": "6.6.0",
3
+ "version": "6.6.1",
4
4
  "description": "Loki Mode by Autonomi - Multi-agent autonomous startup system for Claude Code, Codex CLI, and Gemini CLI",
5
5
  "keywords": [
6
6
  "agent",