Skip to content

majiayu000/spellbook / skills/sol-luna-router

sol-luna-router

Verified

Route substantial coding or repository-review work through a two-stage Sol commander/verifier and separate Luna Max CLI worker. Use when the user explicitly asks Sol to direct or supervise Luna, explicitly requests this router, needs an isolated auditable Luna-owned implementation with a Sol review loop, or asks to diagnose or measure the router itself. Do not use merely because a task involves coding, verification, progress reporting, or token saving. For small or straightforward tasks, keep work in Sol unless the user explicitly requests Luna; router configuration, usage, and efficiency questions should use read-only inspection without launching a worker.

evals/transport-warning-benchmark-2026-08-12-task.md

View on GitHub
# Task: preserve recovered transport warnings

The `sol-luna-router` runner consumes Codex JSONL events. A transport-level `error`
event or an `item.completed` event whose item type is `error` can be transient: Codex
may reconnect and later emit a valid final agent message and `turn.completed`.

Implement the following behavior:

1. A run that exits zero and ultimately contains a thread id, final agent message, and
   `turn.completed` must succeed even if transient error events appeared earlier.
2. Preserve those recovered error messages, in event order, in a `warnings` list in the
   parsed result.
3. `turn.failed` remains fatal even if later completion-looking events are present.
4. A nonzero process exit remains fatal and should surface the best available error.
5. A recovered error followed by an incomplete event stream or no final agent message
   must still fail closed for the missing completion evidence.
6. Add focused regression tests for the new behavior without weakening existing tests.

Allowed files:

- `skills/sol-luna-router/scripts/run_luna_worker.py`
- `skills/sol-luna-router/scripts/test_run_luna_worker.py`
- `skills/sol-luna-router/SKILL.md` only if the observable contract needs documentation

Do not inspect other checkouts, external repositories, remote history, or commits beyond
this isolated repository. Do not change generated registries or unrelated files.

Verification:

```bash
python3 skills/sol-luna-router/scripts/test_run_luna_worker.py
python3 -m py_compile skills/sol-luna-router/scripts/run_luna_worker.py
```

Return the root cause, changed files, verification outcomes, and remaining risks.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 196kUpdated Claude CodeCodexVerifiedInstall