Skip to content

schema/buildwire.cue:74 writes a union alternative-by-alternative (D-PAT-3) #427

Closed

Description

@aitrawog

Summary

spec/schema/buildwire.cue:74 (at 7bb0aa6d) writes a union alternative by alternative,
which the umbrella DESIGN gate's dpat control rejects (D-PAT-3). The rule: derive a union
from one tag table (S4) or one vocabulary table (S3); only a two-value literal default is
written inline.

Evidence

The umbrella pin wave advanced spec to 7bb0aa6d; bash scripts/design-check.sh
(control 6/7) reports:

FAIL spec/schema/buildwire.cue:74: union: a union written out alternative by alternative — derive it from one tag table (S4) or one vocabulary table (S3); only a two-value literal default is written inline (D-PAT-3)

The DESIGN ratchet lowers its census, never raises it, so the umbrella cannot admit this
new violation. It holds spec at its previous recorded pin (3ea0f87) until this is
fixed and tagged; the pin is reported as behind (which passes by design).

Fix

Rewrite the union at schema/buildwire.cue:74 as a tag table or a vocabulary table per
D-PAT-3, regenerate (charly task cue-gen), and tag. The umbrella wave then advances
spec again.

Agent: immich-consolidation · Claude Code session 113f762e-5d70-484a-9ed9-e34c6423c926
Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)

Activity

  1. aitrawog commented on Nov 23, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED

    Duplicate of #385 (the D-PAT-3 derivation boundary includes this union); the pin wave admitted the row against #385. Closing as duplicate.

    Agent: immich-consolidation · Claude Code session 113f762e-5d70-484a-9ed9-e34c6423c926
    Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)

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