Skip to content

feat(onboarding): import agent histories and add projects in batches - #1503

Merged
nixuuu merged 8 commits into
devfrom
feat/onboarding-import-and-project-selection
Nov 30, 2026
Merged

nixuuu merged 8 commits into
devfrom
feat/onboarding-import-and-project-selection

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Changes

  • Add T3 Code projects from the first-run import preview, including empty projects. Keep names, reuse workspaces on the source worker, and map Git worktrees. Let the owner add projects independently of importing conversations and settings. The Android/iOS import screen uses the same inventory and actions.
  • Read saved T3 conversations directly from both SQLite generations, including lazy migrations and supported fork history. Import messages, reasoning, recorded commands and tool results, plans, file changes and local message attachments. Preserve source dates, archive state and branch. Continue in a fresh session with a conversation excerpt, using the recorded agent when identifiable and Codex for unknown sources.
  • Let the owner explicitly select supported T3 provider profiles, local login directories, model lists, personal and project defaults, and worktree settings. Preview the destination and current value. Keep credentials on the source computer and show reasons for skipped settings and files.
  • Let owners save several Claude directories per worker during onboarding or from the import preview. Identify each source and offer a choice when defaults conflict. Preserve histories with the same session ID in different accounts.
  • Show the shared skills directory even when empty or missing. Discover skills through individual links or a linked skills directory such as ~/.agents/skills pointing into dotfiles. Merge matching skills across sources and require a new scan after the linked directory changes.
  • Select several Git repositories in onboarding or Add project. Retain the remaining selections after a partial failure. Link the standalone Linux server installation in the README and update its systemd example.

Verification

  • Ran the first-run flow in Chromium at 1280 and 390 px against a real gateway, PostgreSQL and worker with a synthetic T3 installation. Selected an empty project and a project with an existing thread, left a missing directory out, and saw the thread target update. Selected a local Claude account and project model. Imported the three items, opened the saved conversation and checked its CSV attachment.
  • Exercised the native mobile project picker on an Android emulator at 320 and 360 dp with controlled RPC responses, including mixed targets, a partially failed batch and retry. The shared web/desktop renderer was also tested with multiple Claude directories, and the Git picker with keyboard, touch and partial errors.
  • Focused worker and gateway integration tests use both generations of the upstream SQLite schema and a real worker link. Coverage includes WAL, forks, source changes, history continuation, project assignment, attachments, settings, Undo, shared skills and multiple Claude homes.
  • On Linux, 43 worker, gateway import and device skill inventory tests passed. The macOS Intel and Apple Silicon jobs cover a complete linked directory and individual skill links.
  • Regenerated the contracts after integrating dev. All 28 schema checks passed with migrations 0242 and 0243. Ran affected package and integration typechecks, edited-file lint and formatting.
  • Local runtime checks used generated T3 data. A database from the reporter, an iOS device and a fresh systemd installation were unavailable. CI runs the full repository gate.

Copy audit (§8)

Passed the ten checks. “Add selected projects” distinguishes registration of project directories from importing threads and settings. “Use each thread’s suggested target” covers sources sharing a directory. “Save and scan” makes persistence of Claude directories explicit. Text labels explain missing directories, conflicts and partial failures. Long names and paths remain readable on narrow screens.

@nixuuu
nixuuu enabled auto-merge (squash) November 30, 2026 18:30
@nixuuu
nixuuu disabled auto-merge November 30, 2026 18:32
@nixuuu
nixuuu merged commit a1d562f into dev Nov 30, 2026
25 checks passed
@nixuuu
nixuuu deleted the feat/onboarding-import-and-project-selection branch November 30, 2026 20:15
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