Skip to content

Guard plan delegation ordering#4003

Merged
asim merged 1 commit into
masterfrom
codex/increment-4002
Jul 5, 2026
Merged

Guard plan delegation ordering#4003
asim merged 1 commit into
masterfrom
codex/increment-4002

Conversation

@asim

@asim asim commented Jul 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Refuse delegate tool calls while earlier task-creation plan steps are still unfinished, preventing notification side effects from running before required launch tasks.
  • Add deterministic coverage for the plan/delegate ordering guard.

Closes #3991
Closes #4002

Testing

  • go build ./...
  • go test ./agent -run TestPlanWrapBlocksDelegationUntilPriorPlanStepsFinish -count=1
  • go test ./agent -run 'TestPlanWrapBlocksDelegationUntilPriorPlanStepsFinish|TestAgentProviderConformanceMatrix/fake' -count=1\n- go test ./internal/harness/plan-delegate -run 'TestZeroToHeroContract|TestPlanDelegateRetriesAfterUnknownDelegateTool' -count=1\n- go test ./... (fails in environment: loopback targets forbidden for grpc tests; mdns registry isolation flake)\n- golangci-lint run ./...

@asim asim added the codex label Jul 5, 2026
@asim
asim merged commit f2096bf into master Jul 5, 2026
9 checks passed
@asim
asim deleted the codex/increment-4002 branch July 5, 2026 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Loop: build increment #73 harness: make AtlasCloud plan-delegate complete tasks before notification

2 participants