Repository navigation
chore(dev): add scripts/dev/v04/dev-preflight.sh - #120
Merged
couragehong merged 1 commit intoMay 8, 2026
Merged
Conversation
Idempotent pre-flight for v0.4 dev verification: rebuilds bin/rune-mcp from the current branch, scrubs ~/.rune, clears ~/.claude.json mcpServers, removes legacy plugin cache, and probes vault + runed daemons. Used in the dev workflow that launches Claude Code with --plugin-dir against this repo (the production install path is still unfinished — Task #30). REPO is auto-resolved relative to the script location (3 levels up from scripts/dev/v04/), so the script can be invoked from anywhere. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
heeyeon01
pushed a commit
to heeyeon01/rune
that referenced
this pull request
Jul 7, 2026
The path-fix from PR CryptoLabInc#120 review never made it into the merged commit (staging order issue) — REPO landed pointing at scripts/dev/v04/ itself, so step 1's `cd "$REPO"` followed by `go build ./cmd/rune-mcp` tries to stat scripts/dev/v04/cmd/rune-mcp, which doesn't exist, and the script aborts with a build failure. Going up three directories from scripts/dev/v04/ resolves to the repo root regardless of where the user invokes the script from, restoring the intended idempotent pre-flight behavior. Verified locally: every section (build / plugin source / vault / runed / ~/.rune scrub / mcpServers / plugin cache) reports green and the script exits 0. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Idempotent pre-flight for v0.4 dev verificatio
bin/rune-mcpfrom the current branch,~/.rune,~/.claude.jsonmcpServers,Used in the dev workflow that launches Claude Code with --plugin-dir against this repo (the production install path is still unfinished — Task #30).
REPO is auto-resolved relative to the script location (3 levels up from scripts/dev/v04/), so the script can be invoked from anywhere.