Skip to content

fix(autoresearch): stream GAN output live - #204

Merged
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/autoresearch-live-gan-output-0720
Jul 20, 2026
Merged

fix(autoresearch): stream GAN output live#204
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/autoresearch-live-gan-output-0720

Conversation

@FluffyAIcode

Copy link
Copy Markdown
Owner

Summary

  • replace hidden capture_output GAN execution with line-buffered live streaming
  • preserve Generator and Critic token output exactly
  • preserve Prefill progress, percentage, and ETA
  • preserve Goal Alignment and KV/decode/latency/E2E metrics
  • retain full output internally for run ID parsing and evaluator input
  • enforce the existing experiment timeout with a hard process-kill watchdog

Root cause

The supervisor captured the entire REPL subprocess in memory, so the original Terminal showed only AutoResearch phase lines until the experiment ended. Inference was running but all established GAN observability was hidden.

Tests

  • supervisor source contract rejects capture_output and requires Popen live tee
  • existing supervisor logic tests — 5 passed
  • full platform-neutral suite — 890 passed, 1 skipped
  • Python compile and diff checks pass

Made with Cursor

Tee the one-shot GAN subprocess directly to the original supervisor Terminal while retaining output for run parsing and fixed evaluation.

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 8cc6a1b 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