Skip to content

Allow scheduled Octo self tasks#87

Merged
pmbstyle merged 1 commit into
mainfrom
harden-scheduled-octo-tasks
May 13, 2026
Merged

Allow scheduled Octo self tasks#87
pmbstyle merged 1 commit into
mainfrom
harden-scheduled-octo-tasks

Conversation

@pmbstyle
Copy link
Copy Markdown
Owner

Summary

  • Add octo_task as the default execution mode for scheduled Octo-owned tasks without a worker.
  • Route octo_task through the full Octo conversation/workspace path instead of the bounded control-plane path.
  • Migrate blocked no-worker octo_control tasks toward octo_task repairs while preserving octo_control for bounded maintenance.
  • Update scheduler/proactive repair prompts, tool schema, and regression coverage.

Why

Scheduled tasks that Octo should execute herself were being routed through octo_control, which is intentionally bounded and lacks the normal workspace/tool surface. That made legitimate self-work look blocked by route policy.

Validation

  • uv run ruff check src/octopal/runtime/octo/control_replies.py src/octopal/runtime/octo/core.py src/octopal/runtime/octo/router.py src/octopal/runtime/octo/scheduled_runtime.py src/octopal/runtime/octo/self_queue.py src/octopal/runtime/scheduler/service.py src/octopal/tools/catalog.py tests/test_scheduler_safety.py tests/test_router_tool_budget.py
  • uv run pytest -q tests/test_scheduler_safety.py tests/test_router_tool_budget.py
  • uv run pytest -q

@pmbstyle pmbstyle self-assigned this May 13, 2026
@pmbstyle pmbstyle marked this pull request as ready for review May 13, 2026 22:45
@pmbstyle pmbstyle merged commit 165e900 into main May 13, 2026
4 checks passed
@pmbstyle pmbstyle deleted the harden-scheduled-octo-tasks branch May 13, 2026 22:47
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