원클릭으로
codex-tui
Use for RunHaven TUI work that vendors, adapts, audits, or verifies Codex Rust TUI source.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use for RunHaven TUI work that vendors, adapts, audits, or verifies Codex Rust TUI source.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when maintaining, reviewing, or improving this repository's agent harness.
Create, repair, validate, package, and QA complete Codex custom pets plus header/hero mascot assets from reference art, generated images, brand cues, or text concepts. Use when the user asks for Codex pets, animated pet spritesheets, pet.json packages, pixel/half-block terminal mascots, Terminal.app-safe 256-color assets, header mascot art, or a reusable pet/mascot workflow.
| name | codex-tui |
| description | Use for RunHaven TUI work that vendors, adapts, audits, or verifies Codex Rust TUI source. |
Use this skill for RunHaven TUI work that vendors, adapts, audits, or verifies
Codex Rust TUI source. This includes terminal ownership, App and
ChatWidget, BottomPane, transcript rendering, status/footer chrome, pets,
terminal images, snapshot tests, vendored codex-* crates, and drift guards.
RunHaven follows a source-first Strategy C reset. The active goal is to replace the former custom TUI with Codex's TUI architecture while keeping RunHaven's security boundary intact.
Read the Persona Codex TUI skill before making source-level Codex claims:
/Users/c/Documents/GitHub/persona/content/skills/codex-tui
Then load only the Persona references that match the touched surface:
references/source-map.md for navigation and source claims.references/architecture-patterns.md for app loop, widget ownership, input,
render, async, or adaptation decisions.references/testing-and-build.md for snapshots, VT100 tests, terminal
behavior, features, workspace, or packaging.If the Persona skill or local Codex checkout is unavailable, stop and report that gap instead of guessing Codex TUI behavior.
Use evidence in this order:
/Users/c/Documents/GitHub/codex/codex-rs/tui.current-state.md and
feature_list.json.For active strategy work, read the focused plan file under:
docs/plans/codex-tui-strategy-c/
04-implementation-and-verification.md is the implementation gate for the
current Phase 4 path.
crates/runhaven-tui/src/tui/app_shell.rs as a product
screen. For the scoped MVP it is only the terminal/runtime host for
RunHaven-owned views under tui/runhaven/; shrink or replace it only when a
reviewed native owner is actually promoted.App and ChatWidget are separate future promotion decisions,
not the default MVP destination. Promote native App only if RunHaven needs
Codex app-loop ownership beyond the current shell. Promote ChatWidget only
if RunHaven needs source-shaped conversation transcript ownership. Either
promotion needs a reviewed redaction, session-recording, and app-server
boundary first.tui/runhaven/launch_handoff.rs and the prepared RunHaven plan. Do not route
RunHaven launches through Codex workspace-command, app-server transport, or
shell-execution surfaces.runhaven-core..snap.new files.For the current MVP-first Phase 4 direction, prefer this order unless live plan files say otherwise:
Tui, TuiEventStream, FrameRequester, and BottomPane
ownership active.tui/runhaven/ surfaces:
workspace, agent, plan review, confirm launch, foreground handoff, active-run
logs, recovery, and diagnostics.App, ChatWidget, real app-server transport, filesystem RPC,
MCP, login, and host-reaching paths dormant or fail-closed until their
markers are removed, fail-closed, or routed through reviewed RunHaven
boundaries.Every non-trivial promotion needs at least one focused guard where practical:
codex-* crates that must not pull backend,
login, MCP, filesystem, exec-server, rollout, state, or thread-store
dependencies.Before implementation, run the smallest baseline check for the touched TUI
surface from docs/harness/feedback/verification-matrix.md. For ordinary
RunHaven TUI code, start with:
cargo test -p runhaven-tui --locked
For implementation slices, choose the smallest reliable set, then usually end with:
cargo fmt --check
cargo check -p runhaven-tui --locked
cargo test -p runhaven-tui --locked
cargo test -p runhaven-tui --locked --features codex-vendored-tests --no-run
cargo clippy -p runhaven-tui --all-targets --locked -- -D warnings
cargo run --locked --bin runhaven-check-pins --quiet
scripts/compare-codex-tui.sh
python3 -m json.tool feature_list.json >/dev/null
find crates/runhaven-tui/src/tui -name '*.snap.new' -print
git diff --check
Use broader workspace checks only when the change crosses crate boundaries, dependency graph behavior, runtime security boundaries, or release controls.
For RunHaven TUI implementation slices, run the requested review sequence before commit:
rust: crate/tooling correctness, ownership, features, and tests.codex-tui: source-pattern alignment with local Codex.adversarial-review: boundary, overclaim, dormant-path, and simplification
review.Record only durable facts and verification in feature_list.json and
current-state.md. Keep raw logs out of startup files.