oto/agent-test/local/agent-smoke.md
toki 4f26df99c3 feat(agent): 부트스트랩 명령 발급을 추가한다
OTO Server에서 runner 설치 명령과 bootstrap script를 제공해야 하므로 서버 endpoint, runner proto, bootstrap config naming, smoke 검증을 함께 정리한다.
2026-06-05 20:53:41 +09:00

82 lines
1.9 KiB
Markdown

---
test_env: local
test_profile: agent-smoke
domain: agent
verification_type: smoke
last_rule_updated_at: 2026-06-05
---
# agent-smoke local 테스트
## 읽기 조건
- `lib/oto/agent/**`, `lib/cli/commands/command_agent.dart`, 또는 `assets/script/shell/oto_agent_bootstrap.sh` 변경 검증이 필요한 경우
## 적용 범위
- OTO agent 등록/설정/CLI/bootstrap smoke 경로
- legacy iop smoke는 별도 iop 쪽 OTO 제거 작업의 검증 대상이며, 이 OTO 독립 마이그레이션 agent-smoke 필수 검증에서는 제외한다.
## 분류
- domain: agent
- verification_type: smoke
- scope: OTO agent 로컬 동작과 기존 smoke test
## 환경
- host:
- port:
- runtime: Dart SDK
- package manager: dart pub
- docker:
- external service: 없음
- model endpoint:
- credential:
## 명령
- setup: `dart pub get`
- lint: `dart analyze`
- unit: `dart test test/oto_agent_migration_plan_test.dart test/oto_agent_bootstrap_script_test.dart test/oto_agent_cli_test.dart test/oto_agent_config_test.dart test/oto_agent_registration_test.dart test/oto_server_connection_smoke_test.dart`
- smoke:
- e2e:
- model:
- full-cycle:
## 필수 검증
- agent 도메인 변경 후 `dart analyze`를 실행한다.
- agent 도메인 변경 후 agent 관련 `dart test` 명령을 실행한다.
## 보조 검증
- 전체 회귀가 필요한 경우 `dart test`를 실행한다.
## 판정 기준
- `dart analyze`가 issue 없이 종료한다.
- 지정한 `dart test`가 모두 통과한다.
## 기준 출력 예시
```text
No issues found!
All tests passed!
```
## 차단 기준
- Dart SDK 또는 path dependency가 없어 `dart pub get`, `dart analyze`, `dart test`를 시작할 수 없는 경우
## 보고 항목
- 실행한 명령:
- 성공한 검증:
- 실패/차단된 검증:
- 생략 사유:
- 남은 위험:
## 금지 사항
- 외부 iop endpoint, secret, token 원문을 테스트 규칙이나 tracked 문서에 기록하지 않는다.