stemedb/applications/aphoria/src/corpus
jordan 422e2d4416 feat(aphoria): wire claims through StemeDB — Gap Closure Phase 1
Claims now flow through StemeDB's append-only knowledge graph instead of
mutable TOML files. This resolves all 6 critical claim-bypass code paths:

- Bridge: lossless AuthoredClaim ↔ Assertion round-trip (comparison, status, lifecycle mapping)
- LocalEpisteme: ingest_authored_claim() and fetch_authored_claims() with AUTHORED_CLAIM predicate index
- EpistemeClaimStore: ClaimStore trait backed by StemeDB (append-only delete via deprecation)
- CLI handlers: all claim commands read/write through StemeDB
- Scanner: loads claims from StemeDB with auto-migration fallback to TOML
- Export: new `aphoria claims export` serializes StemeDB claims to TOML/JSON

Also cleans up dead code (EpistemeConfig.url), renames ingest_claims→ingest_observations,
fixes ClaimFilter.authority_tier type, adds Draft variant to ClaimStatus, and fixes
pre-existing clippy warnings (too_many_arguments, filter_next→rfind).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 02:02:51 -07:00
..
owasp fix(aphoria): move claims.toml to project root and fix verify integration 2026-02-08 11:09:57 +00:00
rfc feat(aphoria): implement claims architecture (A1-A5) with verify engine, corpus, coverage, and explain 2026-02-08 09:11:47 +00:00
authority_parser.rs feat(aphoria): wire claims through StemeDB — Gap Closure Phase 1 2026-02-12 02:02:51 -07:00
cli_created.rs feat(aphoria): wire claims through StemeDB — Gap Closure Phase 1 2026-02-12 02:02:51 -07:00
community.rs feat(aphoria): wire claims through StemeDB — Gap Closure Phase 1 2026-02-12 02:02:51 -07:00
enricher.rs feat(aphoria): implement community corpus with wiki import and pattern aggregation 2026-02-09 00:12:31 +00:00
mod.rs feat(aphoria): wire claims through StemeDB — Gap Closure Phase 1 2026-02-12 02:02:51 -07:00
resolver.rs feat(aphoria): implement community corpus with wiki import and pattern aggregation 2026-02-09 00:12:31 +00:00
subject_builder.rs feat(aphoria): wire claims through StemeDB — Gap Closure Phase 1 2026-02-12 02:02:51 -07:00
thresholds.rs feat(aphoria): wire claims through StemeDB — Gap Closure Phase 1 2026-02-12 02:02:51 -07:00
vendor.rs feat: Multi-application expansion with chaos testing and community UI 2026-02-04 01:24:14 -07:00
wiki_corpus_builder.rs feat(aphoria): wire claims through StemeDB — Gap Closure Phase 1 2026-02-12 02:02:51 -07:00
wiki_importer.rs feat(aphoria): wire claims through StemeDB — Gap Closure Phase 1 2026-02-12 02:02:51 -07:00