Separate handoff routes from ownership

This commit is contained in:
Meta Vens 2026-07-13 05:00:49 +01:00
commit 7a02a207bb
7 changed files with 20 additions and 5 deletions

View file

@ -242,9 +242,10 @@ fn run_smoke(args: Args) -> Result<Value> {
&["intakeConsensus", "schemaVersion"],
"epiphany.repo_work_intake_consensus_readback.v0",
)?;
require_eq(&overview, &["intakeConsensus", "owner"], "Self")?;
require_eq(
&overview,
&["intakeConsensus", "owner"],
&["intakeConsensus", "handoffRoute"],
"Persona->Imagination",
)?;
require_eq(

View file

@ -7814,7 +7814,7 @@ fn bifrost_ledger_report(
&mut tui_rows,
BifrostLedgerRow {
document_kind: "collaboration-feedback".to_string(),
owner: "Persona->Imagination".to_string(),
owner: feedback.source_persona_id.clone(),
id: feedback.feedback_id.clone(),
status: "queued-for-imagination".to_string(),
route: feedback.requested_consensus_route.clone(),
@ -8117,7 +8117,7 @@ fn bifrost_accounting_rows(
&mut tui_rows,
BifrostAccountingRow {
lane: "collaboration-consensus".to_string(),
owner: "Persona->Imagination".to_string(),
owner: "Bifrost".to_string(),
status: bifrost_accounting_status(
collaboration_closed,
arrival_latest_feedback.is_some() || latest_consensus.is_some(),

View file

@ -9768,7 +9768,8 @@ fn run_overview(args: OverviewArgs) -> Result<Value> {
.unwrap_or(false);
let intake_consensus_readback = json!({
"schemaVersion": "epiphany.repo_work_intake_consensus_readback.v0",
"owner": "Persona->Imagination",
"owner": "Self",
"handoffRoute": "Persona->Imagination",
"item": item,
"feedbackId": feedback_id,
"consensusReceiptId": consensus_receipt_id,