omnilane 0.34.0 → 0.41.1

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.
@@ -7,7 +7,7 @@ description: 'Universal model-routing table + cross-vendor dispatch for ANY harn
7
7
 
8
8
  You (the main loop) may be Claude, GPT, Grok, or Gemini. The procedure is identical:
9
9
 
10
- 1. **Identify your main model.** You know which model you are running as.
10
+ 1. **Identify the main model from current runtime metadata.** If the identity is unavailable, report it as unverified instead of guessing from a skill name or prior session.
11
11
  2. **Split the work into subtasks and classify each into a lane** (table below).
12
12
  3. **Dispatch every task by default — even when the lane's model is you:**
13
13
  implementation, search, investigation, file reads, verification, tests,
@@ -68,26 +68,31 @@ what dispatch picks when the first-choice vendor CLI is not installed.
68
68
 
69
69
  | Lane | First choice | Backup | When |
70
70
  |---|---|---|---|
71
- | hardest-coding | Claude Fable 5.1 (xhigh) | GPT-5.6 Sol (xhigh) → Grok 4.6 → Gemini 3.7 Flash (High) | Hardest implementation, deep root-cause debug, correctness-critical edits |
72
- | bulk-mechanical | GPT-5.6 Sol (high) | Gemini 3.7 Flash (High) → Claude Sonnet 5 (high) | Refactors, migrations, tests, review sweeps — mechanical endurance |
73
- | triage | GPT-5.6 Luna (high) | Gemini 3.7 Flash (Low) → Claude Haiku 4.5 | High-volume scans, first-pass filtering |
74
- | hard-judgment | Claude Opus 5 (xhigh) | GPT-5.6 Sol (max) → Grok 4.6 | Architecture arbitration, deep reasoning, second opinions |
75
- | taste-final | Claude Fable 5.1 (high) | GPT-5.6 Sol (max) → Grok 4.6 → Gemini 3.7 Flash (High) | User-facing prose, prompt/doc polish, Chinese phrasing, style arbitration |
76
- | consult | GPT-5.6 Sol (max) | Claude Fable 5.1 (high) → Grok 4.6 → Gemini 3.7 Flash (High) | Direct named-model consultation; always keep `--vendor` |
77
- | ui-draft | GPT-5.6 Sol (xhigh) | Claude Fable 5.1 (high) → Gemini 3.7 Flash (High) | UI drafts only WITH a design system / reference images; open-ended visual taste goes to taste-final |
78
- | long-context | Gemini 3.7 Flash (Medium) | GPT-5.6 Terra (max) → Claude Opus 5 (medium) | Long-context synthesis ordered on AA-LCR, then cost and throughput |
79
- | fast-agentic | Gemini 3.7 Flash (Medium) | GPT-5.6 Luna (high) → Claude Haiku 4.5 | Fast multi-step agentic loops, multimodal checks |
80
- | live-search | Grok 4.6 | Gemini 3.7 Flash (High) → Claude Sonnet 5 (high) → off | Realtime X/web search and social context; Flash/Sonnet fall back to their own web-search tools |
81
- | coding-overflow | Grok 4.6 | Gemini 3.7 Flash (High) → Kimi K3 → Qwen3 Coder Plus → OpenCode | Codex-quota relief valve for mid-tier coding; verify factual claims |
71
+ | hardest-coding | Claude Fable 5.1 (max) | GPT-6 Astra (xhigh) → Grok 4.6 → Gemini 3.8 Flash (High) | Hardest implementation, deep root-cause debug, correctness-critical edits |
72
+ | bulk-mechanical | GPT-5.6 Sol (high) | Gemini 3.8 Flash (High) → Claude Sonnet 5 (high) | Refactors, migrations, tests, review sweeps — mechanical endurance |
73
+ | triage | GPT-5.6 Luna (high) | Gemini 3.8 Flash (Low) → Claude Haiku 4.5 | High-volume scans, first-pass filtering |
74
+ | hard-judgment | Claude Fable 5.1 (xhigh) | GPT-6 Astra (xhigh) → Grok 4.6 | Architecture arbitration, deep reasoning, second opinions |
75
+ | taste-final | Claude Fable 5.1 (xhigh) | GPT-6 Astra (xhigh) → Grok 4.6 → Gemini 3.8 Flash (High) | User-facing prose, prompt/doc polish, Chinese phrasing, style arbitration |
76
+ | consult | GPT-6 Astra (xhigh) | Claude Fable 5.1 (xhigh) → Grok 4.6 → Gemini 3.8 Flash (Medium) | Direct named-model consultation; always keep `--vendor` |
77
+ | ui-draft | GPT-5.6 Sol (high) | Claude Fable 5.1 (xhigh) → Gemini 3.8 Flash (High) | UI drafts only WITH design system / reference images; open-ended taste goes taste-final |
78
+ | long-context | Gemini 3.8 Flash (Medium) | GPT-5.6 Terra (max) → Claude Opus 5 (medium) | Long-context synthesis; context size alone is not a quality result |
79
+ | fast-agentic | Gemini 3.8 Flash (Low) | GPT-5.6 Luna (high) → Claude Haiku 4.5 | Fast multi-step agentic loops and multimodal checks |
80
+ | live-search | Grok 4.6 | Gemini 3.8 Flash (High) → Claude Sonnet 5 (high) → off | Realtime X/web search; non-Grok fallbacks provide generic web search, not equivalent X context |
81
+ | coding-overflow | Grok 4.6 | Gemini 3.8 Flash (High) → Kimi K3 → Qwen3 Coder Plus → OpenCode → off | Explicit Codex-quota relief; no automatic cross-vendor retry after provider failure |
82
82
  | arbitrate | off (opt-in vote panel) | — | Disabled by default. Enable with `arbitrate: vote codex,claude,grok -` in routing.local.yaml or via the configurator (any 1-4 voters). One quota hit PER VOTER PER ROUND; you chair: read the opinions and own the decision. Effort field 2 = debate round (voters rebut each other) |
83
83
 
84
- Claude Fable 5.1 (`claude-fable-5-1`) is in the taste and hardest-coding
85
- defaults because it leads Opus 5 on every Artificial Analysis axis at the same
86
- effort. It is not in bulk or triage because it prices at twice Opus 5 per token
87
- and consumes the most subscription quota per turn. Opus 5 now leads
88
- hard-judgment on a per-cost, lower-hallucination basis and remains selectable
89
- everywhere via `~/.omnilane/routing.local.yaml`, for example, to bring Fable
90
- back: `hard-judgment: claude claude-fable-5-1 xhigh`.
84
+ Claude Fable 5.1 leads the current hardest-coding, hard-judgment, and
85
+ taste-final defaults at task-specific max/xhigh efforts. GPT-6 Astra is the
86
+ Codex-family fallback and independent-review path. Fable max is the quality-first prompt-level controller. Opus high/xhigh is
87
+ the balanced controller/independent-review option; Astra is the existing-
88
+ Codex-quota backup/reviewer. These are role recommendations, not a lane or
89
+ automatic selector. Opus remains explicitly selectable and in long-context
90
+ fallback.
91
+
92
+ Astra defaults to `xhigh` on the high-difficulty lanes. For an explicitly needed
93
+ upgrade, use `--vendor codex --effort max`; no automatic risk classification or
94
+ failure-triggered effort escalation is added. AA API task costs do not prove
95
+ subscription-quota savings.
91
96
 
92
97
  ## Natural-language consultation
93
98
 
@@ -107,15 +112,19 @@ Users may speak normally; they do not need lane names.
107
112
  | Alias | Vendor | Model | Effort |
108
113
  |---|---|---|---|
109
114
  | Opus | claude | claude-opus-5 | high |
110
- | Fable 5.1 | claude | claude-fable-5-1 | high |
115
+ | Fable 5.1 | claude | claude-fable-5-1 | xhigh |
111
116
  | Sonnet | claude | claude-sonnet-5 | high |
112
117
  | Haiku | claude | claude-haiku-4-5 | - |
113
- | Sol | codex | gpt-5.6-sol | max |
118
+ | Sol | codex | gpt-5.6-sol | high |
114
119
  | Terra | codex | gpt-5.6-terra | max |
115
120
  | Luna | codex | gpt-5.6-luna | high |
121
+ | Astra | codex | gpt-6-astra | xhigh |
116
122
  | Grok 4.6 | grok | grok-4.6 | - |
117
123
  | Gemini 3.1 Pro | gemini | Gemini 3.1 Pro (High) | - |
118
- | Gemini 3.7 Flash | gemini | Gemini 3.7 Flash (High) | - |
124
+ | Gemini 3.8 Flash High | gemini | gemini-3.8-flash-high | - |
125
+ | Gemini 3.8 Flash Medium | gemini | gemini-3.8-flash-medium | - |
126
+ | Gemini 3.8 Flash Low | gemini | gemini-3.8-flash-low | - |
127
+ | Gemini 3.7 Flash | gemini | gemini-3.7-flash-high | - |
119
128
  | Kimi | kimi | kimi-k3 | - |
120
129
  | Qwen | qwen | qwen3-coder-plus | - |
121
130
  | OpenCode | opencode | provider/model form, or `-` for its own default | - |
@@ -156,10 +165,12 @@ dispatch stay in this skill and the CLI. Manage the local board with
156
165
  finished `--background` job is delivered into the foreman's next prompt by
157
166
  the bundled `UserPromptSubmit` hook, so do not poll for it. Outside Claude
