Repository navigation
Description
Parent
Refs: #17228, which adds the shared contract docs/contracts/target-scope/README.md and its first adopters (/architecture:improve deepening and conventions lenses, /coupling:reduce).
The owner decided on 2026-11-18, in their own words: "for anything that affects just improving: deduplication, single source of truth, clean up, tidying, general improvement-related skills, maintenance, all that stuff, I want to be able to run across multiple repos, even though the default is usually a single target repo or folder." They approved defining multi-repository scope once, as a shared contract each skill cites (reuse-or-replace: no second way).
Depends on
- feat: run improvement skills across several repositories #17228 merged (the contract and the copy mechanism).
Outcome
/work-items:scan-todos accept the contract's target forms (--repo, --repos-from, --owner, --fleet, --skip, or the same request in words) and run once per repository with the root anchored, merging findings on one scale. With no target form, each skill behaves exactly as it does today. Writes stay per repository: one worktree and one PR each.
Where the text changes
Line numbers as read on main at dc93c878.
| File and lines | Today | Change |
|---|---|---|
plugins/work-items/skills/scan-todos/SKILL.md:3 |
[--path <dir>] [--work], one repository |
Accept the target forms; each marker is filed in its own repository's tracker. |
Key interfaces
- The contract owns the target forms, repository resolution, fan-out, merging, cross-repository signals and per-repository writes. A skill cites its sections by name and states only what differs for it; it never restates them.
- An installed plugin cannot read
docs/: carry the contract asplugins/work-items/reference/target-scope.md, registered inscripts/shared-copies.txtand generated byscripts/sync-shared-copies.sh(asplugins/coupling/reference/target-scope.mdis), unless the plugin already carries it. - Cross-repository duplicate files are measured by
/coupling:reduce(scripts/cross-repo-dups.py); a skill that wants that signal invokes the skill, never a copy of the script.
Done when
- Each listed skill accepts the target forms by citing the contract, and its
argument-hintshows[--repo <repo> ...]. - With no target form, each skill's behavior is unchanged.
- Any per-repository state (ledger, cursor, findings file, delta state) is kept per repository.
-
plugins/work-items/reference/target-scope.mdexists as a generated copy, registered inscripts/shared-copies.txtandscripts/cross-plugin-source-registry.txt;sync-shared-copies.sh --checkpasses. - The contract's Adopters table lists each skill.
-
docs/skill-cheat-sheet.mdregenerated (node scripts/generate-cheatsheet.mjs). - A changelog fragment under
.changes/work-items/. - The PR body names an eval case whose run reads the changed text, or says none does.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 19, 2026
The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).
github-actions commentedon Nov 19, 2026
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: the scan-todos skill text, a generated target-scope reference copy in the work-items plugin, the shared-copies and source registries, the contract's Adopters table, the regenerated cheat sheet and one changelog fragment; read by anyone running /work-items:scan-todos.
Reversible: yes; revert the PR, and with no target form the skill behaves as it does today.
Open questions: none
I understood this as a request to let /work-items:scan-todos accept the shared target-scope forms (--repo, --repos-from, --owner, --fleet, --skip). It would run once per repository and file each marker in its own repository's tracker. Behavior without a target form stays unchanged. The contract file already exists on main, so the stated dependency looks met. The sibling adoption issues (#17230 to #17247) cover other plugins, so I don't treat any of them as a duplicate. I found no merged pull request that already does this.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 19, 2026
{"v":1,"actor_id":337595936,"title_sha256":"e17716b4a61e765eb4a598222a9dd379cee93567334a6a84edea60dce6e3365d","body_sha256":"fc8c2b43ac640a627ef724ca272cd681e751bb729bd02cf7df450d1ebe8511f4"}
melodic-automation-lanes commentedon Nov 19, 2026
{"v":1,"actor_id":337595936,"title_sha256":"e17716b4a61e765eb4a598222a9dd379cee93567334a6a84edea60dce6e3365d","body_sha256":"fc8c2b43ac640a627ef724ca272cd681e751bb729bd02cf7df450d1ebe8511f4"}
github-actions commentedon Nov 19, 2026
melodic-automation-lanes commentedon Nov 19, 2026
This records a re-fire of an earlier stop, not a new one. A GitHub API pool's stop floor stopped run 44443483369, the work-resolve-issue run that
agent-readystarted, after its model ran, until 2026-11-19T02:46:55Z. work-unblock has now removed and addedagent-readyback to start a fresh run early in a window. A floor stop is the lanes' load, not a fault in this issue. After limits.limit-stops-per-issue of these since a person last addedagent-readyor a run last reported, work-unblock waits the limits.stranded-backoff-hoursfailed-againbackoff instead.github-actions commentedon Nov 19, 2026