The definitive technical foundation of Sifta. Engineered for bank-grade isolation, high-currency throughput, and total autonomous security.
Core Infrastructure
Built on Hono (Node.js) for high-performance, strictly typed API delivery. Powered by Better-SQLite3 utilizing Write-Ahead Logging (WAL) for maximum concurrency and data safety.
Hono FrameworkTypeScript StrictSQLite3 WAL Mode
Multi-Tenant Isolation
Designed strictly around a Shared-Application, Isolated-Data pattern. Every enterprise (Tenant) operates within physically and logically segregated data domains and directory structures.
Multi-layered Identity and Access Management (IAM). All sensitive keys and KSeF tokens are encrypted at rest using AES-256-CBC, with PBKDF2 (SHA-512) for password hashing.
AES-256-CBC Rest EncryptionPartial JWT VerificationBrute Force Protection
DLP & Anomaly Guard
Integrated Data Loss Prevention engine scans all OCR extractions and text for leaked cloud secrets (AWS, Google) or financial data (BIP39 Seed Phrases, Cards) before they touch the database.
A continuous data pipeline that transforms raw uploads into corporate knowledge. Includes a unique 'Knowledge Purgatory' staging phase before AI semantic synthesis and tokenization.
Multi-phase Data IngestionKnowledge PurgatoryContextual Semantic Synthesis
Real-Time WebSocket Protocol
Bidirectional streaming layer utilizing Node-WS for instantaneous AI inference streaming, typing indicators, and mission-critical enterprise broadcast notifications.
Sub-millisecond LatencyAI Thought StreamingLive Event Broadcasts
Definitive Access Model (RBAC)
Sifta operates on a strict three-tier hierarchy: Employee, Manager, and Administrator. Data visibility is enforced mathematically at the database layer. Managers can generate performance summaries exclusively for their direct reports, while AI Agents respect the caller's execution policy boundaries.