公开记录
软件健康报告模式 0.27.0 · 指标 2.5.0 · 2026-07-29 07:31 UTC

buddingnewinsights / pi-diff

Shiki-powered terminal diff renderer for pi — syntax-highlighted, word-level diffs in split and unified views

TypeScriptMIT★ 35 星标⑂ 7 复刻始于 2026年3月在 GitHub 上查看 ↗
类型如何判定

buddingnewinsights/pi-diff 的健康指数为 100 分中的 56 分,处于「中等」区间。 其得分最高的类别是Vitality(83/100),最低的是Security(39/100)。 最近一次更新在 7 天前。 近期的大部分工作由 1 位贡献者完成。

56
总分 / 100
中等

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

56
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 54 经校准后在公布的指数量表上为 56(记录校准 2026-08-02)。

所有权

Buu个人账户
8 关注者8 个公开仓库始于 2026年2月

该仓库由个人账户拥有。相较于组织支持的项目,单一所有者项目的延续性风险更高。

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
npm@heyhuynhgiabuu/pi-diff0.7.63,268377 天前diffpipi-extensionpi-packageshikisyntax-highlightingterminal

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

83优秀 · 占总体的 21%
评分方式
36/36推送新近度 — 最近一次推送于 7 天前
8.3/36提交节奏 — 52 周中有 12 周有提交
16.4/18提交量 — 最近一年 66 次提交
10/10OpenSSF Scorecard:Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year66
human_commit_share1
days_since_last_push7
active_weeks_last_year12

发布纪律

100卓越
评分方式
27/27有发布版本 — 已发布 25 个发布版本
36/36发布时效 — 最近一次发布版本于 7 天前
27/27发布节奏 — 约每 2.2 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — 无数据
所用输入
releases_count25
latest_release_tagv0.7.6
releases_from_tags
days_since_latest_release7
mean_days_between_releases2.2
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

45薄弱 · 占总体的 17%

流行度与采用

31存在风险
评分方式
24.8/60星标 — 35 个星标
6.5/25复刻 — 7 个复刻
0/15关注者 — 0 位关注者
所用输入
forks7
stars35
watchers0
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

50中等
评分方式
22.5/22.5README
22.5/22.5许可证 — 可识别的许可证(MIT)
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_services
has_pull_request_template
评分方式
46.9/80月度下载量 — npm 合计每月 3,268 次下载
0/20注册表被依赖数 — 该生态系统不报告此项
所用输入
packages@heyhuynhgiabuu/pi-diff
dependents
ecosystemsnpm
total_downloads
monthly_downloads3,268
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

45薄弱 · 占总体的 23%
评分方式
9/54巴士系数 — 1 位贡献者贡献了半数提交
4.8/22.5提交分布 — 头号贡献者编写了 79% 的提交
2.7/13.5贡献者广度 — 2 位贡献者
0/10OpenSSF Scorecard:Contributors — project has 0 contributing companies or organizations -- score normalized to 0
所用输入
bus_factor1
contributors_sampled2
top_contributor_share0.788
评分方式
42/42议题解决 — 100% 的议题已关闭
0/30PR 接受 — 已裁定的 PR 中 0/1 已合并
0/13Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决
0/15OpenSSF Scorecard:Code-Review — Found 0/30 approved changesets -- score normalized to 0
所用输入
merged_prs0
open_issues0
closed_issues1
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio1
closed_unmerged_prs1
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
已排除计分(无数据或不适用):newcomer_pr_acceptance。 其余权重已重新归一化。
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
6.9/25所有者影响力 — buddingnewinsights 有 8 位关注者
7.9/25既往记录 — 8 个公开仓库,账户约 0 年
所用输入
followers8
owner_typeUser
is_verified
owner_loginbuddingnewinsights
public_repos8
account_age_days168
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析 — npm 上有 1 个软件包
35/35发布时效 — 最近一次发布于 7 天前
20/20版本历史 — 37 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packages@heyhuynhgiabuu/pi-diff
ecosystemsnpm
any_deprecated
min_days_since_publish7

工程质量

基础的工程与文档实践是否到位?

50中等 · 占总体的 19%

工程实践

50中等
评分方式
0/24CI 工作流
24/24存在测试
16/16Linter 配置 — biome.json
0/9.6Pre-commit 钩子
0/6.4.editorconfig
0/20OpenSSF Scorecard:CI-Tests — 无数据
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config
已排除计分(无数据或不适用):OpenSSF Scorecard:CI-Tests。 其余权重已重新归一化。

文档

50中等
评分方式
30/30README
0/25文档目录
0/15文档 / 主页站点
10/10仓库描述
0/10主题标签
10/10Wiki
所用输入
topics
has_wiki
homepage
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

39薄弱 · 占总体的 16%

安全态势

29存在风险
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
0/2.5CI-Tests — 无数据
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0/7.5Code-Review — Found 0/30 approved changesets -- score normalized to 0
0/2.5Contributors — project has 0 contributing companies or organizations -- score normalized to 0
0/10Dangerous-Workflow — 无数据
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5许可证 — license file detected
7.5/7.5Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — 无数据
0/5Pinned-Dependencies — 无数据
0/5SAST — no SAST tool detected
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — 无数据
0/7.5Token-Permissions — 无数据
2.2/7.5Vulnerabilities — 7 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated12
scorecard_versionv5.5.0
checks_inconclusive6
scorecard_aggregate2.9
已排除计分(无数据或不适用):ci_tests, dangerous_workflow, packaging, pinned_dependencies, signed_releases, token_permissions。 其余权重已重新归一化。
评分方式
20.2/35直接依赖不含已知公告 — 1 个受影响:diff 7.0.0 (moderate 5.3)
25/25间接依赖不含已知公告 — 没有间接依赖携带已知公告
35.3/40没有长期未处理的公告 — 1 个携带公告的软件包超过 90 天未处理;最早一条发布于 195 天前
所用输入
sourceosv
advisories1
affected_packages1
assessed_packages185
unassessed_packages0
affected_by_severitymoderate 1
direct_affected_packages1
比对的是 npm:@heyhuynhgiabuu/pi-diff@0.7.6 的运行时依赖闭包——安装已发布的软件包时真正被拉取进来的内容——共 185 个软件包。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

60中等 · 占总体的 4%
评分方式
0/45代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
40/40可读的提交历史 — 66 次人类提交中有 65 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
legible_history_share0.985
agent_instruction_files
agent_instruction_max_bytes
评分方式
0/18一条命令的引导启动
22/22自动化测试
11/11Lint / 格式化配置 — biome.json
11/11静态类型检查 — tsconfig.json
10/10可复现环境 — lockfile
0/10已体现的代理实践 — 最近 66 次提交中没有代理编写的提交
0/8自动化维护 — 未观察到自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependencies — 无数据
所用输入
has_nix
has_tests
lockfilespackage-lock.json, pnpm-lock.yaml
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configstsconfig.json
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0
已排除计分(无数据或不适用):OpenSSF Scorecard:Pinned-Dependencies。 其余权重已重新归一化。
评分方式
45/45可类型检查的代码 — TypeScript(静态类型)
52.9/55可控的文件大小 — 采样的 26 个源文件中有 1 个超过 60KB
所用输入
primary_languageTypeScript
largest_source_bytes81,320
source_files_sampled26
oversized_source_files1

关键数据

35GitHub 星标
2贡献者
66最近 12 个月提交数
7距最近推送天数
25发布版本数
1巴士系数(bus factor)
0开放议题
npm软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository

更多细节

Star 与 Fork 历史 0 ★ / 7 ⇿
0Star
7Fork
25发布

每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。

1234567712026-032026-052026-07
主版本 0次版本 4修订 21
OpenSSF Scorecard 2.9 / 10
2.9综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-07-29 07:31 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
不适用CI-Testsno pull request found
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/30 approved changesets -- score normalized to 0
0Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
不适用Dangerous-Workflowno workflows found
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
不适用Packagingpackaging workflow not detected
不适用Pinned-Dependenciesno dependencies found
0SASTno SAST tool detected
0Security-Policysecurity policy file not detected
不适用Signed-Releasesno releases found
不适用Token-PermissionsNo tokens found
3Vulnerabilities7 existing vulnerabilities detected
直接依赖 5
注册表软件包版本约束清单文件
npm@earendil-works/pi-coding-agent^0.80.0package.json
npm@earendil-works/pi-tui^0.80.0package.json
npm@shikijs/cli^4.0.2package.json
npmdiff^7.0.0package.json
npmxxhash-wasm^1.1.0package.json
全部依赖 未采集

本报告未能采集到解析后的依赖集合:GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository

依赖安全公告 1

安装 npm:@heyhuynhgiabuu/pi-diff@0.7.6 会引入 185 个包(直接与传递):其中 1 个存在已知公告,1 个为直接依赖。

