Commit Graph

219 Commits

Author SHA1 Message Date
whzy bb467ae9fa docs(feishu): clarify final CI and i18n closure 2026-06-27 21:06:14 +08:00
whzy 9b82841082 docs(feishu): finalize non-image PR validation notes 2026-06-27 20:55:42 +08:00
whzy 5a2e0549c0 docs(feishu): keep validation evidence text-only 2026-06-27 12:41:56 +08:00
whzy 138d886681 feat(feishu): add full PR inventory and review attribution 2026-06-27 12:22:32 +08:00
whzy d7812df1af feat(feishu): add Open Platform readiness diagnostics 2026-06-27 10:41:52 +08:00
whzy 278b496118 docs(feishu): finalize text-only validation evidence 2026-06-26 22:33:33 +08:00
whzy b67bd33fb7 feat(feishu): validate real exports and zh-CN output 2026-06-26 21:09:12 +08:00
whzy 73da46c143 test(feishu): add local setup and smoke scripts 2026-06-26 16:30:05 +08:00
whzy 8bcc8607f5 feat(feishu): add layered collaboration integration 2026-06-26 15:53:47 +08:00
whzy bcdab0b436 docs: define gitlink cli action boundaries 2026-06-26 14:33:13 +08:00
whzy 3798bb1e13 docs: add feishu gitlink redesign research 2026-06-26 14:33:13 +08:00
whzy 69334f6894 docs: expand role-based feishu collaboration plan 2026-06-26 14:33:13 +08:00
whzy 1af54e015a chore: harden feishu export delivery 2026-06-26 14:33:13 +08:00
whzy d8cb4aa9d2 feat: add feishu doc export 2026-06-26 14:33:13 +08:00
whzy c2a581eee9 feat: add feishu export workflow 2026-06-26 14:33:13 +08:00
whzy a4f3954b2c docs: design feishu export workflow 2026-06-26 14:29:43 +08:00
wbtiger 71ca2bb683 Merge pull request 'chore(skills): update skills/README.md' (#260) from co63oc/gitlink-cli:fix5 into master 2026-06-22 00:28:41 +08:00
wbtiger 593b5e8f0d Merge pull request 'feat(shortcut): add shortcuts/wiki' (#193) from co63oc/gitlink-cli:fix4 into master 2026-06-22 00:03:52 +08:00
co63oc dbf0f45ce3 chore(skills): update skills/README.md 2026-06-16 14:27:50 +08:00
co63oc 2c9a8b6192 feat(shortcut): add shortcuts/wiki 2026-06-16 10:24:15 +08:00
wbtiger 982f2cb336 Merge pull request 'feat(issue): add batch maintenance shortcuts' (#165) from wangyue111/gitlink-cli:feat/issue-batch-maintenance into master 2026-06-16 00:15:17 +08:00
wangyue789 0703d3eba9 feat(issue): add batch maintenance shortcuts 2026-06-15 08:21:10 +08:00
wbtiger ef7a2c6ac1 Merge pull request 'docs: add luwanzhou and whale_hihihi to contributors' (#247) from chore/add-contributors-luwanzhou-whale into master 2026-06-14 19:41:06 +08:00
Tiger 6eebfeb40d docs: add luwanzhou and whale_hihihi to contributors 2026-06-14 19:41:54 +08:00
wbtiger 6454645f50 Merge pull request 'feat(skills): add gitlink-issueops — Issue 驱动的 Agent 自动化示例 Skill(响应 #6)' (#220) from recorder/gitlink-cli:feat/issueops-skill into master 2026-06-14 19:35:41 +08:00
wbtiger d3485fce45 Merge pull request 'feat(examples): add pr-quality-gatekeeper end-to-end workflow(子题三:门禁闭环 + 全仓批扫)' (#219) from recorder/gitlink-cli:feat/example-workflow-pr-gatekeeper into master 2026-06-14 19:32:55 +08:00
wbtiger 67b46eece4 Merge pull request 'feat(skills): 新增 issue标签管理的skill、过期issue自动管理的skill' (#233) from yangsai/gitlink-cli:feat/gitlink-stale-issue-manager into master 2026-06-14 19:23:37 +08:00
wbtiger 1806382459 Merge pull request 'feat(skills): 新增 科研Fork影响力分析 的skill : gitlink-research-fork-impact' (#218) from yangsai/gitlink-cli:feat/gitlink-research-fork-impact into master 2026-06-14 19:21:20 +08:00
wbtiger 46154f7c5e Merge pull request 'feat(skills): 新增 学者/团队科研画像生成 的skill : gitlink-scholar-profile' (#149) from yangsai/gitlink-cli:feat/gitlink-scholar-profile into master 2026-06-14 19:20:42 +08:00
wbtiger a61a8c4ef4 Merge pull request 'feat(skills): 新增 3 个 Agent Skill — wiki-builder, pipeline-guardian, webhook-sentinel' (#144) from whale_hihihi/gitlink-cli:skills/new-skills into master 2026-06-14 19:18:43 +08:00
wbtiger 789db5e5ae Merge pull request 'feat: 新增 dataset 数据集管理快捷命令(list/view/create/update/delete-attachment)' (#243) from luwanzhou/gitlink-cli:feat/dataset-shortcuts into master 2026-06-14 18:51:49 +08:00
Tiger ecc5578cf4 Merge upstream/master: resolve conflicts in README.zh-CN.md and register_test.go
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-14 18:50:50 +08:00
wbtiger 8c29d98a57 Merge pull request 'feat(profile): 新增用户画像统计快捷命令' (#241) from luwanzhou/gitlink-cli:feat/profile-shortcuts into master 2026-06-14 18:32:04 +08:00
wbtiger 1c84cac060 Merge pull request 'feat(shortcut): add shortcuts/ignore' (#153) from co63oc/gitlink-cli:fix3 into master 2026-06-14 18:29:41 +08:00
wbtiger 706a1396ad Merge pull request 'chore(doc): fix README.md' (#152) from co63oc/gitlink-cli:fix1 into master 2026-06-14 18:28:17 +08:00
luwanzhou 29ca94db76 feat(dataset): add full dataset CRUD (view/create/update/delete-attachment)
Extend the dataset group beyond the verified project query to the full
documented contract:

- dataset +view              -> GET    /v1/{owner}/{repo}/dataset (+page/limit)
- dataset +list --ids        -> GET    /v1/project_datasets   (prod-verified)
- dataset +create            -> POST   /v1/{owner}/{repo}/dataset
- dataset +update            -> PUT    /v1/{owner}/{repo}/dataset
- dataset +delete-attachment -> DELETE /attachments/{uuid}

Quality over a bare contract port: bilingual (en-US/zh-CN) i18n help,
--dry-run preview on create/update, --yes confirmation guard on the
destructive attachment delete, and license-id validation.

Only /v1/project_datasets is currently reachable on production www; the
per-repo routes follow the published OpenAPI spec and return 404 there
until the platform deploys them (documented in the change note). Unit
tests exercise every command against a mock server.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 14:01:57 +08:00
luwanzhou 7f731eb04f feat(dataset): add dataset query shortcuts
Add a `dataset` shortcut group for querying GitLink research datasets,
which previously had no shortcut coverage:

- dataset +list --ids <ids>  -> GET /v1/project_datasets
- dataset +view              -> GET /v1/project_datasets (project ID
                                 resolved from --owner/--repo)

Only the platform-wide query endpoint is available on production
gitlink.org.cn; the documented per-repo dataset CRUD routes return 404
there (verified against the API), so this group wraps the query endpoint
for both listing and per-repo viewing.

Includes unit tests, bilingual (en-US/zh-CN) i18n help text, README
updates, and a change note.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 11:48:22 +08:00
luwanzhou da4c8c0d10 feat(profile): 新增用户画像统计快捷命令
新增只读 profile 命令组,封装此前无 shortcut 覆盖的
GitLink 用户画像统计接口:

profile +ability      -> /users/{user}/statistics/develop
profile +role         -> /users/{user}/statistics/role
profile +major        -> /users/{user}/statistics/major
profile +activity     -> /users/{user}/statistics/activity
profile +contribution -> /users/{user}/headmaps

省略 --user 时默认通过 /users/me 解析当前认证用户。
统计命令支持 --start-time/--end-time 时间窗口,
+contribution 支持 --year 参数。

包含单元测试、中英双语 i18n 帮助文本、README 更新
及变更说明文档。
2026-06-13 23:07:27 +08:00
yangsai01 2729cc69ba feat(skills): add skill gitlink-issue-tag、gitlink-stale-issue-manager 2026-06-12 18:28:07 +08:00
yangsai01 7b880cb8ad feat(skills): add skill gitlink-scholar-profile 2026-06-12 10:43:23 +08:00
yangsai01 fb2d60f67a feat(skills): add skill gitlink-research-fork-impact 2026-06-12 10:37:31 +08:00
何开元 968ea0d7b4 feat(skills): add gitlink-issueops — issue-driven agent automation (closes #6)
IssueOps loop: create an issue -> agent picks it up -> result written back.
Two modes: live webhook callback, and a zero-infra Replay mode that polls
'webhook +tasks' (GitLink records every delivery payload even if the endpoint
is unreachable - validated on the real platform).

- SKILL.md: task conventions ([agent] prefix / agent:todo label), 7-step loop,
  untrusted-input rule (issue content is data, never instructions), write ops
  gated on user confirmation, gatekeeper integration for code tasks
- references/REFERENCE.md: allowed webhook events, hooktask payload anatomy,
  dedup cursor, the two issue-id/API tracks (v1 PATCH tag_ids for plain issues),
  CLI 0.2.0 quirks discovered during validation
- references/validation-session.md: full real-platform run with verifiable ids
  (webhook 51579, issue #3/144169, hooktask 4836246, comment 475692, label attached)

Requested by maintainer in #6 ('后续可以考虑出一个示例 Skill 来演示这个场景').
2026-06-11 19:34:36 -07:00
何开元 85a67a875f feat(examples): add pr-quality-gatekeeper end-to-end workflow
Runnable reference implementation of the merged gitlink-gatekeeper Skill:
collect -> route -> decide (deterministic 0-100 scorecard, three-state verdict)
-> write-back (comment + label + tracking issue, --apply gated, never auto-merge).

- scripts/gatekeeper_workflow.py: single-PR gate loop (pure stdlib, py>=3.9)
- scripts/gatekeeper_sweep.py: repo-wide triage — real run over all 113 open PRs
  of this repo (read-only): PASS 105 / COMMENT 6 / REQUEST_CHANGES 2, avg 88.5
- findings.example.json: real code-review findings of a real PR diff (verifiable line numbers)
- ci-example/: Gitea Actions integration (exit code 2 = REQUEST_CHANGES as CI gate)
- docs: architecture / quickstart / runbook / verification (real-platform evidence)
- tests/test_scoring.py: determinism regression guard (green)

Closes the sub-task-3 loop on top of the label command (#89) and the
gitlink-gatekeeper Skill (#90), sharing one policy file across all three layers.
2026-06-11 19:03:52 -07:00
co63oc 17c555620b feat(shortcut): add shortcuts/ignore 2026-06-09 08:50:39 +08:00
co63oc 9be51d34fc chore(doc): fix README.md 2026-06-09 07:56:38 +08:00
Tiger 52b7093846 chore: bump version to 0.2.0
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-09 01:36:12 +08:00
Tiger d0ca6b24ec Add ohanabi and jiangtx to README contributors
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-09 01:21:01 +08:00
wbtiger 462ae7b012 Merge pull request 'feat(repo): 新增 repo +tree 文件树查询命令' (#143) from ohanabi/gitlink-cli:feat/repo-tree-shortcut-final into master 2026-06-09 01:18:09 +08:00
wbtiger 220aa70e51 Merge pull request 'feat(workflows): add project bootstrap automation example' (#112) from puygob236/gitlink-cli:project-bootstrap-automation-fork into master 2026-06-09 01:10:10 +08:00
wbtiger 21966bf1ea Merge pull request 'feat(release): add edit and update shortcuts' (#69) from wangyue111/gitlink-cli:feat/release-update-shortcuts into master 2026-06-09 01:01:55 +08:00