Summary
When multiple iOS simulator targets are connected, triton capture --target <id> and triton evidence --target <id> resolve the top-level target correctly, but the nested hierarchy/AX/screenshot artifact capture still resolves triton:local. This causes those artifacts to be skipped as ambiguous_target.
Environment
- Triton CLI: 0.1.14
- Runtime: embedded
- App: cn.jobmd.job
- Connected targets: 3 iOS simulators
- Requested target:
triton:ios-simulator:66F85E78-DFDD-457E-8076-F5B9E22C95E6
Repro
TARGET='triton:ios-simulator:66F85E78-DFDD-457E-8076-F5B9E22C95E6'
triton capture --target "$TARGET" \
--case recruit-resume-filter-interview-type \
--output /tmp/recruit-resume-filter-interview-type \
--json
triton evidence --target "$TARGET" \
--output /tmp/recruit-resume-filter-interview-type-evidence \
--name recruit-resume-filter-interview-type \
--json
Actual
The command output includes the correct top-level target, but skips hierarchy, AX, screenshot, geometry, and archive artifacts with:
ambiguous_target: Target is ambiguous: triton:local. Available targets: ... Pass --target <id>.
Expected
All nested artifact collectors should receive and use the explicit --target value so evidence capture works in multi-target sessions.
Workaround
Run individual commands with explicit --target, for example triton screenshot --target <id> --output ..., triton snapshot --target <id> ....
Summary
When multiple iOS simulator targets are connected,
triton capture --target <id>andtriton evidence --target <id>resolve the top-level target correctly, but the nested hierarchy/AX/screenshot artifact capture still resolvestriton:local. This causes those artifacts to be skipped asambiguous_target.Environment
triton:ios-simulator:66F85E78-DFDD-457E-8076-F5B9E22C95E6Repro
Actual
The command output includes the correct top-level target, but skips hierarchy, AX, screenshot, geometry, and archive artifacts with:
Expected
All nested artifact collectors should receive and use the explicit
--targetvalue so evidence capture works in multi-target sessions.Workaround
Run individual commands with explicit
--target, for exampletriton screenshot --target <id> --output ...,triton snapshot --target <id> ....