| created | 2026-03-27 | |||
|---|---|---|---|---|
| tags |
|
|||
| aliases |
|
๐ INDEX ยท ์ฒดํฌ๋ฆฌ์คํธ โ ยท str_func โ ยท Git ๊ตฌ์กฐ & ์๋ธ๋ชจ๋
live working tree + .gitmodules ๊ธฐ์ค์ผ๋ก ์ ๋ฆฌํ Git ๊ตฌ์กฐ/์ด์ ์์ฝ์
๋๋ค. top-level prose docs์ ๋ค๋ฅผ ๋๋ ์ค์ ํธ๋ฆฌ์ .gitmodules๋ฅผ ์ฐ์ ํ๋ค.
lidge-ai/cli-jaw โ public parent repo
โโโ skills_ref/ (submodule) โ lidge-jun/cli-jaw-skills (public)
โโโ officecli/ (submodule) โ lidge-jun/OfficeCLI (public)
โโโ .npmignore โ npm publish ์ submodule ์ ์ธ
skills_ref/: ์คํฌ ๋ ํผ๋ฐ์ค ์ ์ฅ์officecli/: Office ๋ฌธ์ ๋๊ตฌ์ฉ ๋ณ๋ submodule- parent repo ๊ธฐ์ค
git status์๋ ๋ ๊ณต๊ฐ submodule์ด ๋ ๋ฆฝ ํญ๋ชฉ์ผ๋ก ๋ณด์ธ๋ค.
Manager/Electron Diff panel์์ ์ด repo๋ฅผ ๋ณผ ๋ source repo root์ runtime home์ ํผ๋ํ๋ฉด ์ ๋๋ค.
- ์ค์ source repo root:
/Users/jun/Developer/new/700_projects/cli-jaw - runtime/JAW_HOME ์์:
/Users/jun/.cli-jaw-3459 jaw dashboard serve๊ฐ ์ค์บํ instance metadata์projectDirs[]์workingDir๊ฐ diff root ํ๋ณด์ source of truth๋ค.- Diff panel์
projectDirs[]๋ฅผ ์ฐ์ ์ฌ์ฉํ๊ณ , ์ค์ ์ ๋ฐ๋ผworkingDir๋๋ port๋ณ pinned root๋ฅผ ๋จผ์ ์ฌ์ฉํ๋ค.$HOME์ ๋ง์ง๋ง fallback์ด๋ค. - parent repo์
skills_ref/,officecli/submodule์ ๊ฐ๊ฐ ๋ ๋ฆฝ git repo์ด๋ฏ๋ก root selector์์ ๋ช ์์ ์ผ๋ก ์ ํํด์ผ ํ๋ค.
# ์ฝ๋๋ง (์ผ๋ฐ ์ฌ์ฉ์/CI)
git clone https://github.com/lidge-ai/cli-jaw.git
# ์ฝ๋ + ๊ณต๊ฐ submodule ์ ์ฒด
git clone --recursive https://github.com/lidge-ai/cli-jaw.git
# ์ด๋ฏธ clone ํ submodule ์ด๊ธฐํ
git submodule update --init --recursive์๋ธ๋ชจ๋ ๋ด์ฉ์ ๋ฐ๊ฟจ๋ค๋ฉด ๋ฐ๋์ 2๋จ๊ณ๋ก ์ปค๋ฐํฉ๋๋ค.
# 1) submodule ๋ด๋ถ์์ ๋จผ์ ์ปค๋ฐ/ํธ์
cd skills_ref # ๋๋ cd officecli
git add -A
git commit -m "update"
git push
cd ..
# 2) parent repo์์ submodule ref ์
๋ฐ์ดํธ ์ปค๋ฐ
git add skills_ref # ๋๋ git add officecli
git commit -m "chore: update skills_ref ref"
git pushํต์ฌ: submodule commit๊ณผ parent repo ref commit์ ๋ณ๊ฐ์ ๋๋ค.
๋น๊ณต๊ฐ ๊ณํยท๊ฐ์ฌยท์ฆ๊ฑฐยท๊ฐ๋ฐ ์ด๋ ฅ์ ๋ณ๋ sibling clone์ธ cli-jaw-internal์๋ง ๋ณด๊ดํฉ๋๋ค. ์ ๊ทผ ๊ถํ์ ์ด์๋ก ์์ฒญํ์ธ์.
์ด ์ฒดํฌ์์ ์์๋ ์ด๋ ๊น์ด์์๋ private ๊ธฐ๋ก์ ๋ง๋ค์ง ์์ต๋๋ค. devlog, _plan, _fin, .jwc ๋ณ์นญ๋ ๊ธ์งํ๋ฉฐ, ์ด ๊ท์น์ ์ผ๋ฐ ์คํฌ์ ๊ธฐ๋ณธ ๊ฒฝ๋ก๋ณด๋ค ์ฐ์ ํฉ๋๋ค. docs/์ structure/๋ ๊ณต๊ฐ ์ ํ ๋ฌธ์์ฉ์ด๊ณ , ๊ณต๊ฐ ๋ฌธ์ยท์์ค์ ๋น๊ณต๊ฐ ๊ธฐ๋ก ๊ฒฝ๋ก๋ฅผ ๋ฃ์ง ์์ต๋๋ค.
๊ณต๊ฐ push ์ ์๋ ๊ธฐ์ฌ ๊ฐ์ด๋์ ๋ก์ปฌ hook ์ค์ ์ ์ ์ฉํ๊ณ , index์ ์ ์กํ ๋ชจ๋ ์ปค๋ฐ ํธ๋ฆฌ๋ฅผ ๊ฐ๊ฐ ๊ฒ์ฌํฉ๋๋ค. CI๋ ์ ๋ก๋ ์ดํ์ ๋ณด์ ๊ฒ์ฌ์ด๋ฏ๋ก ์ต์ด ๊ณต๊ฐ๋ฅผ ๋ง์์ฃผ์ง ๋ชปํฉ๋๋ค.
npm run check:private-boundary
node scripts/check-private-boundary.mjs --range <remote-base> HEADPR ์ ์ต์ ๊ฒ์ฆ:
npm run build
npm test
npm run typecheck
bash structure/check-doc-drift.sh
bash structure/verify-counts.sh์ถ๊ฐ๋ก ์ค์ package.json์๋ ์๋ ์คํฌ๋ฆฝํธ๋ค์ด ์๋ค.
npm run build:frontendnpm run test:allnpm run test:integrationnpm run test:smokenpm run prepublishOnly
AGENTS.md ๊ท์น:
str_func.mdํ์ผ ํธ๋ฆฌ๋ ๋ฉค๋ฒ์ญ ์ง๋๋ค (์ค ์๋ ๊ธฐ๋กํ์ง ์๋๋ค)- ํ์ผ์ ์ถ๊ฐยท์ญ์ ยท์ด๋ํ ๋ค ํญ๋ชฉ์ด ์ค์ ํ์ผ์ ๊ฐ๋ฆฌํค๋์ง ๊ฒ์ฆ:
bash structure/verify-counts.shserver.ts๊ฐ route glue layer๋ก ๋ฐ๋์์ผ๋ฏ๋ก API ๋ณ๊ฒฝ์src/routes/*์structure/server_api.md๋ฅผ ํจ๊ป ๋ณธ๋ค.- CLI command transport ๋ณ๊ฒฝ์
src/cli/commands.ts,src/cli/handlers.ts,src/cli/handlers-runtime.ts,src/cli/handlers-completions.ts,src/cli/handlers-workflows.ts,src/cli/api-auth.ts,src/command-contract/*์structure/commands.md๋ฅผ ๊ฐ์ด ๋๊ธฐํํ๋ค. - prompt/spawn ๊ตฌ์กฐ ๋ณ๊ฒฝ์
src/prompt/*,src/agent/*,src/orchestrator/*์structure/prompt_flow.md,prompt_basic_*.md,agent_spawn.md๋ฅผ ๊ฐ์ด ๋ณธ๋ค. - memory/heartbeat runtime ๋ณ๊ฒฝ์
src/memory/*,src/routes/memory.ts,src/routes/jaw-memory.ts,src/routes/heartbeat.ts์memory_architecture.md,telegram.md,infra.md๋ฅผ ๊ฐ์ด ๋ณธ๋ค. - ํฐ refactor ๋ค์๋ parent repo quality gate์ ๋ณ๊ฐ๋ก
structure/drift ๊ฒ์ฌ๊น์ง ๊ฐ์ด ํต๊ณผ์ํจ๋ค.