Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-19 00:49 UTC

foir-io / demesne

An RLS-compiled ReBAC + topology authorization engine — one spec → Postgres RLS + an app PDP

Go · TypeScriptApache-2.0★ 7 stars⑂ 0 forkssince Jun 2026View on GitHub ↗
KindApplicationhow this is determined

foir-io/demesne holds a health index of 67 out of 100, placing it in the Good band. It scores highest on AI Readiness (83/100) and lowest on Community & Adoption (30/100). It was last updated 6 days ago. A single contributor accounts for most of its recent work.

67
overall / 100
Good

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.

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

Ownership

FoirOrganization
0 followers1 public reposince Feb 2025

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
Gogithub.com/foir-io/demesnev0.82.0-916 days ago
Gogithub.com/foir-io/demesne/pgxv0.81.0-167 days ago

Metrics by category

Vitality

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

80Excellent · 21% of overall
How it's scored
36/36Push recencylast push 6 days ago
9/36Commit cadence13/52 weeks with commits
18/18Commit volume240 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year240
human_commit_share1
days_since_last_push6
active_weeks_last_year13
How it's scored
27/27Ships releases29 releases published
36/36Release recencylatest release 6 days ago
27/27Release cadencea release every ~4.9 days
0/10OpenSSF Scorecard: Signed-ReleasesProject has not signed or included provenance with any releases.
Inputs used
releases_count29
latest_release_tagv0.82.0
releases_from_tagsno
days_since_latest_release6
mean_days_between_releases4.9

Community & Adoption

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

30At Risk · 17% of overall
How it's scored
12.6/60Stars7 stars
0/25Forks0 forks
0/15Watchers0 watchers
Inputs used
forks0
stars7
watchers0
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (Apache-2.0)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges0
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateno

Sustainability & Governance

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

53Moderate · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
0/22.5Commit distributiontop contributor authored 100% of commits
1.4/13.5Contributor breadth1 contributors
3/10OpenSSF Scorecard: Contributorsproject has 1 contributing companies or organizations -- score normalized to 3
Inputs used
bus_factor1
contributors_sampled1
top_contributor_share1
How it's scored
42/42Issue resolution100% of issues closed
29.4/30PR acceptance49/50 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-ReviewFound 0/29 approved changesets -- score normalized to 0
Inputs used
merged_prs49
open_issues0
closed_issues3
prs_merged_7d0
prs_decided_7d0
prs_merged_30d2
prs_decided_30d2
issue_closed_ratio1
closed_unmerged_prs1
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
0/25Owner reach0 followers of foir-io
5.4/25Track record1 public repos, account ~1 yr old
Inputs used
followers0
owner_typeOrganization
is_verifiedno
owner_loginfoir-io
public_repos1
account_age_days592

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable2 package(s) on go
35/35Publish recencylatest publish 6 days ago
20/20Version history91 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesgithub.com/foir-io/demesne, github.com/foir-io/demesne/pgx
ecosystemsgo
any_deprecatedno
min_days_since_publish6

Engineering Quality

Are baseline engineering and documentation practices in place?

70Good · 19% of overall
How it's scored
24/24CI workflows2 workflow(s)
24/24Tests present
16/16Linter config.golangci.yml
0/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests6 out of 6 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

Documentation

50Moderate
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
0/10Topics
10/10Wiki
Inputs used
topics
has_wikiyes
homepage
docs_site
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

64Moderate · 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-Tests6 out of 6 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
0/7.5Code-ReviewFound 0/29 approved changesets -- score normalized to 0
0.8/2.5Contributorsproject has 1 contributing companies or organizations -- score normalized to 3
10/10Dangerous-Workflowno dangerous workflow patterns detected
0/7.5Dependency-Update-Toolno update tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
1/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
5/5SASTSAST tool is run on all commits
0/5Security-Policysecurity policy file not detected
0/7.5Signed-ReleasesProject has not signed or included provenance with any releases.
7.5/7.5Token-PermissionsGitHub workflow tokens follow principle of least privilege
6/7.5Vulnerabilities2 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated18
scorecard_versionv5.5.0
checks_inconclusive0
scorecard_aggregate5.5

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
advisories3
affected_packages3
assessed_packages132
unassessed_packages5
affected_by_severitymoderate 2, unknown 1
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 132 resolved dependencies against OSV. 5 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.

83Excellent · 4% of overall
How it's scored
45/45Agent instructionsAGENTS.md, CLAUDE.md
0/15Machine-readable docs (llms.txt)
40/40Legible commit history90 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.9
agent_instruction_filesAGENTS.md, CLAUDE.md
agent_instruction_max_bytes3,765
How it's scored
12.6/18One-command bootstrapcmd/demesne/go.mod, go.mod, pgx/go.mod (toolchain convention, no task runner)
22/22Automated tests
11/11Lint / format config.golangci.yml
11/11Static type checkingts/packages/example-app/tsconfig.json, ts/packages/runtime/tsconfig.json
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
0/8Automated maintenanceno automated dependency updates observed
2/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
Inputs used
has_nixno
has_testsyes
lockfilesgo.sum, pnpm-lock.yaml
has_dockerfileno
typed_languageyes
bootstrap_files
has_devcontainerno
has_linter_configyes
typecheck_configsts/packages/example-app/tsconfig.json, ts/packages/runtime/tsconfig.json
agent_commit_share0
toolchain_manifestscmd/demesne/go.mod, go.mod, pgx/go.mod
dependency_bot_commit_share0
How it's scored
45/45Type-checkable codeGo (statically typed)
55/55Manageable file sizes0/164 source files over 60KB
Inputs used
primary_languageGo
largest_source_bytes50,387
source_files_sampled164
oversized_source_files0
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

7GitHub stars
1contributors
240commits, last 12 months
6days since last push
29releases
1bus factor
0open issues
Go, npmpackage ecosystems

Data collection warnings

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

More detail

OpenSSF Scorecard 5.5 / 10
5.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-19 00:49 UTC

10Binary-Artifactsno binaries found in the repo
3Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests6 out of 6 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/29 approved changesets -- score normalized to 0
3Contributorsproject has 1 contributing companies or organizations -- score normalized to 3
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
2Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
10SASTSAST tool is run on all commits
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
8Vulnerabilities2 existing vulnerabilities detected
Direct dependencies 2
RegistryPackageVersion constraintManifest
Gogithub.com/foir-io/demesnev0.80.3pgx/go.mod
Gogithub.com/jackc/pgx/v5v5.9.2pgx/go.mod
All dependencies 137

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

RegistryPackageVersionRelation
Gogithub.com/foir-io/demesnev0.80.2direct
Gogithub.com/foir-io/demesnev0.80.3direct
Gogithub.com/jackc/pgx/v5v5.9.2direct
Gogithub.com/foir-io/demesne/pgxv0.80.0indirect
Gogithub.com/jackc/pgpassfilev1.0.0indirect
Gogithub.com/jackc/pgservicefilev0.0.0-20240606120523-5a60cdf6a761indirect
Gogithub.com/jackc/puddle/v2v2.2.2indirect
Gogolang.org/x/syncv0.17.0indirect
Gogolang.org/x/textv0.29.0indirect
npm@esbuild/aix-ppc640.25.12indirect
npm@esbuild/android-arm0.25.12indirect
npm@esbuild/android-arm640.25.12indirect
npm@esbuild/android-x640.25.12indirect
npm@esbuild/darwin-arm640.25.12indirect
npm@esbuild/darwin-x640.25.12indirect
npm@esbuild/freebsd-arm640.25.12indirect
npm@esbuild/freebsd-x640.25.12indirect
npm@esbuild/linux-arm0.25.12indirect
npm@esbuild/linux-arm640.25.12indirect
npm@esbuild/linux-ia320.25.12indirect
npm@esbuild/linux-loong640.25.12indirect
npm@esbuild/linux-mips64el0.25.12indirect
npm@esbuild/linux-ppc640.25.12indirect
npm@esbuild/linux-riscv640.25.12indirect
npm@esbuild/linux-s390x0.25.12indirect
npm@esbuild/linux-x640.25.12indirect
npm@esbuild/netbsd-arm640.25.12indirect
npm@esbuild/netbsd-x640.25.12indirect
npm@esbuild/openbsd-arm640.25.12indirect
npm@esbuild/openbsd-x640.25.12indirect
npm@esbuild/openharmony-arm640.25.12indirect
npm@esbuild/sunos-x640.25.12indirect
npm@esbuild/win32-arm640.25.12indirect
npm@esbuild/win32-ia320.25.12indirect
npm@esbuild/win32-x640.25.12indirect
npm@foir/demesne-cli-darwin-arm640.0.0indirect
npm@foir/demesne-cli-darwin-x640.0.0indirect
npm@foir/demesne-cli-linux-arm640.0.0indirect
npm@foir/demesne-cli-linux-x640.0.0indirect
npm@foir/demesne-cli-win32-x640.0.0indirect
npm@jridgewell/sourcemap-codec1.5.5indirect
npm@rollup/rollup-android-arm-eabi4.62.2indirect
npm@rollup/rollup-android-arm644.62.2indirect
npm@rollup/rollup-darwin-arm644.62.2indirect
npm@rollup/rollup-darwin-x644.62.2indirect
npm@rollup/rollup-freebsd-arm644.62.2indirect
npm@rollup/rollup-freebsd-x644.62.2indirect
npm@rollup/rollup-linux-arm-gnueabihf4.62.2indirect
npm@rollup/rollup-linux-arm-musleabihf4.62.2indirect
npm@rollup/rollup-linux-arm64-gnu4.62.2indirect
npm@rollup/rollup-linux-arm64-musl4.62.2indirect
npm@rollup/rollup-linux-loong64-gnu4.62.2indirect
npm@rollup/rollup-linux-loong64-musl4.62.2indirect
npm@rollup/rollup-linux-ppc64-gnu4.62.2indirect
npm@rollup/rollup-linux-ppc64-musl4.62.2indirect
npm@rollup/rollup-linux-riscv64-gnu4.62.2indirect
npm@rollup/rollup-linux-riscv64-musl4.62.2indirect
npm@rollup/rollup-linux-s390x-gnu4.62.2indirect
npm@rollup/rollup-linux-x64-gnu4.62.2indirect
npm@rollup/rollup-linux-x64-musl4.62.2indirect
npm@rollup/rollup-openbsd-x644.62.2indirect
npm@rollup/rollup-openharmony-arm644.62.2indirect
npm@rollup/rollup-win32-arm64-msvc4.62.2indirect
npm@rollup/rollup-win32-ia32-msvc4.62.2indirect
npm@rollup/rollup-win32-x64-gnu4.62.2indirect
npm@rollup/rollup-win32-x64-msvc4.62.2indirect
npm@types/chai5.2.3indirect
npm@types/deep-eql4.0.2indirect
npm@types/estree1.0.9indirect
npm@types/node22.20.0indirect
npm@types/node^22.10.2indirect
npm@types/pg8.20.0indirect
npm@types/pg^8.11.10indirect
npm@vitest/expect3.2.7indirect
npm@vitest/mocker3.2.7indirect
npm@vitest/pretty-format3.2.7indirect
npm@vitest/runner3.2.7indirect
npm@vitest/snapshot3.2.7indirect
npm@vitest/spy3.2.7indirect
npm@vitest/utils3.2.7indirect
npmassertion-error2.0.1indirect
npmcac6.7.14indirect
npmchai5.3.3indirect
npmcheck-error2.1.3indirect
npmdebug4.4.3indirect
npmdeep-eql5.0.2indirect
npmes-module-lexer1.7.0indirect
npmesbuild0.25.12indirect
npmestree-walker3.0.3indirect
npmexpect-type1.3.0indirect
npmfdir6.5.0indirect
npmfsevents2.3.3indirect
npmjs-tokens9.0.1indirect
npmloupe3.2.1indirect
npmmagic-string0.30.21indirect
npmms2.1.3indirect
npmnanoid3.3.18indirect
npmpathe2.0.3indirect
npmpathval2.0.1indirect
npmpg8.22.0indirect
npmpg^8.13.1indirect
npmpg-cloudflare1.4.0indirect
npmpg-connection-string2.14.0indirect
npmpg-int81.0.1indirect
npmpg-pool3.14.0indirect
npmpg-protocol1.15.0indirect
npmpg-types2.2.0indirect
npmpgpass1.0.5indirect
npmpicocolors1.1.1indirect
npmpicomatch4.0.5indirect
npmpostcss8.5.26indirect
npmpostgres-array2.0.0indirect
npmpostgres-bytea1.0.1indirect
npmpostgres-date1.0.7indirect
npmpostgres-interval1.2.0indirect
npmrollup4.62.2indirect
npmsiginfo2.0.0indirect
npmsource-map-js1.2.1indirect
npmsplit24.2.0indirect
npmstackback0.0.2indirect
npmstd-env3.10.0indirect
npmstrip-literal3.1.0indirect
npmtinybench2.9.0indirect
npmtinyexec0.3.2indirect
npmtinyglobby0.2.17indirect
npmtinypool1.1.1indirect
npmtinyrainbow2.0.0indirect
npmtinyspy4.0.4indirect
npmtypescript5.9.3indirect
npmtypescript^5.7.2indirect
npmundici-types6.21.0indirect
npmvite7.3.6indirect
npmvite-node3.2.4indirect
npmvitest3.2.7indirect
npmvitest^3.2.6indirect
npmwhy-is-node-running2.3.0indirect
npmxtend4.0.2indirect
Dependency advisories 3

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

PackageVersionRelationSeverityAdvisoriesFixed in
@vitest/mocker3.2.7indirectmoderate15.0.0-rc.2
vitest3.2.7indirectmoderate15.0.0-rc.2
golang.org/x/textv0.29.0indirectunknown10.39.0

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.