Skip to content

fix(work-items): work selection never reads priority, so a deadline-raised priority changes nothing #8309

Closed

Description

@kyle-sexton

Triage raises an issue's priority for deadlines and impact (plugins/work-items/skills/triage/SKILL.md:195), but /work-items:work selects by tier and oldest-first and never reads the priority: label (plugins/work-items/skills/work/SKILL.md:192-198, per the 2026-10-18 issue-metadata research). So a priority set by triage or the owner has no effect on what a lane picks next.

Decide on evidence: make selection order within a tier by priority (owner rule: metric-driven, configurable), or drop the deadline rule from triage. Priority stays on the priority: labels (owner decision 2026-10-18).

Refs: .work/issue-dimensions/PLAN.md (owner checkout)

Activity

  1. added
    needs-triage
    on Oct 18, 2026
  2. github-actions commented on Oct 18, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Decision recorded.

    The owner chose to sort by priority within each tier on 2026-10-19 (decision). At origin/main, selection still ignores priority: tier 1 sorts by next_due, tier 3 is oldest-first (plugins/work-items/skills/work/SKILL.md:267-279), and context/candidate-discovery.md has no match for "priority". Agents decided this on evidence under standing direction §1.

    Done when

    • plugins/work-items/skills/work/SKILL.md "Selection Priority" orders candidates within each tier by their priority: label, highest first, and uses the tier's current order (next_due, oldest-first) only as the tie-break.
    • The priority order is read from a documented setting with a default, not hardcoded (the body's "metric-driven, configurable" rule), and priority stays on the priority: labels.
    • plugins/work-items/skills/work/context/candidate-discovery.md returns the priority label each tier needs for that sort.
    • check-skill.sh passes on the touched skill, and scripts/check-changelog-fragments.sh --check passes with a work-items fragment.

    #8309 (comment)

    This decision settles the open question (sort by priority within each tier). It is a bounded defect fix touching the work skill, candidate discovery, a schema setting and a changelog fragment. No duplicates found.

    Automated triage, applied by the lanes App.

  3. added
    needs-human
    and removed
    needs-triage
    on Oct 18, 2026
  4. added
    needs-owner-decision
    on Oct 19, 2026
  5. kyle-sexton commented on Oct 19, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    Question: Should /work-items:work order items by priority within a tier? Options: sort within each tier, drop priority from triage, or leave as is.

    Owner's answer (2026-10-19): "go w/ recommendations", which was: sort by priority within each tier.

  6. added
    status: confirmed
    and removed
    needs-owner-decision
    needs-human
    on Oct 19, 2026
  7. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    The owner chose to sort by priority within each tier on 2026-10-19 (decision). At origin/main, selection still ignores priority: tier 1 sorts by next_due, tier 3 is oldest-first (plugins/work-items/skills/work/SKILL.md:267-279), and context/candidate-discovery.md has no match for "priority". Agents decided this on evidence under standing direction §1.

    Done when

    • plugins/work-items/skills/work/SKILL.md "Selection Priority" orders candidates within each tier by their priority: label, highest first, and uses the tier's current order (next_due, oldest-first) only as the tie-break.
    • The priority order is read from a documented setting with a default, not hardcoded (the body's "metric-driven, configurable" rule), and priority stays on the priority: labels.
    • plugins/work-items/skills/work/context/candidate-discovery.md returns the priority label each tier needs for that sort.
    • check-skill.sh passes on the touched skill, and scripts/check-changelog-fragments.sh --check passes with a work-items fragment.
  8. removed
    status: confirmed
    on Oct 31, 2026
  9. added
    status: ready
    admission-deferred
    needs-triage
    on Oct 31, 2026
  10. melodic-automation-lanes commented on Oct 31, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: /work-items:work orders candidates within each tier by the priority: label, highest first, using a documented setting for the order, with the tier's existing order as tie-break.

    Acceptance criteria

    • plugins/work-items/skills/work/SKILL.md Selection Priority orders candidates within each tier by their priority: label, highest first, with next_due (tiers 1 and 4) or oldest-first (tier 3) as the tie-break
    • The priority order comes from a documented setting with a default (e.g. a new key in plugins/work-items/schemas/work-items.schema.json read from docs/conventions/work-items.yaml), not hardcoded in SKILL.md
    • The setting's default is documented in the schema description and referenced from the work skill or README
    • Priority remains on the priority: labels; no new priority field or store is added
    • An item with no priority: label sorts after labeled items within its tier and falls back to the tier's existing order
    • plugins/work-items/skills/work/context/candidate-discovery.md returns the priority label for each tier that needs it for the sort
    • check-skill.sh passes on plugins/work-items/skills/work
    • scripts/check-changelog-fragments.sh --check passes with a work-items changelog fragment added

    External state: none

    Related work

    Sources read

    • plugins/work-items/skills/work/SKILL.md:267-277: Selection Priority tiers sort by next_due or oldest-first and never read the priority: label
    • plugins/work-items/schemas/work-items.schema.json:22-26: existing team-config setting pattern (ai_disclaimer, boolean with default) to follow for the order setting
    • plugins/work-items/skills/work/context/candidate-discovery.md: owns the per-tier queries; the owner decision says it has no match for priority
    • refine-data/context.json: owner Decision recorded 2026-10-19 chose sorting by priority within each tier, with a Done-when list

    Automated refinement by the lanes App. Intake triages the issue again with it.

  11. removed
    needs-triage
    on Oct 31, 2026
  12. added
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Oct 31, 2026
  13. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
  14. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
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

    agent-readystatus: ready

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions