CODEX.md
Configures an AI coding agent to read a project rules file first and always respond in Korean.
What this file does
Configures an AI coding agent to read a project rules file first and always respond in Korean.
When to use it
- You want to enforce a single source of truth for AI agent behavior
- Your team communicates in a non-English language and needs agent replies in that language
- You have auto-generated proto code that must not be hand-edited
Assumes this stack
CODEX.md
This file provides guidance to Codex (OpenAI) when working with code in this repository.
🤖 Agent Configuration
{
"auto_read_paths": [
".agents/context/careti-rules.json"
],
"instruction": "Read .agents/context/careti-rules.json first. It contains the project rules and an index of workflows. Read specific workflow files ON DEMAND as needed. ALWAYS communicate with the user in Korean (한글)."
}
⚠️ Critical Instruction
DO NOT rely on pre-trained knowledge or assumptions.
ALWAYS read .agents/context/careti-rules.json at the start of the session. It is the SINGLE SOURCE OF TRUTH for:
- Project Identity & Philosophy
- Merge Strategy (Phase 0, Hybrid Pattern)
- Architecture Rules (L1-L3 Levels)
- Development Framework (Tech Stack, TDD)
- AI Workflow & Forbidden Actions
🧬 Proto Generation Guidelines
- TypeScript/Node generated 코드는
npm run protos(실제 스크립트:careti-scripts/build/build-proto.mjs)로만 갱신합니다.src/shared/proto/**,src/generated/**는 직접 수정하지 마세요. - Go/CLI gRPC 스텁은
npm run protos-go(scripts/build-go-proto.mjs)가 관리합니다. CLI 테스트 전에 항상 최신 상태로 재생성합니다. - proto 정의를 수정하거나 generated 코드가 누락된 상태라면 두 명령의 실행 로그를 남기고,
attempt-2-master/관련 문서에 재생성 사실을 기록해야 합니다.
What's inside
Agent JSON config, critical instruction, and two proto generation guidelines
Change this for your project
- Replace
careti-rules.jsonwith your own rules file path - Replace
"Korean (한글)"with your team's language - Replace
careti-scripts/build/build-proto.mjswith your proto build script - Replace
attempt-2-masterwith your branch or doc reference
Where it goes
Keep it in your repository where the agent or team that needs it will read it.
Related Documents
codex
Defines the system prompt for Codex CLI, an agentic coding assistant that edits files and runs commands in a sandboxed workspace.
AI_CODEX.md
Defines a restricted role for OpenAI Codex limited to code completion and snippet generation within project constraints.
codex
Defines a Notion command center that routes natural-language requests to Stripe, Notion, DALL·E, and RPA handlers via API endpoints and a cron poller.
Chronicles of Stampadia - Codex
Catalogues all events, modifiers, heroes, items, keywords, and generator options for the Chronicles of Stampadia game.