Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-10 03:48 UTC

deftai / directive

Best practices and guidelines for AI agents in software development

TypeScriptCustom license★ 30 stars⑂ 14 forkssince Dec 2025View on GitHub ↗
KindApplicationhow this is determined

deftai/directive holds a health index of 87 out of 100, placing it in the Excellent band. It scores highest on Vitality (92/100) and lowest on Community & Adoption (52/100). It was last updated today. A single contributor accounts for most of its recent work.

87
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.

87
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 73 is calibrated to 87 on the published index scale (record calibration 2026-08-02).

Ownership

DeftOrganization
13 followers12 public repossince Feb 2026

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
Gogithub.com/deftai/directivev0.114.0-1800 days ago

Metrics by category

Vitality

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

92Excellent · 21% of overall
How it's scored
36/36Push recencylast push 0 days ago
22.2/36Commit cadence32/52 weeks with commits
18/18Commit volume2,559 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year2,559
human_commit_share0.98
days_since_last_push0
active_weeks_last_year32

Release discipline

100Exceptional
How it's scored
27/27Ships releases100 releases published
36/36Release recencylatest release 0 days ago
27/27Release cadencea release every ~1.3 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count100
latest_release_tagv0.114.0
releases_from_tagsno
days_since_latest_release0
mean_days_between_releases1.3
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?

52Moderate · 17% of overall
How it's scored
23.7/60Stars30 stars
9.3/25Forks14 forks
1.7/15Watchers3 watchers
Inputs used
forks14
stars30
watchers3
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
16.9/22.5Licenselicense file present, not a recognized license
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges0
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateyes

Sustainability & Governance

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

60Moderate · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
1.7/22.5Commit distributiontop contributor authored 92% of commits
13.5/13.5Contributor breadth12 contributors
10/10OpenSSF Scorecard: Contributorsproject has 3 contributing companies or organizations -- score normalized to 10
Inputs used
bus_factor1
contributors_sampled12
top_contributor_share0.923
How it's scored
29.9/42Issue resolution71% of issues closed
28.8/30PR acceptance1,866/1,941 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
3/15OpenSSF Scorecard: Code-ReviewFound 6/30 approved changesets -- score normalized to 2
Inputs used
merged_prs1,866
open_issues681
closed_issues1,677
prs_merged_7d55
prs_decided_7d58
prs_merged_30d55
prs_decided_30d58
issue_closed_ratio0.711
closed_unmerged_prs75
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domain
8.2/25Owner reach13 followers of deftai
9.2/25Track record12 public repos, account ~0 yr old
Inputs used
followers13
owner_typeOrganization
is_verifiedno
owner_logindeftai
public_repos12
account_age_days202

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable1 package(s) on go
35/35Publish recencylatest publish 0 days ago
20/20Version history180 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesgithub.com/deftai/directive
ecosystemsgo
any_deprecatedno
min_days_since_publish0

Engineering Quality

Are baseline engineering and documentation practices in place?

76Good · 19% of overall
How it's scored
24/24CI workflows7 workflow(s)
24/24Tests present
16/16Linter configbiome.json
0/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests17 out of 17 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configno
How it's scored
30/30README
25/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
0/10Topics
0/10Wiki
Inputs used
topics
has_wikino
homepage
docs_site
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

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

80Excellent · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
2.2/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
2.5/2.5CI-Tests17 out of 17 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-ReviewFound 6/30 approved changesets -- score normalized to 2
2.5/2.5Contributorsproject has 3 contributing companies or organizations -- score normalized to 10
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.2/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
2/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 4
5/5SASTSAST tool is run on all commits
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releasesno data
7.5/7.5Token-PermissionsGitHub workflow tokens follow principle of least privilege
5.2/7.5Vulnerabilities3 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate7.5
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 advisoriesno direct dependency carries a known advisory
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories4
affected_packages3
assessed_packages191
unassessed_packages2
affected_by_severityhigh 3
direct_affected_packages0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 191 resolved dependencies against OSV. 2 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. 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.

