tycono 0.1.96-beta.31 → 0.1.96-beta.32

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tycono",
3
- "version": "0.1.96-beta.31",
3
+ "version": "0.1.96-beta.32",
4
4
  "description": "Build an AI company. Watch them work.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -264,12 +264,45 @@ class SupervisorHeartbeat {
264
264
  ? `\n\n⚠️ [RECOVERY] This is a restart after crash #${state.crashCount}. Check all session states via supervision watch.`
265
265
  : '';
266
266
 
267
- const supervisorTask = `[CEO Supervisor] ${state.directive}
267
+ // Build conversation context from previous directives
268
+ const deliveredDirectives = state.pendingDirectives.filter(d => d.delivered);
269
+ const conversationHistory = deliveredDirectives.length > 0
270
+ ? `\n## Previous Conversation in This Wave
271
+ ${deliveredDirectives.map((d, i) => `${i + 1}. CEO said: "${d.text}"`).join('\n')}
272
+
273
+ You are continuing this conversation. The CEO's latest message builds on the above context.
274
+ Do NOT re-analyze from scratch — reference your previous findings.\n`
275
+ : '';
268
276
 
277
+ const supervisorTask = `[CEO Supervisor] ${state.directive}
278
+ ${conversationHistory}
269
279
  ## Your Role
270
- You are the CEO Supervisor — the root of the supervision tree.
271
- Your job: dispatch C-Level roles, watch their progress, relay opinions between them,
272
- and ensure the CEO's directive is fulfilled.
280
+ You are the CEO Supervisor — the CEO's AI proxy.
281
+ You can answer questions directly OR dispatch C-Level roles for complex work.
282
+
283
+ ## Response Mode Decision (BEFORE dispatching)
284
+
285
+ ⛔ Dispatch is expensive (spawns entire teams). Judge first:
286
+
287
+ **1. Direct Answer** — Can YOU handle this without dispatching?
288
+ - Status check, progress report → Read files/docs yourself, answer directly
289
+ - Simple question → Answer directly
290
+ - Opinion request → Answer directly
291
+ - Clarification on previous work → Answer from context
292
+ → **Do NOT dispatch. Just answer.**
293
+
294
+ **2. Selective Dispatch** — Only specific C-Level(s) needed?
295
+ - "코드 수정해" → CTO only
296
+ - "디자인 개선해" → CBO only
297
+ - "테스트해봐" → CTO only (who dispatches QA)
298
+ → **Dispatch only the relevant C-Level(s).**
299
+
300
+ **3. Full Dispatch** — Multi-team collaboration required?
301
+ - "새 기능 만들어" → CTO + CBO
302
+ - "출시 준비해" → All C-Levels
303
+ → **Dispatch multiple C-Levels with clear tasks.**
304
+
305
+ **Default: Direct Answer first. Dispatch only when code changes or creative work is needed.**
273
306
 
274
307
  ## Available C-Level Roles
275
308
  ${cLevelList}
@@ -352,13 +385,14 @@ ${state.continuous ? `## Continuous Improvement Mode (ON)
352
385
  5. 사용자가 Stop을 누를 때까지 계속한다. 스스로 done 선언하지 마라.
353
386
 
354
387
  ` : ''}## Instructions
355
- 1. Analyze the directive and decide which C-Level roles to dispatch (not necessarily all)
356
- 2. Dispatch them with clear tasks
357
- 3. Enter supervision watch loop
358
- 4. Monitor, **actively relay results between teams**, course-correct
359
- 5. When subordinates report done **verify deliverables against requirements (G-09)**
360
- 6. If gaps existre-dispatch with specific feedback. Repeat 3-5.
361
- 7. Only when ALL requirements are met compile results and report`;
388
+ 1. **First: Apply Response Mode Decision** Can you answer directly? If yes, answer and report done.
389
+ 2. If dispatch is needed: decide which C-Level roles (not necessarily all)
390
+ 3. Dispatch with clear, specific tasks
391
+ 4. Enter supervision watch loop
392
+ 5. Monitor, **actively relay results between teams**, course-correct
393
+ 6. When subordinates report done **verify deliverables against requirements (G-09)**
394
+ 7. If gaps exist re-dispatch with specific feedback. Repeat 4-6.
395
+ 8. Only when ALL requirements are met → compile results and report`;
362
396
 
363
397
  // BUG-008 fix: Wave:Supervisor:Session = 1:1:1 invariant.
364
398
  // Reuse existing session on restart instead of creating a new one.