Add simple Vestige update flow

This commit is contained in:
Sam Valladares 2026-05-01 13:33:54 -05:00
parent fb250207a3
commit c77b05078c
16 changed files with 733 additions and 65 deletions

View file

@ -69,12 +69,17 @@ False-positive guards (added v2.1.0 after dogfood):
## Installation
### One-liner
### From an installed Vestige CLI
```bash
curl -fsSL https://raw.githubusercontent.com/samvallad33/vestige/v2.1.1/scripts/install-sandwich.sh | sh
vestige sandwich install
```
`vestige update` also refreshes these companion files by default after it updates
the binaries. The default command does not activate any Claude Code hook. It
removes old v2.1.0 Vestige hook wiring from `~/.claude/settings.json` while
preserving unrelated user hooks.
### From a checkout
```bash
@ -84,15 +89,13 @@ cd vestige
./scripts/check-sandwich-prereqs.sh # verify no Vestige hooks are wired by default
```
The default command does not activate any Claude Code hook. It removes old v2.1.0 Vestige hook wiring from `~/.claude/settings.json` while preserving unrelated user hooks.
### Optional Preflight
Preflight is a separate opt-in layer. It includes `preflight-swarm.sh`, which uses `claude -p --model claude-haiku-4-5-20251001`; it is not wired by default.
```bash
./scripts/install-sandwich.sh --enable-preflight
./scripts/check-sandwich-prereqs.sh --preflight
vestige sandwich install --enable-preflight
scripts/check-sandwich-prereqs.sh --preflight
```
### Optional Sanhedrin
@ -101,13 +104,13 @@ Sanhedrin is a separate opt-in layer.
```bash
# Wire the Sanhedrin Stop hook, using the default OpenAI-compatible endpoint.
./scripts/install-sandwich.sh --enable-sanhedrin
vestige sandwich install --enable-sanhedrin
# Apple Silicon only, and only if the machine has enough memory:
./scripts/install-sandwich.sh --enable-sanhedrin --with-launchd
vestige sandwich install --enable-sanhedrin --with-launchd
# x86 / Linux / Intel Mac: use any OpenAI-compatible endpoint.
./scripts/install-sandwich.sh \
vestige sandwich install \
--enable-sanhedrin \
--sanhedrin-endpoint=http://127.0.0.1:11434/v1/chat/completions \
--sanhedrin-model=qwen2.5:14b

View file

@ -175,11 +175,27 @@ See [Storage Modes](STORAGE.md) for more options.
vestige update
```
This updates `vestige`, `vestige-mcp`, `vestige-restore`, and the Cognitive
Sandwich companion files. The companion refresh keeps hooks disabled by default
and cleans up old mandatory v2.1.0 hook wiring.
**Binaries only:**
```bash
vestige update --no-sandwich
```
**Pin to specific version:**
```bash
vestige update --version v2.1.1
```
**Manage the optional Cognitive Sandwich layer without updating binaries:**
```bash
vestige sandwich install
vestige sandwich install --enable-preflight
vestige sandwich install --enable-sanhedrin --sanhedrin-endpoint=http://127.0.0.1:11434/v1/chat/completions
```
**Check your version:**
```bash
vestige-mcp --version

View file

@ -17,9 +17,8 @@ brew install onnxruntime
## Install
```bash
# 1. Download the binary
curl -L https://github.com/samvallad33/vestige/releases/latest/download/vestige-mcp-x86_64-apple-darwin.tar.gz | tar -xz
sudo mv vestige-mcp vestige vestige-restore /usr/local/bin/
# 1. Install the binary
npm install -g vestige-mcp-server@latest
# 2. Point the binary at Homebrew's libonnxruntime
echo 'export ORT_DYLIB_PATH="'"$(brew --prefix onnxruntime)"'/lib/libonnxruntime.dylib"' >> ~/.zshrc

View file

