loki-mode 7.5.10 → 7.5.12

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.
@@ -37,7 +37,7 @@
37
37
  |---------|--------------|-----------|-----------|------------|----------|-----------------|--------------|--------------|
38
38
  | **Code Review** | 3 blind reviewers + devil's advocate | Basic | Basic | BugBot PR | Property-based | Artifacts | Doc/Review | Basic |
39
39
  | **Anti-Sycophancy** | Yes (CONSENSAGENT) | No | No | No | No | No | No | No |
40
- | **Quality Gates** | 9 gates + PBT | Basic | Sandbox | Tests | Spec validation | Artifact checks | Tests | Permissions |
40
+ | **Quality Gates** | 11 gates + PBT | Basic | Sandbox | Tests | Spec validation | Artifact checks | Tests | Permissions |
41
41
  | **Constitutional AI** | Yes (principles) | No | Refusal training | No | No | No | No | No |
42
42
 
43
43
  ---
@@ -47,7 +47,7 @@
47
47
  | Feature | **Loki Mode** | **Devin** | **Codex** | **Cursor** | **Kiro** | **Antigravity** | **Amazon Q** | **OpenCode** |
48
48
  |---------|--------------|-----------|-----------|------------|----------|-----------------|--------------|--------------|
49
49
  | **Spec-First** | OpenAPI-first | Natural lang | Natural lang | Natural lang | requirements.md, design.md, tasks.md | Natural lang | Natural lang | AGENTS.md |
50
- | **PRD Support** | Native parsing | Ticket-based | Issue-based | No | Native specs | No | Issue-based | No |
50
+ | **Spec Support (PRD / issue / YAML)** | Native parsing across all three | Ticket-based | Issue-based | No | Native specs | No | Issue-based | No |
51
51
  | **Design Docs** | Auto-generates | No | No | No | Yes (design.md) | Artifacts | Yes | No |
52
52
 
53
53
  ---
@@ -207,7 +207,7 @@
207
207
  | **Skills** | Progressive disclosure | 6 slash commands | N/A | 129 skills | N/A | 35 skills | Memory focus |
208
208
  | **Multi-Provider** | Yes (Claude/Codex/Gemini) | 3 CLIs (separate) | No | No | No | No | No |
209
209
  | **Memory System** | 3-tier (episodic/semantic/procedural) | None | N/A | N/A | Hybrid | N/A | SQLite+FTS5 |
210
- | **Quality Gates** | 9 gates + Completion Council | User verify only | Two-Stage Review | N/A | Consensus | Tiered | N/A |
210
+ | **Quality Gates** | 11 gates + Completion Council | User verify only | Two-Stage Review | N/A | Consensus | Tiered | N/A |
211
211
  | **Context Mgmt** | Standard | Fresh per task (core innovation) | Fresh per task | N/A | N/A | N/A | Progressive |
212
212
  | **Autonomy** | High (minimal human) | Semi (checkpoints) | Human-guided | Human-guided | Orchestrated | Human-guided | N/A |
213
213
 
@@ -232,7 +232,7 @@ These are patterns from competing projects that are **practically and scientific
232
232
  |----------|---------|-------------------------|
233
233
  | **Multi-Provider Support** | Only skill supporting Claude, Codex, and Gemini with graceful degradation | All 8 competitors are Claude-only |
234
234
  | **RARV Cycle** | Reason-Act-Reflect-Verify is more rigorous than Plan-Execute | Most use simple Plan-Execute |
235
- | **9-Gate Quality System** | Static analysis + 3 reviewers + devil's advocate + anti-sycophancy + severity blocking + coverage + debate | Superpowers has 2-stage, others have less |
235
+ | **11-Gate Quality System** | Static analysis + 3 reviewers + devil's advocate + anti-sycophancy + severity blocking + coverage + debate + backward-compat (healing) + Phase 1 closure | Superpowers has 2-stage, others have less |
236
236
  | **Constitutional AI Integration** | Principles-based self-critique from Anthropic research | None have this |
237
237
  | **Anti-Sycophancy (CONSENSAGENT)** | Blind review + devil's advocate prevents groupthink | None have this |
238
238
  | **Provider Abstraction Layer** | Clean degradation from full-featured to sequential-only | Claude-only projects can't degrade |
@@ -342,7 +342,7 @@ Tiered agent architecture with explicit escalation:
342
342
 
343
343
  | Agent | Killer Feature |
344
344
  |-------|---------------|
345
- | **Loki Mode** | Minimal-human-intervention full SDLC, 41 agents in 8 swarms, Constitutional AI, anti-sycophancy, cross-project learning, code transformation, property-based testing |
345
+ | **Loki Mode** | Minimal-human-intervention full SDLC from any spec (PRD, GitHub issue, or YAML), 41 agents in 8 swarms, Constitutional AI, anti-sycophancy, cross-project learning, code transformation, property-based testing |
346
346
  | **Devin** | Full software engineer persona, Slack integration, 67% PR merge rate |
347
347
  | **OpenAI Codex** | Skills marketplace, $skill-creator, GPT-5.2-Codex, secure sandbox |
348
348
  | **Cursor** | 8 parallel agents, BugBot, Memories, $10B valuation, Composer model (250 tok/s) |
@@ -359,7 +359,7 @@ Tiered agent architecture with explicit escalation:
359
359
  |-----------|-------------------|
360
360
  | **Autonomy** | Designed for high autonomy with minimal human intervention |
361
361
  | **Multi-Agent** | 41 specialized agents in 8 swarms vs 1-8 in competitors |
362
- | **Quality** | 9 gates + blind review + devil's advocate + property-based testing |
362
+ | **Quality** | 11 gates + blind review + devil's advocate + property-based testing |
363
363
  | **Research** | 10+ academic papers integrated vs proprietary/undisclosed |
364
364
  | **Anti-Sycophancy** | Only agent with CONSENSAGENT-based blind review |
365
365
  | **Memory** | 3-tier memory (episodic/semantic/procedural) + review learning + cross-project |
@@ -2,7 +2,7 @@
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:** v7.5.10
5
+ **Version:** v7.5.12
6
6
 
7
7
  ---
8
8
 
@@ -128,15 +128,25 @@ package, while `loki-mode-sdk` is the thin client.
128
128
 
129
129
  ## Quick Start
130
130
 
131
+ Drop a spec -- any artifact that describes what you want built -- and Loki
132
+ Mode takes it from spec to deployed app. Specs can be a markdown PRD, a
133
+ GitHub issue URL, or a YAML feature description.
134
+
131
135
  ```bash
132
- # CLI mode (works with any provider)
133
- loki start ./prd.md
134
- loki start ./prd.md --provider codex
135
- loki start ./prd.md --provider gemini
136
+ # CLI mode (works with any provider) -- spec as markdown PRD
137
+ loki start ./spec.md
138
+ loki start ./spec.md --provider codex
139
+ loki start ./spec.md --provider gemini
140
+
141
+ # Spec as a GitHub issue
142
+ loki start --github-issue https://github.com/owner/repo/issues/42
143
+
144
+ # Spec as a YAML feature description
145
+ loki start ./feature.yaml
136
146
 
137
147
  # Interactive mode (inside your coding agent)
138
148
  claude --dangerously-skip-permissions
139
- # Then say: "Loki Mode with PRD at ./my-prd.md"
149
+ # Then say: "Loki Mode with spec at ./my-spec.md"
140
150
  ```
141
151
 
142
152
  ---
@@ -198,11 +208,11 @@ Run Loki Mode in an isolated Docker container for enhanced security.
198
208
  ### Usage
199
209
 
200
210
  ```bash
201
- # Run in sandbox mode
202
- ./autonomy/sandbox.sh ./my-prd.md
211
+ # Run in sandbox mode (spec can be PRD, issue link, or YAML)
212
+ ./autonomy/sandbox.sh ./my-spec.md
203
213
 
204
214
  # With provider selection
205
- ./autonomy/sandbox.sh --provider codex ./my-prd.md
215
+ ./autonomy/sandbox.sh --provider codex ./my-spec.md
206
216
  ```
207
217
 
208
218
  ### Security Controls
@@ -213,10 +223,10 @@ By default, prompt injection is **disabled** for enterprise safety:
213
223
 
214
224
  ```bash
215
225
  # Default: prompt injection disabled
216
- ./autonomy/run.sh ./my-prd.md
226
+ ./autonomy/run.sh ./my-spec.md
217
227
 
218
228
  # Opt-in to enable prompt injection
219
- LOKI_PROMPT_INJECTION_ENABLED=true ./autonomy/run.sh ./my-prd.md
229
+ LOKI_PROMPT_INJECTION_ENABLED=true ./autonomy/run.sh ./my-spec.md
220
230
  ```
221
231
 
222
232
  #### Human Input Security
@@ -228,7 +238,7 @@ The `HUMAN_INPUT.md` file has security controls:
228
238
 
229
239
  ### When to Use Sandbox Mode
230
240
 
231
- - Running untrusted PRD files
241
+ - Running untrusted spec files (PRD, issue export, YAML)
232
242
  - Enterprise environments with strict security requirements
233
243
  - Automated CI/CD pipelines
234
244
  - Multi-tenant deployments
@@ -272,13 +282,13 @@ Use the `--provider` flag when invoking Loki Mode:
272
282
 
273
283
  ```bash
274
284
  # Use Claude (default)
275
- loki start ./my-prd.md --provider claude
285
+ loki start ./my-spec.md --provider claude
276
286
 
277
287
  # Use OpenAI Codex
278
- loki start ./my-prd.md --provider codex
288
+ loki start ./my-spec.md --provider codex
279
289
 
280
290
  # Use Google Gemini
281
- loki start ./my-prd.md --provider gemini
291
+ loki start ./my-spec.md --provider gemini
282
292
  ```
283
293
 
284
294
  #### Docker
@@ -289,12 +299,12 @@ Pass the provider as an environment variable:
289
299
  # Use Codex with Docker
290
300
  docker run -e LOKI_PROVIDER=codex \
291
301
  -v $(pwd):/workspace -w /workspace \
292
- asklokesh/loki-mode:latest start ./my-prd.md
302
+ asklokesh/loki-mode:latest start ./my-spec.md
293
303
 
294
304
  # Use Gemini with Docker
295
305
  docker run -e LOKI_PROVIDER=gemini \
296
306
  -v $(pwd):/workspace -w /workspace \
297
- asklokesh/loki-mode:latest start ./my-prd.md
307
+ asklokesh/loki-mode:latest start ./my-spec.md
298
308
  ```
299
309
 
300
310
  ### Degraded Mode
@@ -445,7 +455,7 @@ description: Multi-Agent Autonomous Startup System
445
455
 
446
456
  1. Start a new conversation
447
457
  2. Type: `Loki Mode`
448
- 3. Claude should recognize the skill and ask for a PRD
458
+ 3. Claude should recognize the skill and ask for a spec (PRD, GitHub issue link, or YAML)
449
459
 
450
460
  ### For API Console
451
461
 
@@ -475,7 +485,7 @@ loki-mode/
475
485
  ├── autonomy/ # Autonomous runner (CLI only)
476
486
  │ ├── run.sh
477
487
  │ └── README.md
478
- ├── templates/ # 22 PRD templates for project scaffolding
488
+ ├── templates/ # 22 spec templates (PRD-style) for project scaffolding
479
489
  │ ├── simple-todo-app.md
480
490
  │ ├── api-only.md
481
491
  │ ├── static-landing-page.md
@@ -628,7 +638,7 @@ The completion scripts support:
628
638
  * **Smart Context**
629
639
 
630
640
  * `loki start --provider <TAB>` shows only installed providers (`claude`, `codex`, `gemini`).
631
- * `loki start <TAB>` defaults to file completion for PRD templates.
641
+ * `loki start <TAB>` defaults to file completion for spec files (PRD templates, YAML).
632
642
 
633
643
  * **Nested Commands**
634
644
  Handles specific subcommands for `council`, `memory`, `config`, `audit`, `metrics`, `watchdog`, and `secrets`.
@@ -797,9 +807,9 @@ After installation:
797
807
  cd my-app
798
808
  ```
799
809
 
800
- 3. **Start Building:** Launch autonomous development
810
+ 3. **Start Building:** Launch autonomous development from any spec (PRD, GitHub issue, or YAML)
801
811
  ```bash
802
- loki start prd.md
812
+ loki start spec.md
803
813
  ```
804
814
 
805
815
  4. **Read Documentation:** Check out [README.md](../README.md) for usage guides
@@ -11,10 +11,10 @@
11
11
  |-----------|--------|-----------|--------|
12
12
  | **Proven Scale** | 1M+ LoC, large agent count | Benchmarks only | Cursor |
13
13
  | **Research Foundation** | Empirical iteration | 25+ academic citations | Loki Mode |
14
- | **Quality Assurance** | Workers self-manage | 9-gate system + anti-sycophancy | Loki Mode |
14
+ | **Quality Assurance** | Workers self-manage | 11-gate system + anti-sycophancy | Loki Mode |
15
15
  | **Anti-Sycophancy** | Not mentioned | CONSENSAGENT blind review | Loki Mode |
16
16
  | **Velocity-Quality Balance** | Not mentioned | arXiv-backed metrics | Loki Mode |
17
- | **Full SDLC Coverage** | Code generation focus | PRD to production + growth | Loki Mode |
17
+ | **Full SDLC Coverage** | Code generation focus | Spec (PRD/issue/YAML) to production + growth | Loki Mode |
18
18
  | **Memory Systems** | Not detailed | Episodic/semantic/procedural | Loki Mode |
19
19
  | **Scale Patterns** | Battle-tested | Now incorporated (v3.3.0) | Tie |
20
20
 
@@ -66,7 +66,7 @@ velocity_quality_balance:
66
66
 
67
67
  ---
68
68
 
69
- ### 3. 9-Gate Quality System
69
+ ### 3. 11-Gate Quality System
70
70
 
71
71
  **Loki Mode's Gates:**
72
72
  1. Input Guardrails - Validate scope, detect injection (OpenAI SDK pattern)
