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 +1 -1
- package/SKILL.md +2 -2
- package/VERSION +1 -1
- package/autonomy/completion-council.sh +5 -1
- package/autonomy/run.sh +33 -9
- package/dashboard/__init__.py +1 -1
- package/docs/INSTALLATION.md +2 -2
- package/mcp/__init__.py +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
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.
|
|
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.
|
|
270
|
+
**v6.6.1 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.6.
|
|
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 ||
|
|
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
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
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
|
-
|
|
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 [ -
|
|
7226
|
-
|
|
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
|
-
|
|
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
|
}
|
package/dashboard/__init__.py
CHANGED
package/docs/INSTALLATION.md
CHANGED
|
@@ -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.
|
|
5
|
+
**Version:** v6.6.1
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## What's New in v6.6.
|
|
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