Mehdi Akiki

Writing archive

Everything published under Writing, newest first. Each entry is labelled as part of an investigation, an article or reference. Short engineering notes have their own archive.

  • Published on

    Article · Interrupted execution

    Cancelled Rust Uploads Need Durable Cleanup

    Keep upload publication and cleanup decisions in PostgreSQL. Exercise cancellation, a ready attachment, and a repeated delete against local file storage.
  • Published on
    Keyword retrieval finds exact identifiers that embeddings smooth away; vector retrieval finds paraphrases. Fuse ranked candidates, filter permissions first, and evaluate both query families.
  • Published on
    Capture agent mail effects in a test adapter and keep production credentials out of the environment. A prompt telling the agent to stay in test mode is not an enforcement boundary.
  • Published on
    Bound fan-out before creating work. A semaphore inside thousands of spawned tasks limits active calls but leaves thousands of waiting tasks and their data.