Skip to content

feat(ai-autopilot): Open Loop domain preset bundle unit (#242)#248

Merged
suleimansh merged 1 commit into
mainfrom
feat/open-loop-domain-preset
Jul 5, 2026
Merged

feat(ai-autopilot): Open Loop domain preset bundle unit (#242)#248
suleimansh merged 1 commit into
mainfrom
feat/open-loop-domain-preset

Conversation

@suleimansh

Copy link
Copy Markdown
Member

The keystone of the Open Loop first slice (#204): the composable unit that ties {loops, prompts, skills} together.

  • defineDomainPreset(...) author in code; loadDomainPreset(dir) load a directory of .md files (preset.md + loops/ prompts/ skills/, each subdir optional)
  • composeDomainPresets(meta, ...presets) merge into one (loops concat; prompts by id, skills by name, later wins) so presets-of-presets falls out
  • selectPreset(presets, name) pick the user's domain

One naming call, flagging for you: the existing framework Preset in presets/ (the project detector you said to skip for MVP) collides with this new {loops,prompts,skills} preset. I named the new one DomainPreset to coexist without touching the framework one. If you'd rather this become the canonical Preset and rename the detector to FrameworkPreset, that's a small follow-up.

Out of scope (per the issue): marketplace/registry, framework-* detection. Next: #243 ships a real 'Software Development' preset in this format; #244 modes.

Typecheck (21 projects) + tests green (297; the one docker failure is a pre-existing container-name conflict). Changeset: minor.

Closes #242

A domain preset = {loops, prompts, skills}: the composable unit that ties the
three data types together. defineDomainPreset (code) / loadDomainPreset (a dir
of .md files) / composeDomainPresets (presets-of-presets) / selectPreset. Named
DomainPreset to stay distinct from the framework Preset detector.

Closes #242
@suleimansh suleimansh added enhancement New feature or request priority: high Should be addressed soon labels Jul 5, 2026
@suleimansh suleimansh self-assigned this Jul 5, 2026
@suleimansh suleimansh merged commit 03e06aa into main Jul 5, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/open-loop-domain-preset branch July 5, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: high Should be addressed soon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Open Loop: bundle unit = preset {loops, prompts, skills}

1 participant