Skip to content

[codex] Add subtask support and lossless task config editing - #21

Merged
cunbidun merged 3 commits into
mainfrom
codex/cpcli-subtasks
Jul 28, 2026
Merged

cunbidun merged 3 commits into
mainfrom
codex/cpcli-subtasks

Conversation

@cunbidun

Copy link
Copy Markdown
Owner

What changed

  • preserves unknown task configuration data in both task editor write paths
  • normalizes legacy tasks to one implicit subtask
  • adds per-subtask generation, slow solutions, checkers, time limits, scoring, and dependencies
  • adds --subtask <name> focused runs and index-based test directories
  • exposes subtask enablement and test ownership in the Tauri editor
  • honors task-level language_config.default

Why

The task editor rebuilt configs from fixed whitelists, dropping keys such as language_config.default. The same fixed schema paths could not safely carry subtasks. The runner also needed one normalized execution path so legacy and subtask configs behave consistently.

Validation

  • nix build
  • 25 CTest tests, including a two-generator end-to-end subtask run
  • packaged Rust/Tauri round-trip tests
  • every config under competitive_programming/task/ parsed through normalization
  • scratch-prefix install and focused --subtask runs

The editor still rewrites TOML formatting/comments, but preserves configuration values and unknown schema extensions.

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@cunbidun
cunbidun marked this pull request as ready for review July 28, 2026 01:02
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@cunbidun
cunbidun merged commit 64094c3 into main Jul 28, 2026
0 of 2 checks passed
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