diff --git a/plugins/stewards/app.tsx b/plugins/stewards/app.tsx index 3e17f294..6f11f071 100644 --- a/plugins/stewards/app.tsx +++ b/plugins/stewards/app.tsx @@ -177,7 +177,7 @@ function ThreadLink({ threadId, children }: { threadId: string; children: ReactN function Badge({ children, tone = "muted" }: { children: ReactNode; tone?: "muted" | "warn" | "bad" }) { const colors = - tone === "bad" ? "border-destructive/40 text-destructive" : tone === "warn" ? "border-amber-500/40 text-amber-600 dark:text-amber-500" : "border-border text-muted-foreground"; + tone === "bad" ? "border-destructive/40 text-destructive" : tone === "warn" ? "border-amber-500/40 text-attention" : "border-border text-muted-foreground"; return {children}; } @@ -210,7 +210,7 @@ function StatusSection() {
{overview.paused ? (

- + Stewards are paused: nothing is woken or adopted. Changes queue up until you turn Pause stewards off.

) : null} @@ -237,7 +237,7 @@ function ProjectStatus({ project: p, now }: { project: Project; now: number }) {

{p.name} @@ -421,7 +421,7 @@ function StewardRow({ steward: s, now }: { steward: Steward; now: number }) {

)} {s.blockedOn !== null ?

Blocked on {s.blockedOn}

: null} - {s.hold !== null ?

On hold: {s.hold}

: null} + {s.hold !== null ?

On hold: {s.hold}

: null} {s.escalations.map((x, i) => (

{x.kind} escalation with {x.route === "me" ? "you" : x.route === "parent" ? "the parent steward" : "the project steward"}: {x.question} @@ -693,7 +693,7 @@ function ProjectView({ board: b, refetch }: { board: Board; refetch: () => void

{b.paused ? (

- + Stewards are paused: nothing is woken or adopted.

) : null} @@ -800,7 +800,7 @@ function EffortDetail({ board: b, effortKey, refetch }: { board: Board; effortKe {s.actor === null ? "" : ` (${ACTOR_LABEL[s.actor] ?? s.actor})`}

{s.blockedOn !== null ?

Blocked on {s.blockedOn}

: null} - {s.hold !== null ?

On hold: {s.hold}{s.holdBehind.length > 0 ? ` (behind ${s.holdBehind.join(", ")})` : ""}

: null} + {s.hold !== null ?

On hold: {s.hold}{s.holdBehind.length > 0 ? ` (behind ${s.holdBehind.join(", ")})` : ""}

: null} {s.stuck ?

Stuck{stuck === null ? "" : `: ${stuck.why}`}

: null}

{s.kind === "ops" ? `Last wake ${ago(s.wokeAt, now)}` : `Reported ${ago(s.statusAt, now)} ยท adopted ${ago(s.createdAt, now)}`} @@ -983,7 +983,7 @@ function NeedsYouPrompt({ entry, now }: { entry: NeedsYouItem; now: number }) {

{n.what}

{n.kind === "provide-secret" ?

The form opens in a thread; the value goes to {n.destination ?? "the destination the item names"}.

: null} {n.how !== null ?
: null} - {!n.actionable ?

Not actionable yet: {n.why ?? "the server cannot verify it now"}.

: null} + {!n.actionable ?

Not actionable yet: {n.why ?? "the server cannot verify it now"}.

: null} ); } @@ -1244,29 +1244,29 @@ function kindLabel(kind: string | null): string { return kind ?? "thread"; } -/** The phrase's colour follows the glyph's (BB-76): yellow, red, blue, muted. */ +/** The phrase's colour follows the glyph's (BB-76), in bb's theme tokens (BB-99): attention, destructive, timeline-accent, muted. */ function phraseClass(state: SidebarEffortState): string { - const transition = " motion-safe:transition-colors duration-300"; - if (state === "you") return `text-amber-600 dark:text-amber-500${transition}`; - if (state === "blocked") return `text-destructive${transition}`; - if (state === "running") return `text-blue-600 dark:text-blue-400${transition}`; - return `text-muted-foreground${transition}`; + const transition = "motion-safe:transition-colors duration-300"; + if (state === "you") return `text-attention ${transition}`; + if (state === "blocked") return `text-destructive ${transition}`; + if (state === "running") return `text-timeline-accent ${transition}`; + return `text-muted-foreground ${transition}`; } /** - * The four glyphs, in precedence order (BB-76): a solid yellow dot when it - * waits on you, an empty red ring when blocked, a blue ring that pulses slowly - * while a worker or agent runs, an empty grey ring when quiet. The pulse is - * CSS only and stops under `prefers-reduced-motion`. + * The four glyphs, in precedence order (BB-76): a solid attention dot when it + * waits on you, an empty destructive ring when blocked, a timeline-accent ring + * that pulses slowly while a worker or agent runs, an empty muted ring when + * quiet. The pulse is CSS only and stops under `prefers-reduced-motion`. */ function StewardGlyph({ kind }: { kind: SidebarEffortState }) { - const transition = " motion-safe:transition-colors duration-300"; - if (kind === "you") return