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

sebrandon1 / go-enphase

Go CLI and library for the Enphase cloud API and local Envoy gateway

GoApache-2.0★ 0 星标⑂ 1 复刻始于 2026年3月在 GitHub 上查看 ↗

sebrandon1/go-enphase 的健康指数为 100 分中的 57 分,处于「中等」区间。 其得分最高的类别是AI Readiness(80/100),最低的是Community & Adoption(24/100)。 最近一次更新在 11 天前。 近期的大部分工作由 1 位贡献者完成。

57
总分 / 100
中等

软件健康指数

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

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

评分画像

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

所有权

Brandon Palm个人账户
13 关注者339 个公开仓库始于 2013年5月Red Hat

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

软件包生态系统

注册表软件包版本月下载量版本数最近发布
Gogithub.com/sebrandon1/go-enphasev0.1.14-1514 天前

按类别列示的指标

活力

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

74良好 · 占总体的 22%
评分方式
28.8/36推送新近度 — 最近一次推送于 11 天前
9/36提交节奏 — 52 周中有 13 周有提交
15.4/18提交量 — 最近一年 51 次提交
10/10OpenSSF Scorecard:Maintained — 25 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year51
human_commit_share0.882
days_since_last_push11
active_weeks_last_year13

发布纪律

90优秀
评分方式
27/27有发布版本 — 已发布 15 个发布版本
36/36发布时效 — 最近一次发布版本于 14 天前
27/27发布节奏 — 约每 13 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — Project has not signed or included provenance with any releases.
所用输入
releases_count15
latest_release_tagv0.1.14
releases_from_tags
days_since_latest_release14
mean_days_between_releases13

社区与采用

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

24危急 · 占总体的 18%
评分方式
0/60星标 — 0 个星标
0/25复刻 — 1 个复刻
0/15关注者 — 0 位关注者
所用输入
forks1
stars0
watchers0
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

50中等
评分方式
22.5/22.5README
22.5/22.5许可证 — 可识别的许可证(Apache-2.0)
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

可持续性与治理

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

55中等 · 占总体的 24%
评分方式
9/54巴士系数 — 1 位贡献者贡献了半数提交
1.5/22.5提交分布 — 头号贡献者编写了 93% 的提交
2.7/13.5贡献者广度 — 2 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 3 contributing companies or organizations -- score normalized to 10
所用输入
bus_factor1
contributors_sampled2
top_contributor_share0.933
评分方式
22.9/46.8议题解决 — 49% 的议题已关闭
37.3/38.3PR 接受 — 已裁定的 PR 中 40/41 已合并
0/15OpenSSF Scorecard:Code-Review — Found 0/25 approved changesets -- score normalized to 0
所用输入
merged_prs40
open_issues26
closed_issues25
issue_closed_ratio0.49
closed_unmerged_prs1
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
8.2/25所有者影响力 — sebrandon1 有 13 位关注者
25/25既往记录 — 339 个公开仓库,账户约 13 年
所用输入
followers13
owner_typeUser
is_verified
owner_loginsebrandon1
public_repos339
account_age_days4,807
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析 — go 上有 1 个软件包
35/35发布时效 — 最近一次发布于 14 天前
20/20版本历史 — 15 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packagesgithub.com/sebrandon1/go-enphase
ecosystemsgo
any_deprecated
min_days_since_publish14

工程质量

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

76良好 · 占总体的 20%

工程实践

84良好
评分方式
24/24CI 工作流 — 3 个工作流
24/24存在测试
16/16Linter 配置 — .golangci.yml
0/9.6Pre-commit 钩子
0/6.4.editorconfig
20/20OpenSSF Scorecard:CI-Tests — 28 out of 28 merged PRs checked by a CI test -- score normalized to 10
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

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

安全

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

48存在风险 · 占总体的 16%

安全态势

48存在风险
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
2.5/2.5CI-Tests — 28 out of 28 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0/7.5Code-Review — Found 0/25 approved changesets -- score normalized to 0
2.5/2.5Contributors — project has 3 contributing companies or organizations -- score normalized to 10
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5许可证 — license file detected
7.5/7.5Maintained — 25 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — 无数据
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — Project has not signed or included provenance with any releases.
7.5/7.5Token-Permissions — GitHub workflow tokens follow principle of least privilege
0/7.5Vulnerabilities — 10 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate4.8
已排除计分(无数据或不适用):packaging。 其余权重已重新归一化。

AI 就绪度

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

80良好 · 占总体的 0%
评分方式
45/45代理指令 — CLAUDE.md
0/15机器可读文档(llms.txt)
40/40可读的提交历史 — 45 次人类提交中有 42 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
legible_history_share0.933
agent_instruction_filesCLAUDE.md
agent_instruction_max_bytes7,566
评分方式
18/18一条命令的引导启动 — Makefile
22/22自动化测试
11/11Lint / 格式化配置 — .golangci.yml
11/11静态类型检查 — Go(静态类型)
10/10可复现环境 — lockfile
3.9/10已体现的代理实践 — 最近 51 次提交中有 1 次由代理编写或署名代理
8/8自动化维护 — 最近 51 次提交中有 6 次为自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfilesgo.sum
has_dockerfile
typed_language
bootstrap_filesMakefile
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share0.02
toolchain_manifestsexamples/ha-exporter/go.mod, go.mod
dependency_bot_commit_share0.118
评分方式
45/45可类型检查的代码 — Go(静态类型)
55/55可控的文件大小 — 采样的 40 个源文件中有 0 个超过 60KB
所用输入
primary_languageGo
largest_source_bytes19,771
source_files_sampled40
oversized_source_files0

机器可读接口

40存在风险
评分方式
0/40API 模式(OpenAPI/GraphQL/proto)
0/20MCP 服务器
40/40可运行示例 — examples
所用输入
example_dirsexamples
has_mcp_signal
api_schema_files

关键数据

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

数据采集警告

  • GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository

更多细节

OpenSSF Scorecard 4.8 / 10
4.8综合

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

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
10CI-Tests28 out of 28 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/25 approved changesets -- score normalized to 0
10Contributorsproject has 3 contributing companies or organizations -- score normalized to 10
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained25 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10
不适用Packagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
10Token-PermissionsGitHub workflow tokens follow principle of least privilege
0Vulnerabilities10 existing vulnerabilities detected
直接依赖 1
注册表软件包版本约束清单文件
Gogithub.com/spf13/cobrav1.10.2go.mod
全部依赖 未采集

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

原始 JSON 报告 机器可读
{
  "data": {
    "repo": {
      "topics": [],
      "is_fork": false,
      "size_kb": 177,
      "has_wiki": false,
      "homepage": null,
      "languages": {
        "Go": 200224,
        "Makefile": 411
      },
      "pushed_at": "2026-07-16T13:01:11Z",
      "created_at": "2026-03-09T17:20:47Z",
      "owner_type": "User",
      "updated_at": "2026-07-16T13:02:13Z",
      "description": "Go CLI and library for the Enphase cloud API and local Envoy gateway",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": "Apache-2.0",
      "default_branch": "main",
      "license_spdx_raw": "Apache-2.0",
      "primary_language": "Go",
      "significant_languages": [
        "Go"
      ]
    },
    "owner": {
      "blog": null,
      "name": "Brandon Palm",
      "type": "User",
      "login": "sebrandon1",
      "company": "Red Hat",
      "location": "Minnesota",
      "followers": 13,
      "avatar_url": "https://avatars.githubusercontent.com/u/4563082?v=4",
      "created_at": "2013-05-29T19:16:47Z",
      "is_verified": null,
      "public_repos": 339,
      "account_age_days": 4807
    },
    "license": {
      "state": "standard",
      "spdx_id": "Apache-2.0",
      "raw_spdx": "Apache-2.0",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases": [
        {
          "tag": "v0.1.14",
          "kind": "patch",
          "published_at": "2026-07-13T16:58:50Z"
        },
        {
          "tag": "v0.1.13",
          "kind": "patch",
          "published_at": "2026-06-23T21:05:11Z"
        },
        {
          "tag": "v0.1.12",
          "kind": "patch",
          "published_at": "2026-06-11T21:27:22Z"
        },
        {
          "tag": "v0.1.11",
          "kind": "patch",
          "published_at": "2026-05-04T15:16:41Z"
        },
        {
          "tag": "v0.1.10",
          "kind": "patch",
          "published_at": "2026-04-14T18:11:21Z"
        },
        {
          "tag": "v0.1.9",
          "kind": "patch",
          "published_at": "2026-04-08T19:32:46Z"
        },
        {
          "tag": "v0.1.8",
          "kind": "patch",
          "published_at": "2026-04-07T20:06:02Z"
        },
        {
          "tag": "v0.1.7",
          "kind": "patch",
          "published_at": "2026-04-06T21:19:26Z"
        },
        {
          "tag": "v0.1.6",
          "kind": "patch",
          "published_at": "2026-03-23T16:00:31Z"
        },
        {
          "tag": "v0.1.5",
          "kind": "patch",
          "published_at": "2026-03-18T16:14:05Z"
        },
        {
          "tag": "v0.1.4",
          "kind": "patch",
          "published_at": "2026-03-17T00:03:51Z"
        },
        {
          "tag": "v0.1.3",
          "kind": "patch",
          "published_at": "2026-03-13T17:20:09Z"
        },
        {
          "tag": "v0.1.2",
          "kind": "patch",
          "published_at": "2026-03-13T16:48:15Z"
        },
        {
          "tag": "v0.1.1",
          "kind": "patch",
          "published_at": "2026-03-12T20:23:43Z"
        },
        {
          "tag": "v0.1.0",
          "kind": "minor",
          "published_at": "2026-03-10T19:59:10Z"
        }
      ],
      "recent_commits": [
        {
          "oid": "7782265852f682ec452e78e08ff76b8e07db5f1f",
          "body": "Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6 to 7.\n- [Release notes](https://github.com/actions/setup-go/releases)\n- [Commits](https://github.com/actions/setup-go/compare/v6...v7)\n\n---\nupdated-dependencies:\n- dependency-name: actions/setup-go\n  dependency-version: '7'\n  depen\n[…]\nirect:production\n  update-type: version-update:semver-major\n...\n\nSigned-off-by: dependabot[bot] <support@github.com>\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
          "is_bot": true,
          "headline": "chore(deps): bump actions/setup-go from 6 to 7 (#92)",
          "author_name": "dependabot[bot]",
          "author_login": "dependabot[bot]",
          "committed_at": "2026-07-16T13:01:03Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "825157cf8b7aad382ffda1d1a3a8e5fdeab4dc95",
          "body": "Bumps [github.com/eclipse/paho.mqtt.golang](https://github.com/eclipse/paho.mqtt.golang) from 1.5.0 to 1.5.1.\n- [Release notes](https://github.com/eclipse/paho.mqtt.golang/releases)\n- [Commits](https://github.com/eclipse/paho.mqtt.golang/compare/v1.5.0...v1.5.1)\n\n---\nupdated-dependencies:\n- dependen\n[…]\nirect:production\n  update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] <support@github.com>\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
          "is_bot": true,
          "headline": "chore(deps): bump github.com/eclipse/paho.mqtt.golang (#91)",
          "author_name": "dependabot[bot]",
          "author_login": "dependabot[bot]",
          "committed_at": "2026-07-13T19:22:56Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "3efc214855adf00604158ec900fce16331892317",
          "body": "Remove the examples/ path exclusions from .golangci.yml so that\nquality regressions in ha-exporter (unused variables, shadowed\ndeclarations, high cyclomatic complexity) are caught in CI.\n\nNo new violations were introduced; the ha-exporter code is already\nclean under the current linter configuration.\n\nCloses #76",
          "is_bot": false,
          "headline": "ci: include ha-exporter in golangci-lint scope (#90)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-07-13T18:59:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "330afb42aaa4140d77a7af2f618a3adddfd7043e",
          "body": "examples/ha-exporter is a separate Go module invisible to go test ./...\nfrom the repo root. Adding a dedicated job catches build and test\nregressions in CI for both Linux and macOS.\n\nCloses #55",
          "is_bot": false,
          "headline": "ci: add ha-exporter build and test job to CI pipeline (#89)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-07-13T18:55:07Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b033f64b84d53cca40bc61bec95a73bf6b38df92",
          "body": "examples/ha-exporter is a separate Go module not covered by the\nroot-level Dependabot entry. Adding it ensures paho.mqtt.golang\nand other ha-exporter dependencies receive automated update PRs.\n\nCloses #64",
          "is_bot": false,
          "headline": "ci: add ha-exporter module to Dependabot config (#88)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-07-13T18:55:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "201bd81671eb9560f2564107593e4f8deeedf9b6",
          "body": "Matches the version already pinned in pre-main.yaml to prevent\nsilent divergence when a new golangci-lint release ships.\n\nCloses #65",
          "is_bot": false,
          "headline": "ci: pin golangci-lint to v2.12.1 in macOS workflow (#87)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-07-13T18:53:54Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1ddaddb8186bf764db384afecc3cd7b0d1885eef",
          "body": "…56 (#86)",
          "is_bot": false,
          "headline": "fix: bump toolchain to go1.26.5 to resolve govulncheck CVE GO-2026-58…",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-07-13T15:32:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fd8c80e486f2d7c2e11114fc7b57370229863d43",
          "body": null,
          "is_bot": false,
          "headline": "docs: update CLAUDE.md and README.md to reflect current codebase",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-07-10T18:10:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "70fcf90af32ce1b7b3e41a6248138e2a14a5abf3",
          "body": "The retry-on-401 pattern in cloudGetWithParamsCtx was not applied to\npostFormWithAuthCtx. POST requests that use the bearer token now refresh\nand retry on 401, matching the GET behaviour.\n\nUses a buildReq closure to recreate the body buffer for the retry since\nbytes.NewBufferString is consumed by the first attempt.\n\nCloses #68",
          "is_bot": false,
          "headline": "fix(lib): apply 401 token-refresh retry to postFormWithAuthCtx (#85)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-30T18:58:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "36b5c92f1cdb6b15c68cb227ebc61dfcd0050f55",
          "body": "…ng them (#84)\n\nBoth PublishDiscovery and PublishState were fire-and-forget — broker\nfailures (unreachable, QoS ACK timeout) were completely invisible. Now\ncalls token.Wait() and logs a warning on non-nil error.\n\nCloses #61",
          "is_bot": false,
          "headline": "fix(ha-exporter): check MQTT Publish token errors instead of discardi…",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-30T18:07:02Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1acbdad6c0c44cce002cfb8ea0f4c0f3f92b97fc",
          "body": "…ct storms (#83)\n\nHardcoded client ID caused two instances on the same broker to kick each\nother off in an infinite reconnect loop. Now defaults to go-enphase-<serial>\n(or a random hex suffix when serial is unset) and is overridable via\nmqtt_client_id in config.json.\n\nCloses #60",
          "is_bot": false,
          "headline": "fix(ha-exporter): make MQTT client ID configurable to prevent reconne…",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-30T17:58:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9f3937c43efa79a0660bf7642cdd036ef6560ac7",
          "body": "bufio.Scanner defaults to a 64 KB token cap. Enphase SSE events\ncontaining readings for many meters can exceed this, causing the\nscanner to return bufio.ErrTooLong and silently drop the stream.\n\nAdds scanner.Buffer(make([]byte, 1<<20), 1<<20) before the scan loop\nand a test that sends a >64 KB event and verifies it is received\ncorrectly.\n\nCloses #58",
          "is_bot": false,
          "headline": "fix(lib): raise SSE scanner buffer from 64 KB to 1 MB (#82)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-30T15:42:40Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "79a56c6a44a4e8a3c590ab9ed04454547e113916",
          "body": "A crash mid-write to ~/.enphase/config or a history export file left a\npartially-written file, corrupting stored credentials or history data.\n\nExtracts atomicWriteFile (write to path+\".tmp\", os.Rename to path) as a\nshared unexported helper in lib/ and applies it to both SaveTokens and\nWriteHistoryFi\n[…]\nes use the tmp path for context. Best-effort\nos.Remove cleanup runs on both write failure and rename failure to prevent\nstale tmp files. Same cleanup fix applied to ha-exporter SaveTokens.\n\nCloses #57",
          "is_bot": false,
          "headline": "fix(lib): make SaveTokens and ExportHistory writes atomic (#81)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-30T15:25:25Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "3b40e9963ece09cbe18d118a14489e6a86d477bc",
          "body": "ENPHASE_API_KEY, ENPHASE_ACCESS_TOKEN, ENPHASE_SYSTEM_ID and eight\nother ENPHASE_* variables were documented as working environment\nvariables but os.Getenv was never called anywhere in cmd/. Users\nwho set env vars without a config file got silent credential failures.\n\nRefactors loadConfigIfAvailable\n[…]\nies config file values (CLI flags take precedence)\n- applyEnvFallbacks: fills remaining empty vars from ENPHASE_* env vars\n\nPrecedence order: CLI flag > config file > environment variable.\n\nCloses #56",
          "is_bot": false,
          "headline": "fix(cmd): implement env var fallbacks for all credential flags (#80)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-30T15:04:33Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "572ce9191ba39e986a5d5d847324dfbd36169488",
          "body": "…config (#79)\n\nWhen NewClientWithRefresh auto-refreshes OAuth2 tokens mid-run, the new\ntokens were never written back to config.json. After a restart the\nstale tokens caused auth failures.\n\nAdds SaveTokens to the ha-exporter Config (atomic JSON rewrite via\ntmp+rename, marshals before mutating in-mem\n[…]\nstSaveTokens and TestSaveTokensBadPath covering: in-memory\nupdate, file persistence, field preservation, 0600 permissions, no\nleftover tmp file, and no in-memory mutation on write failure.\n\nCloses #54",
          "is_bot": false,
          "headline": "fix(ha-exporter): wire OnTokenRefresh to persist refreshed tokens to …",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-30T15:04:30Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "cfcc21279a125f319ae4e1a5681fff8389f6f7d1",
          "body": "The cloud and Envoy goroutines both captured the same `currentPower`\nlocal variable, causing a write-write race (cloud line 98 vs Envoy\nline 115) and a write-read race (cloud line 98 vs Envoy line 120).\n\nReplace with separate `cloudPower` and `envoyPower` locals — one per\ngoroutine — then merge after wg.Wait(), preferring the real-time Envoy\nvalue when non-zero.\n\nCloses #52",
          "is_bot": false,
          "headline": "fix: eliminate data race in ha-exporter collect() goroutines (#53)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-24T19:27:50Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f1b47731c54befe2fa0afcb24d2d12896060631a",
          "body": "…(#51)\n\nExpose five lib methods that had no CLI surface:\n- envoy inverters  — GetInverterReadings() (#25)\n- envoy meters     — GetMeterConfig() (#48)\n- envoy meter-readings — GetMeterReadings() (#48)\n- envoy stream     — StreamMeter() with signal-based cancellation (#26)\n- get system       — GetSyst\n[…]\nt --output json/text. Text output uses new\nFormatInverterReadings, FormatMeterConfig, FormatMeterData, and\nFormatSystem helpers in lib/format.go, each covered by unit tests.\n\nCloses #25, #26, #38, #48",
          "is_bot": false,
          "headline": "feat: add missing CLI commands for Envoy endpoints and system lookup …",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-24T15:35:42Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "4f134e2cad0ed19c33a1b83a8aef1cca11c8a29b",
          "body": "History JSON can contain financial and energy consumption data; use\nrestrictive permissions consistent with the config file (lib/config.go:134).\n\nCloses #40",
          "is_bot": false,
          "headline": "fix: use 0600 permissions for history export file (#50)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-23T21:58:44Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f71b8b0fc7703d24eb74222f83bf0352bf3efc5d",
          "body": "Closes #24, #27, #33, #34, #39, #43, #46, #47\n\nBugs fixed:\n- ha-exporter: use NewClientWithRefresh when refresh credentials are\n  present in config, preventing silent failures when the access token\n  expires in long-running daemon deployments (#27)\n- ha-exporter: fix Prometheus inverter label format\n[…]\nration (#34)\n- Add ha-exporter config_test.go with 6 tests for LoadConfig (#43)\n- Inject version via ldflags in release-binaries workflow so\n  'enphase version' prints the tagged release version (#39)",
          "is_bot": false,
          "headline": "fix: resolve bugs and tech debt across lib, cmd, and ha-exporter (#49)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-23T20:53:31Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "e7dbfb16d4c81eee25cec2b8cc4722409cfa72ee",
          "body": "Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.\n- [Release notes](https://github.com/actions/checkout/releases)\n- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/actions/checkout/compare/v6...v7)\n\n---\nupdated-dependenc\n[…]\nirect:production\n  update-type: version-update:semver-major\n...\n\nSigned-off-by: dependabot[bot] <support@github.com>\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
          "is_bot": true,
          "headline": "chore(deps): bump actions/checkout from 6 to 7 (#23)",
          "author_name": "dependabot[bot]",
          "author_login": "dependabot[bot]",
          "committed_at": "2026-06-22T14:52:49Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "0accc7598071e23bc147415f459c461b4bb5e593",
          "body": null,
          "is_bot": false,
          "headline": "docs: simplify README by extracting content to docs/ (#22)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-16T20:40:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d5ee69151575ab8be8cdce08f93e3556d7792526",
          "body": null,
          "is_bot": false,
          "headline": "chore: update Go toolchain to 1.26.4 (#21)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-08T16:41:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "213fcf44ed8585ecffddae753bd86e03b52d505f",
          "body": "Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6 to 7.\n- [Release notes](https://github.com/codecov/codecov-action/releases)\n- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/codecov/codecov-action/compare/v\n[…]\nirect:production\n  update-type: version-update:semver-major\n...\n\nSigned-off-by: dependabot[bot] <support@github.com>\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
          "is_bot": true,
          "headline": "chore(deps): bump codecov/codecov-action from 6 to 7 (#20)",
          "author_name": "dependabot[bot]",
          "author_login": "dependabot[bot]",
          "committed_at": "2026-06-08T13:18:26Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "559d7df1370215ba52f3ac3456016a30d6282004",
          "body": null,
          "is_bot": false,
          "headline": "chore: upgrade to Go 1.26.3 with toolchain directive (#19)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-06-01T16:27:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2891e584a206e0e69a47d183378256a76baddbd0",
          "body": "Extract repeated cobra command name strings into constants in\ncmd/constants.go to satisfy goconst checks introduced in golangci-lint\nv2.12.1. Pin the CI linter version to prevent future surprise breakage\nfrom upstream changes.",
          "is_bot": false,
          "headline": "fix: resolve goconst lint failures and pin golangci-lint version (#18)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-05-04T14:31:45Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9da73b8fab7b51f09556f5dab7187fcbb9c55d0f",
          "body": "Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3.\n- [Release notes](https://github.com/softprops/action-gh-release/releases)\n- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)\n- [Commits](https://github.com/softprops/\n[…]\nirect:production\n  update-type: version-update:semver-major\n...\n\nSigned-off-by: dependabot[bot] <support@github.com>\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
          "is_bot": true,
          "headline": "chore(deps): bump softprops/action-gh-release from 2 to 3 (#17)",
          "author_name": "dependabot[bot]",
          "author_login": "dependabot[bot]",
          "committed_at": "2026-04-13T13:52:18Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "4d51218294519fae815b16eeb3f2ad39c0bf725d",
          "body": null,
          "is_bot": false,
          "headline": "chore: set go 1.26 with toolchain go1.26.2 (#16)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-04-08T16:49:52Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ed4c48eda06f20725d8bff62ca8a9099799d8d69",
          "body": "* chore: add toolchain go1.26.2 to go.mod\n\n* chore: run go mod tidy after adding toolchain directive",
          "is_bot": false,
          "headline": "chore: add toolchain go1.26.2 to go.mod (#15)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-04-08T16:34:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "74e97674db5c27eb7d4fb2bdd6c2a2e3265cfd97",
          "body": null,
          "is_bot": false,
          "headline": "chore: upgrade Go to 1.26.2 (#14)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-04-08T15:51:02Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b64e1133ec08e18e47fd610607baa4bdac79312d",
          "body": null,
          "is_bot": false,
          "headline": "Revert \"chore: upgrade Go to 1.26.2, add related repos comment\"",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-04-08T15:16:50Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "921ef5c04c437d2cbaef53cbfbbdbd1ed54920a1",
          "body": null,
          "is_bot": false,
          "headline": "chore: upgrade Go to 1.26.2, add related repos comment",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-04-08T15:03:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "25e6c874567e2c0050d600a45c3f89dd22192d0d",
          "body": "Add human-readable text output as the default for all get subcommands.\nJSON output is still available via -o json. New formatters in\nlib/format.go cover systems, summary, devices, production meter\nreadings, energy-lifetime, consumption, and battery status.\n\nEnergy-lifetime and consumption show summary stats plus the last 7 days\nin text mode; use -o json for the full dataset.",
          "is_bot": false,
          "headline": "Add text formatters for get commands (#12)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-04-07T21:53:56Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2187074022cc9aad73f56227f7323e2fb07a0808",
          "body": "Move the output format flag to rootCmd so all command groups (get, auth,\nenvoy, report) inherit it. This is infrastructure for adding text\nformatting to commands that currently only output raw JSON.\n\n- Move outputJSON constant and add outputFormat variable + isJSONOutput()\n  helper to cmd/helpers.go\n[…]\nCmd\n- Remove reportOutput variable and local flag registration from report.go\n- Replace all reportOutput references with isJSONOutput() calls\n- Add test verifying flag wiring across all command groups",
          "is_bot": false,
          "headline": "Promote --output/-o flag from report to root level (#11)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-04-07T20:52:02Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "fe9200949db5815f35a38c70907bd4a88ab2d516",
          "body": "New report subcommands:\n- report summary: day-over-day comparison (today vs yesterday) plus\n  current month running stats\n- report week: clean complete-days-only table with totals and averages\n- report month [YYYY-MM]: aggregate stats for a single calendar month\n\nAll report commands now support --ou\n[…]\ncurrent refresh attempts. The new token is\nwritten back to ~/.enphase/config via OnTokenRefresh so subsequent\ninvocations do not re-401. All cloud commands now carry refresh\ncredentials automatically.",
          "is_bot": false,
          "headline": "Add report summary, week, and month subcommands with JSON output (#10)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-04-07T20:05:30Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "87dd64c0fd9335ea935a3cd76ee72e8c0c9be390",
          "body": null,
          "is_bot": false,
          "headline": "Add version support and auto-resolve system ID (#9)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-04-06T21:19:07Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "119643f8b42934c8c6bc5fea86d5798c12008069",
          "body": "Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6.\n- [Release notes](https://github.com/codecov/codecov-action/releases)\n- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/codecov/codecov-action/compare/v\n[…]\nirect:production\n  update-type: version-update:semver-major\n...\n\nSigned-off-by: dependabot[bot] <support@github.com>\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
          "is_bot": true,
          "headline": "Bump codecov/codecov-action from 5 to 6 (#8)",
          "author_name": "dependabot[bot]",
          "author_login": "dependabot[bot]",
          "committed_at": "2026-04-06T13:33:06Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "94d213d7edbf9f9f56e9c62d52777ed88b90d464",
          "body": "- Add `make install` target to Makefile for easy installation\n- Update README.md with install instructions\n- Update CLAUDE.md with test running examples and ha-exporter overview",
          "is_bot": false,
          "headline": "Add make install target and update documentation",
          "author_name": "edwinbot-ai",
          "author_login": "edwinbot-ai",
          "committed_at": "2026-03-18T22:08:18Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "66f981c762a85c87381bf41e1047a39b158e4f47",
          "body": "… topics (#7)\n\n- Move MQTT state publisher into its own goroutine; previously it was\n  sequential after col.Run() which blocks until shutdown, making the\n  ticker loop dead code\n- Fix PublishDiscovery to use per-sensor config topics\n  (solar_{serial}_{field}/config) instead of overwriting the same topic\n  for all four sensors",
          "is_bot": false,
          "headline": "Fix ha-exporter MQTT bugs: unreachable ticker and duplicate discovery…",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-17T16:09:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "422dbc85a453c0b46789b50e5c53d9969f418d8f",
          "body": null,
          "is_bot": false,
          "headline": "Fix broken CI badge URL",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-17T00:08:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "eca59760b4acc4ec82f205f4538a0e1618039051",
          "body": "Add context support, retry logic, new Envoy endpoints, SSE streaming, and ha-exporter",
          "is_bot": false,
          "headline": "Merge pull request #6 from sebrandon1/comprehensive-improvements",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-17T00:01:28Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "541d0c89d3f820af6d30a9be601b476df5bf4776",
          "body": null,
          "is_bot": false,
          "headline": "Merge main: incorporate report daily/history commands into README",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-16T23:54:01Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1d4a2d0ba58e31bed149d62495bef127e470f993",
          "body": "… and ha-exporter\n\nPhase 1 - AUDIT.md documenting endpoint coverage and issues found\n\nPhase 2 - Client architecture hardening:\n- lib/retry.go: retryTransport wraps all HTTP clients; retries GETs on 5xx\n  and network timeouts with exponential backoff (500ms base, 3 retries, cap 30s)\n- lib/client.go: \n[…]\n6 - examples/ha-exporter: Prometheus /metrics, HA MQTT auto-discovery,\nparallel polling, graceful shutdown, --dry-run mode\n\nPhase 7 - Docs: README rewrite (fix \"No config file required\"), CHANGELOG.md",
          "is_bot": false,
          "headline": "Add context support, retry logic, new Envoy endpoints, SSE streaming,…",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-16T22:52:05Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "51f802f7d1e73ee20af00c58e3e9aff22e41214e",
          "body": "… (#5)\n\n- Config now loads ENVOY_IP/ENVOY_TOKEN/ENVOY_SERIAL (with or without\n  ENPHASE_ prefix) from ~/.enphase/config, so envoy commands work\n  without requiring explicit flags each time\n- report today now fetches consumption concurrently and displays:\n  consumption kWh + cost, grid draw/export kWh + cost, solar offset %\n- Updated FormatTodaySummary signature to accept todayConsWh int\n- Added TestFormatTodaySummaryWithConsumption test\n\nCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>",
          "is_bot": false,
          "headline": "feat: load Envoy config from file and add consumption to report today…",
          "author_name": "edwinbot-ai",
          "author_login": "edwinbot-ai",
          "committed_at": "2026-03-13T17:19:45Z",
          "body_truncated": false,
          "is_coding_agent": true
        },
        {
          "oid": "9fe74e78be713e594eb914e76f2652ad99dde472",
          "body": "report daily: all-in-one daily report showing today live production\nalongside trailing N days of production vs consumption with dollar\nestimates. Fetches summary, production, and consumption concurrently\nto minimize API round-trips.\n\nreport history: exports combined production/consumption data to a JSON\nfile for offline querying and avoiding Enphase API rate limits.",
          "is_bot": false,
          "headline": "Add report daily and report history commands (#4)",
          "author_name": "edwinbot-ai",
          "author_login": "edwinbot-ai",
          "committed_at": "2026-03-13T16:45:54Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "19b913a65fa3a00c8f8c36463ac59ac14f3fcf46",
          "body": "- Remove redundant loadConfigIfAvailable() calls in auth and report\n  commands (already called by PersistentPreRun)\n- Remove unused post() method and its tests\n- Remove unused SortedProduction() function\n- Parallelize the two GetEnergyLifetime calls in report compare",
          "is_bot": false,
          "headline": "Remove dead code and parallelize month comparison API calls (#3)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-12T20:21:04Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c46e9bab8342e3edaa99ebb8ea35ef9c6d5ace31",
          "body": null,
          "is_bot": false,
          "headline": "Add CLAUDE.md (#1)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-10T19:59:56Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d7832340a5f6c43a213f34f6ff9ead379d803665",
          "body": "* Add CLAUDE.md\n\n* Load config before command handlers via PersistentPreRun\n\nConfig file values (system-id, api-key, access-token, etc.) were not\nloaded until getCloudClient() was called, but requireSystemID() runs\nfirst and fails because the flag variable is still empty. Move\nloadConfigIfAvailable() to a PersistentPreRun hook on the root command\nso config is always loaded before any subcommand executes.",
          "is_bot": false,
          "headline": "Fix config file not loaded before requireSystemID check (#2)",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-10T19:42:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5d2044b51e13803b6330475b090e9a4e123c74a8",
          "body": "The Enphase OAuth endpoint requires client credentials via HTTP Basic\nauth header, not as form fields. Also load config in auth status cmd.",
          "is_bot": false,
          "headline": "Fix OAuth token refresh to use HTTP Basic auth",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-09T18:45:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d708bfe4e063ad2060d0a2bb173797e584423645",
          "body": "- lib/config.go: Load/save ~/.enphase/config (KEY=VALUE format)\n- lib/report.go: Formatted text output for today summary and month comparison\n- cmd/report.go: `report today` and `report compare` subcommands\n- cmd/root.go: --config flag with loadConfigIfAvailable() for auto-loading\n- cmd/auth.go: --save flag on `auth refresh` to persist tokens to config file",
          "is_bot": false,
          "headline": "Add config file support, report commands, and auth --save flag",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-09T17:49:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "68571a7b72905d8c90b15684f8662ffca7570306",
          "body": "- Merge newHTTPClient/newInsecureHTTPClient into newHTTPClientWithTLS(bool)\n- Refactor ListSystems, ListDevices, GetProductionMeterReadings to use\n  cloudGet() instead of manual HTTP boilerplate\n- Add cloudGetWithParams() for parameterized queries\n- Extract dateParams() helper for shared start/end d\n[…]\nding\n- Fix shared startDate/endDate vars between energy-lifetime and\n  consumption commands (potential flag conflict)\n- Remove dead PersistentPreRunE hook that did nothing\n\nNet reduction of ~91 lines.",
          "is_bot": false,
          "headline": "Simplify: reduce duplication and fix shared flag vars",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-09T17:24:49Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "8d19a2f1d07be145e02bcddeb5b6d3e1f864ed70",
          "body": "Go CLI and library wrapping the Enphase cloud API (v4) and local Envoy\ngateway. Includes cloud endpoints for systems, production, consumption,\nbattery, and devices. Local Envoy support for production and sensor data.\nDual auth model with OAuth2 Bearer for cloud and optional JWT for Envoy.\nFull test suite with httptest mock servers.",
          "is_bot": false,
          "headline": "Initial implementation of go-enphase CLI and library",
          "author_name": "Brandon Palm",
          "author_login": "sebrandon1",
          "committed_at": "2026-03-09T17:21:04Z",
          "body_truncated": false,
          "is_coding_agent": false
        }
      ],
      "releases_count": 15,
      "commits_last_year": 51,
      "latest_release_at": "2026-07-13T16:58:50Z",
      "latest_release_tag": "v0.1.14",
      "releases_from_tags": false,
      "days_since_last_push": 11,
      "active_weeks_last_year": 13,
      "days_since_latest_release": 14,
      "mean_days_between_releases": 13
    },
    "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": "github.com/sebrandon1/go-enphase",
          "exists": true,
          "license": null,
          "keywords": [],
          "ecosystem": "go",
          "matches_repo": true,
          "registry_url": "https://pkg.go.dev/github.com/sebrandon1/go-enphase",
          "is_deprecated": false,
          "latest_version": "v0.1.14",
          "repository_url": "https://github.com/sebrandon1/go-enphase",
          "versions_count": 15,
          "total_downloads": null,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": null,
          "first_published_at": null,
          "latest_published_at": "2026-07-13T15:32:42Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 14
        }
      ]
    },
    "popularity": {
      "forks": 1,
      "stars": 0,
      "watchers": 0,
      "fork_history": {
        "days": [
          {
            "date": "2026-03-13",
            "count": 1
          }
        ],
        "complete": true,
        "collected": 1,
        "total_forks": 1
      },
      "star_history": {
        "days": [],
        "complete": true,
        "collected": 0,
        "total_stars": 0,
        "collected_at": null
      },
      "open_issues_and_prs": 26
    },
    "ai_readiness": {
      "has_nix": false,
      "example_dirs": [
        "examples"
      ],
      "has_llms_txt": false,
      "has_dockerfile": false,
      "has_mcp_signal": false,
      "bootstrap_files": [
        "Makefile"
      ],
      "api_schema_files": [],
      "has_devcontainer": false,
      "typecheck_configs": [],
      "toolchain_manifests": [
        "examples/ha-exporter/go.mod",
        "go.mod"
      ],
      "largest_source_bytes": 19771,
      "source_files_sampled": 40,
      "oversized_source_files": 0,
      "agent_instruction_files": [
        "CLAUDE.md"
      ],
      "agent_instruction_max_bytes": 7566
    },
    "dependencies": {
      "manifests": [
        "go.mod"
      ],
      "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": [
        "go"
      ],
      "dependencies": [
        {
          "name": "github.com/spf13/cobra",
          "manifest": "go.mod",
          "ecosystem": "go",
          "version_constraint": "v1.10.2"
        }
      ],
      "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": 40,
        "open_issues": 26,
        "closed_ratio": 0.49,
        "closed_issues": 25,
        "closed_unmerged_prs": 1
      },
      "bus_factor": 1,
      "bot_contributors": 1,
      "top_contributors": [
        {
          "type": "User",
          "login": "sebrandon1",
          "commits": 42,
          "avatar_url": "https://avatars.githubusercontent.com/u/4563082?v=4"
        },
        {
          "type": "User",
          "login": "edwinbot-ai",
          "commits": 3,
          "avatar_url": "https://avatars.githubusercontent.com/u/263062630?v=4"
        }
      ],
      "contributors_sampled": 2,
      "top_contributor_share": 0.933
    },
    "quality_signals": {
      "has_ci": true,
      "has_tests": true,
      "ci_workflows": [
        "pre-main-macos.yaml",
        "pre-main.yaml",
        "release-binaries.yaml"
      ],
      "has_docs_dir": true,
      "linter_configs": [
        ".golangci.yml"
      ],
      "has_editorconfig": false,
      "has_linter_config": true,
      "has_precommit_config": false
    },
    "security_signals": {
      "lockfiles": [
        "go.sum"
      ],
      "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": 10,
            "reason": "28 out of 28 merged PRs checked by a CI test -- score normalized to 10",
            "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/25 approved changesets -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
          },
          {
            "name": "Contributors",
            "score": 10,
            "reason": "project has 3 contributing companies or organizations -- score normalized to 10",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
          },
          {
            "name": "Dangerous-Workflow",
            "score": 10,
            "reason": "no dangerous workflow patterns detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
          },
          {
            "name": "Dependency-Update-Tool",
            "score": 10,
            "reason": "update tool detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
          },
          {
            "name": "Fuzzing",
            "score": 0,
            "reason": "project is not fuzzed",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
          },
          {
            "name": "License",
            "score": 10,
            "reason": "license file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
          },
          {
            "name": "Maintained",
            "score": 10,
            "reason": "25 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
          },
          {
            "name": "Packaging",
            "score": null,
            "reason": "packaging workflow not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
          },
          {
            "name": "Pinned-Dependencies",
            "score": 0,
            "reason": "dependency not pinned by hash detected -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
          },
          {
            "name": "SAST",
            "score": 0,
            "reason": "SAST tool is not run on all commits -- score normalized to 0",
            "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": 0,
            "reason": "Project has not signed or included provenance with any releases.",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#signed-releases"
          },
          {
            "name": "Token-Permissions",
            "score": 10,
            "reason": "GitHub workflow tokens follow principle of least privilege",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#token-permissions"
          },
          {
            "name": "Vulnerabilities",
            "score": 0,
            "reason": "10 existing vulnerabilities detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
          }
        ],
        "commit": "7782265852f682ec452e78e08ff76b8e07db5f1f",
        "ran_at": "2026-07-28T03:14:19Z",
        "aggregate_score": 4.8,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": false,
      "has_security_policy": false,
      "has_dependabot_config": true
    },
    "contribution_flow": {
      "collected": true,
      "ci_last_run_at": "2026-07-27T10:14:57Z",
      "oldest_open_prs": [],
      "last_merged_pr_at": "2026-07-16T13:01:04Z",
      "ci_last_conclusion": "SUCCESS",
      "oldest_open_issues": [
        {
          "number": 28,
          "created_at": "2026-06-23T20:37:10Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 29,
          "created_at": "2026-06-23T20:37:25Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 30,
          "created_at": "2026-06-23T20:37:29Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 31,
          "created_at": "2026-06-23T20:37:33Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 32,
          "created_at": "2026-06-23T20:37:36Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 35,
          "created_at": "2026-06-23T20:37:52Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 36,
          "created_at": "2026-06-23T20:37:56Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 37,
          "created_at": "2026-06-23T20:38:00Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 41,
          "created_at": "2026-06-23T20:38:19Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 42,
          "created_at": "2026-06-23T20:38:23Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 44,
          "created_at": "2026-06-23T20:38:35Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 45,
          "created_at": "2026-06-23T20:38:38Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 59,
          "created_at": "2026-06-29T21:17:25Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 62,
          "created_at": "2026-06-29T21:17:39Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 63,
          "created_at": "2026-06-29T21:17:49Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 66,
          "created_at": "2026-06-29T21:18:04Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 67,
          "created_at": "2026-06-29T21:18:17Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 69,
          "created_at": "2026-06-29T21:18:29Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 70,
          "created_at": "2026-06-29T21:18:31Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 71,
          "created_at": "2026-06-29T21:18:42Z",
          "last_comment_at": null,
          "last_comment_author": null
        }
      ]
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/sebrandon1/go-enphase",
    "host": "github.com",
    "name": "go-enphase",
    "owner": "sebrandon1"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "moderate",
      "name": "Overall health",
      "note": null,
      "notes": [],
      "value": 57,
      "inputs": {
        "security": 48,
        "vitality": 74,
        "community": 24,
        "governance": 55,
        "engineering": 76
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "good",
        "name": "Vitality",
        "value": 74,
        "weight": 0.22,
        "metrics": [
          {
            "key": "development_activity",
            "band": "moderate",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 63,
            "inputs": {
              "commits_last_year": 51,
              "human_commit_share": 0.882,
              "days_since_last_push": 11,
              "active_weeks_last_year": 13
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 11 days ago",
                "points": 28.8,
                "status": "partial",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 11
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "13/52 weeks with commits",
                "points": 9,
                "status": "partial",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 13
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "51 commits in the last year",
                "points": 15.4,
                "status": "partial",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 51
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "25 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "excellent",
            "name": "Release discipline",
            "note": null,
            "notes": [],
            "value": 90,
            "inputs": {
              "releases_count": 15,
              "latest_release_tag": "v0.1.14",
              "releases_from_tags": false,
              "days_since_latest_release": 14,
              "mean_days_between_releases": 13
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "15 releases published",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "releases_published",
                    "params": {
                      "count": 15
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 14 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 14
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~13 days",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 13
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "openssf_scorecard_signed_releases",
                "name": "OpenSSF Scorecard: Signed-Releases",
                "detail": "Project has not signed or included provenance with any releases.",
                "points": 0,
                "status": "missed",
                "details": [],
                "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": "critical",
        "name": "Community & Adoption",
        "value": 24,
        "weight": 0.18,
        "metrics": [
          {
            "key": "popularity",
            "band": "critical",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 1,
            "inputs": {
              "forks": 1,
              "stars": 0,
              "watchers": 0,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "0 stars",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 0
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "1 forks",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "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 (Apache-2.0)",
                "points": 22.5,
                "status": "met",
                "details": [
                  {
                    "code": "license_standard",
                    "params": {}
                  },
                  {
                    "code": "license_spdx",
                    "params": {
                      "spdx": "Apache-2.0"
                    }
                  }
                ],
                "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
              }
            ]
          }
        ],
        "description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
      },
      {
        "key": "governance",
        "band": "moderate",
        "name": "Sustainability & Governance",
        "value": 55,
        "weight": 0.24,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "critical",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 23,
            "inputs": {
              "bus_factor": 1,
              "contributors_sampled": 2,
              "top_contributor_share": 0.933
            },
            "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 93% of commits",
                "points": 1.5,
                "status": "partial",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 93
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "2 contributors",
                "points": 2.7,
                "status": "partial",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 2
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 3 contributing companies or organizations -- score normalized to 10",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "moderate",
            "name": "Issue & PR responsiveness",
            "note": null,
            "notes": [],
            "value": 60,
            "inputs": {
              "merged_prs": 40,
              "open_issues": 26,
              "closed_issues": 25,
              "issue_closed_ratio": 0.49,
              "closed_unmerged_prs": 1
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "49% of issues closed",
                "points": 22.9,
                "status": "partial",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 49
                    }
                  }
                ],
                "max_points": 46.75
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "40/41 decided PRs merged",
                "points": 37.3,
                "status": "partial",
                "details": [
                  {
                    "code": "decided_prs_merged",
                    "params": {
                      "merged": 40,
                      "decided": 41
                    }
                  }
                ],
                "max_points": 38.25
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "Found 0/25 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": 54,
            "inputs": {
              "followers": 13,
              "owner_type": "User",
              "is_verified": null,
              "owner_login": "sebrandon1",
              "public_repos": 339,
              "account_age_days": 4807
            },
            "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": "13 followers of sebrandon1",
                "points": 8.2,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 13,
                      "login": "sebrandon1"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "339 public repos, account ~13 yr old",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 339
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 13
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "excellent",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "packages": [
                "github.com/sebrandon1/go-enphase"
              ],
              "ecosystems": "go",
              "any_deprecated": false,
              "min_days_since_publish": 14
            },
            "components": [
              {
                "key": "published_resolvable",
                "name": "Published & resolvable",
                "detail": "1 package(s) on go",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "packages_published",
                    "params": {
                      "count": 1,
                      "ecosystems": "go"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "publish_recency",
                "name": "Publish recency",
                "detail": "latest publish 14 days ago",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 14
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "15 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 15
                    }
                  }
                ],
                "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": "good",
        "name": "Engineering Quality",
        "value": 76,
        "weight": 0.2,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "good",
            "name": "Engineering practices",
            "note": null,
            "notes": [],
            "value": 84,
            "inputs": {
              "has_ci": true,
              "has_tests": true,
              "has_editorconfig": false,
              "has_linter_config": true,
              "has_precommit_config": false
            },
            "components": [
              {
                "key": "ci_workflows",
                "name": "CI workflows",
                "detail": "3 workflow(s)",
                "points": 24,
                "status": "met",
                "details": [
                  {
                    "code": "ci_workflows",
                    "params": {
                      "count": 3
                    }
                  }
                ],
                "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": ".golangci.yml",
                "points": 16,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": ".golangci.yml"
                    }
                  }
                ],
                "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": "28 out of 28 merged PRs checked by a CI test -- score normalized to 10",
                "points": 20,
                "status": "met",
                "details": [],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "moderate",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 65,
            "inputs": {
              "topics": [],
              "has_wiki": false,
              "homepage": null,
              "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": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "repository_description",
                "name": "Repository description",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "topics",
                "name": "Topics",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "wiki",
                "name": "Wiki",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          }
        ],
        "description": "Are baseline engineering and documentation practices in place?"
      },
      {
        "key": "security",
        "band": "at_risk",
        "name": "Security",
        "value": 48,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "at_risk",
            "name": "Security posture",
            "note": "Excluded from scoring (no data or not applicable): Packaging. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "packaging"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 48,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 17,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 1,
              "scorecard_aggregate": 4.8
            },
            "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": "28 out of 28 merged PRs checked by a CI test -- score normalized to 10",
                "points": 2.5,
                "status": "met",
                "details": [],
                "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/25 approved changesets -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 3 contributing companies or organizations -- score normalized to 10",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "dangerous_workflow",
                "name": "Dangerous-Workflow",
                "detail": "no dangerous workflow patterns detected",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "dependency_update_tool",
                "name": "Dependency-Update-Tool",
                "detail": "update tool detected",
                "points": 7.5,
                "status": "met",
                "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": "25 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "packaging",
                "name": "Packaging",
                "detail": "packaging workflow not detected",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 5
              },
              {
                "key": "pinned_dependencies",
                "name": "Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "sast",
                "name": "SAST",
                "detail": "SAST tool is not run on all commits -- score normalized to 0",
                "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": "Project has not signed or included provenance with any releases.",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "token_permissions",
                "name": "Token-Permissions",
                "detail": "GitHub workflow tokens follow principle of least privilege",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "vulnerabilities",
                "name": "Vulnerabilities",
                "detail": "10 existing vulnerabilities detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              }
            ]
          },
          {
            "key": "high_risk_jurisdiction_exposure",
            "band": "excellent",
            "name": "High-Risk Jurisdiction Exposure",
            "note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
            "notes": [
              {
                "code": "jurisdiction_evidence_limits",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "meaning": "self-published location evidence; not nationality or citizenship",
              "red_flag": false,
              "exposures": [],
              "policy_countries": [
                "Russia",
                "Iran",
                "North Korea"
              ],
              "review_only_matches": 0,
              "assessed_self_published_locations": 2
            },
            "components": [
              {
                "key": "policy_exposure_multiplier",
                "name": "Policy exposure multiplier",
                "detail": "no confirmed policy-scope location match",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "jurisdiction_no_match",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
      },
      {
        "key": "ai_readiness",
        "band": "good",
        "name": "AI Readiness",
        "value": 80,
        "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.933,
              "agent_instruction_files": [
                "CLAUDE.md"
              ],
              "agent_instruction_max_bytes": 7566
            },
            "components": [
              {
                "key": "agent_instructions",
                "name": "Agent instructions",
                "detail": "CLAUDE.md",
                "points": 45,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "CLAUDE.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": "42 of 45 human commits state their intent (structured subject or explanatory body)",
                "points": 40,
                "status": "met",
                "details": [
                  {
                    "code": "legible_history",
                    "params": {
                      "legible": 42,
                      "sampled": 45
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "good",
            "name": "Verify loop (build / test / typecheck)",
            "note": null,
            "notes": [],
            "value": 84,
            "inputs": {
              "has_nix": false,
              "has_tests": true,
              "lockfiles": [
                "go.sum"
              ],
              "has_dockerfile": false,
              "typed_language": true,
              "bootstrap_files": [
                "Makefile"
              ],
              "has_devcontainer": false,
              "has_linter_config": true,
              "typecheck_configs": [],
              "agent_commit_share": 0.02,
              "toolchain_manifests": [
                "examples/ha-exporter/go.mod",
                "go.mod"
              ],
              "dependency_bot_commit_share": 0.118
            },
            "components": [
              {
                "key": "one_command_bootstrap",
                "name": "One-command bootstrap",
                "detail": "Makefile",
                "points": 18,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "Makefile"
                    }
                  }
                ],
                "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": ".golangci.yml",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": ".golangci.yml"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "static_type_checking",
                "name": "Static type checking",
                "detail": "Go (statically typed)",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "statically_typed_language",
                    "params": {
                      "language": "Go"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "reproducible_environment",
                "name": "Reproducible environment",
                "detail": "lockfile",
                "points": 10,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "lockfile"
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "demonstrated_agent_practice",
                "name": "Demonstrated agent practice",
                "detail": "1 of the last 51 commits agent-authored or agent-credited",
                "points": 3.9,
                "status": "partial",
                "details": [
                  {
                    "code": "agent_authored_commits",
                    "params": {
                      "count": 1,
                      "sampled": 51
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "automated_maintenance",
                "name": "Automated maintenance",
                "detail": "6 of the last 51 commits are automated dependency updates",
                "points": 8,
                "status": "met",
                "details": [
                  {
                    "code": "dependency_bot_commits",
                    "params": {
                      "count": 6,
                      "sampled": 51
                    }
                  }
                ],
                "max_points": 8
              },
              {
                "key": "openssf_scorecard_pinned_dependencies",
                "name": "OpenSSF Scorecard: Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "ai_code_legibility",
            "band": "excellent",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "primary_language": "Go",
              "largest_source_bytes": 19771,
              "source_files_sampled": 40,
              "oversized_source_files": 0
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "Go (statically typed)",
                "points": 45,
                "status": "met",
                "details": [
                  {
                    "code": "statically_typed_language",
                    "params": {
                      "language": "Go"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "0/40 source files over 60KB",
                "points": 55,
                "status": "met",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 40,
                      "oversized": 0
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          },
          {
            "key": "ai_interfaces",
            "band": "at_risk",
            "name": "Machine-readable interfaces",
            "note": null,
            "notes": [],
            "value": 40,
            "inputs": {
              "example_dirs": [
                "examples"
              ],
              "has_mcp_signal": false,
              "api_schema_files": []
            },
            "components": [
              {
                "key": "api_schema_openapi_graphql_proto",
                "name": "API schema (OpenAPI/GraphQL/proto)",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 40
              },
              {
                "key": "mcp_server",
                "name": "MCP server",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 20
              },
              {
                "key": "runnable_examples",
                "name": "Runnable examples",
                "detail": "examples",
                "points": 40,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "examples"
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          }
        ],
        "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": [
    "GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository"
  ],
  "report_type": "repository",
  "generated_at": "2026-07-28T03:14:34.029905Z",
  "schema_version": "0.27.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/s/sebrandon1/go-enphase.svg",
  "full_name": "sebrandon1/go-enphase",
  "license_state": "standard",
  "license_spdx": "Apache-2.0"
}

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

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

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