From 2d28c054472e529a70b4662f56c29214d5ae2f32 Mon Sep 17 00:00:00 2001 From: Hare Date: Fri, 2 Oct 2026 11:52:39 +0900 Subject: [PATCH] chore: use 6-luna and raise compaction turn limit --- crates/manifest/src/profile.rs | 16 ++++++++++++++++ resources/profiles/base.dcdl | 2 ++ 2 files changed, 18 insertions(+) diff --git a/crates/manifest/src/profile.rs b/crates/manifest/src/profile.rs index b55df5678..25fc043b8 100644 --- a/crates/manifest/src/profile.rs +++ b/crates/manifest/src/profile.rs @@ -1233,6 +1233,22 @@ mod tests { ) .unwrap(); assert_eq!(resolved.manifest.worker.name, "role-worker"); + let compaction = resolved.manifest.compaction.as_ref().unwrap(); + assert_eq!(compaction.worker_max_turns, Some(100), "{}", entry.name); + assert_eq!( + compaction.worker_context_max_tokens, 100_000, + "{}", + entry.name + ); + assert_eq!( + compaction + .model + .as_ref() + .and_then(|model| model.ref_.as_deref()), + Some("codex-oauth/gpt-6-luna"), + "{}", + entry.name + ); } } diff --git a/resources/profiles/base.dcdl b/resources/profiles/base.dcdl index 04e42783f..c35c50ed4 100644 --- a/resources/profiles/base.dcdl +++ b/resources/profiles/base.dcdl @@ -20,6 +20,8 @@ compaction = { threshold = 240000; request_threshold = 270000; worker_context_max_tokens = 100000; + worker_max_turns = 100; + model = { ref = "codex-oauth/gpt-6-luna"; }; }; feature = {