Redesign system interconnections display: group by health, inline diagnoses
Remove misleading Reputation -> Era Gates connection (score 0 meant "already sufficient," not broken). Add diagnosis and eventLabel fields to each connection. Group output: broken links first with [!!] and plain-language explanation, then healthy links as compact one-liners. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -63,7 +63,7 @@ interface WorkerResult {
|
||||
revenueStreamDiversity: number;
|
||||
};
|
||||
systemInterconnections: {
|
||||
connections: Array<{ from: string; to: string; score: number; evidence: string; events: number }>;
|
||||
connections: Array<{ from: string; to: string; score: number; evidence: string; diagnosis: string; events: number; eventLabel: string }>;
|
||||
overallScore: number;
|
||||
};
|
||||
cashFlow: { bankruptcyRisks: number };
|
||||
|
||||
Reference in New Issue
Block a user