Plan 3: CLI + MCP server + CI + release pipeline#3
Merged
Conversation
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
Plan 3 of the exit-node build: produces v0.1's user-facing surface — the
exitnodeCLI, theexitnode-mcpstdio server, GitHub Actions CI, and goreleaser packaging.internal/core—Start(name),Stop(name),Destroy(name)+GetActive()accessor for the MCP layercmd/exitnode— 8 cobra subcommands (up / down / rotate / list / status / health /pfsense sync/ cost) over a sharedbuildCorehelper;--json+--version+--verboseglobalscmd/exitnode-mcp— stdio MCP server (modelcontextprotocol/go-sdkv1.6) with all 10 spec §11 tools wired to coreexamples/config.toml— annotated reference configexamples/mcp.json— Claude Desktop / OpenClaw snippet.github/workflows/ci.yml— vet + lint + race tests + linux/darwin × amd64/arm64 cross-build matrix.goreleaser.yaml+release.yml— tag-triggered tar.gz archives + SHA256 + GitHub releasego.modcleaned viago mod tidy(long-deferred since Plan 1; safe now that both binaries import everything)Test plan
make test(race, all 9 packages green)make test-integration(build-tagged path compiles)go vet ./...andgo vet -tags integration ./...cleanexitnode --helpshows all 8 subcommands;exitnode --versionreturns the ldflag-injected stringNext: cut
develop→mainand av0.1.0tag to fire the goreleaser release workflow.