v2.2.15: Astra Office Refactor & Multi-Service Integration
This commit is contained in:
@@ -239,12 +239,40 @@ const PLAN_ONLY: PipelineTemplate = {
|
||||
],
|
||||
};
|
||||
|
||||
/** Read-only registry of templates the UI surfaces. Add more here later. */
|
||||
/**
|
||||
* "개발까지만" — FULL_PRODUCT_DEV 의 1~10 단계 (plan-discuss ~ dev-impl) 만 진행.
|
||||
* QA·배포는 사용자가 코드 받아본 뒤 수동 처리하길 원하는 경우. dev-impl 종료
|
||||
* 직후 CEO 합산 보고로 turn 종료. design-review 의 dev-design loop-back 은 유지.
|
||||
*
|
||||
* stages 는 FULL_PRODUCT_DEV.stages.slice(0, 10) 으로 *참조 공유* — 사용자가
|
||||
* 템플릿 stamp 시 deep-copy 되므로 본 정의 객체는 read-only 안전.
|
||||
*/
|
||||
const DEV_ONLY: PipelineTemplate = {
|
||||
templateId: 'dev-only',
|
||||
name: '개발까지만 (10단계)',
|
||||
description: '풀 워크플로에서 QA·배포 단계를 뺀 버전. 기획 → 개발까지 만들고 검증·배포는 사용자가 직접 챙깁니다.',
|
||||
suggestedPipelineId: 'dev-only',
|
||||
suggestedPipelineName: '기획→개발 파이프라인',
|
||||
stages: FULL_PRODUCT_DEV.stages.slice(0, 10),
|
||||
};
|
||||
|
||||
/** Read-only registry of templates the UI surfaces. */
|
||||
export const PIPELINE_TEMPLATES: PipelineTemplate[] = [
|
||||
FULL_PRODUCT_DEV,
|
||||
PLAN_ONLY,
|
||||
DEV_ONLY,
|
||||
FULL_PRODUCT_DEV,
|
||||
];
|
||||
|
||||
/**
|
||||
* 스코프 단축 표기 — 사용자가 사이드바에서 한 번에 보고 선택할 수 있는 3-way 라벨.
|
||||
* 각 키는 PIPELINE_TEMPLATES 의 templateId 와 1:1. 매핑 변경 시 UI 동기화 필요.
|
||||
*/
|
||||
export const SCOPE_PRESETS = [
|
||||
{ templateId: 'plan-only', shortLabel: '기획만', longLabel: '기획서까지만' },
|
||||
{ templateId: 'dev-only', shortLabel: '개발까지', longLabel: '개발까지만' },
|
||||
{ templateId: 'full-product-dev', shortLabel: '풀', longLabel: '배포까지 풀 파이프라인' },
|
||||
] as const;
|
||||
|
||||
export function getPipelineTemplate(id: string): PipelineTemplate | undefined {
|
||||
return PIPELINE_TEMPLATES.find((t) => t.templateId === id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user