diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | assets/codex-skills/phone-opus/SKILL.md | 2 | ||||
| -rw-r--r-- | crates/phone-opus/src/mcp/protocol.rs | 2 | ||||
| -rw-r--r-- | crates/phone-opus/tests/mcp_hardening.rs | 4 |
4 files changed, 5 insertions, 5 deletions
@@ -22,7 +22,7 @@ telemetry surfaces: Each `consult` call runs Claude Code with: - the system `claude` binary -- `--model claude-opus-4-7` +- `--model claude-opus-4-8` - `--effort max` - a baked-in consult prefix telling Claude it is acting in read-only advisory mode for another model and should return a prioritized actionable report - no configured MCP servers (`--strict-mcp-config --mcp-config '{"mcpServers":{}}'`) diff --git a/assets/codex-skills/phone-opus/SKILL.md b/assets/codex-skills/phone-opus/SKILL.md index fd220d9..a1a7549 100644 --- a/assets/codex-skills/phone-opus/SKILL.md +++ b/assets/codex-skills/phone-opus/SKILL.md @@ -27,7 +27,7 @@ should be taken as authoritative or final. It is a pure consultant. ## Runtime posture -- Pins Claude to Opus 4.6 with max effort. +- Pins Claude to Opus 4.8 with max effort. - Prepends a fixed consult prefix before your prompt so Opus knows it is advising another model in read-only mode and should return a prioritized actionable report. - Uses `--dangerously-skip-permissions`, but wraps Claude in an external `systemd-run --user` sandbox. - The sandbox keeps the filesystem globally read-only, gives Claude a separate persistent home under phone-opus state, leaves `/tmp` and `/var/tmp` writable, and forces the consulted `cwd` read-only when that tree would otherwise be writable. diff --git a/crates/phone-opus/src/mcp/protocol.rs b/crates/phone-opus/src/mcp/protocol.rs index 2a029d0..ef4b7f3 100644 --- a/crates/phone-opus/src/mcp/protocol.rs +++ b/crates/phone-opus/src/mcp/protocol.rs @@ -27,7 +27,7 @@ Prefer specific recommendations over vague commentary. If there are no meaningfu The real prompt follows."; pub(crate) const CLAUDE_EFFORT: &str = "max"; -pub(crate) const CLAUDE_MODEL: &str = "claude-opus-4-7"; +pub(crate) const CLAUDE_MODEL: &str = "claude-opus-4-8"; pub(crate) const EMPTY_MCP_CONFIG: &str = "{\"mcpServers\":{}}"; #[derive(Clone, Copy, Debug, Eq, PartialEq)] diff --git a/crates/phone-opus/tests/mcp_hardening.rs b/crates/phone-opus/tests/mcp_hardening.rs index 1b4843c..3be89ef 100644 --- a/crates/phone-opus/tests/mcp_hardening.rs +++ b/crates/phone-opus/tests/mcp_hardening.rs @@ -358,7 +358,7 @@ fn write_fake_claude_json_success( "output_tokens": 5 }, "modelUsage": { - "claude-opus-4-7": { + "claude-opus-4-8": { "inputTokens": 10, "outputTokens": 5 } @@ -536,7 +536,7 @@ fn consult_runs_blocking_in_sandbox() -> TestResult { assert!(lines.contains(&"--disable-slash-commands")); assert!(lines.contains(&"--no-chrome")); assert!(lines.contains(&"--model")); - assert!(lines.contains(&"claude-opus-4-7")); + assert!(lines.contains(&"claude-opus-4-8")); assert!(lines.contains(&"--effort")); assert!(lines.contains(&"max")); assert!(lines.contains(&"--tools")); |