Repository navigation
line-field-14
The line field can drop an agent that is in the air over a gap too long for it to clear. With the new parameter at 0 the step is line-field-13's, bit for bit.
- Change:
behave->gap_reach_ticks, appended to the behaviour block. With it above 0, an agent in the air fliesspeed * gap_reach_ticks; once it has covered that from the start of its air run (the contiguous nodes matching the air mask, at most 64 back) and is still in the run, it leaves the line as on an open edge: falling, then retiringfall_tickslater. A run exactly the reach long is cleared. Stateless, no new brain field. - API: one new field,
gap_reach_ticks. No new entry point. - Cost: one scan of at most 64 node flags a step for an agent in the air with the field set; nothing otherwise.
- Objects: no libc memcpy, memset or memmove in the SH-2 objects; compiled with
-Wall -Wextra -Werror. - Evidence: HOST:
line_field_exact26,365,473 checks under GCC, Clang and ASan/UBSan; an oracle over 3000 random scenes; an identity differential against main over 20000 scenes (same hash with the field at 0); 12 of 13 mutation controls caught, the other equivalent. No instruction model, no console run. CI on the merged head passes (host, SH-2 cross compile, math lab, docs). Validation record. - Merge: PR #81, merge
3188d32. - Guide:
saturn/LINE_FOLLOWER.md.