conxius-enclave-sdk 2.0.11

Hardware-backed security primitives for the broader Conxian ecosystem. Provides high-integrity root of trust for security-sensitive wallet, signing, attestation, and policy flows.
Documentation
# Audit Notes - Mainnet Readiness & SDK Pivot

## Task
Standardize repository hygiene, align company positioning with the "Unified Vault SDK Pivot", and perform a Mainnet Readiness audit for fail-open logic (CON-627, CON-632, CON-633, CON-625).

## Evidence
- **SDK Audit (CON-627)**: Conducted a formal viability audit for SDK extraction. Findings documented in `docs/CON-627_AUDIT_FINDINGS.md`. Verified high modularity and zero UI coupling.
- **Positioning (CON-632)**: Rewrote `README.md` and `docs/ETHOS.md` to focus on "Native Bitcoin Application Infrastructure". Demoted legacy retail dapp framing.
- **SDK Primitives (CON-633)**: Defined the GTM V1 primitive: Hardware-Backed Bitcoin Signing & Policy. Documented in `docs/SDK_PRIMITIVES.md`.
- **Mainnet Audit (CON-625)**: Audited protocol and enclave libraries for fail-open/simulated behavior. Findings documented in `docs/CON-625_MAINNET_AUDIT.md`.
- **Hygiene**: Cleaned up merged local branches. Pinning `getrandom` and resolving `digest` trait version conflicts in `Cargo.toml`.

## Validation
- `cargo test` passed with 33 tests.
- Verified functional inclusion proof generation for MMR.
- Manual verification of attestation serialization in SignResponse.

## Omni-SDK & Economic Architecture (CONX-101, CONX-102, CONX-103, CONX-104)
- **Omni-SDK Foundation**: Implemented a unified configuration layer in `src/config.rs` supporting Mainnet/Testnet/Devnet and Dual Release Tracks (LTS/Bleeding Edge).
- **Viral Economy Layer**: Added `src/protocol/economy.rs` with native support for sBTC 'Dual Stacking' and 'sBTC as Gas' fee sponsorship.
- **BOS Kernel Integration**: Implemented `src/protocol/opportunity.rs` to route business opportunities to SDK execution paths.
- **CI/CD Governance**: Configured GitHub Actions for track management with a 30-day upstream buffer enforcement.
- **Validation**: Verified with 2 new unit tests in `src/protocol/economy_tests.rs`. Total test count: 37/37 passing.

## 30. Universal Blockchain Support Expansion (CON-789/CON-810)
- **Status**: COMPLETED.
- **Implementation**:
    - Implemented `ChainAbstractionService` in `src/protocol/chain_abstraction.rs` for NEAR-style chain signatures.
    - Expanded `src/wasm_bindings.rs` with sub-clients: `WasmUniversalClient`, `WasmArkClient`, `WasmBitVmClient`, `WasmIdentityClient`, `WasmDlcClient`, `WasmZkmlClient`, `WasmAccountClient`, `WasmCctpClient`, and `WasmIntentClient`.
    - Enhanced `EthereumManager` and `SolanaManager` with `prepare_erc20_transfer` and `prepare_spl_transfer` helpers.
    - Updated `AssetRegistry` to include native `ATOM` support.
- **Verification**: Verified with new unit test suite `src/protocol/universal_tests.rs` and comprehensive `cargo test` run (all 64 tests passing). Verified with `cargo clippy`.

## 31. Research Scorecard & Production-Path Completion (v0.2.5)
- **Status**: COMPLETED.
- **Implementation**:
    - Mapped missing code gaps and research requirements in `docs/architecture/GAP_SCORECARD.md`.
    - Implemented production-grade `Swap` execution in `OpportunityDispatcher` (`src/protocol/opportunity.rs`) by integrating `RailProxy`.
    - Implemented `Exact-Out` quote routing in `SwapRouter` (`src/protocol/swap_router.rs`) via the Conxian Gateway.
    - Created `AGENTS.md` with core directives for future agent sessions.
- **Verification**: Verified with `cargo clippy` and updated unit tests (where applicable).