Skip to content

Commit 4b770d3

Browse files
author
zenus
committed
chore: unify default codex model to gpt-5.4 xhigh
1 parent 124c1c3 commit 4b770d3

43 files changed

Lines changed: 122 additions & 138 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
"name": "humanize",
99
"source": "./",
10-
"description": "Humanize - An iterative development plugin that uses a Codex CLI worker (gpt-5.3-codex) for implementation and a separate Codex CLI analyzer/reviewer (gpt-5.2, non-codex) for independent review (cross-vendor style).",
10+
"description": "Humanize - An iterative development plugin that uses a Codex CLI worker (gpt-5.4) for implementation and a separate Codex CLI analyzer/reviewer (gpt-5.4, non-codex) for independent review (cross-vendor style).",
1111
"version": "1.11.3"
1212
}
1313
]

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "humanize",
3-
"description": "Humanize - An iterative development plugin that uses a Codex CLI worker (gpt-5.3-codex) for implementation and a separate Codex CLI analyzer/reviewer (gpt-5.2, non-codex) for independent review (cross-vendor style).",
3+
"description": "Humanize - An iterative development plugin that uses a Codex CLI worker (gpt-5.4) for implementation and a separate Codex CLI analyzer/reviewer (gpt-5.4, non-codex) for independent review (cross-vendor style).",
44
"version": "1.11.3",
55
"author": {
66
"name": "humania-org"

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ A Claude Code plugin that provides iterative development with Codex review. Huma
1515
## Core Philosophy
1616

1717
**Iteration over Perfection**: Instead of expecting perfect output in one shot, Humanize leverages an iterative feedback loop where:
18-
- Codex worker executes `coding` tasks (default: `gpt-5.3-codex:xhigh`)
19-
- Codex analyzer executes `analyze` tasks (default: `gpt-5.2:xhigh`, non-codex)
20-
- Codex reviewer independently reviews progress (default: `gpt-5.2:xhigh`, non-codex)
18+
- Codex worker executes `coding` tasks (default: `gpt-5.4:xhigh`)
19+
- Codex analyzer executes `analyze` tasks (default: `gpt-5.4:xhigh`, non-codex)
20+
- Codex reviewer independently reviews progress (default: `gpt-5.4:xhigh`, non-codex)
2121
- Issues are caught and addressed early
2222
- Work continues until all acceptance criteria are met
2323

@@ -103,7 +103,7 @@ HUMANIZE_CODEX_BYPASS_SANDBOX=true claude --plugin-dir /path/to/humanize
103103
```mermaid
104104
flowchart LR
105105
Plan["Your Plan<br/>(plan.md)"] --> Worker["Task Routing<br/>(coding->Codex Worker, analyze->Codex Analyzer)"]
106-
Worker --> Reviewer["Codex Reviews<br/>Summary (gpt-5.2, non-codex)"]
106+
Worker --> Reviewer["Codex Reviews<br/>Summary (gpt-5.4, non-codex)"]
107107
Reviewer -->|Feedback Loop| Worker
108108
Reviewer -->|COMPLETE| Review["Code Review<br/>(codex review)"]
109109
Review -->|Issues Found| Worker
@@ -112,8 +112,8 @@ flowchart LR
112112

113113
The loop has two phases:
114114
1. **Implementation Phase**: Execute tasks by tag, then Codex reviews summaries until COMPLETE
115-
- `coding` tag -> execute via `/humanize:codex-worker` (default: `gpt-5.3-codex:xhigh`)
116-
- `analyze` tag -> execute via `/humanize:ask-codex` (default: `gpt-5.2:xhigh`, non-codex)
115+
- `coding` tag -> execute via `/humanize:codex-worker` (default: `gpt-5.4:xhigh`)
116+
- `analyze` tag -> execute via `/humanize:ask-codex` (default: `gpt-5.4:xhigh`, non-codex)
117117
2. **Review Phase**: `codex review --base <branch>` checks code quality with `[P0-9]` severity markers
118118

119119
### Sub-Agent Cross-Review Protocol
@@ -176,7 +176,7 @@ OPTIONS:
176176
--track-plan-file Indicate plan file should be tracked in git (must be clean)
177177
--max <N> Maximum iterations before auto-stop (default: 42)
178178
--codex-model <MODEL:EFFORT>
179-
Codex model and reasoning effort (default: gpt-5.2:xhigh)
179+
Codex model and reasoning effort (default: gpt-5.4:xhigh)
180180
--codex-timeout <SECONDS>
181181
Timeout for each Codex review in seconds (default: 5400)
182182
--push-every-round Require git push after each round (default: commits stay local)
@@ -301,7 +301,7 @@ BOT FLAGS (at least one required):
301301
OPTIONS:
302302
--max <N> Maximum iterations before auto-stop (default: 42)
303303
--codex-model <MODEL:EFFORT>
304-
Codex model and reasoning effort (default: gpt-5.2:xhigh, non-codex)
304+
Codex model and reasoning effort (default: gpt-5.4:xhigh, non-codex)
305305
--codex-timeout <SECONDS>
306306
Timeout for each Codex review in seconds (default: 900)
307307
-h, --help Show help message
@@ -314,7 +314,7 @@ OPTIONS:
314314
315315
OPTIONS:
316316
--codex-model <MODEL:EFFORT>
317-
Codex model and reasoning effort (default: gpt-5.2:xhigh, non-codex)
317+
Codex model and reasoning effort (default: gpt-5.4:xhigh, non-codex)
318318
--codex-timeout <SECONDS>
319319
Timeout for the Codex query in seconds (default: 3600)
320320
-h, --help Show help message

agents/bitlesson-selector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You will receive:
1919
## Cross-Agent Review Context
2020

2121
- This agent markdown serves as the prompt specification for BitLesson selection.
22-
- Runtime execution happens via `scripts/bitlesson-select.sh`, which calls Codex CLI as `codex exec -m gpt-5.2 -c model_reasoning_effort=high`.
22+
- Runtime execution happens via `scripts/bitlesson-select.sh`, which calls Codex CLI as `codex exec -m gpt-5.4 -c model_reasoning_effort=xhigh`.
2323
- Your lesson selection will be consumed by Claude and can be reviewed by Codex in later rounds.
2424
- Return deterministic output so cross-agent review can validate your decision quickly.
2525

commands/gen-plan.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ Example: "The implementation includes core feature X with basic validation"
377377
## Task Breakdown
378378
379379
Each task MUST include exactly one routing tag generated by the planning agent:
380-
- `coding`: implemented by Codex worker (`/humanize:codex-worker`, default: `gpt-5.3-codex:xhigh`)
381-
- `analyze`: executed via Codex analyzer (`/humanize:ask-codex`, default: `gpt-5.2:xhigh`, non-codex)
380+
- `coding`: implemented by Codex worker (`/humanize:codex-worker`, default: `gpt-5.4:xhigh`)
381+
- `analyze`: executed via Codex analyzer (`/humanize:ask-codex`, default: `gpt-5.4:xhigh`, non-codex)
382382
383383
| Task ID | Description | Target AC | Tag (`coding`/`analyze`) | Depends On |
384384
|---------|-------------|-----------|----------------------------|------------|

commands/start-rlcr-loop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Execute the setup script to initialize the loop:
1616
This command starts an iterative development loop where:
1717

1818
1. You execute the implementation plan with task-tag routing
19-
- `coding` tasks: execute via `/humanize:codex-worker` (default: `gpt-5.3-codex:xhigh`)
20-
- `analyze` tasks: execute via `/humanize:ask-codex` (default: `gpt-5.2:xhigh`, non-codex)
19+
- `coding` tasks: execute via `/humanize:codex-worker` (default: `gpt-5.4:xhigh`)
20+
- `analyze` tasks: execute via `/humanize:ask-codex` (default: `gpt-5.4:xhigh`, non-codex)
2121
2. Write a summary of your work to the specified summary file
2222
3. When you try to exit, Codex reviews your summary
2323
4. If Codex finds issues, you receive feedback and continue

docs/install-for-codex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Or use the unified installer directly:
2525
This will:
2626
- Sync `humanize`, `humanize-gen-plan`, and `humanize-rlcr` into `${CODEX_HOME:-~/.codex}/skills`
2727
- Copy runtime dependencies into `${CODEX_HOME:-~/.codex}/skills/humanize`
28-
- Use RLCR defaults: `codex exec` with `gpt-5.2:xhigh`, `codex review` with `gpt-5.2:high`
28+
- Use RLCR defaults: `codex exec` with `gpt-5.4:xhigh`, `codex review` with `gpt-5.4:xhigh`
2929

3030
## Verify
3131

docs/install-for-kimi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Look for the "Skills" section in the help output.
141141
|--------|-------------|---------|
142142
| `path/to/plan.md` | Plan file path | Required (unless --skip-impl) |
143143
| `--max N` | Maximum iterations | 42 |
144-
| `--codex-model MODEL:EFFORT` | Codex model | gpt-5.2:xhigh |
144+
| `--codex-model MODEL:EFFORT` | Codex model | gpt-5.4:xhigh |
145145
| `--codex-timeout SECONDS` | Review timeout | 5400 |
146146
| `--base-branch BRANCH` | Base for code review | auto-detect |
147147
| `--full-review-round N` | Full alignment check interval | 5 |
@@ -163,7 +163,7 @@ Ensure you have `codex` CLI installed:
163163
codex --version
164164
```
165165

166-
The skills will use `gpt-5.2` with `xhigh` effort level by default.
166+
The skills will use `gpt-5.4` with `xhigh` effort level by default.
167167

168168
## Uninstall
169169

hooks/lib/loop-common.sh

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,14 @@ readonly FIELD_WORKTREE_TEAMS="worktree_teams"
4242
readonly FIELD_WORKTREE_ROOT="worktree_root"
4343
readonly FIELD_DELEGATION_ENFORCEMENT="delegation_enforcement"
4444

45-
# Default Codex configuration (single source of truth - all scripts reference this)
45+
# Default Codex configuration (single source of truth - all scripts reference this).
4646
# Both use :- so scripts can override before sourcing (e.g. PR loop sets different model/effort).
47-
#
48-
# Role split (hybrid: role-based defaults + runtime-aware worker model):
49-
# - Analyzer/Reviewer (DEFAULT_CODEX_MODEL): gpt-5.2 in all modes (always available)
50-
# - Worker/Implementer (DEFAULT_CODEX_WORKER_MODEL): runtime-aware
51-
# Claude Code plugin mode -> gpt-5.3-codex (available in plugin sandbox)
52-
# Skill mode (Codex/Kimi) -> gpt-5.2 (gpt-5.3-codex unavailable outside plugin)
53-
#
54-
# Detection: check BASH_SOURCE path for .claude/plugins/cache/ (CLAUDE_PLUGIN_ROOT is a
55-
# config-time template variable, not a runtime env var, so we cannot check it directly).
56-
DEFAULT_CODEX_MODEL="${DEFAULT_CODEX_MODEL:-gpt-5.2}"
47+
# Worker, analyzer, and reviewer now share the same non-codex default model.
48+
DEFAULT_CODEX_MODEL="${DEFAULT_CODEX_MODEL:-gpt-5.4}"
5749
DEFAULT_CODEX_EFFORT="${DEFAULT_CODEX_EFFORT:-xhigh}"
5850

5951
# Default worker configuration (used by /humanize:codex-worker).
60-
if [[ -z "${DEFAULT_CODEX_WORKER_MODEL:-}" ]]; then
61-
_LOOP_COMMON_SELF="${BASH_SOURCE[0]:-$0}"
62-
if [[ "$_LOOP_COMMON_SELF" == */.claude/plugins/cache/* ]]; then
63-
DEFAULT_CODEX_WORKER_MODEL="gpt-5.3-codex"
64-
else
65-
DEFAULT_CODEX_WORKER_MODEL="gpt-5.2"
66-
fi
67-
unset _LOOP_COMMON_SELF
68-
fi
52+
DEFAULT_CODEX_WORKER_MODEL="${DEFAULT_CODEX_WORKER_MODEL:-gpt-5.4}"
6953
DEFAULT_CODEX_WORKER_EFFORT="${DEFAULT_CODEX_WORKER_EFFORT:-xhigh}"
7054

7155
# Codex review markers

hooks/loop-codex-stop-hook.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ FULL_REVIEW_ROUND="${STATE_FULL_REVIEW_ROUND:-5}"
117117
REVIEW_STARTED="$STATE_REVIEW_STARTED"
118118
# RLCR mode split:
119119
# - codex exec uses state codex_model/codex_effort (from loop-common.sh defaults)
120-
# - codex review uses same model, with fixed effort "high"
120+
# - codex review uses the same model and effort for consistency
121121
CODEX_EXEC_MODEL="${STATE_CODEX_MODEL:-$DEFAULT_CODEX_MODEL}"
122122
CODEX_EXEC_EFFORT="${STATE_CODEX_EFFORT:-$DEFAULT_CODEX_EFFORT}"
123123
CODEX_REVIEW_MODEL="${STATE_CODEX_MODEL:-$DEFAULT_CODEX_MODEL}"
124-
CODEX_REVIEW_EFFORT="high"
124+
CODEX_REVIEW_EFFORT="${STATE_CODEX_EFFORT:-$DEFAULT_CODEX_EFFORT}"
125125
CODEX_TIMEOUT="${STATE_CODEX_TIMEOUT:-${CODEX_TIMEOUT:-$DEFAULT_CODEX_TIMEOUT}}"
126126
ASK_CODEX_QUESTION="${STATE_ASK_CODEX_QUESTION:-false}"
127127
AGENT_TEAMS="${STATE_AGENT_TEAMS:-false}"
@@ -1370,8 +1370,8 @@ append_task_tag_routing_note() {
13701370
## Task Tag Routing Reminder
13711371
13721372
Follow the plan's per-task routing tags strictly:
1373-
- `coding` task -> execute via `/humanize:codex-worker` (default: `gpt-5.3-codex:xhigh`)
1374-
- `analyze` task -> execute via `/humanize:ask-codex` (default: `gpt-5.2:xhigh`), then integrate the result
1373+
- `coding` task -> execute via `/humanize:codex-worker` (default: `gpt-5.4:xhigh`)
1374+
- `analyze` task -> execute via `/humanize:ask-codex` (default: `gpt-5.4:xhigh`), then integrate the result
13751375
- Keep Goal Tracker Active Tasks columns `Tag` and `Owner` aligned with execution
13761376
ROUTING_EOF
13771377
}

0 commit comments

Comments
 (0)