Skip to content

Commit e90427e

Browse files
committed
merge: preserve current Orca authority checks
1 parent 01b3821 commit e90427e

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

bin/backends/orca.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ fm_backend_orca_worktree_create() { # <project-path> <name>
153153
wt_path=$(printf '%s' "$out" | fm_backend_orca_json_get worktree-path 2>/dev/null || true)
154154
proof=unproven
155155
[ -z "$terminal" ] || proof=recorded
156-
printf '%s\t%s\t%s\t%s\t%s\t%s' "$wt_id" "$wt_path" "$terminal" "$proof" "$repo_id" "$name"
156+
printf '%s\t%s\t%s\t%s\t%s' "$wt_id" "$wt_path" "$terminal" "$proof" "$repo_id"
157157
if [ "$status" -ne 0 ] || [ -z "$wt_id" ] || [ -z "$wt_path" ]; then
158158
echo "error: orca worktree create returned incomplete or unsuccessful authority for $name" >&2
159159
return 2

bin/fm-spawn.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,10 +1147,9 @@ parse_orca_worktree_result() {
11471147
ORCA_TERMINAL_PROOF=${rest%%$'\t'*}
11481148
[ "$rest" != "$ORCA_TERMINAL_PROOF" ] || return 1
11491149
rest=${rest#*$'\t'}
1150-
ORCA_REPO_ID=${rest%%$'\t'*}
1151-
[ "$rest" != "$ORCA_REPO_ID" ] || return 1
1152-
ORCA_PROVIDER_TASK=${rest#*$'\t'}
1153-
case "$ORCA_PROVIDER_TASK" in *$'\t'*) return 1 ;; esac
1150+
ORCA_REPO_ID=$rest
1151+
case "$ORCA_REPO_ID" in *$'\t'*) return 1 ;; esac
1152+
ORCA_PROVIDER_TASK=
11541153
}
11551154

11561155
persist_orca_cleanup_quarantine() {

tests/fm-checkout-refresh.test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ test_pool_preflight_surfaces_dirty_worktrees_without_blocking_clean_selection()
654654
}
655655

656656
test_bootstrap_relays_hygiene_alerts() {
657-
local project draft out diagnostic_out config_backup config_real
657+
local project draft out config_backup config_real
658658
project=$(cd "$FM_TEST_HOME/projects/relvino" && pwd -P)
659659
draft="$project/.agents/skills/bootstrap-draft/SKILL.md"
660660
mkdir -p "$(dirname "$draft")"

0 commit comments

Comments
 (0)