From 5c3f93b240a902053ae8e384ddd48cd21764e5eb Mon Sep 17 00:00:00 2001 From: Surponess Date: Mon, 6 Jul 2026 23:40:26 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/web/index.html | 477 +++++++++++++++++++++----------------------- demo/web/server.py | 10 +- 2 files changed, 240 insertions(+), 247 deletions(-) diff --git a/demo/web/index.html b/demo/web/index.html index b0383d3..b127d93 100644 --- a/demo/web/index.html +++ b/demo/web/index.html @@ -12,22 +12,23 @@ body { background:var(--bg); color:var(--txt); font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif; } .panel { background:var(--panel); border:1px solid var(--border); } .mono { font-family: "Cascadia Code", Consolas, "Courier New", monospace; } - #term-out { background:#010409; min-height:340px; max-height:460px; overflow-y:auto; padding:14px; } + #term-out { background:#010409; min-height:300px; max-height:440px; overflow-y:auto; padding:14px; } .l-cmd { color:var(--acc); } .l-out { color:var(--txt); white-space:pre-wrap; word-break:break-all; } .l-err { color:var(--red); } .l-muted { color:#6e7681; font-style:italic; } #term-input { background:#010409; border-top:1px solid var(--border); } - #term-input:focus-within { outline:none; } .skill-card { transition:.2s; } .skill-card:hover { border-color:var(--acc); transform:translateY(-2px); } .step { transition:.3s; } .step.active { border-color:var(--green); background:#1c2820; } - .btn-cmd { transition:.15s; } - .btn-cmd:hover { background:#21262d; border-color:var(--acc); } .verb { font-size:11px; padding:2px 7px; border-radius:4px; border:1px solid var(--border); background:#0d1117; cursor:pointer; transition:.15s; } .verb:hover { border-color:var(--acc); color:var(--acc); } .chip { background:#21262d; border:1px solid var(--border); } .fbtn { font-size:12px; padding:4px 12px; border-radius:9999px; border:1px solid var(--border); cursor:pointer; transition:.15s; } .fbtn.active { background:var(--acc); color:#000; border-color:var(--acc); } + details > summary { list-style:none; } + details > summary::-webkit-details-marker { display:none; } + details[open] > summary .arr { transform:rotate(90deg); } + .arr { display:inline-block; transition:.15s; } #skill-modal-body h1,#skill-modal-body h2,#skill-modal-body h3,#skill-modal-body h4 { color:#fff; margin:.7em 0 .35em; font-weight:600; } #skill-modal-body h1 { font-size:1.3em; border-bottom:1px solid var(--border); padding-bottom:.2em; } #skill-modal-body h2 { font-size:1.15em; } #skill-modal-body h3 { font-size:1.02em; } @@ -61,44 +62,56 @@ 🔬 科研四维画像 -
🔑 GitLink Token - - 📦 目标仓库 + + 📦 默认目标 / - +
- +
-

▶ 命令全域浏览器 (25 个命令域 · 点动词填命令 · 真跑 gitlink-cli)

-

点域里的动词自动填入终端;或在终端自由输入 gitlink-cli ... 回车。平台命令需在顶栏填 token;snippet 等本地命令免登录。

+

▶ 命令浏览器 (先选大方向 → 展开域 → 点动词填参数 → 真跑)

+

左侧点分类展开命令域;点动词在右侧「参数构建」里填参(搜索类命令的 keyword 等由你决定),回车或点▶运行。本地命令免 token。

+

命令域

- +
-
+
+
+ +
+
+ 🧩 参数构建 + 点左侧动词开始 +
+
+
+ $ + + +
+
+
- - - - gitlink-cli @ web-demo - + + 终端
$ - +
@@ -109,40 +122,48 @@

🧠 Skill 全集 (48 个 · 点卡片读 SKILL.md 全文)

- - - - + + + +
- +
-

🚪 任务三:代码质量看门人(pr-guard)

-

PR 提交后自动跑完 5 步质量门禁 ——「模拟流水线」看流程;填 token + PR 号可拉真实 PR 数据

+

🚪 任务三:代码质量看门人

pr-guard
+
+

是什么:PR 提交后自动跑完 5 步质量门禁 —— 串接 pr → code-review → ci → api → pr 四个命令域。

+

门禁规则0 Critical + CI success → ✅ 合并;否则 🔴 拒绝

+

与 code-review 区别:code-review 只做 Review;pr-guard 是完整闭环(采集→审查→CI→评论→判定/合并)。

+

任务三全家桶(不止 pr-guard):code-review×pr-summary 闭环、community-ops-sweep 七段式周报(wauxing)+ 自动化 Skill 族 gatekeeper / commit-quality / issue-triage / issueops / release-auto / wiki-builder / pipeline-guardian / webhook-sentinel(点下方 Skill 墙查看)。

+
- +
- +
-

🔬 任务四:科研仓库画像(research-insight)

-

四维科研评分 + 协作网络 —— 实拉实算目标仓库,回答「能不能复现/引用/合作」

+

🔬 任务四:科研仓库画像

research-insight
+
+

是什么:四维科研评分(🔁可复现性 / 📈活跃度 / 📑引用价值 / 🤝协作健康)+ 贡献者协作网络 + 巴士因子。

+

区别于 health:health 看「工程维护好不好」,本工具看「科研上值不值得引用/复现」;含 fork 检测(fork 自动改评 upstream)。

+

任务四全家桶(whale 主导,S1–S6 全生命周期):research-insight(S1) / research-graph(S2) / compliance(S3) / collab-match(S4) / research-progress(S5) / research-visual(S6) + research-fork-impact/scholar-profile;Python 算法层 ~5800 行 + Go Web demo。

+

真实验证whale_hihihi/gitlink-cli → 识别为 fork、巴士因子 38%、可复现性 8/10。

+
- 分析对象即顶栏 owner/repo - - + 分析对象 = 顶栏 owner/repo + + (公开仓库可免 token)
-
-
-
+

协作网络图 (点「实拉分析」用真实贡献者重绘)

@@ -167,263 +188,229 @@
-