Import Pi JSONL session versions 1–3 through the existing preview and category-selection workflow. Preserve separate retained branches, tool arguments and results, errors, public shell history, titles, and project context while excluding system prompts, reasoning, extension state, and image bytes. Validate session trees and bound branch expansion before processing.
Persist migration provenance in durable chat data, redact imported titles, and accept Unicode line separators inside JSONL strings. Add the Pi source selector and a user guide with two optimized screenshots from a real preview and import.
Validation: 25 migration tests and 11 subtests passed; the live Web UI imported two real Pi chats into one project with saved provenance and historical tool records; source-session hashes were unchanged and private reasoning was excluded. Checked desktop/mobile layout, 487 local documentation references, JavaScript syntax, image metadata/privacy, and git diff --check.
Bundle the five-harness migration workflow under the _migrate_agents namespace, including preview/import safeguards, tests, documentation, WebUI assets, and the corrected upload modal behavior.