Prompt이 software; 그렇게 다뤄
Prompt이 database row의 string, Notion 페이지, 또는 코드의 inline literal이면 basic engineering tool 포기한 거: diff, review, rollback. 2026 baseline은 source control에 prompt, semantic versioning, frontmatter metadata, production이 read하는 version key.
Versioning shape
- Prompt당 한 파일,
<name>/v<n>.md나<name>@<n>.prompt로 명명. - Frontmatter: id, version, model, owner, last-eval-pass-date, input/output schema.
- Production이 versioned key로 read, filename glob X.
- Bumped version = 새 파일; rollback 위해 옛 version reachable 유지.
이게 enable하는 것
- PR에서 diff.
- Reviewer가 context에서 변경 봐.
- Rollback이 instant — version key flip.
- A/B testing이 그냥 "이 user는 v_new, 저 user는 v_old."