Refactor all references to computer to Superbrain
release gate / check (push) Failing after 6m55s

This commit is contained in:
Andrew S Erwin
2026-10-22 00:33:44 -05:00
parent 45aa3c80aa
commit d870eece1e
84 changed files with 438 additions and 381 deletions
+3 -3
View File
@@ -4,7 +4,7 @@ import (
"net/http"
"time"
"github.com/andrew/go-computer/internal/db"
"github.com/andrew/superbrain/internal/db"
)
// Structured export (trust phase): a single owner-scoped JSON archive that is
@@ -68,9 +68,9 @@ func HandleExport(w http.ResponseWriter, r *http.Request) {
detail["items"], detail["sharedWith"] = items, shares
exported = append(exported, detail)
}
w.Header().Set("Content-Disposition", `attachment; filename="computer-export.json"`)
w.Header().Set("Content-Disposition", `attachment; filename="superbrain-export.json"`)
respond(w, 200, object{
"format": "computer-export",
"format": "superbrain-export",
"version": 1,
"exportedAt": time.Now().UTC(),
"user": me,