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/dist/index.js +26 -27
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/en/common/agents/agents.md +1 -1
- package/templates/en/common/agents/skills/execute-task.md +1 -1
- package/templates/ko/common/agents/agents.md +1 -1
- package/templates/ko/common/agents/skills/execute-task.md +1 -1
package/package.json
CHANGED
|
@@ -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
|
-
-
|
|
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
|
-
-
|
|
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
|
-
- `
|
|
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
|
-
- `
|
|
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 μ€ν μ μλ μ¬μ λ₯Ό μ¬μ©μμκ² ν μ€λ‘ λ¨Όμ μ립λλ€.
|