Run artifact

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

Evidence: Block 1 ยท Foundational (block-1)

Stories built

Reusable compacts

Stacked context

Build directory changes

Pre-build acceptance observation

intent: create_app returns a Flask application instance. error: foundation not built: app_server is the package the web-server foundation (django.md, fastapi.md, flask.md) builds, and the build directory has no app_server/. The criterion exercises the built application, so it was not run.

intent: web_client returns a test client whose application has TESTING enabled. error: foundation not built: app_server is the package the web-server foundation (django.md, fastapi.md, flask.md) builds, and the build directory has no app_server/. The criterion exercises the built application, so it was not run.

intent: web_client answers a path no story registers with 404. error: foundation not built: app_server is the package the web-server foundation (django.md, fastapi.md, flask.md) builds, and the build directory has no app_server/. The criterion exercises the built application, so it was not run.

Post-build programmatic acceptance

intent: create_app returns a Flask application instance. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/ReadingList/runs/20261014.051827/build/ReadingList/.venv/bin/python provisioning: not required return code: 0

intent: web_client returns a test client whose application has TESTING enabled. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/ReadingList/runs/20261014.051827/build/ReadingList/.venv/bin/python provisioning: not required return code: 0

intent: web_client answers a path no story registers with 404. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/ReadingList/runs/20261014.051827/build/ReadingList/.venv/bin/python provisioning: not required return code: 0

Build summary

The persistence package and schema.sql are already on disk and committed, so this step only needs the project tree, the Flask factory, and tests. I'll set up the environment first, then verify the package names through uv resolution.Dependencies resolved through uv from PyPI. Before writing tests against the persistence layer, I need the rest of Database.run so the assertions match its real return values.I have what I need. Writing the application factory, the test client helper, and the tests. The .gitignore keeps .venv/ out of Git per the Python stack rules.One test I just wrote locks in the wrong behavior: it asserts an empty title is accepted, which contradicts the COMPASS guardrail. I'm removing it, and moving the inline import to the top of the file.Now running the suite through the project environment, plus the three declared acceptance assertions exactly as written in ARCHITECTURE.md.All 16 tests pass and the three declared assertions pass. Checking the working tree for stray residue and confirming the new files are the only changes.<reusable-compact filename="ARCHITECTURE.md">
Project: pyproject.toml + committed uv.lock; env .venv via uv venv; python >=3.11. Package app_server:

Stack: Python (python.md), Flask (flask.md), SQLite via generated persistence (sqlite.md), pytest.
Guardrails: no feature routes registered in the factory; no module outside persistence imports sqlite3. </reusable-compact>

<reusable-compact filename="DATABASE.md">
Table books: id INTEGER PK (autoincrement; list order ascending id), title TEXT NOT NULL, author TEXT NOT NULL. Operations (persistence.open_database(dsn) -> Database; db.books.<verb>(...)):

Book row: id, title, author. Undeclared verbs (e.g. update) raise UnknownOperation.
Guardrail: no empty title or author stored; callers write no SQL. </reusable-compact>

RESULT: SUCCESS

FILES CHANGED:

SUMMARY: