Skip to content

feat: add strong-exploration campaign mode#1

Merged
ccomkhj merged 7 commits into
mainfrom
feat/strong-exploration-mode
Apr 11, 2026
Merged

feat: add strong-exploration campaign mode#1
ccomkhj merged 7 commits into
mainfrom
feat/strong-exploration-mode

Conversation

@ccomkhj

@ccomkhj ccomkhj commented Apr 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add strong-exploration campaign mode with relaxed guardrails for aggressive parameter exploration
  • In this mode: revise_search allowed every round, no churn limit, no cooldown between narrow/widen
  • Exploration reset: when patience triggers in strong-exploration mode, the system auto-selects a new param subset (coverage-based, prioritizing untried params) and keeps going instead of terminating
  • Only hard stops (max_wall_time, max_rounds, target_score) terminate the campaign — patience just triggers a reset
  • Mode stored in CampaignConfig, persisted in DB, exposed via CLI (--mode) and MCP

Key Changes

  • src/agentune/core/models.pymode field on CampaignConfig
  • src/agentune/core/db.pymode column on campaigns, reset_number column on study_rounds
  • src/agentune/core/campaign.py — mode-aware guardrail bypass (eligibility, churn, cooldown)
  • src/agentune/runner.py — patience scoped by reset_number; auto-reset in strong-exploration
  • src/agentune/exploration.py — coverage-based param selection for resets
  • src/agentune/cli.py--mode flag

Test Plan

  • 248 tests passing, 0 failures
  • Unit tests for param selection coverage logic
  • Guardrail bypass tests (eligibility, churn, cooldown)
  • Auto-reset integration tests (patience triggers reset, not completion)
  • Standard mode regression (patience still terminates)
  • CLI smoke test with exploration reset

🤖 Generated with Claude Code

ccomkhj and others added 7 commits April 11, 2026 19:50
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…, cooldown)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…t field

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ccomkhj ccomkhj merged commit 9a5cb02 into main Apr 11, 2026
1 check passed
@ccomkhj ccomkhj deleted the feat/strong-exploration-mode branch April 11, 2026 18:02
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