피드로 돌아가기
InfoQInfoQ
AI/ML

Two-stage Classification 기반의 자율 코딩 시스템 및 안전 가드레일 설계

Inside Claude Code Auto Mode: Anthropic’s Autonomous Coding System with Human Approval Gates

Leela Kumili2026년 5월 5일3advanced

Context

기존 Claude Code의 Permission-based 모델로 인한 잦은 승인 요청과 User Friction 발생. 반복적인 확인 절차로 인해 개발 효율이 저하되는 Approval Fatigue 현상 해결 필요.

Technical Solution

  • Fast Initial Filter와 Deep Analysis의 Two-stage Classification 도입을 통한 Latency 및 Compute Cost 최적화
  • Input Layer에서 Tool Output을 사전 검사하여 Malicious Content 유입 및 Instruction Override 차단
  • Execution Layer의 Automated Approval Mechanism 설계를 통한 안전 작업 자동 승인 및 모호한 케이스의 선별적 Human-in-the-loop 구현
  • Subagent Workflow에 Outbound/Return Check를 적용하여 Task Alignment 검증 및 Runtime Prompt Injection 탐지
  • Risk Detection 시 Orchestrating Agent에게 Warning을 주입하는 계층적 안전 아키텍처 구축

- 고빈도 작업의 자동화를 위해 Fast-path와 Slow-path를 분리한 Two-stage 필터링 구조 검토 - 자율 에이전트 설계 시 작업 시작 전의 Alignment 검증과 종료 후의 History 감사 프로세스 통합 - 보안 민감도가 높은 시스템에서 Human Approval Gate의 위치를 최적화하여 사용성 저해 요소 제거

원문 읽기