fix: harden gossip, HLC restarts, watcher races, MCP args, pagination #3
Reference in New Issue
Block a user
Delete Branch "fix/review-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the top findings from the codebase review, verified with tests and live CLI/MCP checks.
Gossip integrity
Data-layer safety
Watch daemon
MCP + CLI
Tests (new internal/hlc and internal/db packages): SeekTo monotonicity, concurrent dedup race, push validation, reopen HCL monotonicity, batch caps, self-spoof rejection, idempotency on observation counts.
Verified: go build, go vet, full suite with -race, live MCP stdio transcripts against a scratch DB.