This commit adds the read path (Cortex) to complement the write path (Spine): ## Crates - stemedb-api: HTTP API with axum + utoipa OpenAPI - /v1/assert, /v1/query, /v1/epoch, /v1/skeptic, /v1/trace, /v1/audit - Metered endpoints with quota enforcement - Ed25519 signature verification - stemedb-lens: Truth resolution lenses - RecencyLens, ConsensusLens, ConfidenceLens - VoteAwareConsensusLens (Ballot Box pattern) - TrustAwareAuthorityLens (The Hive pattern) - SkepticLens (conflict analysis) - EpochAwareLens (paradigm-safe queries) - stemedb-query: Query engine with materialized views ## Storage Extensions - VoteStore: Vote aggregation with cached counts - TrustRankStore: Agent reputation with decay - AuditStore: Query audit trail - IndexStore: SP/P/S index structures - SupersessionStore: Epoch supersession chains ## SDKs - sdk/go/steme: Go HTTP client with Ed25519 signing - sdk/go/adk: ADK-Go tools for AI agents ## Documentation - Updated CLAUDE.md, architecture.md, roadmap.md - New ai-lookup entries for all services - Use case docs for consumer health intelligence - Arena roadmap for simulation advancement Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
693 B
Plaintext
24 lines
693 B
Plaintext
sequenceDiagram
|
|
%% The Correct Path
|
|
|
|
participant RA as Research Agent
|
|
participant E as Episteme
|
|
participant LO as Lead Orchestrator
|
|
participant DA as Deploy Agent
|
|
participant P as Production
|
|
|
|
RA->>E: Store RFC finding
|
|
Note right of E: Same RFC. Still stored as PROPOSED.
|
|
|
|
LO->>E: What's the APPROVED algorithm?
|
|
Note right of E: ✓ Lifecycle filter: approved only.
|
|
|
|
E-->>LO: RS256 (conf: 0.92)
|
|
Note right of LO: ✓ Returns the approved decision. Proposal excluded.
|
|
|
|
DA->>P: Deploy RS256 config
|
|
Note right of P: ✓ Deployed. Matches production expectation.
|
|
|
|
P->>P: 200 OK
|
|
Note over P: ✓ Auth works. No pager. Sleep continues.
|