Skip to content

Improve Long-Running Task Orchestration#275

Open
nathanwhitbot wants to merge 1 commit into
nathanwhit:mainfrom
nathanwhitbot:codex/aged-fbc7ac55-a62
Open

Improve Long-Running Task Orchestration#275
nathanwhitbot wants to merge 1 commit into
nathanwhit:mainfrom
nathanwhitbot:codex/aged-fbc7ac55-a62

Conversation

@nathanwhitbot

Copy link
Copy Markdown
Collaborator

Summary

Preserve durable loop iteration summaries in the task context ledger so later iterations receive compact continuity from prior loop turns. Durable loop task actions now render as durable_loop_iteration ledger entries with their iteration number, status, worker id, and summary, while failures, cancellations, waits, and explicitly high-value text still receive high priority.

This helps large, long-running objectives maintain working memory across bounded loop iterations without requiring every worker to use special summary keywords.

Validation

  • go test ./internal/orchestrator
  • go test ./...

@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 durable-loop iteration ledger entry change. The task.action handler now retains loop iteration summaries with iteration and worker context while still bounding routine entries through the existing ledger scoring path. 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