公开记录
软件健康报告模式 0.27.0 · 指标 1.13.0 · 2026-07-24 14:01 UTC

jiangge / pi-cache-optimizer

Improve Pi prompt/KV cache hit rates with stable prompts, OpenAI-compatible cache keys, proxy compat warnings, and footer cache stats.

TypeScript · PythonMIT★ 40 星标⑂ 7 复刻始于 2026年5月在 GitHub 上查看 ↗

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

50
总分 / 100
中等

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 49(有风险)的上限。AI 就绪度不计入总体分。

50
优秀85-100堪称典范;基本满足所有检验标准
良好70-84健康;仅有轻微不足
中等50-69可接受,但存在明显不足;建议进行审查
存在风险30-49存在重大薄弱环节;采用时应保持审慎
危急1-29问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

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

所有权

jiangge个人账户
7 关注者1,058 个公开仓库始于 2009年7月

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

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
npmpi-cache-optimizer2.6.184,809445 天前pi-packagedeepseekopenaiclaudegeminicachekv-cacheprompt-cacheoptimizer

按类别列示的指标

活力

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

72良好 · 占总体的 22%
评分方式
36/36推送新近度 — 最近一次推送于 5 天前
6.9/36提交节奏 — 52 周中有 10 周有提交
18/18提交量 — 最近一年 138 次提交
0/10OpenSSF Scorecard:Maintained — project was created within the last 90 days. Please review its contents carefully
所用输入
commits_last_year138
human_commit_share1
days_since_last_push5
active_weeks_last_year10

发布纪律

88优秀
评分方式
16.2/27有发布版本 — 14 个版本标签(无 GitHub 发布版本)
36/36发布时效 — 最近一次发布版本于 32 天前
27/27发布节奏 — 约每 3.3 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — 无数据
所用输入
releases_count14
latest_release_tagv2.6.9
releases_from_tags
days_since_latest_release32
mean_days_between_releases3.3
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

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

46存在风险 · 占总体的 18%

流行度与采用

32存在风险
评分方式
25.8/60星标 — 40 个星标
6.5/25复刻 — 7 个复刻
0/15关注者 — 0 位关注者
所用输入
forks7
stars40
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
has_contributing
has_issue_template
has_code_of_conduct
has_pull_request_template
评分方式
49.1/80月度下载量 — npm 合计每月 4,809 次下载
0/20注册表被依赖数 — 该生态系统不报告此项
所用输入
packagespi-cache-optimizer
dependents
ecosystemsnpm
total_downloads
monthly_downloads4,809
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

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

44存在风险 · 占总体的 24%
评分方式
9/54巴士系数 — 1 位贡献者贡献了半数提交
0/22.5提交分布 — 头号贡献者编写了 100% 的提交
1.4/13.5贡献者广度 — 1 位贡献者
0/10OpenSSF Scorecard:Contributors — project has 0 contributing companies or organizations -- score normalized to 0
所用输入
bus_factor1
contributors_sampled1
top_contributor_share1
评分方式
31.2/46.8议题解决 — 67% 的议题已关闭
0/38.3PR 接受 — 已裁定的 PR 中 0/1 已合并
0/15OpenSSF Scorecard:Code-Review — Found 0/30 approved changesets -- score normalized to 0
所用输入
merged_prs0
open_issues1
closed_issues2
issue_closed_ratio0.667
closed_unmerged_prs1
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
6.5/25所有者影响力 — jiangge 有 7 位关注者
25/25既往记录 — 1,058 个公开仓库,账户约 17 年
所用输入
followers7
owner_typeUser
is_verified
owner_loginjiangge
public_repos1,058
account_age_days6,216
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析 — npm 上有 1 个软件包
35/35发布时效 — 最近一次发布于 5 天前
20/20版本历史 — 44 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packagespi-cache-optimizer
ecosystemsnpm
any_deprecated
min_days_since_publish5

工程质量

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

58中等 · 占总体的 20%

工程实践

30存在风险
评分方式
0/24CI 工作流
24/24存在测试
0/16Linter 配置
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。 其余权重已重新归一化。

文档

100优秀
评分方式
30/30README
25/25文档目录
15/15文档 / 主页站点 — https://pi.dev/packages/pi-cache-optimizer
10/10仓库描述
10/10主题标签 — 2 个主题标签
10/10Wiki
所用输入
topicscache, pi
has_wiki
homepagehttps://pi.dev/packages/pi-cache-optimizer
has_readme
has_docs_dir
has_description

安全

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

26危急 · 占总体的 16%

安全态势

26危急
评分方式
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
0/7.5Maintained — project was created within the last 90 days. Please review its contents carefully
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 — 无数据
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated12
scorecard_versionv5.5.0
checks_inconclusive6
scorecard_aggregate2.6
已排除计分(无数据或不适用):ci_tests, dangerous_workflow, packaging, pinned_dependencies, signed_releases, token_permissions。 其余权重已重新归一化。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?这是一枚独立的实验性徽章——权重为 0.0,因此单独呈现,不影响总体健康评分。

65中等 · 占总体的 0%
评分方式
45/45代理指令 — .pi/skills/trellis-meta/references/platform-files/agents.md, AGENTS.md
0/15机器可读文档(llms.txt)
40/40可读的提交历史 — 100 次人类提交中有 80 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
legible_history_share0.8
agent_instruction_files.pi/skills/trellis-meta/references/platform-files/agents.md, AGENTS.md
agent_instruction_max_bytes3,641
评分方式
0/18一条命令的引导启动
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查 — tsconfig.json
0/10可复现环境
0/10已体现的代理实践 — 最近 100 次提交中没有代理编写的提交
0/8自动化维护 — 未观察到自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependencies — 无数据
所用输入
has_nix
has_tests
lockfiles
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.8/55可控的文件大小 — 采样的 50 个源文件中有 2 个超过 60KB
所用输入
primary_languageTypeScript
largest_source_bytes304,805
source_files_sampled50
oversized_source_files2

关键数据

40GitHub 星标
1贡献者
138最近 12 个月提交数
5距最近推送天数
14发布版本数
1巴士系数(bus factor)
1开放议题
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
1发布

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

123456612026-062026-062026-07
主版本 0次版本 0修订 1
OpenSSF Scorecard 2.6 / 10
2.6综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-07-24 14:01 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
0Maintainedproject was created within the last 90 days. Please review its contents carefully
不适用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
10Vulnerabilities0 existing vulnerabilities detected
全部依赖 未采集

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

