wbtiger
34f14b079f
Merge pull request 'feat: 新增 6 个 Agent Skill + 收窄 gitlink-search 触发范围' ( #102 ) from jiangtx/gitlink-cli:pr/skills-upstream into master
2026-06-08 02:22:44 +08:00
wbtiger
f3e5d4aba0
Merge pull request 'feat(skills): add gitlink-gatekeeper — Policy-as-Code PR merge gate' ( #90 ) from recorder/gitlink-cli:feat/gatekeeper-skill into master
2026-06-08 02:22:00 +08:00
wbtiger
64dad994ae
Merge pull request 'feat(shortcut): add shortcuts/license' ( #121 ) from co63oc/gitlink-cli:fix2 into master
2026-06-08 02:21:21 +08:00
wbtiger
7e863398aa
Merge pull request '新增 CLI 自诊断命令' ( #132 ) from Mengz/gitlink-cli:mengz/doctor-command into master
2026-06-08 02:19:54 +08:00
wbtiger
9c085fb246
Merge pull request 'fix(i18n): 对齐 locale key schema 并补充 gosec 注释' ( #104 ) from muel/gitlink-cli:fix/i18n-schema-gosec into master
2026-06-08 02:19:19 +08:00
wbtiger
a9ee74efb0
Merge pull request 'docs: fix skills badge repository link' ( #66 ) from Mengz/gitlink-cli:codex/fix-skills-badge-link into master
2026-06-08 02:18:02 +08:00
Mengz
dec10afaeb
feat: 新增 CLI 自诊断命令
2026-06-06 18:11:45 +08:00
co63oc
dedba6e49f
feat(shortcut): add shortcuts/license
2026-06-05 16:46:37 +08:00
何开元
3255884c6e
feat(skills): add gitlink-gatekeeper — Policy-as-Code PR merge gate
...
新增 gitlink-gatekeeper Skill:版本化 gatekeeper.yaml 策略 → 5 维 0-100 评分卡
→ 三态裁决(PASS/REQUEST_CHANGES/COMMENT)→ 建议性 common 评论回写。默认 dry-run、
绝不自动合并。复用 pr +view/+files/+diff、pr +comment、ci +builds、label(已并入 master)。
- SKILL.md(六步工作流)+ REFERENCE.md(gatekeeper.yaml 全字段 + 评分算法 + CLI 映射)
+ TROUBLESHOOTING.md(12 问)
- examples/:3 套策略预设 + 评分卡样例 + 3 个可逐位复算的裁决记录(90/38/68)
- skills/README.md 登记一行
按 #90 review 重做:基于最新 master 的单个干净 commit,仅含 skill 文档,
不含 gitlink-cli 二进制(.gitignore 已排除)。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 00:05:29 -07:00
wbtiger
b45241dcda
Merge pull request 'docs: add missing contributors dtwdtw, puygob236, recorder' ( #109 ) from muel/gitlink-cli:docs/add-missing-contributors into master
2026-06-04 00:29:31 +08:00
wbtiger
633bed3360
docs: add missing contributor puygob236
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-04 00:29:52 +08:00
wbtiger
c263a2fa34
Merge pull request 'gitlink-health 开源项目健康度 Skill 贡献' ( #17 ) from yingjie/gitlink-cli:master into master
2026-06-03 23:49:27 +08:00
wbtiger
6636175bd8
Merge pull request 'refactor: rename pr +close to pr +refuse' ( #105 ) from muel/gitlink-cli:rename/pr-close-to-refuse into master
2026-06-03 23:20:11 +08:00
wbtiger
83fe18f8c0
refactor: rename pr +close to pr +refuse
...
The `pr +close` shortcut called the `refuse_merge` API, which is
misleading — "close" suggests a benign operation, but the actual
behavior is to refuse/reject the pull request permanently.
Rename the shortcut to `pr +refuse` so the name matches the API
semantics, and add a warning in the docs that it must never be used
as a substitute for `pr +merge`.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 23:20:32 +08:00
wbtiger
0e13e8bdd4
Merge pull request 'feat(issue): support metadata fields' ( #57 ) from wangyue111/gitlink-cli:feat/issue-metadata-fields into master
2026-06-03 22:37:14 +08:00
wbtiger
559e1a74f3
chore: ensure trailing newline
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 22:37:40 +08:00
Yingjie Shang
17e8c113f7
fix(health): address code review issues 3-6,8
2026-06-03 21:12:44 +08:00
Yingjie Shang
41b89976aa
perf(health): parallel fetch with errgroup and global rate limiter
...
- Replace sequential state loops with 5 parallel goroutines (errgroup)
- Global rate limiter (1000 reqs/10min, burst 5) replaces per-page sleep
- sharedState with sync.Mutex for cross-goroutine dedup and counting
- Fix getOrCreateUser/getOrCreateTag race conditions (INSERT OR IGNORE)
- Remove sleep() and API aggregates verbose output
2026-06-03 20:59:50 +08:00
Yingjie Shang
0a578bbab0
feat(health): remove per-issue detail API, add tag tables and persistence
...
- Drop fetchIssueDetail — issue list response already contains all needed fields
- Add tags/issue_tags/pull_tags tables with indexes
- Persist PR and Issue tags during savePull/saveIssue
- Fix issue aggregate field names (total_count/opened_count/closed_count)
- Document tag tables and queries in queries.md
2026-06-03 20:59:50 +08:00
Yingjie Shang
0da45def2b
feat(shortcut): rewrite gitlink-health as a Go shortcut
...
Migrate health analysis from Python scripts to a native Go shortcut
for better performance and single-binary distribution. Remove the
Python collector (fetcher.py) and move schema.sql into shortcuts/health/.
2026-06-03 20:59:50 +08:00
whzy
f4820c03b4
fix(i18n): align schema and gosec annotation
2026-06-03 13:43:56 +08:00
林迪文
d478de59a3
feat: 新增 6 个 Agent Skill + 收窄 gitlink-search 触发范围
...
新增 Skill:
- gitlink-onboarding: 新人入门引导,帮助新贡献者发现适合入门的 Issue
- gitlink-issue-triage: Issue 智能分拣,按类型/紧急度/复杂度分类并生成分拣报告
- gitlink-research-tracker: 技术调研报告生成,多维度评估+成熟度评分+趋势洞察
- gitlink-contributor-insight: 贡献者活跃度分析,支持命令可用性降级适配
- gitlink-ci-health: CI 健康巡检,通过 repo +info 检测 DevOps 状态
- gitlink-notification-digest: 通知摘要,支持 source 字段分类和批量已读
修改:
- gitlink-search: 收窄描述避免与 research-tracker 触发冲突
每个 Skill 均包含使用示例。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 10:36:13 +08:00
wbtiger
c7a3224c79
Merge pull request 'feat(skills): 新增许可证合规检查的skill : gitlink-license-compliance' ( #94 ) from yangsai/gitlink-cli:feat/gitlink-license-compliance into master
2026-06-02 23:07:48 +08:00
wbtiger
9843fc7ceb
Merge PR #57 : feat(issue): support metadata fields
...
Resolved conflicts with i18n infrastructure from PR #95 and metadata
lookup shortcuts from PR #43 .
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-02 22:46:34 +08:00
wbtiger
8e558cceca
Merge pull request 'feat(issue): add metadata lookup shortcuts' ( #43 ) from wangyue111/gitlink-cli:feat/issue-metadata-shortcuts into master
2026-06-02 22:30:26 +08:00
wbtiger
49240b3c02
Merge pull request 'fix: pr +review now posts a journal comment alongside the formal review' ( #98 ) from fix/pr-review-journal-sync into master
2026-06-02 22:08:07 +08:00
wbtiger
edf2fc30b8
fix: pr +review now posts a journal comment alongside the formal review
...
The GitLink API has two separate systems for PR feedback:
- POST /pulls/:id/reviews creates a formal review (approve/reject/comment)
that only appears in the "Reviews" panel
- POST /issues/:issueID/journals creates a comment visible in the main
PR conversation tab
Previously, `pr +review` only called the reviews API, so the review
content was invisible to the contributor in the main PR conversation.
Now it also posts a journal summary so the review is visible where
contributors expect to see it.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-02 22:03:04 +08:00
wbtiger
dec8c10a1b
Merge pull request 'feat(i18n): 完善 CLI 国际化帮助、运行时错误与校验机制' ( #95 ) from muel/gitlink-cli:feat/i18n-cli-foundation-clean into master
2026-06-02 22:02:27 +08:00
whzy
39306994bc
fix(i18n): align schema and check tool lint
2026-06-02 14:59:59 +08:00
wangyue789
34be160d96
feat(issue): add metadata lookup shortcuts
2026-06-02 12:45:30 +08:00
wangyue789
89d5321713
feat(issue): support metadata fields and id alias
2026-06-02 12:42:34 +08:00
whzy
37dfd2e2e2
feat(i18n): add CLI localization foundation
2026-06-01 17:33:10 +08:00
yangsai01
ac7499936d
feat(skills): add skill gitlink-license-compliance
2026-06-01 17:14:21 +08:00
wbtiger
e3bb4d2711
docs: update contributors section with usernames and new contributors
...
- Add GitLink username labels under each contributor avatar
- Add dtwdtw (PR #85 )
- Add recorder (PR #89 )
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 01:24:35 +08:00
wbtiger
e393484dc9
fix: update TestRegisterAll expected groups for label and pipeline
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 01:18:36 +08:00
wbtiger
fb847bf13f
Merge remote-tracking branch 'wangyue111/feat/pipeline-openapi-shortcuts' into _test_68_int
2026-06-01 01:17:23 +08:00
wbtiger
902886cabd
Merge pull request 'fix: preserve raw file API paths' ( #85 ) from dtwdtw/gitlink-cli:fix/issue-142586-raw-file-api into master
2026-06-01 01:04:25 +08:00
wbtiger
18975162a1
fix(issue): treat view id as issue number
...
Support --id as alias for --number in issue +view command.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 23:52:55 +08:00
wbtiger
a91d553130
Merge pull request 'feat(label): add issue label shortcuts' ( #89 ) from recorder/gitlink-cli:feat/label-shortcuts into master
2026-05-31 23:41:27 +08:00
wbtiger
687633d22f
Merge pull request 'chore: fix CI workflow, golangci-lint config, and minor lint/format issues' ( #92 ) from muel/gitlink-cli:chore/test-coverage-and-lint into master
2026-05-31 22:45:14 +08:00
wbtiger
1bf16d31db
chore: fix CI workflow, golangci-lint config, and minor lint/format issues
...
- Add checkout and setup-go steps to Gitea CI workflow, use make targets
- Exclude errcheck for test files in golangci-lint config
- Fix staticcheck QF1002 (tagged switch) in repo_test.go
- Fix gofmt trailing newline in triage_rules_test.go
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 22:45:17 +08:00
wbtiger
5a266867b5
Merge pull request 'chore: add test coverage to 90.3%, lint fixes, and Makefile targets' ( #91 ) from muel/gitlink-cli:chore/test-coverage-and-lint into master
2026-05-31 15:41:34 +08:00
wbtiger
0170b5b063
test: add comprehensive test coverage across all packages (88.5% → 90.3%)
...
Add 18 new test files covering formatter, envelope, config, auth,
client, context, register, and all shortcut group packages.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 15:41:54 +08:00
wbtiger
c969631495
Merge pull request 'chore: add golangci-lint config and fix lint issues' ( #88 ) from muel/gitlink-cli:chore/add-lint-and-fix-issues into master
2026-05-31 00:38:33 +08:00
wbtiger
f7263cc466
chore: add golangci-lint config and fix lint issues
...
- Add .golangci.yml with 8 essential linters (errcheck, govet,
ineffassign, staticcheck, unused, errorlint, gosec, misspell)
- Fix real bugs: errors.As, %w wrapping, nil map check, dead code,
unnecessary conversion, unused parameters
- Add `make lint` target, include it in `make check` pipeline
- Update pre-commit hook to run lint step
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 00:37:45 +08:00
何开元
cca3d019fe
feat(label): add issue label shortcuts
...
Add a `label` shortcut group wrapping the GitLink issue_tags (项目标记) API
with +list / +create / +update / +delete, plus the gitlink-label Skill,
bilingual README usage, and a changelog entry.
- +list supports keyword filter, only-name, and sort options
- +create defaults color to #1E90FF and validates hex client-side
- +update fetches current values and merges, preserving unspecified fields
- unit tests cover HTTP method, path, query, payload, color validation, id coercion
- ignore the local `gitlink-cli` build artifact (.gitignore previously only
ignored the Windows .exe)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 06:38:39 -07:00
wbtiger
4631b81e5c
style: fix gofmt alignment in root.go and register.go
2026-05-29 23:59:40 +08:00
wbtiger
6ded4851cb
ci: add local checks (make check, pre-commit hook) and Gitea Actions workflow skeleton
2026-05-29 23:58:51 +08:00
wbtiger
a4c93802a7
ci: add PR checks workflow (build, test, vet, fmt)
2026-05-29 23:57:44 +08:00
fsafasff
c28b72d46f
fix: preserve raw file API paths
2026-05-29 11:41:10 +08:00