Skip to content

namojo/codex-harness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

License Codex Native Codex Threads 6 Architecture Patterns Thread-Orchestrated Teams GitHub Stars

Layer Sub-layer i18n

codex-harness โ€” The Thread-Native Team-Architecture Factory for Codex

English | ํ•œ๊ตญ์–ด

codex-harness is a team-architecture factory for OpenAI Codex. Say "build a harness for this project" (English) or "ํ•˜๋„ค์Šค ๊ตฌ์„ฑํ•ด์ค˜" (ํ•œ๊ตญ์–ด), and the skill turns your domain description into an Orchestrator Thread + specialist Agent Threads and the reusable skills they use โ€” picked from six pre-defined team-architecture patterns and emitted onto Codex-native surfaces only.

Overview

codex-harness decomposes complex, recurring work into a coordinated team of specialized agents โ€” but where the original revfactory/harness maps that team onto Claude Code's agent-team runtime, codex-harness maps it onto the surface Codex actually runs on: the Codex Thread.

A Thread is treated as the first-class execution boundary โ€” a durable specialist room with its own isolated context, role identity, and handoff report. The harness scaffolds these threads, the skills they run, and the file-mediated state that lets them hand work to each other. Point it at a project, ask it to "build a harness," and it generates everything on Codex surfaces only โ€” AGENTS.md, .agents/skills/, .agents/agents/, .codex/config.toml, Codex Threads, codex exec, sandbox/approval policy, MCP, and optional hooks. No .claude/, no CLAUDE.md, no Claude-specific orchestration tools.

Category โ€” Where codex-harness Sits

codex-harness lives at the L3 Meta-Factory layer โ€” the layer that generates other harnesses rather than being one. Inside L3 it occupies the Team-Architecture Factory sub-layer, the same one as revfactory/harness, but bound to a different runtime.

Layer What it does Runtime
L3 โ€” Meta-Factory / Team-Architecture Factory (us) Domain sentence โ†’ Orchestrator Thread + Agent Threads + skills, via 6 team patterns OpenAI Codex (Threads)
L3 โ€” Meta-Factory / Team-Architecture Factory Same concept, Claude-native agent teams revfactory/harness
L3 โ€” Meta-Factory / Runtime-Configuration Factory Deterministic, repeatable runtime configurations coleam00/Archon

revfactory/harness generates Claude-Code agent teams. codex-harness generates the same six team architectures (pipeline, fan-out/fan-in, expert pool, producer-reviewer, supervisor, hierarchical delegation) plus the skills agents use โ€” but as Codex Threads with file-mediated handoff. Same sub-layer, different runtime. Pick revfactory/harness for Claude Code, codex-harness for Codex.

Key Features

  • Thread-Native Team Design โ€” 6 architectural patterns (Pipeline, Fan-out/Fan-in, Expert Pool, Producer-Reviewer, Supervisor, Hierarchical Delegation) mapped onto an Orchestrator Thread + Agent Threads.
  • Expert-Level Roles, Not Generic Doers โ€” Every agent role must encode professional judgment: expert heuristics, decision rules, anti-patterns, domain quality bars, and (for research roles) a search/query strategy. The harness asks you at consequential decision points instead of assuming.
  • Skill Generation โ€” Auto-generates reusable skills with Progressive Disclosure (references/, templates/, scripts/) for efficient context management.
  • File-Mediated Orchestration โ€” _workspace/ carries thread briefs, handoff reports, merge inputs, and decisions across sessions, making threads durable and partial reruns possible.
  • Codex-Native Safety โ€” Risk is bounded by sandbox/profile/hook policy and config.toml profiles, not by prose alone.
  • Validation โ€” Trigger verification, dry-run scenarios, thread-board checks, and integration-coherence checks.

Workflow

Phase 0: Audit existing harness
    โ†“
Phase 1: Domain & recurring-work analysis  โ†’  _workspace/00_requirements.md
    โ†“
Phase 2: Execution-mode selection (smallest useful runtime)
    โ†“
Phase 3: Architecture-pattern selection (6 patterns)
    โ†“
Phase 4: Agent role definition          โ†’  .agents/agents/<role>.md
    โ†“
Phase 5: Skill generation               โ†’  .agents/skills/<skill>/SKILL.md
    โ†“
Phase 6: Orchestrator skill generation  โ†’  .agents/skills/<domain>-orchestrator/
    โ†“
Phase 7: Thread workspace               โ†’  _workspace/
    โ†“
Phase 8: AGENTS.md pointer update
    โ†“
Phase 9: Optional Codex automation (codex exec / hooks / MCP)
    โ†“
Phase 10: Validation
    โ†“
Phase 11: Evolution

How the Mapping Works

codex-harness preserves the Harness concept but supplies the runtime mapping Codex needs. The best Codex port is not "Claude agent team โ†’ codex exec scripts." It is "Claude agent team โ†’ Codex Thread team + file-mediated handoff + optional codex exec automation + optional subagents + optional hooks."

Harness concept Claude-native implementation Codex thread-native implementation
Orchestrator Team / manager agent Orchestrator Thread
Specialist agent .claude/agents + team messaging Agent Thread + role file + skill
Message protocol SendMessage / TaskCreate Thread briefs + handoff reports
Shared state Team task state _workspace/ + thread board
Parallelism Agent/team runtime Multiple Codex Threads or codex exec jobs
Review gates Team protocol + QA agents Phase gates in the Orchestrator Thread
Evolution /harness:evolve Harness maintenance + change history

Installation

The skill lives at skills/harness/. Install it where Codex discovers skills โ€” globally for all projects, or per-project.

Global (all projects)

git clone https://github.com/namojo/codex-harness.git
mkdir -p ~/.agents/skills
cp -r codex-harness/skills/harness ~/.agents/skills/harness

Or keep it updatable with a symlink:

git clone https://github.com/namojo/codex-harness.git ~/codex-harness
ln -s ~/codex-harness/skills/harness ~/.agents/skills/harness
# update later with: git -C ~/codex-harness pull

Per-project

mkdir -p .agents/skills
cp -r /path/to/codex-harness/skills/harness .agents/skills/harness

After installing, confirm Codex can see it โ€” skills/harness/SKILL.md carries the frontmatter name: harness.

Repository Structure

codex-harness/
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ skills/
    โ””โ”€โ”€ harness/
        โ”œโ”€โ”€ SKILL.md                 # Main skill (12-phase, Phase 0โ€“11)
        โ”œโ”€โ”€ templates/
        โ”‚   โ”œโ”€โ”€ thread-brief.md       # Copy-paste prompt for an Agent Thread
        โ”‚   โ””โ”€โ”€ thread-report.md      # Standardized handoff report
        โ”œโ”€โ”€ examples/
        โ”‚   โ””โ”€โ”€ newsletter-thread-harness.md
        โ””โ”€โ”€ references/
            โ”œโ”€โ”€ codex-thread-native-architecture.md      # Threads as agent runtime
            โ”œโ”€โ”€ codex-thread-orchestration-protocol.md   # board, brief, report, gates
            โ”œโ”€โ”€ codex-agent-patterns-thread-native.md    # 6 patterns, thread-mapped
            โ”œโ”€โ”€ codex-orchestrator-template-thread-native.md
            โ”œโ”€โ”€ codex-native-surfaces.md                 # sandbox, config.toml, exec, MCP
            โ”œโ”€โ”€ codex-expertise-and-quality.md           # expert judgment, query strategy, gate rubrics
            โ”œโ”€โ”€ codex-skill-writing-guide.md
            โ””โ”€โ”€ codex-skill-testing-guide.md

