Skip to content

feat(plugin): /rune:configure rewrite for v0.4 Go binary#115

Merged
couragehong merged 1 commit into
feat/go-migrationfrom
couragehong/feat/plugin-v04-commands
May 7, 2026
Merged

feat(plugin): /rune:configure rewrite for v0.4 Go binary#115
couragehong merged 1 commit into
feat/go-migrationfrom
couragehong/feat/plugin-v04-commands

Conversation

@couragehong

Copy link
Copy Markdown
Contributor

The v0.3 configure flow assumed a Python plugin: detect plugin root, run scripts/install.sh to create a venv + pip install, run scripts/configure-claude-mcp.sh to register the MCP server, validate by importing the mcp Python package, etc. None of that applies in v0.4 — the Go binary auto-spawns from the plugin manifest's mcpServers entry, so /rune:configure only needs to: collect Vault credentials, write ~/.rune/config.json, and trigger reload_pipelines.

Notable changes:

  • Drop venv install + install.sh / configure-claude-mcp.sh dispatch.
  • Drop the Python-import infrastructure check.
  • Mark TLS option 1 (Self-signed certificate) as Recommended; the install-dev.sh default leaves Vault TLS-on, so option 3 (No TLS) only works when the user has explicitly turned TLS off on the Vault side.
  • Add a sudo-cp fallback hint for /opt/runevault/certs/ca.pem (root:0640 by default, unreadable to the user before group membership applies).
  • Add a known-issue note pointing at the ReloadPipelines re-spawn bug (separate fix); first-time configure on a freshly-spawned MCP server needs a Claude Code restart until that fix lands.
  • Set state to "active" directly (was "dormant" + a separate /rune:activate step in v0.3 to gate model download — Go boot loop doesn't download anything, so the activate dance isn't needed).

status.md / activate.md / etc are still on v0.3 logic and will follow in later commits.

The v0.3 configure flow assumed a Python plugin: detect plugin root,
run scripts/install.sh to create a venv + pip install, run
scripts/configure-claude-mcp.sh to register the MCP server, validate by
importing the mcp Python package, etc. None of that applies in v0.4 —
the Go binary auto-spawns from the plugin manifest's mcpServers entry,
so /rune:configure only needs to: collect Vault credentials, write
~/.rune/config.json, and trigger reload_pipelines.

Notable changes:
- Drop venv install + install.sh / configure-claude-mcp.sh dispatch.
- Drop the Python-import infrastructure check.
- Mark TLS option 1 (Self-signed certificate) as Recommended; the
  install-dev.sh default leaves Vault TLS-on, so option 3 (No TLS) only
  works when the user has explicitly turned TLS off on the Vault side.
- Add a sudo-cp fallback hint for /opt/runevault/certs/ca.pem (root:0640
  by default, unreadable to the user before group membership applies).
- Add a known-issue note pointing at the ReloadPipelines re-spawn bug
  (separate fix); first-time configure on a freshly-spawned MCP server
  needs a Claude Code restart until that fix lands.
- Set state to "active" directly (was "dormant" + a separate
  /rune:activate step in v0.3 to gate model download — Go boot loop
  doesn't download anything, so the activate dance isn't needed).

status.md / activate.md / etc are still on v0.3 logic and will follow in
later commits.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@couragehong couragehong self-assigned this May 7, 2026
@couragehong
couragehong merged commit de17146 into feat/go-migration May 7, 2026
1 check passed
@couragehong
couragehong deleted the couragehong/feat/plugin-v04-commands branch May 7, 2026 11:37
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