Skip to content

fix(planning): count extensionless file:line citations in context-claims-referenced - #16637

Merged
melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-16626-43951486329-1
Nov 16, 2026
Merged

melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-16626-43951486329-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Refs: #16626

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The regex grader context-claims-referenced in eval interview-context-unfamiliar-term-upstream now accepts a file:line citation of a file with no extension, such as README:7. A citation counts when the file is a path containing a slash or a common extensionless name (README, LICENSE, CHANGELOG, NOTICE, CODEOWNERS, or a name ending in 'file' such as Makefile). The extension form still counts as before. I chose a fixed list of names over accepting any word followed by :digit because the review showed the broader form would also count localhost:8080, ISO timestamps and ratios such as N:1. This covers the issue's fourth done-when item. The other items need live Sonnet eval runs with the judge on main, and this lane cannot make them, so they are listed as remaining.

Remaining work

  • Capture the judge's stated reason for at least four failing runs of interview-context-unfamiliar-term-upstream's answerable-without-follow-up grader on main, quote them, and name the cause: the replies, the skill text, or the grader's bar.
  • Fix that cause in its own pull request, with the judge grader's pass sample passing and its fail sample failing.
  • Make interview-term-clash-qualified-name load the interview skill in at least 5 of 6 Sonnet runs, or add a grader that fails a reply produced without the skill.
  • Record a Sonnet run on main under the current eval gate that shows the judge grader off zero and the term-clash case's skill-load rate.

