Make Codex runtime verification authoritative for availability and repair#1553
Draft
mt-hub8 wants to merge 2 commits into
Draft
Make Codex runtime verification authoritative for availability and repair#1553mt-hub8 wants to merge 2 commits into
mt-hub8 wants to merge 2 commits into
Conversation
Signed-off-by: man tuo <2428184991@qq.com>
mt-hub8
force-pushed
the
fix/codex-runtime-verification
branch
from
July 23, 2026 07:07
816a31a to
180cede
Compare
Signed-off-by: man tuo <2428184991@qq.com>
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
Fix Codex CLI false-negative detection for Bun and other non-standard installations.
Problem
Codex availability and repair flows relied on npm-specific platform package layout checks.
Working installations could be incorrectly reported as unavailable when their package layout did not match the expected npm structure.
Solution
Use Codex runtime capability verification (
codex app-serverprobe) as the source of truth.Package layout validation is kept only as diagnostic information when runtime verification fails.
Validation
Passed:
go test ./services/tuttid/service/agentstatus/...go build ./services/tuttid/...pnpm check:changed -- --push-ready --base upstream/mainCovered scenarios: