You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(work-items): work selection never reads priority, so a deadline-raised priority changes nothing #8309
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
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).
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.
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.
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.
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
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.
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Activity
github-actions commentedon Oct 18, 2026
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
#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.
kyle-sexton commentedon Oct 19, 2026
Decision recorded.
Question: Should
/work-items:workorder 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.
kyle-sexton commentedon Oct 31, 2026
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), andcontext/candidate-discovery.mdhas 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 theirpriority:label, highest first, and uses the tier's current order (next_due, oldest-first) only as the tie-break.priority:labels.plugins/work-items/skills/work/context/candidate-discovery.mdreturns the priority label each tier needs for that sort.check-skill.shpasses on the touched skill, andscripts/check-changelog-fragments.sh --checkpasses with a work-items fragment.melodic-automation-lanes commentedon Oct 31, 2026
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
External state: none
Related work
Sources read
Automated refinement by the lanes App. Intake triages the issue again with it.
github-actions commentedon Oct 31, 2026
github-actions commentedon Oct 31, 2026