Skip to content

Fix MCP charging duration reports - #45

Merged
frahlg merged 1 commit into
mainfrom
codex/mcp-hold-duration-report
Oct 19, 2026
Merged

frahlg merged 1 commit into
mainfrom
codex/mcp-hold-duration-report

Conversation

@frahlg

@frahlg frahlg commented Oct 19, 2026

Copy link
Copy Markdown
Member

An FTW plugin test requested a 2,300 W charge for ten minutes. Core received a 600-second hold, but MCP labeled the command's 900-second lease as endsInSeconds. ChatGPT then reported a fifteen-minute charge.

Return requestedHoldSeconds for charging requests and name the acknowledgement deadline leaseExpiresInSeconds. Explain that the lease does not establish charging duration or measured power. Release calls report no requested hold. Commands, caps and Core enforcement stay unchanged. Production Go grows by ten net lines.

Validation: go vet ./..., go test -race ./..., go test -tags ftwclouddev ./..., and bash scripts/check-imports.sh passed. Regression coverage distinguishes a 600-second hold from a 900-second lease and checks release and acknowledgement-only responses. The real ChatGPT run remains failed pending deployment and retest.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T08:16:51.594298Z f460727 PR opened
ℹ️ 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.

@frahlg
frahlg merged commit 9eeb2d8 into main Oct 19, 2026
2 checks passed
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