Skip to content

chore: actualiza DEFAULT_PROFILES a gpt-6 y Claude Opus 5.5 - #55

Merged
datacas merged 2 commits into
mainfrom
update-default-profiles
Sep 24, 2026
Merged

datacas merged 2 commits into
mainfrom
update-default-profiles

Conversation

@datacas

@datacas datacas commented Sep 23, 2026

Copy link
Copy Markdown
Owner

Resumen

Actualiza DEFAULT_PROFILES (scripts/router.py) a la familia gpt-6 de Codex y a Claude Opus 5.5.

Cambios

Perfil Antes Ahora
auxiliary_tool, coordinator, cheap_coder, deep_coder gpt-5.6-luna gpt-6-luna
reviewer, senior_reviewer, security gpt-5.6-terra gpt-6-sol
fallback de security claude-opus-5 claude-opus-5-5

No cambian los niveles de effort ni los targets de Sonnet 5 y Haiku 4.5.

  • Los tests, los ejemplos del README y cc-provider-bootstrap usan los nombres nuevos.
  • Entrada en CHANGELOG.md.

Compatibilidad

Telemetry acepta de serie los modelos de los perfiles. Un repositorio que siga usando gpt-5.6-* tiene que declararlo en profiles de su .code-cycle.yml. calibration.profiles.reviewer_b de este repo (gpt-5.6-terra) no se modifica porque es un candidato de calibración.

Verificación

  • python3 -m unittest discover -s tests -q: 595 pruebas correctas.
  • python3 scripts/validate-package.py: correcto.
  • No se lanzó ningún dispatch real con los modelos nuevos. La caché local de Codex lista gpt-6-luna (hasta max) y gpt-6-sol (hasta ultra).

@datacas

datacas commented Sep 24, 2026

Copy link
Copy Markdown
Owner Author

Initial review: PR #55

Verdict: CHANGES_REQUESTED. The model rename is correct and complete relative to the branch's own base (947f45e). The problem is that the branch is behind main by 6 commits (#54, #57–#61). It now conflicts with main, and after a trial merge 4 tests that arrived on main in the meantime fail, because they still use the old default model names.

Scope reviewed: the full diff from the merge base 947f45e to head f2dd7b2e5ab873a8fec6d48ef64c36bc430e5308: 13 files (scripts/router.py, README.md, CHANGELOG.md, skills/cc-provider-bootstrap/SKILL.md, 9 test modules). I also looked at the telemetry known-model set (scripts/telemetry.py _known_models, Telemetry._model_names), scripts/cycle.py add_known_models, and the Jev shadow model set.

Conventions applied: CONTRIBUTING.md. There is no AGENTS.md or CLAUDE.md. The comment is in English because CONTRIBUTING.md is in English, and the skill ranks the repository's instruction language above the PR's language.

Findings

[REV-001] · medium · open · blocks:yes — Branch conflicts with main and misses model references added there since the fork

GitHub reports mergeable: CONFLICTING, mergeStateStatus: DIRTY. On main, #61 and #59 added tests that pin the default profiles to gpt-5.6-terra / gpt-5.6-luna. Those names leave the default profiles in this PR, so they also leave telemetry's closed known-model set. I resolved the Jev conflict by taking main's side (it only needs the rename applied) and ran the suite on the merged tree. These failures come from this PR:

ERROR: test_cycle_outcomes_count_final_status_per_cycle (test_stats.StatsTests)
ERROR: test_cycle_without_closing_row_is_neither_finished_nor_failed (test_stats.StatsTests)
ERROR: test_unmeasured_model_drift_names_dispatches_without_a_model (test_stats.StatsTests)
  telemetry.TelemetryError: 'model_requested' must name a model this toolkit knows, not 'gpt-5.6-luna'.
FAIL: test_a_routed_review_is_told_the_values_its_run_line_must_carry (test_cycle.RoleWorkspacePolicyTests)
  ('reviewer', 'openai', 'gpt-5.6-terra', 'high') != ('reviewer', 'openai', 'gpt-6-sol', 'high')

The fix is to rebase onto main, then apply the same rename to the conflicting Jev assertion and to the three sites above. The Jev assertion expects a non-Jev model to be rejected, so either name works there. Re-run the full suite after that. Evidence: observed at runtime (trial merge plus unittest).

What checked out

  • Every DEFAULT_PROFILES target parses, and the efforts are ones Codex supports for these models. The local ~/.codex/models_cache.json lists gpt-6-luna with low…max (so max on deep_coder is valid) and gpt-6-sol with low…ultra (so high/max on the reviewers are valid).
  • No stale gpt-5.6-* or claude-opus-5 reference remains in the PR head's code, skills, or README. The ones left are intentional:
    • the reviewer_b calibration candidate in .code-cycle.yml, stated in the PR description;
    • the shape example in the scripts/telemetry.py comment and docs/instrumentation.md:448, which stays accurate;
    • historical planning notes in docs/Plan de instrumentación y routing.md.
  • Compatibility claim confirmed: Cycle.__init__ injects the models from a repository's declared profiles through Telemetry.add_known_models. A repository that keeps gpt-5.6-* in its .code-cycle.yml profiles still records them. The CHANGELOG entry documents this.
  • The Jev shadow model set (JEV_MODELS) is separate and unaffected.
  • PROFILE_COST is keyed by profile, not model, so relative cost estimates don't change. They were never calibrated per model anyway.

Security triage

This counts as a sensitive change. It touches the default routing for the read-only security profile, and it changes membership of telemetry's known-model set, which is a secret-leak guard. I audited both inline:

  • The security fallback is still an Anthropic target, and the read-only eligibility filter still never selects it. Only the model name changed.
  • The known-model set stays closed and built from DEFAULT_PROFILES. When it can't be built, it still fails closed (_known_models raises).
  • No new inputs, trust boundaries, or permissions.

Security-audit result: no vulnerabilities and no potential risks.

Commands executed

Command Tree Result
python3 scripts/validate-package.py PR head VALID: 13 skills … shared sections in sync
python3 -m unittest discover -s tests PR head 595 run, 1 failure (environmental, see below)
git merge --no-commit origin/main PR head conflict in tests/test_jev_shadow.py
python3 -m unittest discover -s tests trial merge with main 633 run, 2 failures, 3 errors (REV-001 plus the environmental one)
python3 scripts/validate-package.py trial merge with main VALID
python3 -m unittest tests.test_run_cycle.LocalOnlyPolicyTests origin/main in a linked worktree same failure
same primary checkout OK

test_local_only_rejects_the_live_repository fails only because I ran the suite from a linked git worktree. It fails identically on origin/main in a linked worktree and passes in the primary checkout, so it is not related to this PR.

Unverified

  • I did not run a real Codex or Claude dispatch against gpt-6-luna, gpt-6-sol, or claude-opus-5-5. The PR says the same. Model availability comes only from the local Codex model cache, not from an executed dispatch.

CI

Check Workflow State
Skills, manifests, and Bash installer Validate package (push) ✅ success
Skills, manifests, and Bash installer Validate package (pull_request) ✅ success
PowerShell installer Validate package (push) ✅ success
PowerShell installer Validate package (pull_request) ✅ success

All defined checks passed, but they ran against the PR head on its old base. Because of the conflict, GitHub cannot build the merge ref, so no check has exercised the merge result that REV-001 breaks. Re-run CI after the rebase.

Residual risks

  • The gpt-6-* models and claude-opus-5-5 are untested in a real dispatch. The first production run after merge is the first real test.
  • Telemetry rows already stored under gpt-5.6-* stay readable. After this change, though, a new model_resolved of gpt-5.6-* from a repository that did not declare it will be recorded as mismatch_unrecognized instead of mismatch_known. That is expected under the CHANGELOG's compatibility note.
  • The reviewer_b calibration candidate (gpt-5.6-terra) no longer matches the production reviewer (gpt-6-sol). The calibration then compares a model production doesn't use. The PR states this choice.

Verdict: CHANGES_REQUESTED. Blocking finding: REV-001.

auxiliary_tool, coordinator, cheap_coder and deep_coder use gpt-6-luna;
reviewer, senior_reviewer and security use gpt-6-sol; the security
fallback is claude-opus-5-5. Efforts and Sonnet/Haiku targets are
unchanged. Tests, README and bootstrap examples follow the new names.
@datacas
datacas force-pushed the update-default-profiles branch from f2dd7b2 to 1802ec5 Compare September 24, 2026 08:30
@datacas

datacas commented Sep 24, 2026

Copy link
Copy Markdown
Owner Author

Review resolution: PR #55

Functional status: RESOLVED

[REV-001] · medium · resolved · blocks:yes — Branch conflicts with main and misses model references added there since the fork

Decision: Valid; resolved at HEAD 1802ec5e2238d4c2c4b3d47c93cb668749982a15.

Rebased the PR branch onto current main. Preserved the Jev shadow assertions added on main and updated the stale default-model expectations in tests/test_jev_shadow.py, tests/test_cycle.py, and tests/test_stats.py. Fix commit: 1802ec5 (fix: update model expectations after rebase).

Verification: python3 -m unittest discover -s tests -q passed (633 tests). python3 scripts/validate-package.py passed. The delegated accumulated-diff code review found no findings. The security review found no confirmed vulnerabilities; read-only role policy is unchanged.

CI: All four post-push checks passed: both PowerShell installer runs and both Skills, manifests, and Bash installer runs.

Residual risk: No live Codex or Claude dispatch was run against the renamed models.

@datacas

datacas commented Sep 24, 2026

Copy link
Copy Markdown
Owner Author

Re-review: PR #55

Verdict: APPROVED. REV-001 is fixed and verified by running the tests, no new findings came up, and all CI checks passed on the current head.

  • Previous review: head f2dd7b2e5ab873a8fec6d48ef64c36bc430e5308 (initial review)
  • This review: head 1802ec5e2238d4c2c4b3d47c93cb668749982a15, base main at fd36f06, which is now also the merge base

Conventions applied: CONTRIBUTING.md. There is no AGENTS.md or CLAUDE.md. The comment is in English, the language of CONTRIBUTING.md.

What changed since the previous review

  • Rebased onto main. The branch was rebased, and the original commit became 327e89e. git range-diff 947f45e..f2dd7b2 origin/main..327e89e shows only context drift: the CHANGELOG neighbour and test hunk headers. The rename itself did not change.

  • New fix commit 1802ec5. It renames the four default-model expectations that arrived on main in the meantime:

    • tests/test_cycle.py:348 and tests/test_cycle.py:351 → gpt-6-sol
    • tests/test_stats.py:290 → gpt-6-luna
    • the Jev negative assertion in tests/test_jev_shadow.py → gpt-6-luna

    It keeps the extra Jev assertions from main.

I re-reviewed the whole diff from the merge base: 13 files, +108/−97.

Previous findings

[REV-001] · medium · resolved · blocks:yes — Branch conflicts with main and misses model references added there since the fork

This is fixed and verified by running the tests.

  • GitHub reports mergeable: MERGEABLE, mergeStateStatus: CLEAN.
  • The full suite on the head passes. The three test_stats errors and the test_cycle failure from the previous review are gone.
  • No gpt-5.6-* or claude-opus-5 default-model reference remains in scripts/, tests/, skills/, or README.md. The only exceptions are the two intentional ones from the previous review:
    • the reviewer_b calibration candidate in .code-cycle.yml;
    • the shape example in the comment at scripts/telemetry.py:336.

New findings

None.

Security triage

This is still a sensitive change, because it sets the default routing for the read-only security profile and the membership of telemetry's known-model set. The rebase and the fix commit only touch test expectations. The findings from the previous audit therefore still hold:

  • the read-only eligibility filter is unchanged;
  • the known-model set still fails closed;
  • there are no new inputs or trust boundaries.

Security-audit result: no vulnerabilities and no potential risks.

Verification

Command Tree Result
python3 scripts/validate-package.py 1802ec5 VALID: 13 skills … shared sections in sync
python3 -m unittest discover -s tests 1802ec5 633 run, 1 failure (environmental, see below)
git range-diff 947f45e..f2dd7b2 origin/main..327e89e — rename unchanged by the rebase

The one failure is test_local_only_rejects_the_live_repository. It fails only because I ran the suite from a linked git worktree; the previous review showed it fails the same way on origin/main in a linked worktree. The resolution comment reports that all 633 tests pass in the primary checkout, and CI's unit-test step passed on this head, which is consistent with that.

Unverified

  • I did not run a real Codex or Claude dispatch against gpt-6-luna, gpt-6-sol, or claude-opus-5-5. Model availability comes only from the local Codex model cache.

CI (head 1802ec5)

Check Workflow (event) State
Skills, manifests, and Bash installer Validate package (push) ✅ success
Skills, manifests, and Bash installer Validate package (pull_request) ✅ success
PowerShell installer Validate package (push) ✅ success
PowerShell installer Validate package (pull_request) ✅ success

Both runs are on 1802ec5, and they include the full unit suite on Linux and Windows. No expected gate is missing, pending, or skipped.

Residual risks

  • The new model targets have not been tested in a real dispatch.
  • The reviewer_b calibration candidate (gpt-5.6-terra) no longer matches the production reviewer (gpt-6-sol). The PR states this choice.
  • A repository that did not declare gpt-5.6-* will now record a resolved gpt-5.6-* model as mismatch_unrecognized. The CHANGELOG documents this.

Verdict: APPROVED. No blocking findings are open. Ready for manual merge.

@datacas
datacas merged commit ec68104 into main Sep 24, 2026
4 checks passed
@datacas
datacas deleted the update-default-profiles branch September 24, 2026 09:21
datacas added a commit that referenced this pull request Sep 24, 2026
… state (#64)

* chore: move calibration reviewer_b to gpt-6-sol

Keep the reviewer_b calibration candidate on the model the default
reviewer profile now uses (#55), and say in the comment that the
comparison asks whether reviewer_a could replace it.

* chore: ignore local tool state directories

.serena/ and .local/ hold per-developer tool state (Serena project
cache, local state) and never belong in the repository.
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