feat(rules): rule packs need own repositories and install lifecycle #10

Open
opened 2026-05-19 11:38:33 +02:00 by michael · 1 comment
Owner

Problem

Rule packs (e.g. daw-code) currently live only on the local filesystem
under var/rules/. There is no repository, no versioning, no install
mechanism for rule packs.

Goal

Rule packs are the sellable knowledge product of fragjan.
They need the same lifecycle as primitives and modules:

  • own repository per pack
  • versioned and signable
  • installable via module manager
  • free and paid tiers possible

Reference

Analog to steurjan-templates: a separate repo per rule pack.
Module manager handles install/update/verify.

Open Questions

  • Repository naming convention (e.g. fragjan-rules-daw-code)
  • Pack signing and verification workflow
  • Registry integration (registry-index.json)
  • Free vs paid tier enforcement

Current State

  • var/rules/daw-code exists locally, not tracked in any repository
  • No install tooling for rule packs yet
## Problem Rule packs (e.g. daw-code) currently live only on the local filesystem under var/rules/. There is no repository, no versioning, no install mechanism for rule packs. ## Goal Rule packs are the sellable knowledge product of fragjan. They need the same lifecycle as primitives and modules: - own repository per pack - versioned and signable - installable via module manager - free and paid tiers possible ## Reference Analog to steurjan-templates: a separate repo per rule pack. Module manager handles install/update/verify. ## Open Questions - Repository naming convention (e.g. fragjan-rules-daw-code) - Pack signing and verification workflow - Registry integration (registry-index.json) - Free vs paid tier enforcement ## Current State - var/rules/daw-code exists locally, not tracked in any repository - No install tooling for rule packs yet
michael added this to the Basic Version milestone 2026-05-30 16:08:29 +02:00
Author
Owner

Current interim solution

Rule packs now live in a dedicated repository (fragjan-templates),
separate from the fragjan codebase.

Structure in fragjan-templates:

  • customers/daw/ -- DAW rule packs (current)
  • free/ -- future: free tier packs
  • standard/ -- future: standard tier packs

Install workflow:

  • Production: sudo make upgrade-rules copies rules into var/rules/ (system-wide)
  • Development: var/rules symlinked to fragjan-templates/customers/daw/rules/

The full lifecycle described in this issue (versioning, signing, registry,
module manager integration) is not implemented yet.
This is the minimal step to give rule packs a home outside the fragjan repo.

Related: DAW/fragjan#10

## Current interim solution Rule packs now live in a dedicated repository (fragjan-templates), separate from the fragjan codebase. Structure in fragjan-templates: - customers/daw/ -- DAW rule packs (current) - free/ -- future: free tier packs - standard/ -- future: standard tier packs Install workflow: - Production: sudo make upgrade-rules copies rules into var/rules/ (system-wide) - Development: var/rules symlinked to fragjan-templates/customers/daw/rules/ The full lifecycle described in this issue (versioning, signing, registry, module manager integration) is not implemented yet. This is the minimal step to give rule packs a home outside the fragjan repo. Related: DAW/fragjan#10
Sign in to join this conversation.
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#10
No description provided.