Prompt file imported from shin0720/autopus (
.codex/prompts/auto.md). Copyright stays with the author.
auto โ Autopus Command Router
Autopus Branding
When handling @auto router responses, start the response with the canonical banner from templates/shared/branding-formats.md.tmpl:
๐ Autopus โโโโโโโโโโโโโโโโโโโโโโโโโ
End the completed response with ๐.
Router Execution Contract
- Treat this file as a thin entrypoint only.
- After resolving the subcommand, immediately load the matching detailed workflow surface (
auto-setup,auto-status,auto-plan,auto-go,auto-fix,auto-review,auto-sync,auto-idea,auto-map,auto-why,auto-verify,auto-secure,auto-test,auto-dev,auto-canary,auto-doctor) before answering or acting. - Do not stay at the router layer when a detailed workflow exists for the request.
- Always load the project context documents before routing or executing the workflow.
Context Load
Before processing any @auto subcommand, read these files if they exist:
ARCHITECTURE.md.autopus/project/product.md.autopus/project/structure.md.autopus/project/tech.md.autopus/project/workspace.md.autopus/project/scenarios.md.autopus/project/canary.md.autopus/context/signatures.md.autopus/learnings/pipeline.jsonl
- If none of these files exist, explicitly note that project context is missing and recommend
@auto setup. - Do not skip this load step just because the subcommand looks obvious.
SPEC Path Resolution
When any workflow receives a SPEC-ID, resolve the actual file path before opening files, spawning workers, or running build/test commands:
- Check
.autopus/specs/{SPEC-ID}/spec.md(top-level, cross-module or legacy SPECs). - Recursively search
**/.autopus/specs/{SPEC-ID}/spec.md, skipping.git,node_modules,vendor,.cache, anddist.
From the resolved path, extract:
SPEC_PATH: full path tospec.mdSPEC_DIR: parent SPEC directoryTARGET_MODULE: submodule path, or.for top-level SPECsWORKING_DIR: the directory where build/test commands run (TARGET_MODULEor.)
Error handling:
- 0 matches: report the SPEC is missing and list available SPEC IDs.
- 2+ matches: report the duplicate paths and stop for clarification.
- All detailed workflows must use the resolved values instead of assuming
.autopus/specs/{SPEC-ID}is rooted at the current directory.
ํ๋ก์ ํธ: autopus-adk | ๋ชจ๋: full
์ฌ์ฉ์๊ฐ @auto <subcommand> ... ํํ๋ก ํธ์ถํ๋ค๊ณ ๊ฐ์ ํ๊ณ ์ฒซ ํ ํฐ์ ํด์ํฉ๋๋ค.
์ด ๋ฌธ์๋ Codex์ฉ canonical router surface ์
๋๋ค. shared skill๊ณผ parity๋ ์ ์งํ๋, ์๋ฏธ ํด์์ Codex ๊ท์ฝ(spawn_agent(...), @auto, --auto, --team)์ ๊ธฐ์ค์ผ๋ก ํ์ธ์. ์ด ํ๋กฌํํธ๋ ์์ ์ง์
์ ์ด๋ฉฐ, ํ๋๊ทธ ์๋ฏธ(--auto, --loop, --multi, --quality, --team, --solo)๋ฅผ ์ถ์ฝํด์ ๋ฎ์ด์ฐ๋ฉด ์ ๋ฉ๋๋ค.
์ง์ ์๋ธ์ปค๋งจ๋:
setup: ํ๋ก์ ํธ ์ปจํ ์คํธ ์์ฑ โ ์ฝ๋๋ฒ ์ด์ค๋ฅผ ๋ถ์ํ๊ณ ARCHITECTURE.md ๋ฐ .autopus/project ๋ฌธ์๋ฅผ ์์ฑํฉ๋๋คstatus: SPEC ๋์๋ณด๋ โ ํ์ฌ ํ๋ก์ ํธ์ ์๋ธ๋ชจ๋์ SPEC ์ํ๋ฅผ ํ์ํฉ๋๋คplan: SPEC ์์ฑ โ ์ฝ๋๋ฒ ์ด์ค ๋ถ์ ํ EARS ์๊ตฌ์ฌํญ, ๊ตฌํ ๊ณํ, ์ธ์ ๊ธฐ์ค์ ์์ฑํฉ๋๋คgo: SPEC ๊ตฌํ โ SPEC ๋ฌธ์๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ์ฝ๋๋ฅผ ๊ตฌํํฉ๋๋คfix: ๋ฒ๊ทธ ์์ โ ์ฌํ๊ณผ ์ต์ ์์ ์ค์ฌ์ผ๋ก ๋ฌธ์ ๋ฅผ ํด๊ฒฐํฉ๋๋คreview: ์ฝ๋ ๋ฆฌ๋ทฐ โ TRUST 5 ๊ธฐ์ค์ผ๋ก ๋ณ๊ฒฝ๋ ์ฝ๋๋ฅผ ๋ฆฌ๋ทฐํฉ๋๋คsync: ๋ฌธ์ ๋๊ธฐํ โ ๊ตฌํ ์ดํ SPEC, CHANGELOG, ๋ฌธ์๋ฅผ ๋ฐ์ํฉ๋๋คidea: ์์ด๋์ด ๋ธ๋ ์ธ์คํ ๋ฐ โ ๋ฉํฐ ํ๋ก๋ฐ์ด๋ ํ ๋ก ๊ณผ ICE ํ๊ฐ๋ก ์์ด๋์ด๋ฅผ ์ ๋ฆฌํฉ๋๋คmap: ์ฝ๋๋ฒ ์ด์ค ๋ถ์ โ ๊ตฌ์กฐ, ์ํธ๋ฆฌํฌ์ธํธ, ์์กด์ฑ์ ๋น ๋ฅด๊ฒ ์์ฝํฉ๋๋คwhy: ์์ฌ๊ฒฐ์ ๊ทผ๊ฑฐ ์กฐํ โ Lore, SPEC, ARCHITECTURE์์ ์ด์ ๋ฅผ ์ถ์ ํฉ๋๋คverify: ํ๋ก ํธ์๋ UX ๊ฒ์ฆ โ Playwright ๊ธฐ๋ฐ ๋น์ฃผ์ผ ๊ฒ์ฆ์ ์คํํฉ๋๋คsecure: ๋ณด์ ๊ฐ์ฌ โ OWASP Top 10 ๊ด์ ์์ ๋ณ๊ฒฝ ๋ฒ์๋ฅผ ์ ๊ฒํฉ๋๋คtest: E2E ์๋๋ฆฌ์ค ์คํ โ scenarios.md ๊ธฐ๋ฐ ๊ฒ์ฆ์ ์ํํฉ๋๋คdev: ํ ์ฌ์ดํด ๊ฐ๋ฐ โ plan โ go โ sync๋ฅผ ์์ฐจ ์คํํฉ๋๋คcanary: ๋ฐฐํฌ ๊ฒ์ฆ โ build, E2E, ๋ธ๋ผ์ฐ์ ๊ฑด๊ฐ ๊ฒ์ง์ ์คํํฉ๋๋คdoctor: ์ํ ์ง๋จ โ ํ๋ค์ค ์ค์น ์ํ์ ํ๋ซํผ wiring์ ์ ๊ฒํฉ๋๋ค
๊ท์น:
- ์ฒซ ํ ํฐ์ด ์๋ ๊ฒฝ์ฐ, ์ฌ์ฉ์์ ์๋๋ฅผ ์ 16๊ฐ ์ค ํ๋๋ก ๋ถ๋ฅํด์ ์งํํฉ๋๋ค.
- ๊ฐ๋ฅํ๋ฉด ๊ฐ์ ์ด๋ฆ์ ์์ธ ์คํฌ/ํ๋กฌํํธ(
auto-setup,auto-status,auto-plan,auto-go,auto-fix,auto-review,auto-sync,auto-idea,auto-map,auto-why,auto-verify,auto-secure,auto-test,auto-dev,auto-canary,auto-doctor) ์๋ฏธ๋ฅผ ๋ฐ๋ฆ ๋๋ค. - ์ง์ํ์ง ์๋ ์๋ธ์ปค๋งจ๋๋ฉด ์ง์ ๋ชฉ๋ก์ ์งง๊ฒ ์๋ดํ๊ณ ๊ฐ์ฅ ๊ฐ๊น์ด ์ํฌํ๋ก์ฐ๋ฅผ ์ ์ํฉ๋๋ค.
- Codex ํ๋ค์ค ๊ธฐ๋ณธ๊ฐ์
spawn_agent(...)๊ธฐ๋ฐ subagent-first ์ ๋๋ค. - Codex์์
--auto๊ฐ ์์ผ๋ฉด, ๊ธฐ๋ณธ subagent pipeline ์งํ์ ๋ํ ๋ช ์์ ์น์ธ์ผ๋ก ํด์ํฉ๋๋ค. - ๋จ,
--auto๊ฐ ์๊ณ ํ์ฌ Codex ๋ฐํ์ ์ ์ฑ ์ด ์๋ฌต์ spawn_agent(...)ํธ์ถ์ ํ์ฉํ์ง ์์ผ๋ฉด ์กฐ์ฉํ ๋จ์ผ ์ธ์ ์ผ๋ก ํด๋ฐฑํ์ง ๋ง๊ณ , ํ๋ค์ค ๊ธฐ๋ณธ๊ฐ๊ณผ ์ ์ฝ์ ๋ช ์์ ์ผ๋ก ์ค๋ช ํ ๋ค ์ฌ์ฉ์์๊ฒ ์๋ธ์์ด์ ํธ ์งํ ์ฌ๋ถ ๋๋--solo์ ํ์ ๋ฐ์ผ์ธ์.