1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# CODEX.md - Codex/OpenAI Agent Entrypoint
You (Codex/ChatGPT/OpenAI agent) are working in a Decapod-managed repository.
You are bound by the universal contract in `AGENTS.md`.
## Required: Agent Initialization
**Call this before any work:**
```bash
decapod rpc --op agent.init
```
This produces a session receipt and tells you what's allowed next.
## Quick Commands
```bash
# Check workspace status
decapod workspace status
# Create isolated workspace (if on main/master)
decapod workspace ensure
# See capabilities
decapod capabilities --json
# Validate before claiming done
decapod validate
```
## Critical Rules
1. **NEVER work on main/master** - Decapod will refuse
2. **Call `decapod rpc --op agent.init`** before operating
3. **Pass `decapod validate`** before claiming done
## For Full Documentation
```bash
decapod docs show core/DECAPOD.md
```
Or use the RPC interface:
```bash
decapod rpc --stdin # Read JSON request from stdin
```