stemedb/crates
jml 200b84751e feat: add claims search, promote, stats commands and convergence engine
Adds three new Aphoria CLI commands and supporting infrastructure for
org-pattern alignment and claim tier advancement:

- `aphoria claims search` — find claims by concept pattern, predicate,
  category, or max authority tier (works local and hosted mode)
- `aphoria claims promote` — raise a claim to a higher authority tier by
  creating a superseding claim (append-only; original marked Deprecated)
- `aphoria claims stats` — breakdown of claim counts by tier and status
  for a given concept_path + predicate pair

New modules:
- `convergence.rs` — pure engine comparing local scan observations to
  remote org claims, producing `ConvergenceSuggestion`s at read time
- `types/convergence.rs` — `ConvergenceSuggestion` type with severity
  derived from the driving claim's authority tier
- `types/promotion.rs` — `PromotionRequest` / `PromotionResult` types
- `handlers/promote.rs` — promotion handler; validates tier ordering

Remote client: adds `search_claims` and `claim_stats` methods to
`RemoteClaimStore`, wiring hosted mode for all three new commands.

API (`stemedb-api`): new `/v1/claims/search` and `/v1/claims/stats`
endpoints with DTOs, plus report formatters (JSON/Markdown/SARIF/table)
for search and stats output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 08:21:37 +00:00
..
stemedb-admin feat: add source content to source registry, signed assertions, feed endpoint, dashboard enhancements 2026-02-19 21:54:27 -07:00
stemedb-api feat: add claims search, promote, stats commands and convergence engine 2026-02-25 08:21:37 +00:00
stemedb-chaos feat: Multi-application expansion with chaos testing and community UI 2026-02-04 01:24:14 -07:00
stemedb-cluster fix: merge upstream 10 commits, fix DashMap deadlock, deterministic sim ingestion 2026-02-20 20:27:32 -07:00
stemedb-core chore: apply rustfmt formatting across API handlers and core types 2026-02-21 16:43:45 -07:00
stemedb-ingest fix: merge upstream 10 commits, fix DashMap deadlock, deterministic sim ingestion 2026-02-20 20:27:32 -07:00
stemedb-lens feat: Phase 6 UAT - Admission control, HLC recency, cluster coordination 2026-02-03 00:43:37 -07:00
stemedb-merkle feat: Distributed replication foundation (Phase 6A) - HLC, Merkle trees, CRDT stores, sync protocol 2026-02-02 19:31:54 -07:00
stemedb-ontology feat: add source content to source registry, signed assertions, feed endpoint, dashboard enhancements 2026-02-19 21:54:27 -07:00
stemedb-query fix: merge upstream 10 commits, fix DashMap deadlock, deterministic sim ingestion 2026-02-20 20:27:32 -07:00
stemedb-rpc feat: Multi-application expansion with chaos testing and community UI 2026-02-04 01:24:14 -07:00
stemedb-sim fix: merge upstream 10 commits, fix DashMap deadlock, deterministic sim ingestion 2026-02-20 20:27:32 -07:00
stemedb-storage chore: apply rustfmt formatting across API handlers and core types 2026-02-21 16:43:45 -07:00
stemedb-sync feat: add source content to source registry, signed assertions, feed endpoint, dashboard enhancements 2026-02-19 21:54:27 -07:00
stemedb-wal feat(aphoria): wire claims through StemeDB — Gap Closure Phase 1 2026-02-12 02:02:51 -07:00