Usage

In a Codex session, ask in natural language. Triggering phrases include:

Build a harness for this project
Design a thread-native orchestrator and specialist agent threads for this workflow
Convert this recurring workflow into a Codex multi-thread harness
Design an agent team / subagent workflow for <domain>
Extend the harness โ€” add a <role> agent / a <task> skill
Audit / repair / sync the harness          (maintenance mode)

The skill runs: audit โ†’ domain analysis โ†’ execution-mode selection โ†’ thread-native architecture โ†’ agent roles โ†’ skills โ†’ orchestrator โ†’ thread workspace โ†’ AGENTS.md โ†’ optional automation โ†’ validation โ†’ evolution. It reports the architecture, the files it created, validation evidence, and the copy-paste prompts you use to run the harness.

Execution Modes

The harness picks the smallest useful runtime.

Mode Use when Runtime shape
Single Thread small or sequential task one Codex Thread + skills
Thread-Orchestrated Team (default) recurring, role-separated, parallel, context-heavy work Orchestrator Thread + Agent Threads
Hybrid Thread + codex exec repeatable CLI checks or independent review jobs threads coordinate, exec automates
Subagent-in-Thread host exposes subagents and the task is bounded agent thread uses subagents internally
Scheduled Harness recurring unattended read-only work external scheduler + codex exec + _workspace/

Default to Thread-Orchestrated Team when the user explicitly asks for multi-agent, multi-thread, orchestrator, team, fan-out/fan-in, or harness behavior.

Architecture Patterns

Pattern Description Thread-native mapping
Pipeline Sequential dependent tasks phase-by-phase Threads/skills run in order
Fan-out/Fan-in Parallel independent tasks parallel Agent Threads; Orchestrator merges reports
Expert Pool Context-dependent selective invocation spawn a specialist Thread only when needed
Producer-Reviewer Generation followed by quality review separate authoring Thread from review Thread
Supervisor Central agent, dynamic task distribution Orchestrator spawns new briefs as it explores
Hierarchical Delegation Top-down recursive delegation sub-orchestrator Threads manage sub-teams

Output

Files generated by codex-harness (artifact bodies are written in Korean by default โ€” name frontmatter, code, paths, and settled technical terms stay as-is):

your-project/
โ”œโ”€โ”€ AGENTS.md                 # routing rule, thread orchestration, safety policy, change history
โ”œโ”€โ”€ .agents/
โ”‚   โ”œโ”€โ”€ agents/               # durable specialist role definitions
โ”‚   โ”‚   โ”œโ”€โ”€ analyst.md
โ”‚   โ”‚   โ”œโ”€โ”€ builder.md
โ”‚   โ”‚   โ””โ”€โ”€ reviewer.md
โ”‚   โ””โ”€โ”€ skills/               # reusable skills (the "how")
โ”‚       โ”œโ”€โ”€ <domain>-orchestrator/
โ”‚       โ”‚   โ””โ”€โ”€ SKILL.md       # Orchestrator Thread skill: brief, gate, merge, evolve
โ”‚       โ””โ”€โ”€ <task>/
โ”‚           โ”œโ”€โ”€ SKILL.md
โ”‚           โ””โ”€โ”€ references/
โ””โ”€โ”€ _workspace/               # file-mediated handoff state
    โ”œโ”€โ”€ 00_requirements.md
    โ”œโ”€โ”€ 01_thread_board.md
    โ”œโ”€โ”€ 02_thread_briefs/
    โ”œโ”€โ”€ 03_thread_reports/
    โ”œโ”€โ”€ 04_merge_inputs/
    โ””โ”€โ”€ 90_decisions.md

Use Cases โ€” Try These Prompts

Copy any prompt below into a Codex session after installing codex-harness:

Deep Research

Build a harness for deep research. I need an Orchestrator Thread that fans out
to specialist Agent Threads โ€” web search, academic sources, community sentiment โ€”
then cross-validates findings through a review gate and merges a cited report.

Website Development

Build a harness for full-stack website development. The team should handle
design, frontend (React/Next.js), backend (API), and QA in a coordinated
pipeline of threads, handing off through _workspace/ from wireframe to deploy.

Newsletter / Content Production

Build a thread-native harness for a weekly newsletter: research, drafting,
editing, and fact-check threads that hand off through _workspace/, with the
Orchestrator Thread gating each phase before publish.

Code Review & Refactoring

Build a harness for comprehensive code review. I want parallel Agent Threads
checking architecture, security, performance, and style, plus codex exec jobs
for independent read-only audits โ€” then merged into a single report.

Technical Documentation

Build a harness that generates API documentation from this codebase. Threads
should analyze endpoints, write descriptions, generate usage examples, and run
a completeness review gate before merge.

Recurring Ops / Scheduled Harness

Convert this recurring read-only check into a scheduled harness: an external
scheduler runs codex exec jobs, writes results into _workspace/, and an
Orchestrator Thread reviews the board on demand.

Why Thread-Native, Not Just codex exec

  • Codex Threads are execution boundaries. A thread can be a durable specialist room with isolated context, role identity, and a handoff report.
  • The Orchestrator is a thread. It owns decomposition, routing, phase gates, merge decisions, partial reruns, and evolution.
  • File-mediated state makes threads durable. _workspace/ carries thread briefs, reports, merge inputs, and decisions across sessions.
  • codex exec is an automation spine, not the whole runtime. Use it for independent reviews, structured extraction, read-only audits, and batch checks.
  • Safety is enforced, not described. Each automated step's risk is bounded by sandbox/profile/hook policy. Durable roles map to config.toml profiles, external tools register as MCP servers, and AGENTS.md is used hierarchically.

Coexistence โ€” codex-harness and Neighbors

Repo Their position Relationship to codex-harness
revfactory/harness Team-Architecture Factory on Claude Code Same sub-layer, different runtime. codex-harness is the Codex Thread-native edition of this concept. Use harness on Claude Code, codex-harness on Codex.
coleam00/Archon Deterministic runtime-configuration factory Same L3, neighbor sub-layer. Archon for runtime determinism, codex-harness for thread-team architecture, or combine them.

FAQ

Q1. How is this different from just writing codex exec scripts?

A. A pile of codex exec scripts has no durable context, no role identity, and no handoff protocol. codex-harness treats each Codex Thread as a specialist room with its own context and a standardized handoff report, coordinated by an Orchestrator Thread through _workspace/. codex exec is still used โ€” as an automation spine for independent reviews, structured extraction, and read-only audits โ€” but it supports the threads rather than replacing them.

Q2. Is this a fork of revfactory/harness?

A. It's a Codex-native port of the concept, not a fork of the implementation. It keeps the six team-architecture patterns, the skill-generation craft, and the validate/evolve loop, but emits Codex surfaces only (AGENTS.md, .agents/, Codex Threads, codex exec, sandbox/approval policy, MCP, hooks) and adds the runtime mapping in the table above. It never produces .claude/, CLAUDE.md, or Claude-specific orchestration tools.

Q3. Do I always get a multi-thread team?

A. No. The harness picks the smallest useful runtime โ€” a small or sequential task gets a Single Thread. It only builds an Orchestrator + Agent Threads when there's genuine role separation, parallelism, independent review, long context, or recurrence. See the Execution Modes table.

License

MIT โ€” see LICENSE. Concept adapted from revfactory/harness.


ํ•œ๊ตญ์–ด

English | ํ•œ๊ตญ์–ด

codex-harness๋Š” OpenAI Codex๋ฅผ ์œ„ํ•œ ํŒ€ ์•„ํ‚คํ…์ฒ˜ ํŒฉํ† ๋ฆฌ์ž…๋‹ˆ๋‹ค. "ํ•˜๋„ค์Šค ๊ตฌ์„ฑํ•ด์ค˜" ๋˜๋Š” **"build a harness for this project"**๋ผ๊ณ  ๋งํ•˜๋ฉด, ์Šคํ‚ฌ์ด ๋„๋ฉ”์ธ ์„ค๋ช…์„ Orchestrator Thread + ์ „๋ฌธ Agent Threads์™€ ๊ทธ๋“ค์ด ์‚ฌ์šฉํ•  ์žฌ์‚ฌ์šฉ ์Šคํ‚ฌ๋กœ ๋ฐ”๊ฟ” ์ค๋‹ˆ๋‹ค โ€” 6๊ฐ€์ง€ ์‚ฌ์ „ ์ •์˜๋œ ํŒ€ ์•„ํ‚คํ…์ฒ˜ ํŒจํ„ด ์ค‘์—์„œ ์„ ํƒํ•˜๋ฉฐ, Codex ๋„ค์ดํ‹ฐ๋ธŒ ํ‘œ๋ฉด์—๋งŒ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

๊ฐœ์š”

codex-harness๋Š” ๋ณต์žกํ•˜๊ณ  ๋ฐ˜๋ณต์ ์ธ ์—…๋ฌด๋ฅผ ์ „๋ฌธ ์—์ด์ „ํŠธ ํŒ€์œผ๋กœ ๋ถ„ํ•ดํ•ฉ๋‹ˆ๋‹ค. ๋‹ค๋งŒ ์›๋ณธ์ธ revfactory/harness๊ฐ€ ๊ทธ ํŒ€์„ Claude Code์˜ ์—์ด์ „ํŠธ ํŒ€ ๋Ÿฐํƒ€์ž„์— ๋งคํ•‘ํ•˜๋Š” ๋ฐ˜๋ฉด, codex-harness๋Š” Codex๊ฐ€ ์‹ค์ œ๋กœ ๋™์ž‘ํ•˜๋Š” ํ‘œ๋ฉด์ธ Codex Thread์— ๋งคํ•‘ํ•ฉ๋‹ˆ๋‹ค.

Thread๋Š” 1๊ธ‰ ์‹คํ–‰ ๋‹จ์œ„๋กœ ์ทจ๊ธ‰๋ฉ๋‹ˆ๋‹ค โ€” ๋…๋ฆฝ๋œ ๋งฅ๋ฝ, ์—ญํ•  ์ •์ฒด์„ฑ, ํ•ธ๋“œ์˜คํ”„ ๋ณด๊ณ ๋ฅผ ๊ฐ€์ง„ durableํ•œ ์ „๋ฌธ ์ž‘์—…์‹ค์ž…๋‹ˆ๋‹ค. ํ•˜๋„ค์Šค๋Š” ์ด ์Šค๋ ˆ๋“œ๋“ค, ๊ทธ ์•ˆ์—์„œ ์‹คํ–‰ํ•  ์Šคํ‚ฌ, ๊ทธ๋ฆฌ๊ณ  ์Šค๋ ˆ๋“œ๋ผ๋ฆฌ ์ž‘์—…์„ ์ฃผ๊ณ ๋ฐ›๊ฒŒ ํ•ด ์ฃผ๋Š” ํŒŒ์ผ ๋งค๊ฐœ ์ƒํƒœ๋ฅผ ์Šค์บํด๋”ฉํ•ฉ๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ๋ฅผ ๊ฐ€๋ฆฌํ‚ค๋ฉฐ "ํ•˜๋„ค์Šค ๋งŒ๋“ค์–ด์ค˜"๋ผ๊ณ  ํ•˜๋ฉด, ๋ชจ๋“  ๊ฒƒ์„ Codex ํ‘œ๋ฉด(AGENTS.md, .agents/skills/, .agents/agents/, .codex/config.toml, Codex Threads, codex exec, ์ƒŒ๋“œ๋ฐ•์Šค/์Šน์ธ ์ •์ฑ…, MCP, ์„ ํƒ์  hooks)์—๋งŒ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. .claude/, CLAUDE.md, Claude ์ „์šฉ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜ ๋„๊ตฌ๋Š” ๋งŒ๋“ค์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

์นดํ…Œ๊ณ ๋ฆฌ โ€” codex-harness์˜ ์œ„์น˜

codex-harness๋Š” L3 Meta-Factory ๊ณ„์ธต โ€” ๋‹ค๋ฅธ ํ•˜๋„ค์Šค๋ฅผ ๋งŒ๋“ค์–ด ๋‚ด๋Š” ๊ณ„์ธต โ€” ์— ์žˆ์Šต๋‹ˆ๋‹ค. L3 ์•ˆ์—์„œ๋Š” revfactory/harness์™€ ๋™์ผํ•œ Team-Architecture Factory ์„œ๋ธŒ ๊ณ„์ธต์— ์†ํ•˜๋˜, ๋Ÿฐํƒ€์ž„์ด ๋‹ค๋ฆ…๋‹ˆ๋‹ค.

๊ณ„์ธต ํ•˜๋Š” ์ผ ๋Ÿฐํƒ€์ž„
L3 โ€” Meta-Factory / Team-Architecture Factory (์šฐ๋ฆฌ) ๋„๋ฉ”์ธ ๋ฌธ์žฅ โ†’ Orchestrator Thread + Agent Threads + ์Šคํ‚ฌ, 6๊ฐ€์ง€ ํŒ€ ํŒจํ„ด OpenAI Codex (Threads)
L3 โ€” Meta-Factory / Team-Architecture Factory ๊ฐ™์€ ๊ฐœ๋…, Claude ๋„ค์ดํ‹ฐ๋ธŒ ์—์ด์ „ํŠธ ํŒ€ revfactory/harness
L3 โ€” Meta-Factory / Runtime-Configuration Factory ๊ฒฐ์ •๋ก ์ ์ด๊ณ  ๋ฐ˜๋ณต ๊ฐ€๋Šฅํ•œ ๋Ÿฐํƒ€์ž„ ์„ค์ • coleam00/Archon

