Skip to content

fix(aeon.yml): stop duplicate gateway route annotations on claude runs - #1148

Merged
aaronjmars merged 1 commit into
mainfrom
fix/dedupe-gateway-notices
Oct 2, 2026
Merged

aaronjmars merged 1 commit into
mainfrom
fix/dedupe-gateway-notices

Conversation

@aaronjmars

Copy link
Copy Markdown
Collaborator

fix(aeon.yml): stop duplicate gateway route annotations on claude runs

A claude run showed "Using Claude Code subscription (CLAUDE_CODE_OAUTH_TOKEN)"
twice plus "Routing attempt via 'claude'":

  • The second "Using ..." came from the post-run "Analyze skill output"
    (quality scorer) step, which re-sources scripts/llm-gateway.sh for its
    own claude call. "Convert feed outputs" does the same. Both now source it
    with AEON_GATEWAY_QUIET=1, so the route prints as a plain log line there.
    Warnings and errors are never quieted.
  • "Routing attempt via ''" was annotated on every run even with a
    single candidate. The first attempt now logs it plainly; only a real
    failover is annotated ("Failing over to ''").

The cascade comment in the run step is trimmed so the step stays under
GitHub's 21000-char expression cap (20445 vs 20550 on main).

A claude run showed "Using Claude Code subscription (CLAUDE_CODE_OAUTH_TOKEN)"
twice plus "Routing attempt via 'claude'":

- The second "Using ..." came from the post-run "Analyze skill output"
  (quality scorer) step, which re-sources scripts/llm-gateway.sh for its
  own claude call. "Convert feed outputs" does the same. Both now source it
  with AEON_GATEWAY_QUIET=1, so the route prints as a plain log line there.
  Warnings and errors are never quieted.
- "Routing attempt via '<gateway>'" was annotated on every run even with a
  single candidate. The first attempt now logs it plainly; only a real
  failover is annotated ("Failing over to '<gateway>'").

The cascade comment in the run step is trimmed so the step stays under
GitHub's 21000-char expression cap (20445 vs 20550 on main).
@aaronjmars
aaronjmars merged commit 40efa1e into main Oct 2, 2026
10 checks passed
@aaronjmars
aaronjmars deleted the fix/dedupe-gateway-notices branch October 2, 2026 14:35
@aaronjmars aaronjmars mentioned this pull request Oct 2, 2026
6 tasks done
aaronjmars added a commit that referenced this pull request Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant