Skip to content

fix(autoresearch): deploy current worker before proposal - #203

Merged
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/autoresearch-predeploy-before-proposal-0720
Jul 20, 2026
Merged

fix(autoresearch): deploy current worker before proposal#203
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/autoresearch-predeploy-before-proposal-0720

Conversation

@FluffyAIcode

Copy link
Copy Markdown
Owner

Summary

  • deploy and verify the current candidate before invoking the real Gemma Strategy Agent
  • clear Primary cache after predeployment
  • keep proposal generation inside the hard-fail restore boundary
  • redeploy and clear again after a proposed candidate changes runtime configuration
  • add visible lifecycle phase output to the original supervisor Terminal

Root cause

The first real supervisor called Strategy Agent Prefill before any deployment. allens was still running a stale pre-window-aware process and rejected the prompt with the recurring 1.0924GB estimate. Proposal happened outside the try/restore block, so no preflight remediation ran.

Tests

  • source-order contract verifies deployment precedes proposal
  • lifecycle phase output contract
  • supervisor candidate/results/baseline tests — 6 passed
  • full platform-neutral suite — 889 passed, 1 skipped
  • Python compile and diff checks pass

Made with Cursor

Predeploy and verify the current candidate before Strategy Agent inference so stale worker code cannot reject the proposal Prefill before experiment orchestration begins.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 20, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@FluffyAIcode
FluffyAIcode merged commit 292fdcd into main Jul 20, 2026
7 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.

1 participant