Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-12-05 05:32 UTC

apple / tree-sitter-pkl

Tree-sitter parser for Pkl

Kotlin · JavaScript · CApache-2.0★ 54 stars⑂ 17 forkssince Jan 2024View on GitHub ↗

apple/tree-sitter-pkl holds a health index of 88 out of 100, placing it in the Excellent band. It scores highest on Security (86/100) and lowest on Community & Adoption (58/100). It was last updated 29 days ago. 2 contributors account for most of its recent work.

88
overall / 100
Excellent

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

88
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 74 is calibrated to 88 on the published index scale (record calibration 2026-08-02).

Ownership

AppleOrganization · verified domain
41,363 followers194 public repossince Jan 2015

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Gogithub.com/apple/tree-sitter-pklv0.22.0-629 days ago—
npm@apple/tree-sitter-pkl0.22.0453829 days agoparserlexer

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

74Good · 21% of overall
How it's scored
28.8/36Push recency — last push 29 days ago
14.5/36Commit cadence — 21/52 weeks with commits
15.3/18Commit volume — 49 commits in the last year
8/10OpenSSF Scorecard: Maintained — 10 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 8
Inputs used
Commits in the last year49
Share of human-authored commits0.742
Days since last push29
Weeks with commits in the last year21
How it's scored
27/27Ships releases — 8 releases published
36/36Release recency — latest release 29 days ago
12.6/27Release cadence — a release every ~143.9 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases8
Latest release tagv0.22.0
Releases derived from version tagsno
Days since latest release29
Mean days between releases143.9
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

58Moderate · 17% of overall
How it's scored
28/60Stars — 54 stars
10/25Forks — 17 forks
5/15Watchers — 9 watchers
Inputs used
Forks17
Stars54
Watchers9
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history

Community health

85Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (Apache-2.0)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README0
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the README—
Pull request template presentno
How it's scored
35.4/80Monthly downloads — 453 downloads/month across go, npm
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesgithub.com/apple/tree-sitter-pkl, @apple/tree-sitter-pkl
Registry dependents—
Package ecosystemsgo, npm
Total downloads—
Monthly downloads453
Packages excluded as unverified—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

82Excellent · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
11.6/22.5Commit distribution — top contributor authored 48% of commits
10.8/13.5Contributor breadth — 8 contributors
3/10OpenSSF Scorecard: Contributors — project has 1 contributing companies or organizations -- score normalized to 3
Inputs used
Bus factor2
Contributors sampled8
Share of commits by the top contributor0.485
How it's scored
32.7/42Issue resolution — 78% of issues closed
28/30PR acceptance — 86/92 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
15/15OpenSSF Scorecard: Code-Review — all changesets reviewed
Inputs used
Merged pull requests86
Open issues2
Closed issues7
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days1
Pull requests decided in the last 30 days1
Share of issues closed0.778
Pull requests closed without merging6
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
25/25Owner reach — 41,363 followers of apple
25/25Track record — 194 public repos, account ~11 yr old
Inputs used
Followers41,363
Owner account typeOrganization
Verified domainyes
Owner accountapple
Public repositories194
Owner account age in days4,335

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 2 package(s) on go, npm
35/35Publish recency — latest publish 29 days ago
20/20Version history — 8 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagesgithub.com/apple/tree-sitter-pkl, @apple/tree-sitter-pkl
Package ecosystemsgo, npm
Any package deprecated or yankedno
Days since latest package publish29

Engineering Quality

Are baseline engineering and documentation practices in place?

68Good · 19% of overall
How it's scored
24/24CI workflows — 6 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentyes
Linter config presentno
Pre-commit config presentno

Documentation

60Moderate
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
10/10Topics — 2 topics
10/10Wiki
Inputs used
Repository topicspkl, tree-sitter
Wiki enabledyes
Repository homepage—
Documentation site—
README presentyes
Documentation directory presentno
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

86Excellent · 16% of overall

Security posture

83Excellent
How it's scored
6.8/7.5Binary-Artifacts — binaries present in source code
3/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 30 out of 30 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
7.5/7.5Code-Review — all changesets reviewed
0.8/2.5Contributors — project has 1 contributing companies or organizations -- score normalized to 3
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.5License — license file detected
6/7.5Maintained — 10 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 8
5/5Packaging — packaging workflow detected
5/5Pinned-Dependencies — all dependencies are pinned
5/5SAST — SAST tool is run on all commits
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — no data
6.8/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated17
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive1
OpenSSF Scorecard aggregate score8.3
Excluded from scoring (no data or not applicable): Signed-Releases. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
25/25Indirect dependencies free of known advisories — no indirect dependency carries a known advisory
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages0
Packages affected by advisories0
Packages assessed2
Packages not assessed0
Affected packages by severitynone
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the npm:@apple/tree-sitter-pkl@0.22.0 runtime dependency closure — what installing the published package pulls in — 2 packages. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