原始 JSON 报告 机器可读
{
  "data": {
    "repo": {
      "topics": [
        "cache",
        "pi"
      ],
      "is_fork": false,
      "size_kb": 1330,
      "has_wiki": true,
      "homepage": "https://pi.dev/packages/pi-cache-optimizer",
      "languages": {
        "Shell": 8093,
        "Python": 238007,
        "JavaScript": 14491,
        "TypeScript": 750192
      },
      "pushed_at": "2026-07-19T01:29:33Z",
      "created_at": "2026-05-14T01:30:55Z",
      "owner_type": "User",
      "updated_at": "2026-07-24T06:29:37Z",
      "description": "Improve Pi prompt/KV cache hit rates with stable prompts, OpenAI-compatible cache keys, proxy compat warnings, and footer cache stats.",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": "MIT",
      "default_branch": "master",
      "license_spdx_raw": "MIT",
      "primary_language": "TypeScript",
      "significant_languages": [
        "TypeScript",
        "Python"
      ]
    },
    "owner": {
      "blog": null,
      "name": null,
      "type": "User",
      "login": "jiangge",
      "company": null,
      "location": null,
      "followers": 7,
      "avatar_url": "https://avatars.githubusercontent.com/u/105886?v=4",
      "created_at": "2009-07-17T06:12:06Z",
      "is_verified": null,
      "public_repos": 1058,
      "account_age_days": 6216
    },
    "license": {
      "state": "standard",
      "spdx_id": "MIT",
      "raw_spdx": "MIT",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases": [
        {
          "tag": "v2.6.9",
          "kind": "patch",
          "published_at": "2026-06-22T07:20:41Z"
        },
        {
          "tag": "v2.5.4",
          "kind": "patch",
          "published_at": "2026-05-31T07:25:43Z"
        },
        {
          "tag": "v2.5.1",
          "kind": "patch",
          "published_at": "2026-05-24T19:01:24Z"
        },
        {
          "tag": "v2.5.0",
          "kind": "minor",
          "published_at": "2026-05-24T13:15:21Z"
        },
        {
          "tag": "v2.4.9",
          "kind": "patch",
          "published_at": "2026-05-24T02:13:21Z"
        },
        {
          "tag": "v2.4.8",
          "kind": "patch",
          "published_at": "2026-05-24T01:36:59Z"
        },
        {
          "tag": "v2.4.7",
          "kind": "patch",
          "published_at": "2026-05-23T23:33:13Z"
        },
        {
          "tag": "v2.4.6",
          "kind": "patch",
          "published_at": "2026-05-23T17:32:20Z"
        },
        {
          "tag": "v2.4.5",
          "kind": "patch",
          "published_at": "2026-05-23T17:11:51Z"
        },
        {
          "tag": "v2.4.4",
          "kind": "patch",
          "published_at": "2026-05-23T14:46:19Z"
        },
        {
          "tag": "v2.4.3",
          "kind": "patch",
          "published_at": "2026-05-23T14:29:21Z"
        },
        {
          "tag": "v2.4.2",
          "kind": "patch",
          "published_at": "2026-05-23T11:29:53Z"
        },
        {
          "tag": "v2.4.1",
          "kind": "patch",
          "published_at": "2026-05-23T03:01:58Z"
        },
        {
          "tag": "v2.0.2",
          "kind": "patch",
          "published_at": "2026-05-17T08:39:16Z"
        }
      ],
      "recent_commits": [
        {
          "oid": "8b12aef8c7f1f262f547355bf51c76e752b46992",
          "body": null,
          "is_bot": false,
          "headline": "Support Pi 0.80.10 and Kimi K3 compat",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-07-19T01:23:27Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d42b4b4a7bf9bd8467ed6e64294269b18c8dd749",
          "body": null,
          "is_bot": false,
          "headline": "Add Sonnet 5 adaptive verification coverage",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-07-07T10:51:40Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9540450f8211b16f0f02ba8e838bb3589b464fc2",
          "body": null,
          "is_bot": false,
          "headline": "Support Sonnet 5 adaptive thinking compat",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-07-07T10:25:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0468f8339cf14e952910a008733f3c7c309aa91e",
          "body": null,
          "is_bot": false,
          "headline": "feat: diagnose OpenAI SDK header 403 blocks",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-27T15:33:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "177d37cf74364fadbac42067c3b66df2728936e2",
          "body": null,
          "is_bot": false,
          "headline": "fix: respect session-affinity false opt-out",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-27T15:02:21Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "793bcc2e7d37fd250c82fe130f78e9f78803393f",
          "body": "…(v2.6.14)\n\n- Add isSessionAffinity403Applicable guard + sendSessionAffinityHeaders403Models Set\n- Restructure after_provider_response to handle both 400 and 403 in separate blocks\n- buildDoctorDiagnosis: add sessionAffinity403 option (strong hint + advisory)\n- /cache-optimizer fix: 403-specific pat\n[…]\nv4-pro model-level\n  sendSessionAffinityHeaders:false, supportsLongCacheRetention:false\n- Spec + verify-403-detection.ts (10 tests), all 4 prior scripts (59 tests) pass\n- Bump version 2.6.13 -> 2.6.14",
          "is_bot": false,
          "headline": "feat: detect 403 session-affinity header blocking + fix mofas compat …",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-27T11:43:36Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "bb2df11e4b1eb3af721922c9372247ec87ef59ec",
          "body": "…rift)\n\nFor direct (non-virtual-routing) OpenAI-compatible providers, the upstream API\nmay normalize/rename the model id echoed in its response (e.g. request\nzai-org/GLM-5.2-FP8 but the message carries GLM5.2-FP8 / glm-5.2 / GLM-5.2).\n\nmessage_end wrote stats under the echoed id (message-local ident\n[…]\nprovider-stats-consolidation.ts\n(18 tests); all 3 existing verify scripts (41 tests) still pass; git diff\n--check; npm pack --dry-run.\n\nBump version to 2.6.13 (runtime footer-display behavior change).",
          "is_bot": false,
          "headline": "Fix direct-provider footer stats fragmentation (response model name d…",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-27T10:35:33Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "88d670b326b479986b454d33649556a7f91d5263",
          "body": null,
          "is_bot": false,
          "headline": "chore: bump version to 2.6.12",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-27T03:38:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "892b1fd53aa6390ef3ac165d1b37efc67bd58ed5",
          "body": "Pi's auto-retry emits message_end for both the failed attempt and the\nsuccessful retry. The error message carries a zero-usage object\n({input:0, cacheRead:0, cacheWrite:0}) that passes through\nnormalizeUsage as a valid snapshot, causing addUsageToCacheStats to\nincrement totalRequests without real ca\n[…]\nhe hit rate.\n\nFix: check stopReason in message_end handler; skip stats entirely for\nmessages with stopReason 'error' or 'aborted', keeping totalRequests\naccurate by only counting successful responses.",
          "is_bot": false,
          "headline": "fix: skip stats for error/aborted messages to prevent retry inflation",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-27T03:37:48Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "94776373765b2a0f2824bbb828aebd52744cde88",
          "body": null,
          "is_bot": false,
          "headline": "Fix footer stats continuity across restarts",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-24T13:12:40Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b991885535bb456304d156e8d3fd81edbd36d044",
          "body": null,
          "is_bot": false,
          "headline": "chore: release v2.6.10",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-23T12:56:47Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d87b997c51cefebbf8f3c028da9ef6f59b1291da",
          "body": "…search\n\nTwo follow-up defects in the /cache-optimizer fix flow, both confirmed\nby reproduction before fixing.\n\n(B) selfCheckFix isSubset identity-scope gap\n    mayRepairThisCompat used a disjunction (origObj === origProvider\n    OR origObj === origTargetModelRecord), so BOTH the provider and\n    ta\n[…]\no on real\n  ~/.pi/agent/models.json mofas/glm-5.2 case passes: model compat\n  sendSessionAffinityHeaders false->true, provider compat untouched,\n  selfCheckFix accepts the -1-byte value-repair result.",
          "is_bot": false,
          "headline": "fix(cache-fix): placement-aware self-check + comment-safe structural …",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-23T12:52:30Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "fa5167d81409c118e0ef8de59de213ef96fb8b2b",
          "body": "…-replacing compat fixes\n\nWhen /cache-optimizer fix had to repair an existing compat value to a\nSHORTER value (e.g. sendSessionAffinityHeaders: false -> true, 5 bytes ->\n4 bytes), the resulting models.json was legitimately 1 byte smaller than\nthe original. selfCheckFix's Step 8 heuristic\n(modified.l\n[…]\norted internals (composeFixInsertion /\nselfCheckFix / locateModelInJsonc) asserting the shorter value-replace\nis accepted and lands, while true truncation and sibling deletion stay\nrejected. 9/9 pass.",
          "is_bot": false,
          "headline": "fix(cache-fix): remove false-positive length check that aborted value…",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-23T12:08:48Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "8b2543eb9e89f19b968dbf1c3d8f95d93c54c8d4",
          "body": null,
          "is_bot": false,
          "headline": "chore: release v2.6.9 - gate ordering + spec compliance fixes",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-22T07:20:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c97e5c82a7d6f37a9c050a6cf9e4ba9fdaac3ece",
          "body": "Deep review of the simplified prompt_cache_retention logic found\nthree issues, all now fixed:\n\n1. CRITICAL — Gate ordering bug (infinite 400 loop):\n   The original 4-gate logic checked explicit opt-in (Gate 2) BEFORE\n   400 history (Gate 3). If a user explicitly opted in but the API\n   returned 400,\n[…]\n catches opt-in that's wrong\n  Layer 3: /cache-optimizer fix 400 path — offers false override\n  Layer 4: doctor/compat advisory — informs without ⚠️ compat marker\n\nRefs: .trellis/tasks/06-19-pi/prd.md",
          "is_bot": false,
          "headline": "fix: critical gate ordering + spec compliance for prompt_cache_retention",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-22T06:57:00Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "d9b09766dab4e4b63e1f945a4be144eefc74526e",
          "body": "…check\n\nProblem: User reported 400 errors with opencode-go/glm-5.2 due to\nprompt_cache_retention parameter. Investigation revealed this affects\n400+ third-party openai-completions models - Pi defaults\nsupportsLongCacheRetention to true, but most third-party APIs don't\nsupport the parameter.\n\nRoot ca\n[…]\nect the actual problem\n- Handles edge cases (provider vs model level compat)\n\nValidation: TypeScript check, git diff --check, npm pack, task.py validate all pass.\n\nRefs: .trellis/tasks/06-19-pi/prd.md",
          "is_bot": false,
          "headline": "refactor: simplify prompt_cache_retention logic with explicit opt-in …",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-22T06:40:49Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "af2500182066d573f7a62baaebc4cf364c402ea6",
          "body": "…icit compat opt-in",
          "is_bot": false,
          "headline": "fix: proactively strip prompt_cache_retention for models without expl…",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-22T02:51:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ce4f3a4c8ee7b47b76b8de058e0c71a82765a7c8",
          "body": null,
          "is_bot": false,
          "headline": "fix: auto-strip prompt_cache_retention from payload after observed 400",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-22T02:44:21Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ff0b5b227097c142786cb89ec2435192c62929cc",
          "body": "…or prompt_cache_retention",
          "is_bot": false,
          "headline": "fix: override supportsLongCacheRetention to false when 400 detected f…",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-22T02:34:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "550d3cfdd2d5a37380b5e8acf6d4e8ddef7f0553",
          "body": null,
          "is_bot": false,
          "headline": "chore: release 2.6.8",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-22T02:26:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "810bec554affed408b8b06e1fb427d3f45677f7d",
          "body": "…dels.json entry",
          "is_bot": false,
          "headline": "fix: support /cache-optimizer fix for API-logged-in models without mo…",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-22T02:26:20Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1a57134fef30c9d0f130e15fa904f1bfa07dc59c",
          "body": null,
          "is_bot": false,
          "headline": "chore: release 2.6.7",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-19T04:14:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d1a23d9b0508276c43a9962066f41cd36fb31dc0",
          "body": null,
          "is_bot": false,
          "headline": "chore(task): record Pi compatibility docs commit",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-19T01:48:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3bd13912a40cb2cb479eee5b07bf22db903e65bb",
          "body": null,
          "is_bot": false,
          "headline": "docs: add router integration guidance",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-19T01:47:44Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e70c06b4f0af5d6f5f755f160bc6580d85ac0885",
          "body": null,
          "is_bot": false,
          "headline": "docs: document Pi 0.79 cache optimizer compatibility",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-19T01:14:45Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c505a84aee3c4f91139bb4feb577ecd06c5d2cca",
          "body": null,
          "is_bot": false,
          "headline": "chore: bump version to 2.6.6",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T15:31:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f7b0a5dfa8848f264c9aa1ecb7bea44d0230002d",
          "body": null,
          "is_bot": false,
          "headline": "chore(task): archive bootstrap guidelines",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T07:55:49Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "42ba62977d8b0152b618be645152bb9966f3aa30",
          "body": null,
          "is_bot": false,
          "headline": "docs(spec): populate trellis frontend guidelines",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T07:55:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3c65cc0a3a63200fd12754c4f19dcee96dd3fddb",
          "body": null,
          "is_bot": false,
          "headline": "chore(task): archive resolved optimization tasks",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T07:52:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4862083ed6ddb481670be9e47a001e3713c23a67",
          "body": null,
          "is_bot": false,
          "headline": "docs(task): record completion reports for resolved tasks",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T07:51:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "eba74d0dbd0675c022977e9dda2dddfac6ef27a9",
          "body": null,
          "is_bot": false,
          "headline": "chore(task): archive router PR replies",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T07:46:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0159b96728905c977ab20715e1c9ef69127a54b2",
          "body": null,
          "is_bot": false,
          "headline": "docs(task): record router PR replies",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T07:46:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d7fe070d6c0902ea8d3995b234201975c44622e0",
          "body": null,
          "is_bot": false,
          "headline": "chore(task): archive typescript validation",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T07:41:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "617c9dd6f6cf48f266d0c9d744bce92684f8d5f4",
          "body": null,
          "is_bot": false,
          "headline": "test: record complete typescript validation",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T07:41:28Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3e6719a71b207a8f160b21378ec9221a64e16290",
          "body": null,
          "is_bot": false,
          "headline": "chore(task): archive routing provider cache protocol",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T07:37:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e07ccdaa4a627891b773c82ed140a0fef07163b9",
          "body": null,
          "is_bot": false,
          "headline": "feat: add routing provider cache protocol",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T06:49:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6fec1e6c49f31e5985f71552543f41435cb2c170",
          "body": null,
          "is_bot": false,
          "headline": "chore(task): archive adaptive thinking compat fix",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-18T06:15:57Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "cb91189f03f67241d000aaf0cb971fa0452d5767",
          "body": null,
          "is_bot": false,
          "headline": "chore: bump version to 2.6.5",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-14T14:39:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ea4106893004496feb5d9d0ede5636c9f1d07d1f",
          "body": null,
          "is_bot": false,
          "headline": "fix: treat generic long retention as optional advisory",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-14T14:16:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "cc648cc4d06f8f434d2fa3121d10d92ee5f91d02",
          "body": null,
          "is_bot": false,
          "headline": "fix: harden cache optimizer compat auto-repair",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-14T14:04:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6ceff6a1575ad7527d7693c49da28e83e7a97361",
          "body": null,
          "is_bot": false,
          "headline": "chore: bump version to 2.6.4",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-14T08:47:49Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5356f95bdb7d2a1dbd43633336d5fc779f203ef7",
          "body": "- Fix false-positive router model change detection due to undefined name comparison\n  - Normalize name field comparison using fallback to id\n  - Prevents unnecessary persistence on every message when name is undefined\n- Fix stale router metadata preservation in mergeLastRoutedModels\n  - Explicitly d\n[…]\ntale metadata from persisting after user resets router selection\n- Add v5 schema with lastRoutedModelBySession for exact router restore\n- Add verification tests for exact router model restore metadata",
          "is_bot": false,
          "headline": "fix: router model metadata persistence bugs",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-14T08:44:43Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "c5850961b57545fb42fe8647a95834174dec3974",
          "body": null,
          "is_bot": false,
          "headline": "chore: bump version to 2.6.3",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-14T02:13:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "44fbf6b42fa4e30973b725f131113bd709ae40a3",
          "body": "Extract actual upstream model from assistant message when router model is active.\n- Add modelFromAssistantMessage() to extract responseModel/provider/api from response\n- Update selectAdapterForAssistantMessage() to resolve router model before matching\n- Preserve footer on model_select for router models (defer to message_end)\n- Use resolved upstream model for stats recording and footer updates\n\nFixes adapter selection and cache stats tracking for pi-router extension scenarios.",
          "is_bot": false,
          "headline": "fix: support pi-router model adapter selection and stats tracking",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-14T02:12:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "10100df058d41f50bdb328036dd39a07a63d52fb",
          "body": "Complete README documentation for v2.6.0 features:\n- Adaptive thinking compat check and auto-repair\n- /cache-optimizer fix subcommand full guide\n- Both English and Chinese READMEs",
          "is_bot": false,
          "headline": "chore: bump version to 2.6.2 - documentation update",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-13T01:11:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "cff7110100f75b794439829e8bbad3306aa40a57",
          "body": "v2.6.0+ features:\n- Anthropic adaptive thinking models (opus-4.6+/sonnet-4.6+/fable-5+)\n  detection and forceAdaptiveThinking compat requirement\n- /cache-optimizer fix subcommand: auto-repair with preview,\n  risk warnings, user confirmation, comment-preserving surgical editor\n- Covers adaptive think\n[…]\nadaptive thinking detection\n- Commands table: /cache-optimizer fix entry\n- Dedicated sections: Anthropic adaptive thinking models setup\n- Auto-repair with /cache-optimizer fix: scope, safety, behavior",
          "is_bot": false,
          "headline": "docs: document adaptive thinking compat check and /cache-optimizer fix",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-13T00:59:58Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "04418cedf050cb16868c8919e1174cf0fb6a7cab",
          "body": "Maintenance release: clean git history (pi-router moved to independent repo)",
          "is_bot": false,
          "headline": "chore: bump version to 2.6.1",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-12T14:08:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f2559111598d5dad3f32c29355a8041fd28e09c0",
          "body": "Features in this release:\n- Adaptive thinking compat check (opus-4.6+/sonnet-4.6+/fable-5)\n- /cache-optimizer fix subcommand with risk-confirmed auto-repair\n- Auto-detect compat placement level (provider vs model)\n- Comment-preserving JSONC surgical editor",
          "is_bot": false,
          "headline": "chore: bump version to 2.6.0",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-12T14:02:11Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b86dc870d84f62ca91decd5e5a3bddc91b4f5af2",
          "body": "Addresses user request: prefer channel-level compat automatically, no manual choice.\n\nPlacement decision (decideFixPlacement):\n- Channel-capability keys (sendSessionAffinityHeaders, sendSessionIdHeader,\n  supportsLongCacheRetention) → always provider-safe\n- Model-behavior keys are provider-safe ONLY\n[…]\n-real-dryrun.ts: read-only dry-run against real ~/.pi/agent/models.json\n  (aiapi→model-level, lan/twofish/cry→provider-level, perfect formatting)\n- All prior tests still green (integration, verify.ts)",
          "is_bot": false,
          "headline": "feat: auto-detect compat placement level (provider vs model) for fix",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-12T06:28:10Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "09a227c3b7f4c0488e7465952566cb4be832795a",
          "body": "Addresses user question: \"compat在models.json里面的级别应该是在哪?\"\n\nKey findings:\n- Pi supports compat at TWO levels: provider and model\n- Pi auto-merges: result.compat = merge(provider.compat, model.compat)\n- Model-level compat overrides provider-level for same keys\n\nCurrent implementation:\n✅ getCompat: Corr\n[…]\nith documentation explaining Pi's merge behavior\n- Added COMPAT_LEVELS.md explaining both levels with examples\n- Confirmed current implementation is correct\n\nNo functional changes, documentation only.",
          "is_bot": false,
          "headline": "docs: clarify compat two-level configuration (provider vs model)",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-12T06:07:19Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "f931e575d41eb3c47eea19c7054a516223c1ee93",
          "body": "Documents the improvements made in response to user feedback:\n- 格式有点乱 → auto-detect indentation + alphabetical sorting\n- 自动检查无问题 → 9-step validation with edge case detection\n\nKey improvements:\n- Auto-detect spaces/tabs and indent width\n- Alphabetical key sorting for consistency\n- Better alignment wi\n[…]\nty models array validation\n- Compat type validation\n- Bracket balance checking\n- Content truncation detection\n- More descriptive error messages\n\nAll tests pass. Ready for manual Pi runtime validation.",
          "is_bot": false,
          "headline": "docs: add format and validation improvements summary",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-12T05:50:49Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "66b1c9ba07f6e0a5ca7effd6b1de00fc2d58798e",
          "body": "Addresses user feedback: \"格式有点乱\" + \"自动检查修改后的models.json无问题\"\n\nFormat improvements (composeFixInsertion):\n- ✅ Auto-detect indentation style from existing content (spaces/tabs)\n- ✅ Auto-detect indent width (2-space, 4-space, etc.)\n- ✅ Alphabetically sort inserted keys for consistency\n- ✅ Better alignme\n[…]\nrates all improvements\n- All existing integration tests still pass (7/7)\n- Build verification: 163.83 KB\n\nChanges: +85 lines / -48 lines to index.ts\nNew test file: test-format-improvements.js (4.3 KB)",
          "is_bot": false,
          "headline": "feat: improve format beautification and validation for fix subcommand",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-12T05:48:47Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "cf72ce3c745ee3fdf202d11a82a667545d762578",
          "body": "Comprehensive completion report for adaptive thinking + fix subcommand task:\n\nSummary:\n- ✅ All acceptance criteria met\n- ✅ All automated tests passing (32 pattern + 6 integration)\n- ✅ 3 clean atomic commits\n- ✅ Complete documentation (4 files)\n\nDeliverables:\n- 13 new functions, 2 new types\n- +1108 l\n[…]\n4/4 (100%)\n- Build: 162.48 KB\n\nManual validation pending:\n- Pi runtime testing with real models.json\n- UI confirmation flow\n- Backup/restore verification\n\nReady for production after manual validation.",
          "is_bot": false,
          "headline": "docs: add task completion report",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-12T04:43:21Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "bb009e790af6dce12c3390c23b8c386f11b3b701",
          "body": "Documents complete test coverage for /cache-optimizer fix subcommand:\n\nAutomated tests (all passing):\n- 32/32 pattern detection tests\n- 14/14 component presence checks\n- 7/7 safety mechanisms verified\n- 4/4 risk warnings present\n- JSONC structure handling\n- Non-interactive terminal rejection\n- Build\n[…]\nNo inter-process locking\n- Best-effort comment preservation\n- Single model per fix run\n- No auto-rollback on user error\n\nReady for Pi runtime validation with real models.json and active model context.",
          "is_bot": false,
          "headline": "docs: add comprehensive test coverage documentation",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-12T04:42:04Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "8534d6a93e10606892f4b7f137c1829a9d1ce38f",
          "body": "Comprehensive test coverage for the fix subcommand:\n\nTest suite 1 (test-fix-integration.js):\n- ✅ All 14 required functions/components present\n- ✅ Adaptive thinking pattern detection (7/7 tests)\n- ✅ JSONC file structure with comments\n- ✅ 7 safety mechanisms verified:\n  * User confirmation (ui.confirm\n[…]\nger)\n- Real ~/.pi/agent/models.json\n\nAll automated tests pass. Manual runtime verification needed for:\n- Interactive UI confirmation dialog\n- Actual models.json write + backup\n- Pi /reload integration",
          "is_bot": false,
          "headline": "test: add integration tests for /cache-optimizer fix subcommand",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-12T04:37:57Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "ff0e6da2aea290368fdd25890916f7334e74faa3",
          "body": "Implements automatic detection and repair for Anthropic adaptive thinking\nmodels (opus-4.6+, sonnet-4.6+, fable-5+) missing forceAdaptiveThinking flag.\n\nNew features:\n- Adaptive generation model detection (regex patterns for opus/sonnet/fable)\n- Runtime compat warnings for adaptive models on anthrop\n[…]\npassed\n- Build verification successful (bun build)\n\nTask: .trellis/tasks/06-12-adaptive-thinking-compat-check-fix-subcommand-with-risk-confirmed-auto-repair\n+1108 lines to index.ts (4547 → 5646 lines)",
          "is_bot": false,
          "headline": "feat: adaptive thinking compat check + /cache-optimizer fix subcommand",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-12T04:32:22Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "e7df7740962e3952982782da6dabb984ee8da339",
          "body": null,
          "is_bot": false,
          "headline": "release: bump version to 2.5.7",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-07T12:38:43Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d4846a315c3b96715a0ba687cf5f59015fba8b19",
          "body": null,
          "is_bot": false,
          "headline": "chore: record journal",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-07T12:28:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "636f245c1a0cebcb14a91a3a23f5867be5ffd3e6",
          "body": null,
          "is_bot": false,
          "headline": "chore(task): archive 05-21-investigate-pi-otokapi-gpt55-unavailable",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-07T12:27:39Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "12b30a87636753273f2598ba27b2e09969bae7ad",
          "body": null,
          "is_bot": false,
          "headline": "feat(cache): support new pi responses and mistral apis",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-06T00:50:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "062ac39e8ef5f46eaf8b555a7820f290fc8ccd24",
          "body": null,
          "is_bot": false,
          "headline": "release: bump version to 2.5.6",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-05T16:54:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "59c97bc07be04105e507eab9e340bbb160cd3a1b",
          "body": null,
          "is_bot": false,
          "headline": "harden(cache): avoid cross-session restore without session hash",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-05T14:55:40Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a227c81e74f51a9481002dc7b56eaaf9514ea6dc",
          "body": null,
          "is_bot": false,
          "headline": "fix(cache): avoid false official-openai compat warnings",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-05T14:13:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "26d18007bb894034e302c0e201c06cda38af20e4",
          "body": null,
          "is_bot": false,
          "headline": "fix: avoid exposing login credential file guidance",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-01T14:08:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8b57f4c01a8585fcdab3714c3df5099faa9051d3",
          "body": null,
          "is_bot": false,
          "headline": "fix: clarify login-backed compat guidance",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-06-01T13:20:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f7011d119cac1b030b4e35170df267812d9fe88b",
          "body": null,
          "is_bot": false,
          "headline": "chore release 2.5.5",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-31T16:00:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9796a5ed2983d4647460e74b840138ba52fd2c6f",
          "body": null,
          "is_bot": false,
          "headline": "fix cache optimizer low-hit diagnosis",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-31T15:54:10Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5ae580fa2bb6af9b63edc37bd3c95d11050f363b",
          "body": null,
          "is_bot": false,
          "headline": "chore(release): 2.5.4",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-31T07:25:43Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e6d20a9d021b82ee05590650765ebba1d3fe5fd5",
          "body": null,
          "is_bot": false,
          "headline": "Remove GitHub About from READMEs",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-31T07:09:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7a5ee0c18b94f0c6c699ade4bec257beb267fe17",
          "body": null,
          "is_bot": false,
          "headline": "Track long cache retention 400s for responses",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-31T07:02:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "938a0c7bff02a57a9770d2c1bade0b0a2f84765d",
          "body": null,
          "is_bot": false,
          "headline": "Add DeepSeek Pi Mono compat guidance",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-31T06:37:02Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "43675415931460aeec8d6320ae637e1306fbb898",
          "body": null,
          "is_bot": false,
          "headline": "Add Mimo cache adapter support",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-31T05:50:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ba2ac78cb39c591cd5006643e073b8640bb6d6de",
          "body": "…e-context domain",
          "is_bot": false,
          "headline": "feat(agents): configure Matt Pocock agent skills for GitHub and singl…",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-28T02:23:04Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2b65f02ddcbf1c9b1446725742da4cdff2398e9f",
          "body": null,
          "is_bot": false,
          "headline": "docs: clarify cache guidance",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-26T23:27:46Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "06dbb5c7db9496d43f377a67123266ad91b015a7",
          "body": null,
          "is_bot": false,
          "headline": "docs: improve uninstall guidance",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-26T08:21:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f8a06be0416184c0f9542fb1ebe8668f2e304086",
          "body": null,
          "is_bot": false,
          "headline": "fix: make proxy compat guidance safer",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-26T03:05:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4c363e6cb8dcb944ff2086e7bab51e98306077a2",
          "body": null,
          "is_bot": false,
          "headline": "feat: add cache optimizer runtime toggle",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-26T02:35:38Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b69d68952347f25c1b978603fa4dbf7b277f7e6a",
          "body": null,
          "is_bot": false,
          "headline": "docs: simplify installation instructions",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-24T19:01:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "231fb0ab4563b48173e218ba89e234e5a2aa7f40",
          "body": null,
          "is_bot": false,
          "headline": "Bump to 2.5.0",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-24T13:15:21Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7a19e8275324903027821b9ba1886ba656ff4b20",
          "body": null,
          "is_bot": false,
          "headline": "Add session-scoped cache stats reset",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-24T12:36:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "88f84c098a34b2cfb180ee800576021d5337ede0",
          "body": null,
          "is_bot": false,
          "headline": "2.4.9",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-24T02:13:21Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2715568e9fabf2f48e22d60272ff6cf6ac8096d5",
          "body": null,
          "is_bot": false,
          "headline": "feat: add cache stats diagnostics command",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-24T02:10:01Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "cc4e249a5e270e0b5ed7c6ca68159253102ddd2c",
          "body": null,
          "is_bot": false,
          "headline": "2.4.8",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-24T01:36:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "847cd03c0868b2c3caf5ae9e7571003bca2f408e",
          "body": null,
          "is_bot": false,
          "headline": "feat: add router channel cache diagnostics",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T23:48:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "df0c65a56622e0995accb80cd18aa8feaeeb4f5a",
          "body": null,
          "is_bot": false,
          "headline": "2.4.7",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T23:33:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fd5c5dc19e31173e8c72bf0a968e1ed68b669482",
          "body": null,
          "is_bot": false,
          "headline": "feat: add long-tail model family cache adapters",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T23:09:46Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3302be022138357b52e04a92b0ca8c6c3c68ad2f",
          "body": null,
          "is_bot": false,
          "headline": "feat: expand cache adapters for more model families",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T22:57:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8910cc92e1adc233331e7befca37d415fb92ff78",
          "body": null,
          "is_bot": false,
          "headline": "2.4.6",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T17:32:20Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1b21c1449ac7adc3932c864deb8f82dea87c39a9",
          "body": null,
          "is_bot": false,
          "headline": "feat: add more model family cache adapters",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T17:29:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "737f3904700038ed28c2de1845f5f96007f8a5c8",
          "body": null,
          "is_bot": false,
          "headline": "2.4.5",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T17:11:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0dfd93384a18d33a91374a3ec6e3359a3c511b76",
          "body": null,
          "is_bot": false,
          "headline": "feat: add interactive cache optimizer command menu",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T17:09:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "cad87b4b986961289a6e3ec44ad7b8126ae09f6d",
          "body": null,
          "is_bot": false,
          "headline": "feat: improve cache optimizer diagnostics",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T16:41:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f6de4dce140b26befc803fb09ee17bc220cb6fd9",
          "body": null,
          "is_bot": false,
          "headline": "feat: add cache optimizer compat diagnostics",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T16:31:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0049beafbeea438073474c349aae326107faa4ef",
          "body": null,
          "is_bot": false,
          "headline": "2.4.4",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T14:46:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e7064640595470ccd98ae44bdbbb2400028f9b23",
          "body": null,
          "is_bot": false,
          "headline": "feat: add more OpenAI-compatible cache adapters",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T14:42:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "807f8a705d460ffe2f4e4e97150b53e5e6e450cb",
          "body": null,
          "is_bot": false,
          "headline": "2.4.3",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T14:29:21Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0e9f5269ceca43128f95b5a1f5e179e0c050f8b8",
          "body": null,
          "is_bot": false,
          "headline": "feat: broaden cache support for OpenAI-compatible models",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T14:16:46Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "16ff6643b496aedee2cbdfe5149fdcc652709ae1",
          "body": null,
          "is_bot": false,
          "headline": "2.4.2",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T11:29:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "de8a8554dd23fa385f44508a8f0af432ac254d04",
          "body": null,
          "is_bot": false,
          "headline": "chore: remove disabled pi-subagents package entry",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T11:10:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "186fea222829324123c852e053f0f362c74ce612",
          "body": null,
          "is_bot": false,
          "headline": "chore: add prompt rewrite diagnostic opt-out",
          "author_name": "jiangge",
          "author_login": "jiangge",
          "committed_at": "2026-05-23T10:52:23Z",
          "body_truncated": false,
          "is_coding_agent": false
        }
      ],
      "releases_count": 14,
      "commits_last_year": 138,
      "latest_release_at": "2026-06-22T07:20:41Z",
      "latest_release_tag": "v2.6.9",
      "releases_from_tags": true,
      "days_since_last_push": 5,
      "active_weeks_last_year": 10,
      "days_since_latest_release": 32,
      "mean_days_between_releases": 3.3
    },
    "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": "pi-cache-optimizer",
          "exists": true,
          "license": "MIT",
          "keywords": [
            "pi-package",
            "deepseek",
            "openai",
            "claude",
            "gemini",
            "cache",
            "kv-cache",
            "prompt-cache",
            "optimizer"
          ],
          "ecosystem": "npm",
          "matches_repo": true,
          "registry_url": "https://www.npmjs.com/package/pi-cache-optimizer",
          "is_deprecated": false,
          "latest_version": "2.6.18",
          "repository_url": "https://github.com/jiangge/pi-cache-optimizer",
          "versions_count": 44,
          "total_downloads": null,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": 1,
          "monthly_downloads": 4809,
          "first_published_at": "2026-05-16T04:23:00.983000Z",
          "latest_published_at": "2026-07-19T01:30:27.635000Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 5
        }
      ]
    },
    "popularity": {
      "forks": 7,
      "stars": 40,
      "watchers": 0,
      "fork_history": {
        "days": [
          {
            "date": "2026-06-10",
            "count": 1
          },
          {
            "date": "2026-06-14",
            "count": 1
          },
          {
            "date": "2026-06-21",
            "count": 1
          },
          {
            "date": "2026-06-26",
            "count": 1
          },
          {
            "date": "2026-07-18",
            "count": 1
          },
          {
            "date": "2026-07-21",
            "count": 1
          }
        ],
        "complete": true,
        "collected": 6,
        "total_forks": 7
      },
      "star_history": null,
      "open_issues_and_prs": 1
    },
    "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": 304805,
      "source_files_sampled": 50,
      "oversized_source_files": 2,
      "agent_instruction_files": [
        ".pi/skills/trellis-meta/references/platform-files/agents.md",
        "AGENTS.md"
      ],
      "agent_instruction_max_bytes": 3641
    },
    "dependencies": {
      "manifests": [
        "package.json"
      ],
      "advisories": {
        "error": null,
        "scope": null,
        "source": null,
        "findings": [],
        "collected": false,
        "malicious": [],
        "truncated": false,
        "by_severity": {},
        "advisory_count": 0,
        "affected_count": 0,
        "assessed_count": 0,
        "malicious_count": 0,
        "assessed_package": null,
        "unassessed_count": 0,
        "direct_affected_count": 0
      },
      "ecosystems": [
        "npm"
      ],
      "dependencies": [],
      "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": 1,
        "closed_ratio": 0.667,
        "closed_issues": 2,
        "closed_unmerged_prs": 1
      },
      "bus_factor": 1,
      "bot_contributors": 0,
      "top_contributors": [
        {
          "type": "User",
          "login": "jiangge",
          "commits": 138,
          "avatar_url": "https://avatars.githubusercontent.com/u/105886?v=4"
        }
      ],
      "contributors_sampled": 1,
      "top_contributor_share": 1
    },
    "quality_signals": {
      "has_ci": false,
      "has_tests": true,
      "ci_workflows": [],
      "has_docs_dir": true,
      "linter_configs": [],
      "has_editorconfig": false,
      "has_linter_config": false,
      "has_precommit_config": false
    },
    "security_signals": {
      "lockfiles": [],
      "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": 0,
            "reason": "project was created within the last 90 days. Please review its contents carefully",
            "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": 10,
            "reason": "0 existing vulnerabilities detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
          }
        ],
        "commit": "8b12aef8c7f1f262f547355bf51c76e752b46992",
        "ran_at": "2026-07-24T14:01:35Z",
        "aggregate_score": 2.6,
        "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": [
        {
          "number": 4,
          "created_at": "2026-07-21T10:57:59Z",
          "last_comment_at": null,
          "last_comment_author": null
        }
      ]
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/jiangge/pi-cache-optimizer",
    "host": "github.com",
    "name": "pi-cache-optimizer",
    "owner": "jiangge"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "moderate",
      "name": "Overall health",
      "note": null,
      "notes": [],
      "value": 50,
      "inputs": {
        "security": 26,
        "vitality": 72,
        "community": 46,
        "governance": 44,
        "engineering": 58
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "good",
        "name": "Vitality",
        "value": 72,
        "weight": 0.22,
        "metrics": [
          {
            "key": "development_activity",
            "band": "moderate",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 61,
            "inputs": {
              "commits_last_year": 138,
              "human_commit_share": 1,
              "days_since_last_push": 5,
              "active_weeks_last_year": 10
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 5 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 5
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "10/52 weeks with commits",
                "points": 6.9,
                "status": "partial",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 10
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "138 commits in the last year",
                "points": 18,
                "status": "met",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 138
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "project was created within the last 90 days. Please review its contents carefully",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "excellent",
            "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": 88,
            "inputs": {
              "releases_count": 14,
              "latest_release_tag": "v2.6.9",
              "releases_from_tags": true,
              "days_since_latest_release": 32,
              "mean_days_between_releases": 3.3
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "14 version tags (no GitHub releases)",
                "points": 16.2,
                "status": "partial",
                "details": [
                  {
                    "code": "version_tags_no_releases",
                    "params": {
                      "count": 14
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 32 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 32
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~3.3 days",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 3.3
                    }
                  }
                ],
                "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": "excellent",
            "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": "at_risk",
        "name": "Community & Adoption",
        "value": 46,
        "weight": 0.18,
        "metrics": [
          {
            "key": "popularity",
            "band": "at_risk",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 32,
            "inputs": {
              "forks": 7,
              "stars": 40,
              "watchers": 0,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "40 stars",
                "points": 25.8,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 40
                    }
                  }
                ],
                "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,
              "has_contributing": false,
              "has_issue_template": false,
              "has_code_of_conduct": false,
              "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": 61,
            "inputs": {
              "packages": [
                "pi-cache-optimizer"
              ],
              "dependents": null,
              "ecosystems": "npm",
              "total_downloads": null,
              "monthly_downloads": 4809
            },
            "components": [
              {
                "key": "monthly_downloads",
                "name": "Monthly downloads",
                "detail": "4,809 downloads/month across npm",
                "points": 49.1,
                "status": "partial",
                "details": [
                  {
                    "code": "downloads_monthly",
                    "params": {
                      "count": 4809,
                      "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": "at_risk",
        "name": "Sustainability & Governance",
        "value": 44,
        "weight": 0.24,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "critical",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 10,
            "inputs": {
              "bus_factor": 1,
              "contributors_sampled": 1,
              "top_contributor_share": 1
            },
            "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 100% of commits",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 100
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "1 contributors",
                "points": 1.4,
                "status": "partial",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "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": "at_risk",
            "name": "Issue & PR responsiveness",
            "note": null,
            "notes": [],
            "value": 31,
            "inputs": {
              "merged_prs": 0,
              "open_issues": 1,
              "closed_issues": 2,
              "issue_closed_ratio": 0.667,
              "closed_unmerged_prs": 1
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "67% of issues closed",
                "points": 31.2,
                "status": "partial",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 67
                    }
                  }
                ],
                "max_points": 46.75
              },
              {
                "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": 38.25
              },
              {
                "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": "moderate",
            "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": 52,
            "inputs": {
              "followers": 7,
              "owner_type": "User",
              "is_verified": null,
              "owner_login": "jiangge",
              "public_repos": 1058,
              "account_age_days": 6216
            },
            "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": "7 followers of jiangge",
                "points": 6.5,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 7,
                      "login": "jiangge"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "1058 public repos, account ~17 yr old",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 1058
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 17
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "excellent",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "packages": [
                "pi-cache-optimizer"
              ],
              "ecosystems": "npm",
              "any_deprecated": false,
              "min_days_since_publish": 5
            },
            "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 5 days ago",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 5
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "44 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 44
                    }
                  }
                ],
                "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": 58,
        "weight": 0.2,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "at_risk",
            "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": 30,
            "inputs": {
              "has_ci": false,
              "has_tests": true,
              "has_editorconfig": false,
              "has_linter_config": false,
              "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": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "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": "excellent",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "topics": [
                "cache",
                "pi"
              ],
              "has_wiki": true,
              "homepage": "https://pi.dev/packages/pi-cache-optimizer",
              "has_readme": true,
              "has_docs_dir": true,
              "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": 25,
                "status": "met",
                "details": [],
                "max_points": 25
              },
              {
                "key": "documentation_homepage_site",
                "name": "Documentation / homepage site",
                "detail": "https://pi.dev/packages/pi-cache-optimizer",
                "points": 15,
                "status": "met",
                "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": "2 topics",
                "points": 10,
                "status": "met",
                "details": [
                  {
                    "code": "topics_count",
                    "params": {
                      "count": 2
                    }
                  }
                ],
                "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": "critical",
        "name": "Security",
        "value": 26,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "critical",
            "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": 26,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 12,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 6,
              "scorecard_aggregate": 2.6
            },
            "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": "project was created within the last 90 days. Please review its contents carefully",
                "points": 0,
                "status": "missed",
                "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": "0 existing vulnerabilities detected",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              }
            ]
          }
        ],
        "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": 65,
        "weight": 0,
        "metrics": [
          {
            "key": "ai_agent_context",
            "band": "excellent",
            "name": "Agent context & guidance",
            "note": null,
            "notes": [],
            "value": 85,
            "inputs": {
              "has_llms_txt": false,
              "legible_history_share": 0.8,
              "agent_instruction_files": [
                ".pi/skills/trellis-meta/references/platform-files/agents.md",
                "AGENTS.md"
              ],
              "agent_instruction_max_bytes": 3641
            },
            "components": [
              {
                "key": "agent_instructions",
                "name": "Agent instructions",
                "detail": ".pi/skills/trellis-meta/references/platform-files/agents.md, AGENTS.md",
                "points": 45,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": ".pi/skills/trellis-meta/references/platform-files/agents.md, AGENTS.md"
                    }
                  }
                ],
                "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": "80 of 100 human commits state their intent (structured subject or explanatory body)",
                "points": 40,
                "status": "met",
                "details": [
                  {
                    "code": "legible_history",
                    "params": {
                      "legible": 80,
                      "sampled": 100
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "at_risk",
            "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": 37,
            "inputs": {
              "has_nix": false,
              "has_tests": true,
              "lockfiles": [],
              "has_dockerfile": false,
              "typed_language": true,
              "bootstrap_files": [],
              "has_devcontainer": false,
              "has_linter_config": false,
              "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": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "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": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "demonstrated_agent_practice",
                "name": "Demonstrated agent practice",
                "detail": "no agent-authored commits among the last 100",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_authored_commits",
                    "params": {
                      "sampled": 100
                    }
                  }
                ],
                "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": "excellent",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 98,
            "inputs": {
              "primary_language": "TypeScript",
              "largest_source_bytes": 304805,
              "source_files_sampled": 50,
              "oversized_source_files": 2
            },
            "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": "2/50 source files over 60KB",
                "points": 52.8,
                "status": "partial",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 50,
                      "oversized": 2
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          }
        ],
        "description": "How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score."
      }
    ],
    "metrics_version": "1.13.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-24T14:01:39.636212Z",
  "schema_version": "0.27.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/j/jiangge/pi-cache-optimizer.svg",
  "full_name": "jiangge/pi-cache-optimizer",
  "license_state": "standard",
  "license_spdx": "MIT"
}

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

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

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