# Draft Active contributors: Douwe de Vries, vriesd ## Purpose A Draft is editable Testware created from a Session. Drafts can be manual or generated, and they preserve provider metadata for generated records. ## Key source files | File | Purpose | | --- | --- | | `crates/qa-scribe-core/src/domain/draft.rs` | Draft DTOs, create shapes, patch shapes, and kind values. | | `crates/qa-scribe-core/src/services/session_service/drafts.rs` | Draft persistence. | | `frontend/src/views/TestwareView.tsx` | Testware draft collection UI. | | `frontend/src/views/RecordCollectionView.tsx` | Shared record collection behavior. | | `frontend/src/workflows/prefillTemplates.ts` | Prefill templates for manual records. | ## Integration points Drafts are generated by [AI-assisted Testware](features--ai-assisted-testware.md) and edited through [Rich record editing](features--rich-record-editing.md).