# task-2772+1 — task-2772 PR 생성 전용 (guard-native push, 코드 0)

## 목표 (PR 생성만 — 새 구현 절대 금지)
task-2772 인지검증 통합 구현은 **이미 완료**(branch `task/task-2772-dev1`, commit `7d685705`, .done 존재). 이 작업은 **그 기존 commit을 PR로 올리는 것만** 한다.
- ★ **새 코드 commit 0** · **새 diff 0** · 기존 commit 7d685705 그대로.
- 목적 = **push + `gh pr create`** 뿐.
- ANU 직접 push 가 canonical main 차단 + runtime lock 경로 불일치로 막혀 dev봇 guard-native 로 재위임됨.

## 절차 (정식 guard-native — 우회 절대 금지)
```text
1. 정식 guard-native 경로로 worktree+lock 을 정상 생성(start_task_guard). 기존 branch task/task-2772-dev1 재사용.
   - branch 이미 존재(HEAD 7d685705). 새 branch 만들지 말 것.
2. 기존 commit 7d685705 유지. ★새 commit 금지. 파일 수정 금지(이미 구현 완료).
3. push origin task/task-2772-dev1 (정식 worktree+lock 으로 pre-push hook 정상 통과).
4. gh pr create --base main --head task/task-2772-dev1 (본문 아래).
5. PR 번호/URL 확인 후 report. CI/Gemini polling 0 (ANU 가 독립 검증).
```

## ★ 절대 금지 (회장 verbatim)
```text
수기 lock 복사 · hook 우회 · git push --no-verify · canonical main 을 task branch 로 checkout 후 push ·
새 구현 commit · 7d685705 외 추가 코드 commit · expected_files 2개 밖 diff · 파일 수정 ·
finish-task.sh/git_evidence.py/conftest.py 수정 · output-style 채널 신설 · 자동 merge.
```

## expected_files (PR diff = 정확히 2개, 새 diff 0)
```text
prompts/team_prompts.py
tests/test_team_prompts.py
```

## PR 본문 (필수 내용)
```text
제목: [task-2772] dev봇 인지검증 레이어 통합 (build_prompt, append-only)
본문:
- VFF 원리 추출 → _build_verification_section(절차 검증) 뒤에 인지검증 블록 append-only(56 insertions/0 deletions).
- 모든 레벨(normal/critical/security) 공통 적용. 기존 절차 검증(QC/게이트/Codex/sanitize) 무훼손.
- 회귀 테스트 6종 추가, 153 tests PASS. 인지검증 블록 551자(비대화 안전).
- 회장 승인: VFF_COGNITIVE_VERIFICATION_CORE_INTEGRATION_APPROVED_ACTIVE_FALSE. ACTIVE=false·enforcement 무관(프롬프트 규율).
- ★ verification note: tests/conftest.py 의 sys.path pinning 으로 detached worktree 검증이 거짓 실패할 수 있음(defect 아님·검증 환경 artifact).
- follow-up(이번 PR 미포함): git_evidence.py 가 PROJECT_PATH=WORKSPACE 로 canonical 을 worktree 로 오인하는 env_var 문제 = 별도 backlog.
- merge_policy=manual. merge 미승인(OWNER 최종 게이트 후).
```

## STOP 조건 (하나라도 → STOP_REPORT)
```text
기존 commit 7d685705 외 추가 코드 commit 필요 · expected_files 2개 밖 diff 발생 · 우회(--no-verify/수기lock/canonical checkout)가 필요해지는 경우 ·
PR 생성 후 CI 실패 · P0-B/activation/callback/runner/systemd 관련 변화 감지 · push 가 정식 guard 경로로도 안 되는 경우.
```

## 보고 (ANU callback envelope + report)
```text
PR 번호/URL · push 성공 여부 · PR diff = expected_files 2개 확인 · 기존 commit 7d685705 유지(새 commit 0) ·
사용한 guard 경로(worktree+lock) · 우회 0 증거 · CI 초기 상태 1회 · ACTIVE=false 유지.
```

## allowed_resources
```yaml
allowed_resources:
  paths:
    - "prompts/team_prompts.py"
    - "tests/test_team_prompts.py"
  forbidden_paths:
    - "dispatch/**"
    - "scripts/finish-task.sh"
    - "scripts/git_evidence.py"
    - "tests/conftest.py"
    - "memory/state/automation_capability_matrix.json"
    - ".claude/output-styles/**"
    - ".env*"
  commands:
    - "git"
    - "gh"
    - "python3"
  merge_policy: "manual"
  ttl_hours: 12
```