بنقرة واحدة
agent-system-update
업스트림 변경 중 안전한 것만 반영하고, 충돌 파일은 건드리지 않거나 백업 후 적용한다
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
업스트림 변경 중 안전한 것만 반영하고, 충돌 파일은 건드리지 않거나 백업 후 적용한다
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when Codex is acting as a participant in a system-agents turn-based workflow, reading chatrooms, claiming tasks, executing assigned work, or reporting turn results.
새 에이전트를 영입한다. 문답을 통해 역할을 정의하고 필요한 파일을 자동 생성한다.
설치된 system-agents 템플릿/플러그인이 업스트림과 얼마나 벌어져 있는지 요약해서 보여준다
설치된 system-agents 파일 하나를 업스트림 버전과 unified diff로 비교한다
새 에이전트를 영입한다. 문답을 통해 역할을 정의하고 필요한 파일을 자동 생성한다.
에이전트 간 채팅방의 안 읽은 메시지를 확인한다. 채팅방 이름을 인자로 받는다.
| name | agent-system-update |
| description | 업스트림 변경 중 안전한 것만 반영하고, 충돌 파일은 건드리지 않거나 백업 후 적용한다 |
/agent-system-update 명령이 수행하는 작업.
인자 없이 호출하면 아무것도 쓰지 않고 계획만 출력한다.
python bot/agent_system_updater.py update
출력 예:
Planned safe updates (3):
bot/turn-bot.py
skills/check-chatroom/SKILL.md
bot/discord_lib/storage.py
⚠ 1 user-modified files ALSO changed upstream:
agents/recruiter/CLAUDE.md
These are SKIPPED. Inspect them with `... diff <path>` and
re-run with --include-conflicts to adopt upstream anyway.
Dry-run only. Re-run with --apply to make the changes.
--apply안전한 업데이트만(= untouched + upstream-changed) 실제로 덮어쓴다. 사용자가 수정한 파일(user-modified)은 기본적으로 건드리지 않는다.
python bot/agent_system_updater.py update --apply
template.sha, plugins[].sha 필드도 현재 업스트림 값으로 전진--include-conflicts사용자가 수정했는데 업스트림도 바뀐 파일을 강제로 업스트림으로 맞추고 싶으면:
python bot/agent_system_updater.py update --apply --include-conflicts
각 충돌 파일은 덮어쓰기 전 <file>.bak.<unix-ts> 로 백업된다. 나중에 복구하거나 수동 병합 기준으로 쓸 수 있다.
local=untouched + upstream=changed — 내가 건드리지 않았고 업스트림만 바뀜. 충돌 없이 교체.local=user-modified + upstream=changed — 양쪽 다 바뀜. --include-conflicts가 있어야만 적용.same 또는 user-modified+unchanged. 조용히 넘김.update가 건드리지 않음 (향후 --restore-missing 옵션 고려).1. manifest + 업스트림 clone
2. compare() 로 diff 리스트 생성
3. dry-run: 계획만 출력
4. --apply: 안전한 항목 적용 + 매니페스트 sha 갱신
5. --include-conflicts: 위에 + 충돌 항목도 .bak 백업 후 덮어쓰기
/agent-system-diff로 내용을 본 뒤 사용자가 수동으로 해결.upstream=removed 항목은 현재 리포트만 하고 로컬 파일을 지우진 않음. 중요한 파일을 실수로 잃을 위험을 피하기 위함.shutil.copy2만 사용. 대다수 프로젝트에 충분.git, Python 3.10+ (stdlib만)manifest not found — install.sh로 먼저 설치한 적이 없는 프로젝트.failed to clone ... — 네트워크 또는 레포 URL 변경.