Repository navigation
feat: run improvement skills across several repositories - #17228
Conversation
Add the target-scope contract: one target stays the default, and --repo, --repos-from, --owner and --fleet (repo-hygiene's selection words) name a set of repositories. It owns path resolution, one subagent per repository, merged ranking, the cross-repository signals, and per-repository writes. First adopters: architecture's improvement-steps "Scope and fan-out" and coupling:reduce, which gains cross-repo-dups.py to list exact and drifted copies between repositories, leaving out managed and generated copies. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vcupoo79EqmECYFZ4MTv6C
Rename ambiguous loop names in cross-repo-dups.py, format it, drop the quoted expansion from the test fixture, and register the target-scope copies in the cross-plugin source registry. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vcupoo79EqmECYFZ4MTv6C
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c66c60e5a9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Lane run report
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
claude-security-review reviewed Security review: PR #17228, incremental (73e8418 → a7320f8)No security issues in this push. This lane already reviewed an earlier head, so this review reports only blocking findings (CRITICAL and IMPORTANT). I read every hunk of the three files in scope: What I checked:
critical-findings: 0 |
…rity unknown A managed entry such as `one:scripts/retry.sh` was read as a bare path whenever its label had no slash, so a LABEL=PATH or origin-less repo's managed copies were reported as unmanaged. Labels are now matched against the resolved repository labels. Past 12 content variants the similarity was the minimum over the first 12 only, which could rank unrelated files as close copies. It now reads `?`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vcupoo79EqmECYFZ4MTv6C
|
claude-review reviewed Code review, incremental: 73e8418..a7320f8 (#17228)No blocking findings. This review covered only what changed since the last one, and since this lane already reviewed an earlier head, it reported blocking findings only. The new commit fixes this lane's two earlier advisory findings in
I ran nothing. The claims that each new test fails on the previous script and passes now are the author's, and I did not verify them. Other inputs:
Verifier dropped 0 of 0 candidates. |
Every zero-byte file shares one blob, so empty __init__.py and .gitkeep files across repositories became the top exact row. They are now skipped and counted as `excluded empty`. Generated copies filtered from name groups were dropped without being counted, so `excluded generated` under-reported. Each generated copy is now counted once, whether it falls in an exact or a name group. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vcupoo79EqmECYFZ4MTv6C
Lane run report
Failed GitHub API calls
|
Post-merge mutation testingKilled 4, survived 3, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
No related issue: owner request to let improvement, maintenance and cleanup skills run across several repositories; per-skill adoption issues are linked under Related
Summary
Improvement and cleanup skills each resolved one repository, and
/coupling:reduceclaimed the repositories altitude without a way to read more than one. This adds one shared contract for multi-repository scope, so every adopter takes the same target words and nobody invents a second way. The default stays one target. The first two adopters land here.Fix
docs/contracts/target-scope/README.md, registered in the convention registry, with generated copies inarchitectureandcoupling: target forms (--repo,--repos-from,--owner,--fleet,--skip, reusing/repo-hygiene:clean's selection words), path resolution by originowner/name, one subagent per repository, one ranking across repositories, the signals only a multi-repository run has, and writes kept per repository (one worktree and one PR each).plugins/architecture/reference/improvement-steps.md"Scope and fan-out" resolves repositories before areas, so the deepening and conventions lenses of/architecture:improvecan run across several;--repoadded to its argument hint./coupling:reduceruns per repository under the contract and, over two or more, runs the newscripts/cross-repo-dups.py: blobs tracked in several repositories (exact), and same-name files whose copies drifted (diverged, with line similarity), leaving out copies a sync manifest or vendoring registry declares, generated files and fixture paths. Steps inreference/cross-repo-copies.md.Verification
cross-repo-dups.test.sh: 17 passed (exact, diverged with similarity 0.75, generated and fixture exclusion, per-repository and all-repository managed entries, labels, usage errors). The other coupling suites still pass (derivable-list 29, value-sites 285).origin/HEAD: 2 exact and 5 diverged rows, 0.44 s.sync-shared-copies.sh --check,--check-bump origin/main,check-cross-plugin-source-drift.sh --check,check-changed-skills.sh origin/main(reduce and improve PASS), markdownlint, ruff, shellcheck, and the pre-pushcheck-affectedrun all pass.Related
Adoption issues, one per plugin, each depending on this PR: #17229 (improvement), #17230 (code-tidying), #17231 (code-metrics), #17232 (docs-hygiene), #17233 (docs-naming), #17234 (ai-slop), #17235 (codebase-health), #17236 (bugs), #17237 (attribution), #17238 (instruction-placement), #17239 (overengineering), #17240 (testing), #17241 (mutation-testing), #17242 (work-items), #17243 (discipline), #17244 (architecture remainder), #17245 (harness-config), #17246 (harness-memory), #17247 (repo-hygiene).
🤖 Generated with Claude Code
https://claude.ai/code/session_01Vcupoo79EqmECYFZ4MTv6C