Agent Dev 101

Модуль 02 · Урок 2.15

Урок 2.15. Conductor

На этой странице
  1. Зачем это нужно
  2. Основная идея
  3. Ключевые термины
  4. Как это устроено
  5. Setup artifacts
  6. Track lifecycle
  7. Как пользоваться
  8. Пример: dark mode
  9. Когда Conductor полезен
  10. Когда не стоит брать
  11. Conductor vs OpenSpec
  12. Prompt patterns
  13. Типичные ошибки
  14. Практика
  15. Критерии готовности
  16. Краткое резюме
  17. Вопросы для самопроверки
  18. Источники для актуализации
  19. Что дальше

Зачем это нужно

Conductor полезен как пример plugin-first SDD approach. Он не пытается заменить coding agent. Он добавляет поверх него workflow:

text
setup project context
-> create track
-> write spec
-> write plan
-> implement
-> review / status / revert

Для курса это важный тип инструмента. Не всегда нужна отдельная runtime-система или full methodology. Иногда достаточно plugin layer, который заставляет agent работать через specs, plans and project context внутри уже знакомой среды.

Основная идея

Conductor добавляет SDD workflow в AI coding agents через namespace commands and repository artifacts.

Он предлагает два уровня:

  1. Project context.
  2. Track-specific work.

Project context отвечает:

text
Что это за продукт?
Какой tech stack?
Какие guidelines?
Как команда работает?

Track отвечает:

text
Какую feature или bugfix делаем сейчас?
Какая specification?
Какой implementation plan?
Какой status?

Ключевые термины

Термин Значение
Plugin-first workflow SDD добавляется как plugin к existing agent harness.
Project context Product, guidelines, stack and workflow docs.
Track Единица work: feature, bugfix or initiative.
Track spec Requirements and intent для конкретного track.
Track plan Phases, tasks and sub-tasks for implementation.
Adaptive UX Подстройка interaction style под IDE, terminal or web editor.
Smart revert Git-aware revert logical unit of work, not just commit hash.

Как это устроено

flowchart TD A[Conductor setup] --> B[Project context] B --> C[New track] C --> D[Spec] D --> E[Plan] E --> F[Implement] F --> G[Status / Review] G --> H{Need revert?} H -->|Yes| I[Smart revert] H -->|No| J[Complete track]

Conductor делает work track-based. Это удобно, потому что feature получает отдельное место для spec, plan and metadata.

Setup artifacts

Команда setup:

text
/conductor:conductor-setup

Она помогает определить:

  • product context;
  • product guidelines;
  • tech stack;
  • workflow preferences;
  • code style guides;
  • track registry.

Generated artifacts:

text
conductor/
  product.md
  product-guidelines.md
  tech-stack.md
  workflow.md
  code_styleguides/
  tracks.md

Эти files важны как project memory. Agent должен читать их до track planning.

Track lifecycle

Новая feature или bugfix:

text
/conductor:conductor-new-track "Add dark mode toggle to settings"

Generated artifacts:

text
conductor/tracks/<track_id>/
  spec.md
  plan.md
  metadata.json

Implementation:

text
/conductor:conductor-implement

Monitoring and control:

text
/conductor:conductor-status
/conductor:conductor-review
/conductor:conductor-revert

Как пользоваться

На обзорном уровне:

  1. Установить Conductor plugin по official README.
  2. Выполнить setup один раз.
  3. Review project context files.
  4. Создать track для feature or bug.
  5. Review spec.md.
  6. Review plan.md.
  7. Запустить implementation.
  8. Проверять status.
  9. Использовать review command.
  10. При необходимости использовать revert на уровне logical work unit.

Пример: dark mode

Prompt:

text
Use Conductor.

If project context is missing, run setup first.
Then create a new track:
"Add dark mode toggle to settings"

Spec must include:
- system preference detection
- manual override
- persisted user choice
- no changes to auth
- no new UI framework

Do not implement until spec.md and plan.md are reviewed.

Expected track:

text
conductor/tracks/add-dark-mode/
  spec.md
  plan.md
  metadata.json

Plan should include:

  • storage decision;
  • UI component;
  • CSS variables or design tokens;
  • tests;
  • accessibility check;
  • verification.

Когда Conductor полезен

Conductor хорошо подходит, когда:

  • команда хочет SDD в existing agent environment;
  • нужен project-level context;
  • work удобно вести tracks;
  • нужно review plans before code;
  • нужен status command;
  • важен git-aware revert;
  • команда не хочет тяжелую external runtime.

Когда не стоит брать

Conductor может быть не лучшим выбором, если:

  • нужен full lifecycle PRD/architecture/epic framework;
  • нужна database-backed runtime memory;
  • task слишком маленькая для track;
  • project context будет никто не review;
  • plugin support в вашем harness нестабилен.

Conductor vs OpenSpec

Вопрос OpenSpec Conductor
Основная единица Change proposal Track
Project memory openspec/project.md conductor/product.md, tech-stack.md, workflow.md
Implementation /opsx:apply style /conductor:conductor-implement
Control commands validate, show, archive status, review, revert
Хорош для Delta specs and living specs Track-based plugin workflow

Prompt patterns

Setup

text
Run Conductor setup.
Create project context files.
Capture product goals, tech stack, workflow preferences, and style guides.
Stop for review after generating context.

New track

text
Create a new Conductor track for this feature.
Generate spec.md and plan.md.
Do not implement until both are reviewed.

Review

text
Review this track against:
- conductor/product.md
- conductor/tech-stack.md
- conductor/workflow.md
- track spec.md
- track plan.md

Focus on scope creep, missing tests, and guideline violations.

Типичные ошибки

Ошибка 1. Не review project context

Если product.md или tech-stack.md неправильны, все tracks будут наследовать неверный context.

Ошибка 2. Track без boundaries

Track spec должен явно сказать, что входит и что не входит. Иначе agent начнет расширять scope.

Ошибка 3. Не использовать status/review

Conductor дает control commands. Если ими не пользоваться, workflow превращается в обычный prompt-to-code.

Ошибка 4. Revert как замена review

Smart revert полезен, но лучше ловить ошибки на plan/review gate до implementation.

Практика

Создайте imaginary Conductor track:

text
Track:
Product context needed:
Spec:
Plan phases:
Files likely touched:
Verification:
Review questions:
Revert boundary:

Проверьте, можно ли revert feature как logical unit.

Критерии готовности

После урока студент должен уметь:

  • объяснить Conductor как plugin-first SDD layer;
  • описать setup artifacts;
  • понять track lifecycle;
  • использовать status/review/revert as control points;
  • отличить Conductor от OpenSpec and BMAD.

Краткое резюме

Conductor показывает практичный middle ground: не full methodology и не bare Markdown specs, а plugin layer с project context, tracks, plans, implementation and review controls. Его сила - простота внедрения в existing agent workflow. Его риск - качество зависит от того, насколько команда review project context and tracks.

Вопросы для самопроверки

  1. Что такое track в Conductor?
  2. Какие project context files создает setup?
  3. Почему conductor-review важен до completion?
  4. Чем smart revert отличается от обычного git revert по commit hash?
  5. Когда Conductor лучше lightweight manual specs?

Источники для актуализации

Что дальше

Следующий урок разберет cc-sdd - minimal adaptable SDD harness, который воспроизводит Kiro-style spec workflow через Agent Skills for multiple coding agents.

Обновлено 03.10.2026