Preserve source_project_id and target_project_id separately in the generated MergeRequest model for original commit review. Harden the detail read against malformed identities, route mismatches, redirects and status-before-decode errors, preserving unknown metadata for older/deleted source contexts. Add a captured-account repository read that requires fresh global MR identity and authoritative target identity while discarding obsolete results and typed failures.
Use test-first model/API/repository regressions. This slice exposes no private write or new UI and does not infer original commit coordinates from MR-wide diff_refs. Complete original parent/reference validation and guarded review UI separately. Related to MW-07 and #628.
Preserve source_project_id and target_project_id separately in the generated MergeRequest model for original commit review. Harden the detail read against malformed identities, route mismatches, redirects and status-before-decode errors, preserving unknown metadata for older/deleted source contexts. Add a captured-account repository read that requires fresh global MR identity and authoritative target identity while discarding obsolete results and typed failures.
Use test-first model/API/repository regressions. This slice exposes no private write or new UI and does not infer original commit coordinates from MR-wide diff_refs. Complete original parent/reference validation and guarded review UI separately. Related to MW-07 and #628.