Skip to content

Budget-Aware Task Orchestration#278

Open
nathanwhitbot wants to merge 1 commit into
nathanwhit:mainfrom
nathanwhitbot:codex/aged-ea06c9c6-dbc
Open

Budget-Aware Task Orchestration#278
nathanwhitbot wants to merge 1 commit into
nathanwhit:mainfrom
nathanwhitbot:codex/aged-ea06c9c6-dbc

Conversation

@nathanwhitbot

Copy link
Copy Markdown
Collaborator

Summary

  • Adds optional task budget fields for worker-turn and replan-turn limits across task creation, MCP schema, and web API types.
  • Normalizes budget input into task metadata and includes budget context in scheduler and replanner prompt payloads.
  • Adds service-side budget guards before initial worker launch and dynamic replanning, including budget status reporting and preserving existing PR/external wait behavior.

Validation

  • go test ./internal/orchestrator ./internal/httpapi ./internal/core

@nathanwhit nathanwhit left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the budget-aware orchestration change. Budget metadata is normalized from API and MCP inputs, included in initial and replan prompts, and enforced before initial and dynamic worker scheduling. The exhausted-budget path preserves a usable candidate when one exists and asks for steering when it does not. CI is green.

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.

2 participants