Skip to content

Commit bbdd4e1

Browse files
author
Jeremy
committed
feat(bundle): uninstall.sh + update.sh (v0.6.2)
- uninstall.sh: symmetric to install.sh. Removes 7 Go binaries, 8 Python subsystems, sin-brain, the Python bundle, and strips 10 MCP keys from opencode.json. Flags: --dry-run, --verbose, --force, --keep-{go,bundle, subsystems,config}. Idempotent (re-runnable, missing items skipped). - update.sh: in-place refresh. git pull, pip install --upgrade for bundle + 8 subsystems, force-rebuild Go tools, re-register MCP servers. Flags: --force-rebuild, --skip-{go,external,pull}, --subsystems-dir. - CoDocs: uninstall.sh.doc.md, update.sh.doc.md - README Quickstart now documents the install/uninstall/update trio. - Bump to 0.6.2. Verified: install.sh -> uninstall.sh --keep-* (Go binaries only) -> verify gone -> install.sh --skip-external --force (Go binaries back, MCP registered). Both scripts pass bash -n, --help exits 2, dry-run produces no side effects, re-runs are idempotent.
1 parent d9830d3 commit bbdd4e1

7 files changed

Lines changed: 1430 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
179179
- `pytest tests/test_mcp_integration.py -v` — all tests pass
180180
- `sin-serve` MCP handshake returns **34 tools** (was 29)
181181
- Bundle version bumped to 0.6.0
182+
183+
## [0.6.2] - 2026-06-04 — uninstall.sh + update.sh
184+
185+
### Added
186+
- `uninstall.sh` — Symmetric counterpart to install.sh. Removes the 7 Go tools,
187+
the 8 Python subsystem packages, sin-brain, the Python bundle, and
188+
un-registers all MCP servers from `~/.config/opencode/opencode.json`.
189+
Flags: `--dry-run`, `--verbose`, `--force`, `--keep-config`, `--keep-bundle`,
190+
`--keep-go`, `--keep-subsystems`.
191+
- `update.sh` — In-place update. git pull, pip install --upgrade for bundle +
192+
subsystems, force-rebuild Go tools, re-register MCP. Flags: `--force-rebuild`,
193+
`--skip-go`, `--skip-external`, `--skip-pull`, `--subsystems-dir=PATH`.
194+
- CoDocs: `uninstall.sh.doc.md`, `update.sh.doc.md`
195+
- README "Quickstart" now documents the uninstall/update pair commands.
196+
197+
### Verified
198+
- `bash uninstall.sh --dry-run` — previews all 4 stages (Go binaries, Python
199+
bundle, 8 subsystems + sin-brain, opencode.json MCP block)
200+
- `bash update.sh --dry-run` — previews all 6 stages (pull, bundle upgrade,
201+
8 subsystems, 7 Go builds, MCP re-registration, sin status)
202+
- Idempotency: both scripts re-runnable with no errors (missing items skipped)
203+
- `--help` exits with code 2 (matches install.sh convention)
204+
- Bundle version bumped to 0.6.2

‎README.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ sin bootstrap /path/to/your/repo # Initialize graphs, baselines, ledgers
4444
sin-serve # Start the unified MCP server (or: sin serve)
4545
```
4646

47+
Pair commands (symmetric to `install.sh`):
48+
49+
```bash
50+
bash uninstall.sh # Remove everything bash install.sh installed
51+
bash update.sh # Update in-place without full reinstall
52+
```
53+
4754
Flags: `--help`, `--dry-run`, `--verbose`, `--force`, `--skip-go`, `--skip-external`
4855

4956
Environment overrides:

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "sin-code-bundle"
7-
version = "0.6.0"
7+
version = "0.6.2"
88
description = "Structural intelligence for AI coding agents: impact analysis, semantic diff, architectural-debt breaker, and an independent verification Oracle — over MCP."
99
readme = "README.md"
1010
requires-python = ">=3.11"

0 commit comments

Comments
 (0)