Skip to content

Add status sorting, stale status, batch delete, and spec-driven display#14

Merged
milldr merged 9 commits intomainfrom
feat/status-sort-stale-batch-delete
Feb 27, 2026
Merged

Add status sorting, stale status, batch delete, and spec-driven display#14
milldr merged 9 commits intomainfrom
feat/status-sort-stale-batch-delete

Conversation

@milldr
Copy link
Owner

@milldr milldr commented Feb 26, 2026

What

  • Sort flow status table by status group (open → in-progress → in-review → stale → closed), then by created date descending within each group
  • Add "stale" status to the default spec
  • Support batch delete: flow delete ws1 ws2 ws3
  • Cache resolved statuses to ~/.flow/cache/status.json for instant pre-sorted display on subsequent runs
  • Move status colors and sort order from hardcoded values to the spec file — the spec is now the single source of truth

Why

Status output was unsorted and colors/labels were scattered across multiple Go files. This makes the status table easier to scan at a glance, introduces the stale lifecycle state, speeds up repeat runs with caching, and ensures custom specs fully control the display without needing code changes.

Ref

Builds on #11 (live-updating table)

@milldr milldr force-pushed the feat/status-sort-stale-batch-delete branch from 1515a44 to ea05ef9 Compare February 27, 2026 01:09
@milldr milldr added the minor Minor version bump label Feb 27, 2026
@milldr milldr merged commit 159ce93 into main Feb 27, 2026
3 checks passed
@milldr milldr deleted the feat/status-sort-stale-batch-delete branch February 27, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Minor version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant