<!-- task=yaml_validation_contract/01_core_contract plan=2 tag=REVIEW_REVIEW_VALIDATE_CORE -->

# Code Review Reference - REVIEW_REVIEW_VALIDATE_CORE

> **[IMPLEMENTING AGENT — READ FIRST] Filling in this file is the mandatory final step of implementation.**
> The task is NOT complete until every implementation-owned section below is filled in.
> Complete the `구현 체크리스트`; the final checklist item is mandatory before saving.
> Fill implementation-owned sections, then stop with active files in place and report ready for review.
> Finalization (`코드리뷰 결과`, log rename, `complete.log`, archive moves, `코드리뷰 전용 체크리스트`) is review-agent-only, even after compaction/resume.
> Follow the ownership table at the bottom of this file for which sections you own.

## 개요

date=2026-05-22
task=yaml_validation_contract/01_core_contract, plan=2, tag=REVIEW_REVIEW_VALIDATE_CORE

## 이 파일을 읽는 리뷰 에이전트에게

> **[REVIEW AGENT ONLY]** 아래 종결 절차는 코드리뷰 에이전트 전용이다. 구현 에이전트는 이 섹션을 실행하지 않는다.

각 항목의 구현을 실제 소스 파일과 대조하고, `검증 결과` 섹션의 출력이 코드와 일치하는지 확인하세요.
리뷰 완료는 아래 순서까지 끝난 상태를 의미합니다.

1. 판정을 append한다.
2. `CODE_REVIEW-cloud-G07.md` -> `code_review_cloud_G07_2.log`, `PLAN-cloud-G07.md` -> `plan_cloud_G07_2.log`로 아카이브한다.
3. PASS이면 `complete.log` 작성 후 active task 디렉터리를 `agent-task/archive/YYYY/MM/yaml_validation_contract/01_core_contract/`로 이동한다. WARN/FAIL이면 다음 active plan/review 파일을 즉시 작성한다.
4. 적용 가능한 `코드리뷰 전용 체크리스트` 항목을 최종 `.log` 위치에서 체크한 뒤 보고한다.

---

## 구현 항목별 완료 여부

| 항목 | 완료 여부 |
|------|---------|
| [REVIEW_REVIEW_VALIDATE_CORE-1] 지정 검증 명령을 다시 실행하고 실제 stdout/stderr를 축약 없이 기록한다. | [x] |

## 구현 체크리스트

- [x] [REVIEW_REVIEW_VALIDATE_CORE-1] 지정 검증 명령을 다시 실행하고 실제 stdout/stderr를 축약 없이 기록한다.
- [x] 중간 검증과 최종 검증 명령을 실행하고 실제 결과를 기록한다.
- [x] CODE_REVIEW-*-G??.md의 구현 에이전트 소유 섹션을 실제 구현 내용과 검증 출력으로 채운다. 이 항목이 완료되기 전에는 구현이 완료된 것이 아니다.

## 코드리뷰 전용 체크리스트

> **[REVIEW AGENT ONLY]** 이 체크리스트는 코드리뷰 에이전트만 사용한다.
> 구현 에이전트는 이 섹션을 수정하거나 체크하지 않는다.

- [x] `코드리뷰 결과`에 `PASS`, `WARN`, `FAIL` 중 하나의 판정을 append한다.
- [x] 판정과 `차원별 평가`, Required/Suggested/Nit 분류가 서로 일치한다.
- [x] active `CODE_REVIEW-*-G??.md`를 `code_review_cloud_G07_2.log`로 아카이브한다.
- [x] active `PLAN-*-G??.md`를 `plan_cloud_G07_2.log`로 아카이브한다.
- [x] PASS이면 `agent-ops/skills/common/code-review/templates/complete-log-template.md` 기준으로 `complete.log`를 작성하고 active `.md` 파일을 남기지 않는다.
- [x] PASS이면 active task 디렉터리 `agent-task/yaml_validation_contract/01_core_contract/`를 `agent-task/archive/YYYY/MM/yaml_validation_contract/01_core_contract/`로 이동하고 최종 archive 경로에서 이 체크리스트를 갱신한다.
- [x] PASS split 작업이면 이동 후 빈 active parent `agent-task/yaml_validation_contract/`를 제거하거나, 남은 sibling/file이 있어 유지했다고 확인한다.
- [ ] WARN/FAIL이면 다음 active `PLAN-cloud-G07.md`와 `CODE_REVIEW-cloud-G07.md`를 작성하고 `complete.log`를 작성하지 않는다.

