Skip to content

Count completed Pace turns locally with consent - #258

Merged
sarthakagrawal927 merged 5 commits into
mainfrom
agent/pace-local-outcomes
Nov 29, 2026
Merged

sarthakagrawal927 merged 5 commits into
mainfrom
agent/pace-local-outcomes

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

Adds default-off daily totals for screen answers and confirmed single actions. The Privacy panel displays the rolling week. Refs #256.

@sarthakagrawal927
sarthakagrawal927 marked this pull request as ready for review November 29, 2026 15:33
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T15:35:26.800303Z a01d162 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment on lines +3361 to +3365
let confirmedSingleAction =
isFirstStep
&& PaceCompletedTurnCounter.isConfirmedSingleAction(
plan: actionParseResult.executionPlan, observations: toolObservations)
completedCoreTurn = answeredFromScreen || confirmedSingleAction

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

@sarthakagrawal927
sarthakagrawal927 merged commit a73ea81 into main Nov 29, 2026
6 checks passed
@sarthakagrawal927
sarthakagrawal927 deleted the agent/pace-local-outcomes branch November 29, 2026 15:40
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