@ -20,8 +20,7 @@ It speaks MCP (Model Context Protocol), the same protocol Xcode 26.3 uses for to
**Step 1:** Install Vestige
```bash
curl -L https://github.com/samvallad33/vestige/releases/latest/download/vestige-mcp-aarch64-apple-darwin.tar.gz | tar -xz
sudo mv vestige-mcp vestige vestige-restore /usr/local/bin/
npm install -g vestige-mcp-server
```
**Step 2:** Drop one file in your project root
@ -110,8 +109,7 @@ The full setup takes 30 seconds:
```bash
# Install Vestige
curl -L https://github.com/samvallad33/vestige/releases/latest/download/vestige-mcp-aarch64-apple-darwin.tar.gz | tar -xz
sudo mv vestige-mcp vestige vestige-restore /usr/local/bin/
npm install -g vestige-mcp-server
# Add to your project (run from project root)
cat > .mcp.json << 'EOF'

View file

@ -13,8 +13,7 @@ Xcode 26.3 supports [agentic coding](https://developer.apple.com/documentation/x
### 1. Install Vestige
```bash
curl -L https://github.com/samvallad33/vestige/releases/latest/download/vestige-mcp-aarch64-apple-darwin.tar.gz | tar -xz
sudo mv vestige-mcp vestige vestige-restore /usr/local/bin/
npm install -g vestige-mcp-server@latest
```
### 2. Add to your Xcode project
@ -27,7 +26,7 @@ cat > /path/to/your/project/.mcp.json << 'EOF'
"mcpServers": {
"vestige": {
"type": "stdio",
"command": "/usr/local/bin/vestige-mcp",
"command": "vestige-mcp",
"args": [],
"env": {
"PATH": "/usr/local/bin:/usr/bin:/bin"

View file

@ -194,10 +194,10 @@ wc -l $(find /path/to/vestige/crates -name "*.rs") | tail -1
# → 77,840 total
```
> Seventy-eight thousand lines of Rust. Seven hundred thirty-four tests. Twenty-two megabyte binary. Ships with the dashboard embedded. Install is one curl command:
> Seventy-eight thousand lines of Rust. Seven hundred thirty-four tests. Twenty-two megabyte binary. Ships with the dashboard embedded. Install is one npm command:
```bash
curl -L https://github.com/samvallad33/vestige/releases/latest/download/vestige-mcp-aarch64-apple-darwin.tar.gz | tar -xz
npm install -g vestige-mcp-server
claude mcp add vestige vestige-mcp -s user
```
@ -241,8 +241,7 @@ claude mcp add vestige vestige-mcp -s user
```bash
# Install (macOS Apple Silicon)
curl -L https://github.com/samvallad33/vestige/releases/latest/download/vestige-mcp-aarch64-apple-darwin.tar.gz | tar -xz
sudo mv vestige-mcp vestige vestige-restore /usr/local/bin/
npm install -g vestige-mcp-server
```
> Three binaries. The MCP server, the CLI admin tool, and a restore utility. Twenty-two megabytes total. No Docker. No Python. No node_modules. No cloud API key.
@ -389,7 +388,7 @@ vestige-mcp --version
# <300ns cosine similarity (benchmarked with Criterion)
# Zero cloud dependencies
# Zero API keys required
# One curl command to install
# One command to install
```
> This is what I've been building for the past three months. I'm one person, I'm twenty-one years old, and I believe this is how AI memory should work — grounded in real science, running locally, open source.
@ -479,7 +478,7 @@ vestige-mcp --version
- **Start from the dashboard.** The 3D graph is the hook. It's visual, it's unusual, it makes people lean in.
- **Don't rush the dream sequence.** The purple wash and sequential node pulses are the most visually impressive moment. Let it breathe for 3-4 seconds.
- **Say the scientists' names.** "Ebbinghaus," "Bjork," "Frey and Morris" — this signals that you've done the reading. The MCP Dev Summit audience respects depth.
- **Make eye contact during the punchline.** "One curl command. Your AI now has a brain." Look at the audience, not the screen.
- **Make eye contact during the punchline.** "One command. Your AI now has a brain." Look at the audience, not the screen.
- **Own your age.** Twenty-one, solo developer, zero funding. This is an asset, not a liability. You built something that the well-funded competitors haven't.
- **The dashboard is your co-presenter.** Every time Claude does something, the dashboard should be showing the corresponding event. Practice the terminal-to-browser switch until it's seamless.
- **Don't apologize.** Not for bugs, not for the AGPL, not for being solo. Confident but not arrogant. The work speaks.

View file

@ -88,7 +88,7 @@ Memory systems need to be SMARTER, not just bigger. That's what Vestige does —
### Install (30 seconds):
```bash
# macOS Apple Silicon
curl -L https://github.com/samvallad33/vestige/releases/latest/download/vestige-mcp-aarch64-apple-darwin.tar.gz | tar -xz
npm install -g vestige-mcp-server
sudo mv vestige-mcp /usr/local/bin/
claude mcp add vestige vestige-mcp -s user
```
@ -162,7 +162,7 @@ The AI sees the conflict. Picks the right one. Every time.
**100% local. Your data never leaves your machine.**
```bash
curl -L https://github.com/samvallad33/vestige/releases/latest/download/vestige-mcp-aarch64-apple-darwin.tar.gz | tar -xz
npm install -g vestige-mcp-server
sudo mv vestige-mcp /usr/local/bin/
claude mcp add vestige vestige-mcp -s user
```

View file

@ -401,8 +401,7 @@ locally on your machine.
**Setup (2 minutes):**
```bash
curl -L https://github.com/samvallad33/vestige/releases/latest/download/vestige-mcp-aarch64-apple-darwin.tar.gz | tar -xz
sudo mv vestige-mcp vestige vestige-restore /usr/local/bin/
npm install -g vestige-mcp-server
claude mcp add vestige vestige-mcp -s user
```