@@ -174,7 +174,7 @@ Cursor learned through failure:
174
174
  ### 3. Simplicity Principle
175
175
  > "A surprising amount of the system's behavior comes down to how we prompt the agents. The harness and models matter, but the prompts matter more."
176
176
 
177
- **Loki Mode:** More complex infrastructure (9 gates, 41 agent types, memory systems). May be over-engineered for some use cases.
177
+ **Loki Mode:** More elaborate infrastructure (11 gates, 41 agent types, memory systems). May be over-engineered for some use cases.
178
178
 
179
179
  ---
180
180
 
@@ -192,10 +192,10 @@ We incorporated Cursor's proven patterns:
192
192
  ## Conclusion
193
193
 
194
194
  **Loki Mode is scientifically better in:**
195
- - Quality assurance (research-backed 9-gate system)
195
+ - Quality assurance (research-backed 11-gate system)
196
196
  - Anti-sycophancy (CONSENSAGENT blind review)
197
197
  - Velocity-quality balance (arXiv metrics)
198
- - Full SDLC coverage (PRD to growth)
198
+ - Full SDLC coverage (spec to growth -- PRD, GitHub issue, or YAML)
199
199
  - Memory architecture (episodic/semantic/procedural)
200
200
 
201
201
  **Cursor is operationally better in:**
@@ -423,7 +423,7 @@ Subcommands:
423
423
 
424
424
  This command is invoked by autonomy/run.sh between iterations. Users
425
425
  should not run it directly -- run \`loki start\` instead.
426
- `,T5;var $6=w(()=>{m();T1();T5=c1});m();import{readFileSync as U6}from"fs";import{resolve as q6,dirname as H6}from"path";import{fileURLToPath as G6}from"url";var o=null;function r1(){if(o!==null)return o;let $="7.5.10";if(typeof $==="string"&&$.length>0)return o=$,o;try{let Q=H6(G6(import.meta.url)),z=E1(Q);o=U6(q6(z,"VERSION"),"utf-8").trim()}catch{o="unknown"}return o}function s1(){return process.stdout.write(`Loki Mode v${r1()}
426
+ `,T5;var $6=w(()=>{m();T1();T5=c1});m();import{readFileSync as U6}from"fs";import{resolve as q6,dirname as H6}from"path";import{fileURLToPath as G6}from"url";var o=null;function r1(){if(o!==null)return o;let $="7.5.12";if(typeof $==="string"&&$.length>0)return o=$,o;try{let Q=H6(G6(import.meta.url)),z=E1(Q);o=U6(q6(z,"VERSION"),"utf-8").trim()}catch{o="unknown"}return o}function s1(){return process.stdout.write(`Loki Mode v${r1()}
427
427
  `),0}p();n();m();import{readFileSync as A6,existsSync as T6}from"fs";import{resolve as O6}from"path";var j6=["claude","codex","gemini","cline","aider"];function i1(){let $=O6(P(),"state","provider");if(!T6($))return"";try{return A6($,"utf-8").trim()}catch{return""}}function _6($,Q){return $||Q||process.env.LOKI_PROVIDER||"claude"}function I6($){let Q=i1(),z=_6($,Q);switch(process.stdout.write(`${D}Current Provider${W}
428
428
  `),process.stdout.write(`
429
429
  `),process.stdout.write(`${A}Provider:${W} ${z}
@@ -506,4 +506,4 @@ Set LOKI_LEGACY_BASH=1 to force the bash CLI for every command.
506
506
  `),2}default:return process.stderr.write(`Unknown command: ${Q}
507
507
  `),process.stderr.write(z6),2}}process.on("SIGINT",()=>process.exit(130));process.on("SIGTERM",()=>process.exit(143));var _5=await j5(Bun.argv.slice(2));process.exit(_5);
508
508
 
509
- //# debugId=70EC2B659E43E8E764756E2164756E21
509
+ //# debugId=51748804D2E84F6364756E2164756E21
package/mcp/__init__.py CHANGED
@@ -57,4 +57,4 @@ try:
57
57
  except ImportError:
58
58
  __all__ = ['mcp']
59
59
 
60
- __version__ = '7.5.10'
60
+ __version__ = '7.5.12'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loki-mode",
3
- "version": "7.5.10",
4
- "description": "Loki Mode by Autonomi - Multi-agent autonomous startup system for Claude Code, Codex CLI, and Gemini CLI",
3
+ "version": "7.5.12",
4
+ "description": "Loki Mode by Autonomi. Multi-agent autonomous SDLC framework. Spec to deployed app: PRD, GitHub issue, OpenAPI/JSON/YAML, or one-line brief. 5 AI providers (Claude Code, OpenAI Codex, Google Gemini, Cline, Aider). 11 quality gates.",
5
5
  "keywords": [
6
6
  "agent",
7
7
  "agent-orchestration",