Repository navigation
ci: pin agy 1.4.8, the version its installer now installs - #1738
Merged
Merged
Conversation
yansfil
added a commit
that referenced
this pull request
Oct 27, 2026
…taller (#1744) Related: #1738 ## Summary agy의 설치 스크립트는 최신 릴리스만 설치합니다. 그래서 agy가 릴리스하는 날마다 고정 버전이 CI의 agy 설치를 모두 깼습니다. 이제 CI는 설치 스크립트를 쓰지 않고, 고정한 릴리스 파일을 직접 받아 sha512를 확인한 뒤 설치합니다. 새 릴리스가 나와도 고정 버전은 그대로 설치됩니다. 고정 버전 올리기는 canary가 읽은 agy 항목(버전, 시스템별 `url`, `sha512`)을 그대로 복사하는 일이 됩니다. 스크린샷 없음: 화면 변경 없음 (CI 설치 경로만 바뀜) ## Review - **조심해서 볼 파일**: `scripts/install-agent-clis.py` `agy()` - 압축 파일에서 `antigravity`를 꺼내 `agy`로 씁니다. 설치 스크립트의 마지막 단계 `agy install`은 건너뜁니다(`--help`로 보면 셸 PATH와 alias만 고칩니다). - **조심해서 볼 파일**: `.github/workflows/agy-contract.yml` - 예전에는 그날의 최신 agy를 받았고, 이제는 고정 버전을 받습니다. 최신 버전은 매일 canary가 잽니다. - **조심해서 볼 파일**: `scripts/agent_journey/latest.py` - canary가 macOS arm64, Linux x64, Windows x64 manifest 세 개를 읽습니다. 셋의 버전이 다르거나 url/sha512가 없으면 실패합니다. - **정리**: `scripts/install-agy.sh`를 지웠습니다. 표의 `pinned` 메모와 그것을 읽던 코드도 지웠습니다. 로컬 fake journey에서 agy가 빠지는 이유는 "설치가 버전을 못 고름"에서 "API key 환경 변수가 증명되지 않음"으로 바뀌었습니다(`hide-agent-adapter/src/declarations.rs`). - **고정 버전 올리는 법**(`contracts/README.md`): `python3 scripts/agent-cli-latest.py <out.json>`이 쓴 표에서 agy 항목을 복사합니다. ## Evidence - **확인한 것**: 이전 파일을 지금도 받을 수 있습니다. 1.1.14, 1.2.12, 1.4.2, 1.4.7 파일이 HTTP 200을 답했습니다(요청 편지에서 확인한 사실). - **확인한 것**: 세 manifest(2026-10-27)의 url과 sha512를 표에 그대로 적었습니다. macOS 파일로 실제 `agy()`를 돌리면 sha512 확인을 통과하고, 설치된 `agy --version`은 `1.4.8`입니다. - **확인한 것**: `scripts/tests` 전체 655개 통과, 정책 구조 검사 7개 통과. - **확인한 것**: 테스트를 더했습니다. - 시스템 하나에 url이나 sha512가 없는 agy 항목은 거부합니다. - sha512가 다른 파일은 설치하지 않습니다. - canary가 세 시스템의 파일을 담고, 버전이 엇갈린 manifest는 거부합니다. - **확인한 것**: `agent-journey.json`은 `export_journey_contract`로 다시 만들었습니다. - **확인하지 못한 것**: Linux와 Windows의 실제 설치. 이 PR의 `agent CLIs`·`agy contract` lane이 확인합니다. macOS의 실제 설치는 nightly `lane=agy` dispatch로 확인합니다. <details><summary>Verification record</summary> </details>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agy의 설치 스크립트는 버전을 받지 않고 항상 최신 릴리스만 설치합니다.
오늘(2026-10-27) agy 1.4.8이 나오면서, agent CLI를 전부 설치하는 CI lane이 설치 단계에서
agy answered '1.4.8', agent-clis.json pins 1.4.7로 멈춥니다.이 PR은
contracts/agent-clis.json의 agy 고정 버전을 1.4.8로 올립니다.스크린샷 없음: 화면 변경 없음 (CI 고정 버전만 바뀜)
Review
1.4.4부터 1.4.8까지 다섯 번째 한 줄 PR입니다(1.4.6 10-23, 1.4.7 10-25, 1.4.8 10-27).
.../manifests/linux_amd64.json). manifest에는version, 버전이 경로에 들어간 압축 파일url(antigravity-cli/1.4.8-5447777392656384/linux-x64/...),sha512가 있습니다.url과sha512를 버전과 함께 적고,install-agent-clis.py가 Grok이나 omp의 릴리스 파일처럼 그 파일을 받아 sha512를 확인합니다. 그러면 새 릴리스가 고정 버전을 깨지 못합니다.contracts/agent-clis.json- 버전 문자열 하나. ci: pin agy 1.4.7, the version its installer now installs #1668(1.4.7)과 같은 변경입니다.Evidence
curl .../manifests/linux_amd64.json, 2026-10-27).--agents antigravity로 agy만 설치·측정한 임시 브랜치 dispatch). 그 run의 lane verdict 단계는 다른 agent를 고르지 않아서만 빨갛습니다.agent CLIslane이 Linux, Windows에서 1.4.8을 설치하고 버전 확인을 통과했습니다.Verification record