strategy: drop residual "branch" terminology · Entire

strategy: drop residual "branch" terminology

f5a5518→main

pfleidi·1mo ago·2 files·+2 added/-2 removed

Two small renames matching the refactor's intent that the topology is ref-based, not branch-based:

Sessions

cf645b57030dView transcript

[?
Streamline Checkpoint Version Mirroring with refs.PrimaryClaude Code·2 steps](/content/gh/entireio/cli/session/7d8b9a47-6f94-441b-adae-5402ded54425#timeline-cf645b57030d/index.html)

Changes

2

76 unmodified lines

77
78
79
80
80
81
82
83

76 unmodified lines

return fmt.Errorf("failed to initialize vercel settings: %w", err)
    }
    if err := EnsurePrimaryRef(ctx, repo); err != nil {
        return fmt.Errorf("failed to ensure metadata branch: %w", err)
        return fmt.Errorf("failed to ensure primary metadata ref: %w", err)
    }

// Install generic hooks (they delegate to strategy at runtime)

Mcmd/entire/cli/strategy/common.go+1/-1

32 unmodified lines

33
34
35
36
36
37
38
39

32 unmodified lines

// Thread the span's context into the push so the network push and any
    // fetch+rebase recovery nest beneath it as child steps in the perf trace.
    pushCtx, pushCheckpointsSpan := perf.Start(ctx, "push_checkpoints_branch")
    pushCtx, pushCheckpointsSpan := perf.Start(ctx, "push_checkpoint_refs")
    defer pushCheckpointsSpan.End()
    for _, ref := range refs.Push {
        if err := pushRefIfNeeded(pushCtx, ps.pushTarget(), ref); err != nil {

Mcmd/entire/cli/strategy/manual_commit_push.go+1/-1