Home / Project
Contributor handbook
Set up#
git clone https://github.com/shahvatsalofficial/evalsutra.git
cd evalsutra
npm testNode 22+. No npm install is needed because there are no dependencies.
Layout#
packages/cli command line, installer
packages/core evaluator, stats, security, trace, capsule
packages/reporters HTML, JUnit, shared design system
packages/audit self-audit
.agents/skills canonical skills (copy to skills/)
suites examples policies demo data and gate policy
tests node:test files
scripts build-docs, build-evidence, installers
documents/evalsutra this documentation (Markdown source, html/ generated)
documents/site website styles, scripts and figuresRules of the project#
- Evidence first. Missing data is inconclusive. Never turn unknown into pass.
- No dependencies without a written reason in
THIRD_PARTY_NOTICES.md. - No network, process or dynamic-code APIs in
packages/. The audit enforces this. - Every behaviour change has a test and, if it is a grader rule, an audit
KNOWNrow. - Docs say only what is verified. Planned work is labelled planned.
- Synthetic fixtures only. No real secrets, personal data or unlicensed content.
Add an assertion type#
evaluate.mjs: add the name to the type lists; validate its fields invalidateSuite; implement it inevaluateAssertion.- Add rows to
KNOWNinpackages/audit/audit.mjs: pass, fail and missing evidence. - Add tests in
tests/. - Document it in Functional specification and Technical reference.
Add a skill#
Create .agents/skills/evalsutra-<name>/SKILL.md with frontmatter and the sections Objective, Procedure, Contract, Stop conditions; copy to skills/. Update Skills catalog and the count checks (K1, tests, docs).
Rebuild generated files#
node scripts/build-docs.mjs # HTML from Markdown
node scripts/build-evidence.mjs # test run, samples, auditCI fails if docs HTML is stale.
Pull request checklist#
- [ ]
npm testpasses - [ ]
auditisPASS - [ ] docs and evidence rebuilt
- [ ]
CHANGELOG.mdupdated - [ ] no secrets, no new dependencies
- [ ] claims in docs match what the code does
Commit and review#
Small commits, imperative subject. Maintainer review is required before release. See CONTRIBUTING.md and CODE_OF_CONDUCT.md in the repository root.