Skip to content

chore(codex): route sample roles to GPT-6 Sol and Luna - #3219

Merged
haelyra merged 1 commit into
affaan-m:mainfrom
nguyenphivn:codex/gpt6-role-routing
Oct 10, 2026
Merged

haelyra merged 1 commit into
affaan-m:mainfrom
nguyenphivn:codex/gpt6-role-routing

Conversation

@nguyenphivn

Copy link
Copy Markdown
Contributor

Summary

  • Route the sample Codex explorer and docs researcher roles to GPT-6 Luna at medium effort.
  • Route the sample reviewer to GPT-6 Sol at high effort.
  • Update Codex model recommendations and add a configuration regression test.

Verification

  • node tests/codex-config.test.js (6 passed)
  • node scripts/ci/validate-agents.js (68 agent files validated)
  • git diff --check

@ecc-tools

ecc-tools Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: 1aea78011ba649b329476751e58beba3fbe3f56f

Security scanner evidence required (action_required)

Detected 1 security-sensitive predictive risk signal(s) without scanner evidence.

Mode: enforce

Findings:

  • Security-sensitive changes may ship without scanner evidence: The PR touches billing, secrets, auth, webhooks, agent, or CI-sensitive surfaces without adding obvious security scanner, code scanning, or security-focused validation evidence. (3 security-sensitive paths changed; 0 security scanner or security-focused validation artifacts changed)

Touched security-sensitive paths:

  • .codex/agents/docs-researcher.toml
  • .codex/agents/explorer.toml

Expected evidence:

  • Security scanner, code scanning, secret scanning, dependency/security review, or focused security regression output.
  • SARIF/code-scanning upload or equivalent pass/fail gate for the changed surface.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: 1aea78011ba649b329476751e58beba3fbe3f56f

PR taxonomy review recommended (neutral)

Detected 5 PR taxonomy bucket(s): Security Evidence, Harness Drift, CI/CD Recommendation, Reference Set Validation, Agent Config Review.

Scanned 5 changed file(s).

Roadmap taxonomy buckets:

Security Evidence

Security-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence.

Signals:

  • Security-sensitive changes may ship without scanner evidence
  • 0 security-sensitive path(s) changed

Paths:

  • .codex/AGENTS.md
  • .codex/agents/docs-researcher.toml
  • .codex/agents/explorer.toml

Harness Drift

Harness-facing changes can drift across Claude Code, Codex, OpenCode, and shared adapter surfaces.

Signals:

  • Harness config changes may ship without compatibility evidence
  • 4 harness-facing path(s) changed

Paths:

  • .codex/AGENTS.md
  • .codex/agents/docs-researcher.toml
  • .codex/agents/explorer.toml
  • .codex/agents/reviewer.toml

CI/CD Recommendation

CI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work.

Signals:

  • 1 CI or workflow path(s) changed

Paths:

  • tests/codex-config.test.js

Reference Set Validation

AI, analyzer, skill, agent, command, and harness guidance changes should be compared against a maintained eval, golden trace, benchmark, or reference set.

Signals:

  • AI or harness analysis changes may ship without reference-set validation
  • 4 reference-sensitive path(s) changed

Paths:

  • .codex/AGENTS.md
  • .codex/agents/docs-researcher.toml
  • .codex/agents/explorer.toml
  • .codex/agents/reviewer.toml

Agent Config Review

Agent, command, skill, MCP, and local instruction changes should be reviewed as executable agent configuration.

Signals:

  • 4 agent-config path(s) changed

Paths:

  • .codex/AGENTS.md
  • .codex/agents/docs-researcher.toml
  • .codex/agents/explorer.toml
  • .codex/agents/reviewer.toml

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: 1aea78011ba649b329476751e58beba3fbe3f56f

Reference set readiness gaps detected (neutral)

Reference evidence present for 1/7 areas (14%) across 5 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Present .codex/AGENTS.md, .codex/agents/docs-researcher.toml, .codex/agents/explorer.toml
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: 1aea78011ba649b329476751e58beba3fbe3f56f

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 5 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Config Audit

Commit: 1aea78011ba649b329476751e58beba3fbe3f56f

No changed-config issues detected (success)

Scanned 1 config file(s) present at this commit across 4 changed config path(s) and found no issues in the supported security rules.

Changed config files:

  • .codex/AGENTS.md
  • .codex/agents/docs-researcher.toml
  • .codex/agents/explorer.toml
  • .codex/agents/reviewer.toml

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Harness Audit

Commit: 1aea78011ba649b329476751e58beba3fbe3f56f

No harness issues detected (success)

Scanned 4 changed config file(s) and found no harness issues.

Changed config files:

  • .codex/AGENTS.md
  • .codex/agents/docs-researcher.toml
  • .codex/agents/explorer.toml
  • .codex/agents/reviewer.toml

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@coderabbitai

coderabbitai Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Repository: affaan-m/ECC/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 08b6ce76-b931-45b8-886d-a6f3db9db33d

📥 Commits

Reviewing files that changed from the base of the PR and between bf70150 and 1aea780.

📒 Files selected for processing (5)
  • .codex/AGENTS.md
  • .codex/agents/docs-researcher.toml
  • .codex/agents/explorer.toml
  • .codex/agents/reviewer.toml
  • tests/codex-config.test.js
 ___________________________________________________________________
< Your feature is behind a flag. Your bug is already in production. >
 -------------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nguyenphivn
nguyenphivn deleted the codex/gpt6-role-routing branch September 23, 2026 03:14
@nguyenphivn
nguyenphivn restored the codex/gpt6-role-routing branch September 23, 2026 03:16
@nguyenphivn nguyenphivn reopened this Sep 23, 2026
@greptile-apps

greptile-apps Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

Safe to merge, with a non-blocking regression-test gap that should be improved in follow-up work.

Findings

  1. P2 Inactive configuration passes ▶
Fix with agent prompt
### Issue 1
tests/codex-config.test.js:124-131
These checks search raw TOML and Markdown text instead of validating active parsed settings and the expected recommendation. Commenting out every role model assignment or placing it in an inert TOML string still passes, and missing or incorrect GPT-4 guidance passes too. This is non-blocking, but it leaves the routing change without meaningful regression protection.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Summary

The Codex role-routing and recommendation updates are covered by a regression test, but that test can pass when the intended active configuration or guidance is absent. This is a non-blocking test-quality concern and does not make the change unsafe to merge.

Reviews (1) · Last reviewed commit: "chore(codex): route sample roles to GPT-..."

Comment on lines +124 to +131
assert.ok(roleConfig.includes(`model = "${model}"`), `${roleFile}: expected ${model}`);
assert.ok(
roleConfig.includes(`model_reasoning_effort = "${effort}"`),
`${roleFile}: expected ${effort} effort`,
);
}
const guidance = fs.readFileSync(path.join(repoRoot, '.codex', 'AGENTS.md'), 'utf8');
assert.ok(!/GPT 5\.5/.test(guidance), 'Expected model recommendations to be updated');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Inactive configuration passes

These checks search raw TOML and Markdown text instead of validating active parsed settings and the expected recommendation. Commenting out every role model assignment or placing it in an inert TOML string still passes, and missing or incorrect GPT-4 guidance passes too. This is non-blocking, but it leaves the routing change without meaningful regression protection.

Artifacts

Configuration assertion reproduction script

  • The script creates inactive-setting and incorrect-guidance variants, then runs the current regression test against each variant.

Configuration assertion reproduction output

  • The output shows all four invalid variants passed despite absent parsed model settings or missing and incorrect guidance.

View artifacts

T-Rex Ran code and verified through T-Rex

Prompt To Fix With AI
This is a comment left during a code review.
Path: tests/codex-config.test.js
Line: 124-131

Comment:
**Inactive configuration passes**

These checks search raw TOML and Markdown text instead of validating active parsed settings and the expected recommendation. Commenting out every role model assignment or placing it in an inert TOML string still passes, and missing or incorrect GPT-4 guidance passes too. This is non-blocking, but it leaves the routing change without meaningful regression protection.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@haelyra
haelyra merged commit b6416b0 into affaan-m:main Oct 10, 2026
2 of 3 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.

2 participants