Revert "feat(ultraplan-local): M1 — profile recommendation flow in ultrabrief"

This reverts commit 7e2d9e151e.
This commit is contained in:
Kjell Tore Guttormsen 2026-04-30 14:33:36 +02:00
commit 59f1fe1631
8 changed files with 15 additions and 609 deletions

View file

@ -272,7 +272,7 @@ Output:
`--brief` or `--project` is **required**. `/ultraplan-local` with no brief exits with an error and a pointer to `/ultrabrief-local`.
#### Profiles (M0/M1 — foundation + recommendation flow)
#### Profiles (M0 — foundation)
A *profile* describes which exploration/review agents to spawn, which
catalog filter to apply, and which adversarial regime to use. Profiles
@ -280,26 +280,13 @@ live in `profiles/*.yaml` and are loaded via
`scripts/profile-loader.mjs` (null-deps Node, limited-subset YAML
parser, validates that every referenced agent exists).
M0 (shipped) introduced the loader and the `default` profile. M1
(shipped) adds the recommendation flow: `/ultrabrief-local` Phase 4
gains a Step 4h that loads available profiles, spawns the
`profile-recommender` agent (sonnet, single-shot), and writes
`recommended_profile`/`profile_match`/`profile_rationale` to the
brief frontmatter. When the top score is `≥ 0.7`, the user is asked
to confirm; otherwise the fallback to `default` is surfaced
explicitly with the option to choose manually. When only `default`
is available (still the case at M1), Step 4h short-circuits and
records `profile_match: default-only` — no AskUserQuestion.
The brief stays universal — the same questions, the same template,
no domain-specific branching. The profile is a *processing
decision* layered on top of universal data capture.
M2 (next) ships additional built-in profiles (`quick`, `bugfix`,
`feature`, `refactor`, `security-deep`, `research-heavy`) and
replaces the hardcoded Phase 5 agent table with profile-driven
selection. M3 adds user-extensible profiles in
`.claude/ultraplan-profiles/`.
M0 ships only the `default` profile, which mirrors the current
hardcoded Phase 5/9 agent set — so existing flows are unaffected. M1
(coming next) lets `/ultrabrief-local` recommend a profile based on
brief content; M2 ships additional built-in profiles (`quick`,
`bugfix`, `feature`, `refactor`, `security-deep`, `research-heavy`)
and replaces the hardcoded Phase 5 agent table. M3 adds
user-extensible profiles in `.claude/ultraplan-profiles/`.
```bash
# Inspect available profiles