@dzhechkov/keysarium 1.5.13 → 1.5.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dzhechkov/keysarium",
3
- "version": "1.5.13",
3
+ "version": "1.5.17",
4
4
  "description": "AI Case Research Toolkit for Claude Code — full 7-phase pipeline with feature-adr, dream cycles, background workers, multi-platform support, reward learning, and Cloud.ru AI Factory mapping (--ai-factory flag)",
5
5
  "main": "src/cli.js",
6
6
  "bin": {
@@ -355,11 +355,25 @@ Step 0 (Complexity Router) checks:
355
355
  description, code, tier, stopAfter, repo, dzBin } })`. Hybrid checkpoints: S/M autonomous; L/XL return
356
356
  after the Plan phase for your steer. See `.claude/rules/feature-adr-ultracode.md`.
357
357
 
358
- **Optional Codex planner (opt-in).** When Codex is installed + logged in (`codex login --device-auth`
359
- on a headless VPS, or `printenv OPENAI_API_KEY | codex login --with-api-key`), the pipeline can route the
360
- **planning step to Codex's top model**. It ALWAYS asks first — a pre-flight *"Use the top Codex model for
361
- planning?"* — and falls back to Claude if you decline or Codex is unavailable (never blocks). ultracode:
362
- pass `args.planner: 'codex'`. Plain `/feature-adr`: the same offer appears at the planning checkpoint.
358
+ **Optional Codex routing (opt-in).** When Codex is installed + logged in (`codex login --device-auth`
359
+ on a headless VPS, or `printenv OPENAI_API_KEY | codex login --with-api-key`), the pipeline can route work
360
+ to Codex — always ASKING first, always with a Claude fallback (never blocks):
361
+
362
+ - **Planning (Step 6)** on Codex's top model → `args.planner: 'codex'`.
363
+ - **Code (Step 7) + tests/QE (Step 8) FALLBACK** → `args.coder: 'codex-fallback'`, `args.qeReviewer:
364
+ 'codex-fallback'`: Claude runs first, and only if the **Claude Code limit is exhausted mid-run** (the
365
+ agent returns null) does the SAME task retry on Codex — so a long build never stalls on a rate limit.
366
+ - **Model choice** → `args.codexModel` (`auto` default (Codex self-selects) · or an id your account exposes (e.g. `gpt-5.5`)).
367
+
368
+ *Scenario:* an L/XL run hits the session limit during coding → with `coder: 'codex-fallback'` feature-adr
369
+ logs *"Claude unavailable (limit?) — falling back to Codex auto"* and finishes on Codex, no restart.
370
+
371
+ *Example:* `Workflow({ scriptPath: '.claude/workflows/feature-adr.js', args: { slug, description, tier:
372
+ 'M', planner: 'codex', coder: 'codex-fallback', qeReviewer: 'codex-fallback', codexModel: 'auto' } }) // 'auto' = Codex picks top; or pin e.g. 'gpt-5.5'`.
373
+
374
+ Pre-flight, if Codex is `ready` (`codex-companion setup --json`), the orchestrator asks these three
375
+ before launching; plain `/feature-adr` offers the same at the planning checkpoint. Omit the Codex knobs
376
+ for today's all-Claude behavior. See `.claude/rules/feature-adr-ultracode.md`.
363
377
 
364
378
  ### Pattern memory loop (self-learning — runs in ALL modes)
365
379