158
167
  Code, block on `scripts/jobs.sh wait <id> [--timeout N]` instead.
159
- - **Live mailbox**: a `--background` dispatch to Claude or Gemini is a
160
- resident worker. Send follow-up instructions with `scripts/jobs.sh send <id>
161
- "<text>"` and end it with `scripts/jobs.sh close <id>`; other vendors (and
162
- `--single-shot`) run one-shot. Do not use a mailbox for fire-and-forget work.
168
+ - **Live mailbox**: Claude and Gemini retain automatic resident background
169
+ sessions for supported modes. Codex and Grok remain single-shot by default;
170
+ explicit `--live` opts in. Grok live requires explicit `--mode sysops` because
171
+ ACP has no enforceable restricted-mode boundary. Send follow-up instructions
172
+ with `scripts/jobs.sh send <id> "<text>"` and finish with
173
+ `scripts/jobs.sh close <id>`. `--single-shot` forces one-shot execution.
163
174
  - **Goal orchestration**: when the next step depends on the previous result,
164
175
  wrap the dispatches in `omnilane goal open "<objective>" --workdir DIR`, then
165
176
  `goal dispatch <goal-id> ...`, `goal note`, `goal status`, `goal close --summary`.
@@ -172,13 +183,43 @@ dispatch stay in this skill and the CLI. Manage the local board with
172
183
 
173
184
  - **Dispatch in `advise` mode by default** (read-only worker). Use `--mode work`
174
185
  only when the worker must edit files, and give it an explicit `--workdir`.
175
- - **`--mode sysops`** is `work` minus the vendor sandbox, for service
176
- operations the sandbox denies (launchctl, system daemons). Codex runs with
177
- `-s danger-full-access`; other vendors treat it as `work`. Explicit
178
- per-dispatch opt-in only — never a lane default, and the task text must
179
- name the exact service commands the worker is authorized to run.
180
- Codex `work`/`sysops` still needs a git-repo `--workdir` (non-git
181
- directories trip the whole-job fuse).
186
+ - **Mode contract**: `advise` is read-only with supported native web tools;
187
+ `work` confines file/command changes to explicit `--workdir` and disables
188
+ agent-tool networking, not the model connection. Codex and Claude have
189
+ distinct policies for these modes. Agy 1.1.27 work has bounded new/resume
190
+ acceptance with native sandboxed commands and four validated tools; external
191
+ temp/cache reads are also restricted. A separate two-turn work live/FIFO
192
+ check passed readback, outside-write denial and normal close. macOS Grok work remains blocked because native child-network
193
+ isolation is Linux-only. Do not turn gaps into sysops implicitly or claim
194
+ every provider/mode/session path has passed the runtime matrix.
195
+ - **Agy work tools** are `view_file`, `write_to_file`, `run_command`, and `finish`.
196
+ The native `commandExecutionPolicy: sandbox`, `--sandbox`, and
197
+ `proceed-in-sandbox` policy permits tested workspace edits/builds and denies
198
+ tested outside writes, shell networking and explicit unsandboxed execution.
199
+ Settings are rewritten explicitly before each start/resume: native omission
200
+ of false/empty fields has not been proven default-equivalent. Workspace-local
201
+ caches and the verified empty owned policy directory remain; external cached
202
+ dependencies may be inaccessible, and the tested successful C build still
203
+ emitted an xcrun default-cache denial warning. See the dated capability notes
204
+ for the exact evidence boundary; complete effective SBPL was not captured.
205
+ - **`--mode sysops`** explicitly selects unrestricted native policies for
206
+ Codex, Claude, Grok, and Agy; it is not an alias for work. It is a per-dispatch
207
+ opt-in, never a lane default, and task text must name the allowed operations.
208
+ Codex `work`/`sysops` supports non-Git directories through
209
+ `--skip-git-repo-check`. Without an existing whole-job timeout, dispatch
210
+ adds one when its supervisor is available; otherwise it warns and retains
211
+ the per-call watchdog path.
212
+ The CLI defaults an omitted `--workdir` to the caller’s current directory;
213
+ task briefs must still specify it explicitly. The MCP work interface
214
+ separately requires an explicit `workdir`.
215
+ - **Grok advise web tools** use internal `web_search` / `web_fetch` selectors,
216
+ while permission rules keep their native `WebSearch` / `WebFetch` class names.
217
+ The complete single-shot `plain` path has real search, fetched-page, and native
218
+ denied-write evidence on Grok 1.0.13. MCP readiness is job-local because this
219
+ mode denies MCPTool; hooks and their security checks remain enabled. A caller
220
+ supplied nonempty `CONTEXT_MODE_MCP_SENTINEL_DIR` is a conflict and stops before provider
221
+ startup rather than being overwritten. Do not extend this result to restricted
222
+ live or macOS work.
182
223
  - **Every dispatched task states acceptance criteria and the exact verification
183
224
  command.** Do not accept "done" without evidence.
184
225
  - **No nested dispatch**: workers must not fan out again (enforced via
@@ -193,29 +234,35 @@ dispatch stay in this skill and the CLI. Manage the local board with
193
234
 
194
235
  ## Per-model notes (apply the row matching YOUR main model)
195
236
 
196
- - **Claude Fable 5.1 main**: taste finalization and the hardest coding are
197
- yours; hard judgment now defaults to Opus 5. Dispatch bulk work to Sol high,
198
- hard judgment to Opus 5 xhigh, and long-context or fast loops to Gemini 3.7
199
- Flash.
200
- - **Claude Opus 5 main**: hard judgment is now yours by default. Taste-final
201
- remains Fable's; use local overrides when Opus's lower hallucination rate or
202
- price is preferred there.
203
- - **Claude Sonnet main**: coordination/tools/mid-tier coding only, plus
204
- fallback duty in bulk-mechanical and live-search; never self-assign top
205
- judgment or hardest implementation.
206
- - **GPT Sol main**: hardest coding + hard judgment are yours (use max for
207
- judgment turns, xhigh for coding); cross to taste-final for style calls.
208
- - **GPT Terra main**: long-context Codex fallback work is yours at max;
209
- bulk-mechanical now defaults to Sol high, and genuinely hardest pieces
210
- escalate to Sol xhigh.
211
- - **Grok 4.6 main**: live-search and coding overflow are yours, plus fallback
212
- duty in hardest-coding, hard-judgment, and taste-final; its measured
213
- hallucination rate is the lowest among the frontier rows, but still verify
214
- every API signature and cited fact before shipping.
215
- - **Gemini 3.7 Flash main**: long-context and fast agentic/multimodal loops
216
- are yours at the lane's configured effort; bulk and overflow use the high
217
- row, plus fallback duty (High) in hardest-coding, taste-final, ui-draft, and
218
- live-search. Never self-assign top judgment.
219
- - **Gemini 3.1 Pro main**: it remains directly selectable, but the default
220
- long-context lane now prefers Gemini 3.7 Flash on LCR, cost, and throughput;
221
- route hardest coding and judgment to the stronger Codex and Claude lanes.
237
+ These notes never expand the commander's reserved self-execution scope. If the verified main model has no matching row, use the configured lane table under the current user request and `rules.d/60`; do not assume the nearest older model is equivalent or silently override vendor/model/effort. If a required capability or explicit model choice is unresolved, report that exact gap before dispatch rather than inventing a fallback.
238
+
239
+ - **Claude Fable 5.1 main**: recommended prompt-level controller for
240
+ quality-sensitive work (not a lane or automatic selector). Hardest coding
241
+ uses max; judgment and taste use xhigh. Dispatch bulk work to Sol high,
242
+ long/fast work to Gemini 3.8 Flash, and use Astra as an independent Codex
243
+ review path.
244
+ - **Claude Opus 5 main**: balanced prompt-level controller and independent
245
+ reviewer when explicitly selected (`high`, or `xhigh` for deeper review),
246
+ plus Claude long-context fallback. This is a role/opt-in choice, not a new
247
+ lane or the current hard-judgment default.
248
+ - **Claude Sonnet main**: coordination/tools/mid-tier coding only, plus fallback
249
+ duty in bulk-mechanical and live-search; never self-assign top judgment or
250
+ hardest implementation.
251
+ - **GPT Astra main**: prompt-level controller backup and independent reviewer.
252
+ Default to xhigh for hardest coding/judgment and consult/taste; use
253
+ `--vendor codex --effort max` only for an explicitly requested upgrade. Explicit
254
+ model and effort always outrank these defaults.
255
+ - **GPT Sol main**: bulk mechanical work and constrained UI drafts are yours at
256
+ high; escalate hardest coding and judgment to Fable/Astra.
257
+ - **GPT Terra main**: long-context Codex fallback work is yours at max; bulk
258
+ stays on Sol high and hard work escalates to Fable/Astra.
259
+ - **GPT Luna main**: high-volume triage is yours at high; do not promote its
260
+ low price into correctness-critical or controller work.
261
+ - **Grok 4.6 main**: live-search and coding-overflow are yours, plus fallback
262
+ duty in hard lanes. Grok effort remains ignored; verify API signatures and
263
+ cited facts before shipping.
264
+ - **Gemini 3.8 Flash main**: long-context uses medium, fast-agentic and triage
265
+ use low, and bulk/overflow/web fallbacks use high. Do not infer visual taste
266
+ or controller authority from agent/coding benchmarks.
267
+ - **Gemini 3.1 Pro main**: remains directly selectable, but is not promoted by
268
+ this refresh; route hard coding and judgment to the stronger configured lanes.