Skip to content

Latest commit

ย 

History

History
69 lines (55 loc) ยท 4.96 KB

File metadata and controls

69 lines (55 loc) ยท 4.96 KB
title Slice ์™„๋ฃŒ๋Š” commit ํ›„๋ณด๋ฅผ ๋งŒ๋“ ๋‹ค
tags
frame
slice
auto-commit
work-context
git
category workflow
status active
confidence high
applies_to
skills/frame
skills/incremental-implementation
skills/git-workflow-and-versioning
extensions/work-context
extensions/workflow-guard
extensions/auto-commit
source
user-direction:2026-05-20-slice-commit-rhythm
reviewed_at 2026-06-03
reviewed_commit 3b4357d06da64753ff19056c70e98e0d962ef176
related
auto-commit-explicit-plan-gate
change-integration-discipline
work-context-card-task-board
frame-plan-synthesis-continuity

Judgment

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 ํ›„๋ณด๋ฅผ ๊ฒ€ํ† ํ•˜๊ณ  ์ด์œ ๋ฅผ ๋‚จ๊ธฐ๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.

Commit-or-explain Rhythm

  1. currentSlice์˜ claim/scope/evidence๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.
  2. ๊ฐ€์žฅ ๊ฐ€๊นŒ์šด ๊ฒ€์ฆ์ด ํ†ต๊ณผํ•˜๋ฉด work_context action=commit_plan์„ ํ˜ธ์ถœํ•ฉ๋‹ˆ๋‹ค.
  3. ์ƒ์„ฑ๋œ JSON plan์˜ message, paths, metadata.commitReadiness, metadata.shipReadiness, metadata.caveats๋ฅผ ์ฝ์–ด reviewableํ•œ์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.
  4. ํ•œ 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์œผ๋กœ๋งŒ ๋ถ™์ž…๋‹ˆ๋‹ค.
  5. ์ ์ ˆํ•˜๋ฉด auto_commit action=apply planPath=<planPath>๋กœ ์ปค๋ฐ‹ํ•ฉ๋‹ˆ๋‹ค. ๋‹จ์ผ copy/hotfix์ฒ˜๋Ÿผ slice plan ํŒŒ์ผ์„ ๋งŒ๋“œ๋Š” ๋น„์šฉ์ด ์ž‘์—…๋ณด๋‹ค ์ปค์งˆ ๋•Œ๋Š” auto_commit action=quick message=<...> paths=[...]๋กœ ๊ฐ™์€ explicit-path ์›์น™์„ ์ง€ํ‚ค๋ฉฐ ๋ฐ”๋กœ ๋‹ซ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  6. auto-commit ๊ฒฐ๊ณผ๊ฐ€ committed_not_pushed์ด๋ฉด ์‚ฌ์šฉ์ž๊ฐ€ push ๋ณด๋ฅ˜๋ฅผ ๋งํ•˜์ง€ ์•Š์€ ํ•œ push ์‹คํŒจ/์Šคํ‚ต์„ ๋จผ์ € ํ•ด๊ฒฐํ•ฉ๋‹ˆ๋‹ค.
  7. ์ปค๋ฐ‹์„ ๋ณด๋ฅ˜ํ•˜๋ฉด 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๋ฅผ ์ปค๋ฐ‹ํ•˜๊ฑฐ๋‚˜ ์™œ ๋ฏธ๋ฃจ๋Š”์ง€ ์„ค๋ช…ํ•˜๋„๋ก ์••๋ฐ•ํ•ฉ๋‹ˆ๋‹ค.

Why not hard guard

ํ•˜๋“œ ๊ฐ€๋“œ๋Š” ์ž‘์—…์„ ์ž์ฃผ ๋ง‰๊ณ , ์ž‘์€ ํƒ์ƒ‰ยท๊ฒ€์ฆ ์ „ 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์„ ๋‚จ๊ธฐ๊ฒŒ ํ•ฉ๋‹ˆ๋‹ค.

Reference fit

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 ํ›„๋ณด๋กœ ์‚ผ์Šต๋‹ˆ๋‹ค.