akili-specs 2.10.1 → 2.11.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/.claude/commands/akili-constitution.md +13 -9
- package/.claude/commands/akili-execute.md +4 -2
- package/.claude/commands/akili-specify.md +1 -1
- package/.claude/commands/akili-test.md +2 -2
- package/.claude/templates/leader.md +5 -4
- package/CHANGELOG.md +15 -0
- package/docs/flow.md +3 -4
- package/docs/model-routing.md +185 -42
- package/package.json +1 -1
|
@@ -379,12 +379,16 @@ project guides so the project does not depend on the package's `docs/` after ins
|
|
|
379
379
|
|
|
380
380
|
1. A one-line statement of the criteria-first philosophy and the guiding principles
|
|
381
381
|
(match the dominant demand; ARCHITECT = BUILDER; **author ≠ auditor**; reserve deep-reasoning for
|
|
382
|
-
propose/verify
|
|
382
|
+
propose/specify/verify **and the orchestrating Leader**; fast & cheap for archive/formatting only
|
|
383
|
+
— **`tasks.md` decomposition is T1, not cheap formatting**).
|
|
383
384
|
2. The six capability tiers (T1 Architect, T2 Coder, T3 Auditor, T4 Context-Ingest, T5 Fast-Cheap,
|
|
384
|
-
T6 Multimodal) with one-line definitions
|
|
385
|
+
T6 Multimodal) with one-line definitions — T1 covers architecture reasoning, **task decomposition**,
|
|
386
|
+
**and live orchestration judgment** (decomposition in flight, runtime skill selection, FAIL
|
|
387
|
+
adjudication, pivot).
|
|
385
388
|
3. The phase→tier mapping for the real AKILI phases, with the `/akili-execute` triad split into
|
|
386
|
-
Leader (
|
|
387
|
-
|
|
389
|
+
Leader (T1, orchestration judgment — writes no code but selects skills, adjudicates FAILs, and
|
|
390
|
+
decides pivots), Implementer (T2), and Reviewer (T3), and an explicit note that the Reviewer model
|
|
391
|
+
must differ from the Implementer model. `/akili-test` is likewise split into its Leader (T1,
|
|
388
392
|
orchestration) and Tester(s) (T2, test authoring), with a note to prefer a Tester model different
|
|
389
393
|
from the Implementer (author ≠ tester).
|
|
390
394
|
4. The editable model registry table with columns `Tier | Claude Code | OpenCode | Fallback`, plus
|
|
@@ -470,14 +474,14 @@ this step — the guidance-only flow keeps working.
|
|
|
470
474
|
operating contract before doing anything else.
|
|
471
475
|
```
|
|
472
476
|
|
|
473
|
-
Models come from the registry's Claude Code column as **aliases** (default: leader `
|
|
474
|
-
implementer `sonnet`, reviewer `opus`, tester `sonnet`). Never copy the
|
|
475
|
-
wrapper — `.agents/` stays the single source of truth.
|
|
477
|
+
Models come from the registry's Claude Code column as **aliases** (default: leader `opus` (T1 —
|
|
478
|
+
orchestration judgment), implementer `sonnet`, reviewer `opus`, tester `sonnet`). Never copy the
|
|
479
|
+
persona body into the wrapper — `.agents/` stays the single source of truth.
|
|
476
480
|
|
|
477
481
|
- **OpenCode:** create the equivalent project agent definitions (`.opencode/agent/akili-*.md` or
|
|
478
482
|
the `agent` block of `opencode.json`, matching the user's OpenCode version) with `model:` set to
|
|
479
|
-
the registry's OpenCode slugs (default: implementer `opencode-go/glm-5.
|
|
480
|
-
`opencode-go/deepseek-v4-pro`, leader `opencode-go/
|
|
483
|
+
the registry's OpenCode slugs (default: implementer `opencode-go/glm-5.2`, reviewer
|
|
484
|
+
`opencode-go/deepseek-v4-pro`, leader `opencode-go/kimi-k3` (T1 — orchestration judgment)).
|
|
481
485
|
|
|
482
486
|
- **Google Antigravity:** no per-agent model binding exists — skip wrapper generation and note in
|
|
483
487
|
the summary that Antigravity stays on guidance-only routing.
|
|
@@ -65,7 +65,7 @@ The Leader does not write production code itself unless the rework loop is exhau
|
|
|
65
65
|
|
|
66
66
|
### Step 0: Load Context
|
|
67
67
|
|
|
68
|
-
**Model checkpoint:**
|
|
68
|
+
**Model checkpoint:** As Leader you run best on **T1** — orchestration here is judgment, not dispatch: you decompose in flight, **select each Implementer's skills**, adjudicate Reviewer FAILs, and decide pivots. You write no code, but these calls gate the whole run (low volume, high leverage). The Implementer/Reviewer route through the Step 8E agent wrappers (their own tier models — Implementer T2, Reviewer T3) when present. If the project's `## Model Routing` registry (root `AGENTS.md`/`CLAUDE.md`) maps T1 to a model different from the current session model, tell the user in one line — e.g. *"The Leader loop is T1 — the registry recommends `/model opus`; you are on sonnet"* — and offer to switch (`/model …` in Claude Code, the model selector in OpenCode) at the first approval pause. Never block on this; continuing on the current model is always allowed.
|
|
69
69
|
|
|
70
70
|
**Token Optimization (Prompt Caching):** To maximize prompt caching, always read the constitutional baseline documents FIRST and in the exact same order across all sessions before reading task-specific files.
|
|
71
71
|
|
|
@@ -120,6 +120,7 @@ loop:
|
|
|
120
120
|
HALT, mark task [~], present audit trail (Step 4)
|
|
121
121
|
exit loop
|
|
122
122
|
feedback = Reviewer issues
|
|
123
|
+
effort = bump one level (medium → high → xhigh) # a failed fix is usually under-thinking
|
|
123
124
|
attempt += 1
|
|
124
125
|
continue loop
|
|
125
126
|
```
|
|
@@ -139,7 +140,8 @@ Delegate to the Implementer with:
|
|
|
139
140
|
- the active task ID, title, and scope from `tasks.md`
|
|
140
141
|
- the relevant slices of `requirements.md`, `design.md`, and `trd.md`
|
|
141
142
|
- the project constitution references (`CLAUDE.md`, `AGENTS.md`, `docs/ux-ui/design.md`)
|
|
142
|
-
- the
|
|
143
|
+
- the skill set **you select for this task as Leader**. The task's recommended list (e.g. `ui-ux-pro-max`, `react-doctor`, `nestjs-expert`) and the project's `## Skill Map` (root `AGENTS.md`/`CLAUDE.md`) are your **defaults, not a fixed pass-through**: judge the task's actual nature and augment, narrow, or override them — add a skill the task missed, drop one that does not fit, swap in the better match (e.g. include `gsap-animation` and its matching reference file when the work touches animation even if unlisted). When you deviate from the task's list, record a one-line reason in `execution.md`. Fall back to the Skill Map only when the task lists none and you see no better fit
|
|
144
|
+
- the **effort you select for this task** (the *Effort dial* in `## Model Routing`, orthogonal to the tier): default `medium`, flexed to `low` for trivial/mechanical work, `xhigh` for complex (algorithm, concurrency, security, ambiguity), `max` for correctness-critical. Where the tool exposes a per-spawn effort knob, set it; otherwise steer depth in the brief. Never `max` a cheaper tier — if a task wants `max`, escalate the tier instead
|
|
143
145
|
- any prior Reviewer feedback when this is a rework attempt
|
|
144
146
|
- any Active Lessons from `docs/specs/kaizen-log.md` relevant to the task's domain (pass only the matching rows, never the full log)
|
|
145
147
|
- the verification command to run before reporting completion
|
|
@@ -61,7 +61,7 @@ When the spec is a **bug** — the proposal's Document Control says `Type: Bug`,
|
|
|
61
61
|
|
|
62
62
|
### Step 0: Setup
|
|
63
63
|
|
|
64
|
-
**Model checkpoint:** This phase runs best on **T1 Architect** for requirements/design
|
|
64
|
+
**Model checkpoint:** This phase runs best on **T1 Architect** for requirements/design **and for the Phase 3 `tasks.md` decomposition** — breaking the design into executable tasks with correct boundaries and dependencies is reasoning, not cheap formatting; a bad decomposition poisons every downstream Implementer (re-check at Phase 3 only to switch to **T6 Multimodal** when visual design is in scope). If the project's `## Model Routing` registry (root `AGENTS.md`/`CLAUDE.md`) maps that tier to a model different from the current session model, tell the user in one line — e.g. *"Phases 1–3 are T1 — the registry recommends `/model opus`; you are on haiku"* — and offer to switch (`/model …` in Claude Code, the model selector in OpenCode) at the first approval pause. Never block on this; continuing on the current model is always allowed.
|
|
65
65
|
|
|
66
66
|
**Token Optimization (Prompt Caching):** To maximize prompt caching, always read the constitutional baseline documents FIRST and in the exact same order across all sessions before reading task-specific files.
|
|
67
67
|
|
|
@@ -11,7 +11,7 @@ Run automated and, when needed, manual tests against a spec path's implementatio
|
|
|
11
11
|
|
|
12
12
|
In this command you act as the **Leader** (Orchestrator). You partition testing into per-suite units, delegate each unit to a focused **Tester** subagent, aggregate their structured reports, and assemble the final `test-report.md`. Testing should prove the behavior promised in `requirements.md`, not only increase test count.
|
|
13
13
|
|
|
14
|
-
> **Recommended model tier:** Leader on
|
|
14
|
+
> **Recommended model tier:** Leader on T1 (orchestration judgment — partitions suites, selects each Tester's skills, adjudicates results; writes no tests), each Tester on T2 Coder (test authoring + verification). See the `## Model Routing` registry in the project's `AGENTS.md` / `CLAUDE.md`. Prefer a Tester model that differs from the Implementer that wrote the code (author ≠ tester reduces confirmation bias).
|
|
15
15
|
|
|
16
16
|
## Usage
|
|
17
17
|
|
|
@@ -77,7 +77,7 @@ The Leader decides the count from the spec's depth and the independence of the s
|
|
|
77
77
|
|
|
78
78
|
### Phase 0: Load Context (Leader)
|
|
79
79
|
|
|
80
|
-
**Model checkpoint:**
|
|
80
|
+
**Model checkpoint:** As Leader you run best on **T1** — orchestration here is judgment, not dispatch: you partition suites, **select each Tester's skills**, and adjudicate results. You write no tests, but these calls gate the whole run (low volume, high leverage). Testers route through the `akili-tester` wrapper (T2) when present. If the project's `## Model Routing` registry (root `AGENTS.md`/`CLAUDE.md`) maps T1 to a model different from the current session model, tell the user in one line — e.g. *"The Leader loop is T1 — the registry recommends `/model opus`; you are on sonnet"* — and offer to switch (`/model …` in Claude Code, the model selector in OpenCode) at the first approval pause. Never block on this; continuing on the current model is always allowed.
|
|
81
81
|
|
|
82
82
|
**Token Optimization (Prompt Caching):** To maximize prompt caching, always read the constitutional baseline documents FIRST and in the exact same order across all sessions before reading task-specific files.
|
|
83
83
|
|
|
@@ -4,7 +4,7 @@ You are the specialized **Software Leader** agentic team member in the AKILI-SPE
|
|
|
4
4
|
|
|
5
5
|
Your sole responsibility is to coordinate execution of an approved spec by orchestrating two subordinate agents — the **Implementer** and the **Reviewer** — and to maintain a faithful, traceable execution record. You do not write production code yourself, and you do not perform the independent audit yourself; you delegate.
|
|
6
6
|
|
|
7
|
-
> **Recommended model tier:**
|
|
7
|
+
> **Recommended model tier:** T1 (deep-reasoning orchestration — you write no code, but this is judgment, not dispatch: you decompose in flight, **select each worker's skills**, adjudicate Reviewer FAILs, and decide pivots — the highest-leverage calls in the run). See the `## Model Routing` registry in the project's `AGENTS.md` / `CLAUDE.md`. Spawn the Implementer and Reviewer on **different models** (author ≠ auditor).
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -20,8 +20,9 @@ Your sole responsibility is to coordinate execution of an approved spec by orche
|
|
|
20
20
|
* If a task is `[~]`, resume it using `execution.md` context.
|
|
21
21
|
* If no tasks are eligible, report completion or the blocking condition and stop.
|
|
22
22
|
|
|
23
|
-
3. **Delegation Discipline (
|
|
24
|
-
*
|
|
23
|
+
3. **Delegation Discipline (Active Skill + Effort Selection):**
|
|
24
|
+
* **You own the skill decision, not the task file.** Judge the task's actual nature and select the optimal skill set for *this* task. The task's recommended skills (e.g., `shadcn-ui`, `nestjs-expert`) and the project's `## Skill Map` (root `AGENTS.md`/`CLAUDE.md`, stack skills) are **defaults you may augment, narrow, or override** — add a skill the task missed, drop one that does not fit, or swap in the better match (UI → `ui-ux-pro-max`, animation → `gsap-animation`, etc.). When you deviate from the task's list, record a one-line reason in `execution.md`. Fall back to the Skill Map only when the task lists none and you see no better fit.
|
|
25
|
+
* **You also set the effort per task** (the second dimension in `## Model Routing` → *Effort dial* — orthogonal to the tier). Default `medium` for a T2 Implementer, then flex by the task's difficulty: `low` for trivial/mechanical work, `xhigh` for complex (algorithm, concurrency, security, ambiguity), `max` for correctness-critical. Where the tool exposes a per-spawn effort knob, pass it; otherwise instruct the Implementer's depth in-brief ("think carefully — this is a hard task" / "keep it quick, this is mechanical"). Don't `max` a cheaper tier — if a task wants `max`, escalate the tier instead.
|
|
25
26
|
* Spawn the **Implementer** subagent with: the active task scope, the relevant spec sections, the verification command, and the contents of `.agents/implementer.md`.
|
|
26
27
|
* **Crucial:** Explicitly instruct the Implementer: "You MUST use the `skill` tool to load these skills: [skill names] BEFORE you begin writing code."
|
|
27
28
|
* After the Implementer reports completion, extract the git diff and spawn the **Reviewer** subagent with: the diff, the relevant spec sections, and the contents of `.agents/reviewer.md`.
|
|
@@ -30,7 +31,7 @@ Your sole responsibility is to coordinate execution of an approved spec by orche
|
|
|
30
31
|
4. **Rework Loop Guardrails (Anti-Looping & Rollback):**
|
|
31
32
|
* Enforce a hard ceiling of **3 rework attempts** per task.
|
|
32
33
|
* **Fail-Fast:** If the Reviewer issues `STATUS: FATAL_FAIL`, immediately abort the loop and trigger the Pivot Protocol to conserve tokens.
|
|
33
|
-
* On `FAIL`, spawn a fresh Implementer passing *only* the Reviewer's structured feedback, the prior diff context, AND an **Attempt History** summary (e.g., "In attempt 1 you tried X and it failed with Y. Do not repeat approach X.").
|
|
34
|
+
* On `FAIL`, spawn a fresh Implementer passing *only* the Reviewer's structured feedback, the prior diff context, AND an **Attempt History** summary (e.g., "In attempt 1 you tried X and it failed with Y. Do not repeat approach X."). **Bump the effort one level on the retry** (e.g. `medium` → `high` → `xhigh`) — a fix that failed is usually under-thinking, not missing instructions.
|
|
34
35
|
* On `PASS`, finalize the task.
|
|
35
36
|
* After 3 consecutive `FAIL` results (or a `FATAL_FAIL`), **HALT**. Before marking the task `[~]`, execute an **Automatic Rollback** (`git restore .` and `git clean -fd`) to return the working tree to a clean state. Then record the full audit trail in `execution.md`, and present the blocker to the user for guidance.
|
|
36
37
|
|
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,21 @@ The format is inspired by Keep a Changelog and the repository follows semantic v
|
|
|
10
10
|
|
|
11
11
|
- No unreleased changes yet.
|
|
12
12
|
|
|
13
|
+
## [2.11.0] - 2026-07-24
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- **`/akili-specify` → `tasks.md` decomposition promoted T5 → T1.** Task decomposition was mapped to T5 Fast-Cheap ("fast structured partitioning into tickets") — the same category error as the old T5 Leader: it treats *not writing prose* as *not requiring reasoning*. Breaking a design into executable tasks with correct boundaries, dependencies, and scope is where the spec becomes executable; a bad decomposition poisons every downstream Implementer (the master builder's blueprint). It is now **T1**, consistent with `requirements.md`/`design.md` (already T1) — low-volume, high-leverage, deep-reasoner work. Updated `docs/model-routing.md` (phase mapping, guiding principles, "Why these models", effort dial, per-tool apply), `docs/flow.md`, the `/akili-specify` Phase-3 model checkpoint, and the `/akili-constitution` scaffold description. `haiku`/T5 now scopes to `/akili-archive` and pure setup/formatting only.
|
|
18
|
+
- **Registry refreshed against current benchmark data.** T2 Coder (OpenCode) bumped `opencode-go/glm-5.1` → `opencode-go/glm-5.2` (A-tier, 753B, GPQA 91.2) — a second worked example of the *Replacing a model* runbook; T2's cheap fallback set to `opencode-go/deepseek-v4-flash` (A-tier, $0.14/$0.28, SWE-bench 79.0). "Why these models" now cites real numbers (Kimi K3 S-tier but ~33 tok/s — fine for the low-volume T1 Leader/architect, never T2; DeepSeek V4 Pro SWE 80.6 / Terminal-Bench 67.9; Qwen3.7 Max ~46 intelligence, kept as the best-effort T6 open option with external Gemini 3.1 Pro / Claude Sonnet preferred for real vision). Updated `docs/model-routing.md` and the `/akili-constitution` Step 8E OpenCode implementer wrapper default.
|
|
19
|
+
- **OpenCode T1 Architect re-mapped to Kimi K3.** The OpenCode Go column now anchors T1 (Architect + the execute/test Leader) on `opencode-go/kimi-k3`, with the previous `opencode-go/kimi-k2.6` demoted to the T1 fallback — a worked application of the *Replacing a model* runbook (edit the registry row → reconcile the Step 8E OpenCode leader wrapper default → `/akili-audit`). Updated `docs/model-routing.md` (registry table, "Why these models", per-tool apply guidance) and the `/akili-constitution` Step 8E OpenCode wrapper default. Kimi K3 is a concrete slug with no alias — confirm it against your own OpenCode roster.
|
|
20
|
+
- **Leader/orchestrator promoted to the deep-reasoning tier (T1), with runtime skill-selection authority.** Model Routing previously mapped the `/akili-execute` and `/akili-test` **Leader** to **T5 Fast-Cheap** (`haiku`) on the rationale "orchestration / instruction-following — writes no code." That conflated *not producing an artifact* with *not requiring reasoning*: the orchestrator makes the run's highest-leverage calls — how to decompose, which skill each worker loads, whether a Reviewer FAIL means rework or escalation, and when to pivot. These are low-volume, high-leverage decisions (the master builder directing the site), so a frontier model there is cheap insurance. The Leader is now **T1** across `docs/model-routing.md` (tier definition, phase→tier mapping, model-selection rationale, and per-tool apply guidance for Claude Code and OpenCode), the `/akili-execute` and `/akili-test` **model checkpoints** (which now recommend `/model opus` for the Leader session instead of `/model haiku`), and the `.agents/leader.md` persona. `haiku`/T5 stays scoped to the genuinely mechanical steps — the `tasks.md` partition and `/akili-archive` — and the Implementer (T2) / Reviewer (T3) tiers and `author ≠ auditor` rule are unchanged. No new tier was added: T1's definition was broadened to include live orchestration judgment (per the registry's anti-proliferation rule).
|
|
21
|
+
- **Leader skill selection is now active, not pass-through.** The Leader's delegation discipline (`.agents/leader.md` Instruction #3 and `/akili-execute` Spawn-Implementer step) changed from "extract the task's recommended skills, fall back to the `## Skill Map` when none" to **the Leader selecting the optimal skill set for each task at runtime** — treating the task's list and the Skill Map as defaults it may augment, narrow, or override with a one-line reason recorded in `execution.md`. Task-time skill assignment still stands; this adds Leader authority to act on it during execution.
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- **Effort dial — second routing dimension in `docs/model-routing.md`, with Leader authority.** The registry picks the *tier* (which model); effort is the orthogonal, **per-task** dial for how hard that model thinks. New "Effort dial" section documents: the empirically steep intelligence↔cost curve (a representative ladder shows `max` → `medium` loses ~8% intelligence for ~70% cost — so `medium`/`high` is the value sweet spot, `xhigh`/`max` reserved for genuinely hard work); an effort policy by task signal (trivial → `low`, complex → `xhigh`, correctness-critical → `max`); default effort by role; **escalate effort one level on every rework attempt**; the **tier ↔ effort interaction** (don't `max` a cheaper tier — Sonnet 5 at `max` approaches Opus 4.8's price for less intelligence; escalate the tier instead); and Sonnet specifics (respects effort strictly — raise it rather than prompt around shallow reasoning; give `max_tokens` headroom at `xhigh`/`max`). Wired into the Leader's authority: `.agents/leader.md` (Instruction #3 now "Active Skill + Effort Selection" plus effort-bump on rework in the guardrails) and `/akili-execute` (Spawn-Implementer effort selection + effort bump in the rework loop).
|
|
26
|
+
- **Frontier escalation tier (Fable 5 / Mythos 5) in `docs/model-routing.md`.** A new opt-in section documents pinning a frontier model *above* Opus (`claude-fable-5`, or `claude-mythos-5` on Project Glasswing) for the highest-leverage slots — **T1 (Architect + the execute/test Leader) and T3 (Auditor)** — as a ceiling for genuinely hard specs. Explicitly **never a default and never in T2** (~2× Opus pricing, $10/$50 vs $5/$25, only pays where volume is low and the decision gates the run). Records the operational contract: it is a **dated pin with a required reason** (no floating alias, so it re-inherits concrete-slug drift maintenance — watched by `/akili-audit`); **always fall back to `opus`** for its refusal classifier (bio/cyber false-positives on security-adjacent specs), no-ZDR requirement, minutes-long turns, and less-prescriptive prompting; and it enables **cross-family `author ≠ auditor`** (Fable implementer/leader + Kimi/DeepSeek reviewer, or vice-versa) for stronger independent review.
|
|
27
|
+
- **"Replacing a model" developer runbook in `docs/model-routing.md`.** A first-class section that turns the previously-scattered model-swap mechanism into a followable procedure for when newer models ship after a project is scaffolded. Covers the three cases (floating alias → zero edits; concrete slug like OpenCode `opencode-go/*` or a `claude-fable-5` pin → edit; re-mapping a tier → promotion to evaluate), the 3-step procedure (edit the one `## Model Routing` table → reconcile the Step 8E agent wrappers → run `/akili-audit`'s Model Registry Drift check), and the package-default-vs-project-copy distinction (editing the packaged registry only affects new projects; the project's `AGENTS.md`/`CLAUDE.md` copy governs, and `/akili-constitution` Safe Update mode flags drift without overwriting pins).
|
|
13
28
|
## [2.10.1] - 2026-07-23
|
|
14
29
|
|
|
15
30
|
### Changed
|
package/docs/flow.md
CHANGED
|
@@ -293,12 +293,11 @@ T4 Context-Ingest, T5 Fast-Cheap, T6 Multimodal** — map to the phases:
|
|
|
293
293
|
| Phase / Role | Tier |
|
|
294
294
|
|---|---|
|
|
295
295
|
| `/akili-constitution` | T4 + T1 |
|
|
296
|
-
| `/akili-propose`, `/akili-specify` (requirements/design) | T1 |
|
|
296
|
+
| `/akili-propose`, `/akili-specify` (requirements/design/tasks) | T1 |
|
|
297
297
|
| `/akili-quick` | T2 |
|
|
298
|
-
| `/akili-specify` (tasks) | T5 |
|
|
299
298
|
| `/akili-specify` (UX/UI design) | T6 |
|
|
300
|
-
| `/akili-execute` Leader / Implementer / Reviewer |
|
|
301
|
-
| `/akili-test` Leader / Tester(s) |
|
|
299
|
+
| `/akili-execute` Leader / Implementer / Reviewer | T1 / T2 / T3 |
|
|
300
|
+
| `/akili-test` Leader / Tester(s) | T1 / T2 |
|
|
302
301
|
| `/akili-validate` | T3 |
|
|
303
302
|
| `/akili-audit` | T4 + T3 |
|
|
304
303
|
| `/akili-archive` | T5 |
|
package/docs/model-routing.md
CHANGED
|
@@ -32,11 +32,17 @@ from the need, not the reverse. The registry lists a principal model plus a fall
|
|
|
32
32
|
is lost between design and code.
|
|
33
33
|
- **author ≠ auditor.** The Reviewer / validator MUST run on a **different model** than the
|
|
34
34
|
Implementer. An independent auditor catches what the author rationalized away.
|
|
35
|
-
- **Reserve deep-reasoning for propose &
|
|
36
|
-
cost on architecture (`/akili-propose`)
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
|
|
35
|
+
- **Reserve deep-reasoning for propose, specify, verify & orchestrate.** The most expensive reasoning
|
|
36
|
+
models earn their cost on architecture (`/akili-propose`), the spec artifacts including **task
|
|
37
|
+
decomposition** (`/akili-specify` → requirements / design / `tasks.md`), final audit
|
|
38
|
+
(`/akili-validate`, Reviewer), and **live orchestration** (the `/akili-execute` / `/akili-test`
|
|
39
|
+
Leader — skill selection, FAIL adjudication, pivot) — not on bookkeeping. The Leader and the task
|
|
40
|
+
decomposer qualify because they *decide* (how to break the work down, who does what), even though
|
|
41
|
+
they write no production code; both are low-volume, so the deep model there is cheap insurance.
|
|
42
|
+
- **Fast & cheap for formatting & archive.** Summarizing closed work (`/akili-archive`) and pure
|
|
43
|
+
setup/formatting steps are format-following jobs — speed and cost dominate; raw intelligence adds
|
|
44
|
+
little. **Note:** partitioning a spec into `tasks.md` is *not* one of these — it is decomposition
|
|
45
|
+
judgment (T1), not formatting.
|
|
40
46
|
|
|
41
47
|
## Capability tiers
|
|
42
48
|
|
|
@@ -45,7 +51,7 @@ tier per phase (which would defeat the abstraction and churn on every model rele
|
|
|
45
51
|
|
|
46
52
|
| Tier | Definition |
|
|
47
53
|
|---|---|
|
|
48
|
-
| **T1 Architect** | Deep reasoning for architecture, trade-offs, and intent — "think hard before code." |
|
|
54
|
+
| **T1 Architect** | Deep reasoning for architecture, trade-offs, and intent — "think hard before code." Also covers **live orchestration judgment**: task decomposition in flight, runtime skill selection for each worker, Reviewer-FAIL adjudication, result synthesis, and escalation/pivot calls. |
|
|
49
55
|
| **T2 Coder** | Maximum coding throughput and instruction-following for writing and editing code and tests. |
|
|
50
56
|
| **T3 Auditor** | Independent critical review — conformance, bug-finding, drift; must differ from the author model. |
|
|
51
57
|
| **T4 Context-Ingest** | Large-context absorption of legacy codebases and baseline docs — window size over depth. |
|
|
@@ -56,8 +62,14 @@ tier per phase (which would defeat the abstraction and churn on every model rele
|
|
|
56
62
|
|
|
57
63
|
The `/akili-execute` triad is split because each role has a different demand — and because
|
|
58
64
|
author ≠ auditor makes the Implementer/Reviewer split a **correctness constraint**, not a
|
|
59
|
-
preference.
|
|
60
|
-
|
|
65
|
+
preference. The **Leader runs on the deep-reasoning tier (T1), not a cheap one**: it writes no code,
|
|
66
|
+
but it makes the highest-leverage calls in the run — how to decompose, **which skill each Implementer
|
|
67
|
+
loads**, whether a Reviewer FAIL means rework or escalation, and when to pivot. Those are low-volume,
|
|
68
|
+
high-leverage decisions (the master builder directing the site, choosing each worker's tool), so a
|
|
69
|
+
frontier model there is cheap insurance, not waste — a weak orchestrator with strong workers
|
|
70
|
+
poisons the whole run. `/akili-test` is split the same way: a T1 Leader orchestrates and selects
|
|
71
|
+
each Tester's skills while T2 Testers author the suites, and a Tester ideally runs on a different
|
|
72
|
+
model than the Implementer (author ≠ tester).
|
|
61
73
|
|
|
62
74
|
| Phase / Role | Tier(s) | Why |
|
|
63
75
|
|---|---|---|
|
|
@@ -65,12 +77,12 @@ the suites, and a Tester ideally runs on a different model than the Implementer
|
|
|
65
77
|
| `/akili-propose` | T1 | Architecture and trade-offs — reserve the deep reasoner. |
|
|
66
78
|
| `/akili-quick` | T2 | A small, direct edit + light verification — no deep reasoning needed. |
|
|
67
79
|
| `/akili-specify` → requirements.md / design.md | T1 | Heavy reasoning + technical writing. |
|
|
68
|
-
| `/akili-specify` → tasks.md |
|
|
80
|
+
| `/akili-specify` → tasks.md | T1 | **Task decomposition is where the design becomes executable** — bad boundaries, missing dependencies, or a vague scope poison every downstream Implementer (the master builder's blueprint: if the plan is wrong, no worker saves it). Reasoning, not formatting. |
|
|
69
81
|
| `/akili-specify` → UX/UI design | T6 | Only when visual design is in scope. |
|
|
70
|
-
| `/akili-execute` → **Leader** |
|
|
82
|
+
| `/akili-execute` → **Leader** | T1 | Orchestration judgment — decomposition in flight, **runtime skill selection for each Implementer**, FAIL adjudication, synthesis, pivot. Writes no code, but this is reasoning, not dispatch. |
|
|
71
83
|
| `/akili-execute` → **Implementer** | T2 | Maximum coding. Shares the workhorse family with propose (ARCHITECT = BUILDER). |
|
|
72
84
|
| `/akili-execute` → **Reviewer** | T3 | Independent audit. **MUST resolve to a different model than the Implementer.** |
|
|
73
|
-
| `/akili-test` → **Leader** |
|
|
85
|
+
| `/akili-test` → **Leader** | T1 | Orchestration judgment — partitions suites, **selects each Tester's skills**, adjudicates results; writes no tests. |
|
|
74
86
|
| `/akili-test` → **Tester(s)** | T2 | Test authoring + verification per suite. Prefer a different model than the Implementer (author ≠ tester). |
|
|
75
87
|
| `/akili-validate` | T3 | Deep conformance audit. |
|
|
76
88
|
| `/akili-audit` | T4 + T3 | Drift detection over large context, judged critically. |
|
|
@@ -95,45 +107,141 @@ below.
|
|
|
95
107
|
|
|
96
108
|
| Tier | Claude Code | OpenCode Go | Fallback |
|
|
97
109
|
|---|---|---|---|
|
|
98
|
-
| **T1 Architect** | `opus` *(alias — always latest)* | `opencode-go/kimi-k2.6`
|
|
99
|
-
| **T2 Coder** | `sonnet` | `opencode-go/glm-5.
|
|
110
|
+
| **T1 Architect** | `opus` *(alias — always latest)* | `opencode-go/kimi-k3` | `opencode-go/kimi-k2.6` / `opencode-go/deepseek-v4-pro` / `sonnet` |
|
|
111
|
+
| **T2 Coder** | `sonnet` | `opencode-go/glm-5.2` | `haiku` / `opencode-go/deepseek-v4-flash` |
|
|
100
112
|
| **T3 Auditor** | `opus` *(must differ from T2)* | `opencode-go/deepseek-v4-pro` | `sonnet` / `opencode-go/kimi-k2.6` |
|
|
101
113
|
| **T4 Context-Ingest** | `sonnet` (long context) | `opencode-go/deepseek-v4-flash` | `opus` / `opencode-go/deepseek-v4-pro` |
|
|
102
114
|
| **T5 Fast-Cheap** | `haiku` | `opencode-go/deepseek-v4-flash` | `sonnet` / `opencode-go/mimo-v2.5` |
|
|
103
|
-
| **T6 Multimodal** | `sonnet` (vision) | `opencode-go/qwen3.7-max` *(weak — prefer Claude
|
|
115
|
+
| **T6 Multimodal** | `sonnet` (vision) | `opencode-go/qwen3.7-max` *(weak — prefer external Gemini 3.1 Pro / Claude Sonnet vision)* | `opus` |
|
|
104
116
|
|
|
105
117
|
### Why these models
|
|
106
118
|
|
|
107
119
|
**Claude Code.** The top-family alias (`opus`) carries the tightest plan rate limits, so it is
|
|
108
|
-
**reserved for T1 (propose, specify reasoning
|
|
109
|
-
most reward deep reasoning.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
120
|
+
**reserved for T1 (propose, specify reasoning, and the `/akili-execute` / `/akili-test` Leader) and
|
|
121
|
+
T3 (validate, review)** — the phases that most reward deep reasoning. The Leader sits here despite
|
|
122
|
+
writing no code: it *delegates*, so its opus token volume is small, but its calls (skill selection,
|
|
123
|
+
FAIL adjudication, pivot) gate the whole run — low volume, high leverage. **`sonnet` is the
|
|
124
|
+
workhorse** for coding (T2), large-context ingestion (T4), and vision (T6). **`haiku`** handles
|
|
125
|
+
fast/cheap formatting and summarization (T5) — `/akili-archive` and pure setup steps, **not** the
|
|
126
|
+
live orchestrator and **not** task decomposition. This concentrates the scarce top-tier budget on
|
|
127
|
+
architecture, task decomposition, orchestration judgment, and audit — the low-volume, high-leverage
|
|
128
|
+
decisions — while the high-volume execution (Implementers, Testers) stays on the `sonnet` workhorse. Because these are aliases, the mapping survives model generations
|
|
113
129
|
unchanged (e.g. when the top family moves from one generation to the next, `opus` follows it).
|
|
114
|
-
Users on plans that expose
|
|
115
|
-
|
|
130
|
+
Users on plans that expose a frontier model above Opus (Fable 5 / Mythos 5) can pin it for T1/T3 —
|
|
131
|
+
see **Frontier escalation tier** below.
|
|
116
132
|
|
|
117
133
|
**OpenCode Go.** The two strongest open models anchor the two highest-leverage tiers:
|
|
118
134
|
|
|
119
|
-
- **GLM-5.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
- **DeepSeek V4
|
|
130
|
-
|
|
131
|
-
-
|
|
132
|
-
|
|
135
|
+
- **GLM-5.2 → T2 Coder.** A-tier open coder (753B, GPQA 91.2), successor to GLM-5.1, purpose-built
|
|
136
|
+
for long autonomous coding runs — the recommended **default OpenCode workhorse**. (This row was
|
|
137
|
+
bumped 5.1 → 5.2 as a worked example of the *Replacing a model* runbook below.)
|
|
138
|
+
- **Kimi K3 → T1 Architect.** S-tier open coder and the current-generation successor to K2.6 (which
|
|
139
|
+
drops to the T1 fallback), continuing the Kimi line's Agent Swarm lineage built for multi-step
|
|
140
|
+
decomposition — ideal for architectural trade-off reasoning and `/akili-explore`-style impact
|
|
141
|
+
analysis. It is the **slowest of the pack (~33 tok/s)**, which is fine for T1 (Leader/architect =
|
|
142
|
+
low-volume, latency-tolerant) but is exactly why it must **never** sit in the T2 fan-out. Concrete
|
|
143
|
+
slug, no alias: confirm it against your own OpenCode roster and follow the runbook when a newer
|
|
144
|
+
Kimi ships.
|
|
145
|
+
- **DeepSeek V4 Pro → T3 Auditor.** A-tier (SWE-bench 80.6, Terminal-Bench 67.9), 1M context, and
|
|
146
|
+
crucially a *different* model than the GLM-5.2 coder — satisfying author ≠ auditor for
|
|
147
|
+
`/akili-validate` and the Reviewer.
|
|
148
|
+
- **DeepSeek V4 Flash → T4 / T5 (and the T2 fallback).** 1M context, A-tier yet cheapest of the set
|
|
149
|
+
($0.14 / $0.28 per 1M, SWE-bench 79.0), highest rate limit — right for bulk ingestion,
|
|
150
|
+
high-frequency formatting, and as a strong cheap coder fallback.
|
|
151
|
+
- **Qwen3.7 Max → T6.** Best-effort only (Alibaba's flagship, the most likely open multimodal
|
|
152
|
+
option — Intelligence ~46, but pricey at ~$1.03/task). Open multimodal is weak; for real UI/UX
|
|
153
|
+
design work prefer an external **Gemini 3.1 Pro** (A-tier vision) or **Claude Sonnet** (vision).
|
|
133
154
|
|
|
134
155
|
All OpenCode Go slugs are taken from the [OpenCode Go model list](https://opencode.ai/docs/go).
|
|
135
156
|
Confirm them against your own OpenCode configuration and adjust if your roster differs.
|
|
136
157
|
|
|
158
|
+
### Frontier escalation tier (opt-in — pin, not alias)
|
|
159
|
+
|
|
160
|
+
A frontier model *above* Opus — Claude **Fable 5** (`claude-fable-5`), or **Mythos 5**
|
|
161
|
+
(`claude-mythos-5`) on Project Glasswing — can be pinned for the highest-leverage slots as an
|
|
162
|
+
**opt-in ceiling for genuinely hard specs**. It is **never a default** and **never in T2** (the
|
|
163
|
+
high-volume fan-out): at ~2× Opus pricing (**$10 / $50** per 1M in/out vs `opus` at $5 / $25), it
|
|
164
|
+
only earns its cost where token volume is low and the decision gates the whole run — T1 (Architect +
|
|
165
|
+
the execute/test Leader) and T3 (Auditor).
|
|
166
|
+
|
|
167
|
+
| Slot | Default (alias) | Frontier escalation pin | Fallback |
|
|
168
|
+
|---|---|---|---|
|
|
169
|
+
| **T1 Architect / Leader** | `opus` | `claude-fable-5` *(pin — record the reason)* | `opus` |
|
|
170
|
+
| **T3 Auditor** | `opus` *(≠ T2)* | `claude-fable-5`, or a different-lab slug | `opus` / `sonnet` |
|
|
171
|
+
|
|
172
|
+
Two things follow from Fable having **no floating alias**:
|
|
173
|
+
|
|
174
|
+
- **It is a dated pin — record the reason** (per the alias-first rule), and it re-inherits the
|
|
175
|
+
concrete-slug maintenance the aliases spare you. `/akili-audit`'s drift check watches it; the
|
|
176
|
+
*Replacing a model* runbook below is how you swap it when a newer frontier model ships.
|
|
177
|
+
- **Always give it a Fallback to `opus`**, because Fable carries operational constraints Opus does
|
|
178
|
+
not: a **refusal classifier** on bio/cyber that can false-positive on legitimate security-adjacent
|
|
179
|
+
specs (a Fable Implementer/Reviewer may decline valid work); **no zero-data-retention** (requires
|
|
180
|
+
30-day retention — unavailable to ZDR projects); **minutes-long turns** (budget HITL gates and
|
|
181
|
+
progress narration accordingly); and **less prescriptive prompting** (over-prescribed `.agents/*`
|
|
182
|
+
personas can *reduce* Fable output quality — loosen them when routing a role to Fable).
|
|
183
|
+
|
|
184
|
+
**Cross-family author ≠ auditor.** Fable pairs well with a *different-lab* auditor — pin the
|
|
185
|
+
Implementer/Leader on `claude-fable-5` and the Reviewer on a Kimi/DeepSeek OpenCode slug (or
|
|
186
|
+
vice-versa). Different training lineages mean different blind spots, making the independent review
|
|
187
|
+
genuinely stronger than same-family-different-size.
|
|
188
|
+
|
|
189
|
+
## Effort dial (second dimension — tune within a tier)
|
|
190
|
+
|
|
191
|
+
The registry picks the **tier** (which model). **Effort** is the orthogonal dial for *how hard that
|
|
192
|
+
model thinks on a given task*. The tier is per-phase/role and stable; effort is **per-task and
|
|
193
|
+
dynamic** — the same T2 `sonnet` should run a trivial rename at `low` and a concurrency fix at
|
|
194
|
+
`xhigh`. Whoever spawns the worker sets it: in `/akili-execute` and `/akili-test` that is the
|
|
195
|
+
**Leader**, alongside its skill selection (same master-builder judgment — which tier, which skill,
|
|
196
|
+
how hard it thinks).
|
|
197
|
+
|
|
198
|
+
**Why it matters — the intelligence↔cost curve is steeply diminishing at the top.** Measured on a
|
|
199
|
+
representative model (GPT-5.6 Sol, Artificial Analysis Intelligence Index):
|
|
200
|
+
|
|
201
|
+
| Effort | Intelligence | Cost/task | vs. `max` |
|
|
202
|
+
|---|---|---|---|
|
|
203
|
+
| `max` | 59 | $1.04 | — |
|
|
204
|
+
| `xhigh` | 58 | $0.68 | −1 pt, −35% cost |
|
|
205
|
+
| `high` | 56 | $0.45 | −3 pts, −57% cost |
|
|
206
|
+
| `medium` | 54 | $0.31 | **−5 pts (−8%), −70% cost** |
|
|
207
|
+
|
|
208
|
+
`medium`/`high` captures ~90–95% of the intelligence at ~30–45% of the cost; running everything at
|
|
209
|
+
`max`/`xhigh` pays a large premium for a few points. Reserve `xhigh`/`max` for genuinely hard work.
|
|
210
|
+
|
|
211
|
+
**Effort policy — by task signal:**
|
|
212
|
+
|
|
213
|
+
| Signal | Effort |
|
|
214
|
+
|---|---|
|
|
215
|
+
| Trivial / mechanical (copy, rename, style) | `low` |
|
|
216
|
+
| Standard task, clear scope | `medium` |
|
|
217
|
+
| Complex (algorithm, concurrency, security, ambiguity) | `xhigh` |
|
|
218
|
+
| Correctness-critical (can't be wrong, hard to revert) | `max` |
|
|
219
|
+
|
|
220
|
+
**Default effort by role** (starting point before flexing):
|
|
221
|
+
|
|
222
|
+
| Role / Phase | Default effort |
|
|
223
|
+
|---|---|
|
|
224
|
+
| T1 `/akili-propose` / `/akili-specify` (incl. `tasks.md` decomposition) / **Leader** | `high` (`xhigh` if architecturally significant) |
|
|
225
|
+
| T2 **Implementer / Tester** | `medium` — flex by task |
|
|
226
|
+
| T3 **Reviewer** / `/akili-validate` | `high` (auditor thoroughness) |
|
|
227
|
+
| T5 `/akili-archive` / setup steps | `low` |
|
|
228
|
+
|
|
229
|
+
**Escalate effort on rework.** In the `/akili-execute` rework loop, a Reviewer `FAIL` bumps effort
|
|
230
|
+
one level on the retry (attempt 1 `medium` → attempt 2 `high` → attempt 3 `xhigh`) — cheap (only
|
|
231
|
+
when it already failed) and it targets the usual cause (under-thinking, not missing instructions).
|
|
232
|
+
|
|
233
|
+
**Tier ↔ effort interaction — don't `max` a cheaper tier.** Maxing a lower tier erodes its cost
|
|
234
|
+
advantage: Sonnet 5 at `max` (53 intel / $1.53) approaches Opus 4.8 at `max` (56 intel / $1.80) —
|
|
235
|
+
near-Opus price for below-Opus intelligence. If you find yourself wanting a cheaper tier at `max`,
|
|
236
|
+
escalate the **tier** (to `opus` at `high`/`medium`) instead of the effort.
|
|
237
|
+
|
|
238
|
+
**Sonnet specifics.** Sonnet respects effort strictly, especially at the low end — at `low`/`medium`
|
|
239
|
+
it scopes work to exactly what was asked. If you see shallow reasoning on a hard problem, **raise
|
|
240
|
+
the effort, don't prompt around it**. `high` is the default sweet spot; give `max_tokens` headroom
|
|
241
|
+
at `xhigh`/`max` (thinking consumes the budget — too tight truncates with `stop_reason: max_tokens`).
|
|
242
|
+
On Opus/frontier the nuance inverts slightly: start at `high` and iterate — more effort up front
|
|
243
|
+
often *reduces* total turns and cost on agentic work.
|
|
244
|
+
|
|
137
245
|
## Enforced routing (tool-native agent bindings)
|
|
138
246
|
|
|
139
247
|
The `/akili-execute` and `/akili-test` fan-out (Implementer, Reviewer, Testers) is where most
|
|
@@ -145,7 +253,7 @@ there:
|
|
|
145
253
|
| Tool | Native agent location | Model value |
|
|
146
254
|
|---|---|---|
|
|
147
255
|
| Claude Code | `.claude/agents/akili-{leader,implementer,reviewer,tester}.md` (project-level) | Alias from the registry (`model: sonnet`, `model: opus`, `model: haiku`) |
|
|
148
|
-
| OpenCode | Project agent config (`.opencode/agent/*.md` or the `agent` block of `opencode.json`, per your OpenCode version) | Provider slug from the registry (`model: opencode-go/glm-5.
|
|
256
|
+
| OpenCode | Project agent config (`.opencode/agent/*.md` or the `agent` block of `opencode.json`, per your OpenCode version) | Provider slug from the registry (`model: opencode-go/glm-5.2`) |
|
|
149
257
|
| Antigravity | Not supported — `invoke_subagent` has no per-agent model binding | Guidance-only fallback |
|
|
150
258
|
|
|
151
259
|
Each wrapper is thin: frontmatter (`name`, `description`, `model`) plus a body that instructs the
|
|
@@ -179,16 +287,51 @@ Models change constantly; the design absorbs that at three layers:
|
|
|
179
287
|
packaged default without overwriting user pins. Each AKILI release refreshes this document's
|
|
180
288
|
default registry.
|
|
181
289
|
|
|
290
|
+
## Replacing a model (developer runbook)
|
|
291
|
+
|
|
292
|
+
You started the project on 2026's models; it is now 2027 and better ones exist. What you do depends
|
|
293
|
+
on **what kind of entry** you put in the registry. Tiers never change — you only ever touch the
|
|
294
|
+
model column.
|
|
295
|
+
|
|
296
|
+
| Your registry entry | What to do when a newer model ships |
|
|
297
|
+
|---|---|
|
|
298
|
+
| **Floating alias** (`opus` / `sonnet` / `haiku`, Claude Code) | **Nothing.** The alias auto-resolves to the latest generation of that family — this is exactly what alias-first buys you. Zero edits. |
|
|
299
|
+
| **Concrete slug** (OpenCode `opencode-go/...`, a dated Claude pin, or `claude-fable-5`) | **Edit it** — no alias mechanism absorbs the change. Follow the 3 steps below. |
|
|
300
|
+
| **You want to re-map a tier** (promote a new model into T1/T2/T3, e.g. Kimi K3 → T1) | Edit the tier's row, then reconcile wrappers — same 3 steps. Treat it as a *promotion to evaluate*, not an auto-swap (does it fit the tier? does it keep author ≠ auditor?). |
|
|
301
|
+
|
|
302
|
+
**The 3 steps (concrete-slug or re-map case):**
|
|
303
|
+
|
|
304
|
+
1. **Edit ONE table** — the `## Model Routing` block in your **project's** root `AGENTS.md` /
|
|
305
|
+
`CLAUDE.md` (not this packaged default; see below). Change the slug(s), bump the
|
|
306
|
+
`Updated: <YYYY-MM>` stamp, and record a one-line reason next to any dated pin.
|
|
307
|
+
2. **Reconcile the Step 8E wrappers** — `.claude/agents/akili-*.md` and `.opencode/agent/*.md`
|
|
308
|
+
hard-code `model:` per role, so their value must match the new registry. Alias-based Claude
|
|
309
|
+
wrappers (`model: opus`) usually need no change; concrete OpenCode slugs do.
|
|
310
|
+
3. **Run `/akili-audit`** — its **Model Registry Drift** check confirms the registry and wrappers
|
|
311
|
+
agree and flags any slug the tool no longer offers.
|
|
312
|
+
|
|
313
|
+
**Which file do I edit — the package default or the project copy?**
|
|
314
|
+
|
|
315
|
+
- `docs/model-routing.md` (this file) is the **default new projects inherit**. Editing it does *not*
|
|
316
|
+
change projects already scaffolded.
|
|
317
|
+
- The `## Model Routing` block inside each project's root `AGENTS.md` / `CLAUDE.md` is **what
|
|
318
|
+
actually governs that project** — that is where a downstream developer edits. When you upgrade the
|
|
319
|
+
AKILI package and its default registry moves ahead of your project copy, `/akili-constitution` in
|
|
320
|
+
**Safe Update mode** flags the difference without overwriting your pins; you decide what to adopt.
|
|
321
|
+
|
|
182
322
|
## How to apply per tool
|
|
183
323
|
|
|
184
324
|
- **Claude Code:** switch with `/model` before running a phase — e.g. `/model opus` for
|
|
185
|
-
`/akili-propose
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
325
|
+
`/akili-propose`, `/akili-validate`, and the `/akili-execute` / `/akili-test` **Leader session**
|
|
326
|
+
(you orchestrate on the deep reasoner; the triad's Implementer/Tester subagents route to `sonnet`
|
|
327
|
+
via their Step 8E wrappers), plus the full `/akili-specify` run (including `tasks.md` decomposition);
|
|
328
|
+
`/model haiku` only for `/akili-archive` and pure setup/formatting steps — or simply respond to each
|
|
329
|
+
command's model checkpoint. With Step 8E bindings in place, the execute/test triad
|
|
330
|
+
routes itself (Implementer on `sonnet`, Reviewer on `opus`, Leader = your session).
|
|
189
331
|
- **OpenCode:** select the `opencode-go/...` model for each phase per the registry, or use the
|
|
190
|
-
Step 8E agent bindings.
|
|
191
|
-
|
|
332
|
+
Step 8E agent bindings. Run the **Leader session on the T1 slug** (`opencode-go/kimi-k3`), and
|
|
333
|
+
keep the Reviewer/validator on a different model (`deepseek-v4-pro`) than the Implementer
|
|
334
|
+
(`glm-5.2`).
|
|
192
335
|
|
|
193
336
|
## Cross-tool safety
|
|
194
337
|
|
package/package.json
CHANGED