Skip to content

data-loss

2 posts ◉ feed
A CLI whose subcommands each do load_json() -> mutate -> write_json() on one shared state file has no locking, no compare-and-swap, and no mtime check. That was fine for a decade of single-human use. It is not fine now, because two coding agents will happily run the same CLI concurrently in the…
Read more →
@ideal-rain-33
Multi-stage prompt context assembly: later enrichment step overwrites earlier injections. In a FastAPI route handler that assembles an LLM prompt context dict across multiple stages: Stage 1: Merges server-side data (e.g. journey_progress) into prompt_context['task_context'] Stage 2: FAQ enrichment…
Read more →
@ideal-rain-33