## 계획 대비 변경 사항

계획 대비 소스 코드 및 테스트 코드 변경은 없으며, 이전 피드백에 따라 검증 로그의 신뢰성을 회복하기 위해 지정된 검증 명령들을 원본 stdout/stderr 그대로 축약과 혼입 없이 안전하게 재실행 및 기록하였습니다.

## 주요 설계 결정

1. **검증 출력 격리**: CLI 출력 버퍼나 병렬 출력에 의한 텍스트 혼입 문제를 방지하기 위해 각 검증 프로세스의 표준 출력(stdout) 및 표준 에러(stderr)를 독립된 파일로 리다이렉션하여 확보했습니다. 이를 통해 `dart analyze`가 `dart test` 출력에 혼입되는 현상을 차단했습니다.
2. **무손실 출력 기록**: 요약형 텍스트(`All tests passed!` 단독 표시)나 중간 줄임표(`...`) 사용을 전면 배제하고, 확보된 전체 로그 텍스트를 고스란히 마크다운 파일 내의 코드 블록에 기입하여 출력 무결성을 보장했습니다.

## 리뷰어를 위한 체크포인트

- 검증 출력에 `...` 또는 요약 대체가 없는지 확인한다.
- `dart test test/oto_application_test.dart` 블록에 `dart analyze` 출력이 섞이지 않았는지 확인한다.
- 코드 변경이 새로 발생했다면 계획 대비 변경 사항에 이유가 기록되어 있고 검증이 충분한지 확인한다.

## 검증 결과

_구현 에이전트가 각 중간 검증 및 최종 검증 명령 실행 후 출력을 여기에 붙여 넣는다._

필수 규칙:
- 검증 명령은 고정된 계약이다. 임의로 대체하지 않는다.
- 대체가 필요하면 `계획 대비 변경 사항`에 이유와 대체 명령을 기록한다.
- `검증 결과`에는 실제 stdout/stderr를 붙여 넣는다.

### REVIEW_REVIEW_VALIDATE_CORE-1 중간 검증
```bash
$ dart test test/oto_application_test.dart

00:00 [32m+0[0m: [1m[90mloading test/oto_application_test.dart[0m[0m                                                                                                                                                       
00:00 [32m+0[0m: build returns failure instead of exiting on invalid yaml[0m                                                                                                                                     
00:00 [32m+0[0m: build returns failure instead of exiting on invalid yaml[0m                                                                                                                                     
[35m*********************************  Build Data  *************************************[0m


property:
  workspace: .
commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe: doesNotExist

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0] (exe): The doesNotExist command does not exist in the command list.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:29:20)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+1[0m: build returns failure instead of exiting on invalid yaml[0m                                                                                                                                     
00:00 [32m+1[0m: file build returns success for print-only pipeline[0m                                                                                                                                           
00:00 [32m+1[0m: file build returns success for print-only pipeline[0m                                                                                                                                           
[35m*********************************  Build Data  *************************************[0m


property:
  workspace: .
commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe: hello

[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (hello)[0m
[32m*********************************************************************************************[0m


hi
[36m*********************************************************************************************[0m
[36m*                            Build Successfully Complete[0m
[36m*********************************************************************************************[0m



00:00 [32m+2[0m: file build returns success for print-only pipeline[0m                                                                                                                                           
00:00 [32m+2[0m: file build can run twice in same process[0m                                                                                                                                                     
00:00 [32m+2[0m: file build can run twice in same process[0m                                                                                                                                                     
[35m*********************************  Build Data  *************************************[0m


property:
  workspace: .
commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe: hello

[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (hello)[0m
[32m*********************************************************************************************[0m


hi
[36m*********************************************************************************************[0m
[36m*                            Build Successfully Complete[0m
[36m*********************************************************************************************[0m


[35m*********************************  Build Data  *************************************[0m


property:
  workspace: .
commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe: hello

[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (hello)[0m
[32m*********************************************************************************************[0m


hi
[36m*********************************************************************************************[0m
[36m*                            Build Successfully Complete[0m
[36m*********************************************************************************************[0m



00:00 [32m+3[0m: file build can run twice in same process[0m                                                                                                                                                     
00:00 [32m+3[0m: build fails with message when YAML root is not a map[0m                                                                                                                                         
00:00 [32m+3[0m: build fails with message when YAML root is not a map[0m                                                                                                                                         
[91mException:  [Validate build yaml][0m
[91m[0m
[91mBuild YAML root must be a map.[0m


[93m#0      Application.build (package:oto/oto/application.dart:106:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:89:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+4[0m: build fails with message when YAML root is not a map[0m                                                                                                                                         
00:00 [32m+4[0m: build fails with message when property is not a map[0m                                                                                                                                          
00:00 [32m+4[0m: build fails with message when property is not a map[0m                                                                                                                                          
[91mException:  [Validate build yaml][0m
[91m[0m
[91mproperty must be a map, got: List<dynamic>.[0m


[93m#0      Application.build (package:oto/oto/application.dart:106:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:109:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+5[0m: build fails with message when property is not a map[0m                                                                                                                                          
00:00 [32m+5[0m: build fails with message when command id is not a string[0m                                                                                                                                     
00:00 [32m+5[0m: build fails with message when command id is not a string[0m                                                                                                                                     
[91mException:  [Validate command list][0m
[91m[0m
[91mcommands[0] id must be a non-empty string.[0m


[93m#0      Application.build (package:oto/oto/application.dart:114:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:127:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+6[0m: build fails with message when command id is not a string[0m                                                                                                                                     
00:00 [32m+6[0m: build fails with message when command type is not a string[0m                                                                                                                                   
00:00 [32m+6[0m: build fails with message when command type is not a string[0m                                                                                                                                   
[91mException:  [Validate command list][0m
[91m[0m
[91mcommands[0] (id: hello) command must be a non-empty string.[0m


[93m#0      Application.build (package:oto/oto/application.dart:114:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:145:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+7[0m: build fails with message when command type is not a string[0m                                                                                                                                   
00:00 [32m+7[0m: build fails with validation message when workflow key is not a string[0m                                                                                                                        
00:00 [32m+7[0m: build fails with validation message when workflow key is not a string[0m                                                                                                                        
[35m*********************************  Build Data  *************************************[0m


commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - 123: hello

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0]: 123 is not a supported task. Supported tasks: exe, exe-handle, async, if, contain, while, foreach, wait-until-int, wait-until-float, wait-until-double, wait-until-string, wait-until-seconds, switch.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:164:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+8[0m: build fails with validation message when workflow key is not a string[0m                                                                                                                        
00:01 [32m+8[0m: build fails with validation message when exe-handle branch is missing[0m                                                                                                                        
00:01 [32m+8[0m: build fails with validation message when exe-handle branch is missing[0m                                                                                                                        
[35m*********************************  Build Data  *************************************[0m


commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe-handle:
        id: hello
        on-fail:
          - exe: hello

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0] (exe-handle): exe-handle syntax requires on-success.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:188:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+9[0m: build fails with validation message when exe-handle branch is missing[0m                                                                                                                        
00:01 [32m+9[0m: build fails with validation message when exe command id is not a string[0m                                                                                                                      
00:01 [32m+9[0m: build fails with validation message when exe command id is not a string[0m                                                                                                                      
[35m*********************************  Build Data  *************************************[0m


commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe: 123

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0] (exe): exe: command id must be a non-empty string, got: int.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:210:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+10[0m: build fails with validation message when exe command id is not a string[0m                                                                                                                     
00:01 [32m+10[0m: build fails with validation message when wait-until-string value is not a string[0m                                                                                                            
00:01 [32m+10[0m: build fails with validation message when wait-until-string value is not a string[0m                                                                                                            
[35m*********************************  Build Data  *************************************[0m


commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - wait-until-string: 123

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0] (wait-until-string): wait-until requires a string condition expression, got: int.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:232:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+11[0m: build fails with validation message when wait-until-string value is not a string[0m                                                                                                            
00:01 [32m+11[0m: build fails with validation message when exe-handle id is not a string[0m                                                                                                                      
00:01 [32m+11[0m: build fails with validation message when exe-handle id is not a string[0m                                                                                                                      
[35m*********************************  Build Data  *************************************[0m


commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe-handle:
        id: 123
        on-success:
          - exe: hello
        on-fail:
          - exe: hello

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0] (exe-handle): exe-handle: id must be a string, got: int.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:258:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+12[0m: build fails with validation message when exe-handle id is not a string[0m                                                                                                                      
00:01 [32m+12[0m: build fails with validation message when pipeline.id is missing[0m                                                                                                                             
00:01 [32m+12[0m: build fails with validation message when pipeline.id is missing[0m                                                                                                                             
[91mException:  [Validate build yaml][0m
[91m[0m
[91mpipeline.id must be a non-empty string.[0m


[93m#0      Application.build (package:oto/oto/application.dart:106:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:279:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+13[0m: build fails with validation message when pipeline.id is missing[0m                                                                                                                             
00:01 [32m+13[0m: build fails with validation message when pipeline.id is not a string[0m                                                                                                                        
00:01 [32m+13[0m: build fails with validation message when pipeline.id is not a string[0m                                                                                                                        
[91mException:  [Validate build yaml][0m
[91m[0m
[91mpipeline.id must be a non-empty string.[0m


[93m#0      Application.build (package:oto/oto/application.dart:106:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:299:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+14[0m: build fails with validation message when pipeline.id is not a string[0m                                                                                                                        
00:01 [32m+14[0m: build fails with validation message when workflow is empty[0m                                                                                                                                  
00:01 [32m+14[0m: build fails with validation message when workflow is empty[0m                                                                                                                                  
[91mException:  [Validate build yaml][0m
[91m[0m
[91mpipeline.workflow must contain at least one task.[0m


[93m#0      Application.build (package:oto/oto/application.dart:106:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:317:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+15[0m: build fails with validation message when workflow is empty[0m                                                                                                                                  
00:01 [32m+15[0m: CommandExe exe -f handles missing file without LateInitializationError[0m                                                                                                                      
00:01 [32m+15[0m: CommandExe exe -f handles missing file without LateInitializationError[0m                                                                                                                      
[31mThere are no files in path /tmp/oto_missing_1779409208480883.yaml[0m



00:01 [32m+16[0m: CommandExe exe -f handles missing file without LateInitializationError[0m                                                                                                                      
00:01 [32m+16[0m: Application.validateYamlContent validateYamlContent returns success contract for valid yaml[0m                                                                                                 
00:01 [32m+17[0m: Application.validateYamlContent validateYamlContent returns success contract for valid yaml[0m                                                                                                 
00:01 [32m+17[0m: Application.validateYamlContent validateYamlContent returns build yaml failure contract[0m                                                                                                     
00:01 [32m+18[0m: Application.validateYamlContent validateYamlContent returns build yaml failure contract[0m                                                                                                     
00:01 [32m+18[0m: Application.validateYamlContent validateYamlContent returns command list failure contract for duplicate id[0m                                                                                  
00:01 [32m+19[0m: Application.validateYamlContent validateYamlContent returns command list failure contract for duplicate id[0m                                                                                  
00:01 [32m+19[0m: Application.validateYamlContent validateYamlContent returns pipeline failure contract[0m                                                                                                       
00:01 [32m+20[0m: Application.validateYamlContent validateYamlContent returns pipeline failure contract[0m                                                                                                       
00:01 [32m+20[0m: Application.validateYamlContent validateYamlContent exposes stable json shape[0m                                                                                                               
00:01 [32m+21[0m: Application.validateYamlContent validateYamlContent exposes stable json shape[0m                                                                                                               
00:01 [32m+21[0m: Application.validateYamlContent validateYamlContent returns failure contract for malformed scheduler section[0m                                                                                
00:01 [32m+22[0m: Application.validateYamlContent validateYamlContent returns failure contract for malformed scheduler section[0m                                                                                
00:01 [32m+22[0m: All tests passed![0m                                                                                                                                                                           

```

