AntFleet

Anatomy · d8976a54-0

Duplicated section number '4' in heartbeat skill

lowdocs-gapclosed in d49ad28
repo 53606958·PR #2·reviewed 1 week ago·closed 1 week ago

The vulnerable code

.claude/skills/heartbeat.md:36-36

36- If total DIEM claimed ≥ 100 OR daily rate ≥ 5 DIEM/day → switch mode to `build` in goals.json, notify

The reasoning

Opus

Duplicated section number '4' in heartbeat skill

lowdocs-gaphigh
  • .claude/skills/heartbeat.md:36
  • .claude/skills/heartbeat.md:42
Two consecutive H3 sections are both numbered 4. Minor, but the heartbeat skill is consumed by an autonomous agent that may parse / reason about the ordered checklist; ambiguous numbering can cause it to skip or double-count a check.

Recommendation

Renumber the gas reserve section to 5 (and any subsequent dependent references).

GPT-5

Heartbeat doc has duplicate section numbering ('### 4' appears twice)

lowdocs-gaphigh
  • .claude/skills/heartbeat.md:42
  • .claude/skills/heartbeat.md:47
Duplicate numbering can confuse operators or automation parsing sections by headings, and it suggests the document was not fully proofed.

Recommendation

Renumber the second '### 4.' to '### 5.' (or use unnumbered headings) to maintain clear, ordered sections.

The agreement

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

The fix

36- If total DIEM claimed ≥ 100 OR daily rate ≥ 5 DIEM/day → switch mode to `build` in goals.json, notify

Closure

Closed 1 week ago

SHA: d49ad285ecca6f6aeb180756fcc9bd7c00be8347

View closure receipt on GitHub →

Tweet thread template

tweet 1 of 8132 / 280

Two frontier models reviewed PR #2 on 53606958. Both found this bug: low docs-gap: Duplicated section number '4' in heartbeat skill

tweet 2 of 8119 / 280

The vulnerable code (.claude/skills/heartbeat.md:36-36): (full snippet at https://www.antfleet.dev/anatomy/d8976a54-0)

tweet 3 of 8251 / 280

What Opus saw: "Two consecutive H3 sections are both numbered 4. Minor, but the heartbeat skill is consumed by an autonomous agent that may parse / reason about the ordered checklist; ambiguous numbering can cause it to skip or double-count a check."

tweet 4 of 8156 / 280

What GPT-5 saw: "Duplicate numbering can confuse operators or automation parsing sections by headings, and it suggests the document was not fully proofed."

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 d49ad28: (view diff at https://www.antfleet.dev/anatomy/d8976a54-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/d8976a54-0

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