Buckets:
| # SSK_IntegrationTests | |
| `SSK_IntegrationTests` is the primary integration testing suite for the SovereignSurvivalKit ecosystem. This package validates the end-to-end functionality, cryptographic security, mathematical boundaries, and AI integrations across all internal domains of the platform. | |
| The test suite consists of 55 comprehensive integration tests that collectively prove the stability, security, and accuracy of the core architecture. | |
| --- | |
| ## 1. Headless Host & AI Constraints (`Domain1_HeadlessHostTests`) | |
| Validates the behavior of the background daemon and local AI boundaries. | |
| - **Proves:** The background daemon (`SSKVaultHost`) operates stealthily without a dock icon and integrates properly with Siri Intents. | |
| - **Proves:** The local LLM is strictly sandboxed to the base manifold. The "deterministic leash" actively intercepts and refuses any unauthorized generative output. | |
| ## 2. High-Performance Signal Processing (`Domain2_PhysicsTelemetryTests`) | |
| Validates the local physics engine and audio telemetry pipelines. | |
| - **Proves:** The hardware clock correctly drives the audio pipeline at 96kHz. | |
| - **Proves:** The mathematics are structurally sound. Apple's vDSP convolutions match their expected mathematical derivatives, and the Savitzky-Golay filters remain stable without hitting singularities. | |
| - **Proves:** The multi-tier music understanding pipeline works sequentially across domains (Chromagram extraction -> Stem demixing -> Macro-phrase understanding -> Phase alignment). | |
| ## 3. Subtractive Inversion & Cryptography (`Domain3_SubtractiveInversionTests`) | |
| Validates core privacy bounds, security constraints, and hardware sealing. | |
| - **Proves:** Cryptographic seals are signed by the local Secure Enclave, timestamps are synced securely via NTP, and BLAKE3 hashing remains computationally stable. | |
| - **Proves:** The Apple Metal inversion engine executes strictly locally (preventing network leakage), and the Heaviside step function correctly neutralizes and drops any dimensions that violate privacy bounds. | |
| ## 4. Zero-Knowledge Encoding (`Domain4_EncodingProtocolTests`) | |
| Validates that serialization structures are strictly neutral and mathematically secure. | |
| - **Proves:** Data serialization completely strips semantic metadata. All keys are scrubbed and nodes are encoded as neutral integers to prevent metadata leakage. | |
| - **Proves:** The "Thermodynamic Folding" protocol correctly routes data only to mathematically compliant recipients and rejects non-compliant ones, ensuring zero-knowledge projections remain irreversible. | |
| ## 5. Sovereign Vault & Legislation (`Domain5_SovereignVaultTests`) | |
| Validates local encrypted storage logic and geographical compliance. | |
| - **Proves:** Vault compartments are cryptographically isolated and "Kassets" are irrevocably bound to the local hardware. | |
| - **Proves:** Jurisdictional hard-blocks actively and securely deny execution in restricted geographical regions (EU, UK, China, Russia). | |
| - **Proves:** The "Mortality Trigger" protocol successfully and irrevocably wipes highly sensitive keys (Compartment A) while preserving structurally necessary data (Compartment B). | |
| ## 6. Predictive Logic (`PRD3_PredictorCorrectorTests`) | |
| Validates the continuous forecasting loops and statistical bounds. | |
| - **Proves:** The predictive mathematical loops behave as modeled. The system correctly penalizes high-variance paths, triggers circuit breakers (Rabin's Paradox) under heavy dependency loads, and reliably chains a clean Merkle DAG for data provenance. | |
| ## 7. Identity & Settlement (`PRD7_IdentitySettlementTests`) | |
| Validates integration with Apple Wallet and secure local settlement. | |
| - **Proves:** Zero-knowledge proofs successfully integrate with Apple Wallet (PassKit/mDOC). | |
| - **Proves:** Bilateral settlements are strictly enforced. The system rejects any transactions that lack Secure Enclave signatures or fail baseline quality thresholds. | |
| ## 8. Mesh Networking (`PRD8_MeshWebRTCTests`) | |
| Validates the peer-to-peer isolated mesh environment. | |
| - **Proves:** The local mesh functions securely. Apple's Multipeer Connectivity handles peer discovery, the video pipeline leverages native ScreenCaptureKit (bypassing vulnerable generic WebRTC dependencies), and the TDLib tunnel successfully forms end-to-end encrypted channels. | |
| ## 9. Topological Validation (`PRD9_MandatoryValidationTests`) | |
| Validates systemic equilibrium and structural topology. | |
| - **Proves:** The Edgcumbe validation protocol correctly measures systemic equilibrium and immediately rejects any mathematically imbalanced data states. | |
| ## 10. URI Routing & Apple Intents (`SSKURITests`) | |
| Validates custom schema parsing and integration with Apple's ecosystem. | |
| - **Proves:** The custom `SSKURI` protocol is robust. It parses cleanly, handles invalid states gracefully, supports hierarchical parent/child tree navigation, and integrates seamlessly with Apple's `AppEntity` framework for Shortcuts and Siri. | |
| ## 11. LLM Evaluation Framework (`Evaluations`) | |
| Integrates Apple's `Evaluations` framework to programmatically assess AI accuracy and generative reliability. | |
| - **`SemanticTagExtractorEvaluations`**: Proves that the semantic tag extraction model achieves a high precision score (>90%) when extracting structured `[SemanticPrimitive]` data from unstructured text. | |
| - **`FoundationModelsEvaluations`**: Proves that the `FoundationModelsProvider` strictly adheres to valid JSON schemas upon request and successfully executes the Refusal Leash constraints when prompted for prohibited content. | |
| --- | |
| ## Running the Tests | |
| This package is configured to run through the `SSK_IntegrationTests` scheme in Xcode. You can execute these tests locally via the Xcode IDE or via the master CLI orchestrator script in the project root. | |
Xet Storage Details
- Size:
- 5.75 kB
- Xet hash:
- 4b368802900bc6e67d3768dadeab71ad1a521972fd0585ad3b08e4fc966e0220
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.