AntFleet

Anatomy · 18907f89-0

Syntax error in GATEWAY provider parsing causes Run step to fail

highbug
repo 6f7fc663·PR #31·reviewed 1 week ago

The vulnerable code

.github/workflows/aeon.yml:0-0

Code snippet unavailable.

The reasoning

Opus

Output unavailable for this row.

GPT-5

Syntax error in GATEWAY provider parsing causes Run step to fail

highbughigh
  • .github/workflows/aeon.yml
The command substitution uses a malformed quoting sequence for tr -d (attempting to include both single and double quotes) which breaks shell parsing. A syntax error here will abort the shell step, preventing model routing from being determined and potentially breaking the entire Run step prior to invoking claude.

Recommendation

Replace the fragile grep/sed/tr pipeline with a robust, correctly quoted extraction. Examples: - Minimal fix (proper quoting): GATEWAY=$(grep -A1 '^gateway:' aeon.yml | grep 'provider:' | sed 's/.*provider:[[:space:]]*//; s/["'"' ]//g' || true) [ -z "$GATEWAY" ] && GATEWAY=direct - Or, prefer a YAML parser if available: command -v yq >/dev/null && GATEWAY=$(yq -r '.gateway.provider // "direct"' aeon.yml) || GATEWAY=${GATEWAY:-direct}

The agreement

Both frontier models flagged this within the same line range. AntFleet's unanimous gate fired — the finding posted on the PR.

Closure

Tweet thread template

tweet 1 of 8145 / 280

Two frontier models reviewed PR #31 on 6f7fc663. Both found this bug: high bug: Syntax error in GATEWAY provider parsing causes Run step to fail

tweet 2 of 8116 / 280

The vulnerable code (.github/workflows/aeon.yml:0-0): (full snippet at https://www.antfleet.dev/anatomy/18907f89-0)

tweet 3 of 836 / 280

What Opus saw: "Output unavailable"

tweet 4 of 8280 / 280

What GPT-5 saw: "The command substitution uses a malformed quoting sequence for tr -d (attempting to include both single and double quotes) which breaks shell parsing. A syntax error here will abort the shell step, preventing model routing from being determined and potentially …

tweet 5 of 897 / 280

Both flagged the same line range. AntFleet's unanimous gate fired — the finding posted on the PR.

tweet 6 of 893 / 280

The fix landed in commit pending: (view diff at https://www.antfleet.dev/anatomy/18907f89-0)

tweet 7 of 881 / 280

AntFleet reviews every PR with two frontier models. Only unanimous findings post.

tweet 8 of 877 / 280

Full anatomy + reasoning + diffs: https://www.antfleet.dev/anatomy/18907f89-0

Paste into X composer one tweet at a time. X has no multi-tweet intent API.