fix(rules): remove spurious primitive declarations from daw-code and daw-lib pack.yaml #30

Closed
opened 2026-05-25 10:06:28 +02:00 by michael · 1 comment
Owner

Problem

Two packs declare primitives in requires that no rule actually uses:

  • daw-code/pack.yaml: declares daw.fragjan.check.exists >= 1
    but none of the 7 rules uses exists
  • daw-lib/pack.yaml: declares daw.fragjan.check.pattern >= 1
    but none of the 7 rules uses pattern

This causes unnecessary primitive availability checks at startup
and misleads about actual pack dependencies.

Solution

Remove unused primitive declarations from both pack.yaml files.

Acceptance criteria

  • daw-code/pack.yaml: remove exists from requires.primitives
  • daw-lib/pack.yaml: remove pattern from requires.primitives
  • fragjan check still passes after change

Notes

Likely leftover from early drafts. No functional impact today,
but misleading for future pack authors.

## Problem Two packs declare primitives in requires that no rule actually uses: - daw-code/pack.yaml: declares daw.fragjan.check.exists >= 1 but none of the 7 rules uses exists - daw-lib/pack.yaml: declares daw.fragjan.check.pattern >= 1 but none of the 7 rules uses pattern This causes unnecessary primitive availability checks at startup and misleads about actual pack dependencies. ## Solution Remove unused primitive declarations from both pack.yaml files. ## Acceptance criteria - [ ] daw-code/pack.yaml: remove exists from requires.primitives - [ ] daw-lib/pack.yaml: remove pattern from requires.primitives - [ ] fragjan check still passes after change ## Notes Likely leftover from early drafts. No functional impact today, but misleading for future pack authors.
Author
Owner

old packs are removed

old packs are removed
michael added this to the Basic Version milestone 2026-05-30 16:05:10 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/fragjan#30
No description provided.