Skip to content

Keep due monitor polling out of autonomous replan instructions - #10116

Open
huangruiteng wants to merge 1 commit into
mainfrom
codex/replan-monitor-work-lane
Open

huangruiteng wants to merge 1 commit into
mainfrom
codex/replan-monitor-work-lane

Conversation

@huangruiteng

Copy link
Copy Markdown
Collaborator

Behavior

When a monitor is due during an autonomous replan, the quota response currently tells the agent to poll it. The same response binds the turn to the replan, so recording that poll fails with heartbeat_receipt_identity_conflict. A host following both instructions can perform an external read it cannot record.

This change omits the competing poll instruction from the final work-lane projection. The Todo summary still reports the due monitor and the replan keeps its original settlement identity. A monitor-bound turn can still poll, and an advancement turn retains its optional monitor context. The existing typed decision selects the route. Scheduling and receipt validation continue to use the same owners.

Verification

  • Reproduced the contradictory instructions on the base revision using the public quota CLI and an isolated SQLite goal.
  • The regression covers initial admission, replay of the same identity, rejection of a mismatched poll and readback of the original due time.
  • Independently checked a genuine monitor turn through poll settlement and a separate advancement turn with an auxiliary monitor.
  • The six focused suites passed (57 tests). Standard diff-based premerge passed, including 10 catalog and 8 risk-profile checks.

Signed-off-by: huangruiteng <huangrt01@163.com>

This branch has not been deployed

No deployments
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