Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

Fix review hub actionable item helper

[._.]/ Adam Eivya0d294092b07
diff --git a/client/src/pages/Review.jsx b/client/src/pages/Review.jsx
index ce951ea572..802ecdb0c8 100644
--- a/client/src/pages/Review.jsx
+++ b/client/src/pages/Review.jsx
@@ -29,9 +29,16 @@ const TYPE_CONFIG = {
briefing: { label: 'Briefing', icon: FileText, color: 'text-gray-400' }
};
-const ACTIONABLE_TYPES = ['alert', 'cos', 'todo'];
const TYPE_PRIORITY = { alert: 0, cos: 1, todo: 2, briefing: 3 };
+function isActionableItem(item) {
+ if (item.type === 'alert' || item.type === 'todo') return true;
+ if (item.type === 'cos') {
+ return item.metadata?.requiresAction === true || item.metadata?.approvalRequired === true;
+ }
+ return false;
+}
+
export default function Review() {
const [items, setItems] = useState([]);
const [briefing, setBriefing] = useState(null);