Skip to content

Validate P2P reports and add network catch-up - #2208

Open
AlyaGomaa wants to merge 1 commit into
sebas/fix/detector_false_positivesfrom
sebas/feat/p2p_trust_catchup
Open

AlyaGomaa wants to merge 1 commit into
sebas/fix/detector_false_positivesfrom
sebas/feat/p2p_trust_catchup

Conversation

@AlyaGomaa

@AlyaGomaa AlyaGomaa commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Sub-PR of #2141: part 11 of 12. The parent PR stays open and unchanged; this PR carries one feature of it so it can be reviewed on its own.

What this PR adds

  • Report validation (report_validation.py): received reports are checked against independent local evidence and analyst reviews; reports carry evidence type, detector fingerprint, method and observation time.
  • Trust model: thesis base trust formula kept, stale penalties age out, trust learns from local and multi-peer agreement, mirrored and late reports earn no reward.
  • Bounded signed network catch-up (catchup.py) with progress and history.
  • Trust database: indexed lookups, compacted report history, WAL files kept on backup, legacy peer addresses migrated.
  • Peers: reconnect to known peers, dial on all connected local interfaces, keep peers online between updates; Pigeon pointer updated; legacy Pigeon binaries start on macOS.
  • Fides service-trust peer lookup; Iris protocol version compatibility.

Where it sits in the split

Tests

  • Unit suite on this branch (local, pytest tests/unit -n 3): 5553 passed, 2 skipped, 2 failed. Failing: test_native_restart_preserves_arguments_and_waits_for_worker. They fail the same way on the unsplit parent branch in the same local sandbox. Integration tests were not run locally.

@AlyaGomaa AlyaGomaa self-assigned this Nov 10, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Slips Nov 10, 2026
@AlyaGomaa AlyaGomaa added the #2141 sub-PR Part of the split of PR #2141 label Nov 11, 2026
@AlyaGomaa
AlyaGomaa added this pull request to stack #2210 November 11, 2026 11:53

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#2141 sub-PR Part of the split of PR #2141

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants