Run artifact

workspace/targets/ReadingList/MANIFEST.md

MANIFEST: ReadingList

updated: 2026-10-23T14:50:26+00:00 state: approved blocks: 14

applied_specs: | ARCHITECTURE.md sha256=64951a517fa03e92d5fbc2753f072d3a1dbea94a3337305d0f5655584717a101 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-1 applied_at=2026-10-23T14:54:46+00:00 build_sha256=12cca74d25b815f154b8ff4863f42d791ae77062db53f8cf62b250e526c1c148 ARCHITECTURE_compact.md sha256=a9fcec3955a63fc74fe09ecf518a205cae21a7a1db0f00944d5cb2843b5d60fc commit=2f064c97da055503e6217d006e1bf89d56c8757b applied_by=block-13 applied_at=2026-10-23T15:19:19+00:00 build_sha256=a9fcec3955a63fc74fe09ecf518a205cae21a7a1db0f00944d5cb2843b5d60fc DATABASE.md sha256=0c992bebfe25d4b01148234e73a2399496f30823a0bd5058073fc5f205515438 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-5 applied_at=2026-10-23T15:01:23+00:00 build_sha256=1353dfac0bc5fada634f062a662a2d864da980160ed96e5e66585cd9dfcf7b21 database_operations=FEATURE-BOOKS-001:37e45e9e9f9d9acfcb1d96509ad6ace37f6232ac0f1ec3086beb5ed2dd44cbdf;FEATURE-BOOKS-002:730cb4da283506c42f4d77aa3135818951ba5041a96916e4157ae255b1338b2c;FEATURE-BOOKS-003:b9c936fc245de813f10317659d1a9aa302941cc54d59469e15cc548b15725285;FEATURE-BOOKS-004:b320a176e29d6259442ee8ac07e2354cbb2d93682ab4df76a8e460808ff96a38 DATABASE_compact.md sha256=2aac30f3f1208f952a4c98b4715caeccc14e10650fc98d36dd9be3a53710337f commit=90fb92d4421bcebb4cc47744e62c8d7072c518ed applied_by=block-13 applied_at=2026-10-23T15:19:19+00:00 build_sha256=2aac30f3f1208f952a4c98b4715caeccc14e10650fc98d36dd9be3a53710337f FEATURE-AddBook.md sha256=04243a5752a204f16758a9a890e57680eeac0b70df9035085ec56fde37810a20 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-4 applied_at=2026-10-23T14:58:50+00:00 build_sha256=44113aeeea7d1122e758c68a0921b9699050c8f087d172461ac995016dbd1748 FEATURE-AddBookTests.md sha256=8404e0ad74ea864f83e2faaf5236f75b3790378ca1cf402125ada7cad5f534a5 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-10 applied_at=2026-10-23T15:12:02+00:00 build_sha256=cf5330dc198662870447be2ed28abd2199d809ce33649893224c69eebdf02850 FEATURE-ListBooks.md sha256=481280f8a6ef8bc61688626eb59eac273a9d402d0e2143d8fd6b8daa1e722d87 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-5 applied_at=2026-10-23T15:01:23+00:00 build_sha256=1ce1317567c559d6eb45fd85ed48b9dfcc137434f9737f59c700006c65a76efa FEATURE-ListBooksTests.md sha256=b48a3ff1cf1008409ad4f393d69d9a0f1ad3f3f54e95cd47c050f76ca182036b commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-11 applied_at=2026-10-23T15:14:02+00:00 build_sha256=9b2a7d13d73ee99354829a66b598adf77ce00d08043abbf8381ae6328d5358f0 FEATURE-RejectEmptyAuthor.md sha256=61832269c640cedb089ddbb8cbdb2a1a75e1ebf66636e01980cdddfb8ea964f5 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-8 applied_at=2026-10-23T15:07:16+00:00 build_sha256=056065531ff5af24b04eb8a9f3dc432ed08c013cd12aba5430bf06dc671402d6 FEATURE-RejectEmptyTitle.md sha256=c710bf3b25e29586ccf7df77b69c72eaeaa26b6c78c75ce7f2bfb968f10f0113 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-7 applied_at=2026-10-23T15:05:21+00:00 build_sha256=1a9027d757929c6df17a8f3b0d1bfc313bd053aa7f13892ec8b067ebe691b0cf FEATURE-RemoveBook.md sha256=c2359beb34423bf7b26106c846e3f131dfcfa23f62943eb1eb8b82bcca31891a commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-6 applied_at=2026-10-23T15:03:26+00:00 build_sha256=709cf6f83fe5dbb0f7dd79e630f8e9798b60c04e870ec0f85fba2ea48f01a568 FEATURE-RemoveBookTests.md sha256=17774f74adceab9a8c84fb62e5d099b0f47f80abc152183cb8fbdc39c9679228 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-12 applied_at=2026-10-23T15:16:33+00:00 build_sha256=ad53b7302182f0b25bb07f96c38add0141b9c982679f17d56ec5910b6655b3d6 FEATURE-ValidationTests.md sha256=62400e7c6546fe35304d8297100e0c1e5403ce9d2e50ffe4b839f6aeef7acc19 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-13 applied_at=2026-10-23T15:19:19+00:00 build_sha256=50a462f037f724d2d64acec972e9250f52c591d0be126dfd9eeb6a31e6e8d60a SCREEN-ReadingList.md sha256=595d65875ba970686c3251275d444087e89d688239bb96b88607f69af10c90e6 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-9 applied_at=2026-10-23T15:09:41+00:00 build_sha256=93fad54e431a7c9b4e861bcfab75082a9568f1d4c1b87dba450726ce69beda3b UI-GENERAL.md sha256=83f5087e024a7643971553c406995bcb3a2f60a413e2bf66d48ab36a62293f03 commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-3 applied_at=2026-10-23T14:56:48+00:00 build_sha256=5b673f2b4a4e64fdc00e87022c35d5360236b05bbd01c126fbbeca687d4bb1be VERIFICATION.md sha256=b7f4365d80733f8ee156694769571cbcb7f1abfa75860ef33af55342267bf11c commit=bc8d964e60251355bb9e3200da45f1a035e9190c applied_by=block-14 applied_at=2026-10-23T15:22:24+00:00 build_sha256=e906c27ee37430abf1ef349005924b4ba214417d40119a9eec9836dce282ca27

story 1: Stand up the Python project root, environment, pytest runner, and application skeleton.

id: foundation finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it. evidence: evidence/block-1.md summary: Stand up the Python project root, environment, pytest runner, and application skeleton. type: foundational kind: capability phase: 1 block: 1 implements: ARCHITECTURE.md instructions: | Create the Python project root with pyproject.toml, a committed uv.lock, the .venv launchers under bin/, and a pytest configuration so that pytest -q runs from the application root.

Create the app_server package with a create_app() factory returning a Flask app, and app_server/testing.py exposing web_client(). Add tests/conftest.py exposing the web_client and db_session fixtures. Do not create bin/test.sh here; the verification story owns it. stack: python.md stack_mode: builder size: 3604 provides: create_app acceptance: yes state: closed/implemented

story 2: Declare and provision the books table and its repository operations.

id: database finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it. evidence: evidence/block-2.md summary: Declare and provision the books table and its repository operations. type: foundational kind: capability phase: 1 block: 2 implements: DATABASE.md instructions: | Implement the DATABASE.md declaration. Drydock generates the persistence package and schema.sql; write no persistence code by hand. Verify every declared books operation through the generated package. stack: python.md, persistence.md, sqlite.md stack_mode: builder size: 11259 provides: books.create, books.list, books.get, books.delete depends: foundation acceptance: yes state: closed/implemented

story 3: Provide the shared page layout and register the web server wiring in the application factory.

id: web-shell finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it. evidence: evidence/block-3.md summary: Provide the shared page layout and register the web server wiring in the application factory. type: foundational kind: capability phase: 1 block: 3 implements: UI-GENERAL.md instructions: | Build the shared base HTML template (page title, main content block, error message region) and wire template and persistence initialization into create_app(). Register no book routes here. stack: python.md, flask.md stack_mode: builder size: 3227 provides: base layout template depends: foundation, database acceptance: yes state: closed/implemented

story 4: Let a reader add a book with a title and an author.

