Skip to content

Backlog priority: priority:* labels drive census ordering #173

Description

@robercano-ghbot

What

The census currently picks the lowest-numbered planned issue — priority cannot be expressed without renumbering. The four priority labels now exist (priority:critical/high/medium/low, created 2026-07-21).

Spec

  • loop-census.sh candidate selection sorts by (priority rank, issue number): critical < high < medium < low < UNLABELED (explicit priority always outranks none; number remains the tiebreaker, so a label-free backlog behaves exactly as today).
  • Blocking-graph edges still override order (a blocked candidate is skipped regardless of priority) — priority is preference, edges are semantics.
  • Cockpit: show a priority chip on queue/census rows.
  • docs/USAGE.md: document the scheme (owner sets labels in the GitHub UI; nothing else changes).

Acceptance

  • Census picks priority:critical over lower priorities regardless of issue number; ties break by number; unlabeled ranks last.
  • loop-census.test.sh covers: priority beats number, unlabeled-last, blocked-high-priority skipped for unblocked-lower.
  • Cockpit renders the chip; USAGE.md updated.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmodule:harnessOrchestrator machinery under .claudeplannedOwner-approved for the autonomous loop (assigned ONLY by the owner)priority:highNext in line

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions