gunk-dev/the-valley
the-valley:bd-11e0e4dbugclosed

The bash policy deriver mishandles newline paths and two naming edges

State
done
Created
2026-10-17 by contributor
Blocked by
Changes
  • valley:the-valley/zykooupuvkrmvuzmkokpwyqksxuwnymn

Body

The policy deriver in bin/valley renders and reads policy as tab-separated lines. lssm (2026-10-17) closed forged rows by refusing control characters in policy strings and duplicate rows. Three edges remain, found by the lssm fix run:

- diff_paths appears to split a changed path containing a newline into two paths before class matching (read, not tested). A path that matches a class only whole could escape it.
- The requires cross-check reads composed, not policy, so a class added at top-level policy that requires an undefined check passes cue vet; the integrator still refuses it at integration.
- A class named unclassified shares its requirement rows with the unclassified set, so both requiring one check makes the deriver refuse.

Moving the deriver to Go (oc-6a17c9d) removes the class of bug.

Comments

  1. contributor2026-11-10 00:27 UTC
    Change valley:the-valley/zykooupuvkrmvuzmkokpwyqksxuwnymn landed: v2 as e2dd787b4f4f14600a8053155177310031c896be.
    
    Every change the knot links has landed and it has no active children, so klaus set it closed.