Skip to content

Consolidation report: main is canonical, dev-backup remains reference branch #36

Closed

Description

@OpenCodeEngineer

Summary

This issue records the branch consolidation work completed on March 17, 2026 so there is a durable reference point if functionality later appears to be missing after the move to main.

Canonical branch

  • main is now the default branch on GitHub
  • origin/HEAD points to origin/main
  • use main as the primary reference branch going forward

What was consolidated into main

What was deleted after verification

These remote branches were deleted only after confirming their work was already absorbed into origin/main:

  • origin/dev
  • origin/azure-xhigh
  • origin/chore/opencode-eval-runner
  • origin/fix-stream-idle-timeout
  • origin/fix/eval-storage-fallback
  • origin/main-rebase

What did not exist

  • master did not exist locally
  • origin/master did not exist on the remote
  • there was nothing to clean up for master

Important remaining reference branch

origin/dev-backup-20260317 was intentionally kept.

Current divergence vs origin/main at the time of this report:

  • main has 191 commits not in dev-backup-20260317
  • dev-backup-20260317 has 38 commits not in main

That means the old dev branch itself is gone, but there is still a backup branch with extra history that has not been fully audited into main.

If functionality seems missing later

Check in this order:

  1. compare origin/main...origin/dev-backup-20260317
  2. inspect remaining origin/* branches that still have unique commits
  3. confirm whether the behavior was removed intentionally or simply never consolidated

Purpose of this issue

This issue is the reference container for the consolidation state so future regressions or missing-feature investigations have a known starting point.

Activity

  1. OpenCodeEngineer commented on Mar 18, 2026

    @OpenCodeEngineer
    Author

    Post-merge audit update:

    What was verified after the consolidation:

    One confirmed omission was found and fixed:

    Current conclusion:

    • the scary part was not dev history loss; the real post-merge misses were smaller integration gaps
    • the two confirmed misses found during the audit are now merged into main
    • remaining non-merged origin/* branches still exist, but they are now feature-specific or otherwise require separate review rather than being obvious consolidation misses
  2. OpenCodeEngineer commented on Mar 27, 2026

    @OpenCodeEngineer
    Author

    Starting a second consolidation sweep against origin/main.

    Current audit found additional local-only branch work still not represented on main, including:

    • feat/edge-tts
    • per-message speaker icon
    • browser mic preflight
    • TUI session tree / recent-session archive race fix
    • rename tool
    • scoped publish / desktop mic permission support
    • cross-spawn process handling fix
    • bash output spooling fix

    Next step is to replay the unreconciled commits into a clean origin/main integration branch, verify them, then prune the absorbed local branches.

  3. OpenCodeEngineer commented on Mar 27, 2026

    @OpenCodeEngineer
    Author

    Merged PR #74.

    Audit result: the only remaining code delta actually missing from origin/main was the Edge TTS feature branch. The other suspicious local branches were verified to already be represented on main under earlier commits / squashed integrations.

    Focused verification for the merged delta:

    • cd packages/opencode && bun test test/tts/edge.test.ts test/tts/route.test.ts
    • cd packages/opencode && bun typecheck
    • cd packages/app && bun typecheck

    Next step is pruning absorbed local branches and attached worktrees.

  4. OpenCodeEngineer commented on Mar 27, 2026

    @OpenCodeEngineer
    Author

    Final consolidation cleanup completed on 2026-03-27.

    Current state:

    • local main is clean and matches origin/main at 5a7511c24 (feat: add server-backed Edge TTS for voice output (#74))
    • extra local worktrees were removed:
      • /private/tmp/opencode-consolidate-main
      • /Users/engineer/workspace/opencode-pr-session-tree-archive
      • the two ~/.local/share/opencode/worktree/... worktrees for nimble-river and swift-orchid
    • stale local topic/backup branches were deleted; only local main and local dev remain
    • stale remote branches deleted after verification that their work was already represented on origin/main and there were no open PRs:
      • origin/feat/edge-tts
      • origin/fix/67-install-local-samefile
      • origin/fix/browser-mic-preflight
      • origin/fix/recover-orphaned-sessions
    • dropped the temporary stash temp-package-order-noise-pre-cleanup after confirming it was only a package key-order change in packages/opencode/package.json

    Verification during cleanup:

    • git status --short --branch => ## main...origin/main
    • git branch -vv => only main and dev locally
    • git push origin --delete ... triggered and passed the repo typecheck hook before deleting the stale remote refs

    I intentionally left the older non-temporary stashes untouched.

  5. OpenCodeEngineer commented on Mar 27, 2026

    @OpenCodeEngineer
    Author

    Addendum: local cleanup was finished one step further after the previous comment. Local dev has now also been deleted, so local branch state is down to only main tracking origin/main.

  6. dzianisv commented on Jun 21, 2026

    @dzianisv
    Owner

    Stale — consolidation complete. dev is canonical, backup tags exist for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions