stemedb/docs
jml ae7d2ed8b1 feat(admin): implement stemedb-admin CLI with API contract fixes
Complete implementation of P5.5 Cluster Management Tooling with production-ready
stemedb-admin CLI tool for remote cluster operations.

## Features Implemented

### CLI Tool (1,200 lines)
- Cluster commands: health, status
- Node commands: list, info, shards
- Shard commands: list, info, replicas
- Debug commands: export
- Output formats: table (colored) and JSON
- Remote gateway connection via HTTP

### API Contract Fixes
- Handle gateway wrapper objects ({"ranges": [...]})
- Convert string shard IDs ("shard_0") to integers
- Normalize different endpoint formats (/v1/admin/ranges vs /v1/shards/:id)
- Custom deserializer for flexible ID formats

### Code Quality
- Zero clippy warnings (strict mode)
- Zero panics (unwrap/expect forbidden)
- 12 integration tests (all passing)
- Comprehensive error handling with anyhow
- Structured logging with tracing

### Documentation (7,000+ words)
- Node lifecycle operations guide (38 sections)
- CLI installation and usage guide (61 sections)
- Add/remove/replace node procedures
- Troubleshooting guides

## Testing
- Automated tests: 23/23 passing
- Cluster tests: 8/8 passing
- All commands verified against live 3-node cluster

## Production Readiness
- Code: Production-grade (0 warnings, defensive error handling)
- Tests: 31/31 passing (100%)
- Documentation: Complete operations guides
- Status: Ready for staging deployment

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-12 08:23:36 +00:00
..
about docs: reorganize documentation structure for clarity 2026-02-11 07:33:40 +00:00
app-concepts feat: Complete Phase 2 (The Cortex) - query, lens, and API layers 2026-02-01 13:22:44 -07:00
archive docs: reorganize documentation structure for clarity 2026-02-11 07:33:40 +00:00
demo/vulnbank feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
guides docs: reorganize documentation structure for clarity 2026-02-11 07:33:40 +00:00
legal docs: reorganize documentation structure for clarity 2026-02-11 07:33:40 +00:00
operations feat(admin): implement stemedb-admin CLI with API contract fixes 2026-02-12 08:23:36 +00:00
presentations feat: Complete Phase 2 (The Cortex) - query, lens, and API layers 2026-02-01 13:22:44 -07:00
references/go-adk docs: reorganize documentation structure for clarity 2026-02-11 07:33:40 +00:00
research refactor: Split all files to enforce 500-line max 2026-02-02 01:13:45 -07:00
rfcs feat: Aphoria enterprise features + ontology SDK + file length compliance 2026-02-05 12:55:29 -07:00
sdk docs: reorganize documentation structure for clarity 2026-02-11 07:33:40 +00:00
specs docs: reorganize documentation structure for clarity 2026-02-11 07:33:40 +00:00
consistency-model.md feat: Phase 6 UAT - Admission control, HLC recency, cluster coordination 2026-02-03 00:43:37 -07:00
data-structures.md refactor: Split all files to enforce 500-line max 2026-02-02 01:13:45 -07:00
README.md docs: reorganize documentation structure for clarity 2026-02-11 07:33:40 +00:00

Episteme Documentation

Complete documentation for Episteme (StemeDB) - a probabilistic knowledge graph database.


Getting Started

First Steps

Use Cases


Application Development

Building on Episteme

SDKs & Integration


Technical References

Core Architecture

Advanced Topics

Specifications


Development Guides

Setting Up

How-To Guides

Integration Guides


Demos & Examples


Project Planning

Current Work

Specifications & Planning


About Episteme

Vision & Strategy


Tools & Infrastructure


Archive

Historical documentation and snapshots:


Quick Reference: What Goes Where

If you need to... Episteme provides... You build...
Store conflicting facts Assertion type, append-only DAG Nothing - just POST assertions
Resolve conflicts Lenses (Recency, Consensus, Skeptic) Lens selection logic
Query historical state as_of parameter Time-travel UI
Track changes since parameter + MV changelog Notification system
Weight by source authority source_class field + decay Tier classifier
Detect emerging signals Skeptic Lens + conflict_score Gardener (threshold logic)
Show per-tier consensus Layered Consensus Lens Dashboard UI
Extract claims from papers Nothing - pre-assertion transform NLP pipeline
Sign assertions Signature verification Agent wallet / key management
Generate summaries Structured query responses LLM summarizer

Contributing

See CONTRIBUTING.md for:

  • Documentation standards
  • File organization principles
  • How to add new guides
  • Review process

Navigation Tips


← Back to Main README