feat(certification): state binding phase 5 — full trust + portable bundled verifier - #209
Draft
IanFrelinger wants to merge 4 commits into
Draft
feat(certification): state binding phase 5 — full trust + portable bundled verifier#209IanFrelinger wants to merge 4 commits into
IanFrelinger wants to merge 4 commits into
Conversation
…format, project C - ICertifiedBehaviorCatalog with in-memory and file-backed catalogs - CertifiedBehaviorCertificateResolver and AttestedStateLogTrustGate + DI - AttestedStateLogWireFormat JSON round-trip - Project C cross-project reuse sample with bundled phase-witness artifacts - A2 Tier-2 admission, catalog/wire/cross-project/trust-gate tests - cert-gate count 60; evidence ledger section added Co-authored-by: IanFrelinger <IanFrelinger@users.noreply.github.com>
…r + R9 Implement production Tier-2 replay via BrickTransitionReplayer: Roslyn-compiles certified brick source, executes deterministically, and compares resulting state hashes. Add compilable phase witness bricks, path-safe behavior catalog dirs, IBrickTransitionReplayerFactory DI registration, R9 out-of-band tamper test, A3 brick replay admission, and trust gate Tier-2 coverage. cert-gate: 63 tests. Co-authored-by: IanFrelinger <IanFrelinger@users.noreply.github.com>
Add ILiveStateHashReader seam and optional Tier-3 verification in StateLogVerifier: compare attested log head against live store hash. Includes InMemoryLiveStateHashReader, R10 live-state-mismatch refusal, A4 admission, trust gate coverage. cert-gate: 66 tests. Co-authored-by: IanFrelinger <IanFrelinger@users.noreply.github.com>
…ndled verifier Add AttestedStateLogArtifactVerifier and FileBundledBehaviorCatalogResolver in Nexo.Certification.State for Project C parity (path-safe sidecars). Introduce live-state.json sidecar wire format, IAttestedStateLogTrustGate.VerifyFullTrust, A5 full-stack admission, cross-project Tier-3 sidecar tests, and Project C project refs. cert-gate: 71 tests. Co-authored-by: IanFrelinger <IanFrelinger@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements Phase 5 of attested state log binding: full-trust integration and portable bundled artifact verification for Project C.
This branch includes Phases 2–5 if earlier PRs (#206–#208) are not yet merged.
Portable bundled verifier (State assembly)
AttestedStateLogArtifactVerifier— bundled artifact verification entry pointFileBundledBehaviorCatalogResolver+BundledBehaviorPaths— path-safe sidecar lookupFixedLiveStateHashReader,LiveStateSnapshot,live-state.jsonwire formatFull trust API
IAttestedStateLogTrustGate.VerifyFullTrust(...)— Tier-2 brick replay + Tier-3 live headTests (cert-gate: 71)
A5_FullyValidLogWithFullTrust_IsTrustedlive-state.jsonsidecar--bind-liveTest plan