Skip to content

feat: add non-blocking installation migration controller - #101

Merged
mergify[bot] merged 2 commits into
mainfrom
codex/BEAR-104-nonblocking-migration
Aug 1, 2026
Merged

feat: add non-blocking installation migration controller#101
mergify[bot] merged 2 commits into
mainfrom
codex/BEAR-104-nonblocking-migration

Conversation

@ericlitman

@ericlitman ericlitman commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Persist the initiating task as ThreadBear's main task and keep that identity stable across reinstall.
  • Add one resumable migration controller with the three explicit phases, single-controller enforcement, main/controller scope exclusion, and applied:true convergence gating.
  • Keep installation non-blocking for the persistent task, refuse uninstall during active migration, and update the public/installed lifecycle guidance and status contract.
  • Require status to reject modified installed skill or managed AGENTS guidance, with corruption regressions for both surfaces.

Tests

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • Darwin arm64 and amd64 cross-builds
  • cmp -s INSTALL.md site/install
  • sh -n install.sh site/install.sh scripts/release-smoke.sh
  • git diff --check
  • Exact CI production Go line check: 1,000 lines
  • Shipped executable logic check: 1,262 lines against the 1,500 absolute ceiling

The installed candidate passed the pre-review Codex Desktop gate for fresh-task running and terminal rewrites, stable-subject preservation, explicit-target isolation/repaint, and bounded Stop behavior. The full 20-turn, 200-task, uninstall/reinstall, and published-artifact lifecycle remains the BEAR-104 closeout gate.

Linear: BEAR-104

@ericlitman
ericlitman force-pushed the codex/BEAR-104-nonblocking-migration branch from 85fcc9f to 16fa5a0 Compare August 1, 2026 02:02
@ericlitman
ericlitman marked this pull request as ready for review August 1, 2026 02:12

@mobilyze-open-swe-studio2 mobilyze-open-swe-studio2 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open SWE Review found 1 potential issue.

Open in Web

Comment thread cmd/threadbear/install.go Outdated
@mergify

mergify Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • Entered queue2026-08-01 02:44 UTC · Rule: default · triggered by merge protections
  • Checks skipped · PR is already up-to-date
  • Merged2026-08-01 02:44 UTC · at 4ec6a325dc87a70b773396f684346d6096587a8f

This pull request spent 17 seconds in the queue, including 4 seconds running CI.

Required conditions to merge
  • github-review-approved [🛡 GitHub repository ruleset rule Mergify automatic merge queue]
  • all of [🛡 Merge Protections rule Queue ready pull requests]:
  • any of [🛡 GitHub branch protection]:
    • check-success = verify
    • check-neutral = verify
    • check-skipped = verify
  • any of [🛡 GitHub branch protection]:
    • check-success = Open SWE Review
    • check-neutral = Open SWE Review
    • check-skipped = Open SWE Review
  • any of [🛡 GitHub repository ruleset rule Mergify automatic merge queue]:
    • check-success = @mergify/Mergify Merge Protections
    • check-neutral = @mergify/Mergify Merge Protections
    • check-skipped = @mergify/Mergify Merge Protections

@mergify
mergify Bot merged commit 262f53c into main Aug 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant