Problem
The Recently Closed view in the Codev sidebar displays items in whatever order GitHub's search API returns them, which is relevance ("best match"), not closure time. Verified empirically: an issue closed at 08:00Z today renders last, below items closed the previous day.
Root cause
No layer in the chain applies an ordering:
apps/vscode/src/views/recently-closed.ts renders data.recentlyClosed as-is.
packages/codev/src/agent-farm/servers/overview.ts (recently-closed assembly, ~line 941) maps the fetched list in order, preserving it.
fetchRecentlyClosed in packages/codev/src/lib/github.ts filters to the 24h window but does not reorder.
packages/codev/scripts/forge/github/recently-closed.sh runs gh issue list --state closed --search "closed:>$SINCE" with no sort: qualifier. The presence of --search delegates to GitHub's search API, whose default ordering is relevance.
Proposed fix
Sort by closedAt descending in overview.ts where the recentlyClosed items are assembled. This fixes the ordering for every forge at once (closedAt is already present on every item), rather than patching each provider-specific forge script (github/gitlab/gitea/linear) with a sort: qualifier.
Problem
The Recently Closed view in the Codev sidebar displays items in whatever order GitHub's search API returns them, which is relevance ("best match"), not closure time. Verified empirically: an issue closed at 08:00Z today renders last, below items closed the previous day.
Root cause
No layer in the chain applies an ordering:
apps/vscode/src/views/recently-closed.tsrendersdata.recentlyClosedas-is.packages/codev/src/agent-farm/servers/overview.ts(recently-closed assembly, ~line 941) maps the fetched list in order, preserving it.fetchRecentlyClosedinpackages/codev/src/lib/github.tsfilters to the 24h window but does not reorder.packages/codev/scripts/forge/github/recently-closed.shrunsgh issue list --state closed --search "closed:>$SINCE"with nosort:qualifier. The presence of--searchdelegates to GitHub's search API, whose default ordering is relevance.Proposed fix
Sort by
closedAtdescending inoverview.tswhere therecentlyCloseditems are assembled. This fixes the ordering for every forge at once (closedAtis already present on every item), rather than patching each provider-specific forge script (github/gitlab/gitea/linear) with asort:qualifier.