docs(debug): wire run_tests MCP tool into /ait debug skill#247
Open
DaveDev42 wants to merge 1 commit into
Open
docs(debug): wire run_tests MCP tool into /ait debug skill#247DaveDev42 wants to merge 1 commit into
DaveDev42 wants to merge 1 commit into
Conversation
devtools 폰 테스트러너 트릴로지(#644/#645/#646)에서 추가된 `run_tests` MCP
도구를 `/ait debug` skill에 반영한다.
- §5-D 도구 테이블: `run_tests` 행 추가 — attach 의존 도구 12종 → 13종.
환경 2(relay-sandbox)에서 SDK가 mock임을 명시(call_sdk/evaluate와 동일 원칙).
- §5-E 신규 섹션: `run_tests` 사용 흐름(files/projectRoot/timeout_ms/confirm
인자 설명, 환경 4 LIVE confirm 게이트, single-attach 모델 재사용 설명,
환경 2 mock-SDK caveat, 로그에 카운트만 포함).
- "다음 단계" seam: attach 후 *.phone.test.ts가 있으면 run_tests로 실행하는
분기 추가.
- 카운트 일관성: "나머지 12종" / "5-D의 12종" / "12종이 동적 등록" 참조를
모두 13종으로 업데이트. 패널 탭 수("12개 탭")는 무관하므로 유지.
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.
배경
@ait-co/devtoolsrepo에 폰 테스트러너 트릴로지(#644/#645/#646)가 머지됐다. 에이전트 진입점은 새 MCP 도구 **run_tests**로, 이미 attach된 실기기 WebView 위에서 미니앱의*.phone.test.ts파일을 Vitest 스타일로 실행하고 파일별 pass/fail/skip 결과를 반환한다.이 PR은 그 도구를
/ait debugskill(shared/skills/debug/SKILL.md)에 반영하는 agent-plugin 반쪽이다.sdk-example의 테스트 파일 작성은 별도 PR로 분리된다.변경 내역
§5-D 도구 테이블 (
attach 의존 도구)run_tests행 추가 (attach 의존 도구 12종 → 13종)call_sdk/evaluate와 동일 규칙§5-E 신규 섹션: 실기기 테스트 실행
run_tests인자 설명:files(필수),projectRoot,timeout_ms(기본 30000ms),confirmconfirm: true게이트: 테스트가 실 SDK를 호출해 LIVE 번들에 부작용을 낼 수 있으므로,call_sdk/evaluate의 LIVE guard와 동일한 원칙 적용"다음 단계" seam
*.phone.test.ts가 있으면run_tests로 실행하는 분기 추가 (§1.3 next-station seam 요건 충족)카운트 일관성
검증
node scripts/validate-plugin.mjs— 에러 0, 경고 1(링크 liveness 스킵, 기본 동작)관련
커뮤니티 오픈소스 프로젝트입니다.