Skip to content

Make Codex runtime verification authoritative for availability and repair#1553

Draft
mt-hub8 wants to merge 2 commits into
tutti-os:mainfrom
mt-hub8:fix/codex-runtime-verification
Draft

Make Codex runtime verification authoritative for availability and repair#1553
mt-hub8 wants to merge 2 commits into
tutti-os:mainfrom
mt-hub8:fix/codex-runtime-verification

Conversation

@mt-hub8

@mt-hub8 mt-hub8 commented Jul 23, 2026

Copy link
Copy Markdown

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-server probe) 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/main

Covered scenarios:

  • Bun hoisted Codex installation
  • Missing platform package repair
  • Generic app-server launch failure

Signed-off-by: man tuo <2428184991@qq.com>
@mt-hub8
mt-hub8 force-pushed the fix/codex-runtime-verification branch from 816a31a to 180cede Compare July 23, 2026 07:07
Signed-off-by: man tuo <2428184991@qq.com>
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