Skip to content

Commit 815a493

Browse files
committed
feat(codex): default managed model to gpt-5.5
1 parent ea00e2b commit 815a493

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

packages/app/src/lib/core/templates-entrypoint/codex.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ else
7373
mkdir -p "$(dirname "$CODEX_CONFIG_FILE")" || true
7474
cat <<'EOF' > "$CODEX_CONFIG_FILE"
7575
# docker-git codex config
76-
model = "gpt-5.4"
76+
model = "gpt-5.5"
7777
model_reasoning_effort = "xhigh"
7878
plan_mode_reasoning_effort = "xhigh"
7979
personality = "pragmatic"
@@ -89,7 +89,7 @@ apps = true
8989
shell_tool = true
9090
9191
[profiles.longcontx]
92-
model = "gpt-5.4"
92+
model = "gpt-5.5"
9393
model_context_window = 1050000
9494
model_auto_compact_token_limit = 945000
9595
model_reasoning_effort = "xhigh"

packages/app/src/lib/usecases/auth-sync-helpers.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ const codexConfigMarker = "# docker-git codex config"
3535
// QUOTE(ТЗ): "добавь longcontx"
3636
// REF: github-issue-183
3737
// SOURCE: n/a
38-
// FORMAT THEOREM: ∀c: config(c) -> model(c)="gpt-5.4" ∧ reasoning(c)=xhigh ∧ longcontx_profile(c)=defined
38+
// FORMAT THEOREM: ∀c: config(c) -> model(c)="gpt-5.5" ∧ reasoning(c)=xhigh ∧ longcontx_profile(c)=defined
3939
// PURITY: CORE
4040
// EFFECT: n/a
4141
// INVARIANT: default config stays deterministic; longcontx profile always present
4242
// COMPLEXITY: O(1)
4343
export const defaultCodexConfig = [
4444
"# docker-git codex config",
45-
"model = \"gpt-5.4\"",
45+
"model = \"gpt-5.5\"",
4646
"model_reasoning_effort = \"xhigh\"",
4747
"plan_mode_reasoning_effort = \"xhigh\"",
4848
"personality = \"pragmatic\"",
@@ -58,7 +58,7 @@ export const defaultCodexConfig = [
5858
"shell_tool = true",
5959
"",
6060
"[profiles.longcontx]",
61-
"model = \"gpt-5.4\"",
61+
"model = \"gpt-5.5\"",
6262
"model_context_window = 1050000",
6363
"model_auto_compact_token_limit = 945000",
6464
"model_reasoning_effort = \"xhigh\"",

packages/lib/src/core/templates-entrypoint/codex.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ else
7272
mkdir -p "$(dirname "$CODEX_CONFIG_FILE")" || true
7373
cat <<'EOF' > "$CODEX_CONFIG_FILE"
7474
# docker-git codex config
75-
model = "gpt-5.4"
75+
model = "gpt-5.5"
7676
model_reasoning_effort = "xhigh"
7777
plan_mode_reasoning_effort = "xhigh"
7878
personality = "pragmatic"
@@ -88,7 +88,7 @@ apps = true
8888
shell_tool = true
8989
9090
[profiles.longcontx]
91-
model = "gpt-5.4"
91+
model = "gpt-5.5"
9292
model_context_window = 1050000
9393
model_auto_compact_token_limit = 945000
9494
model_reasoning_effort = "xhigh"

packages/lib/src/usecases/auth-sync-helpers.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ const codexConfigMarker = "# docker-git codex config"
3434
// QUOTE(ТЗ): "добавь longcontx"
3535
// REF: github-issue-183
3636
// SOURCE: n/a
37-
// FORMAT THEOREM: ∀c: config(c) -> model(c)="gpt-5.4" ∧ reasoning(c)=xhigh ∧ longcontx_profile(c)=defined
37+
// FORMAT THEOREM: ∀c: config(c) -> model(c)="gpt-5.5" ∧ reasoning(c)=xhigh ∧ longcontx_profile(c)=defined
3838
// PURITY: CORE
3939
// EFFECT: n/a
4040
// INVARIANT: default config stays deterministic; longcontx profile always present
4141
// COMPLEXITY: O(1)
4242
export const defaultCodexConfig = [
4343
"# docker-git codex config",
44-
"model = \"gpt-5.4\"",
44+
"model = \"gpt-5.5\"",
4545
"model_reasoning_effort = \"xhigh\"",
4646
"plan_mode_reasoning_effort = \"xhigh\"",
4747
"personality = \"pragmatic\"",
@@ -57,7 +57,7 @@ export const defaultCodexConfig = [
5757
"shell_tool = true",
5858
"",
5959
"[profiles.longcontx]",
60-
"model = \"gpt-5.4\"",
60+
"model = \"gpt-5.5\"",
6161
"model_context_window = 1050000",
6262
"model_auto_compact_token_limit = 945000",
6363
"model_reasoning_effort = \"xhigh\"",

packages/lib/tests/usecases/auth-sync.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe("syncGithubAuthKeys", () => {
8282
expect(next).toBe(target)
8383
})
8484

85-
it.effect("creates codex config with gpt-5.4 and long-context overrides", () =>
85+
it.effect("creates codex config with gpt-5.5 and long-context overrides", () =>
8686
withTempDir((root) =>
8787
Effect.gen(function*(_) {
8888
const fs = yield* _(FileSystem.FileSystem)
@@ -93,7 +93,7 @@ describe("syncGithubAuthKeys", () => {
9393
yield* _(ensureCodexConfigFile(root, ".orch/auth/codex"))
9494

9595
const configText = yield* _(fs.readFileString(configPath))
96-
expect(configText).toContain("model = \"gpt-5.4\"")
96+
expect(configText).toContain("model = \"gpt-5.5\"")
9797
expect(configText).toContain("model_context_window = 1050000")
9898
expect(configText).toContain("model_auto_compact_token_limit = 945000")
9999
expect(configText).toContain("model_reasoning_effort = \"xhigh\"")
@@ -276,7 +276,7 @@ describe("syncGithubAuthKeys", () => {
276276
})
277277
).pipe(Effect.provide(NodeContext.layer)))
278278

279-
it.effect("rewrites managed codex config to include gpt-5.4 and plan mode xhigh", () =>
279+
it.effect("rewrites managed codex config to include gpt-5.5 and plan mode xhigh", () =>
280280
withTempDir((root) =>
281281
Effect.gen(function*(_) {
282282
const fs = yield* _(FileSystem.FileSystem)
@@ -306,7 +306,7 @@ describe("syncGithubAuthKeys", () => {
306306
yield* _(ensureCodexConfigFile(root, ".orch/auth/codex"))
307307

308308
const next = yield* _(fs.readFileString(configPath))
309-
expect(next).toContain("model = \"gpt-5.4\"")
309+
expect(next).toContain("model = \"gpt-5.5\"")
310310
expect(next).toContain("model_context_window = 1050000")
311311
expect(next).toContain("model_auto_compact_token_limit = 945000")
312312
expect(next).toContain("model_reasoning_effort = \"xhigh\"")

0 commit comments

Comments
 (0)