Open
Conversation
Add a higher-order OODA loop that orchestrates multiple autoresearch instances toward business goals. The executive generates program.md files (autoresearch's control surface), monitors results.tsv, detects plateaus, cross-pollinates insights between instances, and makes portfolio-level decisions (spawn/kill/redirect/escalate). New files: - executive.js: CLI entry point for v2 - lib/autoresearch.js: Adapter for Karpathy's autoresearch (workspace setup, program.md generation, results.tsv parsing, hub API client, plateau detection) - lib/executive-loop.js: Meta-OODA cycle over instances - lib/instance-manager.js: Spawn/monitor/steer/kill autoresearch agents - lib/hub.js: Central coordination hub (file-based + agenthub API) - lib/mission.js: LLM-powered goal decomposition into research tracks - examples/executive.config.js: ML optimization portfolio example - examples/executive.generalized.config.js: Full-stack product optimization v1 ooda.js unchanged — fully backwards compatible. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a higher-order OODA loop that sits above Karpathy's autoresearch instances and manages them as a portfolio toward business goals.
program.mdand git branchprogram.md(the control surface), parsesresults.tsv, detects plateaus, connects to agenthub APIprogram.mdfilesComplex use cases this now enables
New files
executive.js— CLI entry pointlib/autoresearch.js— Autoresearch adapter (workspace, program.md, results.tsv, hub API)lib/executive-loop.js— Meta-OODA cyclelib/instance-manager.js— Instance lifecycle managementlib/hub.js— Coordination hublib/mission.js— Goal decompositionexamples/executive.config.js— ML optimization portfolioexamples/executive.generalized.config.js— Full-stack product optimizationv1
ooda.jsunchanged — fully backwards compatible.Test plan
node executive.js --helpshows usagenode executive.js --dry-rundecomposes goals into tracks without spawningnode executive.js --agent=claude-codespawns autoresearch instances with Claudenode executive.js --statusreads hub state and shows portfolionode ooda.js --helpnode -e "require('./file')"syntax check🤖 Generated with Claude Code