Repository navigation
Conversation
Contributor
Author
ehartford
marked this pull request as ready for review
September 26, 2026 03:02
`src/Uat.w`: the scenario parser (header, every verb of docs/uat-plan.md §3, indented blocks, a parse error naming the line), the host probes for `requires:` and `platforms:`, the step interpreter (a fresh directory, runs with captured output, fixtures, inline writes, copies, env, stdin, the expectations) and the report — pass, skip with the reason, FAIL with the step and the capture path, human checks recorded and printed. `with uat [<scenario>] [--list] [--keep]`; `WITH_UAT_WITH` names the toolchain a scenario's `with` runs. `with init` writes `uat/hello.uat` and `uat/README.md` (the verbs, one page). The `uat-tests` target runs the planted scenarios in test/uat under the release compiler and compares the report and the listing with the checked-in expectations. The `uat` spec-ahead row is gone: the command exists. Not yet: `expect image:` (refused with the reason; plan §5), and `stdin:` after `new directory` (the runtime has no capture-with-input-and-cwd seam; refused with the reason).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements #1659 (spec §18.5d, D67; docs/uat-plan.md).
src/Uat.wparsesuat/*.uat(every verb, indented blocks, parse errors naming the line), probesrequires:/platforms:, runs the steps with captured output, and reports pass/skip/FAIL plus recorded human checks;with uat [<scenario>] [--list] [--keep],WITH_UAT_WITH.with initscaffoldsuat/hello.uatanduat/README.md. Theuat-teststarget runs the planted scenarios intest/uatunder the release compiler against checked-in expectations (report + listing); it passed here (:uat-tests421s). Not yet:expect image:andstdin:afternew directory(both refused with the reason). The nine release-UAT scenario migrations (plan §6/§7) are the next PR. Draft until the battery is green.