id: add-book finding: ADVISORY: implemented, not verified — every criterion this story declared settled UNVERIFIED, so nothing was measured against the built code. Repair the criteria in the Blueprint and rebuild to obtain a verdict. evidence: evidence/block-4.md summary: Let a reader add a book with a title and an author. type: service kind: capability phase: 2 block: 4 implements: FEATURE-AddBook.md covers: BOOKS-001 accepts: st-002 context: ARCHITECTURE_compact.md, DATABASE_compact.md stack: python.md, flask.md stack_mode: consumer size: 7401 provides: POST /books consumes: books.create instructions: | Implement POST /books accepting form fields title and author. A valid submission is stored through db.books.create and answers 303 redirecting to /. Validation of empty fields is owned by the two rejection stories; this story handles valid submissions only. acceptance: yes depends: web-shell, database state: closed/implemented

story 5: Present the stored books in the order they were added.

id: list-books finding: ADVISORY: implemented, not verified — every criterion this story declared settled UNVERIFIED, so nothing was measured against the built code. Repair the criteria in the Blueprint and rebuild to obtain a verdict. evidence: evidence/block-5.md summary: Present the stored books in the order they were added. type: service kind: capability phase: 2 block: 5 implements: FEATURE-ListBooks.md covers: BOOKS-002 accepts: st-003 context: ARCHITECTURE_compact.md, DATABASE_compact.md stack: python.md, flask.md stack_mode: consumer size: 7427 provides: GET /books consumes: books.list instructions: | Implement GET /books returning a JSON array of objects with id, title, author, ordered by insertion order (ascending id) via db.books.list. An empty store returns an empty array. acceptance: yes depends: add-book state: closed/implemented

story 6: Let a reader remove a book from the list.

id: remove-book finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it. evidence: evidence/block-6.md summary: Let a reader remove a book from the list. type: service kind: capability phase: 2 block: 6 implements: FEATURE-RemoveBook.md covers: BOOKS-003 accepts: st-004 context: ARCHITECTURE_compact.md, DATABASE_compact.md stack: python.md, flask.md stack_mode: consumer size: 7543 provides: POST /books/{id}/delete consumes: books.get, books.delete instructions: | Implement POST /books/{id}/delete. A known id is deleted and the route answers 303 redirecting to /. An unknown id answers 404. Remaining books keep their relative order. acceptance: yes depends: add-book state: closed/implemented

story 7: Reject a submission whose title is empty and report the reason.

id: reject-empty-title finding: ADVISORY: implemented, not verified — every binding criterion this story passed was already green before the story built, so none measured the work. Repair the criteria in the Blueprint to exercise this story and rebuild to obtain a verdict. evidence: evidence/block-7.md summary: Reject a submission whose title is empty and report the reason. type: service kind: capability phase: 2 block: 7 implements: FEATURE-RejectEmptyTitle.md covers: VALID-001 accepts: st-005 context: ARCHITECTURE_compact.md, DATABASE_compact.md stack: python.md, flask.md stack_mode: consumer size: 8236 consumes: POST /books instructions: | In the POST /books path, reject a missing, empty, or whitespace-only title with status 400 and a non-empty reason. When the request sends Accept: application/json the body is JSON with "error" (the reason) and "field" equal to "title"; otherwise the page is re-rendered with the reason shown. Nothing is stored on rejection. acceptance: yes depends: add-book state: closed/implemented

story 8: Reject a submission whose author is empty and report the reason.

id: reject-empty-author finding: ADVISORY: implemented, not verified — every binding criterion this story passed was already green before the story built, so none measured the work. Repair the criteria in the Blueprint to exercise this story and rebuild to obtain a verdict. evidence: evidence/block-8.md summary: Reject a submission whose author is empty and report the reason. type: service kind: capability phase: 2 block: 8 implements: FEATURE-RejectEmptyAuthor.md covers: VALID-002 accepts: st-005 context: ARCHITECTURE_compact.md, DATABASE_compact.md stack: python.md, flask.md stack_mode: consumer size: 8245 consumes: POST /books instructions: | In the POST /books path, reject a missing, empty, or whitespace-only author with status 400 and a non-empty reason. When the request sends Accept: application/json the body is JSON with "error" (the reason) and "field" equal to "author"; otherwise the page is re-rendered with the reason shown. Nothing is stored on rejection. acceptance: yes depends: add-book state: closed/implemented

story 9: Render the reading list page with the add form, rejection messages, and remove controls.

id: screen-reading-list finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it. evidence: evidence/block-9.md summary: Render the reading list page with the add form, rejection messages, and remove controls. type: service kind: capability phase: 2 block: 9 implements: SCREEN-ReadingList.md context: ARCHITECTURE_compact.md, DATABASE_compact.md stack: python.md, flask.md stack_mode: consumer size: 8329 provides: GET / consumes: GET /books, POST /books, POST /books/{id}/delete instructions: | Implement GET / rendering the books in insertion order, an add form (title, author) posting to POST /books, a remove form per book posting to POST /books/{id}/delete, and the rejection reason when a submission is rejected. acceptance: yes depends: list-books, remove-book, reject-empty-title, reject-empty-author state: closed/implemented

story 10: Provide automated pytest tests for adding a book.

id: test-add-book finding: ADVISORY: implemented, not verified — every binding criterion this story passed was already green before the story built, so none measured the work. Repair the criteria in the Blueprint to exercise this story and rebuild to obtain a verdict. evidence: evidence/block-10.md summary: Provide automated pytest tests for adding a book. type: service kind: test harness phase: 3 block: 10 implements: FEATURE-AddBookTests.md covers: TEST-001 accepts: st-006 context: ARCHITECTURE_compact.md, DATABASE_compact.md stack: python.md stack_mode: consumer size: 6731 consumes: POST /books instructions: | Write tests/test_add_book.py with pytest tests covering adding a book and reading it back through GET /books with its title and author. acceptance: yes depends: add-book state: closed/implemented

story 11: Provide automated pytest tests for listing books in the order added.

id: test-list-books finding: ADVISORY: implemented, not verified — every binding criterion this story passed was already green before the story built, so none measured the work. Repair the criteria in the Blueprint to exercise this story and rebuild to obtain a verdict. evidence: evidence/block-11.md summary: Provide automated pytest tests for listing books in the order added. type: service kind: test harness phase: 3 block: 11 implements: FEATURE-ListBooksTests.md covers: TEST-002 accepts: st-006 context: ARCHITECTURE_compact.md, DATABASE_compact.md stack: python.md stack_mode: consumer size: 6756 consumes: GET /books instructions: | Write tests/test_list_books.py covering empty list, one book, and several books returned in the order added. acceptance: yes depends: list-books state: closed/implemented

story 12: Provide automated pytest tests for removing a book.

id: test-remove-book finding: ADVISORY: implemented, not verified — every binding criterion this story passed was already green before the story built, so none measured the work. Repair the criteria in the Blueprint to exercise this story and rebuild to obtain a verdict. evidence: evidence/block-12.md summary: Provide automated pytest tests for removing a book. type: service kind: test harness phase: 3 block: 12 implements: FEATURE-RemoveBookTests.md covers: TEST-003 accepts: st-006 context: ARCHITECTURE_compact.md, DATABASE_compact.md stack: python.md stack_mode: consumer size: 7645 consumes: POST /books/{id}/delete instructions: | Write tests/test_remove_book.py covering removal of a book, omission on the next read, order of the remaining books, and 404 for an unknown id. acceptance: yes depends: remove-book state: closed/implemented

story 13: Provide automated pytest tests for rejecting an empty title or author.

id: test-validation finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it. evidence: evidence/block-13.md summary: Provide automated pytest tests for rejecting an empty title or author. type: service kind: test harness phase: 3 block: 13 implements: FEATURE-ValidationTests.md covers: TEST-004 accepts: st-006 context: ARCHITECTURE_compact.md, DATABASE_compact.md stack: python.md stack_mode: consumer size: 8177 consumes: POST /books instructions: | Write tests/test_validation.py covering empty and whitespace-only title and author, asserting status 400, a non-empty reason, and that nothing is stored. acceptance: yes depends: reject-empty-title, reject-empty-author state: closed/implemented

story 14: Provide the POSIX bin/test.sh runner and gate on the complete suite.

id: verification finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it. evidence: evidence/block-14.md summary: Provide the POSIX bin/test.sh runner and gate on the complete suite. type: feature kind: test harness phase: 3 block: 14 implements: VERIFICATION.md covers: TEST-005 accepts: st-001, st-006 instructions: | Create bin/test.sh at the application root: POSIX sh, activates .venv when present, runs pytest -q from the application root, and exits non-zero unless every test passes. Run sh sources/full_test.sh as the full-suite gate and preserve command, exit code, stdout, and stderr as evidence. stack: python.md stack_mode: consumer size: 2914 depends: foundation, database, web-shell, add-book, list-books, remove-book, reject-empty-title, reject-empty-author, screen-reading-list, test-add-book, test-list-books, test-remove-book, test-validation acceptance: yes state: closed/implemented