Skip to content

.agents/issue-index.md lists #995 twice on origin/main, so check-agent-record is red on every branch that merges it #1027

Description

@localai-bot

.agents/issue-index.md lists issue #995 twice on origin/main, so check-agent-record and test_agent_record are RED there and every branch that merges main inherits it.

Found while merging origin/main into SPEC-MTP-K-GT-1 (#81). Verified, not inferred:

$ git show origin/main:.agents/issue-index.md | grep -c 'issues/995'
2

The two rows were appended independently and describe the same issue:

Neither branch could see the other's line, and the file carries merge=union in .gitattributes, so both survived. scripts/check-agent-record.py says exactly this in its own message: "issue #995 listed twice. Under merge=union a duplicate is what two branches appending the same issue look like".

Why it is not just cosmetic

It is a PRE-FLIGHT gate. It fails before every edit, on every branch, and presents to each author as a red their own diff caused. That is the same shape as #965, #968 and #995 itself, which is a pattern worth naming: the append-only index is exactly as merge-safe as the rule that nobody appends the same issue twice, and two agents filing against the same red will do that reliably.

The repair, and which row to keep

Collapse to one row. Keep the EARLIER row (332aed738) and delete the later one, which is the merge-stable direction rather than the more-accurate-text direction:

  • Deleting the earlier line makes it absent from main while every branch cut from 332aed738 still carries it, so their next union merge RE-ADDS it and the duplicate returns.
  • Deleting the later line leaves main and those branches agreeing on one row, and nothing re-introduces it.

The later row's only extra content is a corrected set of qwen3_5.cpp line anchors at 4496ef196. #995 is closed, so that detail is not load-bearing.

Fixed in flow by SPEC-MTP-K-GT-1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions