loki-mode 6.77.1 → 6.79.0
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/SKILL.md +2 -2
- package/VERSION +1 -1
- package/dashboard/__init__.py +1 -1
- package/dashboard/server.py +34 -0
- package/docs/INSTALLATION.md +1 -1
- package/docs/architecture/STATE-MACHINES.md +10 -10
- package/mcp/__init__.py +1 -1
- package/package.json +1 -1
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
|
+
# Loki Mode v6.79.0
|
|
7
7
|
|
|
8
8
|
**You are an autonomous agent. You make decisions. You do not ask questions. You do not stop.**
|
|
9
9
|
|
|
@@ -272,4 +272,4 @@ The following features are documented in skill modules but not yet fully automat
|
|
|
272
272
|
| Quality gates 3-reviewer system | Implemented (v5.35.0) | 5 specialist reviewers in `skills/quality-gates.md`; execution in run.sh |
|
|
273
273
|
| Benchmarks (HumanEval, SWE-bench) | Infrastructure only | Runner scripts and datasets exist in `benchmarks/`; no published results |
|
|
274
274
|
|
|
275
|
-
**v6.
|
|
275
|
+
**v6.79.0 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.
|
|
1
|
+
6.79.0
|
package/dashboard/__init__.py
CHANGED
package/dashboard/server.py
CHANGED
|
@@ -650,6 +650,40 @@ async def health_check() -> dict[str, str]:
|
|
|
650
650
|
return {"status": "healthy", "service": "loki-dashboard"}
|
|
651
651
|
|
|
652
652
|
|
|
653
|
+
# Provider model catalog endpoint
|
|
654
|
+
# Reads providers/model_catalog.json (single source of truth) and exposes it
|
|
655
|
+
# to the web app so model dropdowns / defaults stay in sync without a frontend
|
|
656
|
+
# rebuild on every model release. Falls back to a minimal hardcoded structure
|
|
657
|
+
# if the catalog file is missing (degraded but functional).
|
|
658
|
+
@app.get("/api/providers/models")
|
|
659
|
+
async def get_provider_models() -> dict:
|
|
660
|
+
"""Return the canonical provider/model catalog."""
|
|
661
|
+
candidates = [
|
|
662
|
+
_Path(__file__).resolve().parent.parent / "providers" / "model_catalog.json",
|
|
663
|
+
_Path("providers/model_catalog.json"),
|
|
664
|
+
]
|
|
665
|
+
for path in candidates:
|
|
666
|
+
if path.exists():
|
|
667
|
+
try:
|
|
668
|
+
with path.open("r", encoding="utf-8") as fh:
|
|
669
|
+
return json.load(fh)
|
|
670
|
+
except (json.JSONDecodeError, OSError):
|
|
671
|
+
continue
|
|
672
|
+
# Degraded fallback so the dashboard never breaks if catalog is missing
|
|
673
|
+
return {
|
|
674
|
+
"schema_version": 1,
|
|
675
|
+
"providers": {
|
|
676
|
+
"claude": {
|
|
677
|
+
"latest_planning": "claude-opus-4-7",
|
|
678
|
+
"latest_development": "claude-opus-4-7",
|
|
679
|
+
"latest_fast": "claude-sonnet-4-6",
|
|
680
|
+
"models": [],
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
"_fallback": True,
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
|
|
653
687
|
# A2A Agent Card - advertises agent capabilities per the A2A spec
|
|
654
688
|
@app.get("/.well-known/agent.json", include_in_schema=False)
|
|
655
689
|
async def agent_card() -> dict:
|
package/docs/INSTALLATION.md
CHANGED
|
@@ -196,7 +196,7 @@ Source: `get_rarv_tier()` at `run.sh:1325-1347`, `get_rarv_phase_name()` at `run
|
|
|
196
196
|
|
|
197
197
|
The `loki` CLI manages session lifecycle through signal files.
|
|
198
198
|
|
|
199
|
-
Source: `autonomy/loki:485` (cmd_start), `autonomy/run.sh:
|
|
199
|
+
Source: `autonomy/loki:485` (cmd_start), `autonomy/run.sh:10419` (check_human_intervention)
|
|
200
200
|
|
|
201
201
|
```
|
|
202
202
|
+----------+
|
|
@@ -245,7 +245,7 @@ Interrupt handling (Ctrl+C): `run.sh:8261` (cleanup function)
|
|
|
245
245
|
|
|
246
246
|
### 2.4 Human Intervention
|
|
247
247
|
|
|
248
|
-
Source: `autonomy/run.sh:
|
|
248
|
+
Source: `autonomy/run.sh:10419` (check_human_intervention)
|
|
249
249
|
|
|
250
250
|
```
|
|
251
251
|
check_human_intervention()
|
|
@@ -276,7 +276,7 @@ Source: `autonomy/completion-council.sh`
|
|
|
276
276
|
|
|
277
277
|
### 3.1 Council Voting Pipeline
|
|
278
278
|
|
|
279
|
-
Source: `completion-council.sh:
|
|
279
|
+
Source: `completion-council.sh:1359` (council_should_stop), `completion-council.sh:1308` (council_evaluate)
|
|
280
280
|
|
|
281
281
|
```
|
|
282
282
|
council_should_stop() [line 1311]
|
|
@@ -381,7 +381,7 @@ Source: `completion-council.sh` (council_circuit_breaker, council_track_iteratio
|
|
|
381
381
|
|
|
382
382
|
Based on CONSENSAGENT (ACL 2025). Runs when council votes are unanimous.
|
|
383
383
|
|
|
384
|
-
Source: `completion-council.sh:
|
|
384
|
+
Source: `completion-council.sh:1204` (council_devils_advocate_review)
|
|
385
385
|
|
|
386
386
|
```
|
|
387
387
|
Unanimous COMPLETE vote detected
|
|
@@ -994,7 +994,7 @@ Source: `skills/model-selection.md`
|
|
|
994
994
|
|
|
995
995
|
### 7.3 Code Review (3-Reviewer Blind)
|
|
996
996
|
|
|
997
|
-
Source: `run.sh:
|
|
997
|
+
Source: `run.sh:5844` (run_code_review)
|
|
998
998
|
|
|
999
999
|
```
|
|
1000
1000
|
Code changes committed
|
|
@@ -1164,7 +1164,7 @@ Written atomically every 2 seconds by `run.sh` to `.loki/dashboard-state.json`.
|
|
|
1164
1164
|
|
|
1165
1165
|
### 8.6 Dashboard Crash Recovery
|
|
1166
1166
|
|
|
1167
|
-
Source: `autonomy/run.sh:
|
|
1167
|
+
Source: `autonomy/run.sh:6809` (handle_dashboard_crash)
|
|
1168
1168
|
|
|
1169
1169
|
```
|
|
1170
1170
|
Dashboard process exits unexpectedly
|
|
@@ -1564,7 +1564,7 @@ same trigger for same iteration.
|
|
|
1564
1564
|
|
|
1565
1565
|
### 11.3 Budget Limit
|
|
1566
1566
|
|
|
1567
|
-
Source: `autonomy/run.sh:
|
|
1567
|
+
Source: `autonomy/run.sh:7418` (check_budget_limit)
|
|
1568
1568
|
|
|
1569
1569
|
```
|
|
1570
1570
|
Before each iteration
|
|
@@ -1651,7 +1651,7 @@ Source: `skills/parallel-workflows.md`
|
|
|
1651
1651
|
|
|
1652
1652
|
### 13.1 Checkpoint Creation/Rollback
|
|
1653
1653
|
|
|
1654
|
-
Source: `autonomy/run.sh:
|
|
1654
|
+
Source: `autonomy/run.sh:6464` (create_checkpoint)
|
|
1655
1655
|
|
|
1656
1656
|
```
|
|
1657
1657
|
create_checkpoint(description, tag)
|
|
@@ -1689,8 +1689,8 @@ Rollback via MCP tool `loki_checkpoint_restore` or CLI.
|
|
|
1689
1689
|
|
|
1690
1690
|
### 14.1 Auto-Detected Tiers
|
|
1691
1691
|
|
|
1692
|
-
Source: `autonomy/run.sh:
|
|
1693
|
-
`run.sh:
|
|
1692
|
+
Source: `autonomy/run.sh:1229` (detect_complexity), `run.sh:1322` (get_complexity_phases),
|
|
1693
|
+
`run.sh:1340` (get_phase_names)
|
|
1694
1694
|
|
|
1695
1695
|
```
|
|
1696
1696
|
detect_complexity(prd_path) [line 1196]
|
package/mcp/__init__.py
CHANGED