What problem does it solve?
This Skill enables the export and synchronization of knowledge claims and hypotheses across different vaults in a federated knowledge system, facilitating a shared and collaborative knowledge base.
Core Features & Use Cases
- Claims Export: Export claims for peer indexing in QMD format.
- Hypothesis Synchronization: Import and export hypotheses for federated tournaments.
- Use Case: Imagine you have a knowledge vault and want to synchronize its claims and hypotheses with a peer vault to participate in a cross-vault tournament and enhance your knowledge base.
Quick Start
Run the federation synchronization command: cd _code && python -c "from pathlib import Path; from chronicle_r.federation_config import load_federation_config; from chronicle_r.federation_sync import run_federation_sync; vault = Path('..').resolve(); config = load_federation_config(vault / 'ops' / 'federation.yaml'); result = run_federation_sync(vault, config); print(f'Claims exported: {result.claims_exported}'); print(f'Hypotheses exported: {result.hypotheses_exported}'); for peer, count in result.hypotheses_imported.items(): print(f'Hypotheses imported from {peer}: {count}'); for peer in result.peers_skipped: print(f'Skipped (untrusted): {peer}'); for err in result.errors: print(f'Error: {err}')"