ductor icon indicating copy to clipboard operation
ductor copied to clipboard

[Feature]: Improve cron job support and UX for Codex `gpt-5.4`

Open viiccwen opened this issue 7 months ago • 2 comments

Problem or motivation

Cron jobs already support Codex execution internally, and the runtime can execute codex exec --model gpt-5.4 when the model is present in the Codex model cache. However, the cron job user experience currently makes this capability look unsupported or incomplete.

The main issues are:

  • cron_edit.py documentation suggests that provider/model/thinking settings can be updated in place, but the tool did not actually expose flags for editing provider, model, reasoning_effort, or cli_parameters.
  • Cron rule files and examples still recommend older Codex model names, which encourages users and agents to keep creating jobs with outdated defaults.
  • Because of the mismatch between runtime capability and user-facing tooling, cron jobs appear not to support modern Codex models such as gpt-5.4, even though the execution path itself already does.

This creates confusion, increases manual editing pressure on cron_jobs.json, and makes it harder to adopt newer Codex models for scheduled jobs.

Proposed solution

Bring the cron toolchain and cron documentation in line with the existing runtime capability.

Scope:

  • Add real in-place execution override editing to tools/cron_tools/cron_edit.py for:
    • --provider
    • --model
    • --reasoning-effort
    • --cli-parameters
    • matching --clear-* flags for removing those overrides
  • Update cron tool help text and examples to use gpt-5.4 as the primary Codex example for scheduled jobs.
  • Update cron-related rule files so agents guiding cron setup recommend current Codex models (gpt-5.4, gpt-5.4-mini) instead of older legacy defaults.
  • Add tests covering:
    • editing provider/model/reasoning overrides in place
    • clearing those overrides
    • validation of --cli-parameters JSON input

Expected outcome:

  • Users can create and update cron jobs for Codex gpt-5.4 without manual JSON edits.
  • Agent-facing guidance matches what the runtime already supports.
  • Cron job support for modern Codex models becomes explicit instead of implicit.

Alternatives considered

No response

Before submitting

  • [x] I have searched existing issues and feature requests for duplicates.

viiccwen avatar Apr 08 '26 08:04 viiccwen

Shipped in v0.16.0 via PR #98 (@viiccwen). Thanks for the original feature request; the Codex gpt-5.4 support and cron UX improvements landed cleanly. If anything's still rough after upgrading, please open a fresh issue.

PleasePrompto avatar Apr 21 '26 10:04 PleasePrompto

Shipped — landed via PR #98 (@viiccwen) in v0.16.0.

Thanks to @viiccwen for both the Codex gpt-5.4 integration and the cron UX improvements. Both landed cleanly. Closing this since PR #98 fixed it; if anything's still rough, open a fresh issue.

PleasePrompto avatar Apr 21 '26 10:04 PleasePrompto