Skip to content

with uat: acceptance scenarios as a toolchain feature (docs/uat-plan.md, D67, spec §18.5d) — implement src/Uat.w, the with init scaffold, and migrate build/release_uat.w #1659

Closed

Description

@ehartford

Spec §18.5d / D67 (blessed 2026-09-25). Plan: docs/uat-plan.md.

Order of work (one batch, one battery):

  1. src/Uat.w: parser for the scenario grammar (§3 of the plan), interpreter, report; with uat [<scenario>], --list, --keep, --record-images, WITH_UAT_WITH; requires: probes (network, display, opengl, lib X, tool X, env X); verdicts pass / skip-with-reason / fail; expect (human): recorded to out/uat/human-checks.txt; tests under test/uat/ (a planted scenario per verb and per verdict; a parse error naming the line).
  2. with init writes uat/hello.uat and uat/README.md (templates generated like src/InitTemplates.w); cli-selfhost-project-tests asserts the scaffold runs green under with uat.
  3. The nine scenarios replacing build/release_uat.w; build/release_uat_fixtures → uat/fixtures; release-uat target re-wired to with uat with WITH_UAT_WITH=<release binary>; user-programs-safe re-pointed; runbook updated (skips, human checks). Closes darwin nightly leg: raylib spiral UAT cannot open a window on the hosted macOS runner (NSGL: no suitable pixel format) #1375 at the right layer (raylib_spiral: skip (requires display: none) on the macOS runner).
  4. expect image: + the spiral's --capture option — separate PR.

Spec-ahead until (1) lands: the spec inventory lane tracks uat against this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions