# Codex Happy Path Prompt Snapshots

<!-- Generated by `pnpm prompt:snapshots:gen`. Do not edit by hand. -->

These fixtures capture the default OpenAI/Codex happy path for prompt review:

- OpenAI model through the Codex harness and Codex app-server runtime.
- Codex harness default coverage for tool-only visible source replies.
- Telegram direct chat, Discord group chat, and a heartbeat turn with `heartbeat_respond` available through searchable dynamic tools.

The Markdown files show selected app-server thread/turn params plus a reconstructed model-bound prompt layer stack: Codex `gpt-5.5` model instructions from a pinned Codex model catalog fixture, Codex permission developer instructions for the happy-path yolo profile, OpenClaw developer instructions, turn input with simulated OpenClaw workspace bootstrap runtime context, heartbeat collaboration-mode guidance when applicable, and references to the complete dynamic tool catalog.

The workspace bootstrap simulation includes dummy workspace contents so prompt reviewers can see how OpenClaw routes stable profile files into Codex developer instructions, keeps `MEMORY.md` in turn input, and points heartbeat turns at `HEARTBEAT.md` without inlining it. `AGENTS.md` is intentionally not repeated here because Codex loads it natively.

The tool catalog is pinned to the canonical happy-path OpenClaw tools so optional locally installed plugin tools do not create fixture churn.

The Codex model prompt fixture is generated from the same Codex model catalog/cache shape that the Codex runtime uses for remote model metadata. Regenerate it from Codex's runtime cache or, when present, a local Codex checkout with:

```sh
pnpm prompt:snapshots:sync-codex-model
```

These snapshots are still not a byte-for-byte raw OpenAI request capture. Codex-owned native `AGENTS.md`, environment context, memories, app/plugin instructions, and built-in collaboration-mode instructions can be added inside the Codex runtime after OpenClaw sends thread and turn params.

Regenerate with:

```sh
pnpm prompt:snapshots:gen
```

Check for drift with:

```sh
pnpm prompt:snapshots:check
```

Snapshots:

- telegram-direct-codex-message-tool.md
- discord-group-codex-message-tool.md
- telegram-heartbeat-codex-tool.md
- codex-dynamic-tools.telegram-direct.json
- codex-dynamic-tools.discord-group.json
- codex-dynamic-tools.heartbeat-turn.json

Codex model prompt fixtures:

- ../codex-model-catalog/gpt-5.5.pragmatic.instructions.md
- ../codex-model-catalog/gpt-5.5.pragmatic.source.json
