Skip to content

refactor(work-items): skills, references and evals name the binding in the convention home - #11935

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-11880-41313111108-1
Nov 1, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-11880-41313111108-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #11880

Summary

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

Every work-items mention of the legacy root binding file outside /work-items:setup and the seam reader (lib/binding.sh and its test) now points at the tracker key of <home>/work-items.yaml, and the eval scaffolds write that YAML binding. setup still writes the legacy repo-root JSON binding (its move is a separate issue), so skill and reference prose that reads the binding or its role_labels names both places the seam reads: the YAML tracker mapping, else the legacy repo-root JSON binding. Without that, a repo setup bound would lose its role-label remaps. The conformance runner re-homes its binding as binding.json and gets the overlay path from a new wit_overlay_path helper in binding.sh, so the legacy name stays only in the seam reader.

Not verified

  • python3 plugins/evals/skills/validate/scripts/validate-cases.py plugins/work-items/evals: not run, since this lane runs no interpreter. The graders were checked against their samples by reading them (the review subagent did this too). Left to the PR's CI.
  • bash plugins/skill-quality/scripts/check-skill.sh plugins/work-items/skills: not runnable here (check-affected skipped changed-skills because it runs the checked tree's own code). Left to the PR's CI.
  • Test suites (set-dimensions.test.sh, seed-copy.test.sh, binding.test.sh, the conformance runner, the adapter tests): not run in this lane. Left to the PR's CI.
  • Tidy skipped: the change spans 58 files and over 300 lines, above the 10-file / 300-line cutoffs.
  • The GitHub adapter tests' test-scope lines now name docs/conventions/work-items.yaml only. This repo's own binding is still the legacy root JSON, so an edit to that file no longer selects those tests. Listing it again would put the legacy name back, which done-when forbids.
  • The tk-empty-role-label-stops write graders no longer list the legacy JSON file as a binding target (aq-unbound-surfaces-setup still does). Not added back, because the samples could not be revalidated here.
  • Eval scaffolds now depend on the seam finding docs/conventions/work-items.yaml, which it reads only inside a git work tree whose root is not $HOME. If the eval harness sets HOME to the workspace, the binding is not found. Not verified here.

Fix

  • plugins/work-items/README.md: binding named as tracker: in <home>/work-items.yaml, with the legacy JSON fallback that setup still writes; each overlay named beside its own binding; role remap as tracker.config.role_labels
  • plugins/work-items/reference/tracker-seam.md: provider binding, role-label resolution and 'Bind the provider' name the YAML tracker mapping, else the legacy repo-root JSON binding
  • plugins/work-items/reference/label-taxonomy.md: role labels resolve from config.role_labels of the YAML tracker mapping, else the legacy JSON binding
  • plugins/work-items/skills/work/SKILL.md: binding preflight and role-label preflight name both places the seam reads
  • plugins/work-items/skills/attend-queue/SKILL.md: binding preflight names both places the seam reads
  • plugins/work-items/skills/triage/SKILL.md: unbound-choice text names both places the seam reads
  • plugins/work-items/skills/track/SKILL.md: role-label resolution names both places the seam reads
  • plugins/work-items/skills/track/actions/due.md: recurring-maintenance resolution names both places the seam reads
  • plugins/work-items/skills/track/actions/recheck.md: same
  • plugins/work-items/skills/track/actions/audit.md: same
  • plugins/work-items/schemas/work-items.schema.json: tracker description says 'the legacy repo-root JSON binding'
  • plugins/work-items/tools/work-item-tracker/CONTRACT.md: legacy fallback and legacy overlay named by reference (WIT_LEGACY_BINDING, wit_overlay_path in lib/binding.sh); the adapter-resolution paragraph names <home>/work-items.yaml
  • plugins/work-items/tools/work-item-tracker/seeds/gitea/README.md: opening sentence names the tracker key of <home>/work-items.yaml
  • plugins/work-items/tools/work-item-tracker/seeds/linear/README.md: same
  • plugins/work-items/skills/onboard-adapter/scripts/templates/README.md.tmpl: same
  • plugins/work-items/tools/work-item-tracker/seeds/{jira,gitea,linear}/common.sh: 'no binding found' message names tracker: in <home>/work-items.yaml
  • plugins/work-items/skills/onboard-adapter/scripts/templates/common.sh.tmpl: same message
  • plugins/work-items/tools/work-item-tracker/work-item-tracker.sh: 'no binding found' message drops the legacy file name
  • plugins/work-items/tools/work-item-tracker/lib/binding.sh: new wit_overlay_path helper (the overlay path whether or not it exists); wit_find_overlay built on it, behavior unchanged
  • plugins/work-items/tools/work-item-tracker/conformance/run-conformance.sh: re-homes the binding as binding.json and takes the overlay path from wit_overlay_path

Verification

The runner ran each check from the base copy against 88d67c5:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • Grep for '.work-item-tracker' in plugins/work-items excluding CHANGELOG.md: matches only lib/binding.sh, lib/binding.test.sh and skills/setup/** (SKILL.md, reference/*.md, evals/evals.json)
  • .lane/checks/bin/check-changelog-fragments: all 119 fragments valid
  • .lane/checks/bin/check-affected: 12 passed, 6 skipped (tools not installed or CI-only), 0 failed, over 58 changed files
  • .lane/verify/bin/check-evals-quality on the work, track, ship and onboard-adapter evals.json: PASS, with 1 warning (onboard-adapter id 4, conformance/bindings/redmine.sh) that predates this change
  • Fresh-context subagent review of the whole diff: no correctness bugs in scaffolds, graders vs samples, binding.sh, run-conformance.sh or the two tests. Its prose findings (skills reading only the YAML would miss setup's JSON binding, and false 'setup writes/migrates the YAML' claims) were fixed by n
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41313111108

Left out: the items under Not verified.

Related

#11880

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

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 37ee563eef6f1b5c3cabb7d946d357a4625f7529: read 6 of 6 changed file(s); 0 finding(s), 0 as inline comments.

Security review (incremental, 88d67c5..37ee563)

I found no security issues.

What changed since the last review: one string in the "no binding found" error message, changed the same way in five places: work-item-tracker.sh, the jira, gitea and linear seed common.sh files, and the onboard-adapter common.sh.tmpl. The message now also names "the legacy repo-root JSON binding". The changelog fragment was updated to match.

What I checked:

  • The new text is a fixed literal. The printf calls keep %s for $name and pass the message as the format string, so the change adds no format specifiers and no interpolation. fail_config gets a constant string.
  • No control flow changed. EX_CONFIG and fail_config still run on the same paths.
  • None of the six files matches a trusted path, and none is a trust control or a plugin manifest.
  • The PR context file contains no embedded directives aimed at this lane.

No prepaid-credit spend or billing surface is involved.

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 88d67c5148ca5aa768786584a71c7f0490405731; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 37ee563eef6f1b5c3cabb7d946d357a4625f7529: read 6 of 6 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental since 88d67c5): no findings

I read every hunk in .claude-lane/incremental.diff, covering all 6 files in scope. The change is text only. It edits the "no binding found" message in the dispatcher (work-item-tracker.sh), the jira, gitea and linear common.sh seeds, and the onboard-adapter common.sh.tmpl. The new message also names "the legacy repo-root JSON binding" as a second place the binding can be. The changelog fragment's bullet is updated to match.

  • Correctness: The new text matches what the PR says the seam does: it reads the tracker: mapping in <home>/work-items.yaml, and falls back to the legacy repo-root JSON binding until setup moves it. The old message named only the YAML file, so a user whose binding still lived in the legacy JSON file was pointed at only one of the two places. The new text fixes that. All five message sites now use the same wording.
  • Closing issue refactor(work-items): skills, references and evals name the binding in the convention home #11880, done-when item 1 (no .work-item-tracker mentions outside the seam reader, its test and setup): The new messages describe the legacy file without naming .work-item-tracker, so this change adds no grep matches.
  • Tests: I searched the work-items plugin for "no binding found". The only matches are the five message sites themselves. I found no test files under plugins/ matching "binding found", so no test needs updating for the new text.
  • Changelog fragment: The bullet still sits under ### Changed with bump: patch, which fits a change to message text.

Verification: I ran no checks myself. The PR's "Verification" section is the author's own report and I have not confirmed it.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6ybM4w
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 88d67c5148ca5aa768786584a71c7f0490405731. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate holds it on its risk score (unreadable: the head is
  37ee563eef6f1b5c3cabb7d946d357a4625f7529, not 88d67c5148ca5aa768786584a71c7f0490405731)

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 37ee563.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 37ee563eef6f1b5c3cabb7d946d357a4625f7529.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit a175b78 Nov 1, 2026
45 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-11880-41313111108-1 branch November 1, 2026 14:36
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit a175b785077c5357fc3160d617212bc70d604b20; 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.

refactor(work-items): skills, references and evals name the binding in the convention home

0 participants