Skip to content

Decisions summary in Tower's overview payload, so the Cockpit's Decisions entry can show a pending count #1970

Backlog

Description

@waleedkadous

Follow-up to #1963 (the alternative "Codev Cockpit" layout), deferred by the owner at its spec gate.

Problem

In the Cockpit's combined panel each active workspace has a Decisions entry. It carries no pending count, and it appears even for a workspace that has no decisions file (opening it shows the empty state). The owner can't tell from the tree which workspaces have decisions waiting.

Root cause

The extension builds other workspaces' rows from the overview Tower already serves per workspace. The overview carries nothing about the decisions file — neither whether it exists nor how many items are open.

Fix

An additive field in Tower's overview payload: a decisions summary (file present; open-item count). The extension's existing fleet fan-out then carries it with no new requests and no new poll loop.

With it, the Decisions entry shows its pending count, and is hidden (or visibly marked empty) for a workspace with no decisions file. Decide in the same change whether pending decisions also count toward the workspace row's attention summary and the activity-bar badge.

Notes

  • Additive only: older clients ignore the field; a newer extension against an older Tower shows no count, as today.
  • The dashboard's Decisions tab could use the same field for a tab badge.

Depends on #1963 merging.

Activity

  1. added
    area/cross-cutting
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cross-cutting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions