Skip to content

feat(framework): run a build under an Open Loop domain preset (#251)#253

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

feat(framework): run a build under an Open Loop domain preset (#251)#253
suleimansh merged 1 commit into
mainfrom
feat/open-loop-framework-preset-framing

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Phase 2 of Open Loop (#204): make a framework run actually consume a domain preset from the first slice.

runFramework({ preset, modes }):

  • The preset's skills (and their personas) frame every phase, composed alongside the detected framework skill.
  • The domain + active modes are narrated.
  • The preset's loops + prompts are materialized into a driver-backed LoopEngine (each pass = a fresh DriverSession.prompt, matching the driver contract) and exposed as result.loop. New driverLoopPrompts bridge.

Opt-in and additive: a run with no preset is byte-for-byte unchanged.

Deliberately deferred (open decision for you, @brillout): I did NOT auto-run the domain loop as a phase, because where it sits relative to Bootstrap's production-grade checklist loop is a product call (replace it? run after as a domain review? interleave?). Filed as #252. This PR exposes the materialized loop so a caller can drive it; #252 decides placement.

95 framework tests (3 new: framing, driver-backed chain runs, no-preset stays clean). Typecheck green across 21 projects. Changeset: minor.

Closes #251

runFramework({ preset, modes }): the preset's skills frame every phase, the
domain + modes are narrated, and its loops + prompts are materialized into a
driver-backed LoopEngine exposed as result.loop (new driverLoopPrompts bridge).
Opt-in; a run without a preset is unchanged. Driving the loop as a phase is #252.

Closes #251
@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 b81e563 into main Jul 5, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/open-loop-framework-preset-framing branch July 5, 2026 14:52
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: wire domain presets into the framework run (framing + loop bridge)

1 participant