René's URL Explorer Experiment


Title: bug: local-to-orphan migration leaves existing governed memory unavailable through MCP · Issue #2425 · github/squad · GitHub

Open Graph Title: bug: local-to-orphan migration leaves existing governed memory unavailable through MCP · Issue #2425 · github/squad

X Title: bug: local-to-orphan migration leaves existing governed memory unavailable through MCP · Issue #2425 · github/squad

Description: Migrating an existing Squad from local to orphan leaves governed memory in the working tree while the MCP memory tools switch to the orphan branch. Previously stored memory then becomes unavailable through those tools, even though the or...

Open Graph Description: Migrating an existing Squad from local to orphan leaves governed memory in the working tree while the MCP memory tools switch to the orphan branch. Previously stored memory then becomes unavailable...

X Description: Migrating an existing Squad from local to orphan leaves governed memory in the working tree while the MCP memory tools switch to the orphan branch. Previously stored memory then becomes unavailable...

Opengraph URL: https://github.com/github/squad/issues/2425

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: local-to-orphan migration leaves existing governed memory unavailable through MCP","articleBody":"Migrating an existing Squad from `local` to `orphan` leaves governed memory in the working tree while the MCP memory tools switch to the orphan branch. Previously stored memory then becomes unavailable through those tools, even though the original files remain on disk.\n\n**Affected version:** Squad CLI/SDK 1.1.0, Homebrew standalone installation on macOS. Source references below are pinned to release commit `c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a`. This report is based on source inspection of that release and its installed bundle.\n\n**Expected behavior**\n\nExisting durable governed memory should remain available through `memory.search` after `squad upgrade --state-backend orphan`, with one authoritative store. The release's [migration documentation](https://github.com/github/squad/blob/c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a/docs/src/content/docs/features/state-backends.md#L417) promises preservation of existing state.\n\n**Source evidence**\n\n- [`collectWorktreeState()`](https://github.com/github/squad/blob/c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a/packages/squad-cli/src/cli/commands/migrate-backend.ts#L75) collects only `decisions.md` and `agents/\u003cname>/history.md`. It never collects `memory/` records, index, configuration, audit history, or tombstones.\n- [`migrateStateBackend()`](https://github.com/github/squad/blob/c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a/packages/squad-cli/src/cli/commands/migrate-backend.ts#L174) nevertheless changes `stateBackend` to `orphan` after importing those selected files.\n- [`createStateMcpToolRegistry()`](https://github.com/github/squad/blob/c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a/packages/squad-cli/src/cli/commands/state-mcp.ts#L70) obtains storage from `resolveSquadState()`. The [resolver](https://github.com/github/squad/blob/c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a/packages/squad-sdk/src/resolution.ts#L886) selects `StateBackendStorageAdapter` for orphan storage, so MCP reads no longer consult the old filesystem memory store.\n- The same migration collector remains in the current `dev` source at the time of filing.\n\n**Reproduction scenario derived from the source**\n\n1. Start with `stateBackend: \"local\"` and a governed `LOCAL` memory written through MCP `memory.write`.\n2. Confirm that MCP `memory.search` can find it.\n3. Run `squad upgrade --state-backend orphan` and reconnect the MCP session so it resolves the new backend.\n4. Search for that memory through MCP again.\n\nThe record and index remain under the on-disk `.squad/memory/`, while MCP now reads `squad-state:memory/...`. The migration never imported the pre-existing memory. `squad sync --push` only synchronizes existing state refs; it does not import those filesystem files.\n\n**Scope**\n\nThis is a visibility/authority migration defect, not a claim that the old files are deleted. This report does not require transient logs, scratch files, or sessions to migrate.\n\nThis is distinct from #2316 / #2317: making CLI and MCP use the same configured store does not transfer existing local memory when changing backends. Any migration should preserve existing destination state and retain the source until a successful transfer is established.\n","author":{"url":"https://github.com/dat-intellis","@type":"Person","name":"dat-intellis"},"datePublished":"2026-11-08T21:07:30Z","url":"https://github.com/github/squad/issues/2425"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f94c1d17-8d17-9d0e-3bae-c250167d1ed1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDB1E:26ECEB:1823F38:1EC70F3:6B012C62
html-safe-noncec8986a5cfd781ef92264ecaa470d73ef7c8a9fa24fbc900f372e3e2522093c9e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjFFOjI2RUNFQjoxODIzRjM4OjFFQzcwRjM6NkIwMTJDNjIiLCJ2aXNpdG9yX2lkIjoiNjc4MTAzMTcxNzQ3OTE5Nzc5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6f2e20a2c01a501c84f0a0c555e63d60c837b202247a12f835d98be3880aa55d
hovercard-subject-tagissue:6275640381
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/squad/2425/issue_layout
twitter:imagehttps://opengraph.githubassets.com/742b72f044f853bcd063257eef075043fdd2a9458a0d50dcbccb6c0ce351a461/github/squad/issues/2425
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/742b72f044f853bcd063257eef075043fdd2a9458a0d50dcbccb6c0ce351a461/github/squad/issues/2425
og:image:altMigrating an existing Squad from local to orphan leaves governed memory in the working tree while the MCP memory tools switch to the orphan branch. Previously stored memory then becomes unavailable...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedat-intellis
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/github/squad git https://github.com/github/squad.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id1151205052
octolytics-dimension-repository_nwogithub/squad
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1151205052
octolytics-dimension-repository_network_root_nwogithub/squad
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/github/squad/issues/2425#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsquad%2Fissues%2F2425
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsquad%2Fissues%2F2425
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fsquad
Reloadhttps://github.com/github/squad/issues/2425
Reloadhttps://github.com/github/squad/issues/2425
Reloadhttps://github.com/github/squad/issues/2425
githubhttps://github.com/github
squadhttps://github.com/github/squad
Codehttps://github.com/github/squad
Issues108 (108)https://github.com/github/squad/issues
Pull requests26 (26)https://github.com/github/squad/pulls
Discussionshttps://github.com/github/squad/discussions
Actionshttps://github.com/github/squad/actions
Projectshttps://github.com/github/squad/projects
Security and qualityhttps://github.com/github/squad/security
Insightshttps://github.com/github/squad/insights
https://github.com/github/squad
New issuehttps://github.com/login?return_to=https://github.com/github/squad/issues/2425
New issuehttps://github.com/login?return_to=https://github.com/github/squad/issues/2425
#2439https://github.com/github/squad/pull/2439
bug: local-to-orphan migration leaves existing governed memory unavailable through MCPhttps://github.com/github/squad/issues/2425#top
#2439https://github.com/github/squad/pull/2439
https://github.com/dat-intellis
dat-intellishttps://github.com/dat-intellis
on Nov 8, 2026https://github.com/github/squad/issues/2425#issue-6275640381
migration documentationhttps://github.com/github/squad/blob/c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a/docs/src/content/docs/features/state-backends.md#L417
collectWorktreeState()https://github.com/github/squad/blob/c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a/packages/squad-cli/src/cli/commands/migrate-backend.ts#L75
migrateStateBackend()https://github.com/github/squad/blob/c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a/packages/squad-cli/src/cli/commands/migrate-backend.ts#L174
createStateMcpToolRegistry()https://github.com/github/squad/blob/c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a/packages/squad-cli/src/cli/commands/state-mcp.ts#L70
resolverhttps://github.com/github/squad/blob/c24da2aad2ab7576f6b68dec2bc50b2fe2dc7a8a/packages/squad-sdk/src/resolution.ts#L886
#2316https://github.com/github/squad/issues/2316
#2317https://github.com/github/squad/pull/2317
tamirdresherhttps://github.com/tamirdresher
completedhttps://github.com/github/squad/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
9ee909ehttps://github.com/github/squad/commit/9ee909e6a6900b08a039013f6f3ac1bc9d8ead1d
on Nov 9, 2026https://github.com/github/squad/issues/2425#event-35593254387
https://github.com/Parth-Jadhav-2004
Parth-Jadhav-2004https://github.com/Parth-Jadhav-2004
on Nov 9, 2026https://github.com/github/squad/issues/2425#issuecomment-6747394995
savvinaAIhttps://github.com/savvinaAI
on Nov 9, 2026https://github.com/github/squad/issues/2425#event-35613076948
fix(state): transactional governed-memory migration and source-branch…https://github.com/savvinaAI/squad/commit/9ee909e6a6900b08a039013f6f3ac1bc9d8ead1d
9ee909ehttps://github.com/savvinaAI/squad/commit/9ee909e6a6900b08a039013f6f3ac1bc9d8ead1d
Sign up for freehttps://github.com/signup?return_to=https://github.com/github/squad/issues/2425
Sign in to commenthttps://github.com/login?return_to=https://github.com/github/squad/issues/2425
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.