lee-spec-kit 0.6.31 β†’ 0.6.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": "lee-spec-kit",
3
- "version": "0.6.31",
3
+ "version": "0.6.32",
4
4
  "description": "Project documentation structure generator for AI-assisted development",
5
5
  "type": "module",
6
6
  "bin": {
@@ -42,7 +42,7 @@ Prohibited:
42
42
  - If user input does not contain a valid label, do not execute; request label selection again.
43
43
  - For approved command options, prefer one-shot `flow --approve <LABEL> --execute`; do not split `context --approve` and `context --execute --ticket` across turns/sessions.
44
44
  - If `agentOrchestration.currentActionShouldDelegate=true` and the selected option is `actionType="command"`, delegation is mandatory: call `spawn_agent` first. Do not execute that command directly from the main agent.
45
- - If `agentOrchestration.autoRunShouldDelegate=true`, delegate auto loops (`autoRun.command`, `flow --auto-*`) to a sub-agent.
45
+ - Do not delegate auto loops from `autoRun.available` alone. Delegate auto loops only when `agentOrchestration.subAgentHandoff.required=true` and `agentOrchestration.subAgentHandoff.mode="auto_run"`.
46
46
  - Prefer `agentOrchestration.subAgentHandoff` as the handoff SSOT. Pass only its minimal fields (`featureRef`, `category`, `cwd`, `cmd`) to the sub-agent.
47
47
  - For delegated runs, execute one-time verification from `subAgentHandoff.verify` (`pwd`, `git rev-parse --show-toplevel`) and cache by `verify.cacheKey`. If mismatched, stop and report; collect detailed logs only on mismatch.
48
48
  - Main-agent fallback is allowed only when sub-agent execution is unavailable (for example: tool not available, spawn failed, or sub-agent failed before command execution).
@@ -26,7 +26,7 @@ Execute exactly one option from `πŸ‘‰ Next Options (Atomic)` as printed by the C
26
26
  - `true`: wait for label-token approval (`A`, `A OK`) before execution.
27
27
  - Default execution model is **main-agent orchestration + selective sub-agent execution**. Keep short steps (spec/plan/tasks approvals, issue/PR metadata sync) in the main agent, and delegate long-running loops (`task_execute`, `code_review`, `review_fix_commit`, `pre_pr_review`, auto-run) to a sub-agent.
28
28
  - When `agentOrchestration.currentActionShouldDelegate=true` and the selected option is `actionType="command"`, delegation is mandatory: call `spawn_agent` first and do not execute the command directly from the main agent.
29
- - When `agentOrchestration.autoRunShouldDelegate=true`, delegate auto loops (`autoRun.command`, `flow --auto-*`) to a sub-agent.
29
+ - Do not delegate auto loops from `autoRun.available` alone. Delegate auto loops only when `agentOrchestration.subAgentHandoff.required=true` and `agentOrchestration.subAgentHandoff.mode="auto_run"`.
30
30
  - Use `agentOrchestration.subAgentHandoff` as the minimal handoff contract (`featureRef`, `category`, `cwd`, `cmd`).
31
31
  - Run `subAgentHandoff.verify.commands` only once per session using `verify.cacheKey` (`pwd`, `git rev-parse --show-toplevel`). Stop/report on mismatch, and gather detailed logs only when mismatch happens.
32
32
  - Main-agent fallback is allowed only when sub-agent execution is unavailable (for example: tool not available, spawn failed, or sub-agent failed before command execution). Before fallback execution, report a one-line fallback reason to the user.
@@ -42,7 +42,7 @@
42
42
  - μ‚¬μš©μž μž…λ ₯에 유효 라벨이 μ—†μœΌλ©΄ μ‹€ν–‰ν•˜μ§€ 말고 라벨 선택을 λ‹€μ‹œ μš”μ²­ν•©λ‹ˆλ‹€.
43
43
  - 승인된 command μ˜΅μ…˜ 싀행은 `flow --approve <LABEL> --execute` 1회 ν˜ΈμΆœμ„ 기본으둜 ν•˜λ©°, `context --approve`와 `context --execute --ticket`λ₯Ό ν„΄/μ„Έμ…˜ μ‚¬μ΄λ‘œ λΆ„λ¦¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.
44
44
  - `agentOrchestration.currentActionShouldDelegate=true`이고 μ„ νƒν•œ μ˜΅μ…˜μ΄ `actionType="command"`λ©΄ μœ„μž„μ΄ ν•„μˆ˜μž…λ‹ˆλ‹€. λ¨Όμ € `spawn_agent`λ₯Ό ν˜ΈμΆœν•˜κ³ , ν•΄λ‹Ή λͺ…령을 메인 μ—μ΄μ „νŠΈμ—μ„œ 직접 μ‹€ν–‰ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.
45
- - `agentOrchestration.autoRunShouldDelegate=true`λ©΄ auto 루프(`autoRun.command`, `flow --auto-*`)λ₯Ό μ„œλΈŒ μ—μ΄μ „νŠΈμ— μœ„μž„ν•©λ‹ˆλ‹€.
45
+ - `autoRun.available`만으둜 auto 루프 μœ„μž„μ„ κ²°μ •ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. `agentOrchestration.subAgentHandoff.required=true`이고 `agentOrchestration.subAgentHandoff.mode="auto_run"`일 λ•Œλ§Œ auto 루프λ₯Ό μ„œλΈŒ μ—μ΄μ „νŠΈμ— μœ„μž„ν•©λ‹ˆλ‹€.
46
46
  - μœ„μž„ μ‹œμ—λŠ” `agentOrchestration.subAgentHandoff`λ₯Ό handoff SSOT둜 μ‚¬μš©ν•˜κ³ , μ΅œμ†Œ ν•„λ“œ(`featureRef`, `category`, `cwd`, `cmd`)만 μ „λ‹¬ν•©λ‹ˆλ‹€.
47
47
  - μœ„μž„ μ‹€ν–‰ μ „ `subAgentHandoff.verify`의 검증 λͺ…λ Ή(`pwd`, `git rev-parse --show-toplevel`)을 μ„Έμ…˜λ‹Ή 1회만 μ‹€ν–‰ν•˜κ³ (`verify.cacheKey` κΈ°μ€€), 뢈일치 μ‹œ μ¦‰μ‹œ 쀑단/λ³΄κ³ ν•©λ‹ˆλ‹€. 상세 둜그 μˆ˜μ§‘μ€ 뢈일치 μ‹œμ—λ§Œ μˆ˜ν–‰ν•©λ‹ˆλ‹€.
48
48
  - 메인 μ—μ΄μ „νŠΈ fallback은 μ„œλΈŒ μ—μ΄μ „νŠΈ 싀행이 λΆˆκ°€λŠ₯ν•œ 경우(예: 도ꡬ 미지원, spawn μ‹€νŒ¨, λͺ…λ Ή μ‹€ν–‰ μ „ μ„œλΈŒ μ—μ΄μ „νŠΈ μ‹€νŒ¨)μ—λ§Œ ν—ˆμš©ν•©λ‹ˆλ‹€.
@@ -26,7 +26,7 @@ CLIκ°€ κ°€λ¦¬ν‚€λŠ” **Active Task** λ˜λŠ” **`πŸ‘‰ Next Options (Atomic)`의 단
26
26
  - 승인 λŒ€κΈ° μ—¬λΆ€λŠ” `context --json-compact`의 `approvalRequest.required`λ₯Ό SSOT둜 λ”°λ¦…λ‹ˆλ‹€. (`--json`은 상세 디버깅이 ν•„μš”ν•  λ•Œλ§Œ μ‚¬μš©) `false`λ©΄ 라벨 승인 없이 μ§„ν–‰ν•˜κ³ , `true`λ©΄ 라벨 κ·œμΉ™(`A`, `A OK`)으둜 승인 ν›„ μ§„ν–‰ν•©λ‹ˆλ‹€.
27
27
  - κΈ°λ³Έ μ‹€ν–‰ λͺ¨λΈμ€ **메인 μ—μ΄μ „νŠΈ μ˜€μΌ€μŠ€νŠΈλ ˆμ΄μ…˜ + 선택적 μ„œλΈŒ μ—μ΄μ „νŠΈ μ‹€ν–‰**μž…λ‹ˆλ‹€. 짧은 단계(spec/plan/tasks 승인, 이슈/PR 메타 동기화 λ“±)λŠ” 메인 μ—μ΄μ „νŠΈκ°€ 직접 μ²˜λ¦¬ν•˜κ³ , μž₯μ‹œκ°„ 루프(`task_execute`, `code_review`, `review_fix_commit`, `pre_pr_review`, auto-run)λŠ” μ„œλΈŒ μ—μ΄μ „νŠΈμ— μœ„μž„ν•©λ‹ˆλ‹€.
28
28
  - `agentOrchestration.currentActionShouldDelegate=true`이고 μ„ νƒν•œ μ˜΅μ…˜μ΄ `actionType="command"`λ©΄ μœ„μž„μ΄ ν•„μˆ˜μž…λ‹ˆλ‹€. λ¨Όμ € `spawn_agent`λ₯Ό ν˜ΈμΆœν•˜κ³ , ν•΄λ‹Ή λͺ…령을 메인 μ—μ΄μ „νŠΈμ—μ„œ 직접 μ‹€ν–‰ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.
29
- - `agentOrchestration.autoRunShouldDelegate=true`λ©΄ auto 루프(`autoRun.command`, `flow --auto-*`)λ₯Ό μ„œλΈŒ μ—μ΄μ „νŠΈμ— μœ„μž„ν•©λ‹ˆλ‹€.
29
+ - `autoRun.available`만으둜 auto 루프 μœ„μž„μ„ κ²°μ •ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. `agentOrchestration.subAgentHandoff.required=true`이고 `agentOrchestration.subAgentHandoff.mode="auto_run"`일 λ•Œλ§Œ auto 루프λ₯Ό μ„œλΈŒ μ—μ΄μ „νŠΈμ— μœ„μž„ν•©λ‹ˆλ‹€.
30
30
  - `agentOrchestration.subAgentHandoff`λ₯Ό μ΅œμ†Œ handoff 계약(`featureRef`, `category`, `cwd`, `cmd`)으둜 μ‚¬μš©ν•©λ‹ˆλ‹€.
31
31
  - `subAgentHandoff.verify.commands`(`pwd`, `git rev-parse --show-toplevel`)은 `verify.cacheKey` κΈ°μ€€ μ„Έμ…˜λ‹Ή 1회만 μ‹€ν–‰ν•©λ‹ˆλ‹€. 뢈일치 μ‹œ μ¦‰μ‹œ 쀑단/λ³΄κ³ ν•˜κ³ , 상세 λ‘œκ·ΈλŠ” 뢈일치 μ‹œμ—λ§Œ μˆ˜μ§‘ν•©λ‹ˆλ‹€.
32
32
  - 메인 μ—μ΄μ „νŠΈ fallback은 μ„œλΈŒ μ—μ΄μ „νŠΈ 싀행이 λΆˆκ°€λŠ₯ν•œ 경우(예: 도ꡬ 미지원, spawn μ‹€νŒ¨, λͺ…λ Ή μ‹€ν–‰ μ „ μ„œλΈŒ μ—μ΄μ „νŠΈ μ‹€νŒ¨)μ—λ§Œ ν—ˆμš©ν•©λ‹ˆλ‹€. fallback μ‹€ν–‰ μ „μ—λŠ” μ‚¬μœ λ₯Ό μ‚¬μš©μžμ—κ²Œ ν•œ μ€„λ‘œ λ¨Όμ € μ•Œλ¦½λ‹ˆλ‹€.