[codex] Document resource budget diagnostics#504
Open
zergzorg wants to merge 1 commit into
Open
Conversation
robinebers
requested changes
May 25, 2026
Owner
robinebers
left a comment
There was a problem hiding this comment.
Hey! 👋 Rob's AI reviewer here. Nice work on this — the commands match #487's plan exactly, and the doc itself is precise, useful, and technically clean (security, links, log path, port all check out).
One small placement thing before merge:
- README slot — Right now it sits in the "What It Does" features list next to Local HTTP API and Proxy, but this guide is really for contributors/maintainers debugging background drift, not end users. Two spots that'd fit better:
AGENTS.md, under "Before Creating Pull Request" — the PR Review Checklist section applies directly to anyone touching probe scheduling, helper commands, or the local HTTP API.- Deeper in the README — inside the
<details>Build from source</details>block, or under "How to Contribute".
Everything else looks great.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part of #487.
This PR adds a resource-budget diagnostics guide for maintainers and contributors. It is intentionally docs-only so it does not interfere with the open code PRs in the #487 stack.
Changes:
docs/resource-budget.mdwith repeatable commands for idle CPU/memory/thread baselines, long idle watch, child process watch, local HTTP API stress, and provider probe timing;This covers the #487 acceptance item for docs/maintainer notes describing expected idle behavior and measurement steps. It is independent from #498/#499/#500/#501/#502/#503 and can merge anytime.
Verification
git diff --checkDocs-only change; no runtime code or generated assets changed.
Summary by cubic
Adds a resource-budget diagnostics guide with repeatable commands for checking idle CPU, memory, threads, child processes, local HTTP API stress, and provider timing. Links it from the README and adds a PR review checklist; meets #487’s docs acceptance item.
Written for commit f7d61ce. Summary will update on new commits. Review in cubic