Hold analysis locks across compile for concurrent same-snapshot reads, emit SnapshotManifestV1 for app retention, and add Go drainForward tests. Co-authored-by: Cursor <cursoragent@cursor.com>