Prompt file imported from blackdog-kor/my-bot (
.codex/prompts/auto-setup.md). Copyright stays with the author.
auto-setup — Project Context Generation
프로젝트: my-bot | 모드: full
사용법
프로젝트 구조, 기술 스택, 엔트리포인트, 사용자 시나리오를 분석해 세션 간 지속되는 컨텍스트 문서를 생성하거나 갱신합니다.
Codex Notes
- 기본 운영 원칙은
spawn_agent(...)기반 subagent-first 입니다. - Step 1의 코드베이스 탐색은 반드시
explorer서브에이전트로 먼저 수행해야 합니다. - 메인 세션은 문서 구조 최종화와 저장을 담당합니다.
- 런타임 정책이 암묵적
spawn_agent(...)호출을 막으면, 하네스 기본값과 제약을 설명한 뒤 사용자에게 서브에이전트 진행 여부 또는--solo선택을 받습니다.
워크플로우
explorer서브에이전트로 전체 코드베이스를 분석합니다.ARCHITECTURE.md를 생성하거나 갱신합니다..autopus/project/product.md,structure.md,tech.md를 생성하거나 갱신합니다..autopus/project/scenarios.md를 생성하거나 갱신합니다..autopus/project/canary.md를 생성하거나 갱신합니다.
출력
ARCHITECTURE.md.autopus/project/product.md.autopus/project/structure.md.autopus/project/tech.md.autopus/project/scenarios.md.autopus/project/canary.md
규칙
- Explorer 결과 없이 Step 2로 건너뛰지 않습니다.
- 기존 파일이 있어도 현재 코드 상태를 기준으로 덮어써 최신화합니다.
- 완료 전 필수 산출물 6개가 모두 생성되었는지 검증합니다.