Context
OpenSIN-Code/autodev-cli (Python) is the autoresearch-loop sister
project, v0.4.0 shipped with branch-scoped lessons, swarm mode, and
time-travel forks. Currently it is wired into the WebUI v2 via
lib/sin/mcp.ts:getAutodevTools(), but the Go binary sin-code
has zero autodev references (gh search code 'autodev' repo:OpenSIN-Code/SIN-Code = 0 hits).
Goal
Add L1 + L2 integration into the Go sin-code CLI:
L1 — Bridge subcommand: sin-code autodev <args> shells out to the
Python autodev binary, transparent stdout/stderr relay. Cobra command
in cmd/sin-code/autodev_bridge.go. No business logic.
L2 — MCP sibling spawn: When sin-code serve is running and
AUTODEV_MCP_BIN is on PATH, the server spawns autodev-mcp in
parallel and merges its autodev_* tools into the aggregate toolset
that sin-code exposes to MCP clients (Claude Code, SIN-Code WebUI).
Acceptance criteria
Out of scope
- L3 would be a Go-native port of autodev. SKIP \u2014 it contradicts
'consumer-only' philosophy for sibling tools.
Refs: OpenSIN-Code/autodev-cli@e8c948a (v0.4.0). Sister consumer:
OpenSIN-Code/SIN-Code-WebUI-v2@6a92d92 (autodev_mcp sibling via WebUI).
Context
OpenSIN-Code/autodev-cli(Python) is the autoresearch-loop sisterproject, v0.4.0 shipped with branch-scoped lessons, swarm mode, and
time-travel forks. Currently it is wired into the WebUI v2 via
lib/sin/mcp.ts:getAutodevTools(), but the Go binarysin-codehas zero autodev references (
gh search code 'autodev' repo:OpenSIN-Code/SIN-Code= 0 hits).Goal
Add L1 + L2 integration into the Go
sin-codeCLI:L1 — Bridge subcommand:
sin-code autodev <args>shells out to thePython
autodevbinary, transparent stdout/stderr relay. Cobra commandin
cmd/sin-code/autodev_bridge.go. No business logic.L2 — MCP sibling spawn: When
sin-code serveis running andAUTODEV_MCP_BINis on PATH, the server spawnsautodev-mcpinparallel and merges its
autodev_*tools into the aggregate toolsetthat
sin-codeexposes to MCP clients (Claude Code, SIN-Code WebUI).Acceptance criteria
cmd/sin-code/autodev_bridge.go+ cobra commandcmd/sin-code/autodev_bridge_test.gowith subprocess mocksin-code autodev status /path --jsonreturns same JSON as directautodev statussin-code servespawns autodev-mcp as stdio MCP sibling \u2014 already in the codebase? if not, addinternal/mcp/sibling_autodev.gogo build ./...0 errorsgo test ./cmd/sin-code/...0 failuresgolangci-lint run ./cmd/sin-code/...0 findingssin-code helpshowsautodevsubcommanddocs/ECOSYSTEM.mdupdated with autodev-cli as siblingCHANGELOG.mdadds L1+L2 entryOut of scope
'consumer-only'philosophy for sibling tools.Refs:
OpenSIN-Code/autodev-cli@e8c948a(v0.4.0). Sister consumer:OpenSIN-Code/SIN-Code-WebUI-v2@6a92d92(autodev_mcp sibling via WebUI).