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: label the CoS status pill from the live state message and update the idle assertion

[._.]/ Adam Eivye55c3a4acda1
diff --git a/client/src/components/cos/StatusBubble.jsx b/client/src/components/cos/StatusBubble.jsx
index ceb927b6a3..cc56797785 100644
--- a/client/src/components/cos/StatusBubble.jsx
+++ b/client/src/components/cos/StatusBubble.jsx
@@ -8,7 +8,7 @@ const GENERIC_MESSAGES = new Set(Object.values(STATE_MESSAGES));
export const isGenericStatusMessage = (message) => GENERIC_MESSAGES.has(message);
export function StatusPill({ state, message }) {
- const label = state === 'sleeping' ? 'Sleeping' : 'Working on task';
+ const label = state === 'sleeping' ? 'Sleeping' : message.replace(/\.+$/, '');
return (
<div
className="absolute top-1 right-1 z-20 px-2.5 py-0.5 rounded-full text-xs font-mono bg-port-card/90 border border-port-border text-port-text-muted shadow-sm pointer-events-none"
diff --git a/client/src/pages/ChiefOfStaff.test.jsx b/client/src/pages/ChiefOfStaff.test.jsx
index f25802e678..2f7faaff09 100644
--- a/client/src/pages/ChiefOfStaff.test.jsx
+++ b/client/src/pages/ChiefOfStaff.test.jsx
@@ -322,7 +322,8 @@ describe('ChiefOfStaff handleForceEvaluate', () => {
// State contract: a failed evaluate must NOT switch the status bubble to the
// "Evaluating tasks..." (thinking) message — it stays on the idle message.
expect(screen.queryAllByText('Evaluating tasks...')).toHaveLength(0);
- expect(screen.queryAllByText('Idle - waiting for tasks...').length).toBeGreaterThan(0);
+ // Generic idle text renders as the avatar pill, which carries it as its title.
+ expect(screen.queryAllByTitle('Idle - waiting for tasks...').length).toBeGreaterThan(0);
});
it('toasts success and advances the status message after the evaluate resolves', async () => {