Skip to content

feat: TB2 spike S1 adapter skeleton (#390) - #395

Merged
dahai80 merged 1 commit into
mainfrom
research/tb2-spike-skeleton
Nov 29, 2026
Merged

dahai80 merged 1 commit into
mainfrom
research/tb2-spike-skeleton

Conversation

@dahai80

@dahai80 dahai80 commented Nov 29, 2026

Copy link
Copy Markdown
Owner

First code for fusion-code#390 (companion to the design doc in #394): a Harbor BaseInstalledAgent subclass that runs the fusion-code binary inside TB2 task containers.

  • benchmarks/tb2/fusion_code_agent.py: binary fetched from a host-served URL, instruction passed via env var, engine routed over FUSION_MLX_BASE_URL with auth; mirrors harbor's built-in claude_code agent shape.
  • benchmarks/tb2/README.md: spike S1 checklist — host proxy reachability with auth (401/200 probe), binary serving, one task end-to-end, network-restriction census before freezing subset A20. No score claims, no parallelism.

Harbor is a bench-environment dependency only, never a fusion-code runtime dependency. Python compiles clean; harbor itself is not installed in this repo's venv, so the first live import happens on the spike machine.

🤖 Generated with Claude Code

Harbor BaseInstalledAgent subclass 'fusion-code' mirroring the built-in
claude_code.py shape: binary fetched from a host-served URL, instruction
passed via env var (never inline — TB2 instructions contain quotes),
engine routed over FUSION_MLX_BASE_URL with auth. Spike checklist in
benchmarks/tb2/README.md: host proxy reachability, binary serving, single
task end-to-end, network-restriction census before freezing subset A20.

Explicitly spike quality: options/model-connection plumbing minimal;
no score claims, no parallelism, no trajectory conversion.

Co-Authored-By: Claude Code <[email protected]>
@dahai80
dahai80 merged commit ac467d4 into main Nov 29, 2026
2 checks passed
@dahai80
dahai80 deleted the research/tb2-spike-skeleton branch November 29, 2026 13:19
@dahai80 dahai80 mentioned this pull request Nov 29, 2026
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