软件包版本关系严重程度公告数修复版本
diff7.0.0直接18.0.3

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读
{
  "data": {
    "repo": {
      "topics": [],
      "is_fork": false,
      "size_kb": 898,
      "has_wiki": true,
      "homepage": null,
      "languages": {
        "Python": 2543,
        "TypeScript": 270354
      },
      "pushed_at": "2026-07-21T08:04:30Z",
      "created_at": "2026-03-30T11:24:51Z",
      "owner_type": "User",
      "updated_at": "2026-07-23T15:45:41Z",
      "description": " Shiki-powered terminal diff renderer for pi — syntax-highlighted, word-level diffs in split and unified views ",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": "MIT",
      "default_branch": "main",
      "license_spdx_raw": "MIT",
      "primary_language": "TypeScript",
      "significant_languages": [
        "TypeScript"
      ]
    },
    "owner": {
      "blog": null,
      "name": "Buu",
      "type": "User",
      "login": "buddingnewinsights",
      "company": null,
      "location": "Can Tho, Vietnam",
      "followers": 8,
      "avatar_url": "https://avatars.githubusercontent.com/u/260617570?v=4",
      "created_at": "2026-02-10T08:38:07Z",
      "is_verified": null,
      "public_repos": 8,
      "account_age_days": 168
    },
    "license": {
      "state": "standard",
      "spdx_id": "MIT",
      "raw_spdx": "MIT",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases": [
        {
          "tag": "v0.7.6",
          "kind": "patch",
          "published_at": "2026-07-21T08:04:44Z"
        },
        {
          "tag": "v0.7.5",
          "kind": "patch",
          "published_at": "2026-07-11T04:35:29Z"
        },
        {
          "tag": "v0.7.4",
          "kind": "patch",
          "published_at": "2026-07-08T18:10:08Z"
        },
        {
          "tag": "v0.7.3",
          "kind": "patch",
          "published_at": "2026-07-08T17:15:19Z"
        },
        {
          "tag": "v0.7.2",
          "kind": "patch",
          "published_at": "2026-07-05T18:54:54Z"
        },
        {
          "tag": "v0.7.1",
          "kind": "patch",
          "published_at": "2026-07-03T16:45:58Z"
        },
        {
          "tag": "v0.7.0",
          "kind": "minor",
          "published_at": "2026-07-03T16:26:31Z"
        },
        {
          "tag": "v0.6.10",
          "kind": "patch",
          "published_at": "2026-07-01T19:35:55Z"
        },
        {
          "tag": "v0.6.9",
          "kind": "patch",
          "published_at": "2026-07-01T18:10:20Z"
        },
        {
          "tag": "v0.6.7",
          "kind": "patch",
          "published_at": "2026-07-01T07:48:05Z"
        },
        {
          "tag": "v0.6.6",
          "kind": "patch",
          "published_at": "2026-07-01T07:43:18Z"
        },
        {
          "tag": "v0.6.5",
          "kind": "patch",
          "published_at": "2026-06-27T16:14:20Z"
        },
        {
          "tag": "v0.6.3",
          "kind": "patch",
          "published_at": "2026-06-21T05:27:32Z"
        },
        {
          "tag": "v0.6.2",
          "kind": "patch",
          "published_at": "2026-06-16T17:45:41Z"
        },
        {
          "tag": "v0.6.1",
          "kind": "patch",
          "published_at": "2026-06-11T05:21:43Z"
        },
        {
          "tag": "v0.6.0",
          "kind": "minor",
          "published_at": "2026-06-10T14:55:29Z"
        },
        {
          "tag": "v0.5.5",
          "kind": "patch",
          "published_at": "2026-06-08T07:51:30Z"
        },
        {
          "tag": "v0.5.4",
          "kind": "patch",
          "published_at": "2026-06-07T12:20:58Z"
        },
        {
          "tag": "v0.5.3",
          "kind": "patch",
          "published_at": "2026-06-07T11:41:21Z"
        },
        {
          "tag": "v0.5.2",
          "kind": "patch",
          "published_at": "2026-06-06T05:43:36Z"
        },
        {
          "tag": "v0.5.0",
          "kind": "minor",
          "published_at": "2026-05-30T07:09:46Z"
        },
        {
          "tag": "v0.5.1",
          "kind": "patch",
          "published_at": "2026-06-03T13:56:47Z"
        },
        {
          "tag": "v0.4.1",
          "kind": "patch",
          "published_at": "2026-05-18T05:35:36Z"
        },
        {
          "tag": "v0.3.0",
          "kind": "minor",
          "published_at": "2026-05-02T06:45:21Z"
        },
        {
          "tag": "v0.2.2",
          "kind": "patch",
          "published_at": "2026-04-14T04:59:18Z"
        }
      ],
      "recent_commits": [
        {
          "oid": "eeceac487a2023ba10258c5fc194e5bc762a3c43",
          "body": null,
          "is_bot": false,
          "headline": "release: harden apply patch and add tool config",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-21T08:03:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2270852596d642db72c1f9b42dc8a513290d502e",
          "body": null,
          "is_bot": false,
          "headline": "release: v0.7.5",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-11T04:31:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6655fc956a675fa510d33e37ff34cc24255a666f",
          "body": null,
          "is_bot": false,
          "headline": "fix: ship complete dist package in v0.7.4",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-08T18:07:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "bccef37b2d865200eb35602774aa540ba9591f75",
          "body": null,
          "is_bot": false,
          "headline": "release: prepare v0.7.3",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-08T17:11:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8d28e25027de4bf5ec49a13d29b4c14ba1d0f2c9",
          "body": "Three changes from lessons in lucumr.pocoo.org/2026/7/4/better-models-worse-tools:\n\n1. Flatten tool schemas — remove all nested JSON arrays from edit and\n   hashline_edit. Model now uses top-level string params (start_hash,\n   end_hash, replacement; oldText, newText) instead of edits[] and\n   hashli\n[…]\netection promoted\n   from warning to error; tells the model exactly which line to remove.\n\nFiles: src/core/hashline-execute.ts, src/hashline.ts,\n       src/hashline.test.ts, src/index.ts, package.json",
          "is_bot": false,
          "headline": "v0.7.2: flatten edit/hashline_edit tool schemas",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-05T18:51:19Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "ac42e1a7cc535b5db3aacfcbe5ff9cd9c00dd77b",
          "body": null,
          "is_bot": false,
          "headline": "fix(publish): include hashline dist in npm package (0.7.1)",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-03T16:45:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "72acdab4901f79f1f57fc34d803118ea621fd662",
          "body": "Content-anchored edits, BOM/EOL preserve, dryRun, shared runHashlineEdit, TUI padding/stats, ADR-001, session analyze script. 154 tests.",
          "is_bot": false,
          "headline": "feat(hashline): release 0.7.0 with hashline_read/edit tools",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-03T16:20:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1f334fd7847cecc99421efbe30a4f865f1377180",
          "body": "…ash)",
          "is_bot": false,
          "headline": "fix: themed +X -Y on write/edit call lines (summarizeThemed, write st…",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-01T19:45:23Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e7ff2a426a82e020b85d7fd16ef7841378c01e41",
          "body": "- session_start setToolsExpanded(true) vs pi-pretty collapse\n- write overwrite diff always full preview",
          "is_bot": false,
          "headline": "release: v0.6.10 default expand write/edit tool output",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-01T19:35:47Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "03d638d7f8a166d5a4a1b2c146fc3149e838c3bf",
          "body": "- formatToolCallHeader + bottom pad on write/edit renderCall\n- edit stash stats; multiEditInfo without duplicate meta row\n- new file write: toolSuccessBg, default expand, flush checkmark line\n- renderShell self on write and edit",
          "is_bot": false,
          "headline": "release: v0.6.9 write/edit headers, new-file bg, edit stats on call line",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-01T18:10:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "cc9b82f46c4fee1589b7ec388b9dd9e338faad38",
          "body": null,
          "is_bot": false,
          "headline": "fix: npm pack includes collapsed-hint.js (v0.6.8)",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-01T07:56:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4154f8bbfe4232670179a8cec4de1ab7d1acee2d",
          "body": null,
          "is_bot": false,
          "headline": "release: v0.6.7 — remove dead expand.ts",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-01T07:47:46Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f8504f84654a77bbbe3f14046cd44759edbbe32f",
          "body": "…onfig)\n\n- Dropped one-off scripts/patch-collapsed.py from working tree\n- Pruned stale fallow worktree",
          "is_bot": false,
          "headline": "chore: remove dead expand.ts (Pi 0.80 uses setToolsExpanded, not setC…",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-01T07:44:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0f716a8dcdf6b0c533073291524d780908afe4c4",
          "body": "- Edit/multi-edit: always unified diff (Pi 0.80 ctx.expanded default false)\n- Write overwrite: collapsed +N -M when !expanded\n- TOOL_HEADER_LEFT_PAD 1, DIFF_BODY_LEFT_PAD 0\n- Pi 0.80 SDK ^0.80.0",
          "is_bot": false,
          "headline": "fix: v0.6.6 edit always expanded, write collapse, header/body pad",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-01T07:41:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "77e6b1ef90ad193b89c12c081a1fde0f4f0f3ad5",
          "body": "- Pi SDK ^0.80.0; collapsed summaries for write/edit/new when !expanded\n- Write overwrite: +N -M summary vs full unified diff on expand\n- session_start toolOutputExpanded true; ctrl+o hints via collapsed-hint",
          "is_bot": false,
          "headline": "release: v0.6.7 Pi 0.80, write overwrite collapse, default expand",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-07-01T07:29:58Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0c4768c00453c601e3ef6790ef41e2a78a1e990a",
          "body": "The v0.6.5 npm tarball loaded with:\n  Cannot find module './edit-guard.js'\n\nbecause the package.json 'files' array was missing\ndist/edit-guard.* entries. This release (v0.6.6) adds them.\n\nBump to v0.6.6 since v0.6.5 is already broken on npm and\nun-installing/re-installing won't fix the published tarball.\n\nVerified: npm pack --dry-run lists all 4 edit-guard files,\n98/98 vitest passing, tsc clean.",
          "is_bot": false,
          "headline": "fix: include dist/edit-guard.* in published package",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T16:19:58Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "95eb270e8f84278d10c216819129819c2d68befe",
          "body": null,
          "is_bot": false,
          "headline": "docs: mention call preview at-line fix in 0.6.5 notes",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T16:06:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "400da84314188d1917394e46b92347cb633ca3d2",
          "body": "The result title (rendered by pi from details.summary) had the\n'at line N' suffix since 0e6adea / 6a3ca65. But the call preview\n(rendered by renderCall, shown while the edit is being dispatched)\ndidn't — it just showed '+61' with no location.\n\nThis is what the user was actually seeing in their scree\n[…]\ntes, so there's no post-write\nfile content to read; instead, we read the file once, find the\nfirst oldText, and use its line number for the suffix.\n\nVerified: tsc --noEmit clean, 98/98 vitest passing.",
          "is_bot": false,
          "headline": "fix: also include at-line in edit call preview title",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T16:00:03Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "89e2a143caac50a78d7d26a837bc4ad99804b5b8",
          "body": null,
          "is_bot": false,
          "headline": "docs: add 0.6.5 release notes and changelog entry",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T15:46:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2827d9dcf279d2a059861e3ef17f5af84fdcc12f",
          "body": null,
          "is_bot": false,
          "headline": "chore: bump version to 0.6.5",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T15:45:23Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6a3ca65e448bf073f00d1de1fe62da8ca5440126",
          "body": "The previous fix (0e6adea) only updated one of four places where\nthe 'summary' field is set in the edit tool's execute callback:\n\n  1. editInfo, first params path (line 1822)     - had the fix\n  2. multiEditInfo, first params path (1857)     - missing\n  3. editInfo, second await-origEdit path (1897)\n[…]\ne (content not in scope here, since\n  this path delegates to the SDK tool and doesn't write\n  before computing details), then compute firstEditLine\n\nVerified: tsc --noEmit clean, 98/98 vitest passing.",
          "is_bot": false,
          "headline": "fix: include at-line in title for all four edit code paths",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T15:42:24Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "6178deaafae14489515f9e2e42951f1fce5a414a",
          "body": "The README was stale in five ways vs. the current code:\n\n1. Missing the edit-guard feature (added in 7b0d8bc):\n   - new bullet in the Features section\n   - new paragraph in How It Works describing the tool_call\n     handler that blocks stale oldText before edit runs\n   - new import + registerEditGua\n[…]\nwitched to ExtensionAPI\n   to match the real signature.\n\n5. Listed registerProvider under 'Extensions can' — not used\n   by pi-diff. Removed.\n\nVerified: tsc and vitest were not affected (README only).",
          "is_bot": false,
          "headline": "docs: update README to match the rollback-to-v0.6.4 codebase",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T15:37:01Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "0e6adea83ed99a3e2b96a934b09cebb84f281524",
          "body": "The single edit tool result was rendering the diff summary\n('+9 -4') and the edit location ('at line 1944') in two\nseparate rows:\n  row 1: edit src/index.ts  +9 -4       (pi's native title)\n  row 2: at line 1944                  (pi-diff hunk header)\n\nFold the location into the title summary so both\n[…]\nats row (pass empty meta); the multiEdit\n  paths are untouched because their stats ('N edits / diff\n  lines') are info that pi's title doesn't show\n\nVerified: tsc --noEmit clean, 98/98 vitest passing.",
          "is_bot": false,
          "headline": "fix: fold edit location into title summary, drop stats row",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T15:29:01Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "b6fc6b56bfdd5a822eb2fa7f2b78f2ea6075a849",
          "body": "The hunk header for the edit tool was showing the diff summary\n('+2 -1') in two places at once: once in pi's native tool header\n('edit src/index.ts +2') and again in the pi-diff hunk header\nrow ('+2 -1 at line 2010'). Both were sourced from the same\nd.summary field.\n\nStop passing the summary to the \n[…]\nped from setToolHeaderText meta\n- multiEdit with diff:    s dropped from meta, keeps 'N edits' + line count\n- multiEdit without diff: same as above\n\nVerified: tsc --noEmit clean, 98/98 vitest passing.",
          "is_bot": false,
          "headline": "fix: drop duplicate +x-y summary from hunk header",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T15:13:17Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "7b0d8bcf4b768d0214235023cb83c4af00129201",
          "body": "Adds a tool_call handler that verifies the file content matches\nthe oldText before the edit tool executes. If oldText is not\nfound, the call is blocked with a clear error directing the model\nto re-read the file.\n\nThis prevents repeated edit-retry loops caused by stale oldText\nfrom prior tool calls a\n[…]\nl wired into the default\n  function, with proper type imports extended\n\nVerified:\n- npx tsc --noEmit\n- npm test (5 files / 98 tests passed, +5 vs. before)\n- npx vitest run (6 files / 121 tests passed)",
          "is_bot": false,
          "headline": "feat: add edit guard to block stale oldText calls",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T15:10:55Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "c5a6265a1e02059a0d8bd5c3ad416a793f679128",
          "body": "This reverts commit 2ba227e454bfcd8bab41197e85e74846638d4f7d.",
          "is_bot": false,
          "headline": "Revert \"fix: hunk header should not inherit success bg color\"",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T15:02:07Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2ba227e454bfcd8bab41197e85e74846638d4f7d",
          "body": "The edit/write tool diff preview wrapped the stats row\n('+1 -1 at line 8') in bgLine(), which paints the line with\nBG_BASE — the theme's toolSuccessBg. In most themes that is\ngreen, so the stats line read as a 'success' indicator even\nthough it just describes the change.\n\nDecouple the stats row from\n[…]\nn the\neditor (the add/del lines still carry the BG_BASE tint via\nBG_ADD / BG_DEL, which is the semantically correct place for\nthe success color).\n\nVerified: tsc --noEmit clean, 116/116 vitest passing.",
          "is_bot": false,
          "headline": "fix: hunk header should not inherit success bg color",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T15:00:18Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "bd847e6bbb887501131eee1013f37800f71d7ea8",
          "body": "Round 2 of the rollback-to-v0.6.4 review removal — the staged\ndeletions in 81514e9 removed the code, but the surface still leaked\ninto the package and docs:\n\n- README.md: remove 'Review context export' feature bullet, the entire\n  '## Git Review in Pi TUI' section (covering /review-diff, Hunk,\n  rev\n[…]\nictly as a write/edit diff renderer.\nReview (if wanted) is delegated to a separate extension such as\nbadlogic/pi-diff-review (see follow-up research). Verified: 116/116\ntests pass, tsc --noEmit clean.",
          "is_bot": false,
          "headline": "chore: drop lingering /review-diff references",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T14:41:34Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "81514e9620a3bddc34aae1b6c536611064d1e022",
          "body": "Removes the interactive review feature from the rollback-to-v0.6.4 branch:\n- Drops the `/review-diff` slash command and `review_git_diff` Pi tool\n  (src/review/command.ts, interactive.ts, session.ts, tui.ts, model.ts,\n   hunk-bridge.ts, export.ts, file-preview.ts, prompt.ts)\n- Removes the dedicated \n[…]\neview-command.test.ts)\n\nLeaves src/review/git.ts and src/review/hunk-preview.ts in place: they\nprovide the shared diff-rendering primitives imported by the main\nextension for the edit and write tools.",
          "is_bot": false,
          "headline": "chore: remove review_diff tool and comment unit tests",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T14:33:56Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "075dc09a4f3bbc6b587e094969c464c3c28e4209",
          "body": "Removes the resolve_lines LLM code-review helper tool and its tests.\nThe tool was registered in src/index.ts via pi.registerTool({ name: 'resolve_lines', ... }).\nThis commit deletes the registration, the implementation (src/core/resolve-lines.ts),\nand its test file (src/core/resolve-lines.test.ts).",
          "is_bot": false,
          "headline": "chore: remove resolve_lines tool",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-27T14:18:49Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2f03a1b1842e58221ab1bc4fa8b9c14a7d8d28a2",
          "body": "@earendil-works/pi-coding-agent and @earendil-works/pi-tui are\nruntime imports, so they must be in 'dependencies' to ship in the\nnpm tarball after 'npm install --omit=dev' (used by 'pi install').\n\nThis caused the broken load:\n\n  pi loading extension '@heyhuynhgiabuu/pi-diff'\n    Cannot find package '@earendil-works/pi-coding-agent'\n\nChanges:\n- Move both packages from devDependencies to dependencies\n- Pin to ^0.79.0 (was '*')\n- Bump version 0.6.3 → 0.6.4\n- Update CHANGELOG and add RELEASE_NOTES",
          "is_bot": false,
          "headline": "fix(0.6.4): move @earendil-works/* to dependencies",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-21T06:06:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "832e36a545b98af66898495e5d7fee363917d514",
          "body": null,
          "is_bot": false,
          "headline": "fix(release): avoid nested Pi runtime",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-21T05:26:30Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "62bef5c9b5a9fcc2bfaf225e063c51ba34ea7f31",
          "body": "- Remove raw hunk headers and decorative ellipsis separators from pretty output\n- Keep full-width split for balanced replacements\n- Use unified view for one-sided or imbalanced hunks to avoid dead split columns\n- Remove visible center dividers and stale divider width reservations\n- Stop rendering empty-side filler backgrounds in split rows",
          "is_bot": false,
          "headline": "v0.6.2: improve edit diff rendering heuristics",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-16T17:44:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "56170e388025a96fb717511b30782a6eedebcb7e",
          "body": "- Add background/padding to edit/write preview headers\n- Add spaces around -/+ gutter signs for readability\n- Remove bold from -/+ signs (normal weight)\n- Reduce diff body left padding to 1 space\n- Increase diff background intensity for visibility\n- Remove gutter gap and top/bottom rule rows\n- Add replace.js to npm files manifest\n- Replace shiki direct type imports with local aliases",
          "is_bot": false,
          "headline": "chore: bump v0.6.1",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-11T05:20:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9a268b95516dab64622d5da60e5d89810a55d2f7",
          "body": "New replace() module provides 6-strategy cascading text matching for the\nedit tool, handling whitespace drift, escape sequences, and common LLM\ntool call differences. Falls back to SDK edit tool on any failure.\n\n- Replace strategies (in order): Simple, EscapeNormalized, LineTrimmed,\n  BlockAnchor, W\n[…]\n 166 total tests (143 original + 23 new e2e integration tests)\n- Fix: hunk-bridge mock in review-command test (prevents blocking)\n- Fix: interactive test assertion (nonexistent review_git_comment ref)",
          "is_bot": false,
          "headline": "feat: add replace() cascading text engine with edit tool integration",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-10T14:54:46Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "c3d9e8ffcc547e7155e60a588f8693aa548ee8e5",
          "body": "…coded BORDER_BAR\n\nThe indicatorStyle config was parsed from pi-diff.json but never consumed\nby rendering code. BORDER_BAR was hardcoded to \\xe2\\x96\\x8c in both index.ts\nand hunk-preview.ts.\n\nFix: replaced hardcoded const with getBorderBar() function that reads\nconfigIndicatorStyle() and returns the appropriate border character.\nWhen indicatorStyle is 'none', returns a space character.",
          "is_bot": false,
          "headline": "fix: consume indicatorStyle config (bar/classic/none) instead of hard…",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-08T07:48:39Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1803051135f96a171219099effa578d002787342",
          "body": "…pm files manifest\n\nThe 'files' field in package.json only listed dist/core/diff.* — missing\nthe three new modules added in commits 28671d5 and 20745d4. This caused\nruntime crashes when the extension tried to import './core/resolve-lines.js'\nfrom dist/index.js because the installed npm package didn'\n[…]\nhip those files.\n\nAffected modules:\n  - dist/core/config.js        (new in 20745d4)\n  - dist/core/conflicts.js     (new in 20745d4)\n  - dist/core/resolve-lines.js (new in 28671d5)\n\nBump 0.5.3 → 0.5.4.",
          "is_bot": false,
          "headline": "fix: add missing core modules (config, conflicts, resolve-lines) to n…",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-07T12:15:41Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "98db092959495c77ec5865da1a2ee23c7d7196db",
          "body": null,
          "is_bot": false,
          "headline": "chore: bump to 0.5.3",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-07T11:38:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "28671d5ccc392a1f92450a68084d957d386af62c",
          "body": "- New resolve_lines tool: matches existing_code against git diff hunks\n  using OCR's three-tier algorithm (new-side, old-side, file-content)\n- 11 unit tests covering all tiers + edge cases\n- Removed review_git_diff tool (redundant with bash git diff)\n- Removed review_git_comment/review_git_comments ghost tools\n- Cleaned up unused imports and helper functions\n\nCloses: hunk-based line resolution implementation",
          "is_bot": false,
          "headline": "feat: add resolve_lines tool (hunk-based line resolution)",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-07T11:36:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "20745d47fa952f8b9ed7ad49c5b9361f4071acce",
          "body": null,
          "is_bot": false,
          "headline": "chore: bump v0.5.2, add config module, conflict parser, and docs",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-06T05:42:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d90ea59e53d8de311bfc57e4a3bdf3fda99c39ce",
          "body": "computeHunkBlocks skips all sep lines (including custom multi-edit\nseparators). The split renderers used computeHunkBlocks on the remaining\ndiff after the first del/add block, which swallowed custom seps like\n'───── Edit 2 ─────'.\n\nFix: revert to original line-by-line processing that handles each line\ntype individually — ctx, sep, and del/add blocks — in the outer loop.\nThis ensures custom sep content is preserved in the rendered output.",
          "is_bot": false,
          "headline": "fix: restore line-by-line row construction in split renderers",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-05T16:55:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d127cd1b56ae74f6ec3f8ceddb7c927f6d46242b",
          "body": "sepLabelUnified/sepLabelSplit now accept an optional content parameter\nfor custom separators. When content is non-empty, it's used directly\ninstead of computing a label from hunkMeta/gap.\n\nThis fixes the multi-edit separator being invisible — previously the\nrenderer ignored sep.content entirely, showing only '···' for custom\nseparators like '───── Edit 2 ─────'.",
          "is_bot": false,
          "headline": "fix: render multi-edit separators (───── Edit N ─────)",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-05T16:51:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "52f33c743c044be0546c4b88fa45d8ddf64ec95f",
          "body": "- write tool: store oldContent/newContent in details; when\n  _expandGaps=true, re-parse diff with full context (context=Infinity)\n- edit tool: same for single-edit path; store oldContent/newContent\n- Sep label auto style now shows +N lines for collapsed gaps\n  (e.g. \" +5 lines \" or \" fn() — +5 lines \")\n- Agent can call write/edit with { _expandGaps: true } to get\n  full-context diff rendering with all unchanged lines visible",
          "is_bot": false,
          "headline": "feat: expand unchanged regions with _expandGaps parameter",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-05T16:44:28Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "814dca3547bd89188967558d9227b3fb392ec9a1",
          "body": "…ators\n\nP0 upgrades (from diffs.com architecture review):\n- HunkMeta on sep lines: parseDiff emits synthetic sep at position 0 with\n  hunk metadata (oldStart, oldLines, newStart, newLines)\n- parsePatchFiles(patch): parse unified diff strings into internal ParsedDiff\n  with hunk function context extr\n[…]\nnkBlock + computeHunkBlocks extracts paired del/add groups from flat\n  ParsedDiff — eliminates manual grouping in both split renderers\n- 38 new tests (patch parsing, hunkMeta, sep styles, hunk blocks)",
          "is_bot": false,
          "headline": "feat: hunk metadata, patch parsing, paired blocks, configurable separ…",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-05T16:40:07Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "c5dc293f24e7d8d9aec71ebf36ff42a1660f58c1",
          "body": "When the edit tool receives multiple edits, merge all diffs into a\ncombined view with visual separators between edits (\"───── Edit N ─────\").\nStore the merged diff in details and use the same __piDiffTask async\nrenderSharedSplit pattern that single-edit already uses.\n\nPreviously the multi-edit path only stored a static text summary:\n  \"2 edits +N -M (X diff lines)\"\ninstead of the actual rendered diff.",
          "is_bot": false,
          "headline": "fix: render shared split diff for multi-edit (edits[] > 1)",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-05T15:59:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a93936acc276c08272fadb735529b64e75ceed84",
          "body": null,
          "is_bot": false,
          "headline": "chore: bump v0.5.1",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-03T13:55:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "02ad2b2c19040eb4fe4e63e559a028df86190ab2",
          "body": "- Removed 32  types, added PiTheme interface, typed content items\n- getWidthAwareText wrapper for sidebar-aware split/unified switching\n- review_git_diff: fixed return type, type-safe error/success details\n- Write renderResult: replaced ctx.state._wdk with __piDiffTask pattern\n- Edit execute: passes\n[…]\nCall: simplified to summary only (async moved to renderResult)\n- Edit renderResult: uses getWidthAwareText + __piDiffTask\n- Test updates for new rendering pattern\n- build: clean, tests: 0 new failures",
          "is_bot": false,
          "headline": "feat: type quality, sidebar-aware diff rendering, review_git_diff fix",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-06-03T13:55:43Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "470eb111c270689b54f4776b2e70a298d1de73fa",
          "body": "- Add Hunk-backed /review-diff workflow and documentation\n- Add Hunk config examples and project-local defaults\n- Remove redundant review_git_comment and review_git_comments tools\n- Keep review_git_diff as the read-only markdown context tool\n- Mark package as ESM for Pi SDK compatibility\n- Bump version to 0.5.0",
          "is_bot": false,
          "headline": "feat: use Hunk for review-diff and simplify review tools",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-05-30T06:58:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a756e9180cab2ec46a8985d79e4a849e6eafa5fa",
          "body": "- Add hunk-bridge.ts: thin subprocess wrapper for hunk CLI\n- Hunk-first path: pipe diff to hunk patch -, harvest comments\n- Fallback path: use existing ReviewDiffPane when hunk not installed\n- Fix all any/unknown types with proper Pi SDK types\n- Bump version to 0.5.0",
          "is_bot": false,
          "headline": "feat: integrate Hunk as primary diff viewer with TUI fallback",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-05-30T06:25:46Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1d150dde3ff249cf4389d817c24151f7e133f3a4",
          "body": "…ord-diff ranges\n\nRoot cause: diffWords LCS matches trailing ')' as 'common' in patterns\nlike ref(L) → ref), leaving only the old side with word-level\nhighlight ranges. This creates a confusing one-sided visual\ndescribed as 'off by 1 char'.\n\nFixes:\n- injectBg: also re-assert background after \\x1b[39\n[…]\n full reset \\x1b[0m)\n- renderUnified/renderSplit: skip word-diff emphasis when ranges\n  are asymmetric (present on only one side of a paired change)\n- Add test for the ref(L) → ref) pattern\n\nCloses #1",
          "is_bot": false,
          "headline": "fix: highlight position off-by-1 when diffWords produces asymmetric w…",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-05-18T05:32:29Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "1233abb60e82e611d20dee61361b95063306676e",
          "body": "Per pi.dev/docs/latest/sdk, the ecosystem has moved from\n@mariozechner/* to @earendil-works/*. Update all imports,\npeerDependencies, devDependencies, and test mocks.\n\n- src/: change all @mariozechner/* imports to @earendil-works/*\n- tests: update vi.mock() targets to @earendil-works/*\n- peerDeps: add @earendil-works/*, keep @mariozechner/* for transition",
          "is_bot": false,
          "headline": "feat: migrate to @earendil-works/* scope, bump v0.4.0",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-05-18T05:02:30Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "56fb71a4581e139ff6886c6370095f6658ef2538",
          "body": null,
          "is_bot": false,
          "headline": "feat: add interactive git review workflow",
          "author_name": "Buu",
          "author_login": "buddingnewinsights",
          "committed_at": "2026-05-02T06:42:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "60a8b510800690cb4eb00999dbb2b5d96ee57217",
          "body": null,
          "is_bot": false,
          "headline": "fix: derive delete diffs from toolErrorBg",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-04-14T04:58:57Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "94653b6d5bc46af6e7a11e19daa9caa171b3f735",
          "body": null,
          "is_bot": false,
          "headline": "fix: relax peer deps to *, bump v0.2.1",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-30T13:30:11Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4ceed815b7b0c7ba005cf81373079864ed6a798e",
          "body": null,
          "is_bot": false,
          "headline": "fix: keep npm scope as @heyhuynhgiabuu while using new GitHub org",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-30T11:30:46Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1537928c9b04e2a065c531a4d44168408cde49d7",
          "body": null,
          "is_bot": false,
          "headline": "chore: update repo owner to buddingnewinsights",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-30T11:27:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "27c13f7c6c17f8eb0877c1e1217634d3d700a841",
          "body": "- Pin peerDependencies to ^0.64.0 (pi-coding-agent + pi-tui)\n- Inherits built-in prepareArguments hook via ...origEdit spread\n  (auto-folds legacy oldText/newText into edits[] for resumed sessions)\n- Bump version from 0.1.7 to 0.2.0",
          "is_bot": false,
          "headline": "chore: upgrade to Pi v0.64.0, bump to 0.2.0",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-30T03:40:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fbb209e1bc27054b3e21a76fa3af24f5570d7845",
          "body": null,
          "is_bot": false,
          "headline": "feat: support multi-edit diff rendering and prepare 0.1.6",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-27T04:53:50Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "055ed8a423515ecbd506b486962835fa13f9fb7c",
          "body": "Every RST (\\x1b[0m) in diff output was resetting to terminal default\n(black), creating dark patches between styled segments when\ntoolSuccessBg is non-black. Now RST is updated to \\x1b[0m + BG_BASE\nso every reset returns to the tool box background color.\n\nThis is the root fix — all styled segments (gutters, borders, code,\nstripes, dividers) now seamlessly blend with toolSuccessBg.",
          "is_bot": false,
          "headline": "fix: make RST include BG_BASE to eliminate black flashes",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-25T18:42:09Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8b2459af52c45664b84506e6aaa8b744255750bc",
          "body": "…separators)\n\nPreviously only context lines and gutters used BG_BASE. Now stripes,\nhorizontal rules, column headers (old/new), hunk separators, and\ntruncation text all use BG_BASE too. This eliminates the dark holes\ninside colored toolSuccessBg boxes.",
          "is_bot": false,
          "headline": "fix: apply BG_BASE to all diff UI elements (stripes, rules, headers, …",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-25T18:37:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "80d3899ef798a99e52fc9010b342a11e50df670c",
          "body": "Auto-derive now reads toolSuccessBg from the pi theme and mixes\ndiff accent colors into it instead of assuming black. Context lines,\ngutters, and empty areas use the tool box background (BG_BASE),\nso diffs blend seamlessly with any toolSuccessBg color.\n\nThis fixes the clash when toolSuccessBg is set to a non-black color\n(e.g. green-tinted #1e2822) — previously the diff would render dark\nholes inside the colored tool box frame.",
          "is_bot": false,
          "headline": "fix: read toolSuccessBg from theme as base color for diff backgrounds",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-25T18:31:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "17bb7e5ce713bfff86c59967af9fac33ea78b2eb",
          "body": "Add 4-layer color resolution chain for diff theming:\n1. Environment variable overrides (backward compatible)\n2. Per-color diffColors overrides in .pi/settings.json\n3. Named diffTheme presets (default, midnight, subtle, neon)\n4. Auto-derive backgrounds from pi theme fg colors\n\nThe 'midnight' preset is optimized for pure black terminal\nbackgrounds. When no config is set, backgrounds are auto-derived\nfrom the active pi theme's toolDiffAdded/toolDiffRemoved colors.",
          "is_bot": false,
          "headline": "feat: add diff theme presets and auto-derive system",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-25T18:07:35Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d8c4b352724c553b54359eb5b4e812240dac91c2",
          "body": null,
          "is_bot": false,
          "headline": "docs: link latest release from README",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-25T10:52:57Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4e23a494daa85f1df64e8aa96f68162b72078ef6",
          "body": null,
          "is_bot": false,
          "headline": "chore: refresh repo hygiene",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-25T10:49:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2321cffd8a57da62908e57fd8cbf869ca3cd1473",
          "body": null,
          "is_bot": false,
          "headline": "chore: cut v0.1.1 release",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-25T10:47:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "77f2397bb486250692c21dc39e1adc3fd1fe09e4",
          "body": "- Split (side-by-side) and unified (stacked) views\n- Word-level change emphasis with syntax highlighting\n- Adaptive layout with auto-fallback on narrow terminals\n- LRU cache for fast re-renders\n- Fully customizable via env vars (theme, colors, thresholds)\n- Wraps pi SDK write/edit tools with rich diff output",
          "is_bot": false,
          "headline": "feat: initial release — Shiki-powered terminal diff renderer for pi",
          "author_name": "huynhgiabuu",
          "author_login": "heyhuynhgiabuu",
          "committed_at": "2026-03-25T08:43:30Z",
          "body_truncated": false,
          "is_coding_agent": false
        }
      ],
      "releases_count": 25,
      "commits_last_year": 66,
      "latest_release_at": "2026-07-21T08:04:44Z",
      "latest_release_tag": "v0.7.6",
      "releases_from_tags": false,
      "days_since_last_push": 7,
      "active_weeks_last_year": 12,
      "days_since_latest_release": 7,
      "mean_days_between_releases": 2.2
    },
    "community": {
      "has_readme": true,
      "has_license": true,
      "has_description": true,
      "has_contributing": false,
      "health_percentage": 42,
      "has_issue_template": false,
      "has_code_of_conduct": false,
      "has_pull_request_template": false
    },
    "ecosystem": {
      "packages": [
        {
          "name": "@heyhuynhgiabuu/pi-diff",
          "exists": true,
          "license": "MIT",
          "keywords": [
            "diff",
            "pi",
            "pi-extension",
            "pi-package",
            "shiki",
            "syntax-highlighting",
            "terminal"
          ],
          "ecosystem": "npm",
          "matches_repo": true,
          "registry_url": "https://www.npmjs.com/package/@heyhuynhgiabuu/pi-diff",
          "is_deprecated": false,
          "latest_version": "0.7.6",
          "repository_url": "https://github.com/buddingnewinsights/pi-diff",
          "versions_count": 37,
          "total_downloads": null,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": 1,
          "monthly_downloads": 3268,
          "first_published_at": "2026-03-25T08:40:09.847000Z",
          "latest_published_at": "2026-07-21T08:07:09.729000Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 7
        }
      ]
    },
    "popularity": {
      "forks": 7,
      "stars": 35,
      "watchers": 0,
      "fork_history": {
        "days": [
          {
            "date": "2026-03-30",
            "count": 1
          },
          {
            "date": "2026-04-01",
            "count": 1
          },
          {
            "date": "2026-04-29",
            "count": 1
          },
          {
            "date": "2026-05-04",
            "count": 1
          },
          {
            "date": "2026-05-20",
            "count": 1
          },
          {
            "date": "2026-06-18",
            "count": 1
          },
          {
            "date": "2026-07-28",
            "count": 1
          }
        ],
        "complete": true,
        "collected": 7,
        "total_forks": 7
      },
      "star_history": null,
      "open_issues_and_prs": 0
    },
    "ai_readiness": {
      "has_nix": false,
      "example_dirs": [],
      "has_llms_txt": false,
      "has_dockerfile": false,
      "has_mcp_signal": false,
      "bootstrap_files": [],
      "api_schema_files": [],
      "has_devcontainer": false,
      "typecheck_configs": [
        "tsconfig.json"
      ],
      "toolchain_manifests": [],
      "largest_source_bytes": 81320,
      "source_files_sampled": 26,
      "oversized_source_files": 1,
      "agent_instruction_files": [],
      "agent_instruction_max_bytes": null
    },
    "dependencies": {
      "manifests": [
        "package.json"
      ],
      "advisories": {
        "error": null,
        "scope": "published_package",
        "source": "osv",
        "findings": [
          {
            "name": "diff",
            "direct": true,
            "version": "7.0.0",
            "severity": "moderate",
            "ecosystem": "npm",
            "cvss_score": 5.3,
            "advisory_ids": [
              "GHSA-73rr-hh4g-fpgx"
            ],
            "fixed_version": "8.0.3",
            "advisory_count": 1,
            "oldest_advisory_days": 195
          }
        ],
        "collected": true,
        "malicious": [],
        "truncated": false,
        "by_severity": {
          "moderate": 1
        },
        "advisory_count": 1,
        "affected_count": 1,
        "assessed_count": 185,
        "malicious_count": 0,
        "assessed_package": "npm:@heyhuynhgiabuu/pi-diff@0.7.6",
        "unassessed_count": 0,
        "direct_affected_count": 1
      },
      "ecosystems": [
        "npm"
      ],
      "dependencies": [
        {
          "name": "@earendil-works/pi-coding-agent",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^0.80.0"
        },
        {
          "name": "@earendil-works/pi-tui",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^0.80.0"
        },
        {
          "name": "@shikijs/cli",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^4.0.2"
        },
        {
          "name": "diff",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^7.0.0"
        },
        {
          "name": "xxhash-wasm",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^1.1.0"
        }
      ],
      "all_dependencies": {
        "error": "GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository",
        "source": null,
        "packages": [],
        "collected": false,
        "truncated": false,
        "total_count": null,
        "direct_count": null,
        "indirect_count": null
      }
    },
    "maintainership": {
      "issues": {
        "open_prs": 0,
        "merged_prs": 0,
        "open_issues": 0,
        "closed_ratio": 1,
        "closed_issues": 1,
        "closed_unmerged_prs": 1
      },
      "bus_factor": 1,
      "bot_contributors": 0,
      "top_contributors": [
        {
          "type": "User",
          "login": "buddingnewinsights",
          "commits": 52,
          "avatar_url": "https://avatars.githubusercontent.com/u/260617570?v=4"
        },
        {
          "type": "User",
          "login": "heyhuynhgiabuu",
          "commits": 14,
          "avatar_url": "https://avatars.githubusercontent.com/u/111694395?v=4"
        }
      ],
      "contributors_sampled": 2,
      "top_contributor_share": 0.788
    },
    "quality_signals": {
      "has_ci": false,
      "has_tests": true,
      "ci_workflows": [],
      "has_docs_dir": false,
      "linter_configs": [
        "biome.json"
      ],
      "has_editorconfig": false,
      "has_linter_config": true,
      "has_precommit_config": false
    },
    "security_signals": {
      "lockfiles": [
        "package-lock.json",
        "pnpm-lock.yaml"
      ],
      "scorecard": {
        "checks": [
          {
            "name": "Binary-Artifacts",
            "score": 10,
            "reason": "no binaries found in the repo",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#binary-artifacts"
          },
          {
            "name": "Branch-Protection",
            "score": 0,
            "reason": "branch protection not enabled on development/release branches",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
          },
          {
            "name": "CI-Tests",
            "score": null,
            "reason": "no pull request found",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#ci-tests"
          },
          {
            "name": "CII-Best-Practices",
            "score": 0,
            "reason": "no effort to earn an OpenSSF best practices badge detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#cii-best-practices"
          },
          {
            "name": "Code-Review",
            "score": 0,
            "reason": "Found 0/30 approved changesets -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
          },
          {
            "name": "Contributors",
            "score": 0,
            "reason": "project has 0 contributing companies or organizations -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
          },
          {
            "name": "Dangerous-Workflow",
            "score": null,
            "reason": "no workflows found",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
          },
          {
            "name": "Dependency-Update-Tool",
            "score": 0,
            "reason": "no update tool detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
          },
          {
            "name": "Fuzzing",
            "score": 0,
            "reason": "project is not fuzzed",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
          },
          {
            "name": "License",
            "score": 10,
            "reason": "license file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
          },
          {
            "name": "Maintained",
            "score": 10,
            "reason": "30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
          },
          {
            "name": "Packaging",
            "score": null,
            "reason": "packaging workflow not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
          },
          {
            "name": "Pinned-Dependencies",
            "score": null,
            "reason": "no dependencies found",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
          },
          {
            "name": "SAST",
            "score": 0,
            "reason": "no SAST tool detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
          },
          {
            "name": "Security-Policy",
            "score": 0,
            "reason": "security policy file not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#security-policy"
          },
          {
            "name": "Signed-Releases",
            "score": null,
            "reason": "no releases found",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#signed-releases"
          },
          {
            "name": "Token-Permissions",
            "score": null,
            "reason": "No tokens found",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#token-permissions"
          },
          {
            "name": "Vulnerabilities",
            "score": 3,
            "reason": "7 existing vulnerabilities detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
          }
        ],
        "commit": "eeceac487a2023ba10258c5fc194e5bc762a3c43",
        "ran_at": "2026-07-29T07:31:18Z",
        "aggregate_score": 2.9,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": false,
      "has_security_policy": false,
      "has_dependabot_config": false
    },
    "contribution_flow": {
      "collected": true,
      "ci_last_run_at": null,
      "oldest_open_prs": [],
      "last_merged_pr_at": null,
      "ci_last_conclusion": null,
      "oldest_open_issues": []
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/buddingnewinsights/pi-diff",
    "host": "github.com",
    "name": "pi-diff",
    "owner": "buddingnewinsights"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "moderate",
      "name": "Overall health",
      "note": "The weighted overall 54 is calibrated to 56 on the published index scale (record calibration 2026-08-02).",
      "notes": [
        {
          "code": "overall_calibration",
          "params": {
            "raw": 54,
            "calibrated": 56,
            "calibration": "2026-08-02"
          }
        }
      ],
      "value": 56,
      "inputs": {
        "security": 39,
        "vitality": 83,
        "community": 45,
        "governance": 45,
        "calibration": "2026-08-02",
        "engineering": 50,
        "ai_readiness": 60,
        "weighted_overall_raw": 54
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "excellent",
        "name": "Vitality",
        "value": 83,
        "weight": 0.21,
        "metrics": [
          {
            "key": "development_activity",
            "band": "good",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 71,
            "inputs": {
              "commits_last_year": 66,
              "human_commit_share": 1,
              "days_since_last_push": 7,
              "active_weeks_last_year": 12
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 7 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 7
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "12/52 weeks with commits",
                "points": 8.3,
                "status": "partial",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 12
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "66 commits in the last year",
                "points": 16.4,
                "status": "partial",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 66
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "exceptional",
            "name": "Release discipline",
            "note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "openssf_scorecard_signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "releases_count": 25,
              "latest_release_tag": "v0.7.6",
              "releases_from_tags": false,
              "days_since_latest_release": 7,
              "mean_days_between_releases": 2.2
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "25 releases published",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "releases_published",
                    "params": {
                      "count": 25
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 7 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 7
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~2.2 days",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 2.2
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "openssf_scorecard_signed_releases",
                "name": "OpenSSF Scorecard: Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 10
              }
            ]
          },
          {
            "key": "abandonment",
            "band": "exceptional",
            "name": "Abandonment",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "cap": null,
              "state": "unverified",
              "guards": [],
              "signals": [],
              "red_flag": false,
              "multiplier_pct": 100,
              "declared_reason": null,
              "unverified_reason": "repository_too_young",
              "unanswered_open_prs": null,
              "unanswered_open_issues": null,
              "days_since_last_merged_pr": null,
              "days_since_last_human_commit": null,
              "days_since_last_human_commit_is_floor": false
            },
            "components": [
              {
                "key": "project_is_still_maintained",
                "name": "Project is still maintained",
                "detail": "maintenance record not established from the collected data",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "abandonment_unverified",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Is the project alive — is code being written and are releases shipping?"
      },
      {
        "key": "community",
        "band": "weak",
        "name": "Community & Adoption",
        "value": 45,
        "weight": 0.17,
        "metrics": [
          {
            "key": "popularity",
            "band": "at_risk",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 31,
            "inputs": {
              "forks": 7,
              "stars": 35,
              "watchers": 0,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "35 stars",
                "points": 24.8,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 35
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "7 forks",
                "points": 6.5,
                "status": "partial",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 7
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "watchers",
                "name": "Watchers",
                "detail": "0 watchers",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "watchers",
                    "params": {
                      "count": 0
                    }
                  }
                ],
                "max_points": 15
              }
            ]
          },
          {
            "key": "community_health",
            "band": "moderate",
            "name": "Community health",
            "note": null,
            "notes": [],
            "value": 50,
            "inputs": {
              "has_readme": true,
              "has_license": true,
              "readme_badges": null,
              "has_contributing": false,
              "has_issue_template": false,
              "has_code_of_conduct": false,
              "readme_badge_services": [],
              "has_pull_request_template": false
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 22.5,
                "status": "met",
                "details": [],
                "max_points": 22.5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "recognized license (MIT)",
                "points": 22.5,
                "status": "met",
                "details": [
                  {
                    "code": "license_standard",
                    "params": {}
                  },
                  {
                    "code": "license_spdx",
                    "params": {
                      "spdx": "MIT"
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributing_guide",
                "name": "CONTRIBUTING guide",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 18
              },
              {
                "key": "code_of_conduct",
                "name": "Code of conduct",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 13.5
              },
              {
                "key": "issue_template",
                "name": "Issue template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.2
              },
              {
                "key": "pr_template",
                "name": "PR template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.3
              }
            ]
          },
          {
            "key": "ecosystem_adoption",
            "band": "moderate",
            "name": "Ecosystem adoption (downloads)",
            "note": "Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "registry_dependents"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 59,
            "inputs": {
              "packages": [
                "@heyhuynhgiabuu/pi-diff"
              ],
              "dependents": null,
              "ecosystems": "npm",
              "total_downloads": null,
              "monthly_downloads": 3268
            },
            "components": [
              {
                "key": "monthly_downloads",
                "name": "Monthly downloads",
                "detail": "3,268 downloads/month across npm",
                "points": 46.9,
                "status": "partial",
                "details": [
                  {
                    "code": "downloads_monthly",
                    "params": {
                      "count": 3268,
                      "ecosystems": "npm"
                    }
                  }
                ],
                "max_points": 80
              },
              {
                "key": "registry_dependents",
                "name": "Registry dependents",
                "detail": "not reported by this ecosystem",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "not_reported_by_this_ecosystem",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
      },
      {
        "key": "governance",
        "band": "weak",
        "name": "Sustainability & Governance",
        "value": 45,
        "weight": 0.23,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "critical",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 16,
            "inputs": {
              "bus_factor": 1,
              "contributors_sampled": 2,
              "top_contributor_share": 0.788
            },
            "components": [
              {
                "key": "bus_factor",
                "name": "Bus factor",
                "detail": "1 contributor(s) cover half of all commits",
                "points": 9,
                "status": "partial",
                "details": [
                  {
                    "code": "bus_factor",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 54
              },
              {
                "key": "commit_distribution",
                "name": "Commit distribution",
                "detail": "top contributor authored 79% of commits",
                "points": 4.8,
                "status": "partial",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 79
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "2 contributors",
                "points": 2.7,
                "status": "partial",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 2
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 0 contributing companies or organizations -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "weak",
            "name": "Issue & PR responsiveness",
            "note": "Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "newcomer_pr_acceptance"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 48,
            "inputs": {
              "merged_prs": 0,
              "open_issues": 0,
              "closed_issues": 1,
              "prs_merged_7d": null,
              "prs_decided_7d": null,
              "prs_merged_30d": null,
              "prs_decided_30d": null,
              "issue_closed_ratio": 1,
              "closed_unmerged_prs": 1,
              "first_time_authors_30d": null,
              "first_time_prs_merged_30d": null,
              "first_time_prs_decided_30d": null
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "100% of issues closed",
                "points": 42,
                "status": "met",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 100
                    }
                  }
                ],
                "max_points": 42
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "0/1 decided PRs merged",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "decided_prs_merged",
                    "params": {
                      "merged": 0,
                      "decided": 1
                    }
                  }
                ],
                "max_points": 30
              },
              {
                "key": "newcomer_pr_acceptance",
                "name": "Newcomer PR acceptance",
                "detail": "no first-time contributor's PR decided in 30d",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_newcomer_prs",
                    "params": {
                      "days": 30
                    }
                  }
                ],
                "max_points": 13
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "Found 0/30 approved changesets -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              }
            ]
          },
          {
            "key": "stewardship",
            "band": "at_risk",
            "name": "Ownership & stewardship",
            "note": "Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "verified_domain"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 31,
            "inputs": {
              "followers": 8,
              "owner_type": "User",
              "is_verified": null,
              "owner_login": "buddingnewinsights",
              "public_repos": 8,
              "account_age_days": 168
            },
            "components": [
              {
                "key": "ownership_backing",
                "name": "Ownership backing",
                "detail": "personal (user) account",
                "points": 10,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_personal",
                    "params": {}
                  }
                ],
                "max_points": 30
              },
              {
                "key": "verified_domain",
                "name": "Verified domain",
                "detail": "not applicable to user accounts",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "not_applicable_to_user_accounts",
                    "params": {}
                  }
                ],
                "max_points": 20
              },
              {
                "key": "owner_reach",
                "name": "Owner reach",
                "detail": "8 followers of buddingnewinsights",
                "points": 6.9,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 8,
                      "login": "buddingnewinsights"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "8 public repos, account ~0 yr old",
                "points": 7.9,
                "status": "partial",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 8
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 0
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "exceptional",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "packages": [
                "@heyhuynhgiabuu/pi-diff"
              ],
              "ecosystems": "npm",
              "any_deprecated": false,
              "min_days_since_publish": 7
            },
            "components": [
              {
                "key": "published_resolvable",
                "name": "Published & resolvable",
                "detail": "1 package(s) on npm",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "packages_published",
                    "params": {
                      "count": 1,
                      "ecosystems": "npm"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "publish_recency",
                "name": "Publish recency",
                "detail": "latest publish 7 days ago",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 7
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "37 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 37
                    }
                  }
                ],
                "max_points": 20
              },
              {
                "key": "not_deprecated",
                "name": "Not deprecated",
                "detail": "active, not deprecated or yanked",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "package_not_deprecated",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
      },
      {
        "key": "engineering",
        "band": "moderate",
        "name": "Engineering Quality",
        "value": 50,
        "weight": 0.19,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "moderate",
            "name": "Engineering practices",
            "note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: CI-Tests. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "openssf_scorecard_ci_tests"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 50,
            "inputs": {
              "has_ci": false,
              "has_tests": true,
              "has_editorconfig": false,
              "has_linter_config": true,
              "has_precommit_config": false
            },
            "components": [
              {
                "key": "ci_workflows",
                "name": "CI workflows",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 24
              },
              {
                "key": "tests_present",
                "name": "Tests present",
                "detail": null,
                "points": 24,
                "status": "met",
                "details": [],
                "max_points": 24
              },
              {
                "key": "linter_config",
                "name": "Linter config",
                "detail": "biome.json",
                "points": 16,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "biome.json"
                    }
                  }
                ],
                "max_points": 16
              },
              {
                "key": "pre_commit_hooks",
                "name": "Pre-commit hooks",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 9.6
              },
              {
                "key": "editorconfig",
                "name": ".editorconfig",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.4
              },
              {
                "key": "openssf_scorecard_ci_tests",
                "name": "OpenSSF Scorecard: CI-Tests",
                "detail": "no pull request found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "moderate",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 50,
            "inputs": {
              "topics": [],
              "has_wiki": true,
              "homepage": null,
              "has_readme": true,
              "has_docs_dir": false,
              "has_description": true
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 30,
                "status": "met",
                "details": [],
                "max_points": 30
              },
              {
                "key": "documentation_directory",
                "name": "Documentation directory",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 25
              },
              {
                "key": "documentation_homepage_site",
                "name": "Documentation / homepage site",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "repository_description",
                "name": "Repository description",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "topics",
                "name": "Topics",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "wiki",
                "name": "Wiki",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          }
        ],
        "description": "Are baseline engineering and documentation practices in place?"
      },
      {
        "key": "security",
        "band": "weak",
        "name": "Security",
        "value": 39,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "at_risk",
            "name": "Security posture",
            "note": "Excluded from scoring (no data or not applicable): CI-Tests, Dangerous-Workflow, Packaging, Pinned-Dependencies, Signed-Releases, Token-Permissions. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "ci_tests",
                    "dangerous_workflow",
                    "packaging",
                    "pinned_dependencies",
                    "signed_releases",
                    "token_permissions"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 29,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 12,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 6,
              "scorecard_aggregate": 2.9
            },
            "components": [
              {
                "key": "binary_artifacts",
                "name": "Binary-Artifacts",
                "detail": "no binaries found in the repo",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "branch_protection",
                "name": "Branch-Protection",
                "detail": "branch protection not enabled on development/release branches",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "ci_tests",
                "name": "CI-Tests",
                "detail": "no pull request found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 2.5
              },
              {
                "key": "cii_best_practices",
                "name": "CII-Best-Practices",
                "detail": "no effort to earn an OpenSSF best practices badge detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "code_review",
                "name": "Code-Review",
                "detail": "Found 0/30 approved changesets -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 0 contributing companies or organizations -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "dangerous_workflow",
                "name": "Dangerous-Workflow",
                "detail": "no workflows found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 10
              },
              {
                "key": "dependency_update_tool",
                "name": "Dependency-Update-Tool",
                "detail": "no update tool detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "fuzzing",
                "name": "Fuzzing",
                "detail": "project is not fuzzed",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "license file detected",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "maintained",
                "name": "Maintained",
                "detail": "30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "packaging",
                "name": "Packaging",
                "detail": "packaging workflow not detected",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 5
              },
              {
                "key": "pinned_dependencies",
                "name": "Pinned-Dependencies",
                "detail": "no dependencies found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 5
              },
              {
                "key": "sast",
                "name": "SAST",
                "detail": "no SAST tool detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "security_policy",
                "name": "Security-Policy",
                "detail": "security policy file not detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "signed_releases",
                "name": "Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 7.5
              },
              {
                "key": "token_permissions",
                "name": "Token-Permissions",
                "detail": "No tokens found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 7.5
              },
              {
                "key": "vulnerabilities",
                "name": "Vulnerabilities",
                "detail": "7 existing vulnerabilities detected",
                "points": 2.2,
                "status": "partial",
                "details": [],
                "max_points": 7.5
              }
            ]
          },
          {
            "key": "dependency_advisories",
            "band": "excellent",
            "name": "Dependency advisories",
            "note": "Matched the npm:@heyhuynhgiabuu/pi-diff@0.7.6 runtime dependency closure — what installing the published package pulls in — 185 packages. Reachability is not analyzed.",
            "notes": [
              {
                "code": "advisories_scope_published",
                "params": {
                  "package": "npm:@heyhuynhgiabuu/pi-diff@0.7.6",
                  "assessed": 185
                }
              },
              {
                "code": "advisories_reachability",
                "params": {}
              }
            ],
            "value": 80,
            "inputs": {
              "source": "osv",
              "advisories": 1,
              "affected_packages": 1,
              "assessed_packages": 185,
              "unassessed_packages": 0,
              "affected_by_severity": "moderate 1",
              "direct_affected_packages": 1
            },
            "components": [
              {
                "key": "direct_dependencies_free_of_known_advisories",
                "name": "Direct dependencies free of known advisories",
                "detail": "1 affected: diff 7.0.0 (moderate 5.3)",
                "points": 20.2,
                "status": "partial",
                "details": [
                  {
                    "code": "advisories_affected",
                    "params": {
                      "count": 1,
                      "packages": "diff 7.0.0 (moderate 5.3)"
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "indirect_dependencies_free_of_known_advisories",
                "name": "Indirect dependencies free of known advisories",
                "detail": "no indirect dependency carries a known advisory",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "no_indirect_advisories",
                    "params": {}
                  }
                ],
                "max_points": 25
              },
              {
                "key": "no_advisories_left_outstanding",
                "name": "No advisories left outstanding",
                "detail": "1 advisory-carrying package(s) unaddressed past 90 days; oldest published 195 days ago",
                "points": 35.3,
                "status": "partial",
                "details": [
                  {
                    "code": "advisories_stale",
                    "params": {
                      "days": 90,
                      "count": 1,
                      "oldest": 195
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "malicious_dependencies",
            "band": "exceptional",
            "name": "Malicious dependencies",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "source": "osv",
              "meaning": "reported as a malicious package by the OpenSSF corpus; the remedy is removal or moving off the compromised name, never an upgrade of the same artifact. Versions the registry has since pulled are listed but not scored",
              "packages": [],
              "red_flag": false,
              "assessed_packages": 185,
              "malicious_packages": 0,
              "direct_malicious_packages": 0,
              "withdrawn_malicious_packages": 0,
              "installable_malicious_packages": 0
            },
            "components": [
              {
                "key": "no_dependency_reported_as_a_malicious_package",
                "name": "No dependency reported as a malicious package",
                "detail": "no dependency is reported as a malicious package",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "no_malicious_dependencies",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          },
          {
            "key": "high_risk_jurisdiction_exposure",
            "band": "exceptional",
            "name": "High-Risk Jurisdiction Exposure",
            "note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
            "notes": [
              {
                "code": "jurisdiction_evidence_limits",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "meaning": "self-published location evidence; not nationality or citizenship",
              "red_flag": false,
              "exposures": [],
              "policy_countries": [
                "Russia",
                "Iran",
                "North Korea"
              ],
              "commit_weight_rule": {
                "min_commits": 50,
                "min_commit_share": 0.1
              },
              "review_only_matches": 0,
              "below_threshold_exposures": [],
              "assessed_self_published_locations": 3
            },
            "components": [
              {
                "key": "policy_exposure_multiplier",
                "name": "Policy exposure multiplier",
                "detail": "no confirmed policy-scope location match",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "jurisdiction_no_match",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
      },
      {
        "key": "ai_readiness",
        "band": "moderate",
        "name": "AI Readiness",
        "value": 60,
        "weight": 0.04,
        "metrics": [
          {
            "key": "ai_agent_context",
            "band": "weak",
            "name": "Agent context & guidance",
            "note": null,
            "notes": [],
            "value": 40,
            "inputs": {
              "has_llms_txt": false,
              "legible_history_share": 0.985,
              "agent_instruction_files": [],
              "agent_instruction_max_bytes": null
            },
            "components": [
              {
                "key": "agent_instructions",
                "name": "Agent instructions",
                "detail": "no CLAUDE.md / AGENTS.md / editor rules",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_instructions",
                    "params": {}
                  }
                ],
                "max_points": 45
              },
              {
                "key": "machine_readable_docs_llms_txt",
                "name": "Machine-readable docs (llms.txt)",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "legible_commit_history",
                "name": "Legible commit history",
                "detail": "65 of 66 human commits state their intent (structured subject or explanatory body)",
                "points": 40,
                "status": "met",
                "details": [
                  {
                    "code": "legible_history",
                    "params": {
                      "legible": 65,
                      "sampled": 66
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "moderate",
            "name": "Verify loop (build / test / typecheck)",
            "note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Pinned-Dependencies. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "openssf_scorecard_pinned_dependencies"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 60,
            "inputs": {
              "has_nix": false,
              "has_tests": true,
              "lockfiles": [
                "package-lock.json",
                "pnpm-lock.yaml"
              ],
              "has_dockerfile": false,
              "typed_language": true,
              "bootstrap_files": [],
              "has_devcontainer": false,
              "has_linter_config": true,
              "typecheck_configs": [
                "tsconfig.json"
              ],
              "agent_commit_share": 0,
              "toolchain_manifests": [],
              "dependency_bot_commit_share": 0
            },
            "components": [
              {
                "key": "one_command_bootstrap",
                "name": "One-command bootstrap",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 18
              },
              {
                "key": "automated_tests",
                "name": "Automated tests",
                "detail": null,
                "points": 22,
                "status": "met",
                "details": [],
                "max_points": 22
              },
              {
                "key": "lint_format_config",
                "name": "Lint / format config",
                "detail": "biome.json",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "biome.json"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "static_type_checking",
                "name": "Static type checking",
                "detail": "tsconfig.json",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "tsconfig.json"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "reproducible_environment",
                "name": "Reproducible environment",
                "detail": "lockfile",
                "points": 10,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "lockfile"
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "demonstrated_agent_practice",
                "name": "Demonstrated agent practice",
                "detail": "no agent-authored commits among the last 66",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_authored_commits",
                    "params": {
                      "sampled": 66
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "automated_maintenance",
                "name": "Automated maintenance",
                "detail": "no automated dependency updates observed",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_dependency_automation",
                    "params": {}
                  }
                ],
                "max_points": 8
              },
              {
                "key": "openssf_scorecard_pinned_dependencies",
                "name": "OpenSSF Scorecard: Pinned-Dependencies",
                "detail": "no dependencies found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 10
              }
            ]
          },
          {
            "key": "ai_code_legibility",
            "band": "exceptional",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 98,
            "inputs": {
              "primary_language": "TypeScript",
              "largest_source_bytes": 81320,
              "source_files_sampled": 26,
              "oversized_source_files": 1
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "TypeScript (statically typed)",
                "points": 45,
                "status": "met",
                "details": [
                  {
                    "code": "statically_typed_language",
                    "params": {
                      "language": "TypeScript"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "1/26 source files over 60KB",
                "points": 52.9,
                "status": "partial",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 26,
                      "oversized": 1
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          }
        ],
        "description": "How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight: agent tooling is a real maintenance signal, but its absence must never gate the top of the scale (calibration saturates at raw 91, so 100/100 remains reachable with AI Readiness at zero)."
      }
    ],
    "classification": {
      "top": [
        "library"
      ],
      "labels": [
        "library"
      ],
      "scores": {
        "library": 6
      },
      "primary": "library",
      "evidence": [
        {
          "tier": "distribution",
          "label": "library",
          "source": "registry:npm",
          "weight": 6
        }
      ],
      "artifacts": [],
      "confidence": "medium",
      "host_extension": false,
      "runs_as_process": false,
      "consumed_by_code": true
    },
    "metrics_version": "2.5.0"
  },
  "warnings": [
    "Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token",
    "GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository"
  ],
  "report_type": "repository",
  "generated_at": "2026-07-29T07:31:23.142857Z",
  "schema_version": "0.27.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/b/buddingnewinsights/pi-diff.svg",
  "full_name": "buddingnewinsights/pi-diff",
  "license_state": "standard",
  "license_spdx": "MIT"
}

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.5.0、模式 v0.27.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计npm.