loki-mode 11.19.0 → 11.21.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 (89) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/dashboard/__init__.py +1 -1
  4. package/docs/CLI-REFERENCE.md +1 -1
  5. package/docs/INSTALLATION.md +1 -1
  6. package/loki-ts/dist/loki.js +887 -887
  7. package/mcp/__init__.py +1 -1
  8. package/package.json +2 -2
  9. package/packages/control-plane/dist/server.js +5 -1
  10. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  11. package/skills/00-index.md +28 -0
  12. package/skills/agents.md +14 -0
  13. package/skills/artifacts.md +12 -0
  14. package/skills/compound-learning.md +20 -0
  15. package/skills/documentation.md +18 -0
  16. package/skills/extending.md +13 -0
  17. package/skills/factory-operations.md +23 -0
  18. package/skills/github-integration.md +27 -0
  19. package/skills/healing.md +28 -0
  20. package/skills/magic-modules.md +24 -0
  21. package/skills/memory.md +20 -0
  22. package/skills/model-selection.md +34 -0
  23. package/skills/openspec-integration.md +16 -0
  24. package/skills/parallel-workflows.md +44 -0
  25. package/skills/patterns-advanced.md +11 -0
  26. package/skills/production.md +19 -0
  27. package/skills/providers.md +18 -0
  28. package/skills/quality-gates.md +54 -0
  29. package/skills/release-cadence.md +16 -0
  30. package/skills/sdlc-fleet.md +17 -0
  31. package/skills/testing.md +12 -0
  32. package/skills/troubleshooting.md +41 -1
  33. package/web-app/dist/assets/{AdminPage-BijKqOwy.js → AdminPage-ARsUtPEf.js} +1 -1
  34. package/web-app/dist/assets/{Avatar-gclN5fUa.js → Avatar-BvrBu6U0.js} +1 -1
  35. package/web-app/dist/assets/{Badge-DfYZLzgm.js → Badge-D2rN6EDm.js} +1 -1
  36. package/web-app/dist/assets/{Button-DrxxmaFD.js → Button-BLyf0PuQ.js} +1 -1
  37. package/web-app/dist/assets/{CockpitPage-_beUvvja.js → CockpitPage-6tSZscE5.js} +1 -1
  38. package/web-app/dist/assets/{ComparePage-Ehec22lt.js → ComparePage-Du9ozcwJ.js} +1 -1
  39. package/web-app/dist/assets/{ErrorBoundary-CNTYOxtp.js → ErrorBoundary-Dgc-0M5g.js} +1 -1
  40. package/web-app/dist/assets/{EvidenceReceiptPanel-DDzoztQh.js → EvidenceReceiptPanel-DfpBio5X.js} +1 -1
  41. package/web-app/dist/assets/{GitHubIssuesPanel-DEiQgzLA.js → GitHubIssuesPanel-C96jobv3.js} +1 -1
  42. package/web-app/dist/assets/{GitHubPRsPanel-Bv3gJQsS.js → GitHubPRsPanel-CF0-TXWK.js} +1 -1
  43. package/web-app/dist/assets/{HomePage-CLooQzzQ.js → HomePage-BPvKTD7x.js} +2 -2
  44. package/web-app/dist/assets/{LoginPage-BOa-YAVz.js → LoginPage-CiHoT3FO.js} +1 -1
  45. package/web-app/dist/assets/{MagicPage-BkdEgp-j.js → MagicPage-slBpXS3-.js} +1 -1
  46. package/web-app/dist/assets/{MetricsPage-Cs25aUqM.js → MetricsPage-CYJ8EA7B.js} +1 -1
  47. package/web-app/dist/assets/{NotFoundPage-CP04N7Rc.js → NotFoundPage-DKzCi3rm.js} +1 -1
  48. package/web-app/dist/assets/{ProjectPage-DW1kYF59.js → ProjectPage-BUq72-s8.js} +3 -3
  49. package/web-app/dist/assets/{ProjectsPage-BzYx9PDA.js → ProjectsPage-D5Ug9RDW.js} +1 -1
  50. package/web-app/dist/assets/{SettingsPage-BLW4FkXW.js → SettingsPage-DcC_JM2n.js} +1 -1
  51. package/web-app/dist/assets/{ShowcasePage-BXjmdxaE.js → ShowcasePage-CTIaCxc2.js} +1 -1
  52. package/web-app/dist/assets/{SystemSettingsPage-CmMWTeWw.js → SystemSettingsPage-SiRqtZLA.js} +1 -1
  53. package/web-app/dist/assets/{TeamsPage-p4VxWBEI.js → TeamsPage-CfFwgiCE.js} +1 -1
  54. package/web-app/dist/assets/{TemplatesPage-CSB47UZi.js → TemplatesPage-EXYQp9Oy.js} +1 -1
  55. package/web-app/dist/assets/{TerminalOutput-DQ5Bh57P.js → TerminalOutput-BcH7XYZF.js} +1 -1
  56. package/web-app/dist/assets/{activity-D1k3yB7i.js → activity-DNDttVwp.js} +1 -1
  57. package/web-app/dist/assets/{bell-DXEeU_lO.js → bell-p38sZYhq.js} +1 -1
  58. package/web-app/dist/assets/{bot-D072i9g3.js → bot-z3UwIkZ4.js} +1 -1
  59. package/web-app/dist/assets/{check-BJw_h-99.js → check-CFw_eANz.js} +1 -1
  60. package/web-app/dist/assets/{chevron-left-C1L4nJet.js → chevron-left-u0G7VHLK.js} +1 -1
  61. package/web-app/dist/assets/{circle-alert-DVvzp7cN.js → circle-alert-BUie1Jo4.js} +1 -1
  62. package/web-app/dist/assets/{clock-CJ3bKo2v.js → clock-CAerRNiw.js} +1 -1
  63. package/web-app/dist/assets/{cloud-DEvUgnai.js → cloud-CAzslxAD.js} +1 -1
  64. package/web-app/dist/assets/{code-xml-8llOkQ7z.js → code-xml-BBOzm7Wx.js} +1 -1
  65. package/web-app/dist/assets/{database-BIZBZUC3.js → database-d1SaUsE2.js} +1 -1
  66. package/web-app/dist/assets/{dollar-sign-BIqi4xip.js → dollar-sign-0bwQnfIC.js} +1 -1
  67. package/web-app/dist/assets/{file-code-corner-Btl4UrZS.js → file-code-corner-BTkD-QOa.js} +1 -1
  68. package/web-app/dist/assets/{file-plus-zUZCvi3q.js → file-plus-CWLWrJK6.js} +1 -1
  69. package/web-app/dist/assets/{globe-Cb8rchM_.js → globe-Da6eHkiT.js} +1 -1
  70. package/web-app/dist/assets/{hammer-CwKhZqJ_.js → hammer-CqsAxyYk.js} +1 -1
  71. package/web-app/dist/assets/{index-CgVKsLAT.js → index-BMv-oPVv.js} +3 -3
  72. package/web-app/dist/assets/{layers-BTa0tCgN.js → layers-DHu5xOhy.js} +1 -1
  73. package/web-app/dist/assets/{loader-circle-B1pum43p.js → loader-circle-ClmyqotK.js} +1 -1
  74. package/web-app/dist/assets/{lock-Dq5Hva2f.js → lock-DZDQItoP.js} +1 -1
  75. package/web-app/dist/assets/{package-BGQI7OrG.js → package-BRKUfOO3.js} +1 -1
  76. package/web-app/dist/assets/{plus-CLOYBior.js → plus-DYvIEUOF.js} +1 -1
  77. package/web-app/dist/assets/{refresh-cw-V3YXQnVv.js → refresh-cw-aiFSux5u.js} +1 -1
  78. package/web-app/dist/assets/{rotate-ccw-Be46wzEp.js → rotate-ccw-G--8ZnMY.js} +1 -1
  79. package/web-app/dist/assets/{scroll-text-DK6UiIpn.js → scroll-text-DOY5NVRs.js} +1 -1
  80. package/web-app/dist/assets/{server-Cgtnj27_.js → server-Ao5AS41l.js} +1 -1
  81. package/web-app/dist/assets/{shield-alert-CUkQcUSo.js → shield-alert-DCZz37jN.js} +1 -1
  82. package/web-app/dist/assets/{thumbs-up-BP7GJ_89.js → thumbs-up-CDJ7kY2U.js} +1 -1
  83. package/web-app/dist/assets/{trash-2-DBggK-Yi.js → trash-2-C1BPuEox.js} +1 -1
  84. package/web-app/dist/assets/{trending-down-B9xn9r4C.js → trending-down-C8LHGUGN.js} +1 -1
  85. package/web-app/dist/assets/{trending-up-DKdx4HEs.js → trending-up-6qvr3m6B.js} +1 -1
  86. package/web-app/dist/assets/{upload-NsLVz2-6.js → upload-DzQw24Tv.js} +1 -1
  87. package/web-app/dist/assets/{usePolling-BnTw45zD.js → usePolling-CKItY85p.js} +1 -1
  88. package/web-app/dist/assets/{user-Cpc7dJqe.js → user-CyBSyaCi.js} +1 -1
  89. package/web-app/dist/index.html +1 -1
package/mcp/__init__.py CHANGED
@@ -75,4 +75,4 @@ try:
75
75
  except ImportError:
76
76
  __all__ = ['mcp']
77
77
 
78
- __version__ = '11.19.0'
78
+ __version__ = '11.21.0'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loki-mode",
3
3
  "mcpName": "io.github.asklokesh/loki-mode",
4
- "version": "11.19.0",
4
+ "version": "11.21.0",
5
5
  "description": "An autonomous software factory that knows what it is supposed to deliver, and proves it did.",
6
6
  "keywords": [
7
7
  "agent",
@@ -160,5 +160,5 @@
160
160
  "dependencies": {
161
161
  "@resvg/resvg-wasm": "^2.6.2"
162
162
  },
163
- "gitHead": "3ce6902a1ec7ecec2cf0294e55ea96cb735f8bc0"
163
+ "gitHead": "a907f757fb62c646b291d550201ecd280bdb6b58"
164
164
  }
@@ -7881,7 +7881,10 @@ function costBreakdown(recs, missing = []) {
7881
7881
  }
7882
7882
  return out2;
7883
7883
  }
7884
- var UNATTRIBUTED = "unattributed", validUsd = (v) => typeof v === "number" && Number.isFinite(v) && v >= 0, tok = (v) => typeof v === "number" && Number.isFinite(v) ? v : 0, noUsage = (r) => r["source"] !== "cli-invoker-unmetered" && ["input_tokens", "output_tokens", "cache_read_tokens", "cache_creation_tokens"].every((k) => tok(r[k]) === 0), isRetry = (r) => r["retry"] === true || typeof r["attempt"] === "number" && r["attempt"] > 1, add2 = (a, c) => a === null || c === null ? null : a + c;
7884
+ var UNATTRIBUTED = "unattributed", validUsd = (v) => typeof v === "number" && Number.isFinite(v) && v >= 0, tok = (v) => typeof v === "number" && Number.isFinite(v) ? v : 0, noUsage = (r) => r["source"] !== "cli-invoker-unmetered" && ["input_tokens", "output_tokens", "cache_read_tokens", "cache_creation_tokens"].every((k) => tok(r[k]) === 0), isRetry = (r) => r["retry"] === true || typeof r["attempt"] === "number" && r["attempt"] > 1, add2 = (a, c) => a === null || c === null ? null : a + c, CACHE_TTL_5M_MS;
7885
+ var init_cost_breakdown = __esm(() => {
7886
+ CACHE_TTL_5M_MS = 5 * 60000;
7887
+ });
7885
7888
 
7886
7889
  // ../../loki-ts/src/runner/router/flag.ts
