Add sync history tracking and segments endpoint for remote ingest
Store upload history per-remote in JSONL files with file metadata (SHA256,
inode, size) for verification. New GET /ingest/<key>/segments/<day> endpoint
returns segment inventory with file status (present/relocated/missing).
- Compute SHA256 at ingest time for integrity verification
- Track inode to detect files moved by indexer/importer
- Deduplicate segment files by SHA256 (latest upload wins)
- History stored in apps/remote/remotes/<key>/hist/<day>.jsonl
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>