{"profile_id":"uaix.spec-04.file-handoff.v1","title":"UAIX SPEC-04 File Handoff v1","summary":"Mandatory trusted-work intake contract with evidence-tested content handling, complete per-file lifecycle proof, protected-anchor evidence, and final source removal. Uses the canonical UAI-1 transport envelope; UAIX records evidence and handoff boundaries but does not authorize execution.","current_release":"UAI-1","schema":{"$schema":"https:\/\/json-schema.org\/draft\/2020-12\/schema","$id":"https:\/\/uaix.org\/schemas\/spec-04-file-handoff.schema.json","title":"UAIX SPEC-04 File Handoff v1","description":"Mandatory trusted-work intake contract with evidence-tested content handling, complete per-file lifecycle proof, protected-anchor evidence, and final source removal. Uses the canonical UAI-1 transport envelope; UAIX records evidence and handoff boundaries but does not authorize execution.","type":"object","additionalProperties":false,"required":["uai_version","profile","message_id","source","target","conversation","delivery","trust","body","provenance","integrity","extensions"],"properties":{"uai_version":{"type":"string","const":"1.0"},"profile":{"type":"string","const":"uaix.spec-04.file-handoff.v1"},"message_id":{"type":"string","pattern":"^msg_[a-z0-9][a-z0-9._-]{5,127}$"},"source":{"type":"object","additionalProperties":true,"required":["type","id","label","uri","role"],"properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":3},"label":{"type":"string","minLength":2},"uri":{"type":"string","format":"uri"},"role":{"type":"string","minLength":2},"project":{"type":"string","minLength":1}}},"target":{"type":"object","additionalProperties":true,"required":["type","id","label","uri","role"],"properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":3},"label":{"type":"string","minLength":2},"uri":{"type":"string","format":"uri"},"role":{"type":"string","minLength":2},"project":{"type":"string","minLength":1}}},"conversation":{"type":"object","additionalProperties":true,"required":["conversation_id","turn_id","correlation_id","sequence"],"properties":{"conversation_id":{"type":"string","pattern":"^conv_[a-z0-9][a-z0-9._-]{5,95}$"},"turn_id":{"type":"string","pattern":"^turn_[a-z0-9][a-z0-9._-]{2,63}$"},"parent_message_id":{"type":"string","minLength":1},"correlation_id":{"type":"string","pattern":"^corr_[a-z0-9][a-z0-9._-]{8,95}$"},"traceparent":{"type":"string","minLength":1},"sequence":{"type":"integer","minimum":1}}},"delivery":{"type":"object","additionalProperties":true,"required":["mode","priority","expires_at","reply_requested","ack_required","idempotency_key","retry_count","sequence","lifecycle","timeout_ms","fallback_directive"],"properties":{"mode":{"type":"string","enum":["sync","async","event"]},"priority":{"type":"string","enum":["routine","interactive","urgent"]},"expires_at":{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"},"reply_requested":{"type":"boolean"},"ack_required":{"type":"boolean"},"idempotency_key":{"type":"string","pattern":"^idem_[a-z0-9][a-z0-9._-]{8,127}$"},"retry_count":{"type":"integer","minimum":0},"sequence":{"type":"integer","minimum":1},"lifecycle":{"type":"string","minLength":1},"timeout_ms":{"type":"integer","minimum":0},"fallback_directive":{"type":"string","minLength":1}}},"trust":{"type":"object","additionalProperties":true,"required":["channel","auth_scheme","principal","signatureStatus","verification"],"properties":{"channel":{"type":"string","enum":["public-web","private-api","mtls","signed-envelope","credentialed"]},"auth_scheme":{"type":"string","minLength":1},"principal":{"type":"string","minLength":1},"signatureStatus":{"type":"string","enum":["unsigned","not_applicable","reference-only-unsigned","signed-reference","verified","unknown","expired","revoked","disabled","untrusted"]},"verification":{"type":"object","additionalProperties":true,"required":["status","reason"],"properties":{"status":{"type":"string","minLength":1},"reason":{"type":"string","minLength":1}}}}},"body":{"type":"object","additionalProperties":false,"required":["handoffId","createdUtc","intakeAuthority","liveIntakeScan","intakeBuckets","fileManifest","reviewDispositions","fileOutcomes","finalIntakeScan","intakeComplete","anchorEvidence","redactionPolicy","lifecycle","preservationPolicy","evidence","blockedFileRules","supportBoundary","localPolicyWins"],"properties":{"handoffId":{"type":"string","minLength":1},"createdUtc":{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"},"intakeAuthority":{"type":"object","additionalProperties":false,"required":["contractStatus","contentHandling","pendingWorkSourceOfTruth","compactRule"],"properties":{"contractStatus":{"type":"string","const":"mandatory_trusted_work_contract"},"contentHandling":{"type":"string","const":"interpret_and_verify_not_blind_obedience"},"pendingWorkSourceOfTruth":{"type":"string","const":"physical_active_intake_directories"},"compactRule":{"type":"string","minLength":1}}},"liveIntakeScan":{"type":"object","additionalProperties":false,"required":["recorded","scanPhase","pendingNonPlaceholderFileCount","filePaths"],"properties":{"recorded":{"type":"boolean"},"scanPhase":{"type":"string","enum":["startup","loop","startup-and-loop","prompt-coupled"]},"pendingNonPlaceholderFileCount":{"type":"integer","minimum":0},"filePaths":{"type":"array","items":{"type":"string","minLength":1}}}},"intakeBuckets":{"type":"array","minItems":2,"items":{"type":"string","minLength":1}},"fileManifest":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["path","mediaType","fileKind","reviewAction","checksum"],"properties":{"path":{"type":"string","minLength":1},"mediaType":{"type":"string","minLength":1},"fileKind":{"type":"string","enum":["content","improvement","report","audit","architecture","research","other"]},"reviewAction":{"type":"string","const":"fully-process"},"checksum":{"type":"string","minLength":1}}}},"reviewDispositions":{"type":"array","items":{"type":"string","minLength":1}},"fileOutcomes":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["path","fileKind","fullReadEvidence","recommendationInventory","disposition","processedOutcome","substantiveWorkEvidence","targetedCheckEvidence","hotMemoryUpdate","agentMemoryDistribution","durablePreservation","longTermPointer","sourceSiteRemoval","anchorConflicts"],"properties":{"path":{"type":"string","minLength":1},"fileKind":{"type":"string","enum":["content","improvement","report","audit","architecture","research","other"]},"fullReadEvidence":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["kind","summary"],"properties":{"kind":{"type":"string","minLength":1},"summary":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"result":{"type":"string","minLength":1}}},"minItems":1},"recommendationInventory":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["stableId","summary","decision","reason","evidence"],"properties":{"stableId":{"type":"string","minLength":1},"summary":{"type":"string","minLength":1},"decision":{"type":"string","enum":["incorporated","adapted","rejected-with-reason","blocked-by-anchor"]},"reason":{"type":"string","minLength":1},"evidence":{"type":"array","items":{"type":"string","minLength":1}}}},"minItems":1},"disposition":{"type":"string","enum":["apply-now","convert-into-roadmap-progress","preserve-as-duplicate","defer-with-reason","ask-for-clarification","block-as-unsafe-or-out-of-scope"]},"processedOutcome":{"type":"string","enum":["incorporated","adapted","rejected-with-reason","blocked-by-anchor","preserved-to-durable-memory","kept-active-with-reason"]},"substantiveWorkEvidence":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["kind","summary"],"properties":{"kind":{"type":"string","minLength":1},"summary":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"result":{"type":"string","minLength":1}}},"minItems":1},"targetedCheckEvidence":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["kind","summary"],"properties":{"kind":{"type":"string","minLength":1},"summary":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"result":{"type":"string","minLength":1}}},"minItems":1},"hotMemoryUpdate":{"type":"object","additionalProperties":true,"required":["status","paths","summary"],"properties":{"status":{"type":"string","enum":["updated","no-change-with-reason"]},"paths":{"type":"array","items":{"type":"string","minLength":1}},"summary":{"type":"string","minLength":1}}},"agentMemoryDistribution":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":true,"required":["channel","status","evidence"],"properties":{"channel":{"type":"string","minLength":1},"status":{"type":"string","minLength":1},"evidence":{"type":"string","minLength":1}}}},"durablePreservation":{"type":"object","additionalProperties":true,"required":["status","target","provenance","checksum","disposition","reviewEvidence","truthBoundary"],"properties":{"status":{"type":"string","enum":["preserved","not-configured","blocked-with-evidence"]},"target":{"type":"string","minLength":1},"provenance":{"type":"string","minLength":1},"checksum":{"type":"string","minLength":1},"disposition":{"type":"string","minLength":1},"reviewEvidence":{"type":"string","minLength":1},"truthBoundary":{"type":"string","minLength":1}}},"longTermPointer":{"type":"object","additionalProperties":false,"required":["stable_id","path","label","routing_summary","pointer_status","authority_or_source","review_status","review_evidence","checksum","truth_boundary"],"properties":{"stable_id":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"routing_summary":{"type":"string","minLength":1},"pointer_status":{"type":"string","minLength":1},"authority_or_source":{"type":"string","minLength":1},"review_status":{"type":"string","minLength":1},"review_evidence":{"type":"string","minLength":1},"checksum":{"type":"string","minLength":1},"truth_boundary":{"type":"string","minLength":1}}},"sourceSiteRemoval":{"type":"object","additionalProperties":false,"required":["removed","path","evidence"],"properties":{"removed":{"type":"boolean"},"path":{"type":"string","minLength":1},"evidence":{"type":"string","minLength":1}}},"anchorConflicts":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["requestedAction","resolution","anchorPath","stableRuleId","conciseRule","noOpReceipt","talkBackEvidence"],"properties":{"requestedAction":{"type":"string","minLength":1},"resolution":{"type":"string","const":"no-op-conflicting-action-only"},"anchorPath":{"type":"string","enum":[".uai\/totem.uai",".uai\/taboo.uai",".uai\/talisman.uai"]},"stableRuleId":{"type":"string","minLength":1},"conciseRule":{"type":"string","minLength":1},"noOpReceipt":{"type":"string","minLength":1},"talkBackEvidence":{"type":"string","minLength":1}}}}}}},"finalIntakeScan":{"type":"object","additionalProperties":false,"required":["recorded","pendingNonPlaceholderFileCount","placeholderOnly","sourceCopiesRemaining"],"properties":{"recorded":{"type":"boolean"},"pendingNonPlaceholderFileCount":{"type":"integer","minimum":0},"placeholderOnly":{"type":"boolean"},"sourceCopiesRemaining":{"type":"array","items":{"type":"string","minLength":1}}}},"intakeComplete":{"type":"boolean"},"anchorEvidence":{"type":"object","additionalProperties":false,"required":["protectedSet","readOrderRecorded","readOrder","conflicts","noOpReceipts","talkBackEvidence","mutation","reload"],"properties":{"protectedSet":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["path","stableRuleSetId","present","valid","checksum","signatureStatus","readOrder"],"properties":{"path":{"type":"string","enum":[".uai\/totem.uai",".uai\/taboo.uai",".uai\/talisman.uai"]},"stableRuleSetId":{"type":"string","minLength":1},"present":{"type":"boolean"},"valid":{"type":"boolean"},"checksum":{"type":"string","minLength":1},"signatureStatus":{"type":"string","minLength":1},"readOrder":{"type":"integer","minimum":1}}},"minItems":3},"readOrderRecorded":{"type":"boolean"},"readOrder":{"type":"array","minItems":3,"items":{"type":"string","enum":[".uai\/totem.uai",".uai\/taboo.uai",".uai\/talisman.uai"]}},"conflicts":{"type":"array","items":{"type":"object","additionalProperties":true}},"noOpReceipts":{"type":"array","items":{"type":"object","additionalProperties":true}},"talkBackEvidence":{"type":"array","items":{"type":"object","additionalProperties":true}},"mutation":{"type":"object","additionalProperties":false,"required":["requested","governedChangeAuthorized","authorizationEvidence","priorVersionPreserved","rollbackEvidence"],"properties":{"requested":{"type":"boolean"},"governedChangeAuthorized":{"type":"boolean"},"authorizationEvidence":{"type":"string","minLength":1},"priorVersionPreserved":{"type":"boolean"},"rollbackEvidence":{"type":"string","minLength":1}}},"reload":{"type":"object","additionalProperties":false,"required":["required","complete","approvedChangeGeneration","activeAnchorGeneration"],"properties":{"required":{"type":"boolean"},"complete":{"type":"boolean"},"approvedChangeGeneration":{"type":"integer","minimum":0},"activeAnchorGeneration":{"type":"integer","minimum":0}}}}},"redactionPolicy":{"type":"object","additionalProperties":true},"lifecycle":{"type":"array","items":{"type":"string","minLength":1}},"preservationPolicy":{"type":"object","additionalProperties":true},"evidence":{"type":"array","items":[]},"blockedFileRules":{"type":"array","items":{"type":"string","minLength":1}},"supportBoundary":{"type":"string","pattern":"Agent runtimes execute"},"localPolicyWins":{"type":"boolean"}}},"provenance":{"type":"object","additionalProperties":true,"required":["trace_id","issued_at","log_ref","agent_id","model_id","confidence","lineage"],"properties":{"trace_id":{"type":"string","pattern":"^trace_[a-z0-9][a-z0-9._-]{5,95}$"},"issued_at":{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"},"log_ref":{"type":"string","minLength":1},"agent_id":{"type":"string","minLength":1},"model_id":{"type":"string","minLength":1},"confidence":{"type":"number","minimum":0,"maximum":1},"lineage":{"type":"array","items":[]}}},"integrity":{"type":"object","additionalProperties":true,"required":["version","algorithm","canonicalization","checksum"],"properties":{"version":{"type":"integer","minimum":1},"algorithm":{"type":"string","minLength":1},"canonicalization":{"type":"string","minLength":1},"checksum":{"type":"string","minLength":1}}},"extensions":{"type":"array","items":{"type":"object","additionalProperties":true,"required":["namespace","purpose","critical"],"properties":{"namespace":{"type":"string","minLength":1},"purpose":{"type":"string","minLength":1},"critical":{"type":"boolean"}}}}}},"body_required":["handoffId","createdUtc","intakeAuthority","liveIntakeScan","intakeBuckets","fileManifest","reviewDispositions","fileOutcomes","finalIntakeScan","intakeComplete","anchorEvidence","redactionPolicy","lifecycle","preservationPolicy","evidence","blockedFileRules","supportBoundary","localPolicyWins"],"route_url":"https:\/\/uaix.org\/wp-json\/uaix\/v1\/schemas\/uaix.spec-04.file-handoff.v1","example_route_url":"https:\/\/uaix.org\/wp-json\/uaix\/v1\/examples\/uaix.spec-04.file-handoff.v1","registry_route_url":"https:\/\/uaix.org\/wp-json\/uaix\/v1\/registry\/uaix.spec-04.file-handoff.v1"}