Status: living document tracking infrastructure improvements for NozKash.
- CLAUDE.md consolidation — Single authoritative AI instruction file; AGENTS.md, GEMINI.md, copilot-instructions.md reduced to thin pointers; CONVENTIONS.md deleted
- Pre-commit hooks — Multi-language: ruff + ty (Python), biome + tsc (TypeScript), forge fmt (Solidity), gitleaks, conventional commits
-
.claude/settings.json— Permission allowlists for common dev commands -
.editorconfig— Cross-language formatting consistency -
.nvmrc— Node 20 pinning (matches CI) -
CHANGELOG.md— Keep a Changelog format, retroactive feature summary -
.gitignorehardening — Foundry artifacts, caches, coverage - CI:
forge fmt --check— Solidity formatting enforced in CI - CI: gitleaks — Secret scanning in CI
- CI: branch cleanup — Removed stale
init_gen_tooltrigger
Currently all 10 CI jobs live in a single ci.yml. Split into per-component workflows:
python.yml— ruff, ty, pytesttypescript.yml— biome, tsc, vitestsolidity.yml— forge build, forge test, forge fmtapp.yml— npm buildsecurity.yml— gitleaks
Benefits: independent re-runs, clearer failure signals, per-component path filters.
Add Meson build system for test orchestration across all components:
- Per-component test targets with caching
- Aggregate targets (
ninja -C builddir check-all) - Report generation (JUnit XML, coverage, etc.)
- Configurable fuzzing duration
- Python: pytest-cov with fail-under threshold
- TypeScript: vitest coverage (v8 or istanbul)
- Solidity: forge coverage
- Combine and report in CI (diff-cover for PRs)
- Add
pip-auditto Python dev deps npm auditfor TypeScript/frontend- CI job for dependency vulnerability scanning
Currently app/ imports nozk_ts/ via Vite alias + directory path. Consider:
- npm workspaces at root level
- Proper TypeScript project references (
tsconfig.jsonextends) - Single
npm installat root
- Python: Hypothesis for crypto operation properties (e.g., blind/unblind roundtrip)
- TypeScript: fast-check equivalent
- Solidity: Foundry invariant tests
- Consolidate README.md + protocol docs into a documentation site
- MkDocs or Docusaurus
- Auto-generated contract docs from NatSpec
- Track gas costs per commit via
forge snapshot - CI job that compares snapshots and flags regressions
- Historical gas cost dashboard
- Deterministic builds for contract verification
- Deployment attestations
- ABI hash verification in CI
- Python: mutmut for crypto library
- Identify weak test coverage in critical paths
Specialized agent for maintaining cross-language parity:
- Auto-port Python crypto changes to TypeScript
- Auto-regenerate test vectors
- Auto-run both test suites
- Memory system for tracking parity state
devcontainer.jsonfor VS Code / Codespaces- All toolchains pre-installed (Python, Node, Foundry)
- Pre-configured env templates