Skip to content

feat(ai-autopilot): rename loop engine rules to loops (#241)#246

Merged
suleimansh merged 2 commits into
mainfrom
feat/open-loop-rename-rules-to-loops
Jul 5, 2026
Merged

feat(ai-autopilot): rename loop engine rules to loops (#241)#246
suleimansh merged 2 commits into
mainfrom
feat/open-loop-rename-rules-to-loops

Conversation

@suleimansh

Copy link
Copy Markdown
Member

First slice of Open Loop (#204). Vocabulary only, no behavior change.

A loop is a meta prompt, so that is the user-facing unit even though rule logic powers it.

  • defineLoop / defaultLoops / Loop / LoopSpec replace defineRule / defaultLoopRules / LoopRule / LoopRuleSpec
  • engine class is LoopEngine (was Loop), built with createLoopEngine / LoopEngineOptions
  • its option key is loops (was rules)

The Loop/LoopEngine split is the one naming call the issue left open: needed the unit and the engine to have distinct names once the unit became Loop. Shout if you'd rather keep the engine as Loop and name the unit differently.

Typecheck + tests green (the one failing test is a docker container-name conflict from a leftover container, unrelated). Changeset: minor.

Closes #241

A loop is a meta prompt, so it is the user-facing unit. defineLoop /
defaultLoops / Loop / LoopSpec replace defineRule / defaultLoopRules /
LoopRule / LoopRuleSpec; the engine is LoopEngine (createLoopEngine,
LoopEngineOptions); its option key is loops. Vocabulary only.

Closes #241
@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
…ulary

The example consumed the old defineRule / new Loop / rules API.
@suleimansh suleimansh merged commit 396dc7f into main Jul 5, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/open-loop-rename-rules-to-loops branch July 5, 2026 13:46
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: rename rules -> loops in the engine

1 participant