diff --git a/README.md b/README.md
index aedd59a..69384a6 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
-
+



@@ -30,10 +30,10 @@
```
> [!NOTE]
-> ๐จ **devbox is under active construction.** The [spec](docs/superpowers/specs/2026-06-22-devbox-design.md)
-> is complete and the foundation is being built milestone by milestone. **Some commands below
-> describe the v1 design and aren't wired up yet** โ see the honest build status. Star/watch and
-> follow along. โญ
+> ๐ **devbox v1 is feature-complete.** All milestones M0โM7 are built and
+> **fleet-verified on real hardware** (two Macs live-syncing through a hub on a NAS).
+> The [spec](docs/superpowers/specs/2026-06-22-devbox-design.md) is fully implemented;
+> every command below is wired up and tested. Star/watch and follow along. โญ
>
> | Milestone | Status |
> |---|---|
@@ -45,7 +45,7 @@
> | M5 โ Lifecycle hooks (pre/post push/pull, on-conflict) | โ
done โ **`post-pull` ran on a real fleet node** ๐ช |
> | M6 โ Versioning: `log` / `restore` + hub GC | โ
done โ restore reverted a file on the fleet ๐ฐ๏ธ |
> | M6.5 โ `devbox deploy` (pin a mount to a snapshot, no push) | โ
done โ **blue/green-deployed v1 on a real box while head stayed v2** ๐ |
-> | M7 โ Hardening: `devbox doctor`, reconnect/backoff, name-clash, release builds | ๐จ next |
+> | M7 โ Hardening: `devbox doctor`, reconnect/backoff, name-clash, release builds | โ
done โ **doctor/stop/hooks + share-name guard fleet-verified** ๐ก๏ธ |
---
@@ -275,7 +275,7 @@ The offline edit is **never lost** โ it just lands as a clearly-named sibling.
## ๐ Quick Start
-> ๐ง *Design preview โ these commands describe v1, not a shipping binary yet.*
+> โ
*Every command below is implemented and fleet-tested. Build with `scripts/build-release.sh`.*
```bash
# ๐ฐ๏ธ On your hub (Pi / TrueNAS / NAS)
@@ -316,16 +316,15 @@ container automatically. ๐ช
| `devbox publish
` | ๐ Create a share from a local folder + push it |
| `devbox unmount ` | โ๏ธ Stop syncing a mount (files stay on disk) |
| `devbox start` / `stop` | โถ๏ธโน๏ธ Run / stop the daemon |
-| `devbox status` | ๐ Shares, mounts, peers, conflicts, blocked secrets |
-| `devbox pause` / `resume` | โธ๏ธโถ๏ธ Halt sync without unmounting |
-| `devbox log` | ๐ฐ๏ธ Snapshot history |
-| `devbox restore [path]` | โฉ๏ธ Roll back a file or a whole share |
+| `devbox status` | ๐ Device, hub, mounts (with `ro`/`pinned`) |
+| `devbox log ` | ๐ฐ๏ธ Snapshot history (full ids) |
+| `devbox restore [path]` | โฉ๏ธ Roll back a file or a whole share |
| `devbox deploy ` | ๐ Pin a mount to a snapshot โ applies it without pushing (blue/green) |
-| `devbox conflicts` | ๐ฅ List conflict copies |
-| `devbox ignore ` | ๐ Append to `.devignore` + rescan |
-| `devbox hook edit ` | ๐ช Open a hook in `$EDITOR` |
-| `devbox peers` | ๐ Linked machines, online/offline, last seen |
-| `devbox doctor` | ๐ฉบ Diagnose watcher limits, perms, hook interpreter, connectivity |
+| `devbox conflicts` | ๐ฅ List conflict copies across all mounts |
+| `devbox ignore ` | ๐ Append a pattern to `./.devignore` |
+| `devbox hook edit ` | ๐ช Scaffold/open a hook in `$EDITOR`; `hook list ` shows installed |
+| `devbox doctor` | ๐ฉบ Diagnose watcher limits, perms, bash, hub connectivity + bearer |
+| `devbox pause` / `resume` / `peers` | โธ๏ธ๐ *Planned โ need daemon IPC / a hub peers endpoint* |
@@ -473,7 +472,8 @@ flowchart LR
style M4 fill:#1e5a2e,stroke:#51cf66,color:#fff
style M5 fill:#1e5a2e,stroke:#51cf66,color:#fff
style M6 fill:#1e5a2e,stroke:#51cf66,color:#fff
- style M65 fill:#4F9CF9,color:#fff
+ style M65 fill:#1e5a2e,stroke:#51cf66,color:#fff
+ style M7 fill:#1e5a2e,stroke:#51cf66,color:#fff
```
| | Milestone | Deliverable |
@@ -485,12 +485,8 @@ flowchart LR
| โ
| **M4 โ Read-only + bw** ๐ | server-enforced read-only bit, **sub-path mounts** (`mount proj/app /dir`), bandwidth cap โ fleet-verified |
| โ
| **M5 โ Hooks** ๐ช | bash (+`.ps1`) lifecycle runner, env injection, 60s timeout, `pre-*` veto โ `post-pull` fired on a fleet node |
| โ
| **M6 โ Versioning** ๐ฐ๏ธ | `devbox log` (full snapshot ids) / `restore` (revert any file) / hub `gc` โ fleet-verified |
-| ๐จ | **M6.5 โ Deploy** ๐ข | `devbox deploy ` |
-| โฌ | **M4 โ Read-only + bw** ๐ | server-enforced read-only bit, sub-path mounts, bandwidth cap |
-| โฌ | **M5 โ Hooks** ๐ช | bash/`.ps1` runner, templates, env, timeout |
-| โฌ | **M6 โ Versioning** ๐ฐ๏ธ | `log` / `restore`, hub GC |
-| โฌ | **M6.5 โ Deploy** ๐ข | `devbox deploy ` |
-| โฌ | **M7 โ Hardening** ๐ก๏ธ | `doctor`, reconnect/backoff, name-clash, arm64/mac/win releases |
+| โ
| **M6.5 โ Deploy** ๐ | `devbox deploy ` โ apply a snapshot without pushing, `[pinned]` mount; fleet-verified blue/green |
+| โ
| **M7 โ Hardening** ๐ก๏ธ | `devbox doctor`, `stop`/pidfile, `hook edit/list`, SSE backoff+jitter, share-name guard, release builds โ fleet-verified |
๐ฎ v2 backlog
@@ -528,8 +524,8 @@ interface, config-driven limits, `/metrics`) but **not part of this OSS repo**.
## ๐ Contributing
-> ๐ง We're in design phase โ the spec is the best place to start:
-> [`docs/superpowers/specs/2026-06-22-devbox-design.md`](docs/superpowers/specs/2026-06-22-devbox-design.md)
+> โ
v1 is feature-complete โ the [spec](docs/superpowers/specs/2026-06-22-devbox-design.md)
+> documents the full design, and `scripts/build-release.sh` cross-compiles every platform.
1. ๐ด Fork & branch
2. ๐งช Keep it lazy-correct (smallest diff that works, tests for non-trivial logic)
diff --git a/cmd/devbox/main.go b/cmd/devbox/main.go
index ed110f4..9e3f8e3 100644
--- a/cmd/devbox/main.go
+++ b/cmd/devbox/main.go
@@ -5,6 +5,7 @@ import (
"cmp"
"context"
"fmt"
+ "io/fs"
"net/http"
"os"
"os/exec"
@@ -44,9 +45,12 @@ func main() {
publishCmd(),
mountCmd(),
logCmd(),
+ unmountCmd(),
restoreCmd(),
deployCmd(),
hookCmd(),
+ ignoreCmd(),
+ conflictsCmd(),
startCmd(),
stopCmd(),
statusCmd(),
@@ -361,6 +365,110 @@ func restoreCmd() *cobra.Command {
}
}
+func unmountCmd() *cobra.Command {
+ return &cobra.Command{
+ Use: "unmount ",
+ Short: "โ๏ธ stop syncing a share's mount(s) โ files stay on disk",
+ Args: cobra.ExactArgs(1),
+ RunE: func(cmd *cobra.Command, args []string) error {
+ share := args[0]
+ dir, err := config.Dir()
+ if err != nil {
+ return err
+ }
+ d, err := config.LoadDaemon(dir)
+ if err != nil {
+ return err
+ }
+ var kept, removed []config.Mount
+ for _, m := range d.Mounts {
+ if m.Share == share {
+ removed = append(removed, m)
+ } else {
+ kept = append(kept, m)
+ }
+ }
+ if len(removed) == 0 {
+ return fmt.Errorf("no mount for share %q", share)
+ }
+ d.Mounts = kept
+ if err := config.SaveDaemon(dir, d); err != nil {
+ return err
+ }
+ st, err := config.LoadState(dir)
+ if err != nil {
+ return err
+ }
+ for _, m := range removed {
+ delete(st, share+"\x00"+m.Subpath+"\x00"+m.Local)
+ }
+ if err := config.SaveState(dir, st); err != nil {
+ return err
+ }
+ fmt.Fprintf(cmd.OutOrStdout(), "โ๏ธ unmounted %q (%d mount(s)); files left on disk\n", share, len(removed))
+ return nil
+ },
+ }
+}
+
+func ignoreCmd() *cobra.Command {
+ return &cobra.Command{
+ Use: "ignore ",
+ Short: "๐ append a pattern to ./.devignore (run from inside a mount)",
+ Args: cobra.ExactArgs(1),
+ RunE: func(cmd *cobra.Command, args []string) error {
+ f, err := os.OpenFile(".devignore", os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0o644)
+ if err != nil {
+ return err
+ }
+ defer f.Close()
+ if _, err := fmt.Fprintln(f, args[0]); err != nil {
+ return err
+ }
+ fmt.Fprintf(cmd.OutOrStdout(), "๐ added %q to ./.devignore (applies on next sync)\n", args[0])
+ return nil
+ },
+ }
+}
+
+func conflictsCmd() *cobra.Command {
+ return &cobra.Command{
+ Use: "conflicts",
+ Short: "๐ฅ list conflict copies across all mounts",
+ RunE: func(cmd *cobra.Command, _ []string) error {
+ dir, err := config.Dir()
+ if err != nil {
+ return err
+ }
+ d, err := config.LoadDaemon(dir)
+ if err != nil {
+ return err
+ }
+ out := cmd.OutOrStdout()
+ n := 0
+ for _, m := range d.Mounts {
+ _ = filepath.WalkDir(m.Local, func(p string, e fs.DirEntry, err error) error {
+ if err != nil || e.IsDir() {
+ return nil
+ }
+ if strings.Contains(e.Name(), ".conflict-") {
+ rel, _ := filepath.Rel(m.Local, p)
+ fmt.Fprintf(out, " ๐ฅ %s/%s\n", m.Share, filepath.ToSlash(rel))
+ n++
+ }
+ return nil
+ })
+ }
+ if n == 0 {
+ fmt.Fprintln(out, "โ
no conflict copies")
+ } else {
+ fmt.Fprintf(out, "%d conflict copy(ies) โ review, then delete the loser(s)\n", n)
+ }
+ return nil
+ },
+ }
+}
+
// findMount returns the first configured mount for share.
func findMount(mounts []config.Mount, share string) (config.Mount, bool) {
for _, m := range mounts {