Google ADK → Memanto Migration — 10/10 Verified by AtlasCraft CodexGoogle ADK → Memanto Migration — 10/10 Verified by AtlasCraft Codex

Google ADK → Memanto Migration — 10/10 Verified

AtlasCraft Codex

AtlasCraft Codex

What this adds

A new Path B migration showcase for Google ADK's JSON-backed SqliteSessionService:
Google ADK SQLite → read-only snapshot → correction-safe OKF → memanto migrate okf → Memanto recall → OKF export
The adapter is standard-library only. It maps current app/user/session state into typed OKF memories, preserves the exact normalized source snapshot, renders source sessions as readable context, and isolates superseded values outside memories/ so corrected facts cannot be reactivated during import. The artifact verifier fails closed on malformed metadata, duplicate entries, unlisted memory files, absolute paths, traversal paths, and snapshot/hash mismatches. Capture also aborts if the SQLite database changes during the read.

Reproduction


Migration summary

Metric Result Google ADK sessions 8 Persisted events 17 Durable state updates 13 Source state records 10 OKF / Memanto memories 10 Skipped 0 Superseded timelines archived 3 Types represented 9 Source golden recall 8/8 (100%) OKF-mapped golden recall 8/8 (100%) Live Moorcheh import 10/10, 0 failed Live Moorcheh recall 8/8 (100%) Live Memanto → OKF reexport 10/10 memories
The OKF importer does not expose --report, and ADK SQLite stores no token, latency, or billing baseline, so the report deliberately claims no synthetic provider savings.

Evidence

Migration report: examples/migrations/google-adk/artifacts/adk-live-run/migration-report.json
Source/OKF parity: examples/migrations/google-adk/artifacts/adk-live-run/evidence/recall-parity.json
Shipped CLI capture: examples/migrations/google-adk/artifacts/adk-live-run/evidence/memanto-dry-run.txt
Live cloud recall: examples/migrations/google-adk/artifacts/adk-live-run/evidence/cloud-recall-validation.json
Cloud round-trip summary: examples/migrations/google-adk/artifacts/adk-live-run/roundtrip-summary.json
Memanto reexport: examples/migrations/google-adk/artifacts/adk-live-run/memanto-roundtrip-export/
Source-session accounting: examples/migrations/google-adk/artifacts/adk-live-run/memanto-roundtrip-export/SOURCE_SESSION_MAPPING.md
Sample bundle: examples/migrations/google-adk/artifacts/adk-live-run/google-adk-okf/
Mapping policy: examples/migrations/google-adk/MAPPING.md

Validation


The focused adapter suite passes 32/32 tests. The full repository suite is green (612 collected; 586 passed and 26 expected platform/live-key skips on Windows). The final clean-room cloud rerun removed seven stale local summaries before import and exported 10/10 globally unique OKF resources; duplicate active resources now fail the round-trip evidence check. Separate live Moorcheh evidence covers the cloud round trip without publishing the API key.
Closes #1609
Like this project

Posted Aug 2, 2026

Built a correction-safe SQLite-to-OKF migration path with 10/10 cloud imports, 8/8 recall checks, reversible export, and 32/32 focused tests.

Likes

0

Views

0

Clients

Google