Run artifact

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

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

Stories built

Reusable compacts

Stacked context

Build directory changes

Pre-build acceptance observation

intent: The built application exposes the selected CLI and persistence foundation packages. return code: 1 stderr: Traceback (most recent call last): File "architecture-imports.py", line 3, in <module> cli_module = import_module("cli") ^^^^^^^^^^^^^^^^^^^^ File "/home/barlo/.local/share/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'cli'

intent: The CLI foundation exposes an in-process callable accepting an argument list. error: foundation not built: cli is the package the cli foundation (cli.md) builds, and the build directory has no cli/. The criterion exercises the built application, so it was not run.

Post-build programmatic acceptance

intent: The built application exposes the selected CLI and persistence foundation packages. target interpreter: /mnt/c/Users/barlo/projects/drydock/.venv/bin/python provisioning: not required return code: 0

intent: The CLI foundation exposes an in-process callable accepting an argument list. target interpreter: /mnt/c/Users/barlo/projects/drydock/.venv/bin/python provisioning: not required return code: 0

Build summary

<reusable-compact filename="ARCHITECTURE.md"> Expose cli.main(argv) and persistence.open_database(dsn). Use boundaries for configuration, validation/services, persistence callers, reporting, and CLI dispatch. Resolve databases via DATABASE_URL, DATABASE_PATH, then data/app.db. Keep all monetary values as integer cents; application code must not access database drivers directly. CLI exit codes: 0 success, 1 operational failure, 2 usage error, 3 rejected input/invariant violation, 4 absent record. </reusable-compact>

RESULT: SUCCESS

FILES CHANGED:

SUMMARY: Implemented the foundational Python architecture, CLI contract, configuration precedence, validation/service/report boundaries, persistence facade, executable launcher, and tests. pytest, sh bin/test.sh, and launcher checks pass.

BLOCKERS: