node cli/pipeline.mjs status --project <path>
node cli/pipeline.mjs next --project <path> [--agent-output <file>]
node cli/pipeline.mjs check-gate G1 --project <path>
서브명령
설명
status
현재 프로젝트의 G1~G4 게이트 상태 출력
next
다음 수행할 스텝 추천
check-gate <G1~G4>
특정 게이트 통과 조건 확인
5. Governance 스크립트 (governance/)
언제 필요한가: 팀 프로젝트에서 AI 3-Agent 크로스 검증을 실제로 실행할 때. 일반 개발 작업에서는 sync.mjs만으로 충분하며 이 스크립트들은 선택적.
초기화 및 검증
# 기존 프로젝트에 거버넌스 설정 파일 생성 (sync.mjs의 수동 대안)
node governance/scripts/init.mjs --target <프로젝트 경로> [--preset solo|small-team|medium-team|large-team] [--dry-run]
# .ai-governance/config.yaml 구조 유효성 검증
node governance/scripts/validate.mjs [--target <프로젝트 경로>]
# 거버넌스 설정 파일 상태 헬스체크 (LLM 호출 없음)
node governance/scripts/gate-health-check.mjs [project-path]
신뢰 점수 및 평가
# 에이전트 누적 신뢰도 점수 계산
node governance/scripts/trust-score.mjs [--project <name>] [--since <YYYY-MM-DD>]
# governance 검증을 테스트 케이스로 실행
node governance/scripts/eval-runner.mjs [--dry-run]
크로스 검증 오케스트레이터 (핵심)
# AI 3-Agent Round 크로스 검증 실행
node governance/orchestrator/index.mjs \
--target <project> \
--diff <diff-file> \
[--rounds 3] \
[--output json|text] \
[--verbose]
옵션
설명
--target
검증 대상 프로젝트 경로
--diff
검증할 diff 파일 경로
--rounds
검증 라운드 수 (기본: 3)
--output
출력 형식 — json 또는 text
이 명령은 .ai-governance/config.yaml과 .ai-governance/agents.yaml이 있어야 실행 가능. 없으면 먼저 init.mjs 또는 sync.mjs --apply로 설정 파일을 생성할 것.