Skip to content

smokeable claims: just smoke <claim>, BREAK=1, and the record on the evidence page - #147

Merged
lex00 merged 1 commit into
mainfrom
smoke-claims
Sep 13, 2026
Merged

smokeable claims: just smoke <claim>, BREAK=1, and the record on the evidence page#147
lex00 merged 1 commit into
mainfrom
smoke-claims

Conversation

@lex00

@lex00 lex00 commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Closes #146. The site's three claims now have scenarios a reader can run, each with a BREAK=1 variant that watches the check catch the broken case, the shape choudoufu's smoke has.

just smoke lists four claims; just smoke <claim> runs one against forgejo-warden's Docker Compose sandbox at the commit demo.yml pins (cloned into .forgejo-warden if WARDEN_DIR is unset), printing SMOKE op=… verdict=pass|caught|fail per step. Findings on the way: a top-level side-effect call is invisible to the fold by S-Module, so the same file folds to its plan with no marker and runs with one, which is the no-execution scenario as it stands; warden's bootstrap is not idempotent for its token, so the runner starts each sandbox from down -v; branch protection cannot exist on an empty repo, so the smoke policy carries repo settings only.

scripts/smoke-record.sh runs all eight and writes docs/data/smoke.json; the weekly demo workflow gains that step and commits the record with the workflow token, and a new smoke-rows shortcode renders it on the evidence page with the run's commit and date. Each claim page has a "See it hold" section with the paste-to-an-agent prompt and the verdict lines in order; the tutorial lists the commands. All eight runs pass locally, the committed record is from that run.

…evidence page

Four scenarios under scripts/smoke/scenarios, one per claim, run on
forgejo-warden's throwaway Forgejo at the commit the demo pins, each
step printing one SMOKE verdict line. no-execution folds a policy with
a planted top-level side effect and the marker never appears; BREAK=1
runs the same file and it does. fold-equals-run passes check mode;
BREAK=1 plants an environment read and the fold refuses it at the line.
rules-over-values applies a removal under the cap; BREAK=1 asks for
three of four and the guardrail blocks the apply. round-trip applies,
reads live back and finds nothing; BREAK=1 drifts one field and the
plan names it. scripts/smoke-record.sh runs all eight and writes
docs/data/smoke.json, which the weekly demo workflow commits and the
evidence page renders; each claim page carries its scenario's prompt
and the lines it prints, and the tutorial lists the commands.
@lex00
lex00 merged commit 4b1491e into main Sep 13, 2026
3 checks passed
@lex00
lex00 deleted the smoke-claims branch September 13, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

smokeable claims: just smoke <claim>, BREAK=1, smoke.json on the evidence page

1 participant