chore(security): enhance environment configuration, CI workflows, and wallet daemon with security improvements

- Restructure .env.example with security-focused documentation, service-specific environment file references, and AWS Secrets Manager integration
- Update CLI tests workflow to single Python 3.13 version, add pytest-mock dependency, and consolidate test execution with coverage
- Add comprehensive security validation to package publishing workflow with manual approval gates, secret scanning, and release
This commit is contained in:
oib
2026-03-03 10:33:46 +01:00
parent 00d00cb964
commit f353e00172
220 changed files with 42506 additions and 921 deletions

View File

@@ -3,10 +3,10 @@
Use this checklist before starting Stage 20 development work.
## Tools & Versions
- [ ] Circom v2.2.3+ installed (`circom --version`)
- [ ] snarkjs installed globally (`snarkjs --help`)
- [ ] Node.js + npm aligned with repo version (`node -v`, `npm -v`)
- [ ] Vitest available for JS SDK tests (`npx vitest --version`)
- [x] Circom v2.2.3+ installed (`circom --version`)
- [x] snarkjs installed globally (`snarkjs --help`)
- [x] Node.js + npm aligned with repo version (`node -v`, `npm -v`)
- [x] Vitest available for JS SDK tests (`npx vitest --version`)
- [ ] Python 3.13+ with pytest (`python --version`, `pytest --version`)
- [ ] NVIDIA drivers + CUDA installed (`nvidia-smi`, `nvcc --version`)
- [ ] Ollama installed and running (`ollama list`)
@@ -24,7 +24,7 @@ Use this checklist before starting Stage 20 development work.
- [ ] `pytest` in `apps/blockchain-node` passes
- [ ] `pytest` in `apps/wallet-daemon` passes
- [ ] `pytest` in `apps/pool-hub` passes
- [ ] Circom compile sanity: `circom apps/zk-circuits/receipt_simple.circom --r1cs -o /tmp/zkcheck`
- [x] Circom compile sanity: `circom apps/zk-circuits/receipt_simple.circom --r1cs -o /tmp/zkcheck`
## Data & Backup
- [ ] Backup current `.env` files (coordinator, wallet, blockchain-node)