Skip to content

docs-naming audit-file-names: reply site counts disagree with the plan between runs #18810

Backlog

Description

@kyle-sexton

Problem

The runs-3 confirm run 45423924655 of plugins/docs-naming/evals/audit-plans-renames-tiers-frozen on main shows /docs-naming:audit-file-names stating different site counts for the same fixture plan across runs:

  • Run 1 reply: 5 edit + 3 report + 2 review = 10, beside "The sweep found 11 reference sites in total"; docs/CATALOG.md listed with 4 sites.
  • Run 2 reply: "There are 4 report sites"; docs/CATALOG.md listed with 5 sites.

The rows-and-tiers judge failed all 3 runs (3 of 3 votes FAIL each), report-count-stated failed 2 of 3 and form-table-first 1 of 3. With-arm score 0.78 against threshold 1.00. The owner chose to keep the case failing so it keeps catching this, and to look at the count logic separately (#18655, 2026-11-24).

Done when

  • The audit reply's per-finding site counts, tier breakdown and report-site total come from the sweep/emit output rather than the model's own tally, and add up to the sweep total.
  • audit-plans-renames-tiers-frozen passes at runs 3 in a scoped suite run on main.

Evidence

Artifact of run 45423924655 (last-messages.jsonl, results.json), retained 3 days.

Refs: #18655

Activity

  1. added
    needs-triage
    on Nov 24, 2026
  2. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: the audit-plans-renames-tiers-frozen eval case in docs-naming and whoever reads its scoped suite run; no code change is expected if the eval passes.
    Reversible: yes; a run changes nothing, and any fix is an ordinary revertable diff.
    Claims checked:

    1. The eval case exists at plugins/docs-naming/evals/audit-plans-renames-tiers-frozen: held, plugins/docs-naming/evals/audit-plans-renames-tiers-frozen/case.yaml.
    2. PR fix(docs-naming): print audit site counts from the sweep and quote them #18834 is merged and delivered done-when item 1: not verified. It is not in the recent merged-pulls list I was given, and I did not read its diff. The recorded decision states it.
      Open questions: none

    Decision recorded. Done-when item 1 was delivered by merged pull request #18834: the audit reply's counts now come from the emitter's output. What is left is the scoped runs-3 eval.

    Owner, in session 2026-11-25 ~8:21 AM EST, verbatim: "/session-flow:go-with-recommendations", accepting "done-when 1 delivered by merged #18834; the scoped runs-3 eval is what is left".

    Acceptance criteria

    • plugins/docs-naming/evals/audit-plans-renames-tiers-frozen passes at runs 3 in a scoped suite run on main, with every grader at 1.00 (rows-and-tiers and report-count-stated included), and the run is linked on this issue.

    Source: #18810 (comment)

    This decision settles the open questions. What remains is the scoped runs-3 eval on main, which an unattended lane run can't do, so it is left for admission to route. If the eval still fails, the fix goes into the audit reply or the emitter.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 24, 2026
  4. melodic-automation-lanes commented on Nov 24, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: merged pull request #18834 names it with Refs: after its newest decision or refinement comment, so its work may already be done: close the issue if it is, or post a comment whose first line is **Decision recorded.** saying what is left, which sends it back through intake. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  5. melodic-automation-lanes commented on Nov 24, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: Make emit-findings.sh print the per-finding site counts, tier breakdown, review count and report-site total from the sweep rows, and make audit-file-names SKILL.md tell the run to quote those figures rather than tally its own, so the reply's counts add up to the sweep total and audit-plans-renames-tiers-frozen passes at runs 3.

    Acceptance criteria

    • plugins/docs-naming/skills/audit-file-names/scripts/emit-findings.sh prints to stdout, after the 'wrote' line, one summary line per finding (old path, site count, tier breakdown, review count) and a total line giving the sweep SITES count and the report-site total, all computed from the sweep REF rows.
    • The printed per-finding site counts sum to the sweep's SITES value; emit-findings.test.sh has a case asserting this on the fixture tree and passes.
    • emit-findings.test.sh asserts the printed report-site total equals the number of REF rows whose action is report.
    • plugins/docs-naming/skills/audit-file-names/SKILL.md 'Present the result' (lines 142-153) tells the run to quote the emitter's printed per-finding counts, tier breakdowns and report-site total verbatim and not to recount them.
    • SKILL.md states that when the stated figures disagree with the emitter's summary, the emitter's summary wins.
    • The existing sweep.test.sh, inventory.test.sh and emit-findings.test.sh pass.
    • The plan file's References and By tier lines per finding are unchanged in format, so realign-file-names still reads them.
    • plugins/docs-naming/evals/audit-plans-renames-tiers-frozen/case.yaml is not weakened: its graders, runs threshold and the 4-report-sites expectation are unchanged.
    • A scoped suite run on main of audit-plans-renames-tiers-frozen at runs 3 passes with every grader at 1.00, including rows-and-tiers and report-count-stated.

    External state: none

    Dependencies

    • #​18655: the owner kept this case failing on purpose and asked for the count logic to be looked at separately; it should not be loosened there while this lands.
    • The final criterion needs the change merged to main, because the suite run is on main.

    Related work

    Sources read

    • plugins/docs-naming/skills/audit-file-names/scripts/emit-findings.sh:233: the script prints only 'wrote <path> (N finding(s), M file(s) scanned)', with no per-finding site counts or tier totals.
    • plugins/docs-naming/skills/audit-file-names/scripts/emit-findings.sh:158-184: per-finding site counts and the by-tier breakdown are computed from the sweep REF rows but written only into the plan file.
    • plugins/docs-naming/skills/audit-file-names/scripts/sweep.sh:322: the sweep prints a 'SITES <count>' total row.
    • plugins/docs-naming/skills/audit-file-names/SKILL.md:142-153: the Present the result section asks the run to give the site count, tier breakdown and report-site count, with no instruction to take them from script output.
    • plugins/docs-naming/skills/audit-file-names/SKILL.md:126-129: the skill says to cite the scripts' rows verbatim.
    • plugins/docs-naming/evals/audit-plans-renames-tiers-frozen/case.yaml:34-39,73-76: graders report-count-stated (expects 4 report sites) and rows-and-tiers (counts grounded in the sweep output).

    Automated refinement by the lanes App. Intake triages the issue again with it.

  6. melodic-automation-lanes commented on Nov 24, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"f4775080b8a862e62c4647b4679a70fe548cbc9425ee4cc1f1134a7566e535ea","body_sha256":"71cd223add93ace19a8a17b4b6cb225cd9adfa1ae78deacf4a92b600c988a2bf"}

  7. melodic-automation-lanes commented on Nov 24, 2026

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier stop, not a new one. The start gate stopped run 45429356487, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-24T15:50:00Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.

  8. 1 remaining item

  9. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor
    No description provided.
  10. melodic-automation-lanes commented on Nov 24, 2026

    @melodic-automation-lanes
    Contributor

    Pull request #18834 merged with Refs:, so this issue stays open and nothing starts the lane on it again. work-unblock removed status: ready and agent-ready, so the hourly triage sweep sends it back to intake triage. Admission then parks it at status: confirmed for a check of what that pull request left, until a **Decision recorded.** comment says what is left or someone closes it.

  11. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  12. kyle-sexton commented on Nov 25, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. Done-when item 1 was delivered by merged pull request #18834: the audit reply's counts now come from the emitter's output. What is left is the scoped runs-3 eval.

    Owner, in session 2026-11-25 ~8:21 AM EST, verbatim: "/session-flow:go-with-recommendations", accepting "done-when 1 delivered by merged #18834; the scoped runs-3 eval is what is left".

    Acceptance criteria

    • plugins/docs-naming/evals/audit-plans-renames-tiers-frozen passes at runs 3 in a scoped suite run on main, with every grader at 1.00 (rows-and-tiers and report-count-stated included), and the run is linked on this issue.
  13. melodic-automation-lanes commented on Nov 25, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"f4775080b8a862e62c4647b4679a70fe548cbc9425ee4cc1f1134a7566e535ea","body_sha256":"71cd223add93ace19a8a17b4b6cb225cd9adfa1ae78deacf4a92b600c988a2bf"}

  14. github-actions commented on Nov 25, 2026

    @github-actions
    Contributor
    No description provided.
  15. added
    host-run
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    host-run

    Type

    Fields

    Work status

    agent-ready

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions