Skip to content

fix(cue): #MountNeed carries two unions on one line, so the umbrella cannot pin it (D-PAT-3) #364

Closed

Description

@aitrawog

D-PAT-3 judges a line: a | disjunction outside or(...) is allowed only when the line carries exactly ONE, as a literal default. #MountNeed packs two:

#MountNeed:    {host!: #AbsPath, path!: #AbsPath, writable: *false | bool, exclusive: *false | bool}

so design-dpat reports spec/schema/capability.cue:209: union and opencharly/opencharly cannot pin the commit that carries it — the same block that held spec back through three waves, one layer down. Introduced with the leasable-shapes port (#360).

Root fix: write the fields one per line, as the sibling #CountNeed/#SizeNeed already do; the shape and types are unchanged. Fixed in a PR that closes this.

Agent: charly

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

Activity

  1. aitrawog commented on Nov 17, 2026

    @aitrawog
    ContributorAuthor

    Fixed by #365 (merged): #MountNeed writes each boolean on its own line. With the fix pinned the census answers 357 known violations (… union 142) — no new violation, and the census matches the tree, and opencharly/opencharly can pin past 723d29b again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions