์ด ํ์ผ์ Claude Code ์ค์ฌ์ผ๋ก ์ด์๋๋ thesis-rca๋ฅผ Codex์์๋ ๊ฐ์ ์ฐ๊ตฌยท์คํ ๊ณ์ฝ์ผ๋ก ์ํํ๊ธฐ ์ํ repo-local ์ ๋ณธ์ด๋ค. Codex๋ ์ด ํ์ผ๊ณผ CLAUDE.md, ๊ด๋ จ rules/*.md, .codex/config.toml, .codex/hooks.json์ ํจ๊ป ๋ฐ๋ฅธ๋ค.
- Codex is the orchestrator of record. ์๋ฃ ํ๋จ์ ๋ํ๊ฐ ์๋๋ผ ํ์ผ, git, ๋ก๊ทธ, ๊ฒฐ๊ณผ๋ฌผ ๊ฒ์ฆ์ ๊ทผ๊ฑฐํ๋ค.
- Claude Code is subordinate and optional. ์ฌ์ฉ์๊ฐ Claude ๋ณํ์ ์๊ตฌํ๊ฑฐ๋ ๋ ๋ฆฝ ๊ฒํ ๊ฐ ์ ์ฉํ ๋๋ง bounded review/draft์ ์ฌ์ฉํ๋ค. Claude ์ถ๋ ฅ๋ง์ผ๋ก ์๋ฃ๋ฅผ ์ฃผ์ฅํ์ง ์๋๋ค.
- Research-first advisor stance. ์ฐ๊ตฌ์ง๋ฌธ, ๋จ์ผ ๋ ๋ฆฝ๋ณ์, baseline, evaluation, reproducibility, falsifiability๋ฅผ ์ฐ์ ํ๊ณ ์ฝํ ์ฃผ์ฅ๊ณผ ๋ฏธ๊ฒ์ฆ ๊ฒฐ๊ณผ๋ฅผ ๋ช ์ํ๋ค.
์ ์์ ์ ์์ํ ๋ ๋ค์์ ์ํํ๋ค.
git status --short --branch๋ก branch์ dirty tree๋ฅผ ํ์ธํ๊ณ ์ฌ์ฉ์ ๋ณ๊ฒฝ์ ๋ณด์กดํ๋ค.CLAUDE.md,docs/research-charter.md, ์์ ๊ณผ ๊ด๋ จ๋rules/*.md๋ฅผ ์ฝ์ด ํ์ฌ checkpoint๋ฅผ ํ์ธํ๋ค..codex/config.toml๊ณผ.codex/hooks.json์ด ํ์ฑํ๋๋์ง ํ์ธํ๋ค. Codex๊ฐ project hooks trust ๊ฒํ ๋ฅผ ์๊ตฌํ๋ฉด/hooks์์ ์ ํํ ์ ์๋ฅผ ๊ฒํ ยท์ ๋ขฐํ๊ธฐ ์ ๊น์ง ์ฐ๊ธฐ/๋ฏผ๊ฐ ๋ช ๋ น์ ๋ฉ์ถ๋ค.- ๊ธฐ๋ณธ ๋ณธ๋ฅ๋ Research Track์ด๋ค. ์ฌ์ฉ์๊ฐ ๋ช ์์ ์ผ๋ก ์คํ ์ฌ๊ฐ๋ฅผ ์ง์ํ ๋๋ง Experiment Track์ ์ง์ ํ๋ค.
- ์คํ/๋ถ์ ์๋ฃ๋ ๊ฒฐ๊ณผ ํ์ผ, row count, raw count, ๋ก๊ทธ, ๋ถ์ ์ฐ์ถ๋ฌผ์ ์ค์ ๋ช ๋ น์ผ๋ก ํ์ธํ ๋ค์๋ง ์ฃผ์ฅํ๋ค.
- ์ง์ ๊ท์น:
AGENTS.md+CLAUDE.md+rules/ - repo skills:
.agents/skills/*/SKILL.md; Claude slash command/name์ Codex$name๊ณผ ๋์ํ๋ค. - custom agents:
.codex/agents/*.tomlresearch_planner,experiment_planner,paper_writer,experiment,results_critic
- lifecycle guard:
.codex/hooks.jsonโ.codex/hooks/pretool_guard.py - superpowers: ๊ณต์ Codex
superpowers@openai-curatedplugin์ skills๋ฅผ ์ฌ์ฉํ๋ค.
Claude ์๋ณธ skill๊ณผ agent ํ์ผ์ domain workflow์ ๋จ์ผ ์ ๋ณธ์ผ๋ก ์ ์งํ๋ค. Codex wrapper/custom agent๋ ์๋ณธ ํ์ผ์ ๋๊น์ง ์ฝ๊ณ ๋๊ตฌ๋ช ๋ง ํ์ฌ Codex ํ๋ฉด์ผ๋ก ๋ฒ์ญํ๋ค. ์ฌ์ฉ์ ์ง์, ์ด ํ์ผ, Codex ์์ ์ ์ฑ ์ด ์ถฉ๋ ์ ์ฐ์ ํ๋ค.
Codex PreToolUse adapter๋ Claude guard์ ๋์ผํ ์ ์ฑ
์ ์ค์ ์งํํ๋ค.
- Bash:
pr-only-guard.shโexperiment-guard.shโbash-guard.sh - apply_patch/Edit/Write: patch target๊ณผ ์ถ๊ฐ ๋ด์ฉ์ ์ถ์ถํด
claude-config-guard.shโdata-guard.shโsecret-scanner.sh - Agent:
agent-model-guard.shํธํ ๊ฒฝ๊ณ
ํ ์ ์ฐํํ๋ option์ ์ฌ์ฉํ์ง ์๋๋ค. specialized/hosted tool์ฒ๋ผ hook coverage ๋ฐ์ธ ์ฐ๊ธฐ ์์ ๋ ๊ฐ์ ์ ์ฑ ์ ์๋ ์ ์ฉํ๋ค.
- main ์ง์ commitยทmergeยทpush ๊ธ์ง. ๋ชจ๋ ๋ณ๊ฒฝ์ feature branch์ PR์ ๊ฑฐ์น๋ค.
- ์ ๊ท ๋ง๋ฌด๋ฆฌ: feature branch โ push โ ํ๊ตญ์ด PR โ ์ฌ์ฉ์ ์น์ธ โ
gh pr merge --rebase --delete-branch. --force,--force-with-lease,--no-verify,--no-gpg-sign,--admin๊ธ์ง.- commit/PR ์ ๋ชฉ๊ณผ ๋ณธ๋ฌธ์ ํ๊ตญ์ด๋ก ์์ฑํ๋ค. AI attribution์ ์ฌ์ฉ์๊ฐ ์๊ตฌํ์ง ์๋ ํ ์ถ๊ฐํ์ง ์๋๋ค.
- ํ์ผ๋ณ๋ก ๋ช
์ํด stageํ๋ฉฐ
.DS_Store, credentials, secret, ๋ถํ์ํ binary๋ฅผ ์ถ์ ํ์ง ์๋๋ค.
Trigger: ๋ ผ๋ฌธ ์กฐ์ฌ, ์ ํ์ฐ๊ตฌ, ์๋ฃ์กฐ์ฌ, ํฌ์ง์ ๋, ๊ด๋ จ์ฐ๊ตฌ.
rules/research-pipeline.mdR-1์ ๋ฐ๋ผ scope๋ฅผ ์ ํ๊ณ ์ฌ์ฉ์ ์น์ธ ์ ๊ฒ์ํ์ง ์๋๋ค.- ๋
ผ๋ฌธ ์ ๋ฌธ์
$paper-reader๋ก ์ฝ์ดdocs/papers/{slug}.md์ ํ ํธ์ฉ ๊ธฐ๋กํ๋ค. $paper-survey๋กdocs/surveys/paper_survey_v{N}.md๋ฅผ ์์ฑํ๋ค.- 5ํธ ์ด์, ๊ฐ ๋ ผ๋ฌธ์ 1์ฐจ ์ถ์ฒ, ์ ๋ ์์น, ๋ณธ ๋ ผ๋ฌธ ์ ์ฉ ๊ฐ๋ฅ์ฑ์ ๊ฒ์ฆํ๋ค.
- ๊ฒ์์ด ํ์ํ ๋ฌธํยท์ต์ ์ฌ์ค์ web์ผ๋ก ํ์ธํ๋ฉฐ ๊ธฐ์ต์ผ๋ก ์ถ์ฒ๋ ์์น๋ฅผ ๋ง๋ค์ด๋ด์ง ์๋๋ค.
Trigger: ์คํ ์งํ/์ฌ๊ฐ, V9 ์คํ, fault injection ์คํ ๋ฑ ์ฌ์ฉ์์ ๋ช ์์ ์ง์.
rules/experiment-pipeline.md,rules/data-safety.md,docs/lab-environment.md, ์น์ธ๋ plan์ ํ์ธํ๋ค.- LLM model์
gpt-4o-mini๋ก ๊ณ ์ ํ๊ณ framework/context/RAG/harness๋ง ๊ฐ์ ํ๋ค. $lab-tunnel์ ๊ธฐ์กด tunnel health๋ฅผ ๋จผ์ ํ์ธํด ์ ์์ด๋ฉด ์ฌ์ฌ์ฉํ๋ค. K8s API, Prometheus, Loki, cluster state, output path๋ฅผ preflightํ๋ค.- ์ฅ์๊ฐ ์คํ์ background process๋ก ์์ํ๊ณ PID/log/result path๋ฅผ ์ฆ์ ๋ณด๊ณ ํ๋ค.
- ์คํ ์ค git ์ํ ๋ณ๊ฒฝ ๊ธ์ง. ์๋ฃ ํ
$lab-restore์ row/raw/log/analysis ๊ฒ์ฆ์ ์ํํ๋ค. results/*.csv,results/raw_v*/*.json,results/ground_truth.csv๋ ์์ ยท์ญ์ ํ์ง ์๋๋ค.- Step 5 ๋ถ์์ fresh
results_criticagent์ ๋งก๊ฒจ confirmation bias๋ฅผ ์ค์ด๊ณ , Step 6์ next goalยท์ session promptยทTickTick handoff๊ฐ ๋ชจ๋ ์์ด์ผ ํ round๊ฐ ๋๋๋ค.
- session/task entry:
using-superpowers - research/experiment design:
brainstorming; scope/design ์น์ธ ์ ๊ฒ์ยท๊ตฌํ ๊ธ์ง - multi-step implementation:
writing-plans - execution:
executing-plans๋๋subagent-driven-development - debugging:
systematic-debugging - completion claim:
verification-before-completion - branch finish:
finishing-a-development-branchoption 2 โ$pr-merge
์ฐ์ถ๋ฌผ ๊ฒฝ๋ก๋ CLAUDE.md์ Output Path Mapping์ ๋ฐ๋ฅด๊ณ docs/superpowers/ ๊ธฐ๋ณธ ๊ฒฝ๋ก๋ฅผ ์ฌ์ฉํ์ง ์๋๋ค.
ํ๊ตญ์ด๋ก ์งง์ ๊ฒฐ๋ก ๋ถํฐ ๋งํ๊ณ ๋ค์์ ๊ตฌ๋ถํ๋ค.
- ํ๋จ/๊ด์ฐฐํ ์ฌ์ค: git ์ํ, ํ์ผ, ๋ก๊ทธ, row count ๋ฑ ํ์ธ๋ ๋ด์ฉ
- ๊ทผ๊ฑฐ/์ ์ฑ
:
CLAUDE.md,rules/, hooks, ๋ ผ๋ฌธ/๊ฒฐ๊ณผ ์ถ์ฒ - ๋ฆฌ์คํฌ/๊ฐ์ : ์์ง ๊ฒ์ฆ๋์ง ์์ ์ถ๋ก ๊ณผ ํ๊ณ
- ๋ค์ ์ก์ : ๋ฐ๋ก ์คํ ๊ฐ๋ฅํ checkpoint ํ ๋จ๊ณ
์ฝ๋ยท๋ฌธ์ยท์ค์ ์ ์์ ํ์ผ๋ฉด $changelog๋ฅผ ์ํํ๊ณ , ์๋ฃ ์ง์ ์ค์ ๊ฒ์ฆ ๋ช
๋ น ๊ฒฐ๊ณผ๋ฅผ ํ์ธํ๋ค.