Skip to content

Add typed forensic chain format v2 - #4

Merged
dev-rehaann merged 8 commits into
mainfrom
feature/forensic-chain-v2-event-types
Aug 22, 2026
Merged

dev-rehaann merged 8 commits into
mainfrom
feature/forensic-chain-v2-event-types

Conversation

@dev-rehaann

Copy link
Copy Markdown
Owner

Introduces forensic chain format version 2 with an explicit event_type discriminator.

  • ingestion_accepted records contain collector-specific fields and omit all ML-only fields
  • classification_decision records retain the ML schema
  • Python and Rust verifiers accept unmixed legacy v1 chains and typed v2 chains
  • mixed-version append and verification are rejected
  • the collector adapter no longer fabricates ML placeholder values
  • the 25 float-canonicalization vectors and canonical.rs are unchanged

This branch includes the collector-forensics adapter work from PR #3 and is intended to supersede PR #3 after review. It does not include PR #2.

@dev-rehaann
dev-rehaann merged commit f9d699f into main Aug 22, 2026
3 checks passed
@dev-rehaann
dev-rehaann deleted the feature/forensic-chain-v2-event-types branch August 24, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant