| name | aidlc-construction-orchestrator |
| description | Use when CONSTRUCTION phase begins, to manage the full build cycle for each unit from implementation through verification. |
| metadata | {"version":"0.7.0","author":"Jay","category":"ai-dlc-workflow","invoke_mode":"orchestrator-only","return_behavior":"stop-no-gate","skill_nature":"amplification","lifecycle":"active"} |
aidlc-construction-orchestrator
CONSTRUCTION ์คํ
์ด์ง ์์
units-generation (์กฐ๊ฑด๋ถ) โ [units ๊ฒ์ดํธ]
โ functional-design (Comprehensive๋ง) โ [์ค๊ณ ๊ฒ์ดํธ]
โ code-generation Plan โ [code-plan ๊ฒ์ดํธ]
โ code-generation Generate โ [๊ตฌํ ๊ฒ์ดํธ]
โ (multi-unit์ด๋ฉด ๋ค์ unit์ผ๋ก ๋ฐ๋ณต)
โ build-and-test โ [์๋ฃ ๊ฒ์ดํธ]
On Activation
Step 1: ์ปจํ
์คํธ ๋ก๋
๋ค์ ํ์ผ์ ์ฝ๋๋ค:
devflow-docs/devflow-state.md โ Complexity, Completed Units ํ์ธ
devflow-docs/inception/workflow-plan.md โ Approved Stages, Stage Depths ํ์ธ
devflow-docs/inception/requirements.md โ ์๊ตฌ์ฌํญ ๋งฅ๋ฝ ๋ณต์
devflow-docs/inception/application-design.md โ ์ค๊ณ ๋งฅ๋ฝ ๋ณต์ (์์ผ๋ฉด)
devflow-docs/inception/units.md โ unit ๋ชฉ๋ก (์์ผ๋ฉด)
devflow-docs/inception/workspace.md โ brownfield/greenfield ์ฌ๋ถ ํ์ธ (์์ผ๋ฉด)
devflow-docs/session-summary.md โ ์ด์ ์ธ์
๋งฅ๋ฝ (์์ผ๋ฉด, ## Deferred Stubs ํ์ธ)
์ปจํ
์คํธ ๋ก๋ ์๋ฃ ํ ์์ฝ ํ์:
๐ ์ปจํ
์คํธ ๋ก๋ ์๋ฃ
- ๋ก๋ํ ํ์ผ: [count]๊ฐ
- Phase: CONSTRUCTION
- ๋ง์ง๋ง ์๋ฃ: [last completed unit or stage]
Step 1.5: ์ฌ๊ฒ์ฆ (์ธ์
์ฌ๊ฐ ์)
devflow-state์ ## Completed Units์ ์๋ฃ unit์ด ์๋ ๊ฒฝ์ฐ์๋ง ์คํ.
์ ๊ท ์ธ์
(์๋ฃ unit ์์)์์๋ ์คํต.
_shared/patterns/session-continuity.md ์น์
4 "ํ์คํฌ ์ฌ๊ฒ์ฆ ํ๋กํ ์ฝ" ์ ์ฉ.
ํต๊ณผ ์ Step 2๋ก ์งํ. ์คํจ ์ ํ๋กํ ์ฝ์ ๋ถ๊ธฐ(debugging ๋ผ์ฐํ
/ ์์ค์ปฌ๋ ์ด์
) ๋ฐ๋ฆ.
Step 2: ์คํ
์ด์ง ๊ฒฐ์
workflow-plan.md์ ## Approved Stages์์:
units-generation: included โ units-generation๋ถํฐ ์์
units-generation: skipped โ code-generation์ผ๋ก ๋ฐ๋ก ์งํ
The Orchestration Loop
1. units-generation (์กฐ๊ฑด๋ถ)
์คํ ์กฐ๊ฑด: workflow-plan.md์์ units-generation: included์ธ ๊ฒฝ์ฐ
์คํฌ ํธ์ถ โ ๊ฒฐ๊ณผ ํ์
units ๊ฒ์ดํธ [ํ์ค ๊ฒ์ดํธ]
[units-generation ๊ฒฐ๊ณผ ํ์]
A) ๋ณ๊ฒฝ ์์ฒญ (์: unit ๋ถํ /๋ณํฉ, ๊ตฌํ ์์ ๋ณ๊ฒฝ ๋ฑ) โ units-generation ์ฌํธ์ถ
B) ์น์ธ, ์ฝ๋ ์์ฑ ์งํ
์น์ธ ํ: devflow-state์ unit ๋ชฉ๋ก ๊ธฐ๋ก
1.5. SDD ๋ชจ๋ ๊ฒ์ดํธ (Multi-unit๋ง)
units-generation ์น์ธ ํ, unit ์๋ฅผ ํ์ธํ์ฌ SDD ๋ชจ๋ ๊ฒ์ดํธ๋ฅผ ์ ์ํ๋ค.
unit 1๊ฐ: ๊ฒ์ดํธ ์์ด ์ธ๋ผ์ธ ๋ชจ๋ ์๋ ์ ์ฉ โ ์น์
2๋ก ์งํ.
unit 2๊ฐ ์ด์: SDD ๋ชจ๋ ๊ฒ์ดํธ ์ ์:
unit์ด [N]๊ฐ์
๋๋ค. ์ปจํ
์คํธ ๊ฒฉ๋ฆฌ๋ฅผ ์ํด SDD ๋ชจ๋๋ฅผ ๊ถ์ฅํฉ๋๋ค.
A) SDD ๋ชจ๋ (๊ธฐ๋ณธ) โ unit๋ณ ์๋ธ์์ด์ ํธ๋ก ์ปจํ
์คํธ ๋ฆฌ์
โ aidlc-subagent-driven-development์ ์์
B) ์ธ๋ผ์ธ ๋ชจ๋ โ ํ์ฌ ์ปจํ
์คํธ์์ ์์ฐจ ์คํ
A (SDD ๋ชจ๋) ์ ํ ์:
- Comprehensive์์ functional-design์ด ํฌํจ๋ ๊ฒฝ์ฐ, SDD ํธ์ถ ์ ์ orchestrator๊ฐ unit๋ณ๋ก functional-design์ ์คํํ๋ค
aidlc-subagent-driven-development ํธ์ถ (์ธ๋ผ์ธ ์ ํธ: "SDD: units=[devflow-docs/inception/units.md], summary=[devflow-docs/session-summary.md], complexity=[level], functional-designs=[devflow-docs/inception/functional-design-*.md]")
- functional-design ์ฐ์ถ๋ฌผ์ด ์์ผ๋ฉด ๊ฒฝ๋ก๋ฅผ ์ธ๋ผ์ธ ์ ํธ์ ํฌํจ. SDD๊ฐ ์๋ธ์์ด์ ํธ์ ์ ๋ฌํ๋ค.
- functional-design์ด ์์ผ๋ฉด (Standard ์ดํ) ํด๋น ํ๋ ์๋ต
- SDD ๋ชจ๋์์๋ ๊ฐ๋ณ unit ๊ฒ์ดํธ(code-plan ๊ฒ์ดํธ, ๊ตฌํ ๊ฒ์ดํธ)๊ฐ ๋นํ์ฑํ โ SDD ์คํฌ์ ํ์คํฌ ์๋ฃ + R1 ๋ฆฌ๋ทฐ๊ฐ ํ์ง ๊ฒ์ดํธ ์ญํ
- SDD ์๋ฃ ํ โ build-and-test(์น์
3)๋ก ๋ฐ๋ก ์งํ
B (์ธ๋ผ์ธ ๋ชจ๋) ์ ํ ์: ๊ธฐ์กด ์น์
2 ๋ฃจํ ๊ทธ๋๋ก ์คํ.
2. code-generation (Multi-unit ํธ๋ค๋ง)
devflow-docs/inception/units.md์์ ๊ตฌํ ์์๋ฅผ ์ฝ๋๋ค.
units-generation์ด ์คํต๋ ๊ฒฝ์ฐ, ๋จ์ผ unit์ผ๋ก ์ฒ๋ฆฌํ๋ค.
๊ฐ unit์ ๋ํด ์๋๋ฅผ ๋ฐ๋ณต:
2a. functional-design (์กฐ๊ฑด๋ถ)
์คํ ์กฐ๊ฑด: Complexity๊ฐ Comprehensive์ธ ๊ฒฝ์ฐ๋ง
aidlc-functional-design ํธ์ถ (unit๋ช
์ ๋ฌ)
์ค๊ณ [๊ฒฝ๋ ํ์ธ]
[functional-design ๊ฒฐ๊ณผ ํ์]
โ ์ฝ๋ ์์ฑ์ ์งํํฉ๋๋ค.
๋ณ๊ฒฝ์ด ํ์ํ๋ฉด ๋ง์ํด ์ฃผ์ธ์. (์: ๋๋ฉ์ธ ์ํฐํฐ, ๋น์ฆ๋์ค ๊ท์น, API ๊ณ์ฝ)
์งํํ๋ ค๋ฉด ์ํฐ๋ฅผ ๋๋ฌ์ฃผ์ธ์.
์ฌ์ฉ์๊ฐ ๋ณ๊ฒฝ์ ์์ฒญํ๋ฉด functional-design์ ์ฌํธ์ถํ๋ค.
Minimal/Standard: ์ด ๋จ๊ณ ์คํต, ๋ฐ๋ก code-generation์ผ๋ก.
2a-1. Stub Scan (Brownfield ์ ์ฉ)
workspace.md์์ brownfield๋ก ํ์ธ๋ ๊ฒฝ์ฐ์๋ง ์คํ. Greenfield๋ ์คํต.
ํ๋ก์ ํธ ๋ฃจํธ์์ stub ํจํด ์ค์บ:
grep -rn "not yet implemented\|todo!()\|unimplemented!()\|NotImplementedError\|raise NotImplementedError\|UnsupportedOperationException\|TODO(\".*\")\|panic(\"not implemented\")\|panic(\"TODO\")" . --include="*.rs" --include="*.py" --include="*.ts" --include="*.java" --include="*.kt" --include="*.go" --exclude-dir=node_modules --exclude-dir=vendor --exclude-dir=.git --exclude-dir=target --exclude-dir=build --exclude-dir=__pycache__
์ค์บ ๊ฒฐ๊ณผ ์ฒ๋ฆฌ:
- stub ๋ฐ๊ฒฌ ์: code-generation ํธ์ถ ์ธ๋ผ์ธ ์ปจํ
์คํธ์ ํฌํจ:
## Stub ๊ต์ฒด ๋์ (Brownfield)
์๋ stub์ด ์ด unit์ ๊ตฌํ ๋ฒ์์ ๊ด๋ จ๋ ์ ์์ต๋๋ค:
- [ํ์ผ:๋ผ์ธ] โ [stub ๋ด์ฉ]
๊ด๋ จ stub์ด ์๋ค๋ฉด ์ค์ ๊ตฌํ์ผ๋ก ๊ต์ฒดํ์ธ์.
- stub ๋ฏธ๋ฐ๊ฒฌ ์: ์ ๋ฌ ์ ํจ (๋ฌด์ถ๋ ฅ)
- ์ค์บ ์คํจ (exit code != 0, 1 ์ ์ธ) ์:
โ ๏ธ Stub ์ค์บ ์คํจ โ [์๋ฌ ๋ฉ์์ง]
A) ์ฌ์๋
B) ์ค์บ ์คํต (devflow-audit์ "stub-scan-error" ๊ธฐ๋ก)
์ธ์
์ฌ๊ฐ ์ session-summary.md์ ## Deferred Stubs๊ฐ ์์ผ๋ฉด ํด๋น ํญ๋ชฉ๋ ์ค์บ ๊ฒฐ๊ณผ์ ํฌํจํ์ฌ implementer์ ์ ๋ฌํ๋ค.
๊ฒ์ดํธ: ์์ (์ค์บ ์ฑ๊ณต ์). ์ค์บ ์คํจ ์๋ง ์กฐ๊ฑด๋ถ ๊ฒ์ดํธ.
2b. code-generation Plan ํธ์ถ
aidlc-code-generation ํธ์ถ (unit๋ช
+ Complexity ์ธ๋ผ์ธ ์ ๋ฌ: "Complexity: [level]" + Stub Scan ๊ฒฐ๊ณผ ์ธ๋ผ์ธ ์ ๋ฌ)
code-plan ๊ฒ์ดํธ [๋ฆฌ๋ทฐ ์ฐ๊ณ ๊ฒ์ดํธ + Override ๋ณํ]
_shared/patterns/review-gate-pattern.md ์ ์ฉ. ๋ฆฌ๋ทฐ ๊ฒฐ๊ณผ์ ๋ฐ๋ผ ๊ฒ์ดํธ ๋ถ๊ธฐ:
- A) ๋ณ๊ฒฝ ์์ฒญ โ code-generation ์ฌํธ์ถ
- B) ์น์ธ โ code-generation: GENERATE ํธ์ถ
- ํ์ฅ ์ต์
: C) ์ค๋ฒ๋ผ์ด๋ (FAIL/CONDITIONAL ์, review-gate-pattern์ ์ค๋ฒ๋ผ์ด๋ audit ํ์ ์ ์ฉ)
๋ฆฌ๋ทฐ ๋ฃจํ 5ํ ์์ง ์ conventions escalation ๋ฉ์์ง ์ฐ์ .
2c. code-generation Generate ํธ์ถ
"aidlc-code-generation: GENERATE โ proceed with the approved plan for [unit-name]" ์ธ๋ผ์ธ ์ ํธ๋ก ํธ์ถ
๊ตฌํ [๊ฒฝ๋ ํ์ธ + ๋ฆฌ๋ทฐ ์ฐ๊ณ]
๋ฆฌ๋ทฐ ์๋ ์คํ: aidlc-requesting-code-review๋ฅผ R1(๋จ์ผ ๋ฆฌ๋ทฐ) ๋ชจ๋๋ก ์๋ ํธ์ถ (๋ชจ๋ depth).
Council/Teams ๋ฆฌ๋ทฐ๋ฅผ ์ํ๋ฉด ์์ ๋ฐํ๋ก ์์ฒญ โ Interrupt Handler๊ฐ ์ฒ๋ฆฌ.
requesting-code-review๊ฐ ๋ชจ๋ ๋ฆฌ๋ทฐ ๋ก์ง์ ์์ ํ๋ค (Single Source of Truth).
๋ฆฌ๋ทฐ ์๋ฃ ํ:
[code-generation ๊ฒฐ๊ณผ + ์๋ ๋ฆฌ๋ทฐ ๊ฒฐ๊ณผ ํ์]
โ ๋ค์ unit์ ์งํํฉ๋๋ค.
๋ณ๊ฒฝ์ด ํ์ํ๋ฉด ๋ง์ํด ์ฃผ์ธ์. (์: ๊ตฌํ ์์ , ๋ฆฌ๋ทฐ ๋ฐ์)
์งํํ๋ ค๋ฉด ์ํฐ๋ฅผ ๋๋ฌ์ฃผ์ธ์.
์ฌ์ฉ์๊ฐ ๋ณ๊ฒฝ์ ์์ฒญํ๋ฉด code-generation: GENERATE๋ฅผ ์ฌํธ์ถํ๋ค.
๋ฆฌ๋ทฐ ์คํต์ ์์ ๋ฐํ๋ก ์์ฒญ ๊ฐ๋ฅ (audit ๊ธฐ๋ก๋จ).
์น์ธ ํ:
- devflow-state์
## Completed Units์ unit๋ช
์ถ๊ฐ
devflow-docs/session-summary.md ์
๋ฐ์ดํธ: Completed Work์ unit ์ถ๊ฐ + **Commit** ํ๋์ ํ์ฌ HEAD hash
- Traps ํ์: ์ฌ์ฉ์์๊ฒ "์ด๋ฒ unit์์ ํ๊ธฐํ ์๋๊ฐ ์๋์? (์์ผ๋ฉด enter)" ์ง๋ฌธ. ์๋ต์ด ์์ผ๋ฉด session-summary.md์
## Traps to Avoid ์น์
์ 1์ค์ฉ ์ถ๊ฐ. ์๋ต์ด ์์ผ๋ฉด ์น์
์ (์์)์ผ๋ก ์ ์ง. ์์ธํ ์ด์ ๊ท์น์ _shared/patterns/session-continuity.md์ "Traps to Avoid ์ด์ ๊ท์น" ์ฐธ์กฐ.
- devflow-audit์ ๋ก๊น
:
[timestamp] unit-complete: [unit-name] โ [commit hash]
2d. ๋ค์ unit ํ์ธ
๋ฏธ์๋ฃ unit์ด ์์ผ๋ฉด โ 2a๋ก ๋์๊ฐ ๋ค์ unit ์ฒ๋ฆฌ
๋ชจ๋ unit ์๋ฃ ์ โ build-and-test๋ก ์งํ
3. build-and-test
workspace.md์์ brownfield๋ก ํ์ธ๋ ๊ฒฝ์ฐ, ํธ์ถ ์ ์ธ๋ผ์ธ ์ ๋ฌ: "Brownfield: true" โ stub ์์กด ๊ฒ์ฆ ํ์ฑํ. Greenfield์ธ ๊ฒฝ์ฐ ์ ๋ฌํ์ง ์์.
aidlc-build-and-test ํธ์ถ
3a. Auto-fix ์ ์ฒ๋ฆฌ (Self-Healing Loop)
build-and-test ๊ฒฐ๊ณผ๋ฅผ ๋ฐ์ ํ, ์๋ฃ ๊ฒ์ดํธ๋ฅผ ํ์ํ๊ธฐ ์ ์ ์๋ ์์ ์ ์๋ํ๋ค.
์ฆ์ ๊ฒ์ดํธ๋ก ์ ๋ฌ (auto-fix ์คํต):
- ๋น๋ ์คํจ (์ปดํ์ผ ์๋ฌ, ์ค์ ๋ฌธ์ , ์์กด์ฑ ๋๋ฝ)
- ํ๊ฒฝ ๋ฌธ์ (missing binary, permission denied)
- ๋ฆฌ์คํฌ ํ๊ทธ์
auth/security ํ์๋ unit์ ์ค๋ฅ
- ์๋ฌ ๋ฉ์์ง์
auth, permission, forbidden, unauthorized ํค์๋ ํฌํจ ์ (๋ฆฌ์คํฌ ํ๊ทธ ๋๋ฝ ๋ฐฉ์ด)
auto-fix ๋์ (์ฝ๋ ์์ ์ผ๋ก ํด๊ฒฐ ๊ฐ๋ฅํ ๊ฐ๊ด์ ์ค๋ฅ):
- ํ
์คํธ ์คํจ (assertion error, runtime error in tests)
- ๋ฆฐํธ ์๋ฌ (formatting, unused imports, type errors)
auto-fix ๋ฃจํ (์ต๋ 3ํ):
- ์คํจํ ํ
์คํธ๋ช
+ ์๋ฌ ๋ฉ์์ง ์ถ์ถ
code-generation: GENERATE โ auto-fix for [unit-name]: [์คํจ ํ
์คํธ๋ช
], [์๋ฌ ๋ฉ์์ง ์์ฝ] ์ฌํธ์ถ
aidlc-build-and-test ์ฌ์คํ
- ์ข
๋ฃ ์กฐ๊ฑด ํ์ธ:
- ์ฑ๊ณต โ ์๋ฃ ๊ฒ์ดํธ (์ฑ๊ณต ๋ถ๊ธฐ)๋ก ์ ๋ฌ.
"(auto-fix [N]ํ ์ ์ฉ๋จ)" ์๋ด ์ถ๊ฐ
- plateau (์ฐ์ 2ํ ๋์ผ ํ
์คํธ๋ช
์งํฉ ์คํจ, ๋๋ ์คํจ ์๊ฐ ๊ฐ์ํ์ง ์์) โ ์๋ฃ ๊ฒ์ดํธ (์คํจ ๋ถ๊ธฐ)๋ก ์ ๋ฌ
- 3ํ ๋๋ฌ โ ์๋ฃ ๊ฒ์ดํธ (์คํจ ๋ถ๊ธฐ)๋ก ์ ๋ฌ
- ๊ฐ ์๋๋ฅผ devflow-audit์ ๊ธฐ๋ก:
[timestamp] auto-fix attempt [N]/3: [์๋ฌ ์์ฝ] โ [์์ ๋ด์ฉ]
- auto-fix ๋ฃจํ ๋ด์์ code-generation ํธ์ถ์ด ์คํจํ๋ฉด ์ฆ์ ๋ฃจํ ์ค๋จ ํ ์๋ฃ ๊ฒ์ดํธ(์คํจ ๋ถ๊ธฐ)๋ก ์ ๋ฌ
- ๋ฃจํ ์๋ฃ ์ session-summary์
auto-fix [N]ํ ์ ์ฉ ํํ๋ก ์์ฝ ๊ธฐ๋ก
auto-fix ์คํจ ์ ์๋ฃ ๊ฒ์ดํธ์ ์คํจ ๋ณด๊ณ ์(์๋ํ ์์ ๋ชฉ๋ก, ๊ฐ ์๋ ๊ฒฐ๊ณผ) ์ถ๊ฐ ํ์.
์๋ฃ ๊ฒ์ดํธ [์กฐ๊ฑด๋ถ ๊ฒ์ดํธ]
build-and-test ๊ฒฐ๊ณผ (auto-fix ์ ์ฒ๋ฆฌ ํ)์ ๋ฐ๋ผ ๋ถ๊ธฐ:
๋น๋ ์ฑ๊ณต + ํ
์คํธ ์ ์ฒด ํต๊ณผ ์:
[build-and-test ๊ฒฐ๊ณผ ํ์]
(auto-fix [N]ํ ์ ์ฉ๋จ โ ํด๋น ์์๋ง ํ์)
A) CONSTRUCTION ์๋ฃ ์น์ธ
B) ์ถ๊ฐ ๋ณ๊ฒฝ ์์ฒญ (์: ํ
์คํธ ๋ณด์, ์ฑ๋ฅ ๊ฐ์ ๋ฑ) โ code-generation ์ฌํธ์ถ
ํ
์คํธ ์คํจ ์ (auto-fix ์์ง ํฌํจ):
[build-and-test ๊ฒฐ๊ณผ ํ์ โ ์คํจ ํ
์คํธ ๋ชฉ๋ก ํฌํจ]
[auto-fix ์คํจ ๋ณด๊ณ ์ โ ํด๋น ์์๋ง ํ์]
A) systematic-debugging์ผ๋ก ์กฐ์ฌ
B) ์คํจ๋ฅผ ๋ฌด์ํ๊ณ ์๋ฃ (devflow-state์ "ํ
์คํธ ์คํจ [N]๊ฑด ๋ฏธํด๊ฒฐ" ๊ธฐ๋ก)
๋น๋ ์คํจ ์:
[build-and-test ๊ฒฐ๊ณผ ํ์ โ ๋น๋ ์๋ฌ ํฌํจ]
A) systematic-debugging์ผ๋ก ์กฐ์ฌ
(๋น๋ ์คํจ๋ ์๋ฃ ๋ถ๊ฐ โ ๋ฌด์ ์ ํ์ง ์์)
Debugging ๋ผ์ฐํ
build-and-test์์ ํ
์คํธ/๋น๋ ์คํจ ์ (auto-fix ์์ง ํ) ์ฌ์ฉ์๊ฐ debugging์ ์ ํํ๋ฉด:
- build-and-test ์คํจ ์์ ์ ์๋ฌ ๋ฉ์์ง(ํ
์คํธ๋ช
+ ์๋ฌ ์ถ๋ ฅ)๋ฅผ ์ปจํ
์คํธ์ ๋ณด์กดํ๋ค
โ ์ด error_message๋ systematic-debugging์ ์ ๋ฌ๋์ด ๋ด๋ถ STORE ํธ์ถ์ ์ฌ์ฉ๋จ
aidlc-systematic-debugging ํธ์ถ
- debugging ์๋ฃ ์ Return ์์ (systematic-debugging ๋ด๋ถ์์ ์ด๋ฏธ STORE ํธ์ถ ์๋ฃ):
[systematic-debugging ์๋ฃ]
- ๊ทผ๋ณธ ์์ธ: [์์ฝ]
- ์์ ๋ด์ฉ: [์์ฝ]
- ํ
์คํธ: [ํ๊ท ํ
์คํธ๋ช
] ์ถ๊ฐ๋จ
- solution_verdict: [SAVE | DUPLICATE | REJECT]
- solution_saved_path / solution_similar_to / solution_reject_reason
- K ๊ฒ์ดํธ (verdict ์๋น) โ
devflow-solutions STORE ํธ์ถ์ orchestrator๊ฐ ์ง์ ํ์ง ์์ (systematic-debugging ๋ด๋ถ์์ ์ด๋ฏธ ์๋ฃ). systematic-debugging Return์ solution_verdict๋ฅผ ๊ทธ๋๋ก audit์ ๊ธฐ๋กํ๊ณ ์ฌ์ฉ์์๊ฒ ํ์:
solution_verdict: "SAVE" โ "โ
์๋ฃจ์
์ ์ฅ ์๋ฃ: {solution_saved_path}"
solution_verdict: "DUPLICATE" โ "โ ๏ธ ์ ์ฌํ ์๋ฃจ์
์กด์ฌ: {solution_similar_to}. ์ ์ฅ์ ๊ฑด๋๋๋๋ค."
solution_verdict: "REJECT" โ "โ ์๋ฃจ์
์ ์ฅ ์คํจ: {solution_reject_reason}."
- verdict ํ์ ํ ๋ฐ๋ก
aidlc-build-and-test ์ฌ์คํ.
์ด ์ฌ์ ์์ ๊ทผ๊ฑฐ (์ต์
ฮฑ, Change 6):
- writer ownership ๋จ์ผํ (systematic-debugging)
- user-invocable + orchestrator + debugging chain ๊ฒฝ๋ก ๋์ผ ์ฒ๋ฆฌ
- ์ด์ค STORE ํธ์ถ ์ ๊ฑฐ (์ค๋ณต ํ์ ๋ญ๋น ์ ๊ฑฐ)
- STORE ์ค์ ํธ์ถ์
skills/aidlc-systematic-debugging/SKILL.md์ ## STORE ํธ์ถ ์น์
์ฐธ์กฐ
audit ๊ธฐ๋ก (event prefix: taxonomy ยง2.5 Evidence event type ๊ท์ฝ ์ค์):
- solution_verdict: "SAVE" โ audit prefix `solution-store`, `solution_saved_path` ํฌํจ
- solution_verdict: "DUPLICATE" โ audit prefix `solution-duplicate`, `solution_similar_to` ํฌํจ
- solution_verdict: "REJECT" โ audit prefix `solution-reject`, `solution_reject_reason` ํฌํจ
์ฌ์ง์
๋ฐฉ์ง: devflow-audit์ ์ต๊ทผ ๋ก๊ทธ์์ ํ์ฌ unit + solution-* ํ์
๋ก๊ทธ ์กด์ฌ ์ verdict ํ์ skip (์ค๋ณต ์๋ด ๋ฐฉ์ง).
๋์ผ build-and-test ์คํจ ๊ฑด ๋ด์์๋ง ์ ์ฉ. ์๋ก์ด ์คํจ์์๋ ๋ค์ ํ์.
Step 1.5 ์ฌ๊ฒ์ฆ Debugging์๋ K ๊ฒ์ดํธ๋ฅผ ์ ์ฉํ์ง ์๋๋ค. K ๊ฒ์ดํธ๋ ๋ณธ Debugging ๋ผ์ฐํ
(build-and-test ์คํจ ํ)์์๋ง ํ์.
๋๋ฒ๊น
๋ฃจํ ๋ฆฌ๋ฐ: ๋์ผ unit์์ debuggingโbuild-and-test ๋ฃจํ๋ ์ต๋ 3ํ๊น์ง. 3ํ ์คํจ ์ ์์ค์ปฌ๋ ์ด์
:
โ ๏ธ ๋์ผ unit์์ ๋๋ฒ๊น
3ํ ์คํจ โ ์๋ ๋ณต๊ตฌ ํ๊ณ
A) ์๋์ผ๋ก ๋๋ฒ๊น
๊ณ์ (1ํ ์ถ๊ฐ, ์ต๋ 1๋ฒ)
B) ์ด unit์ ์คํจ ์ํ๋ก ์๋ฃ (devflow-state์ "๋น๋/ํ
์คํธ ์คํจ ๋ฏธํด๊ฒฐ" ๊ธฐ๋ก)
A ์ ํ ์ 1ํ๋ง ์ถ๊ฐ ํ์ฉ (์ด 4ํ). 4ํ์งธ๋ ์คํจ ์ ๊ฐ์ ๋ก B ์ ์ฉ:
โ ๏ธ ๋๋ฒ๊น
4ํ ์คํจ โ ํ๋ ๋ฆฌ๋ฐ ๋๋ฌ
โ ์ด unit์ ์คํจ ์ํ๋ก ์๋ฃํฉ๋๋ค. (devflow-state์ "๋น๋/ํ
์คํธ ์คํจ ๋ฏธํด๊ฒฐ" ๊ธฐ๋ก)
Interrupt Handling
๋ชจ๋ ๊ฒ์ดํธ์์ ์ฌ์ฉ์ ์๋ต์ด ์ ํ์ง ๋ฐ ์์ ๋ฐํ์ธ ๊ฒฝ์ฐ:
โ _shared/patterns/interrupt-handler.md ์ฐธ์กฐํ์ฌ ์ธํฐ๋ฝํธ ๊ฒ์ดํธ ํ๋กํ ์ฝ ์คํ.
Audit Logging
๊ฐ ๊ฒ์ดํธ ๊ฒฐ์ ์ devflow-audit์ ๊ธฐ๋ก:
๊ฒฐ์ ์ด์ ํฌํจ (session-continuity ๊ท์ฝ ์ฐธ์กฐ).
- ์คํ
์ด์ง๋ช
, ํ์์คํฌํ, ์ฌ์ฉ์ ์ ํ (A/B/C), ๊ฒฐ์ ์ด์ , ๋ฆฌ๋ทฐ ๊ฒฐ๊ณผ (์์ผ๋ฉด)
- override ์ด๋ฒคํธ: code-plan ๊ฒ์ดํธ C ์ ํ ์ ๋ณ๋ ํ์ (code-plan ๊ฒ์ดํธ ์น์
์ฐธ์กฐ)
Error Handling
units.md ๋ฏธ๋ฐ๊ฒฌ ์ (Multi-unit ๋ผ์ฐํ
)
devflow-docs/inception/units.md๊ฐ ์์ผ๋ฉด:
- "โ ๏ธ units.md๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค. ๋จ์ผ unit์ผ๋ก ์งํํฉ๋๋ค." ํ์
- ๋จ์ผ unit์ผ๋ก code-generation ์งํ
Stage skill ํธ์ถ ์คํจ
์คํฌ์ด ์์์น ๋ชปํ ๊ฒฐ๊ณผ๋ฅผ ๋ฐํํ๋ฉด:
A) ํด๋น ๋จ๊ณ ์ฌ์๋ / B) ๋จ๊ณ ์คํต (devflow-state์ skipped ๊ธฐ๋ก)
Stage skill์ด ์ง์ gate๋ฅผ ์ ์ํ๋ ๊ฒฝ์ฐ
"์ด ๊ฒ์ดํธ๋ ๋ฌด์ํ๊ณ B๋ฅผ ์ ํํด์ฃผ์ธ์" ์๋ด ํ ์ค์ผ์คํธ๋ ์ดํฐ๊ฐ ์ ์ ๊ฒ์ดํ
์ฒ๋ฆฌ
CONSTRUCTION ์๋ฃ
[CONSTRUCTION ์๋ฃ]
- ์๋ฃ๋ unit: [๋ชฉ๋ก]
- ์ฐ์ถ๋ฌผ: devflow-docs/construction/
โ Return to Entry Orchestrator