10 Commits

Author SHA1 Message Date
Jesús Pérez
93b0e5225c
feat(platform): control plane — NATS JetStream + SurrealDB + SOLID enforcement
New crates
  - platform-nats: async_nats JetStream bridge; pull/push consumers, explicit ACK,
    subject prefixing under provisioning.>, 6 stream definitions on startup
  - platform-db: SurrealDB pool (embedded RocksDB solo, Surreal<Mem> tests,
    WebSocket server multi-user); migrate() with DEFINE TABLE IF NOT EXISTS DDL

  Service integrations
  - orchestrator: NATS pub on task state transitions, execution_logs → SurrealDB,
    webhook handler (HMAC-SHA256), AuditCollector (batch INSERT, 100-event/1s flush)
  - control-center: solo_auth_middleware (intentional bypass, --mode solo only),
    NATS session events, WebSocket bridge via JetStream subscription (no polling)
  - vault-service: NATS lease flow; credentials over HTTPS only (lease_id in NATS);
    SurrealDB storage backend with MVCC retry + exponential backoff
  - secretumvault: complete SurrealDB backend replacing HashMap; 9 unit + 19 integration tests
  - extension-registry: NATS lifecycle events, vault:// credential resolver with TTL cache,
    cache invalidation via provisioning.workspace.*.deploy.done

  Clippy workspace clean
  cargo clippy --workspace -- -D warnings: 0 errors
  Patterns fixed: derivable_impls (#[default] on enum variants), excessive_nesting
  (let-else, boolean arithmetic in retain, extracted helpers), io_error_other,
  redundant_closure, iter_kv_map, manual_range_contains, pathbuf_instead_of_path
2026-02-17 23:58:14 +00:00
Jesús Pérez
fc1c699795
chore: update crates, names and clippy fixes 2026-02-04 01:02:18 +00:00
Jesús Pérez
7b6faa7d37
chore: fix tests 2026-01-17 04:01:34 +00:00
Jesús Pérez
cbc77ec5ee
chore: fix fences errors 2026-01-14 05:24:46 +00:00
Jesús Pérez
af85d60ddd
chore: fix fences errors 2026-01-14 05:24:19 +00:00
Jesús Pérez
79faf3de6c
chore: fix docs 2026-01-14 03:25:20 +00:00
Jesús Pérez
6b05c6f44d
fix(docs): add language specifiers to code fences and fix formatting 2026-01-14 03:24:10 +00:00
Jesús Pérez
7a95a3d7de
chore: fix docs 2026-01-14 03:20:59 +00:00
Jesús Pérez
bbe293098d
chore: update layout docs 2026-01-12 04:53:31 +00:00
Jesús Pérez
09a97ac8f5
chore: update platform submodule to monorepo crates structure
Platform restructured into crates/, added AI service and detector,
       migrated control-center-ui to Leptos 0.8
2026-01-08 21:32:59 +00:00