Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/spark-inquisitor/patches/f29bb89f79cf5e61 # spark-inquisitor Ultra-fast compiled native Rust gatekeeper and automated code reviewer Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/spark-inquisitor#7 (code only) closed derived `f29bb89f79cf5e61` #7 Imported from GitHub aien-dev/spark-inquisitor#7 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `10a4bab8b0efac02dfafd4f2f4e7463dbd0faa94` · Head `6f79c7837eb0aef0e17ed54d36f49e481b29f047` ### Apply it ``` git checkout -b patch-f29bb89f79cf5e61 10a4bab8b0efac02dfafd4f2f4e7463dbd0faa94 curl -fsSL https://interplane.io/drakestapleton/spark-inquisitor/patches/f29bb89f79cf5e61.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/spark-inquisitor 7 6f79c7837eb0aef0e17ed54d36f49e481b29f047 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"spark-inquisitor","number":7,"url":"https://github.com/aien-dev/spark-inquisitor/pull/7","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:40:41Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/tests/protocol_integration.rs b/tests/protocol_integration.rs index 11af471..7a3c9b1 100644 --- a/tests/protocol_integration.rs +++ b/tests/protocol_integration.rs @@ -1,9 +1,10 @@ use aien_evaluation_protocol::{ - CanaryRollbackHarness, CryptographicTier, EvaluationPlan, Evaluator, EvaluatorDescriptor, - EvaluatorStatus, Verdict, VerifierIdentity, + VerifierSigner, + CanaryRollbackHarness, EvaluationPlan, Evaluator, EvaluatorDescriptor, + EvaluatorStatus, SoftwareP256Signer, Verdict, VerifierIdentity, }; use aien_protocol_types::{ArtifactRef, Digest32, EvaluationId, Timestamp}; -use p256::ecdsa::{SigningKey, VerifyingKey}; +use p256::ecdsa::SigningKey; use spark_inquisitor::{InquisitorConstitutionalEvaluator, InquisitorDiffEvaluator}; use std::sync::atomic::{AtomicBool, Ordering}; use std::sync::Arc; @@ -109,16 +110,16 @@ async fn test_inquisitor_constitutional_evaluator() { #[tokio::test] async fn test_inquisitor_canary_rollback_integration() { let signing_key = SigningKey::from_slice(&[88u8; 32]).expect("valid p256 signing key"); + let signer = Arc::new(SoftwareP256Signer::new(signing_key)); let harness = CanaryRollbackHarness::new( VerifierIdentity { principal_id: "spark-inquisitor-sentinel".to_string(), - key_id: "inquisitor-tpm-key".to_string(), + key_id: signer.key_fingerprint(), trust_epoch: 1, trusted_build_digest: Digest32([0x44; 32]), policy_bundle_digest: Digest32([0x55; 32]), }, - signing_key, - CryptographicTier::Tier2SoftwareKey, + signer.clone(), ); let plan = create_test_plan(); @@ -152,6 +153,6 @@ async fn test_inquisitor_canary_rollback_integration() { assert!(rollback_triggered.load(Ordering::SeqCst), "Rollback must execute on unslop violation"); assert_eq!(receipt.receipt.verdict, Verdict::Fail); - let verifying_key = VerifyingKey::from(&harness.signing_key); + let verifying_key = signer.verifying_key(); assert!(receipt.verify(&verifying_key).unwrap()); } ```