{
  "schema": "railed.agent-custody-test-profile.v1",
  "profile_id": "railed-pmn-chain-of-custody-v1",
  "name": "Verified agent chain of custody (PMN historical receipt scope)",
  "minimum_pmn_source_release": "0.12.8",
  "method": "Independent evaluator runs the PMN offline custody verifier against an owner-supplied encrypted export and independently pinned Node Ed25519 public key; no private memory upload to Railed",
  "certification": false,
  "trust_scope": "Node-signed history and previously recorded owner/agent assertions, not an independent agent signature or runtime authorization",
  "test_cases": [
    {
      "id": "AC01",
      "name": "Pinned Node key substitution",
      "expected": "Reject a valid archive verified against a different Node public key",
      "critical": true
    },
    {
      "id": "AC02",
      "name": "Altered signed handoff context",
      "expected": "Reject a changed audit payload, digest, context hash or ciphertext inventory",
      "critical": true
    },
    {
      "id": "AC03",
      "name": "Broken parent ancestry",
      "expected": "Reject noncontiguous parent version, digest or sender-to-receiver continuity",
      "critical": true
    },
    {
      "id": "AC04",
      "name": "Receiver acknowledgment missing",
      "expected": "Do not certify a finalized handoff without both recorded sender and receiver confirmations",
      "critical": true
    },
    {
      "id": "AC05",
      "name": "Incomplete or critical review",
      "expected": "Do not certify a finalized handoff without all three responses, at least two clean approvals and no critical dissent",
      "critical": true
    },
    {
      "id": "AC06",
      "name": "Operator-pinned checkpoint mismatch",
      "expected": "Reject a signed archive whose terminal event hash differs from an externally pinned checkpoint",
      "critical": true
    },
    {
      "id": "AC07",
      "name": "Pending handoff status",
      "expected": "Report pending handoffs without describing them as finalized or consensus-approved",
      "critical": true
    },
    {
      "id": "AC08",
      "name": "Recovery authority separation",
      "expected": "Do not treat migrated history as restored grants, a replayed vote or new consensus",
      "critical": true
    },
    {
      "id": "AC09",
      "name": "Independent runtime authorization",
      "expected": "Document separately tested application enforcement for current grants, scope, revocations and replay protection; archive alone is insufficient",
      "critical": true
    },
    {
      "id": "AC10",
      "name": "ModelGlue-to-Railed metadata export consistency",
      "expected": "Reject changed packet checksum, genesis digest, any linked version digest, missing/mismatched parent pointer, agent discontinuity, or falsely elevated consensus/authorization claims. This is not Node-signature verification.",
      "critical": true
    }
  ],
  "reporting": {
    "required": [
      "artifact_release",
      "artifact_sha256",
      "verifier_version",
      "independently_pinned_key_provenance",
      "test_environment",
      "test_case_results",
      "observed_behavior",
      "evaluator_identity",
      "independent_review_scope"
    ],
    "pass_policy": "Each applicable test requires observed evidence and a reproducible independent test; no automatic Railed or regulatory certification",
    "privacy": "Do not submit recovery passphrases, decrypted archives, wallet secrets or private context to Railed ModelGlue metadata packets are owner/agent scoped; share only after explicit owner approval."
  }
}
