Walker cycle policy by directory identity, and comment slots around a net delay's #

TODO §43 (docs/features/walk-cycles). Closes topo §2.9-8 and §2.9-27 and
repository-analysis finding 3; §2.9-30 filed.

43.1 `lucisv_core::walk::Walk` keeps a `visited` set keyed on `(dev, ino)`
(the canonical path off unix): each directory is entered once, a symlink
to one already entered is skipped, one not yet entered is followed once,
a dangling directory link is skipped. A dangling link that names a source
file is still handed on, so the front end's "no such file" error survives
(review ruling on QA's finding). Both front ends share the walk unchanged
in signature; a cyclic workspace indexes and a cyclic tree formats, each
file once.

43.2 `NetDelay::{before_hash, after_hash}`: the gaps around `#` have
slots, printed inline; the `#SKIP` in net_delay_position.cases is live
and the RTL gap fuzzer covers the construct (374 gaps, 0 failures).

Byte-identity vs 0.42.0: 0 of 820 corpus files differ. On opentitan the
only per-file change is §41's dedup reporting a same-directory symlink
alias once.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5.1 committed 2026-09-05 02:43:10 -05:00
1 parent 4b2dad87fe
commit ec9ec42276
13 files changed
+807 -41

No files matched your search

+4 -2
View File
@@ -102,7 +102,8 @@ the last two shapes in that sweep that were grammar work rather than
before-type spelling has behaved this way since the delay was first
parsed — and the new position inherits it unchanged. Recorded as a `#SKIP`
case in `net_delay_position.cases`, not fixed: giving the delay a comment
slot is a `comment-slots` change. The other gaps around a delay (an
slot is a `comment-slots` change. **Closed by walk-cycles (TODO §43.2),
2026-09-05:** `NetDelay::{before_hash, after_hash}`; the `#SKIP` is live. The other gaps around a delay (an
attribute in front of the declaration, a comment after the delay) do
round-trip.
@@ -151,7 +152,8 @@ the last two shapes in that sweep that were grammar work rather than
- **`comment-slots`**: a net delay has no slot for the comment written
immediately in front of its `#`, so such a file is refused by the safety
net rather than reformatted. Pre-existing, both positions, recorded as a
`#SKIP` case (see Assumptions).
`#SKIP` case (see Assumptions). **Answered by walk-cycles (TODO §43.2),
2026-09-05.**
## Status / TODO