Skip to content

feat(0132-SetupLaunchJobBreakaway): --spawn CREATE_BREAKAWAY_FROM_JOB - #134

Merged
Ryan-AI-Studios merged 1 commit into
mainfrom
feature/0132-SetupLaunchJobBreakaway
Aug 24, 2026
Merged

feat(0132-SetupLaunchJobBreakaway): --spawn CREATE_BREAKAWAY_FROM_JOB#134
Ryan-AI-Studios merged 1 commit into
mainfrom
feature/0132-SetupLaunchJobBreakaway

Conversation

@Ryan-AI-Studios

@Ryan-AI-Studios Ryan-AI-Studios commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

NT blockout-open-setup --spawn now ORs CREATE_BREAKAWAY_FROM_JOB (getattr + 0x01000000) so GUI Blender survives agent Job Objects that KILL_ON_JOB_CLOSE. Fail-closed setup_spawn_failed (optional details.winerror); no silent retry. POSIX start_new_session unchanged. MCP catalog stay 53. No remake/D7.

Why

DETACHED_PROCESS only severs the console — children still inherit the parent Job. Agent shells then tear down Blender when meshops exits (0110 leftover).

Honesty (N6)

Setup launch only — not mesh or print success (SETUP_LAUNCH_HONESTY).

Tests

  • T12 NT: helper equality + independent flags & 0x01000000 + bitwise no-CREATE_NO_WINDOW
  • T12c getattr pin (CI-green)
  • T12d single Popen + winerror details
  • Four gates via ledgerful verify PASS locally

Note

Low Risk
Narrow Windows process-creation flag change for optional GUI spawn; no auth, mesh, or catalog changes. POSIX path is untouched.

Overview
Windows --spawn for blockout-open-setup now ORs CREATE_BREAKAWAY_FROM_JOB so GUI Blender is not killed when an agent shell’s Job Object closes (KILL_ON_JOB_CLOSE). Detached + new process group stay; POSIX start_new_session is unchanged.

Spawn failures still fail closed as setup_spawn_failed with no retry, and optional details.winerror is attached when present. Tests pin the breakaway bit via getattr (POSIX-safe) and a single Popen call.

Reviewed by Cursor Bugbot for commit cffbd6f. Bugbot is set up for automated code reviews on this repo. Configure here.

NT blockout-open-setup --spawn ORs CREATE_BREAKAWAY_FROM_JOB (getattr +
0x01000000) so GUI Blender survives agent Job Objects. Fail-closed
setup_spawn_failed with details.winerror; no silent retry. MCP stay 53.
@Ryan-AI-Studios
Ryan-AI-Studios merged commit f7e6e99 into main Aug 24, 2026
3 checks passed
@Ryan-AI-Studios
Ryan-AI-Studios deleted the feature/0132-SetupLaunchJobBreakaway branch August 24, 2026 10:29
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