Skip to content

refactor(agent): retire legacy no-op config fields - #243

Merged
JHWang-1997 merged 2 commits into
mainfrom
refactor/retire-unused-agent-fields
Sep 16, 2026
Merged

JHWang-1997 merged 2 commits into
mainfrom
refactor/retire-unused-agent-fields

Conversation

@zpzjzj

@zpzjzj zpzjzj commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • keep engine.entry and engine.model.params loadable in v1alpha1 YAML, but drop them at the resolved-agent boundary with migration warnings
  • remove the unused fields from resolved, capability, adapter, judge-inheritance, and reporting paths
  • stop expanding environment references inside ignored model params
  • document supported replacements and update stale proposal snippets

Why

Both fields have existed since the initial public schema but have never been consumed by an adapter. Carrying them through runner, judge, and capability layers made requested configuration look like supported runtime behavior and would compound Judge Agent configuration ambiguity.

engine.entry should use engine.custom.local.command and args; adapter options should use engine.kwargs or engine.custom.kwargs.

Compatibility

Existing v1alpha1 YAML still parses. A loader test covers the historical fields, while resolution tests cover warnings and ensure they do not reach adapters.

Part of #196. This PR does not introduce independent Judge Agent configuration or agent-native config ownership.

Verification

  • go test -race ./internal/config ./internal/credential ./internal/agent ./internal/runner
  • make verify
  • make test
  • make test-action
  • make build
  • make e2e

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-14T02:48:56.782994Z 59fb369 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@zpzjzj
zpzjzj marked this pull request as draft September 14, 2026 01:54
@zpzjzj
zpzjzj marked this pull request as ready for review September 14, 2026 02:42
Comment thread CHANGELOG.md Resolved
@zpzjzj
zpzjzj requested a review from JHWang-1997 September 15, 2026 08:40
@JHWang-1997
JHWang-1997 added this pull request to the merge queue Sep 16, 2026
Merged via the queue into main with commit 724d4fb Sep 16, 2026
12 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