Skip to content

Constrain worker logs to session output directories#75

Merged
fazpu merged 1 commit into
mainfrom
codex/session-contained-worker-logs
May 26, 2026
Merged

Constrain worker logs to session output directories#75
fazpu merged 1 commit into
mainfrom
codex/session-contained-worker-logs

Conversation

@fazpu

@fazpu fazpu commented May 26, 2026

Copy link
Copy Markdown
Member

Summary

  • replace spawn_agent output_path with filesystem-safe worker_label
  • write worker stdout/stderr under the run session output directory
  • reject removed/path-like output fields and document the new log contract

Verification

  • uv run ruff format --check src
  • uv run ruff check src
  • uv run pyright src
  • uv run pytest src/tests/test_agent_tools.py src/tests/test_worker_sessions.py src/tests/test_harness.py -q

Note

  • Full uv run pytest src/tests -q currently has 2 unrelated console-rendering failures in test_stream_token_bold_rendering and test_stream_token_heading_rendering, both expecting Rich bold ANSI output.

@fazpu fazpu merged commit a1744ab into main May 26, 2026
3 checks passed
@fazpu fazpu deleted the codex/session-contained-worker-logs branch May 26, 2026 13:46
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