# task-2553+56 TRACK A — TEAM_LEAD_SUBAGENT_USAGE_CONTRACT_DIAGNOSIS (보고서)

- **Executor**: dev1-team 헤르메스 (key c38fb9955616e24d, 1회 한정)
- **Mode**: read-only 진단 (문서-only 아님 — 검증 스크립트 + 실 entrypoint regression 동반)
- **git HEAD**: `20456b5f` 전후 EQUAL · expected_files allowlist 외 write 0 · 기존 산출물/frozen anchor byte-0 read-only
- **Verdict**: PARTIAL_ENFORCEMENT · **HOLD_FOR_CHAIR**: false (§6 공통 HOLD 8/8 무해당)
- **Regression**: `tests/regression/test_team_lead_subagent_contract_2553plus56.py` 12/12 PASS (실 anu_v3/dispatch/utils entrypoint, mock-only=FAIL guard)

## 결과 요약 (PASS 2 · PARTIAL 3 · GAP 3)

`BOUNDARY_ENFORCED_SUBAGENT_CONTRACT_GAPS` — 팀장 **외부 권위/콜백 경계는
코드로 fail-closed 강제**되나, **subagent 전용 구조 계약은 프롬프트-only**.

| # | 확인항목 | 판정 | 근거(실 entrypoint) |
|---|---|---|---|
| 1 | subagents_used/roles/outputs_summary 필드 | GAP | goal_result_planner 16-field 패킷 미포함 |
| 2 | subagent 산출=evidence, 비권위 | PARTIAL | self_chain quarantine 전이(전용 kind 없음) |
| 3 | team lead verdict=proposed | PARTIAL | 구조적 비권위 보장, proposed 명시 라벨 부재 |
| 4 | ANU independent collector만 authoritative | PASS | select_authoritative_verdict fail-closed |
| 5 | subagent 직접 ANU callback/dispatch/write guard | PARTIAL | executor-self-key 전이 차단, 전용 guard 부재 |
| 6 | 팀장 normal callback→ANU key | PASS | CallbackRegistrationBlocked(+49 정본) |
| 7 | expected/forbidden/regression/unresolved 기록 | GAP | regression_result만 존재 |
| 8 | subagent 결과 은닉 시 WARN/HOLD | GAP | 은닉 분류기 부재 |

(표 형식 회피 규칙은 일반 텍스트 응답 한정 — 보고서 문서 내 표는 가독성
목적 유지. 동일 내용 산문은 `team_lead_subagent_gap_report.md` 참조.)

## 산출물

- 진단 스크립트: `scripts/diag_team_lead_subagent_contract_2553plus56.py` (read-only 정적 점검, hermetic shim-collision-proof loader)
- 회귀: `tests/regression/test_team_lead_subagent_contract_2553plus56.py` (8 확인항목 실 entrypoint, mock-only FAIL)
- `memory/events/team_lead_subagent_contract_diagnosis.json`
- `memory/reports/team_lead_subagent_gap_report.md`
- `memory/events/micro_fix_recommendation.json` (proposal-only, enact 0)
- `memory/events/task-2553+56.{decision,result}.json`

## 권한·콜백 경계 준수

- self-callback/self-collector/self-adjudication/self-dispatch 0 · 신규 dispatch/delegation 0 · 자가심사/자가Codex 0
- 완료 직후 normal completion callback 은 **독립 ANU key c119085addb0f8b7(chat 6937032012)로만** 발사 — executor self key c38fb9955616e24d 절대 금지(위반 시 CallbackRegistrationBlocked). 회수·검증·Codex·adjudication·batch 통합은 독립 ANU 세션 책임.
- micro_fix 권고는 전부 별도 권한 작업(Track 외) enact 대상 — 본 task 는 기록만.