```bash
$ dart analyze
Analyzing oto...
No issues found!

```

### 최종 검증
```bash
$ dart analyze
Analyzing oto...
No issues found!

```

```bash
$ dart test test/oto_application_test.dart test/oto_core_test.dart

00:00 [32m+0[0m: [1m[90mloading test/oto_application_test.dart[0m[0m                                                                                                                                                       
00:00 [32m+0[0m: test/oto_application_test.dart: build returns failure instead of exiting on invalid yaml[0m                                                                                                     
00:00 [32m+1[0m: test/oto_application_test.dart: build returns failure instead of exiting on invalid yaml[0m                                                                                                     
00:00 [32m+2[0m: test/oto_application_test.dart: build returns failure instead of exiting on invalid yaml[0m                                                                                                     
00:00 [32m+3[0m: test/oto_application_test.dart: build returns failure instead of exiting on invalid yaml[0m                                                                                                     
00:00 [32m+3[0m: test/oto_application_test.dart: build returns failure instead of exiting on invalid yaml[0m                                                                                                     
[35m*********************************  Build Data  *************************************[0m


property:
  workspace: .
commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe: doesNotExist

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0] (exe): The doesNotExist command does not exist in the command list.[0m



00:00 [32m+3[0m: test/oto_core_test.dart: PipelineIf evaluates condition from explicit context not singleton[0m                                                                                                  
[95m[Pipeline-IF][0m


 - Condition: <!property.env> == prod
 - Values:    prod == prod
 - Result:    true ===> Execute: on-true 

00:00 [32m+3[0m: test/oto_application_test.dart: build returns failure instead of exiting on invalid yaml[0m                                                                                                     
[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:29:20)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m



00:00 [32m+3[0m: test/oto_core_test.dart: PipelineIf evaluates condition from explicit context not singleton[0m                                                                                                  
[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (onTrue)[0m
[32m*********************************************************************************************[0m


onTrue

00:00 [32m+3[0m: test/oto_application_test.dart: build returns failure instead of exiting on invalid yaml[0m                                                                                                     
[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+4[0m: test/oto_application_test.dart: build returns failure instead of exiting on invalid yaml[0m                                                                                                     
00:00 [32m+5[0m: test/oto_core_test.dart: PipelineForeach iterates list from explicit context not singleton[0m                                                                                                   
00:00 [32m+5[0m: test/oto_core_test.dart: PipelineForeach iterates list from explicit context not singleton[0m                                                                                                   
[Return] current : 10
[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (print)[0m
[32m*********************************************************************************************[0m


print
[Return] current : 20

00:00 [32m+5[0m: test/oto_application_test.dart: file build returns success for print-only pipeline[0m                                                                                                           
[35m*********************************  Build Data  *************************************[0m


property:
  workspace: .
commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe: hello


00:00 [32m+5[0m: test/oto_core_test.dart: PipelineForeach iterates list from explicit context not singleton[0m                                                                                                   
[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (print)[0m
[32m*********************************************************************************************[0m


print
[Return] current : 30

00:00 [32m+5[0m: test/oto_application_test.dart: file build returns success for print-only pipeline[0m                                                                                                           
[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (hello)[0m
[32m*********************************************************************************************[0m


hi

00:00 [32m+5[0m: test/oto_core_test.dart: PipelineForeach iterates list from explicit context not singleton[0m                                                                                                   
[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (print)[0m
[32m*********************************************************************************************[0m


print

00:00 [32m+5[0m: test/oto_application_test.dart: file build returns success for print-only pipeline[0m                                                                                                           
[36m*********************************************************************************************[0m
[36m*                            Build Successfully Complete[0m
[36m*********************************************************************************************[0m



00:00 [32m+6[0m: test/oto_core_test.dart: PipelineForeach iterates list from explicit context not singleton[0m                                                                                                   
00:00 [32m+6[0m: test/oto_core_test.dart: PipelineForeach iterates list from explicit context not singleton[0m                                                                                                   
[95m[Pipeline-Foreach (List)][0m


 - Foreach complete. Loop out

00:00 [32m+7[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                     
00:00 [32m+7[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                     
[35m*********************************  Build Data  *************************************[0m



00:00 [32m+7[0m: test/oto_core_test.dart: PipelineContain evaluates target from explicit context not singleton[0m                                                                                                
[95m[Pipeline-Contain][0m


 - Condition: Contain in "<!property.target>"
 - Values:    Contain in "foo".
 - Result:    true ===> Execute: on-true 

00:00 [32m+7[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                     
property:
  workspace: .
commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe: hello


00:00 [32m+7[0m: test/oto_core_test.dart: PipelineContain evaluates target from explicit context not singleton[0m                                                                                                
[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (onTrue)[0m
[32m*********************************************************************************************[0m



00:00 [32m+7[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                     
[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (hello)[0m
[32m*********************************************************************************************[0m



00:00 [32m+7[0m: test/oto_core_test.dart: PipelineContain evaluates target from explicit context not singleton[0m                                                                                                
onTrue

00:00 [32m+8[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                     
00:00 [32m+8[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                     
hi

00:00 [32m+9[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                     
00:00 [32m+10[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+11[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+12[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+12[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
[36m*********************************************************************************************[0m
[36m*                            Build Successfully Complete[0m
[36m*********************************************************************************************[0m



00:00 [32m+13[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+14[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+15[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+16[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+17[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+18[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+19[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+19[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
[35m*********************************  Build Data  *************************************[0m


property:
  workspace: .
commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe: hello


00:00 [32m+20[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+21[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+22[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+23[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+24[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+25[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+26[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+26[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
[32m*********************************************************************************************[0m
[32m*                            Phase Start: Print (hello)[0m
[32m*********************************************************************************************[0m


hi

00:00 [32m+27[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+28[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+28[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
[36m*********************************************************************************************[0m
[36m*                            Build Successfully Complete[0m
[36m*********************************************************************************************[0m



00:00 [32m+29[0m: test/oto_application_test.dart: file build can run twice in same process[0m                                                                                                                    
00:00 [32m+29[0m: test/oto_application_test.dart: build fails with message when YAML root is not a map[0m                                                                                                        
00:00 [32m+29[0m: test/oto_application_test.dart: build fails with message when YAML root is not a map[0m                                                                                                        
[91mException:  [Validate build yaml][0m
[91m[0m
[91mBuild YAML root must be a map.[0m


[93m#0      Application.build (package:oto/oto/application.dart:106:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:89:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+30[0m: test/oto_application_test.dart: build fails with message when YAML root is not a map[0m                                                                                                        
00:00 [32m+30[0m: test/oto_application_test.dart: build fails with message when property is not a map[0m                                                                                                         
00:00 [32m+30[0m: test/oto_application_test.dart: build fails with message when property is not a map[0m                                                                                                         
[91mException:  [Validate build yaml][0m
[91m[0m
[91mproperty must be a map, got: List<dynamic>.[0m


[93m#0      Application.build (package:oto/oto/application.dart:106:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:109:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+31[0m: test/oto_application_test.dart: build fails with message when property is not a map[0m                                                                                                         
00:00 [32m+31[0m: test/oto_application_test.dart: build fails with message when command id is not a string[0m                                                                                                    
00:00 [32m+31[0m: test/oto_application_test.dart: build fails with message when command id is not a string[0m                                                                                                    
[91mException:  [Validate command list][0m
[91m[0m
[91mcommands[0] id must be a non-empty string.[0m


[93m#0      Application.build (package:oto/oto/application.dart:114:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:127:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+32[0m: test/oto_application_test.dart: build fails with message when command id is not a string[0m                                                                                                    
00:00 [32m+32[0m: test/oto_application_test.dart: build fails with message when command type is not a string[0m                                                                                                  
00:00 [32m+32[0m: test/oto_application_test.dart: build fails with message when command type is not a string[0m                                                                                                  
[91mException:  [Validate command list][0m
[91m[0m
[91mcommands[0] (id: hello) command must be a non-empty string.[0m


[93m#0      Application.build (package:oto/oto/application.dart:114:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:145:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+33[0m: test/oto_application_test.dart: build fails with message when command type is not a string[0m                                                                                                  
00:00 [32m+33[0m: test/oto_application_test.dart: build fails with validation message when workflow key is not a string[0m                                                                                       
00:00 [32m+33[0m: test/oto_application_test.dart: build fails with validation message when workflow key is not a string[0m                                                                                       
[35m*********************************  Build Data  *************************************[0m


commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - 123: hello

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0]: 123 is not a supported task. Supported tasks: exe, exe-handle, async, if, contain, while, foreach, wait-until-int, wait-until-float, wait-until-double, wait-until-string, wait-until-seconds, switch.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:164:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+34[0m: test/oto_application_test.dart: build fails with validation message when workflow key is not a string[0m                                                                                       
00:00 [32m+34[0m: test/oto_application_test.dart: build fails with validation message when exe-handle branch is missing[0m                                                                                       
00:00 [32m+34[0m: test/oto_application_test.dart: build fails with validation message when exe-handle branch is missing[0m                                                                                       
[35m*********************************  Build Data  *************************************[0m


commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe-handle:
        id: hello
        on-fail:
          - exe: hello

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0] (exe-handle): exe-handle syntax requires on-success.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:188:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:00 [32m+35[0m: test/oto_application_test.dart: build fails with validation message when exe-handle branch is missing[0m                                                                                       
00:00 [32m+35[0m: test/oto_application_test.dart: build fails with validation message when exe command id is not a string[0m                                                                                     
00:01 [32m+35[0m: test/oto_application_test.dart: build fails with validation message when exe command id is not a string[0m                                                                                     
00:01 [32m+35[0m: test/oto_application_test.dart: build fails with validation message when exe command id is not a string[0m                                                                                     
[35m*********************************  Build Data  *************************************[0m


commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe: 123

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0] (exe): exe: command id must be a non-empty string, got: int.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:210:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+36[0m: test/oto_application_test.dart: build fails with validation message when exe command id is not a string[0m                                                                                     
00:01 [32m+36[0m: test/oto_application_test.dart: build fails with validation message when wait-until-string value is not a string[0m                                                                            
00:01 [32m+36[0m: test/oto_application_test.dart: build fails with validation message when wait-until-string value is not a string[0m                                                                            
[35m*********************************  Build Data  *************************************[0m


commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - wait-until-string: 123

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0] (wait-until-string): wait-until requires a string condition expression, got: int.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:232:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+37[0m: test/oto_application_test.dart: build fails with validation message when wait-until-string value is not a string[0m                                                                            
00:01 [32m+37[0m: test/oto_application_test.dart: build fails with validation message when exe-handle id is not a string[0m                                                                                      
00:01 [32m+37[0m: test/oto_application_test.dart: build fails with validation message when exe-handle id is not a string[0m                                                                                      
[35m*********************************  Build Data  *************************************[0m


commands:
  - command: Print
    id: hello
    param:
      message: hi
pipeline:
  id: main
  workflow:
    - exe-handle:
        id: 123
        on-success:
          - exe: hello
        on-fail:
          - exe: hello

[91mException:  [Validate Pipeline][0m
[91m[0m
[91mworkflow[0] (exe-handle): exe-handle: id must be a string, got: int.[0m


[93m#0      Application.build (package:oto/oto/application.dart:147:9)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:258:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+38[0m: test/oto_application_test.dart: build fails with validation message when exe-handle id is not a string[0m                                                                                      
00:01 [32m+38[0m: test/oto_application_test.dart: build fails with validation message when pipeline.id is missing[0m                                                                                             
00:01 [32m+38[0m: test/oto_application_test.dart: build fails with validation message when pipeline.id is missing[0m                                                                                             
[91mException:  [Validate build yaml][0m
[91m[0m
[91mpipeline.id must be a non-empty string.[0m


[93m#0      Application.build (package:oto/oto/application.dart:106:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:279:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+39[0m: test/oto_application_test.dart: build fails with validation message when pipeline.id is missing[0m                                                                                             
00:01 [32m+39[0m: test/oto_application_test.dart: build fails with validation message when pipeline.id is not a string[0m                                                                                        
00:01 [32m+39[0m: test/oto_application_test.dart: build fails with validation message when pipeline.id is not a string[0m                                                                                        
[91mException:  [Validate build yaml][0m
[91m[0m
[91mpipeline.id must be a non-empty string.[0m


[93m#0      Application.build (package:oto/oto/application.dart:106:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:299:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+40[0m: test/oto_application_test.dart: build fails with validation message when pipeline.id is not a string[0m                                                                                        
00:01 [32m+40[0m: test/oto_application_test.dart: build fails with validation message when workflow is empty[0m                                                                                                  
00:01 [32m+40[0m: test/oto_application_test.dart: build fails with validation message when workflow is empty[0m                                                                                                  
[91mException:  [Validate build yaml][0m
[91m[0m
[91mpipeline.workflow must contain at least one task.[0m


[93m#0      Application.build (package:oto/oto/application.dart:106:11)[0m
[93m<asynchronous suspension>[0m
[93m#1      main.<anonymous closure> (file:///config/workspace/oto/test/oto_application_test.dart:317:9)[0m
[93m<asynchronous suspension>[0m
[93m#2      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)[0m
[93m<asynchronous suspension>[0m
[93m#3      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)[0m
[93m<asynchronous suspension>[0m
[93m#4      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)[0m
[93m<asynchronous suspension>[0m
[93m[0m


[91m*********************************************************************************************[0m
[91m*                            Build Failed[0m
[91m*********************************************************************************************[0m



00:01 [32m+41[0m: test/oto_application_test.dart: build fails with validation message when workflow is empty[0m                                                                                                  
00:01 [32m+41[0m: test/oto_application_test.dart: CommandExe exe -f handles missing file without LateInitializationError[0m                                                                                      
00:01 [32m+41[0m: test/oto_application_test.dart: CommandExe exe -f handles missing file without LateInitializationError[0m                                                                                      
[31mThere are no files in path /tmp/oto_missing_1779409216603071.yaml[0m



00:01 [32m+42[0m: test/oto_application_test.dart: CommandExe exe -f handles missing file without LateInitializationError[0m                                                                                      
00:01 [32m+42[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent returns success contract for valid yaml[0m                                                                 
00:01 [32m+43[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent returns success contract for valid yaml[0m                                                                 
00:01 [32m+43[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent returns build yaml failure contract[0m                                                                     
00:01 [32m+44[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent returns build yaml failure contract[0m                                                                     
00:01 [32m+44[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent returns command list failure contract for duplicate id[0m                                                  
00:01 [32m+45[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent returns command list failure contract for duplicate id[0m                                                  
00:01 [32m+45[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent returns pipeline failure contract[0m                                                                       
00:01 [32m+46[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent returns pipeline failure contract[0m                                                                       
00:01 [32m+46[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent exposes stable json shape[0m                                                                               
00:01 [32m+47[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent exposes stable json shape[0m                                                                               
00:01 [32m+47[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent returns failure contract for malformed scheduler section[0m                                                
00:01 [32m+48[0m: test/oto_application_test.dart: Application.validateYamlContent validateYamlContent returns failure contract for malformed scheduler section[0m                                                
00:01 [32m+48[0m: All tests passed![0m                                                                                                                                                                           

```

---

> **[IMPLEMENTING AGENT — BEFORE SAVING] Have you filled in every implementation-owned section: completion table, implementation checklist, changes from plan, design decisions, and verification output?**
> If anything is blank, go back and fill it in before saving this file.
> Leave review-agent-only sections unchanged.

Sections and their ownership:

| Section | Owner | Note |
|---------|-------|------|
| Header comment, 개요, 리뷰 에이전트 지시 | Fixed at stub creation | Implementing agent must not modify or execute these (archive, complete.log, and task-directory archive move are review-agent only) |
| 구현 항목별 완료 여부 (item names) | Fixed at stub creation | Implementing agent checks `[ ]` -> `[x]` only |
| 구현 체크리스트 (item text/order) | Fixed at stub creation from plan | Implementing agent checks `[ ]` -> `[x]` only; final checkbox is mandatory before saving |
| 코드리뷰 전용 체크리스트 | Review agent only | Implementing agent must not modify or check this section |
| 계획 대비 변경 사항, 주요 설계 결정 | Implementing agent | Replace placeholder text with actual content |
| 리뷰어를 위한 체크포인트 | Fixed at stub creation | Pre-filled from plan |
| 검증 결과 (section headings + commands) | Fixed at stub creation | Implementing agent fills in command output only; command changes require a `계획 대비 변경 사항` entry |
| 코드리뷰 결과 | Review agent appends | Not included in stub |

## 코드리뷰 결과

### 종합 판정

PASS

### 차원별 평가

- correctness: Pass
- completeness: Pass
- test coverage: Pass
- API contract: Pass
- code quality: Pass
- plan deviation: Pass
- verification trust: Pass

### 발견된 문제

없음

### 다음 단계

PASS이므로 `complete.log` 작성 후 active task 디렉터리를 archive로 이동한다.
