Commit 63484ac
feat: make mine-tasks codehost-agnostic with git-only fallback
The skill now works with any git host: GitHub, GitLab, Bitbucket,
Azure DevOps, Gitea/Forgejo, self-hosted instances, or plain local
repos with no remote API at all.
Key changes:
- Add Host Adapter Reference section with per-host CLI/API commands
for: listing merged MRs, getting diffs, getting metadata, getting
linked issues, clone URLs + auth, repo validation, contributor
discovery
- Host auto-detection from URL patterns (github.com, gitlab.com,
bitbucket.org, dev.azure.com, self-hosted). Prompts for platform
type when ambiguous.
- git-only fallback mode: mines from git log (merge commits + commit
messages), uses git diff for patches, git log --format='%an' for
contributors. Works with zero API access.
- Clone URLs and auth patterns are per-host:
GitHub: x-access-token, GitLab: oauth2, Bitbucket: x-token-auth,
Azure: user:token. All use generic "repo_token" secret name.
- Contributor discovery: git log frequency as primary (universal)
method, host-specific reviewer APIs as enrichment
- Mixed-host support: repos from different hosts in the same eval,
each gets its own adapter and auth
- Removed GitHub Copilot as MCP provider option (host-specific),
kept Sourcegraph (works with any host) + Custom + Placeholder
- Updated terminology: "PR" → "MR/PR" throughout, host-neutral
language in summaries and output
Also regenerates script registry and index to fix pre-existing
staleness.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f11742f commit 63484ac
File tree
3 files changed
+418
-127
lines changed- docs/ops
- scripts
- skills/mine-tasks
3 files changed
+418
-127
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
213 | 221 | | |
214 | 222 | | |
215 | 223 | | |
| |||
1667 | 1675 | | |
1668 | 1676 | | |
1669 | 1677 | | |
1670 | | - | |
| 1678 | + | |
1671 | 1679 | | |
1672 | 1680 | | |
1673 | 1681 | | |
| |||
0 commit comments