Build directory has no `bin/test.sh` yet, and all four suite modules the AC checks for already exist. Writing the runner now.The suite ran from `/` and passed (185 tests), but `set -u` makes the `.venv` activate script fail on `OSTYPE`, so activation is silently incomplete. Scoping `set -u` off around the activation fixes that.Clean now. Next, deterministic tests for the runner's behavior. I'll check the existing test style first.The helper resolved `sys.executable` through its symlink, which points at the base interpreter and not `.venv/bin`. Dropping `resolve()` fixes it.The new runner tests pass. Now the declared full-suite gate, invoked exactly as the AC declares it.Gate passes. Checking that only my two files changed in the working tree.RESULT: SUCCESS
FILES CHANGED:
- bin/test.sh
- tests/test_test_runner.py
SUMMARY:
- `bin/test.sh` is a POSIX `sh` runner. It changes to the application root (the parent of `bin/`), activates `.venv` when present, and then `exec`s `pytest -q` over the whole suite with no filter, so its exit status is pytest's. The venv activate script reads unset variables, so `set -u` is relaxed only around the `.` line.
- `tests/test_test_runner.py` adds six tests. Each runs the real runner against a temporary application root and reads back the exit status:
- the script parses under `sh -n`
- a passing suite exits 0
- a failing suite exits nonzero, including when one of several tests fails
- the runner works from an unrelated working directory
- a failing suite exits 1, so the runner doesn't mask pytest's status
- Declared acceptance checks:
- `runner-is-posix-script`: `sh -n bin/test.sh` exits 0.
- `suite-files-present`: all four required modules exist (`test_add_book.py`, `test_list_books.py`, `test_remove_book.py`, `test_validation.py`).
- `full-suite-gate`: `sh sources/full_test.sh` exits 0 with 191 passed. The dispatcher runs `bin/test.sh`, which runs the full suite.
- Test counts: the project suite was 185 passed before the new file, and 191 passed after. The six new runner tests were run separately and all passed.
- `sources/` is untouched. Nothing was staged or committed, and nothing was written under `evidence/`, `MANIFEST.md`, or `QuarterDeck/`.
Choices I made:
- The runner runs `pytest -q` directly, as the stack declares, rather than `python -m pytest`.
- The runner's own tests use temporary application roots, so they never re-enter this suite.
BLOCKERS:
- None.
<blueprint-decisions>
[{"spec":"VERIFICATION.md","severity":"Low","subject":"Venv activation under set -u","decision":"The runner sources .venv/bin/activate with set -u relaxed around it, because the activate script references OSTYPE, which is unset under dash. Alternative was prepending .venv/bin to PATH without sourcing. Sourcing keeps the activation the spec describes. Is that acceptable?"}]
</blueprint-decisions>
FILES CHANGED are as above. The `blueprint-decisions` payload is for the reviewer.Run artifact