Run artifact

workspace/targets/ReadingList/evidence/block-9.md

Evidence: Block 9 ยท Service (block-9)

Stories built

Acceptance tooling authorization

Stacked context

Build directory changes

Pre-build acceptance observation

intent: The reading list page at GET / answers 200 and GET /books answers 200 with a JSON array. return code: 1 stderr: Traceback (most recent call last): File "screen-index-reachable.py", line 5, in <module> assert page.status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: Books added through POST /books appear on GET / in the order they were added, with GET /books agreeing. return code: 1 stderr: --- drydock: values at failure --- positions = [-1, -1, -1] --- drydock: end values --- Traceback (most recent call last): File "screen-shows-books-in-order.py", line 23, in <module> assert all(p >= 0 for p in positions) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: A rejected browser submission is answered 400 with a page, stores nothing, and the page remains reachable. return code: 1 stderr: --- drydock: values at failure --- client = <FlaskClient <Flask 'app_server'>> --- drydock: end values --- Traceback (most recent call last): File "screen-rejection-shown.py", line 22, in <module> assert client.get("/").status_code == 200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: Posting to the remove route redirects with 303 and the book is absent from GET / and GET /books on the next read. return code: 1 stderr: --- drydock: values at failure --- keep_title = 'ScreenRemoveKeep' html = '<!doctype html>\n<html lang=en>\n<title>404 Not Found</title>\n<h1>Not Found</h1>\n<p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p>\n' --- drydock: end values --- Traceback (most recent call last): File "screen-remove-book.py", line 30, in <module> assert keep_title in html ^^^^^^^^^^^^^^^^^^ AssertionError

Post-build programmatic acceptance

intent: The reading list page at GET / answers 200 and GET /books answers 200 with a JSON array. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/ReadingList/runs/20261023.144538/build/ReadingList/.venv/bin/python provisioning: not required return code: 0

intent: Books added through POST /books appear on GET / in the order they were added, with GET /books agreeing. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/ReadingList/runs/20261023.144538/build/ReadingList/.venv/bin/python provisioning: not required return code: 0

intent: A rejected browser submission is answered 400 with a page, stores nothing, and the page remains reachable. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/ReadingList/runs/20261023.144538/build/ReadingList/.venv/bin/python provisioning: not required return code: 0

intent: Posting to the remove route redirects with 303 and the book is absent from GET / and GET /books on the next read. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/ReadingList/runs/20261023.144538/build/ReadingList/.venv/bin/python provisioning: not required return code: 0

Build summary

The page route GET / doesn't exist yet, and the rejection path renders only base.html. Before changing anything, I'll get a baseline test run.Baseline is 117 passing. Now I'll add the GET / route, the page template, and make the HTML rejection path re-render the full reading list page (per the spec's "page re-rendered with the reason").One existing wiring test pins the endpoint set exactly. Let me read it before deciding how to update it.That test's intent is "only the book routes exist." The GET / page is a new route this step is required to add, so I'll extend the expected set to include it and say so in the summary. Next, the new tests for the page.Running the full suite now.All 134 tests pass. Next I'll run the four declared acceptance criteria for this step, with each one in its own script kept outside the build directory.All four declared criteria pass. I'll remove one redundant assertion loop in my new test file, re-run the suite, and check the changed-file list.RESULT: SUCCESS

FILES CHANGED:

SUMMARY:

BLOCKERS:

<blueprint-decisions> [{"spec":"SCREEN-ReadingList.md","severity":"Low","subject":"Rejected HTML submission response","decision":"The spec says a rejected submission re-renders the page with the reason. I render the full reading list page (alert region, add form, and current books) with the 400 status, instead of the bare base layout the route used before. Is that acceptable?"}] </blueprint-decisions>