Not verified

  • eval-cases (validate-cases.py) and check-matchers, which sort the grader's samples under Python re and JavaScript RegExp: CI-only in check-affected and not runnable in this lane; samples were traced by hand only, left to the PR's CI
  • evals-quality and evals-schema: CI-only in check-affected, left to the PR's CI
  • tidy: the ai-slop detector script could not run here (Bash is limited to the lane's wrappers), so the AI-tell check on the changelog fragment was a manual read of the catalog rubric only; write-for-humans and the code passes found nothing to change
  • the issue's done-when items 1, 2, 3 and 5 need live Sonnet eval runs with the judge on main (capturing the judge's stated reasons, measuring the term-clash case's skill-load rate, and the recorded run under the eval gate); this lane cannot run evals

Fix

  • plugins/planning/evals/interview-context-unfamiliar-term-upstream/graders/context-claims-referenced.md: each file:line reference sub-pattern now also accepts a slash path with no extension and the common extensionless file names.
  • plugins/planning/evals/interview-context-unfamiliar-term-upstream/samples/context-claims-referenced.json: added a pass sample that cites README:7 and a pass sample whose Context bullet cites only an extensionless slash path (vendor/upstream-triage/bin/cluster:14), so each new alternative has a sample that fails if it is dropped. Added fail samples for a bare time (10:30), for a host:port, an ISO timestamp and an N:1 ratio, and for a 1/3:2/3 split, which pins the rule that a path needs a letter before its slash.
  • .changes/planning/work-resolve-issue-issue-16626-43951486329-1-9492e893.md: patch changelog fragment for the grader fix.

Verification

The runner ran each check from the base copy against 338de17:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 9 fragments valid
  • check-changed-skills: no changed skills, nothing to gate
  • check-affected: 15 passed, 7 skipped, 0 failed over 3 changed files
  • fresh-context review subagent: traced every pass and fail sample against the first version of the pattern (all sorted correctly), and found the first version also counted localhost:8080, ISO timestamps, N:1 and sha256:<digits> as references; fixed by narrowing the pattern and adding a fail…
  • manual trace after the fix: the README:7 pass sample matches through the README alternative, the extension-form pass samples still match, and the new fail samples have no reference on a Context line
  • read https: //github.com/melodic-software/claude-code-plugins/issues /16304#issuecomment-6926969696: the record says most replies cite README:<line> and that the grader accepts file:line only when the file name has an extension; it keeps judge votes but not the judge's reasons, and it holds…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43951486329

Left out: the items under Not verified.

Related

#16626

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 952bcabf570e0d5bea2b8ddc024d4ae7ee30f4bb: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #16637

Head 952bcabf570e0d5bea2b8ddc024d4ae7ee30f4bb. I read all 3 changed files in .claude-lane/pr.diff, every hunk of each:

  • the changelog fragment .changes/planning/work-resolve-issue-issue-16626-43951486329-1-9492e893.md;
  • the regex grader plugins/planning/evals/interview-context-unfamiliar-term-upstream/graders/context-claims-referenced.md;
  • its samples file samples/context-claims-referenced.json.

No security issues found.

What the change does:

  • Grader: in one eval's regex grader, each file:line reference alternative now also accepts two more forms:
    • a path with a slash and no extension: [\d._-]*[A-Za-z][\w.-]*/[\w./-]*:\d
    • a common file name with no extension: \b(?:README|LICENSE|CHANGELOG|NOTICE|CODEOWNERS|[A-Za-z]*file)\b:\d
  • Samples: it adds pass and fail samples for these forms.

What it touches: no trust control, merge hold, token, workflow, plugin manifest, hook or standing instruction. No changed file matches a TRUSTED PATHS glob. The pattern only scores model replies in a plugin eval and never reaches a credentialed or trusted context. Skip-gate item 2 applies.

Settled thread: the one settled thread (no sample for the slash-path alternative, resolved at 40ff3d8b, lines changed since resolution: no) was a coverage point, not a security one. I did not raise it again.

PR context: it contains no directives aimed at this lane.

Blocking only: this lane already reviewed an earlier head (338de178), so this review reports CRITICAL and IMPORTANT findings only. It found none at any severity.

Spend: nothing beyond the eval and CI runs that already happen. No cost hold.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 338de178208f9040613e97e6a107285a60a9a6b3; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 952bcabf570e0d5bea2b8ddc024d4ae7ee30f4bb: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #16637, extensionless file:line citations in context-claims-referenced

Blocking only. This lane already reviewed an earlier head (338de178), so this pass reports only blocking findings. I found none.

What changed since the last review. In commit 40ff3d8b, the earlier advisory (no sample covered the slash-path alternative) was fixed and its thread resolved. The resolved thread's lines are unchanged since then, so it stays settled. That commit added:

  • a pass sample whose first Context bullet cites only vendor/upstream-triage/bin/cluster:14;
  • a fail sample for the 1/3:2/3 split.

What I checked by hand. I read the pattern and the samples; I ran no regex engine.

  • README:7 pass sample. It matches only through \bREADME\b:\d.
  • bin/cluster:14 pass sample. It matches only through [\d._-]*[A-Za-z][\w.-]*/[\w./-]*:\d. The other alternatives miss it: there is no dot before :14, cluster is not a listed name, and it does not end in file. Dropping the slash alternative now flips this sample to fail, so the alternative is pinned.
  • 1/3:2/3 fail sample. No position has a letter right before a /, so the slash alternative cannot match, and no other alternative applies.
  • Other new fail samples. 10:30, 11:30, localhost:8080, 2026-11-16T10:30 and N:1 match none of the alternatives.
  • Consistency. Both new alternatives appear at all six reference sites in the pattern.
  • Regex engines. The new parts use only character classes, \b and alternation, which Python re and JavaScript RegExp treat the same way.

Not verified. The author says validate-cases.py and check-matchers were not run in their lane and are left to CI. I did not verify that.

Closing issue. The PR body says only Refs: #16626, and the context file has no closing-issue section, so there are no acceptance criteria to check. The claim that the PR covers only done-when item 4 comes from the author; I did not verify it.

Plugin manifests. None changed. The changelog fragment's bump: patch fits a grader fix.

No subagents were used.
Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43956915372

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM64Io3i
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 40ff3d8
Run 43956915372

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 40ff3d8.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 43956915372

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43958396826

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 40ff3d8bb644b55baa2d0d34d0a5bf80ac014dc7. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 952bcabf570e0d5bea2b8ddc024d4ae7ee30f4bb, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 952bcab

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16637-952bcabf570e0d5bea2b8ddc024d4ae7ee30f4bb, expires on 2026-12-16.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=952bcabf570e0d5bea2b8ddc024d4ae7ee30f4bb rubric=10.0.0 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit b16c46a Nov 16, 2026
45 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16626-43951486329-1 branch November 16, 2026 23:12
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit b16c46a7a3fdf5525af2f84c8b90ca3ac9d60fbf; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant