Skip to content

feat(framework): --preset <name> + --autopilot/--technical mode flags (#256)#257

Merged
suleimansh merged 1 commit into
mainfrom
feat/cli-preset-flags
Jul 5, 2026
Merged

feat(framework): --preset <name> + --autopilot/--technical mode flags (#256)#257
suleimansh merged 1 commit into
mainfrom
feat/cli-preset-flags

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Closes #256. Part of #204 (Open Loop), phase 2. Follows #251 (runFramework takes {preset, modes}) and #254 (discovery API).

The explicit picker on the CLI:

  • --preset <name> resolves a shipped domain preset by name (builtinDomainPresets + selectPreset) and hands it to runFramework, so its loops + prompts + skills frame the build. Unknown name = usage error listing the available presets (exit 2).
  • --autopilot / --technical activate the preset conditions variants (applied at load time, narrated). Given without --preset, they note they have no effect.

Additive: a run with no --preset is byte-identical.

Verified e2e against --fake:

framework --fake --preset software-development --autopilot
  ...framing with 3 persona(s), 2 skill(s)
  Domain preset: Software Development (modes: autopilot); 2-loop review policy available
framework --fake --preset bogus "a blog"
  unknown --preset: bogus. Available: software-development

New exports activeModes + resolveDomainPreset. Typecheck + 100 framework tests green. Changeset minor.

Next (separate): the-framework.yml persistence to auto-select preset + modes from the repo.

@suleimansh suleimansh added enhancement New feature or request priority: medium Worth doing, not urgent labels Jul 5, 2026
@suleimansh suleimansh self-assigned this Jul 5, 2026
@suleimansh suleimansh merged commit 74a9907 into main Jul 5, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/cli-preset-flags branch July 5, 2026 15:22
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: medium Worth doing, not urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

framework CLI: --preset <name> + --autopilot / --technical mode flags

1 participant