7887
7890
  function routerMode(env = process.env) {
@@ -8041,6 +8044,7 @@ function sumResultCosts(lokiRoot, iterations, context = []) {
8041
8044
  var UNMETERED = "cli-invoker-unmetered";
8042
8045
  var init_cost = __esm(() => {
8043
8046
  init_hooks();
8047
+ init_cost_breakdown();
8044
8048
  init_provider_cost();
8045
8049
  init_provider_cost();
8046
8050
  });
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
3
3
  "name": "loki-mode",
4
4
  "displayName": "Loki Mode",
5
- "version": "11.19.0",
5
+ "version": "11.21.0",
6
6
  "description": "Autonomous spec-to-product build system with a built-in trust layer (RARV-C closure loop, 8 quality gates, completion council). Ships Loki's spec-hardening, drift-detection, and deterministic PR verification commands plus the Loki MCP server.",
7
7
  "author": {
8
8
  "name": "Autonomi",
@@ -1,5 +1,33 @@
1
1
  # Skill Modules Index
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Module Selection Rules](#module-selection-rules)
7
+ - [Module Descriptions](#module-descriptions)
8
+ - [model-selection.md](#model-selectionmd)
9
+ - [quality-gates.md](#quality-gatesmd)
10
+ - [patterns-advanced.md](#patterns-advancedmd)
11
+ - [testing.md](#testingmd)
12
+ - [production.md](#productionmd)
13
+ - [troubleshooting.md](#troubleshootingmd)
14
+ - [agents.md](#agentsmd)
15
+ - [artifacts.md](#artifactsmd)
16
+ - [parallel-workflows.md](#parallel-workflowsmd)
17
+ - [github-integration.md](#github-integrationmd)
18
+ - [openspec-integration.md](#openspec-integrationmd)
19
+ - [mirofish-integration.md](#mirofish-integrationmd)
20
+ - [documentation.md](#documentationmd)
21
+ - [compound-learning.md (v5.30.0)](#compound-learningmd-v5300)
22
+ - [healing.md (v6.67.0)](#healingmd-v6670)
23
+ - [sdlc-fleet.md](#sdlc-fleetmd)
24
+ - [factory-operations.md](#factory-operationsmd)
25
+ - [release-cadence.md](#release-cadencemd)
26
+ - [extending.md](#extendingmd)
27
+ - [providers.md (v5.0.0)](#providersmd-v500)
28
+ - [How to Load](#how-to-load)
29
+ <!-- TOC:END -->
30
+
3
31
  **Load 1-3 modules based on your current task. Do not load all modules.**
4
32
 
5
33
  > **Full documentation:** For comprehensive details, see `references/` directory:
package/skills/agents.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Agent Dispatch & Structured Prompting
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [How Agents Actually Work](#how-agents-actually-work)
7
+ - [Structured Prompting Template](#structured-prompting-template)
8
+ - [Specialist Review Pattern (v5.30.0)](#specialist-review-pattern-v5300)
9
+ - [Confidence-Based Routing](#confidence-based-routing)
10
+ - [Agent Handoffs](#agent-handoffs)
11
+ - [Project AGENTS.md](#project-agentsmd)
12
+ - [A2A-Inspired Communication (Google Protocol)](#a2a-inspired-communication-google-protocol)
13
+ - [Agentic Patterns Reference (awesome-agentic-patterns)](#agentic-patterns-reference-awesome-agentic-patterns)
14
+ - [The 41 Agent Roles (37 Domain + 4 Orchestration)](#the-41-agent-roles-37-domain--4-orchestration)
15
+ <!-- TOC:END -->
16
+
3
17
  > **Full agent type definitions:** See `references/agent-types.md` for complete 41 agent role specifications across 8 domains (Engineering, Operations, Business, Data, Product, Growth, Review, Orchestration). These are prompt-defined specifications the orchestrator adopts per phase; parallelism on Claude Code comes from the blind review council, the adversarial reviewer, and optional git-worktree streams, sequential on other providers.
4
18
 
5
19
  ---
@@ -1,5 +1,17 @@
1
1
  # Artifact Generation & Code Transformation
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Artifact Generation (Antigravity Pattern)](#artifact-generation-antigravity-pattern)
7
+ - [Artifact Types](#artifact-types)
8
+ - [Verification Report](#verification-report)
9
+ - [Architecture Diff](#architecture-diff)
10
+ - [Screenshot Gallery](#screenshot-gallery)
11
+ - [Code Transformation Agent (Amazon Q Pattern)](#code-transformation-agent-amazon-q-pattern)
12
+ - [Release Notes Generation](#release-notes-generation)
13
+ <!-- TOC:END -->
14
+
3
15
  ## Artifact Generation (Antigravity Pattern)
4
16
 
5
17
  **Auto-generate verifiable deliverables for audit trail without human intervention.**
@@ -1,5 +1,25 @@
1
1
  # Compound Learning & Deep Planning
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Knowledge Compounding (Post-VERIFY)](#knowledge-compounding-post-verify)
7
+ - [When to Compound](#when-to-compound)
8
+ - [When NOT to Compound](#when-not-to-compound)
9
+ - [Solution File Format](#solution-file-format)
10
+ - [Categories](#categories)
11
+ - [YAML Frontmatter Fields](#yaml-frontmatter-fields)
12
+ - [Loading Solutions (REASON Phase)](#loading-solutions-reason-phase)
13
+ - [Matching Logic](#matching-logic)
14
+ - [Context Injection Format](#context-injection-format)
15
+ - [Deepen-Plan Phase](#deepen-plan-phase)
16
+ - [When to Run](#when-to-run)
17
+ - [Research Agents (4 parallel -- launch in ONE message)](#research-agents-4-parallel----launch-in-one-message)
18
+ - [After All 4 Complete](#after-all-4-complete)
19
+ - [Example Output Integration](#example-output-integration)
20
+ - [Composable Phases](#composable-phases)
21
+ <!-- TOC:END -->
22
+
3
23
  **Inspired by:** Compound Engineering Plugin (Every/Kieran Klaassen) -- knowledge compounding philosophy where each unit of work makes subsequent work easier.
4
24
 
5
25
  ---
@@ -1,5 +1,23 @@
1
1
  # Documentation Skill Module
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Research Foundation](#research-foundation)
7
+ - [When to Load This Module](#when-to-load-this-module)
8
+ - [Documentation Types](#documentation-types)
9
+ - [Model Selection](#model-selection)
10
+ - [Repowise Integration](#repowise-integration)
11
+ - [Detection](#detection)
12
+ - [Documentation Quality Criteria](#documentation-quality-criteria)
13
+ - [Prompts](#prompts)
14
+ - [For README generation](#for-readme-generation)
15
+ - [For ARCHITECTURE generation](#for-architecture-generation)
16
+ - [For API documentation](#for-api-documentation)
17
+ - [For DECISIONS documentation](#for-decisions-documentation)
18
+ - [Integration with Other Skills](#integration-with-other-skills)
19
+ <!-- TOC:END -->
20
+
3
21
  ## Research Foundation
4
22
 
5
23
  | Source | Key Contribution | Citation |
@@ -1,5 +1,18 @@
1
1
  # Extending the Loop
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [What is actually extensible today](#what-is-actually-extensible-today)
7
+ - [The reviewer seam (R10)](#the-reviewer-seam-r10)
8
+ - [Install](#install)
9
+ - [When it fires](#when-it-fires)
10
+ - [Three invariants you cannot override](#three-invariants-you-cannot-override)
11
+ - [Manifests are data, never code](#manifests-are-data-never-code)
12
+ - [`src/plugins/` is NOT a seam (status: unwired)](#srcplugins-is-not-a-seam-status-unwired)
13
+ - [Adding a real gate](#adding-a-real-gate)
14
+ <!-- TOC:END -->
15
+
3
16
  **When to load:** you want to add your own reviewer, agent, or gate to the RARV
4
17
  loop without editing engine files.
5
18
 
@@ -1,5 +1,28 @@
1
1
  # Factory Operations (skill module)
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [1. Roles: what each one DECIDES vs what it ADVISES](#1-roles-what-each-one-decides-vs-what-it-advises)
7
+ - [2. Partition: how two teams never edit the same file](#2-partition-how-two-teams-never-edit-the-same-file)
8
+ - [2.1 Per-file ownership is the primary mechanism](#21-per-file-ownership-is-the-primary-mechanism)
9
+ - [2.2 Worktree isolation is the EXCEPTION, not the default](#22-worktree-isolation-is-the-exception-not-the-default)
10
+ - [2.3 A red test during a review window may be someone else's mutation](#23-a-red-test-during-a-review-window-may-be-someone-elses-mutation)
11
+ - [3. WIP limit](#3-wip-limit)
12
+ - [3.1 Why one gate, not more](#31-why-one-gate-not-more)
13
+ - [3.2 Why 3 implementation streams](#32-why-3-implementation-streams)
14
+ - [3.3 The admission rule](#33-the-admission-rule)
15
+ - [4. Escalation: what a blocked team does instead of waiting](#4-escalation-what-a-blocked-team-does-instead-of-waiting)
16
+ - [4.1 A stall is a measurement problem, not a patience problem](#41-a-stall-is-a-measurement-problem-not-a-patience-problem)
17
+ - [4.2 An exit code reports a PROCESS, never the WORLD](#42-an-exit-code-reports-a-process-never-the-world)
18
+ - [5. Release windows: main is WIP=1](#5-release-windows-main-is-wip1)
19
+ - [6. Contended main: verify ancestry, never force](#6-contended-main-verify-ancestry-never-force)
20
+ - [7. The void measurement: the failure shape that costs the most](#7-the-void-measurement-the-failure-shape-that-costs-the-most)
21
+ - [7.1 The three rules that follow](#71-the-three-rules-that-follow)
22
+ - [7.2 Why this is a COORDINATION rule, not a testing tip](#72-why-this-is-a-coordination-rule-not-a-testing-tip)
23
+ - [7.3 If this module is ever trimmed](#73-if-this-module-is-ever-trimmed)
24
+ <!-- TOC:END -->
25
+
3
26
  **Purpose:** the operating system for running multiple agent teams against this
4
27
  repo at once without losing work, without false greens, and without the teams
5
28
  blocking each other.
@@ -1,5 +1,32 @@
1
1
  # GitHub Integration (v5.41.0)
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Quick Reference](#quick-reference)
7
+ - [Environment Variables](#environment-variables)
8
+ - [Issue Import Workflow](#issue-import-workflow)
9
+ - [1. Check gh CLI Authentication](#1-check-gh-cli-authentication)
10
+ - [2. Import Open Issues](#2-import-open-issues)
11
+ - [3. Priority Mapping](#3-priority-mapping)
12
+ - [PR Creation Workflow](#pr-creation-workflow)
13
+ - [PR Body Template](#pr-body-template)
14
+ - [Status Sync Workflow](#status-sync-workflow)
15
+ - [Usage Examples](#usage-examples)
16
+ - [Import Issues and Create PR](#import-issues-and-create-pr)
17
+ - [Sync with Specific Repo](#sync-with-specific-repo)
18
+ - [Filter by Milestone](#filter-by-milestone)
19
+ - [Multiple issues at once (parallel, reliably)](#multiple-issues-at-once-parallel-reliably)
20
+ - [Sequential (simplest, one process, one checkout)](#sequential-simplest-one-process-one-checkout)
21
+ - [Concurrent (one isolated run PER issue)](#concurrent-one-isolated-run-per-issue)
22
+ - [Inside a Claude Code session (the Loki Mode skill)](#inside-a-claude-code-session-the-loki-mode-skill)
23
+ - [CLI Commands](#cli-commands)
24
+ - [Dashboard API](#dashboard-api)
25
+ - [Sync Behavior](#sync-behavior)
26
+ - [Error Handling](#error-handling)
27
+ - [gh CLI Quick Reference](#gh-cli-quick-reference)
28
+ <!-- TOC:END -->
29
+
3
30
  **When:** Importing issues from GitHub, creating PRs, syncing task status back
4
31
 
5
32
  > **Requires:** `gh` CLI authenticated (`gh auth status`)
package/skills/healing.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Legacy System Healing
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Research Foundation](#research-foundation)
7
+ - [When to Load This Module](#when-to-load-this-module)
8
+ - [Core Principles](#core-principles)
9
+ - [1. Friction is Semantics (Amazon AGI Lab)](#1-friction-is-semantics-amazon-agi-lab)
10
+ - [2. Characterize Before Modifying (Feathers)](#2-characterize-before-modifying-feathers)
11
+ - [3. Strangler Fig Pattern (Fowler)](#3-strangler-fig-pattern-fowler)
12
+ - [4. Anti-Corruption Layer (Evans, DDD)](#4-anti-corruption-layer-evans-ddd)
13
+ - [5. System-Boundary Verification (RepoMod-Bench)](#5-system-boundary-verification-repomod-bench)
14
+ - [Healing Pipeline](#healing-pipeline)
15
+ - [Phase Gates](#phase-gates)
16
+ - [Healing RARV Cycle](#healing-rarv-cycle)
17
+ - [RARV-C Closure Flags (v7.5.0+)](#rarv-c-closure-flags-v750)
18
+ - [Structured Fault Injection (Honest Alternative to RL Gyms)](#structured-fault-injection-honest-alternative-to-rl-gyms)
19
+ - [Multi-Agent Decomposition (AWS Transform Pattern)](#multi-agent-decomposition-aws-transform-pattern)
20
+ - [Health Score Formula](#health-score-formula)
21
+ - [Healing-Specific Code Review](#healing-specific-code-review)
22
+ - [Healing Metrics](#healing-metrics)
23
+ - [Golden-master boundary equivalence (modernize -> validate gate)](#golden-master-boundary-equivalence-modernize---validate-gate)
24
+ - [Healing Signals](#healing-signals)
25
+ - [Environment Variables](#environment-variables)
26
+ - [Known Limitations](#known-limitations)
27
+ - [Quick Reference](#quick-reference)
28
+ - [Checkpoint metadata hardening (v7.5.8)](#checkpoint-metadata-hardening-v758)
29
+ <!-- TOC:END -->
30
+
3
31
  ## Research Foundation
4
32
 
5
33
  This module synthesizes ideas from multiple validated sources. Each technique is cited.
@@ -1,5 +1,29 @@
1
1
  # Magic Modules Skill
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Research Foundation](#research-foundation)
7
+ - [When to Load This Module](#when-to-load-this-module)
8
+ - [Core Concept](#core-concept)
9
+ - [1. Spec-First Generation (MagicModules -- Roman Nurik)](#1-spec-first-generation-magicmodules----roman-nurik)
10
+ - [2. Multi-Persona Debate (MoMoA -- Reto Meier)](#2-multi-persona-debate-momoa----reto-meier)
11
+ - [Commands](#commands)
12
+ - [Workflow Integration](#workflow-integration)
13
+ - [With RARV Cycle](#with-rarv-cycle)
14
+ - [With Documentation System (`loki docs`)](#with-documentation-system-loki-docs)
15
+ - [With Git Intelligence](#with-git-intelligence)
16
+ - [With Quality Gates](#with-quality-gates)
17
+ - [File Layout](#file-layout)
18
+ - [Design Tokens](#design-tokens)
19
+ - [Generation Targets](#generation-targets)
20
+ - [Debate Personas](#debate-personas)
21
+ - [Anti-Patterns](#anti-patterns)
22
+ - [Quick Reference](#quick-reference)
23
+ - [Integration with Other Skills](#integration-with-other-skills)
24
+ - [See Also](#see-also)
25
+ <!-- TOC:END -->
26
+
3
27
  ## Research Foundation
4
28
 
5
29
  | Source | Key Contribution | Citation |
package/skills/memory.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Memory Integration (v7.2.0+)
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Flag hierarchy](#flag-hierarchy)
7
+ - [Schema mapping](#schema-mapping)
8
+ - [How RARV-C uses managed memory](#how-rarv-c-uses-managed-memory)
9
+ - [REASON phase (read augment)](#reason-phase-read-augment)
10
+ - [REFLECT/VERIFY phase (shadow-write)](#reflectverify-phase-shadow-write)
11
+ - [Completion council (augment + verdict)](#completion-council-augment--verdict)
12
+ - [Session-boot hydrate](#session-boot-hydrate)
13
+ - [Multiagent council (research preview)](#multiagent-council-research-preview)
14
+ - [Cross-session learning](#cross-session-learning)
15
+ - [PII redaction](#pii-redaction)
16
+ - [Observability](#observability)
17
+ - [Honest disclosure: what is NOT tested](#honest-disclosure-what-is-not-tested)
18
+ - [Rollback](#rollback)
19
+ - [Troubleshooting](#troubleshooting)
20
+ - [References](#references)
21
+ <!-- TOC:END -->
22
+
3
23
  Loki Mode ships two memory layers:
4
24
 
5
25
  1. **Local memory** (`.loki/memory/`) -- project-scoped, authoritative, versioned
@@ -1,5 +1,39 @@
1
1
  # Model Selection & Task Tool
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Session-Pinned Model (default)](#session-pinned-model-default)
7
+ - [Fable 5 (top-tier advisory model)](#fable-5-top-tier-advisory-model)
8
+ - [Mid-flight model switching](#mid-flight-model-switching)
9
+ - [Architecture-tier opt-in: `LOKI_FABLE_ARCHITECT`](#architecture-tier-opt-in-loki_fable_architect)
10
+ - [Financial / physical-stakes work (manual override, by design)](#financial--physical-stakes-work-manual-override-by-design)
11
+ - [Cost estimate honesty](#cost-estimate-honesty)
12
+ - [Multi-Provider Support (v5.0.0)](#multi-provider-support-v500)
13
+ - [Abstract Model Tiers](#abstract-model-tiers)
14
+ - [Enabling Haiku](#enabling-haiku)
15
+ - [Model Selection by SDLC Phase](#model-selection-by-sdlc-phase)
16
+ - [Task Tool Examples (Claude Only)](#task-tool-examples-claude-only)
17
+ - [Provider Detection in Code](#provider-detection-in-code)
18
+ - [Task Categories](#task-categories)
19
+ - [Parallelization Strategy (Claude Only)](#parallelization-strategy-claude-only)
20
+ - [Extended Thinking Mode](#extended-thinking-mode)
21
+ - [Claude Adaptive Thinking (Effort Parameter)](#claude-adaptive-thinking-effort-parameter)
22
+ - [Codex --sandbox workspace-write Flag](#codex---sandbox-workspace-write-flag)
23
+ - [Prompt Repetition for Haiku](#prompt-repetition-for-haiku)
24
+ - [Advanced Parameters](#advanced-parameters)
25
+ - [Confidence-Based Routing](#confidence-based-routing)
26
+ - [Tiered Agent Escalation Triggers](#tiered-agent-escalation-triggers)
27
+ - [Tier Definitions](#tier-definitions)
28
+ - [Automatic Escalation Triggers](#automatic-escalation-triggers)
29
+ - [Threshold Rationale](#threshold-rationale)
30
+ - [Always-HIGH Triggers (No Escalation Path)](#always-high-triggers-no-escalation-path)
31
+ - [De-escalation Triggers (Cost Optimization)](#de-escalation-triggers-cost-optimization)
32
+ - [Escalation Flow Diagram](#escalation-flow-diagram)
33
+ - [Implementation in Provider Context](#implementation-in-provider-context)
34
+ - [Metrics for Tier Optimization](#metrics-for-tier-optimization)
35
+ <!-- TOC:END -->
36
+
3
37
  ## Session-Pinned Model (default)
4
38
 
5
39
  Since v6.81.0, the main RARV loop uses **one pinned model per session** instead of rotating models per RARV phase. This eliminates per-iteration tier churn and keeps the main loop behavior predictable.
@@ -1,5 +1,21 @@
1
1
  # OpenSpec Integration
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [When This Module Applies](#when-this-module-applies)
7
+ - [Delta-Aware Development Rules](#delta-aware-development-rules)
8
+ - [ADDED Requirements](#added-requirements)
9
+ - [MODIFIED Requirements](#modified-requirements)
10
+ - [REMOVED Requirements](#removed-requirements)
11
+ - [Task Execution](#task-execution)
12
+ - [Scenario Verification](#scenario-verification)
13
+ - [Source Mapping](#source-mapping)
14
+ - [Complexity Levels](#complexity-levels)
15
+ - [Output Files Reference](#output-files-reference)
16
+ - [Common Mistakes](#common-mistakes)
17
+ <!-- TOC:END -->
18
+
3
19
  > **Reference:** OpenSpec delta specs use ADDED/MODIFIED/REMOVED sections to describe changes to existing system behavior. See `.loki/openspec/delta-context.json` for the parsed delta context injected into your prompt.
4
20
 
5
21
  ---
@@ -1,5 +1,49 @@
1
1
  # Parallel Workflows with Git Worktrees
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Why Worktree-Based Parallelism](#why-worktree-based-parallelism)
7
+ - [Parallel Work Streams](#parallel-work-streams)
8
+ - [Worktree Management Commands](#worktree-management-commands)
9
+ - [Create Feature Worktree](#create-feature-worktree)
10
+ - [Create Testing Worktree (based on main)](#create-testing-worktree-based-on-main)
11
+ - [Merge Completed Work](#merge-completed-work)
12
+ - [List and Clean Worktrees](#list-and-clean-worktrees)
13
+ - [Orchestrator Workflow](#orchestrator-workflow)
14
+ - [Supervisor / Judge Pattern](#supervisor--judge-pattern)
15
+ - [When the supervisor runs](#when-the-supervisor-runs)
16
+ - [Inputs and outputs](#inputs-and-outputs)
17
+ - [Resource state as input](#resource-state-as-input)
18
+ - [Dynamic Resource-Aware Session Concurrency](#dynamic-resource-aware-session-concurrency)
19
+ - [Env knobs (all read in `autonomy/run.sh`)](#env-knobs-all-read-in-autonomyrunsh)
20
+ - [Honest ceiling: dozens, not thousands](#honest-ceiling-dozens-not-thousands)
21
+ - [Claude Session Per Worktree](#claude-session-per-worktree)
22
+ - [Inter-Stream Communication](#inter-stream-communication)
23
+ - [Signal Files](#signal-files)
24
+ - [Workflow Triggers](#workflow-triggers)
25
+ - [Parallel Testing Strategy](#parallel-testing-strategy)
26
+ - [Continuous Testing Worktree](#continuous-testing-worktree)
27
+ - [Parallel Test Execution](#parallel-test-execution)
28
+ - [Documentation Stream](#documentation-stream)
29
+ - [Auto-Documentation Triggers](#auto-documentation-triggers)
30
+ - [Blog Stream (if site has blog)](#blog-stream-if-site-has-blog)
31
+ - [Worktree State Tracking](#worktree-state-tracking)
32
+ - [Orchestrator State Schema](#orchestrator-state-schema)
33
+ - [Dashboard Integration](#dashboard-integration)
34
+ - [Spawn Parallel Streams Script](#spawn-parallel-streams-script)
35
+ - [Optimistic Concurrency Control](#optimistic-concurrency-control)
36
+ - [The Problem with Locks](#the-problem-with-locks)
37
+ - [Optimistic Concurrency Pattern](#optimistic-concurrency-pattern)
38
+ - [Implementation](#implementation)
39
+ - [When to Use](#when-to-use)
40
+ - [Limitations and Considerations](#limitations-and-considerations)
41
+ - [When NOT to Use Worktrees](#when-not-to-use-worktrees)
42
+ - [Merge Conflict Resolution](#merge-conflict-resolution)
43
+ - [Resource Considerations](#resource-considerations)
44
+ - [Integration with Existing Patterns](#integration-with-existing-patterns)
45
+ <!-- TOC:END -->
46
+
3
47
  > **Research basis:** Claude Code git worktrees pattern, Anthropic "One Feature at a Time" harness, HN production patterns on context isolation.
4
48
 
5
49
  ---
@@ -1,5 +1,16 @@
1
1
  # Advanced Patterns
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Problem Classification with Expert Hints (OptiMind Pattern)](#problem-classification-with-expert-hints-optimind-pattern)
7
+ - [Ensemble Solution Generation (OptiMind Pattern)](#ensemble-solution-generation-optimind-pattern)
8
+ - [Formal State Machines (k8s-valkey-operator Pattern)](#formal-state-machines-k8s-valkey-operator-pattern)
9
+ - [Constitutional AI Self-Critique (Anthropic)](#constitutional-ai-self-critique-anthropic)
10
+ - [Debate-Based Verification (DeepMind)](#debate-based-verification-deepmind)
11
+ - [Code-Only Agent Pattern (rijnard.com)](#code-only-agent-pattern-rijnardcom)
12
+ <!-- TOC:END -->
13
+
3
14
  ## Problem Classification with Expert Hints (OptiMind Pattern)
4
15
 
5
16
  **Classify problems before solving. Apply domain-specific expert hints.**
@@ -1,5 +1,24 @@
1
1
  # Production Patterns
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [HN 2025 Production Patterns](#hn-2025-production-patterns)
7
+ - [Proactive Context Management (OpenCode Pattern)](#proactive-context-management-opencode-pattern)
8
+ - [Sub-Agents for Context Isolation](#sub-agents-for-context-isolation)
9
+ - [Git Worktree Isolation (Cursor Pattern)](#git-worktree-isolation-cursor-pattern)
10
+ - [Atomic Checkpoint/Rollback (Cursor Pattern)](#atomic-checkpointrollback-cursor-pattern)
11
+ - [CI/CD Automation (Zencoder Patterns)](#cicd-automation-zencoder-patterns)
12
+ - [CI Failure Analysis and Auto-Resolution](#ci-failure-analysis-and-auto-resolution)
13
+ - [Automated Review Comment Resolution](#automated-review-comment-resolution)
14
+ - [Continuous Dependency Management](#continuous-dependency-management)
15
+ - [Batch Processing (Claude API)](#batch-processing-claude-api)
16
+ - [When to Use Batch API](#when-to-use-batch-api)
17
+ - [Batch API Limits](#batch-api-limits)
18
+ - [Implementation Pattern](#implementation-pattern)
19
+ - [Batch + Prompt Caching](#batch--prompt-caching)
20
+ <!-- TOC:END -->
21
+
3
22
  ## HN 2025 Production Patterns
4
23
 
5
24
  Narrow scope, deterministic outer loops and context engineering live in `references/production-patterns.md` (single source). The sections below cover deployment-side patterns.
@@ -1,5 +1,23 @@
1
1
  # Multi-Provider Support
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [Provider Comparison](#provider-comparison)
7
+ - [Provider Selection](#provider-selection)
8
+ - [Any Model, Any Provider (ANTHROPIC_BASE_URL)](#any-model-any-provider-anthropic_base_url)
9
+ - [Keeping the model catalog current](#keeping-the-model-catalog-current)
10
+ - [Claude Code (Default, Full Features)](#claude-code-default-full-features)
11
+ - [OpenAI Codex CLI (Experimental, Degraded Mode)](#openai-codex-cli-experimental-degraded-mode)
12
+ - [Cline CLI (Tier 2 - Near-Full, 12+ Providers)](#cline-cli-tier-2---near-full-12-providers)
13
+ - [Aider (Tier 3 - Degraded, 18+ Providers)](#aider-tier-3---degraded-18-providers)
14
+ - [opencode (Model-Agnostic, 75+ Providers)](#opencode-model-agnostic-75-providers)
15
+ - [Degraded Mode Behavior](#degraded-mode-behavior)
16
+ - [Provider Configuration Files](#provider-configuration-files)
17
+ - [Choosing a Provider](#choosing-a-provider)
18
+ - [Guardrail Parity (engine10)](#guardrail-parity-engine10)
19
+ <!-- TOC:END -->
20
+
3
21
  Loki Mode supports five AI providers for autonomous execution.
4
22
 
5
23
  ## Provider Comparison
@@ -1,5 +1,59 @@
1
1
  # Quality Gates
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [The Quality Gates (8 blocking default-on + 3 advisory default-on + 1 opt-in)](#the-quality-gates-8-blocking-default-on--3-advisory-default-on--1-opt-in)
7
+ - [Conditional auditor (not numbered): Backward Compatibility (v6.67.0)](#conditional-auditor-not-numbered-backward-compatibility-v6670)
8
+ - [Gate 7: Documentation Coverage (v6.75.0)](#gate-7-documentation-coverage-v6750)
9
+ - [Gates 5 and 6: Automated Test Integrity](#gates-5-and-6-automated-test-integrity)
10
+ - [Advisory default-on verification gates (LSP, semantic, invariant)](#advisory-default-on-verification-gates-lsp-semantic-invariant)
11
+ - [Migration: semantic and invariant flags were repurposed](#migration-semantic-and-invariant-flags-were-repurposed)
12
+ - [Coverage stays opt-in (the exception)](#coverage-stays-opt-in-the-exception)
13
+ - [v7.5.0 Phase 1 environment flags](#v750-phase-1-environment-flags)
14
+ - [Default-on verification-integrity gates (v7.41.1)](#default-on-verification-integrity-gates-v7411)
15
+ - [Other opt-in environment flags (Release 3)](#other-opt-in-environment-flags-release-3)
16
+ - [Output-token compressor (caveman, default-on, Claude-only)](#output-token-compressor-caveman-default-on-claude-only)
17
+ - [Verified-completion evidence gate (v7.19.1, default-on)](#verified-completion-evidence-gate-v7191-default-on)
18
+ - [Counter-evidence file format (`.loki/state/counter-evidence-<iter>.json`)](#counter-evidence-file-format-lokistatecounter-evidence-iterjson)
19
+ - [Held-out spec evals (v7.28.0, default-on when reserved)](#held-out-spec-evals-v7280-default-on-when-reserved)
20
+ - [Uncertainty-gated escalation (v7.19.2, default-on)](#uncertainty-gated-escalation-v7192-default-on)
21
+ - [Trigger condition](#trigger-condition)
22
+ - [Action](#action)
23
+ - [Knobs](#knobs)
24
+ - [Honest limits](#honest-limits)
25
+ - [Guardrails Execution Modes](#guardrails-execution-modes)
26
+ - [Chain-of-Verification (CoVe) Protocol](#chain-of-verification-cove-protocol)
27
+ - [Core Insight](#core-insight)
28
+ - [The 4-Step CoVe Process](#the-4-step-cove-process)
29
+ - [Step-by-Step Implementation](#step-by-step-implementation)
30
+ - [Factor+Revise Variant (Longform Code Generation)](#factorrevise-variant-longform-code-generation)
31
+ - [Why Factored Execution Matters](#why-factored-execution-matters)
32
+ - [CoVe Integration with Blind Review](#cove-integration-with-blind-review)
33
+ - [Metrics](#metrics)
34
+ - [Velocity-Quality Feedback Loop (CRITICAL)](#velocity-quality-feedback-loop-critical)
35
+ - [Key Findings](#key-findings)
36
+ - [The Trap to Avoid](#the-trap-to-avoid)
37
+ - [Mandatory Quality Checks (Per Task)](#mandatory-quality-checks-per-task)
38
+ - [Metrics to Track](#metrics-to-track)
39
+ - [Specialist Review Pool (v5.30.0)](#specialist-review-pool-v5300)
40
+ - [Selection Rules](#selection-rules)
41
+ - [Adding Your Own Reviewer (extension seam)](#adding-your-own-reviewer-extension-seam)
42
+ - [Dispatch Pattern](#dispatch-pattern)
43
+ - [Rules (unchanged from blind review)](#rules-unchanged-from-blind-review)
44
+ - [Two-Stage Review Protocol](#two-stage-review-protocol)
45
+ - [Why Separate Stages Matter](#why-separate-stages-matter)
46
+ - [Stage 1: Spec Compliance Review](#stage-1-spec-compliance-review)
47
+ - [Stage 2: Code Quality Review](#stage-2-code-quality-review)
48
+ - [Implementation in Loki Mode](#implementation-in-loki-mode)
49
+ - [Common Anti-Pattern](#common-anti-pattern)
50
+ - [Severity-Based Blocking](#severity-based-blocking)
51
+ - [Scale Considerations](#scale-considerations)
52
+ - [Review Intensity Scaling](#review-intensity-scaling)
53
+ - [Judge Agent Integration](#judge-agent-integration)
54
+ - [Cursor's Key Learning](#cursors-key-learning)
55
+ <!-- TOC:END -->
56
+
3
57
  **Never ship code without passing all quality gates.**
4
58
 
5
59
  ## The Quality Gates (8 blocking default-on + 3 advisory default-on + 1 opt-in)
@@ -1,5 +1,21 @@
1
1
  # Release Cadence (skill module)
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [1. The gate decision, and why two files appear to disagree](#1-the-gate-decision-and-why-two-files-appear-to-disagree)
7
+ - [1.1 The apparent contradiction, resolved](#11-the-apparent-contradiction-resolved)
8
+ - [2. What the fast tier must contain: the artifact rule](#2-what-the-fast-tier-must-contain-the-artifact-rule)
9
+ - [2.1 The two rules that generalise past packaging](#21-the-two-rules-that-generalise-past-packaging)
10
+ - [3. What the pipeline enforces for you](#3-what-the-pipeline-enforces-for-you)
11
+ - [4. The two ways a release silently publishes nothing](#4-the-two-ways-a-release-silently-publishes-nothing)
12
+ - [4.1 The VERSION bump must be the push HEAD](#41-the-version-bump-must-be-the-push-head)
13
+ - [4.2 Pushing during the window cancels the release's Tests](#42-pushing-during-the-window-cancels-the-releases-tests)
14
+ - [5. After the push: verify provenance, not the version string](#5-after-the-push-verify-provenance-not-the-version-string)
15
+ - [5.1 Confirm a release-critical fix THREE ways, never one](#51-confirm-a-release-critical-fix-three-ways-never-one)
16
+ - [6. The cadence, end to end](#6-the-cadence-end-to-end)
17
+ <!-- TOC:END -->
18
+
3
19
  **Purpose:** the shortest VERIFIED path from idea to published. Shortest and
4
20
  verified are both load-bearing; this repo has shipped fast and shipped nothing
5
21
  at the same time, four times in a row, and the cost was invisible for days.
@@ -1,5 +1,22 @@
1
1
  # SDLC Fleet Pattern (skill module)
2
2
 
3
+ <!-- TOC:START (generated by scripts/skill-toc.sh; do not edit) -->
4
+ ## Contents
5
+
6
+ - [When to invoke this pattern](#when-to-invoke-this-pattern)
7
+ - [The 6 roles](#the-6-roles)
8
+ - [1. Architect (1 agent, Plan subagent_type, model: opus)](#1-architect-1-agent-plan-subagent_type-model-opus)
9
+ - [2. Product Owner (the integrator, NOT a separate agent)](#2-product-owner-the-integrator-not-a-separate-agent)
10
+ - [3. Dev Fleet (3-5 principal engineers in parallel, model: opus)](#3-dev-fleet-3-5-principal-engineers-in-parallel-model-opus)
11
+ - [4. SDET (1-2 agents, model: opus)](#4-sdet-1-2-agents-model-opus)
12
+ - [5. Council Reviewers (3 agents, parallel, model: 2 opus + 1 sonnet)](#5-council-reviewers-3-agents-parallel-model-2-opus--1-sonnet)
13
+ - [6. Real-User QA (1 agent OR the integrator directly)](#6-real-user-qa-1-agent-or-the-integrator-directly)
14
+ - [Parallel-execution rules](#parallel-execution-rules)
15
+ - [Honest acknowledgements pattern](#honest-acknowledgements-pattern)
16
+ - [Reference run: v7.6.0 LSP integration](#reference-run-v760-lsp-integration)
17
+ - [Per-release checklist (always)](#per-release-checklist-always)
18
+ <!-- TOC:END -->
19
+
3
20
  **Established:** v7.7.4 (2026-05-24)
4
21
  **Origin:** user mandate "agent teams with senior most developers, Loki architects, sdet team and council of reviewers exist and coordinate and work in parallel"
5
22
  **Proven by:** v7.6.0 fleet ship (architect + 3 principal engineers + SDET + 3-reviewer council + real-user QA) demonstrated the pattern works end-to-end.