luxe 0.1.4: remembered models, wheel-driven lists, and a steadier phone app

- luxe starts on the model you last chose in this project, then the last one anywhere. Signing in
  opens the model picker instead of choosing for you.
- Every list in a modal takes the mouse wheel and a draggable scrollbar.
- The phone app shows reasoning in full, stays put while you read back through a long session, and
  shows a question's answer on its card.
- On Windows, luxe update replaces the running luxe, and a signed-in install no longer sees setup
  again.
- The file tree no longer shows "engine busy" in a large project, loop output is easier to follow,
  and the name is written lowercase.

The CHANGELOG has the full list.
This commit is contained in:
Evan Whittaker
2026-10-20 13:51:34 -05:00
parent 6184aa21fb
commit a0666d6c81
591 changed files with 4926 additions and 2942 deletions

View File

@@ -16,7 +16,7 @@ fn committed_project(root: &std::path::Path) {
for arguments in [
["init"].as_slice(),
["config", "user.email", "tests@example.invalid"].as_slice(),
["config", "user.name", "Luxe Tests"].as_slice(),
["config", "user.name", "luxe Tests"].as_slice(),
["add", "test.txt"].as_slice(),
["commit", "-m", "initial fixture"].as_slice(),
] {

View File

@@ -138,7 +138,7 @@ fn settings() -> CompactionSettings {
/// `invoked_from` is the test's own directory on purpose.
///
/// Left unset, the engine takes the *process's* directory — this repository — so the system prompt
/// these tests measure against a threshold quietly includes Luxe's own `AGENTS.md`, its skills, and
/// these tests measure against a threshold quietly includes luxe's own `AGENTS.md`, its skills, and
/// the name of the branch they run on. Editing `AGENTS.md` then fails three compaction tests, which
/// is a fixture reading the room rather than a defect.
fn config(

View File

@@ -222,7 +222,7 @@ pub(crate) fn review_engine_config(
}
}
/// The session store a project keeps under `.luxe`, as Luxe does, where Guided Review never looks.
/// The session store a project keeps under `.luxe`, as luxe does, where Guided Review never looks.
///
/// Anywhere else in the project, the sessions are untracked files a review reads, and on Windows
/// an open session's claim locks its `.lock` file against that read, so the review never loads.
@@ -322,7 +322,7 @@ pub(crate) fn base_config(
external_work: None,
review_context_files: Vec::new(),
review_exclude: Vec::new(),
remember_runtime_state: false,
remember_choices_in: None,
cache_warming: luxe_core::cache_warming::CacheWarming::Off,
review_insight_provider: None,
github: None,

View File

@@ -1,7 +1,7 @@
//! An interrupted turn must not brick the session.
//!
//! One real incident produced all of this: a model emitted three tool calls in one message, the first
//! wedged on a host that never answered, the user interrupted, and Luxe quit. What it left behind was
//! wedged on a host that never answered, the user interrupted, and luxe quit. What it left behind was
//! an assistant message whose calls had no results — which the OpenAI Responses API answers with
//! `400 No tool output found for function call <id>` on **every** later request, and Anthropic with
//! the equivalent about `tool_use` ids. The session, and every resume of it, was over.

View File

@@ -237,7 +237,7 @@ async fn new_session_reuses_an_empty_session_instead_of_orphaning_it() {
/// A turn with no model chosen is refused, and the transcript is left alone.
///
/// Luxe resolves no default: with nothing chosen the front-end hands the engine a model with an
/// luxe resolves no default: with nothing chosen the front-end hands the engine a model with an
/// empty id, and the gate at the top of every turn is what makes that safe. The provider is never
/// reached, and the user's message is not committed — a refused turn must not leave a message in
/// the history that would replay on every later request.

View File

@@ -186,7 +186,7 @@ async fn a_report_beside_a_tool_call_is_read_when_the_turn_ends() {
/// A Guide like [`GuideManifestProvider`]'s, and fix turns answered from a script.
///
/// Every call a fix turn makes — the feedback itself, or Luxe asking for the report — takes the
/// Every call a fix turn makes — the feedback itself, or luxe asking for the report — takes the
/// next reply, with `{review}`, `{revision}`, `{first}` and `{second}` filled in from the feedback.
/// [`UNTIL_CANCELLED`] answers nothing until the turn is cancelled, and [`CUT_OFF`] stops partway
/// through a tool call's arguments, as a reply that hit its token limit does.
@@ -290,7 +290,7 @@ async fn fix_two_comments(
std::fs::write(project_root.join("tracked.rs"), "fn original() {}\n").unwrap();
for arguments in [
["config", "user.email", "tests@example.invalid"].as_slice(),
["config", "user.name", "Luxe Tests"].as_slice(),
["config", "user.name", "luxe Tests"].as_slice(),
["add", "tracked.rs"].as_slice(),
["commit", "-m", "initial fixture"].as_slice(),
] {
@@ -392,7 +392,7 @@ async fn fix_two_comments(
(*finished, asked)
}
/// What Luxe said on a comment's thread, in its own name.
/// What luxe said on a comment's thread, in its own name.
fn luxe_notes(finding: &luxe_core::guided_review::ReviewFinding) -> Vec<&str> {
use luxe_core::guided_review::FindingMessageAuthor;
let notes = finding.thread.iter().filter(|m| m.author == FindingMessageAuthor::System);
@@ -425,7 +425,7 @@ async fn a_missing_report_is_asked_for_once_and_the_answer_counts() {
}
/// An agent that cannot produce a usable report is asked once, not again and again, and then
/// each comment says so, and why, in Luxe's name; the comments stay where the reviewer left them.
/// each comment says so, and why, in luxe's name; the comments stay where the reviewer left them.
#[tokio::test]
async fn an_agent_that_never_reports_leaves_word_on_each_comment() {
use luxe_core::guided_review::FindingState;

View File

@@ -29,7 +29,7 @@ async fn a_last_turn_review_loads_the_turn_that_ran_and_refreshes_in_place() {
std::fs::write(tmp_dir.join("test.txt"), "Hello, World!").unwrap();
for arguments in [
["config", "user.email", "tests@example.invalid"].as_slice(),
["config", "user.name", "Luxe Tests"].as_slice(),
["config", "user.name", "luxe Tests"].as_slice(),
["add", "test.txt"].as_slice(),
["commit", "-m", "initial fixture"].as_slice(),
] {
@@ -41,7 +41,7 @@ async fn a_last_turn_review_loads_the_turn_that_ran_and_refreshes_in_place() {
.success());
}
// Luxe's own planning artifact, not the harness it happens to be developed with.
// luxe's own planning artifact, not the harness it happens to be developed with.
std::fs::write(tmp_dir.join("PLAN.md"), "review plan evidence").unwrap();
// Setup session store.
@@ -207,7 +207,7 @@ async fn p32_guided_review_refresh_persists_a_fresh_artifact_after_worktree_muta
std::fs::write(project_root.join("tracked.rs"), "fn original() {}\n").unwrap();
for arguments in [
["config", "user.email", "tests@example.invalid"].as_slice(),
["config", "user.name", "Luxe Tests"].as_slice(),
["config", "user.name", "luxe Tests"].as_slice(),
["add", "tracked.rs"].as_slice(),
["commit", "-m", "initial fixture"].as_slice(),
] {
@@ -446,7 +446,7 @@ async fn guided_review_last_turn_loads_a_retained_baseline_after_restart() {
std::fs::write(project_root.join("tracked.rs"), "fn original() {}\n").unwrap();
for arguments in [
["config", "user.email", "tests@example.invalid"].as_slice(),
["config", "user.name", "Luxe Tests"].as_slice(),
["config", "user.name", "luxe Tests"].as_slice(),
["add", "tracked.rs"].as_slice(),
["commit", "-m", "initial fixture"].as_slice(),
] {

View File

@@ -27,7 +27,7 @@ async fn the_engine_owns_a_review_from_comment_to_report_and_through_a_restart()
std::fs::write(project_root.join("tracked.rs"), "fn original() {}\n").unwrap();
for arguments in [
["config", "user.email", "tests@example.invalid"].as_slice(),
["config", "user.name", "Luxe Tests"].as_slice(),
["config", "user.name", "luxe Tests"].as_slice(),
["add", "tracked.rs"].as_slice(),
["commit", "-m", "initial fixture"].as_slice(),
] {
@@ -150,7 +150,7 @@ async fn a_comment_saved_just_before_close_is_on_disk_when_the_engine_stops() {
std::fs::write(project_root.join("tracked.rs"), "fn original() {}\n").unwrap();
for arguments in [
["config", "user.email", "tests@example.invalid"].as_slice(),
["config", "user.name", "Luxe Tests"].as_slice(),
["config", "user.name", "luxe Tests"].as_slice(),
["add", "tracked.rs"].as_slice(),
["commit", "-m", "initial fixture"].as_slice(),
] {
@@ -250,7 +250,7 @@ async fn closing_does_not_wait_for_a_guide_being_written() {
std::fs::write(project_root.join("tracked.rs"), "fn original() {}\n").unwrap();
for arguments in [
["config", "user.email", "tests@example.invalid"].as_slice(),
["config", "user.name", "Luxe Tests"].as_slice(),
["config", "user.name", "luxe Tests"].as_slice(),
["add", "tracked.rs"].as_slice(),
["commit", "-m", "initial fixture"].as_slice(),
] {

View File

@@ -170,7 +170,7 @@ async fn a_tool_call_announces_itself_while_the_model_is_still_writing_it() {
/// What the reader sends is announced like any other committed message, before the reply.
///
/// The break this catches: announcing only messages Luxe composed, so a client joined to the
/// The break this catches: announcing only messages luxe composed, so a client joined to the
/// session (the phone app, `luxe join`) shows answers to questions it never saw, and its snapshot
/// for a later joiner leaves them out too.
#[tokio::test]