~/writing

Legacy Code

4 posts tagged legacy-code. clear filter

October 2026
  • 13
    Prompt injection in legacy repos
    day 28 · Software Engineering in the AI Era

    You'll learn how old comments, fixtures, docs and error strings in a legacy repo can act as prompt injection for coding agents, how to find and triage them, and how to limit the damage when one slips through.

  • 13
    Exemplar audits
    day 21 · Software Engineering in the AI Era

    You'll learn why coding agents copy the patterns in your existing code instead of following the rules in CLAUDE.md, and how a four-step exemplar audit finds and fixes the files they copy most.

September 2026
  • 23
    Provenance in Spec Recovery
    day 5 · Spec-Driven Development

    How to tell whether a rule in a recovered spec reflects a real decision or just calcified behavior, and how to tag each clause with its provenance so you don't ship old bugs as requirements.

  • 17
    How an Agent Deleting 'Dead Code' Cost a Major Partner

    Every signal a reviewer — human or agent — could see said the function was safe to delete; the only thing that said otherwise lived in a Slack thread a workspace reorg had already erased.