| title | Slice ์๋ฃ๋ commit ํ๋ณด๋ฅผ ๋ง๋ ๋ค | ||||||
|---|---|---|---|---|---|---|---|
| tags |
|
||||||
| category | workflow | ||||||
| status | active | ||||||
| confidence | high | ||||||
| applies_to |
|
||||||
| source |
|
||||||
| reviewed_at | 2026-06-03 | ||||||
| reviewed_commit | 3b4357d06da64753ff19056c70e98e0d962ef176 | ||||||
| related |
|
Frame์ผ๋ก ๊ตฌํ ๊ณํ์ ์ธ์ ๋ค๋ฉด implementation_plan.slices[]๋ ๋จ์ํ TODO๊ฐ ์๋๋ผ commit ํ๋ณด ๋จ์์
๋๋ค. ๊ตฌํ์ด ๋ชจ๋ ๋๋ ๋ค์ โ์ปค๋ฐ์ด ์ ๋์ด ์๋คโ๊ณ ๋ฐ๊ฒฌํ๋ ํ๋ฆ์ ์ ์ ๊ฒฝ๋ก๊ฐ ์๋๋๋ค.
๋ค๋ง slice ํ๋๊ฐ ๊ณง commit ํ๋๋ผ๋ ๋ป์ ์๋๋๋ค. slice๊ฐ ์ฌ๋ฌ domain/layer/surface๋ฅผ ํฌํจํ๊ฑฐ๋ diff ์์ด ์ปค์ง๋ฉด, auto_commit์ diff-aware logical atom gate๊ฐ ๋ ์์ reviewable commit์ผ๋ก ์ชผ๊ฐ๋๋ก ๋ง์์ผ ํฉ๋๋ค. primary file 3~5๊ฐ๋ ๋ฌด์กฐ๊ฑด ๊ธ์งํ์ง ์๊ณ ์์ ๋์ผ cluster ๋ณ๊ฒฝ์ด๋ฉด warning allow๋ก ์ฒ๋ฆฌํฉ๋๋ค.
๋ค๋ง ์ด๊ฒ์ hard gate๊ฐ ์๋์ด์ผ ํฉ๋๋ค. slice๊ฐ ์์ง ๋ถ์์ ํ๊ฑฐ๋ ๊ฒ์ฆ์ด ๋๋์ง ์์๊ฑฐ๋ ํ์ผ์ ๋ถ๋ฆฌํ๋ฉด ๋น๋๊ฐ ๊นจ์ง๋ ๊ฒฝ์ฐ์๋ ์ปค๋ฐ์ ๋ฏธ๋ฃฐ ์ ์์ต๋๋ค. ์ค์ํ ๊ฒ์ ๋ฏธ๋ฃธ์ ์กฐ์ฉํ ๋์ ํ์ง ์๊ณ , slice closure ์์ ๋ง๋ค commit ํ๋ณด๋ฅผ ๊ฒํ ํ๊ณ ์ด์ ๋ฅผ ๋จ๊ธฐ๋ ๊ฒ์ ๋๋ค.
- currentSlice์ claim/scope/evidence๋ฅผ ํ์ธํฉ๋๋ค.
- ๊ฐ์ฅ ๊ฐ๊น์ด ๊ฒ์ฆ์ด ํต๊ณผํ๋ฉด
work_context action=commit_plan์ ํธ์ถํฉ๋๋ค. - ์์ฑ๋ JSON plan์
message,paths,metadata.commitReadiness,metadata.shipReadiness,metadata.caveats๋ฅผ ์ฝ์ด reviewableํ์ง ํ์ธํฉ๋๋ค. - ํ commit entry์ primary path๊ฐ 3๊ฐ ์ด์์ด๋ฉด diff ์, layer mix, cluster/surface fan-out์ ํ์ธํฉ๋๋ค. ์์ ๋์ผ cluster ๋ณ๊ฒฝ์ warning allow๊ฐ ๊ฐ๋ฅํ์ง๋ง, ํฐ diff๋ layer-mixed ๋ณ๊ฒฝ์ logical atom ๋จ์๋ก plan์ ์ชผ๊ฐญ๋๋ค. test/generated/schema/package metadata๋ companion์ผ๋ก๋ง ๋ถ์ ๋๋ค.
- ์ ์ ํ๋ฉด
auto_commit action=apply planPath=<planPath>๋ก ์ปค๋ฐํฉ๋๋ค. ๋จ์ผ copy/hotfix์ฒ๋ผ slice plan ํ์ผ์ ๋ง๋๋ ๋น์ฉ์ด ์์ ๋ณด๋ค ์ปค์ง ๋๋auto_commit action=quick message=<...> paths=[...]๋ก ๊ฐ์ explicit-path ์์น์ ์งํค๋ฉฐ ๋ฐ๋ก ๋ซ์ ์ ์์ต๋๋ค. - auto-commit ๊ฒฐ๊ณผ๊ฐ
committed_not_pushed์ด๋ฉด ์ฌ์ฉ์๊ฐ push ๋ณด๋ฅ๋ฅผ ๋งํ์ง ์์ ํ push ์คํจ/์คํต์ ๋จผ์ ํด๊ฒฐํฉ๋๋ค. - ์ปค๋ฐ์ ๋ณด๋ฅํ๋ฉด
work_context action=checkpoint์ ์ด์ ๋ฅผ ๋จ๊น๋๋ค. migration ์คํ, UI capture, ์ต์ข verify-report ๋ฏธ์๋ฃ๋ ship readiness caveat์ผ ์ ์์ง๋ง, nearest validation์ ํต๊ณผํ ์ฝ๋ slice์ commit blocker๋ก ๋จ๋ ์ฌ์ฉํ์ง ์์ต๋๋ค.
workflow_guard๋ standard/full ๊ตฌํ ํด์์ ์ด rhythm์ Slice commit-or-explain guard๋ก ์ฃผ์
ํฉ๋๋ค. hard auto-stage ๊ถํ์ ์๋์ง๋ง, final response ์ ์ verified slice๋ฅผ ์ปค๋ฐํ๊ฑฐ๋ ์ ๋ฏธ๋ฃจ๋์ง ์ค๋ช
ํ๋๋ก ์๋ฐํฉ๋๋ค.
ํ๋ ๊ฐ๋๋ ์์ ์ ์์ฃผ ๋ง๊ณ , ์์ ํ์ยท๊ฒ์ฆ ์ diff๊น์ง ์ต์ง ์ปค๋ฐ์ผ๋ก ๋ง๋ค ์ํ์ด ์์ต๋๋ค. ์ฌ์ฉ์๊ฐ ์ํ ๊ฒ์ โ์ค๊ฐ์ค๊ฐ ์ชผ๊ฐ์ ์ปค๋ฐํ๋ ์ต๊ด/ํ๋ฆโ์ด์ง โ๋ค์ ํ๋๋ง๋ค ์ปค๋ฐ ์ฌ๋ถ๋ก ๋งํ๋ UXโ๊ฐ ์๋๋๋ค.
๊ทธ๋์ pilee๋ ๋ค์ ๋ฐฉ์์ผ๋ก ๊ท ํ์ ์ก์ต๋๋ค.
work_context commit_plan์ currentSlice scope ๊ธฐ๋ฐ์ผ๋ก plan์ ๋ง๋ค์ง๋ง ๊ณง๋ฐ๋ก commitํ์ง ์์ต๋๋ค.auto_commit status์commit_plan์ commit readiness์ ship readiness๋ฅผ ๋ถ๋ฆฌํด ๋ณด์ฌ์ค๋ค. ์ด๋ agent ํ๋จ์ ๋ณด์กฐํ๋ ์ง๋จ์ด์ง ์๋ staging ๊ถํ์ด ์๋๋๋ค.auto_commit apply๋ ์ฌ์ ํ explicit JSON plan๋ง ์คํํฉ๋๋ค.auto_commit quick์ JSON ํ์ผ์ ๋ง๋ค์ง ์๋ light path์ง๋ง, message์ paths๊ฐ ๋ช ์๋ ๊ฒฝ์ฐ์๋ง ์คํํฉ๋๋ค.- outside-scope ํ์ผ์ ๊ธฐ๋ณธ์ ์ผ๋ก leftovers๋ก ๋จ๊ฒจ unrelated change๋ฅผ ์์ง ์์ต๋๋ค.
- agent๊ฐ ์ปค๋ฐ์ ๋ฏธ๋ฃจ๋ฉด checkpoint reason์ ๋จ๊ธฐ๊ฒ ํฉ๋๋ค.
my-pi์ /ship์ โcommit + verify + push๊ฐ ๊ธฐ๋ณธโ์ด๋ผ๋ ๊ฐํ release rhythm์ ๋ก๋๋ค. pilee์ slice rhythm์ ์ด๋ฅผ ship ์ง์ ์ด ์๋๋ผ implementation ์ค slice closure ์์ ์ผ๋ก ์๋น๊ธด ๊ฒ์
๋๋ค.
pi-extension์ diff-review๋ working tree์ commit scope๋ฅผ ๋ถ๋ฆฌํด ๋ฆฌ๋ทฐ ๋จ์๋ฅผ ๋ช
ํํ ํฉ๋๋ค. pilee๋ ๊ฐ์ ๊ด์ ์ ๊ตฌํ ์ค์๋ ์ ์ฉํด, working tree ์ ์ฒด๊ฐ ์๋๋ผ currentSlice scope๋ฅผ ๋จผ์ commit ํ๋ณด๋ก ์ผ์ต๋๋ค.