Repository navigation
Count completed Pace turns locally with consent - #258
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a01d162d3e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| let confirmedSingleAction = | ||
| isFirstStep | ||
| && PaceCompletedTurnCounter.isConfirmedSingleAction( | ||
| plan: actionParseResult.executionPlan, observations: toolObservations) | ||
| completedCoreTurn = answeredFromScreen || confirmedSingleAction |
There was a problem hiding this comment.
Preserve confirmed single actions across planner continuation steps
For a planner with usesStructuredActionOutput == false, a first-step action without [DONE] continues the loop even when its observation has confirmedAction == true. If the next step simply confirms completion, this check sees isFirstStep == false and an empty action plan, so the successful turn is never counted. This affects supported actions such as opening an app or setting text when they take the planner route rather than the deterministic fast path. Track the action count and confirmation across the whole turn, then evaluate eligibility when the loop finishes, so one-action turns are counted independently of whether the planner needs a final narration step.
Useful? React with 👍 / 👎.
Adds default-off daily totals for screen answers and confirmed single actions. The Privacy panel displays the rolling week. Refs #256.