Imported from zeroslove-ai/py-all (
worker/AGENTS.md). Install upstream withnpx skills add zeroslove-ai/py-all --skill worker. Copyright stays with the author.
Worker ์ ์ฉ ๊ท์น
- Story๊ฐ ์คํธ๋ฆฌ๋ฐ๋ ๋ค์๋ DB ์ ์ฅ ๋ถ๊ฐ, turn conflict, ์๋ชป๋ structured app transaction, ๊ถํ ์๋ ์ค์ ์๋ฃ ์ํ ์ ์ฅ์ด ์๋๋ฉด HTTP 200 fail-open์ผ๋ก ์งํํ๋ค.
- ์์ ์ ๋ ฅ ์์ฐ์ด๋ฅผ ํค์๋ ์ ๊ท์์ผ๋ก ์ฑ ๋ช ๋ น์ผ๋ก ๊ฐ๋ก์ฑ์ง ์๋๋ค. ์ฑ ๋ผ์ฐํ ์ ๋ช ์์ ๋ช ๋ น ๋๋ ๊ฒ์ฆ๋ structured action๋ง ํ์ฉํ๋ค.
- Extract ์คํจ๋ ์ผ๋ฐ ํดยทํ๋ ์ด์ด ์ค์ ์์ฑยท์์ ยท์น์ธ ๋ชจ๋ degraded Commit์ผ๋ก ์ด์ด์ง๋ค.
- ๋ฏธ์๋ฃ ์๋ยท๊ฑฐ์ ยท์ค๋จยท๋ํ๋ ์๋ฃ ์ํ ๊ฒ์ฆ 422 ์ฌ์ ๊ฐ ์๋๋ค.
- ์ ํ์ ์ํ๊ฐ ๋ถ๋ช ํํ๋ฉด ์ํ patch๋ฅผ ๋ฒ๋ฆฌ๊ณ Story๋ฅผ ์ ์ฅํ๋ค.
- ์ถ๊ฐ baseline/recovery LLM ํธ์ถ์ด๋ narrative replacement ๊ฒฝ๋ก๋ฅผ ๋ง๋ค์ง ์๋๋ค.
/api/commit-turn์ ์๋ฒยท๋์ผ ํด ์ถฉ๋ยท์์์ ์ ์ฅ์ ์ ์งํ๋ค.
