Skip to content

Refine Claude model capabilities, binary checks, and runtime safety#10

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/merry-zebra
May 23, 2026
Merged

Refine Claude model capabilities, binary checks, and runtime safety#10
SDSLeon merged 1 commit into
masterfrom
lightcode/merry-zebra

Conversation

@SDSLeon
Copy link
Copy Markdown
Owner

@SDSLeon SDSLeon commented May 23, 2026

Type: Bugfix

  • Refine Claude capabilities and composer settings: Restricts "auto" approval policies to compatible Claude models, adds "max" effort level support for Sonnet, and ensures default context sizes are applied reliably when switching models.
  • Prevent stale binary resolution errors: Validates cached agent executable paths before usage to prevent node-pty from failing with opaque spawn errors when temporary login shells are cleaned up.
  • Improve runtime session environment safety: Restricts PTY environments to use sanitized processes instead of exposing raw host environment variables.

- Filter the auto approval policy to supported Claude models and define a safe fallback
- Apply the default context size when patching composer settings on model change
- Validate cached agent executables exist and are runnable to prevent opaque spawn errors
- Enable the "max" effort setting for the Claude "sonnet" model in detection and probe
- Use the sanitized process environment when initializing the PTY session environment
@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment May 23, 2026 8:55pm

@SDSLeon SDSLeon merged commit 3315ef3 into master May 23, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/merry-zebra branch May 23, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant