sw-factory gateway: bun —compile 네이티브 패키징

agent/gateway는 bun build --compile로 단일 실행 파일을 배포한다 (npm run agent:gateway:build → agent/gateway/dist/sw-factory-gateway).

계약

  • 런타임 Node 불필요(바이너리에 Bun runtime 포함). yaml·node:* 번들 OK; 네이티브 애드온 없음.
  • 타깃: 호스트 기본 + GATEWAY_COMPILE_TARGET(예: bun-linux-x64 / bun-linux-arm64). Docker는 TARGETPLATFORM로 선택.
  • Docker/LaunchAgent는 native-first 경로. Non-goals: Rust rewrite 없음, agent/cursor는 Node 유지.
  • 검증: npm run test:agent (native-binary smoke 포함). squash merge PR #41 → 7c8fcdb. tenant_cd/qa/aa/prod N/A.

관련