From Jason's north-star (docs/fleet/north-star.md, #613): every fleet has a two-agent floor — orchestrator + enhancer minimum. Builds on #612's init-R5. - Presets (general/coding/research/hybrid): add enhancer (claude, class: enhancer, persistent_persona) as a core always-on agent. minimal/local-canary unchanged. - fleet.ts: countEnhancers helper; init guarantee extended — non-minimal profiles must yield exactly 1 orchestrator AND >=1 enhancer (hard-fail); removeAgentFromRoster refuses to drop the sole enhancer (symmetric with the sole-orchestrator guard) so the floor holds at runtime, not just init. - framework/fleet/roles/enhancer.md: the enhancer mandate (monitor -> analyze -> plan -> upgrade tools/skills/harness WITH orchestrator -> file Mosaic Stack bug reports) + boundaries (does NOT code or review). Verified: 155 fleet tests green (countEnhancers; sole-enhancer remove guard; remove-allows-when-another; init two-agent-floor; every-non-minimal-preset-has- enhancer; updated preset rosters). tsc/eslint/prettier/sanitize clean. TDD on the init guarantee + remove protection. Stacked on #612 (feat/fleet-polish-bundle); rebases clean onto main after #612. Refs #614, #613 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EsgTQzV5YUGk1JtCLP4B83
37 lines
773 B
YAML
37 lines
773 B
YAML
version: 1
|
|
transport: tmux
|
|
tmux:
|
|
socket_name: mosaic-factory
|
|
holder_session: _holder
|
|
defaults:
|
|
working_directory: ~
|
|
runtimes:
|
|
claude:
|
|
reset_command: /clear
|
|
pi:
|
|
reset_command: /new
|
|
agents:
|
|
- name: orchestrator
|
|
runtime: claude
|
|
class: orchestrator
|
|
persistent_persona: true
|
|
- name: enhancer
|
|
runtime: claude
|
|
class: enhancer
|
|
persistent_persona: true
|
|
- name: coder0
|
|
runtime: pi
|
|
class: implementer
|
|
model_hint: openai-codex/gpt-5.5:high
|
|
reset_between_tasks: true
|
|
- name: coder1
|
|
runtime: pi
|
|
class: implementer
|
|
model_hint: openai-codex/gpt-5.5:high
|
|
reset_between_tasks: true
|
|
- name: reviewer
|
|
runtime: pi
|
|
class: reviewer
|
|
model_hint: openai-codex/gpt-5.5:high
|
|
reset_between_tasks: true
|