Rename smartrun to geniusrun throughout the codebase

Updates the Go module path, cmd/smartrund -> cmd/geniusrund, the
smartrun-dev skill, .gitignore, and every reference in docs/CLAUDE.md
to match.
This commit is contained in:
2026-07-24 21:08:07 +02:00
parent 70c6d143e1
commit f9d85e16ef
30 changed files with 108 additions and 108 deletions

View File

@@ -6,7 +6,7 @@ import (
"github.com/go-chi/chi/v5"
"smartrun/backend/internal/store"
"geniusrun/backend/internal/store"
)
// activityListItem is one row of the activities list, enriched with its

View File

@@ -13,16 +13,16 @@ import (
"testing"
"time"
"smartrun/backend/internal/garmin/mock"
"smartrun/backend/internal/store"
appsync "smartrun/backend/internal/sync"
"geniusrun/backend/internal/garmin/mock"
"geniusrun/backend/internal/store"
appsync "geniusrun/backend/internal/sync"
)
func newCtx() context.Context { return context.Background() }
func newTestServer(t *testing.T) (*Server, *store.DB) {
t.Helper()
db, err := store.Open(filepath.Join(t.TempDir(), "smartrun_test.db"))
db, err := store.Open(filepath.Join(t.TempDir(), "geniusrun_test.db"))
if err != nil {
t.Fatalf("store.Open: %v", err)
}

View File

@@ -4,7 +4,7 @@ import (
"encoding/json"
"net/http"
"smartrun/backend/internal/garmin"
"geniusrun/backend/internal/garmin"
)
type authResponse struct {

View File

@@ -3,7 +3,7 @@ package api
import (
"encoding/json"
"smartrun/backend/internal/store"
"geniusrun/backend/internal/store"
)
// activityResponse adds back ActivityName/ActivityType as fields decoded

View File

@@ -8,8 +8,8 @@ import (
"github.com/go-chi/chi/v5"
"smartrun/backend/internal/classify"
"smartrun/backend/internal/store"
"geniusrun/backend/internal/classify"
"geniusrun/backend/internal/store"
)
// workoutKindResponse combines a workout kind's rule/metadata with its pace

View File

@@ -5,7 +5,7 @@ import (
"errors"
"net/http"
"smartrun/backend/internal/store"
"geniusrun/backend/internal/store"
)
// validateProfile checks the HR zones are ascending and gap-free once they

View File

@@ -7,7 +7,7 @@ import (
"github.com/go-chi/chi/v5"
"smartrun/backend/internal/store"
"geniusrun/backend/internal/store"
)
type progressionPoint struct {

View File

@@ -3,7 +3,7 @@ package api
import (
"net/http"
"smartrun/backend/internal/store"
"geniusrun/backend/internal/store"
)
// handleReclassifyAll re-runs the rule engine for every activity except

View File

@@ -8,7 +8,7 @@ import (
"github.com/go-chi/chi/v5"
"smartrun/backend/internal/store"
"geniusrun/backend/internal/store"
)
// defaultReviewQueuePageSize matches the frontend's initial/incremental

View File

@@ -1,4 +1,4 @@
// Package api is smartrun's HTTP layer: REST handlers over internal/store,
// Package api is geniusrun's HTTP layer: REST handlers over internal/store,
// internal/garmin, and internal/sync.
package api
@@ -11,9 +11,9 @@ import (
"github.com/go-chi/chi/v5"
"smartrun/backend/internal/garmin"
"smartrun/backend/internal/store"
appsync "smartrun/backend/internal/sync"
"geniusrun/backend/internal/garmin"
"geniusrun/backend/internal/store"
appsync "geniusrun/backend/internal/sync"
)
// Server wires the HTTP handlers to the app's dependencies.