loki-mode 11.20.0 → 11.22.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.
Files changed (76) hide show
  1. package/SKILL.md +33 -20
  2. package/VERSION +1 -1
  3. package/autonomy/CONSTITUTION.md +1 -2
  4. package/dashboard/__init__.py +1 -1
  5. package/docs/ARCHITECTURE.md +0 -1
  6. package/docs/CLI-REFERENCE.md +1 -1
  7. package/docs/COMPONENTS.md +0 -1
  8. package/docs/DEPLOY-PLAN.md +1 -1
  9. package/docs/INSTALLATION.md +1 -1
  10. package/docs/architecture/DECISIONS.md +1 -1
  11. package/docs/dev/project-structure.md +0 -1
  12. package/loki-ts/dist/loki.js +887 -887
  13. package/mcp/__init__.py +1 -1
  14. package/package.json +2 -2
  15. package/packages/control-plane/dist/server.js +5 -1
  16. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  17. package/skills/factory-operations.md +4 -4
  18. package/skills/release-cadence.md +5 -5
  19. package/web-app/dist/assets/{AdminPage-B-bEZytb.js → AdminPage-BfAqYYDI.js} +1 -1
  20. package/web-app/dist/assets/{Avatar-AVq-BBUz.js → Avatar-DilMyHOG.js} +1 -1
  21. package/web-app/dist/assets/{Badge-BGp6pTWA.js → Badge-BVi7_QiE.js} +1 -1
  22. package/web-app/dist/assets/{Button-BOg2qFMK.js → Button-Dyc_Lti9.js} +1 -1
  23. package/web-app/dist/assets/{CockpitPage-XIwAzBEn.js → CockpitPage-BwVLagtH.js} +1 -1
  24. package/web-app/dist/assets/{ComparePage-1xndNmeA.js → ComparePage-Dn1IRMF4.js} +1 -1
  25. package/web-app/dist/assets/{ErrorBoundary-Be-tq62u.js → ErrorBoundary-FjubheFk.js} +1 -1
  26. package/web-app/dist/assets/{EvidenceReceiptPanel-CLzGyfv0.js → EvidenceReceiptPanel-BBeIjldO.js} +1 -1
  27. package/web-app/dist/assets/{GitHubIssuesPanel-Dbmz-k3i.js → GitHubIssuesPanel-CsxMcG5k.js} +1 -1
  28. package/web-app/dist/assets/{GitHubPRsPanel-D7XMEJcR.js → GitHubPRsPanel-CXVkBlVS.js} +1 -1
  29. package/web-app/dist/assets/{HomePage-DGVhPfDg.js → HomePage-BJEbrxvB.js} +2 -2
  30. package/web-app/dist/assets/{LoginPage-DZiBc6jd.js → LoginPage-BSXOu4kI.js} +1 -1
  31. package/web-app/dist/assets/{MagicPage-DqL0_Lc6.js → MagicPage-BNeyKfGy.js} +1 -1
  32. package/web-app/dist/assets/{MetricsPage-ChVqKn71.js → MetricsPage-BEgVt5JR.js} +1 -1
  33. package/web-app/dist/assets/{NotFoundPage-DappfBO6.js → NotFoundPage-mIlt3QFQ.js} +1 -1
  34. package/web-app/dist/assets/{ProjectPage-CHbZsIUs.js → ProjectPage-CZfiP8UK.js} +3 -3
  35. package/web-app/dist/assets/{ProjectsPage-B6HTzGg0.js → ProjectsPage-BSSCADsM.js} +1 -1
  36. package/web-app/dist/assets/{SettingsPage-C4fA0CFo.js → SettingsPage-DsAmlTYs.js} +1 -1
  37. package/web-app/dist/assets/{ShowcasePage-BL_6Nsvm.js → ShowcasePage-CJrg9vfw.js} +1 -1
  38. package/web-app/dist/assets/{SystemSettingsPage-D70hAp-u.js → SystemSettingsPage-BHIF9JWq.js} +1 -1
  39. package/web-app/dist/assets/{TeamsPage-Dag5RT5f.js → TeamsPage-B-bS0KQL.js} +1 -1
  40. package/web-app/dist/assets/{TemplatesPage-cp7d1hN7.js → TemplatesPage-Dc7GrirM.js} +1 -1
  41. package/web-app/dist/assets/{TerminalOutput-BHcgTkgY.js → TerminalOutput-CNiwwbZi.js} +1 -1
  42. package/web-app/dist/assets/{activity-DoYq1Z4M.js → activity-Dna1nHN7.js} +1 -1
  43. package/web-app/dist/assets/{bell-Dc4idmgk.js → bell-DU58fknJ.js} +1 -1
  44. package/web-app/dist/assets/{bot-WhQrzVl8.js → bot-DOK3xV-k.js} +1 -1
  45. package/web-app/dist/assets/{check-S_mzCWxV.js → check-BmlFXGZn.js} +1 -1
  46. package/web-app/dist/assets/{chevron-left-DHQHGUiI.js → chevron-left-CPKApfUb.js} +1 -1
  47. package/web-app/dist/assets/{circle-alert-Bc0XFZyt.js → circle-alert-BP7TfSH1.js} +1 -1
  48. package/web-app/dist/assets/{clock-BdFy2s87.js → clock-DFcuJpea.js} +1 -1
  49. package/web-app/dist/assets/{cloud-B23nmmiG.js → cloud-DZDHZfeo.js} +1 -1
  50. package/web-app/dist/assets/{code-xml-BGDz8B3H.js → code-xml-DzvSPtDM.js} +1 -1
  51. package/web-app/dist/assets/{database-DFhZ-uHK.js → database-BhDayNKF.js} +1 -1
  52. package/web-app/dist/assets/{dollar-sign-JcYLq2s0.js → dollar-sign-lfCCWSQ7.js} +1 -1
  53. package/web-app/dist/assets/{file-code-corner-CfbFrxzM.js → file-code-corner-yFVuWLye.js} +1 -1
  54. package/web-app/dist/assets/{file-plus-CNGwBTPi.js → file-plus-Q2Fp1PrS.js} +1 -1
  55. package/web-app/dist/assets/{globe-Dx80kAI0.js → globe-BODijbsf.js} +1 -1
  56. package/web-app/dist/assets/{hammer-BSXFz8qY.js → hammer-ByWzYGLi.js} +1 -1
  57. package/web-app/dist/assets/{index-CGIhXeB0.js → index-DrCbCK4D.js} +3 -3
  58. package/web-app/dist/assets/{layers-CzZgAtpQ.js → layers-CvvJKGj-.js} +1 -1
  59. package/web-app/dist/assets/{loader-circle-D5gsWJnZ.js → loader-circle-CbYypT9n.js} +1 -1
  60. package/web-app/dist/assets/{lock-B1CRcUxR.js → lock-Dow3BTWK.js} +1 -1
  61. package/web-app/dist/assets/{package-B9YObxi2.js → package-C64HOLD8.js} +1 -1
  62. package/web-app/dist/assets/{plus-CiKIplJ-.js → plus-BGmFwt6K.js} +1 -1
  63. package/web-app/dist/assets/{refresh-cw-DFE5RmgT.js → refresh-cw-D8p0MXhb.js} +1 -1
  64. package/web-app/dist/assets/{rotate-ccw-DVaCDpoi.js → rotate-ccw-BkEC_tFk.js} +1 -1
  65. package/web-app/dist/assets/{scroll-text-B189mONr.js → scroll-text-GWAcaHqz.js} +1 -1
  66. package/web-app/dist/assets/{server-BtEO_lvf.js → server-Ca4nI6ct.js} +1 -1
  67. package/web-app/dist/assets/{shield-alert-BQQIizhH.js → shield-alert-DYDL1r2E.js} +1 -1
  68. package/web-app/dist/assets/{thumbs-up-CMkSaDGZ.js → thumbs-up-GLFUKEzF.js} +1 -1
  69. package/web-app/dist/assets/{trash-2-CaevwAvU.js → trash-2--QZY250J.js} +1 -1
  70. package/web-app/dist/assets/{trending-down-ZAVX1hIK.js → trending-down-CUorfhMB.js} +1 -1
  71. package/web-app/dist/assets/{trending-up-Cu0vmuAX.js → trending-up-DgXUL_oA.js} +1 -1
  72. package/web-app/dist/assets/{upload-l80dpaxu.js → upload-7e4XxIWR.js} +1 -1
  73. package/web-app/dist/assets/{usePolling-CqxddWrH.js → usePolling-BtVb-0AN.js} +1 -1
  74. package/web-app/dist/assets/{user-CPG0fF2X.js → user-Qqnk6far.js} +1 -1
  75. package/web-app/dist/index.html +1 -1
  76. package/skills/00-index.md +0 -239
package/SKILL.md CHANGED
@@ -3,7 +3,7 @@ name: loki-mode
3
3
  description: An autonomous software factory that knows what it is supposed to deliver, and proves it did. Use when the user says Loki Mode or asks to build, fix or verify software autonomously.
4
4
  ---
5
5
 
6
- # Loki Mode v11.20.0
6
+ # Loki Mode v11.22.0
7
7
 
8
8
  **Current entry points (Loki 10 engine):** `loki "<task>"`, `loki owner/repo#N` and `loki quick "<task>"` run the Loki 10 engine and end with a signed receipt (`loki verify`). `loki backlog owner/repo --all` runs many issues in parallel. Guide: `docs/v10/GUIDE.md`. The skill instructions below, and `loki start`, describe the previous bash loop. PRD-file starts (`loki start ./prd.md`) and the opencode provider still run on it until FC38-SWEEP ports them; the legacy-engine command and the LOKI_ENGINE switch remain removed. Prefer `loki owner/repo#N` for issues.
9
9
 
@@ -27,8 +27,7 @@ Execute these steps IN ORDER at the start of EVERY turn:
27
27
 
28
28
  ```
29
29
  1. IF first turn of session:
30
- - Read skills/00-index.md
31
- - Load 1-2 modules matching your current phase
30
+ - Load 1-2 modules matching your current phase (Module Loading Protocol)
32
31
  - Register session: Write .loki/session.json with:
33
32
  {"pid": null, "startedAt": "<ISO timestamp>", "provider": "<provider>",
34
33
  "invokedVia": "skill", "status": "running", "updatedAt": "<ISO timestamp>"}
@@ -139,7 +138,7 @@ GROWTH ──[continuous improvement loop]──> GROWTH
139
138
 
140
139
  **Your context window is finite. Preserve it.**
141
140
 
142
- - Load only 1-2 skill modules at a time (from skills/00-index.md)
141
+ - Load only 1-2 skill modules at a time (see Module Loading Protocol)
143
142
  - Use Task tool with subagents for exploration (isolates context)
144
143
  - **Context Window Tracking (v5.40.0):** Dashboard gauge, timeline, and per-agent breakdown at `GET /api/context`
145
144
  - **Notification Triggers (v5.40.0):** Configurable alerts when context exceeds thresholds, tasks fail, or budget limits hit. Manage via `GET/PUT /api/notifications/triggers`
@@ -155,7 +154,6 @@ GROWTH ──[continuous improvement loop]──> GROWTH
155
154
  | `.loki/queue/pending.json` | Every turn | When claiming/completing tasks |
156
155
  | `.loki/queue/current-task.json` | Before each ACT | When claiming task |
157
156
  | `.loki/specs/openapi.yaml` | Before API work | After API changes |
158
- | `skills/00-index.md` | Session start | Never |
159
157
  | `.loki/memory/index.json` | Session start | On topic change |
160
158
  | `.loki/memory/timeline.json` | On context need | After task completion |
161
159
  | `.loki/memory/token_economics.json` | Never (metrics only) | Every turn |
@@ -174,21 +172,36 @@ One-command rollback (v7.5.2+): `loki rollback latest` or `loki rollback to <id>
174
172
 
175
173
  This protocol governs **skill module** loading -- task-scoped instruction files in `skills/`. It is distinct from the Memory System Progressive Disclosure (see below), which governs persistent **memory layers** in `.loki/memory/`.
176
174
 
175
+ Pick modules from this table, one hop from here. Each module over 100 lines opens with a contents map.
176
+
177
+ | Task | Module |
178
+ |------|--------|
179
+ | Writing code, spawning subagents, Task tool | [model-selection.md](skills/model-selection.md), [agents.md](skills/agents.md) |
180
+ | Tests, E2E, Playwright | [testing.md](skills/testing.md) |
181
+ | Code review, quality checks | [quality-gates.md](skills/quality-gates.md) |
182
+ | Deployment, CI/CD, infrastructure | [production.md](skills/production.md) |
183
+ | Debugging, errors, failures | [troubleshooting.md](skills/troubleshooting.md) |
184
+ | Architecture, design decisions | [patterns-advanced.md](skills/patterns-advanced.md) |
185
+ | Artifacts, reports | [artifacts.md](skills/artifacts.md) |
186
+ | Parallel features, git worktrees, 50+ agents | [parallel-workflows.md](skills/parallel-workflows.md) |
187
+ | GitHub issues, PRs, syncing | [github-integration.md](skills/github-integration.md) |
188
+ | Multi-provider (Codex, Cline, Aider) | [providers.md](skills/providers.md) |
189
+ | OpenSpec delta context, brownfield changes | [openspec-integration.md](skills/openspec-integration.md) |
190
+ | MiroFish validation, `--mirofish` | [mirofish-integration.md](skills/mirofish-integration.md) |
191
+ | Writing documentation, `loki docs` | [documentation.md](skills/documentation.md) |
192
+ | UI components, design tokens, Gate 12 | [magic-modules.md](skills/magic-modules.md) |
193
+ | Legacy healing, modernization | [healing.md](skills/healing.md) |
194
+ | Plan deepening, knowledge extraction | [compound-learning.md](skills/compound-learning.md) |
195
+ | Managed Agents memory, council, flag hierarchy | [memory.md](skills/memory.md) |
196
+ | Non-trivial change (>3 files, MINOR/MAJOR) | [sdlc-fleet.md](skills/sdlc-fleet.md) |
197
+ | Several agent teams at once, WIP limits | [factory-operations.md](skills/factory-operations.md) |
198
+ | Release, version bump, publish check | [release-cadence.md](skills/release-cadence.md) |
199
+ | Adding your own gate, reviewer or agent | [extending.md](skills/extending.md) |
200
+
177
201
  ```
178
- 1. Read skills/00-index.md (once per session)
179
- 2. Match current task to module:
180
- - Writing code? Load model-selection.md
181
- - Running tests? Load testing.md
182
- - Code review? Load quality-gates.md
183
- - Debugging? Load troubleshooting.md
184
- - Legacy healing? Load healing.md
185
- - Deploying? Load production.md
186
- - Parallel features? Load parallel-workflows.md
187
- - Architecture planning? Load compound-learning.md (deepen-plan)
188
- - Post-verification? Load compound-learning.md (knowledge extraction)
189
- 3. Read the selected module(s)
190
- 4. Execute with that context
191
- 5. When task category changes: Load new modules (old context discarded)
202
+ 1. Match current task to a row above; read that module (1-2 at a time)
203
+ 2. Execute with that context
204
+ 3. When task category changes: load new modules (old context discarded)
192
205
  ```
193
206
 
194
207
  **Memory System Progressive Disclosure** is a separate 3-layer structure (`index.json` -> `timeline.json` -> `episodic/*.json`) for retrieving past episodes/patterns. See `skills/memory.md` and `references/memory-system.md`.
@@ -483,4 +496,4 @@ See `CHANGELOG.md` entries [7.5.7], [7.5.8], [7.5.13] for the per-fix list and r
483
496
 
484
497
  ---
485
498
 
486
- **v11.20.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
499
+ **v11.22.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.20.0
1
+ 11.22.0
@@ -153,7 +153,6 @@ GROWTH ──[continuous improvement loop]──> GROWTH
153
153
  ```
154
154
  SKILL.md (~190 lines) # Always loaded: RARV cycle, autonomy rules
155
155
  skills/
156
- 00-index.md # Module routing table
157
156
  model-selection.md # Task tool, parallelization
158
157
  quality-gates.md # 8-gate system, anti-sycophancy
159
158
  testing.md # Playwright, E2E, property-based
@@ -166,7 +165,7 @@ skills/
166
165
  ```
167
166
 
168
167
  **Loading Protocol:**
169
- 1. Read `skills/00-index.md` at session start
168
+ 1. Pick modules from the routing table in `SKILL.md` at session start
170
169
  2. Load 1-2 modules matching current task
171
170
  3. Execute with focused context
172
171
  4. When task changes: Load new modules (old context discarded)
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.20.0"
10
+ __version__ = "11.22.0"
11
11
 
12
12
  __all__ = ["__version__"]
@@ -234,7 +234,6 @@ api/ REST API (TypeScript/Deno-style)
234
234
  events/ Unified event bus (py + ts + sh emitter)
235
235
 
236
236
  skills/ On-demand skill modules (progressive disclosure)
237
- 00-index.md Module selection and routing
238
237
  quality-gates.md The 8-gate system (canonical)
239
238
  healing.md / testing.md / production.md / providers.md / agents.md / ...
240
239
 
@@ -1,6 +1,6 @@
1
1
  # CLI reference
2
2
 
3
- Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.20.0. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.22.0. Do not edit by hand.
4
4
  Hidden and legacy-only commands are omitted; see `docs/v10/CLI-MODERN.md` for the full inventory.
5
5
 
6
6
  | Command | Description |
@@ -345,7 +345,6 @@ On-demand skill modules following the progressive-disclosure architecture
345
345
  skill file.
346
346
 
347
347
  **Key files:**
348
- - `00-index.md` - Module selection rules and routing.
349
348
  - `quality-gates.md` - The canonical 8-gate table and RARV-C flags.
350
349
  - `model-selection.md`, `providers.md`, `healing.md`, `testing.md`,
351
350
  `production.md`, `troubleshooting.md`, `agents.md`, `artifacts.md`,
@@ -305,7 +305,7 @@ Also covered transitively by `tests/run-shellcheck.sh` and the mutation/mock det
305
305
  invariant; filesystem-only detection; best-effort clipboard; bash-only (Bun parity note).
306
306
  - `docs/INSTALLATION.md` -- optional "Deploying your build" note pointing at `loki deploy`.
307
307
  - `wiki/CLI-Reference.md` -- add the `deploy` command entry + options.
308
- - `skills/production.md` (and `skills/00-index.md` if it indexes commands) -- document the advisory
308
+ - `skills/production.md` -- document the advisory
309
309
  deploy step in the production workflow.
310
310
  - Create this plan's sibling precedent set is `docs/PREVIEW-LINK-PLAN.md` / `docs/BUILD-HUD-PLAN.md`
311
311
  -- this file (`docs/DEPLOY-PLAN.md`) is the matching plan artifact.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Loki Mode, by [Autonomi](https://www.autonomi.dev/), turns a spec or an issue into a verified pull request with a receipt you can check. This page covers installing it, a first run, and the options around it.
4
4
 
5
- **Version:** v11.20.0
5
+ **Version:** v11.22.0
6
6
 
7
7
  **Engine note:** `loki start` is the primary command. `loki start`, `loki "<task>"`, `loki owner/repo#N` and `loki quick` all run the Loki 10 engine, whatever the flag order or input form (PRD file, issue ref, task or one-word brief). The previous loop runs only on `--engine legacy`, `LOKI_ENGINE=legacy`, or for one call when a flag Loki 10 cannot honor is present. See the [user guide](v10/GUIDE.md) and the [5-minute quickstart](QUICKSTART.md).
8
8
 
@@ -319,7 +319,7 @@ available on demand.
319
319
  ### Decision
320
320
 
321
321
  Keep `SKILL.md` slim (a few hundred lines) and split detailed guidance into
322
- on-demand modules under `skills/`, with an index (`skills/00-index.md`) that routes
322
+ on-demand modules under `skills/`, with a routing table in `SKILL.md` that routes
323
323
  to the right module, and deeper reference material under `references/`. Modules are
324
324
  pulled in only when relevant to the current task.
325
325
 
@@ -25,7 +25,6 @@ memory/ # Memory system (core v5.15.0; cross-project + RAG i
25
25
  vector_index.py # Vector search index
26
26
  layers/ # Progressive disclosure implementation
27
27
  skills/ # On-demand skill modules (v3.0 architecture)
28
- 00-index.md # Module selection rules and routing
29
28
  model-selection.md # Task tool, parallelization, thinking modes
30
29
  providers.md # Multi-provider documentation
31
30
  quality-gates.md # 8-gate system, velocity-quality balance