loki-mode 7.4.18 → 7.4.20
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/autonomy/run.sh +20 -1
- package/dashboard/__init__.py +1 -1
- package/docs/INSTALLATION.md +1 -1
- package/loki-ts/dist/loki.js +2 -2
- 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 v7.4.
|
|
6
|
+
# Loki Mode v7.4.20
|
|
7
7
|
|
|
8
8
|
**You are an autonomous agent. You make decisions. You do not ask questions. You do not stop.**
|
|
9
9
|
|
|
@@ -322,4 +322,4 @@ The following features are documented in skill modules but not yet fully automat
|
|
|
322
322
|
| Quality gates 3-reviewer system | Implemented (v5.35.0) | 5 specialist reviewers in `skills/quality-gates.md`; execution in run.sh |
|
|
323
323
|
| Benchmarks (HumanEval, SWE-bench) | Infrastructure only | Runner scripts and datasets exist in `benchmarks/`; no published results |
|
|
324
324
|
|
|
325
|
-
**v7.4.
|
|
325
|
+
**v7.4.20 | [Autonomi](https://www.autonomi.dev/) flagship product | ~260 lines core**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.4.
|
|
1
|
+
7.4.20
|
package/autonomy/run.sh
CHANGED
|
@@ -6331,6 +6331,15 @@ MANAGED_SELECTION
|
|
|
6331
6331
|
|
|
6332
6332
|
# Select specialists via keyword scoring (python3 reads files, not env vars)
|
|
6333
6333
|
# Loads from agents/types.json when available, falls back to hardcoded pool (v6.7.0)
|
|
6334
|
+
# v7.4.20: gate legacy-healing-auditor on healing-mode signals to match
|
|
6335
|
+
# the documented contract in skills/quality-gates.md (Gate 10).
|
|
6336
|
+
local healing_active="false"
|
|
6337
|
+
if [ "${LOKI_HEAL_MODE:-}" = "true" ] || [ "${LOKI_HEAL_MODE:-}" = "1" ]; then
|
|
6338
|
+
healing_active="true"
|
|
6339
|
+
elif [ -f "${PROJECT_DIR}/.loki/healing/friction-map.json" ]; then
|
|
6340
|
+
healing_active="true"
|
|
6341
|
+
fi
|
|
6342
|
+
export LOKI_REVIEW_HEALING_ACTIVE="$healing_active"
|
|
6334
6343
|
export LOKI_REVIEW_DIFF_FILE="$diff_file"
|
|
6335
6344
|
export LOKI_REVIEW_FILES_FILE="$files_file"
|
|
6336
6345
|
export LOKI_AGENTS_TYPES_FILE="${PROJECT_DIR}/agents/types.json"
|
|
@@ -6418,6 +6427,16 @@ if files_path and os.path.exists(files_path):
|
|
|
6418
6427
|
|
|
6419
6428
|
search_text = diff_text + " " + files_text
|
|
6420
6429
|
|
|
6430
|
+
# v7.4.20: gate legacy-healing-auditor on healing-mode signals to match
|
|
6431
|
+
# skills/quality-gates.md (Gate 10) which documents it as conditional. The
|
|
6432
|
+
# auditor BLOCKs on missing characterization tests / missing adapters, which
|
|
6433
|
+
# is a contract a greenfield project never agreed to maintain. agentbudget
|
|
6434
|
+
# regression: the auditor pinned 9 of 10 iterations to forced PAUSE because
|
|
6435
|
+
# common tokens like "refactor"/"adapter" landed it in the keyword pool.
|
|
6436
|
+
healing_active = os.environ.get("LOKI_REVIEW_HEALING_ACTIVE", "false") == "true"
|
|
6437
|
+
if not healing_active and "legacy-healing-auditor" in SPECIALISTS:
|
|
6438
|
+
del SPECIALISTS["legacy-healing-auditor"]
|
|
6439
|
+
|
|
6421
6440
|
# Score each specialist by keyword matches
|
|
6422
6441
|
scores = {}
|
|
6423
6442
|
for name, spec in SPECIALISTS.items():
|
|
@@ -6455,7 +6474,7 @@ result = {
|
|
|
6455
6474
|
print(json.dumps(result))
|
|
6456
6475
|
SPECIALIST_SELECT
|
|
6457
6476
|
)
|
|
6458
|
-
unset LOKI_REVIEW_DIFF_FILE LOKI_REVIEW_FILES_FILE LOKI_AGENTS_TYPES_FILE
|
|
6477
|
+
unset LOKI_REVIEW_DIFF_FILE LOKI_REVIEW_FILES_FILE LOKI_AGENTS_TYPES_FILE LOKI_REVIEW_HEALING_ACTIVE
|
|
6459
6478
|
|
|
6460
6479
|
if [ -z "$selected_specialists" ]; then
|
|
6461
6480
|
log_error "Code review: Specialist selection failed"
|
package/dashboard/__init__.py
CHANGED
package/docs/INSTALLATION.md
CHANGED
package/loki-ts/dist/loki.js
CHANGED
|
@@ -263,7 +263,7 @@ Start a session with: loki start <prd>`}}let Z=m0(X);return{exitCode:0,stdout:Q?
|
|
|
263
263
|
`),0}async function $3(z){let Q=!1;for(let $ of z)if($==="--json")Q=!0;else if($==="--help"||$==="-h")return e0(),0;else return process.stderr.write(`${S}Unknown option: ${$}${K}
|
|
264
264
|
`),process.stderr.write(`Usage: loki doctor [--json]
|
|
265
265
|
`),1;if(Q){let $=await i1();return process.stdout.write(JSON.stringify($,null,2)+`
|
|
266
|
-
`),0}return z3()}var r0,s0,i0;var z0=g(()=>{m();Q1();p();r0=/(\d+\.\d+(?:\.\d+)*)/;s0=[{name:"Claude Code",dir:".claude/skills/loki-mode"},{name:"Codex CLI",dir:".codex/skills/loki-mode"},{name:"Gemini CLI",dir:".gemini/skills/loki-mode"},{name:"Cline CLI",dir:".cline/skills/loki-mode"},{name:"Aider CLI",dir:".aider/skills/loki-mode"}];i0=[{displayName:"Node.js (>= 18)",jsonName:"Node.js",cmd:"node",required:"required",min:"18.0"},{displayName:"Python 3 (>= 3.8)",jsonName:"Python 3",cmd:"python3",required:"required",min:"3.8"},{displayName:"jq",jsonName:"jq",cmd:"jq",required:"required"},{displayName:"git",jsonName:"git",cmd:"git",required:"required"},{displayName:"curl",jsonName:"curl",cmd:"curl",required:"required"},{displayName:"bash (>= 4.0)",jsonName:"bash",cmd:"bash",required:"recommended",min:"4.0"},{displayName:"Bun (>= 1.3)",jsonName:"Bun",cmd:"bun",required:"recommended",min:"1.3"},{displayName:"Claude CLI",jsonName:"Claude CLI",cmd:"claude",required:"optional"},{displayName:"Codex CLI",jsonName:"Codex CLI",cmd:"codex",required:"optional"},{displayName:"Gemini CLI",jsonName:"Gemini CLI",cmd:"gemini",required:"optional"},{displayName:"Cline CLI",jsonName:"Cline CLI",cmd:"cline",required:"optional"},{displayName:"Aider CLI",jsonName:"Aider CLI",cmd:"aider",required:"optional"}]});h();import{readFileSync as U0}from"fs";import{resolve as V0,dirname as q0}from"path";import{fileURLToPath as G0}from"url";var v=null;function k1(){if(v!==null)return v;let z="7.4.
|
|
266
|
+
`),0}return z3()}var r0,s0,i0;var z0=g(()=>{m();Q1();p();r0=/(\d+\.\d+(?:\.\d+)*)/;s0=[{name:"Claude Code",dir:".claude/skills/loki-mode"},{name:"Codex CLI",dir:".codex/skills/loki-mode"},{name:"Gemini CLI",dir:".gemini/skills/loki-mode"},{name:"Cline CLI",dir:".cline/skills/loki-mode"},{name:"Aider CLI",dir:".aider/skills/loki-mode"}];i0=[{displayName:"Node.js (>= 18)",jsonName:"Node.js",cmd:"node",required:"required",min:"18.0"},{displayName:"Python 3 (>= 3.8)",jsonName:"Python 3",cmd:"python3",required:"required",min:"3.8"},{displayName:"jq",jsonName:"jq",cmd:"jq",required:"required"},{displayName:"git",jsonName:"git",cmd:"git",required:"required"},{displayName:"curl",jsonName:"curl",cmd:"curl",required:"required"},{displayName:"bash (>= 4.0)",jsonName:"bash",cmd:"bash",required:"recommended",min:"4.0"},{displayName:"Bun (>= 1.3)",jsonName:"Bun",cmd:"bun",required:"recommended",min:"1.3"},{displayName:"Claude CLI",jsonName:"Claude CLI",cmd:"claude",required:"optional"},{displayName:"Codex CLI",jsonName:"Codex CLI",cmd:"codex",required:"optional"},{displayName:"Gemini CLI",jsonName:"Gemini CLI",cmd:"gemini",required:"optional"},{displayName:"Cline CLI",jsonName:"Cline CLI",cmd:"cline",required:"optional"},{displayName:"Aider CLI",jsonName:"Aider CLI",cmd:"aider",required:"optional"}]});h();import{readFileSync as U0}from"fs";import{resolve as V0,dirname as q0}from"path";import{fileURLToPath as G0}from"url";var v=null;function k1(){if(v!==null)return v;let z="7.4.20";if(typeof z==="string"&&z.length>0)return v=z,v;try{let Q=q0(G0(import.meta.url)),$=U1(Q);v=U0(V0($,"VERSION"),"utf-8").trim()}catch{v="unknown"}return v}function R1(){return process.stdout.write(`Loki Mode v${k1()}
|
|
267
267
|
`),0}m();p();h();import{readFileSync as A0,existsSync as O0}from"fs";import{resolve as _0}from"path";var T0=["claude","codex","gemini","cline","aider"];function D1(){let z=_0(b(),"state","provider");if(!O0(z))return"";try{return A0(z,"utf-8").trim()}catch{return""}}function I0(z,Q){return z||Q||process.env.LOKI_PROVIDER||"claude"}function w0(z){let Q=D1(),$=I0(z,Q);switch(process.stdout.write(`${x}Current Provider${K}
|
|
268
268
|
`),process.stdout.write(`
|
|
269
269
|
`),process.stdout.write(`${G}Provider:${K} ${$}
|
|
@@ -339,4 +339,4 @@ Set LOKI_LEGACY_BASH=1 to force the bash CLI for every command.
|
|
|
339
339
|
`;async function Q3(z){let Q=z[0],$=z.slice(1);switch(Q){case void 0:case"help":case"--help":case"-h":return process.stdout.write($0),0;case"version":case"--version":case"-v":return R1();case"provider":return E1($);case"memory":return N1($);case"status":{let{runStatus:X}=await Promise.resolve().then(() => (m1(),v1));return X($)}case"stats":{let{runStats:X}=await Promise.resolve().then(() => (d1(),l1));return X($)}case"doctor":{let{runDoctor:X}=await Promise.resolve().then(() => (z0(),e1));return X($)}default:return process.stderr.write(`Unknown command: ${Q}
|
|
340
340
|
`),process.stderr.write($0),2}}process.on("SIGINT",()=>process.exit(130));process.on("SIGTERM",()=>process.exit(143));var X3=await Q3(Bun.argv.slice(2));process.exit(X3);
|
|
341
341
|
|
|
342
|
-
//# debugId=
|
|
342
|
+
//# debugId=BE38E98FBA9CE80064756E2164756E21
|
package/mcp/__init__.py
CHANGED