Repository navigation
v0.3.0
Better-aimed, steadier ranking, and a debug trace
- Ranking uses your task, not the instructions around it. Prompts that wrap a task in instructions ("find the source code… end with FILES: …") no longer pull docs and changelogs to the top. On the 60 benchmark tasks, the right file reached the code Claude gets up front in 48 tasks instead of 42.
- The Laya model keeps ranking when the machine is busy. It now scores the most promising candidates first and stops inside its 1.2 s budget, instead of all or nothing. On a busy GPU it ranked 59 of 60 prompts instead of 0–2, and answered about 0.35 s sooner.
- Fewer re-checks by Claude.
- Inlined code is checked against the file on disk and labelled as the exact current content.
- A definition's use list says when it's complete.
- At most two files are inlined (one for single-function tasks).
laya-codex trace(off by default) records what Claude Code and laya-codex exchange, including which ranking each prompt got. Usetrace on,trace show --full,trace off.- A nearly full disk no longer disables laya-codex silently. When Moon pauses writes, ranking keeps working from the existing index.
laya-codex doctorreports the problem with a fix, anddaemon.logrecords failed requests. doctorno longer reports hooks as broken when their command starts with environment variables.
No breaking changes. Benchmark v2 results across three repositories, and why its model-vs-keywords comparison is inconclusive, are in docs/RESULTS.md. Full details: CHANGELOG.
Upgrade: curl -fsSL https://raw.githubusercontent.com/pilotspace/laya-codex/main/install.sh | sh, then laya-codex stop so the next prompt starts the new daemon.
What's Changed
- docs: why the Laya model, drop the upgrade section, Homebrew formula for v0.2.0 by @pilotspacex-byte in #5
- feat(rank): search the task, not the instructions wrapped around it by @pilotspacex-byte in #10
- fix(rank): score candidates best-first inside the budget instead of all or nothing by @pilotspacex-byte in #11
- docs: benchmark v2 results (3 repos, 60 tasks); keep the Laya model on by @pilotspacex-byte in #6
- feat(rank): trust labels and a two-block cap for adaptive injection by @pilotspacex-byte in #7
- feat(cli): laya-codex trace records Claude Code and laya-codex exchanges by @pilotspacex-byte in #8
- fix: doctor env-prefixed hooks; keep ranking and speak up when Moon pauses writes by @pilotspacex-byte in #12
- chore(release): v0.3.0 by @pilotspacex-byte in #13
Full Changelog: v0.2.0...v0.3.0