diff --git a/cmd/devbox/main.go b/cmd/devbox/main.go
index 9e3f8e3..1aadb55 100644
--- a/cmd/devbox/main.go
+++ b/cmd/devbox/main.go
@@ -155,7 +155,7 @@ func publishCmd() *cobra.Command {
return err
}
if res.Conflict {
- return fmt.Errorf("share %q advanced on the hub (head %s) — pull/merge lands in M3", share, short(res.Head))
+ return fmt.Errorf("share %q already has content on the hub (head %s) — mount it for two-way sync: devbox mount %s
", share, short(res.Head), share)
}
out := cmd.OutOrStdout()
diff --git a/pkg/proto/proto.go b/pkg/proto/proto.go
index 9e84a2d..9f9bb08 100644
--- a/pkg/proto/proto.go
+++ b/pkg/proto/proto.go
@@ -1,6 +1,6 @@
// Package proto defines devbox's hub<->device wire types and endpoint paths.
-// Transport is JSON over HTTP (blobs are raw bytes). One TLS endpoint, bearer
-// auth. WebSocket change events arrive in M3.
+// Transport is JSON over HTTP (blobs are raw bytes). One endpoint, bearer auth.
+// Change events stream over SSE (GET /v1/events).
package proto
// Endpoint paths (all under the hub base URL).
@@ -81,8 +81,8 @@ type PushRequest struct {
Chunks []ChunkRef `json:"chunks"` // every distinct chunk + size
}
-// PushResponse reports the new snapshot id and head. Conflict handling is M3
-// (Conflict is always false in M2's one-way push).
+// PushResponse reports the new snapshot id and head. Conflict is true when the
+// device pushed against a stale parent: it must pull + reconcile, then retry.
type PushResponse struct {
Snapshot string `json:"snapshot"`
Head string `json:"head"`