| name | upgrade |
| description | Upgrade existing .tars/ project to match current plugin version. Adds missing files, appends new PROTOCOL.md sections, and updates .version tracking. |
| disable-model-invocation | true |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
/tars:upgrade โ ํ๋กํ ์ฝ ์
๊ทธ๋ ์ด๋
๊ธฐ์กด .tars/ ํ๋ก์ ํธ๋ฅผ ํ์ฌ ํ๋ฌ๊ทธ์ธ ๋ฒ์ ์ ๋ง๊ฒ ์
๊ทธ๋ ์ด๋ํฉ๋๋ค.
์คํ ์ ์ฐจ
Step 1: ์ฌ์ ๊ฒ์ฌ
.tars/ ๋๋ ํ ๋ฆฌ ์กด์ฌ ํ์ธ. ์์ผ๋ฉด:
"tars์ด ์ด๊ธฐํ๋์ง ์์์ต๋๋ค. /tars:init์ ๋จผ์ ์คํํ์ธ์."
- ํ๋ฌ๊ทธ์ธ ๋ฒ์ ์ฝ๊ธฐ:
${CLAUDE_SKILL_DIR}/../../.claude-plugin/plugin.json์ version
- ์ค์น๋ ๋ฒ์ ์ฝ๊ธฐ:
.tars/.version (JSON)
.version ํ์ผ์ด ์์ผ๋ฉด โ version "0.1.0", core๋ฅผ .tars/PROGRESS.md์ **Core**: ๊ฐ์์ ์ถ์ถ
- ๋ฒ์ ๋น๊ต:
- ๊ฐ์ผ๋ฉด โ "์ด๋ฏธ ์ต์ ๋ฒ์ ์
๋๋ค (v{version})." ์ถ๋ ฅ ํ ์ข
๋ฃ
- ํ๋ฌ๊ทธ์ธ < ์ค์น โ "์ค์น๋ ๋ฒ์ ์ด ํ๋ฌ๊ทธ์ธ๋ณด๋ค ๋์ต๋๋ค. ๋ค์ด๊ทธ๋ ์ด๋๋ ์ง์๋์ง ์์ต๋๋ค." ์ถ๋ ฅ ํ ์ข
๋ฃ
Step 2: ๋ณ๊ฒฝ ์ฌํญ ๋ฏธ๋ฆฌ๋ณด๊ธฐ (Dry Run)
2a: ์ ํ์ผ ๊ฐ์ง
ํ์ฌ ํ๋ฌ๊ทธ์ธ ํ
ํ๋ฆฟ์ ์์ง๋ง ํ๋ก์ ํธ์ ์๋ ํ์ผ ๋ชฉ๋ก ์์ฑ.
์ฒดํฌ ๋์:
.tars/protocol/EVOLUTION.md
.tars/logs/backlog-archive/INDEX.md
.tars/output/ ๋๋ ํ ๋ฆฌ + INDEX.md (design core๋ง)
.tars/MILESTONES.md
- ํฅํ ์ถ๊ฐ๋ ์ ํ์ผ
2b: COMMS.md ์น์
๊ฐ์ง
.tars/COMMS.md์ ### From Human (CLARIFY) ์น์
์ด ์๋์ง ํ์ธ
- ์์ผ๋ฉด ์ถ๊ฐ ๋์์ผ๋ก ํ์
2c: PROTOCOL.md ์ ์น์
๊ฐ์ง
.tars/protocol/PROTOCOL.md๋ฅผ ## ๊ธฐ์ค์ผ๋ก ์น์
ํค๋ฉ ์ถ์ถ
- core๋ณ ํ
ํ๋ฆฟ
${CLAUDE_SKILL_DIR}/../../cores/{core}/PROTOCOL.md๋ฅผ ๊ฐ์ ๋ฐฉ์์ผ๋ก ์ถ์ถ
- ํ
ํ๋ฆฟ์ ์์ง๋ง ์ฌ์ฉ์ ํ์ผ์ ์๋
## ํค๋ฉ = ์ถ๊ฐ ๋์
2d: .gitignore ๊ฐ์ง
${CLAUDE_SKILL_DIR}/../../cores/shared/gitignore.snippet์ ๊ฐ ์ค์ด .gitignore์ ์๋์ง ํ์ธ
์ถ๋ ฅ ํ์
## tars upgrade ๋ฏธ๋ฆฌ๋ณด๊ธฐ
v{old} โ v{new}
### ์ ํ์ผ ์์ฑ
- .tars/protocol/EVOLUTION.md
- (๋๋ "์์")
### PROTOCOL.md ์ ์น์
- + "## Emergency Protocol"
- (๋๋ "์์")
### .gitignore
- ์ ๊ท์น {n}์ค ์ถ๊ฐ
- (๋๋ "๋ณ๊ฒฝ ์์")
### ๊ฑด๋๋ฆฌ์ง ์๋ ํ์ผ
logs/LOG, logs/RETRO, BACKLOG, COMMS, PROGRESS, MILESTONES(๊ธฐ์กด ๋ด์ฉ), protocol/EVOLUTION(๊ธฐ์กด ๋ด์ฉ),
protocol/MISSION, protocol/PROTOCOL(๊ธฐ์กด ์น์
), logs/backlog-archive/, logs/archive/, output/(๊ธฐ์กด ์ฐ์ถ๋ฌผ)
์ฌ์ฉ์์๊ฒ ํ์ธ์ ์์ฒญํฉ๋๋ค. ๊ฑฐ๋ถํ๋ฉด ์ข
๋ฃ.
Step 3: ์ ์ฉ
3a: ์ ํ์ผ ์์ฑ
- ํ
ํ๋ฆฟ์์ ์ฝ์ด์
.tars/์ Write
- design core: output ๋๋ ํ ๋ฆฌ ๊ตฌ์กฐ ์์ฑ (์๋ ๊ฒฝ์ฐ)
3b: COMMS.md ์น์
์ถ๊ฐ
### From Human (CLARIFY) ์น์
์ด ์์ผ๋ฉด, ### From Human ๋ฐ๋ก ๋ค์ ์ถ๊ฐ:
### From Human (CLARIFY)
<!-- EN: Messages here are refined by the agent before execution. Agent posts structured interpretation to From Agent with [CLARIFY] tag. 1 HB no-response = proceed with interpretation. -->
> ์์ด๋์ด, ๋ฐฉํฅ, ๋ชจํธํ ์์ฒญ์ ์ฌ๊ธฐ์ ์์ฑํฉ๋๋ค.
> ์์ด์ ํธ๊ฐ "ํ์ฌ ์ํ / ํด์ / ๊ตฌํ ๊ณํ"์ผ๋ก ์ ์ ํ ๋ค ํ์ธ์ ๊ฑฐ์ณ ์คํํฉ๋๋ค.
(๋น์ด ์์)
- ๊ธฐ์กด
From Human ๋ด์ฉ์ ์ ๋ ์์ ํ์ง ์์
3c: PROTOCOL.md ์น์
์ถ๊ฐ
- ํ
ํ๋ฆฟ์๋ง ์๋ ์ ์น์
์
.tars/protocol/PROTOCOL.md ๋์ append
- ๊ฐ ์น์
์์
--- ๊ตฌ๋ถ์ ์ถ๊ฐ
- ๊ธฐ์กด ๋ด์ฉ์ ์ ๋ ์์ ํ์ง ์์
- self-evolution์ด ๋ค์ RETRO์์ ์ ๋ฆฌํจ
3d: .gitignore ๊ฐฑ์
# tars ์น์
์ด ์์ผ๋ฉด ํด๋น ์น์
์ ๋๋ฝ ์ค ์ถ๊ฐ
- ์์ผ๋ฉด snippet ์ ์ฒด๋ฅผ ๋์ ์ถ๊ฐ
3e: .version ๊ฐฑ์
.tars/.version์ Write:
{
"version": "{new_version}",
"core": "{core}",
"core_version": "{cores/{core}/core.json์ version}",
"execution": "{๊ธฐ์กด๊ฐ ์ ์ง}",
"team_cores": "{๊ธฐ์กด๊ฐ ์ ์ง}",
"initialized_at": "{๊ธฐ์กด๊ฐ ๋๋ unknown}",
"upgraded_at": "{ํ์ฌ ISO ํ์์คํฌํ}",
"upgrade_history": [
...๊ธฐ์กด ํญ๋ชฉ,
{ "from": "{old}", "to": "{new}", "at": "{timestamp}" }
]
}
.version์ ๋ฐ๋์ ๋ง์ง๋ง์ Writeํฉ๋๋ค. ์ค๊ฐ ์คํจ ์ ์ฌ์คํ ๊ฐ๋ฅ.
Step 4: EVOLUTION.md ๊ธฐ๋ก
protocol/EVOLUTION.md ํ
์ด๋ธ์ ํ ์ถ๊ฐ:
| {next_seq} | - | upgrade | tars v{old} โ v{new} | Plugin upgrade | applied |
Step 5: ์๋ฃ ๋ณด๊ณ
## tars ์
๊ทธ๋ ์ด๋ ์๋ฃ
v{old} โ v{new}
### ์ ์ฉ๋ ๋ณ๊ฒฝ
- {๊ฐ ํญ๋ชฉ ์์ฝ}
### ๋ค์ ๋จ๊ณ
- protocol/PROTOCOL.md์ ์๋ก ์ถ๊ฐ๋ ์น์
์ ํ์ธํ์ธ์
- ๋ค์ RETRO์์ self-evolution์ด ์ ์น์
์ ํ๊ฐํฉ๋๋ค
์ฃผ์์ฌํญ
- ์ฌ์ฉ์ ๋ฐ์ดํฐ ํ์ผ(logs/LOG, logs/RETRO, BACKLOG, COMMS, PROGRESS, protocol/EVOLUTION ๊ธฐ์กด ๋ด์ฉ)์ ์ ๋ ์์ ํ์ง ์์ต๋๋ค
- protocol/PROTOCOL.md๋ ์ ์น์
๋ง appendํฉ๋๋ค. ๊ธฐ์กด ์น์
์ ๊ฑด๋๋ฆฌ์ง ์์ต๋๋ค
- protocol/MISSION.md๋ ์์ ํ์ง ์์ต๋๋ค (์ฌ์ฉ์ ์ปค์คํ
๊ฐ ๋ณด์กด)
.version ํ์ผ์ ๋ฐ๋์ ๋ง์ง๋ง์ Writeํฉ๋๋ค
- Dry run์์ ์ฌ์ฉ์๊ฐ ๊ฑฐ๋ถํ๋ฉด ์๋ฌด ๊ฒ๋ ๋ณ๊ฒฝํ์ง ์์ต๋๋ค