Something went wrong. Try again.
personal memory agent
Something went wrong. Try again.
fix(import): guard both detail reads and pin the status contract master
Follow-on to #391. The detail endpoint's second metadata read sat outside the not-found guard, so an import removed between the two reads raised instead of returning import_not_found. Both reads now share the guard; status resolution stays outside it, since it touches no filesystem. Adds the server-side coverage the change was missing. The JSON fixtures pin the client derivation, but nothing asserted that the endpoint itself returns status, error and error_stage — the half a later refactor drops silently. Two tests now pin it: an unfinished import reads running, and a failed one carries its error and stage through.
Author Jer Miller Date (Jul 31, 2026, 4:12 PM UTC) Commit adf2e9c5 adf2e9c5ff88d63aa03872c53bfe08cee7017bc3 Parent a114a2ce a114a2ce85427915d91a018043b9d4918fe521d8