fix: update builtin Sol and Luna model defaults

This commit is contained in:
2026-10-05 19:15:02 +09:00
parent f5c6b0aeb1
commit c57e236768
9 changed files with 51 additions and 16 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ mod tests {
.expect("evaluate built-in standalone") .expect("evaluate built-in standalone")
.expect("standalone exists"); .expect("standalone exists");
assert_eq!(value["slug"], "standalone"); assert_eq!(value["slug"], "standalone");
assert_eq!(value["model"]["ref"], "codex-oauth/gpt-5.6-sol"); assert_eq!(value["model"]["ref"], "codex-oauth/gpt-6.1-sol");
assert_eq!(value["scope"]["intent"], "workspace_write"); assert_eq!(value["scope"]["intent"], "workspace_write");
assert_eq!(value["scope"]["symlink_policy"], "logical"); assert_eq!(value["scope"]["symlink_policy"], "logical");
assert_eq!(value["delegation_scope"]["intent"], "workspace_write"); assert_eq!(value["delegation_scope"]["intent"], "workspace_write");
+41 -6
View File
@@ -1355,6 +1355,7 @@ mod tests {
"companion", "companion",
"coder", "coder",
"reviewer", "reviewer",
"backend-job",
"memory-consolidation", "memory-consolidation",
"subjektiv-memory-consolidation", "subjektiv-memory-consolidation",
] { ] {
@@ -1367,6 +1368,15 @@ mod tests {
Some(false), Some(false),
"{name} must keep pruning disabled for the experiment" "{name} must keep pruning disabled for the experiment"
); );
assert_eq!(
role.manifest
.compaction
.as_ref()
.and_then(|compaction| compaction.model.as_ref())
.and_then(|model| model.ref_.as_deref()),
Some("codex-oauth/gpt-6-luna"),
"{name} must use Luna for compaction"
);
} }
let companion = resolve("companion"); let companion = resolve("companion");
@@ -1379,11 +1389,18 @@ mod tests {
Some(ReasoningControl::Effort(ReasoningEffort::High)) Some(ReasoningControl::Effort(ReasoningEffort::High))
); );
for name in ["coder", "reviewer"] { for name in [
"default",
"standalone",
"intake",
"orchestrator",
"coder",
"reviewer",
] {
let role = resolve(name); let role = resolve(name);
assert_eq!( assert_eq!(
role.manifest.model.ref_.as_deref(), role.manifest.model.ref_.as_deref(),
Some("codex-oauth/gpt-5.6-sol") Some("codex-oauth/gpt-6.1-sol")
); );
assert_eq!( assert_eq!(
role.manifest.engine.reasoning, role.manifest.engine.reasoning,
@@ -1395,7 +1412,7 @@ mod tests {
.model .model
.as_ref() .as_ref()
.and_then(|model| model.ref_.as_deref()), .and_then(|model| model.ref_.as_deref()),
Some("codex-oauth/gpt-5.6-luna") Some("codex-oauth/gpt-6-luna")
); );
assert_eq!( assert_eq!(
extraction.reasoning, extraction.reasoning,
@@ -1403,16 +1420,34 @@ mod tests {
); );
} }
for name in ["memory-consolidation", "subjektiv-memory-consolidation"] { for name in [
"backend-job",
"memory-consolidation",
"subjektiv-memory-consolidation",
] {
let consolidation = resolve(name); let consolidation = resolve(name);
assert_eq!( assert_eq!(
consolidation.manifest.model.ref_.as_deref(), consolidation.manifest.model.ref_.as_deref(),
Some("codex-oauth/gpt-5.6-luna") Some("codex-oauth/gpt-6-luna")
); );
assert_eq!( assert_eq!(
consolidation.manifest.engine.reasoning, consolidation.manifest.engine.reasoning,
Some(ReasoningControl::Effort(ReasoningEffort::Medium)) Some(ReasoningControl::Effort(ReasoningEffort::Medium))
); );
if name == "memory-consolidation" {
assert_eq!(
consolidation
.manifest
.feature
.memory
.profile
.extraction
.model
.as_ref()
.and_then(|model| model.ref_.as_deref()),
Some("codex-oauth/gpt-6-luna")
);
}
} }
} }
@@ -1562,7 +1597,7 @@ mod tests {
)); ));
assert_eq!( assert_eq!(
resolved.manifest.model.ref_.as_deref(), resolved.manifest.model.ref_.as_deref(),
Some("codex-oauth/gpt-5.6-sol") Some("codex-oauth/gpt-6.1-sol")
); );
assert!(resolved.manifest.feature.task.enabled); assert!(resolved.manifest.feature.task.enabled);
assert!(resolved.manifest.feature.web.enabled); assert!(resolved.manifest.feature.web.enabled);
+1 -1
View File
@@ -2,7 +2,7 @@ import "./base.dcdl" // {
slug = "backend-job"; slug = "backend-job";
description = "Backend-owned bounded Job Worker profile."; description = "Backend-owned bounded Job Worker profile.";
scope = "workspace_read"; scope = "workspace_read";
model = { ref = "codex-oauth/gpt-5.6-luna"; }; model = { ref = "codex-oauth/gpt-6-luna"; };
engine = { engine = {
instruction = "internal.backend_job_system"; instruction = "internal.backend_job_system";
reasoning = "medium"; reasoning = "medium";
+2 -2
View File
@@ -3,7 +3,7 @@ description = "Shared base configuration for Yoi Worker profiles.";
scope = "workspace_write"; scope = "workspace_write";
model = { model = {
ref = "codex-oauth/gpt-5.6-sol"; ref = "codex-oauth/gpt-6.1-sol";
}; };
session = { session = {
@@ -31,7 +31,7 @@ feature = {
enabled = true; enabled = true;
extraction = { extraction = {
enabled = true; enabled = true;
model = { ref = "codex-oauth/gpt-5.6-luna"; }; model = { ref = "codex-oauth/gpt-6-luna"; };
reasoning = "medium"; reasoning = "medium";
threshold = 50000; threshold = 50000;
}; };
+1 -1
View File
@@ -2,7 +2,7 @@ import "./base.dcdl" // {
slug = "coder"; slug = "coder";
description = "Ticket implementation coder profile."; description = "Ticket implementation coder profile.";
scope = "workspace_write"; scope = "workspace_write";
model = { ref = "codex-oauth/gpt-5.6-sol"; }; model = { ref = "codex-oauth/gpt-6.1-sol"; };
engine = { engine = {
instruction = "role.coder"; instruction = "role.coder";
reasoning = "high"; reasoning = "high";
+2 -2
View File
@@ -2,7 +2,7 @@ import "./base.dcdl" // {
slug = "memory-consolidation"; slug = "memory-consolidation";
description = "Memory staging consolidation profile."; description = "Memory staging consolidation profile.";
scope = "workspace_read"; scope = "workspace_read";
model = { ref = "codex-oauth/gpt-5.6-luna"; }; model = { ref = "codex-oauth/gpt-6-luna"; };
engine = { reasoning = "medium"; }; engine = { reasoning = "medium"; };
feature = { feature = {
@@ -13,7 +13,7 @@ import "./base.dcdl" // {
resident = { inject_summary = true; }; resident = { inject_summary = true; };
extraction = { extraction = {
enabled = true; enabled = true;
model = { ref = "codex-oauth/gpt-5.6-luna"; }; model = { ref = "codex-oauth/gpt-6-luna"; };
reasoning = "medium"; reasoning = "medium";
threshold = 50000; threshold = 50000;
}; };
+1 -1
View File
@@ -2,7 +2,7 @@ import "./base.dcdl" // {
slug = "reviewer"; slug = "reviewer";
description = "Ticket review profile."; description = "Ticket review profile.";
scope = "workspace_read"; scope = "workspace_read";
model = { ref = "codex-oauth/gpt-5.6-sol"; }; model = { ref = "codex-oauth/gpt-6.1-sol"; };
engine = { engine = {
instruction = "role.reviewer"; instruction = "role.reviewer";
reasoning = "high"; reasoning = "high";
+1 -1
View File
@@ -1,7 +1,7 @@
import "./default.dcdl" // { import "./default.dcdl" // {
slug = "standalone"; slug = "standalone";
description = "Standalone Yoi coding profile."; description = "Standalone Yoi coding profile.";
model = { ref = "codex-oauth/gpt-5.6-sol"; }; model = { ref = "codex-oauth/gpt-6.1-sol"; };
scope = { scope = {
intent = "workspace_write"; intent = "workspace_write";
symlink_policy = "logical"; symlink_policy = "logical";
@@ -2,7 +2,7 @@ import "./base.dcdl" // {
slug = "subjektiv-memory-consolidation"; slug = "subjektiv-memory-consolidation";
description = "Delegated subject Memory staging consolidation profile."; description = "Delegated subject Memory staging consolidation profile.";
scope = "workspace_read"; scope = "workspace_read";
model = { ref = "codex-oauth/gpt-5.6-luna"; }; model = { ref = "codex-oauth/gpt-6-luna"; };
engine = { reasoning = "medium"; }; engine = { reasoning = "medium"; };
web = { enabled = false; }; web = { enabled = false; };