@tienne/gestalt 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: interview
3
- version: "1.0.0"
3
+ version: "1.1.0"
4
4
  description: "Gestalt-driven interview to clarify project requirements"
5
5
  triggers:
6
6
  - "interview"
@@ -80,3 +80,38 @@ API 키 없이 MCP 서버 실행 시 자동 활성화. LLM 작업을 caller가
80
80
  | `questionPrompt` | string | 다음 질문 생성용 프롬프트 |
81
81
  | `scoringPrompt` | string? | 모호성 점수 산출용 프롬프트 (respond 후에만 포함) |
82
82
  | `roundNumber` | number | 현재 라운드 번호 |
83
+
84
+ ---
85
+
86
+ ## 공통 진행 패널
87
+
88
+ 인터뷰 진행 중 Claude Code Task 패널에 실시간 상태를 표시한다. 패널 업데이트는 best-effort — 업데이트 실패가 인터뷰 흐름을 중단시켜서는 안 된다.
89
+
90
+ ### 시작 시 (`start` 응답 수신 직후)
91
+
92
+ `TaskCreate`를 호출해 진행 패널을 생성하고, 반환된 taskId를 세션 동안 보관한다.
93
+
94
+ ```
95
+ subject: "Gestalt 인터뷰: {topic}"
96
+ description: "라운드 1/{maxRounds} | 원리: {currentPrinciple} | 모호성: 측정 전"
97
+ activeForm: "인터뷰 진행 중"
98
+ ```
99
+
100
+ ### 각 라운드 후 (`respond` 응답 수신 시마다)
101
+
102
+ `TaskUpdate`로 description을 최신 상태로 갱신한다. 모호성 점수는 추이 형식으로 표시한다.
103
+
104
+ ```
105
+ description: "라운드 {roundNumber}/{maxRounds} | 원리: {currentPrinciple} | 모호성: {score1} → {score2} → {latestScore}"
106
+ ```
107
+
108
+ ambiguityScore.isReady === true 이면 description에 "✓ 준비 완료" 표시를 추가한다.
109
+
110
+ ### 완료 시 (`complete` 응답 수신 후)
111
+
112
+ `TaskUpdate`로 status를 completed로 변경한다.
113
+
114
+ ```
115
+ status: "completed"
116
+ description: "총 {totalRounds}라운드 완료 | 최종 모호성: {finalAmbiguityScore}"
117
+ ```
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: spec
3
- version: "1.0.0"
3
+ version: "1.1.0"
4
4
  description: "Generate a Spec specification from a completed interview"
5
5
  triggers:
6
6
  - "generate spec"
@@ -90,3 +90,35 @@ ges_generate_spec({
90
90
  - `gestaltAnalysis[].confidence`: 0.0 ~ 1.0
91
91
  - `ontologySchema.entities[]`: `{ name: string(min 1), description: string, attributes: string[] }`
92
92
  - `ontologySchema.relations[]`: `{ from: string(min 1), to: string(min 1), type: string(min 1) }`
93
+
94
+ ---
95
+
96
+ ## 공통 진행 패널
97
+
98
+ Spec 생성 중 Claude Code Task 패널에 상태를 표시한다. best-effort — 패널 실패가 Spec 생성을 막아서는 안 된다.
99
+
100
+ ### 시작 시 (1단계 `ges_generate_spec` 호출 전)
101
+
102
+ `TaskCreate`로 패널을 생성한다.
103
+
104
+ ```
105
+ subject: "Spec 생성 중"
106
+ description: "인터뷰 세션 {sessionId} 기반 Spec 구성 중..."
107
+ activeForm: "Spec 생성 중"
108
+ ```
109
+
110
+ ### 완료 시 (2단계 `ges_generate_spec` 응답 수신 후)
111
+
112
+ `TaskUpdate`로 status를 completed로 변경한다.
113
+
114
+ ```
115
+ status: "completed"
116
+ description: "Spec 생성 완료 | specId: {spec.metadata.specId}"
117
+ ```
118
+
119
+ 실패 시(error 반환):
120
+
121
+ ```
122
+ status: "completed"
123
+ description: "Spec 생성 실패: {error}"
124
+ ```