revfactory/harness๋Š” Claude Code ์—์ด์ „ํŠธ ํŒ€์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค. codex-harness๋Š” ๋™์ผํ•œ 6๊ฐ€์ง€ ํŒ€ ์•„ํ‚คํ…์ฒ˜(pipeline, fan-out/fan-in, expert pool, producer-reviewer, supervisor, hierarchical delegation)์™€ ์Šคํ‚ฌ์„ ๋งŒ๋“ค๋˜ ํŒŒ์ผ ๋งค๊ฐœ ํ•ธ๋“œ์˜คํ”„๋ฅผ ๊ฐ€์ง„ Codex Thread๋กœ ๊ตฌํ˜„ํ•ฉ๋‹ˆ๋‹ค. ๊ฐ™์€ ์„œ๋ธŒ ๊ณ„์ธต, ๋‹ค๋ฅธ ๋Ÿฐํƒ€์ž„. Claude Code๋ฉด revfactory/harness, Codex๋ฉด codex-harness๋ฅผ ์„ ํƒํ•˜์„ธ์š”.

ํ•ต์‹ฌ ๊ธฐ๋Šฅ

  • Thread-Native ํŒ€ ์„ค๊ณ„ โ€” 6๊ฐ€์ง€ ์•„ํ‚คํ…์ฒ˜ ํŒจํ„ด(Pipeline, Fan-out/Fan-in, Expert Pool, Producer-Reviewer, Supervisor, Hierarchical Delegation)์„ Orchestrator Thread + Agent Threads๋กœ ๋งคํ•‘.
  • ์ „๋ฌธ๊ฐ€ ์ˆ˜์ค€ ์—ญํ•  (generic doer ๊ธˆ์ง€) โ€” ๋ชจ๋“  ์—์ด์ „ํŠธ ์—ญํ• ์€ ์ „๋ฌธ๊ฐ€ ํŒ๋‹จ ๊ธฐ์ค€์„ ๋‚ด์žฅํ•œ๋‹ค: ์ „๋ฌธ๊ฐ€ ํœด๋ฆฌ์Šคํ‹ฑ, ์˜์‚ฌ๊ฒฐ์ • ๊ทœ์น™, ์•ˆํ‹ฐํŒจํ„ด, ๋„๋ฉ”์ธ ํ’ˆ์งˆ ๊ธฐ์ค€์„ , (๋ฆฌ์„œ์น˜ ์—ญํ• ์€) ๊ฒ€์ƒ‰ยท์ฟผ๋ฆฌ ์ „๋žต. ํ•˜๋„ค์Šค๋Š” ๊ฒฐ๊ณผ๋ฅผ ์ขŒ์šฐํ•˜๋Š” ๊ฒฐ์ • ์ง€์ ์—์„œ ๊ฐ€์ • ๋Œ€์‹  ์‚ฌ์šฉ์ž์—๊ฒŒ ๋ฌป๋Š”๋‹ค.
  • ์Šคํ‚ฌ ์ƒ์„ฑ โ€” Progressive Disclosure(references/, templates/, scripts/)๋ฅผ ์ ์šฉํ•œ ์žฌ์‚ฌ์šฉ ์Šคํ‚ฌ์„ ์ž๋™ ์ƒ์„ฑํ•ด ๋งฅ๋ฝ์„ ํšจ์œจ์ ์œผ๋กœ ๊ด€๋ฆฌ.
  • ํŒŒ์ผ ๋งค๊ฐœ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜ โ€” _workspace/๊ฐ€ thread brief, handoff report, merge input, decision์„ ์„ธ์…˜ ๋„ˆ๋จธ๋กœ ๋ณด์กดํ•ด ์Šค๋ ˆ๋“œ๋ฅผ durableํ•˜๊ฒŒ ๋งŒ๋“ค๊ณ  ๋ถ€๋ถ„ ์žฌ์‹คํ–‰์„ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•จ.
  • Codex ๋„ค์ดํ‹ฐ๋ธŒ ์•ˆ์ „์„ฑ โ€” ์œ„ํ—˜์„ ์‚ฐ๋ฌธ์ด ์•„๋‹ˆ๋ผ sandbox/profile/hook ์ •์ฑ…๊ณผ config.toml ํ”„๋กœํŒŒ์ผ๋กœ ์ œํ•œ.
  • ๊ฒ€์ฆ โ€” ํŠธ๋ฆฌ๊ฑฐ ๊ฒ€์ฆ, ๋“œ๋ผ์ด๋Ÿฐ ์‹œ๋‚˜๋ฆฌ์˜ค, thread-board ๊ฒ€์ฆ, ํ†ตํ•ฉ ์ •ํ•ฉ์„ฑ ๊ฒ€์ฆ.

์›Œํฌํ”Œ๋กœ์šฐ

Phase 0: ๊ธฐ์กด ํ•˜๋„ค์Šค ์ ๊ฒ€
    โ†“
Phase 1: ๋„๋ฉ”์ธยท๋ฐ˜๋ณต ์—…๋ฌด ๋ถ„์„        โ†’  _workspace/00_requirements.md
    โ†“
Phase 2: ์‹คํ–‰ ๋ชจ๋“œ ์„ ํƒ (๊ฐ€์žฅ ์ž‘์€ ์œ ์šฉํ•œ ๋Ÿฐํƒ€์ž„)
    โ†“
Phase 3: ์•„ํ‚คํ…์ฒ˜ ํŒจํ„ด ์„ ํƒ (6๊ฐ€์ง€)
    โ†“
Phase 4: Agent ์—ญํ•  ์ •์˜              โ†’  .agents/agents/<role>.md
    โ†“
Phase 5: ์Šคํ‚ฌ ์ƒ์„ฑ                    โ†’  .agents/skills/<skill>/SKILL.md
    โ†“
Phase 6: ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ดํ„ฐ ์Šคํ‚ฌ ์ƒ์„ฑ     โ†’  .agents/skills/<domain>-orchestrator/
    โ†“
Phase 7: Thread workspace             โ†’  _workspace/
    โ†“
Phase 8: AGENTS.md ํฌ์ธํ„ฐ ์—…๋ฐ์ดํŠธ
    โ†“
Phase 9: ์„ ํƒ์  Codex ์ž๋™ํ™” (codex exec / hooks / MCP)
    โ†“
Phase 10: ๊ฒ€์ฆ
    โ†“
Phase 11: ์ง„ํ™”

๋งคํ•‘ ๋ฐฉ์‹

codex-harness๋Š” Harness์˜ ๊ฐœ๋…์„ ์œ ์ง€ํ•˜๋˜ Codex์— ํ•„์š”ํ•œ ๋Ÿฐํƒ€์ž„ ๋งคํ•‘์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. Codex์šฉ ์ตœ์  ํฌํŒ…์€ "Claude ์—์ด์ „ํŠธ ํŒ€ โ†’ codex exec ์Šคํฌ๋ฆฝํŠธ"๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. "Claude ์—์ด์ „ํŠธ ํŒ€ โ†’ Codex Thread ํŒ€ + ํŒŒ์ผ ๋งค๊ฐœ ํ•ธ๋“œ์˜คํ”„ + ์„ ํƒ์  codex exec ์ž๋™ํ™” + ์„ ํƒ์  subagents + ์„ ํƒ์  hooks"์ž…๋‹ˆ๋‹ค.

