Skip to content

Support allowed paths for scheduled workers#92

Merged
pmbstyle merged 1 commit into
mainfrom
codex/scheduled-worker-allowed-paths
May 14, 2026
Merged

Support allowed paths for scheduled workers#92
pmbstyle merged 1 commit into
mainfrom
codex/scheduled-worker-allowed-paths

Conversation

@pmbstyle
Copy link
Copy Markdown
Owner

Summary

  • add allowed_paths support to schedule_task for worker-mode scheduled jobs
  • pass stored or inferred workspace allowlists into scheduled worker dispatch
  • teach Octo to include workspace allowlists when creating worker schedules that need main-workspace files

Why

Scheduled workers run in isolated workspaces. When a scheduled worker needs to read or write a file from Octo's main workspace, the schedule needs to carry an explicit allowlist so the worker can access that path.

Validation

  • uv run ruff check src/octopal/runtime/workers/allowed_paths.py src/octopal/runtime/scheduler/service.py src/octopal/runtime/octo/scheduled_runtime.py src/octopal/tools/catalog.py src/octopal/tools/workers/management.py tests/test_scheduler_safety.py
  • uv run pytest tests/test_scheduler_safety.py tests/test_worker_router.py tests/test_parallel_worker_orchestration.py tests/test_worker_child_spawning.py -q

@pmbstyle pmbstyle self-assigned this May 14, 2026
@pmbstyle pmbstyle marked this pull request as ready for review May 14, 2026 23:13
@pmbstyle pmbstyle merged commit 93fd23c into main May 14, 2026
4 checks passed
@pmbstyle pmbstyle deleted the codex/scheduled-worker-allowed-paths branch May 14, 2026 23:13
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