graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
Stop remapping Astra medium effort to low
justrachfd81812be33d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex edfd6e42..5f9b8256 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -12,6 +12,7 @@ current is part of cutting a release.## Unreleased+- `#1084`: gpt-6-astra `/effort medium` sends medium (no longer remapped to low).- Empty Enter-Enter while a turn is running interrupts (or steers the next queued prompt). It no longer required a queue to arm.- Desktop ACP workers can park after a quiet period (`GRAFF_ACP_IDLE_MS`, default 30s) and `--resume` with the saved cache id. Parking is skipped while a prompt or `session/idle` subscriber is live; tab close still reaps immediately.- Turn chrome shows local tok/s while writing (and at settle); MCP tools/Apps wait instead of looking like slow generation (#1017).diff --git a/docs/adr/0046-flash-omits-default-effort.md b/docs/adr/0046-flash-omits-default-effort.mdindex d4832719..e72ee78c 100644--- a/docs/adr/0046-flash-omits-default-effort.md+++ b/docs/adr/0046-flash-omits-default-effort.md@@ -44,6 +44,7 @@ interactive-length essays on every `-p` turn.- Flash SWE wall is generation without thinking novels, not Zig vs JS.- `/effort` remains the only way effort moves (ADR / `effort_route`:no auto-flip).+- GPT-6 Astra is not flash: `/effort medium` sends medium (#1084).- `-p` writes `calling <model>` to stderr at start and drops thecall-2 stdout pulse. Eval `first_out` is no longer "time to modelcall 2"; stdout stays the answer.diff --git a/src/effort_route.zig b/src/effort_route.zigindex ec4e672b..2a180dbd 100644--- a/src/effort_route.zig+++ b/src/effort_route.zig@@ -56,7 +56,7 @@ pub fn shouldRouteLookupLow(_: bool, _: bool, _: []const u8) bool {/// Do not treat this as a 4-tool catalog shrink.pub fn omitsDefaultFlashEffort(model: []const u8) bool {if (std.mem.startsWith(u8, model, "gemini")) return true;- if (std.mem.indexOf(u8, model, "astra") != null) return true; // Astra-low > Sol-high on SWE-bench+ // Astra is not flash: medium is a supported effort and must stay medium (#1084).return std.mem.indexOf(u8, model, "flash") != null;}@@ -131,8 +131,8 @@ test "flash and Gemini map default medium to low; grok and glm-5.3 stay medium"try std.testing.expect(!omitsDefaultFlashEffort("grok-4.6"));try std.testing.expect(!omitsDefaultFlashEffort("glm-5.3"));try std.testing.expect(!omitsDefaultFlashEffort("deepseek-v4-pro"));- try std.testing.expect(omitsDefaultFlashEffort("gpt-6-astra"));- try std.testing.expectEqualStrings("low", wireEffort("gpt-6-astra", "medium"));+ try std.testing.expect(!omitsDefaultFlashEffort("gpt-6-astra"));+ try std.testing.expectEqualStrings("medium", wireEffort("gpt-6-astra", "medium"));try std.testing.expectEqualStrings("high", wireEffort("gpt-5.6-sol", "high"));try std.testing.expectEqualStrings("high", wireEffort("gpt-6-astra", "high"));try std.testing.expectEqualStrings("low", wireEffort("glm-5.3-flash", "medium"));