Adds test coverage for issues #002, #003, #004: - TestUpdateSpan_MaintenanceModeError: Verifies ERR-TELEMETRY-010 logging - TestUpdateSpan_UptimeSpanQueryError: Verifies ERR-TELEMETRY-011 logging - TestSendKumaPush_DatabaseError: Verifies ERR-TELEMETRY-033 logging - TestSendKumaPush_NetworkError: Verifies ERR-TELEMETRY-030 logging - TestSendKumaPush_NonOKStatus: Verifies ERR-TELEMETRY-031 logging - TestTarpit_EarlyDisconnect: Verifies tarpit handles client disconnect - TestErrorCodes_Unique: Verifies all error codes are unique (caught duplicates!) - TestErrorCodes_Format: Verifies error message format compliance - TestHandleTelemetry_DatabaseInsertError: Verifies ERR-TELEMETRY-004 - TestConcurrentErrorHandling: Verifies thread-safe error logging Also fixes duplicate error codes found by tests: - ERR-TELEMETRY-010 -> ERR-TELEMETRY-015 for maintenance table creation - Added ERR-TELEMETRY-034 for Kuma response body close after non-OK status fixes #002 fixes #003 fixes #004 Author: Shakib <shakib-20250409-001> |
||
|---|---|---|
| .. | ||
| clavis-android | ||
| clavis-chrome | ||
| clavis-cli | ||
| clavis-crypto | ||
| clavis-firefox | ||
| clavis-ios | ||
| clavis-safari | ||
| clavis-telemetry | ||
| clavis-vault | ||
| .DS_Store | ||
| ._.DS_Store | ||
| Makefile | ||
| README.md | ||
README.md
Clavis
Secure vault platform with multi-client support.
Architecture
Clavis is the vault server. Everything else is a client that talks to it.
Structure
Active Development
| Directory | Purpose | Status |
|---|---|---|
clavis-vault/ |
Vault server with embedded UI (Go, FIPS 140-3) | Active |
clavis-crypto/ |
JavaScript crypto layer | Active |
clavis-cli/ |
CLI for agents | Active |
clavis-chrome/ |
Chrome browser extension | Active |
Planned
| Directory | Purpose | Status |
|---|---|---|
clavis-firefox/ |
Firefox browser extension | Announced |
clavis-safari/ |
Safari browser extension | Announced |
clavis-ios/ |
iOS native app | Announced |
clavis-android/ |
Android native app | Announced |
Build
make deploy # Build + test + restart everything
make deploy-vault # Build + test + restart vault only
make deploy-web # Build + restart website only
make status # Check running processes
make logs-vault # Tail vault logs
make logs-web # Tail web logs
Clients
The vault supports multiple client types:
- Web: Built-in UI served by vault (
clavis-vault/) - CLI: Command-line tool for automation/agents (
clavis-cli/) - Browser Extension: Auto-fill and TOTP in Chrome (
clavis-chrome/) - Mobile: Native iOS/Android apps (planned)
Security
- FIPS 140-3 validated crypto (BoringCrypto via GOEXPERIMENT)
- Zero-knowledge architecture
- Vault server is the single source of truth
License
Proprietary — © Clavitor