`scripts/visual-gate` is this repo's stated sign-off harness — three probes plus a budget over the silent-loss counters — and it watched six classes. Two that belong were not among them, and both read zero on every boot in the tree, which is exactly the state in which a gate is worth adding rather than argued about. Component: `scripts/visual-gate`. Harness only; no device code touched. - **`render_unimplemented`** — the class a green run hides best. AGENTS.md already says it in so many words: an `Ok` from `render::decode` is not a decode, because `Kind::OtherAccepted` is the catch-all for "no arm claimed this". The draw completes, the guest is stamped, and the only trace is this one line. It is deduped per opcode, so the count is a count of *kinds* lost. - **`device_info truncated`** — the device-info reply could not carry every capability key the guest's own key-table length admits. The guest asks once per boot, frees the buffer and answers every later reader from what it parsed, so a firing is a capability gone for that boot's life. Both enter `baseline.tsv` at **0** with their measurement written beside them, which is the file's own rule: zero is the default and needs no argument, a non-zero budget is an admission about the device. `render_unimplemented` is zero across all seventeen archived boots, driven and idle; `device_info truncated` is zero by construction on the guests measured here — a whole page of pair slots against a table of a few dozen keys. The parser is proved to see them rather than assumed to. `self-test.sh` gains three cases: one per class firing on text quoted from the emitter, and one asserting an `OFF `-prefixed lookalike is *not* counted — the channel inversion AGENTS.md warns about when ranking `reason=` slugs. Its class-count guard goes 6 → 8, which is what caught the headers this commit also fixes; that guard exists so a class can never quietly stop being parsed. Verified: `self-test.sh` PASS, 17/17 cases. `counter-budget.sh` against the archived driven boot at this branch's head (`journal/2026-08-06-driven-boot-at-head.log`) prints all eight classes at 0 and exits 0. Synthetic firings of both new classes take it to exit 1. A full `visual-gate.sh --quick` on a live x86/PCI boot of this head passed earlier this session — 3/3 probes green, counters all zero over 1.27 MB of fail log — but that run predates these two classes; what covers them is the archived-log check above, not that run. Not verified: no live gate run since the classes were added, and neither class has ever been observed firing on real hardware — that is the point of the zero, not a gap in it.
21 lines
3.4 KiB
Plaintext
21 lines
3.4 KiB
Plaintext
# The budget each silent-loss class is allowed over one gate window.
|
|
#
|
|
# class<TAB>budget<TAB>the basis for that number
|
|
#
|
|
# Zero is the default and the only one that needs no argument. A non-zero
|
|
# budget is an admission that this device loses something today, and it does
|
|
# not belong here without a measurement and a reason. Never raise one to make a
|
|
# run pass; raise it only when a boot of the *unmodified* tree exceeds it, and
|
|
# say in the commit which boot.
|
|
#
|
|
# The plan that specified this gate asserted all six read zero. Two of them do
|
|
# not, and the first full run on unmodified HEAD is what said so.
|
|
deferred_flush_lost 4 Measured on unmodified 9e3969b, x86/PCI, host GPU P8: two consecutive full gate windows on one boot read 1 and 2, and the boot as a whole read 5 over about fifteen minutes. Every one of them is the paired consequence of a mapping_page_drift below and every one is a 24-pixel-tall strip — 1877x24 four times, 43x24 once, which at 1920 wide is the menu bar. 4 is double the worst window observed. It does not catch one extra dropped frame and nothing here claims it does; what it catches is a rail that has started dropping frames systematically, which reads in the hundreds rather than the units.
|
|
mapping_page_drift 4 The same five events, same boot, one per dropped render. Four read reason=translation_moved (the guest re-pointed a surface with no packet saying so, and page 0 of the cached list disagreed with a fresh walk) and one reason=no_translation (the task could not translate that page at all). Refusing the write is the correct answer in both — landing at the stale GPAs would scatter a frame into guest memory the guest has since repurposed — so what is lost is that the frame is dropped rather than re-landed at the new translation. That is an open defect on the menu-bar strip, not a gate artifact, and it predates this gate.
|
|
gw_audit_unsound 0 A standing alarm. Zero across the whole accumulated log to date; the gather witness refuting itself means a stale image is being served.
|
|
render_flush_over_guest_write 0 A standing alarm. Documented as expected-never; the ordering repair in flush_mapping_windows_before_fence is what keeps it so. If it fires that repair has broken.
|
|
tdc_overflow 0 Cannot fire unless REIMS_VGPU_PROBE_TILE_DIFF_CENSUS is set, and a gate run does not set it.
|
|
present_action_starvation 0 Zero across the whole accumulated log to date. MAX_UNPAINTED_PRESENTS holding the guest at the FIFO head would be a real change in backpressure behaviour.
|
|
render_unimplemented 0 A standing alarm, and the one a green run hides best. Zero across every archived boot of this rig — seventeen logs, x86/PCI/Vulkan, driven under the window-drag and web-content probes as well as idle. A firing names one render opcode the decoder accepted into `Kind::OtherAccepted` and no executor ran, so the draw completed and the guest was stamped for work this device did not do. The line carries the opcode, length and raw wire, so a firing identifies the missing arm rather than only reporting one.
|
|
device_info_truncated 0 A standing alarm, and zero by construction on the guests measured here: the reply buffer is a whole page (512 pair slots) against a table of a few dozen keys, and every key still offered at that point is one the guest's own key-table length says it parses. A firing means a capability the guest cannot re-ask for is gone for the boot — it issues this command once, frees the buffer and answers every later reader from what it parsed.
|