Run artifact

workspace/targets/ReadingList/blueprint/DATABASE.md

DATABASE: Reading List

FieldValue
Version20261014 V1
DescriptionPersistence contract for the reading list: one books table and its access patterns.
Depends OnARCHITECTURE.md
Providesbooks.create, books.list, books.get, books.delete

Access Patterns

FEATURE-BOOKS-001 — Create a book

FieldValue
OwnerFEATURE-AddBook.md
Accesswrite
Repository operationbooks.create
Compatibilityrebuild

Input: BookCreate

FieldTypeNotes
titleTEXTNon-empty after trimming.
authorTEXTNon-empty after trimming.

Output: Book

FieldTypeNotes
idINTEGERAssigned on insert.
titleTEXT
authorTEXT

FEATURE-BOOKS-002 — List books in insertion order

FieldValue
OwnerFEATURE-ListBooks.md
Accessread
Repository operationbooks.list
Compatibilityrebuild

Input: BookListRequest

FieldTypeNotes
(none)—The operation takes no input fields.

Output: Book

FieldTypeNotes
idINTEGEROrdered ascending.
titleTEXT
authorTEXT

FEATURE-BOOKS-003 — Retrieve a book by id

FieldValue
OwnerFEATURE-RemoveBook.md
Accessread
Repository operationbooks.get
Compatibilityrebuild

Input: BookId

FieldTypeNotes
idINTEGER

Output: Book

FieldTypeNotes
idINTEGER
titleTEXT
authorTEXT

FEATURE-BOOKS-004 — Delete a book by id

FieldValue
OwnerFEATURE-RemoveBook.md
Accesswrite
Repository operationbooks.delete
Compatibilityrebuild

Input: BookId

FieldTypeNotes
idINTEGER

Output: BookId

FieldTypeNotes
idINTEGERThe id that was removed.

Schema

books

FieldTypeNotes
idINTEGER PKAutoincrement; list order is ascending id.
titleTEXT NOT NULL
authorTEXT NOT NULL

Programmatic Acceptance

User Acceptance

Guardrails