Run artifact

workspace/targets/Quakes/evidence/block-2.md

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

Stories built

Stacked context

Build directory changes

Pre-build acceptance observation

intent: main accepts an argv list and returns an integer exit code. 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.

intent: cli_runner returns an exit code, stdout text, and stderr text, and agrees with main. 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.

intent: The command registry is a dict that main consults for dispatch. 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.

intent: The quakes launcher at the application root is executable and exits with the same code main returns. 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: main accepts an argv list and returns an integer exit code. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/Quakes/runs/20261025.010423/build/Quakes/.venv/bin/python provisioning: not required return code: 0 stderr: error: missing command

intent: cli_runner returns an exit code, stdout text, and stderr text, and agrees with main. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/Quakes/runs/20261025.010423/build/Quakes/.venv/bin/python provisioning: not required return code: 0 stderr: error: unknown command: 'no-such-command-xyz'

intent: The command registry is a dict that main consults for dispatch. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/Quakes/runs/20261025.010423/build/Quakes/.venv/bin/python provisioning: not required return code: 0

intent: The quakes launcher at the application root is executable and exits with the same code main returns. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/Quakes/runs/20261025.010423/build/Quakes/.venv/bin/python provisioning: not required return code: 0 stderr: error: missing command

error: missing command

Build summary

The block is the CLI foundation only: the cli package, the in-process cli_runner, and the quakes launcher. The project scaffolding (pyproject, conftest, bin/test.sh, .venv) already exists, so I'll build on it and leave sources/ alone.Now the test file. It follows the project's act-then-read-back rule, with one subprocess test for the launcher, as the CLI guidance allows.I left a convoluted fixture test and an unused import in that file. Cleaning them up before running anything.Next I'll make the launcher executable, then run the declared acceptance check (bin/test.sh) and the two foundation AC checks.All 23 tests pass. Last, I'll confirm the file changes are limited to the authorized paths and that sources/ is untouched.RESULT: SUCCESS

FILES CHANGED:

SUMMARY:

Checks run:

Not done: bin/run.sh and bin/run.ps1 from the stack's CLI guidance are not in this block's stories, so I left them out.

BLOCKERS:

<blueprint-decisions> [{"spec":"FEATURE-CliFoundation.md","severity":"Low","subject":"Dispatch skeleton behaviour for registered commands","decision":"The spec says main consults COMMANDS for dispatch but defines no parser yet. A registered command name is accepted and main returns 0 without calling its handler, since Parsed does not exist until the options story. COMMANDS is typed Callable[[Any], str] to avoid importing a module that is not built yet. The options story should replace the placeholder with real dispatch. Is that acceptable?"}] </blueprint-decisions>