Migrate Planning to keyed Mind authority

This commit is contained in:
Meta Vens 2026-08-18 02:22:11 +02:00
commit c9329ed6ec
10 changed files with 1566 additions and 1044 deletions

View file

@ -3192,13 +3192,14 @@ mod tests {
request_id: "planning-request-1".into(),
model_projection_digest: "model-projection-7".into(),
model_source_documents: Vec::new(),
frontier_authority_documents: Vec::new(),
claim_obligation_documents: Vec::new(),
frontier_item_id: "frontier-1".into(),
frontier_item_hash: "frontier-hash".into(),
selected_organ: "Imagination".into(),
source_scope: vec!["src".into(), "tests".into()],
requested_at: "2026-07-15T09:59:00Z".into(),
runtime_id: "runtime-1".into(),
thread_id: "thread-1".into(),
};
let result = role_worker_result_from_ingress(
&launch,
@ -3521,7 +3522,6 @@ mod tests {
candidate_id: "candidate-1".into(),
candidate_sha256: "candidate-hash-1".into(),
runtime_id: "runtime-1".into(),
thread_id: "thread-1".into(),
requested_at: "2026-07-15T09:59:00Z".into(),
contract: epiphany_core::REPO_FRONTIER_PLAN_MIND_REQUEST_CONTRACT.into(),
},
@ -3530,6 +3530,8 @@ mod tests {
request_id: "planning-request-1".into(),
model_projection_digest: "model-projection-1".into(),
model_source_documents: Vec::new(),
frontier_authority_documents: Vec::new(),
claim_obligation_documents: Vec::new(),
frontier_item_id: "frontier-1".into(),
frontier_item_hash: "frontier-hash-1".into(),
selected_organ: "Imagination".into(),
@ -3537,7 +3539,6 @@ mod tests {
requested_at: "2026-07-15T09:58:00Z".into(),
contract: epiphany_core::REPO_FRONTIER_PLANNING_CONTRACT.into(),
runtime_id: "runtime-1".into(),
thread_id: "thread-1".into(),
},
candidate: epiphany_core::RepoFrontierPlanCandidate {
schema_version: epiphany_core::REPO_FRONTIER_PLAN_CANDIDATE_SCHEMA_VERSION.into(),