# zhinjs/zhin — health index 73/100 (Good)

> Inspection of the public repository zhinjs/zhin by inspect.software. It holds a health index of 73 out of 100, placing it in the Good band. The index is a signal derived from publicly visible practice, not a warranty, a security audit, or an endorsement, and it is independent of payment.

- Repository: https://github.com/zhinjs/zhin
- Report page: https://inspect.software/software/zhinjs/zhin
- Full JSON report: https://inspect.software/api/repositories/zhinjs/zhin/report
- Badge: https://raw.githubusercontent.com/inspect-software/badges/main/v1/z/zhinjs/zhin.svg
- Inspected: 2026-07-16
- Methodology: metrics 1.13.0, report schema 0.11.0 (https://inspect.software/methodology.md)

## Category summary

| Category | Weight | Index | Band |
|---|---|---|---|
| Vitality | 22% | 94/100 | Excellent |
| Community & Adoption | 18% | 57/100 | Moderate |
| Sustainability & Governance | 24% | 65/100 | Moderate |
| Engineering Quality | 20% | 82/100 | Good |
| Security | 16% | 64/100 | Moderate |
| AI Readiness | not counted | 73/100 | Good |

## Repository facts

| Field | Value |
|---|---|
| Description | 现代 TypeScript AI Agent 运行时 —— 多通道 Endpoint 接入、Harness 安全编排、插件热重载 |
| Homepage | http://zhin.js.org/ |
| Primary language | TypeScript |
| License | MIT |
| Stars | 133 |
| Forks | 17 |
| Created | 2022-08-17 |
| Last push | 2026-07-16 |
| Latest release | @zhin.js/plugin-idiom-chain@1.0.1 |
| Commits (last year) | 1,398 |
| Bus factor | 2 |
| Topics | agent, ai, robot, chatbot, discord, framework, hot-module-replacement, koa, plugin, qq, telegram, tsx, wechat |

## Vitality — 94/100 (Excellent)

Is the project alive — is code being written and are releases shipping? Weight: 22% of the overall index.

### Development activity — 90/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Push recency | met | 36 / 36 | last push 0 days ago |
| Commit cadence | partial | 26.3 / 36 | 38/52 weeks with commits |
| Commit volume | met | 18 / 18 | 1398 commits in the last year |
| OpenSSF Scorecard: Maintained | met | 10 / 10 | 30 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10 |

### Release discipline — 100/100 (Excellent)

Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ships releases | met | 27 / 27 | 100 releases published |
| Release recency | met | 36 / 36 | latest release 1 days ago |
| Release cadence | met | 27 / 27 | a release every ~0.1 days |
| OpenSSF Scorecard: Signed-Releases | excluded | 0 / 10 | no releases found |

### Abandonment — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Project is still maintained | met | 100 / 100 | maintenance record not established from the collected data |

## Community & Adoption — 57/100 (Moderate)

Does the project have users, downloads, attention, and a welcoming setup for contributors? Weight: 18% of the overall index.

### Popularity & adoption — 46/100 (At risk)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Stars | partial | 34.4 / 60 | 133 stars |
| Forks | partial | 10 / 25 | 17 forks |
| Watchers | partial | 1.7 / 15 | 3 watchers |

### Community health — 70/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 22.5 / 22.5 | — |
| License | met | 22.5 / 22.5 | recognized license (MIT) |
| CONTRIBUTING guide | met | 18 / 18 | — |
| Code of conduct | not met | 0 / 13.5 | — |
| Issue template | not met | 0 / 7.2 | — |
| PR template | not met | 0 / 6.3 | — |

## Sustainability & Governance — 65/100 (Moderate)

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep? Weight: 24% of the overall index.

### Maintainer resilience (bus factor) — 61/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Bus factor | partial | 25.2 / 54 | 2 contributor(s) cover half of all commits |
| Commit distribution | partial | 12.6 / 22.5 | top contributor authored 44% of commits |
| Contributor breadth | met | 13.5 / 13.5 | 18 contributors |
| OpenSSF Scorecard: Contributors | met | 10 / 10 | project has 10 contributing companies or organizations |

### Issue & PR responsiveness — 80/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Issue resolution | met | 46.8 / 46.8 | 100% of issues closed |
| PR acceptance | partial | 33.7 / 38.2 | 433/491 decided PRs merged |
| OpenSSF Scorecard: Code-Review | not met | 0 / 15 | Found 0/22 approved changesets -- score normalized to 0 |

### Ownership & stewardship — 54/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ownership backing | met | 30 / 30 | organization-owned |
| Verified domain | not met | 0 / 20 | — |
| Owner reach | partial | 6.5 / 25 | 7 followers of zhinjs |
| Track record | partial | 17.9 / 25 | 24 public repos, account ~3 yr old |

## Engineering Quality — 82/100 (Good)

Are baseline engineering and documentation practices in place? Weight: 20% of the overall index.

### Engineering practices — 70/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| CI workflows | met | 24 / 24 | 6 workflow(s) |
| Tests present | met | 24 / 24 | — |
| Linter config | met | 16 / 16 | eslint.config.mjs |
| Pre-commit hooks | not met | 0 / 9.6 | — |
| .editorconfig | not met | 0 / 6.4 | — |
| OpenSSF Scorecard: CI-Tests | partial | 6 / 20 | 2 out of 6 merged PRs checked by a CI test -- score normalized to 3 |

### Documentation — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 30 / 30 | — |
| Documentation directory | met | 25 / 25 | — |
| Documentation / homepage site | met | 15 / 15 | http://zhin.js.org/ |
| Repository description | met | 10 / 10 | — |
| Topics | met | 10 / 10 | 13 topics |
| Wiki | met | 10 / 10 | — |

## Security — 64/100 (Moderate)

Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure? Weight: 16% of the overall index.

### Security posture — 64/100 (Moderate)

Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Binary-Artifacts | met | 7.5 / 7.5 | no binaries found in the repo |
| Branch-Protection | not met | 0 / 7.5 | branch protection not enabled on development/release branches |
| CI-Tests | partial | 0.8 / 2.5 | 2 out of 6 merged PRs checked by a CI test -- score normalized to 3 |
| CII-Best-Practices | not met | 0 / 2.5 | no effort to earn an OpenSSF best practices badge detected |
| Code-Review | not met | 0 / 7.5 | Found 0/22 approved changesets -- score normalized to 0 |
| Contributors | met | 2.5 / 2.5 | project has 10 contributing companies or organizations |
| Dangerous-Workflow | met | 10 / 10 | no dangerous workflow patterns detected |
| Dependency-Update-Tool | met | 7.5 / 7.5 | update tool detected |
| Fuzzing | not met | 0 / 5 | project is not fuzzed |
| License | met | 2.5 / 2.5 | license file detected |
| Maintained | met | 7.5 / 7.5 | 30 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10 |
| Packaging | excluded | 0 / 5 | packaging workflow not detected |
| Pinned-Dependencies | partial | 3 / 5 | dependency not pinned by hash detected -- score normalized to 6 |
| SAST | met | 5 / 5 | SAST tool is run on all commits |
| Security-Policy | met | 5 / 5 | security policy file detected |
| Signed-Releases | excluded | 0 / 7.5 | no releases found |
| Token-Permissions | not met | 0 / 7.5 | detected GitHub workflow tokens with excessive permissions |
| Vulnerabilities | met | 7.5 / 7.5 | 0 existing vulnerabilities detected |

### High-Risk Jurisdiction Exposure — 100/100 (Excellent)

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.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Policy exposure multiplier | met | 100 / 100 | no confirmed policy-scope location match |

## AI Readiness — 73/100 (Good)

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.

### Agent context & guidance — 75/100 (Good)

Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Agent instructions | met | 45 / 45 | .github/copilot-instructions.md, .github/instructions/zhin-packages.instructions.md, .github/instructions/zhin-plugin.instructions.md, AGENTS.md, CLAUDE.md, examples/test-bot/AGENTS.md |
| Machine-readable docs (llms.txt) | not met | 0 / 15 | — |
| Legible commit history | excluded | 0 / 40 | no data |

### Verify loop (build / test / typecheck) — 73/100 (Good)

Excluded from scoring (no data or not applicable): Demonstrated agent practice, Automated maintenance. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| One-command bootstrap | not met | 0 / 18 | — |
| Automated tests | met | 22 / 22 | — |
| Lint / format config | met | 11 / 11 | eslint.config.mjs |
| Static type checking | met | 11 / 11 | basic/cli/tsconfig.json, basic/database/tsconfig.json, basic/logger/tsconfig.json, basic/schedule/tsconfig.json, basic/schema/tsconfig.json, examples/demo-bot/tsconfig.json, examples/full-bot/client/tsconfig.json, examples/full-bot/tsconfig.json, examples/life-assistant-bot/tsconfig.json, examples/minimal-bot/tsconfig.json, examples/multi-agent-room/tsconfig.json, examples/qq-games-bot/tsconfig.json, examples/test-bot/client/tsconfig.json, examples/test-bot/tsconfig.json, packages/console/client/tsconfig.json, packages/console/contract/tsconfig.json, packages/console/pagemanager/tsconfig.json, packages/host/a2a/tsconfig.json, packages/host/api/tsconfig.json, packages/host/mcp/tsconfig.json, packages/host/router/tsconfig.json, packages/im/agent/tsconfig.json, packages/im/ai/tsconfig.json, packages/im/core/tsconfig.json, packages/im/kernel/tsconfig.json, packages/im/zhin/tsconfig.json, packages/toolkit/create-zhin/tsconfig.json, packages/toolkit/html-renderer/tsconfig.json, packages/toolkit/satori/tsconfig.json, packages/toolkit/scaffold-wizard/tsconfig.json, packages/toolkit/speech/tsconfig.json, plugins/adapters/dingtalk/tsconfig.json, plugins/adapters/discord/client/tsconfig.json, plugins/adapters/discord/tsconfig.json, plugins/adapters/email/tsconfig.json, plugins/adapters/github/tsconfig.json, plugins/adapters/icqq/client/tsconfig.json, plugins/adapters/icqq/tsconfig.json, plugins/adapters/kook/client/tsconfig.json, plugins/adapters/kook/tsconfig.json, plugins/adapters/lark/tsconfig.json, plugins/adapters/line/tsconfig.json, plugins/adapters/milky/tsconfig.json, plugins/adapters/napcat/client/tsconfig.json, plugins/adapters/napcat/tsconfig.json, plugins/adapters/onebot11/tsconfig.json, plugins/adapters/onebot12/tsconfig.json, plugins/adapters/qq/client/tsconfig.json, plugins/adapters/qq/tsconfig.json, plugins/adapters/sandbox/client/tsconfig.json, plugins/adapters/sandbox/tsconfig.json, plugins/adapters/satori/tsconfig.json, plugins/adapters/slack/tsconfig.json, plugins/adapters/telegram/client/tsconfig.json, plugins/adapters/telegram/tsconfig.json, plugins/adapters/wechat-mp/tsconfig.json, plugins/adapters/wecom/tsconfig.json, plugins/adapters/weixin-ilink/client/tsconfig.json, plugins/adapters/weixin-ilink/tsconfig.json, plugins/features/process-monitor/tsconfig.json, plugins/games/blackjack/tsconfig.json, plugins/games/dice-duel/tsconfig.json, plugins/games/guess-number/tsconfig.json, plugins/games/idiom-chain/tsconfig.json, plugins/games/rps/tsconfig.json, plugins/games/shared/tsconfig.json, plugins/games/text-adventure/tsconfig.json, plugins/games/tic-tac-toe/tsconfig.json, plugins/games/word-riddle/tsconfig.json, plugins/services/activity-feedback/tsconfig.json, plugins/tsconfig.json, plugins/utils/60s/tsconfig.json, plugins/utils/code-runner/tsconfig.json, plugins/utils/group-suite/tsconfig.json, plugins/utils/link-poster/tsconfig.json, plugins/utils/lottery/tsconfig.json, plugins/utils/music/tsconfig.json, plugins/utils/qrcode/tsconfig.json, plugins/utils/repeater/tsconfig.json, plugins/utils/rss/tsconfig.json, plugins/utils/short-url/tsconfig.json, tsconfig.json |
| Reproducible environment | met | 10 / 10 | Dockerfile, lockfile |
| Demonstrated agent practice | excluded | 0 / 10 | no data |
| Automated maintenance | excluded | 0 / 8 | no data |
| OpenSSF Scorecard: Pinned-Dependencies | partial | 6 / 10 | dependency not pinned by hash detected -- score normalized to 6 |

### Code legibility for models — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Type-checkable code | met | 45 / 45 | TypeScript (statically typed) |
| Manageable file sizes | met | 55 / 55 | 0/2343 source files over 60KB |

### Machine-readable interfaces — 40/100 (At risk)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| API schema (OpenAPI/GraphQL/proto) | not met | 0 / 40 | — |
| MCP server | not met | 0 / 20 | — |
| Runnable examples | met | 40 / 40 | examples |

## What this report is

inspect.software measures public repositories against a single published, versioned methodology and reports the result as a 1–100 health index. Findings are signals derived from what is visible in public repository data — they are not a security audit, a warranty, or an endorsement, and no result depends on payment.

- Methodology, formulas and weights: https://inspect.software/methodology.md
- What a result does and does not claim: https://inspect.software/wiki/signals-not-warranties.md
- Rating bands: https://inspect.software/wiki/scoring-bands.md
- Corrections: https://inspect.software/contact.md
- Index of all documents: https://inspect.software/llms.txt
