fix: update builtin Sol and Luna model defaults
This commit is contained in:
@@ -337,7 +337,7 @@ mod tests {
|
||||
.expect("evaluate built-in standalone")
|
||||
.expect("standalone exists");
|
||||
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"]["symlink_policy"], "logical");
|
||||
assert_eq!(value["delegation_scope"]["intent"], "workspace_write");
|
||||
|
||||
@@ -1355,6 +1355,7 @@ mod tests {
|
||||
"companion",
|
||||
"coder",
|
||||
"reviewer",
|
||||
"backend-job",
|
||||
"memory-consolidation",
|
||||
"subjektiv-memory-consolidation",
|
||||
] {
|
||||
@@ -1367,6 +1368,15 @@ mod tests {
|
||||
Some(false),
|
||||
"{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");
|
||||
@@ -1379,11 +1389,18 @@ mod tests {
|
||||
Some(ReasoningControl::Effort(ReasoningEffort::High))
|
||||
);
|
||||
|
||||
for name in ["coder", "reviewer"] {
|
||||
for name in [
|
||||
"default",
|
||||
"standalone",
|
||||
"intake",
|
||||
"orchestrator",
|
||||
"coder",
|
||||
"reviewer",
|
||||
] {
|
||||
let role = resolve(name);
|
||||
assert_eq!(
|
||||
role.manifest.model.ref_.as_deref(),
|
||||
Some("codex-oauth/gpt-5.6-sol")
|
||||
Some("codex-oauth/gpt-6.1-sol")
|
||||
);
|
||||
assert_eq!(
|
||||
role.manifest.engine.reasoning,
|
||||
@@ -1395,7 +1412,7 @@ mod tests {
|
||||
.model
|
||||
.as_ref()
|
||||
.and_then(|model| model.ref_.as_deref()),
|
||||
Some("codex-oauth/gpt-5.6-luna")
|
||||
Some("codex-oauth/gpt-6-luna")
|
||||
);
|
||||
assert_eq!(
|
||||
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);
|
||||
assert_eq!(
|
||||
consolidation.manifest.model.ref_.as_deref(),
|
||||
Some("codex-oauth/gpt-5.6-luna")
|
||||
Some("codex-oauth/gpt-6-luna")
|
||||
);
|
||||
assert_eq!(
|
||||
consolidation.manifest.engine.reasoning,
|
||||
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!(
|
||||
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.web.enabled);
|
||||
|
||||
@@ -2,7 +2,7 @@ import "./base.dcdl" // {
|
||||
slug = "backend-job";
|
||||
description = "Backend-owned bounded Job Worker profile.";
|
||||
scope = "workspace_read";
|
||||
model = { ref = "codex-oauth/gpt-5.6-luna"; };
|
||||
model = { ref = "codex-oauth/gpt-6-luna"; };
|
||||
engine = {
|
||||
instruction = "internal.backend_job_system";
|
||||
reasoning = "medium";
|
||||
|
||||
@@ -3,7 +3,7 @@ description = "Shared base configuration for Yoi Worker profiles.";
|
||||
scope = "workspace_write";
|
||||
|
||||
model = {
|
||||
ref = "codex-oauth/gpt-5.6-sol";
|
||||
ref = "codex-oauth/gpt-6.1-sol";
|
||||
};
|
||||
|
||||
session = {
|
||||
@@ -31,7 +31,7 @@ feature = {
|
||||
enabled = true;
|
||||
extraction = {
|
||||
enabled = true;
|
||||
model = { ref = "codex-oauth/gpt-5.6-luna"; };
|
||||
model = { ref = "codex-oauth/gpt-6-luna"; };
|
||||
reasoning = "medium";
|
||||
threshold = 50000;
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@ import "./base.dcdl" // {
|
||||
slug = "coder";
|
||||
description = "Ticket implementation coder profile.";
|
||||
scope = "workspace_write";
|
||||
model = { ref = "codex-oauth/gpt-5.6-sol"; };
|
||||
model = { ref = "codex-oauth/gpt-6.1-sol"; };
|
||||
engine = {
|
||||
instruction = "role.coder";
|
||||
reasoning = "high";
|
||||
|
||||
@@ -2,7 +2,7 @@ import "./base.dcdl" // {
|
||||
slug = "memory-consolidation";
|
||||
description = "Memory staging consolidation profile.";
|
||||
scope = "workspace_read";
|
||||
model = { ref = "codex-oauth/gpt-5.6-luna"; };
|
||||
model = { ref = "codex-oauth/gpt-6-luna"; };
|
||||
engine = { reasoning = "medium"; };
|
||||
|
||||
feature = {
|
||||
@@ -13,7 +13,7 @@ import "./base.dcdl" // {
|
||||
resident = { inject_summary = true; };
|
||||
extraction = {
|
||||
enabled = true;
|
||||
model = { ref = "codex-oauth/gpt-5.6-luna"; };
|
||||
model = { ref = "codex-oauth/gpt-6-luna"; };
|
||||
reasoning = "medium";
|
||||
threshold = 50000;
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@ import "./base.dcdl" // {
|
||||
slug = "reviewer";
|
||||
description = "Ticket review profile.";
|
||||
scope = "workspace_read";
|
||||
model = { ref = "codex-oauth/gpt-5.6-sol"; };
|
||||
model = { ref = "codex-oauth/gpt-6.1-sol"; };
|
||||
engine = {
|
||||
instruction = "role.reviewer";
|
||||
reasoning = "high";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import "./default.dcdl" // {
|
||||
slug = "standalone";
|
||||
description = "Standalone Yoi coding profile.";
|
||||
model = { ref = "codex-oauth/gpt-5.6-sol"; };
|
||||
model = { ref = "codex-oauth/gpt-6.1-sol"; };
|
||||
scope = {
|
||||
intent = "workspace_write";
|
||||
symlink_policy = "logical";
|
||||
|
||||
@@ -2,7 +2,7 @@ import "./base.dcdl" // {
|
||||
slug = "subjektiv-memory-consolidation";
|
||||
description = "Delegated subject Memory staging consolidation profile.";
|
||||
scope = "workspace_read";
|
||||
model = { ref = "codex-oauth/gpt-5.6-luna"; };
|
||||
model = { ref = "codex-oauth/gpt-6-luna"; };
|
||||
engine = { reasoning = "medium"; };
|
||||
web = { enabled = false; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user