Skip to content

chore: sync upstream MiaAI-Lab/m3code main - #4

Closed
SynurDevelopers wants to merge 1056 commits into
ci/github-hosted-runnersfrom
sync/m3code-upstream
Closed

SynurDevelopers wants to merge 1056 commits into
ci/github-hosted-runnersfrom
sync/m3code-upstream

Conversation

@SynurDevelopers

Copy link
Copy Markdown
Collaborator

Syncs upstream MiaAI-Lab/m3code main (b04a1049af) into our fork while preserving all Synur PR #1 security hardening.

Stacked on PR #3 (ci/github-hosted-runners) so CI runs on GitHub-hosted runners (ubuntu-24.04 / macos-latest) with zero blacksmith runner entries.

shivamhwp and others added 30 commits November 23, 2026 23:39
…n retry (pingdotgg#41964)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…macOS (pingdotgg#41988)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…ee under the thread's link (pingdotgg#41994)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
… not relayed (pingdotgg#41992)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…his launch (pingdotgg#41985)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
… the broadest mode (pingdotgg#41977)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…hment, not a file path (pingdotgg#41970)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…t read (pingdotgg#41981)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…restart (pingdotgg#37875)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#42000)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… moved (pingdotgg#42016)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…on link is not a local file (pingdotgg#42023)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#42027)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…security fix (pingdotgg#42043)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#42046)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#42037)

Co-authored-by: hanmin6 <226948540+hanmin6@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…pingdotgg#42011)

Co-authored-by: pepsi <pepsi@Pepsi-Work.local>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…t passes 128 KB (pingdotgg#42040)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ne breaks are on (pingdotgg#42055)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…heir name (pingdotgg#42062)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…2049)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ad of a blank pane (pingdotgg#42048)

Co-authored-by: Karsten Nilsen <8917480+karstennilsen@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
GustavBlack and others added 17 commits November 28, 2026 01:17
- The Icon Composer bundles still carried upstream's T3 path in text.svg, so
  `vp run icons:export:android` regenerated a T3 foreground and T3 splashes
  over the hand-made M3 PNGs. The M3 wordmark is now the source: traced from
  the approved production foreground (432px) into a 128-viewBox path, installed
  in the dev, nightly and prod bundles and in assets/prod/logo.svg.
- Re-exported foreground and all three splashes; the foreground reproduces the
  approved mark to within a half-pixel edge (4.4% of glyph pixels differ, all
  on the boundary), and dev/nightly splashes now show M3 instead of T3.
- Version 2.3.1 for the first published M3 Code Android build, and versionCode 2
  so it installs over the 2.3.0 sideload (Android refuses an equal or lower code).
- `vp run i18n:generate` and the hand edit in t3McpToolPresentation.ts left
  lines prettier rewraps; `vp run check:changed` failed its format step on
  these 11 files. Formatting only, no string changes.
- updateEverything: "update M3 Code on that machine" (was T3 Code).
- rpc/session: "a different M3 Code install" in the blocked-connection message.
- managedPolicyFile: "not an M3 Code policy value/key" — the source already
  said "an", the assertions still had the old "a".
- The three @expo-google-fonts packages are referenced as asset paths in
  app.config.ts, which knip cannot trace; list them beside dm-sans.
- TECH_MOCA_THEME has no importer outside themePalettes.ts (BUILT_IN_THEMES
  carries it), so drop the unused export.
feat(mobile): M3 identity, Tech Moca theme and M3 icon sources
- install.md: the Android app comes from this repository's `mobile-m3-*`
  releases; the App Store and Google Play apps are the official T3 Code app and
  still connect unchanged. "T3 Connect" in that paragraph becomes "M3 Connect",
  the name the app now shows.
- README: the mobile section names the M3 Code app beside the T3 Code one.
- 03_release.md: record how the fork publishes its own APK, since the upstream
  mobile workflows are guarded to pingdotgg/t3code.
docs(mobile): point Android users at this fork's APK release
OMP writes failed task-results as `failed (exit N)` or `merge failed`, which
the adapter showed as interrupted. A mixed task call (blocking + background
spawns) tracked its inline spawns too; no task-result follows for those, so the
run never settled and kept background work pending. Also silences the
nodeBuiltinImport diagnostic that failed provider-pi typecheck.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(server): run each SQLite setup PRAGMA on its own
…session-import

feat(onboarding): import local OpenCode 2 conversations
…cards

fix(provider-omp): show subagents spawned by OMP's task tool
…held-queue

fix(server): auto-retry a queue hold after a transient provider failure (30s/2m/5m ladder)
Retry effect ids were keyed only on thread and attempt, so a thread that
ever spent its three retries never auto-retried a later hold. Key the
ladder on the thread's latest completed run, derive the resume command id
from the effect id, and drop the test's global Date use that failed
typecheck.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	.github/workflows/upstream-sync.yml
#	apps/mobile/src/features/settings/SettingsServerControlsRouteScreen.tsx
#	apps/server/src/mcp/OrchestratorMcpService.ts
#	apps/server/src/server.ts
#	apps/server/src/terminal/Manager.ts
#	apps/web/src/components/settings/ScheduledTasksSettings.tsx
#	apps/web/src/i18n/translations/de.json
#	apps/web/src/i18n/translations/en.json
#	apps/web/src/i18n/translations/es.json
#	apps/web/src/i18n/translations/fr.json
#	apps/web/src/i18n/translations/ja.json
#	apps/web/src/i18n/translations/ko.json
#	apps/web/src/i18n/translations/pt-BR.json
#	apps/web/src/i18n/translations/ru.json
#	apps/web/src/i18n/translations/sv.json
#	apps/web/src/i18n/translations/zh.json
#	packages/provider-acp/src/server/AcpSessionRuntime.ts
#	packages/provider-core/src/server/instanceEnvironment.test.ts
#	packages/provider-core/src/server/instanceEnvironment.ts
@SynurDevelopers SynurDevelopers added the agent-context-increase Accept agent context budget increase from upstream or approved MCP changes label Dec 1, 2026
@cursor

cursor Bot commented Dec 1, 2026

Copy link
Copy Markdown

This PR is too large for Bugbot to review. It changes 67,673 lines and 4,054,624 characters. Split the change into smaller pull requests to get a review.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XXL labels Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

This PR changes the test suite by +2506 test cases (browser +183, unit +1658, server +665).

New browser test files: apps/web/src/browserHistoryStore.browser.test.ts, apps/web/src/components/Sidebar.motion.browser.test.ts, apps/web/src/components/WorktreeLayoutApprovalDialogHost.browser.test.tsx, apps/web/src/components/auth/PairingRouteSurface.browser.test.tsx, apps/web/src/components/chat/FileSearchResults.browser.test.tsx, apps/web/src/components/diffs/DiffCommentAnnotation.browser.test.tsx, apps/web/src/components/files/PreviewImageContent.browser.test.tsx, apps/web/src/components/issue/IssuesPage.browser.test.tsx, apps/web/src/components/pullRequest/PullRequestReviewAnnotation.browser.test.tsx, apps/web/src/components/pullRequest/PullRequestsColumn.browser.test.tsx, apps/web/src/components/settings/LabsSettingsPanel.browser.test.tsx, apps/web/src/components/settings/OpenSourceLicenses.browser.test.tsx, apps/web/src/components/settings/ProjectIconPickerDialog.browser.test.tsx, apps/web/src/components/settings/SnoozePresetsSettings.browser.test.tsx, apps/web/src/components/settings/TextGeneratorsSettings.browser.test.tsx, apps/web/src/components/ui/search-input.browser.test.tsx, apps/web/src/components/workflows/WorkflowPane.browser.test.tsx, apps/web/src/components/workflows/WorkflowRunsView.browser.test.tsx, apps/web/src/lib/imageCompression.browser.test.ts, apps/web/src/lib/pageTranslationGuard.browser.test.tsx, apps/web/src/lib/selectionActions.browser.test.ts.
Each browser test file costs CI seconds of module loading before its first test runs; a unit test costs milliseconds.

Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing.

@github-actions github-actions Bot added the 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. label Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Thread transfer impact

⚠️ The latest CI run did not produce a thread transfer result for 1afb5c7.

This comment will update automatically after the next completed run.

@SynurDevelopers

Copy link
Copy Markdown
Collaborator Author

Superseded by merged PR #2, which syncs MiaAI-Lab/m3code main with Synur's patch queue.

SynurDevelopers added a commit that referenced this pull request Dec 3, 2026
…ileReads

WorkspaceEntries followed symlinks out of the workspace root regardless of
the setting, and its entry points accepted any cwd. Out-of-root links are now
listed only when allowOutOfWorkspaceFileReads is on, and list, search,
searchContents and listIgnoredFiles check the cwd against known workspaces.
The setting read is extracted into one fail-closed helper used by
WorkspaceEntries, WorkspaceFileSystem and AssetAccess. Restores the fork's
test that drops out-of-root links and adds an AssetAccess gate test.

Review findings F2 and senior-dev #4.

yokoten:
  command: rg "realpath|isListable|allowOutOfWorkspaceFileReads" apps/server/src
  outcome: found-elsewhere-fixed (WorkspaceFileSystem, AssetAccess); others already gated or not file reads
  files-touched: [apps/server/src/workspace/WorkspaceEntries.ts, apps/server/src/workspace/WorkspaceFileSystem.ts, apps/server/src/assets/AssetAccess.ts]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-context-increase Accept agent context budget increase from upstream or approved MCP changes 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. size:XXL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.