triflux
AGENTS.md7 starsChanged 6 months agoMITView on GitHub
상세 운영 지시는 CLAUDE.md에 있습니다. Codex는 @import를 지원하지 않으므로 필요할 때 직접 읽습니다.
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- merge-worktreeSkill
- star-promptSkill
- tfx-autoSkill
- tfx-doctorSkill
- tfx-harnessSkill
- tfx-interviewSkill
- tfx-liveSkill
- tfx-planSkill
- tfx-profileSkill
- tfx-remoteSkill
- tfx-researchSkill
- tfx-reviewSkill
- tfx-setupSkill
- tfx-shipSkill
- tfx-wtSkill
The file
Files
triflux — Codex 가이드
상세 운영 지시는 CLAUDE.md에 있습니다. Codex는 @import를 지원하지 않으므로 필요할 때 직접 읽습니다.
핵심 규칙 (triflux 환경 특화)
- Codex 직접 호출 금지.
tfx-auto --cli codex, 병렬은tfx-auto --parallel N|swarm플래그나tfx multi/tfx swarmCLI를 거친다. - 프롬프트는
--뒤의 인자로 넘기고 표준 입력은 닫는다(… -- "$prompt" < /dev/null).codex < prompt.md는 비대화식 실행이라 실패한다. config.toml에approval_mode,sandbox기본값을 두고 CLI는--profile만 지정한다. 중복 플래그를 쓰지 않는다.- Claude가 작성한 코드는 Codex로 교차 검증한다. 스스로 승인하지 않는다.
- 비대화식 결과는 작업 알림이 완료된 뒤에만 읽는다.
비대화식 실행 경로
codex exec/agy --dangerously-skip-permissions --print=를 직접 호출하지 않는다. 자동 차단 훅(headless-guard)은 2026-09-07 에 제거됐으므로 호출자가 지킨다.- 반드시
tfx-auto --cli codex(병렬은--parallel N|swarm) 스킬이나tfx multi/tfx swarmCLI를 거친다.
추론 수준 예외 경로
- 기본 역할 라우팅은
low/medium/high/xhigh프로필을 유지합니다. - 최난도 단일 작업만
TFX_CODEX_PROFILE=max(gpt6_astra_max). ultra는 최상위 단독deep-executor/scientist-deep에서만 허용하고, 팀·비대화식·워커 내부의ultra요청은 중첩 분산 실행을 막기 위해gpt6_astra_max로 낮춥니다.--retry auto-escalate의 Codex 단계도gpt6_astra_max입니다.
비대화식 결과 회수
- 완료 마커:
=== HEADLESS_COMPLETE succeeded=N failed=N total=N === - 워커 상세:
$TMPDIR/tfx-headless/{sessionName}-worker-N.txt
SSH 방식
hosts.json의os필드로 셸을 판단합니다 (windows=PowerShell, darwin=zsh, linux=bash).- SSH 너머로 Codex를 직접 실행하지 않는다(
config.toml충돌과 TTY 문제). 원격에서 Codex가 필요하면tfx-remote→ Claude Code → Claude가 내부에서 codex 호출.
작업 합의
- 한국어 우선, 기술 용어는 원어 유지.
- 커밋:
Type: 한국어 설명 (50자 이내).Co-Authored-By와 AI 꼬리표를 넣지 않는다. - 변경 후 린트·타입 검사·테스트를 실행한다. 비밀 정보(API 키·토큰·세션)를 하드코딩하지 않는다.
safety-guard에 새 차단 규칙을 추가할 때는 항상 대안 API를 함께 만든다. 차단만 추가하면 교착 상태가 된다.
CTO 기준 방향
.triflux/lake/current.md는 에이전트 간 기준 방향 요약입니다. 정렬을 위해 읽되 새 작업으로 취급하지 않습니다.- 프로그램용 정본은
tfx cto status --json입니다. 안정 키는schema_version,repo,sources,ledger_tail,live_sessions,active_shards입니다. - 읽기 전용 정렬 문맥입니다.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

