@@ -1967,7 +1967,7 @@ test_secondmate_force_teardown_removes_orca_child_via_orca() {
19671967 orca_case secondmate-child-cleanup
19681968 neutral=$( neutral_fm_root " $CASE_DIR /neutral" )
19691969 initialize_secondmate_home_repo " $subhome " " $neutral "
1970- initialize_secondmate_project_repo " $neutral " " $childproj " " $childwt " " fm/$child_id "
1970+ initialize_secondmate_project_repo " $home " " $childproj " " $childwt " " fm/$child_id "
19711971 fm_write_meta " $home /state/domain.meta" \
19721972 " window=firstmate:fm-domain" " worktree=$subhome " " project=$subhome " \
19731973 " harness=echo" " kind=secondmate" " mode=secondmate" " yolo=off" \
@@ -2012,7 +2012,7 @@ test_secondmate_force_teardown_refuses_orca_child_id_path_mismatch() {
20122012 orca_case secondmate-child-mismatch
20132013 neutral=$( neutral_fm_root " $CASE_DIR /neutral" )
20142014 initialize_secondmate_home_repo " $subhome " " $neutral "
2015- initialize_secondmate_project_repo " $neutral " " $childproj " " $childwt " " fm/$child_id "
2015+ initialize_secondmate_project_repo " $home " " $childproj " " $childwt " " fm/$child_id "
20162016 mkdir -p " $other_wt "
20172017 fm_write_meta " $home /state/domain.meta" \
20182018 " window=firstmate:fm-domain" " worktree=$subhome " " project=$subhome " \
@@ -2054,7 +2054,7 @@ test_secondmate_force_teardown_retains_partial_orca_child() {
20542054 orca_case secondmate-partial-child-cleanup
20552055 neutral=$( neutral_fm_root " $CASE_DIR /neutral" )
20562056 initialize_secondmate_home_repo " $subhome " " $neutral "
2057- initialize_secondmate_project_repo " $neutral " " $childproj " " $childwt " " fm/$child_id "
2057+ initialize_secondmate_project_repo " $home " " $childproj " " $childwt " " fm/$child_id "
20582058 fm_write_meta " $home /state/domain.meta" \
20592059 " window=firstmate:fm-domain" " worktree=$subhome " " project=$subhome " \
20602060 " harness=echo" " kind=secondmate" " mode=secondmate" " yolo=off" \
@@ -2538,6 +2538,13 @@ if [ "${FM_TEST_FOCUSED:-}" = review-round-13-safety ]; then
25382538 exit 0
25392539fi
25402540
2541+ if [ " ${FM_TEST_FOCUSED:- } " = secondmate-orca-teardown ]; then
2542+ test_secondmate_force_teardown_removes_orca_child_via_orca
2543+ test_secondmate_force_teardown_refuses_orca_child_id_path_mismatch
2544+ test_secondmate_force_teardown_retains_partial_orca_child
2545+ exit 0
2546+ fi
2547+
25412548test_capture_reads_terminal_tail_json
25422549test_capture_falls_back_to_text_fields
25432550test_capture_fails_on_orca_error_json
0 commit comments