89Excellent · 4% of overall
How it's scored
45/45Agent instructionsAGENTS.md, content/deployments/cloud-gov/agents.md, packaging/openpackage/deft-directive-skills/AGENTS.md
0/15Machine-readable docs (llms.txt)
40/40Legible commit history98 of 98 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share1
agent_instruction_filesAGENTS.md, content/deployments/cloud-gov/agents.md, packaging/openpackage/deft-directive-skills/AGENTS.md
agent_instruction_max_bytes35,664
How it's scored
18/18One-command bootstrapTaskfile.yml
22/22Automated tests
11/11Lint / format configbiome.json
11/11Static type checkingpackages/cli/tsconfig.json, packages/core/tsconfig.json, packages/types/tsconfig.json, tsconfig.json
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
8/8Automated maintenance2 of the last 100 commits are automated dependency updates
4/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 4
Inputs used
has_nixno
has_testsyes
lockfilespnpm-lock.yaml
has_dockerfileno
typed_languageyes
bootstrap_filesTaskfile.yml
has_devcontainerno
has_linter_configyes
typecheck_configspackages/cli/tsconfig.json, packages/core/tsconfig.json, packages/types/tsconfig.json, tsconfig.json
agent_commit_share0
toolchain_manifestsgo.mod
dependency_bot_commit_share0.02
How it's scored
45/45Type-checkable codeTypeScript (statically typed)
54.5/55Manageable file sizes21/2,330 source files over 60KB
Inputs used
primary_languageTypeScript
largest_source_bytes153,817
source_files_sampled2,330
oversized_source_files21
How it's scored
0/40API schema (OpenAPI/GraphQL/proto)not applicable to this kind of software
0/20MCP servernot applicable to this kind of software
40/40Runnable examplesexamples
Inputs used
example_dirsexamples
has_mcp_signalno
api_schema_files
interfaces_expected_of
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

30GitHub stars
12contributors
2,559commits, last 12 months
0days since last push
100releases
1bus factor
681open issues
Go, npmpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 14 ⇿
0Stars
14Forks
92Releases

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.

03581013151422026-012026-052026-09
Major 0Minor 70Patch 22
OpenSSF Scorecard 7.5 / 10
7.5aggregate

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-09-10 03:47 UTC

10Binary-Artifactsno binaries found in the repo
3Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests17 out of 17 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
2Code-ReviewFound 6/30 approved changesets -- score normalized to 2
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
9Licenselicense file detected
10Maintained30 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
4Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 4
10SASTSAST tool is run on all commits
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
10Token-PermissionsGitHub workflow tokens follow principle of least privilege
7Vulnerabilities3 existing vulnerabilities detected
All dependencies 193

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

RegistryPackageVersionRelation
npm@babel/helper-string-parser7.29.7indirect
npm@babel/helper-validator-identifier7.29.7indirect
npm@babel/parser7.29.7indirect
npm@babel/types7.29.7indirect
npm@bcoe/v8-coverage1.0.2indirect
npm@biomejs/biome2.5.0indirect
npm@biomejs/cli-darwin-arm642.5.0indirect
npm@biomejs/cli-darwin-x642.5.0indirect
npm@biomejs/cli-linux-arm642.5.0indirect
npm@biomejs/cli-linux-arm64-musl2.5.0indirect
npm@biomejs/cli-linux-x642.5.0indirect
npm@biomejs/cli-linux-x64-musl2.5.0indirect
npm@biomejs/cli-win32-arm642.5.0indirect
npm@biomejs/cli-win32-x642.5.0indirect
npm@esbuild/aix-ppc640.28.1indirect
npm@esbuild/android-arm0.28.1indirect
npm@esbuild/android-arm640.28.1indirect
npm@esbuild/android-x640.28.1indirect
npm@esbuild/darwin-arm640.28.1indirect
npm@esbuild/darwin-x640.28.1indirect
npm@esbuild/freebsd-arm640.28.1indirect
npm@esbuild/freebsd-x640.28.1indirect
npm@esbuild/linux-arm0.28.1indirect
npm@esbuild/linux-arm640.28.1indirect
npm@esbuild/linux-ia320.28.1indirect
npm@esbuild/linux-loong640.28.1indirect
npm@esbuild/linux-mips64el0.28.1indirect
npm@esbuild/linux-ppc640.28.1indirect
npm@esbuild/linux-riscv640.28.1indirect
npm@esbuild/linux-s390x0.28.1indirect
npm@esbuild/linux-x640.28.1indirect
npm@esbuild/netbsd-arm640.28.1indirect
npm@esbuild/netbsd-x640.28.1indirect
npm@esbuild/openbsd-arm640.28.1indirect
npm@esbuild/openbsd-x640.28.1indirect
npm@esbuild/openharmony-arm640.28.1indirect
npm@esbuild/sunos-x640.28.1indirect
npm@esbuild/win32-arm640.28.1indirect
npm@esbuild/win32-ia320.28.1indirect
npm@esbuild/win32-x640.28.1indirect
npm@jridgewell/resolve-uri3.1.2indirect
npm@jridgewell/sourcemap-codec1.5.5indirect
npm@jridgewell/trace-mapping0.3.31indirect
npm@rollup/rollup-android-arm-eabi4.62.0indirect
npm@rollup/rollup-android-arm644.62.0indirect
npm@rollup/rollup-darwin-arm644.62.0indirect
npm@rollup/rollup-darwin-x644.62.0indirect
npm@rollup/rollup-freebsd-arm644.62.0indirect
npm@rollup/rollup-freebsd-x644.62.0indirect
npm@rollup/rollup-linux-arm-gnueabihf4.62.0indirect
npm@rollup/rollup-linux-arm-musleabihf4.62.0indirect
npm@rollup/rollup-linux-arm64-gnu4.62.0indirect
npm@rollup/rollup-linux-arm64-musl4.62.0indirect
npm@rollup/rollup-linux-loong64-gnu4.62.0indirect
npm@rollup/rollup-linux-loong64-musl4.62.0indirect
npm@rollup/rollup-linux-ppc64-gnu4.62.0indirect
npm@rollup/rollup-linux-ppc64-musl4.62.0indirect
npm@rollup/rollup-linux-riscv64-gnu4.62.0indirect
npm@rollup/rollup-linux-riscv64-musl4.62.0indirect
npm@rollup/rollup-linux-s390x-gnu4.62.0indirect
npm@rollup/rollup-linux-x64-gnu4.62.0indirect
npm@rollup/rollup-linux-x64-musl4.62.0indirect
npm@rollup/rollup-openbsd-x644.62.0indirect
npm@rollup/rollup-openharmony-arm644.62.0indirect
npm@rollup/rollup-win32-arm64-msvc4.62.0indirect
npm@rollup/rollup-win32-ia32-msvc4.62.0indirect
npm@rollup/rollup-win32-x64-gnu4.62.0indirect
npm@rollup/rollup-win32-x64-msvc4.62.0indirect
npm@standard-schema/spec1.1.0indirect
npm@types/archiver8.0.0indirect
npm@types/archiver^8.0.0indirect
npm@types/chai5.2.3indirect
npm@types/deep-eql4.0.2indirect
npm@types/estree1.0.9indirect
npm@types/node24.13.2indirect
npm@types/readdir-glob1.1.5indirect
npm@vitest/coverage-v84.1.11indirect
npm@vitest/expect4.1.11indirect
npm@vitest/mocker4.1.11indirect
npm@vitest/pretty-format4.1.11indirect
npm@vitest/runner4.1.11indirect
npm@vitest/snapshot4.1.11indirect
npm@vitest/spy4.1.11indirect
npm@vitest/utils4.1.11indirect
npmabort-controller3.0.0indirect
npmarchiver8.0.0indirect
npmarchiver^8.0.0indirect
npmassertion-error2.0.1indirect
npmast-v8-to-istanbul1.0.5indirect
npmasync3.2.6indirect
npmb4a1.8.1indirect
npmbalanced-match4.0.4indirect
npmbare-events2.9.1indirect
npmbare-fs4.7.2indirect
npmbare-os3.9.2indirect
npmbare-path3.0.1indirect
npmbare-stream2.13.3indirect
npmbare-url2.4.5indirect
npmbase64-js1.5.1indirect
npmbrace-expansion5.0.7indirect
npmbuffer6.0.3indirect
npmbuffer-crc321.0.0indirect
npmchai6.2.2indirect
npmcompress-commons7.0.1indirect
npmconvert-source-map2.0.0indirect
npmcore-util-is1.0.3indirect
npmcrc-321.2.2indirect
npmcrc32-stream7.0.1indirect
npmes-module-lexer2.3.2indirect
npmesbuild0.28.1indirect
npmestree-walker3.0.3indirect
npmevent-target-shim5.0.1indirect
npmevents3.3.0indirect
npmevents-universal1.0.1indirect
npmexpect-type1.3.0indirect
npmfast-fifo1.3.2indirect
npmfdir6.5.0indirect
npmfsevents2.3.3indirect
npmhas-flag4.0.0indirect
npmhtml-escaper2.0.2indirect
npmieee7541.2.1indirect
npminherits2.0.4indirect
npmis-stream4.0.1indirect
npmisarray1.0.0indirect
npmistanbul-lib-coverage3.2.2indirect
npmistanbul-lib-report3.0.1indirect
npmistanbul-reports3.2.0indirect
npmjs-tokens10.0.0indirect
npmlazystream1.0.1indirect
npmmagic-string0.30.21indirect
npmmagicast0.5.4indirect
npmmake-dir4.0.0indirect
npmminimatch10.2.5indirect
npmnanoid3.3.16indirect
npmnormalize-path3.0.0indirect
npmobug2.1.4indirect
npmpathe2.0.3indirect
npmpicocolors1.1.1indirect
npmpicomatch4.0.4indirect
npmpostcss8.5.25indirect
npmprocess0.11.10indirect
npmprocess-nextick-args2.0.1indirect
npmreadable-stream2.3.8indirect
npmreadable-stream4.7.0indirect
npmreaddir-glob3.0.0indirect
npmrollup4.62.0indirect
npmsafe-buffer5.1.2indirect
npmsafe-buffer5.2.1indirect
npmsemver7.8.4indirect
npmsiginfo2.0.0indirect
npmsource-map-js1.2.1indirect
npmstackback0.0.2indirect
npmstd-env4.2.0indirect
npmstreamx2.28.0indirect
npmstring_decoder1.1.1indirect
npmstring_decoder1.3.0indirect
npmsupports-color7.2.0indirect
npmtar-stream3.2.0indirect
npmteex1.0.1indirect
npmtext-decoder1.2.7indirect
npmtinybench2.9.0indirect
npmtinyexec1.3.0indirect
npmtinyglobby0.2.17indirect
npmtinyrainbow3.1.1indirect
npmtsx4.23.12indirect
npmtypescript5.9.3indirect
npmundici-types7.18.2indirect
npmutil-deprecate1.0.2indirect
npmvite7.3.6indirect
npmvitest4.1.11indirect
npmwhy-is-node-running2.3.0indirect
npmzip-stream7.0.5indirect
PyPIblack26.3.1indirect
PyPIclick8.3.1indirect
PyPIcolorama0.4.6indirect
PyPIcoverage7.13.4indirect
PyPIdeft-directive0.50.0indirect
PyPIiniconfig2.3.0indirect
PyPIlibrt0.8.1indirect
PyPImypy1.19.1indirect
PyPImypy-extensions1.1.0indirect
PyPIpackaging26.0indirect
PyPIpathspec1.0.4indirect
PyPIplatformdirs4.9.4indirect
PyPIpluggy1.6.0indirect
PyPIpygments2.20.0indirect
PyPIpytest9.0.3indirect
PyPIpytest-cov7.0.0indirect
PyPIpytest-mock3.15.1indirect
PyPIpytokens0.4.1indirect
PyPIruff0.15.5indirect
PyPItomli2.4.0indirect
PyPItyping-extensions4.15.0indirect
Dependency advisories 3

This repository publishes no package the index resolves, so its own dependency graph was assessed — 191 packages, which also include development and test pins that never ship: 3 carry known advisories, of which 0 are direct. 2 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list.

PackageVersionRelationSeverityAdvisoriesFixed in
brace-expansion5.0.7indirecthigh25.0.9
click8.3.1indirecthigh18.3.3
nanoid3.3.16indirecthigh15.1.6

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 statisticsGo.