69Good · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 61 of 66 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.924
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
18/18One-command bootstrap — Makefile
22/22Automated tests
0/11Lint / format config
11/11Static type checking — bindings/python/tree_sitter_pkl/py.typed, tsconfig.json
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 89
8/8Automated maintenance — 22 of the last 89 commits are automated dependency updates
10/10OpenSSF Scorecard: Pinned-Dependencies — all dependencies are pinned
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesCargo.lock, go.sum, package-lock.json
Dockerfile presentno
Primary language statically typedyes
One-command bootstrap filesMakefile
Dev container config presentno
Linter config presentno
Static type-check config filesbindings/python/tree_sitter_pkl/py.typed, tsconfig.json
Share of commits authored by or credited to coding agents0
Toolchain manifestsCargo.toml, build.gradle.kts, buildSrc/build.gradle.kts, go.mod
Share of commits that are automated dependency updates0.247
How it's scored
45/45Type-checkable code — Kotlin (statically typed)
52.7/55Manageable file sizes — 1/24 source files over 60KB
Inputs used
Primary languageKotlin
Size of the largest source file (bytes)1,814,109
Source files sampled24
Oversized source files1

Key facts

54GitHub stars
8contributors
49commits, last 12 months
29days since last push
8releases
2bus factor
2open issues
crates.io, Go, Maven, npm, PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • Could not fetch crates package 'tree-sitter-pkl' from its registry
  • Could not fetch pypi package 'tree-sitter-pkl' from its registry

More detail

Star and fork history 0 ★ / 17 ⇿
0Stars
17Forks
6Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

04812161622024-022025-062026-11
Major 0Minor 5Patch 1

Each point covers 3 days.

OpenSSF Scorecard 8.3 / 10
8.3aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-12-05 05:32 UTC

9Binary-Artifactsbinaries present in source code
4Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
3Contributorsproject has 1 contributing companies or organizations -- score normalized to 3
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
8Maintained10 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 8
10Packagingpackaging workflow detected
10Pinned-Dependenciesall dependencies are pinned
10SASTSAST tool is run on all commits
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
9Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 4
RegistryPackageVersion constraintManifest
crates.iotree-sitter-language0.1Cargo.toml
Gogithub.com/tree-sitter/go-tree-sitterv0.24.0go.mod
npmnode-addon-api^8.5.0package.json
npmnode-gyp-build^4.8.4package.json
All dependencies 52

Full resolved dependency set from the GitHub dependency graph: 4 direct and 48 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
crates.iotree-sitter-language0.1.5direct
Gogithub.com/tree-sitter/go-tree-sitter0.24.0direct
npmnode-addon-api8.9.2direct
npmnode-gyp-build4.8.4direct
crates.ioaho-corasick1.1.4indirect
crates.iocc1.2.47indirect
crates.ioequivalent1.0.2indirect
crates.iofind-msvc-tools0.1.5indirect
crates.iohashbrown0.16.1indirect
crates.ioindexmap2.12.1indirect
crates.ioitoa1.0.15indirect
crates.iomemchr2.7.6indirect
crates.ioproc-macro21.0.103indirect
crates.ioquote1.0.42indirect
crates.ioregex1.12.2indirect
crates.ioregex-automata0.4.13indirect
crates.ioregex-syntax0.8.8indirect
crates.ioryu1.0.20indirect
crates.ioserde1.0.228indirect
crates.ioserde_core1.0.228indirect
crates.ioserde_derive1.0.228indirect
crates.ioserde_json1.0.145indirect
crates.ioshlex1.3.0indirect
crates.iostreaming-iterator0.1.9indirect
crates.iosyn2.0.111indirect
crates.iotree-sitter0.25.10indirect
crates.iounicode-ident1.0.22indirect
Gogithub.com/mattn/go-pointer0.0.1indirect
npm@typescript/typescript-aix-ppc647.0.2indirect
npm@typescript/typescript-darwin-arm647.0.2indirect
npm@typescript/typescript-darwin-x647.0.2indirect
npm@typescript/typescript-freebsd-arm647.0.2indirect
npm@typescript/typescript-freebsd-x647.0.2indirect
npm@typescript/typescript-linux-arm7.0.2indirect
npm@typescript/typescript-linux-arm647.0.2indirect
npm@typescript/typescript-linux-loong647.0.2indirect
npm@typescript/typescript-linux-mips64el7.0.2indirect
npm@typescript/typescript-linux-ppc647.0.2indirect
npm@typescript/typescript-linux-riscv647.0.2indirect
npm@typescript/typescript-linux-s390x7.0.2indirect
npm@typescript/typescript-linux-x647.0.2indirect
npm@typescript/typescript-netbsd-arm647.0.2indirect
npm@typescript/typescript-netbsd-x647.0.2indirect
npm@typescript/typescript-openbsd-arm647.0.2indirect
npm@typescript/typescript-openbsd-x647.0.2indirect
npm@typescript/typescript-sunos-x647.0.2indirect
npm@typescript/typescript-win32-arm647.0.2indirect
npm@typescript/typescript-win32-x647.0.2indirect
npmtree-sitter-cli0.27.0indirect
npmtypescript7.0.2indirect
PyPIsetuptools—indirect
PyPItree-sitter—indirect
Dependency advisories 0

Installing npm:@apple/tree-sitter-pkl@0.22.0 pulls in 2 packages, direct and transitive: 0 carry known advisories, of which 0 are direct dependencies.

No known advisories affect the assessed dependencies.

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — Go, npm.