Commit Graph

4577 Commits

Author SHA1 Message Date
Eric Traut
7a08d53b2d codex: address PR review feedback (#17380) 2026-04-12 14:00:06 -07:00
Eric Traut
35250b86b5 Remove delayed codex queue support 2026-04-12 14:00:06 -07:00
Eric Traut
c3582c8d9d Simplify injected message envelopes 2026-04-12 14:00:06 -07:00
Eric Traut
f2b9318ea1 Remove timer chatwidget tests 2026-04-12 14:00:06 -07:00
Eric Traut
d0fa8a1292 Document cross-instance timer delivery claims 2026-04-12 14:00:06 -07:00
Eric Traut
be227df76e Restore best-effort archive delivery cleanup 2026-04-12 14:00:06 -07:00
Eric Traut
a68c825911 codex: address PR review feedback (#17380) 2026-04-12 14:00:06 -07:00
Eric Traut
056135fa05 codex: fix CI failure on PR #17380 2026-04-12 14:00:06 -07:00
Eric Traut
668325efde codex: address PR review feedback (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
c2b92ccf40 Harden timer integration test waits 2026-04-12 14:00:05 -07:00
Eric Traut
bb13e4a0d1 codex: enforce timer db cap in core (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
2874c0fdac codex: enforce queue timer limit (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
517cfb769e codex: use literal windows timer ignore reason (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
c7968f0ead codex: clean up queue rows for archived threads (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
8211c56154 codex: stabilize queued mail pending input test (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
667d2a2d95 codex: keep timer runtime on delete failure (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
b6ab1b1e5f codex: avoid windows timer integration timeout (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
fc6dd9bb00 codex: stabilize timer integration tests (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
520e3b091e codex: stabilize resume timer history regression (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
6fe44104f3 codex: restore timers after resume history replay (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
108679a91f codex: respect ephemeral timer storage mode (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
548b035edc codex: stabilize queued message timer tests (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
4f33051313 codex: address recurring timer message starvation (#17380) 2026-04-12 14:00:05 -07:00
Eric Traut
dfb83d6a4c codex: address recurring timer restart review (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
529b855d60 codex: fix overdue one-shot timer claim on restart (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
9976a36c39 codex: stabilize queued message timer test (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
70edc61fde codex: fix timer runtime clippy lint (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
b4f738def9 codex: stabilize queued message timer ordering (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
b19709c649 codex: preserve exhausted schedule restore state (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
0d00ec0f8d codex: delete exhausted recurring timers (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
5bdc7b59c6 codex: fix state argument lint (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
15bfff63f3 codex: validate queue thread names (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
86361563a2 codex: fix timer tool argument lint (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
08554a2378 codex: address queue and timer race feedback (#17380) 2026-04-12 14:00:04 -07:00
Eric Traut
6e0ba130a7 codex: prevent idle timer message starvation (#17380) 2026-04-12 14:00:03 -07:00
Eric Traut
77a7287eeb codex: fix core timer test lint (#17380) 2026-04-12 14:00:03 -07:00
Eric Traut
d5641c3aef codex: fix queue argument lint (#17380) 2026-04-12 14:00:03 -07:00
Eric Traut
e03b0f8214 codex: address PR review feedback (#17380) 2026-04-12 14:00:03 -07:00
Eric Traut
cbe466866c Split timer and queued message flags 2026-04-12 14:00:03 -07:00
Eric Traut
2a6526c9fd Clear delivery state when archiving threads 2026-04-12 13:59:43 -07:00
Eric Traut
416d2e5fc3 Fix queue subcommand parsing 2026-04-12 13:59:43 -07:00
Eric Traut
05e49afbcf Remove unrelated branch churn 2026-04-12 13:59:43 -07:00
Eric Traut
b60311ab2a Remove queue message tool 2026-04-12 13:59:42 -07:00
Eric Traut
1460cc5ff5 Remove unrelated TUI app changes 2026-04-12 13:59:42 -07:00
Eric Traut
919e68003f Refine queued message delivery 2026-04-12 13:59:42 -07:00
Eric Traut
54f5a4b0fa Add thread message delivery 2026-04-12 13:59:42 -07:00
Francis Chalissery
720932ca3d [codex] Support flattened deferred MCP tool calls (#17556)
## Summary
- register flattened handler aliases for deferred MCP tools
- cover the node_repl-shaped deferred MCP call path in tool registry
tests

## Root Cause
Deferred MCP tools were registered only under their namespaced handler
key, e.g. `mcp__node_repl__:js`. If the model/bridge emitted the
flattened qualified name `mcp__node_repl__js`, core parsed it as an MCP
payload but dispatch looked up the flattened handler key and returned
`unsupported call` before reaching the MCP handler.

## Validation
- `just fmt`
- `cargo test -p codex-tools
search_tool_registers_deferred_mcp_flattened_handlers`
- `cargo test -p codex-core
search_tool_registers_namespaced_mcp_tool_aliases`
- `git diff --check`
2026-04-12 13:19:36 -07:00
Ahmed Ibrahim
4db60d5d8b Budget realtime current thread context (#17519)
Select Current Thread startup context by budget from newest turns, cap
each rendered turn at 300 approximate tokens, and add formatter plus
integration snapshot coverage.
2026-04-12 11:59:09 -07:00
Won Park
3895ddd6b1 Clarify guardian timeout guidance (#17521)
## Summary
- update the guardian timeout guidance to say permission approval review
timed out
- simplify the retry guidance to say retry once or ask the user for
guidance or explicit approval

## Testing
- cargo test -p codex-core
guardian_timeout_message_distinguishes_timeout_from_policy_denial
- cargo test -p codex-core
guardian_review_decision_maps_to_mcp_tool_decision
2026-04-12 02:03:53 -07:00
Won Park
ba839c23f3 changing decision semantics after guardian timeout (#17486)
**Summary**

This PR treats Guardian timeouts as distinct from explicit denials in
the core approval paths.
Timeouts now return timeout-specific guidance instead of Guardian
policy-rejection messaging.
It updates the command, shell, network, and MCP approval flows and adds
focused test coverage.
2026-04-12 00:00:50 -07:00