AntFleet

Disagreement · 44a066f2-openai-2

Agents API base is hardcoded to https://reppo.ai/api/v1 with no override, reducing testability and operability

solo GPT-5
repo 799b2361·PR #1·reviewed 5 days ago

GPT-5 finding

Agents API base is hardcoded to https://reppo.ai/api/v1 with no override, reducing testability and operability

lowmaintainabilitymedium
  • src/commands/register-agent.ts:33-36
Hardcoding the service base URL prevents using staging/sandbox environments or routing through custom domains/proxies. This makes local development and incident response harder and removes a common escape hatch if DNS or regional routing issues arise.

Recommendation

Allow overriding the agents API base via configuration (e.g., an env var like REPPO_AGENTS_API_URL or a CLI flag), defaulting to https://reppo.ai/api/v1. Document the override and consider honoring a single unified API base if/when the hosts converge.

Other reviewer

The other reviewer flagged nothing in this file/line range.

Why this didn't post

This finding didn't meet AntFleet's unanimous agreement threshold. Both frontier models review every PR independently; only findings they both flag with the same severity and category are posted to the PR. This one fell through.

read the methodology →

From the same review

These findings passed the unanimous gate on the same PR review. The disagreement above was filtered out; the findings below were posted.