Skip to content
monavariPublic

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

168 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

VC4QI

Verifiable Credentials for Quality Infrastructure. A research reference implementation for deciding what a verifier may rely on when it receives accreditation, calibration, reference-material or certification credentials.

CI License: Apache 2.0

Attribution and citation

VC4QI was created by Mehran Monavari. If you use it in a publication, please cite both the paper and the software. The metadata is in CITATION.cff; GitHub's "Cite this repository" button reads it but shows only the paper, so both references are given here.

Paper

Mehran Monavari (2026). Verifiable Trust Chains for Quality Infrastructure: A Verification Framework over W3C Verifiable Credentials.

The venue and DOI will be added when they are available.

Software

Mehran Monavari (2026). VC4QI: Verifiable Credentials for Quality Infrastructure, version 0.4.0 [Software]. Zenodo. https://doi.org/10.5281/zenodo.23979553

To cite the latest version instead of 0.4.0, use the concept DOI https://doi.org/10.5281/zenodo.20612364.

@unpublished{monavari2026trustchains,
  author = {Monavari, Mehran},
  title  = {Verifiable Trust Chains for Quality Infrastructure: A Verification
            Framework over {W3C} Verifiable Credentials},
  year   = {2026},
  note   = {Venue and DOI to be added}
}

@software{monavari2026vc4qi,
  author    = {Monavari, Mehran},
  title     = {{VC4QI}: Verifiable Credentials for Quality Infrastructure},
  version   = {0.4.0},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.23979553},
  url       = {https://doi.org/10.5281/zenodo.23979553}
}

Authorship and copyright are separate: Mehran Monavari is the sole author, and the copyright notice reads "VC4QI Contributors" (see NOTICE). Citation is requested, not required by the licenses. Under Apache-2.0, section 4(d), anyone who redistributes the code keeps the attribution notices in NOTICE, and CC BY 4.0 requires credit when the documentation is reused.

The idea

Credentials represent institutional authority and evidence; they do not create it. The verifier selects a profile, and the evaluator answers each question separately: is the credential authentic and current, is the issuer authorized for this exact claim, is the required support in place, and does the value meet the verifier's own requirement? Each answer is established, contradicted or not established, and "cannot tell" never counts as yes.

In the fictional reference-material example, an arsenic value of 178 mg/kg is accepted, 197 mg/kg is authorized but fails the verifier's limit, and 520 mg/kg is outside the producer's scope. These cases run on signed test credentials in both languages.

Status

The standards-first evaluator decides requests for all base use cases (reference material, calibration, statutory metrology, test reports and GS certification) on signed fixtures, in TypeScript with a Python mirror, and is the library's only verifier since 0.4.0 (the v0.3 graph verifier remains at tag v0.3.0). Authorities, keys and grants are fictional; no real accreditation or external endorsement is claimed. See status.

Run it

Install Node 20, pnpm 10.15.1, Python 3.12 and uv 0.12.17, then:

pnpm install --frozen-lockfile
uv sync --locked --all-packages --extra dev
pnpm -r build
pnpm -C packages/core-ts test
.venv/bin/python -m pytest packages/core-py/tests

Rebuild the demonstrator bundle with pnpm -C apps/demonstrator build, and build the website with the demonstrator and documentation locally with pnpm docs:build (output in _site/; open _site/demo/index.html). More checks are listed in CONTRIBUTING.

Documentation

Page Contents
Reliance model The rules: carriers, states, gates, authority, scope, support
Status What runs today, the acceptance ledger and open issues
Use cases The example scenarios and how to run them
API The reliance API and the changes from 0.3.0
Bindings How each credential family is interpreted
Architecture Code layout, gates and TypeScript–Python parity

Project records: acceptance ledger, architecture decisions and changelog.

License

Code: Apache-2.0, the unmodified text of https://www.apache.org/licenses/LICENSE-2.0. Documentation: CC BY 4.0. Attribution notices are in NOTICE.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages