notes

What the fuzz heartbeat proves about the filer

Name: provisional.

An appendix to continuous-host.md. The filer, fuzz-filer in nifeos/fuzz-host, turns each held cause into a private advisory. It files only while fuzz-filer.timer runs on the host, so a person must enable the timer. A release and an ok window prove that the supervisor runs and say nothing about the filer. The heartbeat therefore reads the filer's own line in the daily report.

The Filer: line

helpers/fuzz-daily-publish.sh writes one line into report.md on the host, from host-local facts only. It gives:

The counts come from the closing tally of fuzz-filer run --dry-run, which reads no token and sends nothing. The script keeps that tally and copies no cause line. When the host cannot read a value, the line says unknown. The line holds counts and timestamps only, and nothing reads a held log.

What fails

helpers/fuzz-heartbeat.py opens the fuzz-loop-broken issue, naming the check and the day, when:

A green heartbeat therefore proves a recent release, an ok window, a bounded infrastructure share, an enabled filer timer that fired within two days, and no held cause waiting for an advisory. It does not prove that an advisory is correct. The maintainer chose the two-day bound and the start day, provisionally.

Parked causes notify a person

Parked causes are not a failure of the filer, so they never open fuzz-loop-broken. The filer parks budget and hang causes and never files them; each waits for a file or suppress rule in fuzz-host etc/fuzz-filer/rules.tsv (the filer's rules). When the Filer: line shows more parked causes than the count already noticed, the heartbeat opens one issue with the label fuzz-findings-parked (provisional), or comments on the one already open. The count already noticed is a marker in that issue's body, rewritten to the latest count, so the workflow keeps no state of its own. The issue carries the count and the release day only, since issues are public and the findings stay on the host. A person reads the day's report on the host, writes a rule for each parked cause through a fuzz-host pull request, and closes the issue once every parked cause has one.

python3 helpers/fuzz-heartbeat.py --selftest and helpers/fuzz-daily-publish-selftest.sh test these rules, and script/lint runs both.