# Open Codex Record & Replay Clean-room reverse-engineering lab and open implementation of the Record & Replay feature shipped with the ChatGPT/Codex macOS application. The target is the complete observable system: ```text Codex plugin -> Record & Replay MCP client -> native Computer Use IPC -> event-stream recorder and controls -> session.json + events.jsonl -> Codex evaluator and prompt library -> skill-creator handoff -> reusable Skill ``` ## Current status The project currently contains the reproducible evidence foundation: - Build identity, hashes, exported Swift symbols, prompt identifiers, event vocabulary, and plugin contract extraction. - Read-only MCP discovery and status probing. - A requirement-by-requirement completion audit. - A strict public boundary that excludes proprietary binaries, raw recordings, personal paths, credentials, and private UI content. - A portable plugin manifest, MCP launcher, and host Skill. - An open three-tool MCP server, native IPC v3 server, session store, privacy filter, offline Skill generator, and injectable Codex evaluator. - A Swift native collector, signed synthetic fixture, and official-vs-open structural parity harness. - A connected native control surface with non-activating overlay, menu-bar actions, timer, drag behavior, and Stop/Discard state transitions. - Reproducible handler, lifecycle, deadline/version, private-browser, and URL policy evidence extraction from the inspected official build. - Dynamic official privacy probes covering spoofed excluded/private identities and isolated Chrome normal/Incognito windows. - A semantic AX smoke for the open overlay and confirmation flow; Stop and Discard both emit the expected control reason and terminate cleanly. The core Fixture contract now has matching official/open event kinds and field presence for window changes, shortcuts, submit, drag, click, and AX payloads. Secure-input handling intentionally differs: the open recorder drops secure AX text entirely, while the official build retained structural AX text that did not contain the known fixture-only value. The current official build also recorded the synthetic value from a real Chrome Incognito window: Chrome is in the broad browser catalog but not in the recovered private-title detector families. The open implementation intentionally remains stricter. Exact recorder value parity and a wall-clock 30-minute official timeout remain outside the bounded dynamic suite. Official evaluator execution is not exposed by the current Record & Replay MCP or native IPC surface; its implementation and that unreachable boundary are documented separately. See [docs/completion-audit.md](docs/completion-audit.md). Build the native macOS collector and synthetic fixture: ```bash npm run native:build npm run native:package ``` Run the open MCP with real native capture only after granting Accessibility and Input Monitoring permissions: ```bash npm run open:mcp:native ``` ## Reproduce current evidence ```bash npm run collect:static npm run collect:evaluator npm run collect:recorder npm run collect:ipc-handlers npm run collect:lifecycle npm run collect:privacy npm run probe:mcp npm run probe:privacy npm run probe:browser-privacy npm run smoke:official-fixture npm run smoke:fixture npm run compare:fixture npm run smoke:controls npm run verify ``` The scripts inspect the locally installed application but write only normalized metadata and contract summaries under `evidence/current/`. ## Safety boundary - Dynamic recording must use a signed synthetic Fixture application. - Raw official recordings are temporary and must be deleted after extracting the synthetic application subset. - Never commit event streams, databases, real window text, credentials, proprietary binaries, signing material, or full proprietary prompt text. - Write operations against the official service require a separate explicit flag and a bounded cleanup plan. ## Scope This repository is for Record & Replay. Computer History/Skysight is a separate product lifecycle and is not used as a substitute for missing Record & Replay evidence.