Introduces a profile-loader infrastructure for runtime-instantiable ultraplan variants (depth × domain × goal axes). M0 ships only the `default` profile, which mirrors the current hardcoded Phase 5/9 agent set — so existing flows are unaffected. What lands: - profiles/default.yaml — schema v1, lists current 8 exploration agents + 2 review agents, captures today's adversarial regime - scripts/profile-loader.mjs — null-deps Node loader with limited-subset YAML parser, listProfiles(), loadProfile(), validateProfile() that cross-checks every referenced agent exists in agents/ - scripts/profile-loader.test.mjs — 26 node:test cases (parser, validation, loader, integration with built-in default.yaml) - commands/ultraplan-local.md — Phase 1 gains a "Resolve the profile" step (--profile flag → brief.recommended_profile → default fallback) and prints profile + source in the mode report. Phase 5/9 unchanged. - README.md, CLAUDE.md, marketplace README — documentation of the M0 foundation, the universal-brief design principle, and the M1/M2/M3 milestones to come. M1 (next) wires profile recommendation into ultrabrief Phase 4. M2 ships the 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. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
60 lines
1.8 KiB
YAML
60 lines
1.8 KiB
YAML
# default.yaml — Bakoverkompatibel baseline profil for ultraplan-local
|
|
#
|
|
# Speiler dagens hardkodete oppførsel. Når ingen profil er valgt eksplisitt
|
|
# eller anbefalt av ultrabrief, faller ultraplan-local tilbake hit. Endring av
|
|
# denne filen endrer dagens oppførsel — gjør det med omhu.
|
|
#
|
|
# Schema-versjon: 1 (Profile Schema v1, dokumentert i README).
|
|
|
|
name: default
|
|
description: "Bakoverkompatibel baseline — speiler dagens hardkodete oppførsel"
|
|
version: 1
|
|
|
|
# Aksene profilen sitter på. Brukes av profile-recommender for matching.
|
|
axes:
|
|
depth: standard
|
|
domain: general
|
|
goal: implementation
|
|
|
|
# Stikkord som signalerer at denne profilen passer. default har ingen —
|
|
# den er fallback når ingenting annet matcher.
|
|
triggers:
|
|
keywords: []
|
|
nfr_signals: []
|
|
|
|
# Hvilke agenter som kjøres i Phase 5 (exploration) og Phase 9 (review).
|
|
# For default-profilen kjører ultraplan-local sin opprinnelige
|
|
# size/conditional-logikk: convention-scanner kun for medium+ codebases,
|
|
# research-scout kun ved ekstern teknologi som ikke dekkes av research-briefer.
|
|
# Custom profiler kjører alle listede agenter uten conditional-filtering.
|
|
agents:
|
|
exploration:
|
|
- architecture-mapper
|
|
- dependency-tracer
|
|
- risk-assessor
|
|
- task-finder
|
|
- test-strategist
|
|
- git-historian
|
|
- convention-scanner
|
|
- research-scout
|
|
review:
|
|
- plan-critic
|
|
- scope-guardian
|
|
|
|
# Filter for cc-architect-catalog ved /ultra-cc-architect-local.
|
|
# Tom liste = full katalog (dagens oppførsel).
|
|
skills:
|
|
catalog_filter: []
|
|
prefer_layer: []
|
|
|
|
# Adversarial review-regime i Phase 9.
|
|
adversarial:
|
|
depth: standard
|
|
iterations: 1
|
|
blockers_only: false
|
|
|
|
# Override exploration-sizing fra settings.json. Default speiler verdiene der.
|
|
exploration_sizing:
|
|
smallCodebaseAgents: 3
|
|
mediumCodebaseAgents: 5
|
|
largeCodebaseAgents: 7
|