AINewsnow

Codex hooks give you no exit status for a shell command. Here is how I record it anyway and block "done" on stale test results.

This story is from 2026-09-03. It is preserved in the archive; the latest stories are on the live feed.

While adding Codex support to a tool I wrote, I found that the PostToolUse payload for a shell command is just the raw output. A command that exits 3 looks exactly like one that exits 0. The fix that works: the PreToolUse hook rewrites verification commands (pytest, pnpm test, tsc, eslint, cargo te…

Read the full story at r/ChatGPTCoding ↗

Timeline · 1 report

  1. 2026-09-03 05:22 · r/ChatGPTCoding
    Codex hooks give you no exit status for a shell command. Here is how I record it anyway and block "done" on stale test results.

More stories

  1. Introducing Kimi K3 on Amazon Bedrock — AWS Machine Learning Blog
  2. Introducing Amazon SageMaker HyperPod Inference Gateway — AWS Machine Learning Blog
  3. Anthropic, OpenAI, SpaceXAI, Google sued over call to ‘pace’ AI development — Politico Technology
  4. Gemini Hacked Three Companies in First Known Breakout by Google’s AI — Wall Street Journal Technology
  5. Alibaba ships Qwen3.8-Omni-Flash to watch, listen and call tools — r/LocalLLM
  6. NVIDIA CEO Jensen Huang rejects ‘AI will end the world’ claim, yet cautions ‘we should go as fast as we can but...’ — Mint AI
  7. Meet the Data Agent in ChatGPT Work — OpenAI YouTube
  8. AI hallucination of Chinese nuclear components almost led to US military attack — Ars Technica AI

Get the daily brief of stories like this at 6:30 every morning →