한눈에 보기
먼저 eval을 선언하세요. 문제를 고친 뒤 verify를 다시 실행하세요. GREEN이 나올 때까지 반복하세요.
.artifactize/<name>.artf 파일에 각 Artifact를 선언합니다. eval에서 Artifact를 참조하려면 {api}나 {spec}처럼 이름을 중괄호로 감싸세요. 참조한 입력 중 하나라도 바뀌면 해당 eval을 다시 실행합니다.
# .artifactize/api.artf
path = "crates/api/"
[evals.tests]
title = "API tests pass"
profile = { kind = "runtime", command = "cargo", args = ["test", "--locked"] }
payload.instruction = "Run the test suite of {api}."
[evals.matches-spec]
title = "API implementation matches the specification"
profile = { kind = "agent", backend = "codex", model = "gpt-6.2-sol", reasoning = "high" }
payload.instruction = "Review {api} against {spec}. Submit GREEN only when every route matches."
$ artifactize verify --all --wait
spec/approved [run-8fK2a1-1]: GREEN (reused from run-3bX9q0)
api/tests [run-8fK2a1-2]: GREEN
api/matches-spec [run-8fK2a1-3]: GREEN
Summary: executed 2 (runtime 1, agent 1, human 0), reused 1 (human 1)