Harness ๊ฐœ๋… Claude-native ๊ตฌํ˜„ Codex thread-native ๊ตฌํ˜„
Orchestrator ํŒ€์žฅ/๋งค๋‹ˆ์ € ์—์ด์ „ํŠธ Orchestrator Thread
Specialist agent .claude/agents + ํŒ€ ๋ฉ”์‹œ์ง• Agent Thread + role ํŒŒ์ผ + ์Šคํ‚ฌ
Message protocol SendMessage / TaskCreate Thread brief + handoff report
Shared state ํŒ€ task state _workspace/ + thread board
Parallelism Agent/team ๋Ÿฐํƒ€์ž„ ์—ฌ๋Ÿฌ Codex Thread ๋˜๋Š” codex exec ์ž‘์—…
Review gate Team protocol + QA agents Orchestrator Thread์˜ phase gate
Evolution /harness:evolve Harness maintenance + change history

์„ค์น˜

์Šคํ‚ฌ ๋ณธ์ฒด๋Š” skills/harness/์— ์žˆ์Šต๋‹ˆ๋‹ค. Codex๊ฐ€ ์Šคํ‚ฌ์„ ์ธ์‹ํ•˜๋Š” ์œ„์น˜์— ์„ค์น˜ํ•˜์„ธ์š” โ€” ๋ชจ๋“  ํ”„๋กœ์ ํŠธ๋ฉด ์ „์—ญ, ํŠน์ • ํ”„๋กœ์ ํŠธ๋งŒ์ด๋ฉด ํ”„๋กœ์ ํŠธ๋ณ„๋กœ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค.

์ „์—ญ ์„ค์น˜ (๋ชจ๋“  ํ”„๋กœ์ ํŠธ)

git clone https://github.com/namojo/codex-harness.git
mkdir -p ~/.agents/skills
cp -r codex-harness/skills/harness ~/.agents/skills/harness

์—…๋ฐ์ดํŠธ๋ฅผ ์‰ฝ๊ฒŒ ์œ ์ง€ํ•˜๋ ค๋ฉด ์‹ฌ๋ณผ๋ฆญ ๋งํฌ ๋ฐฉ์‹:

git clone https://github.com/namojo/codex-harness.git ~/codex-harness
ln -s ~/codex-harness/skills/harness ~/.agents/skills/harness
# ์ดํ›„ ์—…๋ฐ์ดํŠธ: git -C ~/codex-harness pull

ํ”„๋กœ์ ํŠธ๋ณ„ ์„ค์น˜

mkdir -p .agents/skills
cp -r /path/to/codex-harness/skills/harness .agents/skills/harness

์„ค์น˜ ํ›„ Codex๊ฐ€ ์ธ์‹ํ•˜๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š” โ€” skills/harness/SKILL.md์— frontmatter name: harness๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.

์ €์žฅ์†Œ ๊ตฌ์กฐ

codex-harness/
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ skills/
    โ””โ”€โ”€ harness/
        โ”œโ”€โ”€ SKILL.md                 # ๋ฉ”์ธ ์Šคํ‚ฌ (12๋‹จ๊ณ„, Phase 0โ€“11)
        โ”œโ”€โ”€ templates/
        โ”‚   โ”œโ”€โ”€ thread-brief.md       # Agent Thread์— ๋ถ™์—ฌ๋„ฃ๋Š” ์ง€์‹œ๋ฌธ
        โ”‚   โ””โ”€โ”€ thread-report.md      # ํ‘œ์ค€ ํ•ธ๋“œ์˜คํ”„ ๋ณด๊ณ ์„œ
        โ”œโ”€โ”€ examples/
        โ”‚   โ””โ”€โ”€ newsletter-thread-harness.md
        โ””โ”€โ”€ references/
            โ”œโ”€โ”€ codex-thread-native-architecture.md      # Thread๋ฅผ agent runtime์œผ๋กœ
            โ”œโ”€โ”€ codex-thread-orchestration-protocol.md   # board, brief, report, gate
            โ”œโ”€โ”€ codex-agent-patterns-thread-native.md    # 6ํŒจํ„ด, thread ๋งคํ•‘
            โ”œโ”€โ”€ codex-orchestrator-template-thread-native.md
            โ”œโ”€โ”€ codex-native-surfaces.md                 # sandbox, config.toml, exec, MCP
            โ”œโ”€โ”€ codex-expertise-and-quality.md           # expert judgment, query strategy, gate rubrics
            โ”œโ”€โ”€ codex-skill-writing-guide.md
            โ””โ”€โ”€ codex-skill-testing-guide.md

์‚ฌ์šฉ๋ฒ•

Codex ์„ธ์…˜์—์„œ ์ž์—ฐ์–ด๋กœ ์š”์ฒญํ•ฉ๋‹ˆ๋‹ค. ํŠธ๋ฆฌ๊ฑฐ๋˜๋Š” ํ‘œํ˜„ ์˜ˆ์‹œ:

์ด ํ”„๋กœ์ ํŠธ์— ํ•˜๋„ค์Šค ๋งŒ๋“ค์–ด์ค˜
์ด ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์œ„ํ•œ thread-native orchestrator์™€ specialist agent thread๋ฅผ ์„ค๊ณ„ํ•ด์ค˜
์ด ๋ฐ˜๋ณต ์—…๋ฌด๋ฅผ Codex multi-thread harness๋กœ ๋ฐ”๊ฟ”์ค˜
<๋„๋ฉ”์ธ>์„ ์œ„ํ•œ ์—์ด์ „ํŠธ ํŒ€ / ์„œ๋ธŒ์—์ด์ „ํŠธ ์›Œํฌํ”Œ๋กœ์šฐ ์„ค๊ณ„ํ•ด์ค˜
ํ•˜๋„ค์Šค ํ™•์žฅํ•ด์ค˜ โ€” <์—ญํ• > ์—์ด์ „ํŠธ / <์ž‘์—…> ์Šคํ‚ฌ ์ถ”๊ฐ€
ํ•˜๋„ค์Šค ์ ๊ฒ€ / ์ˆ˜์ • / ๋™๊ธฐํ™”ํ•ด์ค˜          (์œ ์ง€๋ณด์ˆ˜ ๋ชจ๋“œ)

์Šคํ‚ฌ์€ ๊ฐ์‚ฌ โ†’ ๋„๋ฉ”์ธ ๋ถ„์„ โ†’ ์‹คํ–‰ ๋ชจ๋“œ ์„ ํƒ โ†’ thread-native architecture โ†’ ์—์ด์ „ํŠธ ์—ญํ•  โ†’ ์Šคํ‚ฌ โ†’ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ดํ„ฐ โ†’ thread workspace โ†’ AGENTS.md โ†’ ์„ ํƒ์  ์ž๋™ํ™” โ†’ ๊ฒ€์ฆ โ†’ ์ง„ํ™” ์ˆœ์œผ๋กœ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค. ์•„ํ‚คํ…์ฒ˜, ์ƒ์„ฑํ•œ ํŒŒ์ผ, ๊ฒ€์ฆ ๊ทผ๊ฑฐ, ๊ทธ๋ฆฌ๊ณ  ํ•˜๋„ค์Šค๋ฅผ ์‹คํ–‰ํ•  ๋•Œ ๋ถ™์—ฌ ๋„ฃ์„ ํ”„๋กฌํ”„ํŠธ๋ฅผ ๋ณด๊ณ ํ•ฉ๋‹ˆ๋‹ค.

์‹คํ–‰ ๋ชจ๋“œ

ํ•˜๋„ค์Šค๋Š” ๊ฐ€์žฅ ์ž‘์€ ์œ ์šฉํ•œ ๋Ÿฐํƒ€์ž„์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

๋ชจ๋“œ ์–ธ์ œ ์“ฐ๋‚˜ Runtime shape
Single Thread ์ž‘๊ณ  ์ˆœ์ฐจ์ ์ธ ์ž‘์—… ํ•˜๋‚˜์˜ Codex Thread + skills
Thread-Orchestrated Team (๊ธฐ๋ณธ๊ฐ’) ๋ฐ˜๋ณต์ , ์—ญํ•  ๋ถ„๋ฆฌ, ๋ณ‘๋ ฌ, ๊ธด ๋งฅ๋ฝ ์ž‘์—… Orchestrator Thread + Agent Threads
Hybrid Thread + codex exec ๋ฐ˜๋ณต CLI ๊ฒ€์‚ฌ๋‚˜ ๋…๋ฆฝ ๋ฆฌ๋ทฐ ์กฐ์œจ์€ thread, ์ž๋™ํ™”๋Š” exec
Subagent-in-Thread host๊ฐ€ subagent๋ฅผ ์ œ๊ณตํ•˜๊ณ  ์ž‘์—…์ด bounded์ผ ๋•Œ agent thread ๋‚ด๋ถ€์—์„œ subagent ์‚ฌ์šฉ
Scheduled Harness ๋ฐ˜๋ณต๋˜๋Š” unattended read-only ์ž‘์—… ์™ธ๋ถ€ scheduler + codex exec + _workspace/

์‚ฌ์šฉ์ž๊ฐ€ multi-agent, multi-thread, orchestrator, team, fan-out/fan-in, harness๋ฅผ ๋ช…์‹œํ•˜๋ฉด ๊ธฐ๋ณธ๊ฐ’์€ Thread-Orchestrated Team์ž…๋‹ˆ๋‹ค.

์•„ํ‚คํ…์ฒ˜ ํŒจํ„ด

ํŒจํ„ด ์„ค๋ช… Thread-native ๋งคํ•‘
Pipeline ์ˆœ์ฐจ ์˜์กด ์ž‘์—… phase๋ณ„ Thread/์Šคํ‚ฌ์„ ์ˆœ์„œ๋Œ€๋กœ ์‹คํ–‰
Fan-out/Fan-in ๋ณ‘๋ ฌ ๋…๋ฆฝ ์ž‘์—… ์—ฌ๋Ÿฌ Agent Thread ๋ณ‘๋ ฌ ์‹คํ–‰, Orchestrator๊ฐ€ ๋ณด๊ณ  ๋ณ‘ํ•ฉ
Expert Pool ๋งฅ๋ฝ ์˜์กด ์„ ํƒ์  ํ˜ธ์ถœ ํ•„์š”ํ•  ๋•Œ๋งŒ ์ „๋ฌธ๊ฐ€ Thread ์ƒ์„ฑ
Producer-Reviewer ์ƒ์„ฑ ํ›„ ํ’ˆ์งˆ ๋ฆฌ๋ทฐ ์ž‘์„ฑ Thread์™€ ๋ฆฌ๋ทฐ Thread ๋ถ„๋ฆฌ
Supervisor ์ค‘์•™ ์—์ด์ „ํŠธ๊ฐ€ ๋™์  ๋ฐฐ๋ถ„ Orchestrator๊ฐ€ ํƒ์ƒ‰ ์ค‘ ์ƒˆ brief๋ฅผ ๋™์  ์ƒ์„ฑ
Hierarchical Delegation ํ•˜ํ–ฅ์‹ ์žฌ๊ท€ ์œ„์ž„ sub-orchestrator Thread๊ฐ€ ํ•˜์œ„ ํŒ€ ๊ด€๋ฆฌ

์‚ฐ์ถœ๋ฌผ

codex-harness๊ฐ€ ์ƒ์„ฑํ•˜๋Š” ํŒŒ์ผ (์‚ฐ์ถœ๋ฌผ ๋ณธ๋ฌธ์€ ๊ธฐ๋ณธ ํ•œ๊ตญ์–ด๋กœ ์ž‘์„ฑ โ€” name frontmatter, ์ฝ”๋“œ, ๊ฒฝ๋กœ, ์ •์ฐฉ๋œ ๊ธฐ์ˆ  ์šฉ์–ด๋Š” ๊ทธ๋Œ€๋กœ ์œ ์ง€):

your-project/
โ”œโ”€โ”€ AGENTS.md                 # ๋ผ์šฐํŒ… ๊ทœ์น™, ์Šค๋ ˆ๋“œ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜, ์•ˆ์ „ ์ •์ฑ…, ๋ณ€๊ฒฝ ์ด๋ ฅ
โ”œโ”€โ”€ .agents/
โ”‚   โ”œโ”€โ”€ agents/               # ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ „๋ฌธ ์—ญํ•  ์ •์˜
โ”‚   โ”‚   โ”œโ”€โ”€ analyst.md
โ”‚   โ”‚   โ”œโ”€โ”€ builder.md
โ”‚   โ”‚   โ””โ”€โ”€ reviewer.md
โ”‚   โ””โ”€โ”€ skills/               # ์žฌ์‚ฌ์šฉ ์Šคํ‚ฌ ("์–ด๋–ป๊ฒŒ")
โ”‚       โ”œโ”€โ”€ <domain>-orchestrator/
โ”‚       โ”‚   โ””โ”€โ”€ SKILL.md       # Orchestrator Thread ์Šคํ‚ฌ: brief, gate, merge, evolve
โ”‚       โ””โ”€โ”€ <task>/
โ”‚           โ”œโ”€โ”€ SKILL.md
โ”‚           โ””โ”€โ”€ references/
โ””โ”€โ”€ _workspace/               # ํŒŒ์ผ ๋งค๊ฐœ ํ•ธ๋“œ์˜คํ”„ ์ƒํƒœ
    โ”œโ”€โ”€ 00_requirements.md
    โ”œโ”€โ”€ 01_thread_board.md
    โ”œโ”€โ”€ 02_thread_briefs/
    โ”œโ”€โ”€ 03_thread_reports/
    โ”œโ”€โ”€ 04_merge_inputs/
    โ””โ”€โ”€ 90_decisions.md

ํ™œ์šฉ ์‚ฌ๋ก€ โ€” ์ด ํ”„๋กฌํ”„ํŠธ๋ฅผ ์จ๋ณด์„ธ์š”

codex-harness ์„ค์น˜ ํ›„ Codex ์„ธ์…˜์— ์•„๋ž˜ ํ”„๋กฌํ”„ํŠธ๋ฅผ ๋ณต์‚ฌํ•ด ๋„ฃ์–ด ๋ณด์„ธ์š”:

์‹ฌ์ธต ๋ฆฌ์„œ์น˜

์‹ฌ์ธต ๋ฆฌ์„œ์น˜์šฉ ํ•˜๋„ค์Šค๋ฅผ ๋งŒ๋“ค์–ด์ค˜. ์›น ๊ฒ€์ƒ‰, ํ•™์ˆ  ์ž๋ฃŒ, ์ปค๋ฎค๋‹ˆํ‹ฐ ๋ฐ˜์‘์„ ๋‹ด๋‹นํ•˜๋Š”
Agent Thread๋กœ fan-outํ•˜๊ณ , ๋ฆฌ๋ทฐ ๊ฒŒ์ดํŠธ๋กœ ๊ต์ฐจ ๊ฒ€์ฆํ•œ ๋’ค ์ธ์šฉ์ด ๋‹ฌ๋ฆฐ ๋ณด๊ณ ์„œ๋ฅผ
๋ณ‘ํ•ฉํ•˜๋Š” Orchestrator Thread๊ฐ€ ํ•„์š”ํ•ด.

์›น์‚ฌ์ดํŠธ ๊ฐœ๋ฐœ

ํ’€์Šคํƒ ์›น์‚ฌ์ดํŠธ ๊ฐœ๋ฐœ ํ•˜๋„ค์Šค๋ฅผ ๋งŒ๋“ค์–ด์ค˜. ๋””์ž์ธ, ํ”„๋ก ํŠธ์—”๋“œ(React/Next.js),
๋ฐฑ์—”๋“œ(API), QA๋ฅผ ์Šค๋ ˆ๋“œ ํŒŒ์ดํ”„๋ผ์ธ์œผ๋กœ ์กฐ์œจํ•˜๊ณ , ์™€์ด์–ดํ”„๋ ˆ์ž„๋ถ€ํ„ฐ ๋ฐฐํฌ๊นŒ์ง€
_workspace/๋ฅผ ํ†ตํ•ด ํ•ธ๋“œ์˜คํ”„ํ•˜๊ฒŒ ํ•ด์ค˜.

๋‰ด์Šค๋ ˆํ„ฐ / ์ฝ˜ํ…์ธ  ์ œ์ž‘

์ฃผ๊ฐ„ ๋‰ด์Šค๋ ˆํ„ฐ์šฉ thread-native ํ•˜๋„ค์Šค๋ฅผ ๋งŒ๋“ค์–ด์ค˜: ๋ฆฌ์„œ์น˜, ์ดˆ์•ˆ, ํŽธ์ง‘, ํŒฉํŠธ์ฒดํฌ
์Šค๋ ˆ๋“œ๊ฐ€ _workspace/๋ฅผ ํ†ตํ•ด ํ•ธ๋“œ์˜คํ”„ํ•˜๊ณ , Orchestrator Thread๊ฐ€ ๋ฐœํ–‰ ์ „ ๊ฐ phase๋ฅผ
๊ฒŒ์ดํŠธ๋กœ ํ†ต๊ณผ์‹œํ‚ค๊ฒŒ ํ•ด์ค˜.

์ฝ”๋“œ ๋ฆฌ๋ทฐ & ๋ฆฌํŒฉํ„ฐ๋ง

์ข…ํ•ฉ ์ฝ”๋“œ ๋ฆฌ๋ทฐ ํ•˜๋„ค์Šค๋ฅผ ๋งŒ๋“ค์–ด์ค˜. ์•„ํ‚คํ…์ฒ˜, ๋ณด์•ˆ, ์„ฑ๋Šฅ, ์Šคํƒ€์ผ์„ ์ ๊ฒ€ํ•˜๋Š” ๋ณ‘๋ ฌ
Agent Thread์™€, ๋…๋ฆฝ์ ์ธ read-only ๊ฐ์‚ฌ๋ฅผ ์œ„ํ•œ codex exec ์ž‘์—…์„ ๋‘๊ณ  โ€” ํ•˜๋‚˜์˜
๋ณด๊ณ ์„œ๋กœ ๋ณ‘ํ•ฉํ•ด์ค˜.

๊ธฐ์ˆ  ๋ฌธ์„œํ™”

์ด ์ฝ”๋“œ๋ฒ ์ด์Šค์—์„œ API ๋ฌธ์„œ๋ฅผ ์ƒ์„ฑํ•˜๋Š” ํ•˜๋„ค์Šค๋ฅผ ๋งŒ๋“ค์–ด์ค˜. ์—”๋“œํฌ์ธํŠธ ๋ถ„์„, ์„ค๋ช…
์ž‘์„ฑ, ์‚ฌ์šฉ ์˜ˆ์‹œ ์ƒ์„ฑ์„ ์Šค๋ ˆ๋“œ๋กœ ๋‚˜๋ˆ„๊ณ , ๋ณ‘ํ•ฉ ์ „ ์™„์ „์„ฑ ๋ฆฌ๋ทฐ ๊ฒŒ์ดํŠธ๋ฅผ ๊ฑฐ์น˜๊ฒŒ ํ•ด์ค˜.

๋ฐ˜๋ณต ์šด์˜ / ์Šค์ผ€์ค„ ํ•˜๋„ค์Šค

์ด ๋ฐ˜๋ณต read-only ์ ๊ฒ€์„ ์Šค์ผ€์ค„ ํ•˜๋„ค์Šค๋กœ ๋ฐ”๊ฟ”์ค˜: ์™ธ๋ถ€ scheduler๊ฐ€ codex exec
์ž‘์—…์„ ๋Œ๋ ค ๊ฒฐ๊ณผ๋ฅผ _workspace/์— ์“ฐ๊ณ , Orchestrator Thread๊ฐ€ ํ•„์š”ํ•  ๋•Œ board๋ฅผ
๊ฒ€ํ† ํ•˜๊ฒŒ ํ•ด์ค˜.

์™œ ๋‹จ์ˆœ codex exec๊ฐ€ ์•„๋‹ˆ๋ผ Thread-Native์ธ๊ฐ€

  • Codex Thread๊ฐ€ ์‹คํ–‰ ๊ฒฝ๊ณ„์ž…๋‹ˆ๋‹ค. ๊ฐ thread๋Š” ๋…๋ฆฝ ๋งฅ๋ฝ, ์—ญํ•  ์ •์ฒด์„ฑ, handoff report๋ฅผ ๊ฐ€์ง„ durableํ•œ ์ „๋ฌธ ์ž‘์—…์‹ค์ด ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ดํ„ฐ๋„ thread์ž…๋‹ˆ๋‹ค. ์ž‘์—… ๋ถ„ํ•ด, ๋ผ์šฐํŒ…, phase gate, merge decision, partial rerun, evolution์„ ๋งก์Šต๋‹ˆ๋‹ค.
  • ํŒŒ์ผ ๋งค๊ฐœ ์ƒํƒœ๊ฐ€ thread๋ฅผ durableํ•˜๊ฒŒ ๋งŒ๋“ญ๋‹ˆ๋‹ค. _workspace/๊ฐ€ thread brief, report, merge input, decision์„ ์„ธ์…˜ ๋„ˆ๋จธ๋กœ ๋ณด์กดํ•ฉ๋‹ˆ๋‹ค.
  • codex exec๋Š” ์ž๋™ํ™” spine์ด์ง€ ์ „์ฒด ๋Ÿฐํƒ€์ž„์ด ์•„๋‹™๋‹ˆ๋‹ค. ๋…๋ฆฝ ๋ฆฌ๋ทฐ, ๊ตฌ์กฐํ™” ์ถ”์ถœ, read-only audit, batch check์— ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.
  • ์•ˆ์ „์€ ์„ค๋ช…์ด ์•„๋‹ˆ๋ผ ์ •์ฑ…์œผ๋กœ ๊ฐ•์ œํ•ฉ๋‹ˆ๋‹ค. ์ž๋™ํ™” ๋‹จ๊ณ„์˜ ์œ„ํ—˜์„ sandbox/profile/hook ์ •์ฑ…์œผ๋กœ ์ œํ•œํ•ฉ๋‹ˆ๋‹ค. ์žฌ์‚ฌ์šฉ ์—ญํ• ์€ config.toml ํ”„๋กœํŒŒ์ผ์— ๋งคํ•‘ํ•˜๊ณ , ์™ธ๋ถ€ ๋„๊ตฌ๋Š” MCP ์„œ๋ฒ„๋กœ ๋“ฑ๋กํ•˜๋ฉฐ, AGENTS.md๋Š” ๊ณ„์ธต์ ์œผ๋กœ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

๊ณต์กด โ€” codex-harness์™€ ์ด์›ƒ๋“ค

์ €์žฅ์†Œ ์œ„์น˜ codex-harness์™€์˜ ๊ด€๊ณ„
revfactory/harness Claude Code์˜ Team-Architecture Factory ๊ฐ™์€ ์„œ๋ธŒ ๊ณ„์ธต, ๋‹ค๋ฅธ ๋Ÿฐํƒ€์ž„. codex-harness๋Š” ์ด ๊ฐœ๋…์˜ Codex Thread-native ์—๋””์…˜. Claude Code๋ฉด harness, Codex๋ฉด codex-harness.
coleam00/Archon ๊ฒฐ์ •๋ก ์  ๋Ÿฐํƒ€์ž„ ์„ค์ • ํŒฉํ† ๋ฆฌ ๊ฐ™์€ L3, ์ด์›ƒ ์„œ๋ธŒ ๊ณ„์ธต. ๋Ÿฐํƒ€์ž„ ๊ฒฐ์ •๋ก ์€ Archon, ์Šค๋ ˆ๋“œ ํŒ€ ์•„ํ‚คํ…์ฒ˜๋Š” codex-harness, ๋˜๋Š” ๋‘˜์„ ์กฐํ•ฉ.

FAQ

Q1. ๊ทธ๋ƒฅ codex exec ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์งœ๋Š” ๊ฒƒ๊ณผ ๋ญ๊ฐ€ ๋‹ค๋ฅธ๊ฐ€์š”?

A. codex exec ์Šคํฌ๋ฆฝํŠธ ๋”๋ฏธ์—๋Š” durableํ•œ ๋งฅ๋ฝ๋„, ์—ญํ•  ์ •์ฒด์„ฑ๋„, ํ•ธ๋“œ์˜คํ”„ ๊ทœ์•ฝ๋„ ์—†์Šต๋‹ˆ๋‹ค. codex-harness๋Š” ๊ฐ Codex Thread๋ฅผ ๋…๋ฆฝ ๋งฅ๋ฝ๊ณผ ํ‘œ์ค€ handoff report๋ฅผ ๊ฐ€์ง„ ์ „๋ฌธ ์ž‘์—…์‹ค๋กœ ์ทจ๊ธ‰ํ•˜๊ณ , Orchestrator Thread๊ฐ€ _workspace/๋ฅผ ํ†ตํ•ด ์กฐ์œจํ•ฉ๋‹ˆ๋‹ค. codex exec๋Š” ์—ฌ์ „ํžˆ โ€” ๋…๋ฆฝ ๋ฆฌ๋ทฐ, ๊ตฌ์กฐํ™” ์ถ”์ถœ, read-only audit์˜ ์ž๋™ํ™” spine์œผ๋กœ โ€” ์“ฐ์ด์ง€๋งŒ, ์Šค๋ ˆ๋“œ๋ฅผ ๋Œ€์ฒดํ•˜์ง€ ์•Š๊ณ  ๋ณด์กฐํ•ฉ๋‹ˆ๋‹ค.

Q2. revfactory/harness์˜ ํฌํฌ์ธ๊ฐ€์š”?

A. ๊ตฌํ˜„์˜ ํฌํฌ๊ฐ€ ์•„๋‹ˆ๋ผ ๊ฐœ๋…์˜ Codex ๋„ค์ดํ‹ฐ๋ธŒ ํฌํŒ…์ž…๋‹ˆ๋‹ค. 6๊ฐ€์ง€ ํŒ€ ์•„ํ‚คํ…์ฒ˜ ํŒจํ„ด, ์Šคํ‚ฌ ์ƒ์„ฑ craft, ๊ฒ€์ฆ/์ง„ํ™” ๋ฃจํ”„๋ฅผ ์œ ์ง€ํ•˜๋˜ Codex ํ‘œ๋ฉด(AGENTS.md, .agents/, Codex Threads, codex exec, ์ƒŒ๋“œ๋ฐ•์Šค/์Šน์ธ ์ •์ฑ…, MCP, hooks)์—๋งŒ ์ƒ์„ฑํ•˜๊ณ , ์œ„์˜ ๋Ÿฐํƒ€์ž„ ๋งคํ•‘์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. .claude/, CLAUDE.md, Claude ์ „์šฉ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜ ๋„๊ตฌ๋Š” ์ ˆ๋Œ€ ๋งŒ๋“ค์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

Q3. ํ•ญ์ƒ ๋ฉ€ํ‹ฐ ์Šค๋ ˆ๋“œ ํŒ€์ด ๋‚˜์˜ค๋‚˜์š”?

A. ์•„๋‹™๋‹ˆ๋‹ค. ํ•˜๋„ค์Šค๋Š” ๊ฐ€์žฅ ์ž‘์€ ์œ ์šฉํ•œ ๋Ÿฐํƒ€์ž„์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค โ€” ์ž‘๊ฑฐ๋‚˜ ์ˆœ์ฐจ์ ์ธ ์ž‘์—…์€ Single Thread๋กœ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ์—ญํ•  ๋ถ„๋ฆฌ, ๋ณ‘๋ ฌ์„ฑ, ๋…๋ฆฝ ๋ฆฌ๋ทฐ, ๊ธด ๋งฅ๋ฝ, ๋ฐ˜๋ณต์„ฑ์ด ์‹ค์ œ๋กœ ์žˆ์„ ๋•Œ๋งŒ Orchestrator + Agent Threads๋ฅผ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค. ์‹คํ–‰ ๋ชจ๋“œ ํ‘œ๋ฅผ ์ฐธ๊ณ ํ•˜์„ธ์š”.

๋ผ์ด์„ ์Šค

MIT โ€” LICENSE ์ฐธ์กฐ. ๊ฐœ๋…์€ revfactory/harness์—์„œ ์ฐจ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค.

About

Codex-native meta-skill that builds and evolves project harnesses: agent roles, reusable skills, an orchestrator, and validation.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors