Skip to content

[DOCS#674] 규약 8 을 사용자 레벨 하네스와 일치 — 서브 에이전트 모델 상한 Opus · 역할 파일 위치 정정 - #675

Closed
juhy0987 wants to merge 1 commit into
mainfrom
docs/#674/align-rule8-user-harness
Closed

juhy0987 wants to merge 1 commit into
mainfrom
docs/#674/align-rule8-user-harness

Conversation

@juhy0987

Copy link
Copy Markdown
Member

연관 이슈


구현 내용

사용자 레벨 공통 하네스 (~/.claude/CLAUDE.md · ~/.claude/rules/02-orchestration.md · ~/.claude/agents/) 가 생겼다.
Claude Code 공식 문서는 사용자 룰과 프로젝트 룰이 충돌하면 어느 쪽을 따를지 임의 라고 명시한다 — 두 층은 같아야 한다.
규약 8 에서 하네스와 어긋나던 두 문장을 고친다.

  • .claude/rules/07-workflow.md 규약 8 "티어 → 모델 매핑" 절
    • "model 생략 시 세션 모델 상속 허용" → 서브 에이전트 모델 상한은 Opus (T1), model 은 항상 명시. Opus 로도 부족하면 상한을 올리지 않고 작업을 쪼개거나 메인이 직접
    • "역할 파일은 아직 없다" → 역할 파일은 사용자 레벨 ~/.claude/agents/<역할>.md, 프로젝트 .claude/agents/ 는 같은 이름을 덮어쓸 때만 (공식 문서: 프로젝트 쪽 우선). 하네스와 어긋나면 같은 PR 에서 맞춘다
    • 역할 군 운용 규칙: 역할명 = 파일명 = Agent 도구 subagent_type 값
    • 참고 자료에 이슈 [DOCS] 규약 8 을 사용자 레벨 하네스와 일치 — 서브 에이전트 모델 상한 Opus · 역할 파일 위치 정정 #674

CLAUDE.md 8번 요약은 모델 값을 적지 않으므로 변경 없음. 규약 8 과 하네스 02 의 중복 축소 는 하네스 설계 결정이라 범위 밖 (이슈 본문).


작업 분배 (서브 에이전트 사용 시 — 규약 8)

하위 작업 역할 티어 검수 결과
Claude Code 공식 문서에서 사용자 레벨 CLAUDE.md · rules · agents 로딩 동작과 우선순위 규칙 확인 researcher T2 (sonnet) — 외부 문서 조사라 T3 → T2 상향 보고의 인용 5건 중 결정에 쓴 "충돌 시 임의" 문장을 memory.md 원문에서 확인. 미확인 항목 (서브 에이전트 컨텍스트에 사용자 룰 포함 여부) 은 미결로 Notion 행에 기재
규약 문장 교체 · 커밋 · PR orchestrator T0 make harness-check 통과 (경고 0건)

CI / 머지 게이트 점검

CI 운영 규약 및 Required Status Checks 단일 소스에 따라 작성합니다.

변경 영향 범위

  • 영향 패키지/모듈: 규약 문서 (.claude/rules/07-workflow.md) 만. Go 코드 · 스키마 변경 없음
  • 위험도(택1): Low

Required Status Checks

  • 통과 확인 대상 (PR Checks 탭에서 확인):
    • Commit Lint
    • PR Title Lint
    • Linked Issue Check
    • Format Check
    • Build
    • Test
    • Lint
    • Harness Check — 로컬 통과 (경고 0건)

롤백 계획

  • 커밋 1개 revert. 단, 그러면 하네스 02 와 다시 어긋나므로 하네스도 같이 되돌려야 한다. Notion 행은 상태 폐기 로

TODO

  • 규약 8 · CLAUDE.md 8번과 하네스 02 의 중복 축소 — 별도 결정 후

논의 사항

  • 서브 에이전트 컨텍스트에 ~/.claude/rules/ 가 들어가는지는 공식 문서에 없다. 역할 파일들이 핵심 규칙 (커밋 금지 · 고치지 않기) 을 자체 포함하고 있어 당장 문제는 아니다

🤖 Generated with Claude Code

…/agents (이슈 #674)

- "model 생략 시 세션 모델 상속 허용" 을 "상한 Opus, model 항상 명시" 로 교체 — 공식 문서상 사용자 룰과 프로젝트 룰 충돌 시 승자가 없어 두 층을 같게 유지
- "역할 파일은 아직 없다" 를 "사용자 레벨 ~/.claude/agents 에 있고 프로젝트 .claude/agents 는 override 용" 으로 정정
- 역할명 = subagent_type 값임을 명시, 참고 자료에 이슈 #674

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 11, 2026 08:03
@juhy0987 juhy0987 added the documentation Improvements or additions to documentation label Oct 11, 2026
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 16 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4fbc6afb-174b-4b0e-a9f6-40340142995e

📥 Commits

Reviewing files that changed from the base of the PR and between acbb74e and bdcc8f1.


📒 Files selected for processing (1)
  • .claude/rules/07-workflow.md

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

모델 명시 조건과 역할 파일 범위가 이슈 요구사항 및 실제 저장소 구조와 일치하지 않습니다.

3 open findings
What changed in this PR

사용자 공통 하네스와 프로젝트의 서브 에이전트 운용 규약을 동기화하는 문서 변경입니다.

Changes:

  • 서브 에이전트 모델 상한을 Opus로 명시
  • 사용자 레벨 역할 파일 위치와 subagent_type 관계 설명
  • 관련 이슈 #674 추가
File Description
.claude/​rules/​07-workflow.md 모델 및 역할 파일 운용 규약 정정

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

같은 역할이 반복되어 정착하면 그때 파일로 고정하고, 그 파일의 `model` 은 이 표와 일치해야 한다.
파일명은 아래 역할 군 표의 영문 역할명이다
- **서브 에이전트 모델의 상한은 Opus (T1) 다.** 메인 세션의 모델이 그보다 높아도 서브 에이전트에 쓰지 않는다.
`model` 을 생략하면 상한을 넘을 수 있으므로, 역할 파일에 모델이 고정돼 있지 않은 호출은 **항상 `model` 을 명시** 한다.
코더 브리프로 분리한다 — 그래야 수정의 범위가 검수 가능하다
- 브리프 첫 줄에 역할 이름을 적고, PR "작업 분배" 표에 **역할 열** 로 남긴다
- 역할명은 영문 소문자 하나다 — 나중에 만들 `.claude/agents/<역할>.md` 의 파일명이 된다 (`coder.md` · `qa.md` …)
- 역할명은 영문 소문자 하나다 — `~/.claude/agents/<역할>.md` 의 파일명이자 Agent 도구의 `subagent_type` 값이다 (`coder` · `qa` …)
Comment on lines +448 to +449
그 파일의 `model` 은 이 표와 일치해야 한다. 공통 하네스 (`~/.claude/rules/02-orchestration.md`) 와 이 절이 어긋나면
Claude Code 는 어느 쪽을 따를지 정하지 않으므로 **둘을 같은 PR 에서 맞춘다**
@juhy0987

Copy link
Copy Markdown
Member Author

철회합니다. 같은 파일을 재구성하는 PR #673 (이슈 #672) 이 이미 열려 있고, 하네스 원칙 ("프로젝트 문서는 공통 규약을 되풀이하지 않는다") 상 본 PR 의 방향 — 규약 8 에 모델 상한 · 역할 파일 위치를 다시 서술 — 이 틀렸습니다. 모델 상한 · 역할 파일 위치의 단일 출처는 ~/.claude/rules/02-orchestration.md 이고, 프로젝트 문서는 #673 이 하네스 참조로 바꿉니다.

@juhy0987 juhy0987 closed this Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] 규약 8 을 사용자 레벨 하네스와 일치 — 서브 에이전트 모델 상한 Opus · 역할 파일 위치 정정

2 participants