1.5 KiB
1.5 KiB
| name | description |
|---|---|
| sync-push | 현재 프로젝트의 agent-ops를 agentic-framework로 올린다. "agent-ops 싱크해", "agent-ops 동기화해", "agentic-framework에 올려줘" 요청 시 사용한다. |
sync-push
목적
agent-ops/bin/sync.sh를 호출해 현재 프로젝트 → agentic-framework 방향으로 agent-ops를 올린다.
언제 호출할지
- "agent-ops 싱크해", "agent-ops 동기화해" 요청 시
- "agentic-framework에 올려줘" 요청 시
- "agent-ops를 [프로젝트]로 싱크해" 요청 시
실행 절차
현 프로젝트가 일반 프로젝트인 경우 (.agent-ops-source 없음)
- 동일 레벨에
agentic-framework폴더가 있는지 확인한다 - 있으면:
agent-ops/bin/sync.sh agentic-framework실행 - 없으면: 사용자에게 agentic-framework 경로 입력을 안내하고, 입력받은 경로로 실행
현 프로젝트가 agentic-framework인 경우 (.agent-ops-source 있음)
- 사용자 요청에서 target 프로젝트명 또는 경로를 추출한다
- 명시된 경우:
agent-ops/bin/sync.sh <target>실행 - 명시되지 않은 경우: 사용자에게 대상 프로젝트 입력을 요청한다
agent-ops/bin/sync.sh <target>
실행 결과 검증
- sync.sh 가 오류 없이 완료됐는가
- 버전 충돌 경고가 없었는가 — 있었다면 사용자에게 수동 머지 필요함을 알린다
금지 사항
- sync.sh 를 거치지 않고 직접 파일을 복사하지 않는다