--- /dev/null
+# KNOWN FAILURES — reproduced, user-visible defects that are NOT fixed yet.
+#
+# The gate RUNS these and reports them as KNOWN-FAIL; it does not pretend they
+# are green, and it fails if one of them STARTS PASSING (that means the fix
+# landed and the row belongs in scenarios.tsv, or the row went vacuous).
+#
+# Why this file exists: the id-space valve was shipped as an accepted emergency
+# and every test around it encoded the reload as expected behaviour, so a world
+# that vanished to its nearest cell passed the gate for months
+# (bugreport-20261113-004616). A known limitation must be a ROW THAT FAILS, not
+# a sentence in a document.
+#
+# RULE: this list may only shrink. An entry needs the report that produced it
+# and the fix it waits for.
+#
+# name driver class args -D options timeout s
+#
+# EMPTY since 2026-11-13. All three valve-era rows are fixed and now run as
+# plain scenarios in scenarios.tsv:
+# - world-continuity-004616, flight-fast-111926: slot reuse bounds the id
+# space, so the valve no longer unloads the world;
+# - the last one, world-continuity-004616, stopped collapsing once streaming
+# worlds joined the frame pipeline (non-blocking submission) and the frame
+# thread stopped doing O(chunks) work per frame (DirectLightPass work-set
+# caching): worstCollapse fell from 0.70 to inside the 0.6 limit.
+#
+# Keep this file. The next reproduced-but-unfixed defect goes here as a row,
+# not as a sentence in a document.
# flight-fast-111926: bugreport-20261107-111926 — "flew really fast, almost
# all of the world disappeared". Idle, 2.5 cells/s flight, teleport, idle.
# P1 presence (loaded world is drawn) and P2 continuity (never becomes absent).
-flight-fast-111926 FlightProbe 40 2.5 -Daukio.fo4.spawnAt=-13444.78,-13267.60,44169.66,14.90,-0.47,0 300
#
# id-space-valve-042802: bugreport-20261108-042802 — the append-only triangle
# id space grew to 35M for ~8M live triangles and every tri-indexed store is
# sized by it (heap 20.2/20.5 GB). A 3M budget forces the reset valve early;
# P1 must survive it and the world must come back (P2 after the grace).
-id-space-valve-042802 FlightProbe 120 3.0 -Daukio.fo4.meshIdBudget=3000000 -Daukio.fo4.spawnAt=-13444.78,-13267.60,44169.66,14.90,-0.47,0 400
#
# startup-order-201655: bugreport-20261109-201655 — "in the first few seconds a
# distant block of land loaded before the surrounding land, with a hole in
# that shipped it (68 of 164,508 watched triangles MAP -> GI); the display-store
# carry-over fix brings it to 0.
display-level-220339 DisplayLevelProbe 60 45 3840 2091 -De3d.gi.repinMs=2000 -Daukio.fo4.spawnAt=-76274.45,-7894.11,91579.81,20.39,-0.31,0 300
+#
+# The two rows below were KNOWN-FAILURES until slot reuse landed (2026-11-13):
+# the id space used to grow with everything ever streamed, so the valve dropped
+# the world, and FlightProbe's old continuity check (a quarter of the PEAK
+# resident set) could not tell that bug apart from a flight crossing empty
+# terrain. Two changes made them gate-ready:
+# - MeshStore recycles freed block slots, so ids track what is LIVE;
+# - P2 continuity is measured as a COLLAPSE (more than 60% of the resident
+# set vanishing between two samples) instead of an absolute floor, which is
+# what the valve did: 97 resident -> 2 in one step.
+# Budgets are set above the peak live id space of each flight on purpose: the
+# valve must never fire, and P4 fails if it does.
+flight-fast-111926 FlightProbe 40 2.5 -Daukio.fo4.spawnAt=-13444.78,-13267.60,44169.66,14.90,-0.47,0 300
+id-space-valve-042802 FlightProbe 120 3.0 -Daukio.fo4.meshIdBudget=6000000 -Daukio.fo4.spawnAt=-13444.78,-13267.60,44169.66,14.90,-0.47,0 400
+# world-continuity-004616 moved here from known-failures.tsv on 2026-11-13,
+# when the frame pipeline took streaming worlds: the sustained-flight collapse
+# (73 -> 22 resident blocks in one 100 ms sample) disappeared, because the loop
+# no longer stops feeding the loader and no longer walks every chunk per frame.
+world-continuity-004616 FlightProbe 90 1.0 -Dprobe.continuous=true -Daukio.fo4.meshIdBudget=6000000 -Daukio.fo4.spawnAt=-90115.69,-9634.21,92033.57,22.73,0.13,0 240
+
ENGINE="$HERE/../aukio-3d-2"
FO4="$HERE/../aukio-environment-fo4-2"
SCENARIOS="$HERE/verification/scenarios.tsv"
+KNOWN_FAILURES="$HERE/verification/known-failures.tsv"
CLASSES="$HOME/.hermes/cache/scratch/verify-gate/classes"
LOGS="$HOME/.hermes/cache/scratch/verify-gate/logs"
JAVA_HOME_21="${JAVA_HOME_21:-/usr/lib/jvm/java-21-openjdk-amd64}"
bash -c "cd '$FO4' && xvfb-run -a -s '-screen 0 3840x2160x24' timeout ${timeout:-300} '$JAVA_BIN' -Xmx20g -cp '$CP' $opts $class $args"
done < "$SCENARIOS"
+# KNOWN FAILURES: reproduced, user-visible defects that are NOT fixed yet.
+# They are run and reported, and the gate does NOT pass them off as green —
+# but an entry that STARTS PASSING is an error too: either the fix landed and
+# the row must move to scenarios.tsv, or the row became vacuous.
+knownFail=0
+unexpectedPass=0
+if [ -f "$KNOWN_FAILURES" ]; then
+ echo
+ echo "== known failures (reported, not green) =="
+ while IFS=$'\t' read -r name class args opts timeout; do
+ case "$name" in ''|'#'*) continue ;; esac
+ log="$LOGS/known_$(echo "$name" | tr ' /' '__').log"
+ if (cd "$FO4" && xvfb-run -a -s '-screen 0 3840x2160x24' \
+ timeout ${timeout:-300} "$JAVA_BIN" -Xmx20g -cp "$CP" $opts $class $args) \
+ > "$log" 2>&1; then
+ unexpectedPass=$((unexpectedPass + 1))
+ printf '%-34s UNEXPECTED PASS — move it to scenarios.tsv\n' "known-fail $name"
+ else
+ knownFail=$((knownFail + 1))
+ printf '%-34s KNOWN-FAIL %s\n' "known-fail $name" "$log"
+ fi
+ done < "$KNOWN_FAILURES"
+fi
+
echo
-if [ "$fail" -eq 0 ]; then
- echo "GATE PASS"
+if [ "$fail" -eq 0 ] && [ "$unexpectedPass" -eq 0 ]; then
+ echo "GATE PASS${knownFail:+ (known failures: $knownFail)}"
else
echo "GATE FAIL — logs in $LOGS"
fi
-exit "$fail"
+exit "$(( fail + unexpectedPass ))"