- Domain Purity: Keep crypto and chunking logic independent of Git implementation details.
- Portability: The
GitPersistencePortallows swapping the storage backend.
- Install Dependencies: Use
pnpm installto ensure consistent dependency management. - Install Git Hooks: Run
bash scripts/install-hooks.shto set up local quality gates. This will ensure that linting and unit tests pass before every push. - Run Tests Locally:
pnpm testfor unit tests.pnpm run test:integration:nodefor Node integration tests (requires Docker).pnpm run test:integration:bunfor Bun integration tests.pnpm run test:integration:denofor Deno integration tests.
- Prepare Releases:
pnpm release:verifyfor the full release checklist and release-note summary output.- Follow docs/RELEASE.md for the canonical patch-release flow.
We enforce high standards for code quality:
- Linting: Must pass
pnpm run lint. - Unit Tests: All unit tests must pass.
- Integration Tests: Must pass across Node, Bun, and Deno runtimes.
- Release Prep:
pnpm release:verifymust pass before a tag is created.
These gates are enforced both locally via git hooks and in CI/CD.