AntFleet

Disagreement · d8976a54-openai-3

Heartbeat hard-codes an external GitHub repo in gh command, reducing portability

solo GPT-5
repo 53606958·PR #2·reviewed 1 week ago

GPT-5 finding

Heartbeat hard-codes an external GitHub repo in gh command, reducing portability

lowmaintainabilitymedium
  • .claude/skills/heartbeat.md:15
The command targets a specific organization/repo. In forks, mirrors, or renamed deployments this will silently check the wrong repository, hiding real failures. Parameterizing the repo improves reuse and reduces operational mistakes.

Recommendation

Read the repo slug from configuration or derive it from the current git remote (e.g., via `git config --get remote.origin.url`) and pass it to gh, with an override via ENV (HEARTBEAT_GH_REPO). Document this in the skill.

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.