You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consolidation report: main is canonical, dev-backup remains reference branch #36
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
origin/dev-backup-20260317 is patch-equivalent to main; it is useful as a reference branch, but it did not contain a missing post-merge feature that was absent from main
the focused memory/stability suite on main passes (memory/cleanup, memory/dispose, abort-leak, stream-idle-timeout, global-memory, listen, timeout)
opencode session list now scopes to Instance.directory
opencode run --continue now requests the latest root session for the current directory
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
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.
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.
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.
Activity
OpenCodeEngineer commentedon Mar 18, 2026
Post-merge audit update:
What was verified after the consolidation:
origin/dev-backup-20260317is patch-equivalent tomain; it is useful as a reference branch, but it did not contain a missing post-merge feature that was absent frommainmainpasses (memory/cleanup,memory/dispose,abort-leak,stream-idle-timeout,global-memory,listen,timeout)One confirmed omission was found and fixed:
mainopencode session listnow scopes toInstance.directoryopencode run --continuenow requests the latest root session for the current directoryCurrent conclusion:
devhistory loss; the real post-merge misses were smaller integration gapsmainorigin/*branches still exist, but they are now feature-specific or otherwise require separate review rather than being obvious consolidation missesOpenCodeEngineer commentedon Mar 27, 2026
Starting a second consolidation sweep against
origin/main.Current audit found additional local-only branch work still not represented on
main, including:feat/edge-ttsNext step is to replay the unreconciled commits into a clean
origin/mainintegration branch, verify them, then prune the absorbed local branches.OpenCodeEngineer commentedon Mar 27, 2026
Merged PR #74.
Audit result: the only remaining code delta actually missing from
origin/mainwas the Edge TTS feature branch. The other suspicious local branches were verified to already be represented onmainunder earlier commits / squashed integrations.Focused verification for the merged delta:
cd packages/opencode && bun test test/tts/edge.test.ts test/tts/route.test.tscd packages/opencode && bun typecheckcd packages/app && bun typecheckNext step is pruning absorbed local branches and attached worktrees.
OpenCodeEngineer commentedon Mar 27, 2026
Final consolidation cleanup completed on 2026-03-27.
Current state:
mainis clean and matchesorigin/mainat5a7511c24(feat: add server-backed Edge TTS for voice output (#74))/private/tmp/opencode-consolidate-main/Users/engineer/workspace/opencode-pr-session-tree-archive~/.local/share/opencode/worktree/...worktrees fornimble-riverandswift-orchidmainand localdevremainorigin/mainand there were no open PRs:origin/feat/edge-ttsorigin/fix/67-install-local-samefileorigin/fix/browser-mic-preflightorigin/fix/recover-orphaned-sessionstemp-package-order-noise-pre-cleanupafter confirming it was only a package key-order change inpackages/opencode/package.jsonVerification during cleanup:
git status --short --branch=>## main...origin/maingit branch -vv=> onlymainanddevlocallygit push origin --delete ...triggered and passed the repo typecheck hook before deleting the stale remote refsI intentionally left the older non-temporary stashes untouched.
OpenCodeEngineer commentedon Mar 27, 2026
Addendum: local cleanup was finished one step further after the previous comment. Local
devhas now also been deleted, so local branch state is down to onlymaintrackingorigin/main.dzianisv commentedon Jun 21, 2026
Stale — consolidation complete.
devis canonical, backup tags exist for reference.