98e40dac97
CLI Smoke Test / smoke-test-linux (20) (push) Has been cancelled
CLI Smoke Test / smoke-test-linux (24) (push) Has been cancelled
CLI Smoke Test / smoke-test-windows (20) (push) Has been cancelled
CLI Smoke Test / smoke-test-windows (24) (push) Has been cancelled
Expo App TypeScript typecheck / typecheck (push) Has been cancelled
33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
# Codex
|
|
|
|
Reviewed on 2026-03-20 from `../happy-adjacent/research/codex` at commit
|
|
`ec32866c379405a28b58c0064c857fb60ed3c735`.
|
|
|
|
## Why it matters
|
|
|
|
Codex is the strongest backend protocol reference in this set.
|
|
|
|
- typed app-server contract
|
|
- explicit `thread`, `turn`, and `item` model
|
|
- approvals are server requests, not ad hoc message events
|
|
- sandbox policy is much richer than OpenCode's
|
|
- resume, fork, and live replay are clearly first-class concerns
|
|
|
|
## Current take
|
|
|
|
- If Happy wants a server-side session protocol, Codex is the best reference.
|
|
- If Happy wants a UI/session transcript shape, OpenCode still feels stronger.
|
|
- The best outcome may be OpenCode-like transcript state with Codex-like approval and runtime semantics.
|
|
|
|
## Important repo files
|
|
|
|
- `../happy-adjacent/research/codex/codex-rs/app-server/README.md`
|
|
- `../happy-adjacent/research/codex/codex-rs/app-server-protocol/src/protocol/v2.rs`
|
|
- `../happy-adjacent/research/codex/codex-rs/app-server/src/lib.rs`
|
|
- `../happy-adjacent/research/codex/codex-rs/app-server/src/transport.rs`
|
|
- `../happy-adjacent/research/codex/codex-rs/app-server/src/thread_state.rs`
|
|
- `../happy-adjacent/research/codex/codex-rs/app-server/src/codex_message_processor.rs`
|
|
|
|
See `docs/competition/codex/message-protocol.md` and
|
|
`docs/competition/codex/sources.md`.
|