Skip to content

primitives draft

factory-droid[bot] edited this page Jul 5, 2026 · 1 revision

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 and edited through Rich record